From 764789c35a2bd40589c77b061d6d6abe58a4390a Mon Sep 17 00:00:00 2001 From: Fabian Gonzalo Artur de la Villarmois Date: Sun, 24 Mar 2024 10:23:16 +1300 Subject: [PATCH] Updates --- assets/index-Bs0oQt9T.js | 304 ++++++++++++++++++++++++++++++++++++++ assets/index-DnBjq_z4.css | 1 + index.html | 17 +++ vite.svg | 1 + 4 files changed, 323 insertions(+) create mode 100644 assets/index-Bs0oQt9T.js create mode 100644 assets/index-DnBjq_z4.css create mode 100644 index.html create mode 100644 vite.svg diff --git a/assets/index-Bs0oQt9T.js b/assets/index-Bs0oQt9T.js new file mode 100644 index 0000000..c0abc47 --- /dev/null +++ b/assets/index-Bs0oQt9T.js @@ -0,0 +1,304 @@ +function Cy(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 Qc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wy={exports:{}},Zc={},xy={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 Fl=Symbol.for("react.element"),yx=Symbol.for("react.portal"),bx=Symbol.for("react.fragment"),Sx=Symbol.for("react.strict_mode"),Cx=Symbol.for("react.profiler"),wx=Symbol.for("react.provider"),xx=Symbol.for("react.context"),$x=Symbol.for("react.forward_ref"),Ex=Symbol.for("react.suspense"),Ox=Symbol.for("react.memo"),Rx=Symbol.for("react.lazy"),Kg=Symbol.iterator;function Ix(e){return e===null||typeof e!="object"?null:(e=Kg&&e[Kg]||e["@@iterator"],typeof e=="function"?e:null)}var $y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ey=Object.assign,Oy={};function ya(e,t,n){this.props=e,this.context=t,this.refs=Oy,this.updater=n||$y}ya.prototype.isReactComponent={};ya.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")};ya.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ry(){}Ry.prototype=ya.prototype;function nm(e,t,n){this.props=e,this.context=t,this.refs=Oy,this.updater=n||$y}var rm=nm.prototype=new Ry;rm.constructor=nm;Ey(rm,ya.prototype);rm.isPureReactComponent=!0;var Xg=Array.isArray,Iy=Object.prototype.hasOwnProperty,om={current:null},Py={key:!0,ref:!0,__self:!0,__source:!0};function My(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)Iy.call(t,r)&&!Py.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,v=3,p=!1,b=!1,y=!1,S=typeof setTimeout=="function"?setTimeout:null,m=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 h(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(y=!1,h(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,y&&(y=!1,m(R),R=-1),p=!0;var j=v;try{for(h(L),f=n(c);f!==null&&(!(f.expirationTime>L)||E&&!M());){var F=f.callback;if(typeof F=="function"){f.callback=null,v=f.priorityLevel;var H=F(f.expirationTime<=L);L=e.unstable_now(),typeof H=="function"?f.callback=H:f===n(c)&&r(c),h(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,v=j,p=!1}}var w=!1,x=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)&&(y?(m(R),R=-1):y=!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=v;return function(){var j=v;v=L;try{return E.apply(this,arguments)}finally{v=j}}}})(zy);_y.exports=zy;var Fx=_y.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 Ly=s,rr=Fx;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"),uf=Object.prototype.hasOwnProperty,Bx=/^[: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]*$/,Yg={},Qg={};function Hx(e){return uf.call(Qg,e)?!0:uf.call(Yg,e)?!1:Bx.test(e)?Qg[e]=!0:(Yg[e]=!0,!1)}function kx(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 Vx(e,t,n,r){if(t===null||typeof t>"u"||kx(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 Ln(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 bn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){bn[e]=new Ln(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];bn[t]=new Ln(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){bn[e]=new Ln(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){bn[e]=new Ln(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){bn[e]=new Ln(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){bn[e]=new Ln(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){bn[e]=new Ln(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){bn[e]=new Ln(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){bn[e]=new Ln(e,5,!1,e.toLowerCase(),null,!1,!1)});var am=/[\-:]([a-z])/g;function lm(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(am,lm);bn[t]=new Ln(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(am,lm);bn[t]=new Ln(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(am,lm);bn[t]=new Ln(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){bn[e]=new Ln(e,1,!1,e.toLowerCase(),null,!1,!1)});bn.xlinkHref=new Ln("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){bn[e]=new Ln(e,1,!1,e.toLowerCase(),null,!0,!0)});function sm(e,t,n,r){var o=bn.hasOwnProperty(t)?bn[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{od=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wa(e):""}function Wx(e){switch(e.tag){case 5:return Wa(e.type);case 16:return Wa("Lazy");case 13:return Wa("Suspense");case 19:return Wa("SuspenseList");case 0:case 2:case 15:return e=id(e.type,!1),e;case 11:return e=id(e.type.render,!1),e;case 1:return e=id(e.type,!0),e;default:return""}}function mf(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 Ni:return"Fragment";case Ti:return"Portal";case df:return"Profiler";case cm:return"StrictMode";case ff:return"Suspense";case vf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Dy:return(e.displayName||"Context")+".Consumer";case Ay:return(e._context.displayName||"Context")+".Provider";case um:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case dm:return t=e.displayName||null,t!==null?t:mf(e.type)||"Memo";case fo:t=e._payload,e=e._init;try{return mf(e(t))}catch{}}return null}function Ux(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 mf(t);case 8:return t===cm?"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 Po(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function By(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gx(e){var t=By(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 us(e){e._valueTracker||(e._valueTracker=Gx(e))}function Hy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=By(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function dc(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 gf(e,t){var n=t.checked;return Ut({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Jg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Po(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 ky(e,t){t=t.checked,t!=null&&sm(e,"checked",t,!1)}function pf(e,t){ky(e,t);var n=Po(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")?hf(e,t.type,n):t.hasOwnProperty("defaultValue")&&hf(e,t.type,Po(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ep(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 hf(e,t,n){(t!=="number"||dc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ua=Array.isArray;function Xi(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=ds.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function vl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ya={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},Kx=["Webkit","ms","Moz","O"];Object.keys(Ya).forEach(function(e){Kx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ya[t]=Ya[e]})});function Gy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ya.hasOwnProperty(e)&&Ya[e]?(""+t).trim():t+"px"}function Ky(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Gy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Xx=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 Sf(e,t){if(t){if(Xx[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 Cf(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 wf=null;function fm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xf=null,qi=null,Yi=null;function rp(e){if(e=kl(e)){if(typeof xf!="function")throw Error(he(280));var t=e.stateNode;t&&(t=ou(t),xf(e.stateNode,e.type,t))}}function Xy(e){qi?Yi?Yi.push(e):Yi=[e]:qi=e}function qy(){if(qi){var e=qi,t=Yi;if(Yi=qi=null,rp(e),t)for(e=0;e>>=0,e===0?32:31-(i$(e)/a$|0)|0}var fs=64,vs=4194304;function Ga(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 gc(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=Ga(l):(i&=a,i!==0&&(r=Ga(i)))}else a=n&~o,a!==0?r=Ga(a):i!==0&&(r=Ga(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 Bl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Or(t),e[t]=n}function u$(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=Za),fp=" ",vp=!1;function gb(e,t){switch(e){case"keyup":return D$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _i=!1;function B$(e,t){switch(e){case"compositionend":return pb(t);case"keypress":return t.which!==32?null:(vp=!0,fp);case"textInput":return e=t.data,e===fp&&vp?null:e;default:return null}}function H$(e,t){if(_i)return e==="compositionend"||!Sm&&gb(e,t)?(e=vb(),Us=hm=po=null,_i=!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=hp(n)}}function Sb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cb(){for(var e=window,t=dc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=dc(e.document)}return t}function Cm(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 Y$(e){var t=Cb(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Sb(n.ownerDocument.documentElement,n)){if(r!==null&&Cm(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=yp(n,i);var a=yp(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,zi=null,Pf=null,el=null,Mf=!1;function bp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mf||zi==null||zi!==dc(r)||(r=zi,"selectionStart"in r&&Cm(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}),el&&bl(el,r)||(el=r,r=yc(Pf,"onSelect"),0Ai||(e.current=jf[Ai],jf[Ai]=null,Ai--)}function Lt(e,t){Ai++,jf[Ai]=e.current,e.current=t}var Mo={},Rn=zo(Mo),kn=zo(!1),ei=Mo;function oa(e,t){var n=e.type.contextTypes;if(!n)return Mo;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 Vn(e){return e=e.childContextTypes,e!=null}function Sc(){Dt(kn),Dt(Rn)}function Op(e,t,n){if(Rn.current!==Mo)throw Error(he(168));Lt(Rn,t),Lt(kn,n)}function Mb(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,Ux(e)||"Unknown",o));return Ut({},n,r)}function Cc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mo,ei=Rn.current,Lt(Rn,e),Lt(kn,kn.current),!0}function Rp(e,t,n){var r=e.stateNode;if(!r)throw Error(he(169));n?(e=Mb(e,t,ei),r.__reactInternalMemoizedMergedChildContext=e,Dt(kn),Dt(Rn),Lt(Rn,e)):Dt(kn),Lt(kn,n)}var Kr=null,iu=!1,bd=!1;function Tb(e){Kr===null?Kr=[e]:Kr.push(e)}function sE(e){iu=!0,Tb(e)}function Lo(){if(!bd&&Kr!==null){bd=!0;var e=0,t=Pt;try{var n=Kr;for(Pt=1;e>=a,o-=a,qr=1<<32-Or(t)+o|n<R?(O=x,x=null):O=x.sibling;var I=v(m,x,h[R],C);if(I===null){x===null&&(x=O);break}e&&x&&I.alternate===null&&t(m,x),g=i(I,g,R),w===null?$=I:w.sibling=I,w=I,x=O}if(R===h.length)return n(m,x),Bt&&Fo(m,R),$;if(x===null){for(;RR?(O=x,x=null):O=x.sibling;var M=v(m,x,I.value,C);if(M===null){x===null&&(x=O);break}e&&x&&M.alternate===null&&t(m,x),g=i(M,g,R),w===null?$=M:w.sibling=M,w=M,x=O}if(I.done)return n(m,x),Bt&&Fo(m,R),$;if(x===null){for(;!I.done;R++,I=h.next())I=f(m,I.value,C),I!==null&&(g=i(I,g,R),w===null?$=I:w.sibling=I,w=I);return Bt&&Fo(m,R),$}for(x=r(m,x);!I.done;R++,I=h.next())I=p(x,m,R,I.value,C),I!==null&&(e&&I.alternate!==null&&x.delete(I.key===null?R:I.key),g=i(I,g,R),w===null?$=I:w.sibling=I,w=I);return e&&x.forEach(function(_){return t(m,_)}),Bt&&Fo(m,R),$}function S(m,g,h,C){if(typeof h=="object"&&h!==null&&h.type===Ni&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case cs:e:{for(var $=h.key,w=g;w!==null;){if(w.key===$){if($=h.type,$===Ni){if(w.tag===7){n(m,w.sibling),g=o(w,h.props.children),g.return=m,m=g;break e}}else if(w.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===fo&&zp($)===w.type){n(m,w.sibling),g=o(w,h.props),g.ref=za(m,w,h),g.return=m,m=g;break e}n(m,w);break}else t(m,w);w=w.sibling}h.type===Ni?(g=Qo(h.props.children,m.mode,C,h.key),g.return=m,m=g):(C=Js(h.type,h.key,h.props,null,m.mode,C),C.ref=za(m,g,h),C.return=m,m=C)}return a(m);case Ti:e:{for(w=h.key;g!==null;){if(g.key===w)if(g.tag===4&&g.stateNode.containerInfo===h.containerInfo&&g.stateNode.implementation===h.implementation){n(m,g.sibling),g=o(g,h.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=Rd(h,m.mode,C),g.return=m,m=g}return a(m);case fo:return w=h._init,S(m,g,w(h._payload),C)}if(Ua(h))return b(m,g,h,C);if(Pa(h))return y(m,g,h,C);Ss(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,g!==null&&g.tag===6?(n(m,g.sibling),g=o(g,h),g.return=m,m=g):(n(m,g),g=Od(h,m.mode,C),g.return=m,m=g),a(m)):n(m,g)}return S}var aa=Fb(!0),Bb=Fb(!1),Vl={},Fr=zo(Vl),xl=zo(Vl),$l=zo(Vl);function Go(e){if(e===Vl)throw Error(he(174));return e}function Mm(e,t){switch(Lt($l,t),Lt(xl,e),Lt(Fr,Vl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:bf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=bf(t,e)}Dt(Fr),Lt(Fr,t)}function la(){Dt(Fr),Dt(xl),Dt($l)}function Hb(e){Go($l.current);var t=Go(Fr.current),n=bf(t,e.type);t!==n&&(Lt(xl,e),Lt(Fr,n))}function Tm(e){xl.current===e&&(Dt(Fr),Dt(xl))}var Vt=zo(0);function Rc(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 Sd=[];function Nm(){for(var e=0;en?n:4,e(!0);var r=Cd.transition;Cd.transition={};try{e(!1),t()}finally{Pt=n,Cd.transition=r}}function r1(){return gr().memoizedState}function fE(e,t,n){var r=Ro(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},o1(e))i1(t,n);else if(n=Lb(e,t,n,r),n!==null){var o=Nn();Rr(n,e,r,o),a1(n,t,r)}}function vE(e,t,n){var r=Ro(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(o1(e))i1(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,Mr(l,a)){var c=t.interleaved;c===null?(o.next=o,Im(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=Lb(e,t,o,r),n!==null&&(o=Nn(),Rr(n,e,r,o),a1(n,t,r))}}function o1(e){var t=e.alternate;return e===Wt||t!==null&&t===Wt}function i1(e,t){tl=Ic=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function a1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,mm(e,n)}}var Pc={readContext:mr,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},mE={readContext:mr,useCallback:function(e,t){return Lr().memoizedState=[e,t===void 0?null:t],e},useContext:mr,useEffect:jp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,qs(4194308,4,Zb.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qs(4194308,4,e,t)},useInsertionEffect:function(e,t){return qs(4,2,e,t)},useMemo:function(e,t){var n=Lr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lr();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=fE.bind(null,Wt,e),[r.memoizedState,e]},useRef:function(e){var t=Lr();return e={current:e},t.memoizedState=e},useState:Lp,useDebugValue:Am,useDeferredValue:function(e){return Lr().memoizedState=e},useTransition:function(){var e=Lp(!1),t=e[0];return e=dE.bind(null,e[1]),Lr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Wt,o=Lr();if(Bt){if(n===void 0)throw Error(he(407));n=n()}else{if(n=t(),vn===null)throw Error(he(349));ni&30||Wb(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,jp(Gb.bind(null,r,i,e),[e]),r.flags|=2048,Rl(9,Ub.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Lr(),t=vn.identifierPrefix;if(Bt){var n=Yr,r=qr;n=(r&~(1<<32-Or(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=El++,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[jr]=t,e[wl]=r,g1(e,t,!1,!1),t.stateNode=e;e:{switch(a=Cf(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;oca&&(t.flags|=128,r=!0,La(i,!1),t.lanes=4194304)}else{if(!r)if(e=Rc(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),La(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Bt)return xn(t),null}else 2*Zt()-i.renderingStartTime>ca&&n!==1073741824&&(t.flags|=128,r=!0,La(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):(xn(t),null);case 22:case 23:return Vm(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Jn&1073741824&&(xn(t),t.subtreeFlags&6&&(t.flags|=8192)):xn(t),null;case 24:return null;case 25:return null}throw Error(he(156,t.tag))}function wE(e,t){switch(xm(t),t.tag){case 1:return Vn(t.type)&&Sc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return la(),Dt(kn),Dt(Rn),Nm(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Tm(t),null;case 13:if(Dt(Vt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(he(340));ia()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Dt(Vt),null;case 4:return la(),null;case 10:return Rm(t.type._context),null;case 22:case 23:return Vm(),null;case 24:return null;default:return null}}var ws=!1,En=!1,xE=typeof WeakSet=="function"?WeakSet:Set,ze=null;function Hi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){qt(e,t,r)}else n.current=null}function Xf(e,t,n){try{n()}catch(r){qt(e,t,r)}}var Up=!1;function $E(e,t){if(Tf=pc,e=Cb(),Cm(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,v=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;)v=f,f=p;for(;;){if(f===e)break t;if(v===n&&++u===o&&(l=a),v===i&&++d===r&&(c=a),(p=f.nextSibling)!==null)break;f=v,v=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(Nf={focusedElem:e,selectionRange:n},pc=!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 y=b.memoizedProps,S=b.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:Cr(t.type,y),S);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(he(163))}}catch(C){qt(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,ze=e;break}ze=t.return}return b=Up,Up=!1,b}function nl(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&&Xf(t,n,i)}o=o.next}while(o!==r)}}function su(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 qf(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 y1(e){var t=e.alternate;t!==null&&(e.alternate=null,y1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[jr],delete t[wl],delete t[Lf],delete t[aE],delete t[lE])),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 b1(e){return e.tag===5||e.tag===3||e.tag===4}function Gp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||b1(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 Yf(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=bc));else if(r!==4&&(e=e.child,e!==null))for(Yf(e,t,n),e=e.sibling;e!==null;)Yf(e,t,n),e=e.sibling}function Qf(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(Qf(e,t,n),e=e.sibling;e!==null;)Qf(e,t,n),e=e.sibling}var pn=null,wr=!1;function co(e,t,n){for(n=n.child;n!==null;)S1(e,t,n),n=n.sibling}function S1(e,t,n){if(Dr&&typeof Dr.onCommitFiberUnmount=="function")try{Dr.onCommitFiberUnmount(eu,n)}catch{}switch(n.tag){case 5:En||Hi(n,t);case 6:var r=pn,o=wr;pn=null,co(e,t,n),pn=r,wr=o,pn!==null&&(wr?(e=pn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):pn.removeChild(n.stateNode));break;case 18:pn!==null&&(wr?(e=pn,n=n.stateNode,e.nodeType===8?yd(e.parentNode,n):e.nodeType===1&&yd(e,n),hl(e)):yd(pn,n.stateNode));break;case 4:r=pn,o=wr,pn=n.stateNode.containerInfo,wr=!0,co(e,t,n),pn=r,wr=o;break;case 0:case 11:case 14:case 15:if(!En&&(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)&&Xf(n,t,a),o=o.next}while(o!==r)}co(e,t,n);break;case 1:if(!En&&(Hi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){qt(n,t,l)}co(e,t,n);break;case 21:co(e,t,n);break;case 22:n.mode&1?(En=(r=En)||n.memoizedState!==null,co(e,t,n),En=r):co(e,t,n);break;default:co(e,t,n)}}function Kp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xE),t.forEach(function(r){var o=_E.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function br(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*OE(r/1960))-r,10e?16:e,ho===null)var r=!1;else{if(e=ho,ho=null,Nc=0,yt&6)throw Error(he(331));var o=yt;for(yt|=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()-Hm?Yo(e,0):Bm|=n),Wn(e,t)}function I1(e,t){t===0&&(e.mode&1?(t=vs,vs<<=1,!(vs&130023424)&&(vs=4194304)):t=1);var n=Nn();e=eo(e,t),e!==null&&(Bl(e,t,n),Wn(e,n))}function NE(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),I1(e,n)}function _E(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),I1(e,n)}var P1;P1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||kn.current)Hn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Hn=!1,SE(e,t,n);Hn=!!(e.flags&131072)}else Hn=!1,Bt&&t.flags&1048576&&Nb(t,xc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ys(e,t),e=t.pendingProps;var o=oa(t,Rn.current);Zi(t,n),o=zm(null,t,r,e,o,n);var i=Lm();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,Vn(r)?(i=!0,Cc(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Pm(t),o.updater=au,t.stateNode=o,o._reactInternals=t,Hf(t,r,e,n),t=Wf(null,t,r,!0,i,n)):(t.tag=0,Bt&&i&&wm(t),Tn(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ys(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=LE(r),e=Cr(r,e),o){case 0:t=Vf(null,t,r,e,n);break e;case 1:t=kp(null,t,r,e,n);break e;case 11:t=Bp(null,t,r,e,n);break e;case 14:t=Hp(null,t,r,Cr(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:Cr(r,o),Vf(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Cr(r,o),kp(e,t,r,o,n);case 3:e:{if(f1(t),e===null)throw Error(he(387));r=t.pendingProps,i=t.memoizedState,o=i.element,jb(e,t),Oc(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=sa(Error(he(423)),t),t=Vp(e,t,r,n,o);break e}else if(r!==o){o=sa(Error(he(424)),t),t=Vp(e,t,r,n,o);break e}else for(er=$o(t.stateNode.containerInfo.firstChild),nr=t,Bt=!0,Er=null,n=Bb(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ia(),r===o){t=to(e,t,n);break e}Tn(e,t,r,n)}t=t.child}return t;case 5:return Hb(t),e===null&&Df(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,_f(r,o)?a=null:i!==null&&_f(r,i)&&(t.flags|=32),d1(e,t),Tn(e,t,a,n),t.child;case 6:return e===null&&Df(t),null;case 13:return v1(e,t,n);case 4:return Mm(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=aa(t,null,r,n):Tn(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Cr(r,o),Bp(e,t,r,o,n);case 7:return Tn(e,t,t.pendingProps,n),t.child;case 8:return Tn(e,t,t.pendingProps.children,n),t.child;case 12:return Tn(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(Mr(i.value,a)){if(i.children===o.children&&!kn.current){t=to(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=Qr(-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),Ff(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),Ff(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}Tn(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Zi(t,n),o=mr(o),r=r(o),t.flags|=1,Tn(e,t,r,n),t.child;case 14:return r=t.type,o=Cr(r,t.pendingProps),o=Cr(r.type,o),Hp(e,t,r,o,n);case 15:return c1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Cr(r,o),Ys(e,t),t.tag=1,Vn(r)?(e=!0,Cc(t)):e=!1,Zi(t,n),Db(t,r,o),Hf(t,r,o,n),Wf(null,t,r,!0,e,n);case 19:return m1(e,t,n);case 22:return u1(e,t,n)}throw Error(he(156,t.tag))};function M1(e,t){return nb(e,t)}function zE(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 dr(e,t,n,r){return new zE(e,t,n,r)}function Um(e){return e=e.prototype,!(!e||!e.isReactComponent)}function LE(e){if(typeof e=="function")return Um(e)?1:0;if(e!=null){if(e=e.$$typeof,e===um)return 11;if(e===dm)return 14}return 2}function Io(e,t){var n=e.alternate;return n===null?(n=dr(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 Js(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")Um(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Ni:return Qo(n.children,o,i,t);case cm:a=8,o|=8;break;case df:return e=dr(12,n,t,o|2),e.elementType=df,e.lanes=i,e;case ff:return e=dr(13,n,t,o),e.elementType=ff,e.lanes=i,e;case vf:return e=dr(19,n,t,o),e.elementType=vf,e.lanes=i,e;case Fy:return uu(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ay:a=10;break e;case Dy:a=9;break e;case um:a=11;break e;case dm:a=14;break e;case fo:a=16,r=null;break e}throw Error(he(130,e==null?e:typeof e,""))}return t=dr(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Qo(e,t,n,r){return e=dr(7,e,r,t),e.lanes=n,e}function uu(e,t,n,r){return e=dr(22,e,r,t),e.elementType=Fy,e.lanes=n,e.stateNode={isHidden:!1},e}function Od(e,t,n){return e=dr(6,e,null,t),e.lanes=n,e}function Rd(e,t,n){return t=dr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jE(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=ld(0),this.expirationTimes=ld(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ld(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Gm(e,t,n,r,o,i,a,l,c){return e=new jE(e,t,n,l,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=dr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pm(i),e}function AE(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(z1)}catch(e){console.error(e)}}z1(),Ny.exports=or;var To=Ny.exports;const Lc=Qc(To),kE=Cy({__proto__:null,default:Lc},[To]);var L1,th=To;L1=th.createRoot,th.hydrateRoot;var j1={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 q.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(pr(r)):ec.isFragment(r)&&r.props?n=n.concat(pr(r.props.children,t)):n.push(r))}),n}var nv={},GE=function(t){};function KE(e,t){}function XE(e,t){}function qE(){nv={}}function F1(e,t,n){!t&&!nv[n]&&(e(!1,n),nv[n]=!0)}function On(e,t){F1(KE,e,t)}function YE(e,t){F1(XE,e,t)}On.preMessage=GE;On.resetWarned=qE;On.noteOnce=YE;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 QE(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 B1(e){var t=QE(e,"string");return tt(t)=="symbol"?t:t+""}function D(e,t,n){return t=B1(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nh(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(){!ov||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),o2?(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(){!ov||!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=r2.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}(),k1=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof ua(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new v2(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 ua(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 m2(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}(),W1=typeof WeakMap<"u"?new WeakMap:new H1,U1=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=i2.getInstance(),r=new g2(t,n,this);W1.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){U1.prototype[e]=function(){var t;return(t=W1.get(this))[e].apply(t,arguments)}});var p2=function(){return typeof Ac.ResizeObserver<"u"?Ac.ResizeObserver:U1}(),yo=new Map;function h2(e){e.forEach(function(t){var n,r=t.target;(n=yo.get(r))===null||n===void 0||n.forEach(function(o){return o(r)})})}var G1=new p2(h2);function y2(e,t){yo.has(e)||(yo.set(e,new Set),G1.observe(e)),yo.get(e).add(t)}function b2(e,t){yo.has(e)&&(yo.get(e).delete(t),yo.get(e).size||(G1.unobserve(e),yo.delete(e)))}function jn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oh(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;ih+=1;var r=ih;function o(i){if(i===0)Q1(r),t();else{var a=q1(function(){o(i-1)});tg.set(r,a)}}return o(n),r};It.cancel=function(e){var t=tg.get(e);return Q1(e),Y1(t)};function Z1(e){if(Array.isArray(e))return e}function R2(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 J1(){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 Z1(e)||R2(e,t)||eg(e,t)||J1()}function Fc(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 In(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function lv(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 ah="data-rc-order",lh="data-rc-priority",I2="rc-util-key",sv=new Map;function eS(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):I2}function Ou(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function P2(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function ng(e){return Array.from((sv.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function tS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!In())return null;var n=t.csp,r=t.prepend,o=t.priority,i=o===void 0?0:o,a=P2(r),l=a==="prependQueue",c=document.createElement("style");c.setAttribute(ah,a),l&&i&&c.setAttribute(lh,"".concat(i)),n!=null&&n.nonce&&(c.nonce=n==null?void 0:n.nonce),c.innerHTML=e;var u=Ou(t),d=u.firstChild;if(r){if(l){var f=(t.styles||ng(u)).filter(function(v){if(!["prepend","prependQueue"].includes(v.getAttribute(ah)))return!1;var p=Number(v.getAttribute(lh)||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 nS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Ou(t);return(t.styles||ng(n)).find(function(r){return r.getAttribute(eS(t))===e})}function fa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=nS(e,t);if(n){var r=Ou(t);r.removeChild(n)}}function M2(e,t){var n=sv.get(e);if(!n||!lv(document,n)){var r=tS("",t),o=r.parentNode;sv.set(e,o),e.removeChild(r)}}function no(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Ou(n),o=ng(r),i=B(B({},n),{},{styles:o});M2(r,i);var a=nS(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=tS(e,i);return d.setAttribute(eS(i),t),d}function T2(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=T2(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 Gl(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(On(!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),v=f[1];return o.internalGet(d)[1]0,void 0),sh+=1}return An(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,o){return o(n,r)},void 0)}}]),e}(),Id=new rg;function Pl(e){var t=Array.isArray(e)?e:[e];return Id.has(t)||Id.set(t,new rS(t)),Id.get(t)}var j2=new WeakMap,Pd={};function A2(e,t){for(var n=j2,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({},va,t),Ir,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 iS=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()},B2=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(""),"}"):""},aS=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 v,p=iS(d,r==null?void 0:r.prefix);o[p]=typeof f=="number"&&!(r!=null&&(v=r.unitless)!==null&&v!==void 0&&v[d])?"".concat(f,"px"):String(f),i[d]="var(".concat(p,")")}}),[i,B2(o,n,{scope:r==null?void 0:r.scope})]},dh=In()?s.useLayoutEffect:s.useEffect,Rt=function(t,n){var r=s.useRef(!0);dh(function(){return t(r.current)},n),dh(function(){return r.current=!1,function(){r.current=!0}},[])},dv=function(t,n){Rt(function(r){if(!r)return t()},n)},H2=B({},Jc),fh=H2.useInsertionEffect,k2=function(t,n,r){s.useMemo(t,r),Rt(function(){return n(!0)},r)},V2=fh?function(e,t,n){return fh(function(){return e(),t()},n)}:k2,W2=B({},Jc),U2=W2.useInsertionEffect,G2=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},K2=function(){return function(t){t()}},X2=typeof U2<"u"?G2:K2;function og(e,t,n,r,o){var i=s.useContext(Ru),a=i.cache,l=[e].concat(Te(t)),c=cv(l),u=X2([c]),d=function(b){a.opUpdate(c,function(y){var S=y||[void 0,void 0],m=k(S,2),g=m[0],h=g===void 0?0:g,C=m[1],$=C,w=$||n(),x=[h,w];return b?b(x):x})};s.useMemo(function(){d()},[c]);var f=a.opGet(c),v=f[1];return V2(function(){o==null||o(v)},function(p){return d(function(b){var y=k(b,2),S=y[0],m=y[1];return p&&S===0&&(o==null||o(v)),[S+1,m]}),function(){a.opUpdate(c,function(b){var y=b||[],S=k(y,2),m=S[0],g=m===void 0?0:m,h=S[1],C=g-1;return C===0?(u(function(){(p||!a.opGet(c))&&(r==null||r(h,!1))}),null):[g-1,h]})}},[c]),v}var q2={},Y2="css",Vo=new Map;function Q2(e){Vo.set(e,(Vo.get(e)||0)+1)}function Z2(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(va,'="').concat(e,'"]'));n.forEach(function(r){if(r[bo]===t){var o;(o=r.parentNode)===null||o===void 0||o.removeChild(r)}})}}var J2=0;function eO(e,t){Vo.set(e,(Vo.get(e)||0)-1);var n=Array.from(Vo.keys()),r=n.filter(function(o){var i=Vo.get(o)||0;return i<=0});n.length-r.length>J2&&r.forEach(function(o){Z2(o,t),Vo.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},sS="token";function tO(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=s.useContext(Ru),o=r.cache.instanceId,i=r.container,a=n.salt,l=a===void 0?"":a,c=n.override,u=c===void 0?q2:c,d=n.formatToken,f=n.getComputedToken,v=n.cssVar,p=A2(function(){return Object.assign.apply(Object,[{}].concat(Te(t)))},t),b=al(p),y=al(u),S=v?al(v):"",m=og(sS,[l,e.id,b,y,S],function(){var g,h=f?f(p,u,e):lS(p,u,e,d),C=B({},h),$="";if(v){var w=aS(h,v.key,{prefix:v.prefix,ignore:v.ignore,unitless:v.unitless,preserve:v.preserve}),x=k(w,2);h=x[0],$=x[1]}var R=uh(h,l);h._tokenKey=R,C._tokenKey=uh(C,l);var O=(g=v==null?void 0:v.key)!==null&&g!==void 0?g:R;h._themeKey=O,Q2(O);var I="".concat(Y2,"-").concat(Fc(R));return h._hashId=I,[h,I,C,$,(v==null?void 0:v.key)||""]},function(g){eO(g[0]._themeKey,o)},function(g){var h=k(g,4),C=h[0],$=h[3];if(v&&$){var w=no($,Fc("css-variables-".concat(C._themeKey)),{mark:Ir,prepend:"queue",attachTo:i,priority:-999});w[bo]=o,w.setAttribute(va,C._themeKey)}});return m}var nO=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,v={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},p=Bc(a,l,d,v,u);return[f,d,p]},rO={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},cS="comm",uS="rule",dS="decl",oO="@import",iO="@keyframes",aO="@layer",fS=Math.abs,ig=String.fromCharCode;function vS(e){return e.trim()}function tc(e,t,n){return e.replace(t,n)}function lO(e,t,n){return e.indexOf(t,n)}function Ml(e,t){return e.charCodeAt(t)|0}function Tl(e,t,n){return e.slice(t,n)}function Xr(e){return e.length}function sO(e){return e.length}function Es(e,t){return t.push(e),e}var Iu=1,ma=1,mS=0,hr=0,Jt=0,Ca="";function ag(e,t,n,r,o,i,a,l){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Iu,column:ma,length:a,return:"",siblings:l}}function cO(){return Jt}function uO(){return Jt=hr>0?Ml(Ca,--hr):0,ma--,Jt===10&&(ma=1,Iu--),Jt}function Pr(){return Jt=hr2||fv(Jt)>3?"":" "}function mO(e,t){for(;--t&&Pr()&&!(Jt<48||Jt>102||Jt>57&&Jt<65||Jt>70&&Jt<97););return Pu(e,nc()+(t<6&&Zo()==32&&Pr()==32))}function vv(e){for(;Pr();)switch(Jt){case e:return hr;case 34:case 39:e!==34&&e!==39&&vv(Jt);break;case 40:e===41&&vv(e);break;case 92:Pr();break}return hr}function gO(e,t){for(;Pr()&&e+Jt!==57;)if(e+Jt===84&&Zo()===47)break;return"/*"+Pu(t,hr-1)+"*"+ig(e===47?e:Pr())}function pO(e){for(;!fv(Zo());)Pr();return Pu(e,hr)}function hO(e){return fO(rc("",null,null,null,[""],e=dO(e),0,[0],e))}function rc(e,t,n,r,o,i,a,l,c){for(var u=0,d=0,f=a,v=0,p=0,b=0,y=1,S=1,m=1,g=0,h="",C=o,$=i,w=r,x=h;S;)switch(b=g,g=Pr()){case 40:if(b!=108&&Ml(x,f-1)==58){lO(x+=tc(Td(g),"&","&\f"),"&\f",fS(u?l[u-1]:0))!=-1&&(m=-1);break}case 34:case 39:case 91:x+=Td(g);break;case 9:case 10:case 13:case 32:x+=vO(b);break;case 92:x+=mO(nc()-1,7);continue;case 47:switch(Zo()){case 42:case 47:Es(yO(gO(Pr(),nc()),t,n,c),c);break;default:x+="/"}break;case 123*y:l[u++]=Xr(x)*m;case 125*y:case 59:case 0:switch(g){case 0:case 125:S=0;case 59+d:m==-1&&(x=tc(x,/\f/g,"")),p>0&&Xr(x)-f&&Es(p>32?mh(x+";",r,n,f-1,c):mh(tc(x," ","")+";",r,n,f-2,c),c);break;case 59:x+=";";default:if(Es(w=vh(x,t,n,u,d,o,l,h,C=[],$=[],f,i),i),g===123)if(d===0)rc(x,t,w,w,C,i,f,l,$);else switch(v===99&&Ml(x,3)===110?100:v){case 100:case 108:case 109:case 115:rc(e,w,w,r&&Es(vh(e,w,w,0,0,o,l,h,o,C=[],f,$),$),o,$,f,l,r?C:$);break;default:rc(x,w,w,w,[""],$,0,l,$)}}u=d=p=0,y=m=1,h=x="",f=a;break;case 58:f=1+Xr(x),p=b;default:if(y<1){if(g==123)--y;else if(g==125&&y++==0&&uO()==125)continue}switch(x+=ig(g),g*y){case 38:m=d>0?1:(x+="\f",-1);break;case 44:l[u++]=(Xr(x)-1)*m,m=1;break;case 64:Zo()===45&&(x+=Td(Pr())),v=Zo(),d=f=Xr(h=x+=pO(nc())),g++;break;case 45:b===45&&Xr(x)==2&&(y=0)}}return i}function vh(e,t,n,r,o,i,a,l,c,u,d,f){for(var v=o-1,p=o===0?i:[""],b=sO(p),y=0,S=0,m=0;y0?p[g]+" "+h:tc(h,/&\f/g,p[g])))&&(c[m++]=C);return ag(e,t,n,o===0?uS:l,c,u,d,f)}function yO(e,t,n,r){return ag(e,t,n,cS,ig(cO()),Tl(e,2,-2),0,r)}function mh(e,t,n,r,o){return ag(e,t,n,dS,Tl(e,0,r),Tl(e,r+1,-1),r,o)}function mv(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 v="",p={};function b(h){var C=h.getName(l);if(!p[C]){var $=e(h.style,n,{root:!1,parentSelectors:a}),w=k($,1),x=w[0];p[C]="@keyframes ".concat(h.getName(l)).concat(x)}}function y(h){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return h.forEach(function($){Array.isArray($)?y($,C):$&&C.push($)}),C}var S=y(Array.isArray(t)?t:[t]);if(S.forEach(function(h){var C=typeof h=="string"&&!o?{}:h;if(typeof C=="string")v+="".concat(C,` +`);else if(C._keyframe)b(C);else{var $=f.reduce(function(w,x){var R;return(x==null||(R=x.visit)===null||R===void 0?void 0:R.call(x,w))||w},C);Object.keys($).forEach(function(w){var x=$[w];if(tt(x)==="object"&&x&&(w!=="animationName"||!x._keyframe)&&!$O(x)){var R=!1,O=w.trim(),I=!1;(o||i)&&l?O.startsWith("@")?R=!0:O=EO(w,l,u):o&&!l&&(O==="&"||O==="")&&(O="",I=!0);var M=e(x,n,{root:I,injectHash:R,parentSelectors:[].concat(Te(a),[O])}),_=k(M,2),P=_[0],z=_[1];p=B(B({},p),z),v+="".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;!rO[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)),v+="".concat(j,":").concat(F,";")};var A,N=(A=x==null?void 0:x.value)!==null&&A!==void 0?A:x;tt(x)==="object"&&x!==null&&x!==void 0&&x[hS]&&Array.isArray(N)?N.forEach(function(E){T(w,E)}):T(w,N)}})}}),!o)v="{".concat(v,"}");else if(c&&F2()){var m=c.split(","),g=m[m.length-1].trim();v="@layer ".concat(g," {").concat(v,"}"),m.length>1&&(v="@layer ".concat(c,"{%%%:%}").concat(v))}return[v,p]};function yS(e,t){return Fc("".concat(e.join("%")).concat(t))}function RO(){return null}var bS="style";function pv(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(Ru),f=d.autoClear;d.mock;var v=d.defaultCache,p=d.hashPriority,b=d.container,y=d.ssrInline,S=d.transformers,m=d.linters,g=d.cache,h=n._tokenKey,C=[h].concat(Te(r)),$=uv,w=og(bS,C,function(){var M=C.join("|");if(CO(M)){var _=wO(M),P=k(_,2),z=P[0],A=P[1];if(z)return[z,h,A,{},l,u]}var N=t(),T=OO(N,{hashId:o,hashPriority:p,layer:i,path:r.join("-"),transformers:S,linters:m}),E=k(T,2),L=E[0],j=E[1],F=gv(L),H=yS(C,F);return[F,h,H,j,l,u]},function(M,_){var P=k(M,3),z=P[2];(_||f)&&uv&&fa(z,{mark:Ir})},function(M){var _=k(M,4),P=_[0];_[1];var z=_[2],A=_[3];if($&&P!==gS){var N={mark:Ir,prepend:"queue",attachTo:b,priority:u},T=typeof a=="function"?a():a;T&&(N.csp={nonce:T});var E=no(P,z,N);E[bo]=g.instanceId,E.setAttribute(va,h),Object.keys(A).forEach(function(L){no(gv(A[L]),"_effect-".concat(L),N)})}}),x=k(w,3),R=x[0],O=x[1],I=x[2];return function(M){var _;return!y||$||!v?_=s.createElement(RO,null):_=s.createElement("style",me({},D(D({},va,O),Ir,I),{dangerouslySetInnerHTML:{__html:R}})),s.createElement(s.Fragment,null,_,M)}}var IO=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||{},v=f.plain;if(u)return null;var p=i,b={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return p=Bc(i,a,l,b,v),c&&Object.keys(c).forEach(function(y){if(!n[y]){n[y]=!0;var S=gv(c[y]);p+=Bc(S,a,"_effect-".concat(y),b,v)}}),[d,l,p]},SS="cssVar",PO=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(Ru),f=d.cache.instanceId,v=d.container,p=l._tokenKey,b=[].concat(Te(t.path),[r,u,p]),y=og(SS,b,function(){var S=n(),m=aS(S,r,{prefix:o,unitless:i,ignore:a,scope:u}),g=k(m,2),h=g[0],C=g[1],$=yS(b,C);return[h,C,$,r]},function(S){var m=k(S,3),g=m[2];uv&&fa(g,{mark:Ir})},function(S){var m=k(S,3),g=m[1],h=m[2];if(g){var C=no(g,h,{mark:Ir,prepend:"queue",attachTo:v,priority:-999});C[bo]=f,C.setAttribute(va,r)}});return y},MO=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)},v=Bc(i,l,a,f,u);return[d,a,v]};D(D(D({},bS,IO),sS,nO),SS,MO);var bt=function(){function e(t,n){jn(this,e),D(this,"name",void 0),D(this,"style",void 0),D(this,"_keyframe",!0),this.name=t,this.style=n}return An(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 yi(e){return e.notSplit=!0,e}yi(["borderTop","borderBottom"]),yi(["borderTop"]),yi(["borderBottom"]),yi(["borderLeft","borderRight"]),yi(["borderLeft"]),yi(["borderRight"]);var lg=s.createContext({});function CS(e){return Z1(e)||X1(e)||eg(e)||J1()}function Ar(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Ar(e,t.slice(0,-1))?e:wS(e,t,n,r)}function TO(e){return tt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function ph(e){return Array.isArray(e)?[]:{}}var NO=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Vi(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=_O,e},LO=s.createContext(void 0);var $S={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"},jO={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 AO={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},ES=AO,DO={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"]},jO),timePickerLocale:Object.assign({},ES)},hh=DO,Yn="${label} is not a valid ${type}",No={locale:"en",Pagination:$S,DatePicker:hh,TimePicker:ES,Calendar:hh,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:Yn,method:Yn,array:Yn,object:Yn,number:Yn,date:Yn,boolean:Yn,integer:Yn,float:Yn,regexp:Yn,email:Yn,url:Yn,hex:Yn},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({},No.Modal);let oc=[];const yh=()=>oc.reduce((e,t)=>Object.assign(Object.assign({},e),t),No.Modal);function FO(e){if(e){const t=Object.assign({},e);return oc.push(t),yh(),()=>{oc=oc.filter(n=>n!==t),yh()}}Object.assign({},No.Modal)}const BO=s.createContext(void 0),sg=BO,cg=(e,t)=>{const n=s.useContext(sg),r=s.useMemo(()=>{var i;const a=t||No[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?No.locale:i},[n]);return[r,o]},HO="internalMark",kO=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;s.useEffect(()=>FO(t&&t.Modal),[t]);const o=s.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return s.createElement(sg.Provider,{value:o},n)},VO=kO;function yn(e,t){WO(e)&&(e="100%");var n=UO(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 Os(e){return Math.min(1,Math.max(0,e))}function WO(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function UO(e){return typeof e=="string"&&e.indexOf("%")!==-1}function OS(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Rs(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Ko(e){return e.length===1?"0"+e:String(e)}function GO(e,t,n){return{r:yn(e,255)*255,g:yn(t,255)*255,b:yn(n,255)*255}}function bh(e,t,n){e=yn(e,255),t=yn(t,255),n=yn(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 KO(e,t,n){var r,o,i;if(e=yn(e,360),t=yn(t,100),n=yn(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=Nd(l,a,e+1/3),o=Nd(l,a,e),i=Nd(l,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function hv(e,t,n){e=yn(e,255),t=yn(t,255),n=yn(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 bv={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 Mi(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=eR(e)),typeof e=="object"&&(Vr(e.r)&&Vr(e.g)&&Vr(e.b)?(t=GO(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Vr(e.h)&&Vr(e.s)&&Vr(e.v)?(r=Rs(e.s),o=Rs(e.v),t=XO(e.h,r,o),a=!0,l="hsv"):Vr(e.h)&&Vr(e.s)&&Vr(e.l)&&(r=Rs(e.s),i=Rs(e.l),t=KO(e.h,r,i),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=OS(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 ZO="[-\\+]?\\d+%?",JO="[-\\+]?\\d*\\.\\d+%?",So="(?:".concat(JO,")|(?:").concat(ZO,")"),_d="[\\s|\\(]+(".concat(So,")[,|\\s]+(").concat(So,")[,|\\s]+(").concat(So,")\\s*\\)?"),zd="[\\s|\\(]+(".concat(So,")[,|\\s]+(").concat(So,")[,|\\s]+(").concat(So,")[,|\\s]+(").concat(So,")\\s*\\)?"),Sr={CSS_UNIT:new RegExp(So),rgb:new RegExp("rgb"+_d),rgba:new RegExp("rgba"+zd),hsl:new RegExp("hsl"+_d),hsla:new RegExp("hsla"+zd),hsv:new RegExp("hsv"+_d),hsva:new RegExp("hsva"+zd),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 eR(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(bv[e])e=bv[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Sr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Sr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Sr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Sr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Sr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Sr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Sr.hex8.exec(e),n?{r:Zn(n[1]),g:Zn(n[2]),b:Zn(n[3]),a:Sh(n[4]),format:t?"name":"hex8"}:(n=Sr.hex6.exec(e),n?{r:Zn(n[1]),g:Zn(n[2]),b:Zn(n[3]),format:t?"name":"hex"}:(n=Sr.hex4.exec(e),n?{r:Zn(n[1]+n[1]),g:Zn(n[2]+n[2]),b:Zn(n[3]+n[3]),a:Sh(n[4]+n[4]),format:t?"name":"hex8"}:(n=Sr.hex3.exec(e),n?{r:Zn(n[1]+n[1]),g:Zn(n[2]+n[2]),b:Zn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Vr(e){return!!Sr.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=QO(t)),this.originalInput=t;var o=Mi(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=OS(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=hv(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=hv(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=bh(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=bh(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),yv(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),qO(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(yn(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(yn(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="#"+yv(this.r,this.g,this.b,!1),n=0,r=Object.entries(bv);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=Os(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=Os(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=Os(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=Os(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)-Is*t:Math.round(e.h)+Is*t:r=n?Math.round(e.h)+Is*t:Math.round(e.h)-Is*t,r<0?r+=360:r>=360&&(r-=360),r}function $h(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-Ch*t:t===IS?r=e.s+Ch:r=e.s+tR*t,r>1&&(r=1),n&&t===RS&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function Eh(e,t,n){var r;return n?r=e.v+nR*t:r=e.v-rR*t,r>1&&(r=1),Number(r.toFixed(2))}function ro(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Mi(e),o=RS;o>0;o-=1){var i=wh(r),a=Ps(Mi({h:xh(i,o,!0),s:$h(i,o,!0),v:Eh(i,o,!0)}));n.push(a)}n.push(Ps(r));for(var l=1;l<=IS;l+=1){var c=wh(r),u=Ps(Mi({h:xh(c,l),s:$h(c,l),v:Eh(c,l)}));n.push(u)}return t.theme==="dark"?oR.map(function(d){var f=d.index,v=d.opacity,p=Ps(iR(Mi(t.backgroundColor||"#141414"),Mi(n[f]),v*100));return p}):n}var Ld={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"},sl={},jd={};Object.keys(Ld).forEach(function(e){sl[e]=ro(Ld[e]),sl[e].primary=sl[e][5],jd[e]=ro(Ld[e],{theme:"dark",backgroundColor:"#141414"}),jd[e].primary=jd[e][5]});var aR=sl.gold,lR=sl.blue;const PS=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function sR(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 ug={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"},ga=Object.assign(Object.assign({},ug),{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 MS(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),v=n(o),p=n(i),b=n(a),y=n(l),S=r(u,d),m=e.colorLink||e.colorInfo,g=n(m);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:v[1],colorSuccessBgHover:v[2],colorSuccessBorder:v[3],colorSuccessBorderHover:v[4],colorSuccessHover:v[4],colorSuccess:v[6],colorSuccessActive:v[7],colorSuccessTextHover:v[8],colorSuccessText:v[9],colorSuccessTextActive:v[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:y[1],colorInfoBgHover:y[2],colorInfoBorder:y[3],colorInfoBorderHover:y[4],colorInfoHover:y[4],colorInfo:y[6],colorInfoActive:y[7],colorInfoTextHover:y[8],colorInfoText:y[9],colorInfoTextActive:y[10],colorLinkHover:g[4],colorLink:g[6],colorLinkActive:g[7],colorBgMask:new jt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const cR=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 uR(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},cR(r))}const Wr=(e,t)=>new jt(e).setAlpha(t).toRgbString(),Aa=(e,t)=>new jt(e).darken(t).toHexString(),dR=e=>{const t=ro(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]}},fR=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Wr(r,.88),colorTextSecondary:Wr(r,.65),colorTextTertiary:Wr(r,.45),colorTextQuaternary:Wr(r,.25),colorFill:Wr(r,.15),colorFillSecondary:Wr(r,.06),colorFillTertiary:Wr(r,.04),colorFillQuaternary:Wr(r,.02),colorBgLayout:Aa(n,4),colorBgContainer:Aa(n,0),colorBgElevated:Aa(n,0),colorBgSpotlight:Wr(r,.85),colorBgBlur:"transparent",colorBorder:Aa(n,15),colorBorderSecondary:Aa(n,6)}};function ic(e){return(e+8)/e}function vR(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:ic(n)}))}const TS=e=>{const t=vR(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 Kl(e){const t=Object.keys(ug).map(n=>{const r=ro(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),MS(e,{generateColorPalettes:dR,generateNeutralColorPalettes:fR})),TS(e.fontSize)),sR(e)),PS(e)),uR(e))}const NS=Pl(Kl),Nl={token:ga,override:{override:ga},hashed:!0},_S=q.createContext(Nl),zS="anticon",mR=(e,t)=>t||(e?`ant-${e}`:"ant"),it=s.createContext({getPrefixCls:mR,iconPrefixCls:zS}),gR=`-ant-${Date.now()}-${Math.random()}`;function pR(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=ro(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=ro(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 hR(e,t){const n=pR(e,t);In()&&no(n,`${gR}-dynamic-theme`)}const Sv=s.createContext(!1),yR=e=>{let{children:t,disabled:n}=e;const r=s.useContext(Sv);return s.createElement(Sv.Provider,{value:n??r},t)},Mu=Sv,Cv=s.createContext(void 0),bR=e=>{let{children:t,size:n}=e;const r=s.useContext(Cv);return s.createElement(Cv.Provider,{value:n||r},t)},Tu=Cv;function SR(){const e=s.useContext(Mu),t=s.useContext(Tu);return{componentDisabled:e,componentSize:t}}const Hc=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],CR="5.15.3";function Ad(e){return e>=0&&e<=255}function Ms(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),v=Math.round((o-c*(1-u))/u);if(Ad(d)&&Ad(f)&&Ad(v))return new jt({r:d,g:f,b:v,a:Math.round(u*100)/100}).toRgbString()}return new jt({r:n,g:r,b:o,a:1}).toRgbString()}var wR=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[v]});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 v="0s";o.motionDurationFast=v,o.motionDurationMid=v,o.motionDurationSlow=v}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Ms(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:Ms(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Ms(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:Ms(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 Oh=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=Oh(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=dg(a),i&&Object.entries(i).forEach(l=>{let[c,u]=l;const{theme:d}=u,f=Oh(u,["theme"]);let v=f;d&&(v=AS(Object.assign(Object.assign({},a),f),{override:f},d)),a[c]=v}),a};function Pn(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=q.useContext(_S),i=`${CR}-${t||""}`,a=n||NS,[l,c,u]=tO(a,[ga,e],{salt:i,override:r,getComputedToken:AS,formatToken:dg,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:LS,ignore:jS,preserve:xR}});return[a,u,t?c:"",l,o]}function Bn(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}}),ii={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}},fg=()=>({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"}}),Xl=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),$R=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"}}}),ER=(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"}}}}},wv=e=>({outline:`${V(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),ql=e=>({"&:focus-visible":Object.assign({},wv(e))});function FS(e,t,n){return t=da(t),K1(e,Jm()?Reflect.construct(t,n||[],da(e).constructor):t.apply(e,n))}let OR=An(function e(){jn(this,e)});const BS=OR;let RR=function(e){mi(t,e);function t(n){var r;return jn(this,t),r=FS(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return An(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}(BS);const HS="CALC_UNIT";function Fd(e){return typeof e=="number"?`${e}${HS}`:e}let IR=function(e){mi(t,e);function t(n){var r;return jn(this,t),r=FS(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=Fd(n):typeof n=="string"&&(r.result=n),r}return An(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} + ${Fd(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} - ${Fd(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(`${HS}`,"g");return this.result=this.result.replace(i,o?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}(BS);const PR=e=>{const t=e==="css"?IR:RR;return n=>new t(n)};function MR(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 kS=typeof CSSINJS_STATISTIC<"u";let xv=!0;function Mt(){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]})})}),xv=!0,r}const Rh={};function TR(){}const NR=e=>{let t,n=e,r=TR;return kS&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(o,i){return xv&&t.add(i),o[i]}}),r=(o,i)=>{var a;Rh[o]={global:Array.from(t),component:Object.assign(Object.assign({},(a=Rh[o])===null||a===void 0?void 0:a.component),i)}}),{token:n,keys:t,flush:r}},VS=(e,t)=>{const[n,r]=Pn();return pv({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},fg()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},WS=(e,t,n)=>{var r;return typeof n=="function"?n(Mt(t,(r=t[e])!==null&&r!==void 0?r:{})):n??{}},US=(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},_R=(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 vg(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,v,p]=Pn(),{getPrefixCls:b,iconPrefixCls:y,csp:S}=s.useContext(it),m=b(),g=p?"css":"js",h=PR(g),{max:C,min:$}=MR(g),w={theme:u,token:v,hashId:f,nonce:()=>S==null?void 0:S.nonce,clientOnly:r.clientOnly,order:r.order||-999};return pv(Object.assign(Object.assign({},w),{clientOnly:!1,path:["Shared",m]}),()=>[{"&":$R(v)}]),VS(y,S),[pv(Object.assign(Object.assign({},w),{path:[a,l,y]}),()=>{if(r.injectStyle===!1)return[];const{token:R,flush:O}=NR(v),I=WS(i,d,n),M=`.${l}`,_=US(i,d,I,{deprecatedTokens:r.deprecatedTokens});p&&Object.keys(I).forEach(A=>{I[A]=`var(${iS(A,_R(i,p.prefix))})`});const P=Mt(R,{componentCls:M,prefixCls:l,iconCls:`.${y}`,antCls:`.${m}`,calc:h,max:C,min:$},p?I:_),z=t(P,{hashId:f,prefixCls:l,rootPrefixCls:m,iconPrefixCls:y});return O(i,_),[r.resetStyle===!1?null:ER(P,l,c),z]}),f]}}const GS=(e,t,n,r)=>{const o=vg(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return a=>{let{prefixCls:l,rootCls:c=l}=a;return o(l,c),null}},zR=(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[,v]=Pn();return PO({path:[e],prefix:f.prefix,key:f==null?void 0:f.key,unitless:Object.assign(Object.assign({},LS),a),ignore:jS,token:v,scope:d},()=>{const p=WS(e,v,t),b=US(e,v,p,{deprecatedTokens:n==null?void 0:n.deprecatedTokens});return Object.keys(p).forEach(y=>{b[r(y)]=b[y],delete b[y]}),b}),null};return u=>{const[,,,,d]=Pn();return[f=>i&&d?q.createElement(q.Fragment,null,q.createElement(l,{rootCls:u,cssVar:d,component:e}),f):f,d==null?void 0:d.key]}},ln=(e,t,n,r)=>{const o=vg(e,t,n,r),i=zR(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 LR(e,t){return Hc.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 jR=Object.assign({},Jc),{useId:Ih}=jR,AR=()=>"",DR=typeof Ih>"u"?AR:Ih;function FR(e,t,n){var r;xS();const o=e||{},i=o.inherit===!1||!t?Object.assign(Object.assign({},Nl),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:Nl.hashed,cssVar:t==null?void 0:t.cssVar}):t,a=DR();return Wl(()=>{var l,c;if(!e)return t;const u=Object.assign({},i.components);Object.keys(e.components||{}).forEach(v=>{u[v]=Object.assign(Object.assign({},u[v]),e.components[v])});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!Gl(u,f,!0)}))}var BR=["children"],KS=s.createContext({});function HR(e){var t=e.children,n=Ze(e,BR);return s.createElement(KS.Provider,{value:n},t)}var kR=function(e){mi(n,e);var t=Ul(n);function n(){return jn(this,n),t.apply(this,arguments)}return An(n,[{key:"render",value:function(){return this.props.children}}]),n}(s.Component),Ho="none",Ts="appear",Ns="enter",_s="leave",Ph="none",$r="prepare",Wi="start",Ui="active",mg="end",XS="prepared";function Mh(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 VR(e,t){var n={animationend:Mh("Animation","AnimationEnd"),transitionend:Mh("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var WR=VR(In(),typeof window<"u"?window:{}),qS={};if(In()){var UR=document.createElement("div");qS=UR.style}var zs={};function YS(e){if(zs[e])return zs[e];var t=WR[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=It(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 XR=[$r,Wi,Ui,mg],qR=[$r,XS],tC=!1,YR=!0;function nC(e){return e===Ui||e===mg}const QR=function(e,t,n){var r=ea(Ph),o=k(r,2),i=o[0],a=o[1],l=KR(),c=k(l,2),u=c[0],d=c[1];function f(){a($r,!0)}var v=t?qR:XR;return eC(function(){if(i!==Ph&&i!==mg){var p=v.indexOf(i),b=v[p+1],y=n(i);y===tC?a(b,!0):b&&u(function(S){function m(){S.isCanceled()||a(b,!0)}y===!0?m():Promise.resolve(y).then(m)})}},[e,i]),s.useEffect(function(){return function(){d()}},[]),[f,i]};function ZR(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,v=r.onAppearPrepare,p=r.onEnterPrepare,b=r.onLeavePrepare,y=r.onAppearStart,S=r.onEnterStart,m=r.onLeaveStart,g=r.onAppearActive,h=r.onEnterActive,C=r.onLeaveActive,$=r.onAppearEnd,w=r.onEnterEnd,x=r.onLeaveEnd,R=r.onVisibleChanged,O=ea(),I=k(O,2),M=I[0],_=I[1],P=ea(Ho),z=k(P,2),A=z[0],N=z[1],T=ea(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(Ho,!0),j(null,!0)}function ie(Z){var ue=U();if(!(Z&&!Z.deadline&&Z.target!==ue)){var ce=G.current,de;A===Ts&&ce?de=$==null?void 0:$(ue,Z):A===Ns&&ce?de=w==null?void 0:w(ue,Z):A===_s&&ce&&(de=x==null?void 0:x(ue,Z)),A!==Ho&&ce&&de!==!1&&K()}}var J=GR(ie),ee=k(J,1),ae=ee[0],Q=function(ue){var ce,de,fe;switch(ue){case Ts:return ce={},D(ce,$r,v),D(ce,Wi,y),D(ce,Ui,g),ce;case Ns:return de={},D(de,$r,p),D(de,Wi,S),D(de,Ui,h),de;case _s:return fe={},D(fe,$r,b),D(fe,Wi,m),D(fe,Ui,C),fe;default:return{}}},W=s.useMemo(function(){return Q(A)},[A]),le=QR(A,!e,function(Z){if(Z===$r){var ue=W[$r];return ue?ue(U()):tC}if(Y in W){var ce;j(((ce=W[Y])===null||ce===void 0?void 0:ce.call(W,U(),null))||null)}return Y===Ui&&(ae(U()),d>0&&(clearTimeout(H.current),H.current=setTimeout(function(){ie({deadline:!0})},d))),Y===XS&&K(),YR}),se=k(le,2),ne=se[0],Y=se[1],pe=nC(Y);G.current=pe,eC(function(){_(t);var Z=F.current;F.current=!0;var ue;!Z&&t&&l&&(ue=Ts),Z&&t&&i&&(ue=Ns),(Z&&!t&&u||!Z&&f&&!t&&u)&&(ue=_s);var ce=Q(ue);ue&&(e||ce[$r])?(N(ue),ne()):N(Ho)},[t]),s.useEffect(function(){(A===Ts&&!l||A===Ns&&!i||A===_s&&!u)&&N(Ho)},[l,i,u]),s.useEffect(function(){return function(){F.current=!1,clearTimeout(H.current)}},[]);var ve=s.useRef(!1);s.useEffect(function(){M&&(ve.current=!0),M!==void 0&&A===Ho&&((ve.current||M)&&(R==null||R(M)),ve.current=!0)},[M,A]);var re=L;return W[$r]&&Y===Wi&&(re=B({transition:"none"},re)),[A,Y,re,M??t]}function JR(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,v=o.motionName,p=o.leavedClassName,b=o.eventProps,y=s.useContext(KS),S=y.motion,m=n(o,S),g=s.useRef(),h=s.useRef();function C(){try{return g.current instanceof HTMLElement?g.current:il(h.current)}catch{return null}}var $=ZR(m,l,C,o),w=k($,4),x=w[0],R=w[1],O=w[2],I=w[3],M=s.useRef(I);I&&(M.current=!0);var _=s.useCallback(function(j){g.current=j,Zm(i,j)},[i]),P,z=B(B({},b),{},{visible:l});if(!f)P=null;else if(x===Ho)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===$r?N="prepare":nC(R)?N="active":R===Wi&&(N="start");var T=_h(v,"".concat(x,"-").concat(N));P=f(B(B({},z),{},{className:X(_h(v,x),(A={},D(A,T,T&&N),D(A,v,typeof v=="string"),A)),style:O}),_)}if(s.isValidElement(P)&&vi(P)){var E=P,L=E.ref;L||(P=s.cloneElement(P,{ref:_}))}return s.createElement(kR,{ref:h},P)});return r.displayName="CSSMotion",r}const Hr=JR(JS);var $v="add",Ev="keep",Ov="remove",Bd="removed";function eI(e){var t;return e&&tt(e)==="object"&&"key"in e?t=e:t={key:e},B(B({},t),{},{key:String(t.key)})}function Rv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(eI)}function tI(){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=Rv(e),a=Rv(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,v=d.status;return f!==u||v!==Ov}),n.forEach(function(d){d.key===u&&(d.status=Ev)})}),n}var nI=["component","children","onVisibleChanged","onAllRemoved"],rI=["status"],oI=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function iI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Hr,n=function(r){mi(i,r);var o=Ul(i);function i(){var a;jn(this,i);for(var l=arguments.length,c=new Array(l),u=0;unull;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);ot.endsWith("Color"))}const vI=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;t!==void 0&&(rC=t),r&&fI(r)&&hR(dI(),r)},mI=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:v,popupMatchSelectWidth:p,popupOverflow:b,legacyLocale:y,parentContext:S,iconPrefixCls:m,theme:g,componentDisabled:h,segmented:C,statistic:$,spin:w,calendar:x,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:ve,message:re,tag:Z,table:ue,card:ce,tabs:de,timeline:fe,timePicker:we,upload:De,notification:Ee,tree:Xe,colorPicker:Oe,datePicker:ye,rangePicker:$e,flex:Ce,wave:qe,dropdown:nt,warning:Je,tour:at}=e,Ye=s.useCallback((be,xe)=>{const{prefixCls:Ke}=e;if(xe)return xe;const rt=Ke||S.getPrefixCls("");return be?`${rt}-${be}`:rt},[S.getPrefixCls,e.prefixCls]),We=m||S.iconPrefixCls||zS,oe=n||S.csp;VS(We,oe);const Re=FR(g,S.theme,{prefixCls:Ye("")}),et={csp:oe,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:l||y,direction:u,space:d,virtual:f,popupMatchSelectWidth:p??v,popupOverflow:b,getPrefixCls:Ye,iconPrefixCls:We,theme:Re,segmented:C,statistic:$,spin:w,calendar:x,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:ve,message:re,tag:Z,table:ue,card:ce,tabs:de,timeline:fe,timePicker:we,upload:De,notification:Ee,tree:Xe,colorPicker:Oe,datePicker:ye,rangePicker:$e,flex:Ce,wave:qe,dropdown:nt,warning:Je,tour:at},dt=Object.assign({},S);Object.keys(et).forEach(be=>{et[be]!==void 0&&(dt[be]=et[be])}),cI.forEach(be=>{const xe=e[be];xe&&(dt[be]=xe)});const $t=Wl(()=>dt,dt,(be,xe)=>{const Ke=Object.keys(be),rt=Object.keys(xe);return Ke.length!==rt.length||Ke.some(ge=>be[ge]!==xe[ge])}),Et=s.useMemo(()=>({prefixCls:We,csp:oe}),[We,oe]);let Be=s.createElement(s.Fragment,null,s.createElement(lI,{dropdownMatchSelectWidth:v}),t);const Le=s.useMemo(()=>{var be,xe,Ke,rt;return Vi(((be=No.Form)===null||be===void 0?void 0:be.defaultValidateMessages)||{},((Ke=(xe=$t.locale)===null||xe===void 0?void 0:xe.Form)===null||Ke===void 0?void 0:Ke.defaultValidateMessages)||{},((rt=$t.form)===null||rt===void 0?void 0:rt.validateMessages)||{},(a==null?void 0:a.validateMessages)||{})},[$t,a==null?void 0:a.validateMessages]);Object.keys(Le).length>0&&(Be=s.createElement(LO.Provider,{value:Le},Be)),l&&(Be=s.createElement(VO,{locale:l,_ANT_MARK__:HO},Be)),(We||oe)&&(Be=s.createElement(lg.Provider,{value:Et},Be)),c&&(Be=s.createElement(bR,{size:c},Be)),Be=s.createElement(aI,null,Be);const ut=s.useMemo(()=>{const be=Re||{},{algorithm:xe,token:Ke,components:rt,cssVar:ge}=be,Se=sI(be,["algorithm","token","components","cssVar"]),Me=xe&&(!Array.isArray(xe)||xe.length>0)?Pl(xe):NS,Fe={};Object.entries(rt||{}).forEach(Ue=>{let[Ot,St]=Ue;const je=Object.assign({},St);"algorithm"in je&&(je.algorithm===!0?je.theme=Me:(Array.isArray(je.algorithm)||typeof je.algorithm=="function")&&(je.theme=Pl(je.algorithm)),delete je.algorithm),Fe[Ot]=je});const Ge=Object.assign(Object.assign({},ga),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(_S.Provider,{value:ut},Be)),$t.warning&&(Be=s.createElement(zO.Provider,{value:$t.warning},Be)),h!==void 0&&(Be=s.createElement(yR,{disabled:h},Be)),s.createElement(it.Provider,{value:$t},Be)},wa=e=>{const t=s.useContext(it),n=s.useContext(sg);return s.createElement(mI,Object.assign({parentContext:t,legacyLocale:n},e))};wa.ConfigContext=it;wa.SizeContext=Tu;wa.config=vI;wa.useConfig=SR;Object.defineProperty(wa,"SizeContext",{get:()=>Tu});const oC=wa;function iC(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function gI(e){return iC(e)instanceof ShadowRoot}function kc(e){return gI(e)?iC(e):null}function pI(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function hI(e,t){On(e,"[@ant-design/icons] ".concat(t))}function zh(e){return tt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(tt(e.icon)==="object"||typeof e.icon=="function")}function Lh(){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[pI(n)]=r}return t},{})}function Iv(e,t,n){return n?q.createElement(e.tag,B(B({key:t},Lh(e.attrs)),n),(e.children||[]).map(function(r,o){return Iv(r,"".concat(t,"-").concat(e.tag,"-").concat(o))})):q.createElement(e.tag,B({key:t},Lh(e.attrs)),(e.children||[]).map(function(r,o){return Iv(r,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function aC(e){return ro(e)[0]}function lC(e){return e?Array.isArray(e)?e:[e]:[]}var yI=` +.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); + } +} +`,bI=function(t){var n=s.useContext(lg),r=n.csp,o=n.prefixCls,i=yI;o&&(i=i.replace(/anticon/g,o)),s.useEffect(function(){var a=t.current,l=kc(a);no(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:l})},[])},SI=["icon","className","onClick","style","primaryColor","secondaryColor"],cl={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function CI(e){var t=e.primaryColor,n=e.secondaryColor;cl.primaryColor=t,cl.secondaryColor=n||aC(t),cl.calculated=!!n}function wI(){return B({},cl)}var Nu=function(t){var n=t.icon,r=t.className,o=t.onClick,i=t.style,a=t.primaryColor,l=t.secondaryColor,c=Ze(t,SI),u=s.useRef(),d=cl;if(a&&(d={primaryColor:a,secondaryColor:l||aC(a)}),bI(u),hI(zh(n),"icon should be icon definiton, but got ".concat(n)),!zh(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=B(B({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),Iv(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}))};Nu.displayName="IconReact";Nu.getTwoToneColors=wI;Nu.setTwoToneColors=CI;const gg=Nu;function sC(e){var t=lC(e),n=k(t,2),r=n[0],o=n[1];return gg.setTwoToneColors({primaryColor:r,secondaryColor:o})}function xI(){var e=gg.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var $I=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];sC(lR.primary);var _u=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,$I),d=s.useContext(lg),f=d.prefixCls,v=f===void 0?"anticon":f,p=d.rootClassName,b=X(p,v,D(D({},"".concat(v,"-").concat(r.name),!!r.name),"".concat(v,"-spin"),!!o||r.name==="loading"),n),y=a;y===void 0&&l&&(y=-1);var S=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,m=lC(c),g=k(m,2),h=g[0],C=g[1];return s.createElement("span",me({role:"img","aria-label":r.name},u,{ref:t,tabIndex:y,onClick:l,className:b}),s.createElement(gg,{icon:r,primaryColor:h,secondaryColor:C,style:S}))});_u.displayName="AntdIcon";_u.getTwoToneColor=xI;_u.setTwoToneColor=sC;const Gt=_u;var EI={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 OI=EI;var RI=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:OI}))},II=s.forwardRef(RI);const cC=II;var PI={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 MI=PI;var TI=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:MI}))},NI=s.forwardRef(TI);const pg=NI;var _I=`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`,zI=`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`,LI="".concat(_I," ").concat(zI).split(/[\s\n]+/),jI="aria-",AI="data-";function jh(e,t){return e.indexOf(t)===0}function ai(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"||jh(o,jI))||n.data&&jh(o,AI)||n.attr&&LI.includes(o))&&(r[o]=e[o])}),r}function uC(e){return e&&q.isValidElement(e)&&e.type===q.Fragment}const DI=(e,t,n)=>q.isValidElement(e)?q.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function li(e,t){return DI(e,e,t)}const Yl=e=>{const[,,,,t]=Pn();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}}},FI={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 BI=FI;var HI=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:BI}))},kI=s.forwardRef(HI);const dC=kI,VI=q.createContext(void 0),fC=VI,ko=100,WI=10,UI=ko*WI,vC={Modal:ko,Drawer:ko,Popover:ko,Popconfirm:ko,Tooltip:ko,Tour:ko},GI={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function KI(e){return e in vC}function zu(e,t){const[,n]=Pn(),r=q.useContext(fC),o=KI(e);if(t!==void 0)return[t,t];let i=r??0;return o?(i+=(r?0:n.zIndexPopupBase)+vC[e],i=Math.min(i,n.zIndexPopupBase+UI)):i+=GI[e],[r===void 0?t:i,i]}function _n(){_n=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 m?T:m,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 v="suspendedStart",p="suspendedYield",b="executing",y="completed",S={};function m(){}function g(){}function h(){}var C={};u(C,a,function(){return this});var $=Object.getPrototypeOf,w=$&&$($(A([])));w&&w!==n&&r.call(w,a)&&(C=w);var x=h.prototype=m.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=v;return function(j,F){if(L===b)throw Error("Generator is already running");if(L===y){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===v)throw L=y,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?y:p,G.arg===S)continue;return{value:G.arg,done:E.done}}G.type==="throw"&&(L=y,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 Ah(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 gi(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(c){Ah(i,r,o,a,l,"next",c)}function l(c){Ah(i,r,o,a,l,"throw",c)}a(void 0)})}}var Ql=B({},kE),XI=Ql.version,qI=Ql.render,YI=Ql.unmountComponentAtNode,Lu;try{var QI=Number((XI||"").split(".")[0]);QI>=18&&(Lu=Ql.createRoot)}catch{}function Dh(e){var t=Ql.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&tt(t)==="object"&&(t.usingClientEntryPoint=e)}var Vc="__rc_react_root__";function ZI(e,t){Dh(!0);var n=t[Vc]||Lu(t);Dh(!1),n.render(e),t[Vc]=n}function JI(e,t){qI(e,t)}function eP(e,t){if(Lu){ZI(e,t);return}JI(e,t)}function tP(e){return Pv.apply(this,arguments)}function Pv(){return Pv=gi(_n().mark(function e(t){return _n().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var o;(o=t[Vc])===null||o===void 0||o.unmount(),delete t[Vc]}));case 1:case"end":return r.stop()}},e)})),Pv.apply(this,arguments)}function nP(e){YI(e)}function rP(e){return Mv.apply(this,arguments)}function Mv(){return Mv=gi(_n().mark(function e(t){return _n().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(Lu===void 0){r.next=2;break}return r.abrupt("return",tP(t));case 2:nP(t);case 3:case"end":return r.stop()}},e)})),Mv.apply(this,arguments)}const si=(e,t,n)=>n!==void 0?n:`${e}-${t}`,hg=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},oP=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(",")}}}}},iP=vg("Wave",e=>[oP(e)]);function aP(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 Hd(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&aP(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function lP(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Hd(t)?t:Hd(n)?n:Hd(r)?r:null}const mC="ant-wave-target";function kd(e){return Number.isNaN(e)?0:e}const sP=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,v]=s.useState(0),[p,b]=s.useState(0),[y,S]=s.useState(0),[m,g]=s.useState(!1),h={left:u,top:f,width:p,height:y,borderRadius:l.map(w=>`${w}px`).join(" ")};i&&(h["--wave-color"]=i);function C(){const w=getComputedStyle(n);a(lP(n));const x=w.position==="static",{borderLeftWidth:R,borderTopWidth:O}=w;d(x?n.offsetLeft:kd(-parseFloat(R))),v(x?n.offsetTop:kd(-parseFloat(O))),b(n.offsetWidth),S(n.offsetHeight);const{borderTopLeftRadius:I,borderTopRightRadius:M,borderBottomLeftRadius:_,borderBottomRightRadius:P}=w;c([I,M,P,_].map(z=>kd(parseFloat(z))))}if(s.useEffect(()=>{if(n){const w=It(()=>{C(),g(!0)});let x;return typeof ResizeObserver<"u"&&(x=new ResizeObserver(C),x.observe(n)),()=>{It.cancel(w),x==null||x.disconnect()}}},[]),!m)return null;const $=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(mC));return s.createElement(Hr,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(w,x)=>{var R;if(x.deadline||x.propertyName==="opacity"){const O=(R=o.current)===null||R===void 0?void 0:R.parentElement;rP(O).then(()=>{O==null||O.remove()})}return!1}},w=>{let{className:x}=w;return s.createElement("div",{ref:o,className:X(t,{"wave-quick":$},x),style:h})})},cP=(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),eP(s.createElement(sP,Object.assign({},t,{target:e})),o)},uP=cP;function dP(e,t,n){const{wave:r}=s.useContext(it),[,o,i]=Pn(),a=Bn(u=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const f=d.querySelector(`.${mC}`)||d,{showEffect:v}=r||{};(v||uP)(f,{className:t,token:o,component:n,event:u,hashId:i})}),l=s.useRef();return u=>{It.cancel(l.current),l.current=It(()=>{a(u)})}}const fP=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=s.useContext(it),i=s.useRef(null),a=o("wave"),[,l]=iP(a),c=dP(i,X(a,l),r);if(q.useEffect(()=>{const d=i.current;if(!d||d.nodeType!==1||n)return;const f=v=>{!hg(v.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||c(v)};return d.addEventListener("click",f,!0),()=>{d.removeEventListener("click",f,!0)}},[n]),!q.isValidElement(t))return t??null;const u=vi(t)?ao(t.ref,i):i;return li(t,{ref:u})},vP=fP,jo=e=>{const t=q.useContext(Tu);return q.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},mP=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},gP=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"}}}},pP=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}}}},gC=ln("Space",e=>{const t=Mt(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[gP(t),pP(t),mP(t)]},()=>({}),{resetStyle:!1});var pC=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(ju),r=s.useMemo(()=>{if(!n)return"";const{compactDirection:o,isFirstItem:i,isLastItem:a}=n,l=o==="vertical"?"-vertical-":"-";return X(`${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}},hP=e=>{let{children:t}=e;return s.createElement(ju.Provider,{value:null},t)},yP=e=>{var{children:t}=e,n=pC(e,["children"]);return s.createElement(ju.Provider,{value:n},t)},bP=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=pC(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=jo(h=>r??h),v=t("space-compact",a),[p,b]=gC(v),y=X(v,b,{[`${v}-rtl`]:n==="rtl",[`${v}-block`]:i,[`${v}-vertical`]:o==="vertical"},l,c),S=s.useContext(ju),m=pr(u),g=s.useMemo(()=>m.map((h,C)=>{const $=h&&h.key||`${v}-item-${C}`;return s.createElement(yP,{key:$,compactSize:f,compactDirection:o,isFirstItem:C===0&&(!S||(S==null?void 0:S.isFirstItem)),isLastItem:C===m.length-1&&(!S||(S==null?void 0:S.isLastItem))},h)}),[r,m,S]);return m.length===0?null:p(s.createElement("div",Object.assign({className:y},d),g))},SP=bP;var CP=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=CP(e,["prefixCls","size","className"]),l=t("btn-group",r),[,,c]=Pn();let u="";switch(o){case"large":u="lg";break;case"small":u="sm";break}const d=X(l,{[`${l}-${u}`]:u,[`${l}-rtl`]:n==="rtl"},i,c);return s.createElement(yC.Provider,{value:o},s.createElement("div",Object.assign({},a,{className:d})))},xP=wP,Fh=/^[\u4e00-\u9fa5]{2}$/,Tv=Fh.test.bind(Fh);function Bh(e){return typeof e=="string"}function Vd(e){return e==="text"||e==="link"}function $P(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&Bh(e.type)&&Tv(e.props.children)?li(e,{children:e.props.children.split("").join(n)}):Bh(e)?Tv(e)?q.createElement("span",null,e.split("").join(n)):q.createElement("span",null,e):uC(e)?q.createElement("span",null,e):e}function EP(e,t){let n=!1;const r=[];return q.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}),q.Children.map(r,o=>$P(o,t))}const OP=s.forwardRef((e,t)=>{const{className:n,style:r,children:o,prefixCls:i}=e,a=X(`${i}-icon`,n);return q.createElement("span",{ref:t,className:a,style:r},o)}),bC=OP,Hh=s.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:o,iconClassName:i}=e;const a=X(`${n}-loading-icon`,r);return q.createElement(bC,{prefixCls:n,className:a,style:o,ref:t},q.createElement(dC,{className:i}))}),Wd=()=>({width:0,opacity:0,transform:"scale(0)"}),Ud=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),RP=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:i}=e,a=!!n;return r?q.createElement(Hh,{prefixCls:t,className:o,style:i}):q.createElement(Hr,{visible:a,motionName:`${t}-loading-icon-motion`,motionLeave:a,removeOnLeave:!0,onAppearStart:Wd,onAppearActive:Ud,onEnterStart:Wd,onEnterActive:Ud,onLeaveStart:Ud,onLeaveActive:Wd},(l,c)=>{let{className:u,style:d}=l;return q.createElement(Hh,{prefixCls:t,className:o,style:Object.assign(Object.assign({},i),d),ref:c,iconClassName:u})})},IP=RP,kh=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),PP=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}},kh(`${t}-primary`,o),kh(`${t}-danger`,i)]}},SC=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Mt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},CC=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:ic(l),f=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:ic(c),v=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:ic(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:v,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*v)/2-e.lineWidth,0)}},MP=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({},ql(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"}}}},oo=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),TP=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),NP=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),_P=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),_l=(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"},oo(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),yg=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},_P(e))}),wC=e=>Object.assign({},yg(e)),Wc=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),xC=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},wC(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),oo(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),_l(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},oo(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),_l(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),yg(e))}),zP=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},wC(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),oo(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),_l(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},oo(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),_l(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),yg(e))}),LP=e=>Object.assign(Object.assign({},xC(e)),{borderStyle:"dashed"}),jP=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},oo(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Wc(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},oo(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Wc(e))}),AP=e=>Object.assign(Object.assign(Object.assign({},oo(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),Wc(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Wc(e)),oo(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBg}))}),DP=e=>{const{componentCls:t}=e;return{[`${t}-default`]:xC(e),[`${t}-primary`]:zP(e),[`${t}-dashed`]:LP(e),[`${t}-link`]:jP(e),[`${t}-text`]:AP(e),[`${t}-ghost`]:_l(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},bg=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}`]:TP(e)},{[`${n}${n}-round${t}`]:NP(e)}]},FP=e=>{const t=Mt(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return bg(t,e.componentCls)},BP=e=>{const t=Mt(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 bg(t,`${e.componentCls}-sm`)},HP=e=>{const t=Mt(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return bg(t,`${e.componentCls}-lg`)},kP=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},VP=ln("Button",e=>{const t=SC(e);return[MP(t),FP(t),BP(t),HP(t),kP(t),DP(t),PP(t)]},CC,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function WP(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 UP(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 Sg(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({},WP(e,r,t)),UP(n,r,t))}}function GP(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 KP(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 XP(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},GP(e,t)),KP(e.componentCls,t))}}const qP=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:'""'}}}}}}},YP=GS(["Button","compact"],e=>{const t=SC(e);return[Sg(t),XP(t),qP(t)]},CC);var QP=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:v,rootClassName:p,children:b,icon:y,ghost:S=!1,block:m=!1,htmlType:g="button",classNames:h,style:C={}}=e,$=QP(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),w=a||"default",{getPrefixCls:x,autoInsertSpaceInButton:R,direction:O,button:I}=s.useContext(it),M=x("btn",i),[_,P,z]=VP(M),A=s.useContext(Mu),N=f??A,T=s.useContext(yC),E=s.useMemo(()=>ZP(o),[o]),[L,j]=s.useState(E.loading),[F,H]=s.useState(!1),G=ao(t,s.createRef()),K=s.Children.count(b)===1&&!y&&!Vd(w);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&&Tv(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}=hC(M,O),Q={large:"lg",small:"sm",middle:void 0},W=jo(de=>{var fe,we;return(we=(fe=u??ee)!==null&&fe!==void 0?fe:T)!==null&&we!==void 0?we:de}),le=W&&Q[W]||"",se=L?"loading":y,ne=Un($,["navigate"]),Y=X(M,P,z,{[`${M}-${c}`]:c!=="default"&&c,[`${M}-${w}`]:w,[`${M}-${le}`]:le,[`${M}-icon-only`]:!b&&b!==0&&!!se,[`${M}-background-ghost`]:S&&!Vd(w),[`${M}-loading`]:L,[`${M}-two-chinese-chars`]:F&&J&&!L,[`${M}-block`]:m,[`${M}-dangerous`]:!!l,[`${M}-rtl`]:O==="rtl"},ae,v,p,I==null?void 0:I.className),pe=Object.assign(Object.assign({},I==null?void 0:I.style),C),ve=X(h==null?void 0:h.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=y&&!L?q.createElement(bC,{prefixCls:M,className:ve,style:re},y):q.createElement(IP,{existIcon:!!y,prefixCls:M,loading:!!L}),ue=b||b===0?EP(b,K&&J):null;if(ne.href!==void 0)return _(q.createElement("a",Object.assign({},ne,{className:X(Y,{[`${M}-disabled`]:N}),href:N?void 0:ne.href,style:pe,onClick:ie,ref:G,tabIndex:N?-1:0}),Z,ue));let ce=q.createElement("button",Object.assign({},$,{type:g,className:Y,style:pe,onClick:ie,disabled:N,ref:G}),Z,ue,!!ae&&q.createElement(YP,{key:"compact",prefixCls:M}));return Vd(w)||(ce=q.createElement(vP,{component:"Button",disabled:!!L},ce)),_(ce)},Cg=s.forwardRef(JP);Cg.Group=xP;Cg.__ANT_BUTTON=!0;const eM=Cg;var $C=s.createContext(null),Vh=[];function tM(e,t){var n=s.useState(function(){if(!In())return null;var b=document.createElement("div");return b}),r=k(n,1),o=r[0],i=s.useRef(!1),a=s.useContext($C),l=s.useState(Vh),c=k(l,2),u=c[0],d=c[1],f=a||(i.current?void 0:function(b){d(function(y){var S=[b].concat(Te(y));return S})});function v(){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 Rt(function(){return e?a?a(v):v():p(),p},[e]),Rt(function(){u.length&&(u.forEach(function(b){return b()}),d(Vh))},[u]),[o,f]}function nM(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,";"):"";no(` +#`.concat(t,`::-webkit-scrollbar { +`).concat(d,` +`).concat(f,` +}`),t)}catch(b){console.error(b),o=c,i=u}}document.body.appendChild(n);var v=e&&o&&!isNaN(o)?o:n.offsetWidth-n.clientWidth,p=e&&i&&!isNaN(i)?i:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),fa(t),{width:v,height:p}}function rM(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:nM(e)}function oM(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var iM="rc-util-locker-".concat(Date.now()),Wh=0;function aM(e){var t=!!e,n=s.useState(function(){return Wh+=1,"".concat(iM,"_").concat(Wh)}),r=k(n,1),o=r[0];Rt(function(){if(t){var i=rM(document.body).width,a=oM();no(` +html body { + overflow-y: hidden; + `.concat(a?"width: calc(100% - ".concat(i,"px);"):"",` +}`),o)}else fa(o);return function(){fa(o)}},[t,o])}var Uh=!1;function lM(e){return typeof e=="boolean"&&(Uh=e),Uh}var Gh=function(t){return t===!1?!1:!In()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Au=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],v=d||n;s.useEffect(function(){(a||n)&&f(n)},[n,a]);var p=s.useState(function(){return Gh(o)}),b=k(p,2),y=b[0],S=b[1];s.useEffect(function(){var M=Gh(o);S(M??null)});var m=tM(v&&!y),g=k(m,2),h=g[0],C=g[1],$=y??h;aM(r&&n&&In()&&($===h||$===document.body));var w=null;if(l&&vi(l)&&t){var x=l;w=x.ref}var R=fi(w,t);if(!v||!In()||y===void 0)return null;var O=$===!1||lM(),I=l;return t&&(I=s.cloneElement(l,{ref:R})),s.createElement($C.Provider,{value:C},O?I:To.createPortal(I,$))}),EC=s.createContext({});function sM(){var e=B({},Jc);return e.useId}var Kh=0,Xh=sM();const OC=Xh?function(t){var n=Xh();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=Kh;Kh+=1,i("rc_unique_".concat(a))},[]),t||o};function qh(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function Yh(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 cM(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=Yh(o),n.top+=Yh(o,!0),n}const uM=s.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var Qh={width:0,height:0,overflow:"hidden",outline:"none"},dM={outline:"none"},fM=q.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,v=e.bodyStyle,p=e.bodyProps,b=e.modalRender,y=e.onMouseDown,S=e.onMouseUp,m=e.holderRef,g=e.visible,h=e.forceRender,C=e.width,$=e.height,w=e.classNames,x=e.styles,R=q.useContext(EC),O=R.panel,I=fi(m,O),M=s.useRef(),_=s.useRef(),P=s.useRef();q.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=q.createElement("div",{className:X("".concat(n,"-footer"),w==null?void 0:w.footer),style:B({},x==null?void 0:x.footer)},l));var N;i&&(N=q.createElement("div",{className:X("".concat(n,"-header"),w==null?void 0:w.header),style:B({},x==null?void 0:x.header)},q.createElement("div",{className:"".concat(n,"-title"),id:a},i)));var T=s.useMemo(function(){return tt(c)==="object"&&c!==null?c:c?{closeIcon:u??q.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[c,u]),E=ai(T,!0),L;c&&(L=q.createElement("button",me({type:"button",onClick:d,"aria-label":"Close"},E,{className:"".concat(n,"-close")}),T.closeIcon));var j=q.createElement("div",{className:X("".concat(n,"-content"),w==null?void 0:w.content),style:x==null?void 0:x.content},L,N,q.createElement("div",me({className:X("".concat(n,"-body"),w==null?void 0:w.body),style:B(B({},v),x==null?void 0:x.body)},p),f),A);return q.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?a:null,"aria-modal":"true",ref:I,style:B(B({},o),z),className:X(n,r),onMouseDown:y,onMouseUp:S},q.createElement("div",{tabIndex:0,ref:M,style:Qh,"aria-hidden":"true"}),q.createElement("div",{ref:P,tabIndex:-1,style:dM},q.createElement(uM,{shouldUpdate:g||h},b?b(j):j)),q.createElement("div",{tabIndex:0,ref:_,style:Qh,"aria-hidden":"true"}))}),RC=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,v=e.mousePosition,p=s.useRef(),b=s.useState(),y=k(b,2),S=y[0],m=y[1],g={};S&&(g.transformOrigin=S);function h(){var C=cM(p.current);m(v?"".concat(v.x-C.left,"px ").concat(v.y-C.top,"px"):"")}return s.createElement(Hr,{visible:a,onVisibleChanged:f,onAppearPrepare:h,onEnterPrepare:h,forceRender:l,motionName:u,removeOnLeave:c,ref:p},function(C,$){var w=C.className,x=C.style;return s.createElement(fM,me({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:$,style:B(B(B({},x),o),g),className:X(i,w)}))})});RC.displayName="Content";function vM(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName,a=e.className;return s.createElement(Hr,{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",me({ref:c,style:B(B({},d),n),className:X("".concat(t,"-mask"),u,a)},o))})}function mM(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,v=e.wrapProps,p=e.onClose,b=e.afterOpenChange,y=e.afterClose,S=e.transitionName,m=e.animation,g=e.closable,h=g===void 0?!0:g,C=e.mask,$=C===void 0?!0:C,w=e.maskTransitionName,x=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=OC();function U(){lv(N.current,document.activeElement)||(A.current=document.activeElement)}function G(){if(!lv(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&&(y==null||y())}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",me({className:X("".concat(n,"-root"),_)},ai(e,{data:!0})),s.createElement(vM,{prefixCls:n,visible:$&&i,motionName:qh(n,w,x),style:B(B({zIndex:r},I),z==null?void 0:z.mask),maskProps:M,className:P==null?void 0:P.mask}),s.createElement("div",me({tabIndex:-1,onKeyDown:le,className:X("".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"})},v),s.createElement(RC,me({},e,{onMouseDown:ae,onMouseUp:Q,ref:T,closable:h,ariaId:H,prefixCls:n,visible:i&&j,onClose:ie,onVisibleChanged:K,motionName:qh(n,S,m)}))))}var IC=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],v=d[1],p=s.useMemo(function(){return{panel:c}},[c]);return s.useEffect(function(){n&&v(!0)},[n]),!o&&a&&!f?null:s.createElement(EC.Provider,{value:p},s.createElement(Au,{open:n||o||f,autoDestroy:!1,getContainer:r,autoLock:n||f},s.createElement(mM,me({},t,{destroyOnClose:a,afterClose:function(){l==null||l(),v(!1)}}))))};IC.displayName="Dialog";var PC=function(t){if(In()&&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},gM=function(t,n){if(!PC(t))return!1;var r=document.createElement("div"),o=r.style[t];return r.style[t]=n,r.style[t]!==o};function Zh(e,t){return!Array.isArray(e)&&t!==void 0?gM(e,t):PC(e)}var Xo="RC_FORM_INTERNAL_HOOKS",_t=function(){On(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},pa=s.createContext({getFieldValue:_t,getFieldsValue:_t,getFieldError:_t,getFieldWarning:_t,getFieldsError:_t,isFieldsTouched:_t,isFieldTouched:_t,isFieldValidating:_t,isFieldsValidating:_t,resetFields:_t,setFields:_t,setFieldValue:_t,setFieldsValue:_t,validateFields:_t,submit:_t,getInternalHooks:function(){return _t(),{dispatch:_t,initEntityValue:_t,registerField:_t,useSubscribe:_t,setInitialValues:_t,destroyForm:_t,setCallbacks:_t,registerWatch:_t,getFields:_t,setValidateMessages:_t,setPreserve:_t,getInitialValue:_t}}}),Uc=s.createContext(null);function Nv(e){return e==null?[]:Array.isArray(e)?e:[e]}function pM(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 ac(e,t,n){return yM()?ac=Reflect.construct.bind():ac=function(o,i,a){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(o,l),u=new c;return a&&zl(u,a.prototype),u},ac.apply(null,arguments)}function bM(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function zv(e){var t=typeof Map=="function"?new Map:void 0;return zv=function(r){if(r===null||!bM(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 ac(r,arguments,_v(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),zl(o,r)},zv(e)}var SM=/%[sdj%]/g,CM=function(){};function Lv(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 tr(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 wM(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function an(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||wM(t)&&typeof e=="string"&&!e)}function xM(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 Jh(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},Xa={integer:function(t){return Xa.number(t)&&parseInt(t,10)===t},float:function(t){return Xa.number(t)&&!Xa.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"&&!Xa.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(r0.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(PM())},hex:function(t){return typeof t=="string"&&!!t.match(r0.hex)}},MM=function(t,n,r,o,i){if(t.required&&n===void 0){MC(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?Xa[l](n)||o.push(tr(i.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&o.push(tr(i.messages.types[l],t.fullField,t.type))},TM=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,v=typeof n=="number",p=typeof n=="string",b=Array.isArray(n);if(v?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(tr(i.messages[f].len,t.fullField,t.len)):l&&!c&&dt.max?o.push(tr(i.messages[f].max,t.fullField,t.max)):l&&c&&(dt.max)&&o.push(tr(i.messages[f].range,t.fullField,t.min,t.max))},bi="enum",NM=function(t,n,r,o,i){t[bi]=Array.isArray(t[bi])?t[bi]:[],t[bi].indexOf(n)===-1&&o.push(tr(i.messages[bi],t.fullField,t[bi].join(", ")))},_M=function(t,n,r,o,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(tr(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(tr(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},ft={required:MC,whitespace:IM,type:MM,range:TM,enum:NM,pattern:_M},zM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(an(n,"string")&&!t.required)return r();ft.required(t,n,o,a,i,"string"),an(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)},LM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(an(n)&&!t.required)return r();ft.required(t,n,o,a,i),n!==void 0&&ft.type(t,n,o,a,i)}r(a)},jM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),an(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)},AM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(an(n)&&!t.required)return r();ft.required(t,n,o,a,i),n!==void 0&&ft.type(t,n,o,a,i)}r(a)},DM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(an(n)&&!t.required)return r();ft.required(t,n,o,a,i),an(n)||ft.type(t,n,o,a,i)}r(a)},FM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(an(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)},BM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(an(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)},HM=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)},kM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(an(n)&&!t.required)return r();ft.required(t,n,o,a,i),n!==void 0&&ft.type(t,n,o,a,i)}r(a)},VM="enum",WM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(an(n)&&!t.required)return r();ft.required(t,n,o,a,i),n!==void 0&&ft[VM](t,n,o,a,i)}r(a)},UM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(an(n,"string")&&!t.required)return r();ft.required(t,n,o,a,i),an(n,"string")||ft.pattern(t,n,o,a,i)}r(a)},GM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(an(n,"date")&&!t.required)return r();if(ft.required(t,n,o,a,i),!an(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)},KM=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)},Gd=function(t,n,r,o,i){var a=t.type,l=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(an(n,a)&&!t.required)return r();ft.required(t,n,o,l,i,a),an(n,a)||ft.type(t,n,o,l,i)}r(l)},XM=function(t,n,r,o,i){var a=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(an(n)&&!t.required)return r();ft.required(t,n,o,a,i)}r(a)},ul={string:zM,method:LM,number:jM,boolean:AM,regexp:DM,integer:FM,float:BM,array:HM,object:kM,enum:WM,pattern:UM,date:GM,url:Gd,hex:Gd,email:Gd,required:KM,any:XM};function jv(){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 Av=jv(),Zl=function(){function e(n){this.rules=null,this._messages=Av,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=n0(jv(),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(y){var S=[],m={};function g(C){if(Array.isArray(C)){var $;S=($=S).concat.apply($,C)}else S.push(C)}for(var h=0;h2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return NC(t,r,n)})}function NC(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 JM(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 eT(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 l0(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 tT=["name"],ar=[];function s0(e,t,n,r,o,i){return typeof e=="function"?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var wg=function(e){mi(n,e);var t=Ul(n);function n(r){var o;if(jn(this,n),o=t.call(this,r),D(ht(o),"state",{resetCount:0}),D(ht(o),"cancelRegisterFunc",null),D(ht(o),"mounted",!1),D(ht(o),"touched",!1),D(ht(o),"dirty",!1),D(ht(o),"validatePromise",void 0),D(ht(o),"prevValidating",void 0),D(ht(o),"errors",ar),D(ht(o),"warnings",ar),D(ht(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(ht(o),"getNamePath",function(){var c=o.props,u=c.name,d=c.fieldContext,f=d.prefixName,v=f===void 0?[]:f;return u!==void 0?[].concat(Te(v),Te(u)):[]}),D(ht(o),"getRules",function(){var c=o.props,u=c.rules,d=u===void 0?[]:u,f=c.fieldContext;return d.map(function(v){return typeof v=="function"?v(f):v})}),D(ht(o),"refresh",function(){o.mounted&&o.setState(function(c){var u=c.resetCount;return{resetCount:u+1}})}),D(ht(o),"metaCache",null),D(ht(o),"triggerMetaEvent",function(c){var u=o.props.onMetaChange;if(u){var d=B(B({},o.getMeta()),{},{destroy:c});Gl(o.metaCache,d)||u(d),o.metaCache=d}else o.metaCache=null}),D(ht(o),"onStoreChange",function(c,u,d){var f=o.props,v=f.shouldUpdate,p=f.dependencies,b=p===void 0?[]:p,y=f.onReset,S=d.store,m=o.getNamePath(),g=o.getValue(c),h=o.getValue(S),C=u&&ta(u,m);switch(d.type==="valueUpdate"&&d.source==="external"&&g!==h&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=ar,o.warnings=ar,o.triggerMetaEvent()),d.type){case"reset":if(!u||C){o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=ar,o.warnings=ar,o.triggerMetaEvent(),y==null||y(),o.refresh();return}break;case"remove":{if(v){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||ar),"warnings"in $&&(o.warnings=$.warnings||ar),o.dirty=!0,o.triggerMetaEvent(),o.reRender();return}else if("value"in $&&ta(u,m,!0)){o.reRender();return}if(v&&!m.length&&s0(v,c,S,g,h,d)){o.reRender();return}break}case"dependenciesUpdate":{var w=b.map(Qt);if(w.some(function(x){return ta(d.relatedFields,x)})){o.reRender();return}break}default:if(C||(!b.length||m.length||v)&&s0(v,c,S,g,h,d)){o.reRender();return}break}v===!0&&o.reRender()}),D(ht(o),"validateRules",function(c){var u=o.getNamePath(),d=o.getValue(),f=c||{},v=f.triggerName,p=f.validateOnly,b=p===void 0?!1:p,y=Promise.resolve().then(gi(_n().mark(function S(){var m,g,h,C,$,w,x;return _n().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(m=o.props,g=m.validateFirst,h=g===void 0?!1:g,C=m.messageVariables,$=m.validateDebounce,w=o.getRules(),v&&(w=w.filter(function(I){return I}).filter(function(I){var M=I.validateTrigger;if(!M)return!0;var _=Nv(M);return _.includes(v)})),!($&&v)){O.next=10;break}return O.next=8,new Promise(function(I){setTimeout(I,$)});case 8:if(o.validatePromise===y){O.next=10;break}return O.abrupt("return",[]);case 10:return x=YM(u,d,w,c,h,C),x.catch(function(I){return I}).then(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ar;if(o.validatePromise===y){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?ar:N;A?P.push.apply(P,Te(T)):_.push.apply(_,Te(T))}),o.errors=_,o.warnings=P,o.triggerMetaEvent(),o.reRender()}}),O.abrupt("return",x);case 13:case"end":return O.stop()}},S)})));return b||(o.validatePromise=y,o.dirty=!0,o.errors=ar,o.warnings=ar,o.triggerMetaEvent(),o.reRender()),y}),D(ht(o),"isFieldValidating",function(){return!!o.validatePromise}),D(ht(o),"isFieldTouched",function(){return o.touched}),D(ht(o),"isFieldDirty",function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var c=o.props.fieldContext,u=c.getInternalHooks(Xo),d=u.getInitialValue;return d(o.getNamePath())!==void 0}),D(ht(o),"getErrors",function(){return o.errors}),D(ht(o),"getWarnings",function(){return o.warnings}),D(ht(o),"isListField",function(){return o.props.isListField}),D(ht(o),"isList",function(){return o.props.isList}),D(ht(o),"isPreserve",function(){return o.props.preserve}),D(ht(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(ht(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=pr(c);return d.length!==1||!s.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),D(ht(o),"getValue",function(c){var u=o.props.fieldContext.getFieldsValue,d=o.getNamePath();return Ar(c||u(!0),d)}),D(ht(o),"getControlled",function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.props,d=u.trigger,f=u.validateTrigger,v=u.getValueFromEvent,p=u.normalize,b=u.valuePropName,y=u.getValueProps,S=u.fieldContext,m=f!==void 0?f:S.validateTrigger,g=o.getNamePath(),h=S.getInternalHooks,C=S.getFieldsValue,$=h(Xo),w=$.dispatch,x=o.getValue(),R=y||function(P){return D({},b,P)},O=c[d],I=R(x),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))),h([].concat(Te(M.slice(0,I)),[O],Te(M.slice(I))))):(d.keys=[].concat(Te(d.keys),[d.id]),h([].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)}),h(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=l0(d.keys,O,I),h(l0(M,O,I)))}}},x=g||[];return Array.isArray(x)||(x=[]),r(x.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}}),w,S)})))}function rT(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 zC="__@field_split__";function Kd(e){return e.map(function(t){return"".concat(tt(t),":").concat(t)}).join(zC)}var Si=function(){function e(){jn(this,e),D(this,"kvs",new Map)}return An(e,[{key:"set",value:function(n,r){this.kvs.set(Kd(n),r)}},{key:"get",value:function(n){return this.kvs.get(Kd(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(Kd(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(zC);return n({key:l.map(function(c){var u=c.match(/^([^:]*):(.*)$/),d=k(u,3),f=d[1],v=d[2];return f==="number"?Number(v):v}),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}(),oT=["name"],iT=An(function e(t){var n=this;jn(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===Xo?(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}):(On(!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=Vi(r,n.store);(i=n.prevWithoutPreserves)===null||i===void 0||i.map(function(l){var c=l.key;a=xr(a,c,Ar(r,c))}),n.prevWithoutPreserves=null,n.updateStore(a)}}),D(this,"destroyForm",function(){var r=new Si;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=Ar(n.initialValues,r);return r.length?Vi(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 Si;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,v,p="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(l){var b,y;if((b=(y=d).isList)!==null&&b!==void 0&&b.call(y))return}else if(!i&&(f=(v=d).isListField)!==null&&f!==void 0&&f.call(v))return;if(!a)u.push(p);else{var S="getMeta"in d?d.getMeta():null;a(S)&&u.push(p)}}),a0(n.store,u.map(Qt))}),D(this,"getFieldValue",function(r){n.warningUnhooked();var o=Qt(r);return Ar(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 Si,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 v=d.getNamePath(),p=n.getInitialValue(v);if(p!==void 0)On(!1,"Form already set 'initialValues' with path '".concat(v.join("."),"'. Field can not overwrite it."));else{var b=o.get(v);if(b&&b.size>1)On(!1,"Multiple Field with path '".concat(v.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(b){var y=n.getFieldValue(v),S=d.isListField();!S&&(!r.skipExist||y===void 0)&&n.updateStore(xr(n.store,v,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(Vi(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(xr(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,oT),u=Qt(l);i.push(u),"value"in c&&n.updateStore(xr(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=Ar(n.store,i);a===void 0&&n.updateStore(xr(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!NC(f.getNamePath(),o)})){var d=n.store;n.updateStore(xr(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(xr(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=a0(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=Vi(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 Si;n.getFieldEntities().forEach(function(c){var u=c.props.dependencies;(u||[]).forEach(function(d){var f=Qt(d);a.update(f,function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return v.add(c),v})})});var l=function c(u){var d=a.get(u)||new Set;d.forEach(function(f){if(!o.has(f)){o.add(f);var v=f.getNamePath();f.isFieldDirty()&&v.length&&(i.push(v),c(v))}})};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 Si;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 ta(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,v=a||{},p=v.recursive,b=v.dirty;n.getFieldEntities(!0).forEach(function(g){if(l||c.push(g.getNamePath()),!(!g.props.rules||!g.props.rules.length)&&!(b&&!g.isFieldDirty())){var h=g.getNamePath();if(f.add(h.join(d)),!l||ta(c,h,p)){var C=g.validateRules(B({validateMessages:B(B({},TC),n.validateMessages)},a));u.push(C.then(function(){return{name:h,errors:[],warnings:[]}}).catch(function($){var w,x=[],R=[];return(w=$.forEach)===null||w===void 0||w.call($,function(O){var I=O.rule.warningOnly,M=O.errors;I?R.push.apply(R,Te(M)):x.push.apply(x,Te(M))}),x.length?Promise.reject({name:h,errors:x,warnings:R}):{name:h,errors:x,warnings:R}}))}}});var y=rT(u);n.lastValidatePromise=y,y.catch(function(g){return g}).then(function(g){var h=g.map(function(C){var $=C.name;return $});n.notifyObservers(n.store,h,{type:"validateFinish"}),n.triggerOnFieldsChange(h,g)});var S=y.then(function(){return n.lastValidatePromise===y?Promise.resolve(n.getFieldsValue(c)):Promise.reject([])}).catch(function(g){var h=g.filter(function(C){return C&&C.errors.length});return Promise.reject({values:n.getFieldsValue(c),errorFields:h,outOfDate:n.lastValidatePromise!==y})});S.catch(function(g){return g});var m=c.filter(function(g){return f.has(g.join(d))});return n.triggerOnFieldsChange(m),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 LC(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 iT(i);t.current=a.getForm()}return[t.current]}var kv=s.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),aT=function(t){var n=t.validateMessages,r=t.onFormChange,o=t.onFormFinish,i=t.children,a=s.useContext(kv),l=s.useRef({});return s.createElement(kv.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)},lT=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],sT=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,v=t.validateTrigger,p=v===void 0?"onChange":v,b=t.onValuesChange,y=t.onFieldsChange,S=t.onFinish,m=t.onFinishFailed,g=Ze(t,lT),h=s.useContext(kv),C=LC(a),$=k(C,1),w=$[0],x=w.getInternalHooks(Xo),R=x.useSubscribe,O=x.setInitialValues,I=x.setCallbacks,M=x.setValidateMessages,_=x.setPreserve,P=x.destroyForm;s.useImperativeHandle(n,function(){return w}),s.useEffect(function(){return h.registerForm(r,w),function(){h.unregisterForm(r)}},[h,w,r]),M(B(B({},h.validateMessages),f)),I({onValuesChange:b,onFieldsChange:function(H){if(h.triggerFormChange(r,H),y){for(var U=arguments.length,G=new Array(U>1?U-1:0),K=1;K({animationDuration:e,animationFillMode:"both"}),vT=e=>({animationDuration:e,animationFillMode:"both"}),Du=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({},fT(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},vT(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"}}},mT=new bt("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),gT=new bt("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),AC=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[Du(r,mT,gT,e.motionDurationMid,t),{[` + ${o}${r}-enter, + ${o}${r}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},pT=new bt("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),hT=new bt("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),yT=new bt("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),bT=new bt("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ST=new bt("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),CT=new bt("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),wT=new bt("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),xT=new bt("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),$T={"move-up":{inKeyframes:wT,outKeyframes:xT},"move-down":{inKeyframes:pT,outKeyframes:hT},"move-left":{inKeyframes:yT,outKeyframes:bT},"move-right":{inKeyframes:ST,outKeyframes:CT}},u0=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=$T[t];return[Du(r,o,i,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},DC=new bt("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),FC=new bt("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),BC=new bt("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),HC=new bt("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),ET=new bt("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),OT=new bt("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),RT=new bt("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),IT=new bt("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),PT={"slide-up":{inKeyframes:DC,outKeyframes:FC},"slide-down":{inKeyframes:BC,outKeyframes:HC},"slide-left":{inKeyframes:ET,outKeyframes:OT},"slide-right":{inKeyframes:RT,outKeyframes:IT}},Gc=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=PT[t];return[Du(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}}]},MT=new bt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),TT=new bt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),d0=new bt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),f0=new bt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),NT=new bt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),_T=new bt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),zT=new bt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),LT=new bt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),jT=new bt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),AT=new bt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),DT=new bt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),FT=new bt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),BT={zoom:{inKeyframes:MT,outKeyframes:TT},"zoom-big":{inKeyframes:d0,outKeyframes:f0},"zoom-big-fast":{inKeyframes:d0,outKeyframes:f0},"zoom-left":{inKeyframes:zT,outKeyframes:LT},"zoom-right":{inKeyframes:jT,outKeyframes:AT},"zoom-up":{inKeyframes:NT,outKeyframes:_T},"zoom-down":{inKeyframes:DT,outKeyframes:FT}},xg=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=BT[t];return[Du(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 v0(e){return{position:e,inset:0}}const kC=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({},v0("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},v0("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:AC(e)}]},HT=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({},Gn(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}},ql(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"}}}]},kT=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},VT=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Mt(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()})},WT=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});ln("Modal",e=>{const t=VT(e);return[HT(t),kT(t),kC(t),xg(t,"zoom")]},WT,{unitless:{titleLineHeight:!0}});function UT(e){return t=>s.createElement(oC,{theme:{token:{motion:!1,zIndexPopupBase:0}}},s.createElement(e,Object.assign({},t)))}const GT=(e,t,n,r)=>UT(i=>{const{prefixCls:a,style:l}=i,c=s.useRef(null),[u,d]=s.useState(0),[f,v]=s.useState(0),[p,b]=on(!1,{value:i.open}),{getPrefixCls:y}=s.useContext(it),S=y(t||"select",a);s.useEffect(()=>{if(b(!0),typeof ResizeObserver<"u"){const h=new ResizeObserver($=>{const w=$[0].target;d(w.offsetHeight+8),v(w.offsetWidth)}),C=setInterval(()=>{var $;const w=n?`.${n(S)}`:`.${S}-dropdown`,x=($=c.current)===null||$===void 0?void 0:$.querySelector(w);x&&(clearInterval(C),h.observe(x))},10);return()=>{clearInterval(C),h.disconnect()}}},[]);let m=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},l),{margin:0}),open:p,visible:p,getPopupContainer:()=>c.current});r&&(m=r(m));const g={paddingBottom:u,position:"relative",minWidth:f};return s.createElement("div",{ref:c,style:g},s.createElement(e,Object.assign({},m)))}),$g=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 Fu=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:X(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},i))},KT=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=q.useMemo(function(){if(tt(o)==="object")return o.clearIcon;if(i)return i},[o,i]),d=q.useMemo(function(){return!!(!a&&o&&(r.length||l)&&!(c==="combobox"&&l===""))},[o,a,r.length,l,c]);return{allowClear:d,clearIcon:q.createElement(Fu,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},VC=s.createContext(null);function XT(){return s.useContext(VC)}function qT(){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 WC(){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 YT(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 QT(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 ZT=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Ci=void 0;function JT(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,v=e.children,p=e.display,b=e.order,y=e.component,S=y===void 0?"div":y,m=Ze(e,ZT),g=a&&!p;function h(R){c(u,R)}s.useEffect(function(){return function(){h(null)}},[]);var C=i&&o!==Ci?i(o):v,$;r||($={opacity:g?0:1,height:g?0:Ci,overflowY:g?"hidden":Ci,order:a?b:Ci,pointerEvents:g?"none":Ci,position:g?"absolute":Ci});var w={};g&&(w["aria-hidden"]=!0);var x=s.createElement(S,me({className:X(!r&&n,d),style:B(B({},$),f)},w,m,{ref:t}),C);return a&&(x=s.createElement(vr,{onResize:function(O){var I=O.offsetWidth;h(I)},disabled:l},x)),x}var dl=s.forwardRef(JT);dl.displayName="Item";function eN(e){if(typeof MessageChannel>"u")It(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function tN(){var e=s.useRef(null),t=function(r){e.current||(e.current=[],eN(function(){To.unstable_batchedUpdates(function(){e.current.forEach(function(o){o()}),e.current=null})})),e.current.push(r)};return t}function Da(e,t){var n=s.useState(t),r=k(n,2),o=r[0],i=r[1],a=Bn(function(l){e(function(){i(l)})});return[o,a]}var Kc=q.createContext(null),nN=["component"],rN=["className"],oN=["className"],iN=function(t,n){var r=s.useContext(Kc);if(!r){var o=t.component,i=o===void 0?"div":o,a=Ze(t,nN);return s.createElement(i,me({},a,{ref:n}))}var l=r.className,c=Ze(r,rN),u=t.className,d=Ze(t,oN);return s.createElement(Kc.Provider,{value:null},s.createElement(dl,me({ref:n,className:X(l,u)},c,d)))},UC=s.forwardRef(iN);UC.displayName="RawItem";var aN=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],GC="responsive",KC="invalidate";function lN(e){return"+ ".concat(e.length," ...")}function sN(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,v=e.style,p=e.className,b=e.maxCount,y=e.renderRest,S=e.renderRawRest,m=e.suffix,g=e.component,h=g===void 0?"div":g,C=e.itemComponent,$=e.onVisibleChange,w=Ze(e,aN),x=f==="full",R=tN(),O=Da(R,null),I=k(O,2),M=I[0],_=I[1],P=M||0,z=Da(R,new Map),A=k(z,2),N=A[0],T=A[1],E=Da(R,0),L=k(E,2),j=L[0],F=L[1],H=Da(R,0),U=k(H,2),G=U[0],K=U[1],ie=Da(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],ve=Y[1],re=s.useMemo(function(){return pe===null&&x?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"),we=Math.max(j,G),De=b===GC,Ee=i.length&&De,Xe=b===KC,Oe=Ee||typeof b=="number"&&i.length>b,ye=s.useMemo(function(){var be=i;return Ee?M===null&&x?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,xe){var Ke;return typeof c=="function"?c(be):(Ke=c&&(be==null?void 0:be[c]))!==null&&Ke!==void 0?Ke:xe},[c]),qe=s.useCallback(a||function(be){return be},[a]);function nt(be,xe,Ke){pe===be&&(xe===void 0||xe===le)||(ve(be),Ke||(de(beP){nt(rt-1,be-ge-ee+G);break}}m&&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:Xe},$t=l?function(be,xe){var Ke=Ce(be,xe);return s.createElement(Kc.Provider,{key:Ke,value:B(B({},dt),{},{order:xe,item:be,itemKey:Ke,registerSize:at,display:xe<=re})},l(be,xe))}:function(be,xe){var Ke=Ce(be,xe);return s.createElement(dl,me({},dt,{order:xe,key:Ke,item:be,renderItem:qe,itemKey:Ke,registerSize:at,display:xe<=re}))},Et,Be={order:Re?re:Number.MAX_SAFE_INTEGER,className:"".concat(fe,"-rest"),registerSize:Ye,display:Re};if(S)S&&(Et=s.createElement(Kc.Provider,{value:B(B({},dt),Be)},S($e)));else{var Le=y||lN;Et=s.createElement(dl,me({},dt,Be),typeof Le=="function"?Le($e):Le)}var ut=s.createElement(h,me({className:X(!Xe&&r,p),style:v,ref:t},w),ye.map($t),Oe?Et:null,m&&s.createElement(dl,me({},dt,{responsive:De,responsiveDisabled:!Ee,order:re,className:"".concat(fe,"-suffix"),registerSize:We,display:!0,style:et}),m));return De&&(ut=s.createElement(vr,{onResize:Je,disabled:!Ee},ut)),ut}var Br=s.forwardRef(sN);Br.displayName="Overflow";Br.Item=UC;Br.RESPONSIVE=GC;Br.INVALIDATE=KC;var cN=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,v=t.activeDescendantId,p=t.value,b=t.maxLength,y=t.onKeyDown,S=t.onMouseDown,m=t.onChange,g=t.onPaste,h=t.onCompositionStart,C=t.onCompositionEnd,$=t.open,w=t.attrs,x=a||s.createElement("input",null),R=x,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 x.props,x=s.cloneElement(x,B(B(B({type:"search"},I),{},{id:i,ref:ao(n,O),disabled:l,tabIndex:c,autoComplete:d||"off",autoFocus:u,className:X("".concat(o,"-selection-search-input"),(r=x)===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":$?v:void 0},w),{},{value:f?p:"",maxLength:b,readOnly:!f,unselectable:f?null:"on",style:B(B({},N),{},{opacity:f?null:0}),onKeyDown:function(E){y(E),M&&M(E)},onMouseDown:function(E){S(E),P&&P(E)},onChange:function(E){m(E),_&&_(E)},onCompositionStart:function(E){h(E),z&&z(E)},onCompositionEnd:function(E){C(E),A&&A(E)},onPaste:g})),x},XC=s.forwardRef(cN);function qC(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var uN=typeof window<"u"&&window.document&&window.document.documentElement,dN=uN;function fN(e){return e!=null}function vN(e){return!e&&e!==0}function m0(e){return["string","number"].includes(tt(e))}function YC(e){var t=void 0;return e&&(m0(e.title)?t=e.title.toString():m0(e.label)&&(t=e.label.toString())),t}function mN(e,t){dN?s.useLayoutEffect(e,t):s.useEffect(e,t)}function gN(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var g0=function(t){t.preventDefault(),t.stopPropagation()},pN=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,v=t.showSearch,p=t.autoFocus,b=t.autoComplete,y=t.activeDescendantId,S=t.tabIndex,m=t.removeIcon,g=t.maxTagCount,h=t.maxTagTextLength,C=t.maxTagPlaceholder,$=C===void 0?function(se){return"+ ".concat(se.length," ...")}:C,w=t.tagRender,x=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||v&&(i||H);mN(function(){L(A.current.scrollWidth)},[K]);var J=function(ne,Y,pe,ve,re){return s.createElement("span",{title:YC(ne),className:X("".concat(G,"-item"),D({},"".concat(G,"-item-disabled"),pe))},s.createElement("span",{className:"".concat(G,"-item-content")},Y),ve&&s.createElement(Fu,{className:"".concat(G,"-item-remove"),onMouseDown:g0,onClick:re,customizeIcon:m},"×"))},ee=function(ne,Y,pe,ve,re){var Z=function(ce){g0(ce),x(!i)};return s.createElement("span",{onMouseDown:Z},w({label:Y,value:ne,disabled:pe,closable:ve,onClose:re}))},ae=function(ne){var Y=ne.disabled,pe=ne.label,ve=ne.value,re=!d&&!Y,Z=pe;if(typeof h=="number"&&(typeof pe=="string"||typeof pe=="number")){var ue=String(Z);ue.length>h&&(Z="".concat(ue.slice(0,h),"..."))}var ce=function(fe){fe&&fe.stopPropagation(),R(ne)};return typeof w=="function"?ee(ve,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(XC,{ref:c,open:i,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:p,autoComplete:b,editable:ie,activeDescendantId:y,value:K,onKeyDown:M,onMouseDown:_,onChange:O,onPaste:I,onCompositionStart:P,onCompositionEnd:z,tabIndex:S,attrs:ai(t,!0)}),s.createElement("span",{ref:A,className:"".concat(G,"-search-mirror"),"aria-hidden":!0},K," ")),le=s.createElement(Br,{prefixCls:"".concat(G,"-overflow"),data:o,renderItem:ae,renderRest:Q,suffix:W,itemKey:gN,maxCount:g});return s.createElement(s.Fragment,null,le,!o.length&&!K&&s.createElement("span",{className:"".concat(G,"-placeholder")},u))},hN=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,v=t.values,p=t.placeholder,b=t.tabIndex,y=t.showSearch,S=t.searchValue,m=t.activeValue,g=t.maxLength,h=t.onInputKeyDown,C=t.onInputMouseDown,$=t.onInputChange,w=t.onInputPaste,x=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||y,N=v[0],T=S||"";z&&m&&!_&&(T=m),s.useEffect(function(){z&&P(!1)},[z,m]);var E=d!=="combobox"&&!f&&!y?!1:!!T,L=O===void 0?YC(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(XC,{ref:i,prefixCls:r,id:o,open:f,inputElement:n,disabled:a,autoFocus:l,autoComplete:c,editable:A,activeDescendantId:u,value:T,onKeyDown:h,onMouseDown:C,onChange:function(H){P(!0),$(H)},onPaste:w,onCompositionStart:x,onCompositionEnd:R,tabIndex:b,attrs:ai(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)},yN=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,v=t.onSearchSubmit,p=t.onToggleOpen,b=t.onInputKeyDown,y=t.domRef;s.useImperativeHandle(n,function(){return{focus:function(T){r.current.focus(T)},blur:function(){r.current.blur()}}});var S=WC(0),m=k(S,2),g=m[0],h=m[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&&(v==null||v(T.target.value)),QT(E)&&p(!0)},$=function(){h(!0)},w=s.useRef(null),x=function(T){f(T,!0,o.current)!==!1&&p(!0)},R=function(){o.current=!0},O=function(T){o.current=!1,l!=="combobox"&&x(T.target.value)},I=function(T){var E=T.target.value;if(u&&w.current&&/[\r\n]/.test(w.current)){var L=w.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");E=E.replace(L,w.current)}w.current=null,x(E)},M=function(T){var E=T.clipboardData,L=E==null?void 0:E.getData("text");w.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(pN,me({},t,z)):s.createElement(hN,me({},t,z));return s.createElement("div",{ref:y,className:"".concat(i,"-selector"),onClick:_,onMouseDown:P},A)},bN=s.forwardRef(yN);function SN(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,v=s.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(n.autoArrow!==!1){var b=n.points[0],y=n.points[1],S=b[0],m=b[1],g=y[0],h=y[1];S===g||!["t","b"].includes(S)?p.top=f:S==="t"?p.top=0:p.bottom=0,m===h||!["l","r"].includes(m)?p.left=u:m==="l"?p.left=0:p.right=0}return s.createElement("div",{ref:v,className:X("".concat(t,"-arrow"),a),style:p},l)}function CN(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?s.createElement(Hr,me({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(a){var l=a.className;return s.createElement("div",{style:{zIndex:r},className:X("".concat(t,"-mask"),l)})}):null}var wN=s.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),xN=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,v=e.mask,p=e.arrow,b=e.arrowPos,y=e.align,S=e.motion,m=e.maskMotion,g=e.forceRender,h=e.getPopupContainer,C=e.autoDestroy,$=e.portal,w=e.zIndex,x=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=(h==null?void 0:h.length)>0,U=s.useState(!h||!H),G=k(U,2),K=G[0],ie=G[1];if(Rt(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=y.points,W=y.dynamicInset||((ae=y._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:h&&function(){return h(a)},autoDestroy:C},s.createElement(CN,{prefixCls:o,open:c,zIndex:w,mask:v,motion:m}),s.createElement(vr,{onResize:A,disabled:!c},function(Y){return s.createElement(Hr,me({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:g,leavedClassName:"".concat(o,"-hidden")},S,{onAppearPrepare:N,onEnterPrepare:N,visible:c,onVisibleChanged:function(ve){var re;S==null||(re=S.onVisibleChanged)===null||re===void 0||re.call(S,ve),l(ve)}}),function(pe,ve){var re=pe.className,Z=pe.style,ue=X(o,re,r);return s.createElement("div",{ref:ao(Y,t,ve),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:w},i),onMouseEnter:x,onMouseLeave:R,onPointerEnter:O,onClick:f},p&&s.createElement(SN,{prefixCls:o,arrow:p,arrowPos:b,align:y}),s.createElement(wN,{cache:!c&&!d},j))})}))}),$N=s.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=vi(n),i=s.useCallback(function(l){Zm(t,r?r(l):l)},[r]),a=fi(i,n.ref);return o?s.cloneElement(n,{ref:a}):n}),p0=s.createContext(null);function h0(e){return e?Array.isArray(e)?e:[e]:[]}function EN(e,t,n,r){return s.useMemo(function(){var o=h0(n??t),i=h0(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 ON(){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 RN(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 Fa(e){return Ll(parseFloat(e),0)}function b0(e,t){var n=B({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var o=es(r).getComputedStyle(r),i=o.overflow,a=o.overflowClipMargin,l=o.borderTopWidth,c=o.borderBottomWidth,u=o.borderLeftWidth,d=o.borderRightWidth,f=r.getBoundingClientRect(),v=r.offsetHeight,p=r.clientHeight,b=r.offsetWidth,y=r.clientWidth,S=Fa(l),m=Fa(c),g=Fa(u),h=Fa(d),C=Ll(Math.round(f.width/b*1e3)/1e3),$=Ll(Math.round(f.height/v*1e3)/1e3),w=(b-y-g-h)*C,x=(v-p-S-m)*$,R=S*$,O=m*$,I=g*C,M=h*C,_=0,P=0;if(i==="clip"){var z=Fa(a);_=z*C,P=z*$}var A=f.x+I-_,N=f.y+R-P,T=A+f.width+2*_-I-M-w,E=N+f.height+2*P-R-O-x;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 S0(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 C0(e,t){var n=t||[],r=k(n,2),o=r[0],i=r[1];return[S0(e.width,o),S0(e.height,i)]}function w0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function wi(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 uo(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 IN(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),v=s.useMemo(function(){return t?Vv(t):[]},[t]),p=s.useRef({}),b=function(){p.current={}};e||b();var y=Bn(function(){if(t&&n&&e){let dn=function(is,kr){var Ao=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue,pi=j.x+is,Ia=j.y+kr,Qu=pi+ae,Zu=Ia+ee,Ju=Math.max(pi,Ao.left),ed=Math.max(Ia,Ao.top),Ae=Math.min(Qu,Ao.right),Qe=Math.min(Zu,Ao.bottom);return Math.max(0,(Ae-Ju)*(Qe-ed))},Ra=function(){St=j.y+Le,je=St+ee,Ie=j.x+Be,lt=Ie+ae};var Wg=dn,Ug=Ra,g,h,C=t,$=C.ownerDocument,w=es(C),x=w.getComputedStyle(C),R=x.width,O=x.height,I=x.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 ve=ne===pe,re=b0(se,v),Z=b0(le,v),ue=ne===Y?Z:re,ce=ve?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,(h=C.parentElement)===null||h===void 0||h.removeChild(T);var fe=Ll(Math.round(ae/parseFloat(R)*1e3)/1e3),we=Ll(Math.round(ee/parseFloat(O)*1e3)/1e3);if(fe===0||we===0||jc(n)&&!hg(n))return;var De=N.offset,Ee=N.targetOffset,Xe=C0(j,De),Oe=k(Xe,2),ye=Oe[0],$e=Oe[1],Ce=C0(E,Ee),qe=k(Ce,2),nt=qe[0],Je=qe[1];E.x-=nt,E.y-=Je;var at=N.points||[],Ye=k(at,2),We=Ye[0],oe=Ye[1],Re=w0(oe),et=w0(We),dt=wi(E,Re),$t=wi(j,et),Et=B({},N),Be=dt.x-$t.x+ye,Le=dt.y-$t.y+$e,ut=dn(Be,Le),be=dn(Be,Le,Z),xe=wi(E,["t","l"]),Ke=wi(j,["t","l"]),rt=wi(E,["b","r"]),ge=wi(j,["b","r"]),Se=N.overflow||{},Me=Se.adjustX,Fe=Se.adjustY,Ge=Se.shiftX,Ue=Se.shiftY,Ot=function(kr){return typeof kr=="boolean"?kr:kr>=0},St,je,Ie,lt;Ra();var Pe=Ot(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=xe.y-ge.y-$e;var ot=dn(Be,Ve),wt=dn(Be,Ve,Z);ot>ut||ot===ut&&(!ve||wt>=be)?(p.current.bt=!0,Le=Ve,$e=-$e,Et.points=[uo(et,0),uo(Re,0)]):p.current.bt=!1}if(Pe&&et[0]==="b"&&(Stut||xt===ut&&(!ve||sn>=be)?(p.current.tb=!0,Le=Ct,$e=-$e,Et.points=[uo(et,0),uo(Re,0)]):p.current.tb=!1}var Sn=Ot(Me),cn=et[1]===Re[1];if(Sn&&et[1]==="l"&&(lt>ce.right||p.current.rl)){var Ht=Be;cn?Ht-=ae-W:Ht=xe.x-ge.x-ye;var Kn=dn(Ht,Le),Xn=dn(Ht,Le,Z);Kn>ut||Kn===ut&&(!ve||Xn>=be)?(p.current.rl=!0,Be=Ht,ye=-ye,Et.points=[uo(et,1),uo(Re,1)]):p.current.rl=!1}if(Sn&&et[1]==="r"&&(Ieut||st===ut&&(!ve||gt>=be)?(p.current.lr=!0,Be=He,ye=-ye,Et.points=[uo(et,1),uo(Re,1)]):p.current.lr=!1}Ra();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 mn=Ue===!0?0:Ue;typeof mn=="number"&&(StZ.bottom&&(Le-=je-Z.bottom-$e,E.y>Z.bottom-mn&&(Le+=E.y-Z.bottom+mn)));var Nr=j.x+Be,_r=Nr+ae,qn=j.y+Le,lo=qn+ee,pt=E.x,ct=pt+W,_e=E.y,ke=_e+Q,mt=Math.max(Nr,pt),Ft=Math.min(_r,ct),Nt=(mt+Ft)/2,Yt=Nt-Nr,gn=Math.max(qn,_e),Cn=Math.min(lo,ke),un=(gn+Cn)/2,Dn=un-qn;a==null||a(t,Et);var Mn=de.right-j.x-(Be+j.width),so=de.bottom-j.y-(Le+j.height);d({ready:!0,offsetX:Be/fe,offsetY:Le/we,offsetR:Mn/fe,offsetB:so/we,arrowX:Yt/fe,arrowY:Dn/we,scaleX:fe,scaleY:we,align:Et})}}),S=function(){f.current+=1;var h=f.current;Promise.resolve().then(function(){f.current===h&&y()})},m=function(){d(function(h){return B(B({},h),{},{ready:!1})})};return Rt(m,[r]),Rt(function(){e||m()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,S]}function PN(e,t,n,r,o){Rt(function(){if(e&&t&&n){let v=function(){r(),o()};var f=v,i=t,a=n,l=Vv(i),c=Vv(a),u=es(a),d=new Set([u].concat(Te(l),Te(c)));return d.forEach(function(p){p.addEventListener("scroll",v,{passive:!0})}),u.addEventListener("resize",v,{passive:!0}),r(),function(){d.forEach(function(p){p.removeEventListener("scroll",v),u.removeEventListener("resize",v)})}}},[e,t,n])}function MN(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=es(r);d.addEventListener("mousedown",u,!0),d.addEventListener("contextmenu",u,!0);var f=kc(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 TN=["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 NN(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Au,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,v=n.defaultPopupVisible,p=n.onPopupVisibleChange,b=n.afterPopupVisibleChange,y=n.mouseEnterDelay,S=n.mouseLeaveDelay,m=S===void 0?.1:S,g=n.focusDelay,h=n.blurDelay,C=n.mask,$=n.maskClosable,w=$===void 0?!0:$,x=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,TN),Y=O||I||!1,pe=s.useState(!1),ve=k(pe,2),re=ve[0],Z=ve[1];Rt(function(){Z($g())},[]);var ue=s.useRef({}),ce=s.useContext(p0),de=s.useMemo(function(){return{registerSubPopup:function(Qe,Kt){ue.current[Qe]=Kt,ce==null||ce.registerSubPopup(Qe,Kt)}}},[ce]),fe=OC(),we=s.useState(null),De=k(we,2),Ee=De[0],Xe=De[1],Oe=Bn(function(Ae){jc(Ae)&&Ee!==Ae&&Xe(Ae),ce==null||ce.registerSubPopup(fe,Ae)}),ye=s.useState(null),$e=k(ye,2),Ce=$e[0],qe=$e[1],nt=s.useRef(null),Je=Bn(function(Ae){jc(Ae)&&Ce!==Ae&&(qe(Ae),nt.current=Ae)}),at=s.Children.only(a),Ye=(at==null?void 0:at.props)||{},We={},oe=Bn(function(Ae){var Qe,Kt,tn=Ce;return(tn==null?void 0:tn.contains(Ae))||((Qe=kc(tn))===null||Qe===void 0?void 0:Qe.host)===Ae||Ae===tn||(Ee==null?void 0:Ee.contains(Ae))||((Kt=kc(Ee))===null||Kt===void 0?void 0:Kt.host)===Ae||Ae===Ee||Object.values(ue.current).some(function(Xt){return(Xt==null?void 0:Xt.contains(Ae))||Ae===Xt})}),Re=y0(i,ie,ae,ee),et=y0(i,J,W,Q),dt=s.useState(v||!1),$t=k(dt,2),Et=$t[0],Be=$t[1],Le=f??Et,ut=Bn(function(Ae){f===void 0&&Be(Ae)});Rt(function(){Be(f||!1)},[f]);var be=s.useRef(Le);be.current=Le;var xe=s.useRef([]);xe.current=[];var Ke=Bn(function(Ae){var Qe;ut(Ae),((Qe=xe.current[xe.current.length-1])!==null&&Qe!==void 0?Qe:Le)!==Ae&&(xe.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];Rt(function(Ae){(!Ae||Le)&&Ue(!0)},[Le]);var Ot=s.useState(null),St=k(Ot,2),je=St[0],Ie=St[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=IN(Le,Ee,H?Ne:Ce,z,N,T,G),Ct=k(wt,11),xt=Ct[0],sn=Ct[1],Sn=Ct[2],cn=Ct[3],Ht=Ct[4],Kn=Ct[5],Xn=Ct[6],He=Ct[7],st=Ct[8],gt=Ct[9],kt=Ct[10],mn=EN(re,c,u,d),Nr=k(mn,2),_r=Nr[0],qn=Nr[1],lo=_r.has("click"),pt=qn.has("click")||qn.has("contextMenu"),ct=Bn(function(){Ge||kt()}),_e=function(){be.current&&H&&pt&&Se(!1)};PN(Le,Ce,Ee,ct,_e),Rt(function(){ct()},[Ne,z]),Rt(function(){Le&&!(N!=null&&N[z])&&ct()},[JSON.stringify(T)]);var ke=s.useMemo(function(){var Ae=RN(N,i,gt,H);return X(Ae,j==null?void 0:j(gt))},[gt,j,N,i,H]);s.useImperativeHandle(r,function(){return{nativeElement:nt.current,forceAlign:ct}});var mt=s.useState(0),Ft=k(mt,2),Nt=Ft[0],Yt=Ft[1],gn=s.useState(0),Cn=k(gn,2),un=Cn[0],Dn=Cn[1],Mn=function(){if(L&&Ce){var Qe=Ce.getBoundingClientRect();Yt(Qe.width),Dn(Qe.height)}},so=function(){Mn(),ct()},Wg=function(Qe){Ue(!1),kt(),b==null||b(Qe)},Ug=function(){return new Promise(function(Qe){Mn(),Ie(function(){return Qe})})};Rt(function(){je&&(kt(),je(),Ie(null))},[je]);function dn(Ae,Qe,Kt,tn){We[Ae]=function(Xt){var as;tn==null||tn(Xt),Se(Qe,Kt);for(var td=arguments.length,Gg=new Array(td>1?td-1:0),ls=1;ls1?Kt-1:0),Xt=1;Xt1?Kt-1:0),Xt=1;Xt1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=QC(n,!1),a=i.label,l=i.value,c=i.options,u=i.groupLabel;function d(f,v){Array.isArray(f)&&f.forEach(function(p){if(v||!(c in p)){var b=p[l];o.push({key:x0(p,o.length),groupOption:v,data:p,label:p[a],value:b})}else{var y=p[u];y===void 0&&r&&(y=p.label),o.push({key:x0(p,o.length),group:!0,data:p,label:y}),d(p[c],!0)}})}return d(e,!1),o}function Uv(e){var t=B({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return On(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var DN=function(t,n,r){if(!n||!n.length)return null;var o=!1,i=function l(c,u){var d=CS(u),f=d[0],v=d.slice(1);if(!f)return[c];var p=c.split(f);return o=o||p.length>1,p.reduce(function(b,y){return[].concat(Te(b),Te(l(y,v)))},[]).filter(Boolean)},a=i(t,n);return o?typeof r<"u"?a.slice(0,r):a:null},Eg=s.createContext(null),FN=["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"],BN=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Gv=function(t){return t==="tags"||t==="multiple"},HN=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,v=e.emptyOptions,p=e.notFoundContent,b=p===void 0?"Not Found":p,y=e.onClear,S=e.mode,m=e.disabled,g=e.loading,h=e.getInputElement,C=e.getRawInputElement,$=e.open,w=e.defaultOpen,x=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,ve=Ze(e,FN),re=Gv(S),Z=(a!==void 0?a:re)||S==="combobox",ue=B({},ve);BN.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],we=de[1];s.useEffect(function(){we($g())},[]);var De=s.useRef(null),Ee=s.useRef(null),Xe=s.useRef(null),Oe=s.useRef(null),ye=s.useRef(null),$e=s.useRef(!1),Ce=qT(),qe=k(Ce,3),nt=qe[0],Je=qe[1],at=qe[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 Nt;return(Nt=ye.current)===null||Nt===void 0?void 0:Nt.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 h=="function"&&h()||null,oe=typeof C=="function"&&C(),Re=fi(Ee,oe==null||(n=oe.props)===null||n===void 0?void 0:n.ref),et=s.useState(!1),dt=k(et,2),$t=dt[0],Et=dt[1];Rt(function(){Et(!0)},[]);var Be=on(!1,{defaultValue:w,value:$}),Le=k(Be,2),ut=Le[0],be=Le[1],xe=$t?ut:!1,Ke=!b&&v;(m||Ke&&xe&&S==="combobox")&&(xe=!1);var rt=Ke?!1:xe,ge=s.useCallback(function(_e){var ke=_e!==void 0?_e:!xe;m||(be(ke),xe!==ke&&(x==null||x(ke)))},[m,xe,be,x]),Se=s.useMemo(function(){return(A||[]).some(function(_e){return[` +`,`\r +`].includes(_e)})},[A]),Me=s.useContext(Eg)||{},Fe=Me.maxCount,Ge=Me.rawValues,Ue=function(ke,mt,Ft){if(!(re&&Wv(Fe)&&(Ge==null?void 0:Ge.size)>=Fe)){var Nt=!0,Yt=ke;O==null||O(null);var gn=DN(ke,A,Wv(Fe)?Fe-Ge.size:void 0),Cn=Ft?null:gn;return S!=="combobox"&&Cn&&(Yt="",z==null||z(Cn),ge(!1),Nt=!1),P&&Ye!==Yt&&P(Yt,{source:mt?"typing":"effect"}),Nt}},Ot=function(ke){!ke||!ke.trim()||P(ke,{source:"submit"})};s.useEffect(function(){!xe&&!re&&S!=="combobox"&&Ue("",!1,!1)},[xe]),s.useEffect(function(){ut&&m&&be(!1),m&&!$e.current&&Je(!1)},[m]);var St=WC(),je=k(St,2),Ie=je[0],lt=je[1],Pe=function(ke){var mt=Ie(),Ft=ke.which;if(Ft===te.ENTER&&(S!=="combobox"&&ke.preventDefault(),xe||ge(!0)),lt(!!Ye),Ft===te.BACKSPACE&&!mt&&re&&!Ye&&d.length){for(var Nt=Te(d),Yt=null,gn=Nt.length-1;gn>=0;gn-=1){var Cn=Nt[gn];if(!Cn.disabled){Nt.splice(gn,1),Yt=Cn;break}}Yt&&f(Nt,{type:"remove",values:[Yt]})}for(var un=arguments.length,Dn=new Array(un>1?un-1:0),Mn=1;Mn1?mt-1:0),Nt=1;Nt1?gn-1:0),un=1;un0&&arguments[0]!==void 0?arguments[0]:!1;d();var b=function(){l.current.forEach(function(S,m){if(S&&S.offsetParent){var g=il(S),h=g.offsetHeight;c.current.get(m)!==h&&c.current.set(m,g.offsetHeight)}}),a(function(S){return S+1})};p?b():u.current=It(b)}function v(p,b){var y=e(p),S=l.current.get(y);b?(l.current.set(y,b),f()):l.current.delete(y),!S!=!b&&(b?t==null||t(p):n==null||n(p))}return s.useEffect(function(){return d},[]),[v,f,c.current,i]}var GN=10;function KN(e,t,n,r,o,i,a,l){var c=s.useRef(),u=s.useState(null),d=k(u,2),f=d[0],v=d[1];return Rt(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=x-S;break;case"bottom":C=R-m+S;break;default:{var T=e.current.scrollTop,E=T+m;xE&&(h="bottom")}}C!==null&&a(C),C!==f.lastTop&&(g=!0)}g&&v(B(B({},f),{},{times:f.times+1,targetAlign:h,lastTop:C}))}},[f,e.current]),function(p){if(p==null){l();return}if(It.cancel(c.current),typeof p=="number")a(p);else if(p&&tt(p)==="object"){var b,y=p.align;"index"in p?b=p.index:b=t.findIndex(function(g){return o(g)===p.key});var S=p.offset,m=S===void 0?0:S;v({times:0,index:b,offset:m,originAlign:y})}}}function XN(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 JC=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 YN(e,t,n,r,o){var i=s.useRef(0),a=s.useRef(null),l=s.useRef(null),c=s.useRef(!1),u=JC(t,n);function d(S,m){It.cancel(a.current),i.current+=m,l.current=m,!u(m)&&(O0||S.preventDefault(),a.current=It(function(){var g=c.current?10:1;o(i.current*g),i.current=0}))}function f(S,m){o(m,!0),O0||S.preventDefault()}var v=s.useRef(null),p=s.useRef(null);function b(S){if(e){It.cancel(p.current),p.current=It(function(){v.current=null},2);var m=S.deltaX,g=S.deltaY,h=S.shiftKey,C=m,$=g;(v.current==="sx"||!v.current&&h&&g&&!m)&&(C=g,$=0,v.current="sx");var w=Math.abs(C),x=Math.abs($);v.current===null&&(v.current=r&&w>x?"x":"y"),v.current==="y"?d(S,$):f(S,C)}}function y(S){e&&(c.current=S.detail===l.current)}return[b,y]}var QN=14/15;function ZN(e,t,n){var r=s.useRef(!1),o=s.useRef(0),i=s.useRef(null),a=s.useRef(null),l,c=function(v){if(r.current){var p=Math.ceil(v.touches[0].pageY),b=o.current-p;o.current=p,n(b)&&v.preventDefault(),clearInterval(a.current),a.current=setInterval(function(){b*=QN,(!n(b,!0)||Math.abs(b)<=.1)&&clearInterval(a.current)},16)}},u=function(){r.current=!1,l()},d=function(v){l(),v.touches.length===1&&!r.current&&(r.current=!0,o.current=Math.ceil(v.touches[0].pageY),i.current=v.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))},Rt(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 JN=20;function R0(){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,JN),Math.floor(n)}function e_(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,v=a.get(d),p=a.get(f);if(v===void 0||p===void 0)for(var b=e.length,y=l.length;yi||!!y),M=b==="rtl",_=X(r,D({},"".concat(r,"-rtl"),M),o),P=d||n_,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 v=="function"?v(Pe):Pe==null?void 0:Pe[v]},[v]),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=qN(P,Q),pe=k(Y,1),ve=pe[0];ne.current=ve;var re=UN(Q,null,null),Z=k(re,4),ue=Z[0],ce=Z[1],de=Z[2],fe=Z[3],we=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,Ct=P.length,xt=0;xt=E&&Ve===void 0&&(Ve=xt,ot=Ne),Ht>E+i&&wt===void 0&&(wt=xt),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=we.scrollHeight,Ee=we.start,Xe=we.end,Oe=we.offset;se.current.start=Ee,se.current.end=Xe;var ye=s.useState({width:0,height:i}),$e=k(ye,2),Ce=$e[0],qe=$e[1],nt=function(Ne){qe({width:Ne.width||Ne.offsetWidth,height:Ne.height||Ne.offsetHeight})},Je=s.useRef(),at=s.useRef(),Ye=s.useMemo(function(){return R0(Ce.width,y)},[Ce.width,y]),We=s.useMemo(function(){return R0(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,$t=E>=oe,Et=JC(dt,$t),Be=function(){return{x:M?-H:H,y:E}},Le=s.useRef(Be()),ut=Bn(function(){if(h){var Pe=Be();(Le.current.x!==Pe.x||Le.current.y!==Pe.y)&&(h(Pe),Le.current=Pe)}});function be(Pe,Ne){var Ve=Pe;Ne?(To.flushSync(function(){U(Ve)}),ut()):le(Ve)}function xe(Pe){var Ne=Pe.currentTarget.scrollTop;Ne!==E&&le(Ne),g==null||g(Pe),ut()}var Ke=function(Ne){var Ve=Ne,ot=y-Ce.width;return Ve=Math.max(Ve,0),Ve=Math.min(Ve,ot),Ve},rt=Bn(function(Pe,Ne){Ne?(To.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=YN(O,dt,$t,!!y,rt),Se=k(ge,2),Me=Se[0],Fe=Se[1];ZN(O,z,function(Pe,Ne){return Et(Pe,Ne)?!1:(Me({preventDefault:function(){},deltaY:Pe}),!0)}),Rt(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]),Rt(function(){y&&U(function(Pe){return Ke(Pe)})},[Ce.width,y]);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=KN(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)}}}),Rt(function(){if(C){var Pe=P.slice(Ee,Xe+1);C(Pe,P)}},[Ee,Xe,P]);var Ot=e_(P,Q,de,a),St=w==null?void 0:w({start:Ee,end:Xe,virtual:I,offsetX:H,offsetY:Oe,rtl:M,getSize:Ot}),je=VN(P,Ee,Xe,y,ue,f,W),Ie=null;i&&(Ie=B(D({},c?"height":"maxHeight",i),r_),O&&(Ie.overflowY="hidden",y&&(Ie.overflowX="hidden"),ie&&(Ie.pointerEvents="none")));var lt={};return M&&(lt.dir="rtl"),s.createElement("div",me({style:B(B({},u),{},{position:"relative"}),className:_},lt,R),s.createElement(vr,{onResize:nt},s.createElement(m,{className:"".concat(r,"-holder"),style:Ie,ref:z,onScroll:xe,onMouseEnter:Ge},s.createElement(ZC,{prefixCls:r,height:De,offsetX:H,offsetY:Oe,scrollWidth:y,onInnerResize:ce,ref:A,innerProps:$,rtl:M,extra:St},je))),I&&De>i&&s.createElement(E0,{ref:Je,prefixCls:r,scrollOffset:E,scrollRange:De,rtl:M,onScroll:be,onStartMove:ee,onStopMove:ae,spinSize:We,containerSize:Ce.height,style:x==null?void 0:x.verticalScrollBar,thumbStyle:x==null?void 0:x.verticalScrollBarThumb}),I&&y>Ce.width&&s.createElement(E0,{ref:at,prefixCls:r,scrollOffset:H,scrollRange:y,rtl:M,onScroll:be,onStartMove:ee,onStopMove:ae,spinSize:Ye,containerSize:Ce.width,horizontal:!0,style:x==null?void 0:x.horizontalScrollBar,thumbStyle:x==null?void 0:x.horizontalScrollBarThumb}))}var ew=s.forwardRef(o_);ew.displayName="List";function i_(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var a_=["disabled","title","children","style","className"];function I0(e){return typeof e=="string"||typeof e=="number"}var l_=function(t,n){var r=XT(),o=r.prefixCls,i=r.id,a=r.open,l=r.multiple,c=r.mode,u=r.searchValue,d=r.toggleOpen,f=r.notFoundContent,v=r.onPopupScroll,p=s.useContext(Eg),b=p.maxCount,y=p.flattenOptions,S=p.onActiveValue,m=p.defaultActiveFirstOption,g=p.onSelect,h=p.menuItemSelectedIcon,C=p.rawValues,$=p.fieldNames,w=p.virtual,x=p.direction,R=p.listHeight,O=p.listItemHeight,I=p.optionRender,M="".concat(o,"-item"),_=Wl(function(){return y},[a,y],function(Q,W){return W[0]&&Q[1]!==W[1]}),P=s.useRef(null),z=s.useMemo(function(){return l&&Wv(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(m!==!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:i_()&&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,ve=_[j];ve&&!(ve!=null&&(pe=ve.data)!==null&&pe!==void 0&&pe.disabled)&&!z?G(ve.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=ai(se,!0),ve=ie(le);return le?s.createElement("div",me({"aria-label":typeof ve=="string"&&!Y?ve: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,w&&s.createElement("div",me({},ae,{style:{height:0,width:0,overflow:"hidden"}}),ee(j-1),ee(j),ee(j+1)),s.createElement(ew,{itemKey:"key",ref:P,data:_,height:R,itemHeight:O,fullHeight:!1,onMouseDown:A,onScroll:v,virtual:w,direction:x,innerProps:w?null:ae},function(Q,W){var le=Q.group,se=Q.groupOption,ne=Q.data,Y=Q.label,pe=Q.value,ve=ne.key;if(le){var re,Z=(re=ne.title)!==null&&re!==void 0?re:I0(Y)?Y.toString():void 0;return s.createElement("div",{className:X(M,"".concat(M,"-group"),ne.className),title:Z},Y!==void 0?Y:ve)}var ue=ne.disabled,ce=ne.title;ne.children;var de=ne.style,fe=ne.className,we=Ze(ne,a_),De=Un(we,K),Ee=U(pe),Xe=ue||!Ee&&z,Oe="".concat(M,"-option"),ye=X(M,Oe,fe,D(D(D(D({},"".concat(Oe,"-grouped"),se),"".concat(Oe,"-active"),j===W&&!Xe),"".concat(Oe,"-disabled"),Xe),"".concat(Oe,"-selected"),Ee)),$e=ie(Q),Ce=!h||typeof h=="function"||Ee,qe=typeof $e=="number"?$e:$e||pe,nt=I0(qe)?qe.toString():void 0;return ce!==void 0&&(nt=ce),s.createElement("div",me({},ai(De),w?{}:J(Q,W),{"aria-selected":Ee,className:ye,title:nt,onMouseMove:function(){j===W||Xe||H(W)},onClick:function(){Xe||G(pe)},style:de}),s.createElement("div",{className:"".concat(Oe,"-content")},typeof I=="function"?I(Q,{index:W}):qe),s.isValidElement(h)||Ee,Ce&&s.createElement(Fu,{className:"".concat(M,"-option-state"),customizeIcon:h,customizeIconProps:{value:pe,disabled:Xe,isSelected:Ee}},Ee?"✓":null))}))},s_=s.forwardRef(l_);const c_=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 v;return B(B({},f),{},{label:(v=a.get(f.value))===null||v===void 0?void 0:v.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 Xd(e,t){return qC(e).join("").toUpperCase().includes(t)}const u_=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?Xd(b[o],d):b[i]?Xd(b[a!=="children"?a:"label"],d):Xd(b[l],d)},v=u?function(p){return Uv(p)}:function(p){return p};return e.forEach(function(p){if(p[i]){var b=f(n,v(p));if(b)c.push(p);else{var y=p[i].filter(function(S){return f(n,v(S))});y.length&&c.push(B(B({},p),{},D({},i,y)))}return}f(n,v(p))&&c.push(p)}),c},[e,r,o,n,t])};var P0=0,d_=In();function f_(){var e;return d_?(e=P0,P0+=1):e="TEST_OR_SSR",e}function v_(e){var t=s.useState(),n=k(t,2),r=n[0],o=n[1];return s.useEffect(function(){o("rc_select_".concat(f_()))},[]),e||r}var m_=["children","value"],g_=["children"];function p_(e){var t=e,n=t.key,r=t.props,o=r.children,i=r.value,a=Ze(r,m_);return B({key:n,value:i!==void 0?i:n,children:o},a)}function tw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return pr(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,g_);return t||!i?p_(n):B(B({key:"__RC_SELECT_GRP__".concat(a===null?r:a,"__"),label:a},u),{},{options:tw(c)})}).filter(function(n){return n})}var h_=function(t,n,r,o,i){return s.useMemo(function(){var a=t,l=!t;l&&(a=tw(n));var c=new Map,u=new Map,d=function(p,b,y){y&&typeof y=="string"&&p.set(b[y],b)},f=function v(p){for(var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,y=0;y2&&arguments[2]!==void 0?arguments[2]:{},Fe=Me.source,Ge=Fe===void 0?"keyboard":Fe;$t(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,Uv(wt)]};if(Me&&p){var Ue=Ge(),Ot=k(Ue,2),St=Ot[0],je=Ot[1];p(St,je)}else if(!Me&&b&&Fe!=="clear"){var Ie=Ge(),lt=k(Ie,2),Pe=lt[0],Ne=lt[1];b(Pe,Ne)}},ut=M0(function(ge,Se){var Me,Fe=G?Se.selected:!0;Fe?Me=G?[].concat(Te(we),[ge]):[ge]:Me=we.filter(function(Ge){return Ge.value!==ge}),Je(Me),Le(ge,Fe),r==="combobox"?oe(""):(!Gv||v)&&(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)})},xe=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(Xe),[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(Xe),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:Et,onSelect:ut,menuItemSelectedIcon:O,rawValues:Xe,fieldNames:J,virtual:ge,direction:M,listHeight:P,listItemHeight:A,childrenAsData:K,maxCount:F,optionRender:w})},[F,le,nt,Be,Et,ut,O,Xe,J,I,S,M,P,A,K,w]);return s.createElement(Eg.Provider,{value:rt},s.createElement(HN,me({},H,{id:U,prefixCls:i,ref:t,omitDomProps:b_,mode:r,displayValues:Ee,onDisplayValuesChange:be,direction:M,searchValue:Q,onSearch:xe,autoClearSearchValue:v,onSearchSplit:Ke,dropdownMatchSelectWidth:S,OptionList:s_,emptyOptions:!nt.length,activeValue:We,activeDescendantId:"".concat(U,"_list_").concat(dt)})))}),Ig=C_;Ig.Option=Rg;Ig.OptGroup=Og;function nw(e,t,n){return X({[`${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 rw=(e,t)=>t||e,w_=()=>{const[,e]=Pn(),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"}))))},x_=w_,$_=()=>{const[,e]=Pn(),{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}))))},E_=$_,O_=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}}}}},R_=ln("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,o=Mt(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[O_(o)]});var I_=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=ow,description:i,children:a,imageStyle:l,style:c}=e,u=I_(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:f,empty:v}=s.useContext(it),p=d("empty",r),[b,y,S]=R_(p),[m]=cg("Empty"),g=typeof i<"u"?i:m==null?void 0:m.description,h=typeof g=="string"?g:"empty";let C=null;return typeof o=="string"?C=s.createElement("img",{alt:h,src:o}):C=o,b(s.createElement("div",Object.assign({className:X(y,S,p,v==null?void 0:v.className,{[`${p}-normal`]:o===iw,[`${p}-rtl`]:f==="rtl"},t,n),style:Object.assign(Object.assign({},v==null?void 0:v.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)))};Pg.PRESENTED_IMAGE_DEFAULT=ow;Pg.PRESENTED_IMAGE_SIMPLE=iw;const Ba=Pg,P_=e=>{const{componentName:t}=e,{getPrefixCls:n}=s.useContext(it),r=n("empty");switch(t){case"Table":case"List":return q.createElement(Ba,{image:Ba.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return q.createElement(Ba,{image:Ba.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return q.createElement(Ba,null)}},aw=P_,M_=["outlined","borderless","filled"],lw=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;const n=s.useContext(dT);let r;typeof e<"u"?r=e:t===!1?r="borderless":r=n??"outlined";const o=M_.includes(r);return[r,o]},T_=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 N_(e,t){return e||T_(t)}const T0=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"}},__=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:DC},[` + ${o}${l}topLeft, + ${i}${l}topLeft, + ${o}${l}topRight, + ${i}${l}topRight + `]:{animationName:BC},[`${a}${l}bottomLeft`]:{animationName:FC},[` + ${a}${l}topLeft, + ${a}${l}topRight + `]:{animationName:HC},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},T0(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"},ii),"&-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({},T0(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},Gc(e,"slide-up"),Gc(e,"slide-down"),u0(e,"move-up"),u0(e,"move-down")]},Xc=2,z_=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(Xc).equal(),0);return{basePadding:o,containerPadding:i,itemHeight:V(t),itemLineHeight:V(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},L_=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},j_=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:Xc,borderRadius:r,cursor:"default",transition:`font-size ${o}, line-height ${o}, height ${o}`,marginInlineEnd:e.calc(Xc).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({},fg()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},A_=(e,t)=>{const{componentCls:n}=e,r=`${n}-selection-overflow`,o=e.multipleSelectItemHeight,i=L_(e),a=t?`${n}-${t}`:"",l=z_(e);return{[`${n}-multiple${a}`]:Object.assign(Object.assign({},j_(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(Xc)} 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 qd(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[A_(e,t),o]}const D_=e=>{const{componentCls:t}=e,n=Mt(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Mt(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[qd(e),qd(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},qd(r,"lg")]};function Yd(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: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 F_(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Yd(e),Yd(Mt(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()}}}},Yd(Mt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const B_=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:v,colorBgContainer:p,colorFillSecondary:b,colorBgContainerDisabled:y,colorTextDisabled:S}=e,m=r-a*2,g=o-a*2,h=i-a*2;return{zIndexPopup:c+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:v,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:m,multipleItemHeightSM:g,multipleItemHeightLG:h,multipleSelectorBgDisabled:y,multipleItemColorDisabled:S,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},sw=(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}}}},N0=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},sw(e,t))}),H_=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},sw(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),N0(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),N0(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}`}})}),cw=(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}}}},_0=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},cw(e,t))}),k_=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},cw(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),_0(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),_0(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}`}})}),V_=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}`}}}),W_=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},H_(e)),k_(e)),V_(e))}),U_=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"}}}},G_=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"}}}},K_=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({},U_(e)),G_(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},ii),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},ii),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},fg()),{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()}}}},X_=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},K_(e),F_(e),D_(e),__(e),{[`${t}-rtl`]:{direction:"rtl"}},Sg(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},q_=ln("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Mt(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[X_(r),W_(r)]},B_,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var Y_={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 Q_=Y_;var Z_=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:Q_}))},J_=s.forwardRef(Z_);const uw=J_;var e4={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 t4=e4;var n4=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:t4}))},r4=s.forwardRef(n4);const o4=r4;var i4={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 a4=i4;var l4=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:a4}))},s4=s.forwardRef(l4);const c4=s4;function u4(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:v}=e;const p=n??s.createElement(cC,null),b=g=>t===null&&!l&&!f?null:s.createElement(s.Fragment,null,u!==!1&&g,l&&d);let y=null;if(t!==void 0)y=b(t);else if(i)y=b(s.createElement(dC,{spin:!0}));else{const g=`${c}-suffix`;y=h=>{let{open:C,showSearch:$}=h;return b(C&&$?s.createElement(c4,{className:g}):s.createElement(o4,{className:g}))}}let S=null;r!==void 0?S=r:a?S=s.createElement(uw,null):S=null;let m=null;return o!==void 0?m=o:m=s.createElement(pg,null),{clearIcon:p,suffixIcon:y,itemIcon:S,removeIcon:m}}function d4(e,t){return t!==void 0?t:e!==null}var f4=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:v,size:p,disabled:b,notFoundContent:y,status:S,builtinPlacements:m,dropdownMatchSelectWidth:g,popupMatchSelectWidth:h,direction:C,style:$,allowClear:w,variant:x,dropdownStyle:R,transitionName:O,tagRender:I,maxCount:M}=e,_=f4(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]=Pn(),H=v??(F==null?void 0:F.controlHeight),U=z("select",r),G=z(),K=C??N,{compactSize:ie,compactItemClassnames:J}=hC(U,K),[ee,ae]=lw(x,o),Q=Yl(U),[W,le,se]=q_(U,Q),ne=s.useMemo(()=>{const{mode:We}=e;if(We!=="combobox")return We===dw?"combobox":We},[e.mode]),Y=ne==="multiple"||ne==="tags",pe=d4(e.suffixIcon,e.showArrow),ve=(n=h??g)!==null&&n!==void 0?n:E,{status:re,hasFeedback:Z,isFormItemInput:ue,feedbackIcon:ce}=s.useContext(jC),de=rw(re,S);let fe;y!==void 0?fe=y:ne==="combobox"?fe=null:fe=(A==null?void 0:A("Select"))||s.createElement(aw,{componentName:"Select"});const{suffixIcon:we,itemIcon:De,removeIcon:Ee,clearIcon:Xe}=u4(Object.assign(Object.assign({},_),{multiple:Y,hasFeedback:Z,feedbackIcon:ce,showSuffixIcon:pe,prefixCls:U,componentName:"Select"})),Oe=w===!0?{clearIcon:Xe}:w,ye=Un(_,["suffixIcon","itemIcon"]),$e=X(c||u,{[`${U}-dropdown-${K}`]:K==="rtl"},a,se,Q,le),Ce=jo(We=>{var oe;return(oe=p??ie)!==null&&oe!==void 0?oe:We}),qe=s.useContext(Mu),nt=b??qe,Je=X({[`${U}-lg`]:Ce==="large",[`${U}-sm`]:Ce==="small",[`${U}-rtl`]:K==="rtl",[`${U}-${ee}`]:ae,[`${U}-in-form-item`]:ue},nw(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]=zu("SelectLike",R==null?void 0:R.zIndex);return W(s.createElement(Ig,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:ve,transitionName:si(G,"slide-up",O),builtinPlacements:N_(m,L),listHeight:d,listItemHeight:H,mode:ne,prefixCls:U,placement:at,direction:K,suffixIcon:we,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})))},xa=s.forwardRef(v4),m4=GT(xa);xa.SECRET_COMBOBOX_MODE_DO_NOT_USE=dw;xa.Option=Rg;xa.OptGroup=Og;xa._InternalPanelDoNotUseOrYouWillBeFired=m4;const Hu=xa,ci=["xxl","xl","lg","md","sm","xs"],g4=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)`}),p4=e=>{const t=e,n=[].concat(ci).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 h4(){const[,e]=s.useReducer(t=>t+1,0);return e}function vw(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=s.useRef({}),n=h4(),r=fw();return Rt(()=>{const o=r.subscribe(i=>{t.current=i,e&&n()});return()=>r.unsubscribe(o)},[]),t.current}function mw(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:X("".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 xi={shiftX:64,adjustY:1},$i={adjustX:1,shiftY:!0},lr=[0,0],y4={left:{points:["cr","cl"],overflow:$i,offset:[-4,0],targetOffset:lr},right:{points:["cl","cr"],overflow:$i,offset:[4,0],targetOffset:lr},top:{points:["bc","tc"],overflow:xi,offset:[0,-4],targetOffset:lr},bottom:{points:["tc","bc"],overflow:xi,offset:[0,4],targetOffset:lr},topLeft:{points:["bl","tl"],overflow:xi,offset:[0,-4],targetOffset:lr},leftTop:{points:["tr","tl"],overflow:$i,offset:[-4,0],targetOffset:lr},topRight:{points:["br","tr"],overflow:xi,offset:[0,-4],targetOffset:lr},rightTop:{points:["tl","tr"],overflow:$i,offset:[4,0],targetOffset:lr},bottomRight:{points:["tr","br"],overflow:xi,offset:[0,4],targetOffset:lr},rightBottom:{points:["bl","br"],overflow:$i,offset:[4,0],targetOffset:lr},bottomLeft:{points:["tl","bl"],overflow:xi,offset:[0,4],targetOffset:lr},leftBottom:{points:["br","bl"],overflow:$i,offset:[-4,0],targetOffset:lr}},b4=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],S4=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,v=f===void 0?"rc-tooltip":f,p=t.children,b=t.onVisibleChange,y=t.afterVisibleChange,S=t.transitionName,m=t.animation,g=t.motion,h=t.placement,C=h===void 0?"right":h,$=t.align,w=$===void 0?{}:$,x=t.destroyTooltipOnHide,R=x===void 0?!1:x,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,b4),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(mw,{key:"content",prefixCls:v,id:P,overlayInnerStyle:M},_)};return s.createElement(Bu,me({popupClassName:r,prefixCls:v,popup:L,action:i,builtinPlacements:y4,popupPlacement:C,ref:T,popupAlign:w,getPopupContainer:I,onPopupVisibleChange:b,afterPopupVisibleChange:y,popupTransitionName:S,popupAnimation:m,popupMotion:g,defaultPopupVisible:O,autoDestroy:R,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:l,arrow:A},E),p)};const C4=s.forwardRef(S4);function w4(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,v=d,p=2*o-l,b=c,y=2*o-i,S=a,m=o*Math.sqrt(2)+r*(Math.sqrt(2)-2),g=r*(Math.sqrt(2)-1),h=`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} ${v} L ${p} ${b} A ${r} ${r} 0 0 0 ${y} ${S} Z')`;return{arrowShadowWidth:m,arrowPath:C,arrowPolygon:h}}const x4=(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"}}},gw=8;function pw(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?gw:r}}function js(e,t){return e?t:{}}function $4(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"},x4(e,t,o)),{"&:before":{background:t}})]},js(!!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}}})),js(!!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}}})),js(!!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}})),js(!!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 E4(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 z0={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"]}},O4={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"]}},R4=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function I4(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:i,visibleFirst:a}=e,l=t/2,c={};return Object.keys(z0).forEach(u=>{const d=r&&O4[u]||z0[u],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(c[u]=f,R4.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 v=pw({contentRadius:i,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":f.offset[0]=-v.arrowOffsetHorizontal-l;break;case"topRight":case"bottomRight":f.offset[0]=v.arrowOffsetHorizontal+l;break;case"leftTop":case"rightTop":f.offset[1]=-v.arrowOffsetHorizontal-l;break;case"leftBottom":case"rightBottom":f.offset[1]=v.arrowOffsetHorizontal+l;break}f.overflow=E4(u,v,t,n),a&&(f.htmlRegion="visibleFirst")}),c}const P4=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:`${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,gw)}},[`${t}-content`]:{position:"relative"}}),LR(e,(f,v)=>{let{darkColor:p}=v;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:p},[`${t}-arrow`]:{"--antd-arrow-background-color":p}}}})),{"&-rtl":{direction:"rtl"}})},$4(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},M4=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},pw({contentRadius:e.borderRadius,limitVerticalRadius:!0})),w4(Mt(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),hw=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return ln("Tooltip",r=>{const{borderRadius:o,colorTextLightSolid:i,colorBgSpotlight:a}=r,l=Mt(r,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:o,tooltipBg:a});return[P4(l),xg(r,"zoom-big-fast")]},M4,{resetStyle:!1,injectStyle:t})(e)},T4=Hc.map(e=>`${e}-inverse`);function N4(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(Te(T4),Te(Hc)).includes(e):Hc.includes(e)}function yw(e,t){const n=N4(t),r=X({[`${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 _4=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]=hw(c),v=yw(c,i),p=v.arrowStyle,b=Object.assign(Object.assign({},a),v.overlayStyle),y=X(d,f,c,`${c}-pure`,`${c}-placement-${r}`,n,v.className);return u(s.createElement("div",{className:y,style:p},s.createElement("div",{className:`${c}-arrow`}),s.createElement(mw,Object.assign({},e,{className:d,prefixCls:c,overlayInnerStyle:b}),o)))},z4=_4;var L4=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:v,destroyTooltipOnHide:p,arrow:b=!0,title:y,overlay:S,builtinPlacements:m,arrowPointAtCenter:g=!1,autoAdjustOverflow:h=!0}=e,C=!!b,[,$]=Pn(),{getPopupContainer:w,getPrefixCls:x,direction:R}=s.useContext(it),O=xS(),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=!y&&!S&&y!==0,A=fe=>{var we,De;P(z?!1:fe),z||((we=e.onOpenChange)===null||we===void 0||we.call(e,fe),(De=e.onVisibleChange)===null||De===void 0||De.call(e,fe))},N=s.useMemo(()=>{var fe,we;let De=g;return typeof b=="object"&&(De=(we=(fe=b.pointAtCenter)!==null&&fe!==void 0?fe:b.arrowPointAtCenter)!==null&&we!==void 0?we:g),m||I4({arrowPointAtCenter:De,autoAdjustOverflow:h,arrowWidth:C?$.sizePopupArrow:0,borderRadius:$.borderRadius,offset:$.marginXXS,visibleFirst:!0})},[g,b,m,$]),T=s.useMemo(()=>y===0?y:S||y||"",[S,y]),E=s.createElement(hP,null,typeof T=="function"?T():T),{getPopupContainer:L,placement:j="top",mouseEnterDelay:F=.1,mouseLeaveDelay:H=.1,overlayStyle:U,rootClassName:G}=e,K=L4(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ie=x("tooltip",o),J=x(),ee=e["data-popover-inject"];let ae=_;!("open"in e)&&!("visible"in e)&&z&&(ae=!1);const Q=s.isValidElement(d)&&!uC(d)?d:s.createElement("span",null,d),W=Q.props,le=!W.className||typeof W.className=="string"?X(W.className,i||`${ie}-open`):W.className,[se,ne,Y]=hw(ie,!ee),pe=yw(ie,c),ve=pe.arrowStyle,re=Object.assign(Object.assign({},u),pe.overlayStyle),Z=X(l,{[`${ie}-rtl`]:R==="rtl"},pe.className,G,ne,Y),[ue,ce]=zu("Tooltip",K.zIndex),de=s.createElement(C4,Object.assign({},K,{zIndex:ue,showArrow:C,placement:j,mouseEnterDelay:F,mouseLeaveDelay:H,prefixCls:ie,overlayClassName:Z,overlayStyle:Object.assign(Object.assign({},ve),U),getTooltipContainer:L||a||w,ref:I,builtinPlacements:N,overlay:E,visible:ae,onVisibleChange:A,afterVisibleChange:f??v,overlayInnerStyle:re,arrowContent:s.createElement("span",{className:`${ie}-arrow-content`}),motion:{motionName:si(J,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!p}),ae?li(Q,{className:le}):Q);return se(s.createElement(fC.Provider,{value:ce},de))});bw._InternalPanelDoNotUseOrYouWillBeFired=z4;const Mg=bw;var j4={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 A4=j4;var D4=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:A4}))},F4=s.forwardRef(D4);const jl=F4;var B4=te.ESC,H4=te.TAB;function k4(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,v;(f=n.current)===null||f===void 0||(v=f.focus)===null||v===void 0||v.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 B4:l();break;case H4:{var v=!1;a.current||(v=c()),v?f.preventDefault():l();break}}};s.useEffect(function(){return t?(window.addEventListener("keydown",u),o&&It(c,3),function(){window.removeEventListener("keydown",u),a.current=!1}):function(){a.current=!1}},[t])}var V4=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=ao(t,i==null?void 0:i.ref);return q.createElement(q.Fragment,null,r&&q.createElement("div",{className:"".concat(o,"-arrow")}),q.cloneElement(i,{ref:vi(i)?a:void 0}))}),Ei={adjustX:1,adjustY:1},Oi=[0,0],W4={topLeft:{points:["bl","tl"],overflow:Ei,offset:[0,-4],targetOffset:Oi},top:{points:["bc","tc"],overflow:Ei,offset:[0,-4],targetOffset:Oi},topRight:{points:["br","tr"],overflow:Ei,offset:[0,-4],targetOffset:Oi},bottomLeft:{points:["tl","bl"],overflow:Ei,offset:[0,4],targetOffset:Oi},bottom:{points:["tc","bc"],overflow:Ei,offset:[0,4],targetOffset:Oi},bottomRight:{points:["tr","br"],overflow:Ei,offset:[0,4],targetOffset:Oi}},U4=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function G4(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,v=e.placements,p=v===void 0?W4:v,b=e.getPopupContainer,y=e.showAction,S=e.hideAction,m=e.overlayClassName,g=e.overlayStyle,h=e.visible,C=e.trigger,$=C===void 0?["hover"]:C,w=e.autoFocus,x=e.overlay,R=e.children,O=e.onVisibleChange,I=Ze(e,U4),M=q.useState(),_=k(M,2),P=_[0],z=_[1],A="visible"in e?h:P,N=q.useRef(null),T=q.useRef(null),E=q.useRef(null);q.useImperativeHandle(t,function(){return N.current});var L=function(ee){z(ee),O==null||O(ee)};k4({visible:A,triggerRef:E,onVisibleChange:L,autoFocus:w,overlayRef:T});var j=function(ee){var ae=e.onOverlayClick;z(!1),ae&&ae(ee)},F=function(){return q.createElement(V4,{ref:T,overlay:x,prefixCls:a,arrow:o})},H=function(){return typeof x=="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=q.cloneElement(R,{className:X((n=R.props)===null||n===void 0?void 0:n.className,A&&G()),ref:vi(R)?ao(E,R.ref):void 0}),ie=S;return!ie&&$.indexOf("contextMenu")!==-1&&(ie=["click"]),q.createElement(Bu,me({builtinPlacements:p},I,{prefixCls:a,ref:N,popupClassName:X(m,D({},"".concat(a,"-show-arrow"),o)),popupStyle:g,action:$,showAction:y,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 K4=q.forwardRef(G4);var Sw=s.createContext(null);function Cw(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function ww(e){var t=s.useContext(Sw);return Cw(t,e)}var X4=["children","locked"],Tr=s.createContext(null);function q4(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 Al(e){var t=e.children,n=e.locked,r=Ze(e,X4),o=s.useContext(Tr),i=Wl(function(){return q4(o,r)},[o,r],function(a,l){return!n&&(a[0]!==l[0]||!Gl(a[1],l[1],!0))});return s.createElement(Tr.Provider,{value:i},t)}var Y4=[],xw=s.createContext(null);function ku(){return s.useContext(xw)}var $w=s.createContext(Y4);function ts(e){var t=s.useContext($w);return s.useMemo(function(){return e!==void 0?[].concat(Te(t),[e]):t},[t,e])}var Ew=s.createContext(null),Tg=s.createContext({});function L0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(hg(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 Q4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Te(e.querySelectorAll("*")).filter(function(r){return L0(r,t)});return L0(e,t)&&n.unshift(e),n}var Kv=te.LEFT,Xv=te.RIGHT,qv=te.UP,lc=te.DOWN,sc=te.ENTER,Ow=te.ESC,Ha=te.HOME,ka=te.END,j0=[qv,lc,Kv,Xv];function Z4(e,t,n,r){var o,i="prev",a="next",l="children",c="parent";if(e==="inline"&&r===sc)return{inlineTrigger:!0};var u=D(D({},qv,i),lc,a),d=D(D(D(D({},Kv,n?a:i),Xv,n?i:a),lc,l),sc,l),f=D(D(D(D(D(D({},qv,i),lc,a),sc,l),Ow,c),Kv,n?l:c),Xv,n?c:l),v={inline:u,horizontal:d,vertical:f,inlineSub:u,horizontalSub:f,verticalSub:f},p=(o=v["".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 J4(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function ez(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function Ng(e,t){var n=Q4(e,!0);return n.filter(function(r){return t.has(r)})}function A0(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=Ng(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 Yv=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(Cw(n,a),"']"));l&&(r.add(l),i.set(l,a),o.set(a,l))}),{elements:r,key2element:o,element2key:i}};function tz(e,t,n,r,o,i,a,l,c,u){var d=s.useRef(),f=s.useRef();f.current=t;var v=function(){It.cancel(d.current)};return s.useEffect(function(){return function(){v()}},[]),function(p){var b=p.which;if([].concat(j0,[sc,Ow,Ha,ka]).includes(b)){var y=i(),S=Yv(y,r),m=S,g=m.elements,h=m.key2element,C=m.element2key,$=h.get(t),w=ez($,g),x=C.get(w),R=Z4(e,a(x,!0).length===1,n,b);if(!R&&b!==Ha&&b!==ka)return;(j0.includes(b)||[Ha,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),v(),d.current=It(function(){f.current===j&&E.focus()})}};if([Ha,ka].includes(b)||R.sibling||!w){var I;!w||e==="inline"?I=o.current:I=J4(w);var M,_=Ng(I,g);b===Ha?M=_[0]:b===ka?M=_[_.length-1]:M=A0(I,g,w,R.offset),O(M)}else if(R.inlineTrigger)c(x);else if(R.offset>0)c(x,!0),v(),d.current=It(function(){S=Yv(y,r);var N=w.getAttribute("aria-controls"),T=document.getElementById(N),E=A0(T,S.elements);O(E)},5);else if(R.offset<0){var P=a(x,!0),z=P[P.length-2],A=h.get(z);c(z,!1),O(A)}}u==null||u(p)}}function nz(e){Promise.resolve().then(e)}var _g="__RC_UTIL_PATH_SPLIT__",D0=function(t){return t.join(_g)},rz=function(t){return t.split(_g)},Qv="rc-menu-more";function oz(){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({})},v=s.useCallback(function(h,C){var $=D0(C);o.current.set($,h),r.current.set(h,$),u.current+=1;var w=u.current;nz(function(){w===u.current&&f()})},[]),p=s.useCallback(function(h,C){var $=D0(C);o.current.delete($),r.current.delete(h)},[]),b=s.useCallback(function(h){c(h)},[]),y=s.useCallback(function(h,C){var $=r.current.get(h)||"",w=rz($);return C&&l.includes(w[0])&&w.unshift(Qv),w},[l]),S=s.useCallback(function(h,C){return h.some(function($){var w=y($,!0);return w.includes(C)})},[y]),m=function(){var C=Te(r.current.keys());return l.length&&C.push(Qv),C},g=s.useCallback(function(h){var C="".concat(r.current.get(h)).concat(_g),$=new Set;return Te(o.current.keys()).forEach(function(w){w.startsWith(C)&&$.add(o.current.get(w))}),$},[]);return s.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:v,unregisterPath:p,refreshOverflowKeys:b,isSubPathKey:S,getKeyPath:y,getKeys:m,getSubPathKeys:g}}function qa(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 h=g.onVisibleChanged;return g.onVisibleChanged=function(C){return!v.current&&!C&&S(!0),h==null?void 0:h(C)},y?null:s.createElement(Al,{mode:i,locked:!v.current},s.createElement(Hr,me({visible:m},g,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),function(C){var $=C.className,w=C.style;return s.createElement(zg,{id:t,className:$,style:w},o)}))}var Cz=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],wz=["active"],xz=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,v=t.popupOffset,p=t.popupStyle,b=t.onClick,y=t.onMouseEnter,S=t.onMouseLeave,m=t.onTitleClick,g=t.onTitleMouseEnter,h=t.onTitleMouseLeave,C=Ze(t,Cz),$=ww(i),w=s.useContext(Tr),x=w.prefixCls,R=w.mode,O=w.openKeys,I=w.disabled,M=w.overflowDisabled,_=w.activeKey,P=w.selectedKeys,z=w.itemIcon,A=w.expandIcon,N=w.onItemClick,T=w.onOpenChange,E=w.onActive,L=s.useContext(Tg),j=L._internalRenderSubMenuItem,F=s.useContext(Ew),H=F.isSubPathKey,U=ts(),G="".concat(x,"-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=Rw(i,K,g,h),ne=se.active,Y=Ze(se,wz),pe=s.useState(!1),ve=k(pe,2),re=ve[0],Z=ve[1],ue=function(at){K||Z(at)},ce=function(at){ue(!0),y==null||y({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]),we=Iw(U.length),De=function(at){K||(m==null||m({key:i,domEvent:at}),R==="inline"&&T(i,!Q))},Ee=qa(function(Je){b==null||b(qc(Je)),N(Je)}),Xe=function(at){R!=="inline"&&T(i,at)},Oe=function(){E(i)},ye=$&&"".concat($,"-popup"),$e=s.createElement("div",me({role:"menuitem",style:we,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(Pw,{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 qe=Ce.current;$e=s.createElement(bz,{mode:qe,prefixCls:G,visible:!l&&W&&R!=="inline",popupClassName:f,popupOffset:v,popupStyle:p,popup:s.createElement(Al,{mode:qe==="horizontal"?"vertical":qe},s.createElement(zg,{id:ye,ref:J},c)),disabled:K,onVisibleChange:Xe},$e)}var nt=s.createElement(Br.Item,me({role:"none"},C,{component:"li",style:n,className:X(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(Sz,{id:ye,open:W,keyPath:U},c));return j&&(nt=j(nt,t,{selected:le,active:fe,open:W,disabled:K})),s.createElement(Al,{onItemClick:Ee,mode:R==="horizontal"?"vertical":R,itemIcon:ee,expandIcon:ae},nt)};function jg(e){var t=e.eventKey,n=e.children,r=ts(t),o=Lg(n,r),i=ku();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(xz,e,o),s.createElement($w.Provider,{value:r},a)}var $z=["className","title","eventKey","children"],Ez=["children"],Oz=function(t){var n=t.className,r=t.title;t.eventKey;var o=t.children,i=Ze(t,$z),a=s.useContext(Tr),l=a.prefixCls,c="".concat(l,"-item-group");return s.createElement("li",me({role:"presentation"},i,{onClick:function(d){return d.stopPropagation()},className:X(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 Tw(e){var t=e.children,n=Ze(e,Ez),r=ts(n.eventKey),o=Lg(t,r),i=ku();return i?o:s.createElement(Oz,Un(n,["warnKey"]),o)}function Nw(e){var t=e.className,n=e.style,r=s.useContext(Tr),o=r.prefixCls,i=ku();return i?null:s.createElement("li",{role:"separator",className:X("".concat(o,"-item-divider"),t),style:n})}var Rz=["label","children","key","type"];function Zv(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,Rz),u=a??"tmp-".concat(n);return i||l==="group"?l==="group"?s.createElement(Tw,me({key:u},c,{title:o}),Zv(i)):s.createElement(jg,me({key:u},c,{title:o}),Zv(i)):l==="divider"?s.createElement(Nw,me({key:u},c)):s.createElement(Vu,me({key:u},c),o)}return null}).filter(function(t){return t})}function Iz(e,t,n){var r=e;return t&&(r=Zv(t)),Lg(r,n)}var Pz=["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"],Ri=[],Mz=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,v=r.children,p=r.direction,b=r.id,y=r.mode,S=y===void 0?"vertical":y,m=r.inlineCollapsed,g=r.disabled,h=r.disabledOverflow,C=r.subMenuOpenDelay,$=C===void 0?.1:C,w=r.subMenuCloseDelay,x=w===void 0?.1:w,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 ve=r._internalRenderMenuItem,re=r._internalRenderSubMenuItem,Z=Ze(r,Pz),ue=s.useMemo(function(){return Iz(v,f,Ri)},[v,f]),ce=s.useState(!1),de=k(ce,2),fe=de[0],we=de[1],De=s.useRef(),Ee=az(b),Xe=p==="rtl",Oe=on(O,{value:I,postState:function(ct){return ct||Ri}}),ye=k(Oe,2),$e=ye[0],Ce=ye[1],qe=function(ct){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function ke(){Ce(ct),Y==null||Y(ct)}_e?To.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")&&m?["vertical",m]:[S,!1]},[S,m]),Re=k(oe,2),et=Re[0],dt=Re[1],$t=et==="inline",Et=s.useState(et),Be=k(Et,2),Le=Be[0],ut=Be[1],be=s.useState(dt),xe=k(be,2),Ke=xe[0],rt=xe[1];s.useEffect(function(){ut(et),rt(dt),We.current&&($t?Ce(at):qe(Ri))},[et,dt]);var ge=s.useState(0),Se=k(ge,2),Me=Se[0],Fe=Se[1],Ge=Me>=ue.length-1||Le!=="horizontal"||h;s.useEffect(function(){$t&&Ye($e)},[$e]),s.useEffect(function(){return We.current=!0,function(){We.current=!1}},[]);var Ue=oz(),Ot=Ue.registerPath,St=Ue.unregisterPath,je=Ue.refreshOverflowKeys,Ie=Ue.isSubPathKey,lt=Ue.getKeyPath,Pe=Ue.getKeys,Ne=Ue.getSubPathKeys,Ve=s.useMemo(function(){return{registerPath:Ot,unregisterPath:St}},[Ot,St]),ot=s.useMemo(function(){return{isSubPathKey:Ie}},[Ie]);s.useEffect(function(){je(Ge?Ri:ue.slice(Me+1).map(function(pt){return pt.key}))},[Me,Ge]);var wt=on(M||_&&((n=ue[0])===null||n===void 0?void 0:n.key),{value:M}),Ct=k(wt,2),xt=Ct[0],sn=Ct[1],Sn=qa(function(pt){sn(pt)}),cn=qa(function(){sn(void 0)});s.useImperativeHandle(t,function(){return{list:De.current,focus:function(ct){var _e,ke=Pe(),mt=Yv(ke,Ee),Ft=mt.elements,Nt=mt.key2element,Yt=mt.element2key,gn=Ng(De.current,Ft),Cn=xt??(gn[0]?Yt.get(gn[0]):(_e=ue.find(function(Mn){return!Mn.props.disabled}))===null||_e===void 0?void 0:_e.key),un=Nt.get(Cn);if(Cn&&un){var Dn;un==null||(Dn=un.focus)===null||Dn===void 0||Dn.call(un,ct)}}}});var Ht=on(T||[],{value:E,postState:function(ct){return Array.isArray(ct)?ct:ct==null?Ri:[ct]}}),Kn=k(Ht,2),Xn=Kn[0],He=Kn[1],st=function(ct){if(z){var _e=ct.key,ke=Xn.includes(_e),mt;N?ke?mt=Xn.filter(function(Nt){return Nt!==_e}):mt=[].concat(Te(Xn),[_e]):mt=[_e],He(mt);var Ft=B(B({},ct),{},{selectedKeys:mt});ke?j==null||j(Ft):L==null||L(Ft)}!N&&$e.length&&Le!=="inline"&&qe(Ri)},gt=qa(function(pt){ne==null||ne(qc(pt)),st(pt)}),kt=qa(function(pt,ct){var _e=$e.filter(function(mt){return mt!==pt});if(ct)_e.push(pt);else if(Le!=="inline"){var ke=Ne(pt);_e=_e.filter(function(mt){return!ke.has(mt)})}Gl($e,_e,!0)||qe(_e,!0)}),mn=function(ct,_e){var ke=_e??!$e.includes(ct);kt(ct,ke)},Nr=tz(Le,xt,Xe,Ee,De,Pe,lt,sn,mn,pe);s.useEffect(function(){we(!0)},[]);var _r=s.useMemo(function(){return{_internalRenderMenuItem:ve,_internalRenderSubMenuItem:re}},[ve,re]),qn=Le!=="horizontal"||h?ue:ue.map(function(pt,ct){return s.createElement(Al,{key:pt.key,overflowDisabled:ct>Me},pt)}),lo=s.createElement(Br,me({id:b,ref:De,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:Vu,className:X(i,"".concat(i,"-root"),"".concat(i,"-").concat(Le),c,D(D({},"".concat(i,"-inline-collapsed"),Ke),"".concat(i,"-rtl"),Xe),a),dir:p,style:l,role:"menu",tabIndex:d,data:qn,renderRawItem:function(ct){return ct},renderRawRest:function(ct){var _e=ct.length,ke=_e?ue.slice(-_e):null;return s.createElement(jg,{eventKey:Qv,title:W,disabled:Ge,internalPopupClose:_e===0,popupClassName:le},ke)},maxCount:Le!=="horizontal"||h?Br.INVALIDATE:Br.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(ct){Fe(ct)},onKeyDown:Nr},Z));return s.createElement(Tg.Provider,{value:_r},s.createElement(Sw.Provider,{value:Ee},s.createElement(Al,{prefixCls:i,rootClassName:a,mode:Le,openKeys:$e,rtl:Xe,disabled:g,motion:fe?U:null,defaultMotions:fe?G:null,activeKey:xt,onActive:Sn,onInactive:cn,selectedKeys:Xn,inlineIndent:H,subMenuOpenDelay:$,subMenuCloseDelay:x,forceSubMenuRender:R,builtinPlacements:J,triggerSubMenuAction:ie,getPopupContainer:se,itemIcon:ee,expandIcon:ae,onItemClick:gt,onOpenChange:kt},s.createElement(Ew.Provider,{value:ot},lo),s.createElement("div",{style:{display:"none"},"aria-hidden":!0},s.createElement(xw.Provider,{value:Ve},ue)))))}),ns=Mz;ns.Item=Vu;ns.SubMenu=jg;ns.ItemGroup=Tw;ns.Divider=Nw;var Tz={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 Nz=Tz;var _z=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:Nz}))},zz=s.forwardRef(_z);const Lz=zz;var jz={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 Az=jz;var Dz=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:Az}))},Fz=s.forwardRef(Dz);const ha=Fz,Bz=e=>!isNaN(parseFloat(e))&&isFinite(e),_w=s.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var Hz=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}`}})(),Vz=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:v=80,zeroWidthTriggerStyle:p,breakpoint:b,onCollapse:y,onBreakpoint:S}=e,m=Hz(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:g}=s.useContext(_w),[h,C]=s.useState("collapsed"in e?e.collapsed:a),[$,w]=s.useState(!1);s.useEffect(()=>{"collapsed"in e&&C(e.collapsed)},[e.collapsed]);const x=(P,z)=>{"collapsed"in e||C(P),y==null||y(P,z)},R=s.useRef();R.current=P=>{w(P.matches),S==null||S(P.matches),h!==P.matches&&x(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 B0){z=A(`screen and (max-width: ${B0[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=kz("ant-sider-");return g.addSider(P),()=>g.removeSider(P)},[]);const O=()=>{x(!h,"clickTrigger")},{getPrefixCls:I}=s.useContext(it),M=()=>{const P=I("layout-sider",n),z=Un(m,["collapsed"]),A=h?v:f,N=Bz(A)?`${A}px`:String(A),T=parseFloat(String(v||0))===0?s.createElement("span",{onClick:O,className:X(`${P}-zero-width-trigger`,`${P}-zero-width-trigger-${d?"right":"left"}`),style:p},o||s.createElement(Lz,null)):null,j={expanded:d?s.createElement(jl,null):s.createElement(ha,null),collapsed:d?s.createElement(ha,null):s.createElement(jl,null)}[h?"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=X(P,`${P}-${l}`,{[`${P}-collapsed`]:!!h,[`${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:h}),[h]);return s.createElement(zw.Provider,{value:_},M())}),Lw=Vz;var Wz={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 Uz=Wz;var Gz=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:Uz}))},Kz=s.forwardRef(Gz);const Xz=Kz;function jw(e){return Mt(e,{inputAffixPadding:e.paddingXXS})}const Aw=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:v,colorPrimaryHover:p,colorPrimary:b,controlOutlineWidth:y,controlOutline:S,colorErrorOutline:m,colorWarningOutline:g,colorBgContainer:h}=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:v,activeBorderColor:b,hoverBorderColor:p,activeShadow:`0 0 0 ${y}px ${S}`,errorActiveShadow:`0 0 0 ${y}px ${m}`,warningActiveShadow:`0 0 0 ${y}px ${g}`,hoverBg:h,activeBg:h,inputFontSize:n,inputFontSizeLG:l,inputFontSizeSM:n}},qz=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Wu=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({},qz(Mt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),Ag=(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}}),H0=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Ag(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Yz=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ag(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Wu(e))}),H0(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),H0(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),k0=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),Qz=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}}},k0(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),k0(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},Wu(e))}})}),Zz=(e,t)=>({"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled}},t)}),Dw=(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}}),V0=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Dw(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Jz=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Dw(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Wu(e))}),V0(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),V0(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),W0=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),e3=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}`}}}},W0(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),W0(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}`}}}})}),t3=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Fw=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:o}=e;return{padding:`${V(t)} ${V(o)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},Dg=e=>({padding:`${V(e.paddingBlockSM)} ${V(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Fg=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}`},t3(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({},Fw(e)),"&-sm":Object.assign({},Dg(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),n3=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({},Fw(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},Dg(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"},Xl()),{[`${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}}}})}},r3=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)),Fg(e)),Yz(e)),Jz(e)),Zz(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"}})}},o3=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)}`}}}},i3=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({},Fg(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}}}),o3(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}})}},a3=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Gn(e)),n3(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}}},Qz(e)),e3(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}}})})}},l3=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}}}}},s3=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"}}}}}},c3=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},u3=ln("Input",e=>{const t=Mt(e,jw(e));return[r3(t),s3(t),i3(t),a3(t),l3(t),c3(t),Sg(t)]},Aw),d3=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:i}=e,a=X({[`${t}-lg`]:o==="large",[`${t}-sm`]:o==="small"}),l=X({[`${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:X(t,a,l,n),style:Object.assign(Object.assign({},c),r)})},Uu=d3,f3=new bt("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Gu=e=>({height:e,lineHeight:V(e)}),na=e=>Object.assign({width:e},Gu(e)),v3=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:f3,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Qd=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},Gu(e)),m3=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},na(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},na(o)),[`${t}${t}-sm`]:Object.assign({},na(i))}},g3=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},Qd(t,l)),[`${r}-lg`]:Object.assign({},Qd(o,l)),[`${r}-sm`]:Object.assign({},Qd(i,l))}},U0=e=>Object.assign({width:e},Gu(e)),p3=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},U0(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},U0(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%"}}},Zd=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},Jd=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},Gu(e)),h3=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()},Jd(r,l))},Zd(e,r,n)),{[`${n}-lg`]:Object.assign({},Jd(o,l))}),Zd(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},Jd(i,l))}),Zd(e,i,`${n}-sm`))},y3=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:v,marginSM:p,borderRadius:b,titleHeight:y,blockRadius:S,paragraphLiHeight:m,controlHeightXS:g,paragraphMarginTop:h}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:v,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},na(c)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},na(u)),[`${n}-sm`]:Object.assign({},na(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:y,background:f,borderRadius:S,[`+ ${o}`]:{marginBlockStart:d}},[`${o}`]:{padding:0,"> li":{width:"100%",height:m,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:h}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},h3(e)),m3(e)),g3(e)),p3(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + ${r}, + ${o} > li, + ${n}, + ${i}, + ${a}, + ${l} + `]:Object.assign({},v3(e))}}},b3=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}},$a=ln("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Mt(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[y3(r)]},b3,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),S3=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]=$a(c),v=Un(e,["prefixCls","className"]),p=X(c,`${c}-element`,{[`${c}-active`]:o},n,r,d,f);return u(s.createElement("div",{className:p},s.createElement(Uu,Object.assign({prefixCls:`${c}-avatar`,shape:i,size:a},v))))},C3=S3,w3=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]=$a(c),v=Un(e,["prefixCls"]),p=X(c,`${c}-element`,{[`${c}-active`]:o,[`${c}-block`]:i},n,r,d,f);return u(s.createElement("div",{className:p},s.createElement(Uu,Object.assign({prefixCls:`${c}-button`,size:a},v))))},x3=w3,$3="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",E3=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]=$a(l),f=X(l,`${l}-element`,{[`${l}-active`]:i},n,r,u,d);return c(s.createElement("div",{className:f},s.createElement("div",{className:X(`${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:$3,className:`${l}-image-path`})))))},O3=E3,R3=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]=$a(c),v=Un(e,["prefixCls"]),p=X(c,`${c}-element`,{[`${c}-active`]:o,[`${c}-block`]:i},n,r,d,f);return u(s.createElement("div",{className:p},s.createElement(Uu,Object.assign({prefixCls:`${c}-input`,size:a},v))))},I3=R3;var P3={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 M3=P3;var T3=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:M3}))},N3=s.forwardRef(T3);const _3=N3,z3=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]=$a(c),v=X(c,`${c}-element`,{[`${c}-active`]:i},d,n,r,f),p=a??s.createElement(_3,null);return u(s.createElement("div",{className:v},s.createElement("div",{className:X(`${c}-image`,n),style:o},p)))},L3=z3,j3=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},A3=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:j3(l,e)}}));return s.createElement("ul",{className:X(t,n),style:r},i)},D3=A3,F3=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return s.createElement("h3",{className:X(t,n),style:Object.assign({width:r},o)})},B3=F3;function ef(e){return e&&typeof e=="object"?e:{}}function H3(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function k3(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function V3(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Ea=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:v,direction:p,skeleton:b}=s.useContext(it),y=v("skeleton",t),[S,m,g]=$a(y);if(n||!("loading"in e)){const h=!!l,C=!!c,$=!!u;let w;if(h){const O=Object.assign(Object.assign({prefixCls:`${y}-avatar`},H3(C,$)),ef(l));w=s.createElement("div",{className:`${y}-header`},s.createElement(Uu,Object.assign({},O)))}let x;if(C||$){let O;if(C){const M=Object.assign(Object.assign({prefixCls:`${y}-title`},k3(h,$)),ef(c));O=s.createElement(B3,Object.assign({},M))}let I;if($){const M=Object.assign(Object.assign({prefixCls:`${y}-paragraph`},V3(h,C)),ef(u));I=s.createElement(D3,Object.assign({},M))}x=s.createElement("div",{className:`${y}-content`},O,I)}const R=X(y,{[`${y}-with-avatar`]:h,[`${y}-active`]:d,[`${y}-rtl`]:p==="rtl",[`${y}-round`]:f},b==null?void 0:b.className,r,o,m,g);return S(s.createElement("div",{className:R,style:Object.assign(Object.assign({},b==null?void 0:b.style),i)},w,x))}return a??null};Ea.Button=x3;Ea.Avatar=C3;Ea.Input=I3;Ea.Image=O3;Ea.Node=L3;const W3=Ea;var U3={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 G3=U3;var K3=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:G3}))},X3=s.forwardRef(K3);const q3=X3,Ku=s.createContext(null);var Y3=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),v=f[0],p=f[1],b=s.useRef(),y=q.useCallback(function(m){return typeof l=="function"?l(m):typeof l=="number"?l:m},[l]);function S(){It.cancel(b.current)}return s.useEffect(function(){var m={};if(n)if(r){m.width=y(n.width);var g=o?"right":"left";u==="start"&&(m[g]=n[g]),u==="center"&&(m[g]=n[g]+n.width/2,m.transform=o?"translateX(50%)":"translateX(-50%)"),u==="end"&&(m[g]=n[g]+n.width,m.transform="translateX(-100%)")}else m.height=y(n.height),u==="start"&&(m.top=n.top),u==="center"&&(m.top=n.top+n.height/2,m.transform="translateY(-50%)"),u==="end"&&(m.top=n.top+n.height,m.transform="translateY(-100%)");return S(),b.current=It(function(){p(m)}),S},[n,r,o,u,y]),{style:v}},G0={width:0,height:0,left:0,top:0};function Q3(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)||G0,a=i.left+i.width,l=0;lz?(_=I,w.current="x"):(_=M,w.current="y"),t(-_,-_)&&O.preventDefault()}var R=s.useRef(null);R.current={onTouchStart:h,onTouchMove:C,onTouchEnd:$,onWheel:x},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 Bw(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,dv(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 eL(e){var t=s.useRef([]),n=s.useState({}),r=k(n,2),o=r[1],i=s.useRef(typeof e=="function"?e():e),a=Bw(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 Y0={width:0,height:0,left:0,top:0,right:0};function tL(e,t,n,r,o,i,a){var l=a.tabs,c=a.tabPosition,u=a.rtl,d,f,v;return["top","bottom"].includes(c)?(d="width",f=u?"right":"left",v=Math.abs(n)):(d="height",f="top",v=-n),s.useMemo(function(){if(!l.length)return[0,0];for(var p=l.length,b=p,y=0;yv+t){b=y-1;break}}for(var m=0,g=p-1;g>=0;g-=1){var h=e.get(l[g].key)||Y0;if(h[f]=b?[0,0]:[m,b]},[e,t,r,o,i,v,c,l.map(function(p){return p.key}).join("_"),u])}function Q0(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var nL="TABS_DQ";function Hw(e){return String(e).replace(/"/g,nL)}function kw(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var Vw=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||"+")}),Z0=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}),rL=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,v=e.editable,p=e.tabBarGutter,b=e.rtl,y=e.removeAriaLabel,S=e.onTabClick,m=e.getPopupContainer,g=e.popupClassName,h=s.useState(!1),C=k(h,2),$=C[0],w=C[1],x=s.useState(null),R=k(x,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(),v.onEdit("remove",{key:U,event:H})}var N=s.createElement(ns,{onClick:function(U){var G=U.key,K=U.domEvent;S(G,K),w(!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=kw(U,K,v,G);return s.createElement(Vu,{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":y||"remove",tabIndex:0,className:"".concat(_,"-menu-item-remove"),onClick:function(Q){Q.stopPropagation(),A(Q,ie)}},K||v.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=K0(0,function(je,Ie){!M&&y&&y({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=eL(new Map),ve=k(pe,2),re=ve[0],Z=ve[1],ue=Q3(h,re,ie[0]),ce=As(H,M),de=As(ie,M),fe=As(Q,M),we=As(ne,M),De=ceye?ye:je}var Ce=s.useRef(null),qe=s.useState(),nt=k(qe,2),Je=nt[0],at=nt[1];function Ye(){at(Date.now())}function We(){Ce.current&&clearTimeout(Ce.current)}J3(x,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=tL(ue,Ee,M?z:E,de,fe,we,B(B({},e),{},{tabs:h})),Re=k(oe,2),et=Re[0],dt=Re[1],$t=Bn(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))}}),Et={};f==="top"||f==="bottom"?Et[l?"marginRight":"marginLeft"]=v:Et.marginTop=v;var Be=h.map(function(je,Ie){var lt=je.key;return s.createElement(iL,{id:o,prefixCls:g,key:lt,tab:je,style:Ie===0?void 0:Et,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(){$t(lt),Ye(),x.current&&(l||(x.current.scrollLeft=0),x.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 h.forEach(function(Ne){var Ve,ot=Ne.key,wt=(Ve=R.current)===null||Ve===void 0?void 0:Ve.querySelector('[data-node-key="'.concat(Hw(ot),'"]'));if(wt){var Ct=aL(wt,Pe),xt=k(Ct,4),sn=xt[0],Sn=xt[1],cn=xt[2],Ht=xt[3];lt.set(ot,{width:sn,height:Sn,left:cn,top:Ht})}}),lt})};s.useEffect(function(){Le()},[h.map(function(je){return je.key}).join("_")]);var ut=Bw(function(){var je=Ii(C),Ie=Ii($),lt=Ii(w);U([je[0]-Ie[0]-lt[0],je[1]-Ie[1]-lt[1]]);var Pe=Ii(I);W(Pe);var Ne=Ii(O);Y(Ne);var Ve=Ii(R);J([Ve[0]-Pe[0],Ve[1]-Pe[1]]),Le()}),be=h.slice(0,et),xe=h.slice(dt+1),Ke=[].concat(Te(be),Te(xe)),rt=ue.get(a),ge=Y3({activeTabOffset:rt,horizontal:M,indicator:S,rtl:l}),Se=ge.style;s.useEffect(function(){$t()},[a,Oe,ye,Q0(rt),Q0(ue),M]),s.useEffect(function(){ut()},[l]);var Me=!!Ke.length,Fe="".concat(g,"-nav-wrap"),Ge,Ue,Ot,St;return M?l?(Ue=z>0,Ge=z!==ye):(Ge=z<0,Ue=z!==Oe):(Ot=E<0,St=E!==Oe),s.createElement(vr,{onResize:ut},s.createElement("div",{ref:fi(t,C),role:"tablist",className:X("".concat(g,"-nav"),n),style:r,onKeyDown:function(){Ye()}},s.createElement(Z0,{ref:$,position:"left",extra:c,prefixCls:g}),s.createElement(vr,{onResize:ut},s.createElement("div",{className:X(Fe,D(D(D(D({},"".concat(Fe,"-ping-left"),Ge),"".concat(Fe,"-ping-right"),Ue),"".concat(Fe,"-ping-top"),Ot),"".concat(Fe,"-ping-bottom"),St)),ref:x},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(Vw,{ref:I,prefixCls:g,locale:d,editable:u,style:B(B({},Be.length===0?void 0:Et),{},{visibility:Me?"hidden":null})}),s.createElement("div",{className:X("".concat(g,"-ink-bar"),D({},"".concat(g,"-ink-bar-animated"),i.inkBar)),style:Se}))))),s.createElement(oL,me({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:O,prefixCls:g,tabs:Ke,className:!Me&&Xe,tabMoving:!!Je})),s.createElement(Z0,{ref:w,position:"right",extra:c,prefixCls:g})))}),Ww=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:X(n,a&&"".concat(n,"-active"),r),ref:t},c)}),lL=["renderTabBar"],sL=["label","key"],cL=function(t){var n=t.renderTabBar,r=Ze(t,lL),o=s.useContext(Ku),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,sL);return s.createElement(Ww,me({tab:c,key:u,tabKey:u},d))})});return n(a,J0)}return s.createElement(J0,r)},uL=["key","forceRender","style","className","destroyInactiveTabPane"],dL=function(t){var n=t.id,r=t.activeKey,o=t.animated,i=t.tabPosition,a=t.destroyInactiveTabPane,l=s.useContext(Ku),c=l.prefixCls,u=l.tabs,d=o.tabPane,f="".concat(c,"-tabpane");return s.createElement("div",{className:X("".concat(c,"-content-holder"))},s.createElement("div",{className:X("".concat(c,"-content"),"".concat(c,"-content-").concat(i),D({},"".concat(c,"-content-animated"),d))},u.map(function(v){var p=v.key,b=v.forceRender,y=v.style,S=v.className,m=v.destroyInactiveTabPane,g=Ze(v,uL),h=p===r;return s.createElement(Hr,me({key:p,visible:h,forceRender:b,removeOnLeave:!!(a||m),leavedClassName:"".concat(f,"-hidden")},o.tabPaneMotion),function(C,$){var w=C.style,x=C.className;return s.createElement(Ww,me({},g,{prefixCls:f,id:n,tabKey:p,animated:d,active:h,style:B(B({},y),w),className:X(S,x),ref:$}))})})))};function fL(){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 vL=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],ey=0,mL=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,v=e.tabPosition,p=v===void 0?"top":v,b=e.tabBarGutter,y=e.tabBarStyle,S=e.tabBarExtraContent,m=e.locale,g=e.moreIcon,h=e.moreTransitionName,C=e.destroyInactiveTabPane,$=e.renderTabBar,w=e.onChange,x=e.onTabClick,R=e.onTabScroll,O=e.getPopupContainer,I=e.popupClassName,M=e.indicator,_=Ze(e,vL),P=s.useMemo(function(){return(a||[]).filter(function(Y){return Y&&tt(Y)==="object"&&"key"in Y})},[a]),z=l==="rtl",A=fL(f),N=s.useState(!1),T=k(N,2),E=T[0],L=T[1];s.useEffect(function(){L($g())},[]);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(ve){return ve.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(ey)),ey+=1)},[]);function le(Y,pe){x==null||x(Y,pe);var ve=Y!==H;U(Y),ve&&(w==null||w(Y))}var se={id:Q,activeKey:H,animated:A,tabPosition:p,rtl:z,mobile:E},ne=B(B({},se),{},{editable:d,locale:m,moreIcon:g,moreTransitionName:h,tabBarGutter:b,onTabClick:le,onTabScroll:R,extra:S,style:y,panes:null,getPopupContainer:O,popupClassName:I,indicator:M});return s.createElement(Ku.Provider,{value:{tabs:P,prefixCls:o}},s.createElement("div",me({ref:t,id:n,className:X(o,"".concat(o,"-").concat(p),D(D(D({},"".concat(o,"-mobile"),E),"".concat(o,"-editable"),d),"".concat(o,"-rtl"),z),i)},_),s.createElement(cL,me({},ne,{renderTabBar:$})),s.createElement(dL,me({destroyInactiveTabPane:C},se,{animated:A}))))});const gL={motionAppear:!1,motionEnter:!0,motionLeave:!0};function pL(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({},gL),{motionName:si(e,"switch")})),n}var hL=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 bL(e,t){if(e)return e;const n=pr(t).map(r=>{if(s.isValidElement(r)){const{key:o,props:i}=r,a=i||{},{tab:l}=a,c=hL(a,["tab"]);return Object.assign(Object.assign({key:String(o)},c),{label:l})}return null});return yL(n)}const SL=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}`}}}}},[Gc(e,"slide-up"),Gc(e,"slide-down")]]},CL=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}}}}}}},wL=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:`${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({},ii),{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"}}})}})}},xL=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}}}}}},$L=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}}}}}},EL=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}},ql(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}}}},OL=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"}}}}},RL=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 ${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}},ql(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),EL(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"}}}}}},IL=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}},PL=ln("Tabs",e=>{const t=Mt(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[$L(t),OL(t),xL(t),wL(t),CL(t),RL(t),SL(t)]},IL),ML=()=>null,TL=ML;var NL=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:v,onEdit:p,hideAdd:b,centered:y,addIcon:S,removeIcon:m,moreIcon:g,popupClassName:h,children:C,items:$,animated:w,style:x,indicatorSize:R,indicator:O}=e,I=NL(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=Yl(N),[E,L,j]=PL(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=m??(P==null?void 0:P.removeIcon))!==null&&t!==void 0?t:s.createElement(pg,null),addIcon:(S??(P==null?void 0:P.addIcon))||s.createElement(q3,null),showAdd:b!==!0});const H=z(),U=jo(v),G=bL($,C),K=pL(N,w),ie=Object.assign(Object.assign({},P==null?void 0:P.style),x),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(mL,Object.assign({direction:_,getPopupContainer:A,moreTransitionName:`${H}-slide-up`},I,{items:G,className:X({[`${N}-${U}`]:U,[`${N}-card`]:["card","editable-card"].includes(u),[`${N}-editable-card`]:u==="editable-card",[`${N}-centered`]:y},P==null?void 0:P.className,d,f,L,j,T),popupClassName:X(h,L,j,T),style:ie,editable:F,moreIcon:(c=g??(P==null?void 0:P.moreIcon))!==null&&c!==void 0?c:s.createElement(Xz,null),prefixCls:N,animated:K,indicator:J})))};Uw.TabPane=TL;const _L=Uw;var zL=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=zL(e,["prefixCls","className","hoverable"]);const{getPrefixCls:i}=s.useContext(it),a=i("card",t),l=X(`${a}-grid`,n,{[`${a}-grid-hoverable`]:r});return s.createElement("div",Object.assign({},o,{className:l}))},Gw=LL,jL=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`},Xl()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},ii),{[` + > ${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}`}}})},AL=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}}},DL=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)}`},Xl()),{"& > 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}`}}})},FL=e=>Object.assign(Object.assign({margin:`${V(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Xl()),{"&-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},ii),"&-description":{color:e.colorTextDescription}}),BL=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)}`}}},HL=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},kL=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`]:jL(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)}`},Xl()),[`${n}-grid`]:AL(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${V(e.borderRadiusLG)} ${V(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:DL(e),[`${n}-meta`]:FL(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`]:BL(e),[`${n}-loading`]:HL(e),[`${n}-rtl`]:{direction:"rtl"}}},VL=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"}}}}},WL=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}),UL=ln("Card",e=>{const t=Mt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[kL(t),VL(t)]},WL);var ty=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))}))},KL=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:v,type:p,cover:b,actions:y,tabList:S,children:m,activeTabKey:g,defaultActiveTabKey:h,tabBarExtraContent:C,hoverable:$,tabProps:w={},classNames:x,styles:R}=e,O=ty(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 X((Z=_==null?void 0:_.classNames)===null||Z===void 0?void 0:Z[re],x==null?void 0:x[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(m,Z=>{Z&&Z.type&&Z.type===Gw&&(re=!0)}),re},[m]),T=I("card",n),[E,L,j]=UL(T),F=s.createElement(W3,{loading:!0,active:!0,paragraph:{rows:4},title:!1},m),H=g!==void 0,U=Object.assign(Object.assign({},w),{[H?"activeKey":"defaultActiveKey"]:H?g:h,tabBarExtraContent:C});let G;const K=jo(v),ie=!K||K==="default"?"large":K,J=S?s.createElement(_L,Object.assign({size:ie},U,{className:`${T}-head-tabs`,onChange:P,items:S.map(re=>{var{tab:Z}=re,ue=ty(re,["tab"]);return Object.assign({label:Z},ue)})})):null;if(u||a||J){const re=X(`${T}-head`,z("header")),Z=X(`${T}-head-title`,z("title")),ue=X(`${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=X(`${T}-cover`,z("cover")),ae=b?s.createElement("div",{className:ee,style:A("cover")},b):null,Q=X(`${T}-body`,z("body")),W=Object.assign(Object.assign({},c),A("body")),le=s.createElement("div",{className:Q,style:W},d?F:m),se=X(`${T}-actions`,z("actions")),ne=y&&y.length?s.createElement(GL,{actionClasses:se,actionStyle:A("actions"),actions:y}):null,Y=Un(O,["onTabChange"]),pe=X(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),ve=Object.assign(Object.assign({},_==null?void 0:_.style),i);return E(s.createElement("div",Object.assign({ref:t},Y,{className:pe,style:ve}),G,ae,le,ne))}),XL=KL;var qL=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=qL(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:l}=s.useContext(it),c=l("card",t),u=X(`${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,v=i?s.createElement("div",{className:`${c}-meta-description`},i):null,p=f||v?s.createElement("div",{className:`${c}-meta-detail`},f,v):null;return s.createElement("div",Object.assign({},a,{className:u}),d,p)},QL=YL,Bg=XL;Bg.Grid=Gw;Bg.Meta=QL;const ny=Bg;function ZL(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,v=0;function p(){d&&clearTimeout(d)}function b(S){var m=S||{},g=m.upcomingOnly,h=g===void 0?!1:g;p(),f=!h}function y(){for(var S=arguments.length,m=new Array(S),g=0;ge?l?(v=Date.now(),i||(d=setTimeout(u?w:$,e))):$():i!==!0&&(d=setTimeout(u?w:$,u===void 0?e-C:e))}return y.cancel=b,y}function JL(e,t,n){var r=n||{},o=r.atBegin,i=o===void 0?!1:o;return ZL(e,t,{debounceMode:i!==!1})}const e5=s.createContext({}),Kw=e5,t5=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"}}}},n5=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},r5=(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},Jv=(e,t)=>r5(e,t),o5=(e,t,n)=>({[`@media (min-width: ${V(t)})`]:Object.assign({},Jv(e,n))}),i5=()=>({}),a5=()=>({}),l5=ln("Grid",t5,i5),s5=ln("Grid",e=>{const t=Mt(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[n5(t),Jv(t,""),Jv(t,"-xs"),Object.keys(n).map(r=>o5(t,n[r],r)).reduce((r,o)=>Object.assign(Object.assign({},r),o),{})]},a5);var c5=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(Kw),{prefixCls:a,span:l,order:c,offset:u,push:d,pull:f,className:v,children:p,flex:b,style:y}=e,S=c5(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),m=n("col",a),[g,h,C]=s5(m),$={};let w={};u5.forEach(O=>{let I={};const M=e[O];typeof M=="number"?I.span=M:typeof M=="object"&&(I=M||{}),delete S[O],w=Object.assign(Object.assign({},w),{[`${m}-${O}-${I.span}`]:I.span!==void 0,[`${m}-${O}-order-${I.order}`]:I.order||I.order===0,[`${m}-${O}-offset-${I.offset}`]:I.offset||I.offset===0,[`${m}-${O}-push-${I.push}`]:I.push||I.push===0,[`${m}-${O}-pull-${I.pull}`]:I.pull||I.pull===0,[`${m}-rtl`]:r==="rtl"}),I.flex&&(w[`${m}-${O}-flex`]=!0,$[`--${m}-${O}-flex`]=ry(I.flex))});const x=X(m,{[`${m}-${l}`]:l!==void 0,[`${m}-order-${c}`]:c,[`${m}-offset-${u}`]:u,[`${m}-push-${d}`]:d,[`${m}-pull-${f}`]:f},v,w,h,C),R={};if(o&&o[0]>0){const O=o[0]/2;R.paddingLeft=O,R.paddingRight=O}return b&&(R.flex=ry(b),i===!1&&!R.minWidth&&(R.minWidth=0)),g(s.createElement("div",Object.assign({},S,{style:Object.assign(Object.assign(Object.assign({},R),y),$),className:x,ref:t}),p))}),f5=d5;var v5=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 m5=s.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:o,className:i,style:a,children:l,gutter:c=0,wrap:u}=e,d=v5(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:v}=s.useContext(it),[p,b]=s.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[y,S]=s.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),m=oy(o,y),g=oy(r,y),h=s.useRef(c),C=fw();s.useEffect(()=>{const T=C.subscribe(E=>{S(E);const L=h.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 x(s.createElement(Kw.Provider,{value:N},s.createElement("div",Object.assign({},d,{className:M,style:Object.assign(Object.assign({},_),a),ref:t}),l)))}),g5=m5,p5=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:`${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}}})}},h5=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),y5=ln("Divider",e=>{const t=Mt(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[p5(t)]},h5,{unitless:{orientationMargin:!0}});var b5=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:v,style:p}=e,b=b5(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),y=t("divider",o),[S,m,g]=y5(y),h=a.length>0?`-${a}`:a,C=!!d,$=a==="left"&&l!=null,w=a==="right"&&l!=null,x=X(y,r==null?void 0:r.className,m,g,`${y}-${i}`,{[`${y}-with-text`]:C,[`${y}-with-text${h}`]:C,[`${y}-dashed`]:!!f,[`${y}-plain`]:!!v,[`${y}-rtl`]:n==="rtl",[`${y}-no-default-orientation-margin-left`]:$,[`${y}-no-default-orientation-margin-right`]:w},c,u),R=s.useMemo(()=>typeof l=="number"?l:/^\d+$/.test(l)?Number(l):l,[l]),O=Object.assign(Object.assign({},$&&{marginLeft:R}),w&&{marginRight:R});return S(s.createElement("div",Object.assign({className:x,style:Object.assign(Object.assign({},r==null?void 0:r.style),p)},b,{role:"separator"}),d&&i!=="vertical"&&s.createElement("span",{className:`${y}-inner-text`,style:O},d)))},C5=S5;function w5(e){return!!(e.addonBefore||e.addonAfter)}function x5(e){return!!(e.prefix||e.suffix||e.allowClear)}function iy(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 ay(e,t,n,r){if(n){var o=t;if(t.type==="click"){o=iy(t,e,""),n(o);return}if(e.type!=="file"&&r!==void 0){o=iy(t,e,r),n(o);return}n(o)}}var $5=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,v=t.style,p=t.disabled,b=t.readOnly,y=t.focused,S=t.triggerFocus,m=t.allowClear,g=t.value,h=t.handleReset,C=t.hidden,$=t.classes,w=t.classNames,x=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=x5(t),E=s.cloneElement(I,{value:g,className:X(I.props.className,!T&&(w==null?void 0:w.variant))||null});if(T){var L,j=null;if(m){var F,H=!p&&!b&&g,U="".concat(a,"-clear-icon"),G=tt(m)==="object"&&m!==null&&m!==void 0&&m.clearIcon?m.clearIcon:"✖";j=q.createElement("span",{onClick:h,onMouseDown:function(ne){return ne.preventDefault()},className:X(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=X(K,(L={},D(L,"".concat(a,"-disabled"),p),D(L,"".concat(K,"-disabled"),p),D(L,"".concat(K,"-focused"),y),D(L,"".concat(K,"-readonly"),b),D(L,"".concat(K,"-input-with-clear-btn"),c&&m&&g),L),$==null?void 0:$.affixWrapper,w==null?void 0:w.affixWrapper,w==null?void 0:w.variant),J=(c||m)&&q.createElement("span",{className:X("".concat(a,"-suffix"),w==null?void 0:w.suffix),style:R==null?void 0:R.suffix},j,c);E=q.createElement(M,me({className:ie,style:R==null?void 0:R.affixWrapper,onClick:N},x==null?void 0:x.affixWrapper,{ref:A}),l&&q.createElement("span",{className:X("".concat(a,"-prefix"),w==null?void 0:w.prefix),style:R==null?void 0:R.prefix},l),E,J)}if(w5(t)){var ee="".concat(a,"-group"),ae="".concat(ee,"-addon"),Q="".concat(ee,"-wrapper"),W=X("".concat(a,"-wrapper"),ee,$==null?void 0:$.wrapper,w==null?void 0:w.wrapper),le=X(Q,D({},"".concat(Q,"-disabled"),p),$==null?void 0:$.group,w==null?void 0:w.groupWrapper);E=q.createElement(_,{className:le},q.createElement(P,{className:W},u&&q.createElement(z,{className:ae},u),E,d&&q.createElement(z,{className:ae},d)))}return q.cloneElement(E,{className:X((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),v),hidden:C})},E5=["show"];function O5(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,E5);return B(B({},i),{},{show:!!o,showFormatter:typeof o=="function"?o:void 0,strategy:i.strategy||function(a){return a.length}})},[e,t])}const R5=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:q.createElement(cC,null)}),t},I5=R5;function P5(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 M5={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 T5=M5;var N5=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:T5}))},_5=s.forwardRef(N5);const z5=_5;var L5=` + 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; +`,j5=["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"],tf={},sr;function A5(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&&tf[n])return tf[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=j5.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),c={sizingStyle:l,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(tf[n]=c),c}function D5(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;sr||(sr=document.createElement("textarea"),sr.setAttribute("tab-index","-1"),sr.setAttribute("aria-hidden","true"),document.body.appendChild(sr)),e.getAttribute("wrap")?sr.setAttribute("wrap",e.getAttribute("wrap")):sr.removeAttribute("wrap");var o=A5(e,t),i=o.paddingSize,a=o.borderSize,l=o.boxSizing,c=o.sizingStyle;sr.setAttribute("style","".concat(c,";").concat(L5)),sr.value=e.value||e.placeholder||"";var u=void 0,d=void 0,f,v=sr.scrollHeight;if(l==="border-box"?v+=a:l==="content-box"&&(v-=i),n!==null||r!==null){sr.value=" ";var p=sr.scrollHeight-i;n!==null&&(u=p*n,l==="border-box"&&(u=u+i+a),v=Math.max(u,v)),r!==null&&(d=p*r,l==="border-box"&&(d=d+i+a),f=v>d?"":"hidden",v=Math.min(d,v))}var b={height:v,overflowY:f,resize:"none"};return u&&(b.minHeight=u),d&&(b.maxHeight=d),b}var F5=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],nf=0,rf=1,of=2,B5=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 v=Ze(n,F5),p=on(o,{value:i,postState:function(G){return G??""}}),b=k(p,2),y=b[0],S=b[1],m=function(G){S(G.target.value),f==null||f(G)},g=s.useRef();s.useImperativeHandle(t,function(){return{textArea:g.current}});var h=s.useMemo(function(){return a&&tt(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),C=k(h,2),$=C[0],w=C[1],x=!!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(of),I=k(O,2),M=I[0],_=I[1],P=s.useState(),z=k(P,2),A=z[0],N=z[1],T=function(){_(nf)};Rt(function(){x&&T()},[i,$,w,x]),Rt(function(){if(M===nf)_(rf);else if(M===rf){var U=D5(g.current,!1,$,w);_(of),N(U)}else R()},[M]);var E=s.useRef(),L=function(){It.cancel(E.current)},j=function(G){M===of&&(l==null||l(G),a&&(L(),E.current=It(function(){T()})))};s.useEffect(function(){return L},[]);var F=x?A:null,H=B(B({},u),F);return(M===nf||M===rf)&&(H.overflowY="hidden",H.overflowX="hidden"),s.createElement(vr,{onResize:j,disabled:!(a||l)},s.createElement("textarea",me({},v,{ref:g,style:H,className:X(r,c,D({},"".concat(r,"-disabled"),d)),disabled:d,value:y,onChange:m})))}),H5=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],k5=q.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,v=e.onCompositionEnd,p=e.suffix,b=e.prefixCls,y=b===void 0?"rc-textarea":b,S=e.showCount,m=e.count,g=e.className,h=e.style,C=e.disabled,$=e.hidden,w=e.classNames,x=e.styles,R=e.onResize,O=Ze(e,H5),I=on(o,{value:i,defaultValue:o}),M=k(I,2),_=M[0],P=M[1],z=_==null?"":String(_),A=q.useState(!1),N=k(A,2),T=N[0],E=N[1],L=q.useRef(!1),j=q.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=q.useState(null),ee=k(J,2),ae=ee[0],Q=ee[1];q.useEffect(function(){if(ae){var Oe;(Oe=K()).setSelectionRange.apply(Oe,Te(ae))}},[ae]);var W=O5(m,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),ay(ye.currentTarget,ye,c,Ce)},ve=function(ye){L.current=!0,f==null||f(ye)},re=function(ye){L.current=!1,pe(ye,ye.currentTarget.value),v==null||v(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(),ay(K(),ye,c)},we=p,De;W.show&&(W.showFormatter?De=W.showFormatter({value:z,count:ne,maxLength:le}):De="".concat(ne).concat(se?" / ".concat(le):""),we=q.createElement(q.Fragment,null,we,q.createElement("span",{className:X("".concat(y,"-data-count"),w==null?void 0:w.count),style:x==null?void 0:x.count},De)));var Ee=function(ye){var $e;R==null||R(ye),($e=K())!==null&&$e!==void 0&&$e.style.height&&U(!0)},Xe=!O.autoSize&&!S&&!u;return q.createElement($5,{value:z,allowClear:u,handleReset:fe,suffix:we,prefixCls:y,classNames:B(B({},w),{},{affixWrapper:X(w==null?void 0:w.affixWrapper,(r={},D(r,"".concat(y,"-show-count"),S),D(r,"".concat(y,"-textarea-allow-clear"),u),r))}),disabled:C,focused:T,className:X(g,Y&&"".concat(y,"-out-of-range")),style:B(B({},h),H&&!Xe?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof De=="string"?De:void 0}},hidden:$},q.createElement(B5,me({},O,{maxLength:d,onKeyDown:ue,onChange:Z,onFocus:ce,onBlur:de,onCompositionStart:ve,onCompositionEnd:re,className:X(w==null?void 0:w.textarea),style:B(B({},x==null?void 0:x.textarea),{},{resize:h==null?void 0:h.resize}),disabled:C,prefixCls:y,onResize:Ee,ref:G})))}),V5=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:v,style:p,styles:b,variant:y}=e,S=V5(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:m,direction:g,textArea:h}=s.useContext(it),C=jo(a),$=s.useContext(Mu),w=l??$,{status:x,hasFeedback:R,feedbackIcon:O}=s.useContext(jC),I=rw(x,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;P5((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 _=m("input",o),P=Yl(_),[z,A,N]=u3(_,P),[T,E]=lw(y,i),L=I5(u??(h==null?void 0:h.allowClear));return z(s.createElement(k5,Object.assign({autoComplete:h==null?void 0:h.autoComplete},S,{style:Object.assign(Object.assign({},h==null?void 0:h.style),p),styles:Object.assign(Object.assign({},h==null?void 0:h.styles),b),disabled:w,allowClear:L,className:X(N,P,v,f,h==null?void 0:h.className),classNames:Object.assign(Object.assign(Object.assign({},d),h==null?void 0:h.classNames),{textarea:X({[`${_}-sm`]:C==="small",[`${_}-lg`]:C==="large"},A,d==null?void 0:d.textarea,(n=h==null?void 0:h.classNames)===null||n===void 0?void 0:n.textarea),variant:X({[`${_}-${T}`]:E},nw(_,I)),affixWrapper:X(`${_}-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})))}),U5=W5;function ly(e){return["small","middle","large"].includes(e)}function sy(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const Xw=q.createContext({latestIndex:0}),G5=Xw.Provider,K5=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:v="horizontal",prefixCls:p,split:b,style:y,wrap:S=!1,classNames:m,styles:g}=e,h=q5(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,$]=Array.isArray(l)?l:[l,l],w=ly($),x=ly(C),R=sy($),O=sy(C),I=pr(f,{keepEmpty:!0}),M=c===void 0&&v==="horizontal"?"center":c,_=o("space",p),[P,z,A]=gC(_),N=X(_,i==null?void 0:i.className,z,`${_}-${v}`,{[`${_}-rtl`]:a==="rtl",[`${_}-align-${M}`]:M,[`${_}-gap-row-${$}`]:w,[`${_}-gap-col-${C}`]:x},u,d,A),T=X(`${_}-item`,(n=m==null?void 0:m.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(X5,{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"),!x&&O&&(F.columnGap=C),!w&&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),y)},h),s.createElement(G5,{value:j},L)))}),qw=Y5;qw.Compact=SP;const Q5=qw;function Yw(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function Z5(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 em=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],rs=s.createContext(null),cy=0;function J5(e,t){var n=s.useState(function(){return cy+=1,String(cy)}),r=k(n,1),o=r[0],i=s.useContext(rs),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 e6(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 Qw(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 e6(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())},v=u&&r?{src:r}:{onLoad:d,src:t};return[f,v,a]}function Gi(e,t,n,r){var o=Lc.unstable_batchedUpdates?function(a){Lc.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 Ds={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function t6(e,t,n,r){var o=s.useRef(null),i=s.useRef([]),a=s.useState(Ds),l=k(a,2),c=l[0],u=l[1],d=function(b){u(Ds),r&&!Gl(Ds,c)&&r({transform:Ds,action:b})},f=function(b,y){o.current===null&&(i.current=[],o.current=It(function(){u(function(S){var m=S;return i.current.forEach(function(g){m=B(B({},m),g)}),o.current=null,r==null||r({transform:m,action:y}),m})})),i.current.push(B(B({},c),b))},v=function(b,y,S,m,g){var h=e.current,C=h.width,$=h.height,w=h.offsetWidth,x=h.offsetHeight,R=h.offsetLeft,O=h.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 Zw(e,t,n,r){var o=Yw(),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({},uy("x",n,e,i)),uy("y",r,t,a))),l}var Ki=1,n6=1;function r6(e,t,n,r,o,i,a){var l=o.rotate,c=o.scale,u=o.x,d=o.y,f=s.useState(!1),v=k(f,2),p=v[0],b=v[1],y=s.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),S=function($){!t||$.button!==0||($.preventDefault(),$.stopPropagation(),y.current={diffX:$.pageX-u,diffY:$.pageY-d,transformX:u,transformY:d},b(!0))},m=function($){n&&p&&i({x:$.pageX-y.current.diffX,y:$.pageY-y.current.diffY},"move")},g=function(){if(n&&p){b(!1);var $=y.current,w=$.transformX,x=$.transformY,R=u!==w&&d!==x;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=Zw(z?I:O,z?O:I,_,P);A&&i(B({},A),"dragRebound")}},h=function($){if(!(!n||$.deltaY==0)){var w=Math.abs($.deltaY/100),x=Math.min(w,n6),R=Ki+x*r;$.deltaY>0&&(R=Ki/R),a(R,"wheel",$.clientX,$.clientY)}};return s.useEffect(function(){var C,$,w,x;if(t){w=Gi(window,"mouseup",g,!1),x=Gi(window,"mousemove",m,!1);try{window.top!==window.self&&(C=Gi(window.top,"mouseup",g,!1),$=Gi(window.top,"mousemove",m,!1))}catch{}}return function(){var R,O,I,M;(R=w)===null||R===void 0||R.remove(),(O=x)===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:m,onMouseUp:g,onWheel:h}}function Yc(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function o6(e,t,n,r){var o=Yc(e,n),i=Yc(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 i6(e,t,n,r,o,i,a){var l=o.rotate,c=o.scale,u=o.x,d=o.y,f=s.useState(!1),v=k(f,2),p=v[0],b=v[1],y=s.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),S=function($){y.current=B(B({},y.current),$)},m=function($){if(t){$.stopPropagation(),b(!0);var w=$.touches,x=w===void 0?[]:w;x.length>1?S({point1:{x:x[0].clientX,y:x[0].clientY},point2:{x:x[1].clientX,y:x[1].clientY},eventType:"touchZoom"}):S({point1:{x:x[0].clientX-u,y:x[0].clientY-d},eventType:"move"})}},g=function($){var w=$.touches,x=w===void 0?[]:w,R=y.current,O=R.point1,I=R.point2,M=R.eventType;if(x.length>1&&M==="touchZoom"){var _={x:x[0].clientX,y:x[0].clientY},P={x:x[1].clientX,y:x[1].clientY},z=o6(O,I,_,P),A=k(z,2),N=A[0],T=A[1],E=Yc(_,P)/Yc(O,I);a(E,"touchZoom",N,T,!0),S({point1:_,point2:P,eventType:"touchZoom"})}else M==="move"&&(i({x:x[0].clientX-O.x,y:x[0].clientY-O.y},"move"),S({eventType:"move"}))},h=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,w=e.current.offsetHeight*c,x=e.current.getBoundingClientRect(),R=x.left,O=x.top,I=l%180!==0,M=Zw(I?w:$,I?$:w,R,O);M&&i(B({},M),"dragRebound")}};return s.useEffect(function(){var C;return n&&t&&(C=Gi(window,"touchmove",function($){return $.preventDefault()},{passive:!1})),function(){var $;($=C)===null||$===void 0||$.remove()}},[n,t]),{isTouching:p,onTouchStart:m,onTouchMove:g,onTouchEnd:h}}var a6=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,v=t.transform,p=t.count,b=t.scale,y=t.minScale,S=t.maxScale,m=t.closeIcon,g=t.onSwitchLeft,h=t.onSwitchRight,C=t.onClose,$=t.onZoomIn,w=t.onZoomOut,x=t.onRotateRight,R=t.onRotateLeft,O=t.onFlipX,I=t.onFlipY,M=t.toolbarRender,_=t.zIndex,P=s.useContext(rs),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:x,type:"rotateRight"},{icon:T,onClick:w,type:"zoomOut",disabled:b<=y},{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:X(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(Hr,{visible:n,motionName:r},function(J){var ee=J.className,ae=J.style;return s.createElement(Au,{open:!0,getContainer:o??document.body},s.createElement("div",{className:X("".concat(i,"-operations-wrapper"),ee,a),style:B(B({},ae),{},{zIndex:_})},m===null?null:s.createElement("button",{className:"".concat(i,"-close"),onClick:C},m||E),u&&s.createElement(s.Fragment,null,s.createElement("div",{className:X("".concat(i,"-switch-left"),D({},"".concat(i,"-switch-left-disabled"),f===0)),onClick:g},L),s.createElement("div",{className:X("".concat(i,"-switch-right"),D({},"".concat(i,"-switch-right-disabled"),f===p-1)),onClick:h},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:x,onZoomOut:w,onZoomIn:$},transform:v},P?{current:f,total:p}:{})):ie)))})},l6=["fallback","src","imgRef"],s6=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],c6=function(t){var n=t.fallback,r=t.src,o=t.imgRef,i=Ze(t,l6),a=Qw({src:r,fallback:n}),l=k(a,2),c=l[0],u=l[1];return q.createElement("img",me({ref:function(f){o.current=f,c(f)}},i,u))},Jw=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,v=t.rootClassName,p=t.closeIcon,b=t.getContainer,y=t.current,S=y===void 0?0:y,m=t.count,g=m===void 0?1:m,h=t.countRender,C=t.scaleStep,$=C===void 0?.5:C,w=t.minScale,x=w===void 0?1:w,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,s6),j=s.useRef(),F=s.useContext(rs),H=F&&g>1,U=F&&g>=1,G=s.useState(!0),K=k(G,2),ie=K[0],J=K[1],ee=t6(j,x,O,T),ae=ee.transform,Q=ee.resetTransform,W=ee.updateTransform,le=ee.dispatchZoomChange,se=r6(j,l,u,$,ae,W,le),ne=se.isMoving,Y=se.onMouseDown,pe=se.onWheel,ve=i6(j,l,u,x,ae,W,le),re=ve.isTouching,Z=ve.onTouchStart,ue=ve.onTouchMove,ce=ve.onTouchEnd,de=ae.rotate,fe=ae.scale,we=X(D({},"".concat(n,"-moving"),ne));s.useEffect(function(){ie||J(!0)},[ie]);var De=function(){Q("close")},Ee=function(){le(Ki+$,"zoomIn")},Xe=function(){le(Ki/(Ki+$),"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")},qe=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}),B6=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({},ii),{padding:`0 ${V(r)}`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},H6=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,v=new jt(n).setAlpha(.1),p=v.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:v.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:v.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}}}}},k6=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}}},V6=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({},tm()),{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({},tm()),{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})},"&":[H6(e),k6(e)]}]},W6=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({},B6(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},tm())}}},U6=e=>{const{previewCls:t}=e;return{[`${t}-root`]:xg(e,"zoom"),"&":AC(e,!0)}},G6=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}),ex=ln("Image",e=>{const t=`${e.componentCls}-preview`,n=Mt(e,{previewCls:t,modalMaskBg:new jt("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[W6(n),V6(n),kC(Mt(n,{componentCls:t})),U6(n)]},G6);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{var{previewPrefixCls:t,preview:n}=e,r=K6(e,["previewPrefixCls","preview"]);const{getPrefixCls:o}=s.useContext(it),i=o("image",t),a=`${i}-preview`,l=o(),c=Yl(i),[u,d,f]=ex(i,c),[v]=zu("ImagePreview",typeof n=="object"?n.zIndex:void 0),p=s.useMemo(()=>{var b;if(n===!1)return n;const y=typeof n=="object"?n:{},S=X(d,f,c,(b=y.rootClassName)!==null&&b!==void 0?b:"");return Object.assign(Object.assign({},y),{transitionName:si(l,"zoom",y.transitionName),maskTransitionName:si(l,"fade",y.maskTransitionName),rootClassName:S,zIndex:v})},[n]);return u(s.createElement(Xu.PreviewGroup,Object.assign({preview:p,previewPrefixCls:a,icons:tx},r)))},q6=X6;var fy=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=fy(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:c,locale:u=No,getPopupContainer:d,image:f}=s.useContext(it),v=c("image",n),p=c(),b=u.Image||No.Image,y=Yl(v),[S,m,g]=ex(v,y),h=X(i,m,g,y),C=X(o,m,f==null?void 0:f.className),[$]=zu("ImagePreview",typeof r=="object"?r.zIndex:void 0),w=s.useMemo(()=>{var R;if(r===!1)return r;const O=typeof r=="object"?r:{},{getContainer:I,closeIcon:M}=O,_=fy(O,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:s.createElement("div",{className:`${v}-mask-info`},s.createElement(z5,null),b==null?void 0:b.preview),icons:tx},_),{getContainer:I??d,transitionName:si(p,"zoom",O.transitionName),maskTransitionName:si(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]),x=Object.assign(Object.assign({},f==null?void 0:f.style),a);return S(s.createElement(Xu,Object.assign({prefixCls:v,preview:w,rootClassName:h,className:C,style:x},l)))};nx.PreviewGroup=q6;const Y6=nx;function Q6(e,t,n){return typeof n=="boolean"?n:e.length?!0:pr(t).some(o=>o.type===Lw)}const Z6=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}}}},J6=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:v,zeroTriggerWidth:p,motionDurationMid:b,motionDurationSlow:y,fontSize:S,borderRadius:m,bodyBg:g,headerBg:h,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:v,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:C,borderStartStartRadius:0,borderStartEndRadius:m,borderEndEndRadius:m,borderEndStartRadius:0,cursor:"pointer",transition:`background ${y} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${y}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(p).mul(-1).equal(),borderStartStartRadius:m,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:m}}}}},Z6(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:l,padding:c,color:u,lineHeight:V(l),background:h,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:r,fontSize:S,background:i},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},ej=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}},rx=ln("Layout",e=>[J6(e)],ej,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var ox=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 Hg=s.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:o,tagName:i}=e,a=ox(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:l}=s.useContext(it),c=l("layout",n),[u,d,f]=rx(c),v=r?`${c}-${r}`:c;return u(s.createElement(i,Object.assign({className:X(n||v,o,d,f),ref:t},a)))}),tj=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,v=ox(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),p=Un(v,["suffixCls"]),{getPrefixCls:b,layout:y}=s.useContext(it),S=b("layout",i),m=Q6(r,c,u),[g,h,C]=rx(S),$=X(S,{[`${S}-has-sider`]:m,[`${S}-rtl`]:n==="rtl"},y==null?void 0:y.className,a,l,h,C),w=s.useMemo(()=>({siderHook:{addSider:x=>{o(R=>[].concat(Te(R),[x]))},removeSider:x=>{o(R=>R.filter(O=>O!==x))}}}),[]);return g(s.createElement(_w.Provider,{value:w},s.createElement(d,Object.assign({ref:t,className:$,style:Object.assign(Object.assign({},y==null?void 0:y.style),f)},p),c)))}),nj=qu({tagName:"div",displayName:"Layout"})(tj),ix=qu({suffixCls:"header",tagName:"header",displayName:"Header"})(Hg),rj=qu({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Hg),oj=qu({suffixCls:"content",tagName:"main",displayName:"Content"})(Hg),Oa=nj;Oa.Header=ix;Oa.Footer=rj;Oa.Content=oj;Oa.Sider=Lw;Oa._InternalSiderContext=zw;const ax=Oa,ij=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},aj=ij;var lj={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 sj=lj;var cj=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:sj}))},uj=s.forwardRef(cj);const vy=uj;var dj={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 fj=dj;var vj=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:fj}))},mj=s.forwardRef(vj);const my=mj;var gj={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:"页码"},pj=["10","20","50","100"],hj=function(t){var n=t.pageSizeOptions,r=n===void 0?pj: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,v=t.disabled,p=t.buildOptionText,b=q.useState(""),y=k(b,2),S=y[0],m=y[1],g=function(){return!S||Number.isNaN(S)?void 0:Number(S)},h=typeof p=="function"?p:function(z){return"".concat(z," ").concat(o.items_per_page)},C=function(A){i==null||i(Number(A))},$=function(A){m(A.target.value)},w=function(A){l||S===""||(m(""),!(A.relatedTarget&&(A.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||A.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(c==null||c(g())))},x=function(A){S!==""&&(A.keyCode===te.ENTER||A.type==="click")&&(m(""),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 q.createElement(d.Option,{key:A,value:z.toString()},h(z))});I=q.createElement(d,{disabled:v,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"?q.createElement("button",{type:"button",onClick:x,onKeyUp:x,disabled:v,className:"".concat(O,"-quick-jumper-button")},o.jump_to_confirm):q.createElement("span",{onClick:x,onKeyUp:x},l)),M=q.createElement("div",{className:"".concat(O,"-quick-jumper")},o.jump_to,q.createElement("input",{disabled:v,type:"text",value:S,onChange:$,onKeyUp:x,onBlur:w,"aria-label":o.page}),o.page,_)),q.createElement("li",{className:O},I,M)},Va=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"),v=X(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(m){u(m,c,o)},y=d(o,"page",q.createElement("a",{rel:"nofollow"},o));return y?q.createElement("li",{title:l?String(o):null,className:v,onClick:p,onKeyDown:b,tabIndex:0},y):null},yj=function(t,n,r){return r};function gy(){}function py(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function Do(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var bj=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,v=t.total,p=v===void 0?0:v,b=t.pageSize,y=t.defaultPageSize,S=y===void 0?10:y,m=t.onChange,g=m===void 0?gy:m,h=t.hideOnSinglePage,C=t.showPrevNextJumpers,$=C===void 0?!0:C,w=t.showQuickJumper,x=t.showLessItems,R=t.showTitle,O=R===void 0?!0:R,I=t.onShowSizeChange,M=I===void 0?gy:I,_=t.locale,P=_===void 0?gj:_,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?yj:H,G=t.jumpPrevIcon,K=t.jumpNextIcon,ie=t.prevIcon,J=t.nextIcon,ee=q.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,Do(void 0,W,p)))}}),ne=k(se,2),Y=ne[0],pe=ne[1],ve=q.useState(Y),re=k(ve,2),Z=re[0],ue=re[1];s.useEffect(function(){ue(Y)},[Y]);var ce=Math.max(1,Y-(x?3:5)),de=Math.min(Do(void 0,W,p),Y+(x?3:5));function fe(He,st){var gt=He||q.createElement("button",{type:"button","aria-label":st,className:"".concat(o,"-item-link")});return typeof He=="function"&&(gt=q.createElement(He,B({},t))),gt}function we(He){var st=He.target.value,gt=Do(void 0,W,p),kt;return st===""?kt=st:Number.isNaN(Number(st))?kt=Z:st>=gt?kt=gt:kt=Number(st),kt}function De(He){return py(He)&&He!==Y&&py(p)&&p>0}var Ee=p>W?w:!1;function Xe(He){(He.keyCode===te.UP||He.keyCode===te.DOWN)&&He.preventDefault()}function Oe(He){var st=we(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(we(He))}function $e(He){var st=Do(He,W,p),gt=Y>st&&st!==0?st:Y;le(He),ue(gt),M==null||M(Y,He),pe(gt),g==null||g(gt,He)}function Ce(He){if(De(He)&&!T){var st=Do(void 0,W,p),gt=He;return He>st?gt=st:He<1&&(gt=1),gt!==Z&&ue(gt),pe(gt),g==null||g(gt,W),gt}return Y}var qe=Y>1,nt=YN;function at(){qe&&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 gt=arguments.length,kt=new Array(gt>2?gt-2:0),mn=2;mnp?p:Y*W])),rt=null,ge=Do(void 0,W,p);if(h&&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]=q.cloneElement(Se[0],{className:X("".concat(o,"-item-after-jump-prev"),Se[0].props.className)}),Se.unshift(be)),ge-Y>=je*2&&Y!==ge-2){var xt=Se[Se.length-1];Se[Se.length-1]=q.cloneElement(xt,{className:X("".concat(o,"-item-before-jump-next"),xt.props.className)}),Se.push(rt)}ot!==1&&Se.unshift(q.createElement(Va,me({},Me,{key:1,page:1}))),wt!==ge&&Se.push(q.createElement(Va,me({},Me,{key:ge,page:ge})))}var sn=Be(Fe);if(sn){var Sn=!qe||!ge;sn=q.createElement("li",{title:O?P.prev_page:null,onClick:at,tabIndex:Sn?null:0,onKeyDown:et,className:X("".concat(o,"-prev"),D({},"".concat(o,"-disabled"),Sn)),"aria-disabled":Sn},sn)}var cn=Le(Ge);if(cn){var Ht,Kn;E?(Ht=!nt,Kn=qe?0:null):(Ht=!nt||!ge,Kn=Ht?null:0),cn=q.createElement("li",{title:O?P.next_page:null,onClick:Ye,tabIndex:Kn,onKeyDown:dt,className:X("".concat(o,"-next"),D({},"".concat(o,"-disabled"),Ht)),"aria-disabled":Ht},cn)}var Xn=X(o,l,(n={},D(n,"".concat(o,"-simple"),E),D(n,"".concat(o,"-disabled"),T),n));return q.createElement("ul",me({className:Xn,style:z,ref:ee},xe),Ke,sn,E?St:Se,cn,q.createElement(hj,{locale:P,rootPrefixCls:o,disabled:T,selectComponentClass:c,selectPrefixCls:a,changeSize:Je?$e:null,pageSize:W,pageSizeOptions:F,quickGo:Ee?Ce:null,goButton:Ot}))};const lx=e=>s.createElement(Hu,Object.assign({},e,{showSearch:!0,size:"small"})),sx=e=>s.createElement(Hu,Object.assign({},e,{showSearch:!0,size:"middle"}));lx.Option=Hu.Option;sx.Option=Hu.Option;const Sj=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"}}}}}},Cj=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({},Dg(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},wj=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"}}}}},xj=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({},Fg(e)),Ag(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},Wu(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},$j=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}}}}},Ej=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:V(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),$j(e)),xj(e)),wj(e)),Cj(e)),Sj(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"}}},Oj=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},ql(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},wv(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},wv(e))}}}},cx=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},Aw(e)),ux=e=>Mt(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"},jw(e)),Rj=ln("Pagination",e=>{const t=ux(e);return[Ej(t),Oj(t)]},cx),Ij=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}}}}},Pj=GS(["Pagination","bordered"],e=>{const t=ux(e);return[Ij(t)]},cx);var Mj=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=Mj(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:v}=vw(u),[,p]=Pn(),{getPrefixCls:b,direction:y,pagination:S={}}=s.useContext(it),m=b("pagination",t),[g,h,C]=Rj(m),$=d??S.showSizeChanger,w=s.useMemo(()=>{const z=s.createElement("span",{className:`${m}-item-ellipsis`},"•••"),A=s.createElement("button",{className:`${m}-item-link`,type:"button",tabIndex:-1},y==="rtl"?s.createElement(jl,null):s.createElement(ha,null)),N=s.createElement("button",{className:`${m}-item-link`,type:"button",tabIndex:-1},y==="rtl"?s.createElement(ha,null):s.createElement(jl,null)),T=s.createElement("a",{className:`${m}-item-link`},s.createElement("div",{className:`${m}-item-container`},y==="rtl"?s.createElement(my,{className:`${m}-item-link-icon`}):s.createElement(vy,{className:`${m}-item-link-icon`}),z)),E=s.createElement("a",{className:`${m}-item-link`},s.createElement("div",{className:`${m}-item-container`},y==="rtl"?s.createElement(vy,{className:`${m}-item-link-icon`}):s.createElement(my,{className:`${m}-item-link-icon`}),z));return{prevIcon:A,nextIcon:N,jumpPrevIcon:T,jumpNextIcon:E}},[y,m]),[x]=cg("Pagination",$S),R=Object.assign(Object.assign({},x),l),O=jo(a),I=O==="small"||!!(v&&!O&&u),M=b("select",n),_=X({[`${m}-mini`]:I,[`${m}-rtl`]:y==="rtl",[`${m}-bordered`]:p.wireframe},S==null?void 0:S.className,r,o,h,C),P=Object.assign(Object.assign({},S==null?void 0:S.style),i);return g(s.createElement(s.Fragment,null,p.wireframe&&s.createElement(Pj,{prefixCls:m}),s.createElement(bj,Object.assign({},w,f,{style:P,prefixCls:m,selectPrefixCls:M,className:_,selectComponentClass:c||(I?lx:sx),locale:R,showSizeChanger:$}))))},Nj=Tj,_j=new bt("antSpinMove",{to:{opacity:1}}),zj=new bt("antRotate",{to:{transform:"rotate(405deg)"}}),Lj=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:_j,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:zj,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"}})}},jj=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},Aj=ln("Spin",e=>{const t=Mt(e,{spinDotDefault:e.colorTextDescription});return[Lj(t)]},jj);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{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,v=Dj(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen"]),{getPrefixCls:p}=s.useContext(it),b=p("spin",t),[y,S,m]=Aj(b),[g,h]=s.useState(()=>n&&!Bj(n,r));s.useEffect(()=>{if(n){const _=JL(r,()=>{h(!0)});return _(),()=>{var P;(P=_==null?void 0:_.cancel)===null||P===void 0||P.call(_)}}h(!1)},[r,n]);const C=s.useMemo(()=>typeof d<"u"&&!f,[d,f]),{direction:$,spin:w}=s.useContext(it),x=X(b,w==null?void 0:w.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,m),R=X(`${b}-container`,{[`${b}-blur`]:g}),O=Un(v,["indicator"]),I=Object.assign(Object.assign({},w==null?void 0:w.style),u),M=s.createElement("div",Object.assign({},O,{style:I,className:x,"aria-live":"polite","aria-busy":g}),Fj(b,e),l&&(C||f)?s.createElement("div",{className:`${b}-text`},l):null);return y(C?s.createElement("div",Object.assign({},O,{className:X(`${b}-nested-loading`,c,S,m)}),g&&s.createElement("div",{key:"loading"},M),s.createElement("div",{className:R,key:"container"},d)):M)};dx.setDefaultIndicator=e=>{uc=e};const Hj=dx,kg=q.createContext({});kg.Consumer;var fx=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=fx(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:l}=s.useContext(it),c=l("list",t),u=X(`${c}-item-meta`,n),d=q.createElement("div",{className:`${c}-item-meta-content`},o&&q.createElement("h4",{className:`${c}-item-meta-title`},o),i&&q.createElement("div",{className:`${c}-item-meta-description`},i));return q.createElement("div",Object.assign({},a,{className:u}),r&&q.createElement("div",{className:`${c}-item-meta-avatar`},r),(o||i)&&d)},Vj=(e,t)=>{var{prefixCls:n,children:r,actions:o,extra:i,className:a,colStyle:l}=e,c=fx(e,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:u,itemLayout:d}=s.useContext(kg),{getPrefixCls:f}=s.useContext(it),v=()=>{let g;return s.Children.forEach(r,h=>{typeof h=="string"&&(g=!0)}),g&&s.Children.count(r)>1},p=()=>d==="vertical"?!!i:!v(),b=f("list",n),y=o&&o.length>0&&q.createElement("ul",{className:`${b}-item-action`,key:"actions"},o.map((g,h)=>q.createElement("li",{key:`${b}-item-action-${h}`},g,h!==o.length-1&&q.createElement("em",{className:`${b}-item-action-split`})))),S=u?"div":"li",m=q.createElement(S,Object.assign({},c,u?{}:{ref:t},{className:X(`${b}-item`,{[`${b}-item-no-flex`]:!p()},a)}),d==="vertical"&&i?[q.createElement("div",{className:`${b}-item-main`,key:"content"},r,y),q.createElement("div",{className:`${b}-item-extra`,key:"extra"},i)]:[r,y,li(i,{key:"extra"})]);return u?q.createElement(f5,{ref:t,flex:1,style:l},m):m},vx=s.forwardRef(Vj);vx.Meta=kj;const Wj=vx,Uj=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}}}},Gj=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)}`}}}}}},Kj=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:v,margin:p,colorText:b,colorTextDescription:y,motionDurationSlow:S,lineWidth:m,headerBg:g,footerBg:h,emptyTextPadding:C,metaMarginBottom:$,avatarMarginRight:w,titleMarginBottom:x,descriptionFontSize:R}=e,O={};return["start","center","end"].forEach(I=>{O[`&-align-${I}`]={textAlign:I}}),{[`${t}`]:Object.assign(Object.assign({},Gn(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:g},[`${t}-footer`]:{background:h},[`${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:w},[`${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:y,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(v)}`,color:y,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:m,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:y,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:x,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"}}}}},Xj=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}),qj=ln("List",e=>{const t=Mt(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Kj(t),Uj(t),Gj(t)]},Xj);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(de,fe)=>{var we;R(de),I(fe),n&&n[ce]&&((we=n==null?void 0:n[ce])===null||we===void 0||we.call(n,de,fe))},T=N("onChange"),E=N("onShowSizeChange"),L=(ce,de)=>{if(!h)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},h(ce,de))},j=()=>!!(f||n||S),F=M("list",r),[H,U,G]=qj(F);let K=m;typeof K=="boolean"&&(K={spinning:K});const ie=K&&K.spinning,J=jo(b);let ee="";switch(J){case"large":ee="lg";break;case"small":ee="sm";break}const ae=X(F,{[`${F}-vertical`]:d==="vertical",[`${F}-${ee}`]:ee,[`${F}-split`]:i,[`${F}-bordered`]:o,[`${F}-loading`]:ie,[`${F}-grid`]:!!v,[`${F}-something-after-last-item`]:j(),[`${F}-rtl`]:P==="rtl"},z==null?void 0:z.className,a,l,U,G),Q=aj(A,{total:p.length,current:x,pageSize:O},n||{}),W=Math.ceil(Q.total/Q.pageSize);Q.current>W&&(Q.current=W);const le=n?s.createElement("div",{className:X(`${F}-pagination`,`${F}-pagination-align-${(t=Q==null?void 0:Q.align)!==null&&t!==void 0?t:"end"}`)},s.createElement(Nj,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(v||{}).some(ce=>["xs","sm","md","lg","xl","xxl"].includes(ce)),Y=vw(ne),pe=s.useMemo(()=>{for(let ce=0;ce{if(!v)return;const ce=pe&&v[pe]?v[pe]:v.column;if(ce)return{width:`${100/ce}%`,maxWidth:`${100/ce}%`}},[v==null?void 0:v.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=v?s.createElement(g5,{gutter:v.gutter},s.Children.map(ce,de=>s.createElement("div",{key:de==null?void 0:de.key,style:ve},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(aw,{componentName:"List"})));const Z=Q.position||"bottom",ue=s.useMemo(()=>({grid:v,itemLayout:d}),[JSON.stringify(v),d]);return H(s.createElement(kg.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,y&&s.createElement("div",{className:`${F}-header`},y),s.createElement(Hj,Object.assign({},K),re,u),S&&s.createElement("div",{className:`${F}-footer`},S),f||(Z==="bottom"||Z==="both")&&le)))}Dl.Item=Wj;const Qj=e=>{const t=e!=null&&e.algorithm?Pl(e.algorithm):Pl(Kl),n=Object.assign(Object.assign({},ga),e==null?void 0:e.token);return lS(n,{override:e==null?void 0:e.token},t,dg)},Zj=Qj;function Jj(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 e8=(e,t)=>{const n=t??Kl(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),Jj(t??e)),TS(r)),{controlHeight:o}),PS(Object.assign(Object.assign({},n),{controlHeight:o})))},t8=e8,Ur=(e,t)=>new jt(e).setAlpha(t).toRgbString(),Pi=(e,t)=>new jt(e).lighten(t).toHexString(),n8=e=>{const t=ro(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]}},r8=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Ur(r,.85),colorTextSecondary:Ur(r,.65),colorTextTertiary:Ur(r,.45),colorTextQuaternary:Ur(r,.25),colorFill:Ur(r,.18),colorFillSecondary:Ur(r,.12),colorFillTertiary:Ur(r,.08),colorFillQuaternary:Ur(r,.04),colorBgElevated:Pi(n,12),colorBgContainer:Pi(n,8),colorBgLayout:Pi(n,0),colorBgSpotlight:Pi(n,26),colorBgBlur:Ur(r,.04),colorBorder:Pi(n,26),colorBorderSecondary:Pi(n,19)}},o8=(e,t)=>{const n=Object.keys(ug).map(o=>{const i=ro(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??Kl(e);return Object.assign(Object.assign(Object.assign({},r),n),MS(e,{generateColorPalettes:n8,generateNeutralColorPalettes:r8}))},i8=o8;function a8(){const[e,t,n]=Pn();return{theme:e,token:t,hashId:n}}const l8={defaultConfig:Nl,defaultSeed:Nl.token,useToken:a8,defaultAlgorithm:Kl,darkAlgorithm:i8,compactAlgorithm:t8,getDesignToken:Zj};var s8=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=s8(e,["style","noStyle","disabled"]);let c={};return i||(c=Object.assign({},c8)),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}))}),mx=u8;var d8={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 f8=d8;var v8=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:f8}))},m8=s.forwardRef(v8);const g8=m8;var p8=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=hy[t.format]||hy.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=b8("message"in t?t.message:y8),window.prompt(r,e)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(i):a.removeAllRanges()),l&&document.body.removeChild(l),o()}return c}var C8=S8;const w8=Qc(C8);var x8={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 $8=x8;var E8=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:$8}))},O8=s.forwardRef(E8);const R8=O8,I8=(e,t,n,r)=>{const{titleMarginBottom:o,fontWeightStrong:i}=r;return{marginBottom:o,color:n,fontWeight:i,fontSize:e,lineHeight:t}},P8=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} + `]=I8(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},M8=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},DS(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"}}})}},T8=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:aR[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}}),N8=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"}}}},_8=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),z8=()=>({"\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"}}),L8=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"}},P8(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}}}),T8(e)),M8(e)),{[` + ${t}-expand, + ${t}-edit, + ${t}-copy + `]:Object.assign(Object.assign({},DS(e)),{marginInlineStart:e.marginXXS})}),N8(e)),_8(e)),z8()),{"&-rtl":{direction:"rtl"}})}},j8=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),gx=ln("Typography",e=>[L8(e)],j8),A8=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:v,enterIcon:p=s.createElement(R8,null)}=e,b=s.useRef(null),y=s.useRef(!1),S=s.useRef(),[m,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 h=A=>{let{target:N}=A;g(N.value.replace(/[\n\r]/g,""))},C=()=>{y.current=!0},$=()=>{y.current=!1},w=A=>{let{keyCode:N}=A;y.current||(S.current=N)},x=()=>{u(m.trim())},R=A=>{let{keyCode:N,ctrlKey:T,altKey:E,metaKey:L,shiftKey:j}=A;S.current===N&&!y.current&&!T&&!E&&!L&&!j&&(N===te.ENTER?(x(),f==null||f()):N===te.ESC&&d())},O=()=>{x()},I=v?`${t}-${v}`:"",[M,_,P]=gx(t),z=X(t,`${t}-edit-content`,{[`${t}-rtl`]:i==="rtl"},r,I,_,P);return M(s.createElement("div",{className:z,style:o},s.createElement(U5,{ref:b,maxLength:a,value:m,onChange:h,onKeyDown:w,onKeyUp:R,onCompositionStart:C,onCompositionEnd:$,onBlur:O,"aria-label":n,rows:1,autoSize:l}),p!==null?li(p,{className:`${t}-edit-content-confirm`}):null))},D8=A8;function af(e,t){return s.useMemo(()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&typeof e=="object"?e:null)]},[e])}const F8=(e,t)=>{const n=s.useRef(!1);s.useEffect(()=>{n.current?e():n.current=!0},t)};var B8=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=B8(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:v,typography:p}=s.useContext(it),b=c??v;let y=t;a&&(y=ao(t,a));const S=f("typography",n),[m,g,h]=gx(S),C=X(S,p==null?void 0:p.className,{[`${S}-rtl`]:b==="rtl"},o,i,g,h),$=Object.assign(Object.assign({},p==null?void 0:p.style),u);return m(s.createElement(r,Object.assign({className:C,style:$,ref:y},d),l))}),px=H8;var k8={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 V8=k8;var W8=function(t,n){return s.createElement(Gt,me({},t,{ref:n,icon:V8}))},U8=s.forwardRef(W8);const G8=U8;function yy(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function Fs(e,t,n){return e===!0||e===void 0?t:e||n&&t}function K8(e){const{prefixCls:t,copied:n,locale:r={},onCopy:o,iconOnly:i,tooltips:a,icon:l}=e,c=yy(a),u=yy(l),{copied:d,copy:f}=r,v=n?Fs(c[1],d):Fs(c[0],f),b=typeof v=="string"?v:n?d:f;return s.createElement(Mg,{key:"copy",title:v},s.createElement(mx,{className:X(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:i}),onClick:o,"aria-label":b},n?Fs(u[1],s.createElement(uw,null),!0):Fs(u[0],s.createElement(G8,null),!0)))}const Bs=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 hx(e){const t=typeof e;return t==="string"||t==="number"}function X8(e){let t=0;return e.forEach(n=>{hx(n)?t+=String(n).length:t+=1}),t}function by(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 lf=0,sf=1,cf=2,Sy=3,Hs={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function q8(e){const{enableMeasure:t,width:n,text:r,children:o,rows:i,miscDeps:a,onEllipsis:l}=e,c=s.useMemo(()=>pr(r),[r]),u=s.useMemo(()=>X8(c),[r]),d=s.useMemo(()=>o(c,!1,!1),[r]),[f,v]=s.useState(null),p=s.useRef(null),b=s.useRef(null),y=s.useRef(null),S=s.useRef(null),[m,g]=s.useState(lf),[h,C]=s.useState(0);Rt(()=>{g(t&&n&&u?sf:lf)},[n,r,i,t,c]),Rt(()=>{var R,O,I,M;if(m===sf){const _=!!(!((R=b.current)===null||R===void 0)&&R.isExceed());g(_?cf:Sy),v(_?[0,u]:null);const P=((O=b.current)===null||O===void 0?void 0:O.getHeight())||0,z=i===1?0:((I=y.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(_)}},[m]);const $=f?Math.ceil((f[0]+f[1])/2):0;Rt(()=>{var R;const[O,I]=f||[0,0];if(O!==I){const _=(((R=p.current)===null||R===void 0?void 0:R.getHeight())||0)>h;let P=$;I-O===1&&(P=_?O:I),v(_?[O,P]:[P,I])}},[f,$]);const w=s.useMemo(()=>{if(m!==cf||!f||f[0]!==f[1]){const R=o(c,!1,!1);return m!==Sy&&m!==lf?s.createElement("span",{style:Object.assign(Object.assign({},Hs),{WebkitLineClamp:i})},R):R}return o(by(c,f[0]),!0,!0)},[m,f,c].concat(Te(a))),x={width:n,whiteSpace:"normal",margin:0,padding:0};return s.createElement(s.Fragment,null,w,m===sf&&s.createElement(s.Fragment,null,s.createElement(Bs,{style:Object.assign(Object.assign(Object.assign({},x),Hs),{WebkitLineClamp:i}),ref:b},d),s.createElement(Bs,{style:Object.assign(Object.assign(Object.assign({},x),Hs),{WebkitLineClamp:i-1}),ref:y},d),s.createElement(Bs,{style:Object.assign(Object.assign(Object.assign({},x),Hs),{WebkitLineClamp:1}),ref:S},o([],!0,!0))),m===cf&&f&&f[0]!==f[1]&&s.createElement(Bs,{style:Object.assign(Object.assign({},x),{top:400}),ref:p},o(by(c,$),!0,!0)))}const Y8=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:o}=e;return!(o!=null&&o.title)||!t?r:s.createElement(Mg,Object.assign({open:n?void 0:!1},o),r)},Q8=Y8;var Z8=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:v,copyable:p,component:b,title:y}=e,S=Z8(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:m,direction:g}=s.useContext(it),[h]=cg("Text"),C=s.useRef(null),$=s.useRef(null),w=m("typography",i),x=Un(S,["mark","code","delete","underline","strong","keyboard","italic"]),[R,O]=af(v),[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)};F8(()=>{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]=af(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(),w8(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),[ve,re]=af(f,{expandable:!1}),Z=ve&&!ae,{rows:ue=1}=re,ce=s.useMemo(()=>!Z||re.suffix!==void 0||re.onEllipsis||re.expandable||R||T,[Z,re,R,T]);Rt(()=>{ve&&!ce&&(ie(Zh("webkitLineClamp")),ee(Zh("textOverflow")))},[ce,ve]);const de=s.useMemo(()=>ce?!1:ue===1?J:K,[ce,J,K]),fe=Z&&(de?se:W),we=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)},[Xe,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(ve&&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 qe=s.useMemo(()=>{const oe=Re=>["string","number"].includes(typeof Re);if(!(!ve||de)){if(oe(O.text))return O.text;if(oe(d))return d;if(oe(y))return y;if(oe(Ce.title))return Ce.title}},[ve,de,y,Ce.title,fe]);if(I)return s.createElement(D8,{value:(o=O.text)!==null&&o!==void 0?o:typeof d=="string"?d:"",onSave:A,onCancel:N,onEnd:O.onEnd,prefixCls:w,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=h==null?void 0:h.expand,s.createElement("a",{key:"expand",className:`${w}-expand`,onClick:Ee,"aria-label":h==null?void 0:h.expand},et)},Je=()=>{if(!R)return;const{icon:oe,tooltip:Re}=O,et=pr(Re)[0]||(h==null?void 0:h.edit),dt=typeof et=="string"?et:"";return _.includes("icon")?s.createElement(Mg,{key:"edit",title:Re===!1?"":et},s.createElement(mx,{ref:$,className:`${w}-edit`,onClick:z,"aria-label":dt},oe||s.createElement(g8,{role:"button"}))):null},at=()=>T?s.createElement(K8,Object.assign({key:"copy"},E,{prefixCls:w,copied:L,locale:h,onCopy:G,iconOnly:d==null})):null,Ye=oe=>[oe&&nt(),Je(),at()],We=oe=>[oe&&s.createElement("span",{"aria-hidden":!0,key:"ellipsis"},eA),re.suffix,Ye(oe)];return s.createElement(vr,{onResize:ye,disabled:!Z},oe=>s.createElement(Q8,{tooltipProps:Ce,enableEllipsis:Z,isEllipsis:fe},s.createElement(px,Object.assign({className:X({[`${w}-${c}`]:c,[`${w}-disabled`]:u,[`${w}-ellipsis`]:ve,[`${w}-single-line`]:Z&&ue===1,[`${w}-ellipsis-single-line`]:we,[`${w}-ellipsis-multiple-line`]:De},a),prefixCls:i,style:Object.assign(Object.assign({},l),{WebkitLineClamp:De?ue:void 0}),component:b,ref:ao(oe,C,t),direction:g,onClick:_.includes("text")?z:void 0,"aria-label":qe==null?void 0:qe.toString(),title:y},x),s.createElement(q8,{enableMeasure:Z&&!de,text:d,rows:ue,width:Xe,onEllipsis:$e,miscDeps:[L,ae]},(Re,et)=>{let dt=Re;return Re.length&&et&&qe&&(dt=s.createElement("span",{key:"show-content","aria-hidden":!0},dt)),J8(e,s.createElement(s.Fragment,null,dt,We(et)))}))))}),Yu=tA;var nA=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=nA(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(Yu,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),oA=rA,iA=s.forwardRef((e,t)=>s.createElement(Yu,Object.assign({ref:t},e,{component:"div"}))),aA=iA;var lA=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=lA(e,["ellipsis"]);const o=s.useMemo(()=>n&&typeof n=="object"?Un(n,["expandable","rows"]):n,[n]);return s.createElement(Yu,Object.assign({ref:t},r,{ellipsis:o,component:"span"}))},cA=s.forwardRef(sA);var uA=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=uA(e,["level"]);let o;return dA.includes(n)?o=`h${n}`:o="h1",s.createElement(Yu,Object.assign({ref:t},r,{component:o}))}),vA=fA,os=px;os.Text=cA;os.Link=oA;os.Title=vA;os.Paragraph=aA;const Vg=os,mA=({item:e})=>zt.jsxs(zt.Fragment,{children:[zt.jsx(Dl,{dataSource:e.content,header:zt.jsx(Vg.Title,{level:3,children:e.label}),renderItem:t=>zt.jsx(Dl.Item,{children:t})}),zt.jsx(Y6,{src:e.media}),zt.jsx(C5,{})]}),gA=({items:e,onSelect:t})=>zt.jsx(Dl,{grid:{gutter:24},dataSource:e,renderItem:n=>{var r;return zt.jsx(Dl.Item,{children:zt.jsx(ny,{style:{maxWidth:"420px"},onClick:()=>t(n),hoverable:!0,cover:(n==null?void 0:n.media)&&zt.jsx("img",{alt:`${n.key}-image`,src:n.media}),children:zt.jsx(ny.Meta,{title:n.label,description:zt.jsx(Vg.Text,{ellipsis:!0,children:(r=n==null?void 0:n.content)==null?void 0:r[0]})})})})}}),pA=[{label:"Que es el dengue?",description:"El dengue es una enfermedad causada por un virus...",key:"que-es",media:"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:"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:"https://cmsphoto.ww-cdn.com/superstatic/3746339/art/grande/79011051-57286104.jpg",key:"signos-de-alarma"},{label:"Fases de la enfermedad",media:"https://cmsphoto.ww-cdn.com/superstatic/3746339/art/grande/79011175-57286206.jpg",key:"fases"},{label:"Prevención",key:"prevención",children:[{label:"Cómo protegernos de la picadura del mosquito",key:"como-proteger"},{label:"Cómo podemos prevenir el dengue",key:"compo-prevenir"}]},{label:"¿Qué medidas tomar en casa?",key:"medidas"},{label:"Centros de contacto",key:"contacto"}],{Content:hA}=ax,{Title:yA}=Vg,bA=()=>{const e=pA,{token:{colorBgContainer:t,borderRadiusLG:n}}=l8.useToken(),[r,o]=s.useState(null);return console.log({selectedPage:r}),zt.jsxs(ax,{style:{minHeight:"100vh"},children:[zt.jsx(ix,{style:{display:"flex",alignItems:"center",width:"100%",gap:"1rem"},children:zt.jsxs(Q5,{children:[r&&zt.jsx(eM,{style:{verticalAlign:"middle",marginTop:"8px"},icon:zt.jsx(ha,{style:{color:"white"}}),type:"text",onClick:()=>o(null)}),zt.jsx(yA,{style:{color:"white"},children:"Dengue"})]})}),zt.jsx(hA,{style:{padding:"2rem 1rem"},children:zt.jsx("div",{style:{background:t,borderRadius:n},children:zt.jsx("div",{style:{padding:"2rem",display:"flex",flexWrap:"wrap",gap:"1.5rem",justifyContent:"center",minHeight:"600px"},children:r?zt.jsx(mA,{item:r}):zt.jsx(gA,{items:e,onSelect:o})})})})]})},SA=()=>zt.jsx(oC,{theme:{token:{},components:{Layout:{headerBg:"#23b9ca",headerPadding:"1rem"},Menu:{}}},children:zt.jsx(bA,{})});L1(document.getElementById("root")).render(zt.jsx(s.StrictMode,{children:zt.jsx(SA,{})})); diff --git a/assets/index-DnBjq_z4.css b/assets/index-DnBjq_z4.css new file mode 100644 index 0000000..2fd4e31 --- /dev/null +++ b/assets/index-DnBjq_z4.css @@ -0,0 +1 @@ +.ant-card-cover img{overflow:hidden}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}} diff --git a/index.html b/index.html new file mode 100644 index 0000000..561dc43 --- /dev/null +++ b/index.html @@ -0,0 +1,17 @@ + + + + + + + + Vite + React + TS + + + + + +
+ + + \ No newline at end of file diff --git a/vite.svg b/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file