diff --git a/android-chrome-192x192.png b/android-chrome-192x192.png new file mode 100644 index 0000000..5809469 Binary files /dev/null and b/android-chrome-192x192.png differ diff --git a/android-chrome-512x512.png b/android-chrome-512x512.png new file mode 100644 index 0000000..c0defd5 Binary files /dev/null and b/android-chrome-512x512.png differ diff --git a/apple-touch-icon.png b/apple-touch-icon.png new file mode 100644 index 0000000..bb6737f Binary files /dev/null and b/apple-touch-icon.png differ diff --git a/assets/index-CzV5hNk2.js b/assets/index-CzV5hNk2.js deleted file mode 100644 index 8e2a0c8..0000000 --- a/assets/index-CzV5hNk2.js +++ /dev/null @@ -1,331 +0,0 @@ -function Yy(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function lu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qy={exports:{}},su={},Zy={exports:{}},mt={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Gl=Symbol.for("react.element"),o$=Symbol.for("react.portal"),i$=Symbol.for("react.fragment"),a$=Symbol.for("react.strict_mode"),l$=Symbol.for("react.profiler"),s$=Symbol.for("react.provider"),c$=Symbol.for("react.context"),u$=Symbol.for("react.forward_ref"),d$=Symbol.for("react.suspense"),f$=Symbol.for("react.memo"),m$=Symbol.for("react.lazy"),mp=Symbol.iterator;function v$(e){return e===null||typeof e!="object"?null:(e=mp&&e[mp]||e["@@iterator"],typeof e=="function"?e:null)}var Jy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},eb=Object.assign,tb={};function xa(e,t,n){this.props=e,this.context=t,this.refs=tb,this.updater=n||Jy}xa.prototype.isReactComponent={};xa.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};xa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function nb(){}nb.prototype=xa.prototype;function bv(e,t,n){this.props=e,this.context=t,this.refs=tb,this.updater=n||Jy}var Sv=bv.prototype=new nb;Sv.constructor=bv;eb(Sv,xa.prototype);Sv.isPureReactComponent=!0;var vp=Array.isArray,rb=Object.prototype.hasOwnProperty,Cv={current:null},ob={key:!0,ref:!0,__self:!0,__source:!0};function ib(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)rb.call(t,r)&&!ob.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1>>1,H=E[F];if(0>>1;Fo(K,j))ieo(J,K)?(E[F]=J,E[ie]=j,F=ie):(E[F]=K,E[G]=j,F=G);else if(ieo(J,j))E[F]=J,E[ie]=j,F=ie;else break e}}return L}function o(E,L){var j=E.sortIndex-L.sortIndex;return j!==0?j:E.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],u=[],d=1,f=null,m=3,p=!1,b=!1,h=!1,S=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(E){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=E)r(u),L.sortIndex=L.expirationTime,t(c,L);else break;L=n(u)}}function C(E){if(h=!1,y(E),!b)if(n(c)!==null)b=!0,N($);else{var L=n(u);L!==null&&T(C,L.startTime-E)}}function $(E,L){b=!1,h&&(h=!1,v(R),R=-1),p=!0;var j=m;try{for(y(L),f=n(c);f!==null&&(!(f.expirationTime>L)||E&&!M());){var F=f.callback;if(typeof F=="function"){f.callback=null,m=f.priorityLevel;var H=F(f.expirationTime<=L);L=e.unstable_now(),typeof H=="function"?f.callback=H:f===n(c)&&r(c),y(L)}else r(c);f=n(c)}if(f!==null)var U=!0;else{var G=n(u);G!==null&&T(C,G.startTime-L),U=!1}return U}finally{f=null,m=j,p=!1}}var x=!1,w=null,R=-1,O=5,I=-1;function M(){return!(e.unstable_now()-IE||125F?(E.sortIndex=j,t(u,E),n(c)===null&&E===n(u)&&(h?(v(R),R=-1):h=!0,T(C,j-F))):(E.sortIndex=H,t(c,E),b||p||(b=!0,N($))),E},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(E){var L=m;return function(){var j=m;m=L;try{return E.apply(this,arguments)}finally{m=j}}}})(cb);sb.exports=cb;var E$=sb.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ub=s,or=E$;function he(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$f=Object.prototype.hasOwnProperty,O$=/^[: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]*$/,pp={},hp={};function R$(e){return $f.call(hp,e)?!0:$f.call(pp,e)?!1:O$.test(e)?hp[e]=!0:(pp[e]=!0,!1)}function I$(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function P$(e,t,n,r){if(t===null||typeof t>"u"||I$(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function jn(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Sn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Sn[e]=new jn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Sn[t]=new jn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Sn[e]=new jn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Sn[e]=new jn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Sn[e]=new jn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Sn[e]=new jn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Sn[e]=new jn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Sn[e]=new jn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Sn[e]=new jn(e,5,!1,e.toLowerCase(),null,!1,!1)});var wv=/[\-:]([a-z])/g;function $v(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(wv,$v);Sn[t]=new jn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(wv,$v);Sn[t]=new jn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(wv,$v);Sn[t]=new jn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Sn[e]=new jn(e,1,!1,e.toLowerCase(),null,!1,!1)});Sn.xlinkHref=new jn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Sn[e]=new jn(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ev(e,t,n,r){var o=Sn.hasOwnProperty(t)?Sn[t]:null;(o!==null?o.type!==0:r||!(2l||o[a]!==i[l]){var c=` -`+o[a].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=a&&0<=l);break}}}finally{pd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Xa(e):""}function M$(e){switch(e.tag){case 5:return Xa(e.type);case 16:return Xa("Lazy");case 13:return Xa("Suspense");case 19:return Xa("SuspenseList");case 0:case 2:case 15:return e=hd(e.type,!1),e;case 11:return e=hd(e.type.render,!1),e;case 1:return e=hd(e.type,!0),e;default:return""}}function If(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ji:return"Fragment";case Li:return"Portal";case Ef:return"Profiler";case Ov:return"StrictMode";case Of:return"Suspense";case Rf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case mb:return(e.displayName||"Context")+".Consumer";case fb:return(e._context.displayName||"Context")+".Provider";case Rv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Iv:return t=e.displayName||null,t!==null?t:If(e.type)||"Memo";case mo:t=e._payload,e=e._init;try{return If(e(t))}catch{}}return null}function T$(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return If(t);case 8:return t===Ov?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function To(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function N$(e){var t=gb(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ys(e){e._valueTracker||(e._valueTracker=N$(e))}function pb(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=gb(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Sc(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}}function Pf(e,t){var n=t.checked;return Ut({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function bp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=To(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function hb(e,t){t=t.checked,t!=null&&Ev(e,"checked",t,!1)}function Mf(e,t){hb(e,t);var n=To(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Tf(e,t.type,n):t.hasOwnProperty("defaultValue")&&Tf(e,t.type,To(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Sp(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Tf(e,t,n){(t!=="number"||Sc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ya=Array.isArray;function Zi(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=bs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var tl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_$=["Webkit","ms","Moz","O"];Object.keys(tl).forEach(function(e){_$.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),tl[t]=tl[e]})});function Cb(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||tl.hasOwnProperty(e)&&tl[e]?(""+t).trim():t+"px"}function xb(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Cb(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var z$=Ut({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function zf(e,t){if(t){if(z$[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(he(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(he(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(he(61))}if(t.style!=null&&typeof t.style!="object")throw Error(he(62))}}function Lf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var jf=null;function Pv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Af=null,Ji=null,ea=null;function wp(e){if(e=Yl(e)){if(typeof Af!="function")throw Error(he(280));var t=e.stateNode;t&&(t=mu(t),Af(e.stateNode,e.type,t))}}function wb(e){Ji?ea?ea.push(e):ea=[e]:Ji=e}function $b(){if(Ji){var e=Ji,t=ea;if(ea=Ji=null,wp(e),t)for(e=0;e>>=0,e===0?32:31-(U$(e)/G$|0)|0}var Ss=64,Cs=4194304;function Qa(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function $c(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~o;l!==0?r=Qa(l):(i&=a,i!==0&&(r=Qa(i)))}else a=n&~o,a!==0?r=Qa(a):i!==0&&(r=Qa(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ql(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Rr(t),e[t]=n}function Y$(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=rl),Np=" ",_p=!1;function Wb(e,t){switch(e){case"keyup":return $E.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ub(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ai=!1;function OE(e,t){switch(e){case"compositionend":return Ub(t);case"keypress":return t.which!==32?null:(_p=!0,Np);case"textInput":return e=t.data,e===Np&&_p?null:e;default:return null}}function RE(e,t){if(Ai)return e==="compositionend"||!Av&&Wb(e,t)?(e=kb(),Js=zv=ho=null,Ai=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ap(n)}}function Xb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yb(){for(var e=window,t=Sc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Sc(e.document)}return t}function Dv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function jE(e){var t=Yb(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Xb(n.ownerDocument.documentElement,n)){if(r!==null&&Dv(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Dp(n,i);var a=Dp(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Di=null,Vf=null,il=null,Wf=!1;function Fp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wf||Di==null||Di!==Sc(r)||(r=Di,"selectionStart"in r&&Dv(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),il&&$l(il,r)||(il=r,r=Rc(Vf,"onSelect"),0Hi||(e.current=Yf[Hi],Yf[Hi]=null,Hi--)}function Lt(e,t){Hi++,Yf[Hi]=e.current,e.current=t}var No={},In=jo(No),Vn=jo(!1),ri=No;function sa(e,t){var n=e.type.contextTypes;if(!n)return No;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Wn(e){return e=e.childContextTypes,e!=null}function Pc(){Dt(Vn),Dt(In)}function Gp(e,t,n){if(In.current!==No)throw Error(he(168));Lt(In,t),Lt(Vn,n)}function i1(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(he(108,T$(e)||"Unknown",o));return Ut({},n,r)}function Mc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||No,ri=In.current,Lt(In,e),Lt(Vn,Vn.current),!0}function Kp(e,t,n){var r=e.stateNode;if(!r)throw Error(he(169));n?(e=i1(e,t,ri),r.__reactInternalMemoizedMergedChildContext=e,Dt(Vn),Dt(In),Lt(In,e)):Dt(Vn),Lt(Vn,n)}var qr=null,vu=!1,Td=!1;function a1(e){qr===null?qr=[e]:qr.push(e)}function qE(e){vu=!0,a1(e)}function Ao(){if(!Td&&qr!==null){Td=!0;var e=0,t=Mt;try{var n=qr;for(Mt=1;e>=a,o-=a,Yr=1<<32-Rr(t)+o|n<R?(O=w,w=null):O=w.sibling;var I=m(v,w,y[R],C);if(I===null){w===null&&(w=O);break}e&&w&&I.alternate===null&&t(v,w),g=i(I,g,R),x===null?$=I:x.sibling=I,x=I,w=O}if(R===y.length)return n(v,w),Bt&&Ho(v,R),$;if(w===null){for(;RR?(O=w,w=null):O=w.sibling;var M=m(v,w,I.value,C);if(M===null){w===null&&(w=O);break}e&&w&&M.alternate===null&&t(v,w),g=i(M,g,R),x===null?$=M:x.sibling=M,x=M,w=O}if(I.done)return n(v,w),Bt&&Ho(v,R),$;if(w===null){for(;!I.done;R++,I=y.next())I=f(v,I.value,C),I!==null&&(g=i(I,g,R),x===null?$=I:x.sibling=I,x=I);return Bt&&Ho(v,R),$}for(w=r(v,w);!I.done;R++,I=y.next())I=p(w,v,R,I.value,C),I!==null&&(e&&I.alternate!==null&&w.delete(I.key===null?R:I.key),g=i(I,g,R),x===null?$=I:x.sibling=I,x=I);return e&&w.forEach(function(_){return t(v,_)}),Bt&&Ho(v,R),$}function S(v,g,y,C){if(typeof y=="object"&&y!==null&&y.type===ji&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case hs:e:{for(var $=y.key,x=g;x!==null;){if(x.key===$){if($=y.type,$===ji){if(x.tag===7){n(v,x.sibling),g=o(x,y.props.children),g.return=v,v=g;break e}}else if(x.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===mo&&eh($)===x.type){n(v,x.sibling),g=o(x,y.props),g.ref=Fa(v,x,y),g.return=v,v=g;break e}n(v,x);break}else t(v,x);x=x.sibling}y.type===ji?(g=Jo(y.props.children,v.mode,C,y.key),g.return=v,v=g):(C=lc(y.type,y.key,y.props,null,v.mode,C),C.ref=Fa(v,g,y),C.return=v,v=C)}return a(v);case Li:e:{for(x=y.key;g!==null;){if(g.key===x)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){n(v,g.sibling),g=o(g,y.children||[]),g.return=v,v=g;break e}else{n(v,g);break}else t(v,g);g=g.sibling}g=Fd(y,v.mode,C),g.return=v,v=g}return a(v);case mo:return x=y._init,S(v,g,x(y._payload),C)}if(Ya(y))return b(v,g,y,C);if(za(y))return h(v,g,y,C);Is(v,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(n(v,g.sibling),g=o(g,y),g.return=v,v=g):(n(v,g),g=Dd(y,v.mode,C),g.return=v,v=g),a(v)):n(v,g)}return S}var ua=v1(!0),g1=v1(!1),Ql={},Br=jo(Ql),Il=jo(Ql),Pl=jo(Ql);function qo(e){if(e===Ql)throw Error(he(174));return e}function Kv(e,t){switch(Lt(Pl,t),Lt(Il,e),Lt(Br,Ql),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_f(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_f(t,e)}Dt(Br),Lt(Br,t)}function da(){Dt(Br),Dt(Il),Dt(Pl)}function p1(e){qo(Pl.current);var t=qo(Br.current),n=_f(t,e.type);t!==n&&(Lt(Il,e),Lt(Br,n))}function qv(e){Il.current===e&&(Dt(Br),Dt(Il))}var Vt=jo(0);function jc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Nd=[];function Xv(){for(var e=0;en?n:4,e(!0);var r=_d.transition;_d.transition={};try{e(!1),t()}finally{Mt=n,_d.transition=r}}function N1(){return pr().memoizedState}function ZE(e,t,n){var r=Po(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},_1(e))z1(t,n);else if(n=u1(e,t,n,r),n!==null){var o=_n();Ir(n,e,r,o),L1(n,t,r)}}function JE(e,t,n){var r=Po(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(_1(e))z1(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,Tr(l,a)){var c=t.interleaved;c===null?(o.next=o,Uv(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=u1(e,t,o,r),n!==null&&(o=_n(),Ir(n,e,r,o),L1(n,t,r))}}function _1(e){var t=e.alternate;return e===Wt||t!==null&&t===Wt}function z1(e,t){al=Ac=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function L1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Tv(e,n)}}var Dc={readContext:gr,useCallback:wn,useContext:wn,useEffect:wn,useImperativeHandle:wn,useInsertionEffect:wn,useLayoutEffect:wn,useMemo:wn,useReducer:wn,useRef:wn,useState:wn,useDebugValue:wn,useDeferredValue:wn,useTransition:wn,useMutableSource:wn,useSyncExternalStore:wn,useId:wn,unstable_isNewReconciler:!1},e2={readContext:gr,useCallback:function(e,t){return jr().memoizedState=[e,t===void 0?null:t],e},useContext:gr,useEffect:nh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,rc(4194308,4,R1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rc(4194308,4,e,t)},useInsertionEffect:function(e,t){return rc(4,2,e,t)},useMemo:function(e,t){var n=jr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=jr();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ZE.bind(null,Wt,e),[r.memoizedState,e]},useRef:function(e){var t=jr();return e={current:e},t.memoizedState=e},useState:th,useDebugValue:eg,useDeferredValue:function(e){return jr().memoizedState=e},useTransition:function(){var e=th(!1),t=e[0];return e=QE.bind(null,e[1]),jr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Wt,o=jr();if(Bt){if(n===void 0)throw Error(he(407));n=n()}else{if(n=t(),vn===null)throw Error(he(349));ii&30||b1(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,nh(C1.bind(null,r,i,e),[e]),r.flags|=2048,Nl(9,S1.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=jr(),t=vn.identifierPrefix;if(Bt){var n=Qr,r=Yr;n=(r&~(1<<32-Rr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ml++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Ar]=t,e[Rl]=r,W1(e,t,!1,!1),t.stateNode=e;e:{switch(a=Lf(n,r),n){case"dialog":At("cancel",e),At("close",e),o=r;break;case"iframe":case"object":case"embed":At("load",e),o=r;break;case"video":case"audio":for(o=0;oma&&(t.flags|=128,r=!0,Ba(i,!1),t.lanes=4194304)}else{if(!r)if(e=jc(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ba(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Bt)return $n(t),null}else 2*Zt()-i.renderingStartTime>ma&&n!==1073741824&&(t.flags|=128,r=!0,Ba(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Zt(),t.sibling=null,n=Vt.current,Lt(Vt,r?n&1|2:n&1),t):($n(t),null);case 22:case 23:return ag(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?er&1073741824&&($n(t),t.subtreeFlags&6&&(t.flags|=8192)):$n(t),null;case 24:return null;case 25:return null}throw Error(he(156,t.tag))}function s2(e,t){switch(Bv(t),t.tag){case 1:return Wn(t.type)&&Pc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return da(),Dt(Vn),Dt(In),Xv(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return qv(t),null;case 13:if(Dt(Vt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(he(340));ca()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Dt(Vt),null;case 4:return da(),null;case 10:return Wv(t.type._context),null;case 22:case 23:return ag(),null;case 24:return null;default:return null}}var Ms=!1,On=!1,c2=typeof WeakSet=="function"?WeakSet:Set,ze=null;function Ui(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Xt(e,t,r)}else n.current=null}function sm(e,t,n){try{n()}catch(r){Xt(e,t,r)}}var dh=!1;function u2(e,t){if(Uf=Ec,e=Yb(),Dv(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,l=-1,c=-1,u=0,d=0,f=e,m=null;t:for(;;){for(var p;f!==n||o!==0&&f.nodeType!==3||(l=a+o),f!==i||r!==0&&f.nodeType!==3||(c=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(p=f.firstChild)!==null;)m=f,f=p;for(;;){if(f===e)break t;if(m===n&&++u===o&&(l=a),m===i&&++d===r&&(c=a),(p=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=p}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Gf={focusedElem:e,selectionRange:n},Ec=!1,ze=t;ze!==null;)if(t=ze,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ze=e;else for(;ze!==null;){t=ze;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var h=b.memoizedProps,S=b.memoizedState,v=t.stateNode,g=v.getSnapshotBeforeUpdate(t.elementType===t.type?h:xr(t.type,h),S);v.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(he(163))}}catch(C){Xt(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,ze=e;break}ze=t.return}return b=dh,dh=!1,b}function ll(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&sm(t,n,i)}o=o.next}while(o!==r)}}function hu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function cm(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function K1(e){var t=e.alternate;t!==null&&(e.alternate=null,K1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ar],delete t[Rl],delete t[Xf],delete t[GE],delete t[KE])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function q1(e){return e.tag===5||e.tag===3||e.tag===4}function fh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||q1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function um(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ic));else if(r!==4&&(e=e.child,e!==null))for(um(e,t,n),e=e.sibling;e!==null;)um(e,t,n),e=e.sibling}function dm(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(dm(e,t,n),e=e.sibling;e!==null;)dm(e,t,n),e=e.sibling}var hn=null,wr=!1;function uo(e,t,n){for(n=n.child;n!==null;)X1(e,t,n),n=n.sibling}function X1(e,t,n){if(Fr&&typeof Fr.onCommitFiberUnmount=="function")try{Fr.onCommitFiberUnmount(cu,n)}catch{}switch(n.tag){case 5:On||Ui(n,t);case 6:var r=hn,o=wr;hn=null,uo(e,t,n),hn=r,wr=o,hn!==null&&(wr?(e=hn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):hn.removeChild(n.stateNode));break;case 18:hn!==null&&(wr?(e=hn,n=n.stateNode,e.nodeType===8?Md(e.parentNode,n):e.nodeType===1&&Md(e,n),xl(e)):Md(hn,n.stateNode));break;case 4:r=hn,o=wr,hn=n.stateNode.containerInfo,wr=!0,uo(e,t,n),hn=r,wr=o;break;case 0:case 11:case 14:case 15:if(!On&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&sm(n,t,a),o=o.next}while(o!==r)}uo(e,t,n);break;case 1:if(!On&&(Ui(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Xt(n,t,l)}uo(e,t,n);break;case 21:uo(e,t,n);break;case 22:n.mode&1?(On=(r=On)||n.memoizedState!==null,uo(e,t,n),On=r):uo(e,t,n);break;default:uo(e,t,n)}}function mh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new c2),t.forEach(function(r){var o=b2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Sr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=Zt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*f2(r/1960))-r,10e?16:e,yo===null)var r=!1;else{if(e=yo,yo=null,Hc=0,bt&6)throw Error(he(331));var o=bt;for(bt|=4,ze=e.current;ze!==null;){var i=ze,a=i.child;if(ze.flags&16){var l=i.deletions;if(l!==null){for(var c=0;cZt()-og?Zo(e,0):rg|=n),Un(e,t)}function rS(e,t){t===0&&(e.mode&1?(t=Cs,Cs<<=1,!(Cs&130023424)&&(Cs=4194304)):t=1);var n=_n();e=to(e,t),e!==null&&(ql(e,t,n),Un(e,n))}function y2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rS(e,n)}function b2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(he(314))}r!==null&&r.delete(t),rS(e,n)}var oS;oS=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Vn.current)kn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return kn=!1,a2(e,t,n);kn=!!(e.flags&131072)}else kn=!1,Bt&&t.flags&1048576&&l1(t,Nc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;oc(e,t),e=t.pendingProps;var o=sa(t,In.current);na(t,n),o=Qv(null,t,r,e,o,n);var i=Zv();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Wn(r)?(i=!0,Mc(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Gv(t),o.updater=gu,t.stateNode=o,o._reactInternals=t,tm(t,r,e,n),t=om(null,t,r,!0,i,n)):(t.tag=0,Bt&&i&&Fv(t),Nn(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(oc(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=C2(r),e=xr(r,e),o){case 0:t=rm(null,t,r,e,n);break e;case 1:t=sh(null,t,r,e,n);break e;case 11:t=ah(null,t,r,e,n);break e;case 14:t=lh(null,t,r,xr(r.type,e),n);break e}throw Error(he(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xr(r,o),rm(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xr(r,o),sh(e,t,r,o,n);case 3:e:{if(H1(t),e===null)throw Error(he(387));r=t.pendingProps,i=t.memoizedState,o=i.element,d1(e,t),Lc(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=fa(Error(he(423)),t),t=ch(e,t,r,n,o);break e}else if(r!==o){o=fa(Error(he(424)),t),t=ch(e,t,r,n,o);break e}else for(tr=Oo(t.stateNode.containerInfo.firstChild),rr=t,Bt=!0,Or=null,n=g1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ca(),r===o){t=no(e,t,n);break e}Nn(e,t,r,n)}t=t.child}return t;case 5:return p1(t),e===null&&Zf(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Kf(r,o)?a=null:i!==null&&Kf(r,i)&&(t.flags|=32),B1(e,t),Nn(e,t,a,n),t.child;case 6:return e===null&&Zf(t),null;case 13:return k1(e,t,n);case 4:return Kv(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ua(t,null,r,n):Nn(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xr(r,o),ah(e,t,r,o,n);case 7:return Nn(e,t,t.pendingProps,n),t.child;case 8:return Nn(e,t,t.pendingProps.children,n),t.child;case 12:return Nn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Lt(_c,r._currentValue),r._currentValue=a,i!==null)if(Tr(i.value,a)){if(i.children===o.children&&!Vn.current){t=no(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Zr(-1,n&-n),c.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Jf(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(he(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Jf(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Nn(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,na(t,n),o=gr(o),r=r(o),t.flags|=1,Nn(e,t,r,n),t.child;case 14:return r=t.type,o=xr(r,t.pendingProps),o=xr(r.type,o),lh(e,t,r,o,n);case 15:return D1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xr(r,o),oc(e,t),t.tag=1,Wn(r)?(e=!0,Mc(t)):e=!1,na(t,n),m1(t,r,o),tm(t,r,o,n),om(null,t,r,!0,e,n);case 19:return V1(e,t,n);case 22:return F1(e,t,n)}throw Error(he(156,t.tag))};function iS(e,t){return Tb(e,t)}function S2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fr(e,t,n,r){return new S2(e,t,n,r)}function sg(e){return e=e.prototype,!(!e||!e.isReactComponent)}function C2(e){if(typeof e=="function")return sg(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Rv)return 11;if(e===Iv)return 14}return 2}function Mo(e,t){var n=e.alternate;return n===null?(n=fr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function lc(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")sg(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case ji:return Jo(n.children,o,i,t);case Ov:a=8,o|=8;break;case Ef:return e=fr(12,n,t,o|2),e.elementType=Ef,e.lanes=i,e;case Of:return e=fr(13,n,t,o),e.elementType=Of,e.lanes=i,e;case Rf:return e=fr(19,n,t,o),e.elementType=Rf,e.lanes=i,e;case vb:return bu(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fb:a=10;break e;case mb:a=9;break e;case Rv:a=11;break e;case Iv:a=14;break e;case mo:a=16,r=null;break e}throw Error(he(130,e==null?e:typeof e,""))}return t=fr(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Jo(e,t,n,r){return e=fr(7,e,r,t),e.lanes=n,e}function bu(e,t,n,r){return e=fr(22,e,r,t),e.elementType=vb,e.lanes=n,e.stateNode={isHidden:!1},e}function Dd(e,t,n){return e=fr(6,e,null,t),e.lanes=n,e}function Fd(e,t,n){return t=fr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function x2(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=bd(0),this.expirationTimes=bd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bd(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function cg(e,t,n,r,o,i,a,l,c){return e=new x2(e,t,n,l,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=fr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gv(i),e}function w2(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cS)}catch(e){console.error(e)}}cS(),lb.exports=ir;var _o=lb.exports;const Wc=lu(_o),I2=Yy({__proto__:null,default:Wc},[_o]);var Ch=_o;wf.createRoot=Ch.createRoot,wf.hydrateRoot=Ch.hydrateRoot;var uS={exports:{}};/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a1&&arguments[1]!==void 0?arguments[1]:{},n=[];return X.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(hr(r)):sc.isFragment(r)&&r.props?n=n.concat(hr(r.props.children,t)):n.push(r))}),n}var pm={},N2=function(t){};function _2(e,t){}function z2(e,t){}function L2(){pm={}}function mS(e,t,n){!t&&!pm[n]&&(e(!1,n),pm[n]=!0)}function Rn(e,t){mS(_2,e,t)}function j2(e,t){mS(z2,e,t)}Rn.preMessage=N2;Rn.resetWarned=L2;Rn.noteOnce=j2;function tt(e){"@babel/helpers - typeof";return tt=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},tt(e)}function A2(e,t){if(tt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(tt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vS(e){var t=A2(e,"string");return tt(t)=="symbol"?t:t+""}function D(e,t,n){return t=vS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function B(e){for(var t=1;t0},e.prototype.connect_=function(){!ym||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),W2?(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(){!ym||!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 n=t.propertyName,r=n===void 0?"":n,o=V2.some(function(i){return!!~r.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),pS=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof va(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new J2(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 va(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.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(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new eO(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),yS=typeof WeakMap<"u"?new WeakMap:new gS,bS=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 n=U2.getInstance(),r=new tO(t,n,this);yS.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){bS.prototype[e]=function(){var t;return(t=yS.get(this))[e].apply(t,arguments)}});var nO=function(){return typeof Gc.ResizeObserver<"u"?Gc.ResizeObserver:bS}(),bo=new Map;function rO(e){e.forEach(function(t){var n,r=t.target;(n=bo.get(r))===null||n===void 0||n.forEach(function(o){return o(r)})})}var SS=new nO(rO);function oO(e,t){bo.has(e)||(bo.set(e,new Set),SS.observe(e)),bo.get(e).add(t)}function iO(e,t){bo.has(e)&&(bo.get(e).delete(t),bo.get(e).size||(SS.unobserve(e),bo.delete(e)))}function An(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $h(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;Eh+=1;var r=Eh;function o(i){if(i===0)ES(r),t();else{var a=wS(function(){o(i-1)});yg.set(r,a)}}return o(n),r};Pt.cancel=function(e){var t=yg.get(e);return ES(e),$S(t)};function OS(e){if(Array.isArray(e))return e}function mO(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(d){u=!0,o=d}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}function RS(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(e,t){return OS(e)||mO(e,t)||hg(e,t)||RS()}function qc(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Pn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Cm(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var Oh="data-rc-order",Rh="data-rc-priority",vO="rc-util-key",xm=new Map;function IS(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):vO}function Lu(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function gO(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function bg(e){return Array.from((xm.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function PS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Pn())return null;var n=t.csp,r=t.prepend,o=t.priority,i=o===void 0?0:o,a=gO(r),l=a==="prependQueue",c=document.createElement("style");c.setAttribute(Oh,a),l&&i&&c.setAttribute(Rh,"".concat(i)),n!=null&&n.nonce&&(c.nonce=n==null?void 0:n.nonce),c.innerHTML=e;var u=Lu(t),d=u.firstChild;if(r){if(l){var f=(t.styles||bg(u)).filter(function(m){if(!["prepend","prependQueue"].includes(m.getAttribute(Oh)))return!1;var p=Number(m.getAttribute(Rh)||0);return i>=p});if(f.length)return u.insertBefore(c,f[f.length-1].nextSibling),c}u.insertBefore(c,d)}else u.appendChild(c);return c}function MS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Lu(t);return(t.styles||bg(n)).find(function(r){return r.getAttribute(IS(t))===e})}function pa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=MS(e,t);if(n){var r=Lu(t);r.removeChild(n)}}function pO(e,t){var n=xm.get(e);if(!n||!Cm(document,n)){var r=PS("",t),o=r.parentNode;xm.set(e,o),e.removeChild(r)}}function ro(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Lu(n),o=bg(r),i=B(B({},n),{},{styles:o});pO(r,i);var a=MS(t,i);if(a){var l,c;if((l=i.csp)!==null&&l!==void 0&&l.nonce&&a.nonce!==((c=i.csp)===null||c===void 0?void 0:c.nonce)){var u;a.nonce=(u=i.csp)===null||u===void 0?void 0:u.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var d=PS(e,i);return d.setAttribute(IS(i),t),d}function hO(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function Ze(e,t){if(e==null)return{};var n=hO(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function es(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(i,a){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=r.has(i);if(Rn(!c,"Warning: There may be circular references"),c)return!1;if(i===a)return!0;if(n&&l>1)return!1;r.add(i);var u=l+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(l){if(!a)a=void 0;else{var c;a=(c=a)===null||c===void 0||(c=c.map)===null||c===void 0?void 0:c.get(l)}}),(r=a)!==null&&r!==void 0&&r.value&&i&&(a.value[1]=this.cacheCallTimes++),(o=a)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(u,d){var f=k(u,2),m=f[1];return o.internalGet(d)[1]0,void 0),Ih+=1}return Dn(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,o){return o(n,r)},void 0)}}]),e}(),Bd=new Sg;function zl(e){var t=Array.isArray(e)?e:[e];return Bd.has(t)||Bd.set(t,new TS(t)),Bd.get(t)}var xO=new WeakMap,Hd={};function wO(e,t){for(var n=xO,r=0;r3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var i=B(B({},r),{},D(D({},ha,t),Pr,n)),a=Object.keys(i).map(function(l){var c=i[l];return c?"".concat(l,'="').concat(c,'"'):null}).filter(function(l){return l}).join(" ");return"")}var _S=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").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()},OO=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(o){var i=k(o,2),a=i[0],l=i[1];return"".concat(a,":").concat(l,";")}).join(""),"}"):""},zS=function(t,n,r){var o={},i={};return Object.entries(t).forEach(function(a){var l,c,u=k(a,2),d=u[0],f=u[1];if(r!=null&&(l=r.preserve)!==null&&l!==void 0&&l[d])i[d]=f;else if((typeof f=="string"||typeof f=="number")&&!(r!=null&&(c=r.ignore)!==null&&c!==void 0&&c[d])){var m,p=_S(d,r==null?void 0:r.prefix);o[p]=typeof f=="number"&&!(r!=null&&(m=r.unitless)!==null&&m!==void 0&&m[d])?"".concat(f,"px"):String(f),i[d]="var(".concat(p,")")}}),[i,OO(o,n,{scope:r==null?void 0:r.scope})]},Th=Pn()?s.useLayoutEffect:s.useEffect,It=function(t,n){var r=s.useRef(!0);Th(function(){return t(r.current)},n),Th(function(){return r.current=!1,function(){r.current=!0}},[])},Em=function(t,n){It(function(r){if(!r)return t()},n)},RO=B({},Kl),Nh=RO.useInsertionEffect,IO=function(t,n,r){s.useMemo(t,r),It(function(){return n(!0)},r)},PO=Nh?function(e,t,n){return Nh(function(){return e(),t()},n)}:IO,MO=B({},Kl),TO=MO.useInsertionEffect,NO=function(t){var n=[],r=!1;function o(i){r||n.push(i)}return s.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(i){return i()})}},t),o},_O=function(){return function(t){t()}},zO=typeof TO<"u"?NO:_O;function Cg(e,t,n,r,o){var i=s.useContext(ju),a=i.cache,l=[e].concat(Te(t)),c=wm(l),u=zO([c]),d=function(b){a.opUpdate(c,function(h){var S=h||[void 0,void 0],v=k(S,2),g=v[0],y=g===void 0?0:g,C=v[1],$=C,x=$||n(),w=[y,x];return b?b(w):w})};s.useMemo(function(){d()},[c]);var f=a.opGet(c),m=f[1];return PO(function(){o==null||o(m)},function(p){return d(function(b){var h=k(b,2),S=h[0],v=h[1];return p&&S===0&&(o==null||o(m)),[S+1,v]}),function(){a.opUpdate(c,function(b){var h=b||[],S=k(h,2),v=S[0],g=v===void 0?0:v,y=S[1],C=g-1;return C===0?(u(function(){(p||!a.opGet(c))&&(r==null||r(y,!1))}),null):[g-1,y]})}},[c]),m}var LO={},jO="css",Uo=new Map;function AO(e){Uo.set(e,(Uo.get(e)||0)+1)}function DO(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(ha,'="').concat(e,'"]'));n.forEach(function(r){if(r[So]===t){var o;(o=r.parentNode)===null||o===void 0||o.removeChild(r)}})}}var FO=0;function BO(e,t){Uo.set(e,(Uo.get(e)||0)-1);var n=Array.from(Uo.keys()),r=n.filter(function(o){var i=Uo.get(o)||0;return i<=0});n.length-r.length>FO&&r.forEach(function(o){DO(o,t),Uo.delete(o)})}var LS=function(t,n,r,o){var i=r.getDerivativeToken(t),a=B(B({},i),n);return o&&(a=o(a)),a},jS="token";function HO(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=s.useContext(ju),o=r.cache.instanceId,i=r.container,a=n.salt,l=a===void 0?"":a,c=n.override,u=c===void 0?LO:c,d=n.formatToken,f=n.getComputedToken,m=n.cssVar,p=wO(function(){return Object.assign.apply(Object,[{}].concat(Te(t)))},t),b=dl(p),h=dl(u),S=m?dl(m):"",v=Cg(jS,[l,e.id,b,h,S],function(){var g,y=f?f(p,u,e):LS(p,u,e,d),C=B({},y),$="";if(m){var x=zS(y,m.key,{prefix:m.prefix,ignore:m.ignore,unitless:m.unitless,preserve:m.preserve}),w=k(x,2);y=w[0],$=w[1]}var R=Mh(y,l);y._tokenKey=R,C._tokenKey=Mh(C,l);var O=(g=m==null?void 0:m.key)!==null&&g!==void 0?g:R;y._themeKey=O,AO(O);var I="".concat(jO,"-").concat(qc(R));return y._hashId=I,[y,I,C,$,(m==null?void 0:m.key)||""]},function(g){BO(g[0]._themeKey,o)},function(g){var y=k(g,4),C=y[0],$=y[3];if(m&&$){var x=ro($,qc("css-variables-".concat(C._themeKey)),{mark:Pr,prepend:"queue",attachTo:i,priority:-999});x[So]=o,x.setAttribute(ha,C._themeKey)}});return v}var kO=function(t,n,r){var o=k(t,5),i=o[2],a=o[3],l=o[4],c=r||{},u=c.plain;if(!a)return null;var d=i._tokenKey,f=-999,m={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},p=Xc(a,l,d,m,u);return[f,d,p]},VO={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="comm",DS="rule",FS="decl",WO="@import",UO="@keyframes",GO="@layer",BS=Math.abs,xg=String.fromCharCode;function HS(e){return e.trim()}function cc(e,t,n){return e.replace(t,n)}function KO(e,t,n){return e.indexOf(t,n)}function Ll(e,t){return e.charCodeAt(t)|0}function jl(e,t,n){return e.slice(t,n)}function Xr(e){return e.length}function qO(e){return e.length}function _s(e,t){return t.push(e),e}var Au=1,ya=1,kS=0,yr=0,Jt=0,Ea="";function wg(e,t,n,r,o,i,a,l){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Au,column:ya,length:a,return:"",siblings:l}}function XO(){return Jt}function YO(){return Jt=yr>0?Ll(Ea,--yr):0,ya--,Jt===10&&(ya=1,Au--),Jt}function Mr(){return Jt=yr2||Om(Jt)>3?"":" "}function eR(e,t){for(;--t&&Mr()&&!(Jt<48||Jt>102||Jt>57&&Jt<65||Jt>70&&Jt<97););return Du(e,uc()+(t<6&&ei()==32&&Mr()==32))}function Rm(e){for(;Mr();)switch(Jt){case e:return yr;case 34:case 39:e!==34&&e!==39&&Rm(Jt);break;case 40:e===41&&Rm(e);break;case 92:Mr();break}return yr}function tR(e,t){for(;Mr()&&e+Jt!==57;)if(e+Jt===84&&ei()===47)break;return"/*"+Du(t,yr-1)+"*"+xg(e===47?e:Mr())}function nR(e){for(;!Om(ei());)Mr();return Du(e,yr)}function rR(e){return ZO(dc("",null,null,null,[""],e=QO(e),0,[0],e))}function dc(e,t,n,r,o,i,a,l,c){for(var u=0,d=0,f=a,m=0,p=0,b=0,h=1,S=1,v=1,g=0,y="",C=o,$=i,x=r,w=y;S;)switch(b=g,g=Mr()){case 40:if(b!=108&&Ll(w,f-1)==58){KO(w+=cc(Vd(g),"&","&\f"),"&\f",BS(u?l[u-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:w+=Vd(g);break;case 9:case 10:case 13:case 32:w+=JO(b);break;case 92:w+=eR(uc()-1,7);continue;case 47:switch(ei()){case 42:case 47:_s(oR(tR(Mr(),uc()),t,n,c),c);break;default:w+="/"}break;case 123*h:l[u++]=Xr(w)*v;case 125*h:case 59:case 0:switch(g){case 0:case 125:S=0;case 59+d:v==-1&&(w=cc(w,/\f/g,"")),p>0&&Xr(w)-f&&_s(p>32?zh(w+";",r,n,f-1,c):zh(cc(w," ","")+";",r,n,f-2,c),c);break;case 59:w+=";";default:if(_s(x=_h(w,t,n,u,d,o,l,y,C=[],$=[],f,i),i),g===123)if(d===0)dc(w,t,x,x,C,i,f,l,$);else switch(m===99&&Ll(w,3)===110?100:m){case 100:case 108:case 109:case 115:dc(e,x,x,r&&_s(_h(e,x,x,0,0,o,l,y,o,C=[],f,$),$),o,$,f,l,r?C:$);break;default:dc(w,x,x,x,[""],$,0,l,$)}}u=d=p=0,h=v=1,y=w="",f=a;break;case 58:f=1+Xr(w),p=b;default:if(h<1){if(g==123)--h;else if(g==125&&h++==0&&YO()==125)continue}switch(w+=xg(g),g*h){case 38:v=d>0?1:(w+="\f",-1);break;case 44:l[u++]=(Xr(w)-1)*v,v=1;break;case 64:ei()===45&&(w+=Vd(Mr())),m=ei(),d=f=Xr(y=w+=nR(uc())),g++;break;case 45:b===45&&Xr(w)==2&&(h=0)}}return i}function _h(e,t,n,r,o,i,a,l,c,u,d,f){for(var m=o-1,p=o===0?i:[""],b=qO(p),h=0,S=0,v=0;h0?p[g]+" "+y:cc(y,/&\f/g,p[g])))&&(c[v++]=C);return wg(e,t,n,o===0?DS:l,c,u,d,f)}function oR(e,t,n,r){return wg(e,t,n,AS,xg(XO()),jl(e,2,-2),0,r)}function zh(e,t,n,r,o){return wg(e,t,n,FS,jl(e,0,r),jl(e,r+1,-1),r,o)}function Im(e,t){for(var n="",r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,i=r.injectHash,a=r.parentSelectors,l=n.hashId,c=n.layer;n.path;var u=n.hashPriority,d=n.transformers,f=d===void 0?[]:d;n.linters;var m="",p={};function b(y){var C=y.getName(l);if(!p[C]){var $=e(y.style,n,{root:!1,parentSelectors:a}),x=k($,1),w=x[0];p[C]="@keyframes ".concat(y.getName(l)).concat(w)}}function h(y){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.forEach(function($){Array.isArray($)?h($,C):$&&C.push($)}),C}var S=h(Array.isArray(t)?t:[t]);if(S.forEach(function(y){var C=typeof y=="string"&&!o?{}:y;if(typeof C=="string")m+="".concat(C,` -`);else if(C._keyframe)b(C);else{var $=f.reduce(function(x,w){var R;return(w==null||(R=w.visit)===null||R===void 0?void 0:R.call(w,x))||x},C);Object.keys($).forEach(function(x){var w=$[x];if(tt(w)==="object"&&w&&(x!=="animationName"||!w._keyframe)&&!uR(w)){var R=!1,O=x.trim(),I=!1;(o||i)&&l?O.startsWith("@")?R=!0:O=dR(x,l,u):o&&!l&&(O==="&"||O==="")&&(O="",I=!0);var M=e(w,n,{root:I,injectHash:R,parentSelectors:[].concat(Te(a),[O])}),_=k(M,2),P=_[0],z=_[1];p=B(B({},p),z),m+="".concat(O).concat(P)}else{let T=function(E,L){var j=E.replace(/[A-Z]/g,function(H){return"-".concat(H.toLowerCase())}),F=L;!VO[E]&&typeof F=="number"&&F!==0&&(F="".concat(F,"px")),E==="animationName"&&L!==null&&L!==void 0&&L._keyframe&&(b(L),F=L.getName(l)),m+="".concat(j,":").concat(F,";")};var A,N=(A=w==null?void 0:w.value)!==null&&A!==void 0?A:w;tt(w)==="object"&&w!==null&&w!==void 0&&w[US]&&Array.isArray(N)?N.forEach(function(E){T(x,E)}):T(x,N)}})}}),!o)m="{".concat(m,"}");else if(c&&EO()){var v=c.split(","),g=v[v.length-1].trim();m="@layer ".concat(g," {").concat(m,"}"),v.length>1&&(m="@layer ".concat(c,"{%%%:%}").concat(m))}return[m,p]};function GS(e,t){return qc("".concat(e.join("%")).concat(t))}function mR(){return null}var KS="style";function Mm(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,a=e.nonce,l=e.clientOnly,c=e.order,u=c===void 0?0:c,d=s.useContext(ju),f=d.autoClear;d.mock;var m=d.defaultCache,p=d.hashPriority,b=d.container,h=d.ssrInline,S=d.transformers,v=d.linters,g=d.cache,y=n._tokenKey,C=[y].concat(Te(r)),$=$m,x=Cg(KS,C,function(){var M=C.join("|");if(lR(M)){var _=sR(M),P=k(_,2),z=P[0],A=P[1];if(z)return[z,y,A,{},l,u]}var N=t(),T=fR(N,{hashId:o,hashPriority:p,layer:i,path:r.join("-"),transformers:S,linters:v}),E=k(T,2),L=E[0],j=E[1],F=Pm(L),H=GS(C,F);return[F,y,H,j,l,u]},function(M,_){var P=k(M,3),z=P[2];(_||f)&&$m&&pa(z,{mark:Pr})},function(M){var _=k(M,4),P=_[0];_[1];var z=_[2],A=_[3];if($&&P!==VS){var N={mark:Pr,prepend:"queue",attachTo:b,priority:u},T=typeof a=="function"?a():a;T&&(N.csp={nonce:T});var E=ro(P,z,N);E[So]=g.instanceId,E.setAttribute(ha,y),Object.keys(A).forEach(function(L){ro(Pm(A[L]),"_effect-".concat(L),N)})}}),w=k(x,3),R=w[0],O=w[1],I=w[2];return function(M){var _;return!h||$||!m?_=s.createElement(mR,null):_=s.createElement("style",ve({},D(D({},ha,O),Pr,I),{dangerouslySetInnerHTML:{__html:R}})),s.createElement(s.Fragment,null,_,M)}}var vR=function(t,n,r){var o=k(t,6),i=o[0],a=o[1],l=o[2],c=o[3],u=o[4],d=o[5],f=r||{},m=f.plain;if(u)return null;var p=i,b={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return p=Xc(i,a,l,b,m),c&&Object.keys(c).forEach(function(h){if(!n[h]){n[h]=!0;var S=Pm(c[h]);p+=Xc(S,a,"_effect-".concat(h),b,m)}}),[d,l,p]},qS="cssVar",gR=function(t,n){var r=t.key,o=t.prefix,i=t.unitless,a=t.ignore,l=t.token,c=t.scope,u=c===void 0?"":c,d=s.useContext(ju),f=d.cache.instanceId,m=d.container,p=l._tokenKey,b=[].concat(Te(t.path),[r,u,p]),h=Cg(qS,b,function(){var S=n(),v=zS(S,r,{prefix:o,unitless:i,ignore:a,scope:u}),g=k(v,2),y=g[0],C=g[1],$=GS(b,C);return[y,C,$,r]},function(S){var v=k(S,3),g=v[2];$m&&pa(g,{mark:Pr})},function(S){var v=k(S,3),g=v[1],y=v[2];if(g){var C=ro(g,y,{mark:Pr,prepend:"queue",attachTo:m,priority:-999});C[So]=f,C.setAttribute(ha,r)}});return h},pR=function(t,n,r){var o=k(t,4),i=o[1],a=o[2],l=o[3],c=r||{},u=c.plain;if(!i)return null;var d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},m=Xc(i,l,a,f,u);return[d,a,m]};D(D(D({},KS,vR),jS,kO),qS,pR);var St=function(){function e(t,n){An(this,e),D(this,"name",void 0),D(this,"style",void 0),D(this,"_keyframe",!0),this.name=t,this.style=n}return Dn(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function xi(e){return e.notSplit=!0,e}xi(["borderTop","borderBottom"]),xi(["borderTop"]),xi(["borderBottom"]),xi(["borderLeft","borderRight"]),xi(["borderLeft"]),xi(["borderRight"]);var $g=s.createContext({});function XS(e){return OS(e)||xS(e)||hg(e)||RS()}function Dr(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Dr(e,t.slice(0,-1))?e:YS(e,t,n,r)}function hR(e){return tt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function jh(e){return Array.isArray(e)?[]:{}}var yR=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Ki(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=bR,e},CR=s.createContext(void 0);var ZS={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"},xR={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",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",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,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"};const wR={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},JS=wR,$R={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"]},xR),timePickerLocale:Object.assign({},JS)},Ah=$R,Qn="${label} is not a valid ${type}",zo={locale:"en",Pagination:ZS,DatePicker:Ah,TimePicker:JS,Calendar:Ah,global:{placeholder:"Please select"},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",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"},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:Qn,method:Qn,array:Qn,object:Qn,number:Qn,date:Qn,boolean:Qn,integer:Qn,float:Qn,regexp:Qn,email:Qn,url:Qn,hex:Qn},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"}};Object.assign({},zo.Modal);let fc=[];const Dh=()=>fc.reduce((e,t)=>Object.assign(Object.assign({},e),t),zo.Modal);function ER(e){if(e){const t=Object.assign({},e);return fc.push(t),Dh(),()=>{fc=fc.filter(n=>n!==t),Dh()}}Object.assign({},zo.Modal)}const OR=s.createContext(void 0),Eg=OR,Og=(e,t)=>{const n=s.useContext(Eg),r=s.useMemo(()=>{var i;const a=t||zo[e],l=(i=n==null?void 0:n[e])!==null&&i!==void 0?i:{};return Object.assign(Object.assign({},typeof a=="function"?a():a),l||{})},[e,t,n]),o=s.useMemo(()=>{const i=n==null?void 0:n.locale;return n!=null&&n.exist&&!i?zo.locale:i},[n]);return[r,o]},RR="internalMark",IR=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;s.useEffect(()=>ER(t&&t.Modal),[t]);const o=s.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return s.createElement(Eg.Provider,{value:o},n)},PR=IR;function bn(e,t){MR(e)&&(e="100%");var n=TR(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function zs(e){return Math.min(1,Math.max(0,e))}function MR(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function TR(e){return typeof e=="string"&&e.indexOf("%")!==-1}function eC(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Ls(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Xo(e){return e.length===1?"0"+e:String(e)}function NR(e,t,n){return{r:bn(e,255)*255,g:bn(t,255)*255,b:bn(n,255)*255}}function Fh(e,t,n){e=bn(e,255),t=bn(t,255),n=bn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,l=(r+o)/2;if(r===o)a=0,i=0;else{var c=r-o;switch(a=l>.5?c/(2-r-o):c/(r+o),r){case e:i=(t-n)/c+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function _R(e,t,n){var r,o,i;if(e=bn(e,360),t=bn(t,100),n=bn(n,100),t===0)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=Wd(l,a,e+1/3),o=Wd(l,a,e),i=Wd(l,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function Tm(e,t,n){e=bn(e,255),t=bn(t,255),n=bn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,l=r-o,c=r===0?0:l/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var _m={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function zi(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,l=!1;return typeof e=="string"&&(e=BR(e)),typeof e=="object"&&(Wr(e.r)&&Wr(e.g)&&Wr(e.b)?(t=NR(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Wr(e.h)&&Wr(e.s)&&Wr(e.v)?(r=Ls(e.s),o=Ls(e.v),t=zR(e.h,r,o),a=!0,l="hsv"):Wr(e.h)&&Wr(e.s)&&Wr(e.l)&&(r=Ls(e.s),i=Ls(e.l),t=_R(e.h,r,i),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=eC(n),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var DR="[-\\+]?\\d+%?",FR="[-\\+]?\\d*\\.\\d+%?",Co="(?:".concat(FR,")|(?:").concat(DR,")"),Ud="[\\s|\\(]+(".concat(Co,")[,|\\s]+(").concat(Co,")[,|\\s]+(").concat(Co,")\\s*\\)?"),Gd="[\\s|\\(]+(".concat(Co,")[,|\\s]+(").concat(Co,")[,|\\s]+(").concat(Co,")[,|\\s]+(").concat(Co,")\\s*\\)?"),Cr={CSS_UNIT:new RegExp(Co),rgb:new RegExp("rgb"+Ud),rgba:new RegExp("rgba"+Gd),hsl:new RegExp("hsl"+Ud),hsla:new RegExp("hsla"+Gd),hsv:new RegExp("hsv"+Ud),hsva:new RegExp("hsva"+Gd),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function BR(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(_m[e])e=_m[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Cr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Cr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Cr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Cr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Cr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Cr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Cr.hex8.exec(e),n?{r:Jn(n[1]),g:Jn(n[2]),b:Jn(n[3]),a:Bh(n[4]),format:t?"name":"hex8"}:(n=Cr.hex6.exec(e),n?{r:Jn(n[1]),g:Jn(n[2]),b:Jn(n[3]),format:t?"name":"hex"}:(n=Cr.hex4.exec(e),n?{r:Jn(n[1]+n[1]),g:Jn(n[2]+n[2]),b:Jn(n[3]+n[3]),a:Bh(n[4]+n[4]),format:t?"name":"hex8"}:(n=Cr.hex3.exec(e),n?{r:Jn(n[1]+n[1]),g:Jn(n[2]+n[2]),b:Jn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Wr(e){return!!Cr.CSS_UNIT.exec(String(e))}var jt=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=AR(t)),this.originalInput=t;var o=zi(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,o,i=t.r/255,a=t.g/255,l=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),l<=.03928?o=l/12.92:o=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=eC(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Tm(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Tm(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Fh(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Fh(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Nm(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),LR(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(bn(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(bn(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Nm(this.r,this.g,this.b,!1),n=0,r=Object.entries(_m);n=0,i=!n&&o&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=zs(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=zs(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=zs(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=zs(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-js*t:Math.round(e.h)+js*t:r=n?Math.round(e.h)+js*t:Math.round(e.h)-js*t,r<0?r+=360:r>=360&&(r-=360),r}function Wh(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-Hh*t:t===nC?r=e.s+Hh:r=e.s+HR*t,r>1&&(r=1),n&&t===tC&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function Uh(e,t,n){var r;return n?r=e.v+kR*t:r=e.v-VR*t,r>1&&(r=1),Number(r.toFixed(2))}function oo(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=zi(e),o=tC;o>0;o-=1){var i=kh(r),a=As(zi({h:Vh(i,o,!0),s:Wh(i,o,!0),v:Uh(i,o,!0)}));n.push(a)}n.push(As(r));for(var l=1;l<=nC;l+=1){var c=kh(r),u=As(zi({h:Vh(c,l),s:Wh(c,l),v:Uh(c,l)}));n.push(u)}return t.theme==="dark"?WR.map(function(d){var f=d.index,m=d.opacity,p=As(UR(zi(t.backgroundColor||"#141414"),zi(n[f]),m*100));return p}):n}var Kd={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"},ml={},qd={};Object.keys(Kd).forEach(function(e){ml[e]=oo(Kd[e]),ml[e].primary=ml[e][5],qd[e]=oo(Kd[e],{theme:"dark",backgroundColor:"#141414"}),qd[e].primary=qd[e][5]});var GR=ml.gold,KR=ml.blue;const rC=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function qR(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Rg={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"},ba=Object.assign(Object.assign({},Rg),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, -'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,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});function oC(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:c,colorBgBase:u,colorTextBase:d}=e,f=n(c),m=n(o),p=n(i),b=n(a),h=n(l),S=r(u,d),v=e.colorLink||e.colorInfo,g=n(v);return Object.assign(Object.assign({},S),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:b[1],colorErrorBgHover:b[2],colorErrorBorder:b[3],colorErrorBorderHover:b[4],colorErrorHover:b[5],colorError:b[6],colorErrorActive:b[7],colorErrorTextHover:b[8],colorErrorText:b[9],colorErrorTextActive:b[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[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 jt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const XR=e=>{let t=e,n=e,r=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?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function YR(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},XR(r))}const Ur=(e,t)=>new jt(e).setAlpha(t).toRgbString(),ka=(e,t)=>new jt(e).darken(t).toHexString(),QR=e=>{const t=oo(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]}},ZR=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Ur(r,.88),colorTextSecondary:Ur(r,.65),colorTextTertiary:Ur(r,.45),colorTextQuaternary:Ur(r,.25),colorFill:Ur(r,.15),colorFillSecondary:Ur(r,.06),colorFillTertiary:Ur(r,.04),colorFillQuaternary:Ur(r,.02),colorBgLayout:ka(n,4),colorBgContainer:ka(n,0),colorBgElevated:ka(n,0),colorBgSpotlight:Ur(r,.85),colorBgBlur:"transparent",colorBorder:ka(n,15),colorBorderSecondary:ka(n,6)}};function mc(e){return(e+8)/e}function JR(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,i=e*Math.pow(2.71828,o/5),a=r>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:mc(n)}))}const iC=e=>{const t=JR(e),n=t.map(d=>d.size),r=t.map(d=>d.lineHeight),o=n[1],i=n[0],a=n[2],l=r[1],c=r[0],u=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(l*o),fontHeightLG:Math.round(u*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function ts(e){const t=Object.keys(Rg).map(n=>{const r=oo(e[n]);return new Array(10).fill(1).reduce((o,i,a)=>(o[`${n}-${a+1}`]=r[a],o[`${n}${a+1}`]=r[a],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),oC(e,{generateColorPalettes:QR,generateNeutralColorPalettes:ZR})),iC(e.fontSize)),qR(e)),rC(e)),YR(e))}const aC=zl(ts),Al={token:ba,override:{override:ba},hashed:!0},lC=X.createContext(Al),sC="anticon",eI=(e,t)=>t||(e?`ant-${e}`:"ant"),it=s.createContext({getPrefixCls:eI,iconPrefixCls:sC}),tI=`-ant-${Date.now()}-${Math.random()}`;function nI(e,t){const n={},r=(a,l)=>{let c=a.clone();return c=(l==null?void 0:l(c))||c,c.toRgbString()},o=(a,l)=>{const c=new jt(a),u=oo(c.toRgbString());n[`${l}-color`]=r(c),n[`${l}-color-disabled`]=u[1],n[`${l}-color-hover`]=u[4],n[`${l}-color-active`]=u[6],n[`${l}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=u[0],n[`${l}-color-deprecated-border`]=u[2]};if(t.primaryColor){o(t.primaryColor,"primary");const a=new jt(t.primaryColor),l=oo(a.toRgbString());l.forEach((u,d)=>{n[`primary-${d+1}`]=u}),n["primary-color-deprecated-l-35"]=r(a,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(a,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(a,u=>u.setAlpha(u.getAlpha()*.12));const c=new jt(l[0]);n["primary-color-active-deprecated-f-30"]=r(c,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(c,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"),` - :root { - ${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(` -`)} - } - `.trim()}function rI(e,t){const n=nI(e,t);Pn()&&ro(n,`${tI}-dynamic-theme`)}const zm=s.createContext(!1),oI=e=>{let{children:t,disabled:n}=e;const r=s.useContext(zm);return s.createElement(zm.Provider,{value:n??r},t)},Fu=zm,Lm=s.createContext(void 0),iI=e=>{let{children:t,size:n}=e;const r=s.useContext(Lm);return s.createElement(Lm.Provider,{value:n||r},t)},Bu=Lm;function aI(){const e=s.useContext(Fu),t=s.useContext(Bu);return{componentDisabled:e,componentSize:t}}const Yc=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],lI="5.15.3";function Xd(e){return e>=0&&e<=255}function Ds(e,t){const{r:n,g:r,b:o,a:i}=new jt(e).toRgb();if(i<1)return e;const{r:a,g:l,b:c}=new jt(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-a*(1-u))/u),f=Math.round((r-l*(1-u))/u),m=Math.round((o-c*(1-u))/u);if(Xd(d)&&Xd(f)&&Xd(m))return new jt({r:d,g:f,b:m,a:Math.round(u*100)/100}).toRgbString()}return new jt({r:n,g:r,b:o,a:1}).toRgbString()}var sI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{delete r[m]});const o=Object.assign(Object.assign({},n),r),i=480,a=576,l=768,c=992,u=1200,d=1600;if(o.motion===!1){const m="0s";o.motionDurationFast=m,o.motionDurationMid=m,o.motionDurationSlow=m}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Ds(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Ds(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Ds(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Ds(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowSecondary:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTertiary:` - 0 1px 2px 0 rgba(0, 0, 0, 0.03), - 0 1px 6px -1px rgba(0, 0, 0, 0.02), - 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` - 0 1px 2px -2px ${new jt("rgba(0, 0, 0, 0.16)").toRgbString()}, - 0 3px 6px 0 ${new jt("rgba(0, 0, 0, 0.12)").toRgbString()}, - 0 5px 12px 4px ${new jt("rgba(0, 0, 0, 0.09)").toRgbString()} - `,boxShadowDrawerRight:` - -6px 0 16px 0 rgba(0, 0, 0, 0.08), - -3px 0 6px -4px rgba(0, 0, 0, 0.12), - -9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerLeft:` - 6px 0 16px 0 rgba(0, 0, 0, 0.08), - 3px 0 6px -4px rgba(0, 0, 0, 0.12), - 9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerUp:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerDown:` - 0 -6px 16px 0 rgba(0, 0, 0, 0.08), - 0 -3px 6px -4px rgba(0, 0, 0, 0.12), - 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var Gh=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const r=n.getDerivativeToken(e),{override:o}=t,i=Gh(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=Ig(a),i&&Object.entries(i).forEach(l=>{let[c,u]=l;const{theme:d}=u,f=Gh(u,["theme"]);let m=f;d&&(m=dC(Object.assign(Object.assign({},a),f),{override:f},d)),a[c]=m}),a};function Mn(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=X.useContext(lC),i=`${lI}-${t||""}`,a=n||aC,[l,c,u]=HO(a,[ba,e],{salt:i,override:r,getComputedToken:dC,formatToken:Ig,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:cC,ignore:uC,preserve:cI}});return[a,u,t?c:"",l,o]}function Hn(e){var t=s.useRef();t.current=e;var n=s.useCallback(function(){for(var r,o=arguments.length,i=new Array(o),a=0;a({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),si={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Kn=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},Pg=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),ns=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),uI=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),dI=(e,t,n)=>{const{fontFamily:r,fontSize:o}=e,i=`[class^="${t}"], [class*=" ${t}"]`;return{[n?`.${n}`:i]:{fontFamily:r,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[i]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},jm=e=>({outline:`${V(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),rs=e=>({"&:focus-visible":Object.assign({},jm(e))});function mC(e,t,n){return t=ga(t),CS(e,pg()?Reflect.construct(t,n||[],ga(e).constructor):t.apply(e,n))}let fI=Dn(function e(){An(this,e)});const vC=fI;let mI=function(e){hi(t,e);function t(n){var r;return An(this,t),r=mC(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return Dn(t,[{key:"add",value:function(r){return r instanceof t?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof t?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof t?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof t?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),t}(vC);const gC="CALC_UNIT";function Qd(e){return typeof e=="number"?`${e}${gC}`:e}let vI=function(e){hi(t,e);function t(n){var r;return An(this,t),r=mC(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=Qd(n):typeof n=="string"&&(r.result=n),r}return Dn(t,[{key:"add",value:function(r){return r instanceof t?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${Qd(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof t?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${Qd(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:o=!0}=r||{},i=new RegExp(`${gC}`,"g");return this.result=this.result.replace(i,o?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}(vC);const gI=e=>{const t=e==="css"?vI:mI;return n=>new t(n)};function pI(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;rV(o)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;rV(o)).join(",")})`}}}const pC=typeof CSSINJS_STATISTIC<"u";let Am=!0;function Tt(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(o).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>o[a]})})}),Am=!0,r}const Kh={};function hI(){}const yI=e=>{let t,n=e,r=hI;return pC&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(o,i){return Am&&t.add(i),o[i]}}),r=(o,i)=>{var a;Kh[o]={global:Array.from(t),component:Object.assign(Object.assign({},(a=Kh[o])===null||a===void 0?void 0:a.component),i)}}),{token:n,keys:t,flush:r}},hC=(e,t)=>{const[n,r]=Mn();return Mm({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Pg()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},yC=(e,t,n)=>{var r;return typeof n=="function"?n(Tt(t,(r=t[e])!==null&&r!==void 0?r:{})):n??{}},bC=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:a}=r;a.forEach(l=>{let[c,u]=l;var d;(o!=null&&o[c]||o!=null&&o[u])&&((d=o[u])!==null&&d!==void 0||(o[u]=o==null?void 0:o[c]))})}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach(a=>{i[a]===t[a]&&delete i[a]}),i},bI=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function Mg(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=Array.isArray(e)?e:[e,e],[i]=o,a=o.join("-");return function(l){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l;const[u,d,f,m,p]=Mn(),{getPrefixCls:b,iconPrefixCls:h,csp:S}=s.useContext(it),v=b(),g=p?"css":"js",y=gI(g),{max:C,min:$}=pI(g),x={theme:u,token:m,hashId:f,nonce:()=>S==null?void 0:S.nonce,clientOnly:r.clientOnly,order:r.order||-999};return Mm(Object.assign(Object.assign({},x),{clientOnly:!1,path:["Shared",v]}),()=>[{"&":uI(m)}]),hC(h,S),[Mm(Object.assign(Object.assign({},x),{path:[a,l,h]}),()=>{if(r.injectStyle===!1)return[];const{token:R,flush:O}=yI(m),I=yC(i,d,n),M=`.${l}`,_=bC(i,d,I,{deprecatedTokens:r.deprecatedTokens});p&&Object.keys(I).forEach(A=>{I[A]=`var(${_S(A,bI(i,p.prefix))})`});const P=Tt(R,{componentCls:M,prefixCls:l,iconCls:`.${h}`,antCls:`.${v}`,calc:y,max:C,min:$},p?I:_),z=t(P,{hashId:f,prefixCls:l,rootPrefixCls:v,iconPrefixCls:h});return O(i,_),[r.resetStyle===!1?null:dI(P,l,c),z]}),f]}}const SC=(e,t,n,r)=>{const o=Mg(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return a=>{let{prefixCls:l,rootCls:c=l}=a;return o(l,c),null}},SI=(e,t,n)=>{function r(u){return`${e}${u.slice(0,1).toUpperCase()}${u.slice(1)}`}const{unitless:o={},injectStyle:i=!0}=n??{},a={[r("zIndexPopup")]:!0};Object.keys(o).forEach(u=>{a[r(u)]=o[u]});const l=u=>{let{rootCls:d,cssVar:f}=u;const[,m]=Mn();return gR({path:[e],prefix:f.prefix,key:f==null?void 0:f.key,unitless:Object.assign(Object.assign({},cC),a),ignore:uC,token:m,scope:d},()=>{const p=yC(e,m,t),b=bC(e,m,p,{deprecatedTokens:n==null?void 0:n.deprecatedTokens});return Object.keys(p).forEach(h=>{b[r(h)]=b[h],delete b[h]}),b}),null};return u=>{const[,,,,d]=Mn();return[f=>i&&d?X.createElement(X.Fragment,null,X.createElement(l,{rootCls:u,cssVar:d,component:e}),f):f,d==null?void 0:d.key]}},sn=(e,t,n,r)=>{const o=Mg(e,t,n,r),i=SI(Array.isArray(e)?e[0]:e,n,r);return function(a){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a;const[,c]=o(a,l),[u,d]=i(l);return[u,c,d]}};function CI(e,t){return Yc.reduce((n,r)=>{const o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:l}))},{})}const xI=Object.assign({},Kl),{useId:qh}=xI,wI=()=>"",$I=typeof qh>"u"?wI:qh;function EI(e,t,n){var r;QS();const o=e||{},i=o.inherit===!1||!t?Object.assign(Object.assign({},Al),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:Al.hashed,cssVar:t==null?void 0:t.cssVar}):t,a=$I();return Zl(()=>{var l,c;if(!e)return t;const u=Object.assign({},i.components);Object.keys(e.components||{}).forEach(m=>{u[m]=Object.assign(Object.assign({},u[m]),e.components[m])});const d=`css-var-${a.replace(/:/g,"")}`,f=((l=o.cssVar)!==null&&l!==void 0?l:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof i.cssVar=="object"?i.cssVar:{}),typeof o.cssVar=="object"?o.cssVar:{}),{key:typeof o.cssVar=="object"&&((c=o.cssVar)===null||c===void 0?void 0:c.key)||d});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:u,cssVar:f})},[o,i],(l,c)=>l.some((u,d)=>{const f=c[d];return!es(u,f,!0)}))}var OI=["children"],CC=s.createContext({});function RI(e){var t=e.children,n=Ze(e,OI);return s.createElement(CC.Provider,{value:n},t)}var II=function(e){hi(n,e);var t=Jl(n);function n(){return An(this,n),t.apply(this,arguments)}return Dn(n,[{key:"render",value:function(){return this.props.children}}]),n}(s.Component),Vo="none",Fs="appear",Bs="enter",Hs="leave",Xh="none",Er="prepare",qi="start",Xi="active",Tg="end",xC="prepared";function Yh(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function PI(e,t){var n={animationend:Yh("Animation","AnimationEnd"),transitionend:Yh("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var MI=PI(Pn(),typeof window<"u"?window:{}),wC={};if(Pn()){var TI=document.createElement("div");wC=TI.style}var ks={};function $C(e){if(ks[e])return ks[e];var t=MI[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&arguments[1]!==void 0?arguments[1]:2;t();var i=Pt(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i}return s.useEffect(function(){return function(){t()}},[]),[n,t]};var zI=[Er,qi,Xi,Tg],LI=[Er,xC],PC=!1,jI=!0;function MC(e){return e===Xi||e===Tg}const AI=function(e,t,n){var r=oa(Xh),o=k(r,2),i=o[0],a=o[1],l=_I(),c=k(l,2),u=c[0],d=c[1];function f(){a(Er,!0)}var m=t?LI:zI;return IC(function(){if(i!==Xh&&i!==Tg){var p=m.indexOf(i),b=m[p+1],h=n(i);h===PC?a(b,!0):b&&u(function(S){function v(){S.isCanceled()||a(b,!0)}h===!0?v():Promise.resolve(h).then(v)})}},[e,i]),s.useEffect(function(){return function(){d()}},[]),[f,i]};function DI(e,t,n,r){var o=r.motionEnter,i=o===void 0?!0:o,a=r.motionAppear,l=a===void 0?!0:a,c=r.motionLeave,u=c===void 0?!0:c,d=r.motionDeadline,f=r.motionLeaveImmediately,m=r.onAppearPrepare,p=r.onEnterPrepare,b=r.onLeavePrepare,h=r.onAppearStart,S=r.onEnterStart,v=r.onLeaveStart,g=r.onAppearActive,y=r.onEnterActive,C=r.onLeaveActive,$=r.onAppearEnd,x=r.onEnterEnd,w=r.onLeaveEnd,R=r.onVisibleChanged,O=oa(),I=k(O,2),M=I[0],_=I[1],P=oa(Vo),z=k(P,2),A=z[0],N=z[1],T=oa(null),E=k(T,2),L=E[0],j=E[1],F=s.useRef(!1),H=s.useRef(null);function U(){return n()}var G=s.useRef(!1);function K(){N(Vo,!0),j(null,!0)}function ie(Z){var ue=U();if(!(Z&&!Z.deadline&&Z.target!==ue)){var ce=G.current,de;A===Fs&&ce?de=$==null?void 0:$(ue,Z):A===Bs&&ce?de=x==null?void 0:x(ue,Z):A===Hs&&ce&&(de=w==null?void 0:w(ue,Z)),A!==Vo&&ce&&de!==!1&&K()}}var J=NI(ie),ee=k(J,1),ae=ee[0],Q=function(ue){var ce,de,fe;switch(ue){case Fs:return ce={},D(ce,Er,m),D(ce,qi,h),D(ce,Xi,g),ce;case Bs:return de={},D(de,Er,p),D(de,qi,S),D(de,Xi,y),de;case Hs:return fe={},D(fe,Er,b),D(fe,qi,v),D(fe,Xi,C),fe;default:return{}}},W=s.useMemo(function(){return Q(A)},[A]),le=AI(A,!e,function(Z){if(Z===Er){var ue=W[Er];return ue?ue(U()):PC}if(Y in W){var ce;j(((ce=W[Y])===null||ce===void 0?void 0:ce.call(W,U(),null))||null)}return Y===Xi&&(ae(U()),d>0&&(clearTimeout(H.current),H.current=setTimeout(function(){ie({deadline:!0})},d))),Y===xC&&K(),jI}),se=k(le,2),ne=se[0],Y=se[1],pe=MC(Y);G.current=pe,IC(function(){_(t);var Z=F.current;F.current=!0;var ue;!Z&&t&&l&&(ue=Fs),Z&&t&&i&&(ue=Bs),(Z&&!t&&u||!Z&&f&&!t&&u)&&(ue=Hs);var ce=Q(ue);ue&&(e||ce[Er])?(N(ue),ne()):N(Vo)},[t]),s.useEffect(function(){(A===Fs&&!l||A===Bs&&!i||A===Hs&&!u)&&N(Vo)},[l,i,u]),s.useEffect(function(){return function(){F.current=!1,clearTimeout(H.current)}},[]);var me=s.useRef(!1);s.useEffect(function(){M&&(me.current=!0),M!==void 0&&A===Vo&&((me.current||M)&&(R==null||R(M)),me.current=!0)},[M,A]);var re=L;return W[Er]&&Y===qi&&(re=B({transition:"none"},re)),[A,Y,re,M??t]}function FI(e){var t=e;tt(e)==="object"&&(t=e.transitionSupport);function n(o,i){return!!(o.motionName&&t&&i!==!1)}var r=s.forwardRef(function(o,i){var a=o.visible,l=a===void 0?!0:a,c=o.removeOnLeave,u=c===void 0?!0:c,d=o.forceRender,f=o.children,m=o.motionName,p=o.leavedClassName,b=o.eventProps,h=s.useContext(CC),S=h.motion,v=n(o,S),g=s.useRef(),y=s.useRef();function C(){try{return g.current instanceof HTMLElement?g.current:ul(y.current)}catch{return null}}var $=DI(v,l,C,o),x=k($,4),w=x[0],R=x[1],O=x[2],I=x[3],M=s.useRef(I);I&&(M.current=!0);var _=s.useCallback(function(j){g.current=j,gg(i,j)},[i]),P,z=B(B({},b),{},{visible:l});if(!f)P=null;else if(w===Vo)I?P=f(B({},z),_):!u&&M.current&&p?P=f(B(B({},z),{},{className:p}),_):d||!u&&!p?P=f(B(B({},z),{},{style:{display:"none"}}),_):P=null;else{var A,N;R===Er?N="prepare":MC(R)?N="active":R===qi&&(N="start");var T=Jh(m,"".concat(w,"-").concat(N));P=f(B(B({},z),{},{className:q(Jh(m,w),(A={},D(A,T,T&&N),D(A,m,typeof m=="string"),A)),style:O}),_)}if(s.isValidElement(P)&&pi(P)){var E=P,L=E.ref;L||(P=s.cloneElement(P,{ref:_}))}return s.createElement(II,{ref:y},P)});return r.displayName="CSSMotion",r}const kr=FI(RC);var Dm="add",Fm="keep",Bm="remove",Zd="removed";function BI(e){var t;return e&&tt(e)==="object"&&"key"in e?t=e:t={key:e},B(B({},t),{},{key:String(t.key)})}function Hm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(BI)}function HI(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,o=t.length,i=Hm(e),a=Hm(t);i.forEach(function(u){for(var d=!1,f=r;f1});return c.forEach(function(u){n=n.filter(function(d){var f=d.key,m=d.status;return f!==u||m!==Bm}),n.forEach(function(d){d.key===u&&(d.status=Fm)})}),n}var kI=["component","children","onVisibleChanged","onAllRemoved"],VI=["status"],WI=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function UI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kr,n=function(r){hi(i,r);var o=Jl(i);function i(){var a;An(this,i);for(var l=arguments.length,c=new Array(l),u=0;unull;var qI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);ot.endsWith("Color"))}const JI=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;t!==void 0&&(TC=t),r&&ZI(r)&&rI(QI(),r)},eP=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:l,componentSize:c,direction:u,space:d,virtual:f,dropdownMatchSelectWidth:m,popupMatchSelectWidth:p,popupOverflow:b,legacyLocale:h,parentContext:S,iconPrefixCls:v,theme:g,componentDisabled:y,segmented:C,statistic:$,spin:x,calendar:w,carousel:R,cascader:O,collapse:I,typography:M,checkbox:_,descriptions:P,divider:z,drawer:A,skeleton:N,steps:T,image:E,layout:L,list:j,mentions:F,modal:H,progress:U,result:G,slider:K,breadcrumb:ie,menu:J,pagination:ee,input:ae,textArea:Q,empty:W,badge:le,radio:se,rate:ne,switch:Y,transfer:pe,avatar:me,message:re,tag:Z,table:ue,card:ce,tabs:de,timeline:fe,timePicker:xe,upload:De,notification:Ee,tree:qe,colorPicker:Oe,datePicker:ye,rangePicker:$e,flex:Ce,wave:Xe,dropdown:nt,warning:Je,tour:at}=e,Ye=s.useCallback((be,we)=>{const{prefixCls:Ke}=e;if(we)return we;const rt=Ke||S.getPrefixCls("");return be?`${rt}-${be}`:rt},[S.getPrefixCls,e.prefixCls]),We=v||S.iconPrefixCls||sC,oe=n||S.csp;hC(We,oe);const Re=EI(g,S.theme,{prefixCls:Ye("")}),et={csp:oe,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:l||h,direction:u,space:d,virtual:f,popupMatchSelectWidth:p??m,popupOverflow:b,getPrefixCls:Ye,iconPrefixCls:We,theme:Re,segmented:C,statistic:$,spin:x,calendar:w,carousel:R,cascader:O,collapse:I,typography:M,checkbox:_,descriptions:P,divider:z,drawer:A,skeleton:N,steps:T,image:E,input:ae,textArea:Q,layout:L,list:j,mentions:F,modal:H,progress:U,result:G,slider:K,breadcrumb:ie,menu:J,pagination:ee,empty:W,badge:le,radio:se,rate:ne,switch:Y,transfer:pe,avatar:me,message:re,tag:Z,table:ue,card:ce,tabs:de,timeline:fe,timePicker:xe,upload:De,notification:Ee,tree:qe,colorPicker:Oe,datePicker:ye,rangePicker:$e,flex:Ce,wave:Xe,dropdown:nt,warning:Je,tour:at},dt=Object.assign({},S);Object.keys(et).forEach(be=>{et[be]!==void 0&&(dt[be]=et[be])}),XI.forEach(be=>{const we=e[be];we&&(dt[be]=we)});const Et=Zl(()=>dt,dt,(be,we)=>{const Ke=Object.keys(be),rt=Object.keys(we);return Ke.length!==rt.length||Ke.some(ge=>be[ge]!==we[ge])}),Ot=s.useMemo(()=>({prefixCls:We,csp:oe}),[We,oe]);let Be=s.createElement(s.Fragment,null,s.createElement(KI,{dropdownMatchSelectWidth:m}),t);const Le=s.useMemo(()=>{var be,we,Ke,rt;return Ki(((be=zo.Form)===null||be===void 0?void 0:be.defaultValidateMessages)||{},((Ke=(we=Et.locale)===null||we===void 0?void 0:we.Form)===null||Ke===void 0?void 0:Ke.defaultValidateMessages)||{},((rt=Et.form)===null||rt===void 0?void 0:rt.validateMessages)||{},(a==null?void 0:a.validateMessages)||{})},[Et,a==null?void 0:a.validateMessages]);Object.keys(Le).length>0&&(Be=s.createElement(CR.Provider,{value:Le},Be)),l&&(Be=s.createElement(PR,{locale:l,_ANT_MARK__:RR},Be)),(We||oe)&&(Be=s.createElement($g.Provider,{value:Ot},Be)),c&&(Be=s.createElement(iI,{size:c},Be)),Be=s.createElement(GI,null,Be);const ut=s.useMemo(()=>{const be=Re||{},{algorithm:we,token:Ke,components:rt,cssVar:ge}=be,Se=qI(be,["algorithm","token","components","cssVar"]),Me=we&&(!Array.isArray(we)||we.length>0)?zl(we):aC,Fe={};Object.entries(rt||{}).forEach(Ue=>{let[Rt,Ct]=Ue;const je=Object.assign({},Ct);"algorithm"in je&&(je.algorithm===!0?je.theme=Me:(Array.isArray(je.algorithm)||typeof je.algorithm=="function")&&(je.theme=zl(je.algorithm)),delete je.algorithm),Fe[Rt]=je});const Ge=Object.assign(Object.assign({},ba),Ke);return Object.assign(Object.assign({},Se),{theme:Me,token:Ge,components:Fe,override:Object.assign({override:Ge},Fe),cssVar:ge})},[Re]);return g&&(Be=s.createElement(lC.Provider,{value:ut},Be)),Et.warning&&(Be=s.createElement(SR.Provider,{value:Et.warning},Be)),y!==void 0&&(Be=s.createElement(oI,{disabled:y},Be)),s.createElement(it.Provider,{value:Et},Be)},Oa=e=>{const t=s.useContext(it),n=s.useContext(Eg);return s.createElement(eP,Object.assign({parentContext:t,legacyLocale:n},e))};Oa.ConfigContext=it;Oa.SizeContext=Bu;Oa.config=JI;Oa.useConfig=aI;Object.defineProperty(Oa,"SizeContext",{get:()=>Bu});const NC=Oa;function _C(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function tP(e){return _C(e)instanceof ShadowRoot}function Qc(e){return tP(e)?_C(e):null}function nP(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function rP(e,t){Rn(e,"[@ant-design/icons] ".concat(t))}function e0(e){return tt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(tt(e.icon)==="object"||typeof e.icon=="function")}function t0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[nP(n)]=r}return t},{})}function km(e,t,n){return n?X.createElement(e.tag,B(B({key:t},t0(e.attrs)),n),(e.children||[]).map(function(r,o){return km(r,"".concat(t,"-").concat(e.tag,"-").concat(o))})):X.createElement(e.tag,B({key:t},t0(e.attrs)),(e.children||[]).map(function(r,o){return km(r,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function zC(e){return oo(e)[0]}function LC(e){return e?Array.isArray(e)?e:[e]:[]}var oP=` -.anticon { - display: inline-flex; - alignItems: center; - color: inherit; - font-style: normal; - line-height: 0; - text-align: center; - text-transform: none; - vertical-align: -0.125em; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.anticon > * { - line-height: 1; -} - -.anticon svg { - display: inline-block; -} - -.anticon::before { - display: none; -} - -.anticon .anticon-icon { - display: block; -} - -.anticon[tabindex] { - cursor: pointer; -} - -.anticon-spin::before, -.anticon-spin { - display: inline-block; - -webkit-animation: loadingCircle 1s infinite linear; - animation: loadingCircle 1s infinite linear; -} - -@-webkit-keyframes loadingCircle { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -@keyframes loadingCircle { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -`,iP=function(t){var n=s.useContext($g),r=n.csp,o=n.prefixCls,i=oP;o&&(i=i.replace(/anticon/g,o)),s.useEffect(function(){var a=t.current,l=Qc(a);ro(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:l})},[])},aP=["icon","className","onClick","style","primaryColor","secondaryColor"],vl={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function lP(e){var t=e.primaryColor,n=e.secondaryColor;vl.primaryColor=t,vl.secondaryColor=n||zC(t),vl.calculated=!!n}function sP(){return B({},vl)}var Hu=function(t){var n=t.icon,r=t.className,o=t.onClick,i=t.style,a=t.primaryColor,l=t.secondaryColor,c=Ze(t,aP),u=s.useRef(),d=vl;if(a&&(d={primaryColor:a,secondaryColor:l||zC(a)}),iP(u),rP(e0(n),"icon should be icon definiton, but got ".concat(n)),!e0(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=B(B({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),km(f.icon,"svg-".concat(f.name),B(B({className:r,onClick:o,style:i,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};Hu.displayName="IconReact";Hu.getTwoToneColors=sP;Hu.setTwoToneColors=lP;const Ng=Hu;function jC(e){var t=LC(e),n=k(t,2),r=n[0],o=n[1];return Ng.setTwoToneColors({primaryColor:r,secondaryColor:o})}function cP(){var e=Ng.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var uP=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];jC(KR.primary);var ku=s.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,l=e.onClick,c=e.twoToneColor,u=Ze(e,uP),d=s.useContext($g),f=d.prefixCls,m=f===void 0?"anticon":f,p=d.rootClassName,b=q(p,m,D(D({},"".concat(m,"-").concat(r.name),!!r.name),"".concat(m,"-spin"),!!o||r.name==="loading"),n),h=a;h===void 0&&l&&(h=-1);var S=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,v=LC(c),g=k(v,2),y=g[0],C=g[1];return s.createElement("span",ve({role:"img","aria-label":r.name},u,{ref:t,tabIndex:h,onClick:l,className:b}),s.createElement(Ng,{icon:r,primaryColor:y,secondaryColor:C,style:S}))});ku.displayName="AntdIcon";ku.getTwoToneColor=cP;ku.setTwoToneColor=jC;const Gt=ku;var dP={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const fP=dP;var mP=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:fP}))},vP=s.forwardRef(mP);const AC=vP;var gP={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};const pP=gP;var hP=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:pP}))},yP=s.forwardRef(hP);const _g=yP;var bP=`accept acceptCharset accessKey action allowFullScreen allowTransparency - alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge - charSet checked classID className colSpan cols content contentEditable contextMenu - controls coords crossOrigin data dateTime default defer dir disabled download draggable - encType form formAction formEncType formMethod formNoValidate formTarget frameBorder - headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity - is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media - mediaGroup method min minLength multiple muted name noValidate nonce open - optimum pattern placeholder poster preload radioGroup readOnly rel required - reversed role rowSpan rows sandbox scope scoped scrolling seamless selected - shape size sizes span spellCheck src srcDoc srcLang srcSet start step style - summary tabIndex target title type useMap value width wmode wrap`,SP=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown - onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick - onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown - onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel - onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough - onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata - onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,CP="".concat(bP," ").concat(SP).split(/[\s\n]+/),xP="aria-",wP="data-";function n0(e,t){return e.indexOf(t)===0}function ci(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=B({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||n0(o,xP))||n.data&&n0(o,wP)||n.attr&&CP.includes(o))&&(r[o]=e[o])}),r}function DC(e){return e&&X.isValidElement(e)&&e.type===X.Fragment}const $P=(e,t,n)=>X.isValidElement(e)?X.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function ui(e,t){return $P(e,e,t)}const os=e=>{const[,,,,t]=Mn();return t?`${e}-css-var`:""};var te={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=te.F1&&n<=te.F12)return!1;switch(n){case te.ALT:case te.CAPS_LOCK:case te.CONTEXT_MENU:case te.CTRL:case te.DOWN:case te.END:case te.ESC:case te.HOME:case te.INSERT:case te.LEFT:case te.MAC_FF_META:case te.META:case te.NUMLOCK:case te.NUM_CENTER:case te.PAGE_DOWN:case te.PAGE_UP:case te.PAUSE:case te.PRINT_SCREEN:case te.RIGHT:case te.SHIFT:case te.UP:case te.WIN_KEY:case te.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=te.ZERO&&t<=te.NINE||t>=te.NUM_ZERO&&t<=te.NUM_MULTIPLY||t>=te.A&&t<=te.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case te.SPACE:case te.QUESTION_MARK:case te.NUM_PLUS:case te.NUM_MINUS:case te.NUM_PERIOD:case te.NUM_DIVISION:case te.SEMICOLON:case te.DASH:case te.EQUALS:case te.COMMA:case te.PERIOD:case te.SLASH:case te.APOSTROPHE:case te.SINGLE_QUOTE:case te.OPEN_SQUARE_BRACKET:case te.BACKSLASH:case te.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},EP={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"};const OP=EP;var RP=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:OP}))},IP=s.forwardRef(RP);const FC=IP,PP=X.createContext(void 0),BC=PP,Wo=100,MP=10,TP=Wo*MP,HC={Modal:Wo,Drawer:Wo,Popover:Wo,Popconfirm:Wo,Tooltip:Wo,Tour:Wo},NP={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function _P(e){return e in HC}function Vu(e,t){const[,n]=Mn(),r=X.useContext(BC),o=_P(e);if(t!==void 0)return[t,t];let i=r??0;return o?(i+=(r?0:n.zIndexPopupBase)+HC[e],i=Math.min(i,n.zIndexPopupBase+TP)):i+=NP[e],[r===void 0?t:i,i]}function zn(){zn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(N,T,E){N[T]=E.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(N,T,E){return Object.defineProperty(N,T,{value:E,enumerable:!0,configurable:!0,writable:!0}),N[T]}try{u({},"")}catch{u=function(E,L,j){return E[L]=j}}function d(N,T,E,L){var j=T&&T.prototype instanceof v?T:v,F=Object.create(j.prototype),H=new z(L||[]);return o(F,"_invoke",{value:I(N,E,H)}),F}function f(N,T,E){try{return{type:"normal",arg:N.call(T,E)}}catch(L){return{type:"throw",arg:L}}}t.wrap=d;var m="suspendedStart",p="suspendedYield",b="executing",h="completed",S={};function v(){}function g(){}function y(){}var C={};u(C,a,function(){return this});var $=Object.getPrototypeOf,x=$&&$($(A([])));x&&x!==n&&r.call(x,a)&&(C=x);var w=y.prototype=v.prototype=Object.create(C);function R(N){["next","throw","return"].forEach(function(T){u(N,T,function(E){return this._invoke(T,E)})})}function O(N,T){function E(j,F,H,U){var G=f(N[j],N,F);if(G.type!=="throw"){var K=G.arg,ie=K.value;return ie&&tt(ie)=="object"&&r.call(ie,"__await")?T.resolve(ie.__await).then(function(J){E("next",J,H,U)},function(J){E("throw",J,H,U)}):T.resolve(ie).then(function(J){K.value=J,H(K)},function(J){return E("throw",J,H,U)})}U(G.arg)}var L;o(this,"_invoke",{value:function(F,H){function U(){return new T(function(G,K){E(F,H,G,K)})}return L=L?L.then(U,U):U()}})}function I(N,T,E){var L=m;return function(j,F){if(L===b)throw Error("Generator is already running");if(L===h){if(j==="throw")throw F;return{value:e,done:!0}}for(E.method=j,E.arg=F;;){var H=E.delegate;if(H){var U=M(H,E);if(U){if(U===S)continue;return U}}if(E.method==="next")E.sent=E._sent=E.arg;else if(E.method==="throw"){if(L===m)throw L=h,E.arg;E.dispatchException(E.arg)}else E.method==="return"&&E.abrupt("return",E.arg);L=b;var G=f(N,T,E);if(G.type==="normal"){if(L=E.done?h:p,G.arg===S)continue;return{value:G.arg,done:E.done}}G.type==="throw"&&(L=h,E.method="throw",E.arg=G.arg)}}}function M(N,T){var E=T.method,L=N.iterator[E];if(L===e)return T.delegate=null,E==="throw"&&N.iterator.return&&(T.method="return",T.arg=e,M(N,T),T.method==="throw")||E!=="return"&&(T.method="throw",T.arg=new TypeError("The iterator does not provide a '"+E+"' method")),S;var j=f(L,N.iterator,T.arg);if(j.type==="throw")return T.method="throw",T.arg=j.arg,T.delegate=null,S;var F=j.arg;return F?F.done?(T[N.resultName]=F.value,T.next=N.nextLoc,T.method!=="return"&&(T.method="next",T.arg=e),T.delegate=null,S):F:(T.method="throw",T.arg=new TypeError("iterator result is not an object"),T.delegate=null,S)}function _(N){var T={tryLoc:N[0]};1 in N&&(T.catchLoc=N[1]),2 in N&&(T.finallyLoc=N[2],T.afterLoc=N[3]),this.tryEntries.push(T)}function P(N){var T=N.completion||{};T.type="normal",delete T.arg,N.completion=T}function z(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(_,this),this.reset(!0)}function A(N){if(N||N===""){var T=N[a];if(T)return T.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var E=-1,L=function j(){for(;++E=0;--j){var F=this.tryEntries[j],H=F.completion;if(F.tryLoc==="root")return L("end");if(F.tryLoc<=this.prev){var U=r.call(F,"catchLoc"),G=r.call(F,"finallyLoc");if(U&&G){if(this.prev=0;--L){var j=this.tryEntries[L];if(j.tryLoc<=this.prev&&r.call(j,"finallyLoc")&&this.prev=0;--E){var L=this.tryEntries[E];if(L.finallyLoc===T)return this.complete(L.completion,L.afterLoc),P(L),S}},catch:function(T){for(var E=this.tryEntries.length-1;E>=0;--E){var L=this.tryEntries[E];if(L.tryLoc===T){var j=L.completion;if(j.type==="throw"){var F=j.arg;P(L)}return F}}throw Error("illegal catch attempt")},delegateYield:function(T,E,L){return this.delegate={iterator:A(T),resultName:E,nextLoc:L},this.method==="next"&&(this.arg=e),S}},t}function r0(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(u){n(u);return}l.done?t(c):Promise.resolve(c).then(r,o)}function yi(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(c){r0(i,r,o,a,l,"next",c)}function l(c){r0(i,r,o,a,l,"throw",c)}a(void 0)})}}var is=B({},I2),zP=is.version,LP=is.render,jP=is.unmountComponentAtNode,Wu;try{var AP=Number((zP||"").split(".")[0]);AP>=18&&(Wu=is.createRoot)}catch{}function o0(e){var t=is.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&tt(t)==="object"&&(t.usingClientEntryPoint=e)}var Zc="__rc_react_root__";function DP(e,t){o0(!0);var n=t[Zc]||Wu(t);o0(!1),n.render(e),t[Zc]=n}function FP(e,t){LP(e,t)}function BP(e,t){if(Wu){DP(e,t);return}FP(e,t)}function HP(e){return Vm.apply(this,arguments)}function Vm(){return Vm=yi(zn().mark(function e(t){return zn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var o;(o=t[Zc])===null||o===void 0||o.unmount(),delete t[Zc]}));case 1:case"end":return r.stop()}},e)})),Vm.apply(this,arguments)}function kP(e){jP(e)}function VP(e){return Wm.apply(this,arguments)}function Wm(){return Wm=yi(zn().mark(function e(t){return zn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(Wu===void 0){r.next=2;break}return r.abrupt("return",HP(t));case 2:kP(t);case 3:case"end":return r.stop()}},e)})),Wm.apply(this,arguments)}const di=(e,t,n)=>n!==void 0?n:`${e}-${t}`,zg=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1},WP=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,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 0.3s ${e.motionEaseInOut}`,`opacity 0.35s ${e.motionEaseInOut}`].join(",")}}}}},UP=Mg("Wave",e=>[WP(e)]);function GP(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function Jd(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&GP(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function KP(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Jd(t)?t:Jd(n)?n:Jd(r)?r:null}const kC="ant-wave-target";function ef(e){return Number.isNaN(e)?0:e}const qP=e=>{const{className:t,target:n,component:r}=e,o=s.useRef(null),[i,a]=s.useState(null),[l,c]=s.useState([]),[u,d]=s.useState(0),[f,m]=s.useState(0),[p,b]=s.useState(0),[h,S]=s.useState(0),[v,g]=s.useState(!1),y={left:u,top:f,width:p,height:h,borderRadius:l.map(x=>`${x}px`).join(" ")};i&&(y["--wave-color"]=i);function C(){const x=getComputedStyle(n);a(KP(n));const w=x.position==="static",{borderLeftWidth:R,borderTopWidth:O}=x;d(w?n.offsetLeft:ef(-parseFloat(R))),m(w?n.offsetTop:ef(-parseFloat(O))),b(n.offsetWidth),S(n.offsetHeight);const{borderTopLeftRadius:I,borderTopRightRadius:M,borderBottomLeftRadius:_,borderBottomRightRadius:P}=x;c([I,M,P,_].map(z=>ef(parseFloat(z))))}if(s.useEffect(()=>{if(n){const x=Pt(()=>{C(),g(!0)});let w;return typeof ResizeObserver<"u"&&(w=new ResizeObserver(C),w.observe(n)),()=>{Pt.cancel(x),w==null||w.disconnect()}}},[]),!v)return null;const $=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(kC));return s.createElement(kr,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(x,w)=>{var R;if(w.deadline||w.propertyName==="opacity"){const O=(R=o.current)===null||R===void 0?void 0:R.parentElement;VP(O).then(()=>{O==null||O.remove()})}return!1}},x=>{let{className:w}=x;return s.createElement("div",{ref:o,className:q(t,{"wave-quick":$},w),style:y})})},XP=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",e==null||e.insertBefore(o,e==null?void 0:e.firstChild),BP(s.createElement(qP,Object.assign({},t,{target:e})),o)},YP=XP;function QP(e,t,n){const{wave:r}=s.useContext(it),[,o,i]=Mn(),a=Hn(u=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const f=d.querySelector(`.${kC}`)||d,{showEffect:m}=r||{};(m||YP)(f,{className:t,token:o,component:n,event:u,hashId:i})}),l=s.useRef();return u=>{Pt.cancel(l.current),l.current=Pt(()=>{a(u)})}}const ZP=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=s.useContext(it),i=s.useRef(null),a=o("wave"),[,l]=UP(a),c=QP(i,q(a,l),r);if(X.useEffect(()=>{const d=i.current;if(!d||d.nodeType!==1||n)return;const f=m=>{!zg(m.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||c(m)};return d.addEventListener("click",f,!0),()=>{d.removeEventListener("click",f,!0)}},[n]),!X.isValidElement(t))return t??null;const u=pi(t)?lo(t.ref,i):i;return ui(t,{ref:u})},JP=ZP,Do=e=>{const t=X.useContext(Bu);return X.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},eM=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},tM=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},nM=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},VC=sn("Space",e=>{const t=Tt(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[tM(t),nM(t),eM(t)]},()=>({}),{resetStyle:!1});var WC=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n=s.useContext(Uu),r=s.useMemo(()=>{if(!n)return"";const{compactDirection:o,isFirstItem:i,isLastItem:a}=n,l=o==="vertical"?"-vertical-":"-";return q(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:i,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},rM=e=>{let{children:t}=e;return s.createElement(Uu.Provider,{value:null},t)},oM=e=>{var{children:t}=e,n=WC(e,["children"]);return s.createElement(Uu.Provider,{value:n},t)},iM=e=>{const{getPrefixCls:t,direction:n}=s.useContext(it),{size:r,direction:o,block:i,prefixCls:a,className:l,rootClassName:c,children:u}=e,d=WC(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=Do(y=>r??y),m=t("space-compact",a),[p,b]=VC(m),h=q(m,b,{[`${m}-rtl`]:n==="rtl",[`${m}-block`]:i,[`${m}-vertical`]:o==="vertical"},l,c),S=s.useContext(Uu),v=hr(u),g=s.useMemo(()=>v.map((y,C)=>{const $=y&&y.key||`${m}-item-${C}`;return s.createElement(oM,{key:$,compactSize:f,compactDirection:o,isFirstItem:C===0&&(!S||(S==null?void 0:S.isFirstItem)),isLastItem:C===v.length-1&&(!S||(S==null?void 0:S.isLastItem))},y)}),[r,v,S]);return v.length===0?null:p(s.createElement("div",Object.assign({className:h},d),g))},aM=iM;var lM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n}=s.useContext(it),{prefixCls:r,size:o,className:i}=e,a=lM(e,["prefixCls","size","className"]),l=t("btn-group",r),[,,c]=Mn();let u="";switch(o){case"large":u="lg";break;case"small":u="sm";break}const d=q(l,{[`${l}-${u}`]:u,[`${l}-rtl`]:n==="rtl"},i,c);return s.createElement(GC.Provider,{value:o},s.createElement("div",Object.assign({},a,{className:d})))},cM=sM,i0=/^[\u4e00-\u9fa5]{2}$/,Um=i0.test.bind(i0);function a0(e){return typeof e=="string"}function tf(e){return e==="text"||e==="link"}function uM(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&a0(e.type)&&Um(e.props.children)?ui(e,{children:e.props.children.split("").join(n)}):a0(e)?Um(e)?X.createElement("span",null,e.split("").join(n)):X.createElement("span",null,e):DC(e)?X.createElement("span",null,e):e}function dM(e,t){let n=!1;const r=[];return X.Children.forEach(e,o=>{const i=typeof o,a=i==="string"||i==="number";if(n&&a){const l=r.length-1,c=r[l];r[l]=`${c}${o}`}else r.push(o);n=a}),X.Children.map(r,o=>uM(o,t))}const fM=s.forwardRef((e,t)=>{const{className:n,style:r,children:o,prefixCls:i}=e,a=q(`${i}-icon`,n);return X.createElement("span",{ref:t,className:a,style:r},o)}),KC=fM,l0=s.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:o,iconClassName:i}=e;const a=q(`${n}-loading-icon`,r);return X.createElement(KC,{prefixCls:n,className:a,style:o,ref:t},X.createElement(FC,{className:i}))}),nf=()=>({width:0,opacity:0,transform:"scale(0)"}),rf=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),mM=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:i}=e,a=!!n;return r?X.createElement(l0,{prefixCls:t,className:o,style:i}):X.createElement(kr,{visible:a,motionName:`${t}-loading-icon-motion`,motionLeave:a,removeOnLeave:!0,onAppearStart:nf,onAppearActive:rf,onEnterStart:nf,onEnterActive:rf,onLeaveStart:rf,onLeaveActive:nf},(l,c)=>{let{className:u,style:d}=l;return X.createElement(l0,{prefixCls:t,className:o,style:Object.assign(Object.assign({},i),d),ref:c,iconClassName:u})})},vM=mM,s0=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),gM=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},s0(`${t}-primary`,o),s0(`${t}-danger`,i)]}},qC=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Tt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},XC=e=>{var t,n,r,o,i,a;const l=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,c=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,u=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,d=(o=e.contentLineHeight)!==null&&o!==void 0?o:mc(l),f=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:mc(c),m=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:mc(u);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:l,contentFontSizeSM:c,contentFontSizeLG:u,contentLineHeight:d,contentLineHeightSM:f,contentLineHeightLG:m,paddingBlock:Math.max((e.controlHeight-l*d)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-c*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*m)/2-e.lineWidth,0)}},pM=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${V(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},rs(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},io=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),hM=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),yM=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),bM=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Dl=(e,t,n,r,o,i,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},io(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),Lg=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},bM(e))}),YC=e=>Object.assign({},Lg(e)),Jc=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),QC=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},YC(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),io(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Dl(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},io(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Dl(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Lg(e))}),SM=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},YC(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),io(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),Dl(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},io(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),Dl(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Lg(e))}),CM=e=>Object.assign(Object.assign({},QC(e)),{borderStyle:"dashed"}),xM=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},io(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Jc(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},io(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Jc(e))}),wM=e=>Object.assign(Object.assign(Object.assign({},io(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),Jc(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Jc(e)),io(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBg}))}),$M=e=>{const{componentCls:t}=e;return{[`${t}-default`]:QC(e),[`${t}-primary`]:SM(e),[`${t}-dashed`]:CM(e),[`${t}-link`]:xM(e),[`${t}-text`]:wM(e),[`${t}-ghost`]:Dl(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},jg=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,borderRadius:a,buttonPaddingHorizontal:l,iconCls:c,buttonPaddingVertical:u}=e,d=`${n}-icon-only`;return[{[`${t}`]:{fontSize:o,lineHeight:i,height:r,padding:`${V(u)} ${V(l)}`,borderRadius:a,[`&${d}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},[c]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:hM(e)},{[`${n}${n}-round${t}`]:yM(e)}]},EM=e=>{const t=Tt(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return jg(t,e.componentCls)},OM=e=>{const t=Tt(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return jg(t,`${e.componentCls}-sm`)},RM=e=>{const t=Tt(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return jg(t,`${e.componentCls}-lg`)},IM=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},PM=sn("Button",e=>{const t=qC(e);return[pM(t),EM(t),OM(t),RM(t),IM(t),$M(t),gM(t)]},XC,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function MM(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",l=["hover",o?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function TM(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Ag(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},MM(e,r,t)),TM(n,r,t))}}function NM(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function _M(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function zM(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},NM(e,t)),_M(e.componentCls,t))}}const LM=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${V(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${V(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},jM=SC(["Button","compact"],e=>{const t=qC(e);return[Ag(t),zM(t),LM(t)]},XC);var AM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r;const{loading:o=!1,prefixCls:i,type:a,danger:l,shape:c="default",size:u,styles:d,disabled:f,className:m,rootClassName:p,children:b,icon:h,ghost:S=!1,block:v=!1,htmlType:g="button",classNames:y,style:C={}}=e,$=AM(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),x=a||"default",{getPrefixCls:w,autoInsertSpaceInButton:R,direction:O,button:I}=s.useContext(it),M=w("btn",i),[_,P,z]=PM(M),A=s.useContext(Fu),N=f??A,T=s.useContext(GC),E=s.useMemo(()=>DM(o),[o]),[L,j]=s.useState(E.loading),[F,H]=s.useState(!1),G=lo(t,s.createRef()),K=s.Children.count(b)===1&&!h&&!tf(x);s.useEffect(()=>{let de=null;E.delay>0?de=setTimeout(()=>{de=null,j(!0)},E.delay):j(E.loading);function fe(){de&&(clearTimeout(de),de=null)}return fe},[E]),s.useEffect(()=>{if(!G||!G.current||R===!1)return;const de=G.current.textContent;K&&Um(de)?F||H(!0):F&&H(!1)},[G]);const ie=de=>{const{onClick:fe}=e;if(L||N){de.preventDefault();return}fe==null||fe(de)},J=R!==!1,{compactSize:ee,compactItemClassnames:ae}=UC(M,O),Q={large:"lg",small:"sm",middle:void 0},W=Do(de=>{var fe,xe;return(xe=(fe=u??ee)!==null&&fe!==void 0?fe:T)!==null&&xe!==void 0?xe:de}),le=W&&Q[W]||"",se=L?"loading":h,ne=Gn($,["navigate"]),Y=q(M,P,z,{[`${M}-${c}`]:c!=="default"&&c,[`${M}-${x}`]:x,[`${M}-${le}`]:le,[`${M}-icon-only`]:!b&&b!==0&&!!se,[`${M}-background-ghost`]:S&&!tf(x),[`${M}-loading`]:L,[`${M}-two-chinese-chars`]:F&&J&&!L,[`${M}-block`]:v,[`${M}-dangerous`]:!!l,[`${M}-rtl`]:O==="rtl"},ae,m,p,I==null?void 0:I.className),pe=Object.assign(Object.assign({},I==null?void 0:I.style),C),me=q(y==null?void 0:y.icon,(n=I==null?void 0:I.classNames)===null||n===void 0?void 0:n.icon),re=Object.assign(Object.assign({},(d==null?void 0:d.icon)||{}),((r=I==null?void 0:I.styles)===null||r===void 0?void 0:r.icon)||{}),Z=h&&!L?X.createElement(KC,{prefixCls:M,className:me,style:re},h):X.createElement(vM,{existIcon:!!h,prefixCls:M,loading:!!L}),ue=b||b===0?dM(b,K&&J):null;if(ne.href!==void 0)return _(X.createElement("a",Object.assign({},ne,{className:q(Y,{[`${M}-disabled`]:N}),href:N?void 0:ne.href,style:pe,onClick:ie,ref:G,tabIndex:N?-1:0}),Z,ue));let ce=X.createElement("button",Object.assign({},$,{type:g,className:Y,style:pe,onClick:ie,disabled:N,ref:G}),Z,ue,!!ae&&X.createElement(jM,{key:"compact",prefixCls:M}));return tf(x)||(ce=X.createElement(JP,{component:"Button",disabled:!!L},ce)),_(ce)},Dg=s.forwardRef(FM);Dg.Group=cM;Dg.__ANT_BUTTON=!0;const BM=Dg;var ZC=s.createContext(null),c0=[];function HM(e,t){var n=s.useState(function(){if(!Pn())return null;var b=document.createElement("div");return b}),r=k(n,1),o=r[0],i=s.useRef(!1),a=s.useContext(ZC),l=s.useState(c0),c=k(l,2),u=c[0],d=c[1],f=a||(i.current?void 0:function(b){d(function(h){var S=[b].concat(Te(h));return S})});function m(){o.parentElement||document.body.appendChild(o),i.current=!0}function p(){var b;(b=o.parentElement)===null||b===void 0||b.removeChild(o),i.current=!1}return It(function(){return e?a?a(m):m():p(),p},[e]),It(function(){u.length&&(u.forEach(function(b){return b()}),d(c0))},[u]),[o,f]}function kM(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var o,i;if(e){var a=getComputedStyle(e);r.scrollbarColor=a.scrollbarColor,r.scrollbarWidth=a.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),u=parseInt(l.height,10);try{var d=c?"width: ".concat(l.width,";"):"",f=u?"height: ".concat(l.height,";"):"";ro(` -#`.concat(t,`::-webkit-scrollbar { -`).concat(d,` -`).concat(f,` -}`),t)}catch(b){console.error(b),o=c,i=u}}document.body.appendChild(n);var m=e&&o&&!isNaN(o)?o:n.offsetWidth-n.clientWidth,p=e&&i&&!isNaN(i)?i:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),pa(t),{width:m,height:p}}function VM(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:kM(e)}function WM(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var UM="rc-util-locker-".concat(Date.now()),u0=0;function GM(e){var t=!!e,n=s.useState(function(){return u0+=1,"".concat(UM,"_").concat(u0)}),r=k(n,1),o=r[0];It(function(){if(t){var i=VM(document.body).width,a=WM();ro(` -html body { - overflow-y: hidden; - `.concat(a?"width: calc(100% - ".concat(i,"px);"):"",` -}`),o)}else pa(o);return function(){pa(o)}},[t,o])}var d0=!1;function KM(e){return typeof e=="boolean"&&(d0=e),d0}var f0=function(t){return t===!1?!1:!Pn()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Gu=s.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var i=e.autoDestroy,a=i===void 0?!0:i,l=e.children,c=s.useState(n),u=k(c,2),d=u[0],f=u[1],m=d||n;s.useEffect(function(){(a||n)&&f(n)},[n,a]);var p=s.useState(function(){return f0(o)}),b=k(p,2),h=b[0],S=b[1];s.useEffect(function(){var M=f0(o);S(M??null)});var v=HM(m&&!h),g=k(v,2),y=g[0],C=g[1],$=h??y;GM(r&&n&&Pn()&&($===y||$===document.body));var x=null;if(l&&pi(l)&&t){var w=l;x=w.ref}var R=gi(x,t);if(!m||!Pn()||h===void 0)return null;var O=$===!1||KM(),I=l;return t&&(I=s.cloneElement(l,{ref:R})),s.createElement(ZC.Provider,{value:C},O?I:_o.createPortal(I,$))}),JC=s.createContext({});function qM(){var e=B({},Kl);return e.useId}var m0=0,v0=qM();const ex=v0?function(t){var n=v0();return t||n}:function(t){var n=s.useState("ssr-id"),r=k(n,2),o=r[0],i=r[1];return s.useEffect(function(){var a=m0;m0+=1,i("rc_unique_".concat(a))},[]),t||o};function g0(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function p0(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function XM(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=p0(o),n.top+=p0(o,!0),n}const YM=s.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var h0={width:0,height:0,overflow:"hidden",outline:"none"},QM={outline:"none"},ZM=X.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.title,a=e.ariaId,l=e.footer,c=e.closable,u=e.closeIcon,d=e.onClose,f=e.children,m=e.bodyStyle,p=e.bodyProps,b=e.modalRender,h=e.onMouseDown,S=e.onMouseUp,v=e.holderRef,g=e.visible,y=e.forceRender,C=e.width,$=e.height,x=e.classNames,w=e.styles,R=X.useContext(JC),O=R.panel,I=gi(v,O),M=s.useRef(),_=s.useRef(),P=s.useRef();X.useImperativeHandle(t,function(){return{focus:function(){var H;(H=P.current)===null||H===void 0||H.focus()},changeActive:function(H){var U=document,G=U.activeElement;H&&G===_.current?M.current.focus():!H&&G===M.current&&_.current.focus()}}});var z={};C!==void 0&&(z.width=C),$!==void 0&&(z.height=$);var A;l&&(A=X.createElement("div",{className:q("".concat(n,"-footer"),x==null?void 0:x.footer),style:B({},w==null?void 0:w.footer)},l));var N;i&&(N=X.createElement("div",{className:q("".concat(n,"-header"),x==null?void 0:x.header),style:B({},w==null?void 0:w.header)},X.createElement("div",{className:"".concat(n,"-title"),id:a},i)));var T=s.useMemo(function(){return tt(c)==="object"&&c!==null?c:c?{closeIcon:u??X.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[c,u]),E=ci(T,!0),L;c&&(L=X.createElement("button",ve({type:"button",onClick:d,"aria-label":"Close"},E,{className:"".concat(n,"-close")}),T.closeIcon));var j=X.createElement("div",{className:q("".concat(n,"-content"),x==null?void 0:x.content),style:w==null?void 0:w.content},L,N,X.createElement("div",ve({className:q("".concat(n,"-body"),x==null?void 0:x.body),style:B(B({},m),w==null?void 0:w.body)},p),f),A);return X.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?a:null,"aria-modal":"true",ref:I,style:B(B({},o),z),className:q(n,r),onMouseDown:h,onMouseUp:S},X.createElement("div",{tabIndex:0,ref:M,style:h0,"aria-hidden":"true"}),X.createElement("div",{ref:P,tabIndex:-1,style:QM},X.createElement(YM,{shouldUpdate:g||y},b?b(j):j)),X.createElement("div",{tabIndex:0,ref:_,style:h0,"aria-hidden":"true"}))}),tx=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,i=e.className,a=e.visible,l=e.forceRender,c=e.destroyOnClose,u=e.motionName,d=e.ariaId,f=e.onVisibleChanged,m=e.mousePosition,p=s.useRef(),b=s.useState(),h=k(b,2),S=h[0],v=h[1],g={};S&&(g.transformOrigin=S);function y(){var C=XM(p.current);v(m?"".concat(m.x-C.left,"px ").concat(m.y-C.top,"px"):"")}return s.createElement(kr,{visible:a,onVisibleChanged:f,onAppearPrepare:y,onEnterPrepare:y,forceRender:l,motionName:u,removeOnLeave:c,ref:p},function(C,$){var x=C.className,w=C.style;return s.createElement(ZM,ve({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:$,style:B(B(B({},w),o),g),className:q(i,x)}))})});tx.displayName="Content";function JM(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName,a=e.className;return s.createElement(kr,{key:"mask",visible:r,motionName:i,leavedClassName:"".concat(t,"-mask-hidden")},function(l,c){var u=l.className,d=l.style;return s.createElement("div",ve({ref:c,style:B(B({},d),n),className:q("".concat(t,"-mask"),u,a)},o))})}function eT(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,o=e.visible,i=o===void 0?!1:o,a=e.keyboard,l=a===void 0?!0:a,c=e.focusTriggerAfterClose,u=c===void 0?!0:c,d=e.wrapStyle,f=e.wrapClassName,m=e.wrapProps,p=e.onClose,b=e.afterOpenChange,h=e.afterClose,S=e.transitionName,v=e.animation,g=e.closable,y=g===void 0?!0:g,C=e.mask,$=C===void 0?!0:C,x=e.maskTransitionName,w=e.maskAnimation,R=e.maskClosable,O=R===void 0?!0:R,I=e.maskStyle,M=e.maskProps,_=e.rootClassName,P=e.classNames,z=e.styles,A=s.useRef(),N=s.useRef(),T=s.useRef(),E=s.useState(i),L=k(E,2),j=L[0],F=L[1],H=ex();function U(){Cm(N.current,document.activeElement)||(A.current=document.activeElement)}function G(){if(!Cm(N.current,document.activeElement)){var se;(se=T.current)===null||se===void 0||se.focus()}}function K(se){if(se)G();else{if(F(!1),$&&A.current&&u){try{A.current.focus({preventScroll:!0})}catch{}A.current=null}j&&(h==null||h())}b==null||b(se)}function ie(se){p==null||p(se)}var J=s.useRef(!1),ee=s.useRef(),ae=function(){clearTimeout(ee.current),J.current=!0},Q=function(){ee.current=setTimeout(function(){J.current=!1})},W=null;O&&(W=function(ne){J.current?J.current=!1:N.current===ne.target&&ie(ne)});function le(se){if(l&&se.keyCode===te.ESC){se.stopPropagation(),ie(se);return}i&&se.keyCode===te.TAB&&T.current.changeActive(!se.shiftKey)}return s.useEffect(function(){i&&(F(!0),U())},[i]),s.useEffect(function(){return function(){clearTimeout(ee.current)}},[]),s.createElement("div",ve({className:q("".concat(n,"-root"),_)},ci(e,{data:!0})),s.createElement(JM,{prefixCls:n,visible:$&&i,motionName:g0(n,x,w),style:B(B({zIndex:r},I),z==null?void 0:z.mask),maskProps:M,className:P==null?void 0:P.mask}),s.createElement("div",ve({tabIndex:-1,onKeyDown:le,className:q("".concat(n,"-wrap"),f,P==null?void 0:P.wrapper),ref:N,onClick:W,style:B(B(B({zIndex:r},d),z==null?void 0:z.wrapper),{},{display:j?null:"none"})},m),s.createElement(tx,ve({},e,{onMouseDown:ae,onMouseUp:Q,ref:T,closable:y,ariaId:H,prefixCls:n,visible:i&&j,onClose:ie,onVisibleChanged:K,motionName:g0(n,S,v)}))))}var nx=function(t){var n=t.visible,r=t.getContainer,o=t.forceRender,i=t.destroyOnClose,a=i===void 0?!1:i,l=t.afterClose,c=t.panelRef,u=s.useState(n),d=k(u,2),f=d[0],m=d[1],p=s.useMemo(function(){return{panel:c}},[c]);return s.useEffect(function(){n&&m(!0)},[n]),!o&&a&&!f?null:s.createElement(JC.Provider,{value:p},s.createElement(Gu,{open:n||o||f,autoDestroy:!1,getContainer:r,autoLock:n||f},s.createElement(eT,ve({},t,{destroyOnClose:a,afterClose:function(){l==null||l(),m(!1)}}))))};nx.displayName="Dialog";var rx=function(t){if(Pn()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(o){return o in r.style})}return!1},tT=function(t,n){if(!rx(t))return!1;var r=document.createElement("div"),o=r.style[t];return r.style[t]=n,r.style[t]!==o};function y0(e,t){return!Array.isArray(e)&&t!==void 0?tT(e,t):rx(e)}var Yo="RC_FORM_INTERNAL_HOOKS",zt=function(){Rn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Sa=s.createContext({getFieldValue:zt,getFieldsValue:zt,getFieldError:zt,getFieldWarning:zt,getFieldsError:zt,isFieldsTouched:zt,isFieldTouched:zt,isFieldValidating:zt,isFieldsValidating:zt,resetFields:zt,setFields:zt,setFieldValue:zt,setFieldsValue:zt,validateFields:zt,submit:zt,getInternalHooks:function(){return zt(),{dispatch:zt,initEntityValue:zt,registerField:zt,useSubscribe:zt,setInitialValues:zt,destroyForm:zt,setCallbacks:zt,registerWatch:zt,getFields:zt,setValidateMessages:zt,setPreserve:zt,getInitialValue:zt}}}),eu=s.createContext(null);function Gm(e){return e==null?[]:Array.isArray(e)?e:[e]}function nT(e){return e&&!!e._init}function Qo(){return Qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function vc(e,t,n){return oT()?vc=Reflect.construct.bind():vc=function(o,i,a){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(o,l),u=new c;return a&&Fl(u,a.prototype),u},vc.apply(null,arguments)}function iT(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function qm(e){var t=typeof Map=="function"?new Map:void 0;return qm=function(r){if(r===null||!iT(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return vc(r,arguments,Km(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Fl(o,r)},qm(e)}var aT=/%[sdj%]/g,lT=function(){};function Xm(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function nr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=i)return l;switch(l){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return l}});return a}return e}function sT(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ln(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||sT(t)&&typeof e=="string"&&!e)}function cT(e,t,n){var r=[],o=0,i=e.length;function a(l){r.push.apply(r,l||[]),o++,o===i&&n(r)}e.forEach(function(l){t(l,a)})}function b0(e,t,n){var r=0,o=e.length;function i(a){if(a&&a.length){n(a);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Ja={integer:function(t){return Ja.number(t)&&parseInt(t,10)===t},float:function(t){return Ja.number(t)&&!Ja.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Ja.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(w0.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(gT())},hex:function(t){return typeof t=="string"&&!!t.match(w0.hex)}},pT=function(t,n,r,o,i){if(t.required&&n===void 0){ox(t,n,r,o,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Ja[l](n)||o.push(nr(i.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&o.push(nr(i.messages.types[l],t.fullField,t.type))},hT=function(t,n,r,o,i){var a=typeof t.len=="number",l=typeof t.min=="number",c=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,m=typeof n=="number",p=typeof n=="string",b=Array.isArray(n);if(m?f="number":p?f="string":b&&(f="array"),!f)return!1;b&&(d=n.length),p&&(d=n.replace(u,"_").length),a?d!==t.len&&o.push(nr(i.messages[f].len,t.fullField,t.len)):l&&!c&&dt.max?o.push(nr(i.messages[f].max,t.fullField,t.max)):l&&c&&(dt.max)&&o.push(nr(i.messages[f].range,t.fullField,t.min,t.max))},wi="enum",yT=function(t,n,r,o,i){t[wi]=Array.isArray(t[wi])?t[wi]:[],t[wi].indexOf(n)===-1&&o.push(nr(i.messages[wi],t.fullField,t[wi].join(", ")))},bT=function(t,n,r,o,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(nr(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||o.push(nr(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},ft={required:ox,whitespace:vT,type:pT,range:hT,enum:yT,pattern:bT},ST=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ln(n,"string")&&!t.required)return r();ft.required(t,n,o,a,i,"string"),ln(n,"string")||(ft.type(t,n,o,a,i),ft.range(t,n,o,a,i),ft.pattern(t,n,o,a,i),t.whitespace===!0&&ft.whitespace(t,n,o,a,i))}r(a)},CT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ln(n)&&!t.required)return r();ft.required(t,n,o,a,i),n!==void 0&&ft.type(t,n,o,a,i)}r(a)},xT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),ln(n)&&!t.required)return r();ft.required(t,n,o,a,i),n!==void 0&&(ft.type(t,n,o,a,i),ft.range(t,n,o,a,i))}r(a)},wT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ln(n)&&!t.required)return r();ft.required(t,n,o,a,i),n!==void 0&&ft.type(t,n,o,a,i)}r(a)},$T=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ln(n)&&!t.required)return r();ft.required(t,n,o,a,i),ln(n)||ft.type(t,n,o,a,i)}r(a)},ET=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ln(n)&&!t.required)return r();ft.required(t,n,o,a,i),n!==void 0&&(ft.type(t,n,o,a,i),ft.range(t,n,o,a,i))}r(a)},OT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ln(n)&&!t.required)return r();ft.required(t,n,o,a,i),n!==void 0&&(ft.type(t,n,o,a,i),ft.range(t,n,o,a,i))}r(a)},RT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();ft.required(t,n,o,a,i,"array"),n!=null&&(ft.type(t,n,o,a,i),ft.range(t,n,o,a,i))}r(a)},IT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ln(n)&&!t.required)return r();ft.required(t,n,o,a,i),n!==void 0&&ft.type(t,n,o,a,i)}r(a)},PT="enum",MT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ln(n)&&!t.required)return r();ft.required(t,n,o,a,i),n!==void 0&&ft[PT](t,n,o,a,i)}r(a)},TT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ln(n,"string")&&!t.required)return r();ft.required(t,n,o,a,i),ln(n,"string")||ft.pattern(t,n,o,a,i)}r(a)},NT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ln(n,"date")&&!t.required)return r();if(ft.required(t,n,o,a,i),!ln(n,"date")){var c;n instanceof Date?c=n:c=new Date(n),ft.type(t,c,o,a,i),c&&ft.range(t,c.getTime(),o,a,i)}}r(a)},_T=function(t,n,r,o,i){var a=[],l=Array.isArray(n)?"array":typeof n;ft.required(t,n,o,a,i,l),r(a)},of=function(t,n,r,o,i){var a=t.type,l=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(ln(n,a)&&!t.required)return r();ft.required(t,n,o,l,i,a),ln(n,a)||ft.type(t,n,o,l,i)}r(l)},zT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ln(n)&&!t.required)return r();ft.required(t,n,o,a,i)}r(a)},gl={string:ST,method:CT,number:xT,boolean:wT,regexp:$T,integer:ET,float:OT,array:RT,object:IT,enum:MT,pattern:TT,date:NT,url:of,hex:of,email:of,required:_T,any:zT};function Ym(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Qm=Ym(),as=function(){function e(n){this.rules=null,this._messages=Qm,this.define(n)}var t=e.prototype;return t.define=function(r){var o=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(i){var a=r[i];o.rules[i]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=x0(Ym(),r)),this._messages},t.validate=function(r,o,i){var a=this;o===void 0&&(o={}),i===void 0&&(i=function(){});var l=r,c=o,u=i;if(typeof c=="function"&&(u=c,c={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function d(h){var S=[],v={};function g(C){if(Array.isArray(C)){var $;S=($=S).concat.apply($,C)}else S.push(C)}for(var y=0;y2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return ax(t,r,n)})}function ax(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,o){return e[o]===r})}function FT(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||tt(e)!=="object"||tt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),o=new Set([].concat(n,r));return Te(o).every(function(i){var a=e[i],l=t[i];return typeof a=="function"&&typeof l=="function"?!0:a===l})}function BT(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&tt(t.target)==="object"&&e in t.target?t.target[e]:t}function R0(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat(Te(e.slice(0,n)),[o],Te(e.slice(n,t)),Te(e.slice(t+1,r))):i<0?[].concat(Te(e.slice(0,t)),Te(e.slice(t+1,n+1)),[o],Te(e.slice(n+1,r))):e}var HT=["name"],lr=[];function I0(e,t,n,r,o,i){return typeof e=="function"?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var Fg=function(e){hi(n,e);var t=Jl(n);function n(r){var o;if(An(this,n),o=t.call(this,r),D(yt(o),"state",{resetCount:0}),D(yt(o),"cancelRegisterFunc",null),D(yt(o),"mounted",!1),D(yt(o),"touched",!1),D(yt(o),"dirty",!1),D(yt(o),"validatePromise",void 0),D(yt(o),"prevValidating",void 0),D(yt(o),"errors",lr),D(yt(o),"warnings",lr),D(yt(o),"cancelRegister",function(){var c=o.props,u=c.preserve,d=c.isListField,f=c.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(d,u,Qt(f)),o.cancelRegisterFunc=null}),D(yt(o),"getNamePath",function(){var c=o.props,u=c.name,d=c.fieldContext,f=d.prefixName,m=f===void 0?[]:f;return u!==void 0?[].concat(Te(m),Te(u)):[]}),D(yt(o),"getRules",function(){var c=o.props,u=c.rules,d=u===void 0?[]:u,f=c.fieldContext;return d.map(function(m){return typeof m=="function"?m(f):m})}),D(yt(o),"refresh",function(){o.mounted&&o.setState(function(c){var u=c.resetCount;return{resetCount:u+1}})}),D(yt(o),"metaCache",null),D(yt(o),"triggerMetaEvent",function(c){var u=o.props.onMetaChange;if(u){var d=B(B({},o.getMeta()),{},{destroy:c});es(o.metaCache,d)||u(d),o.metaCache=d}else o.metaCache=null}),D(yt(o),"onStoreChange",function(c,u,d){var f=o.props,m=f.shouldUpdate,p=f.dependencies,b=p===void 0?[]:p,h=f.onReset,S=d.store,v=o.getNamePath(),g=o.getValue(c),y=o.getValue(S),C=u&&ia(u,v);switch(d.type==="valueUpdate"&&d.source==="external"&&g!==y&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=lr,o.warnings=lr,o.triggerMetaEvent()),d.type){case"reset":if(!u||C){o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=lr,o.warnings=lr,o.triggerMetaEvent(),h==null||h(),o.refresh();return}break;case"remove":{if(m){o.reRender();return}break}case"setField":{var $=d.data;if(C){"touched"in $&&(o.touched=$.touched),"validating"in $&&!("originRCField"in $)&&(o.validatePromise=$.validating?Promise.resolve([]):null),"errors"in $&&(o.errors=$.errors||lr),"warnings"in $&&(o.warnings=$.warnings||lr),o.dirty=!0,o.triggerMetaEvent(),o.reRender();return}else if("value"in $&&ia(u,v,!0)){o.reRender();return}if(m&&!v.length&&I0(m,c,S,g,y,d)){o.reRender();return}break}case"dependenciesUpdate":{var x=b.map(Qt);if(x.some(function(w){return ia(d.relatedFields,w)})){o.reRender();return}break}default:if(C||(!b.length||v.length||m)&&I0(m,c,S,g,y,d)){o.reRender();return}break}m===!0&&o.reRender()}),D(yt(o),"validateRules",function(c){var u=o.getNamePath(),d=o.getValue(),f=c||{},m=f.triggerName,p=f.validateOnly,b=p===void 0?!1:p,h=Promise.resolve().then(yi(zn().mark(function S(){var v,g,y,C,$,x,w;return zn().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(o.mounted){O.next=2;break}return O.abrupt("return",[]);case 2:if(v=o.props,g=v.validateFirst,y=g===void 0?!1:g,C=v.messageVariables,$=v.validateDebounce,x=o.getRules(),m&&(x=x.filter(function(I){return I}).filter(function(I){var M=I.validateTrigger;if(!M)return!0;var _=Gm(M);return _.includes(m)})),!($&&m)){O.next=10;break}return O.next=8,new Promise(function(I){setTimeout(I,$)});case 8:if(o.validatePromise===h){O.next=10;break}return O.abrupt("return",[]);case 10:return w=jT(u,d,x,c,y,C),w.catch(function(I){return I}).then(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lr;if(o.validatePromise===h){var M;o.validatePromise=null;var _=[],P=[];(M=I.forEach)===null||M===void 0||M.call(I,function(z){var A=z.rule.warningOnly,N=z.errors,T=N===void 0?lr:N;A?P.push.apply(P,Te(T)):_.push.apply(_,Te(T))}),o.errors=_,o.warnings=P,o.triggerMetaEvent(),o.reRender()}}),O.abrupt("return",w);case 13:case"end":return O.stop()}},S)})));return b||(o.validatePromise=h,o.dirty=!0,o.errors=lr,o.warnings=lr,o.triggerMetaEvent(),o.reRender()),h}),D(yt(o),"isFieldValidating",function(){return!!o.validatePromise}),D(yt(o),"isFieldTouched",function(){return o.touched}),D(yt(o),"isFieldDirty",function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var c=o.props.fieldContext,u=c.getInternalHooks(Yo),d=u.getInitialValue;return d(o.getNamePath())!==void 0}),D(yt(o),"getErrors",function(){return o.errors}),D(yt(o),"getWarnings",function(){return o.warnings}),D(yt(o),"isListField",function(){return o.props.isListField}),D(yt(o),"isList",function(){return o.props.isList}),D(yt(o),"isPreserve",function(){return o.props.preserve}),D(yt(o),"getMeta",function(){o.prevValidating=o.isFieldValidating();var c={touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:o.validatePromise===null};return c}),D(yt(o),"getOnlyChild",function(c){if(typeof c=="function"){var u=o.getMeta();return B(B({},o.getOnlyChild(c(o.getControlled(),u,o.props.fieldContext))),{},{isFunction:!0})}var d=hr(c);return d.length!==1||!s.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),D(yt(o),"getValue",function(c){var u=o.props.fieldContext.getFieldsValue,d=o.getNamePath();return Dr(c||u(!0),d)}),D(yt(o),"getControlled",function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.props,d=u.trigger,f=u.validateTrigger,m=u.getValueFromEvent,p=u.normalize,b=u.valuePropName,h=u.getValueProps,S=u.fieldContext,v=f!==void 0?f:S.validateTrigger,g=o.getNamePath(),y=S.getInternalHooks,C=S.getFieldsValue,$=y(Yo),x=$.dispatch,w=o.getValue(),R=h||function(P){return D({},b,P)},O=c[d],I=R(w),M=B(B({},c),I);M[d]=function(){o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var P,z=arguments.length,A=new Array(z),N=0;N=0&&I<=M.length?(d.keys=[].concat(Te(d.keys.slice(0,I)),[d.id],Te(d.keys.slice(I))),y([].concat(Te(M.slice(0,I)),[O],Te(M.slice(I))))):(d.keys=[].concat(Te(d.keys),[d.id]),y([].concat(Te(M),[O]))),d.id+=1},remove:function(O){var I=$(),M=new Set(Array.isArray(O)?O:[O]);M.size<=0||(d.keys=d.keys.filter(function(_,P){return!M.has(P)}),y(I.filter(function(_,P){return!M.has(P)})))},move:function(O,I){if(O!==I){var M=$();O<0||O>=M.length||I<0||I>=M.length||(d.keys=R0(d.keys,O,I),y(R0(M,O,I)))}}},w=g||[];return Array.isArray(w)||(w=[]),r(w.map(function(R,O){var I=d.keys[O];return I===void 0&&(d.keys[O]=d.id,I=d.keys[O],d.id+=1),{name:O,key:I,isListField:!0}}),x,S)})))}function VT(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(o,i){e.forEach(function(a,l){a.catch(function(c){return t=!0,c}).then(function(c){n-=1,r[l]=c,!(n>0)&&(t&&i(r),o(r))})})}):Promise.resolve([])}var sx="__@field_split__";function af(e){return e.map(function(t){return"".concat(tt(t),":").concat(t)}).join(sx)}var $i=function(){function e(){An(this,e),D(this,"kvs",new Map)}return Dn(e,[{key:"set",value:function(n,r){this.kvs.set(af(n),r)}},{key:"get",value:function(n){return this.kvs.get(af(n))}},{key:"update",value:function(n,r){var o=this.get(n),i=r(o);i?this.set(n,i):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(af(n))}},{key:"map",value:function(n){return Te(this.kvs.entries()).map(function(r){var o=k(r,2),i=o[0],a=o[1],l=i.split(sx);return n({key:l.map(function(c){var u=c.match(/^([^:]*):(.*)$/),d=k(u,3),f=d[1],m=d[2];return f==="number"?Number(m):m}),value:a})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var o=r.key,i=r.value;return n[o.join(".")]=i,null}),n}}]),e}(),WT=["name"],UT=Dn(function e(t){var n=this;An(this,e),D(this,"formHooked",!1),D(this,"forceRootUpdate",void 0),D(this,"subscribable",!0),D(this,"store",{}),D(this,"fieldEntities",[]),D(this,"initialValues",{}),D(this,"callbacks",{}),D(this,"validateMessages",null),D(this,"preserve",null),D(this,"lastValidatePromise",null),D(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),D(this,"getInternalHooks",function(r){return r===Yo?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Rn(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),D(this,"useSubscribe",function(r){n.subscribable=r}),D(this,"prevWithoutPreserves",null),D(this,"setInitialValues",function(r,o){if(n.initialValues=r||{},o){var i,a=Ki(r,n.store);(i=n.prevWithoutPreserves)===null||i===void 0||i.map(function(l){var c=l.key;a=$r(a,c,Dr(r,c))}),n.prevWithoutPreserves=null,n.updateStore(a)}}),D(this,"destroyForm",function(){var r=new $i;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||r.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=r}),D(this,"getInitialValue",function(r){var o=Dr(n.initialValues,r);return r.length?Ki(o):o}),D(this,"setCallbacks",function(r){n.callbacks=r}),D(this,"setValidateMessages",function(r){n.validateMessages=r}),D(this,"setPreserve",function(r){n.preserve=r}),D(this,"watchList",[]),D(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(o){return o!==r})}}),D(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var o=n.getFieldsValue(),i=n.getFieldsValue(!0);n.watchList.forEach(function(a){a(o,i,r)})}}),D(this,"timeoutId",null),D(this,"warningUnhooked",function(){}),D(this,"updateStore",function(r){n.store=r}),D(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(o){return o.getNamePath().length}):n.fieldEntities}),D(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=new $i;return n.getFieldEntities(r).forEach(function(i){var a=i.getNamePath();o.set(a,i)}),o}),D(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var o=n.getFieldsMap(!0);return r.map(function(i){var a=Qt(i);return o.get(a)||{INVALIDATE_NAME_PATH:Qt(i)}})}),D(this,"getFieldsValue",function(r,o){n.warningUnhooked();var i,a,l;if(r===!0||Array.isArray(r)?(i=r,a=o):r&&tt(r)==="object"&&(l=r.strict,a=r.filter),i===!0&&!a)return n.store;var c=n.getFieldEntitiesForNamePathList(Array.isArray(i)?i:null),u=[];return c.forEach(function(d){var f,m,p="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(l){var b,h;if((b=(h=d).isList)!==null&&b!==void 0&&b.call(h))return}else if(!i&&(f=(m=d).isListField)!==null&&f!==void 0&&f.call(m))return;if(!a)u.push(p);else{var S="getMeta"in d?d.getMeta():null;a(S)&&u.push(p)}}),O0(n.store,u.map(Qt))}),D(this,"getFieldValue",function(r){n.warningUnhooked();var o=Qt(r);return Dr(n.store,o)}),D(this,"getFieldsError",function(r){n.warningUnhooked();var o=n.getFieldEntitiesForNamePathList(r);return o.map(function(i,a){return i&&!("INVALIDATE_NAME_PATH"in i)?{name:i.getNamePath(),errors:i.getErrors(),warnings:i.getWarnings()}:{name:Qt(r[a]),errors:[],warnings:[]}})}),D(this,"getFieldError",function(r){n.warningUnhooked();var o=Qt(r),i=n.getFieldsError([o])[0];return i.errors}),D(this,"getFieldWarning",function(r){n.warningUnhooked();var o=Qt(r),i=n.getFieldsError([o])[0];return i.warnings}),D(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,o=new Array(r),i=0;i0&&arguments[0]!==void 0?arguments[0]:{},o=new $i,i=n.getFieldEntities(!0);i.forEach(function(c){var u=c.props.initialValue,d=c.getNamePath();if(u!==void 0){var f=o.get(d)||new Set;f.add({entity:c,value:u}),o.set(d,f)}});var a=function(u){u.forEach(function(d){var f=d.props.initialValue;if(f!==void 0){var m=d.getNamePath(),p=n.getInitialValue(m);if(p!==void 0)Rn(!1,"Form already set 'initialValues' with path '".concat(m.join("."),"'. Field can not overwrite it."));else{var b=o.get(m);if(b&&b.size>1)Rn(!1,"Multiple Field with path '".concat(m.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(b){var h=n.getFieldValue(m),S=d.isListField();!S&&(!r.skipExist||h===void 0)&&n.updateStore($r(n.store,m,Te(b)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(c){var u=o.get(c);if(u){var d;(d=l).push.apply(d,Te(Te(u).map(function(f){return f.entity})))}})):l=i,a(l)}),D(this,"resetFields",function(r){n.warningUnhooked();var o=n.store;if(!r){n.updateStore(Ki(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(o,null,{type:"reset"}),n.notifyWatch();return}var i=r.map(Qt);i.forEach(function(a){var l=n.getInitialValue(a);n.updateStore($r(n.store,a,l))}),n.resetWithFieldInitialValue({namePathList:i}),n.notifyObservers(o,i,{type:"reset"}),n.notifyWatch(i)}),D(this,"setFields",function(r){n.warningUnhooked();var o=n.store,i=[];r.forEach(function(a){var l=a.name,c=Ze(a,WT),u=Qt(l);i.push(u),"value"in c&&n.updateStore($r(n.store,u,c.value)),n.notifyObservers(o,[u],{type:"setField",data:a})}),n.notifyWatch(i)}),D(this,"getFields",function(){var r=n.getFieldEntities(!0),o=r.map(function(i){var a=i.getNamePath(),l=i.getMeta(),c=B(B({},l),{},{name:a,value:n.getFieldValue(a)});return Object.defineProperty(c,"originRCField",{value:!0}),c});return o}),D(this,"initEntityValue",function(r){var o=r.props.initialValue;if(o!==void 0){var i=r.getNamePath(),a=Dr(n.store,i);a===void 0&&n.updateStore($r(n.store,i,o))}}),D(this,"isMergedPreserve",function(r){var o=r!==void 0?r:n.preserve;return o??!0}),D(this,"registerField",function(r){n.fieldEntities.push(r);var o=r.getNamePath();if(n.notifyWatch([o]),r.props.initialValue!==void 0){var i=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(i,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(a,l){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(l)&&(!a||c.length>1)){var u=a?void 0:n.getInitialValue(o);if(o.length&&n.getFieldValue(o)!==u&&n.fieldEntities.every(function(f){return!ax(f.getNamePath(),o)})){var d=n.store;n.updateStore($r(d,o,u,!0)),n.notifyObservers(d,[o],{type:"remove"}),n.triggerDependenciesUpdate(d,o)}}n.notifyWatch([o])}}),D(this,"dispatch",function(r){switch(r.type){case"updateValue":{var o=r.namePath,i=r.value;n.updateValue(o,i);break}case"validateField":{var a=r.namePath,l=r.triggerName;n.validateFields([a],{triggerName:l});break}}}),D(this,"notifyObservers",function(r,o,i){if(n.subscribable){var a=B(B({},i),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var c=l.onStoreChange;c(r,o,a)})}else n.forceRootUpdate()}),D(this,"triggerDependenciesUpdate",function(r,o){var i=n.getDependencyChildrenFields(o);return i.length&&n.validateFields(i),n.notifyObservers(r,i,{type:"dependenciesUpdate",relatedFields:[o].concat(Te(i))}),i}),D(this,"updateValue",function(r,o){var i=Qt(r),a=n.store;n.updateStore($r(n.store,i,o)),n.notifyObservers(a,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]);var l=n.triggerDependenciesUpdate(a,i),c=n.callbacks.onValuesChange;if(c){var u=O0(n.store,[i]);c(u,n.getFieldsValue())}n.triggerOnFieldsChange([i].concat(Te(l)))}),D(this,"setFieldsValue",function(r){n.warningUnhooked();var o=n.store;if(r){var i=Ki(n.store,r);n.updateStore(i)}n.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),D(this,"setFieldValue",function(r,o){n.setFields([{name:r,value:o}])}),D(this,"getDependencyChildrenFields",function(r){var o=new Set,i=[],a=new $i;n.getFieldEntities().forEach(function(c){var u=c.props.dependencies;(u||[]).forEach(function(d){var f=Qt(d);a.update(f,function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return m.add(c),m})})});var l=function c(u){var d=a.get(u)||new Set;d.forEach(function(f){if(!o.has(f)){o.add(f);var m=f.getNamePath();f.isFieldDirty()&&m.length&&(i.push(m),c(m))}})};return l(r),i}),D(this,"triggerOnFieldsChange",function(r,o){var i=n.callbacks.onFieldsChange;if(i){var a=n.getFields();if(o){var l=new $i;o.forEach(function(u){var d=u.name,f=u.errors;l.set(d,f)}),a.forEach(function(u){u.errors=l.get(u.name)||u.errors})}var c=a.filter(function(u){var d=u.name;return ia(r,d)});c.length&&i(c,a)}}),D(this,"validateFields",function(r,o){n.warningUnhooked();var i,a;Array.isArray(r)||typeof r=="string"||typeof o=="string"?(i=r,a=o):a=r;var l=!!i,c=l?i.map(Qt):[],u=[],d=String(Date.now()),f=new Set,m=a||{},p=m.recursive,b=m.dirty;n.getFieldEntities(!0).forEach(function(g){if(l||c.push(g.getNamePath()),!(!g.props.rules||!g.props.rules.length)&&!(b&&!g.isFieldDirty())){var y=g.getNamePath();if(f.add(y.join(d)),!l||ia(c,y,p)){var C=g.validateRules(B({validateMessages:B(B({},ix),n.validateMessages)},a));u.push(C.then(function(){return{name:y,errors:[],warnings:[]}}).catch(function($){var x,w=[],R=[];return(x=$.forEach)===null||x===void 0||x.call($,function(O){var I=O.rule.warningOnly,M=O.errors;I?R.push.apply(R,Te(M)):w.push.apply(w,Te(M))}),w.length?Promise.reject({name:y,errors:w,warnings:R}):{name:y,errors:w,warnings:R}}))}}});var h=VT(u);n.lastValidatePromise=h,h.catch(function(g){return g}).then(function(g){var y=g.map(function(C){var $=C.name;return $});n.notifyObservers(n.store,y,{type:"validateFinish"}),n.triggerOnFieldsChange(y,g)});var S=h.then(function(){return n.lastValidatePromise===h?Promise.resolve(n.getFieldsValue(c)):Promise.reject([])}).catch(function(g){var y=g.filter(function(C){return C&&C.errors.length});return Promise.reject({values:n.getFieldsValue(c),errorFields:y,outOfDate:n.lastValidatePromise!==h})});S.catch(function(g){return g});var v=c.filter(function(g){return f.has(g.join(d))});return n.triggerOnFieldsChange(v),S}),D(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var o=n.callbacks.onFinish;if(o)try{o(r)}catch(i){console.error(i)}}).catch(function(r){var o=n.callbacks.onFinishFailed;o&&o(r)})}),this.forceRootUpdate=t});function cx(e){var t=s.useRef(),n=s.useState({}),r=k(n,2),o=r[1];if(!t.current)if(e)t.current=e;else{var i=function(){o({})},a=new UT(i);t.current=a.getForm()}return[t.current]}var nv=s.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),GT=function(t){var n=t.validateMessages,r=t.onFormChange,o=t.onFormFinish,i=t.children,a=s.useContext(nv),l=s.useRef({});return s.createElement(nv.Provider,{value:B(B({},a),{},{validateMessages:B(B({},a.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:l.current}),a.triggerFormChange(u,d)},triggerFormFinish:function(u,d){o&&o(u,{values:d,forms:l.current}),a.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(l.current=B(B({},l.current),{},D({},u,d))),a.registerForm(u,d)},unregisterForm:function(u){var d=B({},l.current);delete d[u],l.current=d,a.unregisterForm(u)}})},i)},KT=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],qT=function(t,n){var r=t.name,o=t.initialValues,i=t.fields,a=t.form,l=t.preserve,c=t.children,u=t.component,d=u===void 0?"form":u,f=t.validateMessages,m=t.validateTrigger,p=m===void 0?"onChange":m,b=t.onValuesChange,h=t.onFieldsChange,S=t.onFinish,v=t.onFinishFailed,g=Ze(t,KT),y=s.useContext(nv),C=cx(a),$=k(C,1),x=$[0],w=x.getInternalHooks(Yo),R=w.useSubscribe,O=w.setInitialValues,I=w.setCallbacks,M=w.setValidateMessages,_=w.setPreserve,P=w.destroyForm;s.useImperativeHandle(n,function(){return x}),s.useEffect(function(){return y.registerForm(r,x),function(){y.unregisterForm(r)}},[y,x,r]),M(B(B({},y.validateMessages),f)),I({onValuesChange:b,onFieldsChange:function(H){if(y.triggerFormChange(r,H),h){for(var U=arguments.length,G=new Array(U>1?U-1:0),K=1;K({animationDuration:e,animationFillMode:"both"}),JT=e=>({animationDuration:e,animationFillMode:"both"}),Ku=function(e,t,n,r){const i=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` - ${i}${e}-enter, - ${i}${e}-appear - `]:Object.assign(Object.assign({},ZT(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},JT(r)),{animationPlayState:"paused"}),[` - ${i}${e}-enter${e}-enter-active, - ${i}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},eN=new St("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),tN=new St("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),dx=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[Ku(r,eN,tN,e.motionDurationMid,t),{[` - ${o}${r}-enter, - ${o}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},nN=new St("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),rN=new St("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),oN=new St("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),iN=new St("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),aN=new St("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),lN=new St("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),sN=new St("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),cN=new St("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),uN={"move-up":{inKeyframes:sN,outKeyframes:cN},"move-down":{inKeyframes:nN,outKeyframes:rN},"move-left":{inKeyframes:oN,outKeyframes:iN},"move-right":{inKeyframes:aN,outKeyframes:lN}},M0=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=uN[t];return[Ku(r,o,i,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},fx=new St("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),mx=new St("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),vx=new St("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),gx=new St("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),dN=new St("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),fN=new St("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),mN=new St("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),vN=new St("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),gN={"slide-up":{inKeyframes:fx,outKeyframes:mx},"slide-down":{inKeyframes:vx,outKeyframes:gx},"slide-left":{inKeyframes:dN,outKeyframes:fN},"slide-right":{inKeyframes:mN,outKeyframes:vN}},tu=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=gN[t];return[Ku(r,o,i,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},pN=new St("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),hN=new St("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),T0=new St("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),N0=new St("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),yN=new St("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),bN=new St("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),SN=new St("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),CN=new St("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),xN=new St("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),wN=new St("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),$N=new St("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),EN=new St("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),ON={zoom:{inKeyframes:pN,outKeyframes:hN},"zoom-big":{inKeyframes:T0,outKeyframes:N0},"zoom-big-fast":{inKeyframes:T0,outKeyframes:N0},"zoom-left":{inKeyframes:SN,outKeyframes:CN},"zoom-right":{inKeyframes:xN,outKeyframes:wN},"zoom-up":{inKeyframes:yN,outKeyframes:bN},"zoom-down":{inKeyframes:$N,outKeyframes:EN}},Bg=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=ON[t];return[Ku(r,o,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function _0(e){return{position:e,inset:0}}const px=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},_0("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},_0("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:dx(e)}]},RN=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${V(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},Kn(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${V(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${V(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},rs(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, - ${t}-body, - ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},IN=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},PN=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Tt(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},MN=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${V(e.paddingMD)} ${V(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${V(e.padding)} ${V(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${V(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${V(e.paddingXS)} ${V(e.padding)}`:0,footerBorderTop:e.wireframe?`${V(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${V(e.padding*2)} ${V(e.padding*2)} ${V(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});sn("Modal",e=>{const t=PN(e);return[RN(t),IN(t),px(t),Bg(t,"zoom")]},MN,{unitless:{titleLineHeight:!0}});function TN(e){return t=>s.createElement(NC,{theme:{token:{motion:!1,zIndexPopupBase:0}}},s.createElement(e,Object.assign({},t)))}const NN=(e,t,n,r)=>TN(i=>{const{prefixCls:a,style:l}=i,c=s.useRef(null),[u,d]=s.useState(0),[f,m]=s.useState(0),[p,b]=on(!1,{value:i.open}),{getPrefixCls:h}=s.useContext(it),S=h(t||"select",a);s.useEffect(()=>{if(b(!0),typeof ResizeObserver<"u"){const y=new ResizeObserver($=>{const x=$[0].target;d(x.offsetHeight+8),m(x.offsetWidth)}),C=setInterval(()=>{var $;const x=n?`.${n(S)}`:`.${S}-dropdown`,w=($=c.current)===null||$===void 0?void 0:$.querySelector(x);w&&(clearInterval(C),y.observe(w))},10);return()=>{clearInterval(C),y.disconnect()}}},[]);let v=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},l),{margin:0}),open:p,visible:p,getPopupContainer:()=>c.current});r&&(v=r(v));const g={paddingBottom:u,position:"relative",minWidth:f};return s.createElement("div",{ref:c,style:g},s.createElement(e,Object.assign({},v)))}),Hg=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var qu=function(t){var n=t.className,r=t.customizeIcon,o=t.customizeIconProps,i=t.children,a=t.onMouseDown,l=t.onClick,c=typeof r=="function"?r(o):r;return s.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),a==null||a(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},c!==void 0?c:s.createElement("span",{className:q(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},i))},_N=function(t,n,r,o,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,l=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,u=X.useMemo(function(){if(tt(o)==="object")return o.clearIcon;if(i)return i},[o,i]),d=X.useMemo(function(){return!!(!a&&o&&(r.length||l)&&!(c==="combobox"&&l===""))},[o,a,r.length,l,c]);return{allowClear:d,clearIcon:X.createElement(qu,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},hx=s.createContext(null);function zN(){return s.useContext(hx)}function LN(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=s.useState(!1),n=k(t,2),r=n[0],o=n[1],i=s.useRef(null),a=function(){window.clearTimeout(i.current)};s.useEffect(function(){return a},[]);var l=function(u,d){a(),i.current=window.setTimeout(function(){o(u),d&&d()},e)};return[r,l,a]}function yx(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=s.useRef(null),n=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(o){(o||t.current===null)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function jN(e,t,n,r){var o=s.useRef(null);o.current={open:t,triggerOpen:n,customizedTrigger:r},s.useEffect(function(){function i(a){var l;if(!((l=o.current)!==null&&l!==void 0&&l.customizedTrigger)){var c=a.target;c.shadowRoot&&a.composed&&(c=a.composedPath()[0]||c),o.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(c)&&u!==c})&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",i),function(){return window.removeEventListener("mousedown",i)}},[])}function AN(e){return![te.ESC,te.SHIFT,te.BACKSPACE,te.TAB,te.WIN_KEY,te.ALT,te.META,te.WIN_KEY_RIGHT,te.CTRL,te.SEMICOLON,te.EQUALS,te.CAPS_LOCK,te.CONTEXT_MENU,te.F1,te.F2,te.F3,te.F4,te.F5,te.F6,te.F7,te.F8,te.F9,te.F10,te.F11,te.F12].includes(e)}var DN=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Ei=void 0;function FN(e,t){var n=e.prefixCls,r=e.invalidate,o=e.item,i=e.renderItem,a=e.responsive,l=e.responsiveDisabled,c=e.registerSize,u=e.itemKey,d=e.className,f=e.style,m=e.children,p=e.display,b=e.order,h=e.component,S=h===void 0?"div":h,v=Ze(e,DN),g=a&&!p;function y(R){c(u,R)}s.useEffect(function(){return function(){y(null)}},[]);var C=i&&o!==Ei?i(o):m,$;r||($={opacity:g?0:1,height:g?0:Ei,overflowY:g?"hidden":Ei,order:a?b:Ei,pointerEvents:g?"none":Ei,position:g?"absolute":Ei});var x={};g&&(x["aria-hidden"]=!0);var w=s.createElement(S,ve({className:q(!r&&n,d),style:B(B({},$),f)},x,v,{ref:t}),C);return a&&(w=s.createElement(vr,{onResize:function(O){var I=O.offsetWidth;y(I)},disabled:l},w)),w}var pl=s.forwardRef(FN);pl.displayName="Item";function BN(e){if(typeof MessageChannel>"u")Pt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function HN(){var e=s.useRef(null),t=function(r){e.current||(e.current=[],BN(function(){_o.unstable_batchedUpdates(function(){e.current.forEach(function(o){o()}),e.current=null})})),e.current.push(r)};return t}function Va(e,t){var n=s.useState(t),r=k(n,2),o=r[0],i=r[1],a=Hn(function(l){e(function(){i(l)})});return[o,a]}var nu=X.createContext(null),kN=["component"],VN=["className"],WN=["className"],UN=function(t,n){var r=s.useContext(nu);if(!r){var o=t.component,i=o===void 0?"div":o,a=Ze(t,kN);return s.createElement(i,ve({},a,{ref:n}))}var l=r.className,c=Ze(r,VN),u=t.className,d=Ze(t,WN);return s.createElement(nu.Provider,{value:null},s.createElement(pl,ve({ref:n,className:q(l,u)},c,d)))},bx=s.forwardRef(UN);bx.displayName="RawItem";var GN=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Sx="responsive",Cx="invalidate";function KN(e){return"+ ".concat(e.length," ...")}function qN(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,o=e.data,i=o===void 0?[]:o,a=e.renderItem,l=e.renderRawItem,c=e.itemKey,u=e.itemWidth,d=u===void 0?10:u,f=e.ssr,m=e.style,p=e.className,b=e.maxCount,h=e.renderRest,S=e.renderRawRest,v=e.suffix,g=e.component,y=g===void 0?"div":g,C=e.itemComponent,$=e.onVisibleChange,x=Ze(e,GN),w=f==="full",R=HN(),O=Va(R,null),I=k(O,2),M=I[0],_=I[1],P=M||0,z=Va(R,new Map),A=k(z,2),N=A[0],T=A[1],E=Va(R,0),L=k(E,2),j=L[0],F=L[1],H=Va(R,0),U=k(H,2),G=U[0],K=U[1],ie=Va(R,0),J=k(ie,2),ee=J[0],ae=J[1],Q=s.useState(null),W=k(Q,2),le=W[0],se=W[1],ne=s.useState(null),Y=k(ne,2),pe=Y[0],me=Y[1],re=s.useMemo(function(){return pe===null&&w?Number.MAX_SAFE_INTEGER:pe||0},[pe,M]),Z=s.useState(!1),ue=k(Z,2),ce=ue[0],de=ue[1],fe="".concat(r,"-item"),xe=Math.max(j,G),De=b===Sx,Ee=i.length&&De,qe=b===Cx,Oe=Ee||typeof b=="number"&&i.length>b,ye=s.useMemo(function(){var be=i;return Ee?M===null&&w?be=i:be=i.slice(0,Math.min(i.length,P/d)):typeof b=="number"&&(be=i.slice(0,b)),be},[i,d,M,b,Ee]),$e=s.useMemo(function(){return Ee?i.slice(re+1):i.slice(ye.length)},[i,ye,Ee,re]),Ce=s.useCallback(function(be,we){var Ke;return typeof c=="function"?c(be):(Ke=c&&(be==null?void 0:be[c]))!==null&&Ke!==void 0?Ke:we},[c]),Xe=s.useCallback(a||function(be){return be},[a]);function nt(be,we,Ke){pe===be&&(we===void 0||we===le)||(me(be),Ke||(de(beP){nt(rt-1,be-ge-ee+G);break}}v&&oe(0)+ee>P&&se(null)}},[P,N,G,ee,Ce,ye]);var Re=ce&&!!$e.length,et={};le!==null&&Ee&&(et={position:"absolute",left:le,top:0});var dt={prefixCls:fe,responsive:Ee,component:C,invalidate:qe},Et=l?function(be,we){var Ke=Ce(be,we);return s.createElement(nu.Provider,{key:Ke,value:B(B({},dt),{},{order:we,item:be,itemKey:Ke,registerSize:at,display:we<=re})},l(be,we))}:function(be,we){var Ke=Ce(be,we);return s.createElement(pl,ve({},dt,{order:we,key:Ke,item:be,renderItem:Xe,itemKey:Ke,registerSize:at,display:we<=re}))},Ot,Be={order:Re?re:Number.MAX_SAFE_INTEGER,className:"".concat(fe,"-rest"),registerSize:Ye,display:Re};if(S)S&&(Ot=s.createElement(nu.Provider,{value:B(B({},dt),Be)},S($e)));else{var Le=h||KN;Ot=s.createElement(pl,ve({},dt,Be),typeof Le=="function"?Le($e):Le)}var ut=s.createElement(y,ve({className:q(!qe&&r,p),style:m,ref:t},x),ye.map(Et),Oe?Ot:null,v&&s.createElement(pl,ve({},dt,{responsive:De,responsiveDisabled:!Ee,order:re,className:"".concat(fe,"-suffix"),registerSize:We,display:!0,style:et}),v));return De&&(ut=s.createElement(vr,{onResize:Je,disabled:!Ee},ut)),ut}var Hr=s.forwardRef(qN);Hr.displayName="Overflow";Hr.Item=bx;Hr.RESPONSIVE=Sx;Hr.INVALIDATE=Cx;var XN=function(t,n){var r,o=t.prefixCls,i=t.id,a=t.inputElement,l=t.disabled,c=t.tabIndex,u=t.autoFocus,d=t.autoComplete,f=t.editable,m=t.activeDescendantId,p=t.value,b=t.maxLength,h=t.onKeyDown,S=t.onMouseDown,v=t.onChange,g=t.onPaste,y=t.onCompositionStart,C=t.onCompositionEnd,$=t.open,x=t.attrs,w=a||s.createElement("input",null),R=w,O=R.ref,I=R.props,M=I.onKeyDown,_=I.onChange,P=I.onMouseDown,z=I.onCompositionStart,A=I.onCompositionEnd,N=I.style;return"maxLength"in w.props,w=s.cloneElement(w,B(B(B({type:"search"},I),{},{id:i,ref:lo(n,O),disabled:l,tabIndex:c,autoComplete:d||"off",autoFocus:u,className:q("".concat(o,"-selection-search-input"),(r=w)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":$||!1,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":$?m:void 0},x),{},{value:f?p:"",maxLength:b,readOnly:!f,unselectable:f?null:"on",style:B(B({},N),{},{opacity:f?null:0}),onKeyDown:function(E){h(E),M&&M(E)},onMouseDown:function(E){S(E),P&&P(E)},onChange:function(E){v(E),_&&_(E)},onCompositionStart:function(E){y(E),z&&z(E)},onCompositionEnd:function(E){C(E),A&&A(E)},onPaste:g})),w},xx=s.forwardRef(XN);function wx(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var YN=typeof window<"u"&&window.document&&window.document.documentElement,QN=YN;function ZN(e){return e!=null}function JN(e){return!e&&e!==0}function z0(e){return["string","number"].includes(tt(e))}function $x(e){var t=void 0;return e&&(z0(e.title)?t=e.title.toString():z0(e.label)&&(t=e.label.toString())),t}function e_(e,t){QN?s.useLayoutEffect(e,t):s.useEffect(e,t)}function t_(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var L0=function(t){t.preventDefault(),t.stopPropagation()},n_=function(t){var n=t.id,r=t.prefixCls,o=t.values,i=t.open,a=t.searchValue,l=t.autoClearSearchValue,c=t.inputRef,u=t.placeholder,d=t.disabled,f=t.mode,m=t.showSearch,p=t.autoFocus,b=t.autoComplete,h=t.activeDescendantId,S=t.tabIndex,v=t.removeIcon,g=t.maxTagCount,y=t.maxTagTextLength,C=t.maxTagPlaceholder,$=C===void 0?function(se){return"+ ".concat(se.length," ...")}:C,x=t.tagRender,w=t.onToggleOpen,R=t.onRemove,O=t.onInputChange,I=t.onInputPaste,M=t.onInputKeyDown,_=t.onInputMouseDown,P=t.onInputCompositionStart,z=t.onInputCompositionEnd,A=s.useRef(null),N=s.useState(0),T=k(N,2),E=T[0],L=T[1],j=s.useState(!1),F=k(j,2),H=F[0],U=F[1],G="".concat(r,"-selection"),K=i||f==="multiple"&&l===!1||f==="tags"?a:"",ie=f==="tags"||f==="multiple"&&l===!1||m&&(i||H);e_(function(){L(A.current.scrollWidth)},[K]);var J=function(ne,Y,pe,me,re){return s.createElement("span",{title:$x(ne),className:q("".concat(G,"-item"),D({},"".concat(G,"-item-disabled"),pe))},s.createElement("span",{className:"".concat(G,"-item-content")},Y),me&&s.createElement(qu,{className:"".concat(G,"-item-remove"),onMouseDown:L0,onClick:re,customizeIcon:v},"×"))},ee=function(ne,Y,pe,me,re){var Z=function(ce){L0(ce),w(!i)};return s.createElement("span",{onMouseDown:Z},x({label:Y,value:ne,disabled:pe,closable:me,onClose:re}))},ae=function(ne){var Y=ne.disabled,pe=ne.label,me=ne.value,re=!d&&!Y,Z=pe;if(typeof y=="number"&&(typeof pe=="string"||typeof pe=="number")){var ue=String(Z);ue.length>y&&(Z="".concat(ue.slice(0,y),"..."))}var ce=function(fe){fe&&fe.stopPropagation(),R(ne)};return typeof x=="function"?ee(me,Z,Y,re,ce):J(ne,Z,Y,re,ce)},Q=function(ne){var Y=typeof $=="function"?$(ne):$;return J({title:Y},Y,!1)},W=s.createElement("div",{className:"".concat(G,"-search"),style:{width:E},onFocus:function(){U(!0)},onBlur:function(){U(!1)}},s.createElement(xx,{ref:c,open:i,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:p,autoComplete:b,editable:ie,activeDescendantId:h,value:K,onKeyDown:M,onMouseDown:_,onChange:O,onPaste:I,onCompositionStart:P,onCompositionEnd:z,tabIndex:S,attrs:ci(t,!0)}),s.createElement("span",{ref:A,className:"".concat(G,"-search-mirror"),"aria-hidden":!0},K," ")),le=s.createElement(Hr,{prefixCls:"".concat(G,"-overflow"),data:o,renderItem:ae,renderRest:Q,suffix:W,itemKey:t_,maxCount:g});return s.createElement(s.Fragment,null,le,!o.length&&!K&&s.createElement("span",{className:"".concat(G,"-placeholder")},u))},r_=function(t){var n=t.inputElement,r=t.prefixCls,o=t.id,i=t.inputRef,a=t.disabled,l=t.autoFocus,c=t.autoComplete,u=t.activeDescendantId,d=t.mode,f=t.open,m=t.values,p=t.placeholder,b=t.tabIndex,h=t.showSearch,S=t.searchValue,v=t.activeValue,g=t.maxLength,y=t.onInputKeyDown,C=t.onInputMouseDown,$=t.onInputChange,x=t.onInputPaste,w=t.onInputCompositionStart,R=t.onInputCompositionEnd,O=t.title,I=s.useState(!1),M=k(I,2),_=M[0],P=M[1],z=d==="combobox",A=z||h,N=m[0],T=S||"";z&&v&&!_&&(T=v),s.useEffect(function(){z&&P(!1)},[z,v]);var E=d!=="combobox"&&!f&&!h?!1:!!T,L=O===void 0?$x(N):O,j=s.useMemo(function(){return N?null:s.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:E?{visibility:"hidden"}:void 0},p)},[N,E,p,r]);return s.createElement(s.Fragment,null,s.createElement("span",{className:"".concat(r,"-selection-search")},s.createElement(xx,{ref:i,prefixCls:r,id:o,open:f,inputElement:n,disabled:a,autoFocus:l,autoComplete:c,editable:A,activeDescendantId:u,value:T,onKeyDown:y,onMouseDown:C,onChange:function(H){P(!0),$(H)},onPaste:x,onCompositionStart:w,onCompositionEnd:R,tabIndex:b,attrs:ci(t,!0),maxLength:z?g:void 0})),!z&&N?s.createElement("span",{className:"".concat(r,"-selection-item"),title:L,style:E?{visibility:"hidden"}:void 0},N.label):null,j)},o_=function(t,n){var r=s.useRef(null),o=s.useRef(!1),i=t.prefixCls,a=t.open,l=t.mode,c=t.showSearch,u=t.tokenWithEnter,d=t.autoClearSearchValue,f=t.onSearch,m=t.onSearchSubmit,p=t.onToggleOpen,b=t.onInputKeyDown,h=t.domRef;s.useImperativeHandle(n,function(){return{focus:function(T){r.current.focus(T)},blur:function(){r.current.blur()}}});var S=yx(0),v=k(S,2),g=v[0],y=v[1],C=function(T){var E=T.which;(E===te.UP||E===te.DOWN)&&T.preventDefault(),b&&b(T),E===te.ENTER&&l==="tags"&&!o.current&&!a&&(m==null||m(T.target.value)),AN(E)&&p(!0)},$=function(){y(!0)},x=s.useRef(null),w=function(T){f(T,!0,o.current)!==!1&&p(!0)},R=function(){o.current=!0},O=function(T){o.current=!1,l!=="combobox"&&w(T.target.value)},I=function(T){var E=T.target.value;if(u&&x.current&&/[\r\n]/.test(x.current)){var L=x.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");E=E.replace(L,x.current)}x.current=null,w(E)},M=function(T){var E=T.clipboardData,L=E==null?void 0:E.getData("text");x.current=L||""},_=function(T){var E=T.target;if(E!==r.current){var L=document.body.style.msTouchAction!==void 0;L?setTimeout(function(){r.current.focus()}):r.current.focus()}},P=function(T){var E=g();T.target!==r.current&&!E&&l!=="combobox"&&T.preventDefault(),(l!=="combobox"&&(!c||!E)||!a)&&(a&&d!==!1&&f("",!0,!1),p())},z={inputRef:r,onInputKeyDown:C,onInputMouseDown:$,onInputChange:I,onInputPaste:M,onInputCompositionStart:R,onInputCompositionEnd:O},A=l==="multiple"||l==="tags"?s.createElement(n_,ve({},t,z)):s.createElement(r_,ve({},t,z));return s.createElement("div",{ref:h,className:"".concat(i,"-selector"),onClick:_,onMouseDown:P},A)},i_=s.forwardRef(o_);function a_(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,l=i.content,c=o.x,u=c===void 0?0:c,d=o.y,f=d===void 0?0:d,m=s.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(n.autoArrow!==!1){var b=n.points[0],h=n.points[1],S=b[0],v=b[1],g=h[0],y=h[1];S===g||!["t","b"].includes(S)?p.top=f:S==="t"?p.top=0:p.bottom=0,v===y||!["l","r"].includes(v)?p.left=u:v==="l"?p.left=0:p.right=0}return s.createElement("div",{ref:m,className:q("".concat(t,"-arrow"),a),style:p},l)}function l_(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?s.createElement(kr,ve({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(a){var l=a.className;return s.createElement("div",{style:{zIndex:r},className:q("".concat(t,"-mask"),l)})}):null}var s_=s.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),c_=s.forwardRef(function(e,t){var n=e.popup,r=e.className,o=e.prefixCls,i=e.style,a=e.target,l=e.onVisibleChanged,c=e.open,u=e.keepDom,d=e.fresh,f=e.onClick,m=e.mask,p=e.arrow,b=e.arrowPos,h=e.align,S=e.motion,v=e.maskMotion,g=e.forceRender,y=e.getPopupContainer,C=e.autoDestroy,$=e.portal,x=e.zIndex,w=e.onMouseEnter,R=e.onMouseLeave,O=e.onPointerEnter,I=e.ready,M=e.offsetX,_=e.offsetY,P=e.offsetR,z=e.offsetB,A=e.onAlign,N=e.onPrepare,T=e.stretch,E=e.targetWidth,L=e.targetHeight,j=typeof n=="function"?n():n,F=c||u,H=(y==null?void 0:y.length)>0,U=s.useState(!y||!H),G=k(U,2),K=G[0],ie=G[1];if(It(function(){!K&&H&&a&&ie(!0)},[K,H,a]),!K)return null;var J="auto",ee={left:"-1000vw",top:"-1000vh",right:J,bottom:J};if(I||!c){var ae,Q=h.points,W=h.dynamicInset||((ae=h._experimental)===null||ae===void 0?void 0:ae.dynamicInset),le=W&&Q[0][1]==="r",se=W&&Q[0][0]==="b";le?(ee.right=P,ee.left=J):(ee.left=M,ee.right=J),se?(ee.bottom=z,ee.top=J):(ee.top=_,ee.bottom=J)}var ne={};return T&&(T.includes("height")&&L?ne.height=L:T.includes("minHeight")&&L&&(ne.minHeight=L),T.includes("width")&&E?ne.width=E:T.includes("minWidth")&&E&&(ne.minWidth=E)),c||(ne.pointerEvents="none"),s.createElement($,{open:g||F,getContainer:y&&function(){return y(a)},autoDestroy:C},s.createElement(l_,{prefixCls:o,open:c,zIndex:x,mask:m,motion:v}),s.createElement(vr,{onResize:A,disabled:!c},function(Y){return s.createElement(kr,ve({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:g,leavedClassName:"".concat(o,"-hidden")},S,{onAppearPrepare:N,onEnterPrepare:N,visible:c,onVisibleChanged:function(me){var re;S==null||(re=S.onVisibleChanged)===null||re===void 0||re.call(S,me),l(me)}}),function(pe,me){var re=pe.className,Z=pe.style,ue=q(o,re,r);return s.createElement("div",{ref:lo(Y,t,me),className:ue,style:B(B(B(B({"--arrow-x":"".concat(b.x||0,"px"),"--arrow-y":"".concat(b.y||0,"px")},ee),ne),Z),{},{boxSizing:"border-box",zIndex:x},i),onMouseEnter:w,onMouseLeave:R,onPointerEnter:O,onClick:f},p&&s.createElement(a_,{prefixCls:o,arrow:p,arrowPos:b,align:h}),s.createElement(s_,{cache:!c&&!d},j))})}))}),u_=s.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=pi(n),i=s.useCallback(function(l){gg(t,r?r(l):l)},[r]),a=gi(i,n.ref);return o?s.cloneElement(n,{ref:a}):n}),j0=s.createContext(null);function A0(e){return e?Array.isArray(e)?e:[e]:[]}function d_(e,t,n,r){return s.useMemo(function(){var o=A0(n??t),i=A0(r??t),a=new Set(o),l=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[a,l]},[e,t,n,r])}function f_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function m_(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Wa(e){return Bl(parseFloat(e),0)}function F0(e,t){var n=B({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var o=ss(r).getComputedStyle(r),i=o.overflow,a=o.overflowClipMargin,l=o.borderTopWidth,c=o.borderBottomWidth,u=o.borderLeftWidth,d=o.borderRightWidth,f=r.getBoundingClientRect(),m=r.offsetHeight,p=r.clientHeight,b=r.offsetWidth,h=r.clientWidth,S=Wa(l),v=Wa(c),g=Wa(u),y=Wa(d),C=Bl(Math.round(f.width/b*1e3)/1e3),$=Bl(Math.round(f.height/m*1e3)/1e3),x=(b-h-g-y)*C,w=(m-p-S-v)*$,R=S*$,O=v*$,I=g*C,M=y*C,_=0,P=0;if(i==="clip"){var z=Wa(a);_=z*C,P=z*$}var A=f.x+I-_,N=f.y+R-P,T=A+f.width+2*_-I-M-x,E=N+f.height+2*P-R-O-w;n.left=Math.max(n.left,A),n.top=Math.max(n.top,N),n.right=Math.min(n.right,T),n.bottom=Math.min(n.bottom,E)}}),n}function B0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function H0(e,t){var n=t||[],r=k(n,2),o=r[0],i=r[1];return[B0(e.width,o),B0(e.height,i)]}function k0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function Oi(e,t){var n=t[0],r=t[1],o,i;return n==="t"?i=e.y:n==="b"?i=e.y+e.height:i=e.y+e.height/2,r==="l"?o=e.x:r==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:i}}function fo(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,o){return o===t?n[r]||"c":r}).join("")}function v_(e,t,n,r,o,i,a){var l=s.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),c=k(l,2),u=c[0],d=c[1],f=s.useRef(0),m=s.useMemo(function(){return t?rv(t):[]},[t]),p=s.useRef({}),b=function(){p.current={}};e||b();var h=Hn(function(){if(t&&n&&e){let fn=function(ms,Vr){var Fo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue,Si=j.x+ms,_a=j.y+Vr,cd=Si+ae,ud=_a+ee,dd=Math.max(Si,Fo.left),fd=Math.max(_a,Fo.top),Ae=Math.min(cd,Fo.right),Qe=Math.min(ud,Fo.bottom);return Math.max(0,(Ae-dd)*(Qe-fd))},Na=function(){Ct=j.y+Le,je=Ct+ee,Ie=j.x+Be,lt=Ie+ae};var up=fn,dp=Na,g,y,C=t,$=C.ownerDocument,x=ss(C),w=x.getComputedStyle(C),R=w.width,O=w.height,I=w.position,M=C.style.left,_=C.style.top,P=C.style.right,z=C.style.bottom,A=C.style.overflow,N=B(B({},o[r]),i),T=$.createElement("div");(g=C.parentElement)===null||g===void 0||g.appendChild(T),T.style.left="".concat(C.offsetLeft,"px"),T.style.top="".concat(C.offsetTop,"px"),T.style.position=I,T.style.height="".concat(C.offsetHeight,"px"),T.style.width="".concat(C.offsetWidth,"px"),C.style.left="0",C.style.top="0",C.style.right="auto",C.style.bottom="auto",C.style.overflow="hidden";var E;if(Array.isArray(n))E={x:n[0],y:n[1],width:0,height:0};else{var L=n.getBoundingClientRect();E={x:L.x,y:L.y,width:L.width,height:L.height}}var j=C.getBoundingClientRect(),F=$.documentElement,H=F.clientWidth,U=F.clientHeight,G=F.scrollWidth,K=F.scrollHeight,ie=F.scrollTop,J=F.scrollLeft,ee=j.height,ae=j.width,Q=E.height,W=E.width,le={left:0,top:0,right:H,bottom:U},se={left:-J,top:-ie,right:G-J,bottom:K-ie},ne=N.htmlRegion,Y="visible",pe="visibleFirst";ne!=="scroll"&&ne!==pe&&(ne=Y);var me=ne===pe,re=F0(se,m),Z=F0(le,m),ue=ne===Y?Z:re,ce=me?Z:ue;C.style.left="auto",C.style.top="auto",C.style.right="0",C.style.bottom="0";var de=C.getBoundingClientRect();C.style.left=M,C.style.top=_,C.style.right=P,C.style.bottom=z,C.style.overflow=A,(y=C.parentElement)===null||y===void 0||y.removeChild(T);var fe=Bl(Math.round(ae/parseFloat(R)*1e3)/1e3),xe=Bl(Math.round(ee/parseFloat(O)*1e3)/1e3);if(fe===0||xe===0||Uc(n)&&!zg(n))return;var De=N.offset,Ee=N.targetOffset,qe=H0(j,De),Oe=k(qe,2),ye=Oe[0],$e=Oe[1],Ce=H0(E,Ee),Xe=k(Ce,2),nt=Xe[0],Je=Xe[1];E.x-=nt,E.y-=Je;var at=N.points||[],Ye=k(at,2),We=Ye[0],oe=Ye[1],Re=k0(oe),et=k0(We),dt=Oi(E,Re),Et=Oi(j,et),Ot=B({},N),Be=dt.x-Et.x+ye,Le=dt.y-Et.y+$e,ut=fn(Be,Le),be=fn(Be,Le,Z),we=Oi(E,["t","l"]),Ke=Oi(j,["t","l"]),rt=Oi(E,["b","r"]),ge=Oi(j,["b","r"]),Se=N.overflow||{},Me=Se.adjustX,Fe=Se.adjustY,Ge=Se.shiftX,Ue=Se.shiftY,Rt=function(Vr){return typeof Vr=="boolean"?Vr:Vr>=0},Ct,je,Ie,lt;Na();var Pe=Rt(Fe),Ne=et[0]===Re[0];if(Pe&&et[0]==="t"&&(je>ce.bottom||p.current.bt)){var Ve=Le;Ne?Ve-=ee-Q:Ve=we.y-ge.y-$e;var ot=fn(Be,Ve),wt=fn(Be,Ve,Z);ot>ut||ot===ut&&(!me||wt>=be)?(p.current.bt=!0,Le=Ve,$e=-$e,Ot.points=[fo(et,0),fo(Re,0)]):p.current.bt=!1}if(Pe&&et[0]==="b"&&(Ctut||$t===ut&&(!me||cn>=be)?(p.current.tb=!0,Le=xt,$e=-$e,Ot.points=[fo(et,0),fo(Re,0)]):p.current.tb=!1}var Cn=Rt(Me),un=et[1]===Re[1];if(Cn&&et[1]==="l"&&(lt>ce.right||p.current.rl)){var Ht=Be;un?Ht-=ae-W:Ht=we.x-ge.x-ye;var qn=fn(Ht,Le),Xn=fn(Ht,Le,Z);qn>ut||qn===ut&&(!me||Xn>=be)?(p.current.rl=!0,Be=Ht,ye=-ye,Ot.points=[fo(et,1),fo(Re,1)]):p.current.rl=!1}if(Cn&&et[1]==="r"&&(Ieut||st===ut&&(!me||pt>=be)?(p.current.lr=!0,Be=He,ye=-ye,Ot.points=[fo(et,1),fo(Re,1)]):p.current.lr=!1}Na();var kt=Ge===!0?0:Ge;typeof kt=="number"&&(IeZ.right&&(Be-=lt-Z.right-ye,E.x>Z.right-kt&&(Be+=E.x-Z.right+kt)));var gn=Ue===!0?0:Ue;typeof gn=="number"&&(CtZ.bottom&&(Le-=je-Z.bottom-$e,E.y>Z.bottom-gn&&(Le+=E.y-Z.bottom+gn)));var _r=j.x+Be,zr=_r+ae,Yn=j.y+Le,so=Yn+ee,ht=E.x,ct=ht+W,_e=E.y,ke=_e+Q,vt=Math.max(_r,ht),Ft=Math.min(zr,ct),_t=(vt+Ft)/2,Yt=_t-_r,pn=Math.max(Yn,_e),xn=Math.min(so,ke),dn=(pn+xn)/2,Fn=dn-Yn;a==null||a(t,Ot);var Tn=de.right-j.x-(Be+j.width),co=de.bottom-j.y-(Le+j.height);d({ready:!0,offsetX:Be/fe,offsetY:Le/xe,offsetR:Tn/fe,offsetB:co/xe,arrowX:Yt/fe,arrowY:Fn/xe,scaleX:fe,scaleY:xe,align:Ot})}}),S=function(){f.current+=1;var y=f.current;Promise.resolve().then(function(){f.current===y&&h()})},v=function(){d(function(y){return B(B({},y),{},{ready:!1})})};return It(v,[r]),It(function(){e||v()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,S]}function g_(e,t,n,r,o){It(function(){if(e&&t&&n){let m=function(){r(),o()};var f=m,i=t,a=n,l=rv(i),c=rv(a),u=ss(a),d=new Set([u].concat(Te(l),Te(c)));return d.forEach(function(p){p.addEventListener("scroll",m,{passive:!0})}),u.addEventListener("resize",m,{passive:!0}),r(),function(){d.forEach(function(p){p.removeEventListener("scroll",m),u.removeEventListener("resize",m)})}}},[e,t,n])}function p_(e,t,n,r,o,i,a,l){var c=s.useRef(e);c.current=e,s.useEffect(function(){if(t&&r&&(!o||i)){var u=function(p){var b=p.target;c.current&&!a(b)&&l(!1)},d=ss(r);d.addEventListener("mousedown",u,!0),d.addEventListener("contextmenu",u,!0);var f=Qc(n);return f&&(f.addEventListener("mousedown",u,!0),f.addEventListener("contextmenu",u,!0)),function(){d.removeEventListener("mousedown",u,!0),d.removeEventListener("contextmenu",u,!0),f&&(f.removeEventListener("mousedown",u,!0),f.removeEventListener("contextmenu",u,!0))}}},[t,n,r,o,i])}var h_=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function y_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gu,t=s.forwardRef(function(n,r){var o=n.prefixCls,i=o===void 0?"rc-trigger-popup":o,a=n.children,l=n.action,c=l===void 0?"hover":l,u=n.showAction,d=n.hideAction,f=n.popupVisible,m=n.defaultPopupVisible,p=n.onPopupVisibleChange,b=n.afterPopupVisibleChange,h=n.mouseEnterDelay,S=n.mouseLeaveDelay,v=S===void 0?.1:S,g=n.focusDelay,y=n.blurDelay,C=n.mask,$=n.maskClosable,x=$===void 0?!0:$,w=n.getPopupContainer,R=n.forceRender,O=n.autoDestroy,I=n.destroyPopupOnHide,M=n.popup,_=n.popupClassName,P=n.popupStyle,z=n.popupPlacement,A=n.builtinPlacements,N=A===void 0?{}:A,T=n.popupAlign,E=n.zIndex,L=n.stretch,j=n.getPopupClassNameFromAlign,F=n.fresh,H=n.alignPoint,U=n.onPopupClick,G=n.onPopupAlign,K=n.arrow,ie=n.popupMotion,J=n.maskMotion,ee=n.popupTransitionName,ae=n.popupAnimation,Q=n.maskTransitionName,W=n.maskAnimation,le=n.className,se=n.getTriggerDOMNode,ne=Ze(n,h_),Y=O||I||!1,pe=s.useState(!1),me=k(pe,2),re=me[0],Z=me[1];It(function(){Z(Hg())},[]);var ue=s.useRef({}),ce=s.useContext(j0),de=s.useMemo(function(){return{registerSubPopup:function(Qe,Kt){ue.current[Qe]=Kt,ce==null||ce.registerSubPopup(Qe,Kt)}}},[ce]),fe=ex(),xe=s.useState(null),De=k(xe,2),Ee=De[0],qe=De[1],Oe=Hn(function(Ae){Uc(Ae)&&Ee!==Ae&&qe(Ae),ce==null||ce.registerSubPopup(fe,Ae)}),ye=s.useState(null),$e=k(ye,2),Ce=$e[0],Xe=$e[1],nt=s.useRef(null),Je=Hn(function(Ae){Uc(Ae)&&Ce!==Ae&&(Xe(Ae),nt.current=Ae)}),at=s.Children.only(a),Ye=(at==null?void 0:at.props)||{},We={},oe=Hn(function(Ae){var Qe,Kt,tn=Ce;return(tn==null?void 0:tn.contains(Ae))||((Qe=Qc(tn))===null||Qe===void 0?void 0:Qe.host)===Ae||Ae===tn||(Ee==null?void 0:Ee.contains(Ae))||((Kt=Qc(Ee))===null||Kt===void 0?void 0:Kt.host)===Ae||Ae===Ee||Object.values(ue.current).some(function(qt){return(qt==null?void 0:qt.contains(Ae))||Ae===qt})}),Re=D0(i,ie,ae,ee),et=D0(i,J,W,Q),dt=s.useState(m||!1),Et=k(dt,2),Ot=Et[0],Be=Et[1],Le=f??Ot,ut=Hn(function(Ae){f===void 0&&Be(Ae)});It(function(){Be(f||!1)},[f]);var be=s.useRef(Le);be.current=Le;var we=s.useRef([]);we.current=[];var Ke=Hn(function(Ae){var Qe;ut(Ae),((Qe=we.current[we.current.length-1])!==null&&Qe!==void 0?Qe:Le)!==Ae&&(we.current.push(Ae),p==null||p(Ae))}),rt=s.useRef(),ge=function(){clearTimeout(rt.current)},Se=function(Qe){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ge(),Kt===0?Ke(Qe):rt.current=setTimeout(function(){Ke(Qe)},Kt*1e3)};s.useEffect(function(){return ge},[]);var Me=s.useState(!1),Fe=k(Me,2),Ge=Fe[0],Ue=Fe[1];It(function(Ae){(!Ae||Le)&&Ue(!0)},[Le]);var Rt=s.useState(null),Ct=k(Rt,2),je=Ct[0],Ie=Ct[1],lt=s.useState([0,0]),Pe=k(lt,2),Ne=Pe[0],Ve=Pe[1],ot=function(Qe){Ve([Qe.clientX,Qe.clientY])},wt=v_(Le,Ee,H?Ne:Ce,z,N,T,G),xt=k(wt,11),$t=xt[0],cn=xt[1],Cn=xt[2],un=xt[3],Ht=xt[4],qn=xt[5],Xn=xt[6],He=xt[7],st=xt[8],pt=xt[9],kt=xt[10],gn=d_(re,c,u,d),_r=k(gn,2),zr=_r[0],Yn=_r[1],so=zr.has("click"),ht=Yn.has("click")||Yn.has("contextMenu"),ct=Hn(function(){Ge||kt()}),_e=function(){be.current&&H&&ht&&Se(!1)};g_(Le,Ce,Ee,ct,_e),It(function(){ct()},[Ne,z]),It(function(){Le&&!(N!=null&&N[z])&&ct()},[JSON.stringify(T)]);var ke=s.useMemo(function(){var Ae=m_(N,i,pt,H);return q(Ae,j==null?void 0:j(pt))},[pt,j,N,i,H]);s.useImperativeHandle(r,function(){return{nativeElement:nt.current,forceAlign:ct}});var vt=s.useState(0),Ft=k(vt,2),_t=Ft[0],Yt=Ft[1],pn=s.useState(0),xn=k(pn,2),dn=xn[0],Fn=xn[1],Tn=function(){if(L&&Ce){var Qe=Ce.getBoundingClientRect();Yt(Qe.width),Fn(Qe.height)}},co=function(){Tn(),ct()},up=function(Qe){Ue(!1),kt(),b==null||b(Qe)},dp=function(){return new Promise(function(Qe){Tn(),Ie(function(){return Qe})})};It(function(){je&&(kt(),je(),Ie(null))},[je]);function fn(Ae,Qe,Kt,tn){We[Ae]=function(qt){var vs;tn==null||tn(qt),Se(Qe,Kt);for(var md=arguments.length,fp=new Array(md>1?md-1:0),gs=1;gs1?Kt-1:0),qt=1;qt1?Kt-1:0),qt=1;qt1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=Ex(n,!1),a=i.label,l=i.value,c=i.options,u=i.groupLabel;function d(f,m){Array.isArray(f)&&f.forEach(function(p){if(m||!(c in p)){var b=p[l];o.push({key:V0(p,o.length),groupOption:m,data:p,label:p[a],value:b})}else{var h=p[u];h===void 0&&r&&(h=p.label),o.push({key:V0(p,o.length),group:!0,data:p,label:h}),d(p[c],!0)}})}return d(e,!1),o}function iv(e){var t=B({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Rn(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var $_=function(t,n,r){if(!n||!n.length)return null;var o=!1,i=function l(c,u){var d=XS(u),f=d[0],m=d.slice(1);if(!f)return[c];var p=c.split(f);return o=o||p.length>1,p.reduce(function(b,h){return[].concat(Te(b),Te(l(h,m)))},[]).filter(Boolean)},a=i(t,n);return o?typeof r<"u"?a.slice(0,r):a:null},kg=s.createContext(null),E_=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],O_=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],av=function(t){return t==="tags"||t==="multiple"},R_=s.forwardRef(function(e,t){var n,r=e.id,o=e.prefixCls,i=e.className,a=e.showSearch,l=e.tagRender,c=e.direction,u=e.omitDomProps,d=e.displayValues,f=e.onDisplayValuesChange,m=e.emptyOptions,p=e.notFoundContent,b=p===void 0?"Not Found":p,h=e.onClear,S=e.mode,v=e.disabled,g=e.loading,y=e.getInputElement,C=e.getRawInputElement,$=e.open,x=e.defaultOpen,w=e.onDropdownVisibleChange,R=e.activeValue,O=e.onActiveValueChange,I=e.activeDescendantId,M=e.searchValue,_=e.autoClearSearchValue,P=e.onSearch,z=e.onSearchSplit,A=e.tokenSeparators,N=e.allowClear,T=e.suffixIcon,E=e.clearIcon,L=e.OptionList,j=e.animation,F=e.transitionName,H=e.dropdownStyle,U=e.dropdownClassName,G=e.dropdownMatchSelectWidth,K=e.dropdownRender,ie=e.dropdownAlign,J=e.placement,ee=e.builtinPlacements,ae=e.getPopupContainer,Q=e.showAction,W=Q===void 0?[]:Q,le=e.onFocus,se=e.onBlur,ne=e.onKeyUp,Y=e.onKeyDown,pe=e.onMouseDown,me=Ze(e,E_),re=av(S),Z=(a!==void 0?a:re)||S==="combobox",ue=B({},me);O_.forEach(function(_e){delete ue[_e]}),u==null||u.forEach(function(_e){delete ue[_e]});var ce=s.useState(!1),de=k(ce,2),fe=de[0],xe=de[1];s.useEffect(function(){xe(Hg())},[]);var De=s.useRef(null),Ee=s.useRef(null),qe=s.useRef(null),Oe=s.useRef(null),ye=s.useRef(null),$e=s.useRef(!1),Ce=LN(),Xe=k(Ce,3),nt=Xe[0],Je=Xe[1],at=Xe[2];s.useImperativeHandle(t,function(){var _e,ke;return{focus:(_e=Oe.current)===null||_e===void 0?void 0:_e.focus,blur:(ke=Oe.current)===null||ke===void 0?void 0:ke.blur,scrollTo:function(Ft){var _t;return(_t=ye.current)===null||_t===void 0?void 0:_t.scrollTo(Ft)}}});var Ye=s.useMemo(function(){var _e;if(S!=="combobox")return M;var ke=(_e=d[0])===null||_e===void 0?void 0:_e.value;return typeof ke=="string"||typeof ke=="number"?String(ke):""},[M,S,d]),We=S==="combobox"&&typeof y=="function"&&y()||null,oe=typeof C=="function"&&C(),Re=gi(Ee,oe==null||(n=oe.props)===null||n===void 0?void 0:n.ref),et=s.useState(!1),dt=k(et,2),Et=dt[0],Ot=dt[1];It(function(){Ot(!0)},[]);var Be=on(!1,{defaultValue:x,value:$}),Le=k(Be,2),ut=Le[0],be=Le[1],we=Et?ut:!1,Ke=!b&&m;(v||Ke&&we&&S==="combobox")&&(we=!1);var rt=Ke?!1:we,ge=s.useCallback(function(_e){var ke=_e!==void 0?_e:!we;v||(be(ke),we!==ke&&(w==null||w(ke)))},[v,we,be,w]),Se=s.useMemo(function(){return(A||[]).some(function(_e){return[` -`,`\r -`].includes(_e)})},[A]),Me=s.useContext(kg)||{},Fe=Me.maxCount,Ge=Me.rawValues,Ue=function(ke,vt,Ft){if(!(re&&ov(Fe)&&(Ge==null?void 0:Ge.size)>=Fe)){var _t=!0,Yt=ke;O==null||O(null);var pn=$_(ke,A,ov(Fe)?Fe-Ge.size:void 0),xn=Ft?null:pn;return S!=="combobox"&&xn&&(Yt="",z==null||z(xn),ge(!1),_t=!1),P&&Ye!==Yt&&P(Yt,{source:vt?"typing":"effect"}),_t}},Rt=function(ke){!ke||!ke.trim()||P(ke,{source:"submit"})};s.useEffect(function(){!we&&!re&&S!=="combobox"&&Ue("",!1,!1)},[we]),s.useEffect(function(){ut&&v&&be(!1),v&&!$e.current&&Je(!1)},[v]);var Ct=yx(),je=k(Ct,2),Ie=je[0],lt=je[1],Pe=function(ke){var vt=Ie(),Ft=ke.which;if(Ft===te.ENTER&&(S!=="combobox"&&ke.preventDefault(),we||ge(!0)),lt(!!Ye),Ft===te.BACKSPACE&&!vt&&re&&!Ye&&d.length){for(var _t=Te(d),Yt=null,pn=_t.length-1;pn>=0;pn-=1){var xn=_t[pn];if(!xn.disabled){_t.splice(pn,1),Yt=xn;break}}Yt&&f(_t,{type:"remove",values:[Yt]})}for(var dn=arguments.length,Fn=new Array(dn>1?dn-1:0),Tn=1;Tn1?vt-1:0),_t=1;_t1?pn-1:0),dn=1;dn0&&arguments[0]!==void 0?arguments[0]:!1;d();var b=function(){l.current.forEach(function(S,v){if(S&&S.offsetParent){var g=ul(S),y=g.offsetHeight;c.current.get(v)!==y&&c.current.set(v,g.offsetHeight)}}),a(function(S){return S+1})};p?b():u.current=Pt(b)}function m(p,b){var h=e(p),S=l.current.get(h);b?(l.current.set(h,b),f()):l.current.delete(h),!S!=!b&&(b?t==null||t(p):n==null||n(p))}return s.useEffect(function(){return d},[]),[m,f,c.current,i]}var N_=10;function __(e,t,n,r,o,i,a,l){var c=s.useRef(),u=s.useState(null),d=k(u,2),f=d[0],m=d[1];return It(function(){if(f&&f.times=0;z-=1){var A=o(t[z]),N=n.get(A);if(N===void 0){g=!0;break}if(P-=N,P<=0)break}switch($){case"top":C=w-S;break;case"bottom":C=R-v+S;break;default:{var T=e.current.scrollTop,E=T+v;wE&&(y="bottom")}}C!==null&&a(C),C!==f.lastTop&&(g=!0)}g&&m(B(B({},f),{},{times:f.times+1,targetAlign:y,lastTop:C}))}},[f,e.current]),function(p){if(p==null){l();return}if(Pt.cancel(c.current),typeof p=="number")a(p);else if(p&&tt(p)==="object"){var b,h=p.align;"index"in p?b=p.index:b=t.findIndex(function(g){return o(g)===p.key});var S=p.offset,v=S===void 0?0:S;m({times:0,index:b,offset:v,originAlign:h})}}}function z_(e,t,n){var r=e.length,o=t.length,i,a;if(r===0&&o===0)return null;r"u"?"undefined":tt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const Rx=function(e,t){var n=s.useRef(!1),r=s.useRef(null);function o(){clearTimeout(r.current),n.current=!0,r.current=setTimeout(function(){n.current=!1},50)}var i=s.useRef({top:e,bottom:t});return i.current.top=e,i.current.bottom=t,function(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,c=a<0&&i.current.top||a>0&&i.current.bottom;return l&&c?(clearTimeout(r.current),n.current=!1):(!c||n.current)&&o(),!n.current&&c}};function j_(e,t,n,r,o){var i=s.useRef(0),a=s.useRef(null),l=s.useRef(null),c=s.useRef(!1),u=Rx(t,n);function d(S,v){Pt.cancel(a.current),i.current+=v,l.current=v,!u(v)&&(G0||S.preventDefault(),a.current=Pt(function(){var g=c.current?10:1;o(i.current*g),i.current=0}))}function f(S,v){o(v,!0),G0||S.preventDefault()}var m=s.useRef(null),p=s.useRef(null);function b(S){if(e){Pt.cancel(p.current),p.current=Pt(function(){m.current=null},2);var v=S.deltaX,g=S.deltaY,y=S.shiftKey,C=v,$=g;(m.current==="sx"||!m.current&&y&&g&&!v)&&(C=g,$=0,m.current="sx");var x=Math.abs(C),w=Math.abs($);m.current===null&&(m.current=r&&x>w?"x":"y"),m.current==="y"?d(S,$):f(S,C)}}function h(S){e&&(c.current=S.detail===l.current)}return[b,h]}var A_=14/15;function D_(e,t,n){var r=s.useRef(!1),o=s.useRef(0),i=s.useRef(null),a=s.useRef(null),l,c=function(m){if(r.current){var p=Math.ceil(m.touches[0].pageY),b=o.current-p;o.current=p,n(b)&&m.preventDefault(),clearInterval(a.current),a.current=setInterval(function(){b*=A_,(!n(b,!0)||Math.abs(b)<=.1)&&clearInterval(a.current)},16)}},u=function(){r.current=!1,l()},d=function(m){l(),m.touches.length===1&&!r.current&&(r.current=!0,o.current=Math.ceil(m.touches[0].pageY),i.current=m.target,i.current.addEventListener("touchmove",c),i.current.addEventListener("touchend",u))};l=function(){i.current&&(i.current.removeEventListener("touchmove",c),i.current.removeEventListener("touchend",u))},It(function(){return e&&t.current.addEventListener("touchstart",d),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",d),l(),clearInterval(a.current)}},[e])}var F_=20;function K0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,F_),Math.floor(n)}function B_(e,t,n,r){var o=s.useMemo(function(){return[new Map,[]]},[e,n.id,r]),i=k(o,2),a=i[0],l=i[1],c=function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,m=a.get(d),p=a.get(f);if(m===void 0||p===void 0)for(var b=e.length,h=l.length;hi||!!h),M=b==="rtl",_=q(r,D({},"".concat(r,"-rtl"),M),o),P=d||k_,z=s.useRef(),A=s.useRef(),N=s.useState(0),T=k(N,2),E=T[0],L=T[1],j=s.useState(0),F=k(j,2),H=F[0],U=F[1],G=s.useState(!1),K=k(G,2),ie=K[0],J=K[1],ee=function(){J(!0)},ae=function(){J(!1)},Q=s.useCallback(function(Pe){return typeof m=="function"?m(Pe):Pe==null?void 0:Pe[m]},[m]),W={getKey:Q};function le(Pe){L(function(Ne){var Ve;typeof Pe=="function"?Ve=Pe(Ne):Ve=Pe;var ot=et(Ve);return z.current.scrollTop=ot,ot})}var se=s.useRef({start:0,end:P.length}),ne=s.useRef(),Y=L_(P,Q),pe=k(Y,1),me=pe[0];ne.current=me;var re=T_(Q,null,null),Z=k(re,4),ue=Z[0],ce=Z[1],de=Z[2],fe=Z[3],xe=s.useMemo(function(){if(!O)return{scrollHeight:void 0,start:0,end:P.length-1,offset:void 0};if(!I){var Pe;return{scrollHeight:((Pe=A.current)===null||Pe===void 0?void 0:Pe.offsetHeight)||0,start:0,end:P.length-1,offset:void 0}}for(var Ne=0,Ve,ot,wt,xt=P.length,$t=0;$t=E&&Ve===void 0&&(Ve=$t,ot=Ne),Ht>E+i&&wt===void 0&&(wt=$t),Ne=Ht}return Ve===void 0&&(Ve=0,ot=0,wt=Math.ceil(i/a)),wt===void 0&&(wt=P.length-1),wt=Math.min(wt+1,P.length-1),{scrollHeight:Ne,start:Ve,end:wt,offset:ot}},[I,O,E,P,fe,i]),De=xe.scrollHeight,Ee=xe.start,qe=xe.end,Oe=xe.offset;se.current.start=Ee,se.current.end=qe;var ye=s.useState({width:0,height:i}),$e=k(ye,2),Ce=$e[0],Xe=$e[1],nt=function(Ne){Xe({width:Ne.width||Ne.offsetWidth,height:Ne.height||Ne.offsetHeight})},Je=s.useRef(),at=s.useRef(),Ye=s.useMemo(function(){return K0(Ce.width,h)},[Ce.width,h]),We=s.useMemo(function(){return K0(Ce.height,De)},[Ce.height,De]),oe=De-i,Re=s.useRef(oe);Re.current=oe;function et(Pe){var Ne=Pe;return Number.isNaN(Re.current)||(Ne=Math.min(Ne,Re.current)),Ne=Math.max(Ne,0),Ne}var dt=E<=0,Et=E>=oe,Ot=Rx(dt,Et),Be=function(){return{x:M?-H:H,y:E}},Le=s.useRef(Be()),ut=Hn(function(){if(y){var Pe=Be();(Le.current.x!==Pe.x||Le.current.y!==Pe.y)&&(y(Pe),Le.current=Pe)}});function be(Pe,Ne){var Ve=Pe;Ne?(_o.flushSync(function(){U(Ve)}),ut()):le(Ve)}function we(Pe){var Ne=Pe.currentTarget.scrollTop;Ne!==E&&le(Ne),g==null||g(Pe),ut()}var Ke=function(Ne){var Ve=Ne,ot=h-Ce.width;return Ve=Math.max(Ve,0),Ve=Math.min(Ve,ot),Ve},rt=Hn(function(Pe,Ne){Ne?(_o.flushSync(function(){U(function(Ve){var ot=Ve+(M?-Pe:Pe);return Ke(ot)})}),ut()):le(function(Ve){var ot=Ve+Pe;return ot})}),ge=j_(O,dt,Et,!!h,rt),Se=k(ge,2),Me=Se[0],Fe=Se[1];D_(O,z,function(Pe,Ne){return Ot(Pe,Ne)?!1:(Me({preventDefault:function(){},deltaY:Pe}),!0)}),It(function(){function Pe(Ve){O&&Ve.preventDefault()}var Ne=z.current;return Ne.addEventListener("wheel",Me),Ne.addEventListener("DOMMouseScroll",Fe),Ne.addEventListener("MozMousePixelScroll",Pe),function(){Ne.removeEventListener("wheel",Me),Ne.removeEventListener("DOMMouseScroll",Fe),Ne.removeEventListener("MozMousePixelScroll",Pe)}},[O]),It(function(){h&&U(function(Pe){return Ke(Pe)})},[Ce.width,h]);var Ge=function(){var Ne,Ve;(Ne=Je.current)===null||Ne===void 0||Ne.delayHidden(),(Ve=at.current)===null||Ve===void 0||Ve.delayHidden()},Ue=__(z,P,de,a,Q,function(){return ce(!0)},le,Ge);s.useImperativeHandle(t,function(){return{getScrollInfo:Be,scrollTo:function(Ne){function Ve(ot){return ot&&tt(ot)==="object"&&("left"in ot||"top"in ot)}Ve(Ne)?(Ne.left!==void 0&&U(Ke(Ne.left)),Ue(Ne.top)):Ue(Ne)}}}),It(function(){if(C){var Pe=P.slice(Ee,qe+1);C(Pe,P)}},[Ee,qe,P]);var Rt=B_(P,Q,de,a),Ct=x==null?void 0:x({start:Ee,end:qe,virtual:I,offsetX:H,offsetY:Oe,rtl:M,getSize:Rt}),je=P_(P,Ee,qe,h,ue,f,W),Ie=null;i&&(Ie=B(D({},c?"height":"maxHeight",i),V_),O&&(Ie.overflowY="hidden",h&&(Ie.overflowX="hidden"),ie&&(Ie.pointerEvents="none")));var lt={};return M&&(lt.dir="rtl"),s.createElement("div",ve({style:B(B({},u),{},{position:"relative"}),className:_},lt,R),s.createElement(vr,{onResize:nt},s.createElement(v,{className:"".concat(r,"-holder"),style:Ie,ref:z,onScroll:we,onMouseEnter:Ge},s.createElement(Ox,{prefixCls:r,height:De,offsetX:H,offsetY:Oe,scrollWidth:h,onInnerResize:ce,ref:A,innerProps:$,rtl:M,extra:Ct},je))),I&&De>i&&s.createElement(U0,{ref:Je,prefixCls:r,scrollOffset:E,scrollRange:De,rtl:M,onScroll:be,onStartMove:ee,onStopMove:ae,spinSize:We,containerSize:Ce.height,style:w==null?void 0:w.verticalScrollBar,thumbStyle:w==null?void 0:w.verticalScrollBarThumb}),I&&h>Ce.width&&s.createElement(U0,{ref:at,prefixCls:r,scrollOffset:H,scrollRange:h,rtl:M,onScroll:be,onStartMove:ee,onStopMove:ae,spinSize:Ye,containerSize:Ce.width,horizontal:!0,style:w==null?void 0:w.horizontalScrollBar,thumbStyle:w==null?void 0:w.horizontalScrollBarThumb}))}var Ix=s.forwardRef(W_);Ix.displayName="List";function U_(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var G_=["disabled","title","children","style","className"];function q0(e){return typeof e=="string"||typeof e=="number"}var K_=function(t,n){var r=zN(),o=r.prefixCls,i=r.id,a=r.open,l=r.multiple,c=r.mode,u=r.searchValue,d=r.toggleOpen,f=r.notFoundContent,m=r.onPopupScroll,p=s.useContext(kg),b=p.maxCount,h=p.flattenOptions,S=p.onActiveValue,v=p.defaultActiveFirstOption,g=p.onSelect,y=p.menuItemSelectedIcon,C=p.rawValues,$=p.fieldNames,x=p.virtual,w=p.direction,R=p.listHeight,O=p.listItemHeight,I=p.optionRender,M="".concat(o,"-item"),_=Zl(function(){return h},[a,h],function(Q,W){return W[0]&&Q[1]!==W[1]}),P=s.useRef(null),z=s.useMemo(function(){return l&&ov(b)&&(C==null?void 0:C.size)>=b},[l,b,C==null?void 0:C.size]),A=function(W){W.preventDefault()},N=function(W){var le;(le=P.current)===null||le===void 0||le.scrollTo(typeof W=="number"?{index:W}:W)},T=function(W){for(var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,se=_.length,ne=0;ne1&&arguments[1]!==void 0?arguments[1]:!1;F(W);var se={source:le?"keyboard":"mouse"},ne=_[W];if(!ne){S(null,-1,se);return}S(ne.value,W,se)};s.useEffect(function(){H(v!==!1?T(0):-1)},[_.length,u]);var U=s.useCallback(function(Q){return C.has(Q)&&c!=="combobox"},[c,Te(C).toString(),C.size]);s.useEffect(function(){var Q=setTimeout(function(){if(!l&&a&&C.size===1){var le=Array.from(C)[0],se=_.findIndex(function(ne){var Y=ne.data;return Y.value===le});se!==-1&&(H(se),N(se))}});if(a){var W;(W=P.current)===null||W===void 0||W.scrollTo(void 0)}return function(){return clearTimeout(Q)}},[a,u]);var G=function(W){W!==void 0&&g(W,{selected:!C.has(W)}),l||d(!1)};if(s.useImperativeHandle(n,function(){return{onKeyDown:function(W){var le=W.which,se=W.ctrlKey;switch(le){case te.N:case te.P:case te.UP:case te.DOWN:{var ne=0;if(le===te.UP?ne=-1:le===te.DOWN?ne=1:U_()&&se&&(le===te.N?ne=1:le===te.P&&(ne=-1)),ne!==0){var Y=T(j+ne,ne);N(Y),H(Y,!0)}break}case te.ENTER:{var pe,me=_[j];me&&!(me!=null&&(pe=me.data)!==null&&pe!==void 0&&pe.disabled)&&!z?G(me.value):G(void 0),a&&W.preventDefault();break}case te.ESC:d(!1),a&&W.stopPropagation()}},onKeyUp:function(){},scrollTo:function(W){N(W)}}}),_.length===0)return s.createElement("div",{role:"listbox",id:"".concat(i,"_list"),className:"".concat(M,"-empty"),onMouseDown:A},f);var K=Object.keys($).map(function(Q){return $[Q]}),ie=function(W){return W.label};function J(Q,W){var le=Q.group;return{role:le?"presentation":"option",id:"".concat(i,"_list_").concat(W)}}var ee=function(W){var le=_[W];if(!le)return null;var se=le.data||{},ne=se.value,Y=le.group,pe=ci(se,!0),me=ie(le);return le?s.createElement("div",ve({"aria-label":typeof me=="string"&&!Y?me:null},pe,{key:W},J(le,W),{"aria-selected":U(ne)}),ne):null},ae={role:"listbox",id:"".concat(i,"_list")};return s.createElement(s.Fragment,null,x&&s.createElement("div",ve({},ae,{style:{height:0,width:0,overflow:"hidden"}}),ee(j-1),ee(j),ee(j+1)),s.createElement(Ix,{itemKey:"key",ref:P,data:_,height:R,itemHeight:O,fullHeight:!1,onMouseDown:A,onScroll:m,virtual:x,direction:w,innerProps:x?null:ae},function(Q,W){var le=Q.group,se=Q.groupOption,ne=Q.data,Y=Q.label,pe=Q.value,me=ne.key;if(le){var re,Z=(re=ne.title)!==null&&re!==void 0?re:q0(Y)?Y.toString():void 0;return s.createElement("div",{className:q(M,"".concat(M,"-group"),ne.className),title:Z},Y!==void 0?Y:me)}var ue=ne.disabled,ce=ne.title;ne.children;var de=ne.style,fe=ne.className,xe=Ze(ne,G_),De=Gn(xe,K),Ee=U(pe),qe=ue||!Ee&&z,Oe="".concat(M,"-option"),ye=q(M,Oe,fe,D(D(D(D({},"".concat(Oe,"-grouped"),se),"".concat(Oe,"-active"),j===W&&!qe),"".concat(Oe,"-disabled"),qe),"".concat(Oe,"-selected"),Ee)),$e=ie(Q),Ce=!y||typeof y=="function"||Ee,Xe=typeof $e=="number"?$e:$e||pe,nt=q0(Xe)?Xe.toString():void 0;return ce!==void 0&&(nt=ce),s.createElement("div",ve({},ci(De),x?{}:J(Q,W),{"aria-selected":Ee,className:ye,title:nt,onMouseMove:function(){j===W||qe||H(W)},onClick:function(){qe||G(pe)},style:de}),s.createElement("div",{className:"".concat(Oe,"-content")},typeof I=="function"?I(Q,{index:W}):Xe),s.isValidElement(y)||Ee,Ce&&s.createElement(qu,{className:"".concat(M,"-option-state"),customizeIcon:y,customizeIconProps:{value:pe,disabled:qe,isSelected:Ee}},Ee?"✓":null))}))},q_=s.forwardRef(K_);const X_=function(e,t){var n=s.useRef({values:new Map,options:new Map}),r=s.useMemo(function(){var i=n.current,a=i.values,l=i.options,c=e.map(function(f){if(f.label===void 0){var m;return B(B({},f),{},{label:(m=a.get(f.value))===null||m===void 0?void 0:m.label})}return f}),u=new Map,d=new Map;return c.forEach(function(f){u.set(f.value,f),d.set(f.value,t.get(f.value)||l.get(f.value))}),n.current.values=u,n.current.options=d,c},[e,t]),o=s.useCallback(function(i){return t.get(i)||n.current.options.get(i)},[t]);return[r,o]};function lf(e,t){return wx(e).join("").toUpperCase().includes(t)}const Y_=function(e,t,n,r,o){return s.useMemo(function(){if(!n||r===!1)return e;var i=t.options,a=t.label,l=t.value,c=[],u=typeof r=="function",d=n.toUpperCase(),f=u?r:function(p,b){return o?lf(b[o],d):b[i]?lf(b[a!=="children"?a:"label"],d):lf(b[l],d)},m=u?function(p){return iv(p)}:function(p){return p};return e.forEach(function(p){if(p[i]){var b=f(n,m(p));if(b)c.push(p);else{var h=p[i].filter(function(S){return f(n,m(S))});h.length&&c.push(B(B({},p),{},D({},i,h)))}return}f(n,m(p))&&c.push(p)}),c},[e,r,o,n,t])};var X0=0,Q_=Pn();function Z_(){var e;return Q_?(e=X0,X0+=1):e="TEST_OR_SSR",e}function J_(e){var t=s.useState(),n=k(t,2),r=n[0],o=n[1];return s.useEffect(function(){o("rc_select_".concat(Z_()))},[]),e||r}var ez=["children","value"],tz=["children"];function nz(e){var t=e,n=t.key,r=t.props,o=r.children,i=r.value,a=Ze(r,ez);return B({key:n,value:i!==void 0?i:n,children:o},a)}function Px(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return hr(e).map(function(n,r){if(!s.isValidElement(n)||!n.type)return null;var o=n,i=o.type.isSelectOptGroup,a=o.key,l=o.props,c=l.children,u=Ze(l,tz);return t||!i?nz(n):B(B({key:"__RC_SELECT_GRP__".concat(a===null?r:a,"__"),label:a},u),{},{options:Px(c)})}).filter(function(n){return n})}var rz=function(t,n,r,o,i){return s.useMemo(function(){var a=t,l=!t;l&&(a=Px(n));var c=new Map,u=new Map,d=function(p,b,h){h&&typeof h=="string"&&p.set(b[h],b)},f=function m(p){for(var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h=0;h2&&arguments[2]!==void 0?arguments[2]:{},Fe=Me.source,Ge=Fe===void 0?"keyboard":Fe;Et(Se),a&&r==="combobox"&&ge!==null&&Ge==="keyboard"&&oe(String(ge))},[a,r]),Le=function(Se,Me,Fe){var Ge=function(){var ot,wt=De(Se);return[L?{label:wt==null?void 0:wt[J.label],value:Se,key:(ot=wt==null?void 0:wt.key)!==null&&ot!==void 0?ot:Se}:Se,iv(wt)]};if(Me&&p){var Ue=Ge(),Rt=k(Ue,2),Ct=Rt[0],je=Rt[1];p(Ct,je)}else if(!Me&&b&&Fe!=="clear"){var Ie=Ge(),lt=k(Ie,2),Pe=lt[0],Ne=lt[1];b(Pe,Ne)}},ut=Y0(function(ge,Se){var Me,Fe=G?Se.selected:!0;Fe?Me=G?[].concat(Te(xe),[ge]):[ge]:Me=xe.filter(function(Ge){return Ge.value!==ge}),Je(Me),Le(ge,Fe),r==="combobox"?oe(""):(!av||m)&&(W(""),oe(""))}),be=function(Se,Me){Je(Se);var Fe=Me.type,Ge=Me.values;(Fe==="remove"||Fe==="clear")&&Ge.forEach(function(Ue){Le(Ue.value,!1,Fe)})},we=function(Se,Me){if(W(Se),oe(null),Me.source==="submit"){var Fe=(Se||"").trim();if(Fe){var Ge=Array.from(new Set([].concat(Te(qe),[Fe])));Je(Ge),Le(Fe,!0),W("")}return}Me.source!=="blur"&&(r==="combobox"&&Je(Se),d==null||d(Se))},Ke=function(Se){var Me=Se;r!=="tags"&&(Me=Se.map(function(Ge){var Ue=ne.get(Ge);return Ue==null?void 0:Ue.value}).filter(function(Ge){return Ge!==void 0}));var Fe=Array.from(new Set([].concat(Te(qe),Te(Me))));Je(Fe),Fe.forEach(function(Ge){Le(Ge,!0)})},rt=s.useMemo(function(){var ge=I!==!1&&S!==!1;return B(B({},le),{},{flattenOptions:nt,onActiveValue:Be,defaultActiveFirstOption:Ot,onSelect:ut,menuItemSelectedIcon:O,rawValues:qe,fieldNames:J,virtual:ge,direction:M,listHeight:P,listItemHeight:A,childrenAsData:K,maxCount:F,optionRender:x})},[F,le,nt,Be,Ot,ut,O,qe,J,I,S,M,P,A,K,x]);return s.createElement(kg.Provider,{value:rt},s.createElement(R_,ve({},H,{id:U,prefixCls:i,ref:t,omitDomProps:iz,mode:r,displayValues:Ee,onDisplayValuesChange:be,direction:M,searchValue:Q,onSearch:we,autoClearSearchValue:m,onSearchSplit:Ke,dropdownMatchSelectWidth:S,OptionList:q_,emptyOptions:!nt.length,activeValue:We,activeDescendantId:"".concat(U,"_list_").concat(dt)})))}),Ug=lz;Ug.Option=Wg;Ug.OptGroup=Vg;function Mx(e,t,n){return q({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const Tx=(e,t)=>t||e,sz=()=>{const[,e]=Mn(),n=new jt(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return s.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},s.createElement("g",{fill:"none",fillRule:"evenodd"},s.createElement("g",{transform:"translate(24 31.67)"},s.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),s.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),s.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),s.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),s.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),s.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),s.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},s.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),s.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},cz=sz,uz=()=>{const[,e]=Mn(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:o}=e,{borderColor:i,shadowColor:a,contentColor:l}=s.useMemo(()=>({borderColor:new jt(t).onBackground(o).toHexShortString(),shadowColor:new jt(n).onBackground(o).toHexShortString(),contentColor:new jt(r).onBackground(o).toHexShortString()}),[t,n,r,o]);return s.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},s.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},s.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),s.createElement("g",{fillRule:"nonzero",stroke:i},s.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),s.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:l}))))},dz=uz,fz=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},mz=sn("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,o=Tt(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[fz(o)]});var vz=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{className:t,rootClassName:n,prefixCls:r,image:o=Nx,description:i,children:a,imageStyle:l,style:c}=e,u=vz(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:f,empty:m}=s.useContext(it),p=d("empty",r),[b,h,S]=mz(p),[v]=Og("Empty"),g=typeof i<"u"?i:v==null?void 0:v.description,y=typeof g=="string"?g:"empty";let C=null;return typeof o=="string"?C=s.createElement("img",{alt:y,src:o}):C=o,b(s.createElement("div",Object.assign({className:q(h,S,p,m==null?void 0:m.className,{[`${p}-normal`]:o===_x,[`${p}-rtl`]:f==="rtl"},t,n),style:Object.assign(Object.assign({},m==null?void 0:m.style),c)},u),s.createElement("div",{className:`${p}-image`,style:l},C),g&&s.createElement("div",{className:`${p}-description`},g),a&&s.createElement("div",{className:`${p}-footer`},a)))};Gg.PRESENTED_IMAGE_DEFAULT=Nx;Gg.PRESENTED_IMAGE_SIMPLE=_x;const Ua=Gg,gz=e=>{const{componentName:t}=e,{getPrefixCls:n}=s.useContext(it),r=n("empty");switch(t){case"Table":case"List":return X.createElement(Ua,{image:Ua.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return X.createElement(Ua,{image:Ua.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return X.createElement(Ua,null)}},zx=gz,pz=["outlined","borderless","filled"],Lx=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;const n=s.useContext(QT);let r;typeof e<"u"?r=e:t===!1?r="borderless":r=n??"outlined";const o=pz.includes(r);return[r,o]},hz=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function yz(e,t){return e||hz(t)}const Q0=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},bz=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,l=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},Kn(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` - ${o}${l}bottomLeft, - ${i}${l}bottomLeft - `]:{animationName:fx},[` - ${o}${l}topLeft, - ${i}${l}topLeft, - ${o}${l}topRight, - ${i}${l}topRight - `]:{animationName:vx},[`${a}${l}bottomLeft`]:{animationName:mx},[` - ${a}${l}topLeft, - ${a}${l}topRight - `]:{animationName:gx},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},Q0(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},si),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Q0(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},tu(e,"slide-up"),tu(e,"slide-down"),M0(e,"move-up"),M0(e,"move-down")]},ru=2,Sz=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r}=e,o=e.max(e.calc(n).sub(r).equal(),0),i=e.max(e.calc(o).sub(ru).equal(),0);return{basePadding:o,containerPadding:i,itemHeight:V(t),itemLineHeight:V(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},Cz=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},xz=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:o,paddingXS:i,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:l,colorIcon:c,colorIconHover:u}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:ru,borderRadius:r,cursor:"default",transition:`font-size ${o}, line-height ${o}, height ${o}`,marginInlineEnd:e.calc(ru).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${t}-disabled&`]:{color:a,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Pg()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},wz=(e,t)=>{const{componentCls:n}=e,r=`${n}-selection-overflow`,o=e.multipleSelectItemHeight,i=Cz(e),a=t?`${n}-${t}`:"",l=Sz(e);return{[`${n}-multiple${a}`]:Object.assign(Object.assign({},xz(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:l.basePadding,paddingBlock:l.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${V(ru)} 0`,lineHeight:V(o),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:l.itemHeight,lineHeight:V(l.itemLineHeight)},[`${r}-item + ${r}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${r}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),"\n &-input,\n &-mirror\n ":{height:o,fontFamily:e.fontFamily,lineHeight:V(o),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function sf(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` - &${n}-show-arrow ${n}-selector, - &${n}-allow-clear ${n}-selector - `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[wz(e,t),o]}const $z=e=>{const{componentCls:t}=e,n=Tt(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Tt(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[sf(e),sf(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},sf(r,"lg")]};function cf(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},Kn(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` - ${n}-selection-item, - ${n}-selection-placeholder - `]:{padding:0,lineHeight:V(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` - &${n}-show-arrow ${n}-selection-item, - &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${V(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:V(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${V(r)}`,"&:after":{display:"none"}}}}}}}function Ez(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[cf(e),cf(Tt(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${V(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` - &${t}-show-arrow ${t}-selection-item, - &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},cf(Tt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const Oz=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlHeightSM:o,controlHeightLG:i,paddingXXS:a,controlPaddingHorizontal:l,zIndexPopupBase:c,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:m,colorBgContainer:p,colorFillSecondary:b,colorBgContainerDisabled:h,colorTextDisabled:S}=e,v=r-a*2,g=o-a*2,y=i-a*2;return{zIndexPopup:c+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:m,optionPadding:`${(r-t*n)/2}px ${l}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:p,clearBg:p,singleItemHeightLG:i,multipleItemBg:b,multipleItemBorderColor:"transparent",multipleItemHeight:v,multipleItemHeightSM:g,multipleItemHeightLG:y,multipleSelectorBgDisabled:h,multipleItemColorDisabled:S,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},jx=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${V(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${V(o)} ${t.activeShadowColor}`,outline:0}}}},Z0=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},jx(e,t))}),Rz=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},jx(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),Z0(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),Z0(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${V(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),Ax=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${V(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},J0=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Ax(e,t))}),Iz=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ax(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),J0(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),J0(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${V(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),Pz=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${V(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),Mz=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},Rz(e)),Iz(e)),Pz(e))}),Tz=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Nz=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},_z=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},Kn(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},Tz(e)),Nz(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},si),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},si),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},Pg()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-arrow:not(:last-child)`]:{opacity:0}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},zz=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},_z(e),Ez(e),$z(e),bz(e),{[`${t}-rtl`]:{direction:"rtl"}},Ag(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},Lz=sn("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Tt(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[zz(r),Mz(r)]},Oz,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var jz={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"};const Az=jz;var Dz=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:Az}))},Fz=s.forwardRef(Dz);const Dx=Fz;var Bz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const Hz=Bz;var kz=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:Hz}))},Vz=s.forwardRef(kz);const Wz=Vz;var Uz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const Gz=Uz;var Kz=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:Gz}))},qz=s.forwardRef(Kz);const Xz=qz;function Yz(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:i,multiple:a,hasFeedback:l,prefixCls:c,showSuffixIcon:u,feedbackIcon:d,showArrow:f,componentName:m}=e;const p=n??s.createElement(AC,null),b=g=>t===null&&!l&&!f?null:s.createElement(s.Fragment,null,u!==!1&&g,l&&d);let h=null;if(t!==void 0)h=b(t);else if(i)h=b(s.createElement(FC,{spin:!0}));else{const g=`${c}-suffix`;h=y=>{let{open:C,showSearch:$}=y;return b(C&&$?s.createElement(Xz,{className:g}):s.createElement(Wz,{className:g}))}}let S=null;r!==void 0?S=r:a?S=s.createElement(Dx,null):S=null;let v=null;return o!==void 0?v=o:v=s.createElement(_g,null),{clearIcon:p,suffixIcon:h,itemIcon:S,removeIcon:v}}function Qz(e,t){return t!==void 0?t:e!==null}var Zz=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n;const{prefixCls:r,bordered:o,className:i,rootClassName:a,getPopupContainer:l,popupClassName:c,dropdownClassName:u,listHeight:d=256,placement:f,listItemHeight:m,size:p,disabled:b,notFoundContent:h,status:S,builtinPlacements:v,dropdownMatchSelectWidth:g,popupMatchSelectWidth:y,direction:C,style:$,allowClear:x,variant:w,dropdownStyle:R,transitionName:O,tagRender:I,maxCount:M}=e,_=Zz(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:P,getPrefixCls:z,renderEmpty:A,direction:N,virtual:T,popupMatchSelectWidth:E,popupOverflow:L,select:j}=s.useContext(it),[,F]=Mn(),H=m??(F==null?void 0:F.controlHeight),U=z("select",r),G=z(),K=C??N,{compactSize:ie,compactItemClassnames:J}=UC(U,K),[ee,ae]=Lx(w,o),Q=os(U),[W,le,se]=Lz(U,Q),ne=s.useMemo(()=>{const{mode:We}=e;if(We!=="combobox")return We===Fx?"combobox":We},[e.mode]),Y=ne==="multiple"||ne==="tags",pe=Qz(e.suffixIcon,e.showArrow),me=(n=y??g)!==null&&n!==void 0?n:E,{status:re,hasFeedback:Z,isFormItemInput:ue,feedbackIcon:ce}=s.useContext(ux),de=Tx(re,S);let fe;h!==void 0?fe=h:ne==="combobox"?fe=null:fe=(A==null?void 0:A("Select"))||s.createElement(zx,{componentName:"Select"});const{suffixIcon:xe,itemIcon:De,removeIcon:Ee,clearIcon:qe}=Yz(Object.assign(Object.assign({},_),{multiple:Y,hasFeedback:Z,feedbackIcon:ce,showSuffixIcon:pe,prefixCls:U,componentName:"Select"})),Oe=x===!0?{clearIcon:qe}:x,ye=Gn(_,["suffixIcon","itemIcon"]),$e=q(c||u,{[`${U}-dropdown-${K}`]:K==="rtl"},a,se,Q,le),Ce=Do(We=>{var oe;return(oe=p??ie)!==null&&oe!==void 0?oe:We}),Xe=s.useContext(Fu),nt=b??Xe,Je=q({[`${U}-lg`]:Ce==="large",[`${U}-sm`]:Ce==="small",[`${U}-rtl`]:K==="rtl",[`${U}-${ee}`]:ae,[`${U}-in-form-item`]:ue},Mx(U,de,Z),J,j==null?void 0:j.className,i,a,se,Q,le),at=s.useMemo(()=>f!==void 0?f:K==="rtl"?"bottomRight":"bottomLeft",[f,K]),[Ye]=Vu("SelectLike",R==null?void 0:R.zIndex);return W(s.createElement(Ug,Object.assign({ref:t,virtual:T,showSearch:j==null?void 0:j.showSearch},ye,{style:Object.assign(Object.assign({},j==null?void 0:j.style),$),dropdownMatchSelectWidth:me,transitionName:di(G,"slide-up",O),builtinPlacements:yz(v,L),listHeight:d,listItemHeight:H,mode:ne,prefixCls:U,placement:at,direction:K,suffixIcon:xe,menuItemSelectedIcon:De,removeIcon:Ee,allowClear:Oe,notFoundContent:fe,className:Je,getPopupContainer:l||P,dropdownClassName:$e,disabled:nt,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:Ye}),maxCount:Y?M:void 0,tagRender:Y?I:void 0})))},Ra=s.forwardRef(Jz),e4=NN(Ra);Ra.SECRET_COMBOBOX_MODE_DO_NOT_USE=Fx;Ra.Option=Wg;Ra.OptGroup=Vg;Ra._InternalPanelDoNotUseOrYouWillBeFired=e4;const Yu=Ra,fi=["xxl","xl","lg","md","sm","xs"],t4=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),n4=e=>{const t=e,n=[].concat(fi).reverse();return n.forEach((r,o)=>{const i=r.toUpperCase(),a=`screen${i}Min`,l=`screen${i}`;if(!(t[a]<=t[l]))throw new Error(`${a}<=${l} fails : !(${t[a]}<=${t[l]})`);if(o{const n=new Map;let r=-1,o={};return{matchHandlers:{},dispatch(i){return o=i,n.forEach(a=>a(o)),n.size>=1},subscribe(i){return n.size||this.register(),r+=1,n.set(r,i),i(o),r},unsubscribe(i){n.delete(i),n.size||this.unregister()},unregister(){Object.keys(t).forEach(i=>{const a=t[i],l=this.matchHandlers[a];l==null||l.mql.removeListener(l==null?void 0:l.listener)}),n.clear()},register(){Object.keys(t).forEach(i=>{const a=t[i],l=u=>{let{matches:d}=u;this.dispatch(Object.assign(Object.assign({},o),{[i]:d}))},c=window.matchMedia(a);c.addListener(l),this.matchHandlers[a]={mql:c,listener:l},l(c)})},responsiveMap:t}},[e])}function r4(){const[,e]=s.useReducer(t=>t+1,0);return e}function Hx(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=s.useRef({}),n=r4(),r=Bx();return It(()=>{const o=r.subscribe(i=>{t.current=i,e&&n()});return()=>r.unsubscribe(o)},[]),t.current}function kx(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,i=e.className,a=e.style;return s.createElement("div",{className:q("".concat(n,"-content"),i),style:a},s.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},typeof t=="function"?t():t))}var Ri={shiftX:64,adjustY:1},Ii={adjustX:1,shiftY:!0},sr=[0,0],o4={left:{points:["cr","cl"],overflow:Ii,offset:[-4,0],targetOffset:sr},right:{points:["cl","cr"],overflow:Ii,offset:[4,0],targetOffset:sr},top:{points:["bc","tc"],overflow:Ri,offset:[0,-4],targetOffset:sr},bottom:{points:["tc","bc"],overflow:Ri,offset:[0,4],targetOffset:sr},topLeft:{points:["bl","tl"],overflow:Ri,offset:[0,-4],targetOffset:sr},leftTop:{points:["tr","tl"],overflow:Ii,offset:[-4,0],targetOffset:sr},topRight:{points:["br","tr"],overflow:Ri,offset:[0,-4],targetOffset:sr},rightTop:{points:["tl","tr"],overflow:Ii,offset:[4,0],targetOffset:sr},bottomRight:{points:["tr","br"],overflow:Ri,offset:[0,4],targetOffset:sr},rightBottom:{points:["bl","br"],overflow:Ii,offset:[4,0],targetOffset:sr},bottomLeft:{points:["tl","bl"],overflow:Ri,offset:[0,4],targetOffset:sr},leftBottom:{points:["br","bl"],overflow:Ii,offset:[-4,0],targetOffset:sr}},i4=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],a4=function(t,n){var r=t.overlayClassName,o=t.trigger,i=o===void 0?["hover"]:o,a=t.mouseEnterDelay,l=a===void 0?0:a,c=t.mouseLeaveDelay,u=c===void 0?.1:c,d=t.overlayStyle,f=t.prefixCls,m=f===void 0?"rc-tooltip":f,p=t.children,b=t.onVisibleChange,h=t.afterVisibleChange,S=t.transitionName,v=t.animation,g=t.motion,y=t.placement,C=y===void 0?"right":y,$=t.align,x=$===void 0?{}:$,w=t.destroyTooltipOnHide,R=w===void 0?!1:w,O=t.defaultVisible,I=t.getTooltipContainer,M=t.overlayInnerStyle;t.arrowContent;var _=t.overlay,P=t.id,z=t.showArrow,A=z===void 0?!0:z,N=Ze(t,i4),T=s.useRef(null);s.useImperativeHandle(n,function(){return T.current});var E=B({},N);"visible"in t&&(E.popupVisible=t.visible);var L=function(){return s.createElement(kx,{key:"content",prefixCls:m,id:P,overlayInnerStyle:M},_)};return s.createElement(Xu,ve({popupClassName:r,prefixCls:m,popup:L,action:i,builtinPlacements:o4,popupPlacement:C,ref:T,popupAlign:x,getPopupContainer:I,onPopupVisibleChange:b,afterPopupVisibleChange:h,popupTransitionName:S,popupAnimation:v,popupMotion:g,defaultPopupVisible:O,autoDestroy:R,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:l,arrow:A},E),p)};const l4=s.forwardRef(a4);function s4(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,i=0,a=o,l=r*1/Math.sqrt(2),c=o-r*(1-1/Math.sqrt(2)),u=o-n*(1/Math.sqrt(2)),d=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),f=2*o-u,m=d,p=2*o-l,b=c,h=2*o-i,S=a,v=o*Math.sqrt(2)+r*(Math.sqrt(2)-2),g=r*(Math.sqrt(2)-1),y=`polygon(${g}px 100%, 50% ${g}px, ${2*o-g}px 100%, ${g}px 100%)`,C=`path('M ${i} ${a} A ${r} ${r} 0 0 0 ${l} ${c} L ${u} ${d} A ${n} ${n} 0 0 1 ${f} ${m} L ${p} ${b} A ${r} ${r} 0 0 0 ${h} ${S} Z')`;return{arrowShadowWidth:v,arrowPath:C,arrowPolygon:y}}const c4=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:o,arrowPath:i,arrowShadowWidth:a,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${V(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},Vx=8;function Wx(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?Vx:r}}function Ws(e,t){return e?t:{}}function u4(e,t,n){const{componentCls:r,boxShadowPopoverArrow:o,arrowOffsetVertical:i,arrowOffsetHorizontal:a}=e,{arrowDistance:l=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},c4(e,t,o)),{"&:before":{background:t}})]},Ws(!!c.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${r}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-topRight > ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}})),Ws(!!c.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft > ${r}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-bottomRight > ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}})),Ws(!!c.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:i},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:i}})),Ws(!!c.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:i},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:i}}))}}function d4(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const o=r&&typeof r=="object"?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.arrowOffsetHorizontal*2+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.arrowOffsetVertical*2+n,i.shiftX=!0,i.adjustX=!0;break}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}const ey={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"]}},f4={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"]}},m4=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function v4(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:i,visibleFirst:a}=e,l=t/2,c={};return Object.keys(ey).forEach(u=>{const d=r&&f4[u]||ey[u],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(c[u]=f,m4.has(u)&&(f.autoArrow=!1),u){case"top":case"topLeft":case"topRight":f.offset[1]=-l-o;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=l+o;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-l-o;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=l+o;break}const m=Wx({contentRadius:i,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":f.offset[0]=-m.arrowOffsetHorizontal-l;break;case"topRight":case"bottomRight":f.offset[0]=m.arrowOffsetHorizontal+l;break;case"leftTop":case"rightTop":f.offset[1]=-m.arrowOffsetHorizontal-l;break;case"leftBottom":case"rightBottom":f.offset[1]=m.arrowOffsetHorizontal+l;break}f.overflow=d4(u,m,t,n),a&&(f.htmlRegion="visibleFirst")}),c}const g4=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:l,boxShadowSecondary:c,paddingSM:u,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Kn(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${V(e.calc(u).div(2).equal())} ${V(d)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,Vx)}},[`${t}-content`]:{position:"relative"}}),CI(e,(f,m)=>{let{darkColor:p}=m;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:p},[`${t}-arrow`]:{"--antd-arrow-background-color":p}}}})),{"&-rtl":{direction:"rtl"}})},u4(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},p4=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},Wx({contentRadius:e.borderRadius,limitVerticalRadius:!0})),s4(Tt(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),Ux=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return sn("Tooltip",r=>{const{borderRadius:o,colorTextLightSolid:i,colorBgSpotlight:a}=r,l=Tt(r,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:o,tooltipBg:a});return[g4(l),Bg(r,"zoom-big-fast")]},p4,{resetStyle:!1,injectStyle:t})(e)},h4=Yc.map(e=>`${e}-inverse`);function y4(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(Te(h4),Te(Yc)).includes(e):Yc.includes(e)}function Gx(e,t){const n=y4(t),r=q({[`${e}-${t}`]:t&&n}),o={},i={};return t&&!n&&(o.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:i}}const b4=e=>{const{prefixCls:t,className:n,placement:r="top",title:o,color:i,overlayInnerStyle:a}=e,{getPrefixCls:l}=s.useContext(it),c=l("tooltip",t),[u,d,f]=Ux(c),m=Gx(c,i),p=m.arrowStyle,b=Object.assign(Object.assign({},a),m.overlayStyle),h=q(d,f,c,`${c}-pure`,`${c}-placement-${r}`,n,m.className);return u(s.createElement("div",{className:h,style:p},s.createElement("div",{className:`${c}-arrow`}),s.createElement(kx,Object.assign({},e,{className:d,prefixCls:c,overlayInnerStyle:b}),o)))},S4=b4;var C4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r;const{prefixCls:o,openClassName:i,getTooltipContainer:a,overlayClassName:l,color:c,overlayInnerStyle:u,children:d,afterOpenChange:f,afterVisibleChange:m,destroyTooltipOnHide:p,arrow:b=!0,title:h,overlay:S,builtinPlacements:v,arrowPointAtCenter:g=!1,autoAdjustOverflow:y=!0}=e,C=!!b,[,$]=Mn(),{getPopupContainer:x,getPrefixCls:w,direction:R}=s.useContext(it),O=QS(),I=s.useRef(null),M=()=>{var fe;(fe=I.current)===null||fe===void 0||fe.forceAlign()};s.useImperativeHandle(t,()=>({forceAlign:M,forcePopupAlign:()=>{O.deprecated(!1,"forcePopupAlign","forceAlign"),M()}}));const[_,P]=on(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),z=!h&&!S&&h!==0,A=fe=>{var xe,De;P(z?!1:fe),z||((xe=e.onOpenChange)===null||xe===void 0||xe.call(e,fe),(De=e.onVisibleChange)===null||De===void 0||De.call(e,fe))},N=s.useMemo(()=>{var fe,xe;let De=g;return typeof b=="object"&&(De=(xe=(fe=b.pointAtCenter)!==null&&fe!==void 0?fe:b.arrowPointAtCenter)!==null&&xe!==void 0?xe:g),v||v4({arrowPointAtCenter:De,autoAdjustOverflow:y,arrowWidth:C?$.sizePopupArrow:0,borderRadius:$.borderRadius,offset:$.marginXXS,visibleFirst:!0})},[g,b,v,$]),T=s.useMemo(()=>h===0?h:S||h||"",[S,h]),E=s.createElement(rM,null,typeof T=="function"?T():T),{getPopupContainer:L,placement:j="top",mouseEnterDelay:F=.1,mouseLeaveDelay:H=.1,overlayStyle:U,rootClassName:G}=e,K=C4(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ie=w("tooltip",o),J=w(),ee=e["data-popover-inject"];let ae=_;!("open"in e)&&!("visible"in e)&&z&&(ae=!1);const Q=s.isValidElement(d)&&!DC(d)?d:s.createElement("span",null,d),W=Q.props,le=!W.className||typeof W.className=="string"?q(W.className,i||`${ie}-open`):W.className,[se,ne,Y]=Ux(ie,!ee),pe=Gx(ie,c),me=pe.arrowStyle,re=Object.assign(Object.assign({},u),pe.overlayStyle),Z=q(l,{[`${ie}-rtl`]:R==="rtl"},pe.className,G,ne,Y),[ue,ce]=Vu("Tooltip",K.zIndex),de=s.createElement(l4,Object.assign({},K,{zIndex:ue,showArrow:C,placement:j,mouseEnterDelay:F,mouseLeaveDelay:H,prefixCls:ie,overlayClassName:Z,overlayStyle:Object.assign(Object.assign({},me),U),getTooltipContainer:L||a||x,ref:I,builtinPlacements:N,overlay:E,visible:ae,onVisibleChange:A,afterVisibleChange:f??m,overlayInnerStyle:re,arrowContent:s.createElement("span",{className:`${ie}-arrow-content`}),motion:{motionName:di(J,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!p}),ae?ui(Q,{className:le}):Q);return se(s.createElement(BC.Provider,{value:ce},de))});Kx._InternalPanelDoNotUseOrYouWillBeFired=S4;const Kg=Kx;var x4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const w4=x4;var $4=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:w4}))},E4=s.forwardRef($4);const Hl=E4;var O4=te.ESC,R4=te.TAB;function I4(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,a=s.useRef(!1),l=function(){if(t){var f,m;(f=n.current)===null||f===void 0||(m=f.focus)===null||m===void 0||m.call(f),r==null||r(!1)}},c=function(){var f;return(f=i.current)!==null&&f!==void 0&&f.focus?(i.current.focus(),a.current=!0,!0):!1},u=function(f){switch(f.keyCode){case O4:l();break;case R4:{var m=!1;a.current||(m=c()),m?f.preventDefault():l();break}}};s.useEffect(function(){return t?(window.addEventListener("keydown",u),o&&Pt(c,3),function(){window.removeEventListener("keydown",u),a.current=!1}):function(){a.current=!1}},[t])}var P4=s.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=s.useMemo(function(){var l;return typeof n=="function"?l=n():l=n,l},[n]),a=lo(t,i==null?void 0:i.ref);return X.createElement(X.Fragment,null,r&&X.createElement("div",{className:"".concat(o,"-arrow")}),X.cloneElement(i,{ref:pi(i)?a:void 0}))}),Pi={adjustX:1,adjustY:1},Mi=[0,0],M4={topLeft:{points:["bl","tl"],overflow:Pi,offset:[0,-4],targetOffset:Mi},top:{points:["bc","tc"],overflow:Pi,offset:[0,-4],targetOffset:Mi},topRight:{points:["br","tr"],overflow:Pi,offset:[0,-4],targetOffset:Mi},bottomLeft:{points:["tl","bl"],overflow:Pi,offset:[0,4],targetOffset:Mi},bottom:{points:["tc","bc"],overflow:Pi,offset:[0,4],targetOffset:Mi},bottomRight:{points:["tr","br"],overflow:Pi,offset:[0,4],targetOffset:Mi}},T4=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function N4(e,t){var n,r=e.arrow,o=r===void 0?!1:r,i=e.prefixCls,a=i===void 0?"rc-dropdown":i,l=e.transitionName,c=e.animation,u=e.align,d=e.placement,f=d===void 0?"bottomLeft":d,m=e.placements,p=m===void 0?M4:m,b=e.getPopupContainer,h=e.showAction,S=e.hideAction,v=e.overlayClassName,g=e.overlayStyle,y=e.visible,C=e.trigger,$=C===void 0?["hover"]:C,x=e.autoFocus,w=e.overlay,R=e.children,O=e.onVisibleChange,I=Ze(e,T4),M=X.useState(),_=k(M,2),P=_[0],z=_[1],A="visible"in e?y:P,N=X.useRef(null),T=X.useRef(null),E=X.useRef(null);X.useImperativeHandle(t,function(){return N.current});var L=function(ee){z(ee),O==null||O(ee)};I4({visible:A,triggerRef:E,onVisibleChange:L,autoFocus:x,overlayRef:T});var j=function(ee){var ae=e.onOverlayClick;z(!1),ae&&ae(ee)},F=function(){return X.createElement(P4,{ref:T,overlay:w,prefixCls:a,arrow:o})},H=function(){return typeof w=="function"?F:F()},U=function(){var ee=e.minOverlayWidthMatchTrigger,ae=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?ee:!ae},G=function(){var ee=e.openClassName;return ee!==void 0?ee:"".concat(a,"-open")},K=X.cloneElement(R,{className:q((n=R.props)===null||n===void 0?void 0:n.className,A&&G()),ref:pi(R)?lo(E,R.ref):void 0}),ie=S;return!ie&&$.indexOf("contextMenu")!==-1&&(ie=["click"]),X.createElement(Xu,ve({builtinPlacements:p},I,{prefixCls:a,ref:N,popupClassName:q(v,D({},"".concat(a,"-show-arrow"),o)),popupStyle:g,action:$,showAction:h,hideAction:ie,popupPlacement:f,popupAlign:u,popupTransitionName:l,popupAnimation:c,popupVisible:A,stretch:U()?"minWidth":"",popup:H(),onPopupVisibleChange:L,onPopupClick:j,getPopupContainer:b}),K)}const _4=X.forwardRef(N4);var qx=s.createContext(null);function Xx(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function Yx(e){var t=s.useContext(qx);return Xx(t,e)}var z4=["children","locked"],Nr=s.createContext(null);function L4(e,t){var n=B({},e);return Object.keys(t).forEach(function(r){var o=t[r];o!==void 0&&(n[r]=o)}),n}function kl(e){var t=e.children,n=e.locked,r=Ze(e,z4),o=s.useContext(Nr),i=Zl(function(){return L4(o,r)},[o,r],function(a,l){return!n&&(a[0]!==l[0]||!es(a[1],l[1],!0))});return s.createElement(Nr.Provider,{value:i},t)}var j4=[],Qx=s.createContext(null);function Qu(){return s.useContext(Qx)}var Zx=s.createContext(j4);function cs(e){var t=s.useContext(Zx);return s.useMemo(function(){return e!==void 0?[].concat(Te(t),[e]):t},[t,e])}var Jx=s.createContext(null),qg=s.createContext({});function ty(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(zg(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null;return o&&!Number.isNaN(i)?a=i:r&&a===null&&(a=0),r&&e.disabled&&(a=null),a!==null&&(a>=0||t&&a<0)}return!1}function A4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Te(e.querySelectorAll("*")).filter(function(r){return ty(r,t)});return ty(e,t)&&n.unshift(e),n}var lv=te.LEFT,sv=te.RIGHT,cv=te.UP,gc=te.DOWN,pc=te.ENTER,ew=te.ESC,Ga=te.HOME,Ka=te.END,ny=[cv,gc,lv,sv];function D4(e,t,n,r){var o,i="prev",a="next",l="children",c="parent";if(e==="inline"&&r===pc)return{inlineTrigger:!0};var u=D(D({},cv,i),gc,a),d=D(D(D(D({},lv,n?a:i),sv,n?i:a),gc,l),pc,l),f=D(D(D(D(D(D({},cv,i),gc,a),pc,l),ew,c),lv,n?l:c),sv,n?c:l),m={inline:u,horizontal:d,vertical:f,inlineSub:u,horizontalSub:f,verticalSub:f},p=(o=m["".concat(e).concat(t?"":"Sub")])===null||o===void 0?void 0:o[r];switch(p){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case c:return{offset:-1,sibling:!1};case l:return{offset:1,sibling:!1};default:return null}}function F4(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function B4(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function Xg(e,t){var n=A4(e,!0);return n.filter(function(r){return t.has(r)})}function ry(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=Xg(e,t),i=o.length,a=o.findIndex(function(l){return n===l});return r<0?a===-1?a=i-1:a-=1:r>0&&(a+=1),a=(a+i)%i,o[a]}var uv=function(t,n){var r=new Set,o=new Map,i=new Map;return t.forEach(function(a){var l=document.querySelector("[data-menu-id='".concat(Xx(n,a),"']"));l&&(r.add(l),i.set(l,a),o.set(a,l))}),{elements:r,key2element:o,element2key:i}};function H4(e,t,n,r,o,i,a,l,c,u){var d=s.useRef(),f=s.useRef();f.current=t;var m=function(){Pt.cancel(d.current)};return s.useEffect(function(){return function(){m()}},[]),function(p){var b=p.which;if([].concat(ny,[pc,ew,Ga,Ka]).includes(b)){var h=i(),S=uv(h,r),v=S,g=v.elements,y=v.key2element,C=v.element2key,$=y.get(t),x=B4($,g),w=C.get(x),R=D4(e,a(w,!0).length===1,n,b);if(!R&&b!==Ga&&b!==Ka)return;(ny.includes(b)||[Ga,Ka].includes(b))&&p.preventDefault();var O=function(T){if(T){var E=T,L=T.querySelector("a");L!=null&&L.getAttribute("href")&&(E=L);var j=C.get(T);l(j),m(),d.current=Pt(function(){f.current===j&&E.focus()})}};if([Ga,Ka].includes(b)||R.sibling||!x){var I;!x||e==="inline"?I=o.current:I=F4(x);var M,_=Xg(I,g);b===Ga?M=_[0]:b===Ka?M=_[_.length-1]:M=ry(I,g,x,R.offset),O(M)}else if(R.inlineTrigger)c(w);else if(R.offset>0)c(w,!0),m(),d.current=Pt(function(){S=uv(h,r);var N=x.getAttribute("aria-controls"),T=document.getElementById(N),E=ry(T,S.elements);O(E)},5);else if(R.offset<0){var P=a(w,!0),z=P[P.length-2],A=y.get(z);c(z,!1),O(A)}}u==null||u(p)}}function k4(e){Promise.resolve().then(e)}var Yg="__RC_UTIL_PATH_SPLIT__",oy=function(t){return t.join(Yg)},V4=function(t){return t.split(Yg)},dv="rc-menu-more";function W4(){var e=s.useState({}),t=k(e,2),n=t[1],r=s.useRef(new Map),o=s.useRef(new Map),i=s.useState([]),a=k(i,2),l=a[0],c=a[1],u=s.useRef(0),d=s.useRef(!1),f=function(){d.current||n({})},m=s.useCallback(function(y,C){var $=oy(C);o.current.set($,y),r.current.set(y,$),u.current+=1;var x=u.current;k4(function(){x===u.current&&f()})},[]),p=s.useCallback(function(y,C){var $=oy(C);o.current.delete($),r.current.delete(y)},[]),b=s.useCallback(function(y){c(y)},[]),h=s.useCallback(function(y,C){var $=r.current.get(y)||"",x=V4($);return C&&l.includes(x[0])&&x.unshift(dv),x},[l]),S=s.useCallback(function(y,C){return y.some(function($){var x=h($,!0);return x.includes(C)})},[h]),v=function(){var C=Te(r.current.keys());return l.length&&C.push(dv),C},g=s.useCallback(function(y){var C="".concat(r.current.get(y)).concat(Yg),$=new Set;return Te(o.current.keys()).forEach(function(x){x.startsWith(C)&&$.add(o.current.get(x))}),$},[]);return s.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:m,unregisterPath:p,refreshOverflowKeys:b,isSubPathKey:S,getKeyPath:h,getKeys:v,getSubPathKeys:g}}function el(e){var t=s.useRef(e);t.current=e;var n=s.useCallback(function(){for(var r,o=arguments.length,i=new Array(o),a=0;a1&&(g.motionAppear=!1);var y=g.onVisibleChanged;return g.onVisibleChanged=function(C){return!m.current&&!C&&S(!0),y==null?void 0:y(C)},h?null:s.createElement(kl,{mode:i,locked:!m.current},s.createElement(kr,ve({visible:v},g,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),function(C){var $=C.className,x=C.style;return s.createElement(Qg,{id:t,className:$,style:x},o)}))}var l3=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],s3=["active"],c3=function(t){var n=t.style,r=t.className,o=t.title,i=t.eventKey;t.warnKey;var a=t.disabled,l=t.internalPopupClose,c=t.children,u=t.itemIcon,d=t.expandIcon,f=t.popupClassName,m=t.popupOffset,p=t.popupStyle,b=t.onClick,h=t.onMouseEnter,S=t.onMouseLeave,v=t.onTitleClick,g=t.onTitleMouseEnter,y=t.onTitleMouseLeave,C=Ze(t,l3),$=Yx(i),x=s.useContext(Nr),w=x.prefixCls,R=x.mode,O=x.openKeys,I=x.disabled,M=x.overflowDisabled,_=x.activeKey,P=x.selectedKeys,z=x.itemIcon,A=x.expandIcon,N=x.onItemClick,T=x.onOpenChange,E=x.onActive,L=s.useContext(qg),j=L._internalRenderSubMenuItem,F=s.useContext(Jx),H=F.isSubPathKey,U=cs(),G="".concat(w,"-submenu"),K=I||a,ie=s.useRef(),J=s.useRef(),ee=u??z,ae=d??A,Q=O.includes(i),W=!M&&Q,le=H(P,i),se=tw(i,K,g,y),ne=se.active,Y=Ze(se,s3),pe=s.useState(!1),me=k(pe,2),re=me[0],Z=me[1],ue=function(at){K||Z(at)},ce=function(at){ue(!0),h==null||h({key:i,domEvent:at})},de=function(at){ue(!1),S==null||S({key:i,domEvent:at})},fe=s.useMemo(function(){return ne||(R!=="inline"?re||H([_],i):!1)},[R,ne,_,re,i,H]),xe=nw(U.length),De=function(at){K||(v==null||v({key:i,domEvent:at}),R==="inline"&&T(i,!Q))},Ee=el(function(Je){b==null||b(ou(Je)),N(Je)}),qe=function(at){R!=="inline"&&T(i,at)},Oe=function(){E(i)},ye=$&&"".concat($,"-popup"),$e=s.createElement("div",ve({role:"menuitem",style:xe,className:"".concat(G,"-title"),tabIndex:K?null:-1,ref:ie,title:typeof o=="string"?o:null,"data-menu-id":M&&$?null:$,"aria-expanded":W,"aria-haspopup":!0,"aria-controls":ye,"aria-disabled":K,onClick:De,onFocus:Oe},Y),o,s.createElement(rw,{icon:R!=="horizontal"?ae:void 0,props:B(B({},t),{},{isOpen:W,isSubMenu:!0})},s.createElement("i",{className:"".concat(G,"-arrow")}))),Ce=s.useRef(R);if(R!=="inline"&&U.length>1?Ce.current="vertical":Ce.current=R,!M){var Xe=Ce.current;$e=s.createElement(i3,{mode:Xe,prefixCls:G,visible:!l&&W&&R!=="inline",popupClassName:f,popupOffset:m,popupStyle:p,popup:s.createElement(kl,{mode:Xe==="horizontal"?"vertical":Xe},s.createElement(Qg,{id:ye,ref:J},c)),disabled:K,onVisibleChange:qe},$e)}var nt=s.createElement(Hr.Item,ve({role:"none"},C,{component:"li",style:n,className:q(G,"".concat(G,"-").concat(R),r,D(D(D(D({},"".concat(G,"-open"),W),"".concat(G,"-active"),fe),"".concat(G,"-selected"),le),"".concat(G,"-disabled"),K)),onMouseEnter:ce,onMouseLeave:de}),$e,!M&&s.createElement(a3,{id:ye,open:W,keyPath:U},c));return j&&(nt=j(nt,t,{selected:le,active:fe,open:W,disabled:K})),s.createElement(kl,{onItemClick:Ee,mode:R==="horizontal"?"vertical":R,itemIcon:ee,expandIcon:ae},nt)};function Jg(e){var t=e.eventKey,n=e.children,r=cs(t),o=Zg(n,r),i=Qu();s.useEffect(function(){if(i)return i.registerPath(t,r),function(){i.unregisterPath(t,r)}},[r]);var a;return i?a=o:a=s.createElement(c3,e,o),s.createElement(Zx.Provider,{value:r},a)}var u3=["className","title","eventKey","children"],d3=["children"],f3=function(t){var n=t.className,r=t.title;t.eventKey;var o=t.children,i=Ze(t,u3),a=s.useContext(Nr),l=a.prefixCls,c="".concat(l,"-item-group");return s.createElement("li",ve({role:"presentation"},i,{onClick:function(d){return d.stopPropagation()},className:q(c,n)}),s.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:typeof r=="string"?r:void 0},r),s.createElement("ul",{role:"group",className:"".concat(c,"-list")},o))};function iw(e){var t=e.children,n=Ze(e,d3),r=cs(n.eventKey),o=Zg(t,r),i=Qu();return i?o:s.createElement(f3,Gn(n,["warnKey"]),o)}function aw(e){var t=e.className,n=e.style,r=s.useContext(Nr),o=r.prefixCls,i=Qu();return i?null:s.createElement("li",{role:"separator",className:q("".concat(o,"-item-divider"),t),style:n})}var m3=["label","children","key","type"];function fv(e){return(e||[]).map(function(t,n){if(t&&tt(t)==="object"){var r=t,o=r.label,i=r.children,a=r.key,l=r.type,c=Ze(r,m3),u=a??"tmp-".concat(n);return i||l==="group"?l==="group"?s.createElement(iw,ve({key:u},c,{title:o}),fv(i)):s.createElement(Jg,ve({key:u},c,{title:o}),fv(i)):l==="divider"?s.createElement(aw,ve({key:u},c)):s.createElement(Zu,ve({key:u},c),o)}return null}).filter(function(t){return t})}function v3(e,t,n){var r=e;return t&&(r=fv(t)),Zg(r,n)}var g3=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Ti=[],p3=s.forwardRef(function(e,t){var n,r=e,o=r.prefixCls,i=o===void 0?"rc-menu":o,a=r.rootClassName,l=r.style,c=r.className,u=r.tabIndex,d=u===void 0?0:u,f=r.items,m=r.children,p=r.direction,b=r.id,h=r.mode,S=h===void 0?"vertical":h,v=r.inlineCollapsed,g=r.disabled,y=r.disabledOverflow,C=r.subMenuOpenDelay,$=C===void 0?.1:C,x=r.subMenuCloseDelay,w=x===void 0?.1:x,R=r.forceSubMenuRender,O=r.defaultOpenKeys,I=r.openKeys,M=r.activeKey,_=r.defaultActiveFirst,P=r.selectable,z=P===void 0?!0:P,A=r.multiple,N=A===void 0?!1:A,T=r.defaultSelectedKeys,E=r.selectedKeys,L=r.onSelect,j=r.onDeselect,F=r.inlineIndent,H=F===void 0?24:F,U=r.motion,G=r.defaultMotions,K=r.triggerSubMenuAction,ie=K===void 0?"hover":K,J=r.builtinPlacements,ee=r.itemIcon,ae=r.expandIcon,Q=r.overflowedIndicator,W=Q===void 0?"...":Q,le=r.overflowedIndicatorPopupClassName,se=r.getPopupContainer,ne=r.onClick,Y=r.onOpenChange,pe=r.onKeyDown;r.openAnimation,r.openTransitionName;var me=r._internalRenderMenuItem,re=r._internalRenderSubMenuItem,Z=Ze(r,g3),ue=s.useMemo(function(){return v3(m,f,Ti)},[m,f]),ce=s.useState(!1),de=k(ce,2),fe=de[0],xe=de[1],De=s.useRef(),Ee=G4(b),qe=p==="rtl",Oe=on(O,{value:I,postState:function(ct){return ct||Ti}}),ye=k(Oe,2),$e=ye[0],Ce=ye[1],Xe=function(ct){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function ke(){Ce(ct),Y==null||Y(ct)}_e?_o.flushSync(ke):ke()},nt=s.useState($e),Je=k(nt,2),at=Je[0],Ye=Je[1],We=s.useRef(!1),oe=s.useMemo(function(){return(S==="inline"||S==="vertical")&&v?["vertical",v]:[S,!1]},[S,v]),Re=k(oe,2),et=Re[0],dt=Re[1],Et=et==="inline",Ot=s.useState(et),Be=k(Ot,2),Le=Be[0],ut=Be[1],be=s.useState(dt),we=k(be,2),Ke=we[0],rt=we[1];s.useEffect(function(){ut(et),rt(dt),We.current&&(Et?Ce(at):Xe(Ti))},[et,dt]);var ge=s.useState(0),Se=k(ge,2),Me=Se[0],Fe=Se[1],Ge=Me>=ue.length-1||Le!=="horizontal"||y;s.useEffect(function(){Et&&Ye($e)},[$e]),s.useEffect(function(){return We.current=!0,function(){We.current=!1}},[]);var Ue=W4(),Rt=Ue.registerPath,Ct=Ue.unregisterPath,je=Ue.refreshOverflowKeys,Ie=Ue.isSubPathKey,lt=Ue.getKeyPath,Pe=Ue.getKeys,Ne=Ue.getSubPathKeys,Ve=s.useMemo(function(){return{registerPath:Rt,unregisterPath:Ct}},[Rt,Ct]),ot=s.useMemo(function(){return{isSubPathKey:Ie}},[Ie]);s.useEffect(function(){je(Ge?Ti:ue.slice(Me+1).map(function(ht){return ht.key}))},[Me,Ge]);var wt=on(M||_&&((n=ue[0])===null||n===void 0?void 0:n.key),{value:M}),xt=k(wt,2),$t=xt[0],cn=xt[1],Cn=el(function(ht){cn(ht)}),un=el(function(){cn(void 0)});s.useImperativeHandle(t,function(){return{list:De.current,focus:function(ct){var _e,ke=Pe(),vt=uv(ke,Ee),Ft=vt.elements,_t=vt.key2element,Yt=vt.element2key,pn=Xg(De.current,Ft),xn=$t??(pn[0]?Yt.get(pn[0]):(_e=ue.find(function(Tn){return!Tn.props.disabled}))===null||_e===void 0?void 0:_e.key),dn=_t.get(xn);if(xn&&dn){var Fn;dn==null||(Fn=dn.focus)===null||Fn===void 0||Fn.call(dn,ct)}}}});var Ht=on(T||[],{value:E,postState:function(ct){return Array.isArray(ct)?ct:ct==null?Ti:[ct]}}),qn=k(Ht,2),Xn=qn[0],He=qn[1],st=function(ct){if(z){var _e=ct.key,ke=Xn.includes(_e),vt;N?ke?vt=Xn.filter(function(_t){return _t!==_e}):vt=[].concat(Te(Xn),[_e]):vt=[_e],He(vt);var Ft=B(B({},ct),{},{selectedKeys:vt});ke?j==null||j(Ft):L==null||L(Ft)}!N&&$e.length&&Le!=="inline"&&Xe(Ti)},pt=el(function(ht){ne==null||ne(ou(ht)),st(ht)}),kt=el(function(ht,ct){var _e=$e.filter(function(vt){return vt!==ht});if(ct)_e.push(ht);else if(Le!=="inline"){var ke=Ne(ht);_e=_e.filter(function(vt){return!ke.has(vt)})}es($e,_e,!0)||Xe(_e,!0)}),gn=function(ct,_e){var ke=_e??!$e.includes(ct);kt(ct,ke)},_r=H4(Le,$t,qe,Ee,De,Pe,lt,cn,gn,pe);s.useEffect(function(){xe(!0)},[]);var zr=s.useMemo(function(){return{_internalRenderMenuItem:me,_internalRenderSubMenuItem:re}},[me,re]),Yn=Le!=="horizontal"||y?ue:ue.map(function(ht,ct){return s.createElement(kl,{key:ht.key,overflowDisabled:ct>Me},ht)}),so=s.createElement(Hr,ve({id:b,ref:De,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:Zu,className:q(i,"".concat(i,"-root"),"".concat(i,"-").concat(Le),c,D(D({},"".concat(i,"-inline-collapsed"),Ke),"".concat(i,"-rtl"),qe),a),dir:p,style:l,role:"menu",tabIndex:d,data:Yn,renderRawItem:function(ct){return ct},renderRawRest:function(ct){var _e=ct.length,ke=_e?ue.slice(-_e):null;return s.createElement(Jg,{eventKey:dv,title:W,disabled:Ge,internalPopupClose:_e===0,popupClassName:le},ke)},maxCount:Le!=="horizontal"||y?Hr.INVALIDATE:Hr.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(ct){Fe(ct)},onKeyDown:_r},Z));return s.createElement(qg.Provider,{value:zr},s.createElement(qx.Provider,{value:Ee},s.createElement(kl,{prefixCls:i,rootClassName:a,mode:Le,openKeys:$e,rtl:qe,disabled:g,motion:fe?U:null,defaultMotions:fe?G:null,activeKey:$t,onActive:Cn,onInactive:un,selectedKeys:Xn,inlineIndent:H,subMenuOpenDelay:$,subMenuCloseDelay:w,forceSubMenuRender:R,builtinPlacements:J,triggerSubMenuAction:ie,getPopupContainer:se,itemIcon:ee,expandIcon:ae,onItemClick:pt,onOpenChange:kt},s.createElement(Jx.Provider,{value:ot},so),s.createElement("div",{style:{display:"none"},"aria-hidden":!0},s.createElement(Qx.Provider,{value:Ve},ue)))))}),us=p3;us.Item=Zu;us.SubMenu=Jg;us.ItemGroup=iw;us.Divider=aw;var h3={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const y3=h3;var b3=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:y3}))},S3=s.forwardRef(b3);const C3=S3;var x3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const w3=x3;var $3=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:w3}))},E3=s.forwardRef($3);const Ca=E3,O3=e=>!isNaN(parseFloat(e))&&isFinite(e),lw=s.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var R3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),P3=s.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:o,children:i,defaultCollapsed:a=!1,theme:l="dark",style:c={},collapsible:u=!1,reverseArrow:d=!1,width:f=200,collapsedWidth:m=80,zeroWidthTriggerStyle:p,breakpoint:b,onCollapse:h,onBreakpoint:S}=e,v=R3(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:g}=s.useContext(lw),[y,C]=s.useState("collapsed"in e?e.collapsed:a),[$,x]=s.useState(!1);s.useEffect(()=>{"collapsed"in e&&C(e.collapsed)},[e.collapsed]);const w=(P,z)=>{"collapsed"in e||C(P),h==null||h(P,z)},R=s.useRef();R.current=P=>{x(P.matches),S==null||S(P.matches),y!==P.matches&&w(P.matches,"responsive")},s.useEffect(()=>{function P(A){return R.current(A)}let z;if(typeof window<"u"){const{matchMedia:A}=window;if(A&&b&&b in ay){z=A(`screen and (max-width: ${ay[b]})`);try{z.addEventListener("change",P)}catch{z.addListener(P)}P(z)}}return()=>{try{z==null||z.removeEventListener("change",P)}catch{z==null||z.removeListener(P)}}},[b]),s.useEffect(()=>{const P=I3("ant-sider-");return g.addSider(P),()=>g.removeSider(P)},[]);const O=()=>{w(!y,"clickTrigger")},{getPrefixCls:I}=s.useContext(it),M=()=>{const P=I("layout-sider",n),z=Gn(v,["collapsed"]),A=y?m:f,N=O3(A)?`${A}px`:String(A),T=parseFloat(String(m||0))===0?s.createElement("span",{onClick:O,className:q(`${P}-zero-width-trigger`,`${P}-zero-width-trigger-${d?"right":"left"}`),style:p},o||s.createElement(C3,null)):null,j={expanded:d?s.createElement(Hl,null):s.createElement(Ca,null),collapsed:d?s.createElement(Ca,null):s.createElement(Hl,null)}[y?"collapsed":"expanded"],F=o!==null?T||s.createElement("div",{className:`${P}-trigger`,onClick:O,style:{width:N}},o||j):null,H=Object.assign(Object.assign({},c),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),U=q(P,`${P}-${l}`,{[`${P}-collapsed`]:!!y,[`${P}-has-trigger`]:u&&o!==null&&!T,[`${P}-below`]:!!$,[`${P}-zero-width`]:parseFloat(N)===0},r);return s.createElement("aside",Object.assign({className:U},z,{style:H,ref:t}),s.createElement("div",{className:`${P}-children`},i),u||$&&T?F:null)},_=s.useMemo(()=>({siderCollapsed:y}),[y]);return s.createElement(sw.Provider,{value:_},M())}),cw=P3;var M3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const T3=M3;var N3=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:T3}))},_3=s.forwardRef(N3);const z3=_3;function uw(e){return Tt(e,{inputAffixPadding:e.paddingXXS})}const dw=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:c,paddingSM:u,controlPaddingHorizontalSM:d,controlPaddingHorizontal:f,colorFillAlter:m,colorPrimaryHover:p,colorPrimary:b,controlOutlineWidth:h,controlOutline:S,colorErrorOutline:v,colorWarningOutline:g,colorBgContainer:y}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-o,0),paddingBlockLG:Math.ceil((a-l*c)/2*10)/10-o,paddingInline:u-o,paddingInlineSM:d-o,paddingInlineLG:f-o,addonBg:m,activeBorderColor:b,hoverBorderColor:p,activeShadow:`0 0 0 ${h}px ${S}`,errorActiveShadow:`0 0 0 ${h}px ${v}`,warningActiveShadow:`0 0 0 ${h}px ${g}`,hoverBg:y,activeBg:y,inputFontSize:n,inputFontSizeLG:l,inputFontSizeSM:n}},L3=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Ju=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},L3(Tt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),ep=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),ly=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},ep(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),j3=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ep(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Ju(e))}),ly(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),ly(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),sy=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),A3=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},sy(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),sy(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},Ju(e))}})}),D3=(e,t)=>({"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled}},t)}),fw=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),cy=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},fw(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),F3=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},fw(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Ju(e))}),cy(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),cy(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),uy=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),B3=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${V(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${V(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},uy(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),uy(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),H3=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),mw=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:o}=e;return{padding:`${V(t)} ${V(o)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},tp=e=>({padding:`${V(e.paddingBlockSM)} ${V(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),np=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${V(e.paddingBlock)} ${V(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},H3(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},mw(e)),"&-sm":Object.assign({},tp(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),k3=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},mw(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},tp(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${V(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${V(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${V(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${V(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${V(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},ns()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` - & > ${t}-affix-wrapper, - & > ${t}-number-affix-wrapper, - & > ${n}-picker-range - `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, - & > ${n}-select-auto-complete ${t}, - & > ${n}-cascader-picker ${t}, - & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, - & > ${n}-select:first-child > ${n}-select-selector, - & > ${n}-select-auto-complete:first-child ${t}, - & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, - & > ${n}-select:last-child > ${n}-select-selector, - & > ${n}-cascader-picker:last-child ${t}, - & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-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}}}})}},V3=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,a=o(n).sub(o(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Kn(e)),np(e)),j3(e)),F3(e)),D3(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},W3=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${V(e.inputAffixPadding)}`}}}},U3=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},np(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,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:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),W3(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}})}},G3=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Kn(e)),k3(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:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},A3(e)),B3(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}}})})}},K3=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-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, - > ${t}, - ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},q3=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${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"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},X3=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},Y3=sn("Input",e=>{const t=Tt(e,uw(e));return[V3(t),q3(t),U3(t),G3(t),K3(t),X3(t),Ag(t)]},dw),Q3=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:i}=e,a=q({[`${t}-lg`]:o==="large",[`${t}-sm`]:o==="small"}),l=q({[`${t}-circle`]:i==="circle",[`${t}-square`]:i==="square",[`${t}-round`]:i==="round"}),c=s.useMemo(()=>typeof o=="number"?{width:o,height:o,lineHeight:`${o}px`}:{},[o]);return s.createElement("span",{className:q(t,a,l,n),style:Object.assign(Object.assign({},c),r)})},ed=Q3,Z3=new St("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),td=e=>({height:e,lineHeight:V(e)}),aa=e=>Object.assign({width:e},td(e)),J3=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Z3,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),uf=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},td(e)),eL=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},aa(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},aa(o)),[`${t}${t}-sm`]:Object.assign({},aa(i))}},tL=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},uf(t,l)),[`${r}-lg`]:Object.assign({},uf(o,l)),[`${r}-sm`]:Object.assign({},uf(i,l))}},dy=e=>Object.assign({width:e},td(e)),nL=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},dy(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},dy(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},df=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},ff=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},td(e)),rL=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:l(r).mul(2).equal(),minWidth:l(r).mul(2).equal()},ff(r,l))},df(e,r,n)),{[`${n}-lg`]:Object.assign({},ff(o,l))}),df(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},ff(i,l))}),df(e,i,`${n}-sm`))},oL=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:l,controlHeight:c,controlHeightLG:u,controlHeightSM:d,gradientFromColor:f,padding:m,marginSM:p,borderRadius:b,titleHeight:h,blockRadius:S,paragraphLiHeight:v,controlHeightXS:g,paragraphMarginTop:y}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:m,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},aa(c)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},aa(u)),[`${n}-sm`]:Object.assign({},aa(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:h,background:f,borderRadius:S,[`+ ${o}`]:{marginBlockStart:d}},[`${o}`]:{padding:0,"> li":{width:"100%",height:v,listStyle:"none",background:f,borderRadius:S,"+ li":{marginBlockStart:g}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:b}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:p,[`+ ${o}`]:{marginBlockStart:y}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},rL(e)),eL(e)),tL(e)),nL(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${r}, - ${o} > li, - ${n}, - ${i}, - ${a}, - ${l} - `]:Object.assign({},J3(e))}}},iL=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},Ia=sn("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Tt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[oL(r)]},iL,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),aL=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:l}=s.useContext(it),c=l("skeleton",t),[u,d,f]=Ia(c),m=Gn(e,["prefixCls","className"]),p=q(c,`${c}-element`,{[`${c}-active`]:o},n,r,d,f);return u(s.createElement("div",{className:p},s.createElement(ed,Object.assign({prefixCls:`${c}-avatar`,shape:i,size:a},m))))},lL=aL,sL=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:l}=s.useContext(it),c=l("skeleton",t),[u,d,f]=Ia(c),m=Gn(e,["prefixCls"]),p=q(c,`${c}-element`,{[`${c}-active`]:o,[`${c}-block`]:i},n,r,d,f);return u(s.createElement("div",{className:p},s.createElement(ed,Object.assign({prefixCls:`${c}-button`,size:a},m))))},cL=sL,uL="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",dL=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=s.useContext(it),l=a("skeleton",t),[c,u,d]=Ia(l),f=q(l,`${l}-element`,{[`${l}-active`]:i},n,r,u,d);return c(s.createElement("div",{className:f},s.createElement("div",{className:q(`${l}-image`,n),style:o},s.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},s.createElement("path",{d:uL,className:`${l}-image-path`})))))},fL=dL,mL=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:l}=s.useContext(it),c=l("skeleton",t),[u,d,f]=Ia(c),m=Gn(e,["prefixCls"]),p=q(c,`${c}-element`,{[`${c}-active`]:o,[`${c}-block`]:i},n,r,d,f);return u(s.createElement("div",{className:p},s.createElement(ed,Object.assign({prefixCls:`${c}-input`,size:a},m))))},vL=mL;var gL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};const pL=gL;var hL=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:pL}))},yL=s.forwardRef(hL);const bL=yL,SL=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:l}=s.useContext(it),c=l("skeleton",t),[u,d,f]=Ia(c),m=q(c,`${c}-element`,{[`${c}-active`]:i},d,n,r,f),p=a??s.createElement(bL,null);return u(s.createElement("div",{className:m},s.createElement("div",{className:q(`${c}-image`,n),style:o},p)))},CL=SL,xL=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},wL=e=>{const{prefixCls:t,className:n,style:r,rows:o}=e,i=Te(Array(o)).map((a,l)=>s.createElement("li",{key:l,style:{width:xL(l,e)}}));return s.createElement("ul",{className:q(t,n),style:r},i)},$L=wL,EL=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return s.createElement("h3",{className:q(t,n),style:Object.assign({width:r},o)})},OL=EL;function mf(e){return e&&typeof e=="object"?e:{}}function RL(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function IL(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function PL(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Pa=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:l=!1,title:c=!0,paragraph:u=!0,active:d,round:f}=e,{getPrefixCls:m,direction:p,skeleton:b}=s.useContext(it),h=m("skeleton",t),[S,v,g]=Ia(h);if(n||!("loading"in e)){const y=!!l,C=!!c,$=!!u;let x;if(y){const O=Object.assign(Object.assign({prefixCls:`${h}-avatar`},RL(C,$)),mf(l));x=s.createElement("div",{className:`${h}-header`},s.createElement(ed,Object.assign({},O)))}let w;if(C||$){let O;if(C){const M=Object.assign(Object.assign({prefixCls:`${h}-title`},IL(y,$)),mf(c));O=s.createElement(OL,Object.assign({},M))}let I;if($){const M=Object.assign(Object.assign({prefixCls:`${h}-paragraph`},PL(y,C)),mf(u));I=s.createElement($L,Object.assign({},M))}w=s.createElement("div",{className:`${h}-content`},O,I)}const R=q(h,{[`${h}-with-avatar`]:y,[`${h}-active`]:d,[`${h}-rtl`]:p==="rtl",[`${h}-round`]:f},b==null?void 0:b.className,r,o,v,g);return S(s.createElement("div",{className:R,style:Object.assign(Object.assign({},b==null?void 0:b.style),i)},x,w))}return a??null};Pa.Button=cL;Pa.Avatar=lL;Pa.Input=vL;Pa.Image=fL;Pa.Node=CL;const ML=Pa;var TL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const NL=TL;var _L=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:NL}))},zL=s.forwardRef(_L);const LL=zL,nd=s.createContext(null);var jL=function(t){var n=t.activeTabOffset,r=t.horizontal,o=t.rtl,i=t.indicator,a=i===void 0?{}:i,l=a.size,c=a.align,u=c===void 0?"center":c,d=s.useState(),f=k(d,2),m=f[0],p=f[1],b=s.useRef(),h=X.useCallback(function(v){return typeof l=="function"?l(v):typeof l=="number"?l:v},[l]);function S(){Pt.cancel(b.current)}return s.useEffect(function(){var v={};if(n)if(r){v.width=h(n.width);var g=o?"right":"left";u==="start"&&(v[g]=n[g]),u==="center"&&(v[g]=n[g]+n.width/2,v.transform=o?"translateX(50%)":"translateX(-50%)"),u==="end"&&(v[g]=n[g]+n.width,v.transform="translateX(-100%)")}else v.height=h(n.height),u==="start"&&(v.top=n.top),u==="center"&&(v.top=n.top+n.height/2,v.transform="translateY(-50%)"),u==="end"&&(v.top=n.top+n.height,v.transform="translateY(-100%)");return S(),b.current=Pt(function(){p(v)}),S},[n,r,o,u,h]),{style:m}},fy={width:0,height:0,left:0,top:0};function AL(e,t,n){return s.useMemo(function(){for(var r,o=new Map,i=t.get((r=e[0])===null||r===void 0?void 0:r.key)||fy,a=i.left+i.width,l=0;lz?(_=I,x.current="x"):(_=M,x.current="y"),t(-_,-_)&&O.preventDefault()}var R=s.useRef(null);R.current={onTouchStart:y,onTouchMove:C,onTouchEnd:$,onWheel:w},s.useEffect(function(){function O(P){R.current.onTouchStart(P)}function I(P){R.current.onTouchMove(P)}function M(P){R.current.onTouchEnd(P)}function _(P){R.current.onWheel(P)}return document.addEventListener("touchmove",I,{passive:!1}),document.addEventListener("touchend",M,{passive:!1}),e.current.addEventListener("touchstart",O,{passive:!1}),e.current.addEventListener("wheel",_),function(){document.removeEventListener("touchmove",I),document.removeEventListener("touchend",M)}},[])}function vw(e){var t=s.useState(0),n=k(t,2),r=n[0],o=n[1],i=s.useRef(0),a=s.useRef();return a.current=e,Em(function(){var l;(l=a.current)===null||l===void 0||l.call(a)},[r]),function(){i.current===r&&(i.current+=1,o(i.current))}}function BL(e){var t=s.useRef([]),n=s.useState({}),r=k(n,2),o=r[1],i=s.useRef(typeof e=="function"?e():e),a=vw(function(){var c=i.current;t.current.forEach(function(u){c=u(c)}),t.current=[],i.current=c,o({})});function l(c){t.current.push(c),a()}return[i.current,l]}var py={width:0,height:0,left:0,top:0,right:0};function HL(e,t,n,r,o,i,a){var l=a.tabs,c=a.tabPosition,u=a.rtl,d,f,m;return["top","bottom"].includes(c)?(d="width",f=u?"right":"left",m=Math.abs(n)):(d="height",f="top",m=-n),s.useMemo(function(){if(!l.length)return[0,0];for(var p=l.length,b=p,h=0;hm+t){b=h-1;break}}for(var v=0,g=p-1;g>=0;g-=1){var y=e.get(l[g].key)||py;if(y[f]=b?[0,0]:[v,b]},[e,t,r,o,i,m,c,l.map(function(p){return p.key}).join("_"),u])}function hy(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var kL="TABS_DQ";function gw(e){return String(e).replace(/"/g,kL)}function pw(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var hw=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,o=e.locale,i=e.style;return!r||r.showAdd===!1?null:s.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(o==null?void 0:o.addAriaLabel)||"Add tab",onClick:function(l){r.onEdit("add",{event:l})}},r.addIcon||"+")}),yy=s.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,o=e.extra;if(!o)return null;var i,a={};return tt(o)==="object"&&!s.isValidElement(o)?a=o:a.right=o,n==="right"&&(i=a.right),n==="left"&&(i=a.left),i?s.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},i):null}),VL=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,o=e.tabs,i=e.locale,a=e.mobile,l=e.moreIcon,c=l===void 0?"More":l,u=e.moreTransitionName,d=e.style,f=e.className,m=e.editable,p=e.tabBarGutter,b=e.rtl,h=e.removeAriaLabel,S=e.onTabClick,v=e.getPopupContainer,g=e.popupClassName,y=s.useState(!1),C=k(y,2),$=C[0],x=C[1],w=s.useState(null),R=k(w,2),O=R[0],I=R[1],M="".concat(r,"-more-popup"),_="".concat(n,"-dropdown"),P=O!==null?"".concat(M,"-").concat(O):null,z=i==null?void 0:i.dropdownAriaLabel;function A(H,U){H.preventDefault(),H.stopPropagation(),m.onEdit("remove",{key:U,event:H})}var N=s.createElement(us,{onClick:function(U){var G=U.key,K=U.domEvent;S(G,K),x(!1)},prefixCls:"".concat(_,"-menu"),id:M,tabIndex:-1,role:"listbox","aria-activedescendant":P,selectedKeys:[O],"aria-label":z!==void 0?z:"expanded dropdown"},o.map(function(H){var U=H.closable,G=H.disabled,K=H.closeIcon,ie=H.key,J=H.label,ee=pw(U,K,m,G);return s.createElement(Zu,{key:ie,id:"".concat(M,"-").concat(ie),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(ie),disabled:G},s.createElement("span",null,J),ee&&s.createElement("button",{type:"button","aria-label":h||"remove",tabIndex:0,className:"".concat(_,"-menu-item-remove"),onClick:function(Q){Q.stopPropagation(),A(Q,ie)}},K||m.removeIcon||"×"))}));function T(H){for(var U=o.filter(function(ee){return!ee.disabled}),G=U.findIndex(function(ee){return ee.key===O})||0,K=U.length,ie=0;ieIe?"left":"right"})}),P=k(_,2),z=P[0],A=P[1],N=my(0,function(je,Ie){!M&&h&&h({direction:je>Ie?"top":"bottom"})}),T=k(N,2),E=T[0],L=T[1],j=s.useState([0,0]),F=k(j,2),H=F[0],U=F[1],G=s.useState([0,0]),K=k(G,2),ie=K[0],J=K[1],ee=s.useState([0,0]),ae=k(ee,2),Q=ae[0],W=ae[1],le=s.useState([0,0]),se=k(le,2),ne=se[0],Y=se[1],pe=BL(new Map),me=k(pe,2),re=me[0],Z=me[1],ue=AL(y,re,ie[0]),ce=Us(H,M),de=Us(ie,M),fe=Us(Q,M),xe=Us(ne,M),De=ceye?ye:je}var Ce=s.useRef(null),Xe=s.useState(),nt=k(Xe,2),Je=nt[0],at=nt[1];function Ye(){at(Date.now())}function We(){Ce.current&&clearTimeout(Ce.current)}FL(w,function(je,Ie){function lt(Pe,Ne){Pe(function(Ve){var ot=$e(Ve+Ne);return ot})}return De?(M?lt(A,je):lt(L,Ie),We(),Ye(),!0):!1}),s.useEffect(function(){return We(),Je&&(Ce.current=setTimeout(function(){at(0)},100)),We},[Je]);var oe=HL(ue,Ee,M?z:E,de,fe,xe,B(B({},e),{},{tabs:y})),Re=k(oe,2),et=Re[0],dt=Re[1],Et=Hn(function(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a,Ie=ue.get(je)||{width:0,height:0,left:0,right:0,top:0};if(M){var lt=z;l?Ie.rightz+Ee&&(lt=Ie.right+Ie.width-Ee):Ie.left<-z?lt=-Ie.left:Ie.left+Ie.width>-z+Ee&&(lt=-(Ie.left+Ie.width-Ee)),L(0),A($e(lt))}else{var Pe=E;Ie.top<-E?Pe=-Ie.top:Ie.top+Ie.height>-E+Ee&&(Pe=-(Ie.top+Ie.height-Ee)),A(0),L($e(Pe))}}),Ot={};f==="top"||f==="bottom"?Ot[l?"marginRight":"marginLeft"]=m:Ot.marginTop=m;var Be=y.map(function(je,Ie){var lt=je.key;return s.createElement(UL,{id:o,prefixCls:g,key:lt,tab:je,style:Ie===0?void 0:Ot,closable:je.closable,editable:u,active:lt===a,renderWrapper:p,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(Ne){b(lt,Ne)},onFocus:function(){Et(lt),Ye(),w.current&&(l||(w.current.scrollLeft=0),w.current.scrollTop=0)}})}),Le=function(){return Z(function(){var Ie,lt=new Map,Pe=(Ie=R.current)===null||Ie===void 0?void 0:Ie.getBoundingClientRect();return y.forEach(function(Ne){var Ve,ot=Ne.key,wt=(Ve=R.current)===null||Ve===void 0?void 0:Ve.querySelector('[data-node-key="'.concat(gw(ot),'"]'));if(wt){var xt=GL(wt,Pe),$t=k(xt,4),cn=$t[0],Cn=$t[1],un=$t[2],Ht=$t[3];lt.set(ot,{width:cn,height:Cn,left:un,top:Ht})}}),lt})};s.useEffect(function(){Le()},[y.map(function(je){return je.key}).join("_")]);var ut=vw(function(){var je=Ni(C),Ie=Ni($),lt=Ni(x);U([je[0]-Ie[0]-lt[0],je[1]-Ie[1]-lt[1]]);var Pe=Ni(I);W(Pe);var Ne=Ni(O);Y(Ne);var Ve=Ni(R);J([Ve[0]-Pe[0],Ve[1]-Pe[1]]),Le()}),be=y.slice(0,et),we=y.slice(dt+1),Ke=[].concat(Te(be),Te(we)),rt=ue.get(a),ge=jL({activeTabOffset:rt,horizontal:M,indicator:S,rtl:l}),Se=ge.style;s.useEffect(function(){Et()},[a,Oe,ye,hy(rt),hy(ue),M]),s.useEffect(function(){ut()},[l]);var Me=!!Ke.length,Fe="".concat(g,"-nav-wrap"),Ge,Ue,Rt,Ct;return M?l?(Ue=z>0,Ge=z!==ye):(Ge=z<0,Ue=z!==Oe):(Rt=E<0,Ct=E!==Oe),s.createElement(vr,{onResize:ut},s.createElement("div",{ref:gi(t,C),role:"tablist",className:q("".concat(g,"-nav"),n),style:r,onKeyDown:function(){Ye()}},s.createElement(yy,{ref:$,position:"left",extra:c,prefixCls:g}),s.createElement(vr,{onResize:ut},s.createElement("div",{className:q(Fe,D(D(D(D({},"".concat(Fe,"-ping-left"),Ge),"".concat(Fe,"-ping-right"),Ue),"".concat(Fe,"-ping-top"),Rt),"".concat(Fe,"-ping-bottom"),Ct)),ref:w},s.createElement(vr,{onResize:ut},s.createElement("div",{ref:R,className:"".concat(g,"-nav-list"),style:{transform:"translate(".concat(z,"px, ").concat(E,"px)"),transition:Je?"none":void 0}},Be,s.createElement(hw,{ref:I,prefixCls:g,locale:d,editable:u,style:B(B({},Be.length===0?void 0:Ot),{},{visibility:Me?"hidden":null})}),s.createElement("div",{className:q("".concat(g,"-ink-bar"),D({},"".concat(g,"-ink-bar-animated"),i.inkBar)),style:Se}))))),s.createElement(WL,ve({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:O,prefixCls:g,tabs:Ke,className:!Me&&qe,tabMoving:!!Je})),s.createElement(yy,{ref:x,position:"right",extra:c,prefixCls:g})))}),yw=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.id,a=e.active,l=e.tabKey,c=e.children;return s.createElement("div",{id:i&&"".concat(i,"-panel-").concat(l),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(l),"aria-hidden":!a,style:o,className:q(n,a&&"".concat(n,"-active"),r),ref:t},c)}),KL=["renderTabBar"],qL=["label","key"],XL=function(t){var n=t.renderTabBar,r=Ze(t,KL),o=s.useContext(nd),i=o.tabs;if(n){var a=B(B({},r),{},{panes:i.map(function(l){var c=l.label,u=l.key,d=Ze(l,qL);return s.createElement(yw,ve({tab:c,key:u,tabKey:u},d))})});return n(a,by)}return s.createElement(by,r)},YL=["key","forceRender","style","className","destroyInactiveTabPane"],QL=function(t){var n=t.id,r=t.activeKey,o=t.animated,i=t.tabPosition,a=t.destroyInactiveTabPane,l=s.useContext(nd),c=l.prefixCls,u=l.tabs,d=o.tabPane,f="".concat(c,"-tabpane");return s.createElement("div",{className:q("".concat(c,"-content-holder"))},s.createElement("div",{className:q("".concat(c,"-content"),"".concat(c,"-content-").concat(i),D({},"".concat(c,"-content-animated"),d))},u.map(function(m){var p=m.key,b=m.forceRender,h=m.style,S=m.className,v=m.destroyInactiveTabPane,g=Ze(m,YL),y=p===r;return s.createElement(kr,ve({key:p,visible:y,forceRender:b,removeOnLeave:!!(a||v),leavedClassName:"".concat(f,"-hidden")},o.tabPaneMotion),function(C,$){var x=C.style,w=C.className;return s.createElement(yw,ve({},g,{prefixCls:f,id:n,tabKey:p,animated:d,active:y,style:B(B({},h),x),className:q(S,w),ref:$}))})})))};function ZL(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=B({inkBar:!0},tt(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var JL=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],Sy=0,e5=s.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,o=r===void 0?"rc-tabs":r,i=e.className,a=e.items,l=e.direction,c=e.activeKey,u=e.defaultActiveKey,d=e.editable,f=e.animated,m=e.tabPosition,p=m===void 0?"top":m,b=e.tabBarGutter,h=e.tabBarStyle,S=e.tabBarExtraContent,v=e.locale,g=e.moreIcon,y=e.moreTransitionName,C=e.destroyInactiveTabPane,$=e.renderTabBar,x=e.onChange,w=e.onTabClick,R=e.onTabScroll,O=e.getPopupContainer,I=e.popupClassName,M=e.indicator,_=Ze(e,JL),P=s.useMemo(function(){return(a||[]).filter(function(Y){return Y&&tt(Y)==="object"&&"key"in Y})},[a]),z=l==="rtl",A=ZL(f),N=s.useState(!1),T=k(N,2),E=T[0],L=T[1];s.useEffect(function(){L(Hg())},[]);var j=on(function(){var Y;return(Y=P[0])===null||Y===void 0?void 0:Y.key},{value:c,defaultValue:u}),F=k(j,2),H=F[0],U=F[1],G=s.useState(function(){return P.findIndex(function(Y){return Y.key===H})}),K=k(G,2),ie=K[0],J=K[1];s.useEffect(function(){var Y=P.findIndex(function(me){return me.key===H});if(Y===-1){var pe;Y=Math.max(0,Math.min(ie,P.length-1)),U((pe=P[Y])===null||pe===void 0?void 0:pe.key)}J(Y)},[P.map(function(Y){return Y.key}).join("_"),H,ie]);var ee=on(null,{value:n}),ae=k(ee,2),Q=ae[0],W=ae[1];s.useEffect(function(){n||(W("rc-tabs-".concat(Sy)),Sy+=1)},[]);function le(Y,pe){w==null||w(Y,pe);var me=Y!==H;U(Y),me&&(x==null||x(Y))}var se={id:Q,activeKey:H,animated:A,tabPosition:p,rtl:z,mobile:E},ne=B(B({},se),{},{editable:d,locale:v,moreIcon:g,moreTransitionName:y,tabBarGutter:b,onTabClick:le,onTabScroll:R,extra:S,style:h,panes:null,getPopupContainer:O,popupClassName:I,indicator:M});return s.createElement(nd.Provider,{value:{tabs:P,prefixCls:o}},s.createElement("div",ve({ref:t,id:n,className:q(o,"".concat(o,"-").concat(p),D(D(D({},"".concat(o,"-mobile"),E),"".concat(o,"-editable"),d),"".concat(o,"-rtl"),z),i)},_),s.createElement(XL,ve({},ne,{renderTabBar:$})),s.createElement(QL,ve({destroyInactiveTabPane:C},se,{animated:A}))))});const t5={motionAppear:!1,motionEnter:!0,motionLeave:!0};function n5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},t5),{motionName:di(e,"switch")})),n}var r5=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);ot)}function i5(e,t){if(e)return e;const n=hr(t).map(r=>{if(s.isValidElement(r)){const{key:o,props:i}=r,a=i||{},{tab:l}=a,c=r5(a,["tab"]);return Object.assign(Object.assign({key:String(o)},c),{label:l})}return null});return o5(n)}const a5=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[tu(e,"slide-up"),tu(e,"slide-down")]]},l5=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${V(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:V(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:V(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${V(e.borderRadiusLG)} 0 0 ${V(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},s5=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},Kn(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${V(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},si),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${V(e.paddingXXS)} ${V(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},c5=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${V(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, - right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:V(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},u5=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${V(e.borderRadius)} ${V(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${V(e.borderRadius)} ${V(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${V(e.borderRadius)} ${V(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${V(e.borderRadius)} 0 0 ${V(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},d5=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:l,itemColor:c}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},rs(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${u}-active ${u}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:i}}}},f5=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:V(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:V(e.marginXS)},marginLeft:{_skip_check_:!0,value:V(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},m5=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Kn(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${V(e.paddingXS)}`,background:"transparent",border:`${V(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},rs(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),d5(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},v5=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},g5=sn("Tabs",e=>{const t=Tt(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${V(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${V(e.horizontalItemGutter)}`});return[u5(t),f5(t),c5(t),s5(t),l5(t),m5(t),a5(t)]},v5),p5=()=>null,h5=p5;var y5=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var t,n,r,o,i,a,l,c;const{type:u,className:d,rootClassName:f,size:m,onEdit:p,hideAdd:b,centered:h,addIcon:S,removeIcon:v,moreIcon:g,popupClassName:y,children:C,items:$,animated:x,style:w,indicatorSize:R,indicator:O}=e,I=y5(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:M}=I,{direction:_,tabs:P,getPrefixCls:z,getPopupContainer:A}=s.useContext(it),N=z("tabs",M),T=os(N),[E,L,j]=g5(N,T);let F;u==="editable-card"&&(F={onEdit:(ee,ae)=>{let{key:Q,event:W}=ae;p==null||p(ee==="add"?W:Q,ee)},removeIcon:(t=v??(P==null?void 0:P.removeIcon))!==null&&t!==void 0?t:s.createElement(_g,null),addIcon:(S??(P==null?void 0:P.addIcon))||s.createElement(LL,null),showAdd:b!==!0});const H=z(),U=Do(m),G=i5($,C),K=n5(N,x),ie=Object.assign(Object.assign({},P==null?void 0:P.style),w),J={align:(n=O==null?void 0:O.align)!==null&&n!==void 0?n:(r=P==null?void 0:P.indicator)===null||r===void 0?void 0:r.align,size:(l=(i=(o=O==null?void 0:O.size)!==null&&o!==void 0?o:R)!==null&&i!==void 0?i:(a=P==null?void 0:P.indicator)===null||a===void 0?void 0:a.size)!==null&&l!==void 0?l:P==null?void 0:P.indicatorSize};return E(s.createElement(e5,Object.assign({direction:_,getPopupContainer:A,moreTransitionName:`${H}-slide-up`},I,{items:G,className:q({[`${N}-${U}`]:U,[`${N}-card`]:["card","editable-card"].includes(u),[`${N}-editable-card`]:u==="editable-card",[`${N}-centered`]:h},P==null?void 0:P.className,d,f,L,j,T),popupClassName:q(y,L,j,T),style:ie,editable:F,moreIcon:(c=g??(P==null?void 0:P.moreIcon))!==null&&c!==void 0?c:s.createElement(z3,null),prefixCls:N,animated:K,indicator:J})))};bw.TabPane=h5;const b5=bw;var S5=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:n,hoverable:r=!0}=e,o=S5(e,["prefixCls","className","hoverable"]);const{getPrefixCls:i}=s.useContext(it),a=i("card",t),l=q(`${a}-grid`,n,{[`${a}-grid-hoverable`]:r});return s.createElement("div",Object.assign({},o,{className:l}))},Sw=C5,x5=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:o,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${V(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)} 0 0`},ns()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},si),{[` - > ${n}-typography, - > ${n}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},w5=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` - ${V(o)} 0 0 0 ${n}, - 0 ${V(o)} 0 0 ${n}, - ${V(o)} ${V(o)} 0 0 ${n}, - ${V(o)} 0 0 0 ${n} inset, - 0 ${V(o)} 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},$5=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${V(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)}`},ns()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:V(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:V(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${V(e.lineWidth)} ${e.lineType} ${i}`}}})},E5=e=>Object.assign(Object.assign({margin:`${V(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},ns()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},si),"&-description":{color:e.colorTextDescription}}),O5=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${V(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${V(e.padding)} ${V(n)}`}}},R5=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},I5=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:i,boxShadowTertiary:a,cardPaddingBase:l,extraColor:c}=e;return{[n]:Object.assign(Object.assign({},Kn(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:x5(e),[`${n}-extra`]:{marginInlineStart:"auto",color:c,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)}`},ns()),[`${n}-grid`]:w5(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:$5(e),[`${n}-meta`]:E5(e)}),[`${n}-bordered`]:{border:`${V(e.lineWidth)} ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:O5(e),[`${n}-loading`]:R5(e),[`${n}-rtl`]:{direction:"rtl"}}},P5=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${V(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},M5=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),T5=sn("Card",e=>{const t=Tt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[I5(t),P5(t)]},M5);var Cy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return s.createElement("ul",{className:t,style:r},n.map((o,i)=>{const a=`action-${i}`;return s.createElement("li",{style:{width:`${100/n.length}%`},key:a},s.createElement("span",null,o))}))},_5=s.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:o,style:i,extra:a,headStyle:l={},bodyStyle:c={},title:u,loading:d,bordered:f=!0,size:m,type:p,cover:b,actions:h,tabList:S,children:v,activeTabKey:g,defaultActiveTabKey:y,tabBarExtraContent:C,hoverable:$,tabProps:x={},classNames:w,styles:R}=e,O=Cy(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:I,direction:M,card:_}=s.useContext(it),P=re=>{var Z;(Z=e.onTabChange)===null||Z===void 0||Z.call(e,re)},z=re=>{var Z;return q((Z=_==null?void 0:_.classNames)===null||Z===void 0?void 0:Z[re],w==null?void 0:w[re])},A=re=>{var Z;return Object.assign(Object.assign({},(Z=_==null?void 0:_.styles)===null||Z===void 0?void 0:Z[re]),R==null?void 0:R[re])},N=s.useMemo(()=>{let re=!1;return s.Children.forEach(v,Z=>{Z&&Z.type&&Z.type===Sw&&(re=!0)}),re},[v]),T=I("card",n),[E,L,j]=T5(T),F=s.createElement(ML,{loading:!0,active:!0,paragraph:{rows:4},title:!1},v),H=g!==void 0,U=Object.assign(Object.assign({},x),{[H?"activeKey":"defaultActiveKey"]:H?g:y,tabBarExtraContent:C});let G;const K=Do(m),ie=!K||K==="default"?"large":K,J=S?s.createElement(b5,Object.assign({size:ie},U,{className:`${T}-head-tabs`,onChange:P,items:S.map(re=>{var{tab:Z}=re,ue=Cy(re,["tab"]);return Object.assign({label:Z},ue)})})):null;if(u||a||J){const re=q(`${T}-head`,z("header")),Z=q(`${T}-head-title`,z("title")),ue=q(`${T}-extra`,z("extra")),ce=Object.assign(Object.assign({},l),A("header"));G=s.createElement("div",{className:re,style:ce},s.createElement("div",{className:`${T}-head-wrapper`},u&&s.createElement("div",{className:Z,style:A("title")},u),a&&s.createElement("div",{className:ue,style:A("extra")},a)),J)}const ee=q(`${T}-cover`,z("cover")),ae=b?s.createElement("div",{className:ee,style:A("cover")},b):null,Q=q(`${T}-body`,z("body")),W=Object.assign(Object.assign({},c),A("body")),le=s.createElement("div",{className:Q,style:W},d?F:v),se=q(`${T}-actions`,z("actions")),ne=h&&h.length?s.createElement(N5,{actionClasses:se,actionStyle:A("actions"),actions:h}):null,Y=Gn(O,["onTabChange"]),pe=q(T,_==null?void 0:_.className,{[`${T}-loading`]:d,[`${T}-bordered`]:f,[`${T}-hoverable`]:$,[`${T}-contain-grid`]:N,[`${T}-contain-tabs`]:S&&S.length,[`${T}-${K}`]:K,[`${T}-type-${p}`]:!!p,[`${T}-rtl`]:M==="rtl"},r,o,L,j),me=Object.assign(Object.assign({},_==null?void 0:_.style),i);return E(s.createElement("div",Object.assign({ref:t},Y,{className:pe,style:me}),G,ae,le,ne))}),z5=_5;var L5=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,avatar:r,title:o,description:i}=e,a=L5(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:l}=s.useContext(it),c=l("card",t),u=q(`${c}-meta`,n),d=r?s.createElement("div",{className:`${c}-meta-avatar`},r):null,f=o?s.createElement("div",{className:`${c}-meta-title`},o):null,m=i?s.createElement("div",{className:`${c}-meta-description`},i):null,p=f||m?s.createElement("div",{className:`${c}-meta-detail`},f,m):null;return s.createElement("div",Object.assign({},a,{className:u}),d,p)},A5=j5,rp=z5;rp.Grid=Sw;rp.Meta=A5;const xy=rp;function D5(e,t,n){var r=n||{},o=r.noTrailing,i=o===void 0?!1:o,a=r.noLeading,l=a===void 0?!1:a,c=r.debounceMode,u=c===void 0?void 0:c,d,f=!1,m=0;function p(){d&&clearTimeout(d)}function b(S){var v=S||{},g=v.upcomingOnly,y=g===void 0?!1:g;p(),f=!y}function h(){for(var S=arguments.length,v=new Array(S),g=0;ge?l?(m=Date.now(),i||(d=setTimeout(u?x:$,e))):$():i!==!0&&(d=setTimeout(u?x:$,u===void 0?e-C:e))}return h.cancel=b,h}function F5(e,t,n){var r=n||{},o=r.atBegin,i=o===void 0?!1:o;return D5(e,t,{debounceMode:i!==!1})}const B5=s.createContext({}),Cw=B5,H5=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},k5=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},V5=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:o}=e,i={};for(let a=o;a>=0;a--)a===0?(i[`${r}${t}-${a}`]={display:"none"},i[`${r}-push-${a}`]={insetInlineStart:"auto"},i[`${r}-pull-${a}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${a}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${a}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${a}`]={marginInlineStart:0},i[`${r}${t}-order-${a}`]={order:0}):(i[`${r}${t}-${a}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${a/o*100}%`,maxWidth:`${a/o*100}%`}],i[`${r}${t}-push-${a}`]={insetInlineStart:`${a/o*100}%`},i[`${r}${t}-pull-${a}`]={insetInlineEnd:`${a/o*100}%`},i[`${r}${t}-offset-${a}`]={marginInlineStart:`${a/o*100}%`},i[`${r}${t}-order-${a}`]={order:a});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i},mv=(e,t)=>V5(e,t),W5=(e,t,n)=>({[`@media (min-width: ${V(t)})`]:Object.assign({},mv(e,n))}),U5=()=>({}),G5=()=>({}),K5=sn("Grid",H5,U5),q5=sn("Grid",e=>{const t=Tt(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[k5(t),mv(t,""),mv(t,"-xs"),Object.keys(n).map(r=>W5(t,n[r],r)).reduce((r,o)=>Object.assign(Object.assign({},r),o),{})]},G5);var X5=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:n,direction:r}=s.useContext(it),{gutter:o,wrap:i}=s.useContext(Cw),{prefixCls:a,span:l,order:c,offset:u,push:d,pull:f,className:m,children:p,flex:b,style:h}=e,S=X5(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),v=n("col",a),[g,y,C]=q5(v),$={};let x={};Y5.forEach(O=>{let I={};const M=e[O];typeof M=="number"?I.span=M:typeof M=="object"&&(I=M||{}),delete S[O],x=Object.assign(Object.assign({},x),{[`${v}-${O}-${I.span}`]:I.span!==void 0,[`${v}-${O}-order-${I.order}`]:I.order||I.order===0,[`${v}-${O}-offset-${I.offset}`]:I.offset||I.offset===0,[`${v}-${O}-push-${I.push}`]:I.push||I.push===0,[`${v}-${O}-pull-${I.pull}`]:I.pull||I.pull===0,[`${v}-rtl`]:r==="rtl"}),I.flex&&(x[`${v}-${O}-flex`]=!0,$[`--${v}-${O}-flex`]=wy(I.flex))});const w=q(v,{[`${v}-${l}`]:l!==void 0,[`${v}-order-${c}`]:c,[`${v}-offset-${u}`]:u,[`${v}-push-${d}`]:d,[`${v}-pull-${f}`]:f},m,x,y,C),R={};if(o&&o[0]>0){const O=o[0]/2;R.paddingLeft=O,R.paddingRight=O}return b&&(R.flex=wy(b),i===!1&&!R.minWidth&&(R.minWidth=0)),g(s.createElement("div",Object.assign({},S,{style:Object.assign(Object.assign(Object.assign({},R),h),$),className:w,ref:t}),p))}),Z5=Q5;var J5=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{if(typeof e=="string"&&r(e),typeof e=="object")for(let i=0;i{o()},[JSON.stringify(e),t]),n}const e6=s.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:o,className:i,style:a,children:l,gutter:c=0,wrap:u}=e,d=J5(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:m}=s.useContext(it),[p,b]=s.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[h,S]=s.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),v=$y(o,h),g=$y(r,h),y=s.useRef(c),C=Bx();s.useEffect(()=>{const T=C.subscribe(E=>{S(E);const L=y.current||0;(!Array.isArray(L)&&typeof L=="object"||Array.isArray(L)&&(typeof L[0]=="object"||typeof L[1]=="object"))&&b(E)});return()=>C.unsubscribe(T)},[]);const $=()=>{const T=[void 0,void 0];return(Array.isArray(c)?c:[c,void 0]).forEach((L,j)=>{if(typeof L=="object")for(let F=0;F0?I[0]/-2:void 0;P&&(_.marginLeft=P,_.marginRight=P);const[z,A]=I;_.rowGap=A;const N=s.useMemo(()=>({gutter:[z,A],wrap:u}),[z,A,u]);return w(s.createElement(Cw.Provider,{value:N},s.createElement("div",Object.assign({},d,{className:M,style:Object.assign(Object.assign({},_),a),ref:t}),l)))}),t6=e6,n6=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:i,orientationMargin:a,verticalMarginInline:l}=e;return{[t]:Object.assign(Object.assign({},Kn(e)),{borderBlockStart:`${V(o)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:l,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${V(o)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${V(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${V(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${V(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${a} * 100%)`},"&::after":{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${a} * 100%)`},"&::after":{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${V(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},r6=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),o6=sn("Divider",e=>{const t=Tt(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[n6(t)]},r6,{unitless:{orientationMargin:!0}});var i6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n,divider:r}=s.useContext(it),{prefixCls:o,type:i="horizontal",orientation:a="center",orientationMargin:l,className:c,rootClassName:u,children:d,dashed:f,plain:m,style:p}=e,b=i6(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),h=t("divider",o),[S,v,g]=o6(h),y=a.length>0?`-${a}`:a,C=!!d,$=a==="left"&&l!=null,x=a==="right"&&l!=null,w=q(h,r==null?void 0:r.className,v,g,`${h}-${i}`,{[`${h}-with-text`]:C,[`${h}-with-text${y}`]:C,[`${h}-dashed`]:!!f,[`${h}-plain`]:!!m,[`${h}-rtl`]:n==="rtl",[`${h}-no-default-orientation-margin-left`]:$,[`${h}-no-default-orientation-margin-right`]:x},c,u),R=s.useMemo(()=>typeof l=="number"?l:/^\d+$/.test(l)?Number(l):l,[l]),O=Object.assign(Object.assign({},$&&{marginLeft:R}),x&&{marginRight:R});return S(s.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},r==null?void 0:r.style),p)},b,{role:"separator"}),d&&i!=="vertical"&&s.createElement("span",{className:`${h}-inner-text`,style:O},d)))},l6=a6;function s6(e){return!!(e.addonBefore||e.addonAfter)}function c6(e){return!!(e.prefix||e.suffix||e.allowClear)}function Ey(e,t,n){var r=t.cloneNode(!0),o=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),o}function Oy(e,t,n,r){if(n){var o=t;if(t.type==="click"){o=Ey(t,e,""),n(o);return}if(e.type!=="file"&&r!==void 0){o=Ey(t,e,r),n(o);return}n(o)}}var u6=function(t){var n,r,o=t.inputElement,i=t.children,a=t.prefixCls,l=t.prefix,c=t.suffix,u=t.addonBefore,d=t.addonAfter,f=t.className,m=t.style,p=t.disabled,b=t.readOnly,h=t.focused,S=t.triggerFocus,v=t.allowClear,g=t.value,y=t.handleReset,C=t.hidden,$=t.classes,x=t.classNames,w=t.dataAttrs,R=t.styles,O=t.components,I=i??o,M=(O==null?void 0:O.affixWrapper)||"span",_=(O==null?void 0:O.groupWrapper)||"span",P=(O==null?void 0:O.wrapper)||"span",z=(O==null?void 0:O.groupAddon)||"span",A=s.useRef(null),N=function(ne){var Y;(Y=A.current)!==null&&Y!==void 0&&Y.contains(ne.target)&&(S==null||S())},T=c6(t),E=s.cloneElement(I,{value:g,className:q(I.props.className,!T&&(x==null?void 0:x.variant))||null});if(T){var L,j=null;if(v){var F,H=!p&&!b&&g,U="".concat(a,"-clear-icon"),G=tt(v)==="object"&&v!==null&&v!==void 0&&v.clearIcon?v.clearIcon:"✖";j=X.createElement("span",{onClick:y,onMouseDown:function(ne){return ne.preventDefault()},className:q(U,(F={},D(F,"".concat(U,"-hidden"),!H),D(F,"".concat(U,"-has-suffix"),!!c),F)),role:"button",tabIndex:-1},G)}var K="".concat(a,"-affix-wrapper"),ie=q(K,(L={},D(L,"".concat(a,"-disabled"),p),D(L,"".concat(K,"-disabled"),p),D(L,"".concat(K,"-focused"),h),D(L,"".concat(K,"-readonly"),b),D(L,"".concat(K,"-input-with-clear-btn"),c&&v&&g),L),$==null?void 0:$.affixWrapper,x==null?void 0:x.affixWrapper,x==null?void 0:x.variant),J=(c||v)&&X.createElement("span",{className:q("".concat(a,"-suffix"),x==null?void 0:x.suffix),style:R==null?void 0:R.suffix},j,c);E=X.createElement(M,ve({className:ie,style:R==null?void 0:R.affixWrapper,onClick:N},w==null?void 0:w.affixWrapper,{ref:A}),l&&X.createElement("span",{className:q("".concat(a,"-prefix"),x==null?void 0:x.prefix),style:R==null?void 0:R.prefix},l),E,J)}if(s6(t)){var ee="".concat(a,"-group"),ae="".concat(ee,"-addon"),Q="".concat(ee,"-wrapper"),W=q("".concat(a,"-wrapper"),ee,$==null?void 0:$.wrapper,x==null?void 0:x.wrapper),le=q(Q,D({},"".concat(Q,"-disabled"),p),$==null?void 0:$.group,x==null?void 0:x.groupWrapper);E=X.createElement(_,{className:le},X.createElement(P,{className:W},u&&X.createElement(z,{className:ae},u),E,d&&X.createElement(z,{className:ae},d)))}return X.cloneElement(E,{className:q((n=E.props)===null||n===void 0?void 0:n.className,f)||null,style:B(B({},(r=E.props)===null||r===void 0?void 0:r.style),m),hidden:C})},d6=["show"];function f6(e,t){return s.useMemo(function(){var n={};t&&(n.show=tt(t)==="object"&&t.formatter?t.formatter:!!t),n=B(B({},n),e);var r=n,o=r.show,i=Ze(r,d6);return B(B({},i),{},{show:!!o,showFormatter:typeof o=="function"?o:void 0,strategy:i.strategy||function(a){return a.length}})},[e,t])}const m6=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:X.createElement(AC,null)}),t},v6=m6;function g6(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r);break}}}var p6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const h6=p6;var y6=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:h6}))},b6=s.forwardRef(y6);const S6=b6;var C6=` - min-height:0 !important; - max-height:none !important; - height:0 !important; - visibility:hidden !important; - overflow:hidden !important; - position:absolute !important; - z-index:-1000 !important; - top:0 !important; - right:0 !important; - pointer-events: none !important; -`,x6=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],vf={},cr;function w6(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&vf[n])return vf[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=x6.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),c={sizingStyle:l,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(vf[n]=c),c}function $6(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;cr||(cr=document.createElement("textarea"),cr.setAttribute("tab-index","-1"),cr.setAttribute("aria-hidden","true"),document.body.appendChild(cr)),e.getAttribute("wrap")?cr.setAttribute("wrap",e.getAttribute("wrap")):cr.removeAttribute("wrap");var o=w6(e,t),i=o.paddingSize,a=o.borderSize,l=o.boxSizing,c=o.sizingStyle;cr.setAttribute("style","".concat(c,";").concat(C6)),cr.value=e.value||e.placeholder||"";var u=void 0,d=void 0,f,m=cr.scrollHeight;if(l==="border-box"?m+=a:l==="content-box"&&(m-=i),n!==null||r!==null){cr.value=" ";var p=cr.scrollHeight-i;n!==null&&(u=p*n,l==="border-box"&&(u=u+i+a),m=Math.max(u,m)),r!==null&&(d=p*r,l==="border-box"&&(d=d+i+a),f=m>d?"":"hidden",m=Math.min(d,m))}var b={height:m,overflowY:f,resize:"none"};return u&&(b.minHeight=u),d&&(b.maxHeight=d),b}var E6=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],gf=0,pf=1,hf=2,O6=s.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,i=n.value,a=n.autoSize,l=n.onResize,c=n.className,u=n.style,d=n.disabled,f=n.onChange;n.onInternalAutoSize;var m=Ze(n,E6),p=on(o,{value:i,postState:function(G){return G??""}}),b=k(p,2),h=b[0],S=b[1],v=function(G){S(G.target.value),f==null||f(G)},g=s.useRef();s.useImperativeHandle(t,function(){return{textArea:g.current}});var y=s.useMemo(function(){return a&&tt(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),C=k(y,2),$=C[0],x=C[1],w=!!a,R=function(){try{if(document.activeElement===g.current){var G=g.current,K=G.selectionStart,ie=G.selectionEnd,J=G.scrollTop;g.current.setSelectionRange(K,ie),g.current.scrollTop=J}}catch{}},O=s.useState(hf),I=k(O,2),M=I[0],_=I[1],P=s.useState(),z=k(P,2),A=z[0],N=z[1],T=function(){_(gf)};It(function(){w&&T()},[i,$,x,w]),It(function(){if(M===gf)_(pf);else if(M===pf){var U=$6(g.current,!1,$,x);_(hf),N(U)}else R()},[M]);var E=s.useRef(),L=function(){Pt.cancel(E.current)},j=function(G){M===hf&&(l==null||l(G),a&&(L(),E.current=Pt(function(){T()})))};s.useEffect(function(){return L},[]);var F=w?A:null,H=B(B({},u),F);return(M===gf||M===pf)&&(H.overflowY="hidden",H.overflowX="hidden"),s.createElement(vr,{onResize:j,disabled:!(a||l)},s.createElement("textarea",ve({},m,{ref:g,style:H,className:q(r,c,D({},"".concat(r,"-disabled"),d)),disabled:d,value:h,onChange:v})))}),R6=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],I6=X.forwardRef(function(e,t){var n,r,o=e.defaultValue,i=e.value,a=e.onFocus,l=e.onBlur,c=e.onChange,u=e.allowClear,d=e.maxLength,f=e.onCompositionStart,m=e.onCompositionEnd,p=e.suffix,b=e.prefixCls,h=b===void 0?"rc-textarea":b,S=e.showCount,v=e.count,g=e.className,y=e.style,C=e.disabled,$=e.hidden,x=e.classNames,w=e.styles,R=e.onResize,O=Ze(e,R6),I=on(o,{value:i,defaultValue:o}),M=k(I,2),_=M[0],P=M[1],z=_==null?"":String(_),A=X.useState(!1),N=k(A,2),T=N[0],E=N[1],L=X.useRef(!1),j=X.useState(null),F=k(j,2),H=F[0],U=F[1],G=s.useRef(null),K=function(){var ye;return(ye=G.current)===null||ye===void 0?void 0:ye.textArea},ie=function(){K().focus()};s.useImperativeHandle(t,function(){return{resizableTextArea:G.current,focus:ie,blur:function(){K().blur()}}}),s.useEffect(function(){E(function(Oe){return!C&&Oe})},[C]);var J=X.useState(null),ee=k(J,2),ae=ee[0],Q=ee[1];X.useEffect(function(){if(ae){var Oe;(Oe=K()).setSelectionRange.apply(Oe,Te(ae))}},[ae]);var W=f6(v,S),le=(n=W.max)!==null&&n!==void 0?n:d,se=Number(le)>0,ne=W.strategy(z),Y=!!le&&ne>le,pe=function(ye,$e){var Ce=$e;!L.current&&W.exceedFormatter&&W.max&&W.strategy($e)>W.max&&(Ce=W.exceedFormatter($e,{max:W.max}),$e!==Ce&&Q([K().selectionStart||0,K().selectionEnd||0])),P(Ce),Oy(ye.currentTarget,ye,c,Ce)},me=function(ye){L.current=!0,f==null||f(ye)},re=function(ye){L.current=!1,pe(ye,ye.currentTarget.value),m==null||m(ye)},Z=function(ye){pe(ye,ye.target.value)},ue=function(ye){var $e=O.onPressEnter,Ce=O.onKeyDown;ye.key==="Enter"&&$e&&$e(ye),Ce==null||Ce(ye)},ce=function(ye){E(!0),a==null||a(ye)},de=function(ye){E(!1),l==null||l(ye)},fe=function(ye){P(""),ie(),Oy(K(),ye,c)},xe=p,De;W.show&&(W.showFormatter?De=W.showFormatter({value:z,count:ne,maxLength:le}):De="".concat(ne).concat(se?" / ".concat(le):""),xe=X.createElement(X.Fragment,null,xe,X.createElement("span",{className:q("".concat(h,"-data-count"),x==null?void 0:x.count),style:w==null?void 0:w.count},De)));var Ee=function(ye){var $e;R==null||R(ye),($e=K())!==null&&$e!==void 0&&$e.style.height&&U(!0)},qe=!O.autoSize&&!S&&!u;return X.createElement(u6,{value:z,allowClear:u,handleReset:fe,suffix:xe,prefixCls:h,classNames:B(B({},x),{},{affixWrapper:q(x==null?void 0:x.affixWrapper,(r={},D(r,"".concat(h,"-show-count"),S),D(r,"".concat(h,"-textarea-allow-clear"),u),r))}),disabled:C,focused:T,className:q(g,Y&&"".concat(h,"-out-of-range")),style:B(B({},y),H&&!qe?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof De=="string"?De:void 0}},hidden:$},X.createElement(O6,ve({},O,{maxLength:d,onKeyDown:ue,onChange:Z,onFocus:ce,onBlur:de,onCompositionStart:me,onCompositionEnd:re,className:q(x==null?void 0:x.textarea),style:B(B({},w==null?void 0:w.textarea),{},{resize:y==null?void 0:y.resize}),disabled:C,prefixCls:h,onResize:Ee,ref:G})))}),P6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r;const{prefixCls:o,bordered:i=!0,size:a,disabled:l,status:c,allowClear:u,classNames:d,rootClassName:f,className:m,style:p,styles:b,variant:h}=e,S=P6(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:v,direction:g,textArea:y}=s.useContext(it),C=Do(a),$=s.useContext(Fu),x=l??$,{status:w,hasFeedback:R,feedbackIcon:O}=s.useContext(ux),I=Tx(w,c),M=s.useRef(null);s.useImperativeHandle(t,()=>{var j;return{resizableTextArea:(j=M.current)===null||j===void 0?void 0:j.resizableTextArea,focus:F=>{var H,U;g6((U=(H=M.current)===null||H===void 0?void 0:H.resizableTextArea)===null||U===void 0?void 0:U.textArea,F)},blur:()=>{var F;return(F=M.current)===null||F===void 0?void 0:F.blur()}}});const _=v("input",o),P=os(_),[z,A,N]=Y3(_,P),[T,E]=Lx(h,i),L=v6(u??(y==null?void 0:y.allowClear));return z(s.createElement(I6,Object.assign({autoComplete:y==null?void 0:y.autoComplete},S,{style:Object.assign(Object.assign({},y==null?void 0:y.style),p),styles:Object.assign(Object.assign({},y==null?void 0:y.styles),b),disabled:x,allowClear:L,className:q(N,P,m,f,y==null?void 0:y.className),classNames:Object.assign(Object.assign(Object.assign({},d),y==null?void 0:y.classNames),{textarea:q({[`${_}-sm`]:C==="small",[`${_}-lg`]:C==="large"},A,d==null?void 0:d.textarea,(n=y==null?void 0:y.classNames)===null||n===void 0?void 0:n.textarea),variant:q({[`${_}-${T}`]:E},Mx(_,I)),affixWrapper:q(`${_}-textarea-affix-wrapper`,{[`${_}-affix-wrapper-rtl`]:g==="rtl",[`${_}-affix-wrapper-sm`]:C==="small",[`${_}-affix-wrapper-lg`]:C==="large",[`${_}-textarea-show-count`]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},A)}),prefixCls:_,suffix:R&&s.createElement("span",{className:`${_}-textarea-suffix`},O),ref:M})))}),T6=M6;function Ry(e){return["small","middle","large"].includes(e)}function Iy(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const xw=X.createContext({latestIndex:0}),N6=xw.Provider,_6=e=>{let{className:t,index:n,children:r,split:o,style:i}=e;const{latestIndex:a}=s.useContext(xw);return r==null?null:s.createElement(s.Fragment,null,s.createElement("div",{className:t,style:i},r),n{var n,r;const{getPrefixCls:o,space:i,direction:a}=s.useContext(it),{size:l=(i==null?void 0:i.size)||"small",align:c,className:u,rootClassName:d,children:f,direction:m="horizontal",prefixCls:p,split:b,style:h,wrap:S=!1,classNames:v,styles:g}=e,y=L6(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,$]=Array.isArray(l)?l:[l,l],x=Ry($),w=Ry(C),R=Iy($),O=Iy(C),I=hr(f,{keepEmpty:!0}),M=c===void 0&&m==="horizontal"?"center":c,_=o("space",p),[P,z,A]=VC(_),N=q(_,i==null?void 0:i.className,z,`${_}-${m}`,{[`${_}-rtl`]:a==="rtl",[`${_}-align-${M}`]:M,[`${_}-gap-row-${$}`]:x,[`${_}-gap-col-${C}`]:w},u,d,A),T=q(`${_}-item`,(n=v==null?void 0:v.item)!==null&&n!==void 0?n:(r=i==null?void 0:i.classNames)===null||r===void 0?void 0:r.item);let E=0;const L=I.map((H,U)=>{var G,K;H!=null&&(E=U);const ie=H&&H.key||`${T}-${U}`;return s.createElement(z6,{className:T,key:ie,index:U,split:b,style:(G=g==null?void 0:g.item)!==null&&G!==void 0?G:(K=i==null?void 0:i.styles)===null||K===void 0?void 0:K.item},H)}),j=s.useMemo(()=>({latestIndex:E}),[E]);if(I.length===0)return null;const F={};return S&&(F.flexWrap="wrap"),!w&&O&&(F.columnGap=C),!x&&R&&(F.rowGap=$),P(s.createElement("div",Object.assign({ref:t,className:N,style:Object.assign(Object.assign(Object.assign({},F),i==null?void 0:i.style),h)},y),s.createElement(N6,{value:j},L)))}),ww=j6;ww.Compact=aM;const A6=ww;function $w(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function D6(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var vv=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],ds=s.createContext(null),Py=0;function F6(e,t){var n=s.useState(function(){return Py+=1,String(Py)}),r=k(n,1),o=r[0],i=s.useContext(ds),a={data:t,canPreview:e};return s.useEffect(function(){if(i)return i.register(o,a)},[]),s.useEffect(function(){i&&i.register(o,a)},[e,t]),o}function B6(e){return new Promise(function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function Ew(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,o=s.useState(n?"loading":"normal"),i=k(o,2),a=i[0],l=i[1],c=s.useRef(!1),u=a==="error";s.useEffect(function(){var p=!0;return B6(t).then(function(b){!b&&p&&l("error")}),function(){p=!1}},[t]),s.useEffect(function(){n&&!c.current?l("loading"):u&&l("normal")},[t]);var d=function(){l("normal")},f=function(b){c.current=!1,a==="loading"&&b!==null&&b!==void 0&&b.complete&&(b.naturalWidth||b.naturalHeight)&&(c.current=!0,d())},m=u&&r?{src:r}:{onLoad:d,src:t};return[f,m,a]}function Yi(e,t,n,r){var o=Wc.unstable_batchedUpdates?function(a){Wc.unstable_batchedUpdates(n,a)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,o,r)}}}var Gs={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function H6(e,t,n,r){var o=s.useRef(null),i=s.useRef([]),a=s.useState(Gs),l=k(a,2),c=l[0],u=l[1],d=function(b){u(Gs),r&&!es(Gs,c)&&r({transform:Gs,action:b})},f=function(b,h){o.current===null&&(i.current=[],o.current=Pt(function(){u(function(S){var v=S;return i.current.forEach(function(g){v=B(B({},v),g)}),o.current=null,r==null||r({transform:v,action:h}),v})})),i.current.push(B(B({},c),b))},m=function(b,h,S,v,g){var y=e.current,C=y.width,$=y.height,x=y.offsetWidth,w=y.offsetHeight,R=y.offsetLeft,O=y.offsetTop,I=b,M=c.scale*b;M>n?(M=n,I=n/c.scale):Mr){if(t>0)return D({},e,i);if(t<0&&or)return D({},e,t<0?i:-i);return{}}function Ow(e,t,n,r){var o=$w(),i=o.width,a=o.height,l=null;return e<=i&&t<=a?l={x:0,y:0}:(e>i||t>a)&&(l=B(B({},My("x",n,e,i)),My("y",r,t,a))),l}var Qi=1,k6=1;function V6(e,t,n,r,o,i,a){var l=o.rotate,c=o.scale,u=o.x,d=o.y,f=s.useState(!1),m=k(f,2),p=m[0],b=m[1],h=s.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),S=function($){!t||$.button!==0||($.preventDefault(),$.stopPropagation(),h.current={diffX:$.pageX-u,diffY:$.pageY-d,transformX:u,transformY:d},b(!0))},v=function($){n&&p&&i({x:$.pageX-h.current.diffX,y:$.pageY-h.current.diffY},"move")},g=function(){if(n&&p){b(!1);var $=h.current,x=$.transformX,w=$.transformY,R=u!==x&&d!==w;if(!R)return;var O=e.current.offsetWidth*c,I=e.current.offsetHeight*c,M=e.current.getBoundingClientRect(),_=M.left,P=M.top,z=l%180!==0,A=Ow(z?I:O,z?O:I,_,P);A&&i(B({},A),"dragRebound")}},y=function($){if(!(!n||$.deltaY==0)){var x=Math.abs($.deltaY/100),w=Math.min(x,k6),R=Qi+w*r;$.deltaY>0&&(R=Qi/R),a(R,"wheel",$.clientX,$.clientY)}};return s.useEffect(function(){var C,$,x,w;if(t){x=Yi(window,"mouseup",g,!1),w=Yi(window,"mousemove",v,!1);try{window.top!==window.self&&(C=Yi(window.top,"mouseup",g,!1),$=Yi(window.top,"mousemove",v,!1))}catch{}}return function(){var R,O,I,M;(R=x)===null||R===void 0||R.remove(),(O=w)===null||O===void 0||O.remove(),(I=C)===null||I===void 0||I.remove(),(M=$)===null||M===void 0||M.remove()}},[n,p,u,d,l,t]),{isMoving:p,onMouseDown:S,onMouseMove:v,onMouseUp:g,onWheel:y}}function iu(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function W6(e,t,n,r){var o=iu(e,n),i=iu(t,r);if(o===0&&i===0)return[e.x,e.y];var a=o/(o+i),l=e.x+a*(t.x-e.x),c=e.y+a*(t.y-e.y);return[l,c]}function U6(e,t,n,r,o,i,a){var l=o.rotate,c=o.scale,u=o.x,d=o.y,f=s.useState(!1),m=k(f,2),p=m[0],b=m[1],h=s.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),S=function($){h.current=B(B({},h.current),$)},v=function($){if(t){$.stopPropagation(),b(!0);var x=$.touches,w=x===void 0?[]:x;w.length>1?S({point1:{x:w[0].clientX,y:w[0].clientY},point2:{x:w[1].clientX,y:w[1].clientY},eventType:"touchZoom"}):S({point1:{x:w[0].clientX-u,y:w[0].clientY-d},eventType:"move"})}},g=function($){var x=$.touches,w=x===void 0?[]:x,R=h.current,O=R.point1,I=R.point2,M=R.eventType;if(w.length>1&&M==="touchZoom"){var _={x:w[0].clientX,y:w[0].clientY},P={x:w[1].clientX,y:w[1].clientY},z=W6(O,I,_,P),A=k(z,2),N=A[0],T=A[1],E=iu(_,P)/iu(O,I);a(E,"touchZoom",N,T,!0),S({point1:_,point2:P,eventType:"touchZoom"})}else M==="move"&&(i({x:w[0].clientX-O.x,y:w[0].clientY-O.y},"move"),S({eventType:"move"}))},y=function(){if(n){if(p&&b(!1),S({eventType:"none"}),r>c)return i({x:0,y:0,scale:r},"touchZoom");var $=e.current.offsetWidth*c,x=e.current.offsetHeight*c,w=e.current.getBoundingClientRect(),R=w.left,O=w.top,I=l%180!==0,M=Ow(I?x:$,I?$:x,R,O);M&&i(B({},M),"dragRebound")}};return s.useEffect(function(){var C;return n&&t&&(C=Yi(window,"touchmove",function($){return $.preventDefault()},{passive:!1})),function(){var $;($=C)===null||$===void 0||$.remove()}},[n,t]),{isTouching:p,onTouchStart:v,onTouchMove:g,onTouchEnd:y}}var G6=function(t){var n=t.visible,r=t.maskTransitionName,o=t.getContainer,i=t.prefixCls,a=t.rootClassName,l=t.icons,c=t.countRender,u=t.showSwitch,d=t.showProgress,f=t.current,m=t.transform,p=t.count,b=t.scale,h=t.minScale,S=t.maxScale,v=t.closeIcon,g=t.onSwitchLeft,y=t.onSwitchRight,C=t.onClose,$=t.onZoomIn,x=t.onZoomOut,w=t.onRotateRight,R=t.onRotateLeft,O=t.onFlipX,I=t.onFlipY,M=t.toolbarRender,_=t.zIndex,P=s.useContext(ds),z=l.rotateLeft,A=l.rotateRight,N=l.zoomIn,T=l.zoomOut,E=l.close,L=l.left,j=l.right,F=l.flipX,H=l.flipY,U="".concat(i,"-operations-operation");s.useEffect(function(){var J=function(ae){ae.keyCode===te.ESC&&C()};return n&&window.addEventListener("keydown",J),function(){window.removeEventListener("keydown",J)}},[n]);var G=[{icon:H,onClick:I,type:"flipY"},{icon:F,onClick:O,type:"flipX"},{icon:z,onClick:R,type:"rotateLeft"},{icon:A,onClick:w,type:"rotateRight"},{icon:T,onClick:x,type:"zoomOut",disabled:b<=h},{icon:N,onClick:$,type:"zoomIn",disabled:b===S}],K=G.map(function(J){var ee,ae=J.icon,Q=J.onClick,W=J.type,le=J.disabled;return s.createElement("div",{className:q(U,(ee={},D(ee,"".concat(i,"-operations-operation-").concat(W),!0),D(ee,"".concat(i,"-operations-operation-disabled"),!!le),ee)),onClick:Q,key:W},ae)}),ie=s.createElement("div",{className:"".concat(i,"-operations")},K);return s.createElement(kr,{visible:n,motionName:r},function(J){var ee=J.className,ae=J.style;return s.createElement(Gu,{open:!0,getContainer:o??document.body},s.createElement("div",{className:q("".concat(i,"-operations-wrapper"),ee,a),style:B(B({},ae),{},{zIndex:_})},v===null?null:s.createElement("button",{className:"".concat(i,"-close"),onClick:C},v||E),u&&s.createElement(s.Fragment,null,s.createElement("div",{className:q("".concat(i,"-switch-left"),D({},"".concat(i,"-switch-left-disabled"),f===0)),onClick:g},L),s.createElement("div",{className:q("".concat(i,"-switch-right"),D({},"".concat(i,"-switch-right-disabled"),f===p-1)),onClick:y},j)),s.createElement("div",{className:"".concat(i,"-footer")},d&&s.createElement("div",{className:"".concat(i,"-progress")},c?c(f+1,p):"".concat(f+1," / ").concat(p)),M?M(ie,B({icons:{flipYIcon:K[0],flipXIcon:K[1],rotateLeftIcon:K[2],rotateRightIcon:K[3],zoomOutIcon:K[4],zoomInIcon:K[5]},actions:{onFlipY:I,onFlipX:O,onRotateLeft:R,onRotateRight:w,onZoomOut:x,onZoomIn:$},transform:m},P?{current:f,total:p}:{})):ie)))})},K6=["fallback","src","imgRef"],q6=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],X6=function(t){var n=t.fallback,r=t.src,o=t.imgRef,i=Ze(t,K6),a=Ew({src:r,fallback:n}),l=k(a,2),c=l[0],u=l[1];return X.createElement("img",ve({ref:function(f){o.current=f,c(f)}},i,u))},Rw=function(t){var n=t.prefixCls,r=t.src,o=t.alt,i=t.fallback,a=t.movable,l=a===void 0?!0:a,c=t.onClose,u=t.visible,d=t.icons,f=d===void 0?{}:d,m=t.rootClassName,p=t.closeIcon,b=t.getContainer,h=t.current,S=h===void 0?0:h,v=t.count,g=v===void 0?1:v,y=t.countRender,C=t.scaleStep,$=C===void 0?.5:C,x=t.minScale,w=x===void 0?1:x,R=t.maxScale,O=R===void 0?50:R,I=t.transitionName,M=I===void 0?"zoom":I,_=t.maskTransitionName,P=_===void 0?"fade":_,z=t.imageRender,A=t.imgCommonProps,N=t.toolbarRender,T=t.onTransform,E=t.onChange,L=Ze(t,q6),j=s.useRef(),F=s.useContext(ds),H=F&&g>1,U=F&&g>=1,G=s.useState(!0),K=k(G,2),ie=K[0],J=K[1],ee=H6(j,w,O,T),ae=ee.transform,Q=ee.resetTransform,W=ee.updateTransform,le=ee.dispatchZoomChange,se=V6(j,l,u,$,ae,W,le),ne=se.isMoving,Y=se.onMouseDown,pe=se.onWheel,me=U6(j,l,u,w,ae,W,le),re=me.isTouching,Z=me.onTouchStart,ue=me.onTouchMove,ce=me.onTouchEnd,de=ae.rotate,fe=ae.scale,xe=q(D({},"".concat(n,"-moving"),ne));s.useEffect(function(){ie||J(!0)},[ie]);var De=function(){Q("close")},Ee=function(){le(Qi+$,"zoomIn")},qe=function(){le(Qi/(Qi+$),"zoomOut")},Oe=function(){W({rotate:de+90},"rotateRight")},ye=function(){W({rotate:de-90},"rotateLeft")},$e=function(){W({flipX:!ae.flipX},"flipX")},Ce=function(){W({flipY:!ae.flipY},"flipY")},Xe=function(oe){oe==null||oe.preventDefault(),oe==null||oe.stopPropagation(),S>0&&(J(!1),Q("prev"),E==null||E(S-1,S))},nt=function(oe){oe==null||oe.preventDefault(),oe==null||oe.stopPropagation(),S({position:e||"absolute",inset:0}),Oj=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:o,prefixCls:i,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new jt("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},si),{padding:`0 ${V(r)}`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},Rj=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:o,margin:i,paddingLG:a,previewOperationColorDisabled:l,previewOperationHoverColor:c,motionDurationSlow:u,iconCls:d,colorTextLightSolid:f}=e,m=new jt(n).setAlpha(.1),p=m.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:o,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:o,right:{_skip_check_:!0,value:o},display:"flex",color:f,backgroundColor:m.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:p.toRgbString()},[`& > ${d}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${V(a)}`,backgroundColor:m.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${d}`]:{color:c},"&-disabled":{color:l,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${d}`]:{fontSize:e.previewOperationSize}}}}},Ij=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:o,zIndexPopup:i,motionDurationSlow:a}=e,l=new jt(t).setAlpha(.1),c=l.clone().setAlpha(.2);return{[`${o}-switch-left, ${o}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:c.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${o}-switch-left`]:{insetInlineStart:e.marginSM},[`${o}-switch-right`]:{insetInlineEnd:e.marginSM}}},Pj=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:o}=e;return[{[`${o}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},gv()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},gv()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${o}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${o}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal({unit:!1})},"&":[Rj(e),Ij(e)]}]},Mj=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},Oj(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},gv())}}},Tj=e=>{const{previewCls:t}=e;return{[`${t}-root`]:Bg(e,"zoom"),"&":dx(e,!0)}},Nj=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new jt(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new jt(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new jt(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),Iw=sn("Image",e=>{const t=`${e.componentCls}-preview`,n=Tt(e,{previewCls:t,modalMaskBg:new jt("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[Mj(n),Pj(n),px(Tt(n,{componentCls:t})),Tj(n)]},Nj);var _j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{previewPrefixCls:t,preview:n}=e,r=_j(e,["previewPrefixCls","preview"]);const{getPrefixCls:o}=s.useContext(it),i=o("image",t),a=`${i}-preview`,l=o(),c=os(i),[u,d,f]=Iw(i,c),[m]=Vu("ImagePreview",typeof n=="object"?n.zIndex:void 0),p=s.useMemo(()=>{var b;if(n===!1)return n;const h=typeof n=="object"?n:{},S=q(d,f,c,(b=h.rootClassName)!==null&&b!==void 0?b:"");return Object.assign(Object.assign({},h),{transitionName:di(l,"zoom",h.transitionName),maskTransitionName:di(l,"fade",h.maskTransitionName),rootClassName:S,zIndex:m})},[n]);return u(s.createElement(rd.PreviewGroup,Object.assign({preview:p,previewPrefixCls:a,icons:Pw},r)))},Lj=zj;var Ny=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var t;const{prefixCls:n,preview:r,className:o,rootClassName:i,style:a}=e,l=Ny(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:c,locale:u=zo,getPopupContainer:d,image:f}=s.useContext(it),m=c("image",n),p=c(),b=u.Image||zo.Image,h=os(m),[S,v,g]=Iw(m,h),y=q(i,v,g,h),C=q(o,v,f==null?void 0:f.className),[$]=Vu("ImagePreview",typeof r=="object"?r.zIndex:void 0),x=s.useMemo(()=>{var R;if(r===!1)return r;const O=typeof r=="object"?r:{},{getContainer:I,closeIcon:M}=O,_=Ny(O,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:s.createElement("div",{className:`${m}-mask-info`},s.createElement(S6,null),b==null?void 0:b.preview),icons:Pw},_),{getContainer:I??d,transitionName:di(p,"zoom",O.transitionName),maskTransitionName:di(p,"fade",O.maskTransitionName),zIndex:$,closeIcon:M??((R=f==null?void 0:f.preview)===null||R===void 0?void 0:R.closeIcon)})},[r,b,(t=f==null?void 0:f.preview)===null||t===void 0?void 0:t.closeIcon]),w=Object.assign(Object.assign({},f==null?void 0:f.style),a);return S(s.createElement(rd,Object.assign({prefixCls:m,preview:x,rootClassName:y,className:C,style:w},l)))};Mw.PreviewGroup=Lj;const jj=Mw;function Aj(e,t,n){return typeof n=="boolean"?n:e.length?!0:hr(t).some(o=>o.type===cw)}const Dj=e=>{const{componentCls:t,bodyBg:n,lightSiderBg:r,lightTriggerBg:o,lightTriggerColor:i}=e;return{[`${t}-sider-light`]:{background:r,[`${t}-sider-trigger`]:{color:i,background:o},[`${t}-sider-zero-width-trigger`]:{color:i,background:o,border:`1px solid ${n}`,borderInlineStart:0}}}},Fj=e=>{const{antCls:t,componentCls:n,colorText:r,triggerColor:o,footerBg:i,triggerBg:a,headerHeight:l,headerPadding:c,headerColor:u,footerPadding:d,triggerHeight:f,zeroTriggerHeight:m,zeroTriggerWidth:p,motionDurationMid:b,motionDurationSlow:h,fontSize:S,borderRadius:v,bodyBg:g,headerBg:y,siderBg:C}=e;return{[n]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:g,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-sider`]:{position:"relative",minWidth:0,background:C,transition:`all ${b}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:o,lineHeight:V(f),textAlign:"center",background:a,cursor:"pointer",transition:`all ${b}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:l,insetInlineEnd:e.calc(p).mul(-1).equal(),zIndex:1,width:p,height:m,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:C,borderStartStartRadius:0,borderStartEndRadius:v,borderEndEndRadius:v,borderEndStartRadius:0,cursor:"pointer",transition:`background ${h} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${h}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(p).mul(-1).equal(),borderStartStartRadius:v,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:v}}}}},Dj(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:l,padding:c,color:u,lineHeight:V(l),background:y,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:r,fontSize:S,background:i},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},Bj=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:o,controlHeightSM:i,marginXXS:a,colorTextLightSolid:l,colorBgContainer:c}=e,u=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${u}px`,headerColor:o,footerPadding:`${i}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+a*2,triggerBg:"#002140",triggerColor:l,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:o}},Tw=sn("Layout",e=>[Fj(e)],Bj,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var Nw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);os.forwardRef((a,l)=>s.createElement(o,Object.assign({ref:l,suffixCls:t,tagName:n},a)))}const op=s.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:o,tagName:i}=e,a=Nw(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:l}=s.useContext(it),c=l("layout",n),[u,d,f]=Tw(c),m=r?`${c}-${r}`:c;return u(s.createElement(i,Object.assign({className:q(n||m,o,d,f),ref:t},a)))}),Hj=s.forwardRef((e,t)=>{const{direction:n}=s.useContext(it),[r,o]=s.useState([]),{prefixCls:i,className:a,rootClassName:l,children:c,hasSider:u,tagName:d,style:f}=e,m=Nw(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),p=Gn(m,["suffixCls"]),{getPrefixCls:b,layout:h}=s.useContext(it),S=b("layout",i),v=Aj(r,c,u),[g,y,C]=Tw(S),$=q(S,{[`${S}-has-sider`]:v,[`${S}-rtl`]:n==="rtl"},h==null?void 0:h.className,a,l,y,C),x=s.useMemo(()=>({siderHook:{addSider:w=>{o(R=>[].concat(Te(R),[w]))},removeSider:w=>{o(R=>R.filter(O=>O!==w))}}}),[]);return g(s.createElement(lw.Provider,{value:x},s.createElement(d,Object.assign({ref:t,className:$,style:Object.assign(Object.assign({},h==null?void 0:h.style),f)},p),c)))}),kj=od({tagName:"div",displayName:"Layout"})(Hj),_w=od({suffixCls:"header",tagName:"header",displayName:"Header"})(op),Vj=od({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(op),Wj=od({suffixCls:"content",tagName:"main",displayName:"Content"})(op),Ma=kj;Ma.Header=_w;Ma.Footer=Vj;Ma.Content=Wj;Ma.Sider=cw;Ma._InternalSiderContext=sw;const zw=Ma,Uj=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const o=n[r];o!==void 0&&(e[r]=o)})}return e},Gj=Uj;var Kj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const qj=Kj;var Xj=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:qj}))},Yj=s.forwardRef(Xj);const _y=Yj;var Qj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};const Zj=Qj;var Jj=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:Zj}))},e8=s.forwardRef(Jj);const zy=e8;var t8={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},n8=["10","20","50","100"],r8=function(t){var n=t.pageSizeOptions,r=n===void 0?n8:n,o=t.locale,i=t.changeSize,a=t.pageSize,l=t.goButton,c=t.quickGo,u=t.rootPrefixCls,d=t.selectComponentClass,f=t.selectPrefixCls,m=t.disabled,p=t.buildOptionText,b=X.useState(""),h=k(b,2),S=h[0],v=h[1],g=function(){return!S||Number.isNaN(S)?void 0:Number(S)},y=typeof p=="function"?p:function(z){return"".concat(z," ").concat(o.items_per_page)},C=function(A){i==null||i(Number(A))},$=function(A){v(A.target.value)},x=function(A){l||S===""||(v(""),!(A.relatedTarget&&(A.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||A.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(c==null||c(g())))},w=function(A){S!==""&&(A.keyCode===te.ENTER||A.type==="click")&&(v(""),c==null||c(g()))},R=function(){return r.some(function(A){return A.toString()===a.toString()})?r:r.concat([a.toString()]).sort(function(A,N){var T=Number.isNaN(Number(A))?0:Number(A),E=Number.isNaN(Number(N))?0:Number(N);return T-E})},O="".concat(u,"-options");if(!i&&!c)return null;var I=null,M=null,_=null;if(i&&d){var P=R().map(function(z,A){return X.createElement(d.Option,{key:A,value:z.toString()},y(z))});I=X.createElement(d,{disabled:m,prefixCls:f,showSearch:!1,className:"".concat(O,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(a||r[0]).toString(),onChange:C,getPopupContainer:function(A){return A.parentNode},"aria-label":o.page_size,defaultOpen:!1},P)}return c&&(l&&(_=typeof l=="boolean"?X.createElement("button",{type:"button",onClick:w,onKeyUp:w,disabled:m,className:"".concat(O,"-quick-jumper-button")},o.jump_to_confirm):X.createElement("span",{onClick:w,onKeyUp:w},l)),M=X.createElement("div",{className:"".concat(O,"-quick-jumper")},o.jump_to,X.createElement("input",{disabled:m,type:"text",value:S,onChange:$,onKeyUp:w,onBlur:x,"aria-label":o.page}),o.page,_)),X.createElement("li",{className:O},I,M)},qa=function(t){var n,r=t.rootPrefixCls,o=t.page,i=t.active,a=t.className,l=t.showTitle,c=t.onClick,u=t.onKeyPress,d=t.itemRender,f="".concat(r,"-item"),m=q(f,"".concat(f,"-").concat(o),(n={},D(n,"".concat(f,"-active"),i),D(n,"".concat(f,"-disabled"),!o),n),a),p=function(){c(o)},b=function(v){u(v,c,o)},h=d(o,"page",X.createElement("a",{rel:"nofollow"},o));return h?X.createElement("li",{title:l?String(o):null,className:m,onClick:p,onKeyDown:b,tabIndex:0},h):null},o8=function(t,n,r){return r};function Ly(){}function jy(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function Bo(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var i8=function(t){var n,r=t.prefixCls,o=r===void 0?"rc-pagination":r,i=t.selectPrefixCls,a=i===void 0?"rc-select":i,l=t.className,c=t.selectComponentClass,u=t.current,d=t.defaultCurrent,f=d===void 0?1:d,m=t.total,p=m===void 0?0:m,b=t.pageSize,h=t.defaultPageSize,S=h===void 0?10:h,v=t.onChange,g=v===void 0?Ly:v,y=t.hideOnSinglePage,C=t.showPrevNextJumpers,$=C===void 0?!0:C,x=t.showQuickJumper,w=t.showLessItems,R=t.showTitle,O=R===void 0?!0:R,I=t.onShowSizeChange,M=I===void 0?Ly:I,_=t.locale,P=_===void 0?t8:_,z=t.style,A=t.totalBoundaryShowSizeChanger,N=A===void 0?50:A,T=t.disabled,E=t.simple,L=t.showTotal,j=t.showSizeChanger,F=t.pageSizeOptions,H=t.itemRender,U=H===void 0?o8:H,G=t.jumpPrevIcon,K=t.jumpNextIcon,ie=t.prevIcon,J=t.nextIcon,ee=X.useRef(null),ae=on(10,{value:b,defaultValue:S}),Q=k(ae,2),W=Q[0],le=Q[1],se=on(1,{value:u,defaultValue:f,postState:function(st){return Math.max(1,Math.min(st,Bo(void 0,W,p)))}}),ne=k(se,2),Y=ne[0],pe=ne[1],me=X.useState(Y),re=k(me,2),Z=re[0],ue=re[1];s.useEffect(function(){ue(Y)},[Y]);var ce=Math.max(1,Y-(w?3:5)),de=Math.min(Bo(void 0,W,p),Y+(w?3:5));function fe(He,st){var pt=He||X.createElement("button",{type:"button","aria-label":st,className:"".concat(o,"-item-link")});return typeof He=="function"&&(pt=X.createElement(He,B({},t))),pt}function xe(He){var st=He.target.value,pt=Bo(void 0,W,p),kt;return st===""?kt=st:Number.isNaN(Number(st))?kt=Z:st>=pt?kt=pt:kt=Number(st),kt}function De(He){return jy(He)&&He!==Y&&jy(p)&&p>0}var Ee=p>W?x:!1;function qe(He){(He.keyCode===te.UP||He.keyCode===te.DOWN)&&He.preventDefault()}function Oe(He){var st=xe(He);switch(st!==Z&&ue(st),He.keyCode){case te.ENTER:Ce(st);break;case te.UP:Ce(st-1);break;case te.DOWN:Ce(st+1);break}}function ye(He){Ce(xe(He))}function $e(He){var st=Bo(He,W,p),pt=Y>st&&st!==0?st:Y;le(He),ue(pt),M==null||M(Y,He),pe(pt),g==null||g(pt,He)}function Ce(He){if(De(He)&&!T){var st=Bo(void 0,W,p),pt=He;return He>st?pt=st:He<1&&(pt=1),pt!==Z&&ue(pt),pe(pt),g==null||g(pt,W),pt}return Y}var Xe=Y>1,nt=YN;function at(){Xe&&Ce(Y-1)}function Ye(){nt&&Ce(Y+1)}function We(){Ce(ce)}function oe(){Ce(de)}function Re(He,st){if(He.key==="Enter"||He.charCode===te.ENTER||He.keyCode===te.ENTER){for(var pt=arguments.length,kt=new Array(pt>2?pt-2:0),gn=2;gnp?p:Y*W])),rt=null,ge=Bo(void 0,W,p);if(y&&p<=W)return null;var Se=[],Me={rootPrefixCls:o,onClick:Ce,onKeyPress:Re,showTitle:O,itemRender:U,page:-1},Fe=Y-1>0?Y-1:0,Ge=Y+1=je*2&&Y!==3&&(Se[0]=X.cloneElement(Se[0],{className:q("".concat(o,"-item-after-jump-prev"),Se[0].props.className)}),Se.unshift(be)),ge-Y>=je*2&&Y!==ge-2){var $t=Se[Se.length-1];Se[Se.length-1]=X.cloneElement($t,{className:q("".concat(o,"-item-before-jump-next"),$t.props.className)}),Se.push(rt)}ot!==1&&Se.unshift(X.createElement(qa,ve({},Me,{key:1,page:1}))),wt!==ge&&Se.push(X.createElement(qa,ve({},Me,{key:ge,page:ge})))}var cn=Be(Fe);if(cn){var Cn=!Xe||!ge;cn=X.createElement("li",{title:O?P.prev_page:null,onClick:at,tabIndex:Cn?null:0,onKeyDown:et,className:q("".concat(o,"-prev"),D({},"".concat(o,"-disabled"),Cn)),"aria-disabled":Cn},cn)}var un=Le(Ge);if(un){var Ht,qn;E?(Ht=!nt,qn=Xe?0:null):(Ht=!nt||!ge,qn=Ht?null:0),un=X.createElement("li",{title:O?P.next_page:null,onClick:Ye,tabIndex:qn,onKeyDown:dt,className:q("".concat(o,"-next"),D({},"".concat(o,"-disabled"),Ht)),"aria-disabled":Ht},un)}var Xn=q(o,l,(n={},D(n,"".concat(o,"-simple"),E),D(n,"".concat(o,"-disabled"),T),n));return X.createElement("ul",ve({className:Xn,style:z,ref:ee},we),Ke,cn,E?Ct:Se,un,X.createElement(r8,{locale:P,rootPrefixCls:o,disabled:T,selectComponentClass:c,selectPrefixCls:a,changeSize:Je?$e:null,pageSize:W,pageSizeOptions:F,quickGo:Ee?Ce:null,goButton:Rt}))};const Lw=e=>s.createElement(Yu,Object.assign({},e,{showSearch:!0,size:"small"})),jw=e=>s.createElement(Yu,Object.assign({},e,{showSearch:!0,size:"middle"}));Lw.Option=Yu.Option;jw.Option=Yu.Option;const a8=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},l8=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:V(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:V(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:V(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` - &${t}-mini ${t}-prev ${t}-item-link, - &${t}-mini ${t}-next ${t}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:V(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:V(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:V(e.itemSizeSM),input:Object.assign(Object.assign({},tp(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},s8=e=>{const{componentCls:t}=e;return{[` - &${t}-simple ${t}-prev, - &${t}-simple ${t}-next - `]:{height:e.itemSizeSM,lineHeight:V(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:V(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${V(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${V(e.inputOutlineOffset)} 0 ${V(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},c8=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` - ${t}-prev, - ${t}-jump-prev, - ${t}-jump-next - `]:{marginInlineEnd:e.marginXS},[` - ${t}-prev, - ${t}-next, - ${t}-jump-prev, - ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${V(e.itemSize)}`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${V(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:V(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},np(e)),ep(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},Ju(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},u8=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:V(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${V(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${V(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},d8=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Kn(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:V(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),u8(e)),c8(e)),s8(e)),l8(e)),a8(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},f8=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},rs(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},jm(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},jm(e))}}}},Aw=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},dw(e)),Dw=e=>Tt(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},uw(e)),m8=sn("Pagination",e=>{const t=Dw(e);return[d8(t),f8(t)]},Aw),v8=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},g8=SC(["Pagination","bordered"],e=>{const t=Dw(e);return[v8(t)]},Aw);var p8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,selectPrefixCls:n,className:r,rootClassName:o,style:i,size:a,locale:l,selectComponentClass:c,responsive:u,showSizeChanger:d}=e,f=p8(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:m}=Hx(u),[,p]=Mn(),{getPrefixCls:b,direction:h,pagination:S={}}=s.useContext(it),v=b("pagination",t),[g,y,C]=m8(v),$=d??S.showSizeChanger,x=s.useMemo(()=>{const z=s.createElement("span",{className:`${v}-item-ellipsis`},"•••"),A=s.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},h==="rtl"?s.createElement(Hl,null):s.createElement(Ca,null)),N=s.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},h==="rtl"?s.createElement(Ca,null):s.createElement(Hl,null)),T=s.createElement("a",{className:`${v}-item-link`},s.createElement("div",{className:`${v}-item-container`},h==="rtl"?s.createElement(zy,{className:`${v}-item-link-icon`}):s.createElement(_y,{className:`${v}-item-link-icon`}),z)),E=s.createElement("a",{className:`${v}-item-link`},s.createElement("div",{className:`${v}-item-container`},h==="rtl"?s.createElement(_y,{className:`${v}-item-link-icon`}):s.createElement(zy,{className:`${v}-item-link-icon`}),z));return{prevIcon:A,nextIcon:N,jumpPrevIcon:T,jumpNextIcon:E}},[h,v]),[w]=Og("Pagination",ZS),R=Object.assign(Object.assign({},w),l),O=Do(a),I=O==="small"||!!(m&&!O&&u),M=b("select",n),_=q({[`${v}-mini`]:I,[`${v}-rtl`]:h==="rtl",[`${v}-bordered`]:p.wireframe},S==null?void 0:S.className,r,o,y,C),P=Object.assign(Object.assign({},S==null?void 0:S.style),i);return g(s.createElement(s.Fragment,null,p.wireframe&&s.createElement(g8,{prefixCls:v}),s.createElement(i8,Object.assign({},x,f,{style:P,prefixCls:v,selectPrefixCls:M,className:_,selectComponentClass:c||(I?Lw:jw),locale:R,showSizeChanger:$}))))},y8=h8,b8=new St("antSpinMove",{to:{opacity:1}}),S8=new St("antRotate",{to:{transform:"rotate(405deg)"}}),C8=e=>{const{componentCls:t,calc:n}=e;return{[`${t}`]:Object.assign(Object.assign({},Kn(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[`${t}-dot ${t}-dot-item`]:{backgroundColor:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:b8,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:S8,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${t}-dot`]:{fontSize:e.dotSizeSM,i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{fontSize:e.dotSizeLG,i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},x8=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},w8=sn("Spin",e=>{const t=Tt(e,{spinDotDefault:e.colorTextDescription});return[C8(t)]},x8);var $8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,spinning:n=!0,delay:r=0,className:o,rootClassName:i,size:a="default",tip:l,wrapperClassName:c,style:u,children:d,fullscreen:f=!1}=e,m=$8(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen"]),{getPrefixCls:p}=s.useContext(it),b=p("spin",t),[h,S,v]=w8(b),[g,y]=s.useState(()=>n&&!O8(n,r));s.useEffect(()=>{if(n){const _=F5(r,()=>{y(!0)});return _(),()=>{var P;(P=_==null?void 0:_.cancel)===null||P===void 0||P.call(_)}}y(!1)},[r,n]);const C=s.useMemo(()=>typeof d<"u"&&!f,[d,f]),{direction:$,spin:x}=s.useContext(it),w=q(b,x==null?void 0:x.className,{[`${b}-sm`]:a==="small",[`${b}-lg`]:a==="large",[`${b}-spinning`]:g,[`${b}-show-text`]:!!l,[`${b}-fullscreen`]:f,[`${b}-fullscreen-show`]:f&&g,[`${b}-rtl`]:$==="rtl"},o,i,S,v),R=q(`${b}-container`,{[`${b}-blur`]:g}),O=Gn(m,["indicator"]),I=Object.assign(Object.assign({},x==null?void 0:x.style),u),M=s.createElement("div",Object.assign({},O,{style:I,className:w,"aria-live":"polite","aria-busy":g}),E8(b,e),l&&(C||f)?s.createElement("div",{className:`${b}-text`},l):null);return h(C?s.createElement("div",Object.assign({},O,{className:q(`${b}-nested-loading`,c,S,v)}),g&&s.createElement("div",{key:"loading"},M),s.createElement("div",{className:R,key:"container"},d)):M)};Fw.setDefaultIndicator=e=>{yc=e};const R8=Fw,ip=X.createContext({});ip.Consumer;var Bw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:n,avatar:r,title:o,description:i}=e,a=Bw(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:l}=s.useContext(it),c=l("list",t),u=q(`${c}-item-meta`,n),d=X.createElement("div",{className:`${c}-item-meta-content`},o&&X.createElement("h4",{className:`${c}-item-meta-title`},o),i&&X.createElement("div",{className:`${c}-item-meta-description`},i));return X.createElement("div",Object.assign({},a,{className:u}),r&&X.createElement("div",{className:`${c}-item-meta-avatar`},r),(o||i)&&d)},P8=(e,t)=>{var{prefixCls:n,children:r,actions:o,extra:i,className:a,colStyle:l}=e,c=Bw(e,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:u,itemLayout:d}=s.useContext(ip),{getPrefixCls:f}=s.useContext(it),m=()=>{let g;return s.Children.forEach(r,y=>{typeof y=="string"&&(g=!0)}),g&&s.Children.count(r)>1},p=()=>d==="vertical"?!!i:!m(),b=f("list",n),h=o&&o.length>0&&X.createElement("ul",{className:`${b}-item-action`,key:"actions"},o.map((g,y)=>X.createElement("li",{key:`${b}-item-action-${y}`},g,y!==o.length-1&&X.createElement("em",{className:`${b}-item-action-split`})))),S=u?"div":"li",v=X.createElement(S,Object.assign({},c,u?{}:{ref:t},{className:q(`${b}-item`,{[`${b}-item-no-flex`]:!p()},a)}),d==="vertical"&&i?[X.createElement("div",{className:`${b}-item-main`,key:"content"},r,h),X.createElement("div",{className:`${b}-item-extra`,key:"extra"},i)]:[r,h,ui(i,{key:"extra"})]);return u?X.createElement(Z5,{ref:t,flex:1,style:l},v):v},Hw=s.forwardRef(P8);Hw.Meta=I8;const M8=Hw,T8=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:o,itemPaddingSM:i,itemPaddingLG:a,marginLG:l,borderRadiusLG:c}=e;return{[`${t}`]:{border:`${V(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${V(o)} ${V(l)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}}}},N8=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:o,marginSM:i,margin:a}=e;return{[`@media screen and (max-width:${r}px)`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:o}}}},[`@media screen and (max-width: ${n}px)`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${V(a)}`}}}}}},_8=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:o,paddingSM:i,marginLG:a,padding:l,itemPadding:c,colorPrimary:u,itemPaddingSM:d,itemPaddingLG:f,paddingXS:m,margin:p,colorText:b,colorTextDescription:h,motionDurationSlow:S,lineWidth:v,headerBg:g,footerBg:y,emptyTextPadding:C,metaMarginBottom:$,avatarMarginRight:x,titleMarginBottom:w,descriptionFontSize:R}=e,O={};return["start","center","end"].forEach(I=>{O[`&-align-${I}`]={textAlign:I}}),{[`${t}`]:Object.assign(Object.assign({},Kn(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:g},[`${t}-footer`]:{background:y},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:Object.assign(Object.assign({marginBlockStart:a},O),{[`${n}-pagination-options`]:{textAlign:"start"}}),[`${t}-spin`]:{minHeight:o,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:b,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:x},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:b},[`${t}-item-meta-title`]:{margin:`0 0 ${V(e.marginXXS)} 0`,color:b,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:b,transition:`all ${S}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:h,fontSize:R,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${V(m)}`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:v,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${V(l)} 0`,color:h,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:C,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:p,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:a},[`${t}-item-meta`]:{marginBlockEnd:$,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:w,color:b,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:l,marginInlineStart:"auto","> li":{padding:`0 ${V(l)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${V(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${V(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${V(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${V(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:f},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},z8=e=>({contentWidth:220,itemPadding:`${V(e.paddingContentVertical)} 0`,itemPaddingSM:`${V(e.paddingContentVerticalSM)} ${V(e.paddingContentHorizontal)}`,itemPaddingLG:`${V(e.paddingContentVerticalLG)} ${V(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),L8=sn("List",e=>{const t=Tt(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[_8(t),T8(t),N8(t)]},z8);var j8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o(de,fe)=>{var xe;R(de),I(fe),n&&n[ce]&&((xe=n==null?void 0:n[ce])===null||xe===void 0||xe.call(n,de,fe))},T=N("onChange"),E=N("onShowSizeChange"),L=(ce,de)=>{if(!y)return null;let fe;return typeof g=="function"?fe=g(ce):g?fe=ce[g]:fe=ce.key,fe||(fe=`list-item-${de}`),s.createElement(s.Fragment,{key:fe},y(ce,de))},j=()=>!!(f||n||S),F=M("list",r),[H,U,G]=L8(F);let K=v;typeof K=="boolean"&&(K={spinning:K});const ie=K&&K.spinning,J=Do(b);let ee="";switch(J){case"large":ee="lg";break;case"small":ee="sm";break}const ae=q(F,{[`${F}-vertical`]:d==="vertical",[`${F}-${ee}`]:ee,[`${F}-split`]:i,[`${F}-bordered`]:o,[`${F}-loading`]:ie,[`${F}-grid`]:!!m,[`${F}-something-after-last-item`]:j(),[`${F}-rtl`]:P==="rtl"},z==null?void 0:z.className,a,l,U,G),Q=Gj(A,{total:p.length,current:w,pageSize:O},n||{}),W=Math.ceil(Q.total/Q.pageSize);Q.current>W&&(Q.current=W);const le=n?s.createElement("div",{className:q(`${F}-pagination`,`${F}-pagination-align-${(t=Q==null?void 0:Q.align)!==null&&t!==void 0?t:"end"}`)},s.createElement(y8,Object.assign({},Q,{onChange:T,onShowSizeChange:E}))):null;let se=Te(p);n&&p.length>(Q.current-1)*Q.pageSize&&(se=Te(p).splice((Q.current-1)*Q.pageSize,Q.pageSize));const ne=Object.keys(m||{}).some(ce=>["xs","sm","md","lg","xl","xxl"].includes(ce)),Y=Hx(ne),pe=s.useMemo(()=>{for(let ce=0;ce{if(!m)return;const ce=pe&&m[pe]?m[pe]:m.column;if(ce)return{width:`${100/ce}%`,maxWidth:`${100/ce}%`}},[m==null?void 0:m.column,pe]);let re=ie&&s.createElement("div",{style:{minHeight:53}});if(se.length>0){const ce=se.map((de,fe)=>L(de,fe));re=m?s.createElement(t6,{gutter:m.gutter},s.Children.map(ce,de=>s.createElement("div",{key:de==null?void 0:de.key,style:me},de))):s.createElement("ul",{className:`${F}-items`},ce)}else!u&&!ie&&(re=s.createElement("div",{className:`${F}-empty-text`},C&&C.emptyText||(_==null?void 0:_("List"))||s.createElement(zx,{componentName:"List"})));const Z=Q.position||"bottom",ue=s.useMemo(()=>({grid:m,itemLayout:d}),[JSON.stringify(m),d]);return H(s.createElement(ip.Provider,{value:ue},s.createElement("div",Object.assign({style:Object.assign(Object.assign({},z==null?void 0:z.style),c),className:ae},$),(Z==="top"||Z==="both")&&le,h&&s.createElement("div",{className:`${F}-header`},h),s.createElement(R8,Object.assign({},K),re,u),S&&s.createElement("div",{className:`${F}-footer`},S),f||(Z==="bottom"||Z==="both")&&le)))}Vl.Item=M8;const A8=e=>{const t=e!=null&&e.algorithm?zl(e.algorithm):zl(ts),n=Object.assign(Object.assign({},ba),e==null?void 0:e.token);return LS(n,{override:e==null?void 0:e.token},t,Ig)},D8=A8;function F8(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const B8=(e,t)=>{const n=t??ts(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),F8(t??e)),iC(r)),{controlHeight:o}),rC(Object.assign(Object.assign({},n),{controlHeight:o})))},H8=B8,Gr=(e,t)=>new jt(e).setAlpha(t).toRgbString(),_i=(e,t)=>new jt(e).lighten(t).toHexString(),k8=e=>{const t=oo(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},V8=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Gr(r,.85),colorTextSecondary:Gr(r,.65),colorTextTertiary:Gr(r,.45),colorTextQuaternary:Gr(r,.25),colorFill:Gr(r,.18),colorFillSecondary:Gr(r,.12),colorFillTertiary:Gr(r,.08),colorFillQuaternary:Gr(r,.04),colorBgElevated:_i(n,12),colorBgContainer:_i(n,8),colorBgLayout:_i(n,0),colorBgSpotlight:_i(n,26),colorBgBlur:Gr(r,.04),colorBorder:_i(n,26),colorBorderSecondary:_i(n,19)}},W8=(e,t)=>{const n=Object.keys(Rg).map(o=>{const i=oo(e[o],{theme:"dark"});return new Array(10).fill(1).reduce((a,l,c)=>(a[`${o}-${c+1}`]=i[c],a[`${o}${c+1}`]=i[c],a),{})}).reduce((o,i)=>(o=Object.assign(Object.assign({},o),i),o),{}),r=t??ts(e);return Object.assign(Object.assign(Object.assign({},r),n),oC(e,{generateColorPalettes:k8,generateNeutralColorPalettes:V8}))},U8=W8;function G8(){const[e,t,n]=Mn();return{theme:e,token:t,hashId:n}}const K8={defaultConfig:Al,defaultSeed:Al.token,useToken:G8,defaultAlgorithm:ts,darkAlgorithm:U8,compactAlgorithm:H8,getDesignToken:D8};var q8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n=u=>{const{keyCode:d}=u;d===te.ENTER&&u.preventDefault()},r=u=>{const{keyCode:d}=u,{onClick:f}=e;d===te.ENTER&&f&&f()},{style:o,noStyle:i,disabled:a}=e,l=q8(e,["style","noStyle","disabled"]);let c={};return i||(c=Object.assign({},X8)),a&&(c.pointerEvents="none"),c=Object.assign(Object.assign({},c),o),s.createElement("div",Object.assign({role:"button",tabIndex:0,ref:t},l,{onKeyDown:n,onKeyUp:r,style:c}))}),kw=Y8;var Q8={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"};const Z8=Q8;var J8=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:Z8}))},eA=s.forwardRef(J8);const tA=eA;var nA=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var f=Ay[t.format]||Ay.default;window.clipboardData.setData(f,e)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,e);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(l),i.selectNodeContents(l),a.addRange(i);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");c=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(f){n&&console.error("unable to copy using clipboardData: ",f),n&&console.error("falling back to prompt"),r=iA("message"in t?t.message:oA),window.prompt(r,e)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(i):a.removeAllRanges()),l&&document.body.removeChild(l),o()}return c}var lA=aA;const sA=lu(lA);var cA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};const uA=cA;var dA=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:uA}))},fA=s.forwardRef(dA);const mA=fA,vA=(e,t,n,r)=>{const{titleMarginBottom:o,fontWeightStrong:i}=r;return{marginBottom:o,color:n,fontWeight:i,fontSize:e,lineHeight:t}},gA=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` - h${r}&, - div&-h${r}, - div&-h${r} > textarea, - h${r} - `]=vA(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},pA=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},fC(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},hA=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:GR[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),yA=e=>{const{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${V(r)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},bA=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),SA=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),CA=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},gA(e)),{[` - & + h1${t}, - & + h2${t}, - & + h3${t}, - & + h4${t}, - & + h5${t} - `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),hA(e)),pA(e)),{[` - ${t}-expand, - ${t}-edit, - ${t}-copy - `]:Object.assign(Object.assign({},fC(e)),{marginInlineStart:e.marginXXS})}),yA(e)),bA(e)),SA()),{"&-rtl":{direction:"rtl"}})}},xA=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),Vw=sn("Typography",e=>[CA(e)],xA),wA=e=>{const{prefixCls:t,"aria-label":n,className:r,style:o,direction:i,maxLength:a,autoSize:l=!0,value:c,onSave:u,onCancel:d,onEnd:f,component:m,enterIcon:p=s.createElement(mA,null)}=e,b=s.useRef(null),h=s.useRef(!1),S=s.useRef(),[v,g]=s.useState(c);s.useEffect(()=>{g(c)},[c]),s.useEffect(()=>{if(b.current&&b.current.resizableTextArea){const{textArea:A}=b.current.resizableTextArea;A.focus();const{length:N}=A.value;A.setSelectionRange(N,N)}},[]);const y=A=>{let{target:N}=A;g(N.value.replace(/[\n\r]/g,""))},C=()=>{h.current=!0},$=()=>{h.current=!1},x=A=>{let{keyCode:N}=A;h.current||(S.current=N)},w=()=>{u(v.trim())},R=A=>{let{keyCode:N,ctrlKey:T,altKey:E,metaKey:L,shiftKey:j}=A;S.current===N&&!h.current&&!T&&!E&&!L&&!j&&(N===te.ENTER?(w(),f==null||f()):N===te.ESC&&d())},O=()=>{w()},I=m?`${t}-${m}`:"",[M,_,P]=Vw(t),z=q(t,`${t}-edit-content`,{[`${t}-rtl`]:i==="rtl"},r,I,_,P);return M(s.createElement("div",{className:z,style:o},s.createElement(T6,{ref:b,maxLength:a,value:v,onChange:y,onKeyDown:x,onKeyUp:R,onCompositionStart:C,onCompositionEnd:$,onBlur:O,"aria-label":n,rows:1,autoSize:l}),p!==null?ui(p,{className:`${t}-edit-content-confirm`}):null))},$A=wA;function yf(e,t){return s.useMemo(()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&typeof e=="object"?e:null)]},[e])}const EA=(e,t)=>{const n=s.useRef(!1);s.useEffect(()=>{n.current?e():n.current=!0},t)};var OA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,component:r="article",className:o,rootClassName:i,setContentRef:a,children:l,direction:c,style:u}=e,d=OA(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:m,typography:p}=s.useContext(it),b=c??m;let h=t;a&&(h=lo(t,a));const S=f("typography",n),[v,g,y]=Vw(S),C=q(S,p==null?void 0:p.className,{[`${S}-rtl`]:b==="rtl"},o,i,g,y),$=Object.assign(Object.assign({},p==null?void 0:p.style),u);return v(s.createElement(r,Object.assign({className:C,style:$,ref:h},d),l))}),Ww=RA;var IA={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"};const PA=IA;var MA=function(t,n){return s.createElement(Gt,ve({},t,{ref:n,icon:PA}))},TA=s.forwardRef(MA);const NA=TA;function Dy(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function Ks(e,t,n){return e===!0||e===void 0?t:e||n&&t}function _A(e){const{prefixCls:t,copied:n,locale:r={},onCopy:o,iconOnly:i,tooltips:a,icon:l}=e,c=Dy(a),u=Dy(l),{copied:d,copy:f}=r,m=n?Ks(c[1],d):Ks(c[0],f),b=typeof m=="string"?m:n?d:f;return s.createElement(Kg,{key:"copy",title:m},s.createElement(kw,{className:q(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:i}),onClick:o,"aria-label":b},n?Ks(u[1],s.createElement(Dx,null),!0):Ks(u[0],s.createElement(NA,null),!0)))}const qs=s.forwardRef((e,t)=>{let{style:n,children:r}=e;const o=s.useRef(null);return s.useImperativeHandle(t,()=>({isExceed:()=>{const i=o.current;return i.scrollHeight>i.clientHeight},getHeight:()=>o.current.clientHeight})),s.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)});function Uw(e){const t=typeof e;return t==="string"||t==="number"}function zA(e){let t=0;return e.forEach(n=>{Uw(n)?t+=String(n).length:t+=1}),t}function Fy(e,t){let n=0;const r=[];for(let o=0;ot){const u=t-n;return r.push(String(i).slice(0,u)),r}r.push(i),n=c}return e}const bf=0,Sf=1,Cf=2,By=3,Xs={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function LA(e){const{enableMeasure:t,width:n,text:r,children:o,rows:i,miscDeps:a,onEllipsis:l}=e,c=s.useMemo(()=>hr(r),[r]),u=s.useMemo(()=>zA(c),[r]),d=s.useMemo(()=>o(c,!1,!1),[r]),[f,m]=s.useState(null),p=s.useRef(null),b=s.useRef(null),h=s.useRef(null),S=s.useRef(null),[v,g]=s.useState(bf),[y,C]=s.useState(0);It(()=>{g(t&&n&&u?Sf:bf)},[n,r,i,t,c]),It(()=>{var R,O,I,M;if(v===Sf){const _=!!(!((R=b.current)===null||R===void 0)&&R.isExceed());g(_?Cf:By),m(_?[0,u]:null);const P=((O=b.current)===null||O===void 0?void 0:O.getHeight())||0,z=i===1?0:((I=h.current)===null||I===void 0?void 0:I.getHeight())||0,A=((M=S.current)===null||M===void 0?void 0:M.getHeight())||0,N=z+A,T=Math.max(P,N);C(T+1),l(_)}},[v]);const $=f?Math.ceil((f[0]+f[1])/2):0;It(()=>{var R;const[O,I]=f||[0,0];if(O!==I){const _=(((R=p.current)===null||R===void 0?void 0:R.getHeight())||0)>y;let P=$;I-O===1&&(P=_?O:I),m(_?[O,P]:[P,I])}},[f,$]);const x=s.useMemo(()=>{if(v!==Cf||!f||f[0]!==f[1]){const R=o(c,!1,!1);return v!==By&&v!==bf?s.createElement("span",{style:Object.assign(Object.assign({},Xs),{WebkitLineClamp:i})},R):R}return o(Fy(c,f[0]),!0,!0)},[v,f,c].concat(Te(a))),w={width:n,whiteSpace:"normal",margin:0,padding:0};return s.createElement(s.Fragment,null,x,v===Sf&&s.createElement(s.Fragment,null,s.createElement(qs,{style:Object.assign(Object.assign(Object.assign({},w),Xs),{WebkitLineClamp:i}),ref:b},d),s.createElement(qs,{style:Object.assign(Object.assign(Object.assign({},w),Xs),{WebkitLineClamp:i-1}),ref:h},d),s.createElement(qs,{style:Object.assign(Object.assign(Object.assign({},w),Xs),{WebkitLineClamp:1}),ref:S},o([],!0,!0))),v===Cf&&f&&f[0]!==f[1]&&s.createElement(qs,{style:Object.assign(Object.assign({},w),{top:400}),ref:p},o(Fy(c,$),!0,!0)))}const jA=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:o}=e;return!(o!=null&&o.title)||!t?r:s.createElement(Kg,Object.assign({open:n?void 0:!1},o),r)},AA=jA;var DA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r,o;const{prefixCls:i,className:a,style:l,type:c,disabled:u,children:d,ellipsis:f,editable:m,copyable:p,component:b,title:h}=e,S=DA(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:v,direction:g}=s.useContext(it),[y]=Og("Text"),C=s.useRef(null),$=s.useRef(null),x=v("typography",i),w=Gn(S,["mark","code","delete","underline","strong","keyboard","italic"]),[R,O]=yf(m),[I,M]=on(!1,{value:O.editing}),{triggerType:_=["icon"]}=O,P=oe=>{var Re;oe&&((Re=O.onStart)===null||Re===void 0||Re.call(O)),M(oe)};EA(()=>{var oe;I||(oe=$.current)===null||oe===void 0||oe.focus()},[I]);const z=oe=>{oe==null||oe.preventDefault(),P(!0)},A=oe=>{var Re;(Re=O.onChange)===null||Re===void 0||Re.call(O,oe),P(!1)},N=()=>{var oe;(oe=O.onCancel)===null||oe===void 0||oe.call(O),P(!1)},[T,E]=yf(p),[L,j]=s.useState(!1),F=s.useRef(null),H={};E.format&&(H.format=E.format);const U=()=>{F.current&&clearTimeout(F.current)},G=oe=>{var Re;oe==null||oe.preventDefault(),oe==null||oe.stopPropagation(),sA(E.text||String(d)||"",H),j(!0),U(),F.current=setTimeout(()=>{j(!1)},3e3),(Re=E.onCopy)===null||Re===void 0||Re.call(E,oe)};s.useEffect(()=>U,[]);const[K,ie]=s.useState(!1),[J,ee]=s.useState(!1),[ae,Q]=s.useState(!1),[W,le]=s.useState(!1),[se,ne]=s.useState(!1),[Y,pe]=s.useState(!0),[me,re]=yf(f,{expandable:!1}),Z=me&&!ae,{rows:ue=1}=re,ce=s.useMemo(()=>!Z||re.suffix!==void 0||re.onEllipsis||re.expandable||R||T,[Z,re,R,T]);It(()=>{me&&!ce&&(ie(y0("webkitLineClamp")),ee(y0("textOverflow")))},[ce,me]);const de=s.useMemo(()=>ce?!1:ue===1?J:K,[ce,J,K]),fe=Z&&(de?se:W),xe=Z&&ue===1&&de,De=Z&&ue>1&&de,Ee=oe=>{var Re;Q(!0),(Re=re.onExpand)===null||Re===void 0||Re.call(re,oe)},[qe,Oe]=s.useState(0),ye=oe=>{let{offsetWidth:Re}=oe;Oe(Re)},$e=oe=>{var Re;le(oe),W!==oe&&((Re=re.onEllipsis)===null||Re===void 0||Re.call(re,oe))};s.useEffect(()=>{const oe=C.current;if(me&&de&&oe){const Re=De?oe.offsetHeight{const oe=C.current;if(typeof IntersectionObserver>"u"||!oe||!de||!Z)return;const Re=new IntersectionObserver(()=>{pe(!!oe.offsetParent)});return Re.observe(oe),()=>{Re.disconnect()}},[de,Z]);let Ce={};re.tooltip===!0?Ce={title:(n=O.text)!==null&&n!==void 0?n:d}:s.isValidElement(re.tooltip)?Ce={title:re.tooltip}:typeof re.tooltip=="object"?Ce=Object.assign({title:(r=O.text)!==null&&r!==void 0?r:d},re.tooltip):Ce={title:re.tooltip};const Xe=s.useMemo(()=>{const oe=Re=>["string","number"].includes(typeof Re);if(!(!me||de)){if(oe(O.text))return O.text;if(oe(d))return d;if(oe(h))return h;if(oe(Ce.title))return Ce.title}},[me,de,h,Ce.title,fe]);if(I)return s.createElement($A,{value:(o=O.text)!==null&&o!==void 0?o:typeof d=="string"?d:"",onSave:A,onCancel:N,onEnd:O.onEnd,prefixCls:x,className:a,style:l,direction:g,component:b,maxLength:O.maxLength,autoSize:O.autoSize,enterIcon:O.enterIcon});const nt=()=>{const{expandable:oe,symbol:Re}=re;if(!oe)return null;let et;return Re?et=Re:et=y==null?void 0:y.expand,s.createElement("a",{key:"expand",className:`${x}-expand`,onClick:Ee,"aria-label":y==null?void 0:y.expand},et)},Je=()=>{if(!R)return;const{icon:oe,tooltip:Re}=O,et=hr(Re)[0]||(y==null?void 0:y.edit),dt=typeof et=="string"?et:"";return _.includes("icon")?s.createElement(Kg,{key:"edit",title:Re===!1?"":et},s.createElement(kw,{ref:$,className:`${x}-edit`,onClick:z,"aria-label":dt},oe||s.createElement(tA,{role:"button"}))):null},at=()=>T?s.createElement(_A,Object.assign({key:"copy"},E,{prefixCls:x,copied:L,locale:y,onCopy:G,iconOnly:d==null})):null,Ye=oe=>[oe&&nt(),Je(),at()],We=oe=>[oe&&s.createElement("span",{"aria-hidden":!0,key:"ellipsis"},BA),re.suffix,Ye(oe)];return s.createElement(vr,{onResize:ye,disabled:!Z},oe=>s.createElement(AA,{tooltipProps:Ce,enableEllipsis:Z,isEllipsis:fe},s.createElement(Ww,Object.assign({className:q({[`${x}-${c}`]:c,[`${x}-disabled`]:u,[`${x}-ellipsis`]:me,[`${x}-single-line`]:Z&&ue===1,[`${x}-ellipsis-single-line`]:xe,[`${x}-ellipsis-multiple-line`]:De},a),prefixCls:i,style:Object.assign(Object.assign({},l),{WebkitLineClamp:De?ue:void 0}),component:b,ref:lo(oe,C,t),direction:g,onClick:_.includes("text")?z:void 0,"aria-label":Xe==null?void 0:Xe.toString(),title:h},w),s.createElement(LA,{enableMeasure:Z&&!de,text:d,rows:ue,width:qe,onEllipsis:$e,miscDeps:[L,ae]},(Re,et)=>{let dt=Re;return Re.length&&et&&Xe&&(dt=s.createElement("span",{key:"show-content","aria-hidden":!0},dt)),FA(e,s.createElement(s.Fragment,null,dt,We(et)))}))))}),id=HA;var kA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{ellipsis:n,rel:r}=e,o=kA(e,["ellipsis","rel"]);const i=Object.assign(Object.assign({},o),{rel:r===void 0&&o.target==="_blank"?"noopener noreferrer":r});return delete i.navigate,s.createElement(id,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),WA=VA,UA=s.forwardRef((e,t)=>s.createElement(id,Object.assign({ref:t},e,{component:"div"}))),GA=UA;var KA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{ellipsis:n}=e,r=KA(e,["ellipsis"]);const o=s.useMemo(()=>n&&typeof n=="object"?Gn(n,["expandable","rows"]):n,[n]);return s.createElement(id,Object.assign({ref:t},r,{ellipsis:o,component:"span"}))},XA=s.forwardRef(qA);var YA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{level:n=1}=e,r=YA(e,["level"]);let o;return QA.includes(n)?o=`h${n}`:o="h1",s.createElement(id,Object.assign({ref:t},r,{component:o}))}),JA=ZA,fs=Ww;fs.Text=XA;fs.Link=WA;fs.Title=JA;fs.Paragraph=GA;const Gw=fs;/** - * @remix-run/router v1.15.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Wl(){return Wl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Kw(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function tD(){return Math.random().toString(36).substr(2,8)}function ky(e,t){return{usr:e.state,key:e.key,idx:t}}function pv(e,t,n,r){return n===void 0&&(n=null),Wl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ta(t):t,{state:n,key:t&&t.key||r||tD()})}function qw(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ta(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function nD(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,l=xo.Pop,c=null,u=d();u==null&&(u=0,a.replaceState(Wl({},a.state,{idx:u}),""));function d(){return(a.state||{idx:null}).idx}function f(){l=xo.Pop;let S=d(),v=S==null?null:S-u;u=S,c&&c({action:l,location:h.location,delta:v})}function m(S,v){l=xo.Push;let g=pv(h.location,S,v);n&&n(g,S),u=d()+1;let y=ky(g,u),C=h.createHref(g);try{a.pushState(y,"",C)}catch($){if($ instanceof DOMException&&$.name==="DataCloneError")throw $;o.location.assign(C)}i&&c&&c({action:l,location:h.location,delta:1})}function p(S,v){l=xo.Replace;let g=pv(h.location,S,v);n&&n(g,S),u=d();let y=ky(g,u),C=h.createHref(g);a.replaceState(y,"",C),i&&c&&c({action:l,location:h.location,delta:0})}function b(S){let v=o.location.origin!=="null"?o.location.origin:o.location.href,g=typeof S=="string"?S:qw(S);return g=g.replace(/ $/,"%20"),an(v,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,v)}let h={get action(){return l},get location(){return e(o,a)},listen(S){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(Hy,f),c=S,()=>{o.removeEventListener(Hy,f),c=null}},createHref(S){return t(o,S)},createURL:b,encodeLocation(S){let v=b(S);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:m,replace:p,go(S){return a.go(S)}};return h}var Vy;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Vy||(Vy={}));function rD(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Ta(t):t,o=Qw(r.pathname||"/",n);if(o==null)return null;let i=Xw(e);oD(i);let a=null;for(let l=0;a==null&&l{let c={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};c.relativePath.startsWith("/")&&(an(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=ni([r,c.relativePath]),d=n.concat(c);i.children&&i.children.length>0&&(an(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Xw(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:dD(u,i.index),routesMeta:d})};return e.forEach((i,a)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,a);else for(let c of Yw(i.path))o(i,a,c)}),t}function Yw(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=Yw(r.join("/")),l=[];return l.push(...a.map(c=>c===""?i:[i,c].join("/"))),o&&l.push(...a),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function oD(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:fD(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const iD=/^:[\w-]+$/,aD=3,lD=2,sD=1,cD=10,uD=-2,Wy=e=>e==="*";function dD(e,t){let n=e.split("/"),r=n.length;return n.some(Wy)&&(r+=uD),t&&(r+=lD),n.filter(o=>!Wy(o)).reduce((o,i)=>o+(iD.test(i)?aD:i===""?sD:cD),r)}function fD(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function mD(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let a=0;a{let{paramName:m,isOptional:p}=d;if(m==="*"){let h=l[f]||"";a=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}const b=l[f];return p&&!b?u[m]=void 0:u[m]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:a,pattern:e}}function gD(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Kw(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function pD(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Kw(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Qw(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function hD(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ta(e):e;return{pathname:n?n.startsWith("/")?n:yD(n,t):t,search:wD(r),hash:$D(o)}}function yD(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function xf(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function bD(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function SD(e,t){let n=bD(e);return t?n.map((r,o)=>o===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function CD(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Ta(e):(o=Wl({},e),an(!o.pathname||!o.pathname.includes("?"),xf("?","pathname","search",o)),an(!o.pathname||!o.pathname.includes("#"),xf("#","pathname","hash",o)),an(!o.search||!o.search.includes("#"),xf("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,l;if(a==null)l=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let m=a.split("/");for(;m[0]==="..";)m.shift(),f-=1;o.pathname=m.join("/")}l=f>=0?t[f]:"/"}let c=hD(o,l),u=a&&a!=="/"&&a.endsWith("/"),d=(i||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const ni=e=>e.join("/").replace(/\/\/+/g,"/"),xD=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),wD=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$D=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function ED(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Zw=["post","put","patch","delete"];new Set(Zw);const OD=["get",...Zw];new Set(OD);/** - * React Router v6.22.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Ul(){return Ul=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),s.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=CD(u,JSON.parse(a),i,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ni([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,a,i,e])}function sp(){let{matches:e}=s.useContext(bi),t=e[e.length-1];return t?t.params:{}}function PD(e,t){return MD(e,t)}function MD(e,t,n,r){sd()||an(!1);let{navigator:o}=s.useContext(ad),{matches:i}=s.useContext(bi),a=i[i.length-1],l=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let u=lp(),d;if(t){var f;let S=typeof t=="string"?Ta(t):t;c==="/"||(f=S.pathname)!=null&&f.startsWith(c)||an(!1),d=S}else d=u;let m=d.pathname||"/",p=m;if(c!=="/"){let S=c.replace(/^\//,"").split("/");p="/"+m.replace(/^\//,"").split("/").slice(S.length).join("/")}let b=rD(e,{pathname:p}),h=LD(b&&b.map(S=>Object.assign({},S,{params:Object.assign({},l,S.params),pathname:ni([c,o.encodeLocation?o.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?c:ni([c,o.encodeLocation?o.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),i,n,r);return t&&h?s.createElement(ld.Provider,{value:{location:Ul({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:xo.Pop}},h):h}function TD(){let e=FD(),t=ED(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},t),n?s.createElement("pre",{style:o},n):null,null)}const ND=s.createElement(TD,null);class _D extends s.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?s.createElement(bi.Provider,{value:this.props.routeContext},s.createElement(Jw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function zD(e){let{routeContext:t,match:n,children:r}=e,o=s.useContext(ap);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),s.createElement(bi.Provider,{value:t},r)}function LD(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let a=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let d=a.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id]));d>=0||an(!1),a=a.slice(0,Math.min(a.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((d,f,m)=>{let p,b=!1,h=null,S=null;n&&(p=l&&f.route.id?l[f.route.id]:void 0,h=f.route.errorElement||ND,c&&(u<0&&m===0?(HD("route-fallback",!1),b=!0,S=null):u===m&&(b=!0,S=f.route.hydrateFallbackElement||null)));let v=t.concat(a.slice(0,m+1)),g=()=>{let y;return p?y=h:b?y=S:f.route.Component?y=s.createElement(f.route.Component,null):f.route.element?y=f.route.element:y=d,s.createElement(zD,{match:f,routeContext:{outlet:d,matches:v,isDataRoute:n!=null},children:y})};return n&&(f.route.ErrorBoundary||f.route.errorElement||m===0)?s.createElement(_D,{location:n.location,revalidation:n.revalidation,component:h,error:p,children:g(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):g()},null)}var n$=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(n$||{}),au=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(au||{});function jD(e){let t=s.useContext(ap);return t||an(!1),t}function AD(e){let t=s.useContext(RD);return t||an(!1),t}function DD(e){let t=s.useContext(bi);return t||an(!1),t}function r$(e){let t=DD(),n=t.matches[t.matches.length-1];return n.route.id||an(!1),n.route.id}function FD(){var e;let t=s.useContext(Jw),n=AD(au.UseRouteError),r=r$(au.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function BD(){let{router:e}=jD(n$.UseNavigateStable),t=r$(au.UseNavigateStable),n=s.useRef(!1);return e$(()=>{n.current=!0}),s.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Ul({fromRouteId:t},i)))},[e,t])}const Uy={};function HD(e,t,n){!t&&!Uy[e]&&(Uy[e]=!0)}function bc(e){an(!1)}function kD(e){let{basename:t="/",children:n=null,location:r,navigationType:o=xo.Pop,navigator:i,static:a=!1,future:l}=e;sd()&&an(!1);let c=t.replace(/^\/*/,"/"),u=s.useMemo(()=>({basename:c,navigator:i,static:a,future:Ul({v7_relativeSplatPath:!1},l)}),[c,l,i,a]);typeof r=="string"&&(r=Ta(r));let{pathname:d="/",search:f="",hash:m="",state:p=null,key:b="default"}=r,h=s.useMemo(()=>{let S=Qw(d,c);return S==null?null:{location:{pathname:S,search:f,hash:m,state:p,key:b},navigationType:o}},[c,d,f,m,p,b,o]);return h==null?null:s.createElement(ad.Provider,{value:u},s.createElement(ld.Provider,{children:n,value:h}))}function VD(e){let{children:t,location:n}=e;return PD(hv(t),n)}new Promise(()=>{});function hv(e,t){t===void 0&&(t=[]);let n=[];return s.Children.forEach(e,(r,o)=>{if(!s.isValidElement(r))return;let i=[...t,o];if(r.type===s.Fragment){n.push.apply(n,hv(r.props.children,i));return}r.type!==bc&&an(!1),!r.props.index||!r.props.children||an(!1);let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=hv(r.props.children,i)),n.push(a)}),n}/** - * React Router DOM v6.22.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */const WD="6";try{window.__reactRouterVersion=WD}catch{}const UD="startTransition",Gy=Kl[UD];function GD(e){let{basename:t,children:n,future:r,window:o}=e,i=s.useRef();i.current==null&&(i.current=eD({window:o,v5Compat:!0}));let a=i.current,[l,c]=s.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},d=s.useCallback(f=>{u&&Gy?Gy(()=>c(f)):c(f)},[c,u]);return s.useLayoutEffect(()=>a.listen(d),[a,d]),s.createElement(kD,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:r})}var Ky;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ky||(Ky={}));var qy;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(qy||(qy={}));const yv=[{label:"Que es el dengue?",description:"El dengue es una enfermedad causada por un virus...",key:"que-es",media:"/images/ai_1.jpeg",media_details:"https://cmsphoto.ww-cdn.com/superstatic/3746339/art/grande/79009547-57285518.jpg",content:["El dengue es una enfermedad causada por un virus que se transmite a través de la picadura de un mosquito perteneciente al género Aedes, principalmente el Aedes aegypti, vector de la enfermedad. Este mosquito tiene hábitos domiciliarios, por lo que la transmisión es predominantemente doméstica. En otros continentes, otras especies de mosquitos del genero Aedes han sido involucradas en la transmisión del dengue.","El virus del dengue pertenece a la familia Flaviviridae y existen cuatro variantes, los serotipos 1,2, 3 y 4. La inmunidad es serotipo-específica por lo que la infección con un serotipo determinado confiere inmunidad permanente contra el mismo (inmunidad homóloga), y sólo por unos meses contra el resto de los serotipos (inmunidad heteróloga). Aunque, en teoría, una persona podría padecer dengue hasta cuatro veces a lo largo de su vida (una por cada serotipo), hasta el momento solo se han comprobado hasta tres infecciones en un mismo individuo.","Cualquier serotipo puede producir formas graves de la enfermedad, aunque los serotipos 2 y 3 han sido asociados a la mayor cantidad de casos graves y fallecidos.","El dengue es un problema creciente para la Salud Pública mundial, debido a varios factores: el cambio climático, el aumento de la población mundial en áreas urbanas de ocurrencia rápida y desorganizada, la insuficiente provisión de agua potable que obliga a su almacenamiento en recipientes caseros habitualmente descubiertos, la inadecuada recolección de residuos y la gran producción de recipientes descartables que sirven como criaderos de mosquitos al igual que los neumáticos desechados."]},{label:"Síntomas compatibles con el dengue",media:"/images/ai_2.jpeg",media_details:"https://cmsphoto.ww-cdn.com/superstatic/3746339/art/grande/79009894-57285622.jpg",key:"sintomas-compatibles",content:["La infección por dengue puede ser clínicamente inaparente o puede causar una enfermedad de variada intensidad. Luego de un período de incubación que puede ser de 5 a 7 días, (se han observado casos con un período de incubación de 3 hasta 14 días), podrán aparecer las manifestaciones clínicas, aunque una alta proporción de las personas infectadas cursarán de manera asintomática.","Las infecciones sintomáticas pueden variar desde formas leves de la enfermedad, que solo se manifiestan con un cuadro febril agudo, de duración limitada (2 a 7 días) a otros cuya fiebre se asocia a intenso malestar general, cefalea, dolor retro ocular, dolor muscular y dolores articulares.","En no más del 50% de los casos estos síntomas pueden acompañarse de un exantema en la mayoría de los casos pruriginoso, no patognomónico.","Algunos casos de dengue pueden evolucionar a formas graves (dengue grave) en las que hay manifestaciones hemorrágicas, pérdida de plasma debida al aumento de la permeabilidad vascular,(lo que ocasiona un incremento del hematocrito) y presencia de colecciones líquidas en cavidades serosas (derrame pleural, ascitis y derrame pericárdico), lo que puede llevar a un cuadro de shock.Los casos de dengue grave son más frecuentes en personas que ya padecieron dengue por un serotipo (infección primaria) y se infectan nuevamente (infección secundaria) con un serotipo diferente al que le ocasionó el primer cuadro. Este fenómeno puede ocurrir hasta muchos años después de ocurrida la infección primaria, pero no implica necesariamente que toda infección secundaria conduzca a dengue grave. No obstante, también la infección primaria puede asociarse a dengue grave, en relación a virulencia de la cepa o a otros factores del hospedero.","Finalmente, existen otras formas clínicas de dengue menos frecuentes, que se caracterizan por la afectación especialmente intensa de un órgano o sistema: encefalitis, miocarditis, hepatopatía, y afectación renal con insuficiencia renal aguda."]},{label:"Signos de alarma",media:"/images/ai_6.png",media_details:"https://cmsphoto.ww-cdn.com/superstatic/3746339/art/grande/79011051-57286104.jpg",key:"signos-de-alarma",content:["Dolor abdominal intenso y continuo o dolor a la palpación del abdomen. El dolor abdominal intenso y continuo significa que el paciente puede evolucionar o ya está evolucionando hacia el choque por dengue y sus temibles complicaciones.","Vómito persistente. Se define como tres o más episodios en 1 hora o cuatro en 6 horas. Estos impiden una hidratación oral adecuada y contribuyen a la hipovolemia.","Acumulación de líquidos. Suele manifestarse por derrame pleural, ascitis o derrame pericárdico y se detecta por métodos clínicos, por radiología o por ultrasonido, sin que se asocie necesariamente a dificultad respiratoria ni a compromiso hemodinámico.","Sangrado activo de mucosas. Suele presentarse en las encías y la nariz, pero también puede ser transvaginal (metrorragia e hipermenorrea), del aparato digestivo (vómitos con estrías sanguinolentas) o del riñón (hematuria macroscópica).","Alteración del estado de conciencia. Puede presentarse irritabilidad (inquietud) o somnolencia (letargo), con un puntaje en la escala de coma de Glasgow menor de 15.","Hepatomegalia. El borde hepático se palpa a más de 2 cm por debajo del reborde costal.","Aumento progresivo del hematocrito en al menos dos mediciones consecutivas durante el seguimiento del paciente."]},{label:"Fases de la enfermedad",media:"/images/ai_7.png",media_details:"https://cmsphoto.ww-cdn.com/superstatic/3746339/art/grande/79011175-57286206.jpg",key:"fases",content:["Fase febril

Los pacientes desarrollan fiebre alta y repentina. Esta fase febril aguda dura de 2 a 7 días y suele acompañarse de enrojecimiento facial, eritema, dolor corporal generalizado, mialgias, artralgias, cefalea y dolor retro-ocular. Pueden presentarse manifestaciones hemorrágicas menores, como petequias y equimosis en la piel. Los pacientes que mejoran después de que baja la fiebre, se consideran casos de dengue sin signos de alarma.

Problemas que pueden presentarse en la fase febril: deshidratación; la fiebre alta puede asociarse a trastornos neurológicos, y convulsiones en los niños pequeños.","Fase crítica

Cerca de la desaparición de la fiebre, cuando la temperatura desciende a 37,5 grados centígrados o menos y se mantiene por debajo de este nivel, por lo general, en los primeros 3 a 7 días de la enfermedad, puede aumentar la permeabilidad capilar paralelamente con los niveles del hematocrito. Esto marca el comienzo de la fase crítica. Los pacientes que empeoran con la caída de la fiebre y presentan signos de alarma, son casos de dengue con signos de alarma.

Problemas que pueden presentarse en la fase crítica: choque por la extravasación de plasma; hemorragias graves, compromiso serio de órganos.","Fase de recuperación

Cuando el paciente sobrevive a la fase crítica (la cual no excede las 48 a 72 horas), pasa a la fase de recuperación. Hay una mejoría del estado general, se recupera el apetito, mejoran los síntomas gastrointestinales se estabiliza el estado hemodinámico, y se incrementa la diuresis.

Problemas que pueden presentarse en la fase de recuperación: hipervolemia (si la terapia intravenosa de fluidos ha sido excesiva o se ha extendido en este período)."]},{label:"Prevención",key:"prevencion",media:"/images/ai_3.png",children:[{label:"Cómo protegernos de la picadura del mosquito",media:"/images/ai_8.png",key:"como-proteger",content:['
  • Usar siempre repelentes, siguiendo cuidadosamente las recomendaciones del envase.
  • Utilizar ropa clara que cubra los brazos y las piernas, especialmente durante las actividades al aire libre.
  • Colocar mosquiteros en puertas y ventanas, y cuando sea posible usar ventiladores o aire acondicionado en las habitaciones.
  • Proteger cunas y cochecitos de bebés con telas mosquiteras.
  • Utilizar repelentes ambientales como tabletas (interior) y espirales (exterior).

 

IMPORTANTE: Las personas embarazadas deben extremar los cuidados para protegerse de las picaduras

']},{label:"Cómo podemos prevenir el dengue",media:"/images/ai_9.png",key:"compo-prevenir",content:['
  • Eliminar todos los recipientes en desuso que puedan acumular agua (como latas, botellas, neumáticos).
  • Si los recipientes no pueden eliminarse porque se usan de modo frecuente, debe evitarse el acceso del mosquito a su interior. Para ello se recomienda: tapar tanques, aljibes y/o cisternas; dar vuelta baldes, palanganas, tambores, etc.; vaciar y cepillar frecuentemente objetos que puedan acumular agua y poner al resguardo bajo techo recipientes (por ejemplo, botellas retornables).
  • Cambiar el agua de bebederos de animales, colectores de desagües de aire acondicionado o lluvia, dentro y fuera de la casa, cada 3 días. Recordar frotar las paredes de los recipientes con una esponja o cepillo a fin de desprender los huevos del mosquito que puedan estar adheridos.
  • Rellenar los floreros y portamacetas con arena húmeda.
  • Mantener los patios y jardines limpios, ordenados y desmalezados.
  • Limpiar canaletas y desagües de lluvia de los techos.
  • Verter agua hirviendo en las rejillas y colocar tela mosquitera.

 

IMPORTANTE: Para reproducirse, el mosquito adhiere sus huevos a las paredes de los recipientes por lo que resulta clave, además de cambiar el agua, cepillar el interior de dichas paredes para eliminarlos.

 

  • La fumigación no es una medida de prevención suficiente para eliminar el mosquito
  • La aplicación de insecticidas es una medida de control destinada a eliminar a los mosquitos adultos, pero no es útil para eliminar los huevos ni las larvas.
']}]},{label:"¿Qué medidas tomar en casa?",media:"/images/ai_4.png",key:"medidas",content:["

Si Ud tiene síntomas compatibles con dengue se sugiere tomar las siguientes medidas:

  • Reposo en cama, uso de mosquitero durante la fase febril, especialmente durante el día (ver sección Prevención- cómo protegernos de la picadura del mosquito)
  • Dieta normal más líquidos abundantes. La hidratación con agua segura es una de las medidas más importantes, si un paciente no puede hidratarse consulte en forma urgente.
  • Adultos: líquidos abundantes por vía oral (por lo menos, cinco vasos (de 250ml) o más al día, para un adulto promedio de 70 kg de peso corporal).
  • Niños: líquidos abundantes por vía oral (leche, jugos de frutas naturales, con precaución en diabéticos), suero oral (sales de rehidratación oral) o agua de cebada, o de arroz recién preparada. El agua sola debe administrarse con precaución, ya que puede causar desequilibrio hidroelectrolítico.
  • Sales de Rehidratación oral: cada sobre debe diluirse en un litro de agua hervida o agua mineral a temperatura ambiente mezclando cuidadosamente antes de ofrecerla. Se conserva 24 hs a temperatura ambiente y 48 hs refrigerada. Ofrecer luego de cada deposición y/o vómito según tolerancia del paciente.
  • Paracetamol: se utiliza para aliviar el dolor leve a moderado y la fiebre.
  • Aplicación de lienzos de agua tibia en la frente.
  • Recomendaciones: buscar y eliminar los criaderos del vector (Aedes aegypti) de las casas y sus alrededores.

DEBE EVITARSE:

  • Los medicamentos para evitar el dolor y la inflamación, por ejemplo, AINES (ácido acetilsalicílico, metimazol, diclofenaco, otros) o esteroides, antibióticos y anticoagulantes orales.
  • Si está tomando esos medicamentos, evalúe la conveniencia de continuar ese tratamiento con su médico.
  • Está contraindicada la administración de medicamentos por vía intramuscular o rectal.

Si aparece alguno de los siguientes síntomas o signos, consulte al médico de inmediato (ver sección signos de alarma):

  • sangrado, petequias, epistaxis, gingivorragia, hematemesis, melena, metrorragia o polimenorrea
  • vómitos
  • dolor abdominal espontáneo o a la palpación del abdomen
  • somnolencia, confusión mental, desmayo, convulsiones
  • manos o pies pálidos, fríos o húmedos
  • dificultad para respirar
"]},{label:"Centros de contacto",media:"/images/ai_5.png",key:"contacto",content:['

 

Dengue sin signos de Alarma deben concurrir a:

Nodo La Merced : Av Libertador esq. pje Las muñecas. Horarios de Atención: 

-Lunes a Viernes de 14 a 22 hs

-Sábados, Domingos y Feriados de 10 a 22 hs

Nodo CIC Nueva Ciudad: Av San Expedito esq Alfonsín. Horarios de Atención:

-Lunes a Viernes de 14 a 22 hs

-Sábados, Domingos y Feriados de 10 a 22 hs

Dengue con signos de Alarma deben concurrir a:

-Guardia del Hospital Guillermo C. Paterson en forma urgente

 

Si el paciente no puede trasladarse por gravedad del cuadro clínico llamar al 107 SAME y avisar como caso de dengue grave

 

 

']}],KD=()=>{const e=sp(),{articleId:t}=e;console.log({params:e});const n=cp(yv,String(t),r=>r.key===t);return gt.jsxs(gt.Fragment,{children:[gt.jsx(Vl,{dataSource:n.content,header:gt.jsx(Gw.Title,{level:3,children:n.label}),renderItem:r=>gt.jsx(Vl.Item,{children:gt.jsx("div",{dangerouslySetInnerHTML:{__html:r}})})}),gt.jsx(jj,{src:n.media_details}),gt.jsx(l6,{})]})},Xy=()=>{var r;const{itemKey:e}=sp(),t=t$(),n=e?(r=cp(yv,e,o=>o.key===e))==null?void 0:r.children:yv;return gt.jsx(Vl,{grid:{gutter:24},dataSource:n,renderItem:o=>{var i;return gt.jsx(Vl.Item,{children:gt.jsx(xy,{style:{width:"20rem",maxWidth:"350px"},onClick:()=>t(o.children?`/articles/${o.key}`:`/article/${o.key}`),hoverable:!0,cover:(o==null?void 0:o.media)&>.jsx("img",{alt:`${o.key}-image`,src:(i=o.media)!=null&&i.startsWith("/")?`/dengue${o.media}`:o.media,style:{maxHeight:"12rem",objectFit:"cover"}}),children:gt.jsx(xy.Meta,{title:o.label})})})}})},{Content:qD}=zw,{Title:XD}=Gw,cp=(e,t,n)=>{for(const r of e){if(n(r))return r;if(r.children){const o=cp(r.children,t,n);if(o)return o}}},YD=()=>{const{token:{colorBgContainer:e,borderRadiusLG:t}}=K8.useToken(),n=t$(),r=lp(),o=sp(),{pathname:i}=r;return console.log({params:o,location:r,env:!0}),gt.jsxs(zw,{style:{minHeight:"100vh"},children:[gt.jsx(_w,{style:{display:"flex",alignItems:"center",width:"100%",gap:"1rem"},children:gt.jsxs(A6,{children:[i!=="/"&>.jsx(BM,{style:{verticalAlign:"middle",marginTop:"8px"},icon:gt.jsx(Ca,{style:{color:"white"}}),type:"text",onClick:()=>n(-1)}),gt.jsx(XD,{style:{color:"white"},children:" Dengue "})]})}),gt.jsx(qD,{style:{padding:"2rem 1rem",justifyContent:"center"},children:gt.jsx("div",{style:{background:e,borderRadius:t,justifyContent:"center"},children:gt.jsx("div",{style:{padding:"2rem",display:"flex",flexWrap:"wrap",gap:"1.5rem",justifyContent:"center",alignItems:"center",alignContent:"center",alignSelf:"center"},children:gt.jsxs(VD,{children:[gt.jsx(bc,{index:!0,element:gt.jsx(Xy,{})}),gt.jsx(bc,{path:"/article/:articleId",element:gt.jsx(KD,{})}),gt.jsx(bc,{path:"/articles/:itemKey",element:gt.jsx(Xy,{})})]})})})})]})},QD=()=>gt.jsx(NC,{theme:{token:{},components:{Layout:{headerBg:"#23b9ca",headerPadding:"1rem"},Menu:{}}},children:gt.jsx(GD,{basename:"/dengue",children:gt.jsx(YD,{})})});wf.createRoot(document.getElementById("root")).render(gt.jsx(X.StrictMode,{children:gt.jsx(QD,{})})); diff --git a/assets/index-CzhssHeR.js b/assets/index-CzhssHeR.js new file mode 100644 index 0000000..29b4a6b --- /dev/null +++ b/assets/index-CzhssHeR.js @@ -0,0 +1,334 @@ +function ab(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function cu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lb={exports:{}},uu={},sb={exports:{}},vt={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ql=Symbol.for("react.element"),w$=Symbol.for("react.portal"),$$=Symbol.for("react.fragment"),E$=Symbol.for("react.strict_mode"),O$=Symbol.for("react.profiler"),R$=Symbol.for("react.provider"),I$=Symbol.for("react.context"),P$=Symbol.for("react.forward_ref"),M$=Symbol.for("react.suspense"),T$=Symbol.for("react.memo"),N$=Symbol.for("react.lazy"),Sp=Symbol.iterator;function _$(e){return e===null||typeof e!="object"?null:(e=Sp&&e[Sp]||e["@@iterator"],typeof e=="function"?e:null)}var cb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ub=Object.assign,db={};function Ea(e,t,n){this.props=e,this.context=t,this.refs=db,this.updater=n||cb}Ea.prototype.isReactComponent={};Ea.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ea.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function fb(){}fb.prototype=Ea.prototype;function Ev(e,t,n){this.props=e,this.context=t,this.refs=db,this.updater=n||cb}var Ov=Ev.prototype=new fb;Ov.constructor=Ev;ub(Ov,Ea.prototype);Ov.isPureReactComponent=!0;var Cp=Array.isArray,mb=Object.prototype.hasOwnProperty,Rv={current:null},vb={key:!0,ref:!0,__self:!0,__source:!0};function gb(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)mb.call(t,r)&&!vb.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1>>1,H=R[F];if(0>>1;Fo(q,A))oeo(J,q)?(R[F]=J,R[oe]=A,F=oe):(R[F]=q,R[X]=A,F=X);else if(oeo(J,A))R[F]=J,R[oe]=A,F=oe;else break e}}return L}function o(R,L){var A=R.sortIndex-L.sortIndex;return A!==0?A:R.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],u=[],d=1,f=null,m=3,h=!1,b=!1,p=!1,S=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(R){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=R)r(u),L.sortIndex=L.expirationTime,t(c,L);else break;L=n(u)}}function C(R){if(p=!1,y(R),!b)if(n(c)!==null)b=!0,_($);else{var L=n(u);L!==null&&T(C,L.startTime-R)}}function $(R,L){b=!1,p&&(p=!1,v(E),E=-1),h=!0;var A=m;try{for(y(L),f=n(c);f!==null&&(!(f.expirationTime>L)||R&&!M());){var F=f.callback;if(typeof F=="function"){f.callback=null,m=f.priorityLevel;var H=F(f.expirationTime<=L);L=e.unstable_now(),typeof H=="function"?f.callback=H:f===n(c)&&r(c),y(L)}else r(c);f=n(c)}if(f!==null)var K=!0;else{var X=n(u);X!==null&&T(C,X.startTime-L),K=!1}return K}finally{f=null,m=A,h=!1}}var x=!1,w=null,E=-1,O=5,P=-1;function M(){return!(e.unstable_now()-PR||125F?(R.sortIndex=A,t(u,R),n(c)===null&&R===n(u)&&(p?(v(E),E=-1):p=!0,T(C,A-F))):(R.sortIndex=H,t(c,R),b||h||(b=!0,_($))),R},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(R){var L=m;return function(){var A=m;m=L;try{return R.apply(this,arguments)}finally{m=A}}}})(bb);yb.exports=bb;var W$=yb.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Sb=s,or=W$;function he(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pf=Object.prototype.hasOwnProperty,U$=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,wp={},$p={};function G$(e){return Pf.call($p,e)?!0:Pf.call(wp,e)?!1:U$.test(e)?$p[e]=!0:(wp[e]=!0,!1)}function K$(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function q$(e,t,n,r){if(t===null||typeof t>"u"||K$(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function An(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Cn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Cn[e]=new An(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Cn[t]=new An(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Cn[e]=new An(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Cn[e]=new An(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Cn[e]=new An(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Cn[e]=new An(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Cn[e]=new An(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Cn[e]=new An(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Cn[e]=new An(e,5,!1,e.toLowerCase(),null,!1,!1)});var Pv=/[\-:]([a-z])/g;function Mv(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Pv,Mv);Cn[t]=new An(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Pv,Mv);Cn[t]=new An(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Pv,Mv);Cn[t]=new An(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Cn[e]=new An(e,1,!1,e.toLowerCase(),null,!1,!1)});Cn.xlinkHref=new An("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Cn[e]=new An(e,1,!1,e.toLowerCase(),null,!0,!0)});function Tv(e,t,n,r){var o=Cn.hasOwnProperty(t)?Cn[t]:null;(o!==null?o.type!==0:r||!(2l||o[a]!==i[l]){var c=` +`+o[a].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=a&&0<=l);break}}}finally{Cd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Qa(e):""}function X$(e){switch(e.tag){case 5:return Qa(e.type);case 16:return Qa("Lazy");case 13:return Qa("Suspense");case 19:return Qa("SuspenseList");case 0:case 2:case 15:return e=xd(e.type,!1),e;case 11:return e=xd(e.type.render,!1),e;case 1:return e=xd(e.type,!0),e;default:return""}}function _f(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Bi:return"Fragment";case Fi:return"Portal";case Mf:return"Profiler";case Nv:return"StrictMode";case Tf:return"Suspense";case Nf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case wb:return(e.displayName||"Context")+".Consumer";case xb:return(e._context.displayName||"Context")+".Provider";case _v:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case zv:return t=e.displayName||null,t!==null?t:_f(e.type)||"Memo";case vo:t=e._payload,e=e._init;try{return _f(e(t))}catch{}}return null}function Y$(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return _f(t);case 8:return t===Nv?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function No(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Eb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Q$(e){var t=Eb(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ss(e){e._valueTracker||(e._valueTracker=Q$(e))}function Ob(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Eb(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function xc(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}}function zf(e,t){var n=t.checked;return Gt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Op(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=No(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Rb(e,t){t=t.checked,t!=null&&Tv(e,"checked",t,!1)}function Lf(e,t){Rb(e,t);var n=No(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?jf(e,t.type,n):t.hasOwnProperty("defaultValue")&&jf(e,t.type,No(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Rp(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function jf(e,t,n){(t!=="number"||xc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Za=Array.isArray;function ta(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Cs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Sl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var rl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Z$=["Webkit","ms","Moz","O"];Object.keys(rl).forEach(function(e){Z$.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),rl[t]=rl[e]})});function Tb(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||rl.hasOwnProperty(e)&&rl[e]?(""+t).trim():t+"px"}function Nb(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Tb(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var J$=Gt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Bf(e,t){if(t){if(J$[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(he(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(he(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(he(61))}if(t.style!=null&&typeof t.style!="object")throw Error(he(62))}}function Df(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hf=null;function Lv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kf=null,na=null,ra=null;function Mp(e){if(e=Zl(e)){if(typeof kf!="function")throw Error(he(280));var t=e.stateNode;t&&(t=gu(t),kf(e.stateNode,e.type,t))}}function _b(e){na?ra?ra.push(e):ra=[e]:na=e}function zb(){if(na){var e=na,t=ra;if(ra=na=null,Mp(e),t)for(e=0;e>>=0,e===0?32:31-(uE(e)/dE|0)|0}var xs=64,ws=4194304;function Ja(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Oc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~o;l!==0?r=Ja(l):(i&=a,i!==0&&(r=Ja(i)))}else a=n&~o,a!==0?r=Ja(a):i!==0&&(r=Ja(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Yl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ir(t),e[t]=n}function gE(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=il),Bp=" ",Dp=!1;function e1(e,t){switch(e){case"keyup":return VE.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function t1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Di=!1;function UE(e,t){switch(e){case"compositionend":return t1(t);case"keypress":return t.which!==32?null:(Dp=!0,Bp);case"textInput":return e=t.data,e===Bp&&Dp?null:e;default:return null}}function GE(e,t){if(Di)return e==="compositionend"||!Vv&&e1(e,t)?(e=Zb(),tc=Dv=yo=null,Di=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Wp(n)}}function i1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?i1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function a1(){for(var e=window,t=xc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xc(e.document)}return t}function Wv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function t2(e){var t=a1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&i1(n.ownerDocument.documentElement,n)){if(r!==null&&Wv(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Up(n,i);var a=Up(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Hi=null,qf=null,ll=null,Xf=!1;function Gp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Xf||Hi==null||Hi!==xc(r)||(r=Hi,"selectionStart"in r&&Wv(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ll&&Ol(ll,r)||(ll=r,r=Pc(qf,"onSelect"),0Wi||(e.current=tm[Wi],tm[Wi]=null,Wi--)}function Lt(e,t){Wi++,tm[Wi]=e.current,e.current=t}var _o={},Pn=Ao(_o),Un=Ao(!1),oi=_o;function da(e,t){var n=e.type.contextTypes;if(!n)return _o;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Gn(e){return e=e.childContextTypes,e!=null}function Tc(){Ft(Un),Ft(Pn)}function Jp(e,t,n){if(Pn.current!==_o)throw Error(he(168));Lt(Pn,t),Lt(Un,n)}function g1(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(he(108,Y$(e)||"Unknown",o));return Gt({},n,r)}function Nc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_o,oi=Pn.current,Lt(Pn,e),Lt(Un,Un.current),!0}function eh(e,t,n){var r=e.stateNode;if(!r)throw Error(he(169));n?(e=g1(e,t,oi),r.__reactInternalMemoizedMergedChildContext=e,Ft(Un),Ft(Pn),Lt(Pn,e)):Ft(Un),Lt(Un,n)}var qr=null,pu=!1,jd=!1;function p1(e){qr===null?qr=[e]:qr.push(e)}function m2(e){pu=!0,p1(e)}function Fo(){if(!jd&&qr!==null){jd=!0;var e=0,t=Tt;try{var n=qr;for(Tt=1;e>=a,o-=a,Yr=1<<32-Ir(t)+o|n<E?(O=w,w=null):O=w.sibling;var P=m(v,w,y[E],C);if(P===null){w===null&&(w=O);break}e&&w&&P.alternate===null&&t(v,w),g=i(P,g,E),x===null?$=P:x.sibling=P,x=P,w=O}if(E===y.length)return n(v,w),Ht&&ko(v,E),$;if(w===null){for(;EE?(O=w,w=null):O=w.sibling;var M=m(v,w,P.value,C);if(M===null){w===null&&(w=O);break}e&&w&&M.alternate===null&&t(v,w),g=i(M,g,E),x===null?$=M:x.sibling=M,x=M,w=O}if(P.done)return n(v,w),Ht&&ko(v,E),$;if(w===null){for(;!P.done;E++,P=y.next())P=f(v,P.value,C),P!==null&&(g=i(P,g,E),x===null?$=P:x.sibling=P,x=P);return Ht&&ko(v,E),$}for(w=r(v,w);!P.done;E++,P=y.next())P=h(w,v,E,P.value,C),P!==null&&(e&&P.alternate!==null&&w.delete(P.key===null?E:P.key),g=i(P,g,E),x===null?$=P:x.sibling=P,x=P);return e&&w.forEach(function(N){return t(v,N)}),Ht&&ko(v,E),$}function S(v,g,y,C){if(typeof y=="object"&&y!==null&&y.type===Bi&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case bs:e:{for(var $=y.key,x=g;x!==null;){if(x.key===$){if($=y.type,$===Bi){if(x.tag===7){n(v,x.sibling),g=o(x,y.props.children),g.return=v,v=g;break e}}else if(x.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===vo&&lh($)===x.type){n(v,x.sibling),g=o(x,y.props),g.ref=Ha(v,x,y),g.return=v,v=g;break e}n(v,x);break}else t(v,x);x=x.sibling}y.type===Bi?(g=ei(y.props.children,v.mode,C,y.key),g.return=v,v=g):(C=cc(y.type,y.key,y.props,null,v.mode,C),C.ref=Ha(v,g,y),C.return=v,v=C)}return a(v);case Fi:e:{for(x=y.key;g!==null;){if(g.key===x)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){n(v,g.sibling),g=o(g,y.children||[]),g.return=v,v=g;break e}else{n(v,g);break}else t(v,g);g=g.sibling}g=Wd(y,v.mode,C),g.return=v,v=g}return a(v);case vo:return x=y._init,S(v,g,x(y._payload),C)}if(Za(y))return b(v,g,y,C);if(ja(y))return p(v,g,y,C);Ms(v,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(n(v,g.sibling),g=o(g,y),g.return=v,v=g):(n(v,g),g=Vd(y,v.mode,C),g.return=v,v=g),a(v)):n(v,g)}return S}var ma=$1(!0),E1=$1(!1),Jl={},Hr=Ao(Jl),Ml=Ao(Jl),Tl=Ao(Jl);function Xo(e){if(e===Jl)throw Error(he(174));return e}function Jv(e,t){switch(Lt(Tl,t),Lt(Ml,e),Lt(Hr,Jl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ff(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ff(t,e)}Ft(Hr),Lt(Hr,t)}function va(){Ft(Hr),Ft(Ml),Ft(Tl)}function O1(e){Xo(Tl.current);var t=Xo(Hr.current),n=Ff(t,e.type);t!==n&&(Lt(Ml,e),Lt(Hr,n))}function eg(e){Ml.current===e&&(Ft(Hr),Ft(Ml))}var Wt=Ao(0);function Fc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ad=[];function tg(){for(var e=0;en?n:4,e(!0);var r=Fd.transition;Fd.transition={};try{e(!1),t()}finally{Tt=n,Fd.transition=r}}function k1(){return hr().memoizedState}function h2(e,t,n){var r=Mo(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},V1(e))W1(t,n);else if(n=S1(e,t,n,r),n!==null){var o=zn();Pr(n,e,r,o),U1(n,t,r)}}function y2(e,t,n){var r=Mo(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(V1(e))W1(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,Nr(l,a)){var c=t.interleaved;c===null?(o.next=o,Qv(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=S1(e,t,o,r),n!==null&&(o=zn(),Pr(n,e,r,o),U1(n,t,r))}}function V1(e){var t=e.alternate;return e===Ut||t!==null&&t===Ut}function W1(e,t){sl=Bc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function U1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Av(e,n)}}var Dc={readContext:pr,useCallback:$n,useContext:$n,useEffect:$n,useImperativeHandle:$n,useInsertionEffect:$n,useLayoutEffect:$n,useMemo:$n,useReducer:$n,useRef:$n,useState:$n,useDebugValue:$n,useDeferredValue:$n,useTransition:$n,useMutableSource:$n,useSyncExternalStore:$n,useId:$n,unstable_isNewReconciler:!1},b2={readContext:pr,useCallback:function(e,t){return Ar().memoizedState=[e,t===void 0?null:t],e},useContext:pr,useEffect:ch,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ic(4194308,4,A1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ic(4194308,4,e,t)},useInsertionEffect:function(e,t){return ic(4,2,e,t)},useMemo:function(e,t){var n=Ar();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ar();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=h2.bind(null,Ut,e),[r.memoizedState,e]},useRef:function(e){var t=Ar();return e={current:e},t.memoizedState=e},useState:sh,useDebugValue:ag,useDeferredValue:function(e){return Ar().memoizedState=e},useTransition:function(){var e=sh(!1),t=e[0];return e=p2.bind(null,e[1]),Ar().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ut,o=Ar();if(Ht){if(n===void 0)throw Error(he(407));n=n()}else{if(n=t(),vn===null)throw Error(he(349));ai&30||P1(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,ch(T1.bind(null,r,i,e),[e]),r.flags|=2048,zl(9,M1.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ar(),t=vn.identifierPrefix;if(Ht){var n=Qr,r=Yr;n=(r&~(1<<32-Ir(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Nl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Fr]=t,e[Pl]=r,eS(e,t,!1,!1),t.stateNode=e;e:{switch(a=Df(n,r),n){case"dialog":At("cancel",e),At("close",e),o=r;break;case"iframe":case"object":case"embed":At("load",e),o=r;break;case"video":case"audio":for(o=0;opa&&(t.flags|=128,r=!0,ka(i,!1),t.lanes=4194304)}else{if(!r)if(e=Fc(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ka(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Ht)return En(t),null}else 2*Jt()-i.renderingStartTime>pa&&n!==1073741824&&(t.flags|=128,r=!0,ka(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Jt(),t.sibling=null,n=Wt.current,Lt(Wt,r?n&1|2:n&1),t):(En(t),null);case 22:case 23:return fg(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?er&1073741824&&(En(t),t.subtreeFlags&6&&(t.flags|=8192)):En(t),null;case 24:return null;case 25:return null}throw Error(he(156,t.tag))}function R2(e,t){switch(Gv(t),t.tag){case 1:return Gn(t.type)&&Tc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return va(),Ft(Un),Ft(Pn),tg(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return eg(t),null;case 13:if(Ft(Wt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(he(340));fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ft(Wt),null;case 4:return va(),null;case 10:return Yv(t.type._context),null;case 22:case 23:return fg(),null;case 24:return null;default:return null}}var Ns=!1,Rn=!1,I2=typeof WeakSet=="function"?WeakSet:Set,Le=null;function qi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Xt(e,t,r)}else n.current=null}function mm(e,t,n){try{n()}catch(r){Xt(e,t,r)}}var yh=!1;function P2(e,t){if(Yf=Rc,e=a1(),Wv(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,l=-1,c=-1,u=0,d=0,f=e,m=null;t:for(;;){for(var h;f!==n||o!==0&&f.nodeType!==3||(l=a+o),f!==i||r!==0&&f.nodeType!==3||(c=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(h=f.firstChild)!==null;)m=f,f=h;for(;;){if(f===e)break t;if(m===n&&++u===o&&(l=a),m===i&&++d===r&&(c=a),(h=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=h}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Qf={focusedElem:e,selectionRange:n},Rc=!1,Le=t;Le!==null;)if(t=Le,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Le=e;else for(;Le!==null;){t=Le;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var p=b.memoizedProps,S=b.memoizedState,v=t.stateNode,g=v.getSnapshotBeforeUpdate(t.elementType===t.type?p:wr(t.type,p),S);v.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(he(163))}}catch(C){Xt(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,Le=e;break}Le=t.return}return b=yh,yh=!1,b}function cl(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&mm(t,n,i)}o=o.next}while(o!==r)}}function bu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function vm(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function rS(e){var t=e.alternate;t!==null&&(e.alternate=null,rS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fr],delete t[Pl],delete t[em],delete t[d2],delete t[f2])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function oS(e){return e.tag===5||e.tag===3||e.tag===4}function bh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||oS(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function gm(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Mc));else if(r!==4&&(e=e.child,e!==null))for(gm(e,t,n),e=e.sibling;e!==null;)gm(e,t,n),e=e.sibling}function pm(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(pm(e,t,n),e=e.sibling;e!==null;)pm(e,t,n),e=e.sibling}var yn=null,$r=!1;function fo(e,t,n){for(n=n.child;n!==null;)iS(e,t,n),n=n.sibling}function iS(e,t,n){if(Dr&&typeof Dr.onCommitFiberUnmount=="function")try{Dr.onCommitFiberUnmount(du,n)}catch{}switch(n.tag){case 5:Rn||qi(n,t);case 6:var r=yn,o=$r;yn=null,fo(e,t,n),yn=r,$r=o,yn!==null&&($r?(e=yn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):yn.removeChild(n.stateNode));break;case 18:yn!==null&&($r?(e=yn,n=n.stateNode,e.nodeType===8?Ld(e.parentNode,n):e.nodeType===1&&Ld(e,n),$l(e)):Ld(yn,n.stateNode));break;case 4:r=yn,o=$r,yn=n.stateNode.containerInfo,$r=!0,fo(e,t,n),yn=r,$r=o;break;case 0:case 11:case 14:case 15:if(!Rn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&mm(n,t,a),o=o.next}while(o!==r)}fo(e,t,n);break;case 1:if(!Rn&&(qi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Xt(n,t,l)}fo(e,t,n);break;case 21:fo(e,t,n);break;case 22:n.mode&1?(Rn=(r=Rn)||n.memoizedState!==null,fo(e,t,n),Rn=r):fo(e,t,n);break;default:fo(e,t,n)}}function Sh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new I2),t.forEach(function(r){var o=F2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Cr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=Jt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*T2(r/1960))-r,10e?16:e,bo===null)var r=!1;else{if(e=bo,bo=null,Vc=0,St&6)throw Error(he(331));var o=St;for(St|=4,Le=e.current;Le!==null;){var i=Le,a=i.child;if(Le.flags&16){var l=i.deletions;if(l!==null){for(var c=0;cJt()-ug?Jo(e,0):cg|=n),Kn(e,t)}function mS(e,t){t===0&&(e.mode&1?(t=ws,ws<<=1,!(ws&130023424)&&(ws=4194304)):t=1);var n=zn();e=to(e,t),e!==null&&(Yl(e,t,n),Kn(e,n))}function A2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),mS(e,n)}function F2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(he(314))}r!==null&&r.delete(t),mS(e,n)}var vS;vS=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Un.current)Wn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Wn=!1,E2(e,t,n);Wn=!!(e.flags&131072)}else Wn=!1,Ht&&t.flags&1048576&&h1(t,zc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ac(e,t),e=t.pendingProps;var o=da(t,Pn.current);ia(t,n),o=rg(null,t,r,e,o,n);var i=og();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Gn(r)?(i=!0,Nc(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Zv(t),o.updater=hu,t.stateNode=o,o._reactInternals=t,am(t,r,e,n),t=cm(null,t,r,!0,i,n)):(t.tag=0,Ht&&i&&Uv(t),_n(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ac(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=D2(r),e=wr(r,e),o){case 0:t=sm(null,t,r,e,n);break e;case 1:t=gh(null,t,r,e,n);break e;case 11:t=mh(null,t,r,e,n);break e;case 14:t=vh(null,t,r,wr(r.type,e),n);break e}throw Error(he(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:wr(r,o),sm(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:wr(r,o),gh(e,t,r,o,n);case 3:e:{if(Q1(t),e===null)throw Error(he(387));r=t.pendingProps,i=t.memoizedState,o=i.element,C1(e,t),Ac(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ga(Error(he(423)),t),t=ph(e,t,r,n,o);break e}else if(r!==o){o=ga(Error(he(424)),t),t=ph(e,t,r,n,o);break e}else for(tr=Ro(t.stateNode.containerInfo.firstChild),rr=t,Ht=!0,Rr=null,n=E1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fa(),r===o){t=no(e,t,n);break e}_n(e,t,r,n)}t=t.child}return t;case 5:return O1(t),e===null&&rm(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Zf(r,o)?a=null:i!==null&&Zf(r,i)&&(t.flags|=32),Y1(e,t),_n(e,t,a,n),t.child;case 6:return e===null&&rm(t),null;case 13:return Z1(e,t,n);case 4:return Jv(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ma(t,null,r,n):_n(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:wr(r,o),mh(e,t,r,o,n);case 7:return _n(e,t,t.pendingProps,n),t.child;case 8:return _n(e,t,t.pendingProps.children,n),t.child;case 12:return _n(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Lt(Lc,r._currentValue),r._currentValue=a,i!==null)if(Nr(i.value,a)){if(i.children===o.children&&!Un.current){t=no(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Zr(-1,n&-n),c.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),om(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(he(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),om(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}_n(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ia(t,n),o=pr(o),r=r(o),t.flags|=1,_n(e,t,r,n),t.child;case 14:return r=t.type,o=wr(r,t.pendingProps),o=wr(r.type,o),vh(e,t,r,o,n);case 15:return q1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:wr(r,o),ac(e,t),t.tag=1,Gn(r)?(e=!0,Nc(t)):e=!1,ia(t,n),w1(t,r,o),am(t,r,o,n),cm(null,t,r,!0,e,n);case 19:return J1(e,t,n);case 22:return X1(e,t,n)}throw Error(he(156,t.tag))};function gS(e,t){return Hb(e,t)}function B2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function mr(e,t,n,r){return new B2(e,t,n,r)}function vg(e){return e=e.prototype,!(!e||!e.isReactComponent)}function D2(e){if(typeof e=="function")return vg(e)?1:0;if(e!=null){if(e=e.$$typeof,e===_v)return 11;if(e===zv)return 14}return 2}function To(e,t){var n=e.alternate;return n===null?(n=mr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function cc(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")vg(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Bi:return ei(n.children,o,i,t);case Nv:a=8,o|=8;break;case Mf:return e=mr(12,n,t,o|2),e.elementType=Mf,e.lanes=i,e;case Tf:return e=mr(13,n,t,o),e.elementType=Tf,e.lanes=i,e;case Nf:return e=mr(19,n,t,o),e.elementType=Nf,e.lanes=i,e;case $b:return Cu(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xb:a=10;break e;case wb:a=9;break e;case _v:a=11;break e;case zv:a=14;break e;case vo:a=16,r=null;break e}throw Error(he(130,e==null?e:typeof e,""))}return t=mr(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function ei(e,t,n,r){return e=mr(7,e,r,t),e.lanes=n,e}function Cu(e,t,n,r){return e=mr(22,e,r,t),e.elementType=$b,e.lanes=n,e.stateNode={isHidden:!1},e}function Vd(e,t,n){return e=mr(6,e,null,t),e.lanes=n,e}function Wd(e,t,n){return t=mr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function H2(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$d(0),this.expirationTimes=$d(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$d(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function gg(e,t,n,r,o,i,a,l,c){return e=new H2(e,t,n,l,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=mr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zv(i),e}function k2(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(bS)}catch(e){console.error(e)}}bS(),hb.exports=ir;var zo=hb.exports;const Gc=cu(zo),K2=ab({__proto__:null,default:Gc},[zo]);var Ih=zo;If.createRoot=Ih.createRoot,If.hydrateRoot=Ih.hydrateRoot;var SS={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a1&&arguments[1]!==void 0?arguments[1]:{},n=[];return V.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(yr(r)):uc.isFragment(r)&&r.props?n=n.concat(yr(r.props.children,t)):n.push(r))}),n}var Cm={},Q2=function(t){};function Z2(e,t){}function J2(e,t){}function eO(){Cm={}}function wS(e,t,n){!t&&!Cm[n]&&(e(!1,n),Cm[n]=!0)}function In(e,t){wS(Z2,e,t)}function tO(e,t){wS(J2,e,t)}In.preMessage=Q2;In.resetWarned=eO;In.noteOnce=tO;function nt(e){"@babel/helpers - typeof";return nt=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},nt(e)}function nO(e,t){if(nt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(nt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $S(e){var t=nO(e,"string");return nt(t)=="symbol"?t:t+""}function B(e,t,n){return t=$S(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function D(e){for(var t=1;t0},e.prototype.connect_=function(){!wm||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),cO?(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(){!wm||!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 n=t.propertyName,r=n===void 0?"":n,o=sO.some(function(i){return!!~r.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),OS=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof ha(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new yO(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 ha(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.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(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new bO(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),IS=typeof WeakMap<"u"?new WeakMap:new ES,PS=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 n=uO.getInstance(),r=new SO(t,n,this);IS.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){PS.prototype[e]=function(){var t;return(t=IS.get(this))[e].apply(t,arguments)}});var CO=function(){return typeof qc.ResizeObserver<"u"?qc.ResizeObserver:PS}(),So=new Map;function xO(e){e.forEach(function(t){var n,r=t.target;(n=So.get(r))===null||n===void 0||n.forEach(function(o){return o(r)})})}var MS=new CO(xO);function wO(e,t){So.has(e)||(So.set(e,new Set),MS.observe(e)),So.get(e).add(t)}function $O(e,t){So.has(e)&&(So.get(e).delete(t),So.get(e).size||(MS.unobserve(e),So.delete(e)))}function Fn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Th(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;Nh+=1;var r=Nh;function o(i){if(i===0)LS(r),t();else{var a=_S(function(){o(i-1)});$g.set(r,a)}}return o(n),r};Ct.cancel=function(e){var t=$g.get(e);return LS(e),zS(t)};function NO(e){let t;const n=o=>()=>{t=null,e.apply(void 0,Te(o))},r=function(){if(t==null){for(var o=arguments.length,i=new Array(o),a=0;a{Ct.cancel(t),t=null},r}function jS(e){if(Array.isArray(e))return e}function _O(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(d){u=!0,o=d}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}function AS(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W(e,t){return jS(e)||_O(e,t)||wg(e,t)||AS()}function Yc(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Mn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Om(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var _h="data-rc-order",zh="data-rc-priority",zO="rc-util-key",Rm=new Map;function FS(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):zO}function Au(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function LO(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Eg(e){return Array.from((Rm.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function BS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Mn())return null;var n=t.csp,r=t.prepend,o=t.priority,i=o===void 0?0:o,a=LO(r),l=a==="prependQueue",c=document.createElement("style");c.setAttribute(_h,a),l&&i&&c.setAttribute(zh,"".concat(i)),n!=null&&n.nonce&&(c.nonce=n==null?void 0:n.nonce),c.innerHTML=e;var u=Au(t),d=u.firstChild;if(r){if(l){var f=(t.styles||Eg(u)).filter(function(m){if(!["prepend","prependQueue"].includes(m.getAttribute(_h)))return!1;var h=Number(m.getAttribute(zh)||0);return i>=h});if(f.length)return u.insertBefore(c,f[f.length-1].nextSibling),c}u.insertBefore(c,d)}else u.appendChild(c);return c}function DS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Au(t);return(t.styles||Eg(n)).find(function(r){return r.getAttribute(FS(t))===e})}function ba(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=DS(e,t);if(n){var r=Au(t);r.removeChild(n)}}function jO(e,t){var n=Rm.get(e);if(!n||!Om(document,n)){var r=BS("",t),o=r.parentNode;Rm.set(e,o),e.removeChild(r)}}function ro(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Au(n),o=Eg(r),i=D(D({},n),{},{styles:o});jO(r,i);var a=DS(t,i);if(a){var l,c;if((l=i.csp)!==null&&l!==void 0&&l.nonce&&a.nonce!==((c=i.csp)===null||c===void 0?void 0:c.nonce)){var u;a.nonce=(u=i.csp)===null||u===void 0?void 0:u.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var d=BS(e,i);return d.setAttribute(FS(i),t),d}function AO(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function Je(e,t){if(e==null)return{};var n=AO(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ns(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(i,a){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=r.has(i);if(In(!c,"Warning: There may be circular references"),c)return!1;if(i===a)return!0;if(n&&l>1)return!1;r.add(i);var u=l+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(l){if(!a)a=void 0;else{var c;a=(c=a)===null||c===void 0||(c=c.map)===null||c===void 0?void 0:c.get(l)}}),(r=a)!==null&&r!==void 0&&r.value&&i&&(a.value[1]=this.cacheCallTimes++),(o=a)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(u,d){var f=W(u,2),m=f[1];return o.internalGet(d)[1]0,void 0),Lh+=1}return Bn(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,o){return o(n,r)},void 0)}}]),e}(),Ud=new Og;function jl(e){var t=Array.isArray(e)?e:[e];return Ud.has(t)||Ud.set(t,new HS(t)),Ud.get(t)}var kO=new WeakMap,Gd={};function VO(e,t){for(var n=kO,r=0;r3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var i=D(D({},r),{},B(B({},Sa,t),Mr,n)),a=Object.keys(i).map(function(l){var c=i[l];return c?"".concat(l,'="').concat(c,'"'):null}).filter(function(l){return l}).join(" ");return"")}var VS=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").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()},GO=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(o){var i=W(o,2),a=i[0],l=i[1];return"".concat(a,":").concat(l,";")}).join(""),"}"):""},WS=function(t,n,r){var o={},i={};return Object.entries(t).forEach(function(a){var l,c,u=W(a,2),d=u[0],f=u[1];if(r!=null&&(l=r.preserve)!==null&&l!==void 0&&l[d])i[d]=f;else if((typeof f=="string"||typeof f=="number")&&!(r!=null&&(c=r.ignore)!==null&&c!==void 0&&c[d])){var m,h=VS(d,r==null?void 0:r.prefix);o[h]=typeof f=="number"&&!(r!=null&&(m=r.unitless)!==null&&m!==void 0&&m[d])?"".concat(f,"px"):String(f),i[d]="var(".concat(h,")")}}),[i,GO(o,n,{scope:r==null?void 0:r.scope})]},Fh=Mn()?s.useLayoutEffect:s.useEffect,Mt=function(t,n){var r=s.useRef(!0);Fh(function(){return t(r.current)},n),Fh(function(){return r.current=!1,function(){r.current=!0}},[])},Mm=function(t,n){Mt(function(r){if(!r)return t()},n)},KO=D({},Xl),Bh=KO.useInsertionEffect,qO=function(t,n,r){s.useMemo(t,r),Mt(function(){return n(!0)},r)},XO=Bh?function(e,t,n){return Bh(function(){return e(),t()},n)}:qO,YO=D({},Xl),QO=YO.useInsertionEffect,ZO=function(t){var n=[],r=!1;function o(i){r||n.push(i)}return s.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(i){return i()})}},t),o},JO=function(){return function(t){t()}},eR=typeof QO<"u"?ZO:JO;function Rg(e,t,n,r,o){var i=s.useContext(Fu),a=i.cache,l=[e].concat(Te(t)),c=Im(l),u=eR([c]),d=function(b){a.opUpdate(c,function(p){var S=p||[void 0,void 0],v=W(S,2),g=v[0],y=g===void 0?0:g,C=v[1],$=C,x=$||n(),w=[y,x];return b?b(w):w})};s.useMemo(function(){d()},[c]);var f=a.opGet(c),m=f[1];return XO(function(){o==null||o(m)},function(h){return d(function(b){var p=W(b,2),S=p[0],v=p[1];return h&&S===0&&(o==null||o(m)),[S+1,v]}),function(){a.opUpdate(c,function(b){var p=b||[],S=W(p,2),v=S[0],g=v===void 0?0:v,y=S[1],C=g-1;return C===0?(u(function(){(h||!a.opGet(c))&&(r==null||r(y,!1))}),null):[g-1,y]})}},[c]),m}var tR={},nR="css",Go=new Map;function rR(e){Go.set(e,(Go.get(e)||0)+1)}function oR(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(Sa,'="').concat(e,'"]'));n.forEach(function(r){if(r[Co]===t){var o;(o=r.parentNode)===null||o===void 0||o.removeChild(r)}})}}var iR=0;function aR(e,t){Go.set(e,(Go.get(e)||0)-1);var n=Array.from(Go.keys()),r=n.filter(function(o){var i=Go.get(o)||0;return i<=0});n.length-r.length>iR&&r.forEach(function(o){oR(o,t),Go.delete(o)})}var US=function(t,n,r,o){var i=r.getDerivativeToken(t),a=D(D({},i),n);return o&&(a=o(a)),a},GS="token";function lR(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=s.useContext(Fu),o=r.cache.instanceId,i=r.container,a=n.salt,l=a===void 0?"":a,c=n.override,u=c===void 0?tR:c,d=n.formatToken,f=n.getComputedToken,m=n.cssVar,h=VO(function(){return Object.assign.apply(Object,[{}].concat(Te(t)))},t),b=ml(h),p=ml(u),S=m?ml(m):"",v=Rg(GS,[l,e.id,b,p,S],function(){var g,y=f?f(h,u,e):US(h,u,e,d),C=D({},y),$="";if(m){var x=WS(y,m.key,{prefix:m.prefix,ignore:m.ignore,unitless:m.unitless,preserve:m.preserve}),w=W(x,2);y=w[0],$=w[1]}var E=Ah(y,l);y._tokenKey=E,C._tokenKey=Ah(C,l);var O=(g=m==null?void 0:m.key)!==null&&g!==void 0?g:E;y._themeKey=O,rR(O);var P="".concat(nR,"-").concat(Yc(E));return y._hashId=P,[y,P,C,$,(m==null?void 0:m.key)||""]},function(g){aR(g[0]._themeKey,o)},function(g){var y=W(g,4),C=y[0],$=y[3];if(m&&$){var x=ro($,Yc("css-variables-".concat(C._themeKey)),{mark:Mr,prepend:"queue",attachTo:i,priority:-999});x[Co]=o,x.setAttribute(Sa,C._themeKey)}});return v}var sR=function(t,n,r){var o=W(t,5),i=o[2],a=o[3],l=o[4],c=r||{},u=c.plain;if(!a)return null;var d=i._tokenKey,f=-999,m={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},h=Qc(a,l,d,m,u);return[f,d,h]},cR={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},KS="comm",qS="rule",XS="decl",uR="@import",dR="@keyframes",fR="@layer",YS=Math.abs,Ig=String.fromCharCode;function QS(e){return e.trim()}function dc(e,t,n){return e.replace(t,n)}function mR(e,t,n){return e.indexOf(t,n)}function Al(e,t){return e.charCodeAt(t)|0}function Fl(e,t,n){return e.slice(t,n)}function Xr(e){return e.length}function vR(e){return e.length}function Ls(e,t){return t.push(e),e}var Bu=1,Ca=1,ZS=0,br=0,en=0,Ia="";function Pg(e,t,n,r,o,i,a,l){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Bu,column:Ca,length:a,return:"",siblings:l}}function gR(){return en}function pR(){return en=br>0?Al(Ia,--br):0,Ca--,en===10&&(Ca=1,Bu--),en}function Tr(){return en=br2||Tm(en)>3?"":" "}function SR(e,t){for(;--t&&Tr()&&!(en<48||en>102||en>57&&en<65||en>70&&en<97););return Du(e,fc()+(t<6&&ti()==32&&Tr()==32))}function Nm(e){for(;Tr();)switch(en){case e:return br;case 34:case 39:e!==34&&e!==39&&Nm(en);break;case 40:e===41&&Nm(e);break;case 92:Tr();break}return br}function CR(e,t){for(;Tr()&&e+en!==57;)if(e+en===84&&ti()===47)break;return"/*"+Du(t,br-1)+"*"+Ig(e===47?e:Tr())}function xR(e){for(;!Tm(ti());)Tr();return Du(e,br)}function wR(e){return yR(mc("",null,null,null,[""],e=hR(e),0,[0],e))}function mc(e,t,n,r,o,i,a,l,c){for(var u=0,d=0,f=a,m=0,h=0,b=0,p=1,S=1,v=1,g=0,y="",C=o,$=i,x=r,w=y;S;)switch(b=g,g=Tr()){case 40:if(b!=108&&Al(w,f-1)==58){mR(w+=dc(qd(g),"&","&\f"),"&\f",YS(u?l[u-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:w+=qd(g);break;case 9:case 10:case 13:case 32:w+=bR(b);break;case 92:w+=SR(fc()-1,7);continue;case 47:switch(ti()){case 42:case 47:Ls($R(CR(Tr(),fc()),t,n,c),c);break;default:w+="/"}break;case 123*p:l[u++]=Xr(w)*v;case 125*p:case 59:case 0:switch(g){case 0:case 125:S=0;case 59+d:v==-1&&(w=dc(w,/\f/g,"")),h>0&&Xr(w)-f&&Ls(h>32?Hh(w+";",r,n,f-1,c):Hh(dc(w," ","")+";",r,n,f-2,c),c);break;case 59:w+=";";default:if(Ls(x=Dh(w,t,n,u,d,o,l,y,C=[],$=[],f,i),i),g===123)if(d===0)mc(w,t,x,x,C,i,f,l,$);else switch(m===99&&Al(w,3)===110?100:m){case 100:case 108:case 109:case 115:mc(e,x,x,r&&Ls(Dh(e,x,x,0,0,o,l,y,o,C=[],f,$),$),o,$,f,l,r?C:$);break;default:mc(w,x,x,x,[""],$,0,l,$)}}u=d=h=0,p=v=1,y=w="",f=a;break;case 58:f=1+Xr(w),h=b;default:if(p<1){if(g==123)--p;else if(g==125&&p++==0&&pR()==125)continue}switch(w+=Ig(g),g*p){case 38:v=d>0?1:(w+="\f",-1);break;case 44:l[u++]=(Xr(w)-1)*v,v=1;break;case 64:ti()===45&&(w+=qd(Tr())),m=ti(),d=f=Xr(y=w+=xR(fc())),g++;break;case 45:b===45&&Xr(w)==2&&(p=0)}}return i}function Dh(e,t,n,r,o,i,a,l,c,u,d,f){for(var m=o-1,h=o===0?i:[""],b=vR(h),p=0,S=0,v=0;p0?h[g]+" "+y:dc(y,/&\f/g,h[g])))&&(c[v++]=C);return Pg(e,t,n,o===0?qS:l,c,u,d,f)}function $R(e,t,n,r){return Pg(e,t,n,KS,Ig(gR()),Fl(e,2,-2),0,r)}function Hh(e,t,n,r,o){return Pg(e,t,n,XS,Fl(e,0,r),Fl(e,r+1,-1),r,o)}function _m(e,t){for(var n="",r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,i=r.injectHash,a=r.parentSelectors,l=n.hashId,c=n.layer;n.path;var u=n.hashPriority,d=n.transformers,f=d===void 0?[]:d;n.linters;var m="",h={};function b(y){var C=y.getName(l);if(!h[C]){var $=e(y.style,n,{root:!1,parentSelectors:a}),x=W($,1),w=x[0];h[C]="@keyframes ".concat(y.getName(l)).concat(w)}}function p(y){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.forEach(function($){Array.isArray($)?p($,C):$&&C.push($)}),C}var S=p(Array.isArray(t)?t:[t]);if(S.forEach(function(y){var C=typeof y=="string"&&!o?{}:y;if(typeof C=="string")m+="".concat(C,` +`);else if(C._keyframe)b(C);else{var $=f.reduce(function(x,w){var E;return(w==null||(E=w.visit)===null||E===void 0?void 0:E.call(w,x))||x},C);Object.keys($).forEach(function(x){var w=$[x];if(nt(w)==="object"&&w&&(x!=="animationName"||!w._keyframe)&&!MR(w)){var E=!1,O=x.trim(),P=!1;(o||i)&&l?O.startsWith("@")?E=!0:O=TR(x,l,u):o&&!l&&(O==="&"||O==="")&&(O="",P=!0);var M=e(w,n,{root:P,injectHash:E,parentSelectors:[].concat(Te(a),[O])}),N=W(M,2),I=N[0],z=N[1];h=D(D({},h),z),m+="".concat(O).concat(I)}else{let T=function(R,L){var A=R.replace(/[A-Z]/g,function(H){return"-".concat(H.toLowerCase())}),F=L;!cR[R]&&typeof F=="number"&&F!==0&&(F="".concat(F,"px")),R==="animationName"&&L!==null&&L!==void 0&&L._keyframe&&(b(L),F=L.getName(l)),m+="".concat(A,":").concat(F,";")};var j,_=(j=w==null?void 0:w.value)!==null&&j!==void 0?j:w;nt(w)==="object"&&w!==null&&w!==void 0&&w[tC]&&Array.isArray(_)?_.forEach(function(R){T(x,R)}):T(x,_)}})}}),!o)m="{".concat(m,"}");else if(c&&UO()){var v=c.split(","),g=v[v.length-1].trim();m="@layer ".concat(g," {").concat(m,"}"),v.length>1&&(m="@layer ".concat(c,"{%%%:%}").concat(m))}return[m,h]};function nC(e,t){return Yc("".concat(e.join("%")).concat(t))}function _R(){return null}var rC="style";function Lm(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,a=e.nonce,l=e.clientOnly,c=e.order,u=c===void 0?0:c,d=s.useContext(Fu),f=d.autoClear;d.mock;var m=d.defaultCache,h=d.hashPriority,b=d.container,p=d.ssrInline,S=d.transformers,v=d.linters,g=d.cache,y=n._tokenKey,C=[y].concat(Te(r)),$=Pm,x=Rg(rC,C,function(){var M=C.join("|");if(RR(M)){var N=IR(M),I=W(N,2),z=I[0],j=I[1];if(z)return[z,y,j,{},l,u]}var _=t(),T=NR(_,{hashId:o,hashPriority:h,layer:i,path:r.join("-"),transformers:S,linters:v}),R=W(T,2),L=R[0],A=R[1],F=zm(L),H=nC(C,F);return[F,y,H,A,l,u]},function(M,N){var I=W(M,3),z=I[2];(N||f)&&Pm&&ba(z,{mark:Mr})},function(M){var N=W(M,4),I=N[0];N[1];var z=N[2],j=N[3];if($&&I!==JS){var _={mark:Mr,prepend:"queue",attachTo:b,priority:u},T=typeof a=="function"?a():a;T&&(_.csp={nonce:T});var R=ro(I,z,_);R[Co]=g.instanceId,R.setAttribute(Sa,y),Object.keys(j).forEach(function(L){ro(zm(j[L]),"_effect-".concat(L),_)})}}),w=W(x,3),E=w[0],O=w[1],P=w[2];return function(M){var N;return!p||$||!m?N=s.createElement(_R,null):N=s.createElement("style",ve({},B(B({},Sa,O),Mr,P),{dangerouslySetInnerHTML:{__html:E}})),s.createElement(s.Fragment,null,N,M)}}var zR=function(t,n,r){var o=W(t,6),i=o[0],a=o[1],l=o[2],c=o[3],u=o[4],d=o[5],f=r||{},m=f.plain;if(u)return null;var h=i,b={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return h=Qc(i,a,l,b,m),c&&Object.keys(c).forEach(function(p){if(!n[p]){n[p]=!0;var S=zm(c[p]);h+=Qc(S,a,"_effect-".concat(p),b,m)}}),[d,l,h]},oC="cssVar",LR=function(t,n){var r=t.key,o=t.prefix,i=t.unitless,a=t.ignore,l=t.token,c=t.scope,u=c===void 0?"":c,d=s.useContext(Fu),f=d.cache.instanceId,m=d.container,h=l._tokenKey,b=[].concat(Te(t.path),[r,u,h]),p=Rg(oC,b,function(){var S=n(),v=WS(S,r,{prefix:o,unitless:i,ignore:a,scope:u}),g=W(v,2),y=g[0],C=g[1],$=nC(b,C);return[y,C,$,r]},function(S){var v=W(S,3),g=v[2];Pm&&ba(g,{mark:Mr})},function(S){var v=W(S,3),g=v[1],y=v[2];if(g){var C=ro(g,y,{mark:Mr,prepend:"queue",attachTo:m,priority:-999});C[Co]=f,C.setAttribute(Sa,r)}});return p},jR=function(t,n,r){var o=W(t,4),i=o[1],a=o[2],l=o[3],c=r||{},u=c.plain;if(!i)return null;var d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},m=Qc(i,l,a,f,u);return[d,a,m]};B(B(B({},rC,zR),GS,sR),oC,jR);var ut=function(){function e(t,n){Fn(this,e),B(this,"name",void 0),B(this,"style",void 0),B(this,"_keyframe",!0),this.name=t,this.style=n}return Bn(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Ei(e){return e.notSplit=!0,e}Ei(["borderTop","borderBottom"]),Ei(["borderTop"]),Ei(["borderBottom"]),Ei(["borderLeft","borderRight"]),Ei(["borderLeft"]),Ei(["borderRight"]);var Mg=s.createContext({});function iC(e){return jS(e)||NS(e)||wg(e)||AS()}function Br(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Br(e,t.slice(0,-1))?e:aC(e,t,n,r)}function AR(e){return nt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Vh(e){return Array.isArray(e)?[]:{}}var FR=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Yi(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=BR,e},HR=s.createContext(void 0);var sC={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"},kR={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",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",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,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"};const VR={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},cC=VR,WR={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"]},kR),timePickerLocale:Object.assign({},cC)},Wh=WR,Qn="${label} is not a valid ${type}",Lo={locale:"en",Pagination:sC,DatePicker:Wh,TimePicker:cC,Calendar:Wh,global:{placeholder:"Please select"},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",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"},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:Qn,method:Qn,array:Qn,object:Qn,number:Qn,date:Qn,boolean:Qn,integer:Qn,float:Qn,regexp:Qn,email:Qn,url:Qn,hex:Qn},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"}};Object.assign({},Lo.Modal);let vc=[];const Uh=()=>vc.reduce((e,t)=>Object.assign(Object.assign({},e),t),Lo.Modal);function UR(e){if(e){const t=Object.assign({},e);return vc.push(t),Uh(),()=>{vc=vc.filter(n=>n!==t),Uh()}}Object.assign({},Lo.Modal)}const GR=s.createContext(void 0),Tg=GR,Ng=(e,t)=>{const n=s.useContext(Tg),r=s.useMemo(()=>{var i;const a=t||Lo[e],l=(i=n==null?void 0:n[e])!==null&&i!==void 0?i:{};return Object.assign(Object.assign({},typeof a=="function"?a():a),l||{})},[e,t,n]),o=s.useMemo(()=>{const i=n==null?void 0:n.locale;return n!=null&&n.exist&&!i?Lo.locale:i},[n]);return[r,o]},KR="internalMark",qR=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;s.useEffect(()=>UR(t&&t.Modal),[t]);const o=s.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return s.createElement(Tg.Provider,{value:o},n)},XR=qR;function Sn(e,t){YR(e)&&(e="100%");var n=QR(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function js(e){return Math.min(1,Math.max(0,e))}function YR(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function QR(e){return typeof e=="string"&&e.indexOf("%")!==-1}function uC(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function As(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Yo(e){return e.length===1?"0"+e:String(e)}function ZR(e,t,n){return{r:Sn(e,255)*255,g:Sn(t,255)*255,b:Sn(n,255)*255}}function Gh(e,t,n){e=Sn(e,255),t=Sn(t,255),n=Sn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,l=(r+o)/2;if(r===o)a=0,i=0;else{var c=r-o;switch(a=l>.5?c/(2-r-o):c/(r+o),r){case e:i=(t-n)/c+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function JR(e,t,n){var r,o,i;if(e=Sn(e,360),t=Sn(t,100),n=Sn(n,100),t===0)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=Xd(l,a,e+1/3),o=Xd(l,a,e),i=Xd(l,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function jm(e,t,n){e=Sn(e,255),t=Sn(t,255),n=Sn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,l=r-o,c=r===0?0:l/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var Fm={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ai(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,l=!1;return typeof e=="string"&&(e=aI(e)),typeof e=="object"&&(Wr(e.r)&&Wr(e.g)&&Wr(e.b)?(t=ZR(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Wr(e.h)&&Wr(e.s)&&Wr(e.v)?(r=As(e.s),o=As(e.v),t=eI(e.h,r,o),a=!0,l="hsv"):Wr(e.h)&&Wr(e.s)&&Wr(e.l)&&(r=As(e.s),i=As(e.l),t=JR(e.h,r,i),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=uC(n),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var oI="[-\\+]?\\d+%?",iI="[-\\+]?\\d*\\.\\d+%?",xo="(?:".concat(iI,")|(?:").concat(oI,")"),Yd="[\\s|\\(]+(".concat(xo,")[,|\\s]+(").concat(xo,")[,|\\s]+(").concat(xo,")\\s*\\)?"),Qd="[\\s|\\(]+(".concat(xo,")[,|\\s]+(").concat(xo,")[,|\\s]+(").concat(xo,")[,|\\s]+(").concat(xo,")\\s*\\)?"),xr={CSS_UNIT:new RegExp(xo),rgb:new RegExp("rgb"+Yd),rgba:new RegExp("rgba"+Qd),hsl:new RegExp("hsl"+Yd),hsla:new RegExp("hsla"+Qd),hsv:new RegExp("hsv"+Yd),hsva:new RegExp("hsva"+Qd),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function aI(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Fm[e])e=Fm[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=xr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=xr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=xr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=xr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=xr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=xr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=xr.hex8.exec(e),n?{r:Jn(n[1]),g:Jn(n[2]),b:Jn(n[3]),a:Kh(n[4]),format:t?"name":"hex8"}:(n=xr.hex6.exec(e),n?{r:Jn(n[1]),g:Jn(n[2]),b:Jn(n[3]),format:t?"name":"hex"}:(n=xr.hex4.exec(e),n?{r:Jn(n[1]+n[1]),g:Jn(n[2]+n[2]),b:Jn(n[3]+n[3]),a:Kh(n[4]+n[4]),format:t?"name":"hex8"}:(n=xr.hex3.exec(e),n?{r:Jn(n[1]+n[1]),g:Jn(n[2]+n[2]),b:Jn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Wr(e){return!!xr.CSS_UNIT.exec(String(e))}var jt=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=rI(t)),this.originalInput=t;var o=Ai(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,o,i=t.r/255,a=t.g/255,l=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),l<=.03928?o=l/12.92:o=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=uC(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=jm(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=jm(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Gh(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Gh(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Am(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),tI(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Sn(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Sn(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Am(this.r,this.g,this.b,!1),n=0,r=Object.entries(Fm);n=0,i=!n&&o&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=js(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=js(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=js(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=js(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-Fs*t:Math.round(e.h)+Fs*t:r=n?Math.round(e.h)+Fs*t:Math.round(e.h)-Fs*t,r<0?r+=360:r>=360&&(r-=360),r}function Qh(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-qh*t:t===fC?r=e.s+qh:r=e.s+lI*t,r>1&&(r=1),n&&t===dC&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function Zh(e,t,n){var r;return n?r=e.v+sI*t:r=e.v-cI*t,r>1&&(r=1),Number(r.toFixed(2))}function oo(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Ai(e),o=dC;o>0;o-=1){var i=Xh(r),a=Bs(Ai({h:Yh(i,o,!0),s:Qh(i,o,!0),v:Zh(i,o,!0)}));n.push(a)}n.push(Bs(r));for(var l=1;l<=fC;l+=1){var c=Xh(r),u=Bs(Ai({h:Yh(c,l),s:Qh(c,l),v:Zh(c,l)}));n.push(u)}return t.theme==="dark"?uI.map(function(d){var f=d.index,m=d.opacity,h=Bs(dI(Ai(t.backgroundColor||"#141414"),Ai(n[f]),m*100));return h}):n}var Zd={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"},gl={},Jd={};Object.keys(Zd).forEach(function(e){gl[e]=oo(Zd[e]),gl[e].primary=gl[e][5],Jd[e]=oo(Zd[e],{theme:"dark",backgroundColor:"#141414"}),Jd[e].primary=Jd[e][5]});var fI=gl.gold,mI=gl.blue;const mC=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function vI(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const _g={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"},xa=Object.assign(Object.assign({},_g),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', +'Noto Color Emoji'`,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});function vC(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:c,colorBgBase:u,colorTextBase:d}=e,f=n(c),m=n(o),h=n(i),b=n(a),p=n(l),S=r(u,d),v=e.colorLink||e.colorInfo,g=n(v);return Object.assign(Object.assign({},S),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:b[1],colorErrorBgHover:b[2],colorErrorBorder:b[3],colorErrorBorderHover:b[4],colorErrorHover:b[5],colorError:b[6],colorErrorActive:b[7],colorErrorTextHover:b[8],colorErrorText:b[9],colorErrorTextActive:b[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:p[1],colorInfoBgHover:p[2],colorInfoBorder:p[3],colorInfoBorderHover:p[4],colorInfoHover:p[4],colorInfo:p[6],colorInfoActive:p[7],colorInfoTextHover:p[8],colorInfoText:p[9],colorInfoTextActive:p[10],colorLinkHover:g[4],colorLink:g[6],colorLinkActive:g[7],colorBgMask:new jt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const gI=e=>{let t=e,n=e,r=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?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function pI(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},gI(r))}const Ur=(e,t)=>new jt(e).setAlpha(t).toRgbString(),Wa=(e,t)=>new jt(e).darken(t).toHexString(),hI=e=>{const t=oo(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]}},yI=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Ur(r,.88),colorTextSecondary:Ur(r,.65),colorTextTertiary:Ur(r,.45),colorTextQuaternary:Ur(r,.25),colorFill:Ur(r,.15),colorFillSecondary:Ur(r,.06),colorFillTertiary:Ur(r,.04),colorFillQuaternary:Ur(r,.02),colorBgLayout:Wa(n,4),colorBgContainer:Wa(n,0),colorBgElevated:Wa(n,0),colorBgSpotlight:Ur(r,.85),colorBgBlur:"transparent",colorBorder:Wa(n,15),colorBorderSecondary:Wa(n,6)}};function gc(e){return(e+8)/e}function bI(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,i=e*Math.pow(2.71828,o/5),a=r>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:gc(n)}))}const gC=e=>{const t=bI(e),n=t.map(d=>d.size),r=t.map(d=>d.lineHeight),o=n[1],i=n[0],a=n[2],l=r[1],c=r[0],u=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(l*o),fontHeightLG:Math.round(u*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function rs(e){const t=Object.keys(_g).map(n=>{const r=oo(e[n]);return new Array(10).fill(1).reduce((o,i,a)=>(o[`${n}-${a+1}`]=r[a],o[`${n}${a+1}`]=r[a],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),vC(e,{generateColorPalettes:hI,generateNeutralColorPalettes:yI})),gC(e.fontSize)),vI(e)),mC(e)),pI(e))}const pC=jl(rs),Bl={token:xa,override:{override:xa},hashed:!0},hC=V.createContext(Bl),yC="anticon",SI=(e,t)=>t||(e?`ant-${e}`:"ant"),qe=s.createContext({getPrefixCls:SI,iconPrefixCls:yC}),CI=`-ant-${Date.now()}-${Math.random()}`;function xI(e,t){const n={},r=(a,l)=>{let c=a.clone();return c=(l==null?void 0:l(c))||c,c.toRgbString()},o=(a,l)=>{const c=new jt(a),u=oo(c.toRgbString());n[`${l}-color`]=r(c),n[`${l}-color-disabled`]=u[1],n[`${l}-color-hover`]=u[4],n[`${l}-color-active`]=u[6],n[`${l}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=u[0],n[`${l}-color-deprecated-border`]=u[2]};if(t.primaryColor){o(t.primaryColor,"primary");const a=new jt(t.primaryColor),l=oo(a.toRgbString());l.forEach((u,d)=>{n[`primary-${d+1}`]=u}),n["primary-color-deprecated-l-35"]=r(a,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(a,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(a,u=>u.setAlpha(u.getAlpha()*.12));const c=new jt(l[0]);n["primary-color-active-deprecated-f-30"]=r(c,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(c,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"),` + :root { + ${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(` +`)} + } + `.trim()}function wI(e,t){const n=xI(e,t);Mn()&&ro(n,`${CI}-dynamic-theme`)}const Bm=s.createContext(!1),$I=e=>{let{children:t,disabled:n}=e;const r=s.useContext(Bm);return s.createElement(Bm.Provider,{value:n??r},t)},Hu=Bm,Dm=s.createContext(void 0),EI=e=>{let{children:t,size:n}=e;const r=s.useContext(Dm);return s.createElement(Dm.Provider,{value:n||r},t)},ku=Dm;function OI(){const e=s.useContext(Hu),t=s.useContext(ku);return{componentDisabled:e,componentSize:t}}const Zc=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],RI="5.15.3";function ef(e){return e>=0&&e<=255}function Ds(e,t){const{r:n,g:r,b:o,a:i}=new jt(e).toRgb();if(i<1)return e;const{r:a,g:l,b:c}=new jt(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-a*(1-u))/u),f=Math.round((r-l*(1-u))/u),m=Math.round((o-c*(1-u))/u);if(ef(d)&&ef(f)&&ef(m))return new jt({r:d,g:f,b:m,a:Math.round(u*100)/100}).toRgbString()}return new jt({r:n,g:r,b:o,a:1}).toRgbString()}var II=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{delete r[m]});const o=Object.assign(Object.assign({},n),r),i=480,a=576,l=768,c=992,u=1200,d=1600;if(o.motion===!1){const m="0s";o.motionDurationFast=m,o.motionDurationMid=m,o.motionDurationSlow=m}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Ds(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Ds(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Ds(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Ds(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowSecondary:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` + 0 1px 2px -2px ${new jt("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new jt("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new jt("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerDown:` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var Jh=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const r=n.getDerivativeToken(e),{override:o}=t,i=Jh(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=zg(a),i&&Object.entries(i).forEach(l=>{let[c,u]=l;const{theme:d}=u,f=Jh(u,["theme"]);let m=f;d&&(m=CC(Object.assign(Object.assign({},a),f),{override:f},d)),a[c]=m}),a};function Tn(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=V.useContext(hC),i=`${RI}-${t||""}`,a=n||pC,[l,c,u]=lR(a,[xa,e],{salt:i,override:r,getComputedToken:CC,formatToken:zg,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:bC,ignore:SC,preserve:PI}});return[a,u,t?c:"",l,o]}function Vn(e){var t=s.useRef();t.current=e;var n=s.useCallback(function(){for(var r,o=arguments.length,i=new Array(o),a=0;a({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),ci={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},gn=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},Lg=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),os=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),MI=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),TI=(e,t,n)=>{const{fontFamily:r,fontSize:o}=e,i=`[class^="${t}"], [class*=" ${t}"]`;return{[n?`.${n}`:i]:{fontFamily:r,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[i]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Hm=e=>({outline:`${k(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),is=e=>({"&:focus-visible":Object.assign({},Hm(e))});function wC(e,t,n){return t=ya(t),TS(e,xg()?Reflect.construct(t,n||[],ya(e).constructor):t.apply(e,n))}let NI=Bn(function e(){Fn(this,e)});const $C=NI;let _I=function(e){hi(t,e);function t(n){var r;return Fn(this,t),r=wC(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return Bn(t,[{key:"add",value:function(r){return r instanceof t?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof t?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof t?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof t?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),t}($C);const EC="CALC_UNIT";function nf(e){return typeof e=="number"?`${e}${EC}`:e}let zI=function(e){hi(t,e);function t(n){var r;return Fn(this,t),r=wC(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=nf(n):typeof n=="string"&&(r.result=n),r}return Bn(t,[{key:"add",value:function(r){return r instanceof t?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${nf(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof t?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${nf(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:o=!0}=r||{},i=new RegExp(`${EC}`,"g");return this.result=this.result.replace(i,o?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}($C);const LI=e=>{const t=e==="css"?zI:_I;return n=>new t(n)};function jI(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;rk(o)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;rk(o)).join(",")})`}}}const OC=typeof CSSINJS_STATISTIC<"u";let km=!0;function Ot(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(o).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>o[a]})})}),km=!0,r}const e0={};function AI(){}const FI=e=>{let t,n=e,r=AI;return OC&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(o,i){return km&&t.add(i),o[i]}}),r=(o,i)=>{var a;e0[o]={global:Array.from(t),component:Object.assign(Object.assign({},(a=e0[o])===null||a===void 0?void 0:a.component),i)}}),{token:n,keys:t,flush:r}},RC=(e,t)=>{const[n,r]=Tn();return Lm({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Lg()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},IC=(e,t,n)=>{var r;return typeof n=="function"?n(Ot(t,(r=t[e])!==null&&r!==void 0?r:{})):n??{}},PC=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:a}=r;a.forEach(l=>{let[c,u]=l;var d;(o!=null&&o[c]||o!=null&&o[u])&&((d=o[u])!==null&&d!==void 0||(o[u]=o==null?void 0:o[c]))})}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach(a=>{i[a]===t[a]&&delete i[a]}),i},BI=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function jg(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=Array.isArray(e)?e:[e,e],[i]=o,a=o.join("-");return function(l){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l;const[u,d,f,m,h]=Tn(),{getPrefixCls:b,iconPrefixCls:p,csp:S}=s.useContext(qe),v=b(),g=h?"css":"js",y=LI(g),{max:C,min:$}=jI(g),x={theme:u,token:m,hashId:f,nonce:()=>S==null?void 0:S.nonce,clientOnly:r.clientOnly,order:r.order||-999};return Lm(Object.assign(Object.assign({},x),{clientOnly:!1,path:["Shared",v]}),()=>[{"&":MI(m)}]),RC(p,S),[Lm(Object.assign(Object.assign({},x),{path:[a,l,p]}),()=>{if(r.injectStyle===!1)return[];const{token:E,flush:O}=FI(m),P=IC(i,d,n),M=`.${l}`,N=PC(i,d,P,{deprecatedTokens:r.deprecatedTokens});h&&Object.keys(P).forEach(j=>{P[j]=`var(${VS(j,BI(i,h.prefix))})`});const I=Ot(E,{componentCls:M,prefixCls:l,iconCls:`.${p}`,antCls:`.${v}`,calc:y,max:C,min:$},h?P:N),z=t(I,{hashId:f,prefixCls:l,rootPrefixCls:v,iconPrefixCls:p});return O(i,N),[r.resetStyle===!1?null:TI(I,l,c),z]}),f]}}const MC=(e,t,n,r)=>{const o=jg(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return a=>{let{prefixCls:l,rootCls:c=l}=a;return o(l,c),null}},DI=(e,t,n)=>{function r(u){return`${e}${u.slice(0,1).toUpperCase()}${u.slice(1)}`}const{unitless:o={},injectStyle:i=!0}=n??{},a={[r("zIndexPopup")]:!0};Object.keys(o).forEach(u=>{a[r(u)]=o[u]});const l=u=>{let{rootCls:d,cssVar:f}=u;const[,m]=Tn();return LR({path:[e],prefix:f.prefix,key:f==null?void 0:f.key,unitless:Object.assign(Object.assign({},bC),a),ignore:SC,token:m,scope:d},()=>{const h=IC(e,m,t),b=PC(e,m,h,{deprecatedTokens:n==null?void 0:n.deprecatedTokens});return Object.keys(h).forEach(p=>{b[r(p)]=b[p],delete b[p]}),b}),null};return u=>{const[,,,,d]=Tn();return[f=>i&&d?V.createElement(V.Fragment,null,V.createElement(l,{rootCls:u,cssVar:d,component:e}),f):f,d==null?void 0:d.key]}},Yt=(e,t,n,r)=>{const o=jg(e,t,n,r),i=DI(Array.isArray(e)?e[0]:e,n,r);return function(a){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a;const[,c]=o(a,l),[u,d]=i(l);return[u,c,d]}};function Ag(e,t){return Zc.reduce((n,r)=>{const o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:l}))},{})}const HI=Object.assign({},Xl),{useId:t0}=HI,kI=()=>"",VI=typeof t0>"u"?kI:t0;function WI(e,t,n){var r;lC();const o=e||{},i=o.inherit===!1||!t?Object.assign(Object.assign({},Bl),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:Bl.hashed,cssVar:t==null?void 0:t.cssVar}):t,a=VI();return es(()=>{var l,c;if(!e)return t;const u=Object.assign({},i.components);Object.keys(e.components||{}).forEach(m=>{u[m]=Object.assign(Object.assign({},u[m]),e.components[m])});const d=`css-var-${a.replace(/:/g,"")}`,f=((l=o.cssVar)!==null&&l!==void 0?l:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof i.cssVar=="object"?i.cssVar:{}),typeof o.cssVar=="object"?o.cssVar:{}),{key:typeof o.cssVar=="object"&&((c=o.cssVar)===null||c===void 0?void 0:c.key)||d});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:u,cssVar:f})},[o,i],(l,c)=>l.some((u,d)=>{const f=c[d];return!ns(u,f,!0)}))}var UI=["children"],TC=s.createContext({});function GI(e){var t=e.children,n=Je(e,UI);return s.createElement(TC.Provider,{value:n},t)}var KI=function(e){hi(n,e);var t=ts(n);function n(){return Fn(this,n),t.apply(this,arguments)}return Bn(n,[{key:"render",value:function(){return this.props.children}}]),n}(s.Component),Wo="none",Hs="appear",ks="enter",Vs="leave",n0="none",Or="prepare",Qi="start",Zi="active",Fg="end",NC="prepared";function r0(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function qI(e,t){var n={animationend:r0("Animation","AnimationEnd"),transitionend:r0("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var XI=qI(Mn(),typeof window<"u"?window:{}),_C={};if(Mn()){var YI=document.createElement("div");_C=YI.style}var Ws={};function zC(e){if(Ws[e])return Ws[e];var t=XI[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&arguments[1]!==void 0?arguments[1]:2;t();var i=Ct(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i}return s.useEffect(function(){return function(){t()}},[]),[n,t]};var JI=[Or,Qi,Zi,Fg],eP=[Or,NC],BC=!1,tP=!0;function DC(e){return e===Zi||e===Fg}const nP=function(e,t,n){var r=la(n0),o=W(r,2),i=o[0],a=o[1],l=ZI(),c=W(l,2),u=c[0],d=c[1];function f(){a(Or,!0)}var m=t?eP:JI;return FC(function(){if(i!==n0&&i!==Fg){var h=m.indexOf(i),b=m[h+1],p=n(i);p===BC?a(b,!0):b&&u(function(S){function v(){S.isCanceled()||a(b,!0)}p===!0?v():Promise.resolve(p).then(v)})}},[e,i]),s.useEffect(function(){return function(){d()}},[]),[f,i]};function rP(e,t,n,r){var o=r.motionEnter,i=o===void 0?!0:o,a=r.motionAppear,l=a===void 0?!0:a,c=r.motionLeave,u=c===void 0?!0:c,d=r.motionDeadline,f=r.motionLeaveImmediately,m=r.onAppearPrepare,h=r.onEnterPrepare,b=r.onLeavePrepare,p=r.onAppearStart,S=r.onEnterStart,v=r.onLeaveStart,g=r.onAppearActive,y=r.onEnterActive,C=r.onLeaveActive,$=r.onAppearEnd,x=r.onEnterEnd,w=r.onLeaveEnd,E=r.onVisibleChanged,O=la(),P=W(O,2),M=P[0],N=P[1],I=la(Wo),z=W(I,2),j=z[0],_=z[1],T=la(null),R=W(T,2),L=R[0],A=R[1],F=s.useRef(!1),H=s.useRef(null);function K(){return n()}var X=s.useRef(!1);function q(){_(Wo,!0),A(null,!0)}function oe(Z){var de=K();if(!(Z&&!Z.deadline&&Z.target!==de)){var ce=X.current,me;j===Hs&&ce?me=$==null?void 0:$(de,Z):j===ks&&ce?me=x==null?void 0:x(de,Z):j===Vs&&ce&&(me=w==null?void 0:w(de,Z)),j!==Wo&&ce&&me!==!1&&q()}}var J=QI(oe),ee=W(J,1),re=ee[0],Q=function(de){var ce,me,fe;switch(de){case Hs:return ce={},B(ce,Or,m),B(ce,Qi,p),B(ce,Zi,g),ce;case ks:return me={},B(me,Or,h),B(me,Qi,S),B(me,Zi,y),me;case Vs:return fe={},B(fe,Or,b),B(fe,Qi,v),B(fe,Zi,C),fe;default:return{}}},G=s.useMemo(function(){return Q(j)},[j]),se=nP(j,!e,function(Z){if(Z===Or){var de=G[Or];return de?de(K()):BC}if(Y in G){var ce;A(((ce=G[Y])===null||ce===void 0?void 0:ce.call(G,K(),null))||null)}return Y===Zi&&(re(K()),d>0&&(clearTimeout(H.current),H.current=setTimeout(function(){oe({deadline:!0})},d))),Y===NC&&q(),tP}),le=W(se,2),te=le[0],Y=le[1],ge=DC(Y);X.current=ge,FC(function(){N(t);var Z=F.current;F.current=!0;var de;!Z&&t&&l&&(de=Hs),Z&&t&&i&&(de=ks),(Z&&!t&&u||!Z&&f&&!t&&u)&&(de=Vs);var ce=Q(de);de&&(e||ce[Or])?(_(de),te()):_(Wo)},[t]),s.useEffect(function(){(j===Hs&&!l||j===ks&&!i||j===Vs&&!u)&&_(Wo)},[l,i,u]),s.useEffect(function(){return function(){F.current=!1,clearTimeout(H.current)}},[]);var ue=s.useRef(!1);s.useEffect(function(){M&&(ue.current=!0),M!==void 0&&j===Wo&&((ue.current||M)&&(E==null||E(M)),ue.current=!0)},[M,j]);var ie=L;return G[Or]&&Y===Qi&&(ie=D({transition:"none"},ie)),[j,Y,ie,M??t]}function oP(e){var t=e;nt(e)==="object"&&(t=e.transitionSupport);function n(o,i){return!!(o.motionName&&t&&i!==!1)}var r=s.forwardRef(function(o,i){var a=o.visible,l=a===void 0?!0:a,c=o.removeOnLeave,u=c===void 0?!0:c,d=o.forceRender,f=o.children,m=o.motionName,h=o.leavedClassName,b=o.eventProps,p=s.useContext(TC),S=p.motion,v=n(o,S),g=s.useRef(),y=s.useRef();function C(){try{return g.current instanceof HTMLElement?g.current:fl(y.current)}catch{return null}}var $=rP(v,l,C,o),x=W($,4),w=x[0],E=x[1],O=x[2],P=x[3],M=s.useRef(P);P&&(M.current=!0);var N=s.useCallback(function(A){g.current=A,Cg(i,A)},[i]),I,z=D(D({},b),{},{visible:l});if(!f)I=null;else if(w===Wo)P?I=f(D({},z),N):!u&&M.current&&h?I=f(D(D({},z),{},{className:h}),N):d||!u&&!h?I=f(D(D({},z),{},{style:{display:"none"}}),N):I=null;else{var j,_;E===Or?_="prepare":DC(E)?_="active":E===Qi&&(_="start");var T=a0(m,"".concat(w,"-").concat(_));I=f(D(D({},z),{},{className:U(a0(m,w),(j={},B(j,T,T&&_),B(j,m,typeof m=="string"),j)),style:O}),N)}if(s.isValidElement(I)&&pi(I)){var R=I,L=R.ref;L||(I=s.cloneElement(I,{ref:N}))}return s.createElement(KI,{ref:y},I)});return r.displayName="CSSMotion",r}const lr=oP(AC);var Vm="add",Wm="keep",Um="remove",rf="removed";function iP(e){var t;return e&&nt(e)==="object"&&"key"in e?t=e:t={key:e},D(D({},t),{},{key:String(t.key)})}function Gm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(iP)}function aP(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,o=t.length,i=Gm(e),a=Gm(t);i.forEach(function(u){for(var d=!1,f=r;f1});return c.forEach(function(u){n=n.filter(function(d){var f=d.key,m=d.status;return f!==u||m!==Um}),n.forEach(function(d){d.key===u&&(d.status=Wm)})}),n}var lP=["component","children","onVisibleChanged","onAllRemoved"],sP=["status"],cP=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function uP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lr,n=function(r){hi(i,r);var o=ts(i);function i(){var a;Fn(this,i);for(var l=arguments.length,c=new Array(l),u=0;unull;var mP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);ot.endsWith("Color"))}const yP=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;t!==void 0&&(HC=t),r&&hP(r)&&wI(pP(),r)},bP=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:l,componentSize:c,direction:u,space:d,virtual:f,dropdownMatchSelectWidth:m,popupMatchSelectWidth:h,popupOverflow:b,legacyLocale:p,parentContext:S,iconPrefixCls:v,theme:g,componentDisabled:y,segmented:C,statistic:$,spin:x,calendar:w,carousel:E,cascader:O,collapse:P,typography:M,checkbox:N,descriptions:I,divider:z,drawer:j,skeleton:_,steps:T,image:R,layout:L,list:A,mentions:F,modal:H,progress:K,result:X,slider:q,breadcrumb:oe,menu:J,pagination:ee,input:re,textArea:Q,empty:G,badge:se,radio:le,rate:te,switch:Y,transfer:ge,avatar:ue,message:ie,tag:Z,table:de,card:ce,tabs:me,timeline:fe,timePicker:be,upload:_e,notification:Ee,tree:Xe,colorPicker:Oe,datePicker:ye,rangePicker:$e,flex:xe,wave:Ye,dropdown:rt,warning:et,tour:at}=e,Qe=s.useCallback((Se,we)=>{const{prefixCls:Ke}=e;if(we)return we;const ot=Ke||S.getPrefixCls("");return Se?`${ot}-${Se}`:ot},[S.getPrefixCls,e.prefixCls]),We=v||S.iconPrefixCls||yC,ae=n||S.csp;RC(We,ae);const Re=WI(g,S.theme,{prefixCls:Qe("")}),tt={csp:ae,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:l||p,direction:u,space:d,virtual:f,popupMatchSelectWidth:h??m,popupOverflow:b,getPrefixCls:Qe,iconPrefixCls:We,theme:Re,segmented:C,statistic:$,spin:x,calendar:w,carousel:E,cascader:O,collapse:P,typography:M,checkbox:N,descriptions:I,divider:z,drawer:j,skeleton:_,steps:T,image:R,input:re,textArea:Q,layout:L,list:A,mentions:F,modal:H,progress:K,result:X,slider:q,breadcrumb:oe,menu:J,pagination:ee,empty:G,badge:se,radio:le,rate:te,switch:Y,transfer:ge,avatar:ue,message:ie,tag:Z,table:de,card:ce,tabs:me,timeline:fe,timePicker:be,upload:_e,notification:Ee,tree:Xe,colorPicker:Oe,datePicker:ye,rangePicker:$e,flex:xe,wave:Ye,dropdown:rt,warning:et,tour:at},ft=Object.assign({},S);Object.keys(tt).forEach(Se=>{tt[Se]!==void 0&&(ft[Se]=tt[Se])}),vP.forEach(Se=>{const we=e[Se];we&&(ft[Se]=we)});const Rt=es(()=>ft,ft,(Se,we)=>{const Ke=Object.keys(Se),ot=Object.keys(we);return Ke.length!==ot.length||Ke.some(pe=>Se[pe]!==we[pe])}),It=s.useMemo(()=>({prefixCls:We,csp:ae}),[We,ae]);let De=s.createElement(s.Fragment,null,s.createElement(fP,{dropdownMatchSelectWidth:m}),t);const je=s.useMemo(()=>{var Se,we,Ke,ot;return Yi(((Se=Lo.Form)===null||Se===void 0?void 0:Se.defaultValidateMessages)||{},((Ke=(we=Rt.locale)===null||we===void 0?void 0:we.Form)===null||Ke===void 0?void 0:Ke.defaultValidateMessages)||{},((ot=Rt.form)===null||ot===void 0?void 0:ot.validateMessages)||{},(a==null?void 0:a.validateMessages)||{})},[Rt,a==null?void 0:a.validateMessages]);Object.keys(je).length>0&&(De=s.createElement(HR.Provider,{value:je},De)),l&&(De=s.createElement(XR,{locale:l,_ANT_MARK__:KR},De)),(We||ae)&&(De=s.createElement(Mg.Provider,{value:It},De)),c&&(De=s.createElement(EI,{size:c},De)),De=s.createElement(dP,null,De);const dt=s.useMemo(()=>{const Se=Re||{},{algorithm:we,token:Ke,components:ot,cssVar:pe}=Se,Ce=mP(Se,["algorithm","token","components","cssVar"]),Me=we&&(!Array.isArray(we)||we.length>0)?jl(we):pC,Be={};Object.entries(ot||{}).forEach(Ue=>{let[Pt,xt]=Ue;const Ae=Object.assign({},xt);"algorithm"in Ae&&(Ae.algorithm===!0?Ae.theme=Me:(Array.isArray(Ae.algorithm)||typeof Ae.algorithm=="function")&&(Ae.theme=jl(Ae.algorithm)),delete Ae.algorithm),Be[Pt]=Ae});const Ge=Object.assign(Object.assign({},xa),Ke);return Object.assign(Object.assign({},Ce),{theme:Me,token:Ge,components:Be,override:Object.assign({override:Ge},Be),cssVar:pe})},[Re]);return g&&(De=s.createElement(hC.Provider,{value:dt},De)),Rt.warning&&(De=s.createElement(DR.Provider,{value:Rt.warning},De)),y!==void 0&&(De=s.createElement($I,{disabled:y},De)),s.createElement(qe.Provider,{value:Rt},De)},Pa=e=>{const t=s.useContext(qe),n=s.useContext(Tg);return s.createElement(bP,Object.assign({parentContext:t,legacyLocale:n},e))};Pa.ConfigContext=qe;Pa.SizeContext=ku;Pa.config=yP;Pa.useConfig=OI;Object.defineProperty(Pa,"SizeContext",{get:()=>ku});const kC=Pa;function VC(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function SP(e){return VC(e)instanceof ShadowRoot}function Jc(e){return SP(e)?VC(e):null}function CP(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function xP(e,t){In(e,"[@ant-design/icons] ".concat(t))}function l0(e){return nt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(nt(e.icon)==="object"||typeof e.icon=="function")}function s0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[CP(n)]=r}return t},{})}function Km(e,t,n){return n?V.createElement(e.tag,D(D({key:t},s0(e.attrs)),n),(e.children||[]).map(function(r,o){return Km(r,"".concat(t,"-").concat(e.tag,"-").concat(o))})):V.createElement(e.tag,D({key:t},s0(e.attrs)),(e.children||[]).map(function(r,o){return Km(r,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function WC(e){return oo(e)[0]}function UC(e){return e?Array.isArray(e)?e:[e]:[]}var wP=` +.anticon { + display: inline-flex; + alignItems: center; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,$P=function(t){var n=s.useContext(Mg),r=n.csp,o=n.prefixCls,i=wP;o&&(i=i.replace(/anticon/g,o)),s.useEffect(function(){var a=t.current,l=Jc(a);ro(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:l})},[])},EP=["icon","className","onClick","style","primaryColor","secondaryColor"],pl={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function OP(e){var t=e.primaryColor,n=e.secondaryColor;pl.primaryColor=t,pl.secondaryColor=n||WC(t),pl.calculated=!!n}function RP(){return D({},pl)}var Vu=function(t){var n=t.icon,r=t.className,o=t.onClick,i=t.style,a=t.primaryColor,l=t.secondaryColor,c=Je(t,EP),u=s.useRef(),d=pl;if(a&&(d={primaryColor:a,secondaryColor:l||WC(a)}),$P(u),xP(l0(n),"icon should be icon definiton, but got ".concat(n)),!l0(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=D(D({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),Km(f.icon,"svg-".concat(f.name),D(D({className:r,onClick:o,style:i,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};Vu.displayName="IconReact";Vu.getTwoToneColors=RP;Vu.setTwoToneColors=OP;const Bg=Vu;function GC(e){var t=UC(e),n=W(t,2),r=n[0],o=n[1];return Bg.setTwoToneColors({primaryColor:r,secondaryColor:o})}function IP(){var e=Bg.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var PP=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];GC(mI.primary);var Wu=s.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,l=e.onClick,c=e.twoToneColor,u=Je(e,PP),d=s.useContext(Mg),f=d.prefixCls,m=f===void 0?"anticon":f,h=d.rootClassName,b=U(h,m,B(B({},"".concat(m,"-").concat(r.name),!!r.name),"".concat(m,"-spin"),!!o||r.name==="loading"),n),p=a;p===void 0&&l&&(p=-1);var S=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,v=UC(c),g=W(v,2),y=g[0],C=g[1];return s.createElement("span",ve({role:"img","aria-label":r.name},u,{ref:t,tabIndex:p,onClick:l,className:b}),s.createElement(Bg,{icon:r,primaryColor:y,secondaryColor:C,style:S}))});Wu.displayName="AntdIcon";Wu.getTwoToneColor=IP;Wu.setTwoToneColor=GC;const Bt=Wu;var MP={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const TP=MP;var NP=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:TP}))},_P=s.forwardRef(NP);const KC=_P;var zP={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};const LP=zP;var jP=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:LP}))},AP=s.forwardRef(jP);const Uu=AP;var FP=`accept acceptCharset accessKey action allowFullScreen allowTransparency + alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge + charSet checked classID className colSpan cols content contentEditable contextMenu + controls coords crossOrigin data dateTime default defer dir disabled download draggable + encType form formAction formEncType formMethod formNoValidate formTarget frameBorder + headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity + is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media + mediaGroup method min minLength multiple muted name noValidate nonce open + optimum pattern placeholder poster preload radioGroup readOnly rel required + reversed role rowSpan rows sandbox scope scoped scrolling seamless selected + shape size sizes span spellCheck src srcDoc srcLang srcSet start step style + summary tabIndex target title type useMap value width wmode wrap`,BP=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown + onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick + onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown + onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel + onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough + onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata + onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,DP="".concat(FP," ").concat(BP).split(/[\s\n]+/),HP="aria-",kP="data-";function c0(e,t){return e.indexOf(t)===0}function ui(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=D({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||c0(o,HP))||n.data&&c0(o,kP)||n.attr&&DP.includes(o))&&(r[o]=e[o])}),r}function qC(e){return e&&V.isValidElement(e)&&e.type===V.Fragment}const VP=(e,t,n)=>V.isValidElement(e)?V.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function io(e,t){return VP(e,e,t)}function qm(e){return e!=null&&e===e.window}function XC(e,t){var n,r;if(typeof window>"u")return 0;const o=t?"scrollTop":"scrollLeft";let i=0;return qm(e)?i=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?i=e.documentElement[o]:(e instanceof HTMLElement||e)&&(i=e[o]),e&&!qm(e)&&typeof i!="number"&&(i=(r=((n=e.ownerDocument)!==null&&n!==void 0?n:e).documentElement)===null||r===void 0?void 0:r[o]),i}function WP(e,t,n,r){const o=n-t;return e/=r/2,e<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}function UP(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:o=450}=t,i=n(),a=XC(i,!0),l=Date.now(),c=()=>{const d=Date.now()-l,f=WP(d>o?o:d,a,e,o);qm(i)?i.scrollTo(window.pageXOffset,f):i instanceof Document||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=f:i.scrollTop=f,d{const[,,,,t]=Tn();return t?`${e}-css-var`:""};var ne={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=ne.F1&&n<=ne.F12)return!1;switch(n){case ne.ALT:case ne.CAPS_LOCK:case ne.CONTEXT_MENU:case ne.CTRL:case ne.DOWN:case ne.END:case ne.ESC:case ne.HOME:case ne.INSERT:case ne.LEFT:case ne.MAC_FF_META:case ne.META:case ne.NUMLOCK:case ne.NUM_CENTER:case ne.PAGE_DOWN:case ne.PAGE_UP:case ne.PAUSE:case ne.PRINT_SCREEN:case ne.RIGHT:case ne.SHIFT:case ne.UP:case ne.WIN_KEY:case ne.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=ne.ZERO&&t<=ne.NINE||t>=ne.NUM_ZERO&&t<=ne.NUM_MULTIPLY||t>=ne.A&&t<=ne.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case ne.SPACE:case ne.QUESTION_MARK:case ne.NUM_PLUS:case ne.NUM_MINUS:case ne.NUM_PERIOD:case ne.NUM_DIVISION:case ne.SEMICOLON:case ne.DASH:case ne.EQUALS:case ne.COMMA:case ne.PERIOD:case ne.SLASH:case ne.APOSTROPHE:case ne.SINGLE_QUOTE:case ne.OPEN_SQUARE_BRACKET:case ne.BACKSLASH:case ne.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},GP={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"};const KP=GP;var qP=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:KP}))},XP=s.forwardRef(qP);const YC=XP,YP=V.createContext(void 0),QC=YP,Uo=100,QP=10,ZP=Uo*QP,ZC={Modal:Uo,Drawer:Uo,Popover:Uo,Popconfirm:Uo,Tooltip:Uo,Tour:Uo},JP={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function eM(e){return e in ZC}function Gu(e,t){const[,n]=Tn(),r=V.useContext(QC),o=eM(e);if(t!==void 0)return[t,t];let i=r??0;return o?(i+=(r?0:n.zIndexPopupBase)+ZC[e],i=Math.min(i,n.zIndexPopupBase+ZP)):i+=JP[e],[r===void 0?t:i,i]}function Ln(){Ln=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(_,T,R){_[T]=R.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(_,T,R){return Object.defineProperty(_,T,{value:R,enumerable:!0,configurable:!0,writable:!0}),_[T]}try{u({},"")}catch{u=function(R,L,A){return R[L]=A}}function d(_,T,R,L){var A=T&&T.prototype instanceof v?T:v,F=Object.create(A.prototype),H=new z(L||[]);return o(F,"_invoke",{value:P(_,R,H)}),F}function f(_,T,R){try{return{type:"normal",arg:_.call(T,R)}}catch(L){return{type:"throw",arg:L}}}t.wrap=d;var m="suspendedStart",h="suspendedYield",b="executing",p="completed",S={};function v(){}function g(){}function y(){}var C={};u(C,a,function(){return this});var $=Object.getPrototypeOf,x=$&&$($(j([])));x&&x!==n&&r.call(x,a)&&(C=x);var w=y.prototype=v.prototype=Object.create(C);function E(_){["next","throw","return"].forEach(function(T){u(_,T,function(R){return this._invoke(T,R)})})}function O(_,T){function R(A,F,H,K){var X=f(_[A],_,F);if(X.type!=="throw"){var q=X.arg,oe=q.value;return oe&&nt(oe)=="object"&&r.call(oe,"__await")?T.resolve(oe.__await).then(function(J){R("next",J,H,K)},function(J){R("throw",J,H,K)}):T.resolve(oe).then(function(J){q.value=J,H(q)},function(J){return R("throw",J,H,K)})}K(X.arg)}var L;o(this,"_invoke",{value:function(F,H){function K(){return new T(function(X,q){R(F,H,X,q)})}return L=L?L.then(K,K):K()}})}function P(_,T,R){var L=m;return function(A,F){if(L===b)throw Error("Generator is already running");if(L===p){if(A==="throw")throw F;return{value:e,done:!0}}for(R.method=A,R.arg=F;;){var H=R.delegate;if(H){var K=M(H,R);if(K){if(K===S)continue;return K}}if(R.method==="next")R.sent=R._sent=R.arg;else if(R.method==="throw"){if(L===m)throw L=p,R.arg;R.dispatchException(R.arg)}else R.method==="return"&&R.abrupt("return",R.arg);L=b;var X=f(_,T,R);if(X.type==="normal"){if(L=R.done?p:h,X.arg===S)continue;return{value:X.arg,done:R.done}}X.type==="throw"&&(L=p,R.method="throw",R.arg=X.arg)}}}function M(_,T){var R=T.method,L=_.iterator[R];if(L===e)return T.delegate=null,R==="throw"&&_.iterator.return&&(T.method="return",T.arg=e,M(_,T),T.method==="throw")||R!=="return"&&(T.method="throw",T.arg=new TypeError("The iterator does not provide a '"+R+"' method")),S;var A=f(L,_.iterator,T.arg);if(A.type==="throw")return T.method="throw",T.arg=A.arg,T.delegate=null,S;var F=A.arg;return F?F.done?(T[_.resultName]=F.value,T.next=_.nextLoc,T.method!=="return"&&(T.method="next",T.arg=e),T.delegate=null,S):F:(T.method="throw",T.arg=new TypeError("iterator result is not an object"),T.delegate=null,S)}function N(_){var T={tryLoc:_[0]};1 in _&&(T.catchLoc=_[1]),2 in _&&(T.finallyLoc=_[2],T.afterLoc=_[3]),this.tryEntries.push(T)}function I(_){var T=_.completion||{};T.type="normal",delete T.arg,_.completion=T}function z(_){this.tryEntries=[{tryLoc:"root"}],_.forEach(N,this),this.reset(!0)}function j(_){if(_||_===""){var T=_[a];if(T)return T.call(_);if(typeof _.next=="function")return _;if(!isNaN(_.length)){var R=-1,L=function A(){for(;++R<_.length;)if(r.call(_,R))return A.value=_[R],A.done=!1,A;return A.value=e,A.done=!0,A};return L.next=L}}throw new TypeError(nt(_)+" is not iterable")}return g.prototype=y,o(w,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:g,configurable:!0}),g.displayName=u(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(_){var T=typeof _=="function"&&_.constructor;return!!T&&(T===g||(T.displayName||T.name)==="GeneratorFunction")},t.mark=function(_){return Object.setPrototypeOf?Object.setPrototypeOf(_,y):(_.__proto__=y,u(_,c,"GeneratorFunction")),_.prototype=Object.create(w),_},t.awrap=function(_){return{__await:_}},E(O.prototype),u(O.prototype,l,function(){return this}),t.AsyncIterator=O,t.async=function(_,T,R,L,A){A===void 0&&(A=Promise);var F=new O(d(_,T,R,L),A);return t.isGeneratorFunction(T)?F:F.next().then(function(H){return H.done?H.value:F.next()})},E(w),u(w,c,"Generator"),u(w,a,function(){return this}),u(w,"toString",function(){return"[object Generator]"}),t.keys=function(_){var T=Object(_),R=[];for(var L in T)R.push(L);return R.reverse(),function A(){for(;R.length;){var F=R.pop();if(F in T)return A.value=F,A.done=!1,A}return A.done=!0,A}},t.values=j,z.prototype={constructor:z,reset:function(T){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!T)for(var R in this)R.charAt(0)==="t"&&r.call(this,R)&&!isNaN(+R.slice(1))&&(this[R]=e)},stop:function(){this.done=!0;var T=this.tryEntries[0].completion;if(T.type==="throw")throw T.arg;return this.rval},dispatchException:function(T){if(this.done)throw T;var R=this;function L(q,oe){return H.type="throw",H.arg=T,R.next=q,oe&&(R.method="next",R.arg=e),!!oe}for(var A=this.tryEntries.length-1;A>=0;--A){var F=this.tryEntries[A],H=F.completion;if(F.tryLoc==="root")return L("end");if(F.tryLoc<=this.prev){var K=r.call(F,"catchLoc"),X=r.call(F,"finallyLoc");if(K&&X){if(this.prev=0;--L){var A=this.tryEntries[L];if(A.tryLoc<=this.prev&&r.call(A,"finallyLoc")&&this.prev=0;--R){var L=this.tryEntries[R];if(L.finallyLoc===T)return this.complete(L.completion,L.afterLoc),I(L),S}},catch:function(T){for(var R=this.tryEntries.length-1;R>=0;--R){var L=this.tryEntries[R];if(L.tryLoc===T){var A=L.completion;if(A.type==="throw"){var F=A.arg;I(L)}return F}}throw Error("illegal catch attempt")},delegateYield:function(T,R,L){return this.delegate={iterator:j(T),resultName:R,nextLoc:L},this.method==="next"&&(this.arg=e),S}},t}function u0(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(u){n(u);return}l.done?t(c):Promise.resolve(c).then(r,o)}function bi(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(c){u0(i,r,o,a,l,"next",c)}function l(c){u0(i,r,o,a,l,"throw",c)}a(void 0)})}}var as=D({},K2),tM=as.version,nM=as.render,rM=as.unmountComponentAtNode,Ku;try{var oM=Number((tM||"").split(".")[0]);oM>=18&&(Ku=as.createRoot)}catch{}function d0(e){var t=as.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&nt(t)==="object"&&(t.usingClientEntryPoint=e)}var eu="__rc_react_root__";function iM(e,t){d0(!0);var n=t[eu]||Ku(t);d0(!1),n.render(e),t[eu]=n}function aM(e,t){nM(e,t)}function lM(e,t){if(Ku){iM(e,t);return}aM(e,t)}function sM(e){return Xm.apply(this,arguments)}function Xm(){return Xm=bi(Ln().mark(function e(t){return Ln().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var o;(o=t[eu])===null||o===void 0||o.unmount(),delete t[eu]}));case 1:case"end":return r.stop()}},e)})),Xm.apply(this,arguments)}function cM(e){rM(e)}function uM(e){return Ym.apply(this,arguments)}function Ym(){return Ym=bi(Ln().mark(function e(t){return Ln().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(Ku===void 0){r.next=2;break}return r.abrupt("return",sM(t));case 2:cM(t);case 3:case"end":return r.stop()}},e)})),Ym.apply(this,arguments)}const di=(e,t,n)=>n!==void 0?n:`${e}-${t}`,Dg=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1},dM=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,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 0.3s ${e.motionEaseInOut}`,`opacity 0.35s ${e.motionEaseInOut}`].join(",")}}}}},fM=jg("Wave",e=>[dM(e)]);function mM(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function of(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&mM(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function vM(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return of(t)?t:of(n)?n:of(r)?r:null}const JC="ant-wave-target";function af(e){return Number.isNaN(e)?0:e}const gM=e=>{const{className:t,target:n,component:r}=e,o=s.useRef(null),[i,a]=s.useState(null),[l,c]=s.useState([]),[u,d]=s.useState(0),[f,m]=s.useState(0),[h,b]=s.useState(0),[p,S]=s.useState(0),[v,g]=s.useState(!1),y={left:u,top:f,width:h,height:p,borderRadius:l.map(x=>`${x}px`).join(" ")};i&&(y["--wave-color"]=i);function C(){const x=getComputedStyle(n);a(vM(n));const w=x.position==="static",{borderLeftWidth:E,borderTopWidth:O}=x;d(w?n.offsetLeft:af(-parseFloat(E))),m(w?n.offsetTop:af(-parseFloat(O))),b(n.offsetWidth),S(n.offsetHeight);const{borderTopLeftRadius:P,borderTopRightRadius:M,borderBottomLeftRadius:N,borderBottomRightRadius:I}=x;c([P,M,I,N].map(z=>af(parseFloat(z))))}if(s.useEffect(()=>{if(n){const x=Ct(()=>{C(),g(!0)});let w;return typeof ResizeObserver<"u"&&(w=new ResizeObserver(C),w.observe(n)),()=>{Ct.cancel(x),w==null||w.disconnect()}}},[]),!v)return null;const $=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(JC));return s.createElement(lr,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(x,w)=>{var E;if(w.deadline||w.propertyName==="opacity"){const O=(E=o.current)===null||E===void 0?void 0:E.parentElement;uM(O).then(()=>{O==null||O.remove()})}return!1}},x=>{let{className:w}=x;return s.createElement("div",{ref:o,className:U(t,{"wave-quick":$},w),style:y})})},pM=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",e==null||e.insertBefore(o,e==null?void 0:e.firstChild),lM(s.createElement(gM,Object.assign({},t,{target:e})),o)},hM=pM;function yM(e,t,n){const{wave:r}=s.useContext(qe),[,o,i]=Tn(),a=Vn(u=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const f=d.querySelector(`.${JC}`)||d,{showEffect:m}=r||{};(m||hM)(f,{className:t,token:o,component:n,event:u,hashId:i})}),l=s.useRef();return u=>{Ct.cancel(l.current),l.current=Ct(()=>{a(u)})}}const bM=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=s.useContext(qe),i=s.useRef(null),a=o("wave"),[,l]=fM(a),c=yM(i,U(a,l),r);if(V.useEffect(()=>{const d=i.current;if(!d||d.nodeType!==1||n)return;const f=m=>{!Dg(m.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||c(m)};return d.addEventListener("click",f,!0),()=>{d.removeEventListener("click",f,!0)}},[n]),!V.isValidElement(t))return t??null;const u=pi(t)?so(t.ref,i):i;return io(t,{ref:u})},SM=bM,Bo=e=>{const t=V.useContext(ku);return V.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},CM=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},xM=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},wM=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},ex=Yt("Space",e=>{const t=Ot(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[xM(t),wM(t),CM(t)]},()=>({}),{resetStyle:!1});var tx=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n=s.useContext(qu),r=s.useMemo(()=>{if(!n)return"";const{compactDirection:o,isFirstItem:i,isLastItem:a}=n,l=o==="vertical"?"-vertical-":"-";return U(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:i,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},$M=e=>{let{children:t}=e;return s.createElement(qu.Provider,{value:null},t)},EM=e=>{var{children:t}=e,n=tx(e,["children"]);return s.createElement(qu.Provider,{value:n},t)},OM=e=>{const{getPrefixCls:t,direction:n}=s.useContext(qe),{size:r,direction:o,block:i,prefixCls:a,className:l,rootClassName:c,children:u}=e,d=tx(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=Bo(y=>r??y),m=t("space-compact",a),[h,b]=ex(m),p=U(m,b,{[`${m}-rtl`]:n==="rtl",[`${m}-block`]:i,[`${m}-vertical`]:o==="vertical"},l,c),S=s.useContext(qu),v=yr(u),g=s.useMemo(()=>v.map((y,C)=>{const $=y&&y.key||`${m}-item-${C}`;return s.createElement(EM,{key:$,compactSize:f,compactDirection:o,isFirstItem:C===0&&(!S||(S==null?void 0:S.isFirstItem)),isLastItem:C===v.length-1&&(!S||(S==null?void 0:S.isLastItem))},y)}),[r,v,S]);return v.length===0?null:h(s.createElement("div",Object.assign({className:p},d),g))},RM=OM;var IM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n}=s.useContext(qe),{prefixCls:r,size:o,className:i}=e,a=IM(e,["prefixCls","size","className"]),l=t("btn-group",r),[,,c]=Tn();let u="";switch(o){case"large":u="lg";break;case"small":u="sm";break}const d=U(l,{[`${l}-${u}`]:u,[`${l}-rtl`]:n==="rtl"},i,c);return s.createElement(rx.Provider,{value:o},s.createElement("div",Object.assign({},a,{className:d})))},MM=PM,f0=/^[\u4e00-\u9fa5]{2}$/,Qm=f0.test.bind(f0);function m0(e){return typeof e=="string"}function lf(e){return e==="text"||e==="link"}function TM(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&m0(e.type)&&Qm(e.props.children)?io(e,{children:e.props.children.split("").join(n)}):m0(e)?Qm(e)?V.createElement("span",null,e.split("").join(n)):V.createElement("span",null,e):qC(e)?V.createElement("span",null,e):e}function NM(e,t){let n=!1;const r=[];return V.Children.forEach(e,o=>{const i=typeof o,a=i==="string"||i==="number";if(n&&a){const l=r.length-1,c=r[l];r[l]=`${c}${o}`}else r.push(o);n=a}),V.Children.map(r,o=>TM(o,t))}const _M=s.forwardRef((e,t)=>{const{className:n,style:r,children:o,prefixCls:i}=e,a=U(`${i}-icon`,n);return V.createElement("span",{ref:t,className:a,style:r},o)}),ox=_M,v0=s.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:o,iconClassName:i}=e;const a=U(`${n}-loading-icon`,r);return V.createElement(ox,{prefixCls:n,className:a,style:o,ref:t},V.createElement(YC,{className:i}))}),sf=()=>({width:0,opacity:0,transform:"scale(0)"}),cf=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),zM=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:i}=e,a=!!n;return r?V.createElement(v0,{prefixCls:t,className:o,style:i}):V.createElement(lr,{visible:a,motionName:`${t}-loading-icon-motion`,motionLeave:a,removeOnLeave:!0,onAppearStart:sf,onAppearActive:cf,onEnterStart:sf,onEnterActive:cf,onLeaveStart:cf,onLeaveActive:sf},(l,c)=>{let{className:u,style:d}=l;return V.createElement(v0,{prefixCls:t,className:o,style:Object.assign(Object.assign({},i),d),ref:c,iconClassName:u})})},LM=zM,g0=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),jM=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},g0(`${t}-primary`,o),g0(`${t}-danger`,i)]}},ix=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Ot(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},ax=e=>{var t,n,r,o,i,a;const l=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,c=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,u=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,d=(o=e.contentLineHeight)!==null&&o!==void 0?o:gc(l),f=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:gc(c),m=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:gc(u);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:l,contentFontSizeSM:c,contentFontSizeLG:u,contentLineHeight:d,contentLineHeightSM:f,contentLineHeightLG:m,paddingBlock:Math.max((e.controlHeight-l*d)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-c*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*m)/2-e.lineWidth,0)}},AM=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${k(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},is(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},ao=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),FM=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),BM=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),DM=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Dl=(e,t,n,r,o,i,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},ao(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),Hg=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},DM(e))}),lx=e=>Object.assign({},Hg(e)),tu=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),sx=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},lx(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),ao(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Dl(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},ao(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Dl(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Hg(e))}),HM=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},lx(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),ao(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),Dl(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},ao(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),Dl(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Hg(e))}),kM=e=>Object.assign(Object.assign({},sx(e)),{borderStyle:"dashed"}),VM=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},ao(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),tu(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},ao(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),tu(e))}),WM=e=>Object.assign(Object.assign(Object.assign({},ao(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),tu(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},tu(e)),ao(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBg}))}),UM=e=>{const{componentCls:t}=e;return{[`${t}-default`]:sx(e),[`${t}-primary`]:HM(e),[`${t}-dashed`]:kM(e),[`${t}-link`]:VM(e),[`${t}-text`]:WM(e),[`${t}-ghost`]:Dl(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},kg=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,borderRadius:a,buttonPaddingHorizontal:l,iconCls:c,buttonPaddingVertical:u}=e,d=`${n}-icon-only`;return[{[`${t}`]:{fontSize:o,lineHeight:i,height:r,padding:`${k(u)} ${k(l)}`,borderRadius:a,[`&${d}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},[c]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:FM(e)},{[`${n}${n}-round${t}`]:BM(e)}]},GM=e=>{const t=Ot(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return kg(t,e.componentCls)},KM=e=>{const t=Ot(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return kg(t,`${e.componentCls}-sm`)},qM=e=>{const t=Ot(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return kg(t,`${e.componentCls}-lg`)},XM=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},YM=Yt("Button",e=>{const t=ix(e);return[AM(t),GM(t),KM(t),qM(t),XM(t),UM(t),jM(t)]},ax,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function QM(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",l=["hover",o?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function ZM(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Vg(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},QM(e,r,t)),ZM(n,r,t))}}function JM(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function eT(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function tT(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},JM(e,t)),eT(e.componentCls,t))}}const nT=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${k(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${k(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},rT=MC(["Button","compact"],e=>{const t=ix(e);return[Vg(t),tT(t),nT(t)]},ax);var oT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r;const{loading:o=!1,prefixCls:i,type:a,danger:l,shape:c="default",size:u,styles:d,disabled:f,className:m,rootClassName:h,children:b,icon:p,ghost:S=!1,block:v=!1,htmlType:g="button",classNames:y,style:C={}}=e,$=oT(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),x=a||"default",{getPrefixCls:w,autoInsertSpaceInButton:E,direction:O,button:P}=s.useContext(qe),M=w("btn",i),[N,I,z]=YM(M),j=s.useContext(Hu),_=f??j,T=s.useContext(rx),R=s.useMemo(()=>iT(o),[o]),[L,A]=s.useState(R.loading),[F,H]=s.useState(!1),X=so(t,s.createRef()),q=s.Children.count(b)===1&&!p&&!lf(x);s.useEffect(()=>{let me=null;R.delay>0?me=setTimeout(()=>{me=null,A(!0)},R.delay):A(R.loading);function fe(){me&&(clearTimeout(me),me=null)}return fe},[R]),s.useEffect(()=>{if(!X||!X.current||E===!1)return;const me=X.current.textContent;q&&Qm(me)?F||H(!0):F&&H(!1)},[X]);const oe=me=>{const{onClick:fe}=e;if(L||_){me.preventDefault();return}fe==null||fe(me)},J=E!==!1,{compactSize:ee,compactItemClassnames:re}=nx(M,O),Q={large:"lg",small:"sm",middle:void 0},G=Bo(me=>{var fe,be;return(be=(fe=u??ee)!==null&&fe!==void 0?fe:T)!==null&&be!==void 0?be:me}),se=G&&Q[G]||"",le=L?"loading":p,te=Dn($,["navigate"]),Y=U(M,I,z,{[`${M}-${c}`]:c!=="default"&&c,[`${M}-${x}`]:x,[`${M}-${se}`]:se,[`${M}-icon-only`]:!b&&b!==0&&!!le,[`${M}-background-ghost`]:S&&!lf(x),[`${M}-loading`]:L,[`${M}-two-chinese-chars`]:F&&J&&!L,[`${M}-block`]:v,[`${M}-dangerous`]:!!l,[`${M}-rtl`]:O==="rtl"},re,m,h,P==null?void 0:P.className),ge=Object.assign(Object.assign({},P==null?void 0:P.style),C),ue=U(y==null?void 0:y.icon,(n=P==null?void 0:P.classNames)===null||n===void 0?void 0:n.icon),ie=Object.assign(Object.assign({},(d==null?void 0:d.icon)||{}),((r=P==null?void 0:P.styles)===null||r===void 0?void 0:r.icon)||{}),Z=p&&!L?V.createElement(ox,{prefixCls:M,className:ue,style:ie},p):V.createElement(LM,{existIcon:!!p,prefixCls:M,loading:!!L}),de=b||b===0?NM(b,q&&J):null;if(te.href!==void 0)return N(V.createElement("a",Object.assign({},te,{className:U(Y,{[`${M}-disabled`]:_}),href:_?void 0:te.href,style:ge,onClick:oe,ref:X,tabIndex:_?-1:0}),Z,de));let ce=V.createElement("button",Object.assign({},$,{type:g,className:Y,style:ge,onClick:oe,disabled:_,ref:X}),Z,de,!!re&&V.createElement(rT,{key:"compact",prefixCls:M}));return lf(x)||(ce=V.createElement(SM,{component:"Button",disabled:!!L},ce)),N(ce)},Wg=s.forwardRef(aT);Wg.Group=MM;Wg.__ANT_BUTTON=!0;const lT=Wg;var cx=s.createContext(null),p0=[];function sT(e,t){var n=s.useState(function(){if(!Mn())return null;var b=document.createElement("div");return b}),r=W(n,1),o=r[0],i=s.useRef(!1),a=s.useContext(cx),l=s.useState(p0),c=W(l,2),u=c[0],d=c[1],f=a||(i.current?void 0:function(b){d(function(p){var S=[b].concat(Te(p));return S})});function m(){o.parentElement||document.body.appendChild(o),i.current=!0}function h(){var b;(b=o.parentElement)===null||b===void 0||b.removeChild(o),i.current=!1}return Mt(function(){return e?a?a(m):m():h(),h},[e]),Mt(function(){u.length&&(u.forEach(function(b){return b()}),d(p0))},[u]),[o,f]}function cT(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var o,i;if(e){var a=getComputedStyle(e);r.scrollbarColor=a.scrollbarColor,r.scrollbarWidth=a.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),u=parseInt(l.height,10);try{var d=c?"width: ".concat(l.width,";"):"",f=u?"height: ".concat(l.height,";"):"";ro(` +#`.concat(t,`::-webkit-scrollbar { +`).concat(d,` +`).concat(f,` +}`),t)}catch(b){console.error(b),o=c,i=u}}document.body.appendChild(n);var m=e&&o&&!isNaN(o)?o:n.offsetWidth-n.clientWidth,h=e&&i&&!isNaN(i)?i:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),ba(t),{width:m,height:h}}function uT(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:cT(e)}function dT(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var fT="rc-util-locker-".concat(Date.now()),h0=0;function mT(e){var t=!!e,n=s.useState(function(){return h0+=1,"".concat(fT,"_").concat(h0)}),r=W(n,1),o=r[0];Mt(function(){if(t){var i=uT(document.body).width,a=dT();ro(` +html body { + overflow-y: hidden; + `.concat(a?"width: calc(100% - ".concat(i,"px);"):"",` +}`),o)}else ba(o);return function(){ba(o)}},[t,o])}var y0=!1;function vT(e){return typeof e=="boolean"&&(y0=e),y0}var b0=function(t){return t===!1?!1:!Mn()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Xu=s.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var i=e.autoDestroy,a=i===void 0?!0:i,l=e.children,c=s.useState(n),u=W(c,2),d=u[0],f=u[1],m=d||n;s.useEffect(function(){(a||n)&&f(n)},[n,a]);var h=s.useState(function(){return b0(o)}),b=W(h,2),p=b[0],S=b[1];s.useEffect(function(){var M=b0(o);S(M??null)});var v=sT(m&&!p),g=W(v,2),y=g[0],C=g[1],$=p??y;mT(r&&n&&Mn()&&($===y||$===document.body));var x=null;if(l&&pi(l)&&t){var w=l;x=w.ref}var E=gi(x,t);if(!m||!Mn()||p===void 0)return null;var O=$===!1||vT(),P=l;return t&&(P=s.cloneElement(l,{ref:E})),s.createElement(cx.Provider,{value:C},O?P:zo.createPortal(P,$))}),ux=s.createContext({});function gT(){var e=D({},Xl);return e.useId}var S0=0,C0=gT();const dx=C0?function(t){var n=C0();return t||n}:function(t){var n=s.useState("ssr-id"),r=W(n,2),o=r[0],i=r[1];return s.useEffect(function(){var a=S0;S0+=1,i("rc_unique_".concat(a))},[]),t||o};function x0(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function w0(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function pT(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=w0(o),n.top+=w0(o,!0),n}const hT=s.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var $0={width:0,height:0,overflow:"hidden",outline:"none"},yT={outline:"none"},bT=V.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.title,a=e.ariaId,l=e.footer,c=e.closable,u=e.closeIcon,d=e.onClose,f=e.children,m=e.bodyStyle,h=e.bodyProps,b=e.modalRender,p=e.onMouseDown,S=e.onMouseUp,v=e.holderRef,g=e.visible,y=e.forceRender,C=e.width,$=e.height,x=e.classNames,w=e.styles,E=V.useContext(ux),O=E.panel,P=gi(v,O),M=s.useRef(),N=s.useRef(),I=s.useRef();V.useImperativeHandle(t,function(){return{focus:function(){var H;(H=I.current)===null||H===void 0||H.focus()},changeActive:function(H){var K=document,X=K.activeElement;H&&X===N.current?M.current.focus():!H&&X===M.current&&N.current.focus()}}});var z={};C!==void 0&&(z.width=C),$!==void 0&&(z.height=$);var j;l&&(j=V.createElement("div",{className:U("".concat(n,"-footer"),x==null?void 0:x.footer),style:D({},w==null?void 0:w.footer)},l));var _;i&&(_=V.createElement("div",{className:U("".concat(n,"-header"),x==null?void 0:x.header),style:D({},w==null?void 0:w.header)},V.createElement("div",{className:"".concat(n,"-title"),id:a},i)));var T=s.useMemo(function(){return nt(c)==="object"&&c!==null?c:c?{closeIcon:u??V.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[c,u]),R=ui(T,!0),L;c&&(L=V.createElement("button",ve({type:"button",onClick:d,"aria-label":"Close"},R,{className:"".concat(n,"-close")}),T.closeIcon));var A=V.createElement("div",{className:U("".concat(n,"-content"),x==null?void 0:x.content),style:w==null?void 0:w.content},L,_,V.createElement("div",ve({className:U("".concat(n,"-body"),x==null?void 0:x.body),style:D(D({},m),w==null?void 0:w.body)},h),f),j);return V.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?a:null,"aria-modal":"true",ref:P,style:D(D({},o),z),className:U(n,r),onMouseDown:p,onMouseUp:S},V.createElement("div",{tabIndex:0,ref:M,style:$0,"aria-hidden":"true"}),V.createElement("div",{ref:I,tabIndex:-1,style:yT},V.createElement(hT,{shouldUpdate:g||y},b?b(A):A)),V.createElement("div",{tabIndex:0,ref:N,style:$0,"aria-hidden":"true"}))}),fx=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,i=e.className,a=e.visible,l=e.forceRender,c=e.destroyOnClose,u=e.motionName,d=e.ariaId,f=e.onVisibleChanged,m=e.mousePosition,h=s.useRef(),b=s.useState(),p=W(b,2),S=p[0],v=p[1],g={};S&&(g.transformOrigin=S);function y(){var C=pT(h.current);v(m?"".concat(m.x-C.left,"px ").concat(m.y-C.top,"px"):"")}return s.createElement(lr,{visible:a,onVisibleChanged:f,onAppearPrepare:y,onEnterPrepare:y,forceRender:l,motionName:u,removeOnLeave:c,ref:h},function(C,$){var x=C.className,w=C.style;return s.createElement(bT,ve({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:$,style:D(D(D({},w),o),g),className:U(i,x)}))})});fx.displayName="Content";function ST(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName,a=e.className;return s.createElement(lr,{key:"mask",visible:r,motionName:i,leavedClassName:"".concat(t,"-mask-hidden")},function(l,c){var u=l.className,d=l.style;return s.createElement("div",ve({ref:c,style:D(D({},d),n),className:U("".concat(t,"-mask"),u,a)},o))})}function CT(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,o=e.visible,i=o===void 0?!1:o,a=e.keyboard,l=a===void 0?!0:a,c=e.focusTriggerAfterClose,u=c===void 0?!0:c,d=e.wrapStyle,f=e.wrapClassName,m=e.wrapProps,h=e.onClose,b=e.afterOpenChange,p=e.afterClose,S=e.transitionName,v=e.animation,g=e.closable,y=g===void 0?!0:g,C=e.mask,$=C===void 0?!0:C,x=e.maskTransitionName,w=e.maskAnimation,E=e.maskClosable,O=E===void 0?!0:E,P=e.maskStyle,M=e.maskProps,N=e.rootClassName,I=e.classNames,z=e.styles,j=s.useRef(),_=s.useRef(),T=s.useRef(),R=s.useState(i),L=W(R,2),A=L[0],F=L[1],H=dx();function K(){Om(_.current,document.activeElement)||(j.current=document.activeElement)}function X(){if(!Om(_.current,document.activeElement)){var le;(le=T.current)===null||le===void 0||le.focus()}}function q(le){if(le)X();else{if(F(!1),$&&j.current&&u){try{j.current.focus({preventScroll:!0})}catch{}j.current=null}A&&(p==null||p())}b==null||b(le)}function oe(le){h==null||h(le)}var J=s.useRef(!1),ee=s.useRef(),re=function(){clearTimeout(ee.current),J.current=!0},Q=function(){ee.current=setTimeout(function(){J.current=!1})},G=null;O&&(G=function(te){J.current?J.current=!1:_.current===te.target&&oe(te)});function se(le){if(l&&le.keyCode===ne.ESC){le.stopPropagation(),oe(le);return}i&&le.keyCode===ne.TAB&&T.current.changeActive(!le.shiftKey)}return s.useEffect(function(){i&&(F(!0),K())},[i]),s.useEffect(function(){return function(){clearTimeout(ee.current)}},[]),s.createElement("div",ve({className:U("".concat(n,"-root"),N)},ui(e,{data:!0})),s.createElement(ST,{prefixCls:n,visible:$&&i,motionName:x0(n,x,w),style:D(D({zIndex:r},P),z==null?void 0:z.mask),maskProps:M,className:I==null?void 0:I.mask}),s.createElement("div",ve({tabIndex:-1,onKeyDown:se,className:U("".concat(n,"-wrap"),f,I==null?void 0:I.wrapper),ref:_,onClick:G,style:D(D(D({zIndex:r},d),z==null?void 0:z.wrapper),{},{display:A?null:"none"})},m),s.createElement(fx,ve({},e,{onMouseDown:re,onMouseUp:Q,ref:T,closable:y,ariaId:H,prefixCls:n,visible:i&&A,onClose:oe,onVisibleChanged:q,motionName:x0(n,S,v)}))))}var mx=function(t){var n=t.visible,r=t.getContainer,o=t.forceRender,i=t.destroyOnClose,a=i===void 0?!1:i,l=t.afterClose,c=t.panelRef,u=s.useState(n),d=W(u,2),f=d[0],m=d[1],h=s.useMemo(function(){return{panel:c}},[c]);return s.useEffect(function(){n&&m(!0)},[n]),!o&&a&&!f?null:s.createElement(ux.Provider,{value:h},s.createElement(Xu,{open:n||o||f,autoDestroy:!1,getContainer:r,autoLock:n||f},s.createElement(CT,ve({},t,{destroyOnClose:a,afterClose:function(){l==null||l(),m(!1)}}))))};mx.displayName="Dialog";var vx=function(t){if(Mn()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(o){return o in r.style})}return!1},xT=function(t,n){if(!vx(t))return!1;var r=document.createElement("div"),o=r.style[t];return r.style[t]=n,r.style[t]!==o};function E0(e,t){return!Array.isArray(e)&&t!==void 0?xT(e,t):vx(e)}var Qo="RC_FORM_INTERNAL_HOOKS",zt=function(){In(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},wa=s.createContext({getFieldValue:zt,getFieldsValue:zt,getFieldError:zt,getFieldWarning:zt,getFieldsError:zt,isFieldsTouched:zt,isFieldTouched:zt,isFieldValidating:zt,isFieldsValidating:zt,resetFields:zt,setFields:zt,setFieldValue:zt,setFieldsValue:zt,validateFields:zt,submit:zt,getInternalHooks:function(){return zt(),{dispatch:zt,initEntityValue:zt,registerField:zt,useSubscribe:zt,setInitialValues:zt,destroyForm:zt,setCallbacks:zt,registerWatch:zt,getFields:zt,setValidateMessages:zt,setPreserve:zt,getInitialValue:zt}}}),nu=s.createContext(null);function Zm(e){return e==null?[]:Array.isArray(e)?e:[e]}function wT(e){return e&&!!e._init}function Zo(){return Zo=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function pc(e,t,n){return ET()?pc=Reflect.construct.bind():pc=function(o,i,a){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(o,l),u=new c;return a&&Hl(u,a.prototype),u},pc.apply(null,arguments)}function OT(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ev(e){var t=typeof Map=="function"?new Map:void 0;return ev=function(r){if(r===null||!OT(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return pc(r,arguments,Jm(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Hl(o,r)},ev(e)}var RT=/%[sdj%]/g,IT=function(){};function tv(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function nr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=i)return l;switch(l){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return l}});return a}return e}function PT(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function sn(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||PT(t)&&typeof e=="string"&&!e)}function MT(e,t,n){var r=[],o=0,i=e.length;function a(l){r.push.apply(r,l||[]),o++,o===i&&n(r)}e.forEach(function(l){t(l,a)})}function O0(e,t,n){var r=0,o=e.length;function i(a){if(a&&a.length){n(a);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},tl={integer:function(t){return tl.number(t)&&parseInt(t,10)===t},float:function(t){return tl.number(t)&&!tl.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!tl.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(M0.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(jT())},hex:function(t){return typeof t=="string"&&!!t.match(M0.hex)}},AT=function(t,n,r,o,i){if(t.required&&n===void 0){gx(t,n,r,o,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?tl[l](n)||o.push(nr(i.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&o.push(nr(i.messages.types[l],t.fullField,t.type))},FT=function(t,n,r,o,i){var a=typeof t.len=="number",l=typeof t.min=="number",c=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,m=typeof n=="number",h=typeof n=="string",b=Array.isArray(n);if(m?f="number":h?f="string":b&&(f="array"),!f)return!1;b&&(d=n.length),h&&(d=n.replace(u,"_").length),a?d!==t.len&&o.push(nr(i.messages[f].len,t.fullField,t.len)):l&&!c&&dt.max?o.push(nr(i.messages[f].max,t.fullField,t.max)):l&&c&&(dt.max)&&o.push(nr(i.messages[f].range,t.fullField,t.min,t.max))},Oi="enum",BT=function(t,n,r,o,i){t[Oi]=Array.isArray(t[Oi])?t[Oi]:[],t[Oi].indexOf(n)===-1&&o.push(nr(i.messages[Oi],t.fullField,t[Oi].join(", ")))},DT=function(t,n,r,o,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(nr(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||o.push(nr(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},mt={required:gx,whitespace:LT,type:AT,range:FT,enum:BT,pattern:DT},HT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(sn(n,"string")&&!t.required)return r();mt.required(t,n,o,a,i,"string"),sn(n,"string")||(mt.type(t,n,o,a,i),mt.range(t,n,o,a,i),mt.pattern(t,n,o,a,i),t.whitespace===!0&&mt.whitespace(t,n,o,a,i))}r(a)},kT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(sn(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&mt.type(t,n,o,a,i)}r(a)},VT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),sn(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&(mt.type(t,n,o,a,i),mt.range(t,n,o,a,i))}r(a)},WT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(sn(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&mt.type(t,n,o,a,i)}r(a)},UT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(sn(n)&&!t.required)return r();mt.required(t,n,o,a,i),sn(n)||mt.type(t,n,o,a,i)}r(a)},GT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(sn(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&(mt.type(t,n,o,a,i),mt.range(t,n,o,a,i))}r(a)},KT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(sn(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&(mt.type(t,n,o,a,i),mt.range(t,n,o,a,i))}r(a)},qT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();mt.required(t,n,o,a,i,"array"),n!=null&&(mt.type(t,n,o,a,i),mt.range(t,n,o,a,i))}r(a)},XT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(sn(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&mt.type(t,n,o,a,i)}r(a)},YT="enum",QT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(sn(n)&&!t.required)return r();mt.required(t,n,o,a,i),n!==void 0&&mt[YT](t,n,o,a,i)}r(a)},ZT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(sn(n,"string")&&!t.required)return r();mt.required(t,n,o,a,i),sn(n,"string")||mt.pattern(t,n,o,a,i)}r(a)},JT=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(sn(n,"date")&&!t.required)return r();if(mt.required(t,n,o,a,i),!sn(n,"date")){var c;n instanceof Date?c=n:c=new Date(n),mt.type(t,c,o,a,i),c&&mt.range(t,c.getTime(),o,a,i)}}r(a)},eN=function(t,n,r,o,i){var a=[],l=Array.isArray(n)?"array":typeof n;mt.required(t,n,o,a,i,l),r(a)},uf=function(t,n,r,o,i){var a=t.type,l=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(sn(n,a)&&!t.required)return r();mt.required(t,n,o,l,i,a),sn(n,a)||mt.type(t,n,o,l,i)}r(l)},tN=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(sn(n)&&!t.required)return r();mt.required(t,n,o,a,i)}r(a)},hl={string:HT,method:kT,number:VT,boolean:WT,regexp:UT,integer:GT,float:KT,array:qT,object:XT,enum:QT,pattern:ZT,date:JT,url:uf,hex:uf,email:uf,required:eN,any:tN};function nv(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var rv=nv(),ls=function(){function e(n){this.rules=null,this._messages=rv,this.define(n)}var t=e.prototype;return t.define=function(r){var o=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(i){var a=r[i];o.rules[i]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=P0(nv(),r)),this._messages},t.validate=function(r,o,i){var a=this;o===void 0&&(o={}),i===void 0&&(i=function(){});var l=r,c=o,u=i;if(typeof c=="function"&&(u=c,c={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function d(p){var S=[],v={};function g(C){if(Array.isArray(C)){var $;S=($=S).concat.apply($,C)}else S.push(C)}for(var y=0;y2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return hx(t,r,n)})}function hx(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,o){return e[o]===r})}function aN(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||nt(e)!=="object"||nt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),o=new Set([].concat(n,r));return Te(o).every(function(i){var a=e[i],l=t[i];return typeof a=="function"&&typeof l=="function"?!0:a===l})}function lN(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&nt(t.target)==="object"&&e in t.target?t.target[e]:t}function z0(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat(Te(e.slice(0,n)),[o],Te(e.slice(n,t)),Te(e.slice(t+1,r))):i<0?[].concat(Te(e.slice(0,t)),Te(e.slice(t+1,n+1)),[o],Te(e.slice(n+1,r))):e}var sN=["name"],sr=[];function L0(e,t,n,r,o,i){return typeof e=="function"?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var Ug=function(e){hi(n,e);var t=ts(n);function n(r){var o;if(Fn(this,n),o=t.call(this,r),B(bt(o),"state",{resetCount:0}),B(bt(o),"cancelRegisterFunc",null),B(bt(o),"mounted",!1),B(bt(o),"touched",!1),B(bt(o),"dirty",!1),B(bt(o),"validatePromise",void 0),B(bt(o),"prevValidating",void 0),B(bt(o),"errors",sr),B(bt(o),"warnings",sr),B(bt(o),"cancelRegister",function(){var c=o.props,u=c.preserve,d=c.isListField,f=c.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(d,u,Zt(f)),o.cancelRegisterFunc=null}),B(bt(o),"getNamePath",function(){var c=o.props,u=c.name,d=c.fieldContext,f=d.prefixName,m=f===void 0?[]:f;return u!==void 0?[].concat(Te(m),Te(u)):[]}),B(bt(o),"getRules",function(){var c=o.props,u=c.rules,d=u===void 0?[]:u,f=c.fieldContext;return d.map(function(m){return typeof m=="function"?m(f):m})}),B(bt(o),"refresh",function(){o.mounted&&o.setState(function(c){var u=c.resetCount;return{resetCount:u+1}})}),B(bt(o),"metaCache",null),B(bt(o),"triggerMetaEvent",function(c){var u=o.props.onMetaChange;if(u){var d=D(D({},o.getMeta()),{},{destroy:c});ns(o.metaCache,d)||u(d),o.metaCache=d}else o.metaCache=null}),B(bt(o),"onStoreChange",function(c,u,d){var f=o.props,m=f.shouldUpdate,h=f.dependencies,b=h===void 0?[]:h,p=f.onReset,S=d.store,v=o.getNamePath(),g=o.getValue(c),y=o.getValue(S),C=u&&sa(u,v);switch(d.type==="valueUpdate"&&d.source==="external"&&g!==y&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=sr,o.warnings=sr,o.triggerMetaEvent()),d.type){case"reset":if(!u||C){o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=sr,o.warnings=sr,o.triggerMetaEvent(),p==null||p(),o.refresh();return}break;case"remove":{if(m){o.reRender();return}break}case"setField":{var $=d.data;if(C){"touched"in $&&(o.touched=$.touched),"validating"in $&&!("originRCField"in $)&&(o.validatePromise=$.validating?Promise.resolve([]):null),"errors"in $&&(o.errors=$.errors||sr),"warnings"in $&&(o.warnings=$.warnings||sr),o.dirty=!0,o.triggerMetaEvent(),o.reRender();return}else if("value"in $&&sa(u,v,!0)){o.reRender();return}if(m&&!v.length&&L0(m,c,S,g,y,d)){o.reRender();return}break}case"dependenciesUpdate":{var x=b.map(Zt);if(x.some(function(w){return sa(d.relatedFields,w)})){o.reRender();return}break}default:if(C||(!b.length||v.length||m)&&L0(m,c,S,g,y,d)){o.reRender();return}break}m===!0&&o.reRender()}),B(bt(o),"validateRules",function(c){var u=o.getNamePath(),d=o.getValue(),f=c||{},m=f.triggerName,h=f.validateOnly,b=h===void 0?!1:h,p=Promise.resolve().then(bi(Ln().mark(function S(){var v,g,y,C,$,x,w;return Ln().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(o.mounted){O.next=2;break}return O.abrupt("return",[]);case 2:if(v=o.props,g=v.validateFirst,y=g===void 0?!1:g,C=v.messageVariables,$=v.validateDebounce,x=o.getRules(),m&&(x=x.filter(function(P){return P}).filter(function(P){var M=P.validateTrigger;if(!M)return!0;var N=Zm(M);return N.includes(m)})),!($&&m)){O.next=10;break}return O.next=8,new Promise(function(P){setTimeout(P,$)});case 8:if(o.validatePromise===p){O.next=10;break}return O.abrupt("return",[]);case 10:return w=rN(u,d,x,c,y,C),w.catch(function(P){return P}).then(function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sr;if(o.validatePromise===p){var M;o.validatePromise=null;var N=[],I=[];(M=P.forEach)===null||M===void 0||M.call(P,function(z){var j=z.rule.warningOnly,_=z.errors,T=_===void 0?sr:_;j?I.push.apply(I,Te(T)):N.push.apply(N,Te(T))}),o.errors=N,o.warnings=I,o.triggerMetaEvent(),o.reRender()}}),O.abrupt("return",w);case 13:case"end":return O.stop()}},S)})));return b||(o.validatePromise=p,o.dirty=!0,o.errors=sr,o.warnings=sr,o.triggerMetaEvent(),o.reRender()),p}),B(bt(o),"isFieldValidating",function(){return!!o.validatePromise}),B(bt(o),"isFieldTouched",function(){return o.touched}),B(bt(o),"isFieldDirty",function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var c=o.props.fieldContext,u=c.getInternalHooks(Qo),d=u.getInitialValue;return d(o.getNamePath())!==void 0}),B(bt(o),"getErrors",function(){return o.errors}),B(bt(o),"getWarnings",function(){return o.warnings}),B(bt(o),"isListField",function(){return o.props.isListField}),B(bt(o),"isList",function(){return o.props.isList}),B(bt(o),"isPreserve",function(){return o.props.preserve}),B(bt(o),"getMeta",function(){o.prevValidating=o.isFieldValidating();var c={touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:o.validatePromise===null};return c}),B(bt(o),"getOnlyChild",function(c){if(typeof c=="function"){var u=o.getMeta();return D(D({},o.getOnlyChild(c(o.getControlled(),u,o.props.fieldContext))),{},{isFunction:!0})}var d=yr(c);return d.length!==1||!s.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),B(bt(o),"getValue",function(c){var u=o.props.fieldContext.getFieldsValue,d=o.getNamePath();return Br(c||u(!0),d)}),B(bt(o),"getControlled",function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.props,d=u.trigger,f=u.validateTrigger,m=u.getValueFromEvent,h=u.normalize,b=u.valuePropName,p=u.getValueProps,S=u.fieldContext,v=f!==void 0?f:S.validateTrigger,g=o.getNamePath(),y=S.getInternalHooks,C=S.getFieldsValue,$=y(Qo),x=$.dispatch,w=o.getValue(),E=p||function(I){return B({},b,I)},O=c[d],P=E(w),M=D(D({},c),P);M[d]=function(){o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var I,z=arguments.length,j=new Array(z),_=0;_=0&&P<=M.length?(d.keys=[].concat(Te(d.keys.slice(0,P)),[d.id],Te(d.keys.slice(P))),y([].concat(Te(M.slice(0,P)),[O],Te(M.slice(P))))):(d.keys=[].concat(Te(d.keys),[d.id]),y([].concat(Te(M),[O]))),d.id+=1},remove:function(O){var P=$(),M=new Set(Array.isArray(O)?O:[O]);M.size<=0||(d.keys=d.keys.filter(function(N,I){return!M.has(I)}),y(P.filter(function(N,I){return!M.has(I)})))},move:function(O,P){if(O!==P){var M=$();O<0||O>=M.length||P<0||P>=M.length||(d.keys=z0(d.keys,O,P),y(z0(M,O,P)))}}},w=g||[];return Array.isArray(w)||(w=[]),r(w.map(function(E,O){var P=d.keys[O];return P===void 0&&(d.keys[O]=d.id,P=d.keys[O],d.id+=1),{name:O,key:P,isListField:!0}}),x,S)})))}function uN(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(o,i){e.forEach(function(a,l){a.catch(function(c){return t=!0,c}).then(function(c){n-=1,r[l]=c,!(n>0)&&(t&&i(r),o(r))})})}):Promise.resolve([])}var bx="__@field_split__";function df(e){return e.map(function(t){return"".concat(nt(t),":").concat(t)}).join(bx)}var Ri=function(){function e(){Fn(this,e),B(this,"kvs",new Map)}return Bn(e,[{key:"set",value:function(n,r){this.kvs.set(df(n),r)}},{key:"get",value:function(n){return this.kvs.get(df(n))}},{key:"update",value:function(n,r){var o=this.get(n),i=r(o);i?this.set(n,i):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(df(n))}},{key:"map",value:function(n){return Te(this.kvs.entries()).map(function(r){var o=W(r,2),i=o[0],a=o[1],l=i.split(bx);return n({key:l.map(function(c){var u=c.match(/^([^:]*):(.*)$/),d=W(u,3),f=d[1],m=d[2];return f==="number"?Number(m):m}),value:a})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var o=r.key,i=r.value;return n[o.join(".")]=i,null}),n}}]),e}(),dN=["name"],fN=Bn(function e(t){var n=this;Fn(this,e),B(this,"formHooked",!1),B(this,"forceRootUpdate",void 0),B(this,"subscribable",!0),B(this,"store",{}),B(this,"fieldEntities",[]),B(this,"initialValues",{}),B(this,"callbacks",{}),B(this,"validateMessages",null),B(this,"preserve",null),B(this,"lastValidatePromise",null),B(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),B(this,"getInternalHooks",function(r){return r===Qo?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(In(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),B(this,"useSubscribe",function(r){n.subscribable=r}),B(this,"prevWithoutPreserves",null),B(this,"setInitialValues",function(r,o){if(n.initialValues=r||{},o){var i,a=Yi(r,n.store);(i=n.prevWithoutPreserves)===null||i===void 0||i.map(function(l){var c=l.key;a=Er(a,c,Br(r,c))}),n.prevWithoutPreserves=null,n.updateStore(a)}}),B(this,"destroyForm",function(){var r=new Ri;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||r.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=r}),B(this,"getInitialValue",function(r){var o=Br(n.initialValues,r);return r.length?Yi(o):o}),B(this,"setCallbacks",function(r){n.callbacks=r}),B(this,"setValidateMessages",function(r){n.validateMessages=r}),B(this,"setPreserve",function(r){n.preserve=r}),B(this,"watchList",[]),B(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(o){return o!==r})}}),B(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var o=n.getFieldsValue(),i=n.getFieldsValue(!0);n.watchList.forEach(function(a){a(o,i,r)})}}),B(this,"timeoutId",null),B(this,"warningUnhooked",function(){}),B(this,"updateStore",function(r){n.store=r}),B(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(o){return o.getNamePath().length}):n.fieldEntities}),B(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=new Ri;return n.getFieldEntities(r).forEach(function(i){var a=i.getNamePath();o.set(a,i)}),o}),B(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var o=n.getFieldsMap(!0);return r.map(function(i){var a=Zt(i);return o.get(a)||{INVALIDATE_NAME_PATH:Zt(i)}})}),B(this,"getFieldsValue",function(r,o){n.warningUnhooked();var i,a,l;if(r===!0||Array.isArray(r)?(i=r,a=o):r&&nt(r)==="object"&&(l=r.strict,a=r.filter),i===!0&&!a)return n.store;var c=n.getFieldEntitiesForNamePathList(Array.isArray(i)?i:null),u=[];return c.forEach(function(d){var f,m,h="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(l){var b,p;if((b=(p=d).isList)!==null&&b!==void 0&&b.call(p))return}else if(!i&&(f=(m=d).isListField)!==null&&f!==void 0&&f.call(m))return;if(!a)u.push(h);else{var S="getMeta"in d?d.getMeta():null;a(S)&&u.push(h)}}),_0(n.store,u.map(Zt))}),B(this,"getFieldValue",function(r){n.warningUnhooked();var o=Zt(r);return Br(n.store,o)}),B(this,"getFieldsError",function(r){n.warningUnhooked();var o=n.getFieldEntitiesForNamePathList(r);return o.map(function(i,a){return i&&!("INVALIDATE_NAME_PATH"in i)?{name:i.getNamePath(),errors:i.getErrors(),warnings:i.getWarnings()}:{name:Zt(r[a]),errors:[],warnings:[]}})}),B(this,"getFieldError",function(r){n.warningUnhooked();var o=Zt(r),i=n.getFieldsError([o])[0];return i.errors}),B(this,"getFieldWarning",function(r){n.warningUnhooked();var o=Zt(r),i=n.getFieldsError([o])[0];return i.warnings}),B(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,o=new Array(r),i=0;i0&&arguments[0]!==void 0?arguments[0]:{},o=new Ri,i=n.getFieldEntities(!0);i.forEach(function(c){var u=c.props.initialValue,d=c.getNamePath();if(u!==void 0){var f=o.get(d)||new Set;f.add({entity:c,value:u}),o.set(d,f)}});var a=function(u){u.forEach(function(d){var f=d.props.initialValue;if(f!==void 0){var m=d.getNamePath(),h=n.getInitialValue(m);if(h!==void 0)In(!1,"Form already set 'initialValues' with path '".concat(m.join("."),"'. Field can not overwrite it."));else{var b=o.get(m);if(b&&b.size>1)In(!1,"Multiple Field with path '".concat(m.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(b){var p=n.getFieldValue(m),S=d.isListField();!S&&(!r.skipExist||p===void 0)&&n.updateStore(Er(n.store,m,Te(b)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(c){var u=o.get(c);if(u){var d;(d=l).push.apply(d,Te(Te(u).map(function(f){return f.entity})))}})):l=i,a(l)}),B(this,"resetFields",function(r){n.warningUnhooked();var o=n.store;if(!r){n.updateStore(Yi(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(o,null,{type:"reset"}),n.notifyWatch();return}var i=r.map(Zt);i.forEach(function(a){var l=n.getInitialValue(a);n.updateStore(Er(n.store,a,l))}),n.resetWithFieldInitialValue({namePathList:i}),n.notifyObservers(o,i,{type:"reset"}),n.notifyWatch(i)}),B(this,"setFields",function(r){n.warningUnhooked();var o=n.store,i=[];r.forEach(function(a){var l=a.name,c=Je(a,dN),u=Zt(l);i.push(u),"value"in c&&n.updateStore(Er(n.store,u,c.value)),n.notifyObservers(o,[u],{type:"setField",data:a})}),n.notifyWatch(i)}),B(this,"getFields",function(){var r=n.getFieldEntities(!0),o=r.map(function(i){var a=i.getNamePath(),l=i.getMeta(),c=D(D({},l),{},{name:a,value:n.getFieldValue(a)});return Object.defineProperty(c,"originRCField",{value:!0}),c});return o}),B(this,"initEntityValue",function(r){var o=r.props.initialValue;if(o!==void 0){var i=r.getNamePath(),a=Br(n.store,i);a===void 0&&n.updateStore(Er(n.store,i,o))}}),B(this,"isMergedPreserve",function(r){var o=r!==void 0?r:n.preserve;return o??!0}),B(this,"registerField",function(r){n.fieldEntities.push(r);var o=r.getNamePath();if(n.notifyWatch([o]),r.props.initialValue!==void 0){var i=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(i,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(a,l){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(l)&&(!a||c.length>1)){var u=a?void 0:n.getInitialValue(o);if(o.length&&n.getFieldValue(o)!==u&&n.fieldEntities.every(function(f){return!hx(f.getNamePath(),o)})){var d=n.store;n.updateStore(Er(d,o,u,!0)),n.notifyObservers(d,[o],{type:"remove"}),n.triggerDependenciesUpdate(d,o)}}n.notifyWatch([o])}}),B(this,"dispatch",function(r){switch(r.type){case"updateValue":{var o=r.namePath,i=r.value;n.updateValue(o,i);break}case"validateField":{var a=r.namePath,l=r.triggerName;n.validateFields([a],{triggerName:l});break}}}),B(this,"notifyObservers",function(r,o,i){if(n.subscribable){var a=D(D({},i),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var c=l.onStoreChange;c(r,o,a)})}else n.forceRootUpdate()}),B(this,"triggerDependenciesUpdate",function(r,o){var i=n.getDependencyChildrenFields(o);return i.length&&n.validateFields(i),n.notifyObservers(r,i,{type:"dependenciesUpdate",relatedFields:[o].concat(Te(i))}),i}),B(this,"updateValue",function(r,o){var i=Zt(r),a=n.store;n.updateStore(Er(n.store,i,o)),n.notifyObservers(a,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]);var l=n.triggerDependenciesUpdate(a,i),c=n.callbacks.onValuesChange;if(c){var u=_0(n.store,[i]);c(u,n.getFieldsValue())}n.triggerOnFieldsChange([i].concat(Te(l)))}),B(this,"setFieldsValue",function(r){n.warningUnhooked();var o=n.store;if(r){var i=Yi(n.store,r);n.updateStore(i)}n.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),B(this,"setFieldValue",function(r,o){n.setFields([{name:r,value:o}])}),B(this,"getDependencyChildrenFields",function(r){var o=new Set,i=[],a=new Ri;n.getFieldEntities().forEach(function(c){var u=c.props.dependencies;(u||[]).forEach(function(d){var f=Zt(d);a.update(f,function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return m.add(c),m})})});var l=function c(u){var d=a.get(u)||new Set;d.forEach(function(f){if(!o.has(f)){o.add(f);var m=f.getNamePath();f.isFieldDirty()&&m.length&&(i.push(m),c(m))}})};return l(r),i}),B(this,"triggerOnFieldsChange",function(r,o){var i=n.callbacks.onFieldsChange;if(i){var a=n.getFields();if(o){var l=new Ri;o.forEach(function(u){var d=u.name,f=u.errors;l.set(d,f)}),a.forEach(function(u){u.errors=l.get(u.name)||u.errors})}var c=a.filter(function(u){var d=u.name;return sa(r,d)});c.length&&i(c,a)}}),B(this,"validateFields",function(r,o){n.warningUnhooked();var i,a;Array.isArray(r)||typeof r=="string"||typeof o=="string"?(i=r,a=o):a=r;var l=!!i,c=l?i.map(Zt):[],u=[],d=String(Date.now()),f=new Set,m=a||{},h=m.recursive,b=m.dirty;n.getFieldEntities(!0).forEach(function(g){if(l||c.push(g.getNamePath()),!(!g.props.rules||!g.props.rules.length)&&!(b&&!g.isFieldDirty())){var y=g.getNamePath();if(f.add(y.join(d)),!l||sa(c,y,h)){var C=g.validateRules(D({validateMessages:D(D({},px),n.validateMessages)},a));u.push(C.then(function(){return{name:y,errors:[],warnings:[]}}).catch(function($){var x,w=[],E=[];return(x=$.forEach)===null||x===void 0||x.call($,function(O){var P=O.rule.warningOnly,M=O.errors;P?E.push.apply(E,Te(M)):w.push.apply(w,Te(M))}),w.length?Promise.reject({name:y,errors:w,warnings:E}):{name:y,errors:w,warnings:E}}))}}});var p=uN(u);n.lastValidatePromise=p,p.catch(function(g){return g}).then(function(g){var y=g.map(function(C){var $=C.name;return $});n.notifyObservers(n.store,y,{type:"validateFinish"}),n.triggerOnFieldsChange(y,g)});var S=p.then(function(){return n.lastValidatePromise===p?Promise.resolve(n.getFieldsValue(c)):Promise.reject([])}).catch(function(g){var y=g.filter(function(C){return C&&C.errors.length});return Promise.reject({values:n.getFieldsValue(c),errorFields:y,outOfDate:n.lastValidatePromise!==p})});S.catch(function(g){return g});var v=c.filter(function(g){return f.has(g.join(d))});return n.triggerOnFieldsChange(v),S}),B(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var o=n.callbacks.onFinish;if(o)try{o(r)}catch(i){console.error(i)}}).catch(function(r){var o=n.callbacks.onFinishFailed;o&&o(r)})}),this.forceRootUpdate=t});function Sx(e){var t=s.useRef(),n=s.useState({}),r=W(n,2),o=r[1];if(!t.current)if(e)t.current=e;else{var i=function(){o({})},a=new fN(i);t.current=a.getForm()}return[t.current]}var sv=s.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),mN=function(t){var n=t.validateMessages,r=t.onFormChange,o=t.onFormFinish,i=t.children,a=s.useContext(sv),l=s.useRef({});return s.createElement(sv.Provider,{value:D(D({},a),{},{validateMessages:D(D({},a.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:l.current}),a.triggerFormChange(u,d)},triggerFormFinish:function(u,d){o&&o(u,{values:d,forms:l.current}),a.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(l.current=D(D({},l.current),{},B({},u,d))),a.registerForm(u,d)},unregisterForm:function(u){var d=D({},l.current);delete d[u],l.current=d,a.unregisterForm(u)}})},i)},vN=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],gN=function(t,n){var r=t.name,o=t.initialValues,i=t.fields,a=t.form,l=t.preserve,c=t.children,u=t.component,d=u===void 0?"form":u,f=t.validateMessages,m=t.validateTrigger,h=m===void 0?"onChange":m,b=t.onValuesChange,p=t.onFieldsChange,S=t.onFinish,v=t.onFinishFailed,g=Je(t,vN),y=s.useContext(sv),C=Sx(a),$=W(C,1),x=$[0],w=x.getInternalHooks(Qo),E=w.useSubscribe,O=w.setInitialValues,P=w.setCallbacks,M=w.setValidateMessages,N=w.setPreserve,I=w.destroyForm;s.useImperativeHandle(n,function(){return x}),s.useEffect(function(){return y.registerForm(r,x),function(){y.unregisterForm(r)}},[y,x,r]),M(D(D({},y.validateMessages),f)),P({onValuesChange:b,onFieldsChange:function(H){if(y.triggerFormChange(r,H),p){for(var K=arguments.length,X=new Array(K>1?K-1:0),q=1;q({animationDuration:e,animationFillMode:"both"}),SN=e=>({animationDuration:e,animationFillMode:"both"}),cs=function(e,t,n,r){const i=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + ${i}${e}-enter, + ${i}${e}-appear + `]:Object.assign(Object.assign({},bN(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},SN(r)),{animationPlayState:"paused"}),[` + ${i}${e}-enter${e}-enter-active, + ${i}${e}-appear${e}-appear-active + `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},CN=new ut("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),xN=new ut("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),Gg=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[cs(r,CN,xN,e.motionDurationMid,t),{[` + ${o}${r}-enter, + ${o}${r}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},wN=new ut("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),$N=new ut("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),EN=new ut("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ON=new ut("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),RN=new ut("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),IN=new ut("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),PN=new ut("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),MN=new ut("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),TN={"move-up":{inKeyframes:PN,outKeyframes:MN},"move-down":{inKeyframes:wN,outKeyframes:$N},"move-left":{inKeyframes:EN,outKeyframes:ON},"move-right":{inKeyframes:RN,outKeyframes:IN}},A0=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=TN[t];return[cs(r,o,i,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},xx=new ut("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),wx=new ut("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),$x=new ut("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Ex=new ut("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),NN=new ut("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),_N=new ut("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),zN=new ut("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),LN=new ut("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),jN={"slide-up":{inKeyframes:xx,outKeyframes:wx},"slide-down":{inKeyframes:$x,outKeyframes:Ex},"slide-left":{inKeyframes:NN,outKeyframes:_N},"slide-right":{inKeyframes:zN,outKeyframes:LN}},ru=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=jN[t];return[cs(r,o,i,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},AN=new ut("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),FN=new ut("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),F0=new ut("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),B0=new ut("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),BN=new ut("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),DN=new ut("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),HN=new ut("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),kN=new ut("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),VN=new ut("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),WN=new ut("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),UN=new ut("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),GN=new ut("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),KN={zoom:{inKeyframes:AN,outKeyframes:FN},"zoom-big":{inKeyframes:F0,outKeyframes:B0},"zoom-big-fast":{inKeyframes:F0,outKeyframes:B0},"zoom-left":{inKeyframes:HN,outKeyframes:kN},"zoom-right":{inKeyframes:VN,outKeyframes:WN},"zoom-up":{inKeyframes:BN,outKeyframes:DN},"zoom-down":{inKeyframes:UN,outKeyframes:GN}},Kg=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=KN[t];return[cs(r,o,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function D0(e){return{position:e,inset:0}}const Ox=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},D0("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},D0("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:Gg(e)}]},qN=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${k(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},gn(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${k(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${k(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},is(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${k(e.borderRadiusLG)} ${k(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, + ${t}-body, + ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},XN=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},YN=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Ot(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},QN=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${k(e.paddingMD)} ${k(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${k(e.padding)} ${k(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${k(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${k(e.paddingXS)} ${k(e.padding)}`:0,footerBorderTop:e.wireframe?`${k(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${k(e.borderRadiusLG)} ${k(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${k(e.padding*2)} ${k(e.padding*2)} ${k(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});Yt("Modal",e=>{const t=YN(e);return[qN(t),XN(t),Ox(t),Kg(t,"zoom")]},QN,{unitless:{titleLineHeight:!0}});function ZN(e){return t=>s.createElement(kC,{theme:{token:{motion:!1,zIndexPopupBase:0}}},s.createElement(e,Object.assign({},t)))}const JN=(e,t,n,r)=>ZN(i=>{const{prefixCls:a,style:l}=i,c=s.useRef(null),[u,d]=s.useState(0),[f,m]=s.useState(0),[h,b]=nn(!1,{value:i.open}),{getPrefixCls:p}=s.useContext(qe),S=p(t||"select",a);s.useEffect(()=>{if(b(!0),typeof ResizeObserver<"u"){const y=new ResizeObserver($=>{const x=$[0].target;d(x.offsetHeight+8),m(x.offsetWidth)}),C=setInterval(()=>{var $;const x=n?`.${n(S)}`:`.${S}-dropdown`,w=($=c.current)===null||$===void 0?void 0:$.querySelector(x);w&&(clearInterval(C),y.observe(w))},10);return()=>{clearInterval(C),y.disconnect()}}},[]);let v=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},l),{margin:0}),open:h,visible:h,getPopupContainer:()=>c.current});r&&(v=r(v));const g={paddingBottom:u,position:"relative",minWidth:f};return s.createElement("div",{ref:c,style:g},s.createElement(e,Object.assign({},v)))}),qg=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var Yu=function(t){var n=t.className,r=t.customizeIcon,o=t.customizeIconProps,i=t.children,a=t.onMouseDown,l=t.onClick,c=typeof r=="function"?r(o):r;return s.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),a==null||a(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},c!==void 0?c:s.createElement("span",{className:U(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},i))},e_=function(t,n,r,o,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,l=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,u=V.useMemo(function(){if(nt(o)==="object")return o.clearIcon;if(i)return i},[o,i]),d=V.useMemo(function(){return!!(!a&&o&&(r.length||l)&&!(c==="combobox"&&l===""))},[o,a,r.length,l,c]);return{allowClear:d,clearIcon:V.createElement(Yu,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},Rx=s.createContext(null);function t_(){return s.useContext(Rx)}function n_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=s.useState(!1),n=W(t,2),r=n[0],o=n[1],i=s.useRef(null),a=function(){window.clearTimeout(i.current)};s.useEffect(function(){return a},[]);var l=function(u,d){a(),i.current=window.setTimeout(function(){o(u),d&&d()},e)};return[r,l,a]}function Ix(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=s.useRef(null),n=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(o){(o||t.current===null)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function r_(e,t,n,r){var o=s.useRef(null);o.current={open:t,triggerOpen:n,customizedTrigger:r},s.useEffect(function(){function i(a){var l;if(!((l=o.current)!==null&&l!==void 0&&l.customizedTrigger)){var c=a.target;c.shadowRoot&&a.composed&&(c=a.composedPath()[0]||c),o.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(c)&&u!==c})&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",i),function(){return window.removeEventListener("mousedown",i)}},[])}function o_(e){return![ne.ESC,ne.SHIFT,ne.BACKSPACE,ne.TAB,ne.WIN_KEY,ne.ALT,ne.META,ne.WIN_KEY_RIGHT,ne.CTRL,ne.SEMICOLON,ne.EQUALS,ne.CAPS_LOCK,ne.CONTEXT_MENU,ne.F1,ne.F2,ne.F3,ne.F4,ne.F5,ne.F6,ne.F7,ne.F8,ne.F9,ne.F10,ne.F11,ne.F12].includes(e)}var i_=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Ii=void 0;function a_(e,t){var n=e.prefixCls,r=e.invalidate,o=e.item,i=e.renderItem,a=e.responsive,l=e.responsiveDisabled,c=e.registerSize,u=e.itemKey,d=e.className,f=e.style,m=e.children,h=e.display,b=e.order,p=e.component,S=p===void 0?"div":p,v=Je(e,i_),g=a&&!h;function y(E){c(u,E)}s.useEffect(function(){return function(){y(null)}},[]);var C=i&&o!==Ii?i(o):m,$;r||($={opacity:g?0:1,height:g?0:Ii,overflowY:g?"hidden":Ii,order:a?b:Ii,pointerEvents:g?"none":Ii,position:g?"absolute":Ii});var x={};g&&(x["aria-hidden"]=!0);var w=s.createElement(S,ve({className:U(!r&&n,d),style:D(D({},$),f)},x,v,{ref:t}),C);return a&&(w=s.createElement(gr,{onResize:function(O){var P=O.offsetWidth;y(P)},disabled:l},w)),w}var yl=s.forwardRef(a_);yl.displayName="Item";function l_(e){if(typeof MessageChannel>"u")Ct(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function s_(){var e=s.useRef(null),t=function(r){e.current||(e.current=[],l_(function(){zo.unstable_batchedUpdates(function(){e.current.forEach(function(o){o()}),e.current=null})})),e.current.push(r)};return t}function Ua(e,t){var n=s.useState(t),r=W(n,2),o=r[0],i=r[1],a=Vn(function(l){e(function(){i(l)})});return[o,a]}var ou=V.createContext(null),c_=["component"],u_=["className"],d_=["className"],f_=function(t,n){var r=s.useContext(ou);if(!r){var o=t.component,i=o===void 0?"div":o,a=Je(t,c_);return s.createElement(i,ve({},a,{ref:n}))}var l=r.className,c=Je(r,u_),u=t.className,d=Je(t,d_);return s.createElement(ou.Provider,{value:null},s.createElement(yl,ve({ref:n,className:U(l,u)},c,d)))},Px=s.forwardRef(f_);Px.displayName="RawItem";var m_=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Mx="responsive",Tx="invalidate";function v_(e){return"+ ".concat(e.length," ...")}function g_(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,o=e.data,i=o===void 0?[]:o,a=e.renderItem,l=e.renderRawItem,c=e.itemKey,u=e.itemWidth,d=u===void 0?10:u,f=e.ssr,m=e.style,h=e.className,b=e.maxCount,p=e.renderRest,S=e.renderRawRest,v=e.suffix,g=e.component,y=g===void 0?"div":g,C=e.itemComponent,$=e.onVisibleChange,x=Je(e,m_),w=f==="full",E=s_(),O=Ua(E,null),P=W(O,2),M=P[0],N=P[1],I=M||0,z=Ua(E,new Map),j=W(z,2),_=j[0],T=j[1],R=Ua(E,0),L=W(R,2),A=L[0],F=L[1],H=Ua(E,0),K=W(H,2),X=K[0],q=K[1],oe=Ua(E,0),J=W(oe,2),ee=J[0],re=J[1],Q=s.useState(null),G=W(Q,2),se=G[0],le=G[1],te=s.useState(null),Y=W(te,2),ge=Y[0],ue=Y[1],ie=s.useMemo(function(){return ge===null&&w?Number.MAX_SAFE_INTEGER:ge||0},[ge,M]),Z=s.useState(!1),de=W(Z,2),ce=de[0],me=de[1],fe="".concat(r,"-item"),be=Math.max(A,X),_e=b===Mx,Ee=i.length&&_e,Xe=b===Tx,Oe=Ee||typeof b=="number"&&i.length>b,ye=s.useMemo(function(){var Se=i;return Ee?M===null&&w?Se=i:Se=i.slice(0,Math.min(i.length,I/d)):typeof b=="number"&&(Se=i.slice(0,b)),Se},[i,d,M,b,Ee]),$e=s.useMemo(function(){return Ee?i.slice(ie+1):i.slice(ye.length)},[i,ye,Ee,ie]),xe=s.useCallback(function(Se,we){var Ke;return typeof c=="function"?c(Se):(Ke=c&&(Se==null?void 0:Se[c]))!==null&&Ke!==void 0?Ke:we},[c]),Ye=s.useCallback(a||function(Se){return Se},[a]);function rt(Se,we,Ke){ge===Se&&(we===void 0||we===se)||(ue(Se),Ke||(me(SeI){rt(ot-1,Se-pe-ee+X);break}}v&&ae(0)+ee>I&&le(null)}},[I,_,X,ee,xe,ye]);var Re=ce&&!!$e.length,tt={};se!==null&&Ee&&(tt={position:"absolute",left:se,top:0});var ft={prefixCls:fe,responsive:Ee,component:C,invalidate:Xe},Rt=l?function(Se,we){var Ke=xe(Se,we);return s.createElement(ou.Provider,{key:Ke,value:D(D({},ft),{},{order:we,item:Se,itemKey:Ke,registerSize:at,display:we<=ie})},l(Se,we))}:function(Se,we){var Ke=xe(Se,we);return s.createElement(yl,ve({},ft,{order:we,key:Ke,item:Se,renderItem:Ye,itemKey:Ke,registerSize:at,display:we<=ie}))},It,De={order:Re?ie:Number.MAX_SAFE_INTEGER,className:"".concat(fe,"-rest"),registerSize:Qe,display:Re};if(S)S&&(It=s.createElement(ou.Provider,{value:D(D({},ft),De)},S($e)));else{var je=p||v_;It=s.createElement(yl,ve({},ft,De),typeof je=="function"?je($e):je)}var dt=s.createElement(y,ve({className:U(!Xe&&r,h),style:m,ref:t},x),ye.map(Rt),Oe?It:null,v&&s.createElement(yl,ve({},ft,{responsive:_e,responsiveDisabled:!Ee,order:ie,className:"".concat(fe,"-suffix"),registerSize:We,display:!0,style:tt}),v));return _e&&(dt=s.createElement(gr,{onResize:et,disabled:!Ee},dt)),dt}var kr=s.forwardRef(g_);kr.displayName="Overflow";kr.Item=Px;kr.RESPONSIVE=Mx;kr.INVALIDATE=Tx;var p_=function(t,n){var r,o=t.prefixCls,i=t.id,a=t.inputElement,l=t.disabled,c=t.tabIndex,u=t.autoFocus,d=t.autoComplete,f=t.editable,m=t.activeDescendantId,h=t.value,b=t.maxLength,p=t.onKeyDown,S=t.onMouseDown,v=t.onChange,g=t.onPaste,y=t.onCompositionStart,C=t.onCompositionEnd,$=t.open,x=t.attrs,w=a||s.createElement("input",null),E=w,O=E.ref,P=E.props,M=P.onKeyDown,N=P.onChange,I=P.onMouseDown,z=P.onCompositionStart,j=P.onCompositionEnd,_=P.style;return"maxLength"in w.props,w=s.cloneElement(w,D(D(D({type:"search"},P),{},{id:i,ref:so(n,O),disabled:l,tabIndex:c,autoComplete:d||"off",autoFocus:u,className:U("".concat(o,"-selection-search-input"),(r=w)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":$||!1,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":$?m:void 0},x),{},{value:f?h:"",maxLength:b,readOnly:!f,unselectable:f?null:"on",style:D(D({},_),{},{opacity:f?null:0}),onKeyDown:function(R){p(R),M&&M(R)},onMouseDown:function(R){S(R),I&&I(R)},onChange:function(R){v(R),N&&N(R)},onCompositionStart:function(R){y(R),z&&z(R)},onCompositionEnd:function(R){C(R),j&&j(R)},onPaste:g})),w},Nx=s.forwardRef(p_);function _x(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var h_=typeof window<"u"&&window.document&&window.document.documentElement,y_=h_;function b_(e){return e!=null}function S_(e){return!e&&e!==0}function H0(e){return["string","number"].includes(nt(e))}function zx(e){var t=void 0;return e&&(H0(e.title)?t=e.title.toString():H0(e.label)&&(t=e.label.toString())),t}function C_(e,t){y_?s.useLayoutEffect(e,t):s.useEffect(e,t)}function x_(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var k0=function(t){t.preventDefault(),t.stopPropagation()},w_=function(t){var n=t.id,r=t.prefixCls,o=t.values,i=t.open,a=t.searchValue,l=t.autoClearSearchValue,c=t.inputRef,u=t.placeholder,d=t.disabled,f=t.mode,m=t.showSearch,h=t.autoFocus,b=t.autoComplete,p=t.activeDescendantId,S=t.tabIndex,v=t.removeIcon,g=t.maxTagCount,y=t.maxTagTextLength,C=t.maxTagPlaceholder,$=C===void 0?function(le){return"+ ".concat(le.length," ...")}:C,x=t.tagRender,w=t.onToggleOpen,E=t.onRemove,O=t.onInputChange,P=t.onInputPaste,M=t.onInputKeyDown,N=t.onInputMouseDown,I=t.onInputCompositionStart,z=t.onInputCompositionEnd,j=s.useRef(null),_=s.useState(0),T=W(_,2),R=T[0],L=T[1],A=s.useState(!1),F=W(A,2),H=F[0],K=F[1],X="".concat(r,"-selection"),q=i||f==="multiple"&&l===!1||f==="tags"?a:"",oe=f==="tags"||f==="multiple"&&l===!1||m&&(i||H);C_(function(){L(j.current.scrollWidth)},[q]);var J=function(te,Y,ge,ue,ie){return s.createElement("span",{title:zx(te),className:U("".concat(X,"-item"),B({},"".concat(X,"-item-disabled"),ge))},s.createElement("span",{className:"".concat(X,"-item-content")},Y),ue&&s.createElement(Yu,{className:"".concat(X,"-item-remove"),onMouseDown:k0,onClick:ie,customizeIcon:v},"×"))},ee=function(te,Y,ge,ue,ie){var Z=function(ce){k0(ce),w(!i)};return s.createElement("span",{onMouseDown:Z},x({label:Y,value:te,disabled:ge,closable:ue,onClose:ie}))},re=function(te){var Y=te.disabled,ge=te.label,ue=te.value,ie=!d&&!Y,Z=ge;if(typeof y=="number"&&(typeof ge=="string"||typeof ge=="number")){var de=String(Z);de.length>y&&(Z="".concat(de.slice(0,y),"..."))}var ce=function(fe){fe&&fe.stopPropagation(),E(te)};return typeof x=="function"?ee(ue,Z,Y,ie,ce):J(te,Z,Y,ie,ce)},Q=function(te){var Y=typeof $=="function"?$(te):$;return J({title:Y},Y,!1)},G=s.createElement("div",{className:"".concat(X,"-search"),style:{width:R},onFocus:function(){K(!0)},onBlur:function(){K(!1)}},s.createElement(Nx,{ref:c,open:i,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:h,autoComplete:b,editable:oe,activeDescendantId:p,value:q,onKeyDown:M,onMouseDown:N,onChange:O,onPaste:P,onCompositionStart:I,onCompositionEnd:z,tabIndex:S,attrs:ui(t,!0)}),s.createElement("span",{ref:j,className:"".concat(X,"-search-mirror"),"aria-hidden":!0},q," ")),se=s.createElement(kr,{prefixCls:"".concat(X,"-overflow"),data:o,renderItem:re,renderRest:Q,suffix:G,itemKey:x_,maxCount:g});return s.createElement(s.Fragment,null,se,!o.length&&!q&&s.createElement("span",{className:"".concat(X,"-placeholder")},u))},$_=function(t){var n=t.inputElement,r=t.prefixCls,o=t.id,i=t.inputRef,a=t.disabled,l=t.autoFocus,c=t.autoComplete,u=t.activeDescendantId,d=t.mode,f=t.open,m=t.values,h=t.placeholder,b=t.tabIndex,p=t.showSearch,S=t.searchValue,v=t.activeValue,g=t.maxLength,y=t.onInputKeyDown,C=t.onInputMouseDown,$=t.onInputChange,x=t.onInputPaste,w=t.onInputCompositionStart,E=t.onInputCompositionEnd,O=t.title,P=s.useState(!1),M=W(P,2),N=M[0],I=M[1],z=d==="combobox",j=z||p,_=m[0],T=S||"";z&&v&&!N&&(T=v),s.useEffect(function(){z&&I(!1)},[z,v]);var R=d!=="combobox"&&!f&&!p?!1:!!T,L=O===void 0?zx(_):O,A=s.useMemo(function(){return _?null:s.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:R?{visibility:"hidden"}:void 0},h)},[_,R,h,r]);return s.createElement(s.Fragment,null,s.createElement("span",{className:"".concat(r,"-selection-search")},s.createElement(Nx,{ref:i,prefixCls:r,id:o,open:f,inputElement:n,disabled:a,autoFocus:l,autoComplete:c,editable:j,activeDescendantId:u,value:T,onKeyDown:y,onMouseDown:C,onChange:function(H){I(!0),$(H)},onPaste:x,onCompositionStart:w,onCompositionEnd:E,tabIndex:b,attrs:ui(t,!0),maxLength:z?g:void 0})),!z&&_?s.createElement("span",{className:"".concat(r,"-selection-item"),title:L,style:R?{visibility:"hidden"}:void 0},_.label):null,A)},E_=function(t,n){var r=s.useRef(null),o=s.useRef(!1),i=t.prefixCls,a=t.open,l=t.mode,c=t.showSearch,u=t.tokenWithEnter,d=t.autoClearSearchValue,f=t.onSearch,m=t.onSearchSubmit,h=t.onToggleOpen,b=t.onInputKeyDown,p=t.domRef;s.useImperativeHandle(n,function(){return{focus:function(T){r.current.focus(T)},blur:function(){r.current.blur()}}});var S=Ix(0),v=W(S,2),g=v[0],y=v[1],C=function(T){var R=T.which;(R===ne.UP||R===ne.DOWN)&&T.preventDefault(),b&&b(T),R===ne.ENTER&&l==="tags"&&!o.current&&!a&&(m==null||m(T.target.value)),o_(R)&&h(!0)},$=function(){y(!0)},x=s.useRef(null),w=function(T){f(T,!0,o.current)!==!1&&h(!0)},E=function(){o.current=!0},O=function(T){o.current=!1,l!=="combobox"&&w(T.target.value)},P=function(T){var R=T.target.value;if(u&&x.current&&/[\r\n]/.test(x.current)){var L=x.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");R=R.replace(L,x.current)}x.current=null,w(R)},M=function(T){var R=T.clipboardData,L=R==null?void 0:R.getData("text");x.current=L||""},N=function(T){var R=T.target;if(R!==r.current){var L=document.body.style.msTouchAction!==void 0;L?setTimeout(function(){r.current.focus()}):r.current.focus()}},I=function(T){var R=g();T.target!==r.current&&!R&&l!=="combobox"&&T.preventDefault(),(l!=="combobox"&&(!c||!R)||!a)&&(a&&d!==!1&&f("",!0,!1),h())},z={inputRef:r,onInputKeyDown:C,onInputMouseDown:$,onInputChange:P,onInputPaste:M,onInputCompositionStart:E,onInputCompositionEnd:O},j=l==="multiple"||l==="tags"?s.createElement(w_,ve({},t,z)):s.createElement($_,ve({},t,z));return s.createElement("div",{ref:p,className:"".concat(i,"-selector"),onClick:N,onMouseDown:I},j)},O_=s.forwardRef(E_);function R_(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,l=i.content,c=o.x,u=c===void 0?0:c,d=o.y,f=d===void 0?0:d,m=s.useRef();if(!n||!n.points)return null;var h={position:"absolute"};if(n.autoArrow!==!1){var b=n.points[0],p=n.points[1],S=b[0],v=b[1],g=p[0],y=p[1];S===g||!["t","b"].includes(S)?h.top=f:S==="t"?h.top=0:h.bottom=0,v===y||!["l","r"].includes(v)?h.left=u:v==="l"?h.left=0:h.right=0}return s.createElement("div",{ref:m,className:U("".concat(t,"-arrow"),a),style:h},l)}function I_(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?s.createElement(lr,ve({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(a){var l=a.className;return s.createElement("div",{style:{zIndex:r},className:U("".concat(t,"-mask"),l)})}):null}var P_=s.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),M_=s.forwardRef(function(e,t){var n=e.popup,r=e.className,o=e.prefixCls,i=e.style,a=e.target,l=e.onVisibleChanged,c=e.open,u=e.keepDom,d=e.fresh,f=e.onClick,m=e.mask,h=e.arrow,b=e.arrowPos,p=e.align,S=e.motion,v=e.maskMotion,g=e.forceRender,y=e.getPopupContainer,C=e.autoDestroy,$=e.portal,x=e.zIndex,w=e.onMouseEnter,E=e.onMouseLeave,O=e.onPointerEnter,P=e.ready,M=e.offsetX,N=e.offsetY,I=e.offsetR,z=e.offsetB,j=e.onAlign,_=e.onPrepare,T=e.stretch,R=e.targetWidth,L=e.targetHeight,A=typeof n=="function"?n():n,F=c||u,H=(y==null?void 0:y.length)>0,K=s.useState(!y||!H),X=W(K,2),q=X[0],oe=X[1];if(Mt(function(){!q&&H&&a&&oe(!0)},[q,H,a]),!q)return null;var J="auto",ee={left:"-1000vw",top:"-1000vh",right:J,bottom:J};if(P||!c){var re,Q=p.points,G=p.dynamicInset||((re=p._experimental)===null||re===void 0?void 0:re.dynamicInset),se=G&&Q[0][1]==="r",le=G&&Q[0][0]==="b";se?(ee.right=I,ee.left=J):(ee.left=M,ee.right=J),le?(ee.bottom=z,ee.top=J):(ee.top=N,ee.bottom=J)}var te={};return T&&(T.includes("height")&&L?te.height=L:T.includes("minHeight")&&L&&(te.minHeight=L),T.includes("width")&&R?te.width=R:T.includes("minWidth")&&R&&(te.minWidth=R)),c||(te.pointerEvents="none"),s.createElement($,{open:g||F,getContainer:y&&function(){return y(a)},autoDestroy:C},s.createElement(I_,{prefixCls:o,open:c,zIndex:x,mask:m,motion:v}),s.createElement(gr,{onResize:j,disabled:!c},function(Y){return s.createElement(lr,ve({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:g,leavedClassName:"".concat(o,"-hidden")},S,{onAppearPrepare:_,onEnterPrepare:_,visible:c,onVisibleChanged:function(ue){var ie;S==null||(ie=S.onVisibleChanged)===null||ie===void 0||ie.call(S,ue),l(ue)}}),function(ge,ue){var ie=ge.className,Z=ge.style,de=U(o,ie,r);return s.createElement("div",{ref:so(Y,t,ue),className:de,style:D(D(D(D({"--arrow-x":"".concat(b.x||0,"px"),"--arrow-y":"".concat(b.y||0,"px")},ee),te),Z),{},{boxSizing:"border-box",zIndex:x},i),onMouseEnter:w,onMouseLeave:E,onPointerEnter:O,onClick:f},h&&s.createElement(R_,{prefixCls:o,arrow:h,arrowPos:b,align:p}),s.createElement(P_,{cache:!c&&!d},A))})}))}),T_=s.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=pi(n),i=s.useCallback(function(l){Cg(t,r?r(l):l)},[r]),a=gi(i,n.ref);return o?s.cloneElement(n,{ref:a}):n}),V0=s.createContext(null);function W0(e){return e?Array.isArray(e)?e:[e]:[]}function N_(e,t,n,r){return s.useMemo(function(){var o=W0(n??t),i=W0(r??t),a=new Set(o),l=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[a,l]},[e,t,n,r])}function __(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function z_(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Ga(e){return kl(parseFloat(e),0)}function G0(e,t){var n=D({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var o=us(r).getComputedStyle(r),i=o.overflow,a=o.overflowClipMargin,l=o.borderTopWidth,c=o.borderBottomWidth,u=o.borderLeftWidth,d=o.borderRightWidth,f=r.getBoundingClientRect(),m=r.offsetHeight,h=r.clientHeight,b=r.offsetWidth,p=r.clientWidth,S=Ga(l),v=Ga(c),g=Ga(u),y=Ga(d),C=kl(Math.round(f.width/b*1e3)/1e3),$=kl(Math.round(f.height/m*1e3)/1e3),x=(b-p-g-y)*C,w=(m-h-S-v)*$,E=S*$,O=v*$,P=g*C,M=y*C,N=0,I=0;if(i==="clip"){var z=Ga(a);N=z*C,I=z*$}var j=f.x+P-N,_=f.y+E-I,T=j+f.width+2*N-P-M-x,R=_+f.height+2*I-E-O-w;n.left=Math.max(n.left,j),n.top=Math.max(n.top,_),n.right=Math.min(n.right,T),n.bottom=Math.min(n.bottom,R)}}),n}function K0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function q0(e,t){var n=t||[],r=W(n,2),o=r[0],i=r[1];return[K0(e.width,o),K0(e.height,i)]}function X0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function Pi(e,t){var n=t[0],r=t[1],o,i;return n==="t"?i=e.y:n==="b"?i=e.y+e.height:i=e.y+e.height/2,r==="l"?o=e.x:r==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:i}}function mo(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,o){return o===t?n[r]||"c":r}).join("")}function L_(e,t,n,r,o,i,a){var l=s.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),c=W(l,2),u=c[0],d=c[1],f=s.useRef(0),m=s.useMemo(function(){return t?cv(t):[]},[t]),h=s.useRef({}),b=function(){h.current={}};e||b();var p=Vn(function(){if(t&&n&&e){let fn=function(gs,Vr){var Do=arguments.length>2&&arguments[2]!==void 0?arguments[2]:de,wi=A.x+gs,La=A.y+Vr,vd=wi+re,gd=La+ee,pd=Math.max(wi,Do.left),hd=Math.max(La,Do.top),Fe=Math.min(vd,Do.right),Ze=Math.min(gd,Do.bottom);return Math.max(0,(Fe-pd)*(Ze-hd))},za=function(){xt=A.y+je,Ae=xt+ee,Ie=A.x+De,lt=Ie+re};var hp=fn,yp=za,g,y,C=t,$=C.ownerDocument,x=us(C),w=x.getComputedStyle(C),E=w.width,O=w.height,P=w.position,M=C.style.left,N=C.style.top,I=C.style.right,z=C.style.bottom,j=C.style.overflow,_=D(D({},o[r]),i),T=$.createElement("div");(g=C.parentElement)===null||g===void 0||g.appendChild(T),T.style.left="".concat(C.offsetLeft,"px"),T.style.top="".concat(C.offsetTop,"px"),T.style.position=P,T.style.height="".concat(C.offsetHeight,"px"),T.style.width="".concat(C.offsetWidth,"px"),C.style.left="0",C.style.top="0",C.style.right="auto",C.style.bottom="auto",C.style.overflow="hidden";var R;if(Array.isArray(n))R={x:n[0],y:n[1],width:0,height:0};else{var L=n.getBoundingClientRect();R={x:L.x,y:L.y,width:L.width,height:L.height}}var A=C.getBoundingClientRect(),F=$.documentElement,H=F.clientWidth,K=F.clientHeight,X=F.scrollWidth,q=F.scrollHeight,oe=F.scrollTop,J=F.scrollLeft,ee=A.height,re=A.width,Q=R.height,G=R.width,se={left:0,top:0,right:H,bottom:K},le={left:-J,top:-oe,right:X-J,bottom:q-oe},te=_.htmlRegion,Y="visible",ge="visibleFirst";te!=="scroll"&&te!==ge&&(te=Y);var ue=te===ge,ie=G0(le,m),Z=G0(se,m),de=te===Y?Z:ie,ce=ue?Z:de;C.style.left="auto",C.style.top="auto",C.style.right="0",C.style.bottom="0";var me=C.getBoundingClientRect();C.style.left=M,C.style.top=N,C.style.right=I,C.style.bottom=z,C.style.overflow=j,(y=C.parentElement)===null||y===void 0||y.removeChild(T);var fe=kl(Math.round(re/parseFloat(E)*1e3)/1e3),be=kl(Math.round(ee/parseFloat(O)*1e3)/1e3);if(fe===0||be===0||Kc(n)&&!Dg(n))return;var _e=_.offset,Ee=_.targetOffset,Xe=q0(A,_e),Oe=W(Xe,2),ye=Oe[0],$e=Oe[1],xe=q0(R,Ee),Ye=W(xe,2),rt=Ye[0],et=Ye[1];R.x-=rt,R.y-=et;var at=_.points||[],Qe=W(at,2),We=Qe[0],ae=Qe[1],Re=X0(ae),tt=X0(We),ft=Pi(R,Re),Rt=Pi(A,tt),It=D({},_),De=ft.x-Rt.x+ye,je=ft.y-Rt.y+$e,dt=fn(De,je),Se=fn(De,je,Z),we=Pi(R,["t","l"]),Ke=Pi(A,["t","l"]),ot=Pi(R,["b","r"]),pe=Pi(A,["b","r"]),Ce=_.overflow||{},Me=Ce.adjustX,Be=Ce.adjustY,Ge=Ce.shiftX,Ue=Ce.shiftY,Pt=function(Vr){return typeof Vr=="boolean"?Vr:Vr>=0},xt,Ae,Ie,lt;za();var Pe=Pt(Be),Ne=tt[0]===Re[0];if(Pe&&tt[0]==="t"&&(Ae>ce.bottom||h.current.bt)){var Ve=je;Ne?Ve-=ee-Q:Ve=we.y-pe.y-$e;var it=fn(De,Ve),$t=fn(De,Ve,Z);it>dt||it===dt&&(!ue||$t>=Se)?(h.current.bt=!0,je=Ve,$e=-$e,It.points=[mo(tt,0),mo(Re,0)]):h.current.bt=!1}if(Pe&&tt[0]==="b"&&(xtdt||Et===dt&&(!ue||cn>=Se)?(h.current.tb=!0,je=wt,$e=-$e,It.points=[mo(tt,0),mo(Re,0)]):h.current.tb=!1}var xn=Pt(Me),un=tt[1]===Re[1];if(xn&&tt[1]==="l"&&(lt>ce.right||h.current.rl)){var kt=De;un?kt-=re-G:kt=we.x-pe.x-ye;var qn=fn(kt,je),Xn=fn(kt,je,Z);qn>dt||qn===dt&&(!ue||Xn>=Se)?(h.current.rl=!0,De=kt,ye=-ye,It.points=[mo(tt,1),mo(Re,1)]):h.current.rl=!1}if(xn&&tt[1]==="r"&&(Iedt||st===dt&&(!ue||ht>=Se)?(h.current.lr=!0,De=He,ye=-ye,It.points=[mo(tt,1),mo(Re,1)]):h.current.lr=!1}za();var Vt=Ge===!0?0:Ge;typeof Vt=="number"&&(IeZ.right&&(De-=lt-Z.right-ye,R.x>Z.right-Vt&&(De+=R.x-Z.right+Vt)));var pn=Ue===!0?0:Ue;typeof pn=="number"&&(xtZ.bottom&&(je-=Ae-Z.bottom-$e,R.y>Z.bottom-pn&&(je+=R.y-Z.bottom+pn)));var zr=A.x+De,Lr=zr+re,Yn=A.y+je,co=Yn+ee,yt=R.x,ct=yt+G,ze=R.y,ke=ze+Q,pt=Math.max(zr,yt),Dt=Math.min(Lr,ct),_t=(pt+Dt)/2,Qt=_t-zr,hn=Math.max(Yn,ze),wn=Math.min(co,ke),dn=(hn+wn)/2,Hn=dn-Yn;a==null||a(t,It);var Nn=me.right-A.x-(De+A.width),uo=me.bottom-A.y-(je+A.height);d({ready:!0,offsetX:De/fe,offsetY:je/be,offsetR:Nn/fe,offsetB:uo/be,arrowX:Qt/fe,arrowY:Hn/be,scaleX:fe,scaleY:be,align:It})}}),S=function(){f.current+=1;var y=f.current;Promise.resolve().then(function(){f.current===y&&p()})},v=function(){d(function(y){return D(D({},y),{},{ready:!1})})};return Mt(v,[r]),Mt(function(){e||v()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,S]}function j_(e,t,n,r,o){Mt(function(){if(e&&t&&n){let m=function(){r(),o()};var f=m,i=t,a=n,l=cv(i),c=cv(a),u=us(a),d=new Set([u].concat(Te(l),Te(c)));return d.forEach(function(h){h.addEventListener("scroll",m,{passive:!0})}),u.addEventListener("resize",m,{passive:!0}),r(),function(){d.forEach(function(h){h.removeEventListener("scroll",m),u.removeEventListener("resize",m)})}}},[e,t,n])}function A_(e,t,n,r,o,i,a,l){var c=s.useRef(e);c.current=e,s.useEffect(function(){if(t&&r&&(!o||i)){var u=function(h){var b=h.target;c.current&&!a(b)&&l(!1)},d=us(r);d.addEventListener("mousedown",u,!0),d.addEventListener("contextmenu",u,!0);var f=Jc(n);return f&&(f.addEventListener("mousedown",u,!0),f.addEventListener("contextmenu",u,!0)),function(){d.removeEventListener("mousedown",u,!0),d.removeEventListener("contextmenu",u,!0),f&&(f.removeEventListener("mousedown",u,!0),f.removeEventListener("contextmenu",u,!0))}}},[t,n,r,o,i])}var F_=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function B_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xu,t=s.forwardRef(function(n,r){var o=n.prefixCls,i=o===void 0?"rc-trigger-popup":o,a=n.children,l=n.action,c=l===void 0?"hover":l,u=n.showAction,d=n.hideAction,f=n.popupVisible,m=n.defaultPopupVisible,h=n.onPopupVisibleChange,b=n.afterPopupVisibleChange,p=n.mouseEnterDelay,S=n.mouseLeaveDelay,v=S===void 0?.1:S,g=n.focusDelay,y=n.blurDelay,C=n.mask,$=n.maskClosable,x=$===void 0?!0:$,w=n.getPopupContainer,E=n.forceRender,O=n.autoDestroy,P=n.destroyPopupOnHide,M=n.popup,N=n.popupClassName,I=n.popupStyle,z=n.popupPlacement,j=n.builtinPlacements,_=j===void 0?{}:j,T=n.popupAlign,R=n.zIndex,L=n.stretch,A=n.getPopupClassNameFromAlign,F=n.fresh,H=n.alignPoint,K=n.onPopupClick,X=n.onPopupAlign,q=n.arrow,oe=n.popupMotion,J=n.maskMotion,ee=n.popupTransitionName,re=n.popupAnimation,Q=n.maskTransitionName,G=n.maskAnimation,se=n.className,le=n.getTriggerDOMNode,te=Je(n,F_),Y=O||P||!1,ge=s.useState(!1),ue=W(ge,2),ie=ue[0],Z=ue[1];Mt(function(){Z(qg())},[]);var de=s.useRef({}),ce=s.useContext(V0),me=s.useMemo(function(){return{registerSubPopup:function(Ze,Kt){de.current[Ze]=Kt,ce==null||ce.registerSubPopup(Ze,Kt)}}},[ce]),fe=dx(),be=s.useState(null),_e=W(be,2),Ee=_e[0],Xe=_e[1],Oe=Vn(function(Fe){Kc(Fe)&&Ee!==Fe&&Xe(Fe),ce==null||ce.registerSubPopup(fe,Fe)}),ye=s.useState(null),$e=W(ye,2),xe=$e[0],Ye=$e[1],rt=s.useRef(null),et=Vn(function(Fe){Kc(Fe)&&xe!==Fe&&(Ye(Fe),rt.current=Fe)}),at=s.Children.only(a),Qe=(at==null?void 0:at.props)||{},We={},ae=Vn(function(Fe){var Ze,Kt,rn=xe;return(rn==null?void 0:rn.contains(Fe))||((Ze=Jc(rn))===null||Ze===void 0?void 0:Ze.host)===Fe||Fe===rn||(Ee==null?void 0:Ee.contains(Fe))||((Kt=Jc(Ee))===null||Kt===void 0?void 0:Kt.host)===Fe||Fe===Ee||Object.values(de.current).some(function(qt){return(qt==null?void 0:qt.contains(Fe))||Fe===qt})}),Re=U0(i,oe,re,ee),tt=U0(i,J,G,Q),ft=s.useState(m||!1),Rt=W(ft,2),It=Rt[0],De=Rt[1],je=f??It,dt=Vn(function(Fe){f===void 0&&De(Fe)});Mt(function(){De(f||!1)},[f]);var Se=s.useRef(je);Se.current=je;var we=s.useRef([]);we.current=[];var Ke=Vn(function(Fe){var Ze;dt(Fe),((Ze=we.current[we.current.length-1])!==null&&Ze!==void 0?Ze:je)!==Fe&&(we.current.push(Fe),h==null||h(Fe))}),ot=s.useRef(),pe=function(){clearTimeout(ot.current)},Ce=function(Ze){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;pe(),Kt===0?Ke(Ze):ot.current=setTimeout(function(){Ke(Ze)},Kt*1e3)};s.useEffect(function(){return pe},[]);var Me=s.useState(!1),Be=W(Me,2),Ge=Be[0],Ue=Be[1];Mt(function(Fe){(!Fe||je)&&Ue(!0)},[je]);var Pt=s.useState(null),xt=W(Pt,2),Ae=xt[0],Ie=xt[1],lt=s.useState([0,0]),Pe=W(lt,2),Ne=Pe[0],Ve=Pe[1],it=function(Ze){Ve([Ze.clientX,Ze.clientY])},$t=L_(je,Ee,H?Ne:xe,z,_,T,X),wt=W($t,11),Et=wt[0],cn=wt[1],xn=wt[2],un=wt[3],kt=wt[4],qn=wt[5],Xn=wt[6],He=wt[7],st=wt[8],ht=wt[9],Vt=wt[10],pn=N_(ie,c,u,d),zr=W(pn,2),Lr=zr[0],Yn=zr[1],co=Lr.has("click"),yt=Yn.has("click")||Yn.has("contextMenu"),ct=Vn(function(){Ge||Vt()}),ze=function(){Se.current&&H&&yt&&Ce(!1)};j_(je,xe,Ee,ct,ze),Mt(function(){ct()},[Ne,z]),Mt(function(){je&&!(_!=null&&_[z])&&ct()},[JSON.stringify(T)]);var ke=s.useMemo(function(){var Fe=z_(_,i,ht,H);return U(Fe,A==null?void 0:A(ht))},[ht,A,_,i,H]);s.useImperativeHandle(r,function(){return{nativeElement:rt.current,forceAlign:ct}});var pt=s.useState(0),Dt=W(pt,2),_t=Dt[0],Qt=Dt[1],hn=s.useState(0),wn=W(hn,2),dn=wn[0],Hn=wn[1],Nn=function(){if(L&&xe){var Ze=xe.getBoundingClientRect();Qt(Ze.width),Hn(Ze.height)}},uo=function(){Nn(),ct()},hp=function(Ze){Ue(!1),Vt(),b==null||b(Ze)},yp=function(){return new Promise(function(Ze){Nn(),Ie(function(){return Ze})})};Mt(function(){Ae&&(Vt(),Ae(),Ie(null))},[Ae]);function fn(Fe,Ze,Kt,rn){We[Fe]=function(qt){var ps;rn==null||rn(qt),Ce(Ze,Kt);for(var yd=arguments.length,bp=new Array(yd>1?yd-1:0),hs=1;hs1?Kt-1:0),qt=1;qt1?Kt-1:0),qt=1;qt1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=Lx(n,!1),a=i.label,l=i.value,c=i.options,u=i.groupLabel;function d(f,m){Array.isArray(f)&&f.forEach(function(h){if(m||!(c in h)){var b=h[l];o.push({key:Y0(h,o.length),groupOption:m,data:h,label:h[a],value:b})}else{var p=h[u];p===void 0&&r&&(p=h.label),o.push({key:Y0(h,o.length),group:!0,data:h,label:p}),d(h[c],!0)}})}return d(e,!1),o}function dv(e){var t=D({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return In(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var U_=function(t,n,r){if(!n||!n.length)return null;var o=!1,i=function l(c,u){var d=iC(u),f=d[0],m=d.slice(1);if(!f)return[c];var h=c.split(f);return o=o||h.length>1,h.reduce(function(b,p){return[].concat(Te(b),Te(l(p,m)))},[]).filter(Boolean)},a=i(t,n);return o?typeof r<"u"?a.slice(0,r):a:null},Xg=s.createContext(null),G_=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],K_=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],fv=function(t){return t==="tags"||t==="multiple"},q_=s.forwardRef(function(e,t){var n,r=e.id,o=e.prefixCls,i=e.className,a=e.showSearch,l=e.tagRender,c=e.direction,u=e.omitDomProps,d=e.displayValues,f=e.onDisplayValuesChange,m=e.emptyOptions,h=e.notFoundContent,b=h===void 0?"Not Found":h,p=e.onClear,S=e.mode,v=e.disabled,g=e.loading,y=e.getInputElement,C=e.getRawInputElement,$=e.open,x=e.defaultOpen,w=e.onDropdownVisibleChange,E=e.activeValue,O=e.onActiveValueChange,P=e.activeDescendantId,M=e.searchValue,N=e.autoClearSearchValue,I=e.onSearch,z=e.onSearchSplit,j=e.tokenSeparators,_=e.allowClear,T=e.suffixIcon,R=e.clearIcon,L=e.OptionList,A=e.animation,F=e.transitionName,H=e.dropdownStyle,K=e.dropdownClassName,X=e.dropdownMatchSelectWidth,q=e.dropdownRender,oe=e.dropdownAlign,J=e.placement,ee=e.builtinPlacements,re=e.getPopupContainer,Q=e.showAction,G=Q===void 0?[]:Q,se=e.onFocus,le=e.onBlur,te=e.onKeyUp,Y=e.onKeyDown,ge=e.onMouseDown,ue=Je(e,G_),ie=fv(S),Z=(a!==void 0?a:ie)||S==="combobox",de=D({},ue);K_.forEach(function(ze){delete de[ze]}),u==null||u.forEach(function(ze){delete de[ze]});var ce=s.useState(!1),me=W(ce,2),fe=me[0],be=me[1];s.useEffect(function(){be(qg())},[]);var _e=s.useRef(null),Ee=s.useRef(null),Xe=s.useRef(null),Oe=s.useRef(null),ye=s.useRef(null),$e=s.useRef(!1),xe=n_(),Ye=W(xe,3),rt=Ye[0],et=Ye[1],at=Ye[2];s.useImperativeHandle(t,function(){var ze,ke;return{focus:(ze=Oe.current)===null||ze===void 0?void 0:ze.focus,blur:(ke=Oe.current)===null||ke===void 0?void 0:ke.blur,scrollTo:function(Dt){var _t;return(_t=ye.current)===null||_t===void 0?void 0:_t.scrollTo(Dt)}}});var Qe=s.useMemo(function(){var ze;if(S!=="combobox")return M;var ke=(ze=d[0])===null||ze===void 0?void 0:ze.value;return typeof ke=="string"||typeof ke=="number"?String(ke):""},[M,S,d]),We=S==="combobox"&&typeof y=="function"&&y()||null,ae=typeof C=="function"&&C(),Re=gi(Ee,ae==null||(n=ae.props)===null||n===void 0?void 0:n.ref),tt=s.useState(!1),ft=W(tt,2),Rt=ft[0],It=ft[1];Mt(function(){It(!0)},[]);var De=nn(!1,{defaultValue:x,value:$}),je=W(De,2),dt=je[0],Se=je[1],we=Rt?dt:!1,Ke=!b&&m;(v||Ke&&we&&S==="combobox")&&(we=!1);var ot=Ke?!1:we,pe=s.useCallback(function(ze){var ke=ze!==void 0?ze:!we;v||(Se(ke),we!==ke&&(w==null||w(ke)))},[v,we,Se,w]),Ce=s.useMemo(function(){return(j||[]).some(function(ze){return[` +`,`\r +`].includes(ze)})},[j]),Me=s.useContext(Xg)||{},Be=Me.maxCount,Ge=Me.rawValues,Ue=function(ke,pt,Dt){if(!(ie&&uv(Be)&&(Ge==null?void 0:Ge.size)>=Be)){var _t=!0,Qt=ke;O==null||O(null);var hn=U_(ke,j,uv(Be)?Be-Ge.size:void 0),wn=Dt?null:hn;return S!=="combobox"&&wn&&(Qt="",z==null||z(wn),pe(!1),_t=!1),I&&Qe!==Qt&&I(Qt,{source:pt?"typing":"effect"}),_t}},Pt=function(ke){!ke||!ke.trim()||I(ke,{source:"submit"})};s.useEffect(function(){!we&&!ie&&S!=="combobox"&&Ue("",!1,!1)},[we]),s.useEffect(function(){dt&&v&&Se(!1),v&&!$e.current&&et(!1)},[v]);var xt=Ix(),Ae=W(xt,2),Ie=Ae[0],lt=Ae[1],Pe=function(ke){var pt=Ie(),Dt=ke.which;if(Dt===ne.ENTER&&(S!=="combobox"&&ke.preventDefault(),we||pe(!0)),lt(!!Qe),Dt===ne.BACKSPACE&&!pt&&ie&&!Qe&&d.length){for(var _t=Te(d),Qt=null,hn=_t.length-1;hn>=0;hn-=1){var wn=_t[hn];if(!wn.disabled){_t.splice(hn,1),Qt=wn;break}}Qt&&f(_t,{type:"remove",values:[Qt]})}for(var dn=arguments.length,Hn=new Array(dn>1?dn-1:0),Nn=1;Nn1?pt-1:0),_t=1;_t1?hn-1:0),dn=1;dn0&&arguments[0]!==void 0?arguments[0]:!1;d();var b=function(){l.current.forEach(function(S,v){if(S&&S.offsetParent){var g=fl(S),y=g.offsetHeight;c.current.get(v)!==y&&c.current.set(v,g.offsetHeight)}}),a(function(S){return S+1})};h?b():u.current=Ct(b)}function m(h,b){var p=e(h),S=l.current.get(p);b?(l.current.set(p,b),f()):l.current.delete(p),!S!=!b&&(b?t==null||t(h):n==null||n(h))}return s.useEffect(function(){return d},[]),[m,f,c.current,i]}var J_=10;function ez(e,t,n,r,o,i,a,l){var c=s.useRef(),u=s.useState(null),d=W(u,2),f=d[0],m=d[1];return Mt(function(){if(f&&f.times=0;z-=1){var j=o(t[z]),_=n.get(j);if(_===void 0){g=!0;break}if(I-=_,I<=0)break}switch($){case"top":C=w-S;break;case"bottom":C=E-v+S;break;default:{var T=e.current.scrollTop,R=T+v;wR&&(y="bottom")}}C!==null&&a(C),C!==f.lastTop&&(g=!0)}g&&m(D(D({},f),{},{times:f.times+1,targetAlign:y,lastTop:C}))}},[f,e.current]),function(h){if(h==null){l();return}if(Ct.cancel(c.current),typeof h=="number")a(h);else if(h&&nt(h)==="object"){var b,p=h.align;"index"in h?b=h.index:b=t.findIndex(function(g){return o(g)===h.key});var S=h.offset,v=S===void 0?0:S;m({times:0,index:b,offset:v,originAlign:p})}}}function tz(e,t,n){var r=e.length,o=t.length,i,a;if(r===0&&o===0)return null;r"u"?"undefined":nt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const Ax=function(e,t){var n=s.useRef(!1),r=s.useRef(null);function o(){clearTimeout(r.current),n.current=!0,r.current=setTimeout(function(){n.current=!1},50)}var i=s.useRef({top:e,bottom:t});return i.current.top=e,i.current.bottom=t,function(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,c=a<0&&i.current.top||a>0&&i.current.bottom;return l&&c?(clearTimeout(r.current),n.current=!1):(!c||n.current)&&o(),!n.current&&c}};function rz(e,t,n,r,o){var i=s.useRef(0),a=s.useRef(null),l=s.useRef(null),c=s.useRef(!1),u=Ax(t,n);function d(S,v){Ct.cancel(a.current),i.current+=v,l.current=v,!u(v)&&(J0||S.preventDefault(),a.current=Ct(function(){var g=c.current?10:1;o(i.current*g),i.current=0}))}function f(S,v){o(v,!0),J0||S.preventDefault()}var m=s.useRef(null),h=s.useRef(null);function b(S){if(e){Ct.cancel(h.current),h.current=Ct(function(){m.current=null},2);var v=S.deltaX,g=S.deltaY,y=S.shiftKey,C=v,$=g;(m.current==="sx"||!m.current&&y&&g&&!v)&&(C=g,$=0,m.current="sx");var x=Math.abs(C),w=Math.abs($);m.current===null&&(m.current=r&&x>w?"x":"y"),m.current==="y"?d(S,$):f(S,C)}}function p(S){e&&(c.current=S.detail===l.current)}return[b,p]}var oz=14/15;function iz(e,t,n){var r=s.useRef(!1),o=s.useRef(0),i=s.useRef(null),a=s.useRef(null),l,c=function(m){if(r.current){var h=Math.ceil(m.touches[0].pageY),b=o.current-h;o.current=h,n(b)&&m.preventDefault(),clearInterval(a.current),a.current=setInterval(function(){b*=oz,(!n(b,!0)||Math.abs(b)<=.1)&&clearInterval(a.current)},16)}},u=function(){r.current=!1,l()},d=function(m){l(),m.touches.length===1&&!r.current&&(r.current=!0,o.current=Math.ceil(m.touches[0].pageY),i.current=m.target,i.current.addEventListener("touchmove",c),i.current.addEventListener("touchend",u))};l=function(){i.current&&(i.current.removeEventListener("touchmove",c),i.current.removeEventListener("touchend",u))},Mt(function(){return e&&t.current.addEventListener("touchstart",d),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",d),l(),clearInterval(a.current)}},[e])}var az=20;function ey(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,az),Math.floor(n)}function lz(e,t,n,r){var o=s.useMemo(function(){return[new Map,[]]},[e,n.id,r]),i=W(o,2),a=i[0],l=i[1],c=function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,m=a.get(d),h=a.get(f);if(m===void 0||h===void 0)for(var b=e.length,p=l.length;pi||!!p),M=b==="rtl",N=U(r,B({},"".concat(r,"-rtl"),M),o),I=d||cz,z=s.useRef(),j=s.useRef(),_=s.useState(0),T=W(_,2),R=T[0],L=T[1],A=s.useState(0),F=W(A,2),H=F[0],K=F[1],X=s.useState(!1),q=W(X,2),oe=q[0],J=q[1],ee=function(){J(!0)},re=function(){J(!1)},Q=s.useCallback(function(Pe){return typeof m=="function"?m(Pe):Pe==null?void 0:Pe[m]},[m]),G={getKey:Q};function se(Pe){L(function(Ne){var Ve;typeof Pe=="function"?Ve=Pe(Ne):Ve=Pe;var it=tt(Ve);return z.current.scrollTop=it,it})}var le=s.useRef({start:0,end:I.length}),te=s.useRef(),Y=nz(I,Q),ge=W(Y,1),ue=ge[0];te.current=ue;var ie=Z_(Q,null,null),Z=W(ie,4),de=Z[0],ce=Z[1],me=Z[2],fe=Z[3],be=s.useMemo(function(){if(!O)return{scrollHeight:void 0,start:0,end:I.length-1,offset:void 0};if(!P){var Pe;return{scrollHeight:((Pe=j.current)===null||Pe===void 0?void 0:Pe.offsetHeight)||0,start:0,end:I.length-1,offset:void 0}}for(var Ne=0,Ve,it,$t,wt=I.length,Et=0;Et=R&&Ve===void 0&&(Ve=Et,it=Ne),kt>R+i&&$t===void 0&&($t=Et),Ne=kt}return Ve===void 0&&(Ve=0,it=0,$t=Math.ceil(i/a)),$t===void 0&&($t=I.length-1),$t=Math.min($t+1,I.length-1),{scrollHeight:Ne,start:Ve,end:$t,offset:it}},[P,O,R,I,fe,i]),_e=be.scrollHeight,Ee=be.start,Xe=be.end,Oe=be.offset;le.current.start=Ee,le.current.end=Xe;var ye=s.useState({width:0,height:i}),$e=W(ye,2),xe=$e[0],Ye=$e[1],rt=function(Ne){Ye({width:Ne.width||Ne.offsetWidth,height:Ne.height||Ne.offsetHeight})},et=s.useRef(),at=s.useRef(),Qe=s.useMemo(function(){return ey(xe.width,p)},[xe.width,p]),We=s.useMemo(function(){return ey(xe.height,_e)},[xe.height,_e]),ae=_e-i,Re=s.useRef(ae);Re.current=ae;function tt(Pe){var Ne=Pe;return Number.isNaN(Re.current)||(Ne=Math.min(Ne,Re.current)),Ne=Math.max(Ne,0),Ne}var ft=R<=0,Rt=R>=ae,It=Ax(ft,Rt),De=function(){return{x:M?-H:H,y:R}},je=s.useRef(De()),dt=Vn(function(){if(y){var Pe=De();(je.current.x!==Pe.x||je.current.y!==Pe.y)&&(y(Pe),je.current=Pe)}});function Se(Pe,Ne){var Ve=Pe;Ne?(zo.flushSync(function(){K(Ve)}),dt()):se(Ve)}function we(Pe){var Ne=Pe.currentTarget.scrollTop;Ne!==R&&se(Ne),g==null||g(Pe),dt()}var Ke=function(Ne){var Ve=Ne,it=p-xe.width;return Ve=Math.max(Ve,0),Ve=Math.min(Ve,it),Ve},ot=Vn(function(Pe,Ne){Ne?(zo.flushSync(function(){K(function(Ve){var it=Ve+(M?-Pe:Pe);return Ke(it)})}),dt()):se(function(Ve){var it=Ve+Pe;return it})}),pe=rz(O,ft,Rt,!!p,ot),Ce=W(pe,2),Me=Ce[0],Be=Ce[1];iz(O,z,function(Pe,Ne){return It(Pe,Ne)?!1:(Me({preventDefault:function(){},deltaY:Pe}),!0)}),Mt(function(){function Pe(Ve){O&&Ve.preventDefault()}var Ne=z.current;return Ne.addEventListener("wheel",Me),Ne.addEventListener("DOMMouseScroll",Be),Ne.addEventListener("MozMousePixelScroll",Pe),function(){Ne.removeEventListener("wheel",Me),Ne.removeEventListener("DOMMouseScroll",Be),Ne.removeEventListener("MozMousePixelScroll",Pe)}},[O]),Mt(function(){p&&K(function(Pe){return Ke(Pe)})},[xe.width,p]);var Ge=function(){var Ne,Ve;(Ne=et.current)===null||Ne===void 0||Ne.delayHidden(),(Ve=at.current)===null||Ve===void 0||Ve.delayHidden()},Ue=ez(z,I,me,a,Q,function(){return ce(!0)},se,Ge);s.useImperativeHandle(t,function(){return{getScrollInfo:De,scrollTo:function(Ne){function Ve(it){return it&&nt(it)==="object"&&("left"in it||"top"in it)}Ve(Ne)?(Ne.left!==void 0&&K(Ke(Ne.left)),Ue(Ne.top)):Ue(Ne)}}}),Mt(function(){if(C){var Pe=I.slice(Ee,Xe+1);C(Pe,I)}},[Ee,Xe,I]);var Pt=lz(I,Q,me,a),xt=x==null?void 0:x({start:Ee,end:Xe,virtual:P,offsetX:H,offsetY:Oe,rtl:M,getSize:Pt}),Ae=Y_(I,Ee,Xe,p,de,f,G),Ie=null;i&&(Ie=D(B({},c?"height":"maxHeight",i),uz),O&&(Ie.overflowY="hidden",p&&(Ie.overflowX="hidden"),oe&&(Ie.pointerEvents="none")));var lt={};return M&&(lt.dir="rtl"),s.createElement("div",ve({style:D(D({},u),{},{position:"relative"}),className:N},lt,E),s.createElement(gr,{onResize:rt},s.createElement(v,{className:"".concat(r,"-holder"),style:Ie,ref:z,onScroll:we,onMouseEnter:Ge},s.createElement(jx,{prefixCls:r,height:_e,offsetX:H,offsetY:Oe,scrollWidth:p,onInnerResize:ce,ref:j,innerProps:$,rtl:M,extra:xt},Ae))),P&&_e>i&&s.createElement(Z0,{ref:et,prefixCls:r,scrollOffset:R,scrollRange:_e,rtl:M,onScroll:Se,onStartMove:ee,onStopMove:re,spinSize:We,containerSize:xe.height,style:w==null?void 0:w.verticalScrollBar,thumbStyle:w==null?void 0:w.verticalScrollBarThumb}),P&&p>xe.width&&s.createElement(Z0,{ref:at,prefixCls:r,scrollOffset:H,scrollRange:p,rtl:M,onScroll:Se,onStartMove:ee,onStopMove:re,spinSize:Qe,containerSize:xe.width,horizontal:!0,style:w==null?void 0:w.horizontalScrollBar,thumbStyle:w==null?void 0:w.horizontalScrollBarThumb}))}var Fx=s.forwardRef(dz);Fx.displayName="List";function fz(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var mz=["disabled","title","children","style","className"];function ty(e){return typeof e=="string"||typeof e=="number"}var vz=function(t,n){var r=t_(),o=r.prefixCls,i=r.id,a=r.open,l=r.multiple,c=r.mode,u=r.searchValue,d=r.toggleOpen,f=r.notFoundContent,m=r.onPopupScroll,h=s.useContext(Xg),b=h.maxCount,p=h.flattenOptions,S=h.onActiveValue,v=h.defaultActiveFirstOption,g=h.onSelect,y=h.menuItemSelectedIcon,C=h.rawValues,$=h.fieldNames,x=h.virtual,w=h.direction,E=h.listHeight,O=h.listItemHeight,P=h.optionRender,M="".concat(o,"-item"),N=es(function(){return p},[a,p],function(Q,G){return G[0]&&Q[1]!==G[1]}),I=s.useRef(null),z=s.useMemo(function(){return l&&uv(b)&&(C==null?void 0:C.size)>=b},[l,b,C==null?void 0:C.size]),j=function(G){G.preventDefault()},_=function(G){var se;(se=I.current)===null||se===void 0||se.scrollTo(typeof G=="number"?{index:G}:G)},T=function(G){for(var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,le=N.length,te=0;te1&&arguments[1]!==void 0?arguments[1]:!1;F(G);var le={source:se?"keyboard":"mouse"},te=N[G];if(!te){S(null,-1,le);return}S(te.value,G,le)};s.useEffect(function(){H(v!==!1?T(0):-1)},[N.length,u]);var K=s.useCallback(function(Q){return C.has(Q)&&c!=="combobox"},[c,Te(C).toString(),C.size]);s.useEffect(function(){var Q=setTimeout(function(){if(!l&&a&&C.size===1){var se=Array.from(C)[0],le=N.findIndex(function(te){var Y=te.data;return Y.value===se});le!==-1&&(H(le),_(le))}});if(a){var G;(G=I.current)===null||G===void 0||G.scrollTo(void 0)}return function(){return clearTimeout(Q)}},[a,u]);var X=function(G){G!==void 0&&g(G,{selected:!C.has(G)}),l||d(!1)};if(s.useImperativeHandle(n,function(){return{onKeyDown:function(G){var se=G.which,le=G.ctrlKey;switch(se){case ne.N:case ne.P:case ne.UP:case ne.DOWN:{var te=0;if(se===ne.UP?te=-1:se===ne.DOWN?te=1:fz()&&le&&(se===ne.N?te=1:se===ne.P&&(te=-1)),te!==0){var Y=T(A+te,te);_(Y),H(Y,!0)}break}case ne.ENTER:{var ge,ue=N[A];ue&&!(ue!=null&&(ge=ue.data)!==null&&ge!==void 0&&ge.disabled)&&!z?X(ue.value):X(void 0),a&&G.preventDefault();break}case ne.ESC:d(!1),a&&G.stopPropagation()}},onKeyUp:function(){},scrollTo:function(G){_(G)}}}),N.length===0)return s.createElement("div",{role:"listbox",id:"".concat(i,"_list"),className:"".concat(M,"-empty"),onMouseDown:j},f);var q=Object.keys($).map(function(Q){return $[Q]}),oe=function(G){return G.label};function J(Q,G){var se=Q.group;return{role:se?"presentation":"option",id:"".concat(i,"_list_").concat(G)}}var ee=function(G){var se=N[G];if(!se)return null;var le=se.data||{},te=le.value,Y=se.group,ge=ui(le,!0),ue=oe(se);return se?s.createElement("div",ve({"aria-label":typeof ue=="string"&&!Y?ue:null},ge,{key:G},J(se,G),{"aria-selected":K(te)}),te):null},re={role:"listbox",id:"".concat(i,"_list")};return s.createElement(s.Fragment,null,x&&s.createElement("div",ve({},re,{style:{height:0,width:0,overflow:"hidden"}}),ee(A-1),ee(A),ee(A+1)),s.createElement(Fx,{itemKey:"key",ref:I,data:N,height:E,itemHeight:O,fullHeight:!1,onMouseDown:j,onScroll:m,virtual:x,direction:w,innerProps:x?null:re},function(Q,G){var se=Q.group,le=Q.groupOption,te=Q.data,Y=Q.label,ge=Q.value,ue=te.key;if(se){var ie,Z=(ie=te.title)!==null&&ie!==void 0?ie:ty(Y)?Y.toString():void 0;return s.createElement("div",{className:U(M,"".concat(M,"-group"),te.className),title:Z},Y!==void 0?Y:ue)}var de=te.disabled,ce=te.title;te.children;var me=te.style,fe=te.className,be=Je(te,mz),_e=Dn(be,q),Ee=K(ge),Xe=de||!Ee&&z,Oe="".concat(M,"-option"),ye=U(M,Oe,fe,B(B(B(B({},"".concat(Oe,"-grouped"),le),"".concat(Oe,"-active"),A===G&&!Xe),"".concat(Oe,"-disabled"),Xe),"".concat(Oe,"-selected"),Ee)),$e=oe(Q),xe=!y||typeof y=="function"||Ee,Ye=typeof $e=="number"?$e:$e||ge,rt=ty(Ye)?Ye.toString():void 0;return ce!==void 0&&(rt=ce),s.createElement("div",ve({},ui(_e),x?{}:J(Q,G),{"aria-selected":Ee,className:ye,title:rt,onMouseMove:function(){A===G||Xe||H(G)},onClick:function(){Xe||X(ge)},style:me}),s.createElement("div",{className:"".concat(Oe,"-content")},typeof P=="function"?P(Q,{index:G}):Ye),s.isValidElement(y)||Ee,xe&&s.createElement(Yu,{className:"".concat(M,"-option-state"),customizeIcon:y,customizeIconProps:{value:ge,disabled:Xe,isSelected:Ee}},Ee?"✓":null))}))},gz=s.forwardRef(vz);const pz=function(e,t){var n=s.useRef({values:new Map,options:new Map}),r=s.useMemo(function(){var i=n.current,a=i.values,l=i.options,c=e.map(function(f){if(f.label===void 0){var m;return D(D({},f),{},{label:(m=a.get(f.value))===null||m===void 0?void 0:m.label})}return f}),u=new Map,d=new Map;return c.forEach(function(f){u.set(f.value,f),d.set(f.value,t.get(f.value)||l.get(f.value))}),n.current.values=u,n.current.options=d,c},[e,t]),o=s.useCallback(function(i){return t.get(i)||n.current.options.get(i)},[t]);return[r,o]};function ff(e,t){return _x(e).join("").toUpperCase().includes(t)}const hz=function(e,t,n,r,o){return s.useMemo(function(){if(!n||r===!1)return e;var i=t.options,a=t.label,l=t.value,c=[],u=typeof r=="function",d=n.toUpperCase(),f=u?r:function(h,b){return o?ff(b[o],d):b[i]?ff(b[a!=="children"?a:"label"],d):ff(b[l],d)},m=u?function(h){return dv(h)}:function(h){return h};return e.forEach(function(h){if(h[i]){var b=f(n,m(h));if(b)c.push(h);else{var p=h[i].filter(function(S){return f(n,m(S))});p.length&&c.push(D(D({},h),{},B({},i,p)))}return}f(n,m(h))&&c.push(h)}),c},[e,r,o,n,t])};var ny=0,yz=Mn();function bz(){var e;return yz?(e=ny,ny+=1):e="TEST_OR_SSR",e}function Sz(e){var t=s.useState(),n=W(t,2),r=n[0],o=n[1];return s.useEffect(function(){o("rc_select_".concat(bz()))},[]),e||r}var Cz=["children","value"],xz=["children"];function wz(e){var t=e,n=t.key,r=t.props,o=r.children,i=r.value,a=Je(r,Cz);return D({key:n,value:i!==void 0?i:n,children:o},a)}function Bx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return yr(e).map(function(n,r){if(!s.isValidElement(n)||!n.type)return null;var o=n,i=o.type.isSelectOptGroup,a=o.key,l=o.props,c=l.children,u=Je(l,xz);return t||!i?wz(n):D(D({key:"__RC_SELECT_GRP__".concat(a===null?r:a,"__"),label:a},u),{},{options:Bx(c)})}).filter(function(n){return n})}var $z=function(t,n,r,o,i){return s.useMemo(function(){var a=t,l=!t;l&&(a=Bx(n));var c=new Map,u=new Map,d=function(h,b,p){p&&typeof p=="string"&&h.set(b[p],b)},f=function m(h){for(var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p=0;p2&&arguments[2]!==void 0?arguments[2]:{},Be=Me.source,Ge=Be===void 0?"keyboard":Be;Rt(Ce),a&&r==="combobox"&&pe!==null&&Ge==="keyboard"&&ae(String(pe))},[a,r]),je=function(Ce,Me,Be){var Ge=function(){var it,$t=_e(Ce);return[L?{label:$t==null?void 0:$t[J.label],value:Ce,key:(it=$t==null?void 0:$t.key)!==null&&it!==void 0?it:Ce}:Ce,dv($t)]};if(Me&&h){var Ue=Ge(),Pt=W(Ue,2),xt=Pt[0],Ae=Pt[1];h(xt,Ae)}else if(!Me&&b&&Be!=="clear"){var Ie=Ge(),lt=W(Ie,2),Pe=lt[0],Ne=lt[1];b(Pe,Ne)}},dt=ry(function(pe,Ce){var Me,Be=X?Ce.selected:!0;Be?Me=X?[].concat(Te(be),[pe]):[pe]:Me=be.filter(function(Ge){return Ge.value!==pe}),et(Me),je(pe,Be),r==="combobox"?ae(""):(!fv||m)&&(G(""),ae(""))}),Se=function(Ce,Me){et(Ce);var Be=Me.type,Ge=Me.values;(Be==="remove"||Be==="clear")&&Ge.forEach(function(Ue){je(Ue.value,!1,Be)})},we=function(Ce,Me){if(G(Ce),ae(null),Me.source==="submit"){var Be=(Ce||"").trim();if(Be){var Ge=Array.from(new Set([].concat(Te(Xe),[Be])));et(Ge),je(Be,!0),G("")}return}Me.source!=="blur"&&(r==="combobox"&&et(Ce),d==null||d(Ce))},Ke=function(Ce){var Me=Ce;r!=="tags"&&(Me=Ce.map(function(Ge){var Ue=te.get(Ge);return Ue==null?void 0:Ue.value}).filter(function(Ge){return Ge!==void 0}));var Be=Array.from(new Set([].concat(Te(Xe),Te(Me))));et(Be),Be.forEach(function(Ge){je(Ge,!0)})},ot=s.useMemo(function(){var pe=P!==!1&&S!==!1;return D(D({},se),{},{flattenOptions:rt,onActiveValue:De,defaultActiveFirstOption:It,onSelect:dt,menuItemSelectedIcon:O,rawValues:Xe,fieldNames:J,virtual:pe,direction:M,listHeight:I,listItemHeight:j,childrenAsData:q,maxCount:F,optionRender:x})},[F,se,rt,De,It,dt,O,Xe,J,P,S,M,I,j,q,x]);return s.createElement(Xg.Provider,{value:ot},s.createElement(q_,ve({},H,{id:K,prefixCls:i,ref:t,omitDomProps:Oz,mode:r,displayValues:Ee,onDisplayValuesChange:Se,direction:M,searchValue:Q,onSearch:we,autoClearSearchValue:m,onSearchSplit:Ke,dropdownMatchSelectWidth:S,OptionList:gz,emptyOptions:!rt.length,activeValue:We,activeDescendantId:"".concat(K,"_list_").concat(ft)})))}),Zg=Iz;Zg.Option=Qg;Zg.OptGroup=Yg;function Dx(e,t,n){return U({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const Hx=(e,t)=>t||e,Pz=()=>{const[,e]=Tn(),n=new jt(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return s.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},s.createElement("g",{fill:"none",fillRule:"evenodd"},s.createElement("g",{transform:"translate(24 31.67)"},s.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),s.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),s.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),s.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),s.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),s.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),s.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},s.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),s.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Mz=Pz,Tz=()=>{const[,e]=Tn(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:o}=e,{borderColor:i,shadowColor:a,contentColor:l}=s.useMemo(()=>({borderColor:new jt(t).onBackground(o).toHexShortString(),shadowColor:new jt(n).onBackground(o).toHexShortString(),contentColor:new jt(r).onBackground(o).toHexShortString()}),[t,n,r,o]);return s.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},s.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},s.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),s.createElement("g",{fillRule:"nonzero",stroke:i},s.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),s.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:l}))))},Nz=Tz,_z=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},zz=Yt("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,o=Ot(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[_z(o)]});var Lz=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{className:t,rootClassName:n,prefixCls:r,image:o=kx,description:i,children:a,imageStyle:l,style:c}=e,u=Lz(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:f,empty:m}=s.useContext(qe),h=d("empty",r),[b,p,S]=zz(h),[v]=Ng("Empty"),g=typeof i<"u"?i:v==null?void 0:v.description,y=typeof g=="string"?g:"empty";let C=null;return typeof o=="string"?C=s.createElement("img",{alt:y,src:o}):C=o,b(s.createElement("div",Object.assign({className:U(p,S,h,m==null?void 0:m.className,{[`${h}-normal`]:o===Vx,[`${h}-rtl`]:f==="rtl"},t,n),style:Object.assign(Object.assign({},m==null?void 0:m.style),c)},u),s.createElement("div",{className:`${h}-image`,style:l},C),g&&s.createElement("div",{className:`${h}-description`},g),a&&s.createElement("div",{className:`${h}-footer`},a)))};Jg.PRESENTED_IMAGE_DEFAULT=kx;Jg.PRESENTED_IMAGE_SIMPLE=Vx;const Ka=Jg,jz=e=>{const{componentName:t}=e,{getPrefixCls:n}=s.useContext(qe),r=n("empty");switch(t){case"Table":case"List":return V.createElement(Ka,{image:Ka.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return V.createElement(Ka,{image:Ka.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return V.createElement(Ka,null)}},Wx=jz,Az=["outlined","borderless","filled"],Ux=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;const n=s.useContext(yN);let r;typeof e<"u"?r=e:t===!1?r="borderless":r=n??"outlined";const o=Az.includes(r);return[r,o]},Fz=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function Bz(e,t){return e||Fz(t)}const oy=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},Dz=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,l=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},gn(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` + ${o}${l}bottomLeft, + ${i}${l}bottomLeft + `]:{animationName:xx},[` + ${o}${l}topLeft, + ${i}${l}topLeft, + ${o}${l}topRight, + ${i}${l}topRight + `]:{animationName:$x},[`${a}${l}bottomLeft`]:{animationName:wx},[` + ${a}${l}topLeft, + ${a}${l}topRight + `]:{animationName:Ex},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},oy(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ci),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},oy(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},ru(e,"slide-up"),ru(e,"slide-down"),A0(e,"move-up"),A0(e,"move-down")]},iu=2,Hz=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r}=e,o=e.max(e.calc(n).sub(r).equal(),0),i=e.max(e.calc(o).sub(iu).equal(),0);return{basePadding:o,containerPadding:i,itemHeight:k(t),itemLineHeight:k(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},kz=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},Vz=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:o,paddingXS:i,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:l,colorIcon:c,colorIconHover:u}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:iu,borderRadius:r,cursor:"default",transition:`font-size ${o}, line-height ${o}, height ${o}`,marginInlineEnd:e.calc(iu).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${t}-disabled&`]:{color:a,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Lg()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},Wz=(e,t)=>{const{componentCls:n}=e,r=`${n}-selection-overflow`,o=e.multipleSelectItemHeight,i=kz(e),a=t?`${n}-${t}`:"",l=Hz(e);return{[`${n}-multiple${a}`]:Object.assign(Object.assign({},Vz(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:l.basePadding,paddingBlock:l.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${k(iu)} 0`,lineHeight:k(o),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:l.itemHeight,lineHeight:k(l.itemLineHeight)},[`${r}-item + ${r}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${r}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),"\n &-input,\n &-mirror\n ":{height:o,fontFamily:e.fontFamily,lineHeight:k(o),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function mf(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` + &${n}-show-arrow ${n}-selector, + &${n}-allow-clear ${n}-selector + `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[Wz(e,t),o]}const Uz=e=>{const{componentCls:t}=e,n=Ot(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Ot(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[mf(e),mf(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},mf(r,"lg")]};function vf(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},gn(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + ${n}-selection-item, + ${n}-selection-placeholder + `]:{padding:0,lineHeight:k(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${n}-show-arrow ${n}-selection-item, + &${n}-show-arrow ${n}-selection-placeholder + `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${k(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:k(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${k(r)}`,"&:after":{display:"none"}}}}}}}function Gz(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[vf(e),vf(Ot(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${k(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` + &${t}-show-arrow ${t}-selection-item, + &${t}-show-arrow ${t}-selection-placeholder + `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},vf(Ot(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const Kz=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlHeightSM:o,controlHeightLG:i,paddingXXS:a,controlPaddingHorizontal:l,zIndexPopupBase:c,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:m,colorBgContainer:h,colorFillSecondary:b,colorBgContainerDisabled:p,colorTextDisabled:S}=e,v=r-a*2,g=o-a*2,y=i-a*2;return{zIndexPopup:c+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:m,optionPadding:`${(r-t*n)/2}px ${l}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:h,clearBg:h,singleItemHeightLG:i,multipleItemBg:b,multipleItemBorderColor:"transparent",multipleItemHeight:v,multipleItemHeightSM:g,multipleItemHeightLG:y,multipleSelectorBgDisabled:p,multipleItemColorDisabled:S,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},Gx=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${k(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${k(o)} ${t.activeShadowColor}`,outline:0}}}},iy=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Gx(e,t))}),qz=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Gx(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),iy(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),iy(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${k(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),Kx=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${k(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},ay=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Kx(e,t))}),Xz=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Kx(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),ay(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),ay(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${k(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),Yz=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${k(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),Qz=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},qz(e)),Xz(e)),Yz(e))}),Zz=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Jz=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},e4=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},gn(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},Zz(e)),Jz(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},ci),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},ci),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},Lg()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-arrow:not(:last-child)`]:{opacity:0}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},t4=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},e4(e),Gz(e),Uz(e),Dz(e),{[`${t}-rtl`]:{direction:"rtl"}},Vg(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},n4=Yt("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Ot(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[t4(r),Qz(r)]},Kz,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var r4={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"};const o4=r4;var i4=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:o4}))},a4=s.forwardRef(i4);const qx=a4;var l4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const s4=l4;var c4=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:s4}))},u4=s.forwardRef(c4);const d4=u4;var f4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const m4=f4;var v4=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:m4}))},g4=s.forwardRef(v4);const p4=g4;function h4(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:i,multiple:a,hasFeedback:l,prefixCls:c,showSuffixIcon:u,feedbackIcon:d,showArrow:f,componentName:m}=e;const h=n??s.createElement(KC,null),b=g=>t===null&&!l&&!f?null:s.createElement(s.Fragment,null,u!==!1&&g,l&&d);let p=null;if(t!==void 0)p=b(t);else if(i)p=b(s.createElement(YC,{spin:!0}));else{const g=`${c}-suffix`;p=y=>{let{open:C,showSearch:$}=y;return b(C&&$?s.createElement(p4,{className:g}):s.createElement(d4,{className:g}))}}let S=null;r!==void 0?S=r:a?S=s.createElement(qx,null):S=null;let v=null;return o!==void 0?v=o:v=s.createElement(Uu,null),{clearIcon:h,suffixIcon:p,itemIcon:S,removeIcon:v}}function y4(e,t){return t!==void 0?t:e!==null}var b4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n;const{prefixCls:r,bordered:o,className:i,rootClassName:a,getPopupContainer:l,popupClassName:c,dropdownClassName:u,listHeight:d=256,placement:f,listItemHeight:m,size:h,disabled:b,notFoundContent:p,status:S,builtinPlacements:v,dropdownMatchSelectWidth:g,popupMatchSelectWidth:y,direction:C,style:$,allowClear:x,variant:w,dropdownStyle:E,transitionName:O,tagRender:P,maxCount:M}=e,N=b4(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:I,getPrefixCls:z,renderEmpty:j,direction:_,virtual:T,popupMatchSelectWidth:R,popupOverflow:L,select:A}=s.useContext(qe),[,F]=Tn(),H=m??(F==null?void 0:F.controlHeight),K=z("select",r),X=z(),q=C??_,{compactSize:oe,compactItemClassnames:J}=nx(K,q),[ee,re]=Ux(w,o),Q=yi(K),[G,se,le]=n4(K,Q),te=s.useMemo(()=>{const{mode:We}=e;if(We!=="combobox")return We===Xx?"combobox":We},[e.mode]),Y=te==="multiple"||te==="tags",ge=y4(e.suffixIcon,e.showArrow),ue=(n=y??g)!==null&&n!==void 0?n:R,{status:ie,hasFeedback:Z,isFormItemInput:de,feedbackIcon:ce}=s.useContext(Cx),me=Hx(ie,S);let fe;p!==void 0?fe=p:te==="combobox"?fe=null:fe=(j==null?void 0:j("Select"))||s.createElement(Wx,{componentName:"Select"});const{suffixIcon:be,itemIcon:_e,removeIcon:Ee,clearIcon:Xe}=h4(Object.assign(Object.assign({},N),{multiple:Y,hasFeedback:Z,feedbackIcon:ce,showSuffixIcon:ge,prefixCls:K,componentName:"Select"})),Oe=x===!0?{clearIcon:Xe}:x,ye=Dn(N,["suffixIcon","itemIcon"]),$e=U(c||u,{[`${K}-dropdown-${q}`]:q==="rtl"},a,le,Q,se),xe=Bo(We=>{var ae;return(ae=h??oe)!==null&&ae!==void 0?ae:We}),Ye=s.useContext(Hu),rt=b??Ye,et=U({[`${K}-lg`]:xe==="large",[`${K}-sm`]:xe==="small",[`${K}-rtl`]:q==="rtl",[`${K}-${ee}`]:re,[`${K}-in-form-item`]:de},Dx(K,me,Z),J,A==null?void 0:A.className,i,a,le,Q,se),at=s.useMemo(()=>f!==void 0?f:q==="rtl"?"bottomRight":"bottomLeft",[f,q]),[Qe]=Gu("SelectLike",E==null?void 0:E.zIndex);return G(s.createElement(Zg,Object.assign({ref:t,virtual:T,showSearch:A==null?void 0:A.showSearch},ye,{style:Object.assign(Object.assign({},A==null?void 0:A.style),$),dropdownMatchSelectWidth:ue,transitionName:di(X,"slide-up",O),builtinPlacements:Bz(v,L),listHeight:d,listItemHeight:H,mode:te,prefixCls:K,placement:at,direction:q,suffixIcon:be,menuItemSelectedIcon:_e,removeIcon:Ee,allowClear:Oe,notFoundContent:fe,className:et,getPopupContainer:l||I,dropdownClassName:$e,disabled:rt,dropdownStyle:Object.assign(Object.assign({},E),{zIndex:Qe}),maxCount:Y?M:void 0,tagRender:Y?P:void 0})))},Ma=s.forwardRef(S4),C4=JN(Ma);Ma.SECRET_COMBOBOX_MODE_DO_NOT_USE=Xx;Ma.Option=Qg;Ma.OptGroup=Yg;Ma._InternalPanelDoNotUseOrYouWillBeFired=C4;const Zu=Ma,fi=["xxl","xl","lg","md","sm","xs"],x4=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),w4=e=>{const t=e,n=[].concat(fi).reverse();return n.forEach((r,o)=>{const i=r.toUpperCase(),a=`screen${i}Min`,l=`screen${i}`;if(!(t[a]<=t[l]))throw new Error(`${a}<=${l} fails : !(${t[a]}<=${t[l]})`);if(o{const n=new Map;let r=-1,o={};return{matchHandlers:{},dispatch(i){return o=i,n.forEach(a=>a(o)),n.size>=1},subscribe(i){return n.size||this.register(),r+=1,n.set(r,i),i(o),r},unsubscribe(i){n.delete(i),n.size||this.unregister()},unregister(){Object.keys(t).forEach(i=>{const a=t[i],l=this.matchHandlers[a];l==null||l.mql.removeListener(l==null?void 0:l.listener)}),n.clear()},register(){Object.keys(t).forEach(i=>{const a=t[i],l=u=>{let{matches:d}=u;this.dispatch(Object.assign(Object.assign({},o),{[i]:d}))},c=window.matchMedia(a);c.addListener(l),this.matchHandlers[a]={mql:c,listener:l},l(c)})},responsiveMap:t}},[e])}function $4(){const[,e]=s.useReducer(t=>t+1,0);return e}function Qx(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=s.useRef({}),n=$4(),r=Yx();return Mt(()=>{const o=r.subscribe(i=>{t.current=i,e&&n()});return()=>r.unsubscribe(o)},[]),t.current}function Zx(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,i=e.className,a=e.style;return s.createElement("div",{className:U("".concat(n,"-content"),i),style:a},s.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},typeof t=="function"?t():t))}var Mi={shiftX:64,adjustY:1},Ti={adjustX:1,shiftY:!0},cr=[0,0],E4={left:{points:["cr","cl"],overflow:Ti,offset:[-4,0],targetOffset:cr},right:{points:["cl","cr"],overflow:Ti,offset:[4,0],targetOffset:cr},top:{points:["bc","tc"],overflow:Mi,offset:[0,-4],targetOffset:cr},bottom:{points:["tc","bc"],overflow:Mi,offset:[0,4],targetOffset:cr},topLeft:{points:["bl","tl"],overflow:Mi,offset:[0,-4],targetOffset:cr},leftTop:{points:["tr","tl"],overflow:Ti,offset:[-4,0],targetOffset:cr},topRight:{points:["br","tr"],overflow:Mi,offset:[0,-4],targetOffset:cr},rightTop:{points:["tl","tr"],overflow:Ti,offset:[4,0],targetOffset:cr},bottomRight:{points:["tr","br"],overflow:Mi,offset:[0,4],targetOffset:cr},rightBottom:{points:["bl","br"],overflow:Ti,offset:[4,0],targetOffset:cr},bottomLeft:{points:["tl","bl"],overflow:Mi,offset:[0,4],targetOffset:cr},leftBottom:{points:["br","bl"],overflow:Ti,offset:[-4,0],targetOffset:cr}},O4=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],R4=function(t,n){var r=t.overlayClassName,o=t.trigger,i=o===void 0?["hover"]:o,a=t.mouseEnterDelay,l=a===void 0?0:a,c=t.mouseLeaveDelay,u=c===void 0?.1:c,d=t.overlayStyle,f=t.prefixCls,m=f===void 0?"rc-tooltip":f,h=t.children,b=t.onVisibleChange,p=t.afterVisibleChange,S=t.transitionName,v=t.animation,g=t.motion,y=t.placement,C=y===void 0?"right":y,$=t.align,x=$===void 0?{}:$,w=t.destroyTooltipOnHide,E=w===void 0?!1:w,O=t.defaultVisible,P=t.getTooltipContainer,M=t.overlayInnerStyle;t.arrowContent;var N=t.overlay,I=t.id,z=t.showArrow,j=z===void 0?!0:z,_=Je(t,O4),T=s.useRef(null);s.useImperativeHandle(n,function(){return T.current});var R=D({},_);"visible"in t&&(R.popupVisible=t.visible);var L=function(){return s.createElement(Zx,{key:"content",prefixCls:m,id:I,overlayInnerStyle:M},N)};return s.createElement(Qu,ve({popupClassName:r,prefixCls:m,popup:L,action:i,builtinPlacements:E4,popupPlacement:C,ref:T,popupAlign:x,getPopupContainer:P,onPopupVisibleChange:b,afterPopupVisibleChange:p,popupTransitionName:S,popupAnimation:v,popupMotion:g,defaultPopupVisible:O,autoDestroy:E,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:l,arrow:j},R),h)};const I4=s.forwardRef(R4);function P4(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,i=0,a=o,l=r*1/Math.sqrt(2),c=o-r*(1-1/Math.sqrt(2)),u=o-n*(1/Math.sqrt(2)),d=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),f=2*o-u,m=d,h=2*o-l,b=c,p=2*o-i,S=a,v=o*Math.sqrt(2)+r*(Math.sqrt(2)-2),g=r*(Math.sqrt(2)-1),y=`polygon(${g}px 100%, 50% ${g}px, ${2*o-g}px 100%, ${g}px 100%)`,C=`path('M ${i} ${a} A ${r} ${r} 0 0 0 ${l} ${c} L ${u} ${d} A ${n} ${n} 0 0 1 ${f} ${m} L ${h} ${b} A ${r} ${r} 0 0 0 ${p} ${S} Z')`;return{arrowShadowWidth:v,arrowPath:C,arrowPolygon:y}}const M4=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:o,arrowPath:i,arrowShadowWidth:a,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${k(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},Jx=8;function ew(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?Jx:r}}function Gs(e,t){return e?t:{}}function T4(e,t,n){const{componentCls:r,boxShadowPopoverArrow:o,arrowOffsetVertical:i,arrowOffsetHorizontal:a}=e,{arrowDistance:l=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},M4(e,t,o)),{"&:before":{background:t}})]},Gs(!!c.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${r}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-topRight > ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}})),Gs(!!c.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft > ${r}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-bottomRight > ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}})),Gs(!!c.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:i},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:i}})),Gs(!!c.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:i},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:i}}))}}function N4(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const o=r&&typeof r=="object"?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.arrowOffsetHorizontal*2+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.arrowOffsetVertical*2+n,i.shiftX=!0,i.adjustX=!0;break}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}const ly={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"]}},_4={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"]}},z4=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function L4(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:i,visibleFirst:a}=e,l=t/2,c={};return Object.keys(ly).forEach(u=>{const d=r&&_4[u]||ly[u],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(c[u]=f,z4.has(u)&&(f.autoArrow=!1),u){case"top":case"topLeft":case"topRight":f.offset[1]=-l-o;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=l+o;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-l-o;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=l+o;break}const m=ew({contentRadius:i,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":f.offset[0]=-m.arrowOffsetHorizontal-l;break;case"topRight":case"bottomRight":f.offset[0]=m.arrowOffsetHorizontal+l;break;case"leftTop":case"rightTop":f.offset[1]=-m.arrowOffsetHorizontal-l;break;case"leftBottom":case"rightBottom":f.offset[1]=m.arrowOffsetHorizontal+l;break}f.overflow=N4(u,m,t,n),a&&(f.htmlRegion="visibleFirst")}),c}const j4=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:l,boxShadowSecondary:c,paddingSM:u,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},gn(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${k(e.calc(u).div(2).equal())} ${k(d)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,Jx)}},[`${t}-content`]:{position:"relative"}}),Ag(e,(f,m)=>{let{darkColor:h}=m;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:h},[`${t}-arrow`]:{"--antd-arrow-background-color":h}}}})),{"&-rtl":{direction:"rtl"}})},T4(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},A4=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},ew({contentRadius:e.borderRadius,limitVerticalRadius:!0})),P4(Ot(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),tw=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Yt("Tooltip",r=>{const{borderRadius:o,colorTextLightSolid:i,colorBgSpotlight:a}=r,l=Ot(r,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:o,tooltipBg:a});return[j4(l),Kg(r,"zoom-big-fast")]},A4,{resetStyle:!1,injectStyle:t})(e)},F4=Zc.map(e=>`${e}-inverse`);function ep(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(Te(F4),Te(Zc)).includes(e):Zc.includes(e)}function nw(e,t){const n=ep(t),r=U({[`${e}-${t}`]:t&&n}),o={},i={};return t&&!n&&(o.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:i}}const B4=e=>{const{prefixCls:t,className:n,placement:r="top",title:o,color:i,overlayInnerStyle:a}=e,{getPrefixCls:l}=s.useContext(qe),c=l("tooltip",t),[u,d,f]=tw(c),m=nw(c,i),h=m.arrowStyle,b=Object.assign(Object.assign({},a),m.overlayStyle),p=U(d,f,c,`${c}-pure`,`${c}-placement-${r}`,n,m.className);return u(s.createElement("div",{className:p,style:h},s.createElement("div",{className:`${c}-arrow`}),s.createElement(Zx,Object.assign({},e,{className:d,prefixCls:c,overlayInnerStyle:b}),o)))},D4=B4;var H4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r;const{prefixCls:o,openClassName:i,getTooltipContainer:a,overlayClassName:l,color:c,overlayInnerStyle:u,children:d,afterOpenChange:f,afterVisibleChange:m,destroyTooltipOnHide:h,arrow:b=!0,title:p,overlay:S,builtinPlacements:v,arrowPointAtCenter:g=!1,autoAdjustOverflow:y=!0}=e,C=!!b,[,$]=Tn(),{getPopupContainer:x,getPrefixCls:w,direction:E}=s.useContext(qe),O=lC(),P=s.useRef(null),M=()=>{var fe;(fe=P.current)===null||fe===void 0||fe.forceAlign()};s.useImperativeHandle(t,()=>({forceAlign:M,forcePopupAlign:()=>{O.deprecated(!1,"forcePopupAlign","forceAlign"),M()}}));const[N,I]=nn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),z=!p&&!S&&p!==0,j=fe=>{var be,_e;I(z?!1:fe),z||((be=e.onOpenChange)===null||be===void 0||be.call(e,fe),(_e=e.onVisibleChange)===null||_e===void 0||_e.call(e,fe))},_=s.useMemo(()=>{var fe,be;let _e=g;return typeof b=="object"&&(_e=(be=(fe=b.pointAtCenter)!==null&&fe!==void 0?fe:b.arrowPointAtCenter)!==null&&be!==void 0?be:g),v||L4({arrowPointAtCenter:_e,autoAdjustOverflow:y,arrowWidth:C?$.sizePopupArrow:0,borderRadius:$.borderRadius,offset:$.marginXXS,visibleFirst:!0})},[g,b,v,$]),T=s.useMemo(()=>p===0?p:S||p||"",[S,p]),R=s.createElement($M,null,typeof T=="function"?T():T),{getPopupContainer:L,placement:A="top",mouseEnterDelay:F=.1,mouseLeaveDelay:H=.1,overlayStyle:K,rootClassName:X}=e,q=H4(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),oe=w("tooltip",o),J=w(),ee=e["data-popover-inject"];let re=N;!("open"in e)&&!("visible"in e)&&z&&(re=!1);const Q=s.isValidElement(d)&&!qC(d)?d:s.createElement("span",null,d),G=Q.props,se=!G.className||typeof G.className=="string"?U(G.className,i||`${oe}-open`):G.className,[le,te,Y]=tw(oe,!ee),ge=nw(oe,c),ue=ge.arrowStyle,ie=Object.assign(Object.assign({},u),ge.overlayStyle),Z=U(l,{[`${oe}-rtl`]:E==="rtl"},ge.className,X,te,Y),[de,ce]=Gu("Tooltip",q.zIndex),me=s.createElement(I4,Object.assign({},q,{zIndex:de,showArrow:C,placement:A,mouseEnterDelay:F,mouseLeaveDelay:H,prefixCls:oe,overlayClassName:Z,overlayStyle:Object.assign(Object.assign({},ue),K),getTooltipContainer:L||a||x,ref:P,builtinPlacements:_,overlay:R,visible:re,onVisibleChange:j,afterVisibleChange:f??m,overlayInnerStyle:ie,arrowContent:s.createElement("span",{className:`${oe}-arrow-content`}),motion:{motionName:di(J,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!h}),re?io(Q,{className:se}):Q);return le(s.createElement(QC.Provider,{value:ce},me))});rw._InternalPanelDoNotUseOrYouWillBeFired=D4;const Ju=rw;var k4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"};const V4=k4;var W4=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:V4}))},U4=s.forwardRef(W4);const G4=U4,K4=new ut("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),q4=new ut("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),X4=new ut("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),Y4=new ut("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),Q4=new ut("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),Z4=new ut("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),J4=e=>{const{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:o,motionDurationSlow:i,textFontSize:a,textFontSizeSM:l,statusSize:c,dotSize:u,textFontWeight:d,indicatorHeight:f,indicatorHeightSM:m,marginXS:h,calc:b}=e,p=`${r}-scroll-number`,S=Ag(e,(v,g)=>{let{darkColor:y}=g;return{[`&${t} ${t}-color-${v}`]:{background:y,[`&:not(${t}-count)`]:{color:y}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},gn(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.indicatorZIndex,minWidth:f,height:f,color:e.badgeTextColor,fontWeight:d,fontSize:a,lineHeight:k(f),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:b(f).div(2).equal(),boxShadow:`0 0 0 ${k(o)} ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:m,height:m,fontSize:l,lineHeight:k(m),borderRadius:b(m).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${k(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:u,minWidth:u,height:u,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${k(o)} ${e.badgeShadowColor}`},[`${t}-dot${p}`]:{transition:`background ${i}`},[`${t}-count, ${t}-dot, ${p}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:Z4,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:c,height:c,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:K4,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:h,color:e.colorText,fontSize:e.fontSize}}}),S),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:q4,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:X4,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:Y4,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:Q4,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${p}-custom-component, ${t}-count`]:{transform:"none"},[`${p}-custom-component, ${p}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${p}`]:{overflow:"hidden",[`${p}-only`]:{position:"relative",display:"inline-block",height:f,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${p}-only-unit`]:{height:f,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${p}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${p}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},ow=e=>{const{fontHeight:t,lineWidth:n,marginXS:r,colorBorderBg:o}=e,i=t,a=n,l=e.colorBgContainer,c=e.colorError,u=e.colorErrorHover;return Ot(e,{badgeFontHeight:i,badgeShadowSize:a,badgeTextColor:l,badgeColor:c,badgeColorHover:u,badgeShadowColor:o,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},iw=e=>{const{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:o}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*o,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}},e3=Yt("Badge",e=>{const t=ow(e);return J4(t)},iw),t3=e=>{const{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:o,calc:i}=e,a=`${t}-ribbon`,l=`${t}-ribbon-wrapper`,c=Ag(e,(u,d)=>{let{darkColor:f}=d;return{[`&${a}-color-${u}`]:{background:f,color:f}}});return{[`${l}`]:{position:"relative"},[`${a}`]:Object.assign(Object.assign(Object.assign(Object.assign({},gn(e)),{position:"absolute",top:r,padding:`0 ${k(e.paddingXS)}`,color:e.colorPrimary,lineHeight:k(n),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${a}-text`]:{color:e.colorTextLightSolid},[`${a}-corner`]:{position:"absolute",top:"100%",width:o,height:o,color:"currentcolor",border:`${k(i(o).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),c),{[`&${a}-placement-end`]:{insetInlineEnd:i(o).mul(-1).equal(),borderEndEndRadius:0,[`${a}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a}-placement-start`]:{insetInlineStart:i(o).mul(-1).equal(),borderEndStartRadius:0,[`${a}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},n3=Yt(["Badge","Ribbon"],e=>{const t=ow(e);return t3(t)},iw),r3=e=>{const{className:t,prefixCls:n,style:r,color:o,children:i,text:a,placement:l="end",rootClassName:c}=e,{getPrefixCls:u,direction:d}=s.useContext(qe),f=u("ribbon",n),m=`${f}-wrapper`,[h,b,p]=n3(f,m),S=ep(o,!1),v=U(f,`${f}-placement-${l}`,{[`${f}-rtl`]:d==="rtl",[`${f}-color-${o}`]:S},t),g={},y={};return o&&!S&&(g.background=o,y.color=o),h(s.createElement("div",{className:U(m,c,b,p)},i,s.createElement("div",{className:U(v,b),style:Object.assign(Object.assign({},g),r)},s.createElement("span",{className:`${f}-text`},a),s.createElement("div",{className:`${f}-corner`,style:y}))))},o3=r3;function sy(e){let{prefixCls:t,value:n,current:r,offset:o=0}=e,i;return o&&(i={position:"absolute",top:`${o}00%`,left:0}),s.createElement("span",{style:i,className:U(`${t}-only-unit`,{current:r})},n)}function i3(e,t,n){let r=e,o=0;for(;(r+10)%10!==t;)r+=n,o+=n;return o}function a3(e){const{prefixCls:t,count:n,value:r}=e,o=Number(r),i=Math.abs(n),[a,l]=s.useState(o),[c,u]=s.useState(i),d=()=>{l(o),u(i)};s.useEffect(()=>{const h=setTimeout(()=>{d()},1e3);return()=>{clearTimeout(h)}},[o]);let f,m;if(a===o||Number.isNaN(o)||Number.isNaN(a))f=[s.createElement(sy,Object.assign({},e,{key:o,current:!0}))],m={transition:"none"};else{f=[];const h=o+10,b=[];for(let v=o;v<=h;v+=1)b.push(v);const p=b.findIndex(v=>v%10===a);f=b.map((v,g)=>{const y=v%10;return s.createElement(sy,Object.assign({},e,{key:v,value:y,offset:g-p,current:g===p}))});const S=c{const{prefixCls:n,count:r,className:o,motionClassName:i,style:a,title:l,show:c,component:u="sup",children:d}=e,f=l3(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:m}=s.useContext(qe),h=m("scroll-number",n),b=Object.assign(Object.assign({},f),{"data-show":c,style:a,className:U(h,o,i),title:l});let p=r;if(r&&Number(r)%1===0){const S=String(r).split("");p=s.createElement("bdi",null,S.map((v,g)=>s.createElement(a3,{prefixCls:h,count:Number(r),value:v,key:S.length-g})))}return a&&a.borderColor&&(b.style=Object.assign(Object.assign({},a),{boxShadow:`0 0 0 1px ${a.borderColor} inset`})),d?io(d,S=>({className:U(`${h}-custom-component`,S==null?void 0:S.className,i)})):s.createElement(u,Object.assign({},b,{ref:t}),p)}),c3=s3;var u3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r,o,i,a;const{prefixCls:l,scrollNumberPrefixCls:c,children:u,status:d,text:f,color:m,count:h=null,overflowCount:b=99,dot:p=!1,size:S="default",title:v,offset:g,style:y,className:C,rootClassName:$,classNames:x,styles:w,showZero:E=!1}=e,O=u3(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:P,direction:M,badge:N}=s.useContext(qe),I=P("badge",l),[z,j,_]=e3(I),T=h>b?`${b}+`:h,R=T==="0"||T===0,L=h===null||R&&!E,A=(d!=null||m!=null)&&L,F=p&&!R,H=F?"":T,K=s.useMemo(()=>(H==null||H===""||R&&!E)&&!F,[H,R,E,F]),X=s.useRef(h);K||(X.current=h);const q=X.current,oe=s.useRef(H);K||(oe.current=H);const J=oe.current,ee=s.useRef(F);K||(ee.current=F);const re=s.useMemo(()=>{if(!g)return Object.assign(Object.assign({},N==null?void 0:N.style),y);const ue={marginTop:g[1]};return M==="rtl"?ue.left=parseInt(g[0],10):ue.right=-parseInt(g[0],10),Object.assign(Object.assign(Object.assign({},ue),N==null?void 0:N.style),y)},[M,g,y,N==null?void 0:N.style]),Q=v??(typeof q=="string"||typeof q=="number"?q:void 0),G=K||!f?null:s.createElement("span",{className:`${I}-status-text`},f),se=!q||typeof q!="object"?void 0:io(q,ue=>({style:Object.assign(Object.assign({},re),ue.style)})),le=ep(m,!1),te=U(x==null?void 0:x.indicator,(n=N==null?void 0:N.classNames)===null||n===void 0?void 0:n.indicator,{[`${I}-status-dot`]:A,[`${I}-status-${d}`]:!!d,[`${I}-color-${m}`]:le}),Y={};m&&!le&&(Y.color=m,Y.background=m);const ge=U(I,{[`${I}-status`]:A,[`${I}-not-a-wrapper`]:!u,[`${I}-rtl`]:M==="rtl"},C,$,N==null?void 0:N.className,(r=N==null?void 0:N.classNames)===null||r===void 0?void 0:r.root,x==null?void 0:x.root,j,_);if(!u&&A){const ue=re.color;return z(s.createElement("span",Object.assign({},O,{className:ge,style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.root),(o=N==null?void 0:N.styles)===null||o===void 0?void 0:o.root),re)}),s.createElement("span",{className:te,style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.indicator),(i=N==null?void 0:N.styles)===null||i===void 0?void 0:i.indicator),Y)}),f&&s.createElement("span",{style:{color:ue},className:`${I}-status-text`},f)))}return z(s.createElement("span",Object.assign({ref:t},O,{className:ge,style:Object.assign(Object.assign({},(a=N==null?void 0:N.styles)===null||a===void 0?void 0:a.root),w==null?void 0:w.root)}),u,s.createElement(lr,{visible:!K,motionName:`${I}-zoom`,motionAppear:!1,motionDeadline:1e3},ue=>{let{className:ie,ref:Z}=ue;var de,ce;const me=P("scroll-number",c),fe=ee.current,be=U(x==null?void 0:x.indicator,(de=N==null?void 0:N.classNames)===null||de===void 0?void 0:de.indicator,{[`${I}-dot`]:fe,[`${I}-count`]:!fe,[`${I}-count-sm`]:S==="small",[`${I}-multiple-words`]:!fe&&J&&J.toString().length>1,[`${I}-status-${d}`]:!!d,[`${I}-color-${m}`]:le});let _e=Object.assign(Object.assign(Object.assign({},w==null?void 0:w.indicator),(ce=N==null?void 0:N.styles)===null||ce===void 0?void 0:ce.indicator),re);return m&&!le&&(_e=_e||{},_e.background=m),s.createElement(c3,{prefixCls:me,show:!K,motionClassName:ie,className:be,count:J,title:Q,style:_e,key:"scrollNumber",ref:Z},se)}),G))},aw=s.forwardRef(d3);aw.Ribbon=o3;const f3=aw;var m3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const v3=m3;var g3=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:v3}))},p3=s.forwardRef(g3);const Vl=p3;var h3=ne.ESC,y3=ne.TAB;function b3(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,a=s.useRef(!1),l=function(){if(t){var f,m;(f=n.current)===null||f===void 0||(m=f.focus)===null||m===void 0||m.call(f),r==null||r(!1)}},c=function(){var f;return(f=i.current)!==null&&f!==void 0&&f.focus?(i.current.focus(),a.current=!0,!0):!1},u=function(f){switch(f.keyCode){case h3:l();break;case y3:{var m=!1;a.current||(m=c()),m?f.preventDefault():l();break}}};s.useEffect(function(){return t?(window.addEventListener("keydown",u),o&&Ct(c,3),function(){window.removeEventListener("keydown",u),a.current=!1}):function(){a.current=!1}},[t])}var S3=s.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=s.useMemo(function(){var l;return typeof n=="function"?l=n():l=n,l},[n]),a=so(t,i==null?void 0:i.ref);return V.createElement(V.Fragment,null,r&&V.createElement("div",{className:"".concat(o,"-arrow")}),V.cloneElement(i,{ref:pi(i)?a:void 0}))}),Ni={adjustX:1,adjustY:1},_i=[0,0],C3={topLeft:{points:["bl","tl"],overflow:Ni,offset:[0,-4],targetOffset:_i},top:{points:["bc","tc"],overflow:Ni,offset:[0,-4],targetOffset:_i},topRight:{points:["br","tr"],overflow:Ni,offset:[0,-4],targetOffset:_i},bottomLeft:{points:["tl","bl"],overflow:Ni,offset:[0,4],targetOffset:_i},bottom:{points:["tc","bc"],overflow:Ni,offset:[0,4],targetOffset:_i},bottomRight:{points:["tr","br"],overflow:Ni,offset:[0,4],targetOffset:_i}},x3=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function w3(e,t){var n,r=e.arrow,o=r===void 0?!1:r,i=e.prefixCls,a=i===void 0?"rc-dropdown":i,l=e.transitionName,c=e.animation,u=e.align,d=e.placement,f=d===void 0?"bottomLeft":d,m=e.placements,h=m===void 0?C3:m,b=e.getPopupContainer,p=e.showAction,S=e.hideAction,v=e.overlayClassName,g=e.overlayStyle,y=e.visible,C=e.trigger,$=C===void 0?["hover"]:C,x=e.autoFocus,w=e.overlay,E=e.children,O=e.onVisibleChange,P=Je(e,x3),M=V.useState(),N=W(M,2),I=N[0],z=N[1],j="visible"in e?y:I,_=V.useRef(null),T=V.useRef(null),R=V.useRef(null);V.useImperativeHandle(t,function(){return _.current});var L=function(ee){z(ee),O==null||O(ee)};b3({visible:j,triggerRef:R,onVisibleChange:L,autoFocus:x,overlayRef:T});var A=function(ee){var re=e.onOverlayClick;z(!1),re&&re(ee)},F=function(){return V.createElement(S3,{ref:T,overlay:w,prefixCls:a,arrow:o})},H=function(){return typeof w=="function"?F:F()},K=function(){var ee=e.minOverlayWidthMatchTrigger,re=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?ee:!re},X=function(){var ee=e.openClassName;return ee!==void 0?ee:"".concat(a,"-open")},q=V.cloneElement(E,{className:U((n=E.props)===null||n===void 0?void 0:n.className,j&&X()),ref:pi(E)?so(R,E.ref):void 0}),oe=S;return!oe&&$.indexOf("contextMenu")!==-1&&(oe=["click"]),V.createElement(Qu,ve({builtinPlacements:h},P,{prefixCls:a,ref:_,popupClassName:U(v,B({},"".concat(a,"-show-arrow"),o)),popupStyle:g,action:$,showAction:p,hideAction:oe,popupPlacement:f,popupAlign:u,popupTransitionName:l,popupAnimation:c,popupVisible:j,stretch:K()?"minWidth":"",popup:H(),onPopupVisibleChange:L,onPopupClick:A,getPopupContainer:b}),q)}const $3=V.forwardRef(w3);var lw=s.createContext(null);function sw(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function cw(e){var t=s.useContext(lw);return sw(t,e)}var E3=["children","locked"],_r=s.createContext(null);function O3(e,t){var n=D({},e);return Object.keys(t).forEach(function(r){var o=t[r];o!==void 0&&(n[r]=o)}),n}function Wl(e){var t=e.children,n=e.locked,r=Je(e,E3),o=s.useContext(_r),i=es(function(){return O3(o,r)},[o,r],function(a,l){return!n&&(a[0]!==l[0]||!ns(a[1],l[1],!0))});return s.createElement(_r.Provider,{value:i},t)}var R3=[],uw=s.createContext(null);function ed(){return s.useContext(uw)}var dw=s.createContext(R3);function ds(e){var t=s.useContext(dw);return s.useMemo(function(){return e!==void 0?[].concat(Te(t),[e]):t},[t,e])}var fw=s.createContext(null),tp=s.createContext({});function cy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Dg(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null;return o&&!Number.isNaN(i)?a=i:r&&a===null&&(a=0),r&&e.disabled&&(a=null),a!==null&&(a>=0||t&&a<0)}return!1}function I3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Te(e.querySelectorAll("*")).filter(function(r){return cy(r,t)});return cy(e,t)&&n.unshift(e),n}var mv=ne.LEFT,vv=ne.RIGHT,gv=ne.UP,hc=ne.DOWN,yc=ne.ENTER,mw=ne.ESC,qa=ne.HOME,Xa=ne.END,uy=[gv,hc,mv,vv];function P3(e,t,n,r){var o,i="prev",a="next",l="children",c="parent";if(e==="inline"&&r===yc)return{inlineTrigger:!0};var u=B(B({},gv,i),hc,a),d=B(B(B(B({},mv,n?a:i),vv,n?i:a),hc,l),yc,l),f=B(B(B(B(B(B({},gv,i),hc,a),yc,l),mw,c),mv,n?l:c),vv,n?c:l),m={inline:u,horizontal:d,vertical:f,inlineSub:u,horizontalSub:f,verticalSub:f},h=(o=m["".concat(e).concat(t?"":"Sub")])===null||o===void 0?void 0:o[r];switch(h){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case c:return{offset:-1,sibling:!1};case l:return{offset:1,sibling:!1};default:return null}}function M3(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function T3(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function np(e,t){var n=I3(e,!0);return n.filter(function(r){return t.has(r)})}function dy(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=np(e,t),i=o.length,a=o.findIndex(function(l){return n===l});return r<0?a===-1?a=i-1:a-=1:r>0&&(a+=1),a=(a+i)%i,o[a]}var pv=function(t,n){var r=new Set,o=new Map,i=new Map;return t.forEach(function(a){var l=document.querySelector("[data-menu-id='".concat(sw(n,a),"']"));l&&(r.add(l),i.set(l,a),o.set(a,l))}),{elements:r,key2element:o,element2key:i}};function N3(e,t,n,r,o,i,a,l,c,u){var d=s.useRef(),f=s.useRef();f.current=t;var m=function(){Ct.cancel(d.current)};return s.useEffect(function(){return function(){m()}},[]),function(h){var b=h.which;if([].concat(uy,[yc,mw,qa,Xa]).includes(b)){var p=i(),S=pv(p,r),v=S,g=v.elements,y=v.key2element,C=v.element2key,$=y.get(t),x=T3($,g),w=C.get(x),E=P3(e,a(w,!0).length===1,n,b);if(!E&&b!==qa&&b!==Xa)return;(uy.includes(b)||[qa,Xa].includes(b))&&h.preventDefault();var O=function(T){if(T){var R=T,L=T.querySelector("a");L!=null&&L.getAttribute("href")&&(R=L);var A=C.get(T);l(A),m(),d.current=Ct(function(){f.current===A&&R.focus()})}};if([qa,Xa].includes(b)||E.sibling||!x){var P;!x||e==="inline"?P=o.current:P=M3(x);var M,N=np(P,g);b===qa?M=N[0]:b===Xa?M=N[N.length-1]:M=dy(P,g,x,E.offset),O(M)}else if(E.inlineTrigger)c(w);else if(E.offset>0)c(w,!0),m(),d.current=Ct(function(){S=pv(p,r);var _=x.getAttribute("aria-controls"),T=document.getElementById(_),R=dy(T,S.elements);O(R)},5);else if(E.offset<0){var I=a(w,!0),z=I[I.length-2],j=y.get(z);c(z,!1),O(j)}}u==null||u(h)}}function _3(e){Promise.resolve().then(e)}var rp="__RC_UTIL_PATH_SPLIT__",fy=function(t){return t.join(rp)},z3=function(t){return t.split(rp)},hv="rc-menu-more";function L3(){var e=s.useState({}),t=W(e,2),n=t[1],r=s.useRef(new Map),o=s.useRef(new Map),i=s.useState([]),a=W(i,2),l=a[0],c=a[1],u=s.useRef(0),d=s.useRef(!1),f=function(){d.current||n({})},m=s.useCallback(function(y,C){var $=fy(C);o.current.set($,y),r.current.set(y,$),u.current+=1;var x=u.current;_3(function(){x===u.current&&f()})},[]),h=s.useCallback(function(y,C){var $=fy(C);o.current.delete($),r.current.delete(y)},[]),b=s.useCallback(function(y){c(y)},[]),p=s.useCallback(function(y,C){var $=r.current.get(y)||"",x=z3($);return C&&l.includes(x[0])&&x.unshift(hv),x},[l]),S=s.useCallback(function(y,C){return y.some(function($){var x=p($,!0);return x.includes(C)})},[p]),v=function(){var C=Te(r.current.keys());return l.length&&C.push(hv),C},g=s.useCallback(function(y){var C="".concat(r.current.get(y)).concat(rp),$=new Set;return Te(o.current.keys()).forEach(function(x){x.startsWith(C)&&$.add(o.current.get(x))}),$},[]);return s.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:m,unregisterPath:h,refreshOverflowKeys:b,isSubPathKey:S,getKeyPath:p,getKeys:v,getSubPathKeys:g}}function nl(e){var t=s.useRef(e);t.current=e;var n=s.useCallback(function(){for(var r,o=arguments.length,i=new Array(o),a=0;a1&&(g.motionAppear=!1);var y=g.onVisibleChanged;return g.onVisibleChanged=function(C){return!m.current&&!C&&S(!0),y==null?void 0:y(C)},p?null:s.createElement(Wl,{mode:i,locked:!m.current},s.createElement(lr,ve({visible:v},g,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),function(C){var $=C.className,x=C.style;return s.createElement(op,{id:t,className:$,style:x},o)}))}var Z3=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],J3=["active"],eL=function(t){var n=t.style,r=t.className,o=t.title,i=t.eventKey;t.warnKey;var a=t.disabled,l=t.internalPopupClose,c=t.children,u=t.itemIcon,d=t.expandIcon,f=t.popupClassName,m=t.popupOffset,h=t.popupStyle,b=t.onClick,p=t.onMouseEnter,S=t.onMouseLeave,v=t.onTitleClick,g=t.onTitleMouseEnter,y=t.onTitleMouseLeave,C=Je(t,Z3),$=cw(i),x=s.useContext(_r),w=x.prefixCls,E=x.mode,O=x.openKeys,P=x.disabled,M=x.overflowDisabled,N=x.activeKey,I=x.selectedKeys,z=x.itemIcon,j=x.expandIcon,_=x.onItemClick,T=x.onOpenChange,R=x.onActive,L=s.useContext(tp),A=L._internalRenderSubMenuItem,F=s.useContext(fw),H=F.isSubPathKey,K=ds(),X="".concat(w,"-submenu"),q=P||a,oe=s.useRef(),J=s.useRef(),ee=u??z,re=d??j,Q=O.includes(i),G=!M&&Q,se=H(I,i),le=vw(i,q,g,y),te=le.active,Y=Je(le,J3),ge=s.useState(!1),ue=W(ge,2),ie=ue[0],Z=ue[1],de=function(at){q||Z(at)},ce=function(at){de(!0),p==null||p({key:i,domEvent:at})},me=function(at){de(!1),S==null||S({key:i,domEvent:at})},fe=s.useMemo(function(){return te||(E!=="inline"?ie||H([N],i):!1)},[E,te,N,ie,i,H]),be=gw(K.length),_e=function(at){q||(v==null||v({key:i,domEvent:at}),E==="inline"&&T(i,!Q))},Ee=nl(function(et){b==null||b(au(et)),_(et)}),Xe=function(at){E!=="inline"&&T(i,at)},Oe=function(){R(i)},ye=$&&"".concat($,"-popup"),$e=s.createElement("div",ve({role:"menuitem",style:be,className:"".concat(X,"-title"),tabIndex:q?null:-1,ref:oe,title:typeof o=="string"?o:null,"data-menu-id":M&&$?null:$,"aria-expanded":G,"aria-haspopup":!0,"aria-controls":ye,"aria-disabled":q,onClick:_e,onFocus:Oe},Y),o,s.createElement(pw,{icon:E!=="horizontal"?re:void 0,props:D(D({},t),{},{isOpen:G,isSubMenu:!0})},s.createElement("i",{className:"".concat(X,"-arrow")}))),xe=s.useRef(E);if(E!=="inline"&&K.length>1?xe.current="vertical":xe.current=E,!M){var Ye=xe.current;$e=s.createElement(Y3,{mode:Ye,prefixCls:X,visible:!l&&G&&E!=="inline",popupClassName:f,popupOffset:m,popupStyle:h,popup:s.createElement(Wl,{mode:Ye==="horizontal"?"vertical":Ye},s.createElement(op,{id:ye,ref:J},c)),disabled:q,onVisibleChange:Xe},$e)}var rt=s.createElement(kr.Item,ve({role:"none"},C,{component:"li",style:n,className:U(X,"".concat(X,"-").concat(E),r,B(B(B(B({},"".concat(X,"-open"),G),"".concat(X,"-active"),fe),"".concat(X,"-selected"),se),"".concat(X,"-disabled"),q)),onMouseEnter:ce,onMouseLeave:me}),$e,!M&&s.createElement(Q3,{id:ye,open:G,keyPath:K},c));return A&&(rt=A(rt,t,{selected:se,active:fe,open:G,disabled:q})),s.createElement(Wl,{onItemClick:Ee,mode:E==="horizontal"?"vertical":E,itemIcon:ee,expandIcon:re},rt)};function ap(e){var t=e.eventKey,n=e.children,r=ds(t),o=ip(n,r),i=ed();s.useEffect(function(){if(i)return i.registerPath(t,r),function(){i.unregisterPath(t,r)}},[r]);var a;return i?a=o:a=s.createElement(eL,e,o),s.createElement(dw.Provider,{value:r},a)}var tL=["className","title","eventKey","children"],nL=["children"],rL=function(t){var n=t.className,r=t.title;t.eventKey;var o=t.children,i=Je(t,tL),a=s.useContext(_r),l=a.prefixCls,c="".concat(l,"-item-group");return s.createElement("li",ve({role:"presentation"},i,{onClick:function(d){return d.stopPropagation()},className:U(c,n)}),s.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:typeof r=="string"?r:void 0},r),s.createElement("ul",{role:"group",className:"".concat(c,"-list")},o))};function yw(e){var t=e.children,n=Je(e,nL),r=ds(n.eventKey),o=ip(t,r),i=ed();return i?o:s.createElement(rL,Dn(n,["warnKey"]),o)}function bw(e){var t=e.className,n=e.style,r=s.useContext(_r),o=r.prefixCls,i=ed();return i?null:s.createElement("li",{role:"separator",className:U("".concat(o,"-item-divider"),t),style:n})}var oL=["label","children","key","type"];function yv(e){return(e||[]).map(function(t,n){if(t&&nt(t)==="object"){var r=t,o=r.label,i=r.children,a=r.key,l=r.type,c=Je(r,oL),u=a??"tmp-".concat(n);return i||l==="group"?l==="group"?s.createElement(yw,ve({key:u},c,{title:o}),yv(i)):s.createElement(ap,ve({key:u},c,{title:o}),yv(i)):l==="divider"?s.createElement(bw,ve({key:u},c)):s.createElement(td,ve({key:u},c),o)}return null}).filter(function(t){return t})}function iL(e,t,n){var r=e;return t&&(r=yv(t)),ip(r,n)}var aL=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],zi=[],lL=s.forwardRef(function(e,t){var n,r=e,o=r.prefixCls,i=o===void 0?"rc-menu":o,a=r.rootClassName,l=r.style,c=r.className,u=r.tabIndex,d=u===void 0?0:u,f=r.items,m=r.children,h=r.direction,b=r.id,p=r.mode,S=p===void 0?"vertical":p,v=r.inlineCollapsed,g=r.disabled,y=r.disabledOverflow,C=r.subMenuOpenDelay,$=C===void 0?.1:C,x=r.subMenuCloseDelay,w=x===void 0?.1:x,E=r.forceSubMenuRender,O=r.defaultOpenKeys,P=r.openKeys,M=r.activeKey,N=r.defaultActiveFirst,I=r.selectable,z=I===void 0?!0:I,j=r.multiple,_=j===void 0?!1:j,T=r.defaultSelectedKeys,R=r.selectedKeys,L=r.onSelect,A=r.onDeselect,F=r.inlineIndent,H=F===void 0?24:F,K=r.motion,X=r.defaultMotions,q=r.triggerSubMenuAction,oe=q===void 0?"hover":q,J=r.builtinPlacements,ee=r.itemIcon,re=r.expandIcon,Q=r.overflowedIndicator,G=Q===void 0?"...":Q,se=r.overflowedIndicatorPopupClassName,le=r.getPopupContainer,te=r.onClick,Y=r.onOpenChange,ge=r.onKeyDown;r.openAnimation,r.openTransitionName;var ue=r._internalRenderMenuItem,ie=r._internalRenderSubMenuItem,Z=Je(r,aL),de=s.useMemo(function(){return iL(m,f,zi)},[m,f]),ce=s.useState(!1),me=W(ce,2),fe=me[0],be=me[1],_e=s.useRef(),Ee=A3(b),Xe=h==="rtl",Oe=nn(O,{value:P,postState:function(ct){return ct||zi}}),ye=W(Oe,2),$e=ye[0],xe=ye[1],Ye=function(ct){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function ke(){xe(ct),Y==null||Y(ct)}ze?zo.flushSync(ke):ke()},rt=s.useState($e),et=W(rt,2),at=et[0],Qe=et[1],We=s.useRef(!1),ae=s.useMemo(function(){return(S==="inline"||S==="vertical")&&v?["vertical",v]:[S,!1]},[S,v]),Re=W(ae,2),tt=Re[0],ft=Re[1],Rt=tt==="inline",It=s.useState(tt),De=W(It,2),je=De[0],dt=De[1],Se=s.useState(ft),we=W(Se,2),Ke=we[0],ot=we[1];s.useEffect(function(){dt(tt),ot(ft),We.current&&(Rt?xe(at):Ye(zi))},[tt,ft]);var pe=s.useState(0),Ce=W(pe,2),Me=Ce[0],Be=Ce[1],Ge=Me>=de.length-1||je!=="horizontal"||y;s.useEffect(function(){Rt&&Qe($e)},[$e]),s.useEffect(function(){return We.current=!0,function(){We.current=!1}},[]);var Ue=L3(),Pt=Ue.registerPath,xt=Ue.unregisterPath,Ae=Ue.refreshOverflowKeys,Ie=Ue.isSubPathKey,lt=Ue.getKeyPath,Pe=Ue.getKeys,Ne=Ue.getSubPathKeys,Ve=s.useMemo(function(){return{registerPath:Pt,unregisterPath:xt}},[Pt,xt]),it=s.useMemo(function(){return{isSubPathKey:Ie}},[Ie]);s.useEffect(function(){Ae(Ge?zi:de.slice(Me+1).map(function(yt){return yt.key}))},[Me,Ge]);var $t=nn(M||N&&((n=de[0])===null||n===void 0?void 0:n.key),{value:M}),wt=W($t,2),Et=wt[0],cn=wt[1],xn=nl(function(yt){cn(yt)}),un=nl(function(){cn(void 0)});s.useImperativeHandle(t,function(){return{list:_e.current,focus:function(ct){var ze,ke=Pe(),pt=pv(ke,Ee),Dt=pt.elements,_t=pt.key2element,Qt=pt.element2key,hn=np(_e.current,Dt),wn=Et??(hn[0]?Qt.get(hn[0]):(ze=de.find(function(Nn){return!Nn.props.disabled}))===null||ze===void 0?void 0:ze.key),dn=_t.get(wn);if(wn&&dn){var Hn;dn==null||(Hn=dn.focus)===null||Hn===void 0||Hn.call(dn,ct)}}}});var kt=nn(T||[],{value:R,postState:function(ct){return Array.isArray(ct)?ct:ct==null?zi:[ct]}}),qn=W(kt,2),Xn=qn[0],He=qn[1],st=function(ct){if(z){var ze=ct.key,ke=Xn.includes(ze),pt;_?ke?pt=Xn.filter(function(_t){return _t!==ze}):pt=[].concat(Te(Xn),[ze]):pt=[ze],He(pt);var Dt=D(D({},ct),{},{selectedKeys:pt});ke?A==null||A(Dt):L==null||L(Dt)}!_&&$e.length&&je!=="inline"&&Ye(zi)},ht=nl(function(yt){te==null||te(au(yt)),st(yt)}),Vt=nl(function(yt,ct){var ze=$e.filter(function(pt){return pt!==yt});if(ct)ze.push(yt);else if(je!=="inline"){var ke=Ne(yt);ze=ze.filter(function(pt){return!ke.has(pt)})}ns($e,ze,!0)||Ye(ze,!0)}),pn=function(ct,ze){var ke=ze??!$e.includes(ct);Vt(ct,ke)},zr=N3(je,Et,Xe,Ee,_e,Pe,lt,cn,pn,ge);s.useEffect(function(){be(!0)},[]);var Lr=s.useMemo(function(){return{_internalRenderMenuItem:ue,_internalRenderSubMenuItem:ie}},[ue,ie]),Yn=je!=="horizontal"||y?de:de.map(function(yt,ct){return s.createElement(Wl,{key:yt.key,overflowDisabled:ct>Me},yt)}),co=s.createElement(kr,ve({id:b,ref:_e,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:td,className:U(i,"".concat(i,"-root"),"".concat(i,"-").concat(je),c,B(B({},"".concat(i,"-inline-collapsed"),Ke),"".concat(i,"-rtl"),Xe),a),dir:h,style:l,role:"menu",tabIndex:d,data:Yn,renderRawItem:function(ct){return ct},renderRawRest:function(ct){var ze=ct.length,ke=ze?de.slice(-ze):null;return s.createElement(ap,{eventKey:hv,title:G,disabled:Ge,internalPopupClose:ze===0,popupClassName:se},ke)},maxCount:je!=="horizontal"||y?kr.INVALIDATE:kr.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(ct){Be(ct)},onKeyDown:zr},Z));return s.createElement(tp.Provider,{value:Lr},s.createElement(lw.Provider,{value:Ee},s.createElement(Wl,{prefixCls:i,rootClassName:a,mode:je,openKeys:$e,rtl:Xe,disabled:g,motion:fe?K:null,defaultMotions:fe?X:null,activeKey:Et,onActive:xn,onInactive:un,selectedKeys:Xn,inlineIndent:H,subMenuOpenDelay:$,subMenuCloseDelay:w,forceSubMenuRender:E,builtinPlacements:J,triggerSubMenuAction:oe,getPopupContainer:le,itemIcon:ee,expandIcon:re,onItemClick:ht,onOpenChange:Vt},s.createElement(fw.Provider,{value:it},co),s.createElement("div",{style:{display:"none"},"aria-hidden":!0},s.createElement(uw.Provider,{value:Ve},de)))))}),fs=lL;fs.Item=td;fs.SubMenu=ap;fs.ItemGroup=yw;fs.Divider=bw;var sL={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const cL=sL;var uL=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:cL}))},dL=s.forwardRef(uL);const fL=dL;var mL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const vL=mL;var gL=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:vL}))},pL=s.forwardRef(gL);const $a=pL,hL=e=>!isNaN(parseFloat(e))&&isFinite(e),Sw=s.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var yL=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),SL=s.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:o,children:i,defaultCollapsed:a=!1,theme:l="dark",style:c={},collapsible:u=!1,reverseArrow:d=!1,width:f=200,collapsedWidth:m=80,zeroWidthTriggerStyle:h,breakpoint:b,onCollapse:p,onBreakpoint:S}=e,v=yL(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:g}=s.useContext(Sw),[y,C]=s.useState("collapsed"in e?e.collapsed:a),[$,x]=s.useState(!1);s.useEffect(()=>{"collapsed"in e&&C(e.collapsed)},[e.collapsed]);const w=(I,z)=>{"collapsed"in e||C(I),p==null||p(I,z)},E=s.useRef();E.current=I=>{x(I.matches),S==null||S(I.matches),y!==I.matches&&w(I.matches,"responsive")},s.useEffect(()=>{function I(j){return E.current(j)}let z;if(typeof window<"u"){const{matchMedia:j}=window;if(j&&b&&b in vy){z=j(`screen and (max-width: ${vy[b]})`);try{z.addEventListener("change",I)}catch{z.addListener(I)}I(z)}}return()=>{try{z==null||z.removeEventListener("change",I)}catch{z==null||z.removeListener(I)}}},[b]),s.useEffect(()=>{const I=bL("ant-sider-");return g.addSider(I),()=>g.removeSider(I)},[]);const O=()=>{w(!y,"clickTrigger")},{getPrefixCls:P}=s.useContext(qe),M=()=>{const I=P("layout-sider",n),z=Dn(v,["collapsed"]),j=y?m:f,_=hL(j)?`${j}px`:String(j),T=parseFloat(String(m||0))===0?s.createElement("span",{onClick:O,className:U(`${I}-zero-width-trigger`,`${I}-zero-width-trigger-${d?"right":"left"}`),style:h},o||s.createElement(fL,null)):null,A={expanded:d?s.createElement(Vl,null):s.createElement($a,null),collapsed:d?s.createElement($a,null):s.createElement(Vl,null)}[y?"collapsed":"expanded"],F=o!==null?T||s.createElement("div",{className:`${I}-trigger`,onClick:O,style:{width:_}},o||A):null,H=Object.assign(Object.assign({},c),{flex:`0 0 ${_}`,maxWidth:_,minWidth:_,width:_}),K=U(I,`${I}-${l}`,{[`${I}-collapsed`]:!!y,[`${I}-has-trigger`]:u&&o!==null&&!T,[`${I}-below`]:!!$,[`${I}-zero-width`]:parseFloat(_)===0},r);return s.createElement("aside",Object.assign({className:K},z,{style:H,ref:t}),s.createElement("div",{className:`${I}-children`},i),u||$&&T?F:null)},N=s.useMemo(()=>({siderCollapsed:y}),[y]);return s.createElement(Cw.Provider,{value:N},M())}),xw=SL;var CL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const xL=CL;var wL=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:xL}))},$L=s.forwardRef(wL);const EL=$L;function ww(e){return Ot(e,{inputAffixPadding:e.paddingXXS})}const $w=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:c,paddingSM:u,controlPaddingHorizontalSM:d,controlPaddingHorizontal:f,colorFillAlter:m,colorPrimaryHover:h,colorPrimary:b,controlOutlineWidth:p,controlOutline:S,colorErrorOutline:v,colorWarningOutline:g,colorBgContainer:y}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-o,0),paddingBlockLG:Math.ceil((a-l*c)/2*10)/10-o,paddingInline:u-o,paddingInlineSM:d-o,paddingInlineLG:f-o,addonBg:m,activeBorderColor:b,hoverBorderColor:h,activeShadow:`0 0 0 ${p}px ${S}`,errorActiveShadow:`0 0 0 ${p}px ${v}`,warningActiveShadow:`0 0 0 ${p}px ${g}`,hoverBg:y,activeBg:y,inputFontSize:n,inputFontSizeLG:l,inputFontSizeSM:n}},OL=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),nd=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},OL(Ot(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),lp=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),gy=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},lp(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),RL=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},lp(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},nd(e))}),gy(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),gy(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),py=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),IL=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},py(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),py(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},nd(e))}})}),PL=(e,t)=>({"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled}},t)}),Ew=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),hy=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Ew(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),ML=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ew(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},nd(e))}),hy(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),hy(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),yy=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),TL=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${k(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${k(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},yy(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),yy(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),NL=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Ow=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:o}=e;return{padding:`${k(t)} ${k(o)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},sp=e=>({padding:`${k(e.paddingBlockSM)} ${k(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),cp=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${k(e.paddingBlock)} ${k(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},NL(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},Ow(e)),"&-sm":Object.assign({},sp(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),_L=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},Ow(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},sp(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${k(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${k(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${k(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${k(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${k(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},os()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + & > ${t}-affix-wrapper, + & > ${t}-number-affix-wrapper, + & > ${n}-picker-range + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, + & > ${n}-select-auto-complete ${t}, + & > ${n}-cascader-picker ${t}, + & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${n}-select:first-child > ${n}-select-selector, + & > ${n}-select-auto-complete:first-child ${t}, + & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${n}-select:last-child > ${n}-select-selector, + & > ${n}-cascader-picker:last-child ${t}, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-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}}}})}},zL=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,a=o(n).sub(o(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gn(e)),cp(e)),RL(e)),ML(e)),PL(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},LL=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${k(e.inputAffixPadding)}`}}}},jL=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},cp(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,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:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),LL(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}})}},AL=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},gn(e)),_L(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:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},IL(e)),TL(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}}})})}},FL=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-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, + > ${t}, + ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},BL=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${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"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},DL=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},HL=Yt("Input",e=>{const t=Ot(e,ww(e));return[zL(t),BL(t),jL(t),AL(t),FL(t),DL(t),Vg(t)]},$w),kL=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:i}=e,a=U({[`${t}-lg`]:o==="large",[`${t}-sm`]:o==="small"}),l=U({[`${t}-circle`]:i==="circle",[`${t}-square`]:i==="square",[`${t}-round`]:i==="round"}),c=s.useMemo(()=>typeof o=="number"?{width:o,height:o,lineHeight:`${o}px`}:{},[o]);return s.createElement("span",{className:U(t,a,l,n),style:Object.assign(Object.assign({},c),r)})},rd=kL,VL=new ut("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),od=e=>({height:e,lineHeight:k(e)}),ca=e=>Object.assign({width:e},od(e)),WL=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:VL,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),gf=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},od(e)),UL=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},ca(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},ca(o)),[`${t}${t}-sm`]:Object.assign({},ca(i))}},GL=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},gf(t,l)),[`${r}-lg`]:Object.assign({},gf(o,l)),[`${r}-sm`]:Object.assign({},gf(i,l))}},by=e=>Object.assign({width:e},od(e)),KL=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},by(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},by(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},pf=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},hf=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},od(e)),qL=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:l(r).mul(2).equal(),minWidth:l(r).mul(2).equal()},hf(r,l))},pf(e,r,n)),{[`${n}-lg`]:Object.assign({},hf(o,l))}),pf(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},hf(i,l))}),pf(e,i,`${n}-sm`))},XL=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:l,controlHeight:c,controlHeightLG:u,controlHeightSM:d,gradientFromColor:f,padding:m,marginSM:h,borderRadius:b,titleHeight:p,blockRadius:S,paragraphLiHeight:v,controlHeightXS:g,paragraphMarginTop:y}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:m,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},ca(c)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},ca(u)),[`${n}-sm`]:Object.assign({},ca(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:p,background:f,borderRadius:S,[`+ ${o}`]:{marginBlockStart:d}},[`${o}`]:{padding:0,"> li":{width:"100%",height:v,listStyle:"none",background:f,borderRadius:S,"+ li":{marginBlockStart:g}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:b}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:h,[`+ ${o}`]:{marginBlockStart:y}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},qL(e)),UL(e)),GL(e)),KL(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + ${r}, + ${o} > li, + ${n}, + ${i}, + ${a}, + ${l} + `]:Object.assign({},WL(e))}}},YL=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},Ta=Yt("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Ot(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[XL(r)]},YL,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),QL=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:l}=s.useContext(qe),c=l("skeleton",t),[u,d,f]=Ta(c),m=Dn(e,["prefixCls","className"]),h=U(c,`${c}-element`,{[`${c}-active`]:o},n,r,d,f);return u(s.createElement("div",{className:h},s.createElement(rd,Object.assign({prefixCls:`${c}-avatar`,shape:i,size:a},m))))},ZL=QL,JL=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:l}=s.useContext(qe),c=l("skeleton",t),[u,d,f]=Ta(c),m=Dn(e,["prefixCls"]),h=U(c,`${c}-element`,{[`${c}-active`]:o,[`${c}-block`]:i},n,r,d,f);return u(s.createElement("div",{className:h},s.createElement(rd,Object.assign({prefixCls:`${c}-button`,size:a},m))))},e5=JL,t5="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",n5=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=s.useContext(qe),l=a("skeleton",t),[c,u,d]=Ta(l),f=U(l,`${l}-element`,{[`${l}-active`]:i},n,r,u,d);return c(s.createElement("div",{className:f},s.createElement("div",{className:U(`${l}-image`,n),style:o},s.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},s.createElement("path",{d:t5,className:`${l}-image-path`})))))},r5=n5,o5=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:l}=s.useContext(qe),c=l("skeleton",t),[u,d,f]=Ta(c),m=Dn(e,["prefixCls"]),h=U(c,`${c}-element`,{[`${c}-active`]:o,[`${c}-block`]:i},n,r,d,f);return u(s.createElement("div",{className:h},s.createElement(rd,Object.assign({prefixCls:`${c}-input`,size:a},m))))},i5=o5;var a5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};const l5=a5;var s5=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:l5}))},c5=s.forwardRef(s5);const u5=c5,d5=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:l}=s.useContext(qe),c=l("skeleton",t),[u,d,f]=Ta(c),m=U(c,`${c}-element`,{[`${c}-active`]:i},d,n,r,f),h=a??s.createElement(u5,null);return u(s.createElement("div",{className:m},s.createElement("div",{className:U(`${c}-image`,n),style:o},h)))},f5=d5,m5=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},v5=e=>{const{prefixCls:t,className:n,style:r,rows:o}=e,i=Te(Array(o)).map((a,l)=>s.createElement("li",{key:l,style:{width:m5(l,e)}}));return s.createElement("ul",{className:U(t,n),style:r},i)},g5=v5,p5=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return s.createElement("h3",{className:U(t,n),style:Object.assign({width:r},o)})},h5=p5;function yf(e){return e&&typeof e=="object"?e:{}}function y5(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function b5(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function S5(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Na=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:l=!1,title:c=!0,paragraph:u=!0,active:d,round:f}=e,{getPrefixCls:m,direction:h,skeleton:b}=s.useContext(qe),p=m("skeleton",t),[S,v,g]=Ta(p);if(n||!("loading"in e)){const y=!!l,C=!!c,$=!!u;let x;if(y){const O=Object.assign(Object.assign({prefixCls:`${p}-avatar`},y5(C,$)),yf(l));x=s.createElement("div",{className:`${p}-header`},s.createElement(rd,Object.assign({},O)))}let w;if(C||$){let O;if(C){const M=Object.assign(Object.assign({prefixCls:`${p}-title`},b5(y,$)),yf(c));O=s.createElement(h5,Object.assign({},M))}let P;if($){const M=Object.assign(Object.assign({prefixCls:`${p}-paragraph`},S5(y,C)),yf(u));P=s.createElement(g5,Object.assign({},M))}w=s.createElement("div",{className:`${p}-content`},O,P)}const E=U(p,{[`${p}-with-avatar`]:y,[`${p}-active`]:d,[`${p}-rtl`]:h==="rtl",[`${p}-round`]:f},b==null?void 0:b.className,r,o,v,g);return S(s.createElement("div",{className:E,style:Object.assign(Object.assign({},b==null?void 0:b.style),i)},x,w))}return a??null};Na.Button=e5;Na.Avatar=ZL;Na.Input=i5;Na.Image=r5;Na.Node=f5;const C5=Na;var x5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const w5=x5;var $5=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:w5}))},E5=s.forwardRef($5);const O5=E5,id=s.createContext(null);var R5=function(t){var n=t.activeTabOffset,r=t.horizontal,o=t.rtl,i=t.indicator,a=i===void 0?{}:i,l=a.size,c=a.align,u=c===void 0?"center":c,d=s.useState(),f=W(d,2),m=f[0],h=f[1],b=s.useRef(),p=V.useCallback(function(v){return typeof l=="function"?l(v):typeof l=="number"?l:v},[l]);function S(){Ct.cancel(b.current)}return s.useEffect(function(){var v={};if(n)if(r){v.width=p(n.width);var g=o?"right":"left";u==="start"&&(v[g]=n[g]),u==="center"&&(v[g]=n[g]+n.width/2,v.transform=o?"translateX(50%)":"translateX(-50%)"),u==="end"&&(v[g]=n[g]+n.width,v.transform="translateX(-100%)")}else v.height=p(n.height),u==="start"&&(v.top=n.top),u==="center"&&(v.top=n.top+n.height/2,v.transform="translateY(-50%)"),u==="end"&&(v.top=n.top+n.height,v.transform="translateY(-100%)");return S(),b.current=Ct(function(){h(v)}),S},[n,r,o,u,p]),{style:m}},Sy={width:0,height:0,left:0,top:0};function I5(e,t,n){return s.useMemo(function(){for(var r,o=new Map,i=t.get((r=e[0])===null||r===void 0?void 0:r.key)||Sy,a=i.left+i.width,l=0;lz?(N=P,x.current="x"):(N=M,x.current="y"),t(-N,-N)&&O.preventDefault()}var E=s.useRef(null);E.current={onTouchStart:y,onTouchMove:C,onTouchEnd:$,onWheel:w},s.useEffect(function(){function O(I){E.current.onTouchStart(I)}function P(I){E.current.onTouchMove(I)}function M(I){E.current.onTouchEnd(I)}function N(I){E.current.onWheel(I)}return document.addEventListener("touchmove",P,{passive:!1}),document.addEventListener("touchend",M,{passive:!1}),e.current.addEventListener("touchstart",O,{passive:!1}),e.current.addEventListener("wheel",N),function(){document.removeEventListener("touchmove",P),document.removeEventListener("touchend",M)}},[])}function Rw(e){var t=s.useState(0),n=W(t,2),r=n[0],o=n[1],i=s.useRef(0),a=s.useRef();return a.current=e,Mm(function(){var l;(l=a.current)===null||l===void 0||l.call(a)},[r]),function(){i.current===r&&(i.current+=1,o(i.current))}}function T5(e){var t=s.useRef([]),n=s.useState({}),r=W(n,2),o=r[1],i=s.useRef(typeof e=="function"?e():e),a=Rw(function(){var c=i.current;t.current.forEach(function(u){c=u(c)}),t.current=[],i.current=c,o({})});function l(c){t.current.push(c),a()}return[i.current,l]}var $y={width:0,height:0,left:0,top:0,right:0};function N5(e,t,n,r,o,i,a){var l=a.tabs,c=a.tabPosition,u=a.rtl,d,f,m;return["top","bottom"].includes(c)?(d="width",f=u?"right":"left",m=Math.abs(n)):(d="height",f="top",m=-n),s.useMemo(function(){if(!l.length)return[0,0];for(var h=l.length,b=h,p=0;pm+t){b=p-1;break}}for(var v=0,g=h-1;g>=0;g-=1){var y=e.get(l[g].key)||$y;if(y[f]=b?[0,0]:[v,b]},[e,t,r,o,i,m,c,l.map(function(h){return h.key}).join("_"),u])}function Ey(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var _5="TABS_DQ";function Iw(e){return String(e).replace(/"/g,_5)}function Pw(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var Mw=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,o=e.locale,i=e.style;return!r||r.showAdd===!1?null:s.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(o==null?void 0:o.addAriaLabel)||"Add tab",onClick:function(l){r.onEdit("add",{event:l})}},r.addIcon||"+")}),Oy=s.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,o=e.extra;if(!o)return null;var i,a={};return nt(o)==="object"&&!s.isValidElement(o)?a=o:a.right=o,n==="right"&&(i=a.right),n==="left"&&(i=a.left),i?s.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},i):null}),z5=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,o=e.tabs,i=e.locale,a=e.mobile,l=e.moreIcon,c=l===void 0?"More":l,u=e.moreTransitionName,d=e.style,f=e.className,m=e.editable,h=e.tabBarGutter,b=e.rtl,p=e.removeAriaLabel,S=e.onTabClick,v=e.getPopupContainer,g=e.popupClassName,y=s.useState(!1),C=W(y,2),$=C[0],x=C[1],w=s.useState(null),E=W(w,2),O=E[0],P=E[1],M="".concat(r,"-more-popup"),N="".concat(n,"-dropdown"),I=O!==null?"".concat(M,"-").concat(O):null,z=i==null?void 0:i.dropdownAriaLabel;function j(H,K){H.preventDefault(),H.stopPropagation(),m.onEdit("remove",{key:K,event:H})}var _=s.createElement(fs,{onClick:function(K){var X=K.key,q=K.domEvent;S(X,q),x(!1)},prefixCls:"".concat(N,"-menu"),id:M,tabIndex:-1,role:"listbox","aria-activedescendant":I,selectedKeys:[O],"aria-label":z!==void 0?z:"expanded dropdown"},o.map(function(H){var K=H.closable,X=H.disabled,q=H.closeIcon,oe=H.key,J=H.label,ee=Pw(K,q,m,X);return s.createElement(td,{key:oe,id:"".concat(M,"-").concat(oe),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(oe),disabled:X},s.createElement("span",null,J),ee&&s.createElement("button",{type:"button","aria-label":p||"remove",tabIndex:0,className:"".concat(N,"-menu-item-remove"),onClick:function(Q){Q.stopPropagation(),j(Q,oe)}},q||m.removeIcon||"×"))}));function T(H){for(var K=o.filter(function(ee){return!ee.disabled}),X=K.findIndex(function(ee){return ee.key===O})||0,q=K.length,oe=0;oeIe?"left":"right"})}),I=W(N,2),z=I[0],j=I[1],_=Cy(0,function(Ae,Ie){!M&&p&&p({direction:Ae>Ie?"top":"bottom"})}),T=W(_,2),R=T[0],L=T[1],A=s.useState([0,0]),F=W(A,2),H=F[0],K=F[1],X=s.useState([0,0]),q=W(X,2),oe=q[0],J=q[1],ee=s.useState([0,0]),re=W(ee,2),Q=re[0],G=re[1],se=s.useState([0,0]),le=W(se,2),te=le[0],Y=le[1],ge=T5(new Map),ue=W(ge,2),ie=ue[0],Z=ue[1],de=I5(y,ie,oe[0]),ce=Ks(H,M),me=Ks(oe,M),fe=Ks(Q,M),be=Ks(te,M),_e=ceye?ye:Ae}var xe=s.useRef(null),Ye=s.useState(),rt=W(Ye,2),et=rt[0],at=rt[1];function Qe(){at(Date.now())}function We(){xe.current&&clearTimeout(xe.current)}M5(w,function(Ae,Ie){function lt(Pe,Ne){Pe(function(Ve){var it=$e(Ve+Ne);return it})}return _e?(M?lt(j,Ae):lt(L,Ie),We(),Qe(),!0):!1}),s.useEffect(function(){return We(),et&&(xe.current=setTimeout(function(){at(0)},100)),We},[et]);var ae=N5(de,Ee,M?z:R,me,fe,be,D(D({},e),{},{tabs:y})),Re=W(ae,2),tt=Re[0],ft=Re[1],Rt=Vn(function(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a,Ie=de.get(Ae)||{width:0,height:0,left:0,right:0,top:0};if(M){var lt=z;l?Ie.rightz+Ee&&(lt=Ie.right+Ie.width-Ee):Ie.left<-z?lt=-Ie.left:Ie.left+Ie.width>-z+Ee&&(lt=-(Ie.left+Ie.width-Ee)),L(0),j($e(lt))}else{var Pe=R;Ie.top<-R?Pe=-Ie.top:Ie.top+Ie.height>-R+Ee&&(Pe=-(Ie.top+Ie.height-Ee)),j(0),L($e(Pe))}}),It={};f==="top"||f==="bottom"?It[l?"marginRight":"marginLeft"]=m:It.marginTop=m;var De=y.map(function(Ae,Ie){var lt=Ae.key;return s.createElement(j5,{id:o,prefixCls:g,key:lt,tab:Ae,style:Ie===0?void 0:It,closable:Ae.closable,editable:u,active:lt===a,renderWrapper:h,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(Ne){b(lt,Ne)},onFocus:function(){Rt(lt),Qe(),w.current&&(l||(w.current.scrollLeft=0),w.current.scrollTop=0)}})}),je=function(){return Z(function(){var Ie,lt=new Map,Pe=(Ie=E.current)===null||Ie===void 0?void 0:Ie.getBoundingClientRect();return y.forEach(function(Ne){var Ve,it=Ne.key,$t=(Ve=E.current)===null||Ve===void 0?void 0:Ve.querySelector('[data-node-key="'.concat(Iw(it),'"]'));if($t){var wt=A5($t,Pe),Et=W(wt,4),cn=Et[0],xn=Et[1],un=Et[2],kt=Et[3];lt.set(it,{width:cn,height:xn,left:un,top:kt})}}),lt})};s.useEffect(function(){je()},[y.map(function(Ae){return Ae.key}).join("_")]);var dt=Rw(function(){var Ae=Li(C),Ie=Li($),lt=Li(x);K([Ae[0]-Ie[0]-lt[0],Ae[1]-Ie[1]-lt[1]]);var Pe=Li(P);G(Pe);var Ne=Li(O);Y(Ne);var Ve=Li(E);J([Ve[0]-Pe[0],Ve[1]-Pe[1]]),je()}),Se=y.slice(0,tt),we=y.slice(ft+1),Ke=[].concat(Te(Se),Te(we)),ot=de.get(a),pe=R5({activeTabOffset:ot,horizontal:M,indicator:S,rtl:l}),Ce=pe.style;s.useEffect(function(){Rt()},[a,Oe,ye,Ey(ot),Ey(de),M]),s.useEffect(function(){dt()},[l]);var Me=!!Ke.length,Be="".concat(g,"-nav-wrap"),Ge,Ue,Pt,xt;return M?l?(Ue=z>0,Ge=z!==ye):(Ge=z<0,Ue=z!==Oe):(Pt=R<0,xt=R!==Oe),s.createElement(gr,{onResize:dt},s.createElement("div",{ref:gi(t,C),role:"tablist",className:U("".concat(g,"-nav"),n),style:r,onKeyDown:function(){Qe()}},s.createElement(Oy,{ref:$,position:"left",extra:c,prefixCls:g}),s.createElement(gr,{onResize:dt},s.createElement("div",{className:U(Be,B(B(B(B({},"".concat(Be,"-ping-left"),Ge),"".concat(Be,"-ping-right"),Ue),"".concat(Be,"-ping-top"),Pt),"".concat(Be,"-ping-bottom"),xt)),ref:w},s.createElement(gr,{onResize:dt},s.createElement("div",{ref:E,className:"".concat(g,"-nav-list"),style:{transform:"translate(".concat(z,"px, ").concat(R,"px)"),transition:et?"none":void 0}},De,s.createElement(Mw,{ref:P,prefixCls:g,locale:d,editable:u,style:D(D({},De.length===0?void 0:It),{},{visibility:Me?"hidden":null})}),s.createElement("div",{className:U("".concat(g,"-ink-bar"),B({},"".concat(g,"-ink-bar-animated"),i.inkBar)),style:Ce}))))),s.createElement(L5,ve({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:O,prefixCls:g,tabs:Ke,className:!Me&&Xe,tabMoving:!!et})),s.createElement(Oy,{ref:x,position:"right",extra:c,prefixCls:g})))}),Tw=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.id,a=e.active,l=e.tabKey,c=e.children;return s.createElement("div",{id:i&&"".concat(i,"-panel-").concat(l),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(l),"aria-hidden":!a,style:o,className:U(n,a&&"".concat(n,"-active"),r),ref:t},c)}),F5=["renderTabBar"],B5=["label","key"],D5=function(t){var n=t.renderTabBar,r=Je(t,F5),o=s.useContext(id),i=o.tabs;if(n){var a=D(D({},r),{},{panes:i.map(function(l){var c=l.label,u=l.key,d=Je(l,B5);return s.createElement(Tw,ve({tab:c,key:u,tabKey:u},d))})});return n(a,Ry)}return s.createElement(Ry,r)},H5=["key","forceRender","style","className","destroyInactiveTabPane"],k5=function(t){var n=t.id,r=t.activeKey,o=t.animated,i=t.tabPosition,a=t.destroyInactiveTabPane,l=s.useContext(id),c=l.prefixCls,u=l.tabs,d=o.tabPane,f="".concat(c,"-tabpane");return s.createElement("div",{className:U("".concat(c,"-content-holder"))},s.createElement("div",{className:U("".concat(c,"-content"),"".concat(c,"-content-").concat(i),B({},"".concat(c,"-content-animated"),d))},u.map(function(m){var h=m.key,b=m.forceRender,p=m.style,S=m.className,v=m.destroyInactiveTabPane,g=Je(m,H5),y=h===r;return s.createElement(lr,ve({key:h,visible:y,forceRender:b,removeOnLeave:!!(a||v),leavedClassName:"".concat(f,"-hidden")},o.tabPaneMotion),function(C,$){var x=C.style,w=C.className;return s.createElement(Tw,ve({},g,{prefixCls:f,id:n,tabKey:h,animated:d,active:y,style:D(D({},p),x),className:U(S,w),ref:$}))})})))};function V5(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=D({inkBar:!0},nt(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var W5=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],Iy=0,U5=s.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,o=r===void 0?"rc-tabs":r,i=e.className,a=e.items,l=e.direction,c=e.activeKey,u=e.defaultActiveKey,d=e.editable,f=e.animated,m=e.tabPosition,h=m===void 0?"top":m,b=e.tabBarGutter,p=e.tabBarStyle,S=e.tabBarExtraContent,v=e.locale,g=e.moreIcon,y=e.moreTransitionName,C=e.destroyInactiveTabPane,$=e.renderTabBar,x=e.onChange,w=e.onTabClick,E=e.onTabScroll,O=e.getPopupContainer,P=e.popupClassName,M=e.indicator,N=Je(e,W5),I=s.useMemo(function(){return(a||[]).filter(function(Y){return Y&&nt(Y)==="object"&&"key"in Y})},[a]),z=l==="rtl",j=V5(f),_=s.useState(!1),T=W(_,2),R=T[0],L=T[1];s.useEffect(function(){L(qg())},[]);var A=nn(function(){var Y;return(Y=I[0])===null||Y===void 0?void 0:Y.key},{value:c,defaultValue:u}),F=W(A,2),H=F[0],K=F[1],X=s.useState(function(){return I.findIndex(function(Y){return Y.key===H})}),q=W(X,2),oe=q[0],J=q[1];s.useEffect(function(){var Y=I.findIndex(function(ue){return ue.key===H});if(Y===-1){var ge;Y=Math.max(0,Math.min(oe,I.length-1)),K((ge=I[Y])===null||ge===void 0?void 0:ge.key)}J(Y)},[I.map(function(Y){return Y.key}).join("_"),H,oe]);var ee=nn(null,{value:n}),re=W(ee,2),Q=re[0],G=re[1];s.useEffect(function(){n||(G("rc-tabs-".concat(Iy)),Iy+=1)},[]);function se(Y,ge){w==null||w(Y,ge);var ue=Y!==H;K(Y),ue&&(x==null||x(Y))}var le={id:Q,activeKey:H,animated:j,tabPosition:h,rtl:z,mobile:R},te=D(D({},le),{},{editable:d,locale:v,moreIcon:g,moreTransitionName:y,tabBarGutter:b,onTabClick:se,onTabScroll:E,extra:S,style:p,panes:null,getPopupContainer:O,popupClassName:P,indicator:M});return s.createElement(id.Provider,{value:{tabs:I,prefixCls:o}},s.createElement("div",ve({ref:t,id:n,className:U(o,"".concat(o,"-").concat(h),B(B(B({},"".concat(o,"-mobile"),R),"".concat(o,"-editable"),d),"".concat(o,"-rtl"),z),i)},N),s.createElement(D5,ve({},te,{renderTabBar:$})),s.createElement(k5,ve({destroyInactiveTabPane:C},le,{animated:j}))))});const G5={motionAppear:!1,motionEnter:!0,motionLeave:!0};function K5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},G5),{motionName:di(e,"switch")})),n}var q5=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);ot)}function Y5(e,t){if(e)return e;const n=yr(t).map(r=>{if(s.isValidElement(r)){const{key:o,props:i}=r,a=i||{},{tab:l}=a,c=q5(a,["tab"]);return Object.assign(Object.assign({key:String(o)},c),{label:l})}return null});return X5(n)}const Q5=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[ru(e,"slide-up"),ru(e,"slide-down")]]},Z5=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${k(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:k(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${k(e.borderRadiusLG)} ${k(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${k(e.borderRadiusLG)} ${k(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:k(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${k(e.borderRadiusLG)} 0 0 ${k(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${k(e.borderRadiusLG)} ${k(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},J5=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},gn(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${k(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ci),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${k(e.paddingXXS)} ${k(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},ej=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${k(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:k(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},tj=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${k(e.borderRadius)} ${k(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${k(e.borderRadius)} ${k(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${k(e.borderRadius)} ${k(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${k(e.borderRadius)} 0 0 ${k(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},nj=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:l,itemColor:c}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},is(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${u}-active ${u}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:i}}}},rj=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:k(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:k(e.marginXS)},marginLeft:{_skip_check_:!0,value:k(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},oj=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},gn(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${k(e.paddingXS)}`,background:"transparent",border:`${k(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${k(e.borderRadiusLG)} ${k(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},is(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),nj(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},ij=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},aj=Yt("Tabs",e=>{const t=Ot(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${k(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${k(e.horizontalItemGutter)}`});return[tj(t),rj(t),ej(t),J5(t),Z5(t),oj(t),Q5(t)]},ij),lj=()=>null,sj=lj;var cj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var t,n,r,o,i,a,l,c;const{type:u,className:d,rootClassName:f,size:m,onEdit:h,hideAdd:b,centered:p,addIcon:S,removeIcon:v,moreIcon:g,popupClassName:y,children:C,items:$,animated:x,style:w,indicatorSize:E,indicator:O}=e,P=cj(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:M}=P,{direction:N,tabs:I,getPrefixCls:z,getPopupContainer:j}=s.useContext(qe),_=z("tabs",M),T=yi(_),[R,L,A]=aj(_,T);let F;u==="editable-card"&&(F={onEdit:(ee,re)=>{let{key:Q,event:G}=re;h==null||h(ee==="add"?G:Q,ee)},removeIcon:(t=v??(I==null?void 0:I.removeIcon))!==null&&t!==void 0?t:s.createElement(Uu,null),addIcon:(S??(I==null?void 0:I.addIcon))||s.createElement(O5,null),showAdd:b!==!0});const H=z(),K=Bo(m),X=Y5($,C),q=K5(_,x),oe=Object.assign(Object.assign({},I==null?void 0:I.style),w),J={align:(n=O==null?void 0:O.align)!==null&&n!==void 0?n:(r=I==null?void 0:I.indicator)===null||r===void 0?void 0:r.align,size:(l=(i=(o=O==null?void 0:O.size)!==null&&o!==void 0?o:E)!==null&&i!==void 0?i:(a=I==null?void 0:I.indicator)===null||a===void 0?void 0:a.size)!==null&&l!==void 0?l:I==null?void 0:I.indicatorSize};return R(s.createElement(U5,Object.assign({direction:N,getPopupContainer:j,moreTransitionName:`${H}-slide-up`},P,{items:X,className:U({[`${_}-${K}`]:K,[`${_}-card`]:["card","editable-card"].includes(u),[`${_}-editable-card`]:u==="editable-card",[`${_}-centered`]:p},I==null?void 0:I.className,d,f,L,A,T),popupClassName:U(y,L,A,T),style:oe,editable:F,moreIcon:(c=g??(I==null?void 0:I.moreIcon))!==null&&c!==void 0?c:s.createElement(EL,null),prefixCls:_,animated:q,indicator:J})))};Nw.TabPane=sj;const uj=Nw;var dj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:n,hoverable:r=!0}=e,o=dj(e,["prefixCls","className","hoverable"]);const{getPrefixCls:i}=s.useContext(qe),a=i("card",t),l=U(`${a}-grid`,n,{[`${a}-grid-hoverable`]:r});return s.createElement("div",Object.assign({},o,{className:l}))},_w=fj,mj=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:o,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${k(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${k(e.borderRadiusLG)} ${k(e.borderRadiusLG)} 0 0`},os()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},ci),{[` + > ${n}-typography, + > ${n}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},vj=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${k(o)} 0 0 0 ${n}, + 0 ${k(o)} 0 0 ${n}, + ${k(o)} ${k(o)} 0 0 ${n}, + ${k(o)} 0 0 0 ${n} inset, + 0 ${k(o)} 0 0 ${n} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},gj=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${k(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${k(e.borderRadiusLG)} ${k(e.borderRadiusLG)}`},os()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:k(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:k(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${k(e.lineWidth)} ${e.lineType} ${i}`}}})},pj=e=>Object.assign(Object.assign({margin:`${k(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},os()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},ci),"&-description":{color:e.colorTextDescription}}),hj=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${k(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${k(e.padding)} ${k(n)}`}}},yj=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},bj=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:i,boxShadowTertiary:a,cardPaddingBase:l,extraColor:c}=e;return{[n]:Object.assign(Object.assign({},gn(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:mj(e),[`${n}-extra`]:{marginInlineStart:"auto",color:c,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${k(e.borderRadiusLG)} ${k(e.borderRadiusLG)}`},os()),[`${n}-grid`]:vj(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${k(e.borderRadiusLG)} ${k(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:gj(e),[`${n}-meta`]:pj(e)}),[`${n}-bordered`]:{border:`${k(e.lineWidth)} ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${k(e.borderRadiusLG)} ${k(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:hj(e),[`${n}-loading`]:yj(e),[`${n}-rtl`]:{direction:"rtl"}}},Sj=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${k(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},Cj=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),xj=Yt("Card",e=>{const t=Ot(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[bj(t),Sj(t)]},Cj);var Py=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return s.createElement("ul",{className:t,style:r},n.map((o,i)=>{const a=`action-${i}`;return s.createElement("li",{style:{width:`${100/n.length}%`},key:a},s.createElement("span",null,o))}))},$j=s.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:o,style:i,extra:a,headStyle:l={},bodyStyle:c={},title:u,loading:d,bordered:f=!0,size:m,type:h,cover:b,actions:p,tabList:S,children:v,activeTabKey:g,defaultActiveTabKey:y,tabBarExtraContent:C,hoverable:$,tabProps:x={},classNames:w,styles:E}=e,O=Py(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:P,direction:M,card:N}=s.useContext(qe),I=ie=>{var Z;(Z=e.onTabChange)===null||Z===void 0||Z.call(e,ie)},z=ie=>{var Z;return U((Z=N==null?void 0:N.classNames)===null||Z===void 0?void 0:Z[ie],w==null?void 0:w[ie])},j=ie=>{var Z;return Object.assign(Object.assign({},(Z=N==null?void 0:N.styles)===null||Z===void 0?void 0:Z[ie]),E==null?void 0:E[ie])},_=s.useMemo(()=>{let ie=!1;return s.Children.forEach(v,Z=>{Z&&Z.type&&Z.type===_w&&(ie=!0)}),ie},[v]),T=P("card",n),[R,L,A]=xj(T),F=s.createElement(C5,{loading:!0,active:!0,paragraph:{rows:4},title:!1},v),H=g!==void 0,K=Object.assign(Object.assign({},x),{[H?"activeKey":"defaultActiveKey"]:H?g:y,tabBarExtraContent:C});let X;const q=Bo(m),oe=!q||q==="default"?"large":q,J=S?s.createElement(uj,Object.assign({size:oe},K,{className:`${T}-head-tabs`,onChange:I,items:S.map(ie=>{var{tab:Z}=ie,de=Py(ie,["tab"]);return Object.assign({label:Z},de)})})):null;if(u||a||J){const ie=U(`${T}-head`,z("header")),Z=U(`${T}-head-title`,z("title")),de=U(`${T}-extra`,z("extra")),ce=Object.assign(Object.assign({},l),j("header"));X=s.createElement("div",{className:ie,style:ce},s.createElement("div",{className:`${T}-head-wrapper`},u&&s.createElement("div",{className:Z,style:j("title")},u),a&&s.createElement("div",{className:de,style:j("extra")},a)),J)}const ee=U(`${T}-cover`,z("cover")),re=b?s.createElement("div",{className:ee,style:j("cover")},b):null,Q=U(`${T}-body`,z("body")),G=Object.assign(Object.assign({},c),j("body")),se=s.createElement("div",{className:Q,style:G},d?F:v),le=U(`${T}-actions`,z("actions")),te=p&&p.length?s.createElement(wj,{actionClasses:le,actionStyle:j("actions"),actions:p}):null,Y=Dn(O,["onTabChange"]),ge=U(T,N==null?void 0:N.className,{[`${T}-loading`]:d,[`${T}-bordered`]:f,[`${T}-hoverable`]:$,[`${T}-contain-grid`]:_,[`${T}-contain-tabs`]:S&&S.length,[`${T}-${q}`]:q,[`${T}-type-${h}`]:!!h,[`${T}-rtl`]:M==="rtl"},r,o,L,A),ue=Object.assign(Object.assign({},N==null?void 0:N.style),i);return R(s.createElement("div",Object.assign({ref:t},Y,{className:ge,style:ue}),X,re,se,te))}),Ej=$j;var Oj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,avatar:r,title:o,description:i}=e,a=Oj(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:l}=s.useContext(qe),c=l("card",t),u=U(`${c}-meta`,n),d=r?s.createElement("div",{className:`${c}-meta-avatar`},r):null,f=o?s.createElement("div",{className:`${c}-meta-title`},o):null,m=i?s.createElement("div",{className:`${c}-meta-description`},i):null,h=f||m?s.createElement("div",{className:`${c}-meta-detail`},f,m):null;return s.createElement("div",Object.assign({},a,{className:u}),d,h)},Ij=Rj,up=Ej;up.Grid=_w;up.Meta=Ij;const My=up;function Pj(e,t,n){var r=n||{},o=r.noTrailing,i=o===void 0?!1:o,a=r.noLeading,l=a===void 0?!1:a,c=r.debounceMode,u=c===void 0?void 0:c,d,f=!1,m=0;function h(){d&&clearTimeout(d)}function b(S){var v=S||{},g=v.upcomingOnly,y=g===void 0?!1:g;h(),f=!y}function p(){for(var S=arguments.length,v=new Array(S),g=0;ge?l?(m=Date.now(),i||(d=setTimeout(u?x:$,e))):$():i!==!0&&(d=setTimeout(u?x:$,u===void 0?e-C:e))}return p.cancel=b,p}function Mj(e,t,n){var r=n||{},o=r.atBegin,i=o===void 0?!1:o;return Pj(e,t,{debounceMode:i!==!1})}const Tj=s.createContext({}),zw=Tj,Nj=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},_j=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},zj=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:o}=e,i={};for(let a=o;a>=0;a--)a===0?(i[`${r}${t}-${a}`]={display:"none"},i[`${r}-push-${a}`]={insetInlineStart:"auto"},i[`${r}-pull-${a}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${a}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${a}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${a}`]={marginInlineStart:0},i[`${r}${t}-order-${a}`]={order:0}):(i[`${r}${t}-${a}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${a/o*100}%`,maxWidth:`${a/o*100}%`}],i[`${r}${t}-push-${a}`]={insetInlineStart:`${a/o*100}%`},i[`${r}${t}-pull-${a}`]={insetInlineEnd:`${a/o*100}%`},i[`${r}${t}-offset-${a}`]={marginInlineStart:`${a/o*100}%`},i[`${r}${t}-order-${a}`]={order:a});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i},bv=(e,t)=>zj(e,t),Lj=(e,t,n)=>({[`@media (min-width: ${k(t)})`]:Object.assign({},bv(e,n))}),jj=()=>({}),Aj=()=>({}),Fj=Yt("Grid",Nj,jj),Bj=Yt("Grid",e=>{const t=Ot(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[_j(t),bv(t,""),bv(t,"-xs"),Object.keys(n).map(r=>Lj(t,n[r],r)).reduce((r,o)=>Object.assign(Object.assign({},r),o),{})]},Aj);var Dj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:n,direction:r}=s.useContext(qe),{gutter:o,wrap:i}=s.useContext(zw),{prefixCls:a,span:l,order:c,offset:u,push:d,pull:f,className:m,children:h,flex:b,style:p}=e,S=Dj(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),v=n("col",a),[g,y,C]=Bj(v),$={};let x={};Hj.forEach(O=>{let P={};const M=e[O];typeof M=="number"?P.span=M:typeof M=="object"&&(P=M||{}),delete S[O],x=Object.assign(Object.assign({},x),{[`${v}-${O}-${P.span}`]:P.span!==void 0,[`${v}-${O}-order-${P.order}`]:P.order||P.order===0,[`${v}-${O}-offset-${P.offset}`]:P.offset||P.offset===0,[`${v}-${O}-push-${P.push}`]:P.push||P.push===0,[`${v}-${O}-pull-${P.pull}`]:P.pull||P.pull===0,[`${v}-rtl`]:r==="rtl"}),P.flex&&(x[`${v}-${O}-flex`]=!0,$[`--${v}-${O}-flex`]=Ty(P.flex))});const w=U(v,{[`${v}-${l}`]:l!==void 0,[`${v}-order-${c}`]:c,[`${v}-offset-${u}`]:u,[`${v}-push-${d}`]:d,[`${v}-pull-${f}`]:f},m,x,y,C),E={};if(o&&o[0]>0){const O=o[0]/2;E.paddingLeft=O,E.paddingRight=O}return b&&(E.flex=Ty(b),i===!1&&!E.minWidth&&(E.minWidth=0)),g(s.createElement("div",Object.assign({},S,{style:Object.assign(Object.assign(Object.assign({},E),p),$),className:w,ref:t}),h))}),Vj=kj;var Wj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{if(typeof e=="string"&&r(e),typeof e=="object")for(let i=0;i{o()},[JSON.stringify(e),t]),n}const Uj=s.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:o,className:i,style:a,children:l,gutter:c=0,wrap:u}=e,d=Wj(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:m}=s.useContext(qe),[h,b]=s.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[p,S]=s.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),v=Ny(o,p),g=Ny(r,p),y=s.useRef(c),C=Yx();s.useEffect(()=>{const T=C.subscribe(R=>{S(R);const L=y.current||0;(!Array.isArray(L)&&typeof L=="object"||Array.isArray(L)&&(typeof L[0]=="object"||typeof L[1]=="object"))&&b(R)});return()=>C.unsubscribe(T)},[]);const $=()=>{const T=[void 0,void 0];return(Array.isArray(c)?c:[c,void 0]).forEach((L,A)=>{if(typeof L=="object")for(let F=0;F0?P[0]/-2:void 0;I&&(N.marginLeft=I,N.marginRight=I);const[z,j]=P;N.rowGap=j;const _=s.useMemo(()=>({gutter:[z,j],wrap:u}),[z,j,u]);return w(s.createElement(zw.Provider,{value:_},s.createElement("div",Object.assign({},d,{className:M,style:Object.assign(Object.assign({},N),a),ref:t}),l)))}),Gj=Uj,Kj=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:i,orientationMargin:a,verticalMarginInline:l}=e;return{[t]:Object.assign(Object.assign({},gn(e)),{borderBlockStart:`${k(o)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:l,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${k(o)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${k(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${k(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${k(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${a} * 100%)`},"&::after":{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${a} * 100%)`},"&::after":{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${k(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},qj=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),Xj=Yt("Divider",e=>{const t=Ot(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[Kj(t)]},qj,{unitless:{orientationMargin:!0}});var Yj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n,divider:r}=s.useContext(qe),{prefixCls:o,type:i="horizontal",orientation:a="center",orientationMargin:l,className:c,rootClassName:u,children:d,dashed:f,plain:m,style:h}=e,b=Yj(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),p=t("divider",o),[S,v,g]=Xj(p),y=a.length>0?`-${a}`:a,C=!!d,$=a==="left"&&l!=null,x=a==="right"&&l!=null,w=U(p,r==null?void 0:r.className,v,g,`${p}-${i}`,{[`${p}-with-text`]:C,[`${p}-with-text${y}`]:C,[`${p}-dashed`]:!!f,[`${p}-plain`]:!!m,[`${p}-rtl`]:n==="rtl",[`${p}-no-default-orientation-margin-left`]:$,[`${p}-no-default-orientation-margin-right`]:x},c,u),E=s.useMemo(()=>typeof l=="number"?l:/^\d+$/.test(l)?Number(l):l,[l]),O=Object.assign(Object.assign({},$&&{marginLeft:E}),x&&{marginRight:E});return S(s.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},r==null?void 0:r.style),h)},b,{role:"separator"}),d&&i!=="vertical"&&s.createElement("span",{className:`${p}-inner-text`,style:O},d)))},Zj=Qj;function Jj(e){return!!(e.addonBefore||e.addonAfter)}function e6(e){return!!(e.prefix||e.suffix||e.allowClear)}function _y(e,t,n){var r=t.cloneNode(!0),o=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),o}function zy(e,t,n,r){if(n){var o=t;if(t.type==="click"){o=_y(t,e,""),n(o);return}if(e.type!=="file"&&r!==void 0){o=_y(t,e,r),n(o);return}n(o)}}var t6=function(t){var n,r,o=t.inputElement,i=t.children,a=t.prefixCls,l=t.prefix,c=t.suffix,u=t.addonBefore,d=t.addonAfter,f=t.className,m=t.style,h=t.disabled,b=t.readOnly,p=t.focused,S=t.triggerFocus,v=t.allowClear,g=t.value,y=t.handleReset,C=t.hidden,$=t.classes,x=t.classNames,w=t.dataAttrs,E=t.styles,O=t.components,P=i??o,M=(O==null?void 0:O.affixWrapper)||"span",N=(O==null?void 0:O.groupWrapper)||"span",I=(O==null?void 0:O.wrapper)||"span",z=(O==null?void 0:O.groupAddon)||"span",j=s.useRef(null),_=function(te){var Y;(Y=j.current)!==null&&Y!==void 0&&Y.contains(te.target)&&(S==null||S())},T=e6(t),R=s.cloneElement(P,{value:g,className:U(P.props.className,!T&&(x==null?void 0:x.variant))||null});if(T){var L,A=null;if(v){var F,H=!h&&!b&&g,K="".concat(a,"-clear-icon"),X=nt(v)==="object"&&v!==null&&v!==void 0&&v.clearIcon?v.clearIcon:"✖";A=V.createElement("span",{onClick:y,onMouseDown:function(te){return te.preventDefault()},className:U(K,(F={},B(F,"".concat(K,"-hidden"),!H),B(F,"".concat(K,"-has-suffix"),!!c),F)),role:"button",tabIndex:-1},X)}var q="".concat(a,"-affix-wrapper"),oe=U(q,(L={},B(L,"".concat(a,"-disabled"),h),B(L,"".concat(q,"-disabled"),h),B(L,"".concat(q,"-focused"),p),B(L,"".concat(q,"-readonly"),b),B(L,"".concat(q,"-input-with-clear-btn"),c&&v&&g),L),$==null?void 0:$.affixWrapper,x==null?void 0:x.affixWrapper,x==null?void 0:x.variant),J=(c||v)&&V.createElement("span",{className:U("".concat(a,"-suffix"),x==null?void 0:x.suffix),style:E==null?void 0:E.suffix},A,c);R=V.createElement(M,ve({className:oe,style:E==null?void 0:E.affixWrapper,onClick:_},w==null?void 0:w.affixWrapper,{ref:j}),l&&V.createElement("span",{className:U("".concat(a,"-prefix"),x==null?void 0:x.prefix),style:E==null?void 0:E.prefix},l),R,J)}if(Jj(t)){var ee="".concat(a,"-group"),re="".concat(ee,"-addon"),Q="".concat(ee,"-wrapper"),G=U("".concat(a,"-wrapper"),ee,$==null?void 0:$.wrapper,x==null?void 0:x.wrapper),se=U(Q,B({},"".concat(Q,"-disabled"),h),$==null?void 0:$.group,x==null?void 0:x.groupWrapper);R=V.createElement(N,{className:se},V.createElement(I,{className:G},u&&V.createElement(z,{className:re},u),R,d&&V.createElement(z,{className:re},d)))}return V.cloneElement(R,{className:U((n=R.props)===null||n===void 0?void 0:n.className,f)||null,style:D(D({},(r=R.props)===null||r===void 0?void 0:r.style),m),hidden:C})},n6=["show"];function r6(e,t){return s.useMemo(function(){var n={};t&&(n.show=nt(t)==="object"&&t.formatter?t.formatter:!!t),n=D(D({},n),e);var r=n,o=r.show,i=Je(r,n6);return D(D({},i),{},{show:!!o,showFormatter:typeof o=="function"?o:void 0,strategy:i.strategy||function(a){return a.length}})},[e,t])}const o6=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:V.createElement(KC,null)}),t},i6=o6;function a6(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r);break}}}var l6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const s6=l6;var c6=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:s6}))},u6=s.forwardRef(c6);const d6=u6;var f6=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,m6=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],bf={},ur;function v6(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&bf[n])return bf[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=m6.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),c={sizingStyle:l,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(bf[n]=c),c}function g6(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ur||(ur=document.createElement("textarea"),ur.setAttribute("tab-index","-1"),ur.setAttribute("aria-hidden","true"),document.body.appendChild(ur)),e.getAttribute("wrap")?ur.setAttribute("wrap",e.getAttribute("wrap")):ur.removeAttribute("wrap");var o=v6(e,t),i=o.paddingSize,a=o.borderSize,l=o.boxSizing,c=o.sizingStyle;ur.setAttribute("style","".concat(c,";").concat(f6)),ur.value=e.value||e.placeholder||"";var u=void 0,d=void 0,f,m=ur.scrollHeight;if(l==="border-box"?m+=a:l==="content-box"&&(m-=i),n!==null||r!==null){ur.value=" ";var h=ur.scrollHeight-i;n!==null&&(u=h*n,l==="border-box"&&(u=u+i+a),m=Math.max(u,m)),r!==null&&(d=h*r,l==="border-box"&&(d=d+i+a),f=m>d?"":"hidden",m=Math.min(d,m))}var b={height:m,overflowY:f,resize:"none"};return u&&(b.minHeight=u),d&&(b.maxHeight=d),b}var p6=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Sf=0,Cf=1,xf=2,h6=s.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,i=n.value,a=n.autoSize,l=n.onResize,c=n.className,u=n.style,d=n.disabled,f=n.onChange;n.onInternalAutoSize;var m=Je(n,p6),h=nn(o,{value:i,postState:function(X){return X??""}}),b=W(h,2),p=b[0],S=b[1],v=function(X){S(X.target.value),f==null||f(X)},g=s.useRef();s.useImperativeHandle(t,function(){return{textArea:g.current}});var y=s.useMemo(function(){return a&&nt(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),C=W(y,2),$=C[0],x=C[1],w=!!a,E=function(){try{if(document.activeElement===g.current){var X=g.current,q=X.selectionStart,oe=X.selectionEnd,J=X.scrollTop;g.current.setSelectionRange(q,oe),g.current.scrollTop=J}}catch{}},O=s.useState(xf),P=W(O,2),M=P[0],N=P[1],I=s.useState(),z=W(I,2),j=z[0],_=z[1],T=function(){N(Sf)};Mt(function(){w&&T()},[i,$,x,w]),Mt(function(){if(M===Sf)N(Cf);else if(M===Cf){var K=g6(g.current,!1,$,x);N(xf),_(K)}else E()},[M]);var R=s.useRef(),L=function(){Ct.cancel(R.current)},A=function(X){M===xf&&(l==null||l(X),a&&(L(),R.current=Ct(function(){T()})))};s.useEffect(function(){return L},[]);var F=w?j:null,H=D(D({},u),F);return(M===Sf||M===Cf)&&(H.overflowY="hidden",H.overflowX="hidden"),s.createElement(gr,{onResize:A,disabled:!(a||l)},s.createElement("textarea",ve({},m,{ref:g,style:H,className:U(r,c,B({},"".concat(r,"-disabled"),d)),disabled:d,value:p,onChange:v})))}),y6=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],b6=V.forwardRef(function(e,t){var n,r,o=e.defaultValue,i=e.value,a=e.onFocus,l=e.onBlur,c=e.onChange,u=e.allowClear,d=e.maxLength,f=e.onCompositionStart,m=e.onCompositionEnd,h=e.suffix,b=e.prefixCls,p=b===void 0?"rc-textarea":b,S=e.showCount,v=e.count,g=e.className,y=e.style,C=e.disabled,$=e.hidden,x=e.classNames,w=e.styles,E=e.onResize,O=Je(e,y6),P=nn(o,{value:i,defaultValue:o}),M=W(P,2),N=M[0],I=M[1],z=N==null?"":String(N),j=V.useState(!1),_=W(j,2),T=_[0],R=_[1],L=V.useRef(!1),A=V.useState(null),F=W(A,2),H=F[0],K=F[1],X=s.useRef(null),q=function(){var ye;return(ye=X.current)===null||ye===void 0?void 0:ye.textArea},oe=function(){q().focus()};s.useImperativeHandle(t,function(){return{resizableTextArea:X.current,focus:oe,blur:function(){q().blur()}}}),s.useEffect(function(){R(function(Oe){return!C&&Oe})},[C]);var J=V.useState(null),ee=W(J,2),re=ee[0],Q=ee[1];V.useEffect(function(){if(re){var Oe;(Oe=q()).setSelectionRange.apply(Oe,Te(re))}},[re]);var G=r6(v,S),se=(n=G.max)!==null&&n!==void 0?n:d,le=Number(se)>0,te=G.strategy(z),Y=!!se&&te>se,ge=function(ye,$e){var xe=$e;!L.current&&G.exceedFormatter&&G.max&&G.strategy($e)>G.max&&(xe=G.exceedFormatter($e,{max:G.max}),$e!==xe&&Q([q().selectionStart||0,q().selectionEnd||0])),I(xe),zy(ye.currentTarget,ye,c,xe)},ue=function(ye){L.current=!0,f==null||f(ye)},ie=function(ye){L.current=!1,ge(ye,ye.currentTarget.value),m==null||m(ye)},Z=function(ye){ge(ye,ye.target.value)},de=function(ye){var $e=O.onPressEnter,xe=O.onKeyDown;ye.key==="Enter"&&$e&&$e(ye),xe==null||xe(ye)},ce=function(ye){R(!0),a==null||a(ye)},me=function(ye){R(!1),l==null||l(ye)},fe=function(ye){I(""),oe(),zy(q(),ye,c)},be=h,_e;G.show&&(G.showFormatter?_e=G.showFormatter({value:z,count:te,maxLength:se}):_e="".concat(te).concat(le?" / ".concat(se):""),be=V.createElement(V.Fragment,null,be,V.createElement("span",{className:U("".concat(p,"-data-count"),x==null?void 0:x.count),style:w==null?void 0:w.count},_e)));var Ee=function(ye){var $e;E==null||E(ye),($e=q())!==null&&$e!==void 0&&$e.style.height&&K(!0)},Xe=!O.autoSize&&!S&&!u;return V.createElement(t6,{value:z,allowClear:u,handleReset:fe,suffix:be,prefixCls:p,classNames:D(D({},x),{},{affixWrapper:U(x==null?void 0:x.affixWrapper,(r={},B(r,"".concat(p,"-show-count"),S),B(r,"".concat(p,"-textarea-allow-clear"),u),r))}),disabled:C,focused:T,className:U(g,Y&&"".concat(p,"-out-of-range")),style:D(D({},y),H&&!Xe?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof _e=="string"?_e:void 0}},hidden:$},V.createElement(h6,ve({},O,{maxLength:d,onKeyDown:de,onChange:Z,onFocus:ce,onBlur:me,onCompositionStart:ue,onCompositionEnd:ie,className:U(x==null?void 0:x.textarea),style:D(D({},w==null?void 0:w.textarea),{},{resize:y==null?void 0:y.resize}),disabled:C,prefixCls:p,onResize:Ee,ref:X})))}),S6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r;const{prefixCls:o,bordered:i=!0,size:a,disabled:l,status:c,allowClear:u,classNames:d,rootClassName:f,className:m,style:h,styles:b,variant:p}=e,S=S6(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:v,direction:g,textArea:y}=s.useContext(qe),C=Bo(a),$=s.useContext(Hu),x=l??$,{status:w,hasFeedback:E,feedbackIcon:O}=s.useContext(Cx),P=Hx(w,c),M=s.useRef(null);s.useImperativeHandle(t,()=>{var A;return{resizableTextArea:(A=M.current)===null||A===void 0?void 0:A.resizableTextArea,focus:F=>{var H,K;a6((K=(H=M.current)===null||H===void 0?void 0:H.resizableTextArea)===null||K===void 0?void 0:K.textArea,F)},blur:()=>{var F;return(F=M.current)===null||F===void 0?void 0:F.blur()}}});const N=v("input",o),I=yi(N),[z,j,_]=HL(N,I),[T,R]=Ux(p,i),L=i6(u??(y==null?void 0:y.allowClear));return z(s.createElement(b6,Object.assign({autoComplete:y==null?void 0:y.autoComplete},S,{style:Object.assign(Object.assign({},y==null?void 0:y.style),h),styles:Object.assign(Object.assign({},y==null?void 0:y.styles),b),disabled:x,allowClear:L,className:U(_,I,m,f,y==null?void 0:y.className),classNames:Object.assign(Object.assign(Object.assign({},d),y==null?void 0:y.classNames),{textarea:U({[`${N}-sm`]:C==="small",[`${N}-lg`]:C==="large"},j,d==null?void 0:d.textarea,(n=y==null?void 0:y.classNames)===null||n===void 0?void 0:n.textarea),variant:U({[`${N}-${T}`]:R},Dx(N,P)),affixWrapper:U(`${N}-textarea-affix-wrapper`,{[`${N}-affix-wrapper-rtl`]:g==="rtl",[`${N}-affix-wrapper-sm`]:C==="small",[`${N}-affix-wrapper-lg`]:C==="large",[`${N}-textarea-show-count`]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},j)}),prefixCls:N,suffix:E&&s.createElement("span",{className:`${N}-textarea-suffix`},O),ref:M})))}),x6=C6;function Ly(e){return["small","middle","large"].includes(e)}function jy(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const Lw=V.createContext({latestIndex:0}),w6=Lw.Provider,$6=e=>{let{className:t,index:n,children:r,split:o,style:i}=e;const{latestIndex:a}=s.useContext(Lw);return r==null?null:s.createElement(s.Fragment,null,s.createElement("div",{className:t,style:i},r),n{var n,r;const{getPrefixCls:o,space:i,direction:a}=s.useContext(qe),{size:l=(i==null?void 0:i.size)||"small",align:c,className:u,rootClassName:d,children:f,direction:m="horizontal",prefixCls:h,split:b,style:p,wrap:S=!1,classNames:v,styles:g}=e,y=O6(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,$]=Array.isArray(l)?l:[l,l],x=Ly($),w=Ly(C),E=jy($),O=jy(C),P=yr(f,{keepEmpty:!0}),M=c===void 0&&m==="horizontal"?"center":c,N=o("space",h),[I,z,j]=ex(N),_=U(N,i==null?void 0:i.className,z,`${N}-${m}`,{[`${N}-rtl`]:a==="rtl",[`${N}-align-${M}`]:M,[`${N}-gap-row-${$}`]:x,[`${N}-gap-col-${C}`]:w},u,d,j),T=U(`${N}-item`,(n=v==null?void 0:v.item)!==null&&n!==void 0?n:(r=i==null?void 0:i.classNames)===null||r===void 0?void 0:r.item);let R=0;const L=P.map((H,K)=>{var X,q;H!=null&&(R=K);const oe=H&&H.key||`${T}-${K}`;return s.createElement(E6,{className:T,key:oe,index:K,split:b,style:(X=g==null?void 0:g.item)!==null&&X!==void 0?X:(q=i==null?void 0:i.styles)===null||q===void 0?void 0:q.item},H)}),A=s.useMemo(()=>({latestIndex:R}),[R]);if(P.length===0)return null;const F={};return S&&(F.flexWrap="wrap"),!w&&O&&(F.columnGap=C),!x&&E&&(F.rowGap=$),I(s.createElement("div",Object.assign({ref:t,className:_,style:Object.assign(Object.assign(Object.assign({},F),i==null?void 0:i.style),p)},y),s.createElement(w6,{value:A},L)))}),jw=R6;jw.Compact=RM;const I6=jw,Aw=V.createContext(void 0),{Provider:P6}=Aw,Fw=Aw;var M6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};const T6=M6;var N6=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:T6}))},_6=s.forwardRef(N6);const Bw=_6,z6=e=>{const{icon:t,description:n,prefixCls:r,className:o}=e,i=V.createElement("div",{className:`${r}-icon`},V.createElement(Bw,null));return V.createElement("div",{onClick:e.onClick,onFocus:e.onFocus,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,className:U(o,`${r}-content`)},t||n?V.createElement(V.Fragment,null,t&&V.createElement("div",{className:`${r}-icon`},t),n&&V.createElement("div",{className:`${r}-description`},n)):i)},L6=s.memo(z6),Ay=e=>e===0?0:e-Math.sqrt(Math.pow(e,2)/2),j6=e=>{const{componentCls:t,floatButtonSize:n,motionDurationSlow:r,motionEaseInOutCirc:o}=e,i=`${t}-group`,a=new ut("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${k(n)}, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new ut("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${k(n)}, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${i}-wrap`]:Object.assign({},cs(`${i}-wrap`,a,l,r,!0))},{[`${i}-wrap`]:{[` + &${i}-wrap-enter, + &${i}-wrap-appear + `]:{opacity:0,animationTimingFunction:o},[`&${i}-wrap-leave`]:{animationTimingFunction:o}}}]},A6=e=>{const{antCls:t,componentCls:n,floatButtonSize:r,margin:o,borderRadiusLG:i,borderRadiusSM:a,badgeOffset:l,floatButtonBodyPadding:c,calc:u}=e,d=`${n}-group`;return{[d]:Object.assign(Object.assign({},gn(e)),{zIndex:99,display:"block",border:"none",position:"fixed",width:r,height:"auto",boxShadow:"none",minHeight:r,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:i,[`${d}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:o},[`&${d}-rtl`]:{direction:"rtl"},[n]:{position:"static"}}),[`${d}-circle`]:{[`${n}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${n}-body`]:{width:r,height:r,borderRadius:"50%"}}},[`${d}-square`]:{[`${n}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${k(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-badge`]:{[`${t}-badge-count`]:{top:u(u(c).add(l)).mul(-1).equal(),insetInlineEnd:u(u(c).add(l)).mul(-1).equal()}}},[`${d}-wrap`]:{display:"block",borderRadius:i,boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:c,"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${k(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize}}}},[`${d}-circle-shadow`]:{boxShadow:"none"},[`${d}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",padding:c,[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:a}}}}},F6=e=>{const{antCls:t,componentCls:n,floatButtonBodyPadding:r,floatButtonIconSize:o,floatButtonSize:i,borderRadiusLG:a,badgeOffset:l,dotOffsetInSquare:c,dotOffsetInCircle:u,calc:d}=e;return{[n]:Object.assign(Object.assign({},gn(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:99,display:"block",width:i,height:i,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-badge`]:{width:"100%",height:"100%",[`${t}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:d(l).mul(-1).equal(),insetInlineEnd:d(l).mul(-1).equal()}},[`${n}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${n}-content`]:{overflow:"hidden",textAlign:"center",minHeight:i,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${k(d(r).div(2).equal())} ${k(r)}`,[`${n}-icon`]:{textAlign:"center",margin:"auto",width:o,fontSize:o,lineHeight:1}}}}),[`${n}-rtl`]:{direction:"rtl"},[`${n}-circle`]:{height:i,borderRadius:"50%",[`${t}-badge`]:{[`${t}-badge-dot`]:{top:u,insetInlineEnd:u}},[`${n}-body`]:{borderRadius:"50%"}},[`${n}-square`]:{height:"auto",minHeight:i,borderRadius:a,[`${t}-badge`]:{[`${t}-badge-dot`]:{top:c,insetInlineEnd:c}},[`${n}-body`]:{height:"auto",borderRadius:a}},[`${n}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${n}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorText},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:k(e.fontSizeLG),color:e.colorText,fontSize:e.fontSizeSM}}}},[`${n}-primary`]:{backgroundColor:e.colorPrimary,[`${n}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorTextLightSolid},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:k(e.fontSizeLG),color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}},B6=e=>({dotOffsetInCircle:Ay(e.controlHeightLG/2),dotOffsetInSquare:Ay(e.borderRadiusLG)}),Dw=Yt("FloatButton",e=>{const{colorTextLightSolid:t,colorBgElevated:n,controlHeightLG:r,marginXXL:o,marginLG:i,fontSize:a,fontSizeIcon:l,controlItemBgHover:c,paddingXXS:u,calc:d}=e,f=Ot(e,{floatButtonBackgroundColor:n,floatButtonColor:t,floatButtonHoverBackgroundColor:c,floatButtonFontSize:a,floatButtonIconSize:d(l).mul(1.5).equal(),floatButtonSize:r,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:i,floatButtonBodySize:d(r).sub(d(u).mul(2)).equal(),floatButtonBodyPadding:u,badgeOffset:d(u).mul(1.5).equal()});return[A6(f),F6(f),Gg(e),j6(f)]},B6);var D6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,className:r,rootClassName:o,type:i="default",shape:a="circle",icon:l,description:c,tooltip:u,badge:d={}}=e,f=D6(e,["prefixCls","className","rootClassName","type","shape","icon","description","tooltip","badge"]),{getPrefixCls:m,direction:h}=s.useContext(qe),b=s.useContext(Fw),p=m(ad,n),S=yi(p),[v,g,y]=Dw(p,S),C=b||a,$=U(g,y,S,p,r,o,`${p}-${i}`,`${p}-${C}`,{[`${p}-rtl`]:h==="rtl"}),x=s.useMemo(()=>Dn(d,["title","children","status","text"]),[d]),w=s.useMemo(()=>({prefixCls:p,description:c,icon:l,type:i}),[p,c,l,i]);let E=V.createElement("div",{className:`${p}-body`},V.createElement(L6,Object.assign({},w)));return"badge"in e&&(E=V.createElement(f3,Object.assign({},x),E)),"tooltip"in e&&(E=V.createElement(Ju,{title:u,placement:h==="rtl"?"right":"left"},E)),v(e.href?V.createElement("a",Object.assign({ref:t},f,{className:$}),E):V.createElement("button",Object.assign({ref:t},f,{className:$,type:"button"}),E))}),Si=H6;var k6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,className:r,type:o="default",shape:i="circle",visibilityHeight:a=400,icon:l=V.createElement(G4,null),target:c,onClick:u,duration:d=450}=e,f=k6(e,["prefixCls","className","type","shape","visibilityHeight","icon","target","onClick","duration"]),[m,h]=s.useState(a===0),b=V.useRef(null);V.useImperativeHandle(t,()=>({nativeElement:b.current}));const p=()=>b.current&&b.current.ownerDocument?b.current.ownerDocument:window,S=NO(E=>{const O=XC(E.target,!0);h(O>=a)});s.useEffect(()=>{const O=(c||p)();return S({target:O}),O==null||O.addEventListener("scroll",S),()=>{S.cancel(),O==null||O.removeEventListener("scroll",S)}},[c]);const v=E=>{UP(0,{getContainer:c||p,duration:d}),u==null||u(E)},{getPrefixCls:g}=s.useContext(qe),y=g(ad,n),C=g(),x=s.useContext(Fw)||i,w=Object.assign({prefixCls:y,icon:l,type:o,shape:x},f);return V.createElement(lr,{visible:m,motionName:`${C}-fade`},E=>{let{className:O}=E;return V.createElement(Si,Object.assign({ref:b},w,{onClick:v,className:U(r,O)}))})}),Hw=V6;var W6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,style:r,shape:o="circle",type:i="default",icon:a=V.createElement(Bw,null),closeIcon:l=V.createElement(Uu,null),description:c,trigger:u,children:d,onOpenChange:f,open:m}=e,h=W6(e,["prefixCls","className","style","shape","type","icon","closeIcon","description","trigger","children","onOpenChange","open"]),{direction:b,getPrefixCls:p}=s.useContext(qe),S=p(ad,t),v=yi(S),[g,y,C]=Dw(S,v),$=`${S}-group`,x=U($,y,C,v,n,{[`${$}-rtl`]:b==="rtl",[`${$}-${o}`]:o,[`${$}-${o}-shadow`]:!u}),w=U(y,`${$}-wrap`),[E,O]=nn(!1,{value:m}),P=V.useRef(null),M=V.useRef(null),N=V.useMemo(()=>u==="hover"?{onMouseEnter(){O(!0),f==null||f(!0)},onMouseLeave(){O(!1),f==null||f(!1)}}:{},[u]),I=()=>{O(j=>(f==null||f(!j),!j))},z=s.useCallback(j=>{var _,T;if(!((_=P.current)===null||_===void 0)&&_.contains(j.target)){!((T=M.current)===null||T===void 0)&&T.contains(j.target)&&I();return}O(!1),f==null||f(!1)},[u]);return s.useEffect(()=>{if(u==="click")return document.addEventListener("click",z),()=>{document.removeEventListener("click",z)}},[u]),g(V.createElement(P6,{value:o},V.createElement("div",Object.assign({ref:P,className:x,style:r},N),u&&["click","hover"].includes(u)?V.createElement(V.Fragment,null,V.createElement(lr,{visible:E,motionName:`${$}-wrap`},j=>{let{className:_}=j;return V.createElement("div",{className:U(_,w)},d)}),V.createElement(Si,Object.assign({ref:M,type:i,shape:o,icon:E?l:a,description:c,"aria-label":e["aria-label"]},h))):d)))},kw=s.memo(U6);var Vw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{backTop:t}=e,n=Vw(e,["backTop"]);return t?s.createElement(Hw,Object.assign({},n,{visibilityHeight:0})):s.createElement(Si,Object.assign({},n))},G6=e=>{var{className:t,items:n}=e,r=Vw(e,["className","items"]);const{prefixCls:o}=r,{getPrefixCls:i}=s.useContext(qe),l=`${i(ad,o)}-pure`;return n?s.createElement(kw,Object.assign({className:U(t,l)},r),n.map((c,u)=>s.createElement(Fy,Object.assign({key:u},c)))):s.createElement(Fy,Object.assign({className:U(t,l)},r))},K6=G6;Si.BackTop=Hw;Si.Group=kw;Si._InternalPanelDoNotUseOrYouWillBeFired=K6;function Ww(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function q6(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var Sv=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],ms=s.createContext(null),By=0;function X6(e,t){var n=s.useState(function(){return By+=1,String(By)}),r=W(n,1),o=r[0],i=s.useContext(ms),a={data:t,canPreview:e};return s.useEffect(function(){if(i)return i.register(o,a)},[]),s.useEffect(function(){i&&i.register(o,a)},[e,t]),o}function Y6(e){return new Promise(function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function Uw(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,o=s.useState(n?"loading":"normal"),i=W(o,2),a=i[0],l=i[1],c=s.useRef(!1),u=a==="error";s.useEffect(function(){var h=!0;return Y6(t).then(function(b){!b&&h&&l("error")}),function(){h=!1}},[t]),s.useEffect(function(){n&&!c.current?l("loading"):u&&l("normal")},[t]);var d=function(){l("normal")},f=function(b){c.current=!1,a==="loading"&&b!==null&&b!==void 0&&b.complete&&(b.naturalWidth||b.naturalHeight)&&(c.current=!0,d())},m=u&&r?{src:r}:{onLoad:d,src:t};return[f,m,a]}function Ji(e,t,n,r){var o=Gc.unstable_batchedUpdates?function(a){Gc.unstable_batchedUpdates(n,a)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,o,r)}}}var qs={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Q6(e,t,n,r){var o=s.useRef(null),i=s.useRef([]),a=s.useState(qs),l=W(a,2),c=l[0],u=l[1],d=function(b){u(qs),r&&!ns(qs,c)&&r({transform:qs,action:b})},f=function(b,p){o.current===null&&(i.current=[],o.current=Ct(function(){u(function(S){var v=S;return i.current.forEach(function(g){v=D(D({},v),g)}),o.current=null,r==null||r({transform:v,action:p}),v})})),i.current.push(D(D({},c),b))},m=function(b,p,S,v,g){var y=e.current,C=y.width,$=y.height,x=y.offsetWidth,w=y.offsetHeight,E=y.offsetLeft,O=y.offsetTop,P=b,M=c.scale*b;M>n?(M=n,P=n/c.scale):Mr){if(t>0)return B({},e,i);if(t<0&&or)return B({},e,t<0?i:-i);return{}}function Gw(e,t,n,r){var o=Ww(),i=o.width,a=o.height,l=null;return e<=i&&t<=a?l={x:0,y:0}:(e>i||t>a)&&(l=D(D({},Dy("x",n,e,i)),Dy("y",r,t,a))),l}var ea=1,Z6=1;function J6(e,t,n,r,o,i,a){var l=o.rotate,c=o.scale,u=o.x,d=o.y,f=s.useState(!1),m=W(f,2),h=m[0],b=m[1],p=s.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),S=function($){!t||$.button!==0||($.preventDefault(),$.stopPropagation(),p.current={diffX:$.pageX-u,diffY:$.pageY-d,transformX:u,transformY:d},b(!0))},v=function($){n&&h&&i({x:$.pageX-p.current.diffX,y:$.pageY-p.current.diffY},"move")},g=function(){if(n&&h){b(!1);var $=p.current,x=$.transformX,w=$.transformY,E=u!==x&&d!==w;if(!E)return;var O=e.current.offsetWidth*c,P=e.current.offsetHeight*c,M=e.current.getBoundingClientRect(),N=M.left,I=M.top,z=l%180!==0,j=Gw(z?P:O,z?O:P,N,I);j&&i(D({},j),"dragRebound")}},y=function($){if(!(!n||$.deltaY==0)){var x=Math.abs($.deltaY/100),w=Math.min(x,Z6),E=ea+w*r;$.deltaY>0&&(E=ea/E),a(E,"wheel",$.clientX,$.clientY)}};return s.useEffect(function(){var C,$,x,w;if(t){x=Ji(window,"mouseup",g,!1),w=Ji(window,"mousemove",v,!1);try{window.top!==window.self&&(C=Ji(window.top,"mouseup",g,!1),$=Ji(window.top,"mousemove",v,!1))}catch{}}return function(){var E,O,P,M;(E=x)===null||E===void 0||E.remove(),(O=w)===null||O===void 0||O.remove(),(P=C)===null||P===void 0||P.remove(),(M=$)===null||M===void 0||M.remove()}},[n,h,u,d,l,t]),{isMoving:h,onMouseDown:S,onMouseMove:v,onMouseUp:g,onWheel:y}}function lu(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function e8(e,t,n,r){var o=lu(e,n),i=lu(t,r);if(o===0&&i===0)return[e.x,e.y];var a=o/(o+i),l=e.x+a*(t.x-e.x),c=e.y+a*(t.y-e.y);return[l,c]}function t8(e,t,n,r,o,i,a){var l=o.rotate,c=o.scale,u=o.x,d=o.y,f=s.useState(!1),m=W(f,2),h=m[0],b=m[1],p=s.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),S=function($){p.current=D(D({},p.current),$)},v=function($){if(t){$.stopPropagation(),b(!0);var x=$.touches,w=x===void 0?[]:x;w.length>1?S({point1:{x:w[0].clientX,y:w[0].clientY},point2:{x:w[1].clientX,y:w[1].clientY},eventType:"touchZoom"}):S({point1:{x:w[0].clientX-u,y:w[0].clientY-d},eventType:"move"})}},g=function($){var x=$.touches,w=x===void 0?[]:x,E=p.current,O=E.point1,P=E.point2,M=E.eventType;if(w.length>1&&M==="touchZoom"){var N={x:w[0].clientX,y:w[0].clientY},I={x:w[1].clientX,y:w[1].clientY},z=e8(O,P,N,I),j=W(z,2),_=j[0],T=j[1],R=lu(N,I)/lu(O,P);a(R,"touchZoom",_,T,!0),S({point1:N,point2:I,eventType:"touchZoom"})}else M==="move"&&(i({x:w[0].clientX-O.x,y:w[0].clientY-O.y},"move"),S({eventType:"move"}))},y=function(){if(n){if(h&&b(!1),S({eventType:"none"}),r>c)return i({x:0,y:0,scale:r},"touchZoom");var $=e.current.offsetWidth*c,x=e.current.offsetHeight*c,w=e.current.getBoundingClientRect(),E=w.left,O=w.top,P=l%180!==0,M=Gw(P?x:$,P?$:x,E,O);M&&i(D({},M),"dragRebound")}};return s.useEffect(function(){var C;return n&&t&&(C=Ji(window,"touchmove",function($){return $.preventDefault()},{passive:!1})),function(){var $;($=C)===null||$===void 0||$.remove()}},[n,t]),{isTouching:h,onTouchStart:v,onTouchMove:g,onTouchEnd:y}}var n8=function(t){var n=t.visible,r=t.maskTransitionName,o=t.getContainer,i=t.prefixCls,a=t.rootClassName,l=t.icons,c=t.countRender,u=t.showSwitch,d=t.showProgress,f=t.current,m=t.transform,h=t.count,b=t.scale,p=t.minScale,S=t.maxScale,v=t.closeIcon,g=t.onSwitchLeft,y=t.onSwitchRight,C=t.onClose,$=t.onZoomIn,x=t.onZoomOut,w=t.onRotateRight,E=t.onRotateLeft,O=t.onFlipX,P=t.onFlipY,M=t.toolbarRender,N=t.zIndex,I=s.useContext(ms),z=l.rotateLeft,j=l.rotateRight,_=l.zoomIn,T=l.zoomOut,R=l.close,L=l.left,A=l.right,F=l.flipX,H=l.flipY,K="".concat(i,"-operations-operation");s.useEffect(function(){var J=function(re){re.keyCode===ne.ESC&&C()};return n&&window.addEventListener("keydown",J),function(){window.removeEventListener("keydown",J)}},[n]);var X=[{icon:H,onClick:P,type:"flipY"},{icon:F,onClick:O,type:"flipX"},{icon:z,onClick:E,type:"rotateLeft"},{icon:j,onClick:w,type:"rotateRight"},{icon:T,onClick:x,type:"zoomOut",disabled:b<=p},{icon:_,onClick:$,type:"zoomIn",disabled:b===S}],q=X.map(function(J){var ee,re=J.icon,Q=J.onClick,G=J.type,se=J.disabled;return s.createElement("div",{className:U(K,(ee={},B(ee,"".concat(i,"-operations-operation-").concat(G),!0),B(ee,"".concat(i,"-operations-operation-disabled"),!!se),ee)),onClick:Q,key:G},re)}),oe=s.createElement("div",{className:"".concat(i,"-operations")},q);return s.createElement(lr,{visible:n,motionName:r},function(J){var ee=J.className,re=J.style;return s.createElement(Xu,{open:!0,getContainer:o??document.body},s.createElement("div",{className:U("".concat(i,"-operations-wrapper"),ee,a),style:D(D({},re),{},{zIndex:N})},v===null?null:s.createElement("button",{className:"".concat(i,"-close"),onClick:C},v||R),u&&s.createElement(s.Fragment,null,s.createElement("div",{className:U("".concat(i,"-switch-left"),B({},"".concat(i,"-switch-left-disabled"),f===0)),onClick:g},L),s.createElement("div",{className:U("".concat(i,"-switch-right"),B({},"".concat(i,"-switch-right-disabled"),f===h-1)),onClick:y},A)),s.createElement("div",{className:"".concat(i,"-footer")},d&&s.createElement("div",{className:"".concat(i,"-progress")},c?c(f+1,h):"".concat(f+1," / ").concat(h)),M?M(oe,D({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:P,onFlipX:O,onRotateLeft:E,onRotateRight:w,onZoomOut:x,onZoomIn:$},transform:m},I?{current:f,total:h}:{})):oe)))})},r8=["fallback","src","imgRef"],o8=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],i8=function(t){var n=t.fallback,r=t.src,o=t.imgRef,i=Je(t,r8),a=Uw({src:r,fallback:n}),l=W(a,2),c=l[0],u=l[1];return V.createElement("img",ve({ref:function(f){o.current=f,c(f)}},i,u))},Kw=function(t){var n=t.prefixCls,r=t.src,o=t.alt,i=t.fallback,a=t.movable,l=a===void 0?!0:a,c=t.onClose,u=t.visible,d=t.icons,f=d===void 0?{}:d,m=t.rootClassName,h=t.closeIcon,b=t.getContainer,p=t.current,S=p===void 0?0:p,v=t.count,g=v===void 0?1:v,y=t.countRender,C=t.scaleStep,$=C===void 0?.5:C,x=t.minScale,w=x===void 0?1:x,E=t.maxScale,O=E===void 0?50:E,P=t.transitionName,M=P===void 0?"zoom":P,N=t.maskTransitionName,I=N===void 0?"fade":N,z=t.imageRender,j=t.imgCommonProps,_=t.toolbarRender,T=t.onTransform,R=t.onChange,L=Je(t,o8),A=s.useRef(),F=s.useContext(ms),H=F&&g>1,K=F&&g>=1,X=s.useState(!0),q=W(X,2),oe=q[0],J=q[1],ee=Q6(A,w,O,T),re=ee.transform,Q=ee.resetTransform,G=ee.updateTransform,se=ee.dispatchZoomChange,le=J6(A,l,u,$,re,G,se),te=le.isMoving,Y=le.onMouseDown,ge=le.onWheel,ue=t8(A,l,u,w,re,G,se),ie=ue.isTouching,Z=ue.onTouchStart,de=ue.onTouchMove,ce=ue.onTouchEnd,me=re.rotate,fe=re.scale,be=U(B({},"".concat(n,"-moving"),te));s.useEffect(function(){oe||J(!0)},[oe]);var _e=function(){Q("close")},Ee=function(){se(ea+$,"zoomIn")},Xe=function(){se(ea/(ea+$),"zoomOut")},Oe=function(){G({rotate:me+90},"rotateRight")},ye=function(){G({rotate:me-90},"rotateLeft")},$e=function(){G({flipX:!re.flipX},"flipX")},xe=function(){G({flipY:!re.flipY},"flipY")},Ye=function(ae){ae==null||ae.preventDefault(),ae==null||ae.stopPropagation(),S>0&&(J(!1),Q("prev"),R==null||R(S-1,S))},rt=function(ae){ae==null||ae.preventDefault(),ae==null||ae.stopPropagation(),S({position:e||"absolute",inset:0}),j8=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:o,prefixCls:i,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new jt("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ci),{padding:`0 ${k(r)}`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},A8=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:o,margin:i,paddingLG:a,previewOperationColorDisabled:l,previewOperationHoverColor:c,motionDurationSlow:u,iconCls:d,colorTextLightSolid:f}=e,m=new jt(n).setAlpha(.1),h=m.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:o,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:o,right:{_skip_check_:!0,value:o},display:"flex",color:f,backgroundColor:m.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:h.toRgbString()},[`& > ${d}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${k(a)}`,backgroundColor:m.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${d}`]:{color:c},"&-disabled":{color:l,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${d}`]:{fontSize:e.previewOperationSize}}}}},F8=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:o,zIndexPopup:i,motionDurationSlow:a}=e,l=new jt(t).setAlpha(.1),c=l.clone().setAlpha(.2);return{[`${o}-switch-left, ${o}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:c.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${o}-switch-left`]:{insetInlineStart:e.marginSM},[`${o}-switch-right`]:{insetInlineEnd:e.marginSM}}},B8=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:o}=e;return[{[`${o}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},Cv()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Cv()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${o}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${o}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal({unit:!1})},"&":[A8(e),F8(e)]}]},D8=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},j8(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},Cv())}}},H8=e=>{const{previewCls:t}=e;return{[`${t}-root`]:Kg(e,"zoom"),"&":Gg(e,!0)}},k8=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new jt(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new jt(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new jt(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),qw=Yt("Image",e=>{const t=`${e.componentCls}-preview`,n=Ot(e,{previewCls:t,modalMaskBg:new jt("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[D8(n),B8(n),Ox(Ot(n,{componentCls:t})),H8(n)]},k8);var V8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{previewPrefixCls:t,preview:n}=e,r=V8(e,["previewPrefixCls","preview"]);const{getPrefixCls:o}=s.useContext(qe),i=o("image",t),a=`${i}-preview`,l=o(),c=yi(i),[u,d,f]=qw(i,c),[m]=Gu("ImagePreview",typeof n=="object"?n.zIndex:void 0),h=s.useMemo(()=>{var b;if(n===!1)return n;const p=typeof n=="object"?n:{},S=U(d,f,c,(b=p.rootClassName)!==null&&b!==void 0?b:"");return Object.assign(Object.assign({},p),{transitionName:di(l,"zoom",p.transitionName),maskTransitionName:di(l,"fade",p.maskTransitionName),rootClassName:S,zIndex:m})},[n]);return u(s.createElement(ld.PreviewGroup,Object.assign({preview:h,previewPrefixCls:a,icons:Xw},r)))},U8=W8;var ky=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var t;const{prefixCls:n,preview:r,className:o,rootClassName:i,style:a}=e,l=ky(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:c,locale:u=Lo,getPopupContainer:d,image:f}=s.useContext(qe),m=c("image",n),h=c(),b=u.Image||Lo.Image,p=yi(m),[S,v,g]=qw(m,p),y=U(i,v,g,p),C=U(o,v,f==null?void 0:f.className),[$]=Gu("ImagePreview",typeof r=="object"?r.zIndex:void 0),x=s.useMemo(()=>{var E;if(r===!1)return r;const O=typeof r=="object"?r:{},{getContainer:P,closeIcon:M}=O,N=ky(O,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:s.createElement("div",{className:`${m}-mask-info`},s.createElement(d6,null),b==null?void 0:b.preview),icons:Xw},N),{getContainer:P??d,transitionName:di(h,"zoom",O.transitionName),maskTransitionName:di(h,"fade",O.maskTransitionName),zIndex:$,closeIcon:M??((E=f==null?void 0:f.preview)===null||E===void 0?void 0:E.closeIcon)})},[r,b,(t=f==null?void 0:f.preview)===null||t===void 0?void 0:t.closeIcon]),w=Object.assign(Object.assign({},f==null?void 0:f.style),a);return S(s.createElement(ld,Object.assign({prefixCls:m,preview:x,rootClassName:y,className:C,style:w},l)))};Yw.PreviewGroup=U8;const G8=Yw;function K8(e,t,n){return typeof n=="boolean"?n:e.length?!0:yr(t).some(o=>o.type===xw)}const q8=e=>{const{componentCls:t,bodyBg:n,lightSiderBg:r,lightTriggerBg:o,lightTriggerColor:i}=e;return{[`${t}-sider-light`]:{background:r,[`${t}-sider-trigger`]:{color:i,background:o},[`${t}-sider-zero-width-trigger`]:{color:i,background:o,border:`1px solid ${n}`,borderInlineStart:0}}}},X8=e=>{const{antCls:t,componentCls:n,colorText:r,triggerColor:o,footerBg:i,triggerBg:a,headerHeight:l,headerPadding:c,headerColor:u,footerPadding:d,triggerHeight:f,zeroTriggerHeight:m,zeroTriggerWidth:h,motionDurationMid:b,motionDurationSlow:p,fontSize:S,borderRadius:v,bodyBg:g,headerBg:y,siderBg:C}=e;return{[n]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:g,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-sider`]:{position:"relative",minWidth:0,background:C,transition:`all ${b}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:o,lineHeight:k(f),textAlign:"center",background:a,cursor:"pointer",transition:`all ${b}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:l,insetInlineEnd:e.calc(h).mul(-1).equal(),zIndex:1,width:h,height:m,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:C,borderStartStartRadius:0,borderStartEndRadius:v,borderEndEndRadius:v,borderEndStartRadius:0,cursor:"pointer",transition:`background ${p} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${p}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(h).mul(-1).equal(),borderStartStartRadius:v,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:v}}}}},q8(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:l,padding:c,color:u,lineHeight:k(l),background:y,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:r,fontSize:S,background:i},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},Y8=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:o,controlHeightSM:i,marginXXS:a,colorTextLightSolid:l,colorBgContainer:c}=e,u=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${u}px`,headerColor:o,footerPadding:`${i}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+a*2,triggerBg:"#002140",triggerColor:l,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:o}},Qw=Yt("Layout",e=>[X8(e)],Y8,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var Zw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);os.forwardRef((a,l)=>s.createElement(o,Object.assign({ref:l,suffixCls:t,tagName:n},a)))}const dp=s.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:o,tagName:i}=e,a=Zw(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:l}=s.useContext(qe),c=l("layout",n),[u,d,f]=Qw(c),m=r?`${c}-${r}`:c;return u(s.createElement(i,Object.assign({className:U(n||m,o,d,f),ref:t},a)))}),Q8=s.forwardRef((e,t)=>{const{direction:n}=s.useContext(qe),[r,o]=s.useState([]),{prefixCls:i,className:a,rootClassName:l,children:c,hasSider:u,tagName:d,style:f}=e,m=Zw(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),h=Dn(m,["suffixCls"]),{getPrefixCls:b,layout:p}=s.useContext(qe),S=b("layout",i),v=K8(r,c,u),[g,y,C]=Qw(S),$=U(S,{[`${S}-has-sider`]:v,[`${S}-rtl`]:n==="rtl"},p==null?void 0:p.className,a,l,y,C),x=s.useMemo(()=>({siderHook:{addSider:w=>{o(E=>[].concat(Te(E),[w]))},removeSider:w=>{o(E=>E.filter(O=>O!==w))}}}),[]);return g(s.createElement(Sw.Provider,{value:x},s.createElement(d,Object.assign({ref:t,className:$,style:Object.assign(Object.assign({},p==null?void 0:p.style),f)},h),c)))}),Z8=sd({tagName:"div",displayName:"Layout"})(Q8),Jw=sd({suffixCls:"header",tagName:"header",displayName:"Header"})(dp),J8=sd({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(dp),eA=sd({suffixCls:"content",tagName:"main",displayName:"Content"})(dp),_a=Z8;_a.Header=Jw;_a.Footer=J8;_a.Content=eA;_a.Sider=xw;_a._InternalSiderContext=Cw;const e$=_a,tA=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const o=n[r];o!==void 0&&(e[r]=o)})}return e},nA=tA;var rA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const oA=rA;var iA=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:oA}))},aA=s.forwardRef(iA);const Vy=aA;var lA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};const sA=lA;var cA=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:sA}))},uA=s.forwardRef(cA);const Wy=uA;var dA={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},fA=["10","20","50","100"],mA=function(t){var n=t.pageSizeOptions,r=n===void 0?fA:n,o=t.locale,i=t.changeSize,a=t.pageSize,l=t.goButton,c=t.quickGo,u=t.rootPrefixCls,d=t.selectComponentClass,f=t.selectPrefixCls,m=t.disabled,h=t.buildOptionText,b=V.useState(""),p=W(b,2),S=p[0],v=p[1],g=function(){return!S||Number.isNaN(S)?void 0:Number(S)},y=typeof h=="function"?h:function(z){return"".concat(z," ").concat(o.items_per_page)},C=function(j){i==null||i(Number(j))},$=function(j){v(j.target.value)},x=function(j){l||S===""||(v(""),!(j.relatedTarget&&(j.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||j.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(c==null||c(g())))},w=function(j){S!==""&&(j.keyCode===ne.ENTER||j.type==="click")&&(v(""),c==null||c(g()))},E=function(){return r.some(function(j){return j.toString()===a.toString()})?r:r.concat([a.toString()]).sort(function(j,_){var T=Number.isNaN(Number(j))?0:Number(j),R=Number.isNaN(Number(_))?0:Number(_);return T-R})},O="".concat(u,"-options");if(!i&&!c)return null;var P=null,M=null,N=null;if(i&&d){var I=E().map(function(z,j){return V.createElement(d.Option,{key:j,value:z.toString()},y(z))});P=V.createElement(d,{disabled:m,prefixCls:f,showSearch:!1,className:"".concat(O,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(a||r[0]).toString(),onChange:C,getPopupContainer:function(j){return j.parentNode},"aria-label":o.page_size,defaultOpen:!1},I)}return c&&(l&&(N=typeof l=="boolean"?V.createElement("button",{type:"button",onClick:w,onKeyUp:w,disabled:m,className:"".concat(O,"-quick-jumper-button")},o.jump_to_confirm):V.createElement("span",{onClick:w,onKeyUp:w},l)),M=V.createElement("div",{className:"".concat(O,"-quick-jumper")},o.jump_to,V.createElement("input",{disabled:m,type:"text",value:S,onChange:$,onKeyUp:w,onBlur:x,"aria-label":o.page}),o.page,N)),V.createElement("li",{className:O},P,M)},Ya=function(t){var n,r=t.rootPrefixCls,o=t.page,i=t.active,a=t.className,l=t.showTitle,c=t.onClick,u=t.onKeyPress,d=t.itemRender,f="".concat(r,"-item"),m=U(f,"".concat(f,"-").concat(o),(n={},B(n,"".concat(f,"-active"),i),B(n,"".concat(f,"-disabled"),!o),n),a),h=function(){c(o)},b=function(v){u(v,c,o)},p=d(o,"page",V.createElement("a",{rel:"nofollow"},o));return p?V.createElement("li",{title:l?String(o):null,className:m,onClick:h,onKeyDown:b,tabIndex:0},p):null},vA=function(t,n,r){return r};function Uy(){}function Gy(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function Ho(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var gA=function(t){var n,r=t.prefixCls,o=r===void 0?"rc-pagination":r,i=t.selectPrefixCls,a=i===void 0?"rc-select":i,l=t.className,c=t.selectComponentClass,u=t.current,d=t.defaultCurrent,f=d===void 0?1:d,m=t.total,h=m===void 0?0:m,b=t.pageSize,p=t.defaultPageSize,S=p===void 0?10:p,v=t.onChange,g=v===void 0?Uy:v,y=t.hideOnSinglePage,C=t.showPrevNextJumpers,$=C===void 0?!0:C,x=t.showQuickJumper,w=t.showLessItems,E=t.showTitle,O=E===void 0?!0:E,P=t.onShowSizeChange,M=P===void 0?Uy:P,N=t.locale,I=N===void 0?dA:N,z=t.style,j=t.totalBoundaryShowSizeChanger,_=j===void 0?50:j,T=t.disabled,R=t.simple,L=t.showTotal,A=t.showSizeChanger,F=t.pageSizeOptions,H=t.itemRender,K=H===void 0?vA:H,X=t.jumpPrevIcon,q=t.jumpNextIcon,oe=t.prevIcon,J=t.nextIcon,ee=V.useRef(null),re=nn(10,{value:b,defaultValue:S}),Q=W(re,2),G=Q[0],se=Q[1],le=nn(1,{value:u,defaultValue:f,postState:function(st){return Math.max(1,Math.min(st,Ho(void 0,G,h)))}}),te=W(le,2),Y=te[0],ge=te[1],ue=V.useState(Y),ie=W(ue,2),Z=ie[0],de=ie[1];s.useEffect(function(){de(Y)},[Y]);var ce=Math.max(1,Y-(w?3:5)),me=Math.min(Ho(void 0,G,h),Y+(w?3:5));function fe(He,st){var ht=He||V.createElement("button",{type:"button","aria-label":st,className:"".concat(o,"-item-link")});return typeof He=="function"&&(ht=V.createElement(He,D({},t))),ht}function be(He){var st=He.target.value,ht=Ho(void 0,G,h),Vt;return st===""?Vt=st:Number.isNaN(Number(st))?Vt=Z:st>=ht?Vt=ht:Vt=Number(st),Vt}function _e(He){return Gy(He)&&He!==Y&&Gy(h)&&h>0}var Ee=h>G?x:!1;function Xe(He){(He.keyCode===ne.UP||He.keyCode===ne.DOWN)&&He.preventDefault()}function Oe(He){var st=be(He);switch(st!==Z&&de(st),He.keyCode){case ne.ENTER:xe(st);break;case ne.UP:xe(st-1);break;case ne.DOWN:xe(st+1);break}}function ye(He){xe(be(He))}function $e(He){var st=Ho(He,G,h),ht=Y>st&&st!==0?st:Y;se(He),de(ht),M==null||M(Y,He),ge(ht),g==null||g(ht,He)}function xe(He){if(_e(He)&&!T){var st=Ho(void 0,G,h),ht=He;return He>st?ht=st:He<1&&(ht=1),ht!==Z&&de(ht),ge(ht),g==null||g(ht,G),ht}return Y}var Ye=Y>1,rt=Y_;function at(){Ye&&xe(Y-1)}function Qe(){rt&&xe(Y+1)}function We(){xe(ce)}function ae(){xe(me)}function Re(He,st){if(He.key==="Enter"||He.charCode===ne.ENTER||He.keyCode===ne.ENTER){for(var ht=arguments.length,Vt=new Array(ht>2?ht-2:0),pn=2;pnh?h:Y*G])),ot=null,pe=Ho(void 0,G,h);if(y&&h<=G)return null;var Ce=[],Me={rootPrefixCls:o,onClick:xe,onKeyPress:Re,showTitle:O,itemRender:K,page:-1},Be=Y-1>0?Y-1:0,Ge=Y+1=Ae*2&&Y!==3&&(Ce[0]=V.cloneElement(Ce[0],{className:U("".concat(o,"-item-after-jump-prev"),Ce[0].props.className)}),Ce.unshift(Se)),pe-Y>=Ae*2&&Y!==pe-2){var Et=Ce[Ce.length-1];Ce[Ce.length-1]=V.cloneElement(Et,{className:U("".concat(o,"-item-before-jump-next"),Et.props.className)}),Ce.push(ot)}it!==1&&Ce.unshift(V.createElement(Ya,ve({},Me,{key:1,page:1}))),$t!==pe&&Ce.push(V.createElement(Ya,ve({},Me,{key:pe,page:pe})))}var cn=De(Be);if(cn){var xn=!Ye||!pe;cn=V.createElement("li",{title:O?I.prev_page:null,onClick:at,tabIndex:xn?null:0,onKeyDown:tt,className:U("".concat(o,"-prev"),B({},"".concat(o,"-disabled"),xn)),"aria-disabled":xn},cn)}var un=je(Ge);if(un){var kt,qn;R?(kt=!rt,qn=Ye?0:null):(kt=!rt||!pe,qn=kt?null:0),un=V.createElement("li",{title:O?I.next_page:null,onClick:Qe,tabIndex:qn,onKeyDown:ft,className:U("".concat(o,"-next"),B({},"".concat(o,"-disabled"),kt)),"aria-disabled":kt},un)}var Xn=U(o,l,(n={},B(n,"".concat(o,"-simple"),R),B(n,"".concat(o,"-disabled"),T),n));return V.createElement("ul",ve({className:Xn,style:z,ref:ee},we),Ke,cn,R?xt:Ce,un,V.createElement(mA,{locale:I,rootPrefixCls:o,disabled:T,selectComponentClass:c,selectPrefixCls:a,changeSize:et?$e:null,pageSize:G,pageSizeOptions:F,quickGo:Ee?xe:null,goButton:Pt}))};const t$=e=>s.createElement(Zu,Object.assign({},e,{showSearch:!0,size:"small"})),n$=e=>s.createElement(Zu,Object.assign({},e,{showSearch:!0,size:"middle"}));t$.Option=Zu.Option;n$.Option=Zu.Option;const pA=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},hA=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:k(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:k(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:k(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + &${t}-mini ${t}-prev ${t}-item-link, + &${t}-mini ${t}-next ${t}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:k(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:k(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:k(e.itemSizeSM),input:Object.assign(Object.assign({},sp(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},yA=e=>{const{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.itemSizeSM,lineHeight:k(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:k(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${k(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${k(e.inputOutlineOffset)} 0 ${k(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},bA=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + ${t}-prev, + ${t}-jump-prev, + ${t}-jump-next + `]:{marginInlineEnd:e.marginXS},[` + ${t}-prev, + ${t}-next, + ${t}-jump-prev, + ${t}-jump-next + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${k(e.itemSize)}`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${k(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:k(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},cp(e)),lp(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},nd(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},SA=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:k(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${k(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${k(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},CA=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gn(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:k(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),SA(e)),bA(e)),yA(e)),hA(e)),pA(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},xA=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},is(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Hm(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},Hm(e))}}}},r$=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},$w(e)),o$=e=>Ot(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},ww(e)),wA=Yt("Pagination",e=>{const t=o$(e);return[CA(t),xA(t)]},r$),$A=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},EA=MC(["Pagination","bordered"],e=>{const t=o$(e);return[$A(t)]},r$);var OA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,selectPrefixCls:n,className:r,rootClassName:o,style:i,size:a,locale:l,selectComponentClass:c,responsive:u,showSizeChanger:d}=e,f=OA(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:m}=Qx(u),[,h]=Tn(),{getPrefixCls:b,direction:p,pagination:S={}}=s.useContext(qe),v=b("pagination",t),[g,y,C]=wA(v),$=d??S.showSizeChanger,x=s.useMemo(()=>{const z=s.createElement("span",{className:`${v}-item-ellipsis`},"•••"),j=s.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},p==="rtl"?s.createElement(Vl,null):s.createElement($a,null)),_=s.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},p==="rtl"?s.createElement($a,null):s.createElement(Vl,null)),T=s.createElement("a",{className:`${v}-item-link`},s.createElement("div",{className:`${v}-item-container`},p==="rtl"?s.createElement(Wy,{className:`${v}-item-link-icon`}):s.createElement(Vy,{className:`${v}-item-link-icon`}),z)),R=s.createElement("a",{className:`${v}-item-link`},s.createElement("div",{className:`${v}-item-container`},p==="rtl"?s.createElement(Vy,{className:`${v}-item-link-icon`}):s.createElement(Wy,{className:`${v}-item-link-icon`}),z));return{prevIcon:j,nextIcon:_,jumpPrevIcon:T,jumpNextIcon:R}},[p,v]),[w]=Ng("Pagination",sC),E=Object.assign(Object.assign({},w),l),O=Bo(a),P=O==="small"||!!(m&&!O&&u),M=b("select",n),N=U({[`${v}-mini`]:P,[`${v}-rtl`]:p==="rtl",[`${v}-bordered`]:h.wireframe},S==null?void 0:S.className,r,o,y,C),I=Object.assign(Object.assign({},S==null?void 0:S.style),i);return g(s.createElement(s.Fragment,null,h.wireframe&&s.createElement(EA,{prefixCls:v}),s.createElement(gA,Object.assign({},x,f,{style:I,prefixCls:v,selectPrefixCls:M,className:N,selectComponentClass:c||(P?t$:n$),locale:E,showSizeChanger:$}))))},IA=RA,PA=new ut("antSpinMove",{to:{opacity:1}}),MA=new ut("antRotate",{to:{transform:"rotate(405deg)"}}),TA=e=>{const{componentCls:t,calc:n}=e;return{[`${t}`]:Object.assign(Object.assign({},gn(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[`${t}-dot ${t}-dot-item`]:{backgroundColor:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:PA,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:MA,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${t}-dot`]:{fontSize:e.dotSizeSM,i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{fontSize:e.dotSizeLG,i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},NA=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},_A=Yt("Spin",e=>{const t=Ot(e,{spinDotDefault:e.colorTextDescription});return[TA(t)]},NA);var zA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,spinning:n=!0,delay:r=0,className:o,rootClassName:i,size:a="default",tip:l,wrapperClassName:c,style:u,children:d,fullscreen:f=!1}=e,m=zA(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen"]),{getPrefixCls:h}=s.useContext(qe),b=h("spin",t),[p,S,v]=_A(b),[g,y]=s.useState(()=>n&&!jA(n,r));s.useEffect(()=>{if(n){const N=Mj(r,()=>{y(!0)});return N(),()=>{var I;(I=N==null?void 0:N.cancel)===null||I===void 0||I.call(N)}}y(!1)},[r,n]);const C=s.useMemo(()=>typeof d<"u"&&!f,[d,f]),{direction:$,spin:x}=s.useContext(qe),w=U(b,x==null?void 0:x.className,{[`${b}-sm`]:a==="small",[`${b}-lg`]:a==="large",[`${b}-spinning`]:g,[`${b}-show-text`]:!!l,[`${b}-fullscreen`]:f,[`${b}-fullscreen-show`]:f&&g,[`${b}-rtl`]:$==="rtl"},o,i,S,v),E=U(`${b}-container`,{[`${b}-blur`]:g}),O=Dn(m,["indicator"]),P=Object.assign(Object.assign({},x==null?void 0:x.style),u),M=s.createElement("div",Object.assign({},O,{style:P,className:w,"aria-live":"polite","aria-busy":g}),LA(b,e),l&&(C||f)?s.createElement("div",{className:`${b}-text`},l):null);return p(C?s.createElement("div",Object.assign({},O,{className:U(`${b}-nested-loading`,c,S,v)}),g&&s.createElement("div",{key:"loading"},M),s.createElement("div",{className:E,key:"container"},d)):M)};i$.setDefaultIndicator=e=>{Sc=e};const AA=i$,fp=V.createContext({});fp.Consumer;var a$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:n,avatar:r,title:o,description:i}=e,a=a$(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:l}=s.useContext(qe),c=l("list",t),u=U(`${c}-item-meta`,n),d=V.createElement("div",{className:`${c}-item-meta-content`},o&&V.createElement("h4",{className:`${c}-item-meta-title`},o),i&&V.createElement("div",{className:`${c}-item-meta-description`},i));return V.createElement("div",Object.assign({},a,{className:u}),r&&V.createElement("div",{className:`${c}-item-meta-avatar`},r),(o||i)&&d)},BA=(e,t)=>{var{prefixCls:n,children:r,actions:o,extra:i,className:a,colStyle:l}=e,c=a$(e,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:u,itemLayout:d}=s.useContext(fp),{getPrefixCls:f}=s.useContext(qe),m=()=>{let g;return s.Children.forEach(r,y=>{typeof y=="string"&&(g=!0)}),g&&s.Children.count(r)>1},h=()=>d==="vertical"?!!i:!m(),b=f("list",n),p=o&&o.length>0&&V.createElement("ul",{className:`${b}-item-action`,key:"actions"},o.map((g,y)=>V.createElement("li",{key:`${b}-item-action-${y}`},g,y!==o.length-1&&V.createElement("em",{className:`${b}-item-action-split`})))),S=u?"div":"li",v=V.createElement(S,Object.assign({},c,u?{}:{ref:t},{className:U(`${b}-item`,{[`${b}-item-no-flex`]:!h()},a)}),d==="vertical"&&i?[V.createElement("div",{className:`${b}-item-main`,key:"content"},r,p),V.createElement("div",{className:`${b}-item-extra`,key:"extra"},i)]:[r,p,io(i,{key:"extra"})]);return u?V.createElement(Vj,{ref:t,flex:1,style:l},v):v},l$=s.forwardRef(BA);l$.Meta=FA;const DA=l$,HA=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:o,itemPaddingSM:i,itemPaddingLG:a,marginLG:l,borderRadiusLG:c}=e;return{[`${t}`]:{border:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${k(o)} ${k(l)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}}}},kA=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:o,marginSM:i,margin:a}=e;return{[`@media screen and (max-width:${r}px)`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:o}}}},[`@media screen and (max-width: ${n}px)`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${k(a)}`}}}}}},VA=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:o,paddingSM:i,marginLG:a,padding:l,itemPadding:c,colorPrimary:u,itemPaddingSM:d,itemPaddingLG:f,paddingXS:m,margin:h,colorText:b,colorTextDescription:p,motionDurationSlow:S,lineWidth:v,headerBg:g,footerBg:y,emptyTextPadding:C,metaMarginBottom:$,avatarMarginRight:x,titleMarginBottom:w,descriptionFontSize:E}=e,O={};return["start","center","end"].forEach(P=>{O[`&-align-${P}`]={textAlign:P}}),{[`${t}`]:Object.assign(Object.assign({},gn(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:g},[`${t}-footer`]:{background:y},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:Object.assign(Object.assign({marginBlockStart:a},O),{[`${n}-pagination-options`]:{textAlign:"start"}}),[`${t}-spin`]:{minHeight:o,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:b,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:x},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:b},[`${t}-item-meta-title`]:{margin:`0 0 ${k(e.marginXXS)} 0`,color:b,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:b,transition:`all ${S}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:p,fontSize:E,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${k(m)}`,color:p,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:v,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${k(l)} 0`,color:p,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:C,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:h,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:a},[`${t}-item-meta`]:{marginBlockEnd:$,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:w,color:b,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:l,marginInlineStart:"auto","> li":{padding:`0 ${k(l)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${k(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${k(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${k(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${k(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:f},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},WA=e=>({contentWidth:220,itemPadding:`${k(e.paddingContentVertical)} 0`,itemPaddingSM:`${k(e.paddingContentVerticalSM)} ${k(e.paddingContentHorizontal)}`,itemPaddingLG:`${k(e.paddingContentVerticalLG)} ${k(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),UA=Yt("List",e=>{const t=Ot(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[VA(t),HA(t),kA(t)]},WA);var GA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o(me,fe)=>{var be;E(me),P(fe),n&&n[ce]&&((be=n==null?void 0:n[ce])===null||be===void 0||be.call(n,me,fe))},T=_("onChange"),R=_("onShowSizeChange"),L=(ce,me)=>{if(!y)return null;let fe;return typeof g=="function"?fe=g(ce):g?fe=ce[g]:fe=ce.key,fe||(fe=`list-item-${me}`),s.createElement(s.Fragment,{key:fe},y(ce,me))},A=()=>!!(f||n||S),F=M("list",r),[H,K,X]=UA(F);let q=v;typeof q=="boolean"&&(q={spinning:q});const oe=q&&q.spinning,J=Bo(b);let ee="";switch(J){case"large":ee="lg";break;case"small":ee="sm";break}const re=U(F,{[`${F}-vertical`]:d==="vertical",[`${F}-${ee}`]:ee,[`${F}-split`]:i,[`${F}-bordered`]:o,[`${F}-loading`]:oe,[`${F}-grid`]:!!m,[`${F}-something-after-last-item`]:A(),[`${F}-rtl`]:I==="rtl"},z==null?void 0:z.className,a,l,K,X),Q=nA(j,{total:h.length,current:w,pageSize:O},n||{}),G=Math.ceil(Q.total/Q.pageSize);Q.current>G&&(Q.current=G);const se=n?s.createElement("div",{className:U(`${F}-pagination`,`${F}-pagination-align-${(t=Q==null?void 0:Q.align)!==null&&t!==void 0?t:"end"}`)},s.createElement(IA,Object.assign({},Q,{onChange:T,onShowSizeChange:R}))):null;let le=Te(h);n&&h.length>(Q.current-1)*Q.pageSize&&(le=Te(h).splice((Q.current-1)*Q.pageSize,Q.pageSize));const te=Object.keys(m||{}).some(ce=>["xs","sm","md","lg","xl","xxl"].includes(ce)),Y=Qx(te),ge=s.useMemo(()=>{for(let ce=0;ce{if(!m)return;const ce=ge&&m[ge]?m[ge]:m.column;if(ce)return{width:`${100/ce}%`,maxWidth:`${100/ce}%`}},[m==null?void 0:m.column,ge]);let ie=oe&&s.createElement("div",{style:{minHeight:53}});if(le.length>0){const ce=le.map((me,fe)=>L(me,fe));ie=m?s.createElement(Gj,{gutter:m.gutter},s.Children.map(ce,me=>s.createElement("div",{key:me==null?void 0:me.key,style:ue},me))):s.createElement("ul",{className:`${F}-items`},ce)}else!u&&!oe&&(ie=s.createElement("div",{className:`${F}-empty-text`},C&&C.emptyText||(N==null?void 0:N("List"))||s.createElement(Wx,{componentName:"List"})));const Z=Q.position||"bottom",de=s.useMemo(()=>({grid:m,itemLayout:d}),[JSON.stringify(m),d]);return H(s.createElement(fp.Provider,{value:de},s.createElement("div",Object.assign({style:Object.assign(Object.assign({},z==null?void 0:z.style),c),className:re},$),(Z==="top"||Z==="both")&&se,p&&s.createElement("div",{className:`${F}-header`},p),s.createElement(AA,Object.assign({},q),ie,u),S&&s.createElement("div",{className:`${F}-footer`},S),f||(Z==="bottom"||Z==="both")&&se)))}Ul.Item=DA;const KA=e=>{const t=e!=null&&e.algorithm?jl(e.algorithm):jl(rs),n=Object.assign(Object.assign({},xa),e==null?void 0:e.token);return US(n,{override:e==null?void 0:e.token},t,zg)},qA=KA;function XA(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const YA=(e,t)=>{const n=t??rs(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),XA(t??e)),gC(r)),{controlHeight:o}),mC(Object.assign(Object.assign({},n),{controlHeight:o})))},QA=YA,Gr=(e,t)=>new jt(e).setAlpha(t).toRgbString(),ji=(e,t)=>new jt(e).lighten(t).toHexString(),ZA=e=>{const t=oo(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},JA=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Gr(r,.85),colorTextSecondary:Gr(r,.65),colorTextTertiary:Gr(r,.45),colorTextQuaternary:Gr(r,.25),colorFill:Gr(r,.18),colorFillSecondary:Gr(r,.12),colorFillTertiary:Gr(r,.08),colorFillQuaternary:Gr(r,.04),colorBgElevated:ji(n,12),colorBgContainer:ji(n,8),colorBgLayout:ji(n,0),colorBgSpotlight:ji(n,26),colorBgBlur:Gr(r,.04),colorBorder:ji(n,26),colorBorderSecondary:ji(n,19)}},eF=(e,t)=>{const n=Object.keys(_g).map(o=>{const i=oo(e[o],{theme:"dark"});return new Array(10).fill(1).reduce((a,l,c)=>(a[`${o}-${c+1}`]=i[c],a[`${o}${c+1}`]=i[c],a),{})}).reduce((o,i)=>(o=Object.assign(Object.assign({},o),i),o),{}),r=t??rs(e);return Object.assign(Object.assign(Object.assign({},r),n),vC(e,{generateColorPalettes:ZA,generateNeutralColorPalettes:JA}))},tF=eF;function nF(){const[e,t,n]=Tn();return{theme:e,token:t,hashId:n}}const rF={defaultConfig:Bl,defaultSeed:Bl.token,useToken:nF,defaultAlgorithm:rs,darkAlgorithm:tF,compactAlgorithm:QA,getDesignToken:qA};var oF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n=u=>{const{keyCode:d}=u;d===ne.ENTER&&u.preventDefault()},r=u=>{const{keyCode:d}=u,{onClick:f}=e;d===ne.ENTER&&f&&f()},{style:o,noStyle:i,disabled:a}=e,l=oF(e,["style","noStyle","disabled"]);let c={};return i||(c=Object.assign({},iF)),a&&(c.pointerEvents="none"),c=Object.assign(Object.assign({},c),o),s.createElement("div",Object.assign({role:"button",tabIndex:0,ref:t},l,{onKeyDown:n,onKeyUp:r,style:c}))}),s$=aF;var lF={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"};const sF=lF;var cF=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:sF}))},uF=s.forwardRef(cF);const dF=uF;var fF=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var f=Ky[t.format]||Ky.default;window.clipboardData.setData(f,e)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,e);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(l),i.selectNodeContents(l),a.addRange(i);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");c=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(f){n&&console.error("unable to copy using clipboardData: ",f),n&&console.error("falling back to prompt"),r=gF("message"in t?t.message:vF),window.prompt(r,e)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(i):a.removeAllRanges()),l&&document.body.removeChild(l),o()}return c}var hF=pF;const yF=cu(hF);var bF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};const SF=bF;var CF=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:SF}))},xF=s.forwardRef(CF);const wF=xF,$F=(e,t,n,r)=>{const{titleMarginBottom:o,fontWeightStrong:i}=r;return{marginBottom:o,color:n,fontWeight:i,fontSize:e,lineHeight:t}},EF=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` + h${r}&, + div&-h${r}, + div&-h${r} > textarea, + h${r} + `]=$F(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},OF=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},xC(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},RF=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:fI[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),IF=e=>{const{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${k(r)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},PF=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),MF=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),TF=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},EF(e)),{[` + & + h1${t}, + & + h2${t}, + & + h3${t}, + & + h4${t}, + & + h5${t} + `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),RF(e)),OF(e)),{[` + ${t}-expand, + ${t}-edit, + ${t}-copy + `]:Object.assign(Object.assign({},xC(e)),{marginInlineStart:e.marginXXS})}),IF(e)),PF(e)),MF()),{"&-rtl":{direction:"rtl"}})}},NF=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),c$=Yt("Typography",e=>[TF(e)],NF),_F=e=>{const{prefixCls:t,"aria-label":n,className:r,style:o,direction:i,maxLength:a,autoSize:l=!0,value:c,onSave:u,onCancel:d,onEnd:f,component:m,enterIcon:h=s.createElement(wF,null)}=e,b=s.useRef(null),p=s.useRef(!1),S=s.useRef(),[v,g]=s.useState(c);s.useEffect(()=>{g(c)},[c]),s.useEffect(()=>{if(b.current&&b.current.resizableTextArea){const{textArea:j}=b.current.resizableTextArea;j.focus();const{length:_}=j.value;j.setSelectionRange(_,_)}},[]);const y=j=>{let{target:_}=j;g(_.value.replace(/[\n\r]/g,""))},C=()=>{p.current=!0},$=()=>{p.current=!1},x=j=>{let{keyCode:_}=j;p.current||(S.current=_)},w=()=>{u(v.trim())},E=j=>{let{keyCode:_,ctrlKey:T,altKey:R,metaKey:L,shiftKey:A}=j;S.current===_&&!p.current&&!T&&!R&&!L&&!A&&(_===ne.ENTER?(w(),f==null||f()):_===ne.ESC&&d())},O=()=>{w()},P=m?`${t}-${m}`:"",[M,N,I]=c$(t),z=U(t,`${t}-edit-content`,{[`${t}-rtl`]:i==="rtl"},r,P,N,I);return M(s.createElement("div",{className:z,style:o},s.createElement(x6,{ref:b,maxLength:a,value:v,onChange:y,onKeyDown:x,onKeyUp:E,onCompositionStart:C,onCompositionEnd:$,onBlur:O,"aria-label":n,rows:1,autoSize:l}),h!==null?io(h,{className:`${t}-edit-content-confirm`}):null))},zF=_F;function wf(e,t){return s.useMemo(()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&typeof e=="object"?e:null)]},[e])}const LF=(e,t)=>{const n=s.useRef(!1);s.useEffect(()=>{n.current?e():n.current=!0},t)};var jF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,component:r="article",className:o,rootClassName:i,setContentRef:a,children:l,direction:c,style:u}=e,d=jF(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:m,typography:h}=s.useContext(qe),b=c??m;let p=t;a&&(p=so(t,a));const S=f("typography",n),[v,g,y]=c$(S),C=U(S,h==null?void 0:h.className,{[`${S}-rtl`]:b==="rtl"},o,i,g,y),$=Object.assign(Object.assign({},h==null?void 0:h.style),u);return v(s.createElement(r,Object.assign({className:C,style:$,ref:p},d),l))}),u$=AF;var FF={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"};const BF=FF;var DF=function(t,n){return s.createElement(Bt,ve({},t,{ref:n,icon:BF}))},HF=s.forwardRef(DF);const kF=HF;function qy(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function Xs(e,t,n){return e===!0||e===void 0?t:e||n&&t}function VF(e){const{prefixCls:t,copied:n,locale:r={},onCopy:o,iconOnly:i,tooltips:a,icon:l}=e,c=qy(a),u=qy(l),{copied:d,copy:f}=r,m=n?Xs(c[1],d):Xs(c[0],f),b=typeof m=="string"?m:n?d:f;return s.createElement(Ju,{key:"copy",title:m},s.createElement(s$,{className:U(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:i}),onClick:o,"aria-label":b},n?Xs(u[1],s.createElement(qx,null),!0):Xs(u[0],s.createElement(kF,null),!0)))}const Ys=s.forwardRef((e,t)=>{let{style:n,children:r}=e;const o=s.useRef(null);return s.useImperativeHandle(t,()=>({isExceed:()=>{const i=o.current;return i.scrollHeight>i.clientHeight},getHeight:()=>o.current.clientHeight})),s.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)});function d$(e){const t=typeof e;return t==="string"||t==="number"}function WF(e){let t=0;return e.forEach(n=>{d$(n)?t+=String(n).length:t+=1}),t}function Xy(e,t){let n=0;const r=[];for(let o=0;ot){const u=t-n;return r.push(String(i).slice(0,u)),r}r.push(i),n=c}return e}const $f=0,Ef=1,Of=2,Yy=3,Qs={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function UF(e){const{enableMeasure:t,width:n,text:r,children:o,rows:i,miscDeps:a,onEllipsis:l}=e,c=s.useMemo(()=>yr(r),[r]),u=s.useMemo(()=>WF(c),[r]),d=s.useMemo(()=>o(c,!1,!1),[r]),[f,m]=s.useState(null),h=s.useRef(null),b=s.useRef(null),p=s.useRef(null),S=s.useRef(null),[v,g]=s.useState($f),[y,C]=s.useState(0);Mt(()=>{g(t&&n&&u?Ef:$f)},[n,r,i,t,c]),Mt(()=>{var E,O,P,M;if(v===Ef){const N=!!(!((E=b.current)===null||E===void 0)&&E.isExceed());g(N?Of:Yy),m(N?[0,u]:null);const I=((O=b.current)===null||O===void 0?void 0:O.getHeight())||0,z=i===1?0:((P=p.current)===null||P===void 0?void 0:P.getHeight())||0,j=((M=S.current)===null||M===void 0?void 0:M.getHeight())||0,_=z+j,T=Math.max(I,_);C(T+1),l(N)}},[v]);const $=f?Math.ceil((f[0]+f[1])/2):0;Mt(()=>{var E;const[O,P]=f||[0,0];if(O!==P){const N=(((E=h.current)===null||E===void 0?void 0:E.getHeight())||0)>y;let I=$;P-O===1&&(I=N?O:P),m(N?[O,I]:[I,P])}},[f,$]);const x=s.useMemo(()=>{if(v!==Of||!f||f[0]!==f[1]){const E=o(c,!1,!1);return v!==Yy&&v!==$f?s.createElement("span",{style:Object.assign(Object.assign({},Qs),{WebkitLineClamp:i})},E):E}return o(Xy(c,f[0]),!0,!0)},[v,f,c].concat(Te(a))),w={width:n,whiteSpace:"normal",margin:0,padding:0};return s.createElement(s.Fragment,null,x,v===Ef&&s.createElement(s.Fragment,null,s.createElement(Ys,{style:Object.assign(Object.assign(Object.assign({},w),Qs),{WebkitLineClamp:i}),ref:b},d),s.createElement(Ys,{style:Object.assign(Object.assign(Object.assign({},w),Qs),{WebkitLineClamp:i-1}),ref:p},d),s.createElement(Ys,{style:Object.assign(Object.assign(Object.assign({},w),Qs),{WebkitLineClamp:1}),ref:S},o([],!0,!0))),v===Of&&f&&f[0]!==f[1]&&s.createElement(Ys,{style:Object.assign(Object.assign({},w),{top:400}),ref:h},o(Xy(c,$),!0,!0)))}const GF=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:o}=e;return!(o!=null&&o.title)||!t?r:s.createElement(Ju,Object.assign({open:n?void 0:!1},o),r)},KF=GF;var qF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var n,r,o;const{prefixCls:i,className:a,style:l,type:c,disabled:u,children:d,ellipsis:f,editable:m,copyable:h,component:b,title:p}=e,S=qF(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:v,direction:g}=s.useContext(qe),[y]=Ng("Text"),C=s.useRef(null),$=s.useRef(null),x=v("typography",i),w=Dn(S,["mark","code","delete","underline","strong","keyboard","italic"]),[E,O]=wf(m),[P,M]=nn(!1,{value:O.editing}),{triggerType:N=["icon"]}=O,I=ae=>{var Re;ae&&((Re=O.onStart)===null||Re===void 0||Re.call(O)),M(ae)};LF(()=>{var ae;P||(ae=$.current)===null||ae===void 0||ae.focus()},[P]);const z=ae=>{ae==null||ae.preventDefault(),I(!0)},j=ae=>{var Re;(Re=O.onChange)===null||Re===void 0||Re.call(O,ae),I(!1)},_=()=>{var ae;(ae=O.onCancel)===null||ae===void 0||ae.call(O),I(!1)},[T,R]=wf(h),[L,A]=s.useState(!1),F=s.useRef(null),H={};R.format&&(H.format=R.format);const K=()=>{F.current&&clearTimeout(F.current)},X=ae=>{var Re;ae==null||ae.preventDefault(),ae==null||ae.stopPropagation(),yF(R.text||String(d)||"",H),A(!0),K(),F.current=setTimeout(()=>{A(!1)},3e3),(Re=R.onCopy)===null||Re===void 0||Re.call(R,ae)};s.useEffect(()=>K,[]);const[q,oe]=s.useState(!1),[J,ee]=s.useState(!1),[re,Q]=s.useState(!1),[G,se]=s.useState(!1),[le,te]=s.useState(!1),[Y,ge]=s.useState(!0),[ue,ie]=wf(f,{expandable:!1}),Z=ue&&!re,{rows:de=1}=ie,ce=s.useMemo(()=>!Z||ie.suffix!==void 0||ie.onEllipsis||ie.expandable||E||T,[Z,ie,E,T]);Mt(()=>{ue&&!ce&&(oe(E0("webkitLineClamp")),ee(E0("textOverflow")))},[ce,ue]);const me=s.useMemo(()=>ce?!1:de===1?J:q,[ce,J,q]),fe=Z&&(me?le:G),be=Z&&de===1&&me,_e=Z&&de>1&&me,Ee=ae=>{var Re;Q(!0),(Re=ie.onExpand)===null||Re===void 0||Re.call(ie,ae)},[Xe,Oe]=s.useState(0),ye=ae=>{let{offsetWidth:Re}=ae;Oe(Re)},$e=ae=>{var Re;se(ae),G!==ae&&((Re=ie.onEllipsis)===null||Re===void 0||Re.call(ie,ae))};s.useEffect(()=>{const ae=C.current;if(ue&&me&&ae){const Re=_e?ae.offsetHeight{const ae=C.current;if(typeof IntersectionObserver>"u"||!ae||!me||!Z)return;const Re=new IntersectionObserver(()=>{ge(!!ae.offsetParent)});return Re.observe(ae),()=>{Re.disconnect()}},[me,Z]);let xe={};ie.tooltip===!0?xe={title:(n=O.text)!==null&&n!==void 0?n:d}:s.isValidElement(ie.tooltip)?xe={title:ie.tooltip}:typeof ie.tooltip=="object"?xe=Object.assign({title:(r=O.text)!==null&&r!==void 0?r:d},ie.tooltip):xe={title:ie.tooltip};const Ye=s.useMemo(()=>{const ae=Re=>["string","number"].includes(typeof Re);if(!(!ue||me)){if(ae(O.text))return O.text;if(ae(d))return d;if(ae(p))return p;if(ae(xe.title))return xe.title}},[ue,me,p,xe.title,fe]);if(P)return s.createElement(zF,{value:(o=O.text)!==null&&o!==void 0?o:typeof d=="string"?d:"",onSave:j,onCancel:_,onEnd:O.onEnd,prefixCls:x,className:a,style:l,direction:g,component:b,maxLength:O.maxLength,autoSize:O.autoSize,enterIcon:O.enterIcon});const rt=()=>{const{expandable:ae,symbol:Re}=ie;if(!ae)return null;let tt;return Re?tt=Re:tt=y==null?void 0:y.expand,s.createElement("a",{key:"expand",className:`${x}-expand`,onClick:Ee,"aria-label":y==null?void 0:y.expand},tt)},et=()=>{if(!E)return;const{icon:ae,tooltip:Re}=O,tt=yr(Re)[0]||(y==null?void 0:y.edit),ft=typeof tt=="string"?tt:"";return N.includes("icon")?s.createElement(Ju,{key:"edit",title:Re===!1?"":tt},s.createElement(s$,{ref:$,className:`${x}-edit`,onClick:z,"aria-label":ft},ae||s.createElement(dF,{role:"button"}))):null},at=()=>T?s.createElement(VF,Object.assign({key:"copy"},R,{prefixCls:x,copied:L,locale:y,onCopy:X,iconOnly:d==null})):null,Qe=ae=>[ae&&rt(),et(),at()],We=ae=>[ae&&s.createElement("span",{"aria-hidden":!0,key:"ellipsis"},YF),ie.suffix,Qe(ae)];return s.createElement(gr,{onResize:ye,disabled:!Z},ae=>s.createElement(KF,{tooltipProps:xe,enableEllipsis:Z,isEllipsis:fe},s.createElement(u$,Object.assign({className:U({[`${x}-${c}`]:c,[`${x}-disabled`]:u,[`${x}-ellipsis`]:ue,[`${x}-single-line`]:Z&&de===1,[`${x}-ellipsis-single-line`]:be,[`${x}-ellipsis-multiple-line`]:_e},a),prefixCls:i,style:Object.assign(Object.assign({},l),{WebkitLineClamp:_e?de:void 0}),component:b,ref:so(ae,C,t),direction:g,onClick:N.includes("text")?z:void 0,"aria-label":Ye==null?void 0:Ye.toString(),title:p},w),s.createElement(UF,{enableMeasure:Z&&!me,text:d,rows:de,width:Xe,onEllipsis:$e,miscDeps:[L,re]},(Re,tt)=>{let ft=Re;return Re.length&&tt&&Ye&&(ft=s.createElement("span",{key:"show-content","aria-hidden":!0},ft)),XF(e,s.createElement(s.Fragment,null,ft,We(tt)))}))))}),cd=QF;var ZF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{ellipsis:n,rel:r}=e,o=ZF(e,["ellipsis","rel"]);const i=Object.assign(Object.assign({},o),{rel:r===void 0&&o.target==="_blank"?"noopener noreferrer":r});return delete i.navigate,s.createElement(cd,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),eB=JF,tB=s.forwardRef((e,t)=>s.createElement(cd,Object.assign({ref:t},e,{component:"div"}))),nB=tB;var rB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{var{ellipsis:n}=e,r=rB(e,["ellipsis"]);const o=s.useMemo(()=>n&&typeof n=="object"?Dn(n,["expandable","rows"]):n,[n]);return s.createElement(cd,Object.assign({ref:t},r,{ellipsis:o,component:"span"}))},iB=s.forwardRef(oB);var aB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const{level:n=1}=e,r=aB(e,["level"]);let o;return lB.includes(n)?o=`h${n}`:o="h1",s.createElement(cd,Object.assign({ref:t},r,{component:o}))}),cB=sB,vs=u$;vs.Text=iB;vs.Link=eB;vs.Title=cB;vs.Paragraph=nB;const f$=vs;/** + * @remix-run/router v1.15.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Gl(){return Gl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function mp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function dB(){return Math.random().toString(36).substr(2,8)}function Zy(e,t){return{usr:e.state,key:e.key,idx:t}}function xv(e,t,n,r){return n===void 0&&(n=null),Gl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ci(t):t,{state:n,key:t&&t.key||r||dB()})}function m$(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ci(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function fB(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,l=wo.Pop,c=null,u=d();u==null&&(u=0,a.replaceState(Gl({},a.state,{idx:u}),""));function d(){return(a.state||{idx:null}).idx}function f(){l=wo.Pop;let S=d(),v=S==null?null:S-u;u=S,c&&c({action:l,location:p.location,delta:v})}function m(S,v){l=wo.Push;let g=xv(p.location,S,v);n&&n(g,S),u=d()+1;let y=Zy(g,u),C=p.createHref(g);try{a.pushState(y,"",C)}catch($){if($ instanceof DOMException&&$.name==="DataCloneError")throw $;o.location.assign(C)}i&&c&&c({action:l,location:p.location,delta:1})}function h(S,v){l=wo.Replace;let g=xv(p.location,S,v);n&&n(g,S),u=d();let y=Zy(g,u),C=p.createHref(g);a.replaceState(y,"",C),i&&c&&c({action:l,location:p.location,delta:0})}function b(S){let v=o.location.origin!=="null"?o.location.origin:o.location.href,g=typeof S=="string"?S:m$(S);return g=g.replace(/ $/,"%20"),ln(v,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,v)}let p={get action(){return l},get location(){return e(o,a)},listen(S){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(Qy,f),c=S,()=>{o.removeEventListener(Qy,f),c=null}},createHref(S){return t(o,S)},createURL:b,encodeLocation(S){let v=b(S);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:m,replace:h,go(S){return a.go(S)}};return p}var Jy;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Jy||(Jy={}));function mB(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Ci(t):t,o=p$(r.pathname||"/",n);if(o==null)return null;let i=v$(e);vB(i);let a=null;for(let l=0;a==null&&l{let c={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};c.relativePath.startsWith("/")&&(ln(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=ri([r,c.relativePath]),d=n.concat(c);i.children&&i.children.length>0&&(ln(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),v$(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:CB(u,i.index),routesMeta:d})};return e.forEach((i,a)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,a);else for(let c of g$(i.path))o(i,a,c)}),t}function g$(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=g$(r.join("/")),l=[];return l.push(...a.map(c=>c===""?i:[i,c].join("/"))),o&&l.push(...a),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function vB(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:xB(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const gB=/^:[\w-]+$/,pB=3,hB=2,yB=1,bB=10,SB=-2,eb=e=>e==="*";function CB(e,t){let n=e.split("/"),r=n.length;return n.some(eb)&&(r+=SB),t&&(r+=hB),n.filter(o=>!eb(o)).reduce((o,i)=>o+(gB.test(i)?pB:i===""?yB:bB),r)}function xB(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function wB(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let a=0;a{let{paramName:m,isOptional:h}=d;if(m==="*"){let p=l[f]||"";a=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}const b=l[f];return h&&!b?u[m]=void 0:u[m]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:a,pattern:e}}function EB(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),mp(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function OB(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return mp(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function p$(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function RB(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ci(e):e;return{pathname:n?n.startsWith("/")?n:IB(n,t):t,search:_B(r),hash:zB(o)}}function IB(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Rf(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function PB(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function MB(e,t){let n=PB(e);return t?n.map((r,o)=>o===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function TB(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Ci(e):(o=Gl({},e),ln(!o.pathname||!o.pathname.includes("?"),Rf("?","pathname","search",o)),ln(!o.pathname||!o.pathname.includes("#"),Rf("#","pathname","hash",o)),ln(!o.search||!o.search.includes("#"),Rf("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,l;if(a==null)l=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let m=a.split("/");for(;m[0]==="..";)m.shift(),f-=1;o.pathname=m.join("/")}l=f>=0?t[f]:"/"}let c=RB(o,l),u=a&&a!=="/"&&a.endsWith("/"),d=(i||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const ri=e=>e.join("/").replace(/\/\/+/g,"/"),NB=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_B=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,zB=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function LB(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const h$=["post","put","patch","delete"];new Set(h$);const jB=["get",...h$];new Set(jB);/** + * React Router v6.22.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Kl(){return Kl=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),s.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=TB(u,JSON.parse(a),i,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ri([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,a,i,e])}function gp(){let{matches:e}=s.useContext(xi),t=e[e.length-1];return t?t.params:{}}function BB(e,t){return DB(e,t)}function DB(e,t,n,r){fd()||ln(!1);let{navigator:o}=s.useContext(ud),{matches:i}=s.useContext(xi),a=i[i.length-1],l=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let u=md(),d;if(t){var f;let S=typeof t=="string"?Ci(t):t;c==="/"||(f=S.pathname)!=null&&f.startsWith(c)||ln(!1),d=S}else d=u;let m=d.pathname||"/",h=m;if(c!=="/"){let S=c.replace(/^\//,"").split("/");h="/"+m.replace(/^\//,"").split("/").slice(S.length).join("/")}let b=mB(e,{pathname:h}),p=UB(b&&b.map(S=>Object.assign({},S,{params:Object.assign({},l,S.params),pathname:ri([c,o.encodeLocation?o.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?c:ri([c,o.encodeLocation?o.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),i,n,r);return t&&p?s.createElement(dd.Provider,{value:{location:Kl({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:wo.Pop}},p):p}function HB(){let e=XB(),t=LB(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},t),n?s.createElement("pre",{style:o},n):null,null)}const kB=s.createElement(HB,null);class VB extends s.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?s.createElement(xi.Provider,{value:this.props.routeContext},s.createElement(y$.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function WB(e){let{routeContext:t,match:n,children:r}=e,o=s.useContext(vp);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),s.createElement(xi.Provider,{value:t},r)}function UB(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let a=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let d=a.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id]));d>=0||ln(!1),a=a.slice(0,Math.min(a.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((d,f,m)=>{let h,b=!1,p=null,S=null;n&&(h=l&&f.route.id?l[f.route.id]:void 0,p=f.route.errorElement||kB,c&&(u<0&&m===0?(QB("route-fallback",!1),b=!0,S=null):u===m&&(b=!0,S=f.route.hydrateFallbackElement||null)));let v=t.concat(a.slice(0,m+1)),g=()=>{let y;return h?y=p:b?y=S:f.route.Component?y=s.createElement(f.route.Component,null):f.route.element?y=f.route.element:y=d,s.createElement(WB,{match:f,routeContext:{outlet:d,matches:v,isDataRoute:n!=null},children:y})};return n&&(f.route.ErrorBoundary||f.route.errorElement||m===0)?s.createElement(VB,{location:n.location,revalidation:n.revalidation,component:p,error:h,children:g(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):g()},null)}var C$=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(C$||{}),su=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(su||{});function GB(e){let t=s.useContext(vp);return t||ln(!1),t}function KB(e){let t=s.useContext(AB);return t||ln(!1),t}function qB(e){let t=s.useContext(xi);return t||ln(!1),t}function x$(e){let t=qB(),n=t.matches[t.matches.length-1];return n.route.id||ln(!1),n.route.id}function XB(){var e;let t=s.useContext(y$),n=KB(su.UseRouteError),r=x$(su.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function YB(){let{router:e}=GB(C$.UseNavigateStable),t=x$(su.UseNavigateStable),n=s.useRef(!1);return b$(()=>{n.current=!0}),s.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Kl({fromRouteId:t},i)))},[e,t])}const tb={};function QB(e,t,n){!t&&!tb[e]&&(tb[e]=!0)}function Cc(e){ln(!1)}function ZB(e){let{basename:t="/",children:n=null,location:r,navigationType:o=wo.Pop,navigator:i,static:a=!1,future:l}=e;fd()&&ln(!1);let c=t.replace(/^\/*/,"/"),u=s.useMemo(()=>({basename:c,navigator:i,static:a,future:Kl({v7_relativeSplatPath:!1},l)}),[c,l,i,a]);typeof r=="string"&&(r=Ci(r));let{pathname:d="/",search:f="",hash:m="",state:h=null,key:b="default"}=r,p=s.useMemo(()=>{let S=p$(d,c);return S==null?null:{location:{pathname:S,search:f,hash:m,state:h,key:b},navigationType:o}},[c,d,f,m,h,b,o]);return p==null?null:s.createElement(ud.Provider,{value:u},s.createElement(dd.Provider,{children:n,value:p}))}function JB(e){let{children:t,location:n}=e;return BB(wv(t),n)}new Promise(()=>{});function wv(e,t){t===void 0&&(t=[]);let n=[];return s.Children.forEach(e,(r,o)=>{if(!s.isValidElement(r))return;let i=[...t,o];if(r.type===s.Fragment){n.push.apply(n,wv(r.props.children,i));return}r.type!==Cc&&ln(!1),!r.props.index||!r.props.children||ln(!1);let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=wv(r.props.children,i)),n.push(a)}),n}/** + * React Router DOM v6.22.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */const eD="6";try{window.__reactRouterVersion=eD}catch{}const tD="startTransition",nb=Xl[tD];function nD(e){let{basename:t,children:n,future:r,window:o}=e,i=s.useRef();i.current==null&&(i.current=uB({window:o,v5Compat:!0}));let a=i.current,[l,c]=s.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},d=s.useCallback(f=>{u&&nb?nb(()=>c(f)):c(f)},[c,u]);return s.useLayoutEffect(()=>a.listen(d),[a,d]),s.createElement(ZB,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:r})}var rb;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(rb||(rb={}));var ob;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ob||(ob={}));const $v=[{label:"Que es el dengue?",description:"El dengue es una enfermedad causada por un virus...",key:"que-es",media:"/images/ai_1.jpeg",media_details:"https://cmsphoto.ww-cdn.com/superstatic/3746339/art/grande/79009547-57285518.jpg",content:["El dengue es una enfermedad causada por un virus que se transmite a través de la picadura de un mosquito perteneciente al género Aedes, principalmente el Aedes aegypti, vector de la enfermedad. Este mosquito tiene hábitos domiciliarios, por lo que la transmisión es predominantemente doméstica. En otros continentes, otras especies de mosquitos del genero Aedes han sido involucradas en la transmisión del dengue.","El virus del dengue pertenece a la familia Flaviviridae y existen cuatro variantes, los serotipos 1,2, 3 y 4. La inmunidad es serotipo-específica por lo que la infección con un serotipo determinado confiere inmunidad permanente contra el mismo (inmunidad homóloga), y sólo por unos meses contra el resto de los serotipos (inmunidad heteróloga). Aunque, en teoría, una persona podría padecer dengue hasta cuatro veces a lo largo de su vida (una por cada serotipo), hasta el momento solo se han comprobado hasta tres infecciones en un mismo individuo.","Cualquier serotipo puede producir formas graves de la enfermedad, aunque los serotipos 2 y 3 han sido asociados a la mayor cantidad de casos graves y fallecidos.","El dengue es un problema creciente para la Salud Pública mundial, debido a varios factores: el cambio climático, el aumento de la población mundial en áreas urbanas de ocurrencia rápida y desorganizada, la insuficiente provisión de agua potable que obliga a su almacenamiento en recipientes caseros habitualmente descubiertos, la inadecuada recolección de residuos y la gran producción de recipientes descartables que sirven como criaderos de mosquitos al igual que los neumáticos desechados."]},{label:"Síntomas compatibles con el dengue",media:"/images/ai_2.jpeg",media_details:"https://cmsphoto.ww-cdn.com/superstatic/3746339/art/grande/79009894-57285622.jpg",key:"sintomas-compatibles",content:["La infección por dengue puede ser clínicamente inaparente o puede causar una enfermedad de variada intensidad. Luego de un período de incubación que puede ser de 5 a 7 días, (se han observado casos con un período de incubación de 3 hasta 14 días), podrán aparecer las manifestaciones clínicas, aunque una alta proporción de las personas infectadas cursarán de manera asintomática.","Las infecciones sintomáticas pueden variar desde formas leves de la enfermedad, que solo se manifiestan con un cuadro febril agudo, de duración limitada (2 a 7 días) a otros cuya fiebre se asocia a intenso malestar general, cefalea, dolor retro ocular, dolor muscular y dolores articulares.","En no más del 50% de los casos estos síntomas pueden acompañarse de un exantema en la mayoría de los casos pruriginoso, no patognomónico.","Algunos casos de dengue pueden evolucionar a formas graves (dengue grave) en las que hay manifestaciones hemorrágicas, pérdida de plasma debida al aumento de la permeabilidad vascular,(lo que ocasiona un incremento del hematocrito) y presencia de colecciones líquidas en cavidades serosas (derrame pleural, ascitis y derrame pericárdico), lo que puede llevar a un cuadro de shock.Los casos de dengue grave son más frecuentes en personas que ya padecieron dengue por un serotipo (infección primaria) y se infectan nuevamente (infección secundaria) con un serotipo diferente al que le ocasionó el primer cuadro. Este fenómeno puede ocurrir hasta muchos años después de ocurrida la infección primaria, pero no implica necesariamente que toda infección secundaria conduzca a dengue grave. No obstante, también la infección primaria puede asociarse a dengue grave, en relación a virulencia de la cepa o a otros factores del hospedero.","Finalmente, existen otras formas clínicas de dengue menos frecuentes, que se caracterizan por la afectación especialmente intensa de un órgano o sistema: encefalitis, miocarditis, hepatopatía, y afectación renal con insuficiencia renal aguda."]},{label:"Signos de alarma",media:"/images/ai_6.png",media_details:"https://cmsphoto.ww-cdn.com/superstatic/3746339/art/grande/79011051-57286104.jpg",key:"signos-de-alarma",content:["Dolor abdominal intenso y continuo o dolor a la palpación del abdomen. El dolor abdominal intenso y continuo significa que el paciente puede evolucionar o ya está evolucionando hacia el choque por dengue y sus temibles complicaciones.","Vómito persistente. Se define como tres o más episodios en 1 hora o cuatro en 6 horas. Estos impiden una hidratación oral adecuada y contribuyen a la hipovolemia.","Acumulación de líquidos. Suele manifestarse por derrame pleural, ascitis o derrame pericárdico y se detecta por métodos clínicos, por radiología o por ultrasonido, sin que se asocie necesariamente a dificultad respiratoria ni a compromiso hemodinámico.","Sangrado activo de mucosas. Suele presentarse en las encías y la nariz, pero también puede ser transvaginal (metrorragia e hipermenorrea), del aparato digestivo (vómitos con estrías sanguinolentas) o del riñón (hematuria macroscópica).","Alteración del estado de conciencia. Puede presentarse irritabilidad (inquietud) o somnolencia (letargo), con un puntaje en la escala de coma de Glasgow menor de 15.","Hepatomegalia. El borde hepático se palpa a más de 2 cm por debajo del reborde costal.","Aumento progresivo del hematocrito en al menos dos mediciones consecutivas durante el seguimiento del paciente."]},{label:"Fases de la enfermedad",media:"/images/ai_7.png",media_details:"https://cmsphoto.ww-cdn.com/superstatic/3746339/art/grande/79011175-57286206.jpg",key:"fases",content:["Fase febril

Los pacientes desarrollan fiebre alta y repentina. Esta fase febril aguda dura de 2 a 7 días y suele acompañarse de enrojecimiento facial, eritema, dolor corporal generalizado, mialgias, artralgias, cefalea y dolor retro-ocular. Pueden presentarse manifestaciones hemorrágicas menores, como petequias y equimosis en la piel. Los pacientes que mejoran después de que baja la fiebre, se consideran casos de dengue sin signos de alarma.

Problemas que pueden presentarse en la fase febril: deshidratación; la fiebre alta puede asociarse a trastornos neurológicos, y convulsiones en los niños pequeños.","Fase crítica

Cerca de la desaparición de la fiebre, cuando la temperatura desciende a 37,5 grados centígrados o menos y se mantiene por debajo de este nivel, por lo general, en los primeros 3 a 7 días de la enfermedad, puede aumentar la permeabilidad capilar paralelamente con los niveles del hematocrito. Esto marca el comienzo de la fase crítica. Los pacientes que empeoran con la caída de la fiebre y presentan signos de alarma, son casos de dengue con signos de alarma.

Problemas que pueden presentarse en la fase crítica: choque por la extravasación de plasma; hemorragias graves, compromiso serio de órganos.","Fase de recuperación

Cuando el paciente sobrevive a la fase crítica (la cual no excede las 48 a 72 horas), pasa a la fase de recuperación. Hay una mejoría del estado general, se recupera el apetito, mejoran los síntomas gastrointestinales se estabiliza el estado hemodinámico, y se incrementa la diuresis.

Problemas que pueden presentarse en la fase de recuperación: hipervolemia (si la terapia intravenosa de fluidos ha sido excesiva o se ha extendido en este período)."]},{label:"Prevención",key:"prevencion",media:"/images/ai_3.png",children:[{label:"Cómo protegernos de la picadura del mosquito",media:"/images/ai_8.png",key:"como-proteger",content:['
  • Usar siempre repelentes, siguiendo cuidadosamente las recomendaciones del envase.
  • Utilizar ropa clara que cubra los brazos y las piernas, especialmente durante las actividades al aire libre.
  • Colocar mosquiteros en puertas y ventanas, y cuando sea posible usar ventiladores o aire acondicionado en las habitaciones.
  • Proteger cunas y cochecitos de bebés con telas mosquiteras.
  • Utilizar repelentes ambientales como tabletas (interior) y espirales (exterior).

 

IMPORTANTE: Las personas embarazadas deben extremar los cuidados para protegerse de las picaduras

']},{label:"Cómo podemos prevenir el dengue",media:"/images/ai_9.png",key:"compo-prevenir",content:['
  • Eliminar todos los recipientes en desuso que puedan acumular agua (como latas, botellas, neumáticos).
  • Si los recipientes no pueden eliminarse porque se usan de modo frecuente, debe evitarse el acceso del mosquito a su interior. Para ello se recomienda: tapar tanques, aljibes y/o cisternas; dar vuelta baldes, palanganas, tambores, etc.; vaciar y cepillar frecuentemente objetos que puedan acumular agua y poner al resguardo bajo techo recipientes (por ejemplo, botellas retornables).
  • Cambiar el agua de bebederos de animales, colectores de desagües de aire acondicionado o lluvia, dentro y fuera de la casa, cada 3 días. Recordar frotar las paredes de los recipientes con una esponja o cepillo a fin de desprender los huevos del mosquito que puedan estar adheridos.
  • Rellenar los floreros y portamacetas con arena húmeda.
  • Mantener los patios y jardines limpios, ordenados y desmalezados.
  • Limpiar canaletas y desagües de lluvia de los techos.
  • Verter agua hirviendo en las rejillas y colocar tela mosquitera.

 

IMPORTANTE: Para reproducirse, el mosquito adhiere sus huevos a las paredes de los recipientes por lo que resulta clave, además de cambiar el agua, cepillar el interior de dichas paredes para eliminarlos.

 

  • La fumigación no es una medida de prevención suficiente para eliminar el mosquito
  • La aplicación de insecticidas es una medida de control destinada a eliminar a los mosquitos adultos, pero no es útil para eliminar los huevos ni las larvas.
']}]},{label:"¿Qué medidas tomar en casa?",media:"/images/ai_4.png",key:"medidas",content:['

Si Ud tiene síntomas compatibles con dengue se sugiere tomar las siguientes medidas: 

Reposo en cama, uso de mosquitero durante la fase febril, especialmente durante el día  ( ver sección Prevención- cómo protegernos de la picadura del mosquito)

Dieta normal más líquidos abundantes ,  La hidratación con agua segura es una de las medidas más importantes, si un paciente no puede hidratarse consulte en forma urgente.  

Adultos: líquidos abundantes por vía oral (por lo menos, cinco vasos (de 250ml) o más al día, para un adulto promedio de 70 kg de peso corporal.

Niños: líquidos abundantes por vía oral (leche, jugos de frutas naturales, con precaución en diabéticos), suero oral (sales de rehidratación oral) o agua de cebada, o de arroz recién preparada . El agua sola debe administrarse con precaución, ya que puede causar desequilibrio hidroelectrolítico. 

Sales de Rehidratación oral: cada sobre debe diluirse en un litro de agua hervida o agua mineral a temperatura ambiente  mezclando cuidadosamente antes de ofrecerla. Se conserva 24 hs a temperatura ambiente y 48 hs refrigerada.  Ofrecer luego de cada deposición y/o vómito según tolerancia del paciente. 

Paracetamol:se utiliza para aliviar el dolor leve a moderado y la fiebre

Adultos 500 mg cada cuatro a seis horas, o 1 gr cada 8 hs dosis máxima diaria recomendada de 3 g. En pacientes con daño hepático o renal dosis máxima recomendada al día: 1,5-2 gr ( 500 mg cada 8 hs o 500 mg cada 6 hs). 

Niños dosis de 10 mg/kg cada seis horas

Aplicación de lienzos de agua tibia en la frente

Recomendaciones: buscar y eliminar los criaderos del vector (Aedes aegyptide las casas y sus alrededores.

DEBE EVITARSE

 Los medicamentos para evitar el dolor y la inflamación, por ejemplo, AINES (ácido acetilsalicílico , metimazol, diclofenaco, otros) o esteroides, antibióticos y anticoagulantes orales .

Si  está tomando esos medicamentos,evalúe la conveniencia de continuar ese tratamiento con su médico .

Está contraindicada la administración de medicamentos por vía intramuscular o rectal.

Si aparece alguno de los siguientes sintomas o signos, consulte al medico de inmediato: ( ver sección signos de alarma)

  •  sangrado, petequeias, epistaxis, gingivorragia, hematemesis, melena, metrorragia o polimenorrea
  •  vómitos
  •  dolor abdominal espontáneo o a la palpación del abdomen
  • somnolencia, confusión mental, desmayo, convulsiones
  •  manos o pies pálidos, fríos o húmedos
  •  dificultad para respirar
']},{label:"Centros de contacto",media:"/images/ai_5.png",key:"contacto",content:['

 

Dengue sin signos de Alarma deben concurrir a:

Nodo La Merced : Av Libertador esq. pje Las muñecas. Horarios de Atención: 

-Lunes a Viernes de 14 a 22 hs

-Sábados, Domingos y Feriados de 10 a 22 hs

Nodo CIC Nueva Ciudad: Av San Expedito esq Alfonsín. Horarios de Atención:

-Lunes a Viernes de 14 a 22 hs

-Sábados, Domingos y Feriados de 10 a 22 hs

Dengue con signos de Alarma deben concurrir a:

-Guardia del Hospital Guillermo C. Paterson en forma urgente

 

Si el paciente no puede trasladarse por gravedad del cuadro clínico llamar al 107 SAME y avisar como caso de dengue grave

 

 

']}],rD=()=>{const e=gp(),{articleId:t}=e;console.log({params:e});const n=pp($v,String(t),r=>r.key===t);return gt.jsxs("div",{style:{padding:"0rem 2rem",display:"flex",flexWrap:"wrap",gap:"1.5rem"},children:[gt.jsx(Ul,{dataSource:n.content,header:gt.jsx(f$.Title,{level:3,children:n.label}),renderItem:r=>gt.jsx(Ul.Item,{children:gt.jsx("div",{dangerouslySetInnerHTML:{__html:r}})})}),gt.jsx(G8,{src:n.media_details}),gt.jsx(Zj,{})]})},ib=()=>{var r;const{itemKey:e}=gp(),t=S$(),n=e?(r=pp($v,e,o=>o.key===e))==null?void 0:r.children:$v;return gt.jsx("div",{style:{padding:"2rem",display:"flex",flexWrap:"wrap",gap:"1.5rem"},children:gt.jsx(Ul,{grid:{gutter:24},dataSource:n,renderItem:o=>{var i;return gt.jsx(Ul.Item,{children:gt.jsx(My,{style:{width:"20rem",maxWidth:"350px"},onClick:()=>t(o.children?`/articles/${o.key}`:`/article/${o.key}`),hoverable:!0,cover:(o==null?void 0:o.media)&>.jsx("img",{alt:`${o.key}-image`,src:(i=o.media)!=null&&i.startsWith("/")?`/dengue${o.media}`:o.media,style:{maxHeight:"12rem",objectFit:"cover"}}),children:gt.jsx(My.Meta,{title:o.label})})})}})})},{Content:oD}=e$,{Title:iD}=f$,pp=(e,t,n)=>{for(const r of e){if(n(r))return r;if(r.children){const o=pp(r.children,t,n);if(o)return o}}},aD=()=>{const{token:{colorBgContainer:e,borderRadiusLG:t}}=rF.useToken(),n=S$(),r=md(),o=gp(),{pathname:i}=r;return console.log({params:o,location:r,env:!0}),gt.jsxs(e$,{style:{minHeight:"100vh"},children:[gt.jsx(Jw,{style:{position:"sticky",top:0,zIndex:1,width:"100%",display:"flex",alignItems:"center"},children:gt.jsxs(I6,{children:[i!=="/"&>.jsx(lT,{style:{verticalAlign:"middle",marginTop:"8px"},icon:gt.jsx($a,{style:{color:"white"}}),type:"text",onClick:()=>n(-1)}),gt.jsx(iD,{style:{color:"white"},children:" Dengue "})]})}),gt.jsx(oD,{style:{padding:"2rem 1rem",justifyContent:"center"},children:gt.jsxs("div",{style:{background:e,borderRadius:t},children:[gt.jsxs(JB,{children:[gt.jsx(Cc,{index:!0,element:gt.jsx(ib,{})}),gt.jsx(Cc,{path:"/article/:articleId",element:gt.jsx(rD,{})}),gt.jsx(Cc,{path:"/articles/:itemKey",element:gt.jsx(ib,{})})]}),gt.jsx(Si.BackTop,{})]})})]})},lD=()=>{const{pathname:e}=md();return s.useEffect(()=>{window.scrollTo(0,0)},[e]),null},sD=()=>gt.jsx(kC,{theme:{components:{Layout:{headerBg:"#23b9ca",headerPadding:"1rem"}}},children:gt.jsxs(nD,{basename:"/dengue",children:[gt.jsx(lD,{}),gt.jsx(aD,{})]})});If.createRoot(document.getElementById("root")).render(gt.jsx(V.StrictMode,{children:gt.jsx(sD,{})})); diff --git a/favicon-16x16.png b/favicon-16x16.png new file mode 100644 index 0000000..a1b3281 Binary files /dev/null and b/favicon-16x16.png differ diff --git a/favicon-32x32.png b/favicon-32x32.png new file mode 100644 index 0000000..5c88cf1 Binary files /dev/null and b/favicon-32x32.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..4409fd4 Binary files /dev/null and b/favicon.ico differ diff --git a/images/favicon.png b/images/favicon.png new file mode 100644 index 0000000..03225d7 Binary files /dev/null and b/images/favicon.png differ diff --git a/index.html b/index.html index 621681b..3232b92 100644 --- a/index.html +++ b/index.html @@ -3,10 +3,14 @@ - + + + + + - Vite + React + TS - + Dengue + diff --git a/site.webmanifest b/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/vite.svg b/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file