var Kk=Object.create;var GS=Object.defineProperty;var Gk=Object.getOwnPropertyDescriptor;var qk=Object.getOwnPropertyNames;var Xk=Object.getPrototypeOf,Qk=Object.prototype.hasOwnProperty;var wt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Yk=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of qk(t))!Qk.call(e,o)&&o!==r&&GS(e,o,{get:()=>t[o],enumerable:!(n=Gk(t,o))||n.enumerable});return e};var R=(e,t,r)=>(r=e!=null?Kk(Xk(e)):{},Yk(t||!e||!e.__esModule?GS(r,"default",{value:e,enumerable:!0}):r,e));var a1=wt(He=>{"use strict";var Du=Symbol.for("react.element"),Zk=Symbol.for("react.portal"),Jk=Symbol.for("react.fragment"),eA=Symbol.for("react.strict_mode"),tA=Symbol.for("react.profiler"),rA=Symbol.for("react.provider"),nA=Symbol.for("react.context"),oA=Symbol.for("react.forward_ref"),aA=Symbol.for("react.suspense"),iA=Symbol.for("react.memo"),lA=Symbol.for("react.lazy"),qS=Symbol.iterator;function sA(e){return e===null||typeof e!="object"?null:(e=qS&&e[qS]||e["@@iterator"],typeof e=="function"?e:null)}var YS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ZS=Object.assign,JS={};function Gl(e,t,r){this.props=e,this.context=t,this.refs=JS,this.updater=r||YS}Gl.prototype.isReactComponent={};Gl.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")};Gl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function e1(){}e1.prototype=Gl.prototype;function gh(e,t,r){this.props=e,this.context=t,this.refs=JS,this.updater=r||YS}var hh=gh.prototype=new e1;hh.constructor=gh;ZS(hh,Gl.prototype);hh.isPureReactComponent=!0;var XS=Array.isArray,t1=Object.prototype.hasOwnProperty,yh={current:null},r1={key:!0,ref:!0,__self:!0,__source:!0};function n1(e,t,r){var n,o={},a=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)t1.call(t,n)&&!r1.hasOwnProperty(n)&&(o[n]=t[n]);var l=arguments.length-2;if(l===1)o.children=r;else if(1{"use strict";i1.exports=a1()});var g1=wt(Et=>{"use strict";function wh(e,t){var r=e.length;e.push(t);e:for(;0>>1,o=e[n];if(0>>1;nQf(l,r))sQf(u,l)?(e[n]=u,e[s]=r,n=s):(e[n]=l,e[i]=r,n=i);else if(sQf(u,r))e[n]=u,e[s]=r,n=s;else break e}}return t}function Qf(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(l1=performance,Et.unstable_now=function(){return l1.now()}):(bh=Date,s1=bh.now(),Et.unstable_now=function(){return bh.now()-s1});var l1,bh,s1,Mo=[],ja=[],mA=1,Bn=null,Dr=3,Jf=!1,Gi=!1,ju=!1,f1=typeof setTimeout=="function"?setTimeout:null,d1=typeof clearTimeout=="function"?clearTimeout:null,u1=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Eh(e){for(var t=co(ja);t!==null;){if(t.callback===null)Zf(ja);else if(t.startTime<=e)Zf(ja),t.sortIndex=t.expirationTime,wh(Mo,t);else break;t=co(ja)}}function Rh(e){if(ju=!1,Eh(e),!Gi)if(co(Mo)!==null)Gi=!0,_h(Oh);else{var t=co(ja);t!==null&&Th(Rh,t.startTime-e)}}function Oh(e,t){Gi=!1,ju&&(ju=!1,d1(Bu),Bu=-1),Jf=!0;var r=Dr;try{for(Eh(t),Bn=co(Mo);Bn!==null&&(!(Bn.expirationTime>t)||e&&!v1());){var n=Bn.callback;if(typeof n=="function"){Bn.callback=null,Dr=Bn.priorityLevel;var o=n(Bn.expirationTime<=t);t=Et.unstable_now(),typeof o=="function"?Bn.callback=o:Bn===co(Mo)&&Zf(Mo),Eh(t)}else Zf(Mo);Bn=co(Mo)}if(Bn!==null)var a=!0;else{var i=co(ja);i!==null&&Th(Rh,i.startTime-t),a=!1}return a}finally{Bn=null,Dr=r,Jf=!1}}var ed=!1,Yf=null,Bu=-1,m1=5,p1=-1;function v1(){return!(Et.unstable_now()-p1e||125n?(e.sortIndex=r,wh(ja,e),co(Mo)===null&&e===co(ja)&&(ju?(d1(Bu),Bu=-1):ju=!0,Th(Rh,r-n))):(e.sortIndex=o,wh(Mo,e),Gi||Jf||(Gi=!0,_h(Oh))),e};Et.unstable_shouldYield=v1;Et.unstable_wrapCallback=function(e){var t=Dr;return function(){var r=Dr;Dr=t;try{return e.apply(this,arguments)}finally{Dr=r}}}});var y1=wt((TH,h1)=>{"use strict";h1.exports=g1()});var SR=wt(Rn=>{"use strict";var pA=P(),wn=y1();function X(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yh=Object.prototype.hasOwnProperty,vA=/^[: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]*$/,x1={},b1={};function gA(e){return Yh.call(b1,e)?!0:Yh.call(x1,e)?!1:vA.test(e)?b1[e]=!0:(x1[e]=!0,!1)}function hA(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function yA(e,t,r,n){if(t===null||typeof t>"u"||hA(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.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 en(e,t,r,n,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var $r={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$r[e]=new en(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$r[t]=new en(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$r[e]=new en(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$r[e]=new en(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){$r[e]=new en(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$r[e]=new en(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$r[e]=new en(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$r[e]=new en(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$r[e]=new en(e,5,!1,e.toLowerCase(),null,!1,!1)});var H0=/[\-:]([a-z])/g;function W0(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(H0,W0);$r[t]=new en(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(H0,W0);$r[t]=new en(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(H0,W0);$r[t]=new en(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$r[e]=new en(e,1,!1,e.toLowerCase(),null,!1,!1)});$r.xlinkHref=new en("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$r[e]=new en(e,1,!1,e.toLowerCase(),null,!0,!0)});function U0(e,t,r,n){var o=$r.hasOwnProperty(t)?$r[t]:null;(o!==null?o.type!==0:n||!(2l||o[i]!==a[l]){var s=` `+o[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=l);break}}}finally{$h=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Qu(e):""}function xA(e){switch(e.tag){case 5:return Qu(e.type);case 16:return Qu("Lazy");case 13:return Qu("Suspense");case 19:return Qu("SuspenseList");case 0:case 2:case 15:return e=Nh(e.type,!1),e;case 11:return e=Nh(e.type.render,!1),e;case 1:return e=Nh(e.type,!0),e;default:return""}}function t0(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 Yl:return"Fragment";case Ql:return"Portal";case Zh:return"Profiler";case K0:return"StrictMode";case Jh:return"Suspense";case e0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _w:return(e.displayName||"Context")+".Consumer";case Ow:return(e._context.displayName||"Context")+".Provider";case G0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case q0:return t=e.displayName||null,t!==null?t:t0(e.type)||"Memo";case Va:t=e._payload,e=e._init;try{return t0(e(t))}catch{}}return null}function bA(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 t0(t);case 8:return t===K0?"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 ri(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pw(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function CA(e){var t=Pw(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){n=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function rd(e){e._valueTracker||(e._valueTracker=CA(e))}function $w(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Pw(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function $d(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 r0(e,t){var r=t.checked;return Ht({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function S1(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ri(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Nw(e,t){t=t.checked,t!=null&&U0(e,"checked",t,!1)}function n0(e,t){Nw(e,t);var r=ri(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?o0(e,t.type,r):t.hasOwnProperty("defaultValue")&&o0(e,t.type,ri(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function w1(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function o0(e,t,r){(t!=="number"||$d(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Yu=Array.isArray;function ss(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=nd.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function cc(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var ec={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},SA=["Webkit","ms","Moz","O"];Object.keys(ec).forEach(function(e){SA.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ec[t]=ec[e]})});function Aw(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||ec.hasOwnProperty(e)&&ec[e]?(""+t).trim():t+"px"}function Fw(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=Aw(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var wA=Ht({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 l0(e,t){if(t){if(wA[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(X(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(X(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(X(61))}if(t.style!=null&&typeof t.style!="object")throw Error(X(62))}}function s0(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 u0=null;function X0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var c0=null,us=null,cs=null;function O1(e){if(e=Tc(e)){if(typeof c0!="function")throw Error(X(280));var t=e.stateNode;t&&(t=om(t),c0(e.stateNode,e.type,t))}}function Lw(e){us?cs?cs.push(e):cs=[e]:us=e}function Dw(){if(us){var e=us,t=cs;if(cs=us=null,O1(e),t)for(e=0;e>>=0,e===0?32:31-(kA(e)/AA|0)|0}var od=64,ad=4194304;function Zu(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 kd(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,i=r&268435455;if(i!==0){var l=i&~o;l!==0?n=Zu(l):(a&=i,a!==0&&(n=Zu(a)))}else i=r&~o,i!==0?n=Zu(i):a!==0&&(n=Zu(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Oc(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-go(t),e[t]=r}function zA(e,t){var r=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 n=e.eventTimes;for(e=e.expirationTimes;0=rc),A1=" ",F1=!1;function oE(e,t){switch(e){case"keyup":return mF.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function aE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zl=!1;function vF(e,t){switch(e){case"compositionend":return aE(t);case"keypress":return t.which!==32?null:(F1=!0,A1);case"textInput":return e=t.data,e===A1&&F1?null:e;default:return null}}function gF(e,t){if(Zl)return e==="compositionend"||!ny&&oE(e,t)?(e=rE(),Cd=ey=Ka=null,Zl=!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:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=z1(r)}}function uE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?uE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cE(){for(var e=window,t=$d();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=$d(e.document)}return t}function oy(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 RF(e){var t=cE(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&uE(r.ownerDocument.documentElement,r)){if(n!==null&&oy(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=n.end===void 0?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=j1(r,a);var i=j1(r,n);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Jl=null,g0=null,oc=null,h0=!1;function B1(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;h0||Jl==null||Jl!==$d(n)||(n=Jl,"selectionStart"in n&&oy(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),oc&&gc(oc,n)||(oc=n,n=Ld(g0,"onSelect"),0rs||(e.current=w0[rs],w0[rs]=null,rs--)}function Rt(e,t){rs++,w0[rs]=e.current,e.current=t}var ni={},Vr=ai(ni),cn=ai(!1),tl=ni;function vs(e,t){var r=e.type.contextTypes;if(!r)return ni;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function fn(e){return e=e.childContextTypes,e!=null}function zd(){Nt(cn),Nt(Vr)}function Q1(e,t,r){if(Vr.current!==ni)throw Error(X(168));Rt(Vr,t),Rt(cn,r)}function xE(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(X(108,bA(e)||"Unknown",o));return Ht({},r,n)}function jd(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ni,tl=Vr.current,Rt(Vr,e),Rt(cn,cn.current),!0}function Y1(e,t,r){var n=e.stateNode;if(!n)throw Error(X(169));r?(e=xE(e,t,tl),n.__reactInternalMemoizedMergedChildContext=e,Nt(cn),Nt(Vr),Rt(Vr,e)):Nt(cn),Rt(cn,r)}var oa=null,am=!1,Vh=!1;function bE(e){oa===null?oa=[e]:oa.push(e)}function AF(e){am=!0,bE(e)}function ii(){if(!Vh&&oa!==null){Vh=!0;var e=0,t=dt;try{var r=oa;for(dt=1;e>=i,o-=i,aa=1<<32-go(t)+o|r<w?(O=E,E=null):O=E.sibling;var _=d(p,E,g[w],b);if(_===null){E===null&&(E=O);break}e&&E&&_.alternate===null&&t(p,E),m=a(_,m,w),S===null?C=_:S.sibling=_,S=_,E=O}if(w===g.length)return r(p,E),zt&&qi(p,w),C;if(E===null){for(;ww?(O=E,E=null):O=E.sibling;var N=d(p,E,_.value,b);if(N===null){E===null&&(E=O);break}e&&E&&N.alternate===null&&t(p,E),m=a(N,m,w),S===null?C=N:S.sibling=N,S=N,E=O}if(_.done)return r(p,E),zt&&qi(p,w),C;if(E===null){for(;!_.done;w++,_=g.next())_=f(p,_.value,b),_!==null&&(m=a(_,m,w),S===null?C=_:S.sibling=_,S=_);return zt&&qi(p,w),C}for(E=n(p,E);!_.done;w++,_=g.next())_=v(E,p,w,_.value,b),_!==null&&(e&&_.alternate!==null&&E.delete(_.key===null?w:_.key),m=a(_,m,w),S===null?C=_:S.sibling=_,S=_);return e&&E.forEach(function(I){return t(p,I)}),zt&&qi(p,w),C}function x(p,m,g,b){if(typeof g=="object"&&g!==null&&g.type===Yl&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case td:e:{for(var C=g.key,S=m;S!==null;){if(S.key===C){if(C=g.type,C===Yl){if(S.tag===7){r(p,S.sibling),m=o(S,g.props.children),m.return=p,p=m;break e}}else if(S.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Va&&ew(C)===S.type){r(p,S.sibling),m=o(S,g.props),m.ref=Ku(p,S,g),m.return=p,p=m;break e}r(p,S);break}else t(p,S);S=S.sibling}g.type===Yl?(m=el(g.props.children,p.mode,b,g.key),m.return=p,p=m):(b=Pd(g.type,g.key,g.props,null,p.mode,b),b.ref=Ku(p,m,g),b.return=p,p=b)}return i(p);case Ql:e:{for(S=g.key;m!==null;){if(m.key===S)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){r(p,m.sibling),m=o(m,g.children||[]),m.return=p,p=m;break e}else{r(p,m);break}else t(p,m);m=m.sibling}m=Qh(g,p.mode,b),m.return=p,p=m}return i(p);case Va:return S=g._init,x(p,m,S(g._payload),b)}if(Yu(g))return y(p,m,g,b);if(Vu(g))return h(p,m,g,b);gd(p,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,m!==null&&m.tag===6?(r(p,m.sibling),m=o(m,g),m.return=p,p=m):(r(p,m),m=Xh(g,p.mode,b),m.return=p,p=m),i(p)):r(p,m)}return x}var hs=EE(!0),RE=EE(!1),Hd=ai(null),Wd=null,as=null,sy=null;function uy(){sy=as=Wd=null}function cy(e){var t=Hd.current;Nt(Hd),e._currentValue=t}function O0(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function ds(e,t){Wd=e,sy=as=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(un=!0),e.firstContext=null)}function Kn(e){var t=e._currentValue;if(sy!==e)if(e={context:e,memoizedValue:t,next:null},as===null){if(Wd===null)throw Error(X(308));as=e,Wd.dependencies={lanes:0,firstContext:e}}else as=as.next=e;return t}var Yi=null;function fy(e){Yi===null?Yi=[e]:Yi.push(e)}function OE(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,fy(t)):(r.next=o.next,o.next=r),t.interleaved=r,ca(e,n)}function ca(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Ha=!1;function dy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _E(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function la(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Za(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,nt&2){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,ca(e,r)}return o=n.interleaved,o===null?(t.next=t,fy(n)):(t.next=o.next,o.next=t),n.interleaved=t,ca(e,r)}function wd(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Y0(e,r)}}function tw(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?o=a=i:a=a.next=i,r=r.next}while(r!==null);a===null?o=a=t:a=a.next=t}else o=a=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Ud(e,t,r,n){var o=e.updateQueue;Ha=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var s=l,u=s.next;s.next=null,i===null?a=u:i.next=u,i=s;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==i&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(a!==null){var f=o.baseState;i=0,c=u=s=null,l=a;do{var d=l.lane,v=l.eventTime;if((n&d)===d){c!==null&&(c=c.next={eventTime:v,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var y=e,h=l;switch(d=t,v=r,h.tag){case 1:if(y=h.payload,typeof y=="function"){f=y.call(v,f,d);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=h.payload,d=typeof y=="function"?y.call(v,f,d):y,d==null)break e;f=Ht({},f,d);break e;case 2:Ha=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[l]:d.push(l))}else v={eventTime:v,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=v,s=f):c=c.next=v,i|=d;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;d=l,l=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(c===null&&(s=f),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else a===null&&(o.shared.lanes=0);ol|=i,e.lanes=i,e.memoizedState=f}}function rw(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=Wh.transition;Wh.transition={};try{e(!1),t()}finally{dt=r,Wh.transition=n}}function WE(){return Gn().memoizedState}function zF(e,t,r){var n=ei(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},UE(e))KE(t,r);else if(r=OE(e,t,r,n),r!==null){var o=Jr();ho(r,e,n,o),GE(r,t,n)}}function jF(e,t,r){var n=ei(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(UE(e))KE(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,l=a(i,r);if(o.hasEagerState=!0,o.eagerState=l,yo(l,i)){var s=t.interleaved;s===null?(o.next=o,fy(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}r=OE(e,t,o,n),r!==null&&(o=Jr(),ho(r,e,n,o),GE(r,t,n))}}function UE(e){var t=e.alternate;return e===Vt||t!==null&&t===Vt}function KE(e,t){ac=Gd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function GE(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Y0(e,r)}}var qd={readContext:Kn,useCallback:zr,useContext:zr,useEffect:zr,useImperativeHandle:zr,useInsertionEffect:zr,useLayoutEffect:zr,useMemo:zr,useReducer:zr,useRef:zr,useState:zr,useDebugValue:zr,useDeferredValue:zr,useTransition:zr,useMutableSource:zr,useSyncExternalStore:zr,useId:zr,unstable_isNewReconciler:!1},BF={readContext:Kn,useCallback:function(e,t){return Ao().memoizedState=[e,t===void 0?null:t],e},useContext:Kn,useEffect:ow,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Rd(4194308,4,zE.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Rd(4194308,4,e,t)},useInsertionEffect:function(e,t){return Rd(4,2,e,t)},useMemo:function(e,t){var r=Ao();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Ao();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=zF.bind(null,Vt,e),[n.memoizedState,e]},useRef:function(e){var t=Ao();return e={current:e},t.memoizedState=e},useState:nw,useDebugValue:by,useDeferredValue:function(e){return Ao().memoizedState=e},useTransition:function(){var e=nw(!1),t=e[0];return e=DF.bind(null,e[1]),Ao().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Vt,o=Ao();if(zt){if(r===void 0)throw Error(X(407));r=r()}else{if(r=t(),yr===null)throw Error(X(349));nl&30||NE(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,ow(ME.bind(null,n,a,e),[e]),n.flags|=2048,Ec(9,IE.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=Ao(),t=yr.identifierPrefix;if(zt){var r=ia,n=aa;r=(n&~(1<<32-go(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Sc++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[Fo]=t,e[xc]=n,nR(e,t,!1,!1),t.stateNode=e;e:{switch(i=s0(r,n),r){case"dialog":$t("cancel",e),$t("close",e),o=n;break;case"iframe":case"object":case"embed":$t("load",e),o=n;break;case"video":case"audio":for(o=0;obs&&(t.flags|=128,n=!0,Gu(a,!1),t.lanes=4194304)}else{if(!n)if(e=Kd(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Gu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!zt)return jr(t),null}else 2*er()-a.renderingStartTime>bs&&r!==1073741824&&(t.flags|=128,n=!0,Gu(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(r=a.last,r!==null?r.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=er(),t.sibling=null,r=Bt.current,Rt(Bt,n?r&1|2:r&1),t):(jr(t),null);case 22:case 23:return Oy(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?bn&1073741824&&(jr(t),t.subtreeFlags&6&&(t.flags|=8192)):jr(t),null;case 24:return null;case 25:return null}throw Error(X(156,t.tag))}function XF(e,t){switch(iy(t),t.tag){case 1:return fn(t.type)&&zd(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ys(),Nt(cn),Nt(Vr),vy(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return py(t),null;case 13:if(Nt(Bt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(X(340));gs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Nt(Bt),null;case 4:return ys(),null;case 10:return cy(t.type._context),null;case 22:case 23:return Oy(),null;case 24:return null;default:return null}}var yd=!1,Br=!1,QF=typeof WeakSet=="function"?WeakSet:Set,fe=null;function is(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){qt(e,t,n)}else r.current=null}function A0(e,t,r){try{r()}catch(n){qt(e,t,n)}}var vw=!1;function YF(e,t){if(y0=Ad,e=cE(),oy(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var i=0,l=-1,s=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var v;f!==r||o!==0&&f.nodeType!==3||(l=i+o),f!==a||n!==0&&f.nodeType!==3||(s=i+n),f.nodeType===3&&(i+=f.nodeValue.length),(v=f.firstChild)!==null;)d=f,f=v;for(;;){if(f===e)break t;if(d===r&&++u===o&&(l=i),d===a&&++c===n&&(s=i),(v=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=v}r=l===-1||s===-1?null:{start:l,end:s}}else r=null}r=r||{start:0,end:0}}else r=null;for(x0={focusedElem:e,selectionRange:r},Ad=!1,fe=t;fe!==null;)if(t=fe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,fe=e;else for(;fe!==null;){t=fe;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var h=y.memoizedProps,x=y.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?h:mo(t.type,h),x);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(X(163))}}catch(b){qt(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,fe=e;break}fe=t.return}return y=vw,vw=!1,y}function ic(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&A0(t,r,a)}o=o.next}while(o!==n)}}function sm(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function F0(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function iR(e){var t=e.alternate;t!==null&&(e.alternate=null,iR(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fo],delete t[xc],delete t[S0],delete t[MF],delete t[kF])),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 lR(e){return e.tag===5||e.tag===3||e.tag===4}function gw(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lR(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 L0(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Dd));else if(n!==4&&(e=e.child,e!==null))for(L0(e,t,r),e=e.sibling;e!==null;)L0(e,t,r),e=e.sibling}function D0(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(D0(e,t,r),e=e.sibling;e!==null;)D0(e,t,r),e=e.sibling}var Tr=null,po=!1;function Ba(e,t,r){for(r=r.child;r!==null;)sR(e,t,r),r=r.sibling}function sR(e,t,r){if(Lo&&typeof Lo.onCommitFiberUnmount=="function")try{Lo.onCommitFiberUnmount(em,r)}catch{}switch(r.tag){case 5:Br||is(r,t);case 6:var n=Tr,o=po;Tr=null,Ba(e,t,r),Tr=n,po=o,Tr!==null&&(po?(e=Tr,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Tr.removeChild(r.stateNode));break;case 18:Tr!==null&&(po?(e=Tr,r=r.stateNode,e.nodeType===8?Bh(e.parentNode,r):e.nodeType===1&&Bh(e,r),pc(e)):Bh(Tr,r.stateNode));break;case 4:n=Tr,o=po,Tr=r.stateNode.containerInfo,po=!0,Ba(e,t,r),Tr=n,po=o;break;case 0:case 11:case 14:case 15:if(!Br&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var a=o,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&A0(r,t,i),o=o.next}while(o!==n)}Ba(e,t,r);break;case 1:if(!Br&&(is(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(l){qt(r,t,l)}Ba(e,t,r);break;case 21:Ba(e,t,r);break;case 22:r.mode&1?(Br=(n=Br)||r.memoizedState!==null,Ba(e,t,r),Br=n):Ba(e,t,r);break;default:Ba(e,t,r)}}function hw(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new QF),t.forEach(function(n){var o=iL.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function fo(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=i),n&=~a}if(n=o,n=er()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*JF(n/1960))-n,10e?16:e,Ga===null)var n=!1;else{if(e=Ga,Ga=null,Yd=0,nt&6)throw Error(X(331));var o=nt;for(nt|=4,fe=e.current;fe!==null;){var a=fe,i=a.child;if(fe.flags&16){var l=a.deletions;if(l!==null){for(var s=0;ser()-Ey?Ji(e,0):wy|=r),dn(e,t)}function gR(e,t){t===0&&(e.mode&1?(t=ad,ad<<=1,!(ad&130023424)&&(ad=4194304)):t=1);var r=Jr();e=ca(e,t),e!==null&&(Oc(e,t,r),dn(e,r))}function aL(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),gR(e,r)}function iL(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(X(314))}n!==null&&n.delete(t),gR(e,r)}var hR;hR=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||cn.current)un=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return un=!1,GF(e,t,r);un=!!(e.flags&131072)}else un=!1,zt&&t.flags&1048576&&CE(t,Vd,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Od(e,t),e=t.pendingProps;var o=vs(t,Vr.current);ds(t,r),o=hy(null,t,n,e,o,r);var a=yy();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,fn(n)?(a=!0,jd(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,dy(t),o.updater=lm,t.stateNode=o,o._reactInternals=t,T0(t,n,e,r),t=N0(null,t,n,!0,a,r)):(t.tag=0,zt&&a&&ay(t),Zr(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Od(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=sL(n),e=mo(n,e),o){case 0:t=$0(null,t,n,e,r);break e;case 1:t=dw(null,t,n,e,r);break e;case 11:t=cw(null,t,n,e,r);break e;case 14:t=fw(null,t,n,mo(n.type,e),r);break e}throw Error(X(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:mo(n,o),$0(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:mo(n,o),dw(e,t,n,o,r);case 3:e:{if(eR(t),e===null)throw Error(X(387));n=t.pendingProps,a=t.memoizedState,o=a.element,_E(e,t),Ud(t,n,null,r);var i=t.memoizedState;if(n=i.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=xs(Error(X(423)),t),t=mw(e,t,n,r,o);break e}else if(n!==o){o=xs(Error(X(424)),t),t=mw(e,t,n,r,o);break e}else for(Cn=Ya(t.stateNode.containerInfo.firstChild),Sn=t,zt=!0,vo=null,r=RE(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(gs(),n===o){t=fa(e,t,r);break e}Zr(e,t,n,r)}t=t.child}return t;case 5:return TE(t),e===null&&R0(t),n=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,b0(n,o)?i=null:a!==null&&b0(n,a)&&(t.flags|=32),JE(e,t),Zr(e,t,i,r),t.child;case 6:return e===null&&R0(t),null;case 13:return tR(e,t,r);case 4:return my(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=hs(t,null,n,r):Zr(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:mo(n,o),cw(e,t,n,o,r);case 7:return Zr(e,t,t.pendingProps,r),t.child;case 8:return Zr(e,t,t.pendingProps.children,r),t.child;case 12:return Zr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,Rt(Hd,n._currentValue),n._currentValue=i,a!==null)if(yo(a.value,i)){if(a.children===o.children&&!cn.current){t=fa(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){i=a.child;for(var s=l.firstContext;s!==null;){if(s.context===n){if(a.tag===1){s=la(-1,r&-r),s.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),O0(a.return,r,t),l.lanes|=r;break}s=s.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(X(341));i.lanes|=r,l=i.alternate,l!==null&&(l.lanes|=r),O0(i,r,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}Zr(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,ds(t,r),o=Kn(o),n=n(o),t.flags|=1,Zr(e,t,n,r),t.child;case 14:return n=t.type,o=mo(n,t.pendingProps),o=mo(n.type,o),fw(e,t,n,o,r);case 15:return YE(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:mo(n,o),Od(e,t),t.tag=1,fn(n)?(e=!0,jd(t)):e=!1,ds(t,r),qE(t,n,o),T0(t,n,o,r),N0(null,t,n,!0,e,r);case 19:return rR(e,t,r);case 22:return ZE(e,t,r)}throw Error(X(156,t.tag))};function yR(e,t){return Uw(e,t)}function lL(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wn(e,t,r,n){return new lL(e,t,r,n)}function Ty(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sL(e){if(typeof e=="function")return Ty(e)?1:0;if(e!=null){if(e=e.$$typeof,e===G0)return 11;if(e===q0)return 14}return 2}function ti(e,t){var r=e.alternate;return r===null?(r=Wn(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Pd(e,t,r,n,o,a){var i=2;if(n=e,typeof e=="function")Ty(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Yl:return el(r.children,o,a,t);case K0:i=8,o|=8;break;case Zh:return e=Wn(12,r,t,o|2),e.elementType=Zh,e.lanes=a,e;case Jh:return e=Wn(13,r,t,o),e.elementType=Jh,e.lanes=a,e;case e0:return e=Wn(19,r,t,o),e.elementType=e0,e.lanes=a,e;case Tw:return cm(r,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ow:i=10;break e;case _w:i=9;break e;case G0:i=11;break e;case q0:i=14;break e;case Va:i=16,n=null;break e}throw Error(X(130,e==null?e:typeof e,""))}return t=Wn(i,r,t,o),t.elementType=e,t.type=n,t.lanes=a,t}function el(e,t,r,n){return e=Wn(7,e,n,t),e.lanes=r,e}function cm(e,t,r,n){return e=Wn(22,e,n,t),e.elementType=Tw,e.lanes=r,e.stateNode={isHidden:!1},e}function Xh(e,t,r){return e=Wn(6,e,null,t),e.lanes=r,e}function Qh(e,t,r){return t=Wn(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function uL(e,t,r,n,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=Mh(0),this.expirationTimes=Mh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mh(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Py(e,t,r,n,o,a,i,l,s){return e=new uL(e,t,r,l,s),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Wn(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},dy(a),e}function cL(e,t,r){var n=3{"use strict";function wR(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(wR)}catch(e){console.error(e)}}wR(),ER.exports=SR()});var OR=wt(My=>{"use strict";var RR=sl();My.createRoot=RR.createRoot,My.hydrateRoot=RR.hydrateRoot;var NH});var re=wt((MH,vm)=>{(function(){"use strict";var e={}.hasOwnProperty;function t(){for(var o="",a=0;a{"use strict";var Ly=Symbol.for("react.element"),Dy=Symbol.for("react.portal"),ym=Symbol.for("react.fragment"),xm=Symbol.for("react.strict_mode"),bm=Symbol.for("react.profiler"),Cm=Symbol.for("react.provider"),Sm=Symbol.for("react.context"),wL=Symbol.for("react.server_context"),wm=Symbol.for("react.forward_ref"),Em=Symbol.for("react.suspense"),Rm=Symbol.for("react.suspense_list"),Om=Symbol.for("react.memo"),_m=Symbol.for("react.lazy"),EL=Symbol.for("react.offscreen"),MR;MR=Symbol.for("react.module.reference");function qn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ly:switch(e=e.type,e){case ym:case bm:case xm:case Em:case Rm:return e;default:switch(e=e&&e.$$typeof,e){case wL:case Sm:case wm:case _m:case Om:case Cm:return e;default:return t}}case Dy:return t}}}mt.ContextConsumer=Sm;mt.ContextProvider=Cm;mt.Element=Ly;mt.ForwardRef=wm;mt.Fragment=ym;mt.Lazy=_m;mt.Memo=Om;mt.Portal=Dy;mt.Profiler=bm;mt.StrictMode=xm;mt.Suspense=Em;mt.SuspenseList=Rm;mt.isAsyncMode=function(){return!1};mt.isConcurrentMode=function(){return!1};mt.isContextConsumer=function(e){return qn(e)===Sm};mt.isContextProvider=function(e){return qn(e)===Cm};mt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ly};mt.isForwardRef=function(e){return qn(e)===wm};mt.isFragment=function(e){return qn(e)===ym};mt.isLazy=function(e){return qn(e)===_m};mt.isMemo=function(e){return qn(e)===Om};mt.isPortal=function(e){return qn(e)===Dy};mt.isProfiler=function(e){return qn(e)===bm};mt.isStrictMode=function(e){return qn(e)===xm};mt.isSuspense=function(e){return qn(e)===Em};mt.isSuspenseList=function(e){return qn(e)===Rm};mt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ym||e===bm||e===xm||e===Em||e===Rm||e===EL||typeof e=="object"&&e!==null&&(e.$$typeof===_m||e.$$typeof===Om||e.$$typeof===Cm||e.$$typeof===Sm||e.$$typeof===wm||e.$$typeof===MR||e.getModuleId!==void 0)};mt.typeOf=qn});var FR=wt((JH,AR)=>{"use strict";AR.exports=kR()});var ak=wt((vSe,ok)=>{ok.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n{"use strict";var wV=ak(),ik={"text/plain":"Text","text/html":"Url",default:"Text"},EV="Copy to clipboard: #{key}, Enter";function RV(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function OV(e,t){var r,n,o,a,i,l,s=!1;t||(t={}),r=t.debug||!1;try{o=wV(),a=document.createRange(),i=document.getSelection(),l=document.createElement("span"),l.textContent=e,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",function(c){if(c.stopPropagation(),t.format)if(c.preventDefault(),typeof c.clipboardData>"u"){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var f=ik[t.format]||ik.default;window.clipboardData.setData(f,e)}else c.clipboardData.clearData(),c.clipboardData.setData(t.format,e);t.onCopy&&(c.preventDefault(),t.onCopy(c.clipboardData))}),document.body.appendChild(l),a.selectNodeContents(l),i.addRange(a);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");s=!0}catch(c){r&&console.error("unable to copy using execCommand: ",c),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(f){r&&console.error("unable to copy using clipboardData: ",f),r&&console.error("falling back to prompt"),n=RV("message"in t?t.message:EV),window.prompt(n,e)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(a):i.removeAllRanges()),l&&document.body.removeChild(l),o()}return s}lk.exports=OV});var Df=wt((F1e,Lf)=>{function qV(e){return e&&e.__esModule?e:{default:e}}Lf.exports=qV,Lf.exports.__esModule=!0,Lf.exports.default=Lf.exports});var _k=wt(rh=>{"use strict";Object.defineProperty(rh,"__esModule",{value:!0});rh.default=void 0;var XV={items_per_page:"/ p\xE1gina",jump_to:"Ir a",jump_to_confirm:"confirmar",page:"P\xE1gina",prev_page:"P\xE1gina anterior",next_page:"P\xE1gina siguiente",prev_5:"5 p\xE1ginas previas",next_5:"5 p\xE1ginas siguientes",prev_3:"3 p\xE1ginas previas",next_3:"3 p\xE1ginas siguientes",page_size:"tama\xF1o de p\xE1gina"},L1e=rh.default=XV});var HS=wt((z1e,Ia)=>{function VS(e){"@babel/helpers - typeof";return Ia.exports=VS=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},Ia.exports.__esModule=!0,Ia.exports.default=Ia.exports,VS(e)}Ia.exports=VS,Ia.exports.__esModule=!0,Ia.exports.default=Ia.exports});var Pk=wt((j1e,zf)=>{var Tk=HS().default;function QV(e,t){if(Tk(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Tk(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}zf.exports=QV,zf.exports.__esModule=!0,zf.exports.default=zf.exports});var $k=wt((B1e,jf)=>{var YV=HS().default,ZV=Pk();function JV(e){var t=ZV(e,"string");return YV(t)=="symbol"?t:t+""}jf.exports=JV,jf.exports.__esModule=!0,jf.exports.default=jf.exports});var Nk=wt((V1e,Bf)=>{var eH=$k();function tH(e,t,r){return(t=eH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Bf.exports=tH,Bf.exports.__esModule=!0,Bf.exports.default=Bf.exports});var Mk=wt((H1e,Vf)=>{var rH=Nk();function Ik(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function nH(e){for(var t=1;t{"use strict";Object.defineProperty(nh,"__esModule",{value:!0});nh.commonLocale=void 0;var W1e=nh.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}});var Fk=wt(oh=>{"use strict";var oH=Df().default;Object.defineProperty(oh,"__esModule",{value:!0});oh.default=void 0;var Ak=oH(Mk()),aH=kk(),iH=(0,Ak.default)((0,Ak.default)({},aH.commonLocale),{},{locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"A\xF1o",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",monthSelect:"Elegir un mes",yearSelect:"Elegir un a\xF1o",decadeSelect:"Elegir una d\xE9cada",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"A\xF1o anterior (Control + left)",nextYear:"A\xF1o siguiente (Control + right)",previousDecade:"D\xE9cada anterior",nextDecade:"D\xE9cada siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"}),K1e=oh.default=iH});var WS=wt(ah=>{"use strict";Object.defineProperty(ah,"__esModule",{value:!0});ah.default=void 0;var lH={placeholder:"Seleccionar hora"},q1e=ah.default=lH});var US=wt(ih=>{"use strict";var Lk=Df().default;Object.defineProperty(ih,"__esModule",{value:!0});ih.default=void 0;var sH=Lk(Fk()),uH=Lk(WS()),cH={lang:Object.assign({placeholder:"Seleccionar fecha",rangePlaceholder:["Fecha inicial","Fecha final"],shortWeekDays:["Dom","Lun","Mar","Mi\xE9","Jue","Vie","S\xE1b"],shortMonths:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"]},sH.default),timePickerLocale:Object.assign({},uH.default)},Q1e=ih.default=cH});var Dk=wt(lh=>{"use strict";var fH=Df().default;Object.defineProperty(lh,"__esModule",{value:!0});lh.default=void 0;var dH=fH(US()),Z1e=lh.default=dH.default});var zk=wt(uh=>{"use strict";var sh=Df().default;Object.defineProperty(uh,"__esModule",{value:!0});uh.default=void 0;var mH=sh(_k()),pH=sh(Dk()),vH=sh(US()),gH=sh(WS()),Ln="${label} no es un ${type} v\xE1lido",hH={locale:"es",Pagination:mH.default,DatePicker:vH.default,TimePicker:gH.default,Calendar:pH.default,global:{placeholder:"Seleccione"},Table:{filterTitle:"Filtrar men\xFA",filterConfirm:"Aceptar",filterReset:"Reiniciar",filterEmptyText:"Sin filtros",filterCheckall:"Seleccionar todo",filterSearchPlaceholder:"Buscar en filtros",emptyText:"Sin datos",selectAll:"Seleccionar todo",selectInvert:"Invertir selecci\xF3n",selectNone:"Vac\xEDe todo",selectionAll:"Seleccionar todos los datos",sortTitle:"Ordenar",expand:"Expandir fila",collapse:"Colapsar fila",triggerDesc:"Click para ordenar en orden descendente",triggerAsc:"Click para ordenar en orden ascendente",cancelSort:"Click para cancelar ordenamiento"},Tour:{Next:"Siguiente",Previous:"Anterior",Finish:"Finalizar"},Modal:{okText:"Aceptar",cancelText:"Cancelar",justOkText:"Aceptar"},Popconfirm:{okText:"Aceptar",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Buscar aqu\xED",itemUnit:"elemento",itemsUnit:"elementos",remove:"Eliminar",selectCurrent:"Seleccionar p\xE1gina actual",removeCurrent:"Eliminar p\xE1gina actual",selectAll:"Seleccionar todos los datos",removeAll:"Eliminar todos los datos",selectInvert:"Invertir p\xE1gina actual"},Upload:{uploading:"Subiendo...",removeFile:"Eliminar archivo",uploadError:"Error al subir el archivo",previewFile:"Vista previa",downloadFile:"Descargar archivo"},Empty:{description:"No hay datos"},Icon:{icon:"\xEDcono"},Text:{edit:"Editar",copy:"Copiar",copied:"Copiado",expand:"Expandir"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Error de validaci\xF3n del campo ${label}",required:"Por favor, rellena ${label}",enum:"${label} debe ser uno de [${enum}]",whitespace:"${label} no puede ser un car\xE1cter en blanco",date:{format:"El formato de fecha de ${label} es inv\xE1lido",parse:"${label} no se puede convertir a una fecha",invalid:"${label} es una fecha inv\xE1lida"},types:{string:Ln,method:Ln,array:Ln,object:Ln,number:Ln,date:Ln,boolean:Ln,integer:Ln,float:Ln,regexp:Ln,email:Ln,url:Ln,hex:Ln},string:{len:"${label} debe tener ${len} caracteres",min:"${label} debe tener al menos ${min} caracteres",max:"${label} debe tener hasta ${max} caracteres",range:"${label} debe tener entre ${min}-${max} caracteres"},number:{len:"${label} debe ser igual a ${len}",min:"${label} valor m\xEDnimo es ${min}",max:"${label} valor m\xE1ximo es ${max}",range:"${label} debe ser entre ${min}-${max}"},array:{len:"Debe ser ${len} ${label}",min:"Al menos ${min} ${label}",max:"Como m\xE1ximo ${max} ${label}",range:"El valor de ${label} debe estar entre ${min}-${max}"},pattern:{mismatch:"${label} no coincide con el patr\xF3n ${pattern}"}}},Image:{preview:"Previsualizaci\xF3n"}},ewe=uh.default=hH});var Bk=wt((rwe,jk)=>{jk.exports=zk()});var Te=R(P(),1),Hk=R(OR(),1);function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=[];return _R.default.Children.forEach(e,function(n){n==null&&!t.keepEmpty||(Array.isArray(n)?r=r.concat(Wt(n)):$c(n)&&n.props?r=r.concat(Wt(n.props.children,t)):r.push(n))}),r}var ky={},yL=[],xL=function(t){yL.push(t)};function Ay(e,t){if(0)var r}function bL(e,t){if(0)var r}function TR(){ky={}}function PR(e,t,r){!t&&!ky[r]&&(e(!1,r),ky[r]=!0)}function gm(e,t){PR(Ay,e,t)}function CL(e,t){PR(bL,e,t)}gm.preMessage=xL;gm.resetWarned=TR;gm.noteOnce=CL;var It=gm;function $R(e,t){if(J(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(J(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hm(e){var t=$R(e,"string");return J(t)=="symbol"?t:t+""}function T(e,t,r){return(t=hm(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function $(e){for(var t=1;t=19)return!0;var o=(0,Nc.isMemo)(t)?t.type.type:t.type;return!(typeof o=="function"&&!((r=o.prototype)!==null&&r!==void 0&&r.render)&&o.$$typeof!==Nc.ForwardRef||typeof t=="function"&&!((n=t.prototype)!==null&&n!==void 0&&n.render)&&t.$$typeof!==Nc.ForwardRef)};function DR(e){return(0,Tm.isValidElement)(e)&&!$c(e)}var jo=function(t){if(t&&DR(t)){var r=t;return r.props.propertyIsEnumerable("ref")?r.props.ref:r.ref}return null};var tr=R(P());var xo=R(P()),Pm=xo.createContext(null);function zR(e){var t=e.children,r=e.onBatchResize,n=xo.useRef(0),o=xo.useRef([]),a=xo.useContext(Pm),i=xo.useCallback(function(l,s,u){n.current+=1;var c=n.current;o.current.push({size:l,element:s,data:u}),Promise.resolve().then(function(){c===n.current&&(r?.(o.current),o.current=[])}),a?.(l,s,u)},[r,a]);return xo.createElement(Pm.Provider,{value:i},t)}var BR=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(o,a){return o[0]===r?(n=a,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(r,n){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,o=e(n,r);~o&&n.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var o=0,a=this.__entries__;o0},e.prototype.connect_=function(){!zy||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),NL?(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(){!zy||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,o=$L.some(function(a){return!!~n.indexOf(a)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),VR=function(e,t){for(var r=0,n=Object.keys(t);r"u"||!(Element instanceof Object))){if(!(t instanceof ws(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new jL(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 ws(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new BL(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),WR=typeof WeakMap<"u"?new WeakMap:new BR,UR=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=IL.getInstance(),n=new VL(t,r,this);WR.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){UR.prototype[e]=function(){var t;return(t=WR.get(this))[e].apply(t,arguments)}});var HL=function(){return typeof $m.ResizeObserver<"u"?$m.ResizeObserver:UR}(),KR=HL;var li=new Map;function WL(e){e.forEach(function(t){var r,n=t.target;(r=li.get(n))===null||r===void 0||r.forEach(function(o){return o(n)})})}var GR=new KR(WL);function qR(e,t){li.has(e)||(li.set(e,new Set),GR.observe(e)),li.get(e).add(t)}function XR(e,t){li.has(e)&&(li.get(e).delete(t),li.get(e).size||(GR.unobserve(e),li.delete(e)))}function We(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QR(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&arguments[1]!==void 0?arguments[1]:1;oO+=1;var n=oO;function o(a){if(a===0)lO(n),t();else{var i=aO(function(){o(a-1)});By.set(n,i)}}return o(r),n};sO.cancel=function(e){var t=By.get(e);return lO(e),iO(t)};var Ot=sO;var jt=R(P());function Fm(e){if(Array.isArray(e))return e}function uO(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,a,i,l=[],s=!0,u=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(c){u=!0,o=c}finally{try{if(!s&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}function Lm(){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 Fm(e)||uO(e,t)||Es(e,t)||Lm()}function XL(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var si=XL;function _t(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Vy(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var cO="data-rc-order",fO="data-rc-priority",QL="rc-util-key",Hy=new Map;function dO(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):QL}function Dm(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function YL(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Wy(e){return Array.from((Hy.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function mO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!_t())return null;var r=t.csp,n=t.prepend,o=t.priority,a=o===void 0?0:o,i=YL(n),l=i==="prependQueue",s=document.createElement("style");s.setAttribute(cO,i),l&&a&&s.setAttribute(fO,"".concat(a)),r!=null&&r.nonce&&(s.nonce=r?.nonce),s.innerHTML=e;var u=Dm(t),c=u.firstChild;if(n){if(l){var f=(t.styles||Wy(u)).filter(function(d){if(!["prepend","prependQueue"].includes(d.getAttribute(cO)))return!1;var v=Number(d.getAttribute(fO)||0);return a>=v});if(f.length)return u.insertBefore(s,f[f.length-1].nextSibling),s}u.insertBefore(s,c)}else u.appendChild(s);return s}function pO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Dm(t);return(t.styles||Wy(r)).find(function(n){return n.getAttribute(dO(t))===e})}function Bo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=pO(e,t);if(r){var n=Dm(t);n.removeChild(r)}}function ZL(e,t){var r=Hy.get(e);if(!r||!Vy(document,r)){var n=mO("",t),o=n.parentNode;Hy.set(e,o),e.removeChild(n)}}function Nr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=Dm(r),o=Wy(n),a=$($({},r),{},{styles:o});ZL(n,a);var i=pO(t,a);if(i){var l,s;if((l=a.csp)!==null&&l!==void 0&&l.nonce&&i.nonce!==((s=a.csp)===null||s===void 0?void 0:s.nonce)){var u;i.nonce=(u=a.csp)===null||u===void 0?void 0:u.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var c=mO(e,a);return c.setAttribute(dO(a),t),c}var _O=R(P());function vO(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function ae(e,t){if(e==null)return{};var r,n,o=vO(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n2&&arguments[2]!==void 0?arguments[2]:!1,n=new Set;function o(a,i){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=n.has(a);if(It(!s,"Warning: There may be circular references"),s)return!1;if(a===i)return!0;if(r&&l>1)return!1;n.add(a);var u=l+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var c=0;c1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return r.forEach(function(l){if(!i)i=void 0;else{var s;i=(s=i)===null||s===void 0||(s=s.map)===null||s===void 0?void 0:s.get(l)}}),(n=i)!==null&&n!==void 0&&n.value&&a&&(i.value[1]=this.cacheCallTimes++),(o=i)===null||o===void 0?void 0:o.value}},{key:"get",value:function(r){var n;return(n=this.internalGet(r,!0))===null||n===void 0?void 0:n[0]}},{key:"has",value:function(r){return!!this.internalGet(r)}},{key:"set",value:function(r,n){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(u,c){var f=k(u,2),d=f[1];return o.internalGet(c)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),yO+=1}return Ue(e,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(n,o){return o(r,n)},void 0)}}]),e}();var Uy=new Ac;function Co(e){var t=Array.isArray(e)?e:[e];return Uy.has(t)||Uy.set(t,new Rs(t)),Uy.get(t)}var l4=new WeakMap,Ky={};function bO(e,t){for(var r=l4,n=0;n3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var a=$($({},n),{},T(T({},Ho,t),Ur,r)),i=Object.keys(a).map(function(l){var s=a[l];return s?"".concat(l,'="').concat(s,'"'):null}).filter(function(l){return l}).join(" ");return"")}var _s=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(r?"".concat(r,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},s4=function(t,r,n){return Object.keys(t).length?".".concat(r).concat(n!=null&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(t).map(function(o){var a=k(o,2),i=a[0],l=a[1];return"".concat(i,":").concat(l,";")}).join(""),"}"):""},Bm=function(t,r,n){var o={},a={};return Object.entries(t).forEach(function(i){var l,s,u=k(i,2),c=u[0],f=u[1];if(n!=null&&(l=n.preserve)!==null&&l!==void 0&&l[c])a[c]=f;else if((typeof f=="string"||typeof f=="number")&&!(n!=null&&(s=n.ignore)!==null&&s!==void 0&&s[c])){var d,v=_s(c,n?.prefix);o[v]=typeof f=="number"&&!(n!=null&&(d=n.unitless)!==null&&d!==void 0&&d[c])?"".concat(f,"px"):String(f),a[c]="var(".concat(v,")")}}),[a,s4(o,r,{scope:n?.scope})]};var Vm=R(P());var Ts=R(P());var CO=_t()?Ts.useLayoutEffect:Ts.useEffect,SO=function(t,r){var n=Ts.useRef(!0);CO(function(){return t(n.current)},r),CO(function(){return n.current=!1,function(){n.current=!0}},[])},Lc=function(t,r){SO(function(n){if(!n)return t()},r)},tt=SO;var qy=R(P()),u4=$({},qy),wO=u4.useInsertionEffect,c4=function(t,r,n){qy.useMemo(t,n),tt(function(){return r(!0)},n)},f4=wO?function(e,t,r){return wO(function(){return e(),t()},r)}:c4,EO=f4;var Xy=R(P()),d4=$({},Xy),m4=d4.useInsertionEffect,p4=function(t){var r=[],n=!1;function o(a){n||r.push(a)}return Xy.useEffect(function(){return n=!1,function(){n=!0,r.length&&r.forEach(function(a){return a()})}},t),o},v4=function(){return function(t){t()}},g4=typeof m4<"u"?p4:v4,RO=g4;function h4(){return!1}var OO=h4;function fl(e,t,r,n,o){var a=Vm.useContext(ma),i=a.cache,l=[e].concat(Y(t)),s=zm(l),u=RO([s]),c=OO(),f=function(h){i.opUpdate(s,function(x){var p=x||[void 0,void 0],m=k(p,2),g=m[0],b=g===void 0?0:g,C=m[1],S=C,E=S||r(),w=[b,E];return h?h(w):w})};Vm.useMemo(function(){f()},[s]);var d=i.opGet(s),v=d[1];return EO(function(){o?.(v)},function(y){return f(function(h){var x=k(h,2),p=x[0],m=x[1];return y&&p===0&&o?.(v),[p+1,m]}),function(){i.opUpdate(s,function(h){var x=h||[],p=k(x,2),m=p[0],g=m===void 0?0:m,b=p[1],C=g-1;return C===0?(u(function(){(y||!i.opGet(s))&&n?.(b,!1)}),null):[g-1,b]})}},[s]),v}var y4={},x4="css",dl=new Map;function b4(e){dl.set(e,(dl.get(e)||0)+1)}function C4(e,t){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(Ho,'="').concat(e,'"]'));r.forEach(function(n){if(n[bo]===t){var o;(o=n.parentNode)===null||o===void 0||o.removeChild(n)}})}}var S4=0;function w4(e,t){dl.set(e,(dl.get(e)||0)-1);var r=new Set;dl.forEach(function(n,o){n<=0&&r.add(o)}),dl.size-r.size>S4&&r.forEach(function(n){C4(n,t),dl.delete(n)})}var Hm=function(t,r,n,o){var a=n.getDerivativeToken(t),i=$($({},a),r);return o&&(i=o(i)),i},Qy="token";function Wm(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=(0,_O.useContext)(ma),o=n.cache.instanceId,a=n.container,i=r.salt,l=i===void 0?"":i,s=r.override,u=s===void 0?y4:s,c=r.formatToken,f=r.getComputedToken,d=r.cssVar,v=bO(function(){return Object.assign.apply(Object,[{}].concat(Y(t)))},t),y=Os(v),h=Os(u),x=d?Os(d):"",p=fl(Qy,[l,e.id,y,h,x],function(){var m,g=f?f(v,u,e):Hm(v,u,e,c),b=$({},g),C="";if(d){var S=Bm(g,d.key,{prefix:d.prefix,ignore:d.ignore,unitless:d.unitless,preserve:d.preserve}),E=k(S,2);g=E[0],C=E[1]}var w=Gy(g,l);g._tokenKey=w,b._tokenKey=Gy(b,l);var O=(m=d?.key)!==null&&m!==void 0?m:w;g._themeKey=O,b4(O);var _="".concat(x4,"-").concat(si(w));return g._hashId=_,[g,_,b,C,d?.key||""]},function(m){w4(m[0]._themeKey,o)},function(m){var g=k(m,4),b=g[0],C=g[3];if(d&&C){var S=Nr(C,si("css-variables-".concat(b._themeKey)),{mark:Ur,prepend:"queue",attachTo:a,priority:-999});S[bo]=o,S.setAttribute(Ho,b._themeKey)}});return p}var TO=function(t,r,n){var o=k(t,5),a=o[2],i=o[3],l=o[4],s=n||{},u=s.plain;if(!i)return null;var c=a._tokenKey,f=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},v=ui(i,l,c,d,u);return[f,c,v]};var e_=R(P());var di=R(P());var E4={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},Yy=E4;var Um="comm",Km="rule",Gm="decl";var PO="@import";var $O="@namespace",NO="@keyframes";var IO="@layer";var MO=Math.abs,ml=String.fromCharCode;function qm(e){return e.trim()}function Xm(e,t,r){return e.replace(t,r)}function ci(e,t){return e.charCodeAt(t)|0}function fi(e,t,r){return e.slice(t,r)}function _n(e){return e.length}function kO(e){return e.length}function Ps(e,t){return t.push(e),e}var Qm=1,$s=1,AO=0,Xn=0,ar=0,Is="";function Ym(e,t,r,n,o,a,i,l){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:Qm,column:$s,length:i,return:"",siblings:l}}function FO(){return ar}function LO(){return ar=Xn>0?ci(Is,--Xn):0,$s--,ar===10&&($s=1,Qm--),ar}function Qn(){return ar=Xn2||Ns(ar)>3?"":" "}function BO(e,t){for(;--t&&Qn()&&!(ar<48||ar>102||ar>57&&ar<65||ar>70&&ar<97););return Zm(e,Dc()+(t<6&&pa()==32&&Qn()==32))}function Zy(e){for(;Qn();)switch(ar){case e:return Xn;case 34:case 39:e!==34&&e!==39&&Zy(ar);break;case 40:e===41&&Zy(e);break;case 92:Qn();break}return Xn}function VO(e,t){for(;Qn()&&e+ar!==57;)if(e+ar===84&&pa()===47)break;return"/*"+Zm(t,Xn-1)+"*"+ml(e===47?e:Qn())}function HO(e){for(;!Ns(pa());)Qn();return Zm(e,Xn)}function KO(e){return zO(ep("",null,null,null,[""],e=DO(e),0,[0],e))}function ep(e,t,r,n,o,a,i,l,s){for(var u=0,c=0,f=i,d=0,v=0,y=0,h=1,x=1,p=1,m=0,g=0,b="",C=o,S=a,E=n,w=b;x;)switch(y=g,g=Qn()){case 40:y!=108&&ci(w,f-1)==58?(m++,w+="("):w+=Jm(g);break;case 41:m--,w+=")";break;case 34:case 39:case 91:w+=Jm(g);break;case 9:case 10:case 13:case 32:if(m>0){w+=ml(g);break}w+=jO(y);break;case 92:w+=BO(Dc()-1,7);continue;case 47:switch(pa()){case 42:case 47:Ps(R4(VO(Qn(),Dc()),t,r,s),s),(Ns(y||1)==5||Ns(pa()||1)==5)&&_n(w)&&fi(w,-1,void 0)!==" "&&(w+=" ");break;default:w+="/"}break;case 123*h:l[u++]=_n(w)*p;case 125*h:case 59:case 0:if(m>0&&g){w+=ml(g);break}switch(g){case 0:case 125:x=0;case 59+c:p==-1&&(w=Xm(w,/\f/g,"")),v>0&&(_n(w)-f||h===0)&&Ps(v>32?UO(w+";",n,r,f-1,s):UO(Xm(w," ","")+";",n,r,f-2,s),s);break;case 59:w+=";";default:if(Ps(E=WO(w,t,r,u,c,o,l,b,C=[],S=[],f,a),a),g===123)if(c===0)ep(w,t,E,E,C,a,f,l,S);else{switch(d){case 99:if(ci(w,3)===110)break;case 108:if(ci(w,2)===97)break;default:c=0;case 100:case 109:case 115:}c?ep(e,E,E,n&&Ps(WO(e,E,E,0,0,o,l,b,o,C=[],f,S),S),o,S,f,l,n?C:S):ep(w,E,E,E,[""],S,0,l,S)}}u=c=v=0,h=p=1,b=w="",f=i;break;case 58:f=1+_n(w),v=y;default:if(h<1){if(g==123)--h;else if(g==125&&h++==0&&LO()==125)continue}switch(w+=ml(g),g*h){case 38:p=c>0?1:(w+="\f",-1);break;case 44:if(m>0)break;l[u++]=(_n(w)-1)*p,p=1;break;case 64:pa()===45&&(w+=Jm(Qn())),d=pa(),c=f=_n(b=w+=HO(Dc())),g++;break;case 45:y===45&&_n(w)==2&&(h=0)}}return a}function WO(e,t,r,n,o,a,i,l,s,u,c,f){for(var d=o-1,v=o===0?a:[""],y=kO(v),h=0,x=0,p=0;h0?v[m]+" "+g:Xm(g,/&\f/g,v[m])))&&(s[p++]=b);return Ym(e,t,r,o===0?Km:l,s,u,c,f)}function R4(e,t,r,n){return Ym(e,t,r,Um,ml(FO()),fi(e,2,-2),0,n)}function UO(e,t,r,n,o){return Ym(e,t,r,Gm,fi(e,0,n),fi(e,n+1,-1),n,o)}function tp(e,t){for(var r="",n=0;n1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=n.root,a=n.injectHash,i=n.parentSelectors,l=r.hashId,s=r.layer,u=r.path,c=r.hashPriority,f=r.transformers,d=f===void 0?[]:f,v=r.linters,y=v===void 0?[]:v,h="",x={};function p(b){var C=b.getName(l);if(!x[C]){var S=e(b.style,r,{root:!1,parentSelectors:i}),E=k(S,1),w=E[0];x[C]="@keyframes ".concat(b.getName(l)).concat(w)}}function m(b){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return b.forEach(function(S){Array.isArray(S)?m(S,C):S&&C.push(S)}),C}var g=m(Array.isArray(t)?t:[t]);return g.forEach(function(b){var C=typeof b=="string"&&!o?{}:b;if(typeof C=="string")h+="".concat(C,` `);else if(C._keyframe)p(C);else{var S=d.reduce(function(E,w){var O;return(w==null||(O=w.visit)===null||O===void 0?void 0:O.call(w,E))||E},C);Object.keys(S).forEach(function(E){var w=S[E];if(J(w)==="object"&&w&&(E!=="animationName"||!w._keyframe)&&!I4(w)){var O=!1,_=E.trim(),N=!1;(o||a)&&l?_.startsWith("@")?O=!0:_==="&"?_=YO("",l,c):_=YO(E,l,c):o&&!l&&(_==="&"||_==="")&&(_="",N=!0);var I=e(w,r,{root:N,injectHash:O,parentSelectors:[].concat(Y(i),[_])}),A=k(I,2),M=A[0],L=A[1];x=$($({},x),L),h+="".concat(_).concat(M)}else{let z=function(H,V){var q=H.replace(/[A-Z]/g,function(K){return"-".concat(K.toLowerCase())}),B=V;!Yy[H]&&typeof B=="number"&&B!==0&&(B="".concat(B,"px")),H==="animationName"&&V!==null&&V!==void 0&&V._keyframe&&(p(V),B=V.getName(l)),h+="".concat(q,":").concat(B,";")};var D,F=(D=w?.value)!==null&&D!==void 0?D:w;J(w)==="object"&&w!==null&&w!==void 0&&w[ZO]&&Array.isArray(F)?F.forEach(function(H){z(E,H)}):z(E,F)}})}}),o?s&&(h&&(h="@layer ".concat(s.name," {").concat(h,"}")),s.dependencies&&(x["@layer ".concat(s.name)]=s.dependencies.map(function(b){return"@layer ".concat(b,", ").concat(s.name,";")}).join(` `))):h="{".concat(h,"}"),[h,x]};function tx(e,t){return si("".concat(e.join("%")).concat(t))}function k4(){return null}var rx="style";function mi(e,t){var r=e.token,n=e.path,o=e.hashId,a=e.layer,i=e.nonce,l=e.clientOnly,s=e.order,u=s===void 0?0:s,c=di.useContext(ma),f=c.autoClear,d=c.mock,v=c.defaultCache,y=c.hashPriority,h=c.container,x=c.ssrInline,p=c.transformers,m=c.linters,g=c.cache,b=c.layer,C=r._tokenKey,S=[C];b&&S.push("layer"),S.push.apply(S,Y(n));var E=Fc,w=fl(rx,S,function(){var A=S.join("|");if(XO(A)){var M=QO(A),L=k(M,2),D=L[0],F=L[1];if(D)return[D,C,F,{},l,u]}var z=t(),H=M4(z,{hashId:o,hashPriority:y,layer:b?a:void 0,path:n.join("-"),transformers:p,linters:m}),V=k(H,2),q=V[0],B=V[1],K=rp(q),G=tx(S,K);return[K,C,G,B,l,u]},function(A,M){var L=k(A,3),D=L[2];(M||f)&&Fc&&Bo(D,{mark:Ur,attachTo:h})},function(A){var M=k(A,4),L=M[0],D=M[1],F=M[2],z=M[3];if(E&&L!==ex){var H={mark:Ur,prepend:b?!1:"queue",attachTo:h,priority:u},V=typeof i=="function"?i():i;V&&(H.csp={nonce:V});var q=[],B=[];Object.keys(z).forEach(function(G){G.startsWith("@layer")?q.push(G):B.push(G)}),q.forEach(function(G){Nr(rp(z[G]),"_layer-".concat(G),$($({},H),{},{prepend:!0}))});var K=Nr(L,F,H);K[bo]=g.instanceId,K.setAttribute(Ho,C),B.forEach(function(G){Nr(rp(z[G]),"_effect-".concat(G),H)})}}),O=k(w,3),_=O[0],N=O[1],I=O[2];return function(A){var M;return!x||E||!v?M=di.createElement(k4,null):M=di.createElement("style",W({},T(T({},Ho,N),Ur,I),{dangerouslySetInnerHTML:{__html:_}})),di.createElement(di.Fragment,null,M,A)}}var JO=function(t,r,n){var o=k(t,6),a=o[0],i=o[1],l=o[2],s=o[3],u=o[4],c=o[5],f=n||{},d=f.plain;if(u)return null;var v=a,y={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return v=ui(a,i,l,y,d),s&&Object.keys(s).forEach(function(h){if(!r[h]){r[h]=!0;var x=rp(s[h]),p=ui(x,i,"_effect-".concat(h),y,d);h.startsWith("@layer")?v=p+v:v+=p}}),[c,l,v]};var nx="cssVar",A4=function(t,r){var n=t.key,o=t.prefix,a=t.unitless,i=t.ignore,l=t.token,s=t.scope,u=s===void 0?"":s,c=(0,e_.useContext)(ma),f=c.cache.instanceId,d=c.container,v=l._tokenKey,y=[].concat(Y(t.path),[n,u,v]),h=fl(nx,y,function(){var x=r(),p=Bm(x,n,{prefix:o,unitless:a,ignore:i,scope:u}),m=k(p,2),g=m[0],b=m[1],C=tx(y,b);return[g,b,C,n]},function(x){var p=k(x,3),m=p[2];Fc&&Bo(m,{mark:Ur,attachTo:d})},function(x){var p=k(x,3),m=p[1],g=p[2];if(m){var b=Nr(m,g,{mark:Ur,prepend:"queue",attachTo:d,priority:-999});b[bo]=f,b.setAttribute(Ho,n)}});return h},t_=function(t,r,n){var o=k(t,4),a=o[1],i=o[2],l=o[3],s=n||{},u=s.plain;if(!a)return null;var c=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},d=ui(a,l,i,f,u);return[c,i,d]},ox=A4;var FK=T(T(T({},rx,JO),Qy,TO),nx,t_);var F4=function(){function e(t,r){We(this,e),T(this,"name",void 0),T(this,"style",void 0),T(this,"_keyframe",!0),this.name=t,this.style=r}return Ue(e,[{key:"getName",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return r?"".concat(r,"-").concat(this.name):this.name}}]),e}(),Mt=F4;function Ms(e){return e.notSplit=!0,e}var HK={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Ms(["borderTop","borderBottom"]),borderBlockStart:Ms(["borderTop"]),borderBlockEnd:Ms(["borderBottom"]),borderInline:Ms(["borderLeft","borderRight"]),borderInlineStart:Ms(["borderLeft"]),borderInlineEnd:Ms(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};var r_=R(P()),L4=(0,r_.createContext)({}),ks=L4;function n_(e){return Fm(e)||Am(e)||Es(e)||Lm()}function Ir(e,t){for(var r=e,n=0;n3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&n&&r===void 0&&!Ir(e,t.slice(0,-1))?e:a_(e,t,r,n)}function D4(e){return J(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function o_(e){return Array.isArray(e)?[]:{}}var z4=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function va(){for(var e=arguments.length,t=new Array(e),r=0;r{let e=()=>{};return e.deprecated=j4,e};var l_=R(P()),s_=(0,l_.createContext)(void 0);var Fs=R(P());var B4={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"},u_=B4;var c_={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0};var V4=$($({},c_),{},{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",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),f_=V4;var H4={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},op=H4;var W4={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"]},f_),timePickerLocale:Object.assign({},op)},ap=W4;var d_=ap;var Tn="${label} is not a valid ${type}",U4={locale:"en",Pagination:u_,DatePicker:ap,TimePicker:op,Calendar:d_,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",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Tn,method:Tn,array:Tn,object:Tn,number:Tn,date:Tn,boolean:Tn,integer:Tn,float:Tn,regexp:Tn,email:Tn,url:Tn,hex:Tn},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}},ga=U4;var ix=Object.assign({},ga.Modal),ip=[],m_=()=>ip.reduce((e,t)=>Object.assign(Object.assign({},e),t),ga.Modal);function p_(e){if(e){let t=Object.assign({},e);return ip.push(t),ix=m_(),()=>{ip=ip.filter(r=>r!==t),ix=m_()}}ix=Object.assign({},ga.Modal)}var v_=R(P()),K4=(0,v_.createContext)(void 0),As=K4;var jc=R(P());var G4=(e,t)=>{let r=jc.useContext(As),n=jc.useMemo(()=>{var a;let i=t||ga[e],l=(a=r?.[e])!==null&&a!==void 0?a:{};return Object.assign(Object.assign({},typeof i=="function"?i():i),l||{})},[e,t,r]),o=jc.useMemo(()=>{let a=r?.locale;return r?.exist&&!a?ga.locale:a},[r]);return[n,o]},g_=G4;var h_="internalMark",q4=e=>{let{locale:t={},children:r,_ANT_MARK__:n}=e;Fs.useEffect(()=>p_(t?.Modal),[t]);let o=Fs.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return Fs.createElement(As.Provider,{value:o},r)},y_=q4;var q_=R(P());var Cr=Math.round;function lx(e,t){let r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=r.map(o=>parseFloat(o));for(let o=0;o<3;o+=1)n[o]=t(n[o]||0,r[o]||"",o);return r[3]?n[3]=r[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}var x_=(e,t,r)=>r===0?e:e/100;function Bc(e,t){let r=t||255;return e>r?r:e<0?0:e}var Wo=class e{constructor(t){T(this,"isValid",!0),T(this,"r",0),T(this,"g",0),T(this,"b",0),T(this,"a",1),T(this,"_h",void 0),T(this,"_s",void 0),T(this,"_l",void 0),T(this,"_v",void 0),T(this,"_max",void 0),T(this,"_min",void 0),T(this,"_brightness",void 0);function r(n){return n[0]in t&&n[1]in t&&n[2]in t}if(t)if(typeof t=="string"){let o=function(a){return n.startsWith(a)},n=t.trim();/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):o("rgb")?this.fromRgbString(n):o("hsl")?this.fromHslString(n):(o("hsv")||o("hsb"))&&this.fromHsvString(n)}else if(t instanceof e)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=Bc(t.r),this.g=Bc(t.g),this.b=Bc(t.b),this.a=typeof t.a=="number"?Bc(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){let r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(a){let i=a/255;return i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}let r=t(this.r),n=t(this.g),o=t(this.b);return .2126*r+.7152*n+.0722*o}getHue(){if(typeof this._h>"u"){let t=this.getMax()-this.getMin();t===0?this._h=0:this._h=Cr(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g"u"){let t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){let r=this.getHue(),n=this.getSaturation(),o=this.getLightness()-t/100;return o<0&&(o=0),this._c({h:r,s:n,l:o,a:this.a})}lighten(t=10){let r=this.getHue(),n=this.getSaturation(),o=this.getLightness()+t/100;return o>1&&(o=1),this._c({h:r,s:n,l:o,a:this.a})}mix(t,r=50){let n=this._c(t),o=r/100,a=l=>(n[l]-this[l])*o+this[l],i={r:Cr(a("r")),g:Cr(a("g")),b:Cr(a("b")),a:Cr(a("a")*100)/100};return this._c(i)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){let r=this._c(t),n=this.a+r.a*(1-this.a),o=a=>Cr((this[a]*this.a+r[a]*r.a*(1-this.a))/n);return this._c({r:o("r"),g:o("g"),b:o("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#",r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;let n=(this.g||0).toString(16);t+=n.length===2?n:"0"+n;let o=(this.b||0).toString(16);if(t+=o.length===2?o:"0"+o,typeof this.a=="number"&&this.a>=0&&this.a<1){let a=Cr(this.a*255).toString(16);t+=a.length===2?a:"0"+a}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let t=this.getHue(),r=Cr(this.getSaturation()*100),n=Cr(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${n}%,${this.a})`:`hsl(${t},${r}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,n){let o=this.clone();return o[t]=Bc(r,n),o}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){let r=t.replace("#","");function n(o,a){return parseInt(r[o]+r[a||o],16)}r.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=r[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=r[6]?n(6,7)/255:1)}fromHsl({h:t,s:r,l:n,a:o}){if(this._h=t%360,this._s=r,this._l=n,this.a=typeof o=="number"?o:1,r<=0){let d=Cr(n*255);this.r=d,this.g=d,this.b=d}let a=0,i=0,l=0,s=t/60,u=(1-Math.abs(2*n-1))*r,c=u*(1-Math.abs(s%2-1));s>=0&&s<1?(a=u,i=c):s>=1&&s<2?(a=c,i=u):s>=2&&s<3?(i=u,l=c):s>=3&&s<4?(i=c,l=u):s>=4&&s<5?(a=c,l=u):s>=5&&s<6&&(a=u,l=c);let f=n-u/2;this.r=Cr((a+f)*255),this.g=Cr((i+f)*255),this.b=Cr((l+f)*255)}fromHsv({h:t,s:r,v:n,a:o}){this._h=t%360,this._s=r,this._v=n,this.a=typeof o=="number"?o:1;let a=Cr(n*255);if(this.r=a,this.g=a,this.b=a,r<=0)return;let i=t/60,l=Math.floor(i),s=i-l,u=Cr(n*(1-r)*255),c=Cr(n*(1-r*s)*255),f=Cr(n*(1-r*(1-s))*255);switch(l){case 0:this.g=f,this.b=u;break;case 1:this.r=c,this.b=u;break;case 2:this.r=u,this.b=f;break;case 3:this.r=u,this.g=c;break;case 4:this.r=f,this.g=u;break;case 5:default:this.g=u,this.b=c;break}}fromHsvString(t){let r=lx(t,x_);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){let r=lx(t,x_);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){let r=lx(t,(n,o)=>o.includes("%")?Cr(n/100*255):n);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}};var lp=2,b_=.16,X4=.05,Q4=.05,Y4=.15,E_=5,R_=4,Z4=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function C_(e,t,r){var n;return Math.round(e.h)>=60&&Math.round(e.h)<=240?n=r?Math.round(e.h)-lp*t:Math.round(e.h)+lp*t:n=r?Math.round(e.h)+lp*t:Math.round(e.h)-lp*t,n<0?n+=360:n>=360&&(n-=360),n}function S_(e,t,r){if(e.h===0&&e.s===0)return e.s;var n;return r?n=e.s-b_*t:t===R_?n=e.s+b_:n=e.s+X4*t,n>1&&(n=1),r&&t===E_&&n>.1&&(n=.1),n<.06&&(n=.06),Math.round(n*100)/100}function w_(e,t,r){var n;return r?n=e.v+Q4*t:n=e.v-Y4*t,n=Math.max(0,Math.min(1,n)),Math.round(n*100)/100}function nn(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=new Wo(e),o=n.toHsv(),a=E_;a>0;a-=1){var i=new Wo({h:C_(o,a,!0),s:S_(o,a,!0),v:w_(o,a,!0)});r.push(i)}r.push(n);for(var l=1;l<=R_;l+=1){var s=new Wo({h:C_(o,l),s:S_(o,l),v:w_(o,l)});r.push(s)}return t.theme==="dark"?Z4.map(function(u){var c=u.index,f=u.amount;return new Wo(t.backgroundColor||"#141414").mix(r[c],f).toHexString()}):r.map(function(u){return u.toHexString()})}var sp={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"},sx=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];sx.primary=sx[5];var ux=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];ux.primary=ux[5];var cx=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];cx.primary=cx[5];var Vc=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Vc.primary=Vc[5];var fx=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];fx.primary=fx[5];var dx=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];dx.primary=dx[5];var mx=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];mx.primary=mx[5];var px=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];px.primary=px[5];var Hc=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Hc.primary=Hc[5];var vx=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];vx.primary=vx[5];var gx=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];gx.primary=gx[5];var hx=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];hx.primary=hx[5];var yx=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];yx.primary=yx[5];var up={red:sx,volcano:ux,orange:cx,gold:Vc,yellow:fx,lime:dx,green:mx,cyan:px,blue:Hc,geekblue:vx,purple:gx,magenta:hx,grey:yx},O_=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];O_.primary=O_[5];var __=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];__.primary=__[5];var T_=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];T_.primary=T_[5];var P_=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];P_.primary=P_[5];var $_=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];$_.primary=$_[5];var N_=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];N_.primary=N_[5];var I_=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];I_.primary=I_[5];var M_=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];M_.primary=M_[5];var k_=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];k_.primary=k_[5];var A_=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];A_.primary=A_[5];var F_=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];F_.primary=F_[5];var L_=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];L_.primary=L_[5];var D_=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];D_.primary=D_[5];var Wc={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"},J4=Object.assign(Object.assign({},Wc),{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}),So=J4;function dr(e,t){e5(e)&&(e="100%");var r=t5(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(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 Uc(e){return Math.min(1,Math.max(0,e))}function e5(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function t5(e){return typeof e=="string"&&e.indexOf("%")!==-1}function cp(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Kc(e){return e<=1?"".concat(Number(e)*100,"%"):e}function pi(e){return e.length===1?"0"+e:String(e)}function z_(e,t,r){return{r:dr(e,255)*255,g:dr(t,255)*255,b:dr(r,255)*255}}function bx(e,t,r){e=dr(e,255),t=dr(t,255),r=dr(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a=0,i=0,l=(n+o)/2;if(n===o)i=0,a=0;else{var s=n-o;switch(i=l>.5?s/(2-n-o):s/(n+o),n){case e:a=(t-r)/s+(t1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function j_(e,t,r){var n,o,a;if(e=dr(e,360),t=dr(t,100),r=dr(r,100),t===0)o=r,a=r,n=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=xx(l,i,e+1/3),o=xx(l,i,e),a=xx(l,i,e-1/3)}return{r:n*255,g:o*255,b:a*255}}function Cx(e,t,r){e=dr(e,255),t=dr(t,255),r=dr(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a=0,i=n,l=n-o,s=n===0?0:l/n;if(n===o)a=0;else{switch(n){case e:a=(t-r)/l+(t>16,g:(e&65280)>>8,b:e&255}}var Gc={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 W_(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,a=null,i=!1,l=!1;return typeof e=="string"&&(e=a5(e)),typeof e=="object"&&(ha(e.r)&&ha(e.g)&&ha(e.b)?(t=z_(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ha(e.h)&&ha(e.s)&&ha(e.v)?(n=Kc(e.s),o=Kc(e.v),t=B_(e.h,n,o),i=!0,l="hsv"):ha(e.h)&&ha(e.s)&&ha(e.l)&&(n=Kc(e.s),a=Kc(e.l),t=j_(e.h,n,a),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=cp(r),{ok:i,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:r}}var n5="[-\\+]?\\d+%?",o5="[-\\+]?\\d*\\.\\d+%?",vi="(?:".concat(o5,")|(?:").concat(n5,")"),Ex="[\\s|\\(]+(".concat(vi,")[,|\\s]+(").concat(vi,")[,|\\s]+(").concat(vi,")\\s*\\)?"),Rx="[\\s|\\(]+(".concat(vi,")[,|\\s]+(").concat(vi,")[,|\\s]+(").concat(vi,")[,|\\s]+(").concat(vi,")\\s*\\)?"),wo={CSS_UNIT:new RegExp(vi),rgb:new RegExp("rgb"+Ex),rgba:new RegExp("rgba"+Rx),hsl:new RegExp("hsl"+Ex),hsla:new RegExp("hsla"+Rx),hsv:new RegExp("hsv"+Ex),hsva:new RegExp("hsva"+Rx),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 a5(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Gc[e])e=Gc[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=wo.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=wo.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=wo.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=wo.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=wo.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=wo.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=wo.hex8.exec(e),r?{r:mn(r[1]),g:mn(r[2]),b:mn(r[3]),a:wx(r[4]),format:t?"name":"hex8"}:(r=wo.hex6.exec(e),r?{r:mn(r[1]),g:mn(r[2]),b:mn(r[3]),format:t?"name":"hex"}:(r=wo.hex4.exec(e),r?{r:mn(r[1]+r[1]),g:mn(r[2]+r[2]),b:mn(r[3]+r[3]),a:wx(r[4]+r[4]),format:t?"name":"hex8"}:(r=wo.hex3.exec(e),r?{r:mn(r[1]+r[1]),g:mn(r[2]+r[2]),b:mn(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function ha(e){return!!wo.CSS_UNIT.exec(String(e))}var kt=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=H_(t)),this.originalInput=t;var o=W_(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=(n=r.format)!==null&&n!==void 0?n:o.format,this.gradientType=r.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(),r,n,o,a=t.r/255,i=t.g/255,l=t.b/255;return a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),l<=.03928?o=l/12.92:o=Math.pow((l+.055)/1.055,2.4),.2126*r+.7152*n+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=cp(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=Cx(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=Cx(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=bx(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=bx(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Sx(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),V_(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),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(dr(r,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(r){return Math.round(dr(r,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="#"+Sx(this.r,this.g,this.b,!1),r=0,n=Object.entries(Gc);r=0,a=!r&&o&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||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 r=this.toHsl();return r.l+=t/100,r.l=Uc(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=Uc(r.l),new e(r)},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 r=this.toHsl();return r.s-=t/100,r.s=Uc(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=Uc(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),a=r/100,i={r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a};return new e(i)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),o=360/r,a=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(new e(n));return a},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 r=this.toHsv(),n=r.h,o=r.s,a=r.v,i=[],l=1/t;t--;)i.push(new e({h:n,s:o,v:a})),a=(a+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.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 r=this.toHsl(),n=r.h,o=[this],a=360/t,i=1;i{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}},U_=i5;function Ox(e){let{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:o+1},U_(n))}var l5=e=>{let{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},fp=l5;function Ls(e){return(e+8)/e}function _x(e){let t=new Array(10).fill(null).map((r,n)=>{let o=n-1,a=e*Math.pow(Math.E,o/5),i=n>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(r=>({size:r,lineHeight:Ls(r)}))}var s5=e=>{let t=_x(e),r=t.map(c=>c.size),n=t.map(c=>c.lineHeight),o=r[1],a=r[0],i=r[2],l=n[1],s=n[0],u=n[2];return{fontSizeSM:a,fontSize:o,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:l,lineHeightLG:u,lineHeightSM:s,fontHeight:Math.round(l*o),fontHeightLG:Math.round(u*i),fontHeightSM:Math.round(s*a),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},dp=s5;function Tx(e){let{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}var Pn=(e,t)=>new kt(e).setAlpha(t).toRgbString(),Ds=(e,t)=>new kt(e).darken(t).toHexString();var K_=e=>{let t=nn(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]}},G_=(e,t)=>{let r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:Pn(n,.88),colorTextSecondary:Pn(n,.65),colorTextTertiary:Pn(n,.45),colorTextQuaternary:Pn(n,.25),colorFill:Pn(n,.15),colorFillSecondary:Pn(n,.06),colorFillTertiary:Pn(n,.04),colorFillQuaternary:Pn(n,.02),colorBgSolid:Pn(n,1),colorBgSolidHover:Pn(n,.75),colorBgSolidActive:Pn(n,.95),colorBgLayout:Ds(r,4),colorBgContainer:Ds(r,0),colorBgElevated:Ds(r,0),colorBgSpotlight:Pn(n,.85),colorBgBlur:"transparent",colorBorder:Ds(r,15),colorBorderSecondary:Ds(r,6)}};function Eo(e){sp.pink=sp.magenta,up.pink=up.magenta;let t=Object.keys(Wc).map(r=>{let n=e[r]===sp[r]?up[r]:nn(e[r]);return new Array(10).fill(1).reduce((o,a,i)=>(o[`${r}-${i+1}`]=n[i],o[`${r}${i+1}`]=n[i],o),{})}).reduce((r,n)=>(r=Object.assign(Object.assign({},r),n),r),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),qc(e,{generateColorPalettes:K_,generateNeutralColorPalettes:G_})),dp(e.fontSize)),Tx(e)),fp(e)),Ox(e))}var mp=Co(Eo),gi={token:So,override:{override:So},hashed:!0},vl=q_.default.createContext(gi);var X_=R(P()),hi="ant",Px="anticon",$x=["outlined","borderless","filled"],u5=(e,t)=>t||(e?`${hi}-${e}`:hi),de=X_.createContext({getPrefixCls:u5,iconPrefixCls:Px}),{Consumer:c5}=de;var f5=`-ant-${Date.now()}-${Math.random()}`;function d5(e,t){let r={},n=(i,l)=>{let s=i.clone();return s=l?.(s)||s,s.toRgbString()},o=(i,l)=>{let s=new kt(i),u=nn(s.toRgbString());r[`${l}-color`]=n(s),r[`${l}-color-disabled`]=u[1],r[`${l}-color-hover`]=u[4],r[`${l}-color-active`]=u[6],r[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),r[`${l}-color-deprecated-bg`]=u[0],r[`${l}-color-deprecated-border`]=u[2]};if(t.primaryColor){o(t.primaryColor,"primary");let i=new kt(t.primaryColor),l=nn(i.toRgbString());l.forEach((u,c)=>{r[`primary-${c+1}`]=u}),r["primary-color-deprecated-l-35"]=n(i,u=>u.lighten(35)),r["primary-color-deprecated-l-20"]=n(i,u=>u.lighten(20)),r["primary-color-deprecated-t-20"]=n(i,u=>u.tint(20)),r["primary-color-deprecated-t-50"]=n(i,u=>u.tint(50)),r["primary-color-deprecated-f-12"]=n(i,u=>u.setAlpha(u.getAlpha()*.12));let s=new kt(l[0]);r["primary-color-active-deprecated-f-30"]=n(s,u=>u.setAlpha(u.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(s,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(r).map(i=>`--${e}-${i}: ${r[i]};`).join(` `)} } `.trim()}function Q_(e,t){let r=d5(e,t);_t()&&Nr(r,`${f5}-dynamic-theme`)}var zs=R(P()),Nx=zs.createContext(!1),Y_=e=>{let{children:t,disabled:r}=e,n=zs.useContext(Nx);return zs.createElement(Nx.Provider,{value:r??n},t)},js=Nx;var Mx=R(P());var Bs=R(P()),Ix=Bs.createContext(void 0),Z_=e=>{let{children:t,size:r}=e,n=Bs.useContext(Ix);return Bs.createElement(Ix.Provider,{value:r||n},t)},gl=Ix;function m5(){let e=(0,Mx.useContext)(js),t=(0,Mx.useContext)(gl);return{componentDisabled:e,componentSize:t}}var J_=m5;var xp=R(P());var p5=Ue(function e(){We(this,e)}),pp=p5;var eT="CALC_UNIT",v5=new RegExp(eT,"g");function kx(e){return typeof e=="number"?"".concat(e).concat(eT):e}var tT=function(e){xr(r,e);var t=br(r);function r(n,o){var a;We(this,r),a=t.call(this),T(ke(a),"result",""),T(ke(a),"unitlessCssVar",void 0),T(ke(a),"lowPriority",void 0);var i=J(n);return a.unitlessCssVar=o,n instanceof r?a.result="(".concat(n.result,")"):i==="number"?a.result=kx(n):i==="string"&&(a.result=n),a}return Ue(r,[{key:"add",value:function(o){return o instanceof r?this.result="".concat(this.result," + ").concat(o.getResult()):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," + ").concat(kx(o))),this.lowPriority=!0,this}},{key:"sub",value:function(o){return o instanceof r?this.result="".concat(this.result," - ").concat(o.getResult()):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," - ").concat(kx(o))),this.lowPriority=!0,this}},{key:"mul",value:function(o){return this.lowPriority&&(this.result="(".concat(this.result,")")),o instanceof r?this.result="".concat(this.result," * ").concat(o.getResult(!0)):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," * ").concat(o)),this.lowPriority=!1,this}},{key:"div",value:function(o){return this.lowPriority&&(this.result="(".concat(this.result,")")),o instanceof r?this.result="".concat(this.result," / ").concat(o.getResult(!0)):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," / ").concat(o)),this.lowPriority=!1,this}},{key:"getResult",value:function(o){return this.lowPriority||o?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(o){var a=this,i=o||{},l=i.unit,s=!0;return typeof l=="boolean"?s=l:Array.from(this.unitlessCssVar).some(function(u){return a.result.includes(u)})&&(s=!1),this.result=this.result.replace(v5,s?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),r}(pp);var g5=function(e){xr(r,e);var t=br(r);function r(n){var o;return We(this,r),o=t.call(this),T(ke(o),"result",0),n instanceof r?o.result=n.result:typeof n=="number"&&(o.result=n),o}return Ue(r,[{key:"add",value:function(o){return o instanceof r?this.result+=o.result:typeof o=="number"&&(this.result+=o),this}},{key:"sub",value:function(o){return o instanceof r?this.result-=o.result:typeof o=="number"&&(this.result-=o),this}},{key:"mul",value:function(o){return o instanceof r?this.result*=o.result:typeof o=="number"&&(this.result*=o),this}},{key:"div",value:function(o){return o instanceof r?this.result/=o.result:typeof o=="number"&&(this.result/=o),this}},{key:"equal",value:function(){return this.result}}]),r}(pp),rT=g5;var h5=function(t,r){var n=t==="css"?tT:rT;return function(o){return new n(o,r)}},vp=h5;var y5=function(t,r){return"".concat([r,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))},Ax=y5;var gp=R(P());function pt(e){var t=gp.useRef();t.current=e;var r=gp.useCallback(function(){for(var n,o=arguments.length,a=new Array(o),i=0;i1e4){var n=Date.now();this.lastAccessBeat.forEach(function(o,a){n-o>E5&&(r.map.delete(a),r.lastAccessBeat.delete(a))}),this.accessBeat=0}}}]),e}(),aT=new R5;function O5(e,t){return iT.default.useMemo(function(){var r=aT.get(t);if(r)return r;var n=e();return aT.set(t,n),n},t)}var lT=O5;var _5=function(){return{}},sT=_5;function T5(e){var t=e.useCSP,r=t===void 0?sT:t,n=e.useToken,o=e.usePrefix,a=e.getResetStyles,i=e.getCommonStyle,l=e.getCompUnitless;function s(d,v,y,h){var x=Array.isArray(d)?d[0]:d;function p(w){return"".concat(String(x)).concat(w.slice(0,1).toUpperCase()).concat(w.slice(1))}var m=h?.unitless||{},g=typeof l=="function"?l(d):{},b=$($({},g),{},T({},p("zIndexPopup"),!0));Object.keys(m).forEach(function(w){b[p(w)]=m[w]});var C=$($({},h),{},{unitless:b,prefixToken:p}),S=c(d,v,y,C),E=u(x,y,C);return function(w){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w,_=S(w,O),N=k(_,2),I=N[1],A=E(O),M=k(A,2),L=M[0],D=M[1];return[L,I,D]}}function u(d,v,y){var h=y.unitless,x=y.injectStyle,p=x===void 0?!0:x,m=y.prefixToken,g=y.ignore,b=function(E){var w=E.rootCls,O=E.cssVar,_=O===void 0?{}:O,N=n(),I=N.realToken;return ox({path:[d],prefix:_.prefix,key:_.key,unitless:h,ignore:g,token:I,scope:w},function(){var A=zx(d,I,v),M=Lx(d,I,A,{deprecatedTokens:y?.deprecatedTokens});return Object.keys(A).forEach(function(L){M[m(L)]=M[L],delete M[L]}),M}),null},C=function(E){var w=n(),O=w.cssVar;return[function(_){return p&&O?xp.default.createElement(xp.default.Fragment,null,xp.default.createElement(b,{rootCls:E,cssVar:O,component:d}),_):_},O?.key]};return C}function c(d,v,y){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},x=Array.isArray(d)?d:[d,d],p=k(x,1),m=p[0],g=x.join("-"),b=e.layer||{name:"antd"};return function(C){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C,E=n(),w=E.theme,O=E.realToken,_=E.hashId,N=E.token,I=E.cssVar,A=o(),M=A.rootPrefixCls,L=A.iconPrefixCls,D=r(),F=I?"css":"js",z=lT(function(){var G=new Set;return I&&Object.keys(h.unitless||{}).forEach(function(U){G.add(_s(U,I.prefix)),G.add(_s(U,Ax(m,I.prefix)))}),vp(F,G)},[F,m,I?.prefix]),H=oT(F),V=H.max,q=H.min,B={theme:w,token:N,hashId:_,nonce:function(){return D.nonce},clientOnly:h.clientOnly,layer:b,order:h.order||-999};typeof a=="function"&&mi($($({},B),{},{clientOnly:!1,path:["Shared",M]}),function(){return a(N,{prefix:{rootPrefixCls:M,iconPrefixCls:L},csp:D})});var K=mi($($({},B),{},{path:[g,C,L]}),function(){if(h.injectStyle===!1)return[];var G=yp(N),U=G.token,Z=G.flush,ee=zx(m,O,y),ce=".".concat(C),oe=Lx(m,O,ee,{deprecatedTokens:h.deprecatedTokens});I&&ee&&J(ee)==="object"&&Object.keys(ee).forEach(function(be){ee[be]="var(".concat(_s(be,Ax(m,I.prefix)),")")});var ie=Ke(U,{componentCls:ce,prefixCls:C,iconCls:".".concat(L),antCls:".".concat(M),calc:z,max:V,min:q},I?ee:oe),ge=v(ie,{hashId:_,prefixCls:C,rootPrefixCls:M,iconPrefixCls:L});Z(m,oe);var le=typeof i=="function"?i(ie,C,S,h.resetFont):null;return[h.resetStyle===!1?null:le,ge]});return[K,_]}}function f(d,v,y){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},x=c(d,v,y,$({resetStyle:!1,order:-998},h)),p=function(g){var b=g.prefixCls,C=g.rootCls,S=C===void 0?b:C;return x(b,S),null};return p}return{genStyleHooks:s,genSubStyleComponent:f,genComponentStyleHook:c}}var jx=T5;var hl=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];var dT=R(P());var uT="5.22.2";var cT=uT;function Bx(e){return e>=0&&e<=255}function P5(e,t){let{r,g:n,b:o,a}=new kt(e).toRgb();if(a<1)return e;let{r:i,g:l,b:s}=new kt(t).toRgb();for(let u=.01;u<=1;u+=.01){let c=Math.round((r-i*(1-u))/u),f=Math.round((n-l*(1-u))/u),d=Math.round((o-s*(1-u))/u);if(Bx(c)&&Bx(f)&&Bx(d))return new kt({r:c,g:f,b:d,a:Math.round(u*100)/100}).toRgbString()}return new kt({r,g:n,b:o,a:1}).toRgbString()}var Xc=P5;var $5=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{delete n[d]});let o=Object.assign(Object.assign({},r),n),a=480,i=576,l=768,s=992,u=1200,c=1600;if(o.motion===!1){let d="0s";o.motionDurationFast=d,o.motionDurationMid=d,o.motionDurationSlow=d}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Xc(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:Xc(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Xc(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*3,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:Xc(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:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:c-1,screenXXL:c,screenXXLMin:c,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` 0 1px 2px -2px ${new kt("rgba(0, 0, 0, 0.16)").toRgbString()}, 0 3px 6px 0 ${new kt("rgba(0, 0, 0, 0.12)").toRgbString()}, 0 5px 12px 4px ${new kt("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)"}),n)}var fT=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let n=r.getDerivativeToken(e),{override:o}=t,a=fT(t,["override"]),i=Object.assign(Object.assign({},n),{override:o});return i=Hs(i),a&&Object.entries(a).forEach(l=>{let[s,u]=l,{theme:c}=u,f=fT(u,["theme"]),d=f;c&&(d=mT(Object.assign(Object.assign({},i),f),{override:f},c)),i[s]=d}),i};function Xt(){let{token:e,hashed:t,theme:r,override:n,cssVar:o}=dT.default.useContext(vl),a=`${cT}-${t||""}`,i=r||mp,[l,s,u]=Wm(i,[So,e],{salt:a,override:n,getComputedToken:mT,formatToken:Hs,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:Vx,ignore:N5,preserve:I5}});return[i,u,t?s:"",l,o]}var Hx=R(P());var Qc={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Kr=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}},bp=()=>({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"}}),yl=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),pT=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, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),vT=(e,t,r,n)=>{let o=`[class^="${t}"], [class*=" ${t}"]`,a=r?`.${r}`:o,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},l={};return n!==!1&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:Object.assign(Object.assign(Object.assign({},l),i),{[o]:i})}},M5=e=>({outline:`${j(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Ws=e=>({"&:focus-visible":Object.assign({},M5(e))}),Cp=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},Ws(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}});var k5=(e,t)=>{let[r,n]=Xt();return mi({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>t?.nonce,layer:{name:"antd"}},()=>[{[`.${e}`]:Object.assign(Object.assign({},bp()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},Us=k5;var{genStyleHooks:Tt,genComponentStyleHook:Wx,genSubStyleComponent:xl}=jx({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=(0,Hx.useContext)(de);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,r,n,o]=Xt();return{theme:e,realToken:t,hashId:r,token:n,cssVar:o}},useCSP:()=>{let{csp:e,iconPrefixCls:t}=(0,Hx.useContext)(de);return Us(t,e),e??{}},getResetStyles:e=>[{"&":pT(e)}],getCommonStyle:vT,getCompUnitless:()=>Vx});function Ks(e,t){return hl.reduce((r,n)=>{let o=e[`${n}1`],a=e[`${n}3`],i=e[`${n}6`],l=e[`${n}7`];return Object.assign(Object.assign({},r),t(n,{lightColor:o,lightBorderColor:a,darkColor:i,textColor:l}))},{})}var A5=R(P()),F5=Object.assign({},A5),{useId:gT}=F5,L5=()=>"",D5=typeof gT>"u"?L5:gT,hT=D5;function Ux(e,t,r){var n,o;let a=np("ConfigProvider"),i=e||{},l=i.inherit===!1||!t?Object.assign(Object.assign({},gi),{hashed:(n=t?.hashed)!==null&&n!==void 0?n:gi.hashed,cssVar:t?.cssVar}):t,s=hT();return zo(()=>{var u,c;if(!e)return t;let f=Object.assign({},l.components);Object.keys(e.components||{}).forEach(y=>{f[y]=Object.assign(Object.assign({},f[y]),e.components[y])});let d=`css-var-${s.replace(/:/g,"")}`,v=((u=i.cssVar)!==null&&u!==void 0?u:l.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:r?.prefixCls},typeof l.cssVar=="object"?l.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((c=i.cssVar)===null||c===void 0?void 0:c.key)||d});return Object.assign(Object.assign(Object.assign({},l),i),{token:Object.assign(Object.assign({},l.token),i.token),components:f,cssVar:v})},[i,l],(u,c)=>u.some((f,d)=>{let v=c[d];return!Vo(f,v,!0)}))}var jp=R(P());var MT=R(re());var vn=R(P()),eb=R(P());var Sp=R(P()),z5=["children"],Kx=Sp.createContext({});function wp(e){var t=e.children,r=ae(e,z5);return Sp.createElement(Kx.Provider,{value:r},t)}var yT=R(P()),j5=function(e){xr(r,e);var t=br(r);function r(){return We(this,r),t.apply(this,arguments)}return Ue(r,[{key:"render",value:function(){return this.props.children}}]),r}(yT.Component),xT=j5;var Ep=R(P());function Gx(e){var t=Ep.useReducer(function(l){return l+1},0),r=k(t,2),n=r[1],o=Ep.useRef(e),a=pt(function(){return o.current}),i=pt(function(l){o.current=typeof l=="function"?l(o.current):l,n()});return[a,i]}var Mp=R(P()),ba=R(P());var Uo="none",Yc="appear",Zc="enter",Jc="leave",qx="none",pn="prepare",xa="start",yi="active",Rp="end",Op="prepared";var OT=R(P()),_T=R(P());function bT(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit".concat(e)]="webkit".concat(t),r["Moz".concat(e)]="moz".concat(t),r["ms".concat(e)]="MS".concat(t),r["O".concat(e)]="o".concat(t.toLowerCase()),r}function B5(e,t){var r={animationend:bT("Animation","AnimationEnd"),transitionend:bT("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete r.animationend.animation,"TransitionEvent"in t||delete r.transitionend.transition),r}var V5=B5(_t(),typeof window<"u"?window:{}),ST={};_t()&&(CT=document.createElement("div"),ST=CT.style);var CT,_p={};function wT(e){if(_p[e])return _p[e];var t=V5[e];if(t)for(var r=Object.keys(t),n=r.length,o=0;o1&&arguments[1]!==void 0?arguments[1]:2;t();var a=Ot(function(){o<=1?n({isCanceled:function(){return a!==e.current}}):r(n,o-1)});e.current=a}return Np.useEffect(function(){return function(){t()}},[]),[r,t]};var W5=[pn,xa,yi,Rp],U5=[pn,Op],Zx=!1,NT=!0;function Ip(e){return e===yi||e===Rp}var IT=function(e,t,r){var n=ya(qx),o=k(n,2),a=o[0],i=o[1],l=PT(),s=k(l,2),u=s[0],c=s[1];function f(){i(pn,!0)}var d=t?U5:W5;return $p(function(){if(a!==qx&&a!==Rp){var v=d.indexOf(a),y=d[v+1],h=r(a);h===Zx?i(y,!0):y&&u(function(x){function p(){x.isCanceled()||i(y,!0)}h===!0?p():Promise.resolve(h).then(p)})}},[e,a]),$T.useEffect(function(){return function(){c()}},[]),[f,a]};function Jx(e,t,r,n){var o=n.motionEnter,a=o===void 0?!0:o,i=n.motionAppear,l=i===void 0?!0:i,s=n.motionLeave,u=s===void 0?!0:s,c=n.motionDeadline,f=n.motionLeaveImmediately,d=n.onAppearPrepare,v=n.onEnterPrepare,y=n.onLeavePrepare,h=n.onAppearStart,x=n.onEnterStart,p=n.onLeaveStart,m=n.onAppearActive,g=n.onEnterActive,b=n.onLeaveActive,C=n.onAppearEnd,S=n.onEnterEnd,E=n.onLeaveEnd,w=n.onVisibleChanged,O=ya(),_=k(O,2),N=_[0],I=_[1],A=Gx(Uo),M=k(A,2),L=M[0],D=M[1],F=ya(null),z=k(F,2),H=z[0],V=z[1],q=L(),B=(0,ba.useRef)(!1),K=(0,ba.useRef)(null);function G(){return r()}var U=(0,ba.useRef)(!1);function Z(){D(Uo),V(null,!0)}var ee=pt(function(xe){var $e=L();if($e!==Uo){var Se=G();if(!(xe&&!xe.deadline&&xe.target!==Se)){var he=U.current,Me;$e===Yc&&he?Me=C?.(Se,xe):$e===Zc&&he?Me=S?.(Se,xe):$e===Jc&&he&&(Me=E?.(Se,xe)),he&&Me!==!1&&Z()}}}),ce=TT(ee),oe=k(ce,1),ie=oe[0],ge=function($e){switch($e){case Yc:return T(T(T({},pn,d),xa,h),yi,m);case Zc:return T(T(T({},pn,v),xa,x),yi,g);case Jc:return T(T(T({},pn,y),xa,p),yi,b);default:return{}}},le=Mp.useMemo(function(){return ge(q)},[q]),be=IT(q,!e,function(xe){if(xe===pn){var $e=le[pn];return $e?$e(G()):Zx}if(ye in le){var Se;V(((Se=le[ye])===null||Se===void 0?void 0:Se.call(le,G(),null))||null)}return ye===yi&&q!==Uo&&(ie(G()),c>0&&(clearTimeout(K.current),K.current=setTimeout(function(){ee({deadline:!0})},c))),ye===Op&&Z(),NT}),ne=k(be,2),me=ne[0],ye=ne[1],De=Ip(ye);U.current=De;var Ce=(0,ba.useRef)(null);$p(function(){if(!(B.current&&Ce.current===t)){I(t);var xe=B.current;B.current=!0;var $e;!xe&&t&&l&&($e=Yc),xe&&t&&a&&($e=Zc),(xe&&!t&&u||!xe&&f&&!t&&u)&&($e=Jc);var Se=ge($e);$e&&(e||Se[pn])?(D($e),me()):D(Uo),Ce.current=t}},[t]),(0,ba.useEffect)(function(){(q===Yc&&!l||q===Zc&&!a||q===Jc&&!u)&&D(Uo)},[l,a,u]),(0,ba.useEffect)(function(){return function(){B.current=!1,clearTimeout(K.current)}},[]);var ve=Mp.useRef(!1);(0,ba.useEffect)(function(){N&&(ve.current=!0),N!==void 0&&q===Uo&&((ve.current||N)&&w?.(N),ve.current=!0)},[N,q]);var ze=H;return le[pn]&&ye===xa&&(ze=$({transition:"none"},ze)),[q,ye,ze,N??t]}function K5(e){var t=e;J(e)==="object"&&(t=e.transitionSupport);function r(o,a){return!!(o.motionName&&t&&a!==!1)}var n=vn.forwardRef(function(o,a){var i=o.visible,l=i===void 0?!0:i,s=o.removeOnLeave,u=s===void 0?!0:s,c=o.forceRender,f=o.children,d=o.motionName,v=o.leavedClassName,y=o.eventProps,h=vn.useContext(Kx),x=h.motion,p=r(o,x),m=(0,eb.useRef)(),g=(0,eb.useRef)();function b(){try{return m.current instanceof HTMLElement?m.current:cl(g.current)}catch{return null}}var C=Jx(p,l,b,o),S=k(C,4),E=S[0],w=S[1],O=S[2],_=S[3],N=vn.useRef(_);_&&(N.current=!0);var I=vn.useCallback(function(z){m.current=z,Ic(a,z)},[a]),A,M=$($({},y),{},{visible:l});if(!f)A=null;else if(E===Uo)_?A=f($({},M),I):!u&&N.current&&v?A=f($($({},M),{},{className:v}),I):c||!u&&!v?A=f($($({},M),{},{style:{display:"none"}}),I):A=null;else{var L;w===pn?L="prepare":Ip(w)?L="active":w===xa&&(L="start");var D=Yx(d,"".concat(E,"-").concat(L));A=f($($({},M),{},{className:(0,MT.default)(Yx(d,E),T(T({},D,D&&L),d,typeof d=="string")),style:O}),I)}if(vn.isValidElement(A)&&tn(A)){var F=jo(A);F||(A=vn.cloneElement(A,{ref:I}))}return vn.createElement(xT,{ref:g},A)});return n.displayName="CSSMotion",n}var kp=K5(Tp);var bl=R(P());var Ap="add",Fp="keep",Lp="remove",zp="removed";function G5(e){var t;return e&&J(e)==="object"&&"key"in e?t=e:t={key:e},$($({},t),{},{key:String(t.key)})}function Dp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(G5)}function kT(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=[],n=0,o=t.length,a=Dp(e),i=Dp(t);a.forEach(function(u){for(var c=!1,f=n;f1});return s.forEach(function(u){r=r.filter(function(c){var f=c.key,d=c.status;return f!==u||d!==Lp}),r.forEach(function(c){c.key===u&&(c.status=Fp)})}),r}var q5=["component","children","onVisibleChanged","onAllRemoved"],X5=["status"],Q5=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Y5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kp,r=function(n){xr(a,n);var o=br(a);function a(){var i;We(this,a);for(var l=arguments.length,s=new Array(l),u=0;unull;var e3=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);ot.endsWith("Color"))}var l3=e=>{let{prefixCls:t,iconPrefixCls:r,theme:n,holderRender:o}=e;t!==void 0&&(FT=t),r!==void 0&&(r3=r),"holderRender"in e&&(o3=o),n&&(i3(n)?Q_(a3(),n):n3=n)};var s3=e=>{let{children:t,csp:r,autoInsertSpaceInButton:n,alert:o,anchor:a,form:i,locale:l,componentSize:s,direction:u,space:c,splitter:f,virtual:d,dropdownMatchSelectWidth:v,popupMatchSelectWidth:y,popupOverflow:h,legacyLocale:x,parentContext:p,iconPrefixCls:m,theme:g,componentDisabled:b,segmented:C,statistic:S,spin:E,calendar:w,carousel:O,cascader:_,collapse:N,typography:I,checkbox:A,descriptions:M,divider:L,drawer:D,skeleton:F,steps:z,image:H,layout:V,list:q,mentions:B,modal:K,progress:G,result:U,slider:Z,breadcrumb:ee,menu:ce,pagination:oe,input:ie,textArea:ge,empty:le,badge:be,radio:ne,rate:me,switch:ye,transfer:De,avatar:Ce,message:ve,tag:ze,table:xe,card:$e,tabs:Se,timeline:he,timePicker:Me,upload:Ae,notification:rr,tree:Ge,colorPicker:Ve,datePicker:et,rangePicker:qe,flex:Ne,wave:Ee,dropdown:se,warning:Be,tour:Q,floatButtonGroup:ue,variant:it,inputNumber:Fr,treeSelect:Xr}=e,yn=jt.useCallback((Ze,te)=>{let{prefixCls:we}=e;if(te)return te;let Fe=we||p.getPrefixCls("");return Ze?`${Fe}-${Ze}`:Fe},[p.getPrefixCls,e.prefixCls]),Lr=m||p.iconPrefixCls||Px,Yt=r||p.csp;Us(Lr,Yt);let Ut=Ux(g,p.theme,{prefixCls:yn("")}),yt={csp:Yt,autoInsertSpaceInButton:n,alert:o,anchor:a,locale:l||x,direction:u,space:c,splitter:f,virtual:d,popupMatchSelectWidth:y??v,popupOverflow:h,getPrefixCls:yn,iconPrefixCls:Lr,theme:Ut,segmented:C,statistic:S,spin:E,calendar:w,carousel:O,cascader:_,collapse:N,typography:I,checkbox:A,descriptions:M,divider:L,drawer:D,skeleton:F,steps:z,image:H,input:ie,textArea:ge,layout:V,list:q,mentions:B,modal:K,progress:G,result:U,slider:Z,breadcrumb:ee,menu:ce,pagination:oe,empty:le,badge:be,radio:ne,rate:me,switch:ye,transfer:De,avatar:Ce,message:ve,tag:ze,table:xe,card:$e,tabs:Se,timeline:he,timePicker:Me,upload:Ae,notification:rr,tree:Ge,colorPicker:Ve,datePicker:et,rangePicker:qe,flex:Ne,wave:Ee,dropdown:se,warning:Be,tour:Q,floatButtonGroup:ue,variant:it,inputNumber:Fr,treeSelect:Xr},Xe=Object.assign({},p);Object.keys(yt).forEach(Ze=>{yt[Ze]!==void 0&&(Xe[Ze]=yt[Ze])}),t3.forEach(Ze=>{let te=e[Ze];te&&(Xe[Ze]=te)}),typeof n<"u"&&(Xe.button=Object.assign({autoInsertSpace:n},Xe.button));let Lt=zo(()=>Xe,Xe,(Ze,te)=>{let we=Object.keys(Ze),Fe=Object.keys(te);return we.length!==Fe.length||we.some(ft=>Ze[ft]!==te[ft])}),Zt=jt.useMemo(()=>({prefixCls:Lr,csp:Yt}),[Lr,Yt]),Re=jt.createElement(jt.Fragment,null,jt.createElement(AT,{dropdownMatchSelectWidth:v}),t),Qe=jt.useMemo(()=>{var Ze,te,we,Fe;return va(((Ze=ga.Form)===null||Ze===void 0?void 0:Ze.defaultValidateMessages)||{},((we=(te=Lt.locale)===null||te===void 0?void 0:te.Form)===null||we===void 0?void 0:we.defaultValidateMessages)||{},((Fe=Lt.form)===null||Fe===void 0?void 0:Fe.validateMessages)||{},i?.validateMessages||{})},[Lt,i?.validateMessages]);Object.keys(Qe).length>0&&(Re=jt.createElement(s_.Provider,{value:Qe},Re)),l&&(Re=jt.createElement(y_,{locale:l,_ANT_MARK__:h_},Re)),(Lr||Yt)&&(Re=jt.createElement(ks.Provider,{value:Zt},Re)),s&&(Re=jt.createElement(Z_,{size:s},Re)),Re=jt.createElement(tb,null,Re);let St=jt.useMemo(()=>{let Ze=Ut||{},{algorithm:te,token:we,components:Fe,cssVar:ft}=Ze,nr=e3(Ze,["algorithm","token","components","cssVar"]),Dn=te&&(!Array.isArray(te)||te.length>0)?Co(te):mp,Ye={};Object.entries(Fe||{}).forEach(st=>{let[vt,Jt]=st,ut=Object.assign({},Jt);"algorithm"in ut&&(ut.algorithm===!0?ut.theme=Dn:(Array.isArray(ut.algorithm)||typeof ut.algorithm=="function")&&(ut.theme=Co(ut.algorithm)),delete ut.algorithm),Ye[vt]=ut});let Ie=Object.assign(Object.assign({},So),we);return Object.assign(Object.assign({},nr),{theme:Dn,token:Ie,components:Ye,override:Object.assign({override:Ie},Ye),cssVar:ft})},[Ut]);return g&&(Re=jt.createElement(vl.Provider,{value:St},Re)),Lt.warning&&(Re=jt.createElement(i_.Provider,{value:Lt.warning},Re)),b!==void 0&&(Re=jt.createElement(Y_,{disabled:b},Re)),jt.createElement(de.Provider,{value:Lt},Re)},Gs=e=>{let t=jt.useContext(de),r=jt.useContext(As);return jt.createElement(s3,Object.assign({parentContext:t,legacyLocale:r},e))};Gs.ConfigContext=de;Gs.SizeContext=gl;Gs.config=l3;Gs.useConfig=J_;Object.defineProperty(Gs,"SizeContext",{get:()=>gl});var rb=Gs;var wl=R(P()),HT=R(re());var BT=R(P());function LT(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function u3(e){return LT(e)instanceof ShadowRoot}function Cl(e){return u3(e)?LT(e):null}var Sl=R(P());function c3(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function zT(e,t){It(e,"[@ant-design/icons] ".concat(t))}function nb(e){return J(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(J(e.icon)==="object"||typeof e.icon=="function")}function DT(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];switch(r){case"class":t.className=n,delete t.class;break;default:delete t[r],t[c3(r)]=n}return t},{})}function Bp(e,t,r){return r?Sl.default.createElement(e.tag,$($({key:t},DT(e.attrs)),r),(e.children||[]).map(function(n,o){return Bp(n,"".concat(t,"-").concat(e.tag,"-").concat(o))})):Sl.default.createElement(e.tag,$({key:t},DT(e.attrs)),(e.children||[]).map(function(n,o){return Bp(n,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function ob(e){return nn(e)[0]}function Vp(e){return e?Array.isArray(e)?e:[e]:[]}var f3=` .anticon { display: inline-flex; align-items: 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); } } `,jT=function(t){var r=(0,Sl.useContext)(ks),n=r.csp,o=r.prefixCls,a=f3;o&&(a=a.replace(/anticon/g,o)),(0,Sl.useEffect)(function(){var i=t.current,l=Cl(i);Nr(a,"@ant-design-icons",{prepend:!0,csp:n,attachTo:l})},[])};var d3=["icon","className","onClick","style","primaryColor","secondaryColor"],ef={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function m3(e){var t=e.primaryColor,r=e.secondaryColor;ef.primaryColor=t,ef.secondaryColor=r||ob(t),ef.calculated=!!r}function p3(){return $({},ef)}var Hp=function(t){var r=t.icon,n=t.className,o=t.onClick,a=t.style,i=t.primaryColor,l=t.secondaryColor,s=ae(t,d3),u=BT.useRef(),c=ef;if(i&&(c={primaryColor:i,secondaryColor:l||ob(i)}),jT(u),zT(nb(r),"icon should be icon definiton, but got ".concat(r)),!nb(r))return null;var f=r;return f&&typeof f.icon=="function"&&(f=$($({},f),{},{icon:f.icon(c.primaryColor,c.secondaryColor)})),Bp(f.icon,"svg-".concat(f.name),$($({className:n,onClick:o,style:a,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:u}))};Hp.displayName="IconReact";Hp.getTwoToneColors=p3;Hp.setTwoToneColors=m3;var tf=Hp;function ab(e){var t=Vp(e),r=k(t,2),n=r[0],o=r[1];return tf.setTwoToneColors({primaryColor:n,secondaryColor:o})}function VT(){var e=tf.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var v3=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];ab(Hc.primary);var Wp=wl.forwardRef(function(e,t){var r=e.className,n=e.icon,o=e.spin,a=e.rotate,i=e.tabIndex,l=e.onClick,s=e.twoToneColor,u=ae(e,v3),c=wl.useContext(ks),f=c.prefixCls,d=f===void 0?"anticon":f,v=c.rootClassName,y=(0,HT.default)(v,d,T(T({},"".concat(d,"-").concat(n.name),!!n.name),"".concat(d,"-spin"),!!o||n.name==="loading"),r),h=i;h===void 0&&l&&(h=-1);var x=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,p=Vp(s),m=k(p,2),g=m[0],b=m[1];return wl.createElement("span",W({role:"img","aria-label":n.name},u,{ref:t,tabIndex:h,onClick:l,className:y}),wl.createElement(tf,{icon:n,primaryColor:g,secondaryColor:b,style:x}))});Wp.displayName="AntdIcon";Wp.getTwoToneColor=VT;Wp.setTwoToneColor=ab;var Pt=Wp;var Up=R(P());var g3={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"},WT=g3;var h3=function(t,r){return Up.createElement(Pt,W({},t,{ref:r,icon:WT}))},y3=Up.forwardRef(h3),UT=y3;var Kp=R(P());var x3={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"},KT=x3;var b3=function(t,r){return Kp.createElement(Pt,W({},t,{ref:r,icon:KT}))},C3=Kp.forwardRef(b3),Gp=C3;var S3=`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`,w3=`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`,E3="".concat(S3," ").concat(w3).split(/[\s\n]+/),R3="aria-",O3="data-";function GT(e,t){return e.indexOf(t)===0}function rf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r;t===!1?r={aria:!0,data:!0,attr:!0}:t===!0?r={aria:!0}:r=$({},t);var n={};return Object.keys(e).forEach(function(o){(r.aria&&(o==="role"||GT(o,R3))||r.data&>(o,O3)||r.attr&&E3.includes(o))&&(n[o]=e[o])}),n}var nf=R(P());function qp(e){return e&&nf.default.isValidElement(e)&&e.type===nf.default.Fragment}var ib=(e,t,r)=>nf.default.isValidElement(e)?nf.default.cloneElement(e,typeof r=="function"?r(e.props||{}):r):t;function Ro(e,t){return ib(e,e,t)}var _3=e=>{let[,,,,t]=Xt();return t?`${e}-css-var`:""},Xp=_3;var _e={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 r=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||r>=_e.F1&&r<=_e.F12)return!1;switch(r){case _e.ALT:case _e.CAPS_LOCK:case _e.CONTEXT_MENU:case _e.CTRL:case _e.DOWN:case _e.END:case _e.ESC:case _e.HOME:case _e.INSERT:case _e.LEFT:case _e.MAC_FF_META:case _e.META:case _e.NUMLOCK:case _e.NUM_CENTER:case _e.PAGE_DOWN:case _e.PAGE_UP:case _e.PAUSE:case _e.PRINT_SCREEN:case _e.RIGHT:case _e.SHIFT:case _e.UP:case _e.WIN_KEY:case _e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=_e.ZERO&&t<=_e.NINE||t>=_e.NUM_ZERO&&t<=_e.NUM_MULTIPLY||t>=_e.A&&t<=_e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case _e.SPACE:case _e.QUESTION_MARK:case _e.NUM_PLUS:case _e.NUM_MINUS:case _e.NUM_PERIOD:case _e.NUM_DIVISION:case _e.SEMICOLON:case _e.DASH:case _e.EQUALS:case _e.COMMA:case _e.PERIOD:case _e.SLASH:case _e.APOSTROPHE:case _e.SINGLE_QUOTE:case _e.OPEN_SQUARE_BRACKET:case _e.BACKSLASH:case _e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},lt=_e;var Qp=R(P());var T3={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"},qT=T3;var P3=function(t,r){return Qp.createElement(Pt,W({},t,{ref:r,icon:qT}))},$3=Qp.forwardRef(P3),Yp=$3;var QT=R(P());var XT=R(P()),N3=XT.default.createContext(void 0),Zp=N3;var Ca=100,I3=10,M3=Ca*I3,gee=M3+Ca,YT={Modal:Ca,Drawer:Ca,Popover:Ca,Popconfirm:Ca,Tooltip:Ca,Tour:Ca,FloatButton:Ca},k3={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function A3(e){return e in YT}var ZT=(e,t)=>{let[,r]=Xt(),n=QT.default.useContext(Zp),o=A3(e),a;if(t!==void 0)a=[t,t];else{let i=n??0;o?i+=(n?0:r.zIndexPopupBase)+YT[e]:i+=k3[e],a=[n===void 0?t:i,i]}return a};function Jp(e,t){this.v=e,this.k=t}function Sr(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch{o=0}Sr=function(i,l,s,u){function c(f,d){Sr(i,f,function(v){return this._invoke(f,d,v)})}l?o?o(i,l,{value:s,enumerable:!u,configurable:!u,writable:!u}):i[l]=s:(c("next",0),c("throw",1),c("return",2))},Sr(e,t,r,n)}function of(){var e,t,r=typeof Symbol=="function"?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function a(v,y,h,x){var p=y&&y.prototype instanceof l?y:l,m=Object.create(p.prototype);return Sr(m,"_invoke",function(g,b,C){var S,E,w,O=0,_=C||[],N=!1,I={p:0,n:0,v:e,a:A,f:A.bind(e,4),d:function(L,D){return S=L,E=0,w=e,I.n=D,i}};function A(M,L){for(E=M,w=L,t=0;!N&&O&&!D&&t<_.length;t++){var D,F=_[t],z=I.p,H=F[2];M>3?(D=H===L)&&(w=F[(E=F[4])?5:(E=3,3)],F[4]=F[5]=e):F[0]<=z&&((D=M<2&&zL||L>H)&&(F[4]=M,F[5]=L,I.n=H,E=0))}if(D||M>1)return i;throw N=!0,L}return function(M,L,D){if(O>1)throw TypeError("Generator is already running");for(N&&L===1&&A(L,D),E=L,w=D;(t=E<2?e:w)||!N;){S||(E?E<3?(E>1&&(I.n=-1),A(E,w)):I.n=w:I.v=w);try{if(O=2,S){if(E||(M="next"),t=S[M]){if(!(t=t.call(S,w)))throw TypeError("iterator result is not an object");if(!t.done)return t;w=t.value,E<2&&(E=0)}else E===1&&(t=S.return)&&t.call(S),E<2&&(w=TypeError("The iterator does not provide a '"+M+"' method"),E=1);S=e}else if((t=(N=I.n<0)?w:g.call(b,I))!==i)break}catch(F){S=e,E=1,w=F}finally{O=1}}return{value:t,done:N}}}(v,h,x),!0),m}var i={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(Sr(t={},n,function(){return this}),t),f=u.prototype=l.prototype=Object.create(c);function d(v){return Object.setPrototypeOf?Object.setPrototypeOf(v,u):(v.__proto__=u,Sr(v,o,"GeneratorFunction")),v.prototype=Object.create(f),v}return s.prototype=u,Sr(f,"constructor",u),Sr(u,"constructor",s),s.displayName="GeneratorFunction",Sr(u,o,"GeneratorFunction"),Sr(f),Sr(f,o,"Generator"),Sr(f,n,function(){return this}),Sr(f,"toString",function(){return"[object Generator]"}),(of=function(){return{w:a,m:d}})()}function qs(e,t){function r(o,a,i,l){try{var s=e[o](a),u=s.value;return u instanceof Jp?t.resolve(u.v).then(function(c){r("next",c,i,l)},function(c){r("throw",c,i,l)}):t.resolve(u).then(function(c){s.value=c,i(s)},function(c){return r("throw",c,i,l)})}catch(c){l(c)}}var n;this.next||(Sr(qs.prototype),Sr(qs.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),Sr(this,"_invoke",function(o,a,i){function l(){return new t(function(s,u){r(o,i,s,u)})}return n=n?n.then(l,l):l()},!0)}function ev(e,t,r,n,o){return new qs(of().w(e,t,r,n),o||Promise)}function JT(e,t,r,n,o){var a=ev(e,t,r,n,o);return a.next().then(function(i){return i.done?i.value:a.next()})}function eP(e){var t=Object(e),r=[];for(var n in t)r.unshift(n);return function o(){for(;r.length;)if((n=r.pop())in t)return o.value=n,o.done=!1,o;return o.done=!0,o}}function lb(e){if(e!=null){var t=e[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw new TypeError(J(e)+" is not iterable")}function mr(){"use strict";var e=of(),t=e.m(mr),r=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function n(i){var l=typeof i=="function"&&i.constructor;return!!l&&(l===r||(l.displayName||l.name)==="GeneratorFunction")}var o={throw:1,return:2,break:3,continue:3};function a(i){var l,s;return function(u){l||(l={stop:function(){return s(u.a,2)},catch:function(){return u.v},abrupt:function(f,d){return s(u.a,o[f],d)},delegateYield:function(f,d,v){return l.resultName=d,s(u.d,lb(f),v)},finish:function(f){return s(u.f,f)}},s=function(f,d,v){u.p=l.prev,u.n=l.next;try{return f(d,v)}finally{l.next=u.n}}),l.resultName&&(l[l.resultName]=u.v,l.resultName=void 0),l.sent=u.v,l.next=u.n;try{return i.call(this,l)}finally{u.p=l.prev,u.n=l.next}}}return(mr=function(){return{wrap:function(s,u,c,f){return e.w(a(s),u,c,f&&f.reverse())},isGeneratorFunction:n,mark:e.m,awrap:function(s,u){return new Jp(s,u)},AsyncIterator:qs,async:function(s,u,c,f,d){return(n(u)?ev:JT)(a(s),u,c,f,d)},keys:eP,values:lb}})()}function tP(e,t,r,n,o,a,i){try{var l=e[a](i),s=l.value}catch(u){return void r(u)}l.done?t(s):Promise.resolve(s).then(n,o)}function Ko(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function i(s){tP(a,n,o,i,l,"next",s)}function l(s){tP(a,n,o,i,l,"throw",s)}i(void 0)})}}var F3=R(sl()),af=$({},F3),L3=af.version,sb=af.render,D3=af.unmountComponentAtNode,rv;try{rP=Number((L3||"").split(".")[0]),rP>=18&&(rv=af.createRoot)}catch{}var rP;function nP(e){var t=af.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&J(t)==="object"&&(t.usingClientEntryPoint=e)}var tv="__rc_react_root__";function z3(e,t){nP(!0);var r=t[tv]||rv(t);nP(!1),r.render(e),t[tv]=r}function j3(e,t){sb?.(e,t)}function oP(e,t){if(rv){z3(e,t);return}j3(e,t)}function B3(e){return ub.apply(this,arguments)}function ub(){return ub=Ko(mr().mark(function e(t){return mr().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Promise.resolve().then(function(){var o;(o=t[tv])===null||o===void 0||o.unmount(),delete t[tv]}));case 1:case"end":return n.stop()}},e)})),ub.apply(this,arguments)}function V3(e){D3(e)}function aP(e){return cb.apply(this,arguments)}function cb(){return cb=Ko(mr().mark(function e(t){return mr().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(rv===void 0){n.next=2;break}return n.abrupt("return",B3(t));case 2:V3(t);case 3:case"end":return n.stop()}},e)})),cb.apply(this,arguments)}var fb=()=>({height:0,opacity:0}),iP=e=>{let{scrollHeight:t}=e;return{height:t,opacity:1}},H3=e=>({height:e?e.offsetHeight:0}),db=(e,t)=>t?.deadline===!0||t.propertyName==="height",W3=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:hi}-motion-collapse`,onAppearStart:fb,onEnterStart:fb,onAppearActive:iP,onEnterActive:iP,onLeaveStart:H3,onLeaveActive:fb,onAppearEnd:db,onEnterEnd:db,onLeaveEnd:db,motionDeadline:500}};var nv=(e,t,r)=>r!==void 0?r:`${e}-${t}`;var lP=W3;var Ct=R(P()),Sv=R(re());var El=R(P()),mP=R(re());var Xs=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),r=t.width,n=t.height;if(r||n)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),a=o.width,i=o.height;if(a||i)return!0}}return!1};var U3=e=>{let{componentCls:t,colorPrimary:r}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${r})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},sP=Wx("Wave",e=>[U3(e)]);var av=R(P());var ov=`${hi}-wave-target`;var Gr=R(P()),cP=R(re());function mb(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function uP(e){let{borderTopColor:t,borderColor:r,backgroundColor:n}=getComputedStyle(e);return mb(t)?t:mb(r)?r:mb(n)?n:null}function pb(e){return Number.isNaN(e)?0:e}var K3=e=>{let{className:t,target:r,component:n}=e,o=Gr.useRef(null),[a,i]=Gr.useState(null),[l,s]=Gr.useState([]),[u,c]=Gr.useState(0),[f,d]=Gr.useState(0),[v,y]=Gr.useState(0),[h,x]=Gr.useState(0),[p,m]=Gr.useState(!1),g={left:u,top:f,width:v,height:h,borderRadius:l.map(S=>`${S}px`).join(" ")};a&&(g["--wave-color"]=a);function b(){let S=getComputedStyle(r);i(uP(r));let E=S.position==="static",{borderLeftWidth:w,borderTopWidth:O}=S;c(E?r.offsetLeft:pb(-parseFloat(w))),d(E?r.offsetTop:pb(-parseFloat(O))),y(r.offsetWidth),x(r.offsetHeight);let{borderTopLeftRadius:_,borderTopRightRadius:N,borderBottomLeftRadius:I,borderBottomRightRadius:A}=S;s([_,N,A,I].map(M=>pb(parseFloat(M))))}if(Gr.useEffect(()=>{if(r){let S=Ot(()=>{b(),m(!0)}),E;return typeof ResizeObserver<"u"&&(E=new ResizeObserver(b),E.observe(r)),()=>{Ot.cancel(S),E?.disconnect()}}},[]),!p)return null;let C=(n==="Checkbox"||n==="Radio")&&r?.classList.contains(ov);return Gr.createElement(gn,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(S,E)=>{var w;if(E.deadline||E.propertyName==="opacity"){let O=(w=o.current)===null||w===void 0?void 0:w.parentElement;aP(O).then(()=>{O?.remove()})}return!1}},(S,E)=>{let{className:w}=S;return Gr.createElement("div",{ref:Hr(o,E),className:(0,cP.default)(t,w,{"wave-quick":C}),style:g})})},G3=(e,t)=>{var r;let{component:n}=t;if(n==="Checkbox"&&!(!((r=e.querySelector("input"))===null||r===void 0)&&r.checked))return;let o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",e?.insertBefore(o,e?.firstChild),oP(Gr.createElement(K3,Object.assign({},t,{target:e})),o)},fP=G3;var q3=(e,t,r)=>{let{wave:n}=av.useContext(de),[,o,a]=Xt(),i=pt(u=>{let c=e.current;if(n?.disabled||!c)return;let f=c.querySelector(`.${ov}`)||c,{showEffect:d}=n||{};(d||fP)(f,{className:t,token:o,component:r,event:u,hashId:a})}),l=av.useRef();return u=>{Ot.cancel(l.current),l.current=Ot(()=>{i(u)})}},dP=q3;var X3=e=>{let{children:t,disabled:r,component:n}=e,{getPrefixCls:o}=(0,El.useContext)(de),a=(0,El.useRef)(null),i=o("wave"),[,l]=sP(i),s=dP(a,(0,mP.default)(i,l),n);if(El.default.useEffect(()=>{let c=a.current;if(!c||c.nodeType!==1||r)return;let f=d=>{!Xs(d.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||s(d)};return c.addEventListener("click",f,!0),()=>{c.removeEventListener("click",f,!0)}},[r]),!El.default.isValidElement(t))return t??null;let u=tn(t)?Hr(t.ref,a):a;return Ro(t,{ref:u})},iv=X3;var vb=R(P());var Q3=e=>{let t=vb.default.useContext(gl);return vb.default.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},Yn=Q3;var hn=R(P()),gb=R(re());var Y3=e=>{let{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},pP=Y3;var Z3=e=>{let{componentCls:t,antCls:r}=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 > ${r}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},J3=e=>{let{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}}}};var lv=Tt("Space",e=>{let t=Ke(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Z3(t),J3(t),pP(t)]},()=>({}),{resetStyle:!1});var vP=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let r=hn.useContext(sv),n=hn.useMemo(()=>{if(!r)return"";let{compactDirection:o,isFirstItem:a,isLastItem:i}=r,l=o==="vertical"?"-vertical-":"-";return(0,gb.default)(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:a,[`${e}-compact${l}last-item`]:i,[`${e}-compact${l}item-rtl`]:t==="rtl"})},[e,t,r]);return{compactSize:r?.compactSize,compactDirection:r?.compactDirection,compactItemClassnames:n}},hP=e=>{let{children:t}=e;return hn.createElement(sv.Provider,{value:null},t)},eD=e=>{var{children:t}=e,r=vP(e,["children"]);return hn.createElement(sv.Provider,{value:r},t)},tD=e=>{let{getPrefixCls:t,direction:r}=hn.useContext(de),{size:n,direction:o,block:a,prefixCls:i,className:l,rootClassName:s,children:u}=e,c=vP(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=Yn(g=>n??g),d=t("space-compact",i),[v,y]=lv(d),h=(0,gb.default)(d,y,{[`${d}-rtl`]:r==="rtl",[`${d}-block`]:a,[`${d}-vertical`]:o==="vertical"},l,s),x=hn.useContext(sv),p=Wt(u),m=hn.useMemo(()=>p.map((g,b)=>{let C=g?.key||`${d}-item-${b}`;return hn.createElement(eD,{key:C,compactSize:f,compactDirection:o,isFirstItem:b===0&&(!x||x?.isFirstItem),isLastItem:b===p.length-1&&(!x||x?.isLastItem)},g)}),[n,p,x]);return p.length===0?null:v(hn.createElement("div",Object.assign({className:h},c),m))},yP=tD;var Rl=R(P()),xP=R(re());var rD=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{getPrefixCls:t,direction:r}=Rl.useContext(de),{prefixCls:n,size:o,className:a}=e,i=rD(e,["prefixCls","size","className"]),l=t("btn-group",n),[,,s]=Xt(),u="";switch(o){case"large":u="lg";break;case"small":u="sm";break;default:}let c=(0,xP.default)(l,{[`${l}-${u}`]:u,[`${l}-rtl`]:r==="rtl"},a,s);return Rl.createElement(hb.Provider,{value:o},Rl.createElement("div",Object.assign({},i,{className:c})))},bP=nD;var Qs=R(P());var CP=/^[\u4E00-\u9FA5]{2}$/,uv=CP.test.bind(CP);function SP(e){return typeof e=="string"}function cv(e){return e==="text"||e==="link"}function oD(e,t){if(e==null)return;let r=t?" ":"";return typeof e!="string"&&typeof e!="number"&&SP(e.type)&&uv(e.props.children)?Ro(e,{children:e.props.children.split("").join(r)}):SP(e)?uv(e)?Qs.default.createElement("span",null,e.split("").join(r)):Qs.default.createElement("span",null,e):qp(e)?Qs.default.createElement("span",null,e):e}function wP(e,t){let r=!1,n=[];return Qs.default.Children.forEach(e,o=>{let a=typeof o,i=a==="string"||a==="number";if(r&&i){let l=n.length-1,s=n[l];n[l]=`${s}${o}`}else n.push(o);r=i}),Qs.default.Children.map(n,o=>oD(o,t))}var fv=R(P()),EP=R(re()),aD=(0,fv.forwardRef)((e,t)=>{let{className:r,style:n,children:o,prefixCls:a}=e,i=(0,EP.default)(`${a}-icon`,r);return fv.default.createElement("span",{ref:t,className:i,style:n},o)}),dv=aD;var xi=R(P());var OP=R(re());var RP=(0,xi.forwardRef)((e,t)=>{let{prefixCls:r,className:n,style:o,iconClassName:a}=e,i=(0,OP.default)(`${r}-loading-icon`,n);return xi.default.createElement(dv,{prefixCls:r,className:i,style:o,ref:t},xi.default.createElement(Yp,{className:a}))}),yb=()=>({width:0,opacity:0,transform:"scale(0)"}),xb=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),iD=e=>{let{prefixCls:t,loading:r,existIcon:n,className:o,style:a}=e,i=!!r;return n?xi.default.createElement(RP,{prefixCls:t,className:o,style:a}):xi.default.createElement(gn,{visible:i,motionName:`${t}-loading-icon-motion`,motionLeave:i,removeOnLeave:!0,onAppearStart:yb,onAppearActive:xb,onEnterStart:yb,onEnterActive:xb,onLeaveStart:xb,onLeaveActive:yb},(l,s)=>{let{className:u,style:c}=l;return xi.default.createElement(RP,{prefixCls:t,className:o,style:Object.assign(Object.assign({},a),c),ref:s,iconClassName:u})})},_P=iD;var TP=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),lD=e=>{let{componentCls:t,fontSize:r,lineWidth:n,groupBorderColor:o,colorErrorHover:a}=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(n).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:r}},TP(`${t}-primary`,o),TP(`${t}-danger`,a)]}},PP=lD;var wb=R(P());var sD=["b"],uD=["v"],bb=function(t){return Math.round(Number(t||0))},cD=function(t){if(t instanceof Wo)return t;if(t&&J(t)==="object"&&"h"in t&&"b"in t){var r=t,n=r.b,o=ae(r,sD);return $($({},o),{},{v:n})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},Zn=function(e){xr(r,e);var t=br(r);function r(n){return We(this,r),t.call(this,cD(n))}return Ue(r,[{key:"toHsbString",value:function(){var o=this.toHsb(),a=bb(o.s*100),i=bb(o.b*100),l=bb(o.h),s=o.a,u="hsb(".concat(l,", ").concat(a,"%, ").concat(i,"%)"),c="hsba(".concat(l,", ").concat(a,"%, ").concat(i,"%, ").concat(s.toFixed(s===0?0:2),")");return s===1?u:c}},{key:"toHsb",value:function(){var o=this.toHsv(),a=o.v,i=ae(o,uD);return $($({},i),{},{b:a,a:this.a})}}]),r}(Wo);var Cb=function(t){return t instanceof Zn?t:new Zn(t)},fD=Cb("#1677ff");var OD=R(re());var dD=R(re()),mD=R(P());var NP=R(P());var Sb=R(P());var pD=R(re()),vD=R(P());var gD=R(P());var $P=R(P());var wD=R(P());var RD=R(P());var MP=R(P());var ED=R(re());var IP=R(P());var _D=(e,t)=>e?.replace(/[^\w/]/g,"").slice(0,t?8:6)||"",TD=(e,t)=>e?_D(e,t):"",AP=function(){function e(t){We(this,e);var r;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(r=t.colors)===null||r===void 0?void 0:r.map(o=>({color:new e(o.color),percent:o.percent})),this.cleared=t.cleared;return}let n=Array.isArray(t);n&&t.length?(this.colors=t.map(o=>{let{color:a,percent:i}=o;return{color:new e(a),percent:i}}),this.metaColor=new Zn(this.colors[0].color.metaColor)):this.metaColor=new Zn(n?"":t),(!t||n&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Ue(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return TD(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){let{colors:r}=this;return r?`linear-gradient(90deg, ${r.map(o=>`${o.color.toRgbString()} ${o.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(r){return!r||this.isGradient()!==r.isGradient()?!1:this.isGradient()?this.colors.length===r.colors.length&&this.colors.every((n,o)=>{let a=r.colors[o];return n.percent===a.percent&&n.color.equals(a.color)}):this.toHexString()===r.toHexString()}}])}();var c$=R(P());var ZD=R(re());var Jn=R(P());var mv=R(P());var PD={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"},FP=PD;var $D=function(t,r){return mv.createElement(Pt,W({},t,{ref:r,icon:FP}))},ND=mv.forwardRef($D),LP=ND;var Mb=R(re());var BP=R(re());var _b=R(P());var Ob=R(P());var Rb=R(re());var Go=R(P());var Eb=R(re()),Ys=R(P()),DP=Ys.default.forwardRef(function(e,t){var r=e.prefixCls,n=e.forceRender,o=e.className,a=e.style,i=e.children,l=e.isActive,s=e.role,u=e.classNames,c=e.styles,f=Ys.default.useState(l||n),d=k(f,2),v=d[0],y=d[1];return Ys.default.useEffect(function(){(n||l)&&y(!0)},[n,l]),v?Ys.default.createElement("div",{ref:t,className:(0,Eb.default)("".concat(r,"-content"),T(T({},"".concat(r,"-content-active"),l),"".concat(r,"-content-inactive"),!l),o),style:a,role:s},Ys.default.createElement("div",{className:(0,Eb.default)("".concat(r,"-content-box"),u?.body),style:c?.body},i)):null});DP.displayName="PanelContent";var zP=DP;var ID=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],MD=Go.default.forwardRef(function(e,t){var r=e.showArrow,n=r===void 0?!0:r,o=e.headerClass,a=e.isActive,i=e.onItemClick,l=e.forceRender,s=e.className,u=e.classNames,c=u===void 0?{}:u,f=e.styles,d=f===void 0?{}:f,v=e.prefixCls,y=e.collapsible,h=e.accordion,x=e.panelKey,p=e.extra,m=e.header,g=e.expandIcon,b=e.openMotion,C=e.destroyInactivePanel,S=e.children,E=ae(e,ID),w=y==="disabled",O=p!=null&&typeof p!="boolean",_=T(T(T({onClick:function(){i?.(x)},onKeyDown:function(F){(F.key==="Enter"||F.keyCode===lt.ENTER||F.which===lt.ENTER)&&i?.(x)},role:h?"tab":"button"},"aria-expanded",a),"aria-disabled",w),"tabIndex",w?-1:0),N=typeof g=="function"?g(e):Go.default.createElement("i",{className:"arrow"}),I=N&&Go.default.createElement("div",W({className:"".concat(v,"-expand-icon")},["header","icon"].includes(y)?_:{}),N),A=(0,Rb.default)("".concat(v,"-item"),T(T({},"".concat(v,"-item-active"),a),"".concat(v,"-item-disabled"),w),s),M=(0,Rb.default)(o,"".concat(v,"-header"),T({},"".concat(v,"-collapsible-").concat(y),!!y),c.header),L=$({className:M,style:d.header},["header","icon"].includes(y)?{}:_);return Go.default.createElement("div",W({},E,{ref:t,className:A}),Go.default.createElement("div",L,n&&I,Go.default.createElement("span",W({className:"".concat(v,"-header-text")},y==="header"?_:{}),m),O&&Go.default.createElement("div",{className:"".concat(v,"-extra")},p)),Go.default.createElement(gn,W({visible:a,leavedClassName:"".concat(v,"-content-hidden")},b,{forceRender:l,removeOnLeave:C}),function(D,F){var z=D.className,H=D.style;return Go.default.createElement(zP,{ref:F,prefixCls:v,className:z,classNames:c,style:H,styles:d,isActive:a,forceRender:l,role:h?"tabpanel":void 0},S)}))}),pv=MD;var kD=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],AD=function(t,r){var n=r.prefixCls,o=r.accordion,a=r.collapsible,i=r.destroyInactivePanel,l=r.onItemClick,s=r.activeKey,u=r.openMotion,c=r.expandIcon;return t.map(function(f,d){var v=f.children,y=f.label,h=f.key,x=f.collapsible,p=f.onItemClick,m=f.destroyInactivePanel,g=ae(f,kD),b=String(h??d),C=x??a,S=m??i,E=function(_){C!=="disabled"&&(l(_),p?.(_))},w=!1;return o?w=s[0]===b:w=s.indexOf(b)>-1,Ob.default.createElement(pv,W({},g,{prefixCls:n,key:b,panelKey:b,isActive:w,accordion:o,openMotion:u,expandIcon:c,header:y,collapsible:C,onItemClick:E,destroyInactivePanel:S}),v)})},FD=function(t,r,n){if(!t)return null;var o=n.prefixCls,a=n.accordion,i=n.collapsible,l=n.destroyInactivePanel,s=n.onItemClick,u=n.activeKey,c=n.openMotion,f=n.expandIcon,d=t.key||String(r),v=t.props,y=v.header,h=v.headerClass,x=v.destroyInactivePanel,p=v.collapsible,m=v.onItemClick,g=!1;a?g=u[0]===d:g=u.indexOf(d)>-1;var b=p??i,C=function(w){b!=="disabled"&&(s(w),m?.(w))},S={key:d,panelKey:d,header:y,headerClass:h,isActive:g,prefixCls:o,destroyInactivePanel:x??l,openMotion:c,accordion:a,children:t.props.children,onItemClick:C,expandIcon:f,collapsible:b};return typeof t.type=="string"?t:(Object.keys(S).forEach(function(E){typeof S[E]>"u"&&delete S[E]}),Ob.default.cloneElement(t,S))};function LD(e,t,r){return Array.isArray(e)?AD(e,r):Wt(t).map(function(n,o){return FD(n,o,r)})}var jP=LD;function DD(e){var t=e;if(!Array.isArray(t)){var r=J(t);t=r==="number"||r==="string"?[t]:[]}return t.map(function(n){return String(n)})}var zD=_b.default.forwardRef(function(e,t){var r=e.prefixCls,n=r===void 0?"rc-collapse":r,o=e.destroyInactivePanel,a=o===void 0?!1:o,i=e.style,l=e.accordion,s=e.className,u=e.children,c=e.collapsible,f=e.openMotion,d=e.expandIcon,v=e.activeKey,y=e.defaultActiveKey,h=e.onChange,x=e.items,p=(0,BP.default)(n,s),m=At([],{value:v,onChange:function(O){return h?.(O)},defaultValue:y,postState:DD}),g=k(m,2),b=g[0],C=g[1],S=function(O){return C(function(){if(l)return b[0]===O?[]:[O];var _=b.indexOf(O),N=_>-1;return N?b.filter(function(I){return I!==O}):[].concat(Y(b),[O])})};It(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var E=jP(x,u,{prefixCls:n,accordion:l,openMotion:f,expandIcon:d,collapsible:c,destroyInactivePanel:a,onItemClick:S,activeKey:b});return _b.default.createElement("div",W({ref:t,className:p,style:i,role:l?"tablist":void 0},rf(e,{aria:!0,data:!0})),E)}),Tb=Object.assign(zD,{Panel:pv});var vv=Tb,Bne=Tb.Panel;var Zs=R(P()),VP=R(re());var jD=Zs.forwardRef((e,t)=>{let{getPrefixCls:r}=Zs.useContext(de),{prefixCls:n,className:o,showArrow:a=!0}=e,i=r("collapse",n),l=(0,VP.default)({[`${i}-no-arrow`]:!a},o);return Zs.createElement(vv.Panel,Object.assign({ref:t},e,{prefixCls:i,className:l}))}),HP=jD;var BD=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),Pb=BD;var VD=e=>({animationDuration:e,animationFillMode:"both"}),HD=e=>({animationDuration:e,animationFillMode:"both"}),gv=function(e,t,r,n){let a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` ${a}${e}-enter, ${a}${e}-appear `]:Object.assign(Object.assign({},VD(n)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},HD(n)),{animationPlayState:"paused"}),[` ${a}${e}-enter${e}-enter-active, ${a}${e}-appear${e}-appear-active `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:r,animationPlayState:"running",pointerEvents:"none"}}};var WP=new Mt("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),UP=new Mt("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),KP=new Mt("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),GP=new Mt("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),qP=new Mt("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),XP=new Mt("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),QP=new Mt("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),YP=new Mt("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),WD={"slide-up":{inKeyframes:WP,outKeyframes:UP},"slide-down":{inKeyframes:KP,outKeyframes:GP},"slide-left":{inKeyframes:qP,outKeyframes:XP},"slide-right":{inKeyframes:QP,outKeyframes:YP}},hv=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:o,outKeyframes:a}=WD[t];return[gv(n,o,a,e.motionDurationMid),{[` ${n}-enter, ${n}-appear `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]};var ZP=new Mt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),JP=new Mt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),$b=new Mt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Nb=new Mt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),e$=new Mt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),t$=new Mt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),r$=new Mt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),n$=new Mt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),o$=new Mt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),a$=new Mt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),i$=new Mt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),l$=new Mt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),UD={zoom:{inKeyframes:ZP,outKeyframes:JP},"zoom-big":{inKeyframes:$b,outKeyframes:Nb},"zoom-big-fast":{inKeyframes:$b,outKeyframes:Nb},"zoom-left":{inKeyframes:r$,outKeyframes:n$},"zoom-right":{inKeyframes:o$,outKeyframes:a$},"zoom-up":{inKeyframes:e$,outKeyframes:t$},"zoom-down":{inKeyframes:i$,outKeyframes:l$}},Ib=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:o,outKeyframes:a}=UD[t];return[gv(n,o,a,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` ${n}-enter, ${n}-appear `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var KD=e=>{let{componentCls:t,contentBg:r,padding:n,headerBg:o,headerPadding:a,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:s,lineWidth:u,lineType:c,colorBorder:f,colorText:d,colorTextHeading:v,colorTextDisabled:y,fontSizeLG:h,lineHeight:x,lineHeightLG:p,marginSM:m,paddingSM:g,paddingLG:b,paddingXS:C,motionDurationSlow:S,fontSizeIcon:E,contentPadding:w,fontHeight:O,fontHeightLG:_}=e,N=`${j(u)} ${c} ${f}`;return{[t]:Object.assign(Object.assign({},Kr(e)),{backgroundColor:o,border:N,borderRadius:s,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:N,"&:last-child":{[` &, & > ${t}-header`]:{borderRadius:`0 0 ${j(s)} ${j(s)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:v,lineHeight:x,cursor:"pointer",transition:`all ${S}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:O,display:"flex",alignItems:"center",paddingInlineEnd:m},[`${t}-arrow`]:Object.assign(Object.assign({},bp()),{fontSize:E,transition:`transform ${S}`,svg:{transition:`transform ${S}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:d,backgroundColor:r,borderTop:N,[`& > ${t}-content-box`]:{padding:w},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:i,paddingInlineStart:C,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(g).sub(C).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:g}}},"&-large":{[`> ${t}-item`]:{fontSize:h,lineHeight:p,[`> ${t}-header`]:{padding:l,paddingInlineStart:n,[`> ${t}-expand-icon`]:{height:_,marginInlineStart:e.calc(b).sub(n).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:b}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${j(s)} ${j(s)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:y,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:m}}}}})}},GD=e=>{let{componentCls:t}=e,r=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[r]:{transform:"rotate(180deg)"}}}},qD=e=>{let{componentCls:t,headerBg:r,paddingXXS:n,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:r,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[` > ${t}-item:last-child, > ${t}-item:last-child ${t}-header `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:n}}}},XD=e=>{let{componentCls:t,paddingSM:r}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:r}}}}}},QD=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),s$=Tt("Collapse",e=>{let t=Ke(e,{collapseHeaderPaddingSM:`${j(e.paddingXS)} ${j(e.paddingSM)}`,collapseHeaderPaddingLG:`${j(e.padding)} ${j(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[KD(t),qD(t),XD(t),GD(t),Pb(t)]},QD);var YD=Jn.forwardRef((e,t)=>{let{getPrefixCls:r,direction:n,collapse:o}=Jn.useContext(de),{prefixCls:a,className:i,rootClassName:l,style:s,bordered:u=!0,ghost:c,size:f,expandIconPosition:d="start",children:v,expandIcon:y}=e,h=Yn(N=>{var I;return(I=f??N)!==null&&I!==void 0?I:"middle"}),x=r("collapse",a),p=r(),[m,g,b]=s$(x),C=Jn.useMemo(()=>d==="left"?"start":d==="right"?"end":d,[d]),S=y??o?.expandIcon,E=Jn.useCallback(function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=typeof S=="function"?S(N):Jn.createElement(LP,{rotate:N.isActive?90:void 0,"aria-label":N.isActive?"expanded":"collapsed"});return Ro(I,()=>{var A;return{className:(0,Mb.default)((A=I?.props)===null||A===void 0?void 0:A.className,`${x}-arrow`)}})},[S,x]),w=(0,Mb.default)(`${x}-icon-position-${C}`,{[`${x}-borderless`]:!u,[`${x}-rtl`]:n==="rtl",[`${x}-ghost`]:!!c,[`${x}-${h}`]:h!=="middle"},o?.className,i,l,g,b),O=Object.assign(Object.assign({},lP(p)),{motionAppear:!1,leavedClassName:`${x}-content-hidden`}),_=Jn.useMemo(()=>v?Wt(v).map((N,I)=>{var A,M;if(!((A=N.props)===null||A===void 0)&&A.disabled){let L=(M=N.key)!==null&&M!==void 0?M:String(I),{disabled:D,collapsible:F}=N.props,z=Object.assign(Object.assign({},bt(N.props,["disabled"])),{key:L,collapsible:F??(D?"disabled":void 0)});return Ro(N,z)}return N}):null,[v]);return m(Jn.createElement(vv,Object.assign({ref:t,openMotion:O},bt(e,["rootClassName"]),{expandIcon:E,prefixCls:x,className:w,style:Object.assign(Object.assign({},o?.style),s)}),_))}),u$=Object.assign(YD,{Panel:HP});var kb=u$;var f$=(e,t)=>{let{r,g:n,b:o,a}=e.toRgb(),i=new Zn(e.toRgbString()).onBackground(t).toHsv();return a<=.5?i.v>.5:r*.299+n*.587+o*.114>192};var yv=e=>{let{paddingInline:t,onlyIconSize:r,paddingBlock:n}=e;return Ke(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:n,buttonIconOnlyFontSize:r})},xv=e=>{var t,r,n,o,a,i;let l=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,s=(r=e.contentFontSizeSM)!==null&&r!==void 0?r:e.fontSize,u=(n=e.contentFontSizeLG)!==null&&n!==void 0?n:e.fontSizeLG,c=(o=e.contentLineHeight)!==null&&o!==void 0?o:Ls(l),f=(a=e.contentLineHeightSM)!==null&&a!==void 0?a:Ls(s),d=(i=e.contentLineHeightLG)!==null&&i!==void 0?i:Ls(u),v=f$(new AP(e.colorBgSolid),"#fff")?"#000":"#fff";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",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,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,solidTextColor:v,contentFontSize:l,contentFontSizeSM:s,contentFontSizeLG:u,contentLineHeight:c,contentLineHeightSM:f,contentLineHeightLG:d,paddingBlock:Math.max((e.controlHeight-l*c)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*d)/2-e.lineWidth,0)}};var JD=e=>{let{componentCls:t,iconCls:r,fontWeight:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:n,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${j(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`> span, ${t}-icon`]:{display:"inline-flex"},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},Ws(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${r})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},d$=(e,t,r)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":r}}),ez=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),tz=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),rz=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Ab=(e,t,r,n,o,a,i,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:r||void 0,background:t,borderColor:n||void 0,boxShadow:"none"},d$(e,Object.assign({background:t},i),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:a||void 0}})}),nz=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},rz(e))}),oz=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),bv=(e,t,r,n)=>{let a=n&&["link","text"].includes(n)?oz:nz;return Object.assign(Object.assign({},a(e)),d$(e.componentCls,t,r))},Fb=(e,t,r,n,o)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:r},bv(e,n,o))}),Lb=(e,t,r,n,o)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:r},bv(e,n,o))}),Db=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),zb=(e,t,r,n)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},bv(e,r,n))}),Js=(e,t,r,n,o)=>({[`&${e.componentCls}-variant-${r}`]:Object.assign({color:t,boxShadow:"none"},bv(e,n,o,r))}),az=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},Fb(e,e.solidTextColor,e.colorBgSolid,{background:e.colorBgSolidHover},{background:e.colorBgSolidActive})),Db(e)),zb(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),Js(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Ab(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),iz=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},Lb(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),Db(e)),zb(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),Js(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),Ab(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),lz=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},Fb(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),Lb(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Db(e)),zb(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),Js(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),Js(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),Ab(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),sz=e=>{let{componentCls:t}=e;return{[`${t}-color-default`]:az(e),[`${t}-color-primary`]:iz(e),[`${t}-color-dangerous`]:lz(e)}},uz=e=>Object.assign(Object.assign(Object.assign(Object.assign({},Lb(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Js(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),Fb(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),Js(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),jb=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",{componentCls:r,controlHeight:n,fontSize:o,lineHeight:a,borderRadius:i,buttonPaddingHorizontal:l,iconCls:s,buttonPaddingVertical:u,motionDurationSlow:c,motionEaseInOut:f,buttonIconOnlyFontSize:d,opacityLoading:v}=e;return[{[t]:{fontSize:o,lineHeight:a,height:n,padding:`${j(u)} ${j(l)}`,borderRadius:i,[`&${r}-icon-only`]:{width:n,paddingInline:0,[`&${r}-compact-item`]:{flex:"none"},[`&${r}-round`]:{width:"auto"},[s]:{fontSize:d}},[`&${r}-loading`]:{opacity:v,cursor:"default"},[`${r}-loading-icon`]:{transition:`width ${c} ${f}, opacity ${c} ${f}`}}},{[`${r}${r}-circle${t}`]:ez(e)},{[`${r}${r}-round${t}`]:tz(e)}]},cz=e=>{let t=Ke(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return jb(t,e.componentCls)},fz=e=>{let t=Ke(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 jb(t,`${e.componentCls}-sm`)},dz=e=>{let t=Ke(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return jb(t,`${e.componentCls}-lg`)},mz=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},m$=Tt("Button",e=>{let t=yv(e);return[JD(t),cz(t),fz(t),dz(t),mz(t),sz(t),uz(t),PP(t)]},xv,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function pz(e,t,r){let{focusElCls:n,focus:o,borderElCls:a}=r,i=a?"> *":"",l=["hover",o?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${i}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},n?{[`&${n}`]:{zIndex:2}}:{}),{[`&[disabled] ${i}`]:{zIndex:0}})}}function vz(e,t,r){let{borderElCls:n}=r,o=n?`> ${n}`:"";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 Cv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0},{componentCls:r}=e,n=`${r}-compact`;return{[n]:Object.assign(Object.assign({},pz(e,n,t)),vz(r,n,t))}}function gz(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 hz(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 p$(e){let t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},gz(e,t)),hz(e.componentCls,t))}}var yz=e=>{let{componentCls:t,colorPrimaryHover:r,lineWidth:n,calc:o}=e,a=o(n).mul(-1).equal(),i=l=>({[`${t}-compact${l?"-vertical":""}-item${t}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:l?a:0,insetInlineStart:l?0:a,backgroundColor:r,content:'""',width:l?"100%":n,height:l?n:"100%"}}});return Object.assign(Object.assign({},i()),i(!0))},v$=xl(["Button","compact"],e=>{let t=yv(e);return[Cv(t),p$(t),yz(t)]},xv);var xz=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n,o,a;let{loading:i=!1,prefixCls:l,color:s,variant:u,type:c,danger:f=!1,shape:d="default",size:v,styles:y,disabled:h,className:x,rootClassName:p,children:m,icon:g,iconPosition:b="start",ghost:C=!1,block:S=!1,htmlType:E="button",classNames:w,style:O={},autoInsertSpace:_,autoFocus:N}=e,I=xz(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),A=c||"default",[M,L]=(0,Ct.useMemo)(()=>{if(s&&u)return[s,u];let Ne=Cz[A]||[];return f?["danger",Ne[1]]:Ne},[c,s,u,f]),F=M==="danger"?"dangerous":M,{getPrefixCls:z,direction:H,button:V}=(0,Ct.useContext)(de),q=(r=_??V?.autoInsertSpace)!==null&&r!==void 0?r:!0,B=z("btn",l),[K,G,U]=m$(B),Z=(0,Ct.useContext)(js),ee=h??Z,ce=(0,Ct.useContext)(hb),oe=(0,Ct.useMemo)(()=>bz(i),[i]),[ie,ge]=(0,Ct.useState)(oe.loading),[le,be]=(0,Ct.useState)(!1),ne=(0,Ct.useRef)(),me=On(t,ne),ye=Ct.Children.count(m)===1&&!g&&!cv(L);(0,Ct.useEffect)(()=>{let Ne=null;oe.delay>0?Ne=setTimeout(()=>{Ne=null,ge(!0)},oe.delay):ge(oe.loading);function Ee(){Ne&&(clearTimeout(Ne),Ne=null)}return Ee},[oe]),(0,Ct.useEffect)(()=>{if(!ne.current||!q)return;let Ne=ne.current.textContent||"";ye&&uv(Ne)?le||be(!0):le&&be(!1)}),(0,Ct.useEffect)(()=>{N&&ne.current&&ne.current.focus()},[]);let De=Ct.default.useCallback(Ne=>{var Ee;if(ie||ee){Ne.preventDefault();return}(Ee=e.onClick)===null||Ee===void 0||Ee.call(e,Ne)},[e.onClick,ie,ee]),{compactSize:Ce,compactItemClassnames:ve}=gP(B,H),ze={large:"lg",small:"sm",middle:void 0},xe=Yn(Ne=>{var Ee,se;return(se=(Ee=v??Ce)!==null&&Ee!==void 0?Ee:ce)!==null&&se!==void 0?se:Ne}),$e=xe&&(n=ze[xe])!==null&&n!==void 0?n:"",Se=ie?"loading":g,he=bt(I,["navigate"]),Me=(0,Sv.default)(B,G,U,{[`${B}-${d}`]:d!=="default"&&d,[`${B}-${A}`]:A,[`${B}-dangerous`]:f,[`${B}-color-${F}`]:F,[`${B}-variant-${L}`]:L,[`${B}-${$e}`]:$e,[`${B}-icon-only`]:!m&&m!==0&&!!Se,[`${B}-background-ghost`]:C&&!cv(L),[`${B}-loading`]:ie,[`${B}-two-chinese-chars`]:le&&q&&!ie,[`${B}-block`]:S,[`${B}-rtl`]:H==="rtl",[`${B}-icon-end`]:b==="end"},ve,x,p,V?.className),Ae=Object.assign(Object.assign({},V?.style),O),rr=(0,Sv.default)(w?.icon,(o=V?.classNames)===null||o===void 0?void 0:o.icon),Ge=Object.assign(Object.assign({},y?.icon||{}),((a=V?.styles)===null||a===void 0?void 0:a.icon)||{}),Ve=g&&!ie?Ct.default.createElement(dv,{prefixCls:B,className:rr,style:Ge},g):Ct.default.createElement(_P,{existIcon:!!g,prefixCls:B,loading:ie}),et=m||m===0?wP(m,ye&&q):null;if(he.href!==void 0)return K(Ct.default.createElement("a",Object.assign({},he,{className:(0,Sv.default)(Me,{[`${B}-disabled`]:ee}),href:ee?void 0:he.href,style:Ae,onClick:De,ref:me,tabIndex:ee?-1:0}),Ve,et));let qe=Ct.default.createElement("button",Object.assign({},I,{type:E,className:Me,style:Ae,onClick:De,disabled:ee,ref:me}),Ve,et,ve&&Ct.default.createElement(v$,{prefixCls:B}));return cv(L)||(qe=Ct.default.createElement(iv,{component:"Button",disabled:ie},qe)),K(qe)}),Bb=Sz;Bb.Group=bP;Bb.__ANT_BUTTON=!0;var g$=Bb;var Vb=g$;var eo=R(P()),R$=R(sl());var h$=R(P()),wz=h$.createContext(null),wv=wz;var Ol=R(P());var y$=[];function Hb(e,t){var r=Ol.useState(function(){if(!_t())return null;var y=document.createElement("div");return y}),n=k(r,1),o=n[0],a=Ol.useRef(!1),i=Ol.useContext(wv),l=Ol.useState(y$),s=k(l,2),u=s[0],c=s[1],f=i||(a.current?void 0:function(y){c(function(h){var x=[y].concat(Y(h));return x})});function d(){o.parentElement||document.body.appendChild(o),a.current=!0}function v(){var y;(y=o.parentElement)===null||y===void 0||y.removeChild(o),a.current=!1}return tt(function(){return e?i?i(d):d():v(),v},[e]),tt(function(){u.length&&(u.forEach(function(y){return y()}),c(y$))},[u]),[o,f]}var S$=R(P());function Ez(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),r=document.createElement("div");r.id=t;var n=r.style;n.position="absolute",n.left="0",n.top="0",n.width="100px",n.height="100px",n.overflow="scroll";var o,a;if(e){var i=getComputedStyle(e);n.scrollbarColor=i.scrollbarColor,n.scrollbarWidth=i.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),s=parseInt(l.width,10),u=parseInt(l.height,10);try{var c=s?"width: ".concat(l.width,";"):"",f=u?"height: ".concat(l.height,";"):"";Nr(` #`.concat(t,`::-webkit-scrollbar { `).concat(c,` `).concat(f,` }`),t)}catch(y){console.error(y),o=s,a=u}}document.body.appendChild(r);var d=e&&o&&!isNaN(o)?o:r.offsetWidth-r.clientWidth,v=e&&a&&!isNaN(a)?a:r.offsetHeight-r.clientHeight;return document.body.removeChild(r),Bo(t),{width:d,height:v}}function x$(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:Ez(e)}function b$(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Rz="rc-util-locker-".concat(Date.now()),C$=0;function Wb(e){var t=!!e,r=S$.useState(function(){return C$+=1,"".concat(Rz,"_").concat(C$)}),n=k(r,1),o=n[0];tt(function(){if(t){var a=x$(document.body).width,i=b$();Nr(` html body { overflow-y: hidden; `.concat(i?"width: calc(100% - ".concat(a,"px);"):"",` }`),o)}else Bo(o);return function(){Bo(o)}},[t,o])}var w$=!1;function Ub(e){return typeof e=="boolean"&&(w$=e),w$}var E$=function(t){return t===!1?!1:!_t()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Oz=eo.forwardRef(function(e,t){var r=e.open,n=e.autoLock,o=e.getContainer,a=e.debug,i=e.autoDestroy,l=i===void 0?!0:i,s=e.children,u=eo.useState(r),c=k(u,2),f=c[0],d=c[1],v=f||r;eo.useEffect(function(){(l||r)&&d(r)},[r,l]);var y=eo.useState(function(){return E$(o)}),h=k(y,2),x=h[0],p=h[1];eo.useEffect(function(){var I=E$(o);p(I??null)});var m=Hb(v&&!x,a),g=k(m,2),b=g[0],C=g[1],S=x??b;Wb(n&&r&&_t()&&(S===b||S===document.body));var E=null;if(s&&tn(s)&&t){var w=s;E=w.ref}var O=On(E,t);if(!v||!_t()||x===void 0)return null;var _=S===!1||Ub(),N=s;return t&&(N=eo.cloneElement(s,{ref:O})),eo.createElement(wv.Provider,{value:C},_?N:(0,R$.createPortal)(N,S))}),O$=Oz;var Kb=O$;var lf=R(P());function _z(){var e=$({},lf);return e.useId}var _$=0;var T$=_z(),P$=T$?function(t){var r=T$();return t||r}:function(t){var r=lf.useState("ssr-id"),n=k(r,2),o=n[0],a=n[1];return lf.useEffect(function(){var i=_$;_$+=1,a("rc_unique_".concat(i))},[]),t||o};var uC=R(P());var Fv=R(P()),ru=R(P());var v2=R(P());var on=R(P());var $$=R(P()),Oo="RC_FORM_INTERNAL_HOOKS",ht=function(){It(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Tz=$$.createContext({getFieldValue:ht,getFieldsValue:ht,getFieldError:ht,getFieldWarning:ht,getFieldsError:ht,isFieldsTouched:ht,isFieldTouched:ht,isFieldValidating:ht,isFieldsValidating:ht,resetFields:ht,setFields:ht,setFieldValue:ht,setFieldsValue:ht,validateFields:ht,submit:ht,getInternalHooks:function(){return ht(),{dispatch:ht,initEntityValue:ht,registerField:ht,useSubscribe:ht,setInitialValues:ht,destroyForm:ht,setCallbacks:ht,registerWatch:ht,getFields:ht,setValidateMessages:ht,setPreserve:ht,getInitialValue:ht}}}),_o=Tz;var N$=R(P()),Pz=N$.createContext(null),bi=Pz;function sf(e){return e==null?[]:Array.isArray(e)?e:[e]}function I$(e){return e&&!!e._init}function Ev(){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",tel:"%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(){let e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Rv=Ev();var $z=/%[sdj%]/g,k$=()=>{};typeof process<"u"&&process.env;function Ov(e){if(!e||!e.length)return null;let t={};return e.forEach(r=>{let n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function ir(e,...t){let r=0,n=t.length;return typeof e=="function"?e.apply(null,t):typeof e=="string"?e.replace($z,a=>{if(a==="%%")return"%";if(r>=n)return a;switch(a){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch{return"[Circular]"}break;default:return a}}):e}function Nz(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"||e==="tel"}function ot(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Nz(t)&&typeof e=="string"&&!e)}function Iz(e,t,r){let n=[],o=0,a=e.length;function i(l){n.push(...l||[]),o++,o===a&&r(n)}e.forEach(l=>{t(l,i)})}function M$(e,t,r){let n=0,o=e.length;function a(i){if(i&&i.length){r(i);return}let l=n;n=n+1,l{t.push(...e[r]||[])}),t}var _v=class extends Error{errors;fields;constructor(t,r){super("Async Validation Error"),this.errors=t,this.fields=r}};function A$(e,t,r,n,o){if(t.first){let f=new Promise((d,v)=>{let y=x=>(n(x),x.length?v(new _v(x,Ov(x))):d(o)),h=Mz(e);M$(h,r,y)});return f.catch(d=>d),f}let a=t.firstFields===!0?Object.keys(e):t.firstFields||[],i=Object.keys(e),l=i.length,s=0,u=[],c=new Promise((f,d)=>{let v=y=>{if(u.push.apply(u,y),s++,s===l)return n(u),u.length?d(new _v(u,Ov(u))):f(o)};i.length||(n(u),f(o)),i.forEach(y=>{let h=e[y];a.indexOf(y)!==-1?M$(h,r,v):Iz(h,r,v)})});return c.catch(f=>f),c}function kz(e){return!!(e&&e.message!==void 0)}function Az(e,t){let r=e;for(let n=0;n{let n;return e.fullFields?n=Az(t,e.fullFields):n=t[r.field||e.fullField],kz(r)?(r.field=r.field||e.fullField,r.fieldValue=n,r):{message:typeof r=="function"?r():r,fieldValue:n,field:r.field||e.fullField}}}function qb(e,t){if(t){for(let r in t)if(t.hasOwnProperty(r)){let n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]={...e[r],...n}:e[r]=n}}return e}var eu="enum",Fz=(e,t,r,n,o)=>{e[eu]=Array.isArray(e[eu])?e[eu]:[],e[eu].indexOf(t)===-1&&n.push(ir(o.messages[eu],e.fullField,e[eu].join(", ")))},F$=Fz;var Lz=(e,t,r,n,o)=>{e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||n.push(ir(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):typeof e.pattern=="string"&&(new RegExp(e.pattern).test(t)||n.push(ir(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))},L$=Lz;var Dz=(e,t,r,n,o)=>{let a=typeof e.len=="number",i=typeof e.min=="number",l=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=t,c=null,f=typeof t=="number",d=typeof t=="string",v=Array.isArray(t);if(f?c="number":d?c="string":v&&(c="array"),!c)return!1;v&&(u=t.length),d&&(u=t.replace(s,"_").length),a?u!==e.len&&n.push(ir(o.messages[c].len,e.fullField,e.len)):i&&!l&&ue.max?n.push(ir(o.messages[c].max,e.fullField,e.max)):i&&l&&(ue.max)&&n.push(ir(o.messages[c].range,e.fullField,e.min,e.max))},D$=Dz;var zz=(e,t,r,n,o,a)=>{e.required&&(!r.hasOwnProperty(e.field)||ot(t,a||e.type))&&n.push(ir(o.messages.required,e.fullField))},Tv=zz;var Pv,z$=()=>{if(Pv)return Pv;let e="[a-fA-F\\d:]",t=C=>C&&C.includeBoundaries?`(?:(?<=\\s|^)(?=${e})|(?<=${e})(?=\\s|$))`:"",r="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",n="[a-fA-F\\d]{1,4}",i=`(?:${[`(?:${n}:){7}(?:${n}|:)`,`(?:${n}:){6}(?:${r}|:${n}|:)`,`(?:${n}:){5}(?::${r}|(?::${n}){1,2}|:)`,`(?:${n}:){4}(?:(?::${n}){0,1}:${r}|(?::${n}){1,3}|:)`,`(?:${n}:){3}(?:(?::${n}){0,2}:${r}|(?::${n}){1,4}|:)`,`(?:${n}:){2}(?:(?::${n}){0,3}:${r}|(?::${n}){1,5}|:)`,`(?:${n}:){1}(?:(?::${n}){0,4}:${r}|(?::${n}){1,6}|:)`,`(?::(?:(?::${n}){0,5}:${r}|(?::${n}){1,7}|:))`].join("|")})(?:%[0-9a-zA-Z]{1,})?`,l=new RegExp(`(?:^${r}$)|(?:^${i}$)`),s=new RegExp(`^${r}$`),u=new RegExp(`^${i}$`),c=C=>C&&C.exact?l:new RegExp(`(?:${t(C)}${r}${t(C)})|(?:${t(C)}${i}${t(C)})`,"g");c.v4=C=>C&&C.exact?s:new RegExp(`${t(C)}${r}${t(C)}`,"g"),c.v6=C=>C&&C.exact?u:new RegExp(`${t(C)}${i}${t(C)}`,"g");let f="(?:(?:[a-z]+:)?//)",d="(?:\\S+(?::\\S*)?@)?",v=c.v4().source,y=c.v6().source,b=`(?:${f}|www\\.)${d}(?:localhost|${v}|${y}|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?`;return Pv=new RegExp(`(?:^${b}$)`,"i"),Pv};var Xb={email:/^(([^<>()\[\]\\.,;:\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,}))$/,tel:/^(\+[0-9]{1,3}[-\s\u2011]?)?(\([0-9]{1,4}\)[-\s\u2011]?)?([0-9]+[-\s\u2011]?)*[0-9]+$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},uf={integer(e){return uf.number(e)&&parseInt(e,10)===e},float(e){return uf.number(e)&&!uf.integer(e)},array(e){return Array.isArray(e)},regexp(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number(e){return isNaN(e)?!1:typeof e=="number"},object(e){return typeof e=="object"&&!uf.array(e)},method(e){return typeof e=="function"},email(e){return typeof e=="string"&&e.length<=320&&!!e.match(Xb.email)},tel(e){return typeof e=="string"&&e.length<=32&&!!e.match(Xb.tel)},url(e){return typeof e=="string"&&e.length<=2048&&!!e.match(z$())},hex(e){return typeof e=="string"&&!!e.match(Xb.hex)}},jz=(e,t,r,n,o)=>{if(e.required&&t===void 0){Tv(e,t,r,n,o);return}let a=["integer","float","array","regexp","object","method","email","tel","number","date","url","hex"],i=e.type;a.indexOf(i)>-1?uf[i](t)||n.push(ir(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&n.push(ir(o.messages.types[i],e.fullField,e.type))},j$=jz;var Bz=(e,t,r,n,o)=>{(/^\s+$/.test(t)||t==="")&&n.push(ir(o.messages.whitespace,e.fullField))},B$=Bz;var Oe={required:Tv,whitespace:B$,type:j$,range:D$,enum:F$,pattern:L$};var Vz=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t)&&!e.required)return r();Oe.required(e,t,n,a,o)}r(a)},V$=Vz;var Hz=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(t==null&&!e.required)return r();Oe.required(e,t,n,a,o,"array"),t!=null&&(Oe.type(e,t,n,a,o),Oe.range(e,t,n,a,o))}r(a)},H$=Hz;var Wz=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t)&&!e.required)return r();Oe.required(e,t,n,a,o),t!==void 0&&Oe.type(e,t,n,a,o)}r(a)},W$=Wz;var Uz=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t,"date")&&!e.required)return r();if(Oe.required(e,t,n,a,o),!ot(t,"date")){let l;t instanceof Date?l=t:l=new Date(t),Oe.type(e,l,n,a,o),l&&Oe.range(e,l.getTime(),n,a,o)}}r(a)},U$=Uz;var Kz="enum",Gz=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t)&&!e.required)return r();Oe.required(e,t,n,a,o),t!==void 0&&Oe[Kz](e,t,n,a,o)}r(a)},K$=Gz;var qz=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t)&&!e.required)return r();Oe.required(e,t,n,a,o),t!==void 0&&(Oe.type(e,t,n,a,o),Oe.range(e,t,n,a,o))}r(a)},G$=qz;var Xz=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t)&&!e.required)return r();Oe.required(e,t,n,a,o),t!==void 0&&(Oe.type(e,t,n,a,o),Oe.range(e,t,n,a,o))}r(a)},q$=Xz;var Qz=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t)&&!e.required)return r();Oe.required(e,t,n,a,o),t!==void 0&&Oe.type(e,t,n,a,o)}r(a)},X$=Qz;var Yz=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(t===""&&(t=void 0),ot(t)&&!e.required)return r();Oe.required(e,t,n,a,o),t!==void 0&&(Oe.type(e,t,n,a,o),Oe.range(e,t,n,a,o))}r(a)},Q$=Yz;var Zz=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t)&&!e.required)return r();Oe.required(e,t,n,a,o),t!==void 0&&Oe.type(e,t,n,a,o)}r(a)},Y$=Zz;var Jz=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t,"string")&&!e.required)return r();Oe.required(e,t,n,a,o),ot(t,"string")||Oe.pattern(e,t,n,a,o)}r(a)},Z$=Jz;var ej=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t)&&!e.required)return r();Oe.required(e,t,n,a,o),ot(t)||Oe.type(e,t,n,a,o)}r(a)},J$=ej;var tj=(e,t,r,n,o)=>{let a=[],i=Array.isArray(t)?"array":typeof t;Oe.required(e,t,n,a,o,i),r(a)},e2=tj;var rj=(e,t,r,n,o)=>{let a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t,"string")&&!e.required)return r();Oe.required(e,t,n,a,o,"string"),ot(t,"string")||(Oe.type(e,t,n,a,o),Oe.range(e,t,n,a,o),Oe.pattern(e,t,n,a,o),e.whitespace===!0&&Oe.whitespace(e,t,n,a,o))}r(a)},t2=rj;var nj=(e,t,r,n,o)=>{let a=e.type,i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ot(t,a)&&!e.required)return r();Oe.required(e,t,n,i,o,a),ot(t,a)||Oe.type(e,t,n,i,o)}r(i)},cf=nj;var tu={string:t2,method:X$,number:Q$,boolean:W$,regexp:J$,integer:q$,float:G$,array:H$,object:Y$,enum:K$,pattern:Z$,date:U$,url:cf,hex:cf,email:cf,tel:cf,required:e2,any:V$};var Qb=class e{static register=function(r,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");tu[r]=n};static warning=k$;static messages=Rv;static validators=tu;rules=null;_messages=Rv;constructor(t){this.define(t)}define(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={},Object.keys(t).forEach(r=>{let n=t[r];this.rules[r]=Array.isArray(n)?n:[n]})}messages(t){return t&&(this._messages=qb(Ev(),t)),this._messages}validate(t,r={},n=()=>{}){let o=t,a=r,i=n;if(typeof a=="function"&&(i=a,a={}),!this.rules||Object.keys(this.rules).length===0)return i&&i(null,o),Promise.resolve(o);function l(f){let d=[],v={};function y(h){Array.isArray(h)?d=d.concat(...h):d.push(h)}for(let h=0;h{let d=this.rules[f],v=o[f];d.forEach(y=>{let h=y;typeof h.transform=="function"&&(o===t&&(o={...o}),v=o[f]=h.transform(v),v!=null&&(h.type=h.type||(Array.isArray(v)?"array":typeof v))),typeof h=="function"?h={validator:h}:h={...h},h.validator=this.getValidationMethod(h),h.validator&&(h.field=f,h.fullField=h.fullField||f,h.type=this.getType(h),s[f]=s[f]||[],s[f].push({rule:h,value:v,source:o,field:f}))})});let c={};return A$(s,a,(f,d)=>{let v=f.rule,y=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");y=y&&(v.required||!v.required&&f.value),v.field=f.field;function h(m,g){return{...g,fullField:`${v.fullField}.${m}`,fullFields:v.fullFields?[...v.fullFields,m]:[m]}}function x(m=[]){let g=Array.isArray(m)?m:[m];!a.suppressWarning&&g.length&&e.warning("async-validator:",g),g.length&&v.message!==void 0&&v.message!==null&&(g=[].concat(v.message));let b=g.map(Gb(v,o));if(a.first&&b.length)return c[v.field]=1,d(b);if(!y)d(b);else{if(v.required&&!f.value)return v.message!==void 0?b=[].concat(v.message).map(Gb(v,o)):a.error&&(b=[a.error(v,ir(a.messages.required,v.field))]),d(b);let C={};v.defaultField&&Object.keys(f.value).map(w=>{C[w]=v.defaultField}),C={...C,...f.rule.fields};let S={};Object.keys(C).forEach(w=>{let O=C[w],_=Array.isArray(O)?O:[O];S[w]=_.map(h.bind(null,w))});let E=new e(S);E.messages(a.messages),f.rule.options&&(f.rule.options.messages=a.messages,f.rule.options.error=a.error),E.validate(f.value,f.rule.options||a,w=>{let O=[];b&&b.length&&O.push(...b),w&&w.length&&O.push(...w),d(O.length?O:null)})}}let p;if(v.asyncValidator)p=v.asyncValidator(v,f.value,x,f.source,a);else if(v.validator){try{p=v.validator(v,f.value,x,f.source,a)}catch(m){console.error?.(m),a.suppressValidatorError||setTimeout(()=>{throw m},0),x(m.message)}p===!0?x():p===!1?x(typeof v.message=="function"?v.message(v.fullField||v.field):v.message||`${v.fullField||v.field} fails`):p instanceof Array?x(p):p instanceof Error&&x(p.message)}p&&p.then&&p.then(()=>x(),m=>x(m))},f=>{l(f)},o)}getType(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!tu.hasOwnProperty(t.type))throw new Error(ir("Unknown rule type %s",t.type));return t.type||"string"}getValidationMethod(t){if(typeof t.validator=="function")return t.validator;let r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?tu.required:tu[this.getType(t)]||void 0}},r2=Qb;var Nv=R(P());var $n="'${name}' is not a valid ${type}",$v={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:$n,method:$n,array:$n,object:$n,number:$n,date:$n,boolean:$n,integer:$n,float:$n,regexp:$n,email:$n,url:$n,hex:$n},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}};var n2=r2;function oj(e,t){return e.replace(/\\?\$\{\w+\}/g,function(r){if(r.startsWith("\\"))return r.slice(1);var n=r.slice(2,-1);return t[n]})}var o2="CODE_LOGIC_ERROR";function Yb(e,t,r,n,o){return Zb.apply(this,arguments)}function Zb(){return Zb=Ko(mr().mark(function e(t,r,n,o,a){var i,l,s,u,c,f,d,v,y;return mr().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return i=$({},n),delete i.ruleIndex,n2.warning=function(){},i.validator&&(l=i.validator,i.validator=function(){try{return l.apply(void 0,arguments)}catch(p){return console.error(p),Promise.reject(o2)}}),s=null,i&&i.type==="array"&&i.defaultField&&(s=i.defaultField,delete i.defaultField),u=new n2(T({},t,[i])),c=va($v,o.validateMessages),u.messages(c),f=[],x.prev=10,x.next=13,Promise.resolve(u.validate(T({},t,r),$({},o)));case 13:x.next=18;break;case 15:x.prev=15,x.t0=x.catch(10),x.t0.errors&&(f=x.t0.errors.map(function(p,m){var g=p.message,b=g===o2?c.default:g;return Nv.isValidElement(b)?Nv.cloneElement(b,{key:"error_".concat(m)}):b}));case 18:if(!(!f.length&&s)){x.next=23;break}return x.next=21,Promise.all(r.map(function(p,m){return Yb("".concat(t,".").concat(m),p,s,o,a)}));case 21:return d=x.sent,x.abrupt("return",d.reduce(function(p,m){return[].concat(Y(p),Y(m))},[]));case 23:return v=$($({},n),{},{name:t,enum:(n.enum||[]).join(", ")},a),y=f.map(function(p){return typeof p=="string"?oj(p,v):p}),x.abrupt("return",y);case 26:case"end":return x.stop()}},e,null,[[10,15]])})),Zb.apply(this,arguments)}function a2(e,t,r,n,o,a){var i=e.join("."),l=r.map(function(c,f){var d=c.validator,v=$($({},c),{},{ruleIndex:f});return d&&(v.validator=function(y,h,x){var p=!1,m=function(){for(var C=arguments.length,S=new Array(C),E=0;E2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(n){return rC(t,n,r)})}function rC(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!r&&e.length!==t.length?!1:t.every(function(n,o){return e[o]===n})}function i2(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||J(e)!=="object"||J(t)!=="object")return!1;var r=Object.keys(e),n=Object.keys(t),o=new Set([].concat(r,n));return Y(o).every(function(a){var i=e[a],l=t[a];return typeof i=="function"&&typeof l=="function"?!0:i===l})}function l2(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&J(t.target)==="object"&&e in t.target?t.target[e]:t}function nC(e,t,r){var n=e.length;if(t<0||t>=n||r<0||r>=n)return e;var o=e[t],a=t-r;return a>0?[].concat(Y(e.slice(0,r)),[o],Y(e.slice(r,t)),Y(e.slice(t+1,n))):a<0?[].concat(Y(e.slice(0,t)),Y(e.slice(t+1,r+1)),[o],Y(e.slice(r+1,n))):e}var lj=["name"],to=[];function oC(e,t,r,n,o,a){return typeof e=="function"?e(t,r,"source"in a?{source:a.source}:{}):n!==o}var aC=function(e){xr(r,e);var t=br(r);function r(n){var o;if(We(this,r),o=t.call(this,n),T(ke(o),"state",{resetCount:0}),T(ke(o),"cancelRegisterFunc",null),T(ke(o),"mounted",!1),T(ke(o),"touched",!1),T(ke(o),"dirty",!1),T(ke(o),"validatePromise",void 0),T(ke(o),"prevValidating",void 0),T(ke(o),"errors",to),T(ke(o),"warnings",to),T(ke(o),"cancelRegister",function(){var s=o.props,u=s.preserve,c=s.isListField,f=s.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(c,u,Ft(f)),o.cancelRegisterFunc=null}),T(ke(o),"getNamePath",function(){var s=o.props,u=s.name,c=s.fieldContext,f=c.prefixName,d=f===void 0?[]:f;return u!==void 0?[].concat(Y(d),Y(u)):[]}),T(ke(o),"getRules",function(){var s=o.props,u=s.rules,c=u===void 0?[]:u,f=s.fieldContext;return c.map(function(d){return typeof d=="function"?d(f):d})}),T(ke(o),"refresh",function(){o.mounted&&o.setState(function(s){var u=s.resetCount;return{resetCount:u+1}})}),T(ke(o),"metaCache",null),T(ke(o),"triggerMetaEvent",function(s){var u=o.props.onMetaChange;if(u){var c=$($({},o.getMeta()),{},{destroy:s});Vo(o.metaCache,c)||u(c),o.metaCache=c}else o.metaCache=null}),T(ke(o),"onStoreChange",function(s,u,c){var f=o.props,d=f.shouldUpdate,v=f.dependencies,y=v===void 0?[]:v,h=f.onReset,x=c.store,p=o.getNamePath(),m=o.getValue(s),g=o.getValue(x),b=u&&Ci(u,p);switch(c.type==="valueUpdate"&&c.source==="external"&&!Vo(m,g)&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=to,o.warnings=to,o.triggerMetaEvent()),c.type){case"reset":if(!u||b){o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=to,o.warnings=to,o.triggerMetaEvent(),h?.(),o.refresh();return}break;case"remove":{if(d&&oC(d,s,x,m,g,c)){o.reRender();return}break}case"setField":{var C=c.data;if(b){"touched"in C&&(o.touched=C.touched),"validating"in C&&!("originRCField"in C)&&(o.validatePromise=C.validating?Promise.resolve([]):null),"errors"in C&&(o.errors=C.errors||to),"warnings"in C&&(o.warnings=C.warnings||to),o.dirty=!0,o.triggerMetaEvent(),o.reRender();return}else if("value"in C&&Ci(u,p,!0)){o.reRender();return}if(d&&!p.length&&oC(d,s,x,m,g,c)){o.reRender();return}break}case"dependenciesUpdate":{var S=y.map(Ft);if(S.some(function(E){return Ci(c.relatedFields,E)})){o.reRender();return}break}default:if(b||(!y.length||p.length||d)&&oC(d,s,x,m,g,c)){o.reRender();return}break}d===!0&&o.reRender()}),T(ke(o),"validateRules",function(s){var u=o.getNamePath(),c=o.getValue(),f=s||{},d=f.triggerName,v=f.validateOnly,y=v===void 0?!1:v,h=Promise.resolve().then(Ko(mr().mark(function x(){var p,m,g,b,C,S,E;return mr().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(p=o.props,m=p.validateFirst,g=m===void 0?!1:m,b=p.messageVariables,C=p.validateDebounce,S=o.getRules(),d&&(S=S.filter(function(_){return _}).filter(function(_){var N=_.validateTrigger;if(!N)return!0;var I=sf(N);return I.includes(d)})),!(C&&d)){O.next=10;break}return O.next=8,new Promise(function(_){setTimeout(_,C)});case 8:if(o.validatePromise===h){O.next=10;break}return O.abrupt("return",[]);case 10:return E=a2(u,c,S,s,g,b),E.catch(function(_){return _}).then(function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:to;if(o.validatePromise===h){var N;o.validatePromise=null;var I=[],A=[];(N=_.forEach)===null||N===void 0||N.call(_,function(M){var L=M.rule.warningOnly,D=M.errors,F=D===void 0?to:D;L?A.push.apply(A,Y(F)):I.push.apply(I,Y(F))}),o.errors=I,o.warnings=A,o.triggerMetaEvent(),o.reRender()}}),O.abrupt("return",E);case 13:case"end":return O.stop()}},x)})));return y||(o.validatePromise=h,o.dirty=!0,o.errors=to,o.warnings=to,o.triggerMetaEvent(),o.reRender()),h}),T(ke(o),"isFieldValidating",function(){return!!o.validatePromise}),T(ke(o),"isFieldTouched",function(){return o.touched}),T(ke(o),"isFieldDirty",function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var s=o.props.fieldContext,u=s.getInternalHooks(Oo),c=u.getInitialValue;return c(o.getNamePath())!==void 0}),T(ke(o),"getErrors",function(){return o.errors}),T(ke(o),"getWarnings",function(){return o.warnings}),T(ke(o),"isListField",function(){return o.props.isListField}),T(ke(o),"isList",function(){return o.props.isList}),T(ke(o),"isPreserve",function(){return o.props.preserve}),T(ke(o),"getMeta",function(){o.prevValidating=o.isFieldValidating();var s={touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:o.validatePromise===null};return s}),T(ke(o),"getOnlyChild",function(s){if(typeof s=="function"){var u=o.getMeta();return $($({},o.getOnlyChild(s(o.getControlled(),u,o.props.fieldContext))),{},{isFunction:!0})}var c=Wt(s);return c.length!==1||!on.isValidElement(c[0])?{child:c,isFunction:!1}:{child:c[0],isFunction:!1}}),T(ke(o),"getValue",function(s){var u=o.props.fieldContext.getFieldsValue,c=o.getNamePath();return Ir(s||u(!0),c)}),T(ke(o),"getControlled",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.props,c=u.name,f=u.trigger,d=u.validateTrigger,v=u.getValueFromEvent,y=u.normalize,h=u.valuePropName,x=u.getValueProps,p=u.fieldContext,m=d!==void 0?d:p.validateTrigger,g=o.getNamePath(),b=p.getInternalHooks,C=p.getFieldsValue,S=b(Oo),E=S.dispatch,w=o.getValue(),O=x||function(M){return T({},h,M)},_=s[f],N=c!==void 0?O(w):{},I=$($({},s),N);I[f]=function(){o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var M,L=arguments.length,D=new Array(L),F=0;F=0&&_<=N.length?(c.keys=[].concat(Y(c.keys.slice(0,_)),[c.id],Y(c.keys.slice(_))),g([].concat(Y(N.slice(0,_)),[O],Y(N.slice(_))))):(c.keys=[].concat(Y(c.keys),[c.id]),g([].concat(Y(N),[O]))),c.id+=1},remove:function(O){var _=C(),N=new Set(Array.isArray(O)?O:[O]);N.size<=0||(c.keys=c.keys.filter(function(I,A){return!N.has(A)}),g(_.filter(function(I,A){return!N.has(A)})))},move:function(O,_){if(O!==_){var N=C();O<0||O>=N.length||_<0||_>=N.length||(c.keys=nC(c.keys,O,_),g(nC(N,O,_)))}}},E=m||[];return Array.isArray(E)||(E=[]),n(E.map(function(w,O){var _=c.keys[O];return _===void 0&&(c.keys[O]=c.id,_=c.keys[O],c.id+=1),{name:O,key:_,isListField:!0}}),S,x)})))}var s2=uj;var Mv=R(P());function u2(e){var t=!1,r=e.length,n=[];return e.length?new Promise(function(o,a){e.forEach(function(i,l){i.catch(function(s){return t=!0,s}).then(function(s){r-=1,n[l]=s,!(r>0)&&(t&&a(n),o(n))})})}):Promise.resolve([])}var c2="__@field_split__";function iC(e){return e.map(function(t){return"".concat(J(t),":").concat(t)}).join(c2)}var cj=function(){function e(){We(this,e),T(this,"kvs",new Map)}return Ue(e,[{key:"set",value:function(r,n){this.kvs.set(iC(r),n)}},{key:"get",value:function(r){return this.kvs.get(iC(r))}},{key:"update",value:function(r,n){var o=this.get(r),a=n(o);a?this.set(r,a):this.delete(r)}},{key:"delete",value:function(r){this.kvs.delete(iC(r))}},{key:"map",value:function(r){return Y(this.kvs.entries()).map(function(n){var o=k(n,2),a=o[0],i=o[1],l=a.split(c2);return r({key:l.map(function(s){var u=s.match(/^([^:]*):(.*)$/),c=k(u,3),f=c[1],d=c[2];return f==="number"?Number(d):d}),value:i})})}},{key:"toJSON",value:function(){var r={};return this.map(function(n){var o=n.key,a=n.value;return r[o.join(".")]=a,null}),r}}]),e}(),_l=cj;var fj=["name"],dj=Ue(function e(t){var r=this;We(this,e),T(this,"formHooked",!1),T(this,"forceRootUpdate",void 0),T(this,"subscribable",!0),T(this,"store",{}),T(this,"fieldEntities",[]),T(this,"initialValues",{}),T(this,"callbacks",{}),T(this,"validateMessages",null),T(this,"preserve",null),T(this,"lastValidatePromise",null),T(this,"getForm",function(){return{getFieldValue:r.getFieldValue,getFieldsValue:r.getFieldsValue,getFieldError:r.getFieldError,getFieldWarning:r.getFieldWarning,getFieldsError:r.getFieldsError,isFieldsTouched:r.isFieldsTouched,isFieldTouched:r.isFieldTouched,isFieldValidating:r.isFieldValidating,isFieldsValidating:r.isFieldsValidating,resetFields:r.resetFields,setFields:r.setFields,setFieldValue:r.setFieldValue,setFieldsValue:r.setFieldsValue,validateFields:r.validateFields,submit:r.submit,_init:!0,getInternalHooks:r.getInternalHooks}}),T(this,"getInternalHooks",function(n){return n===Oo?(r.formHooked=!0,{dispatch:r.dispatch,initEntityValue:r.initEntityValue,registerField:r.registerField,useSubscribe:r.useSubscribe,setInitialValues:r.setInitialValues,destroyForm:r.destroyForm,setCallbacks:r.setCallbacks,setValidateMessages:r.setValidateMessages,getFields:r.getFields,setPreserve:r.setPreserve,getInitialValue:r.getInitialValue,registerWatch:r.registerWatch}):(It(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),T(this,"useSubscribe",function(n){r.subscribable=n}),T(this,"prevWithoutPreserves",null),T(this,"setInitialValues",function(n,o){if(r.initialValues=n||{},o){var a,i=va(n,r.store);(a=r.prevWithoutPreserves)===null||a===void 0||a.map(function(l){var s=l.key;i=rn(i,s,Ir(n,s))}),r.prevWithoutPreserves=null,r.updateStore(i)}}),T(this,"destroyForm",function(n){if(n)r.updateStore({});else{var o=new _l;r.getFieldEntities(!0).forEach(function(a){r.isMergedPreserve(a.isPreserve())||o.set(a.getNamePath(),!0)}),r.prevWithoutPreserves=o}}),T(this,"getInitialValue",function(n){var o=Ir(r.initialValues,n);return n.length?va(o):o}),T(this,"setCallbacks",function(n){r.callbacks=n}),T(this,"setValidateMessages",function(n){r.validateMessages=n}),T(this,"setPreserve",function(n){r.preserve=n}),T(this,"watchList",[]),T(this,"registerWatch",function(n){return r.watchList.push(n),function(){r.watchList=r.watchList.filter(function(o){return o!==n})}}),T(this,"notifyWatch",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(r.watchList.length){var o=r.getFieldsValue(),a=r.getFieldsValue(!0);r.watchList.forEach(function(i){i(o,a,n)})}}),T(this,"timeoutId",null),T(this,"warningUnhooked",function(){}),T(this,"updateStore",function(n){r.store=n}),T(this,"getFieldEntities",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return n?r.fieldEntities.filter(function(o){return o.getNamePath().length}):r.fieldEntities}),T(this,"getFieldsMap",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=new _l;return r.getFieldEntities(n).forEach(function(a){var i=a.getNamePath();o.set(i,a)}),o}),T(this,"getFieldEntitiesForNamePathList",function(n){if(!n)return r.getFieldEntities(!0);var o=r.getFieldsMap(!0);return n.map(function(a){var i=Ft(a);return o.get(i)||{INVALIDATE_NAME_PATH:Ft(a)}})}),T(this,"getFieldsValue",function(n,o){r.warningUnhooked();var a,i,l;if(n===!0||Array.isArray(n)?(a=n,i=o):n&&J(n)==="object"&&(l=n.strict,i=n.filter),a===!0&&!i)return r.store;var s=r.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),u=[];return s.forEach(function(c){var f,d,v="INVALIDATE_NAME_PATH"in c?c.INVALIDATE_NAME_PATH:c.getNamePath();if(l){var y,h;if((y=(h=c).isList)!==null&&y!==void 0&&y.call(h))return}else if(!a&&(f=(d=c).isListField)!==null&&f!==void 0&&f.call(d))return;if(!i)u.push(v);else{var x="getMeta"in c?c.getMeta():null;i(x)&&u.push(v)}}),tC(r.store,u.map(Ft))}),T(this,"getFieldValue",function(n){r.warningUnhooked();var o=Ft(n);return Ir(r.store,o)}),T(this,"getFieldsError",function(n){r.warningUnhooked();var o=r.getFieldEntitiesForNamePathList(n);return o.map(function(a,i){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:Ft(n[i]),errors:[],warnings:[]}})}),T(this,"getFieldError",function(n){r.warningUnhooked();var o=Ft(n),a=r.getFieldsError([o])[0];return a.errors}),T(this,"getFieldWarning",function(n){r.warningUnhooked();var o=Ft(n),a=r.getFieldsError([o])[0];return a.warnings}),T(this,"isFieldsTouched",function(){r.warningUnhooked();for(var n=arguments.length,o=new Array(n),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},o=new _l,a=r.getFieldEntities(!0);a.forEach(function(s){var u=s.props.initialValue,c=s.getNamePath();if(u!==void 0){var f=o.get(c)||new Set;f.add({entity:s,value:u}),o.set(c,f)}});var i=function(u){u.forEach(function(c){var f=c.props.initialValue;if(f!==void 0){var d=c.getNamePath(),v=r.getInitialValue(d);if(v!==void 0)It(!1,"Form already set 'initialValues' with path '".concat(d.join("."),"'. Field can not overwrite it."));else{var y=o.get(d);if(y&&y.size>1)It(!1,"Multiple Field with path '".concat(d.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(y){var h=r.getFieldValue(d),x=c.isListField();!x&&(!n.skipExist||h===void 0)&&r.updateStore(rn(r.store,d,Y(y)[0].value))}}}})},l;n.entities?l=n.entities:n.namePathList?(l=[],n.namePathList.forEach(function(s){var u=o.get(s);if(u){var c;(c=l).push.apply(c,Y(Y(u).map(function(f){return f.entity})))}})):l=a,i(l)}),T(this,"resetFields",function(n){r.warningUnhooked();var o=r.store;if(!n){r.updateStore(va(r.initialValues)),r.resetWithFieldInitialValue(),r.notifyObservers(o,null,{type:"reset"}),r.notifyWatch();return}var a=n.map(Ft);a.forEach(function(i){var l=r.getInitialValue(i);r.updateStore(rn(r.store,i,l))}),r.resetWithFieldInitialValue({namePathList:a}),r.notifyObservers(o,a,{type:"reset"}),r.notifyWatch(a)}),T(this,"setFields",function(n){r.warningUnhooked();var o=r.store,a=[];n.forEach(function(i){var l=i.name,s=ae(i,fj),u=Ft(l);a.push(u),"value"in s&&r.updateStore(rn(r.store,u,s.value)),r.notifyObservers(o,[u],{type:"setField",data:i})}),r.notifyWatch(a)}),T(this,"getFields",function(){var n=r.getFieldEntities(!0),o=n.map(function(a){var i=a.getNamePath(),l=a.getMeta(),s=$($({},l),{},{name:i,value:r.getFieldValue(i)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return o}),T(this,"initEntityValue",function(n){var o=n.props.initialValue;if(o!==void 0){var a=n.getNamePath(),i=Ir(r.store,a);i===void 0&&r.updateStore(rn(r.store,a,o))}}),T(this,"isMergedPreserve",function(n){var o=n!==void 0?n:r.preserve;return o??!0}),T(this,"registerField",function(n){r.fieldEntities.push(n);var o=n.getNamePath();if(r.notifyWatch([o]),n.props.initialValue!==void 0){var a=r.store;r.resetWithFieldInitialValue({entities:[n],skipExist:!0}),r.notifyObservers(a,[n.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(i,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(r.fieldEntities=r.fieldEntities.filter(function(f){return f!==n}),!r.isMergedPreserve(l)&&(!i||s.length>1)){var u=i?void 0:r.getInitialValue(o);if(o.length&&r.getFieldValue(o)!==u&&r.fieldEntities.every(function(f){return!rC(f.getNamePath(),o)})){var c=r.store;r.updateStore(rn(c,o,u,!0)),r.notifyObservers(c,[o],{type:"remove"}),r.triggerDependenciesUpdate(c,o)}}r.notifyWatch([o])}}),T(this,"dispatch",function(n){switch(n.type){case"updateValue":{var o=n.namePath,a=n.value;r.updateValue(o,a);break}case"validateField":{var i=n.namePath,l=n.triggerName;r.validateFields([i],{triggerName:l});break}default:}}),T(this,"notifyObservers",function(n,o,a){if(r.subscribable){var i=$($({},a),{},{store:r.getFieldsValue(!0)});r.getFieldEntities().forEach(function(l){var s=l.onStoreChange;s(n,o,i)})}else r.forceRootUpdate()}),T(this,"triggerDependenciesUpdate",function(n,o){var a=r.getDependencyChildrenFields(o);return a.length&&r.validateFields(a),r.notifyObservers(n,a,{type:"dependenciesUpdate",relatedFields:[o].concat(Y(a))}),a}),T(this,"updateValue",function(n,o){var a=Ft(n),i=r.store;r.updateStore(rn(r.store,a,o)),r.notifyObservers(i,[a],{type:"valueUpdate",source:"internal"}),r.notifyWatch([a]);var l=r.triggerDependenciesUpdate(i,a),s=r.callbacks.onValuesChange;if(s){var u=tC(r.store,[a]);s(u,r.getFieldsValue())}r.triggerOnFieldsChange([a].concat(Y(l)))}),T(this,"setFieldsValue",function(n){r.warningUnhooked();var o=r.store;if(n){var a=va(r.store,n);r.updateStore(a)}r.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),r.notifyWatch()}),T(this,"setFieldValue",function(n,o){r.setFields([{name:n,value:o}])}),T(this,"getDependencyChildrenFields",function(n){var o=new Set,a=[],i=new _l;r.getFieldEntities().forEach(function(s){var u=s.props.dependencies;(u||[]).forEach(function(c){var f=Ft(c);i.update(f,function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return d.add(s),d})})});var l=function s(u){var c=i.get(u)||new Set;c.forEach(function(f){if(!o.has(f)){o.add(f);var d=f.getNamePath();f.isFieldDirty()&&d.length&&(a.push(d),s(d))}})};return l(n),a}),T(this,"triggerOnFieldsChange",function(n,o){var a=r.callbacks.onFieldsChange;if(a){var i=r.getFields();if(o){var l=new _l;o.forEach(function(u){var c=u.name,f=u.errors;l.set(c,f)}),i.forEach(function(u){u.errors=l.get(u.name)||u.errors})}var s=i.filter(function(u){var c=u.name;return Ci(n,c)});s.length&&a(s,i)}}),T(this,"validateFields",function(n,o){r.warningUnhooked();var a,i;Array.isArray(n)||typeof n=="string"||typeof o=="string"?(a=n,i=o):i=n;var l=!!a,s=l?a.map(Ft):[],u=[],c=String(Date.now()),f=new Set,d=i||{},v=d.recursive,y=d.dirty;r.getFieldEntities(!0).forEach(function(m){if(l||s.push(m.getNamePath()),!(!m.props.rules||!m.props.rules.length)&&!(y&&!m.isFieldDirty())){var g=m.getNamePath();if(f.add(g.join(c)),!l||Ci(s,g,v)){var b=m.validateRules($({validateMessages:$($({},$v),r.validateMessages)},i));u.push(b.then(function(){return{name:g,errors:[],warnings:[]}}).catch(function(C){var S,E=[],w=[];return(S=C.forEach)===null||S===void 0||S.call(C,function(O){var _=O.rule.warningOnly,N=O.errors;_?w.push.apply(w,Y(N)):E.push.apply(E,Y(N))}),E.length?Promise.reject({name:g,errors:E,warnings:w}):{name:g,errors:E,warnings:w}}))}}});var h=u2(u);r.lastValidatePromise=h,h.catch(function(m){return m}).then(function(m){var g=m.map(function(b){var C=b.name;return C});r.notifyObservers(r.store,g,{type:"validateFinish"}),r.triggerOnFieldsChange(g,m)});var x=h.then(function(){return r.lastValidatePromise===h?Promise.resolve(r.getFieldsValue(s)):Promise.reject([])}).catch(function(m){var g=m.filter(function(b){return b&&b.errors.length});return Promise.reject({values:r.getFieldsValue(s),errorFields:g,outOfDate:r.lastValidatePromise!==h})});x.catch(function(m){return m});var p=s.filter(function(m){return f.has(m.join(c))});return r.triggerOnFieldsChange(p),x}),T(this,"submit",function(){r.warningUnhooked(),r.validateFields().then(function(n){var o=r.callbacks.onFinish;if(o)try{o(n)}catch(a){console.error(a)}}).catch(function(n){var o=r.callbacks.onFinishFailed;o&&o(n)})}),this.forceRootUpdate=t});function mj(e){var t=Mv.useRef(),r=Mv.useState({}),n=k(r,2),o=n[1];if(!t.current)if(e)t.current=e;else{var a=function(){o({})},i=new dj(a);t.current=i.getForm()}return[t.current]}var kv=mj;var wr=R(P());var Si=R(P()),lC=Si.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),sC=function(t){var r=t.validateMessages,n=t.onFormChange,o=t.onFormFinish,a=t.children,i=Si.useContext(lC),l=Si.useRef({});return Si.createElement(lC.Provider,{value:$($({},i),{},{validateMessages:$($({},i.validateMessages),r),triggerFormChange:function(u,c){n&&n(u,{changedFields:c,forms:l.current}),i.triggerFormChange(u,c)},triggerFormFinish:function(u,c){o&&o(u,{values:c,forms:l.current}),i.triggerFormFinish(u,c)},registerForm:function(u,c){u&&(l.current=$($({},l.current),{},T({},u,c))),i.registerForm(u,c)},unregisterForm:function(u){var c=$({},l.current);delete c[u],l.current=c,i.unregisterForm(u)}})},a)};var f2=lC;var pj=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],vj=function(t,r){var n=t.name,o=t.initialValues,a=t.fields,i=t.form,l=t.preserve,s=t.children,u=t.component,c=u===void 0?"form":u,f=t.validateMessages,d=t.validateTrigger,v=d===void 0?"onChange":d,y=t.onValuesChange,h=t.onFieldsChange,x=t.onFinish,p=t.onFinishFailed,m=t.clearOnDestroy,g=ae(t,pj),b=wr.useRef(null),C=wr.useContext(f2),S=kv(i),E=k(S,1),w=E[0],O=w.getInternalHooks(Oo),_=O.useSubscribe,N=O.setInitialValues,I=O.setCallbacks,A=O.setValidateMessages,M=O.setPreserve,L=O.destroyForm;wr.useImperativeHandle(r,function(){return $($({},w),{},{nativeElement:b.current})}),wr.useEffect(function(){return C.registerForm(n,w),function(){C.unregisterForm(n)}},[C,w,n]),A($($({},C.validateMessages),f)),I({onValuesChange:y,onFieldsChange:function(G){if(C.triggerFormChange(n,G),h){for(var U=arguments.length,Z=new Array(U>1?U-1:0),ee=1;ee{let{children:t,status:r,override:n}=e,o=(0,ru.useContext)(Av),a=(0,ru.useMemo)(()=>{let i=Object.assign({},o);return n&&delete i.isFormItemInput,r&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[r,n,o]);return Fv.createElement(Av.Provider,{value:a},t)},h2=(0,ru.createContext)(void 0);var xj=e=>{let{space:t,form:r,children:n}=e;if(n==null)return null;let o=n;return r&&(o=uC.default.createElement(g2,{override:!0,status:!0},o)),t&&(o=uC.default.createElement(hP,null,o)),o},y2=xj;var Sa=R(P());function cC(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function x2(e){let{closable:t,closeIcon:r}=e||{};return Sa.default.useMemo(()=>{if(!t&&(t===!1||r===!1||r===null))return!1;if(t===void 0&&r===void 0)return null;let n={closeIcon:typeof r!="boolean"&&r!==null?r:void 0};return t&&typeof t=="object"&&(n=Object.assign(Object.assign({},n),t)),n},[t,r])}function b2(){let e={};for(var t=arguments.length,r=new Array(t),n=0;n{o&&Object.keys(o).forEach(a=>{o[a]!==void 0&&(e[a]=o[a])})}),e}var bj={};function fC(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bj,n=x2(e),o=x2(t),a=typeof n!="boolean"?!!n?.disabled:!1,i=Sa.default.useMemo(()=>Object.assign({closeIcon:Sa.default.createElement(Gp,null)},r),[r]),l=Sa.default.useMemo(()=>n===!1?!1:n?b2(i,o,n):o===!1?!1:o?b2(i,o):i.closable?i:!1,[n,o,i]);return Sa.default.useMemo(()=>{if(l===!1)return[!1,null,a];let{closeIconRender:s}=i,{closeIcon:u}=l,c=u;if(c!=null){s&&(c=s(u));let f=rf(l,!0);Object.keys(f).length&&(c=Sa.default.isValidElement(c)?Sa.default.cloneElement(c,f):Sa.default.createElement("span",Object.assign({},f),c))}return[!0,c,a]},[l,i])}var C2=function(t){if(_t()&&window.document.documentElement){var r=Array.isArray(t)?t:[t],n=window.document.documentElement;return r.some(function(o){return o in n.style})}return!1},Cj=function(t,r){if(!C2(t))return!1;var n=document.createElement("div"),o=n.style[t];return n.style[t]=r,n.style[t]!==o};function Lv(e,t){return!Array.isArray(e)&&t!==void 0?Cj(e,t):C2(e)}var wa=R(P()),F2=R(re());var df=R(P()),w2=R(re());var zv=R(P()),Dv=R(re()),Sj=e=>{let{prefixCls:t,className:r,style:n,size:o,shape:a}=e,i=(0,Dv.default)({[`${t}-lg`]:o==="large",[`${t}-sm`]:o==="small"}),l=(0,Dv.default)({[`${t}-circle`]:a==="circle",[`${t}-square`]:a==="square",[`${t}-round`]:a==="round"}),s=zv.useMemo(()=>typeof o=="number"?{width:o,height:o,lineHeight:`${o}px`}:{},[o]);return zv.createElement("span",{className:(0,Dv.default)(t,i,l,r),style:Object.assign(Object.assign({},s),n)})},wi=Sj;var wj=new Mt("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),jv=e=>({height:e,lineHeight:j(e)}),nu=e=>Object.assign({width:e},jv(e)),Ej=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:wj,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),dC=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},jv(e)),Rj=e=>{let{skeletonAvatarCls:t,gradientFromColor:r,controlHeight:n,controlHeightLG:o,controlHeightSM:a}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:r},nu(n)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},nu(o)),[`${t}${t}-sm`]:Object.assign({},nu(a))}},Oj=e=>{let{controlHeight:t,borderRadiusSM:r,skeletonInputCls:n,controlHeightLG:o,controlHeightSM:a,gradientFromColor:i,calc:l}=e;return{[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:r},dC(t,l)),[`${n}-lg`]:Object.assign({},dC(o,l)),[`${n}-sm`]:Object.assign({},dC(a,l))}},S2=e=>Object.assign({width:e},jv(e)),_j=e=>{let{skeletonImageCls:t,imageSizeBase:r,gradientFromColor:n,borderRadiusSM:o,calc:a}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:o},S2(a(r).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},S2(r)),{maxWidth:a(r).mul(4).equal(),maxHeight:a(r).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},mC=(e,t,r)=>{let{skeletonButtonCls:n}=e;return{[`${r}${n}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${r}${n}-round`]:{borderRadius:t}}},pC=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},jv(e)),Tj=e=>{let{borderRadiusSM:t,skeletonButtonCls:r,controlHeight:n,controlHeightLG:o,controlHeightSM:a,gradientFromColor:i,calc:l}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:l(n).mul(2).equal(),minWidth:l(n).mul(2).equal()},pC(n,l))},mC(e,n,r)),{[`${r}-lg`]:Object.assign({},pC(o,l))}),mC(e,o,`${r}-lg`)),{[`${r}-sm`]:Object.assign({},pC(a,l))}),mC(e,a,`${r}-sm`))},Pj=e=>{let{componentCls:t,skeletonAvatarCls:r,skeletonTitleCls:n,skeletonParagraphCls:o,skeletonButtonCls:a,skeletonInputCls:i,skeletonImageCls:l,controlHeight:s,controlHeightLG:u,controlHeightSM:c,gradientFromColor:f,padding:d,marginSM:v,borderRadius:y,titleHeight:h,blockRadius:x,paragraphLiHeight:p,controlHeightXS:m,paragraphMarginTop:g}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:d,verticalAlign:"top",[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},nu(s)),[`${r}-circle`]:{borderRadius:"50%"},[`${r}-lg`]:Object.assign({},nu(u)),[`${r}-sm`]:Object.assign({},nu(c))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:h,background:f,borderRadius:x,[`+ ${o}`]:{marginBlockStart:c}},[o]:{padding:0,"> li":{width:"100%",height:p,listStyle:"none",background:f,borderRadius:x,"+ li":{marginBlockStart:m}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${n}, ${o} > li`]:{borderRadius:y}}},[`${t}-with-avatar ${t}-content`]:{[n]:{marginBlockStart:v,[`+ ${o}`]:{marginBlockStart:g}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Tj(e)),Rj(e)),Oj(e)),_j(e)),[`${t}${t}-block`]:{width:"100%",[a]:{width:"100%"},[i]:{width:"100%"}},[`${t}${t}-active`]:{[` ${n}, ${o} > li, ${r}, ${a}, ${i}, ${l} `]:Object.assign({},Ej(e))}}},$j=e=>{let{colorFillContent:t,colorFill:r}=e,n=t,o=r;return{color:n,colorGradientEnd:o,gradientFromColor:n,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},ro=Tt("Skeleton",e=>{let{componentCls:t,calc:r}=e,n=Ke(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:r(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[Pj(n)]},$j,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});var Nj=e=>{let{prefixCls:t,className:r,rootClassName:n,active:o,shape:a="circle",size:i="default"}=e,{getPrefixCls:l}=df.useContext(de),s=l("skeleton",t),[u,c,f]=ro(s),d=bt(e,["prefixCls","className"]),v=(0,w2.default)(s,`${s}-element`,{[`${s}-active`]:o},r,n,c,f);return u(df.createElement("div",{className:v},df.createElement(wi,Object.assign({prefixCls:`${s}-avatar`,shape:a,size:i},d))))},E2=Nj;var mf=R(P()),R2=R(re());var Ij=e=>{let{prefixCls:t,className:r,rootClassName:n,active:o,block:a=!1,size:i="default"}=e,{getPrefixCls:l}=mf.useContext(de),s=l("skeleton",t),[u,c,f]=ro(s),d=bt(e,["prefixCls"]),v=(0,R2.default)(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:a},r,n,c,f);return u(mf.createElement("div",{className:v},mf.createElement(wi,Object.assign({prefixCls:`${s}-button`,size:i},d))))},O2=Ij;var Ei=R(P()),vC=R(re());var Mj="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",kj=e=>{let{prefixCls:t,className:r,rootClassName:n,style:o,active:a}=e,{getPrefixCls:i}=Ei.useContext(de),l=i("skeleton",t),[s,u,c]=ro(l),f=(0,vC.default)(l,`${l}-element`,{[`${l}-active`]:a},r,n,u,c);return s(Ei.createElement("div",{className:f},Ei.createElement("div",{className:(0,vC.default)(`${l}-image`,r),style:o},Ei.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},Ei.createElement("title",null,"Image placeholder"),Ei.createElement("path",{d:Mj,className:`${l}-image-path`})))))},_2=kj;var pf=R(P()),T2=R(re());var Aj=e=>{let{prefixCls:t,className:r,rootClassName:n,active:o,block:a,size:i="default"}=e,{getPrefixCls:l}=pf.useContext(de),s=l("skeleton",t),[u,c,f]=ro(s),d=bt(e,["prefixCls"]),v=(0,T2.default)(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:a},r,n,c,f);return u(pf.createElement("div",{className:v},pf.createElement(wi,Object.assign({prefixCls:`${s}-input`,size:i},d))))},P2=Aj;var vf=R(P()),gC=R(re());var Fj=e=>{let{prefixCls:t,className:r,rootClassName:n,style:o,active:a,children:i}=e,{getPrefixCls:l}=vf.useContext(de),s=l("skeleton",t),[u,c,f]=ro(s),d=(0,gC.default)(s,`${s}-element`,{[`${s}-active`]:a},c,r,n,f);return u(vf.createElement("div",{className:d},vf.createElement("div",{className:(0,gC.default)(`${s}-image`,r),style:o},i)))},$2=Fj;var hC=R(P()),N2=R(re()),Lj=(e,t)=>{let{width:r,rows:n=2}=t;if(Array.isArray(r))return r[e];if(n-1===e)return r},Dj=e=>{let{prefixCls:t,className:r,style:n,rows:o}=e,a=Y(new Array(o)).map((i,l)=>hC.createElement("li",{key:l,style:{width:Lj(l,e)}}));return hC.createElement("ul",{className:(0,N2.default)(t,r),style:n},a)},I2=Dj;var M2=R(P()),k2=R(re()),zj=e=>{let{prefixCls:t,className:r,width:n,style:o}=e;return M2.createElement("h3",{className:(0,k2.default)(t,r),style:Object.assign({width:n},o)})},A2=zj;function yC(e){return e&&typeof e=="object"?e:{}}function jj(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Bj(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function Vj(e,t){let r={};return(!e||!t)&&(r.width="61%"),!e&&t?r.rows=3:r.rows=2,r}var ou=e=>{let{prefixCls:t,loading:r,className:n,rootClassName:o,style:a,children:i,avatar:l=!1,title:s=!0,paragraph:u=!0,active:c,round:f}=e,{getPrefixCls:d,direction:v,skeleton:y}=wa.useContext(de),h=d("skeleton",t),[x,p,m]=ro(h);if(r||!("loading"in e)){let g=!!l,b=!!s,C=!!u,S;if(g){let O=Object.assign(Object.assign({prefixCls:`${h}-avatar`},jj(b,C)),yC(l));S=wa.createElement("div",{className:`${h}-header`},wa.createElement(wi,Object.assign({},O)))}let E;if(b||C){let O;if(b){let N=Object.assign(Object.assign({prefixCls:`${h}-title`},Bj(g,C)),yC(s));O=wa.createElement(A2,Object.assign({},N))}let _;if(C){let N=Object.assign(Object.assign({prefixCls:`${h}-paragraph`},Vj(g,b)),yC(u));_=wa.createElement(I2,Object.assign({},N))}E=wa.createElement("div",{className:`${h}-content`},O,_)}let w=(0,F2.default)(h,{[`${h}-with-avatar`]:g,[`${h}-active`]:c,[`${h}-rtl`]:v==="rtl",[`${h}-round`]:f},y?.className,n,o,p,m);return x(wa.createElement("div",{className:w,style:Object.assign(Object.assign({},y?.style),a)},S,E))}return i??null};ou.Button=O2;ou.Avatar=E2;ou.Input=P2;ou.Image=_2;ou.Node=$2;var L2=ou;var D2=L2;var Bv=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?.substr(0,4))};var In=R(P()),qo=R(P()),G2=R(re());var Tl=R(P()),z2=R(re());var Hj=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],au=void 0;function Wj(e,t){var r=e.prefixCls,n=e.invalidate,o=e.item,a=e.renderItem,i=e.responsive,l=e.responsiveDisabled,s=e.registerSize,u=e.itemKey,c=e.className,f=e.style,d=e.children,v=e.display,y=e.order,h=e.component,x=h===void 0?"div":h,p=ae(e,Hj),m=i&&!v;function g(w){s(u,w)}Tl.useEffect(function(){return function(){g(null)}},[]);var b=a&&o!==au?a(o,{index:y}):d,C;n||(C={opacity:m?0:1,height:m?0:au,overflowY:m?"hidden":au,order:i?y:au,pointerEvents:m?"none":au,position:m?"absolute":au});var S={};m&&(S["aria-hidden"]=!0);var E=Tl.createElement(x,W({className:(0,z2.default)(!n&&r,c),style:$($({},C),f)},S,p,{ref:t}),b);return i&&(E=Tl.createElement(Wr,{onResize:function(O){var _=O.offsetWidth;g(_)},disabled:l},E)),E}var j2=Tl.forwardRef(Wj);j2.displayName="Item";var Pl=j2;var Vv=R(P()),B2=R(sl());function xC(e){if(typeof MessageChannel>"u")Ot(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function V2(){var e=Vv.useRef(null),t=function(n){e.current||(e.current=[],xC(function(){(0,B2.unstable_batchedUpdates)(function(){e.current.forEach(function(o){o()}),e.current=null})})),e.current.push(n)};return t}function Ri(e,t){var r=Vv.useState(t),n=k(r,2),o=n[0],a=n[1],i=pt(function(l){e(function(){a(l)})});return[o,i]}var Oi=R(P()),W2=R(re());var H2=R(P()),$l=H2.default.createContext(null);var Uj=["component"],Kj=["className"],Gj=["className"],qj=function(t,r){var n=Oi.useContext($l);if(!n){var o=t.component,a=o===void 0?"div":o,i=ae(t,Uj);return Oi.createElement(a,W({},i,{ref:r}))}var l=n.className,s=ae(n,Kj),u=t.className,c=ae(t,Gj);return Oi.createElement($l.Provider,{value:null},Oi.createElement(Pl,W({ref:r,className:(0,W2.default)(l,u)},s,c)))},U2=Oi.forwardRef(qj);U2.displayName="RawItem";var K2=U2;var Xj=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],q2="responsive",X2="invalidate";function Qj(e){return"+ ".concat(e.length," ...")}function Yj(e,t){var r=e.prefixCls,n=r===void 0?"rc-overflow":r,o=e.data,a=o===void 0?[]:o,i=e.renderItem,l=e.renderRawItem,s=e.itemKey,u=e.itemWidth,c=u===void 0?10:u,f=e.ssr,d=e.style,v=e.className,y=e.maxCount,h=e.renderRest,x=e.renderRawRest,p=e.prefix,m=e.suffix,g=e.component,b=g===void 0?"div":g,C=e.itemComponent,S=e.onVisibleChange,E=ae(e,Xj),w=f==="full",O=V2(),_=Ri(O,null),N=k(_,2),I=N[0],A=N[1],M=I||0,L=Ri(O,new Map),D=k(L,2),F=D[0],z=D[1],H=Ri(O,0),V=k(H,2),q=V[0],B=V[1],K=Ri(O,0),G=k(K,2),U=G[0],Z=G[1],ee=Ri(O,0),ce=k(ee,2),oe=ce[0],ie=ce[1],ge=Ri(O,0),le=k(ge,2),be=le[0],ne=le[1],me=(0,qo.useState)(null),ye=k(me,2),De=ye[0],Ce=ye[1],ve=(0,qo.useState)(null),ze=k(ve,2),xe=ze[0],$e=ze[1],Se=In.useMemo(function(){return xe===null&&w?Number.MAX_SAFE_INTEGER:xe||0},[xe,I]),he=(0,qo.useState)(!1),Me=k(he,2),Ae=Me[0],rr=Me[1],Ge="".concat(n,"-item"),Ve=Math.max(q,U),et=y===q2,qe=a.length&&et,Ne=y===X2,Ee=qe||typeof y=="number"&&a.length>y,se=(0,qo.useMemo)(function(){var te=a;return qe?I===null&&w?te=a:te=a.slice(0,Math.min(a.length,M/c)):typeof y=="number"&&(te=a.slice(0,y)),te},[a,c,I,y,qe]),Be=(0,qo.useMemo)(function(){return qe?a.slice(Se+1):a.slice(se.length)},[a,se,qe,Se]),Q=(0,qo.useCallback)(function(te,we){var Fe;return typeof s=="function"?s(te):(Fe=s&&te?.[s])!==null&&Fe!==void 0?Fe:we},[s]),ue=(0,qo.useCallback)(i||function(te){return te},[i]);function it(te,we,Fe){xe===te&&(we===void 0||we===De)||($e(te),Fe||(rr(teM){it(ft-1,te-nr-be+U);break}}m&&Ut(0)+be>M&&Ce(null)}},[M,F,U,oe,be,Q,se]);var yt=Ae&&!!Be.length,Xe={};De!==null&&qe&&(Xe={position:"absolute",left:De,top:0});var Lt={prefixCls:Ge,responsive:qe,component:C,invalidate:Ne},Zt=l?function(te,we){var Fe=Q(te,we);return In.createElement($l.Provider,{key:Fe,value:$($({},Lt),{},{order:we,item:te,itemKey:Fe,registerSize:Xr,display:we<=Se})},l(te,we))}:function(te,we){var Fe=Q(te,we);return In.createElement(Pl,W({},Lt,{order:we,key:Fe,item:te,renderItem:ue,itemKey:Fe,registerSize:Xr,display:we<=Se}))},Re={order:yt?Se:Number.MAX_SAFE_INTEGER,className:"".concat(Ge,"-rest"),registerSize:yn,display:yt},Qe=h||Qj,St=x?In.createElement($l.Provider,{value:$($({},Lt),Re)},x(Be)):In.createElement(Pl,W({},Lt,Re),typeof Qe=="function"?Qe(Be):Qe),Ze=In.createElement(b,W({className:(0,G2.default)(!Ne&&n,v),style:d,ref:t},E),p&&In.createElement(Pl,W({},Lt,{responsive:et,responsiveDisabled:!qe,order:-1,className:"".concat(Ge,"-prefix"),registerSize:Lr,display:!0}),p),se.map(Zt),Ee?St:null,m&&In.createElement(Pl,W({},Lt,{responsive:et,responsiveDisabled:!qe,order:Se,className:"".concat(Ge,"-suffix"),registerSize:Yt,display:!0,style:Xe}),m));return et?In.createElement(Wr,{onResize:Fr,disabled:!qe},Ze):Ze}var gf=In.forwardRef(Yj);gf.displayName="Overflow";gf.Item=K2;gf.RESPONSIVE=q2;gf.INVALIDATE=X2;var Q2=gf;var _i=Q2;var Wv=R(re());var Le=R(P());var tN=R(re());var no=R(P());var Y2=R(re()),Hv=R(P());function bC(e){var t=e.prefixCls,r=e.align,n=e.arrow,o=e.arrowPos,a=n||{},i=a.className,l=a.content,s=o.x,u=s===void 0?0:s,c=o.y,f=c===void 0?0:c,d=Hv.useRef();if(!r||!r.points)return null;var v={position:"absolute"};if(r.autoArrow!==!1){var y=r.points[0],h=r.points[1],x=y[0],p=y[1],m=h[0],g=h[1];x===m||!["t","b"].includes(x)?v.top=f:x==="t"?v.top=0:v.bottom=0,p===g||!["l","r"].includes(p)?v.left=u:p==="l"?v.left=0:v.right=0}return Hv.createElement("div",{ref:d,className:(0,Y2.default)("".concat(t,"-arrow"),i),style:v},l)}var Z2=R(re());var CC=R(P());function SC(e){var t=e.prefixCls,r=e.open,n=e.zIndex,o=e.mask,a=e.motion;return o?CC.createElement(gn,W({},a,{motionAppear:!0,visible:r,removeOnLeave:!0}),function(i){var l=i.className;return CC.createElement("div",{style:{zIndex:n},className:(0,Z2.default)("".concat(t,"-mask"),l)})}):null}var J2=R(P()),Zj=J2.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),eN=Zj;var Jj=no.forwardRef(function(e,t){var r=e.popup,n=e.className,o=e.prefixCls,a=e.style,i=e.target,l=e.onVisibleChanged,s=e.open,u=e.keepDom,c=e.fresh,f=e.onClick,d=e.mask,v=e.arrow,y=e.arrowPos,h=e.align,x=e.motion,p=e.maskMotion,m=e.forceRender,g=e.getPopupContainer,b=e.autoDestroy,C=e.portal,S=e.zIndex,E=e.onMouseEnter,w=e.onMouseLeave,O=e.onPointerEnter,_=e.onPointerDownCapture,N=e.ready,I=e.offsetX,A=e.offsetY,M=e.offsetR,L=e.offsetB,D=e.onAlign,F=e.onPrepare,z=e.stretch,H=e.targetWidth,V=e.targetHeight,q=typeof r=="function"?r():r,B=s||u,K=g?.length>0,G=no.useState(!g||!K),U=k(G,2),Z=U[0],ee=U[1];if(tt(function(){!Z&&K&&i&&ee(!0)},[Z,K,i]),!Z)return null;var ce="auto",oe={left:"-1000vw",top:"-1000vh",right:ce,bottom:ce};if(N||!s){var ie,ge=h.points,le=h.dynamicInset||((ie=h._experimental)===null||ie===void 0?void 0:ie.dynamicInset),be=le&&ge[0][1]==="r",ne=le&&ge[0][0]==="b";be?(oe.right=M,oe.left=ce):(oe.left=I,oe.right=ce),ne?(oe.bottom=L,oe.top=ce):(oe.top=A,oe.bottom=ce)}var me={};return z&&(z.includes("height")&&V?me.height=V:z.includes("minHeight")&&V&&(me.minHeight=V),z.includes("width")&&H?me.width=H:z.includes("minWidth")&&H&&(me.minWidth=H)),s||(me.pointerEvents="none"),no.createElement(C,{open:m||B,getContainer:g&&function(){return g(i)},autoDestroy:b},no.createElement(SC,{prefixCls:o,open:s,zIndex:S,mask:d,motion:p}),no.createElement(Wr,{onResize:D,disabled:!s},function(ye){return no.createElement(gn,W({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:m,leavedClassName:"".concat(o,"-hidden")},x,{onAppearPrepare:F,onEnterPrepare:F,visible:s,onVisibleChanged:function(Ce){var ve;x==null||(ve=x.onVisibleChanged)===null||ve===void 0||ve.call(x,Ce),l(Ce)}}),function(De,Ce){var ve=De.className,ze=De.style,xe=(0,tN.default)(o,ve,n);return no.createElement("div",{ref:Hr(ye,t,Ce),className:xe,style:$($($($({"--arrow-x":"".concat(y.x||0,"px"),"--arrow-y":"".concat(y.y||0,"px")},oe),me),ze),{},{boxSizing:"border-box",zIndex:S},a),onMouseEnter:E,onMouseLeave:w,onPointerEnter:O,onClick:f,onPointerDownCapture:_},v&&no.createElement(bC,{prefixCls:o,arrow:v,arrowPos:y,align:h}),no.createElement(eN,{cache:!s&&!c},q))})}))}),rN=Jj;var iu=R(P()),e6=iu.forwardRef(function(e,t){var r=e.children,n=e.getTriggerDOMNode,o=tn(r),a=iu.useCallback(function(l){Ic(t,n?n(l):l)},[n]),i=On(a,jo(r));return o?iu.cloneElement(r,{ref:i}):r}),nN=e6;var oN=R(P()),t6=oN.createContext(null),wC=t6;var iN=R(P());function aN(e){return e?Array.isArray(e)?e:[e]:[]}function EC(e,t,r,n){return iN.useMemo(function(){var o=aN(r??t),a=aN(n??t),i=new Set(o),l=new Set(a);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[i,l]},[e,t,r,n])}var Nl=R(P());function r6(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return r?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function lN(e,t,r,n){for(var o=r.points,a=Object.keys(e),i=0;i1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function hf(e){return lu(parseFloat(e),0)}function OC(e,t){var r=$({},e);return(t||[]).forEach(function(n){if(!(n instanceof HTMLBodyElement||n instanceof HTMLHtmlElement)){var o=Ti(n).getComputedStyle(n),a=o.overflow,i=o.overflowClipMargin,l=o.borderTopWidth,s=o.borderBottomWidth,u=o.borderLeftWidth,c=o.borderRightWidth,f=n.getBoundingClientRect(),d=n.offsetHeight,v=n.clientHeight,y=n.offsetWidth,h=n.clientWidth,x=hf(l),p=hf(s),m=hf(u),g=hf(c),b=lu(Math.round(f.width/y*1e3)/1e3),C=lu(Math.round(f.height/d*1e3)/1e3),S=(y-h-m-g)*b,E=(d-v-x-p)*C,w=x*C,O=p*C,_=m*b,N=g*b,I=0,A=0;if(a==="clip"){var M=hf(i);I=M*b,A=M*C}var L=f.x+_-I,D=f.y+w-A,F=L+f.width+2*I-_-N-S,z=D+f.height+2*A-w-O-E;r.left=Math.max(r.left,L),r.top=Math.max(r.top,D),r.right=Math.min(r.right,F),r.bottom=Math.min(r.bottom,z)}}),r}function sN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r="".concat(t),n=r.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(r)}function uN(e,t){var r=t||[],n=k(r,2),o=n[0],a=n[1];return[sN(e.width,o),sN(e.height,a)]}function cN(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function su(e,t){var r=t[0],n=t[1],o,a;return r==="t"?a=e.y:r==="b"?a=e.y+e.height:a=e.y+e.height/2,n==="l"?o=e.x:n==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:a}}function Pi(e,t){var r={t:"b",b:"t",l:"r",r:"l"};return e.map(function(n,o){return o===t?r[n]||"c":n}).join("")}function _C(e,t,r,n,o,a,i){var l=Nl.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[n]||{}}),s=k(l,2),u=s[0],c=s[1],f=Nl.useRef(0),d=Nl.useMemo(function(){return t?yf(t):[]},[t]),v=Nl.useRef({}),y=function(){v.current={}};e||y();var h=pt(function(){if(t&&r&&e){let jn=function(Fu,ra){var za=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Me,Lu=B.x+Fu,Wf=B.y+ra,fh=Lu+ne,dh=Wf+be,mh=Math.max(Lu,za.left),pe=Math.max(Wf,za.top),Pe=Math.min(fh,za.right),Dt=Math.min(dh,za.bottom);return Math.max(0,(Pe-mh)*(Dt-pe))},Kl=function(){Jt=B.y+Qe,ut=Jt+be,an=B.x+Re,Qr=an+ne};var m,g,b,C,S=t,E=S.ownerDocument,w=Ti(S),O=w.getComputedStyle(S),_=O.position,N=S.style.left,I=S.style.top,A=S.style.right,M=S.style.bottom,L=S.style.overflow,D=$($({},o[n]),a),F=E.createElement("div");(m=S.parentElement)===null||m===void 0||m.appendChild(F),F.style.left="".concat(S.offsetLeft,"px"),F.style.top="".concat(S.offsetTop,"px"),F.style.position=_,F.style.height="".concat(S.offsetHeight,"px"),F.style.width="".concat(S.offsetWidth,"px"),S.style.left="0",S.style.top="0",S.style.right="auto",S.style.bottom="auto",S.style.overflow="hidden";var z;if(Array.isArray(r))z={x:r[0],y:r[1],width:0,height:0};else{var H,V,q=r.getBoundingClientRect();q.x=(H=q.x)!==null&&H!==void 0?H:q.left,q.y=(V=q.y)!==null&&V!==void 0?V:q.top,z={x:q.x,y:q.y,width:q.width,height:q.height}}var B=S.getBoundingClientRect(),K=w.getComputedStyle(S),G=K.height,U=K.width;B.x=(g=B.x)!==null&&g!==void 0?g:B.left,B.y=(b=B.y)!==null&&b!==void 0?b:B.top;var Z=E.documentElement,ee=Z.clientWidth,ce=Z.clientHeight,oe=Z.scrollWidth,ie=Z.scrollHeight,ge=Z.scrollTop,le=Z.scrollLeft,be=B.height,ne=B.width,me=z.height,ye=z.width,De={left:0,top:0,right:ee,bottom:ce},Ce={left:-le,top:-ge,right:oe-le,bottom:ie-ge},ve=D.htmlRegion,ze="visible",xe="visibleFirst";ve!=="scroll"&&ve!==xe&&(ve=ze);var $e=ve===xe,Se=OC(Ce,d),he=OC(De,d),Me=ve===ze?he:Se,Ae=$e?he:Me;S.style.left="auto",S.style.top="auto",S.style.right="0",S.style.bottom="0";var rr=S.getBoundingClientRect();S.style.left=N,S.style.top=I,S.style.right=A,S.style.bottom=M,S.style.overflow=L,(C=S.parentElement)===null||C===void 0||C.removeChild(F);var Ge=lu(Math.round(ne/parseFloat(U)*1e3)/1e3),Ve=lu(Math.round(be/parseFloat(G)*1e3)/1e3);if(Ge===0||Ve===0||ul(r)&&!Xs(r))return;var et=D.offset,qe=D.targetOffset,Ne=uN(B,et),Ee=k(Ne,2),se=Ee[0],Be=Ee[1],Q=uN(z,qe),ue=k(Q,2),it=ue[0],Fr=ue[1];z.x-=it,z.y-=Fr;var Xr=D.points||[],yn=k(Xr,2),Lr=yn[0],Yt=yn[1],Ut=cN(Yt),yt=cN(Lr),Xe=su(z,Ut),Lt=su(B,yt),Zt=$({},D),Re=Xe.x-Lt.x+se,Qe=Xe.y-Lt.y+Be,St=jn(Re,Qe),Ze=jn(Re,Qe,he),te=su(z,["t","l"]),we=su(B,["t","l"]),Fe=su(z,["b","r"]),ft=su(B,["b","r"]),nr=D.overflow||{},Dn=nr.adjustX,Ye=nr.adjustY,Ie=nr.shiftX,st=nr.shiftY,vt=function(ra){return typeof ra=="boolean"?ra:ra>=0},Jt,ut,an,Qr;Kl();var Ma=vt(Ye),Kt=yt[0]===Ut[0];if(Ma&&yt[0]==="t"&&(ut>Ae.bottom||v.current.bt)){var lo=Qe;Kt?lo-=be-me:lo=te.y-ft.y-Be;var ka=jn(Re,lo),Bi=jn(Re,lo,he);ka>St||ka===St&&(!$e||Bi>=Ze)?(v.current.bt=!0,Qe=lo,Be=-Be,Zt.points=[Pi(yt,0),Pi(Ut,0)]):v.current.bt=!1}if(Ma&&yt[0]==="b"&&(JtSt||Vi===St&&(!$e||Zo>=Ze)?(v.current.tb=!0,Qe=so,Be=-Be,Zt.points=[Pi(yt,0),Pi(Ut,0)]):v.current.tb=!1}var Aa=vt(Dn),Bl=yt[1]===Ut[1];if(Aa&&yt[1]==="l"&&(Qr>Ae.right||v.current.rl)){var Jo=Re;Bl?Jo-=ne-ye:Jo=te.x-ft.x-se;var ea=jn(Jo,Qe),Fa=jn(Jo,Qe,he);ea>St||ea===St&&(!$e||Fa>=Ze)?(v.current.rl=!0,Re=Jo,se=-se,Zt.points=[Pi(yt,1),Pi(Ut,1)]):v.current.rl=!1}if(Aa&&yt[1]==="r"&&(anSt||Hi===St&&(!$e||La>=Ze)?(v.current.lr=!0,Re=zn,se=-se,Zt.points=[Pi(yt,1),Pi(Ut,1)]):v.current.lr=!1}Kl();var xn=Ie===!0?0:Ie;typeof xn=="number"&&(anhe.right&&(Re-=Qr-he.right-se,z.x>he.right-xn&&(Re+=z.x-he.right+xn)));var uo=st===!0?0:st;typeof uo=="number"&&(Jthe.bottom&&(Qe-=ut-he.bottom-Be,z.y>he.bottom-uo&&(Qe+=z.y-he.bottom+uo)));var No=B.x+Re,Io=No+ne,Wi=B.y+Qe,Au=Wi+be,Vl=z.x,xt=Vl+ye,rt=z.y,gt=rt+me,_r=Math.max(No,Vl),gr=Math.min(Io,xt),Da=(_r+gr)/2,Ui=Da-No,Hl=Math.max(Wi,rt),Wl=Math.min(Au,gt),Ul=(Hl+Wl)/2,ta=Ul-Wi;i?.(t,Zt);var ln=rr.right-B.x-(Re+B.width),Ki=rr.bottom-B.y-(Qe+B.height);Ge===1&&(Re=Math.floor(Re),ln=Math.floor(ln)),Ve===1&&(Qe=Math.floor(Qe),Ki=Math.floor(Ki));var ch={ready:!0,offsetX:Re/Ge,offsetY:Qe/Ve,offsetR:ln/Ge,offsetB:Ki/Ve,arrowX:Ui/Ge,arrowY:ta/Ve,scaleX:Ge,scaleY:Ve,align:Zt};c(ch)}}),x=function(){f.current+=1;var g=f.current;Promise.resolve().then(function(){f.current===g&&h()})},p=function(){c(function(g){return $($({},g),{},{ready:!1})})};return tt(p,[n]),tt(function(){e||p()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,x]}function TC(e,t,r,n,o){tt(function(){if(e&&t&&r){let f=function(){n(),o()};var a=t,i=r,l=yf(a),s=yf(i),u=Ti(i),c=new Set([u].concat(Y(l),Y(s)));return c.forEach(function(d){d.addEventListener("scroll",f,{passive:!0})}),u.addEventListener("resize",f,{passive:!0}),n(),function(){c.forEach(function(d){d.removeEventListener("scroll",f),u.removeEventListener("resize",f)})}}},[e,t,r])}var xf=R(P());function PC(e,t,r,n,o,a,i,l){var s=xf.useRef(e);s.current=e;var u=xf.useRef(!1);xf.useEffect(function(){if(t&&n&&(!o||a)){var f=function(){u.current=!1},d=function(b){var C;s.current&&!i(((C=b.composedPath)===null||C===void 0||(C=C.call(b))===null||C===void 0?void 0:C[0])||b.target)&&!u.current&&l(!1)},v=Ti(n);v.addEventListener("pointerdown",f,!0),v.addEventListener("mousedown",d,!0),v.addEventListener("contextmenu",d,!0);var y=Cl(r);if(y&&(y.addEventListener("mousedown",d,!0),y.addEventListener("contextmenu",d,!0)),0)var h,x,p,m;return function(){v.removeEventListener("pointerdown",f,!0),v.removeEventListener("mousedown",d,!0),v.removeEventListener("contextmenu",d,!0),y&&(y.removeEventListener("mousedown",d,!0),y.removeEventListener("contextmenu",d,!0))}}},[t,r,n,o,a]);function c(){u.current=!0}return c}var n6=["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 o6(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kb,t=Le.forwardRef(function(r,n){var o=r.prefixCls,a=o===void 0?"rc-trigger-popup":o,i=r.children,l=r.action,s=l===void 0?"hover":l,u=r.showAction,c=r.hideAction,f=r.popupVisible,d=r.defaultPopupVisible,v=r.onPopupVisibleChange,y=r.afterPopupVisibleChange,h=r.mouseEnterDelay,x=r.mouseLeaveDelay,p=x===void 0?.1:x,m=r.focusDelay,g=r.blurDelay,b=r.mask,C=r.maskClosable,S=C===void 0?!0:C,E=r.getPopupContainer,w=r.forceRender,O=r.autoDestroy,_=r.destroyPopupOnHide,N=r.popup,I=r.popupClassName,A=r.popupStyle,M=r.popupPlacement,L=r.builtinPlacements,D=L===void 0?{}:L,F=r.popupAlign,z=r.zIndex,H=r.stretch,V=r.getPopupClassNameFromAlign,q=r.fresh,B=r.alignPoint,K=r.onPopupClick,G=r.onPopupAlign,U=r.arrow,Z=r.popupMotion,ee=r.maskMotion,ce=r.popupTransitionName,oe=r.popupAnimation,ie=r.maskTransitionName,ge=r.maskAnimation,le=r.className,be=r.getTriggerDOMNode,ne=ae(r,n6),me=O||_||!1,ye=Le.useState(!1),De=k(ye,2),Ce=De[0],ve=De[1];tt(function(){ve(Bv())},[]);var ze=Le.useRef({}),xe=Le.useContext(wC),$e=Le.useMemo(function(){return{registerSubPopup:function(Pe,Dt){ze.current[Pe]=Dt,xe?.registerSubPopup(Pe,Dt)}}},[xe]),Se=P$(),he=Le.useState(null),Me=k(he,2),Ae=Me[0],rr=Me[1],Ge=Le.useRef(null),Ve=pt(function(pe){Ge.current=pe,ul(pe)&&Ae!==pe&&rr(pe),xe?.registerSubPopup(Se,pe)}),et=Le.useState(null),qe=k(et,2),Ne=qe[0],Ee=qe[1],se=Le.useRef(null),Be=pt(function(pe){ul(pe)&&Ne!==pe&&(Ee(pe),se.current=pe)}),Q=Le.Children.only(i),ue=Q?.props||{},it={},Fr=pt(function(pe){var Pe,Dt,ur=Ne;return ur?.contains(pe)||((Pe=Cl(ur))===null||Pe===void 0?void 0:Pe.host)===pe||pe===ur||Ae?.contains(pe)||((Dt=Cl(Ae))===null||Dt===void 0?void 0:Dt.host)===pe||pe===Ae||Object.values(ze.current).some(function(Gt){return Gt?.contains(pe)||pe===Gt})}),Xr=RC(a,Z,oe,ce),yn=RC(a,ee,ge,ie),Lr=Le.useState(d||!1),Yt=k(Lr,2),Ut=Yt[0],yt=Yt[1],Xe=f??Ut,Lt=pt(function(pe){f===void 0&&yt(pe)});tt(function(){yt(f||!1)},[f]);var Zt=Le.useRef(Xe);Zt.current=Xe;var Re=Le.useRef([]);Re.current=[];var Qe=pt(function(pe){var Pe;Lt(pe),((Pe=Re.current[Re.current.length-1])!==null&&Pe!==void 0?Pe:Xe)!==pe&&(Re.current.push(pe),v?.(pe))}),St=Le.useRef(),Ze=function(){clearTimeout(St.current)},te=function(Pe){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ze(),Dt===0?Qe(Pe):St.current=setTimeout(function(){Qe(Pe)},Dt*1e3)};Le.useEffect(function(){return Ze},[]);var we=Le.useState(!1),Fe=k(we,2),ft=Fe[0],nr=Fe[1];tt(function(pe){(!pe||Xe)&&nr(!0)},[Xe]);var Dn=Le.useState(null),Ye=k(Dn,2),Ie=Ye[0],st=Ye[1],vt=Le.useState(null),Jt=k(vt,2),ut=Jt[0],an=Jt[1],Qr=function(Pe){an([Pe.clientX,Pe.clientY])},Ma=_C(Xe,Ae,B&&ut!==null?ut:Ne,M,D,F,G),Kt=k(Ma,11),lo=Kt[0],ka=Kt[1],Bi=Kt[2],so=Kt[3],Vi=Kt[4],Zo=Kt[5],Aa=Kt[6],Bl=Kt[7],Jo=Kt[8],ea=Kt[9],Fa=Kt[10],zn=EC(Ce,s,u,c),Hi=k(zn,2),La=Hi[0],xn=Hi[1],uo=La.has("click"),No=xn.has("click")||xn.has("contextMenu"),Io=pt(function(){ft||Fa()}),Wi=function(){Zt.current&&B&&No&&te(!1)};TC(Xe,Ne,Ae,Io,Wi),tt(function(){Io()},[ut,M]),tt(function(){Xe&&!(D!=null&&D[M])&&Io()},[JSON.stringify(F)]);var Au=Le.useMemo(function(){var pe=lN(D,a,ea,B);return(0,Wv.default)(pe,V?.(ea))},[ea,V,D,a,B]);Le.useImperativeHandle(n,function(){return{nativeElement:se.current,popupElement:Ge.current,forceAlign:Io}});var Vl=Le.useState(0),xt=k(Vl,2),rt=xt[0],gt=xt[1],_r=Le.useState(0),gr=k(_r,2),Da=gr[0],Ui=gr[1],Hl=function(){if(H&&Ne){var Pe=Ne.getBoundingClientRect();gt(Pe.width),Ui(Pe.height)}},Wl=function(){Hl(),Io()},Ul=function(Pe){nr(!1),Fa(),y?.(Pe)},ta=function(){return new Promise(function(Pe){Hl(),st(function(){return Pe})})};tt(function(){Ie&&(Fa(),Ie(),st(null))},[Ie]);function ln(pe,Pe,Dt,ur){it[pe]=function(Gt){var Uf;ur?.(Gt),te(Pe,Dt);for(var ph=arguments.length,KS=new Array(ph>1?ph-1:0),Kf=1;Kf1?Dt-1:0),Gt=1;Gt1?Dt-1:0),Gt=1;Gtt||e;var $C=R(P());var a6=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var n,o;let{variant:a,[e]:i}=(0,$C.useContext)(de),l=(0,$C.useContext)(h2),s=i?.variant,u;typeof t<"u"?u=t:r===!1?u="borderless":u=(o=(n=l??s)!==null&&n!==void 0?n:a)!==null&&o!==void 0?o:"outlined";let c=$x.includes(u);return[u,c]},pN=a6;var Uv=R(P());var i6={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"},vN=i6;var l6=function(t,r){return Uv.createElement(Pt,W({},t,{ref:r,icon:vN}))},s6=Uv.forwardRef(l6),gN=s6;var hN=R(P());var cu=["xxl","xl","lg","md","sm","xs"],u6=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)`}),c6=e=>{let t=e,r=[].concat(cu).reverse();return r.forEach((n,o)=>{let a=n.toUpperCase(),i=`screen${a}Min`,l=`screen${a}`;if(!(t[i]<=t[l]))throw new Error(`${i}<=${l} fails : !(${t[i]}<=${t[l]})`);if(o{let r=new Map,n=-1,o={};return{matchHandlers:{},dispatch(a){return o=a,r.forEach(i=>i(o)),r.size>=1},subscribe(a){return r.size||this.register(),n+=1,r.set(n,a),a(o),n},unsubscribe(a){r.delete(a),r.size||this.unregister()},unregister(){Object.keys(t).forEach(a=>{let i=t[a],l=this.matchHandlers[i];l?.mql.removeListener(l?.listener)}),r.clear()},register(){Object.keys(t).forEach(a=>{let i=t[a],l=u=>{let{matches:c}=u;this.dispatch(Object.assign(Object.assign({},o),{[a]:c}))},s=window.matchMedia(i);s.addListener(l),this.matchHandlers[i]={mql:s,listener:l},l(s)})},responsiveMap:t}},[e])}var pr=R(P()),LC=R(re());var yN=R(re()),IC=R(P());function fu(e){var t=e.children,r=e.prefixCls,n=e.id,o=e.overlayInnerStyle,a=e.className,i=e.style;return IC.createElement("div",{className:(0,yN.default)("".concat(r,"-content"),a),style:i},IC.createElement("div",{className:"".concat(r,"-inner"),id:n,role:"tooltip",style:o},typeof t=="function"?t():t))}var MC=R(P()),pu=R(P());var du={shiftX:64,adjustY:1},mu={adjustX:1,shiftY:!0},oo=[0,0],xN={left:{points:["cr","cl"],overflow:mu,offset:[-4,0],targetOffset:oo},right:{points:["cl","cr"],overflow:mu,offset:[4,0],targetOffset:oo},top:{points:["bc","tc"],overflow:du,offset:[0,-4],targetOffset:oo},bottom:{points:["tc","bc"],overflow:du,offset:[0,4],targetOffset:oo},topLeft:{points:["bl","tl"],overflow:du,offset:[0,-4],targetOffset:oo},leftTop:{points:["tr","tl"],overflow:mu,offset:[-4,0],targetOffset:oo},topRight:{points:["br","tr"],overflow:du,offset:[0,-4],targetOffset:oo},rightTop:{points:["tl","tr"],overflow:mu,offset:[4,0],targetOffset:oo},bottomRight:{points:["tr","br"],overflow:du,offset:[0,4],targetOffset:oo},rightBottom:{points:["bl","br"],overflow:mu,offset:[4,0],targetOffset:oo},bottomLeft:{points:["tl","bl"],overflow:du,offset:[0,4],targetOffset:oo},leftBottom:{points:["br","bl"],overflow:mu,offset:[-4,0],targetOffset:oo}};var f6=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],d6=function(t,r){var n=t.overlayClassName,o=t.trigger,a=o===void 0?["hover"]:o,i=t.mouseEnterDelay,l=i===void 0?0:i,s=t.mouseLeaveDelay,u=s===void 0?.1:s,c=t.overlayStyle,f=t.prefixCls,d=f===void 0?"rc-tooltip":f,v=t.children,y=t.onVisibleChange,h=t.afterVisibleChange,x=t.transitionName,p=t.animation,m=t.motion,g=t.placement,b=g===void 0?"right":g,C=t.align,S=C===void 0?{}:C,E=t.destroyTooltipOnHide,w=E===void 0?!1:E,O=t.defaultVisible,_=t.getTooltipContainer,N=t.overlayInnerStyle,I=t.arrowContent,A=t.overlay,M=t.id,L=t.showArrow,D=L===void 0?!0:L,F=ae(t,f6),z=(0,pu.useRef)(null);(0,pu.useImperativeHandle)(r,function(){return z.current});var H=$({},F);"visible"in t&&(H.popupVisible=t.visible);var V=function(){return MC.createElement(fu,{key:"content",prefixCls:d,id:M,overlayInnerStyle:N},A)};return MC.createElement(uu,W({popupClassName:n,prefixCls:d,popup:V,action:a,builtinPlacements:xN,popupPlacement:b,ref:z,popupAlign:S,getPopupContainer:_,onPopupVisibleChange:y,afterPopupVisibleChange:h,popupTransitionName:x,popupAnimation:p,popupMotion:m,defaultPopupVisible:O,autoDestroy:w,mouseLeaveDelay:u,popupStyle:c,mouseEnterDelay:l,arrow:D},H),v)},bN=(0,pu.forwardRef)(d6);var CN=bN;function SN(e){let{sizePopupArrow:t,borderRadiusXS:r,borderRadiusOuter:n}=e,o=t/2,a=0,i=o,l=n*1/Math.sqrt(2),s=o-n*(1-1/Math.sqrt(2)),u=o-r*(1/Math.sqrt(2)),c=n*(Math.sqrt(2)-1)+r*(1/Math.sqrt(2)),f=2*o-u,d=c,v=2*o-l,y=s,h=2*o-a,x=i,p=o*Math.sqrt(2)+n*(Math.sqrt(2)-2),m=n*(Math.sqrt(2)-1),g=`polygon(${m}px 100%, 50% ${m}px, ${2*o-m}px 100%, ${m}px 100%)`,b=`path('M ${a} ${i} A ${n} ${n} 0 0 0 ${l} ${s} L ${u} ${c} A ${r} ${r} 0 0 1 ${f} ${d} L ${v} ${y} A ${n} ${n} 0 0 0 ${h} ${x} Z')`;return{arrowShadowWidth:p,arrowPath:b,arrowPolygon:g}}var wN=(e,t,r)=>{let{sizePopupArrow:n,arrowPolygon:o,arrowPath:a,arrowShadowWidth:i,borderRadiusXS:l,calc:s}=e;return{pointerEvents:"none",width:n,height:n,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:n,height:s(n).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:i,height:i,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${j(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}};var kC=8;function Gv(e){let{contentRadius:t,limitVerticalRadius:r}=e,n=t>12?t+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:r?kC:n}}function Kv(e,t){return e?t:{}}function AC(e,t,r){let{componentCls:n,boxShadowPopoverArrow:o,arrowOffsetVertical:a,arrowOffsetHorizontal:i}=e,{arrowDistance:l=0,arrowPlacement:s={left:!0,right:!0,top:!0,bottom:!0}}=r||{};return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},wN(e,t,o)),{"&:before":{background:t}})]},Kv(!!s.top,{[[`&-placement-top > ${n}-arrow`,`&-placement-topLeft > ${n}-arrow`,`&-placement-topRight > ${n}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":i,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${j(i)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),Kv(!!s.bottom,{[[`&-placement-bottom > ${n}-arrow`,`&-placement-bottomLeft > ${n}-arrow`,`&-placement-bottomRight > ${n}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":i,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${j(i)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),Kv(!!s.left,{[[`&-placement-left > ${n}-arrow`,`&-placement-leftTop > ${n}-arrow`,`&-placement-leftBottom > ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${n}-arrow`]:{top:a},[`&-placement-leftBottom > ${n}-arrow`]:{bottom:a}})),Kv(!!s.right,{[[`&-placement-right > ${n}-arrow`,`&-placement-rightTop > ${n}-arrow`,`&-placement-rightBottom > ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${n}-arrow`]:{top:a},[`&-placement-rightBottom > ${n}-arrow`]:{bottom:a}}))}}function m6(e,t,r,n){if(n===!1)return{adjustX:!1,adjustY:!1};let o=n&&typeof n=="object"?n:{},a={};switch(e){case"top":case"bottom":a.shiftX=t.arrowOffsetHorizontal*2+r,a.shiftY=!0,a.adjustY=!0;break;case"left":case"right":a.shiftY=t.arrowOffsetVertical*2+r,a.shiftX=!0,a.adjustX=!0;break}let i=Object.assign(Object.assign({},a),o);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}var EN={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"]}},p6={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"]}},v6=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function FC(e){let{arrowWidth:t,autoAdjustOverflow:r,arrowPointAtCenter:n,offset:o,borderRadius:a,visibleFirst:i}=e,l=t/2,s={};return Object.keys(EN).forEach(u=>{let c=n&&p6[u]||EN[u],f=Object.assign(Object.assign({},c),{offset:[0,0],dynamicInset:!0});switch(s[u]=f,v6.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}let d=Gv({contentRadius:a,limitVerticalRadius:!0});if(n)switch(u){case"topLeft":case"bottomLeft":f.offset[0]=-d.arrowOffsetHorizontal-l;break;case"topRight":case"bottomRight":f.offset[0]=d.arrowOffsetHorizontal+l;break;case"leftTop":case"rightTop":f.offset[1]=-d.arrowOffsetHorizontal*2+l;break;case"leftBottom":case"rightBottom":f.offset[1]=d.arrowOffsetHorizontal*2-l;break}f.overflow=m6(u,d,t,r),i&&(f.htmlRegion="visibleFirst")}),s}var vu=R(P()),_N=R(re());var g6=e=>{let{componentCls:t,tooltipMaxWidth:r,tooltipColor:n,tooltipBg:o,tooltipBorderRadius:a,zIndexPopup:i,controlHeight:l,boxShadowSecondary:s,paddingSM:u,paddingXS:c}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Kr(e)),{position:"absolute",zIndex:i,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:"1em",minHeight:l,padding:`${j(e.calc(u).div(2).equal())} ${j(c)}`,color:n,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:a,boxShadow:s,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(a,kC)}},[`${t}-content`]:{position:"relative"}}),Ks(e,(f,d)=>{let{darkColor:v}=d;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:v},[`${t}-arrow`]:{"--antd-arrow-background-color":v}}}})),{"&-rtl":{direction:"rtl"}})},AC(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},h6=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},Gv({contentRadius:e.borderRadius,limitVerticalRadius:!0})),SN(Ke(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),qv=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Tt("Tooltip",n=>{let{borderRadius:o,colorTextLightSolid:a,colorBgSpotlight:i}=n,l=Ke(n,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:o,tooltipBg:i});return[g6(l),Ib(n,"zoom-big-fast")]},h6,{resetStyle:!1,injectStyle:t})(e)};var ON=R(re());var y6=hl.map(e=>`${e}-inverse`),x6=["success","processing","error","default","warning"];function Xv(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(Y(y6),Y(hl)).includes(e):hl.includes(e)}function RN(e){return x6.includes(e)}function Qv(e,t){let r=Xv(t),n=(0,ON.default)({[`${e}-${t}`]:t&&r}),o={},a={};return t&&!r&&(o.background=t,a["--antd-arrow-background-color"]=t),{className:n,overlayStyle:o,arrowStyle:a}}var b6=e=>{let{prefixCls:t,className:r,placement:n="top",title:o,color:a,overlayInnerStyle:i}=e,{getPrefixCls:l}=vu.useContext(de),s=l("tooltip",t),[u,c,f]=qv(s),d=Qv(s,a),v=d.arrowStyle,y=Object.assign(Object.assign({},i),d.overlayStyle),h=(0,_N.default)(c,f,s,`${s}-pure`,`${s}-placement-${n}`,r,d.className);return u(vu.createElement("div",{className:h,style:v},vu.createElement("div",{className:`${s}-arrow`}),vu.createElement(fu,Object.assign({},e,{className:c,prefixCls:s,overlayInnerStyle:y}),o)))},TN=b6;var C6=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;let{prefixCls:o,openClassName:a,getTooltipContainer:i,overlayClassName:l,color:s,overlayInnerStyle:u,children:c,afterOpenChange:f,afterVisibleChange:d,destroyTooltipOnHide:v,arrow:y=!0,title:h,overlay:x,builtinPlacements:p,arrowPointAtCenter:m=!1,autoAdjustOverflow:g=!0}=e,b=!!y,[,C]=Xt(),{getPopupContainer:S,getPrefixCls:E,direction:w}=pr.useContext(de),O=np("Tooltip"),_=pr.useRef(null),N=()=>{var Se;(Se=_.current)===null||Se===void 0||Se.forceAlign()};pr.useImperativeHandle(t,()=>{var Se;return{forceAlign:N,forcePopupAlign:()=>{O.deprecated(!1,"forcePopupAlign","forceAlign"),N()},nativeElement:(Se=_.current)===null||Se===void 0?void 0:Se.nativeElement}});let[I,A]=At(!1,{value:(r=e.open)!==null&&r!==void 0?r:e.visible,defaultValue:(n=e.defaultOpen)!==null&&n!==void 0?n:e.defaultVisible}),M=!h&&!x&&h!==0,L=Se=>{var he,Me;A(M?!1:Se),M||((he=e.onOpenChange)===null||he===void 0||he.call(e,Se),(Me=e.onVisibleChange)===null||Me===void 0||Me.call(e,Se))},D=pr.useMemo(()=>{var Se,he;let Me=m;return typeof y=="object"&&(Me=(he=(Se=y.pointAtCenter)!==null&&Se!==void 0?Se:y.arrowPointAtCenter)!==null&&he!==void 0?he:m),p||FC({arrowPointAtCenter:Me,autoAdjustOverflow:g,arrowWidth:b?C.sizePopupArrow:0,borderRadius:C.borderRadius,offset:C.marginXXS,visibleFirst:!0})},[m,y,p,C]),F=pr.useMemo(()=>h===0?h:x||h||"",[x,h]),z=pr.createElement(y2,{space:!0},typeof F=="function"?F():F),{getPopupContainer:H,placement:V="top",mouseEnterDelay:q=.1,mouseLeaveDelay:B=.1,overlayStyle:K,rootClassName:G}=e,U=C6(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Z=E("tooltip",o),ee=E(),ce=e["data-popover-inject"],oe=I;!("open"in e)&&!("visible"in e)&&M&&(oe=!1);let ie=pr.isValidElement(c)&&!qp(c)?c:pr.createElement("span",null,c),ge=ie.props,le=!ge.className||typeof ge.className=="string"?(0,LC.default)(ge.className,a||`${Z}-open`):ge.className,[be,ne,me]=qv(Z,!ce),ye=Qv(Z,s),De=ye.arrowStyle,Ce=Object.assign(Object.assign({},u),ye.overlayStyle),ve=(0,LC.default)(l,{[`${Z}-rtl`]:w==="rtl"},ye.className,G,ne,me),[ze,xe]=ZT("Tooltip",U.zIndex),$e=pr.createElement(CN,Object.assign({},U,{zIndex:ze,showArrow:b,placement:V,mouseEnterDelay:q,mouseLeaveDelay:B,prefixCls:Z,overlayClassName:ve,overlayStyle:Object.assign(Object.assign({},De),K),getTooltipContainer:H||i||S,ref:_,builtinPlacements:D,overlay:z,visible:oe,onVisibleChange:L,afterVisibleChange:f??d,overlayInnerStyle:Ce,arrowContent:pr.createElement("span",{className:`${Z}-arrow-content`}),motion:{motionName:nv(ee,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!v}),oe?Ro(ie,{className:le}):ie);return be(pr.createElement(Zp.Provider,{value:xe},$e))}),PN=S6;PN._InternalPanelDoNotUseOrYouWillBeFired=TN;var gu=PN;var zC=R(re());var Xo=R(P());var Yv=R(P()),w6=lt.ESC,E6=lt.TAB;function DC(e){var t=e.visible,r=e.triggerRef,n=e.onVisibleChange,o=e.autoFocus,a=e.overlayRef,i=Yv.useRef(!1),l=function(){if(t){var f,d;(f=r.current)===null||f===void 0||(d=f.focus)===null||d===void 0||d.call(f),n?.(!1)}},s=function(){var f;return(f=a.current)!==null&&f!==void 0&&f.focus?(a.current.focus(),i.current=!0,!0):!1},u=function(f){switch(f.keyCode){case w6:l();break;case E6:{var d=!1;i.current||(d=s()),d?f.preventDefault():l();break}}};Yv.useEffect(function(){return t?(window.addEventListener("keydown",u),o&&Ot(s,3),function(){window.removeEventListener("keydown",u),i.current=!1}):function(){i.current=!1}},[t])}var Ea=R(P()),R6=(0,Ea.forwardRef)(function(e,t){var r=e.overlay,n=e.arrow,o=e.prefixCls,a=(0,Ea.useMemo)(function(){var l;return typeof r=="function"?l=r():l=r,l},[r]),i=Hr(t,jo(a));return Ea.default.createElement(Ea.default.Fragment,null,n&&Ea.default.createElement("div",{className:"".concat(o,"-arrow")}),Ea.default.cloneElement(a,{ref:tn(a)?i:void 0}))}),$N=R6;var hu={adjustX:1,adjustY:1},yu=[0,0],O6={topLeft:{points:["bl","tl"],overflow:hu,offset:[0,-4],targetOffset:yu},top:{points:["bc","tc"],overflow:hu,offset:[0,-4],targetOffset:yu},topRight:{points:["br","tr"],overflow:hu,offset:[0,-4],targetOffset:yu},bottomLeft:{points:["tl","bl"],overflow:hu,offset:[0,4],targetOffset:yu},bottom:{points:["tc","bc"],overflow:hu,offset:[0,4],targetOffset:yu},bottomRight:{points:["tr","br"],overflow:hu,offset:[0,4],targetOffset:yu}},NN=O6;var _6=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function T6(e,t){var r,n=e.arrow,o=n===void 0?!1:n,a=e.prefixCls,i=a===void 0?"rc-dropdown":a,l=e.transitionName,s=e.animation,u=e.align,c=e.placement,f=c===void 0?"bottomLeft":c,d=e.placements,v=d===void 0?NN:d,y=e.getPopupContainer,h=e.showAction,x=e.hideAction,p=e.overlayClassName,m=e.overlayStyle,g=e.visible,b=e.trigger,C=b===void 0?["hover"]:b,S=e.autoFocus,E=e.overlay,w=e.children,O=e.onVisibleChange,_=ae(e,_6),N=Xo.default.useState(),I=k(N,2),A=I[0],M=I[1],L="visible"in e?g:A,D=Xo.default.useRef(null),F=Xo.default.useRef(null),z=Xo.default.useRef(null);Xo.default.useImperativeHandle(t,function(){return D.current});var H=function(ce){M(ce),O?.(ce)};DC({visible:L,triggerRef:z,onVisibleChange:H,autoFocus:S,overlayRef:F});var V=function(ce){var oe=e.onOverlayClick;M(!1),oe&&oe(ce)},q=function(){return Xo.default.createElement($N,{ref:F,overlay:E,prefixCls:i,arrow:o})},B=function(){return typeof E=="function"?q:q()},K=function(){var ce=e.minOverlayWidthMatchTrigger,oe=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?ce:!oe},G=function(){var ce=e.openClassName;return ce!==void 0?ce:"".concat(i,"-open")},U=Xo.default.cloneElement(w,{className:(0,zC.default)((r=w.props)===null||r===void 0?void 0:r.className,L&&G()),ref:tn(w)?Hr(z,jo(w)):void 0}),Z=x;return!Z&&C.indexOf("contextMenu")!==-1&&(Z=["click"]),Xo.default.createElement(uu,W({builtinPlacements:v},_,{prefixCls:i,ref:D,popupClassName:(0,zC.default)(p,T({},"".concat(i,"-show-arrow"),o)),popupStyle:m,action:C,showAction:h,hideAction:Z,popupPlacement:f,popupAlign:u,popupTransitionName:l,popupAnimation:s,popupVisible:L,stretch:K()?"minWidth":"",popup:B(),onPopupVisibleChange:H,onPopupClick:V,getPopupContainer:y}),U)}var IN=Xo.default.forwardRef(T6);var MN=IN;var nI=R(re());var at=R(P()),oI=R(P()),aI=R(sl());var Zv=R(P()),jC=Zv.createContext(null);function BC(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function Jv(e){var t=Zv.useContext(jC);return BC(t,e)}var xu=R(P());var P6=["children","locked"],lr=xu.createContext(null);function $6(e,t){var r=$({},e);return Object.keys(t).forEach(function(n){var o=t[n];o!==void 0&&(r[n]=o)}),r}function Ra(e){var t=e.children,r=e.locked,n=ae(e,P6),o=xu.useContext(lr),a=zo(function(){return $6(o,n)},[o,n],function(i,l){return!r&&(i[0]!==l[0]||!Vo(i[1],l[1],!0))});return xu.createElement(lr.Provider,{value:a},t)}var Oa=R(P()),N6=[],VC=Oa.createContext(null);function $i(){return Oa.useContext(VC)}var HC=Oa.createContext(N6);function _a(e){var t=Oa.useContext(HC);return Oa.useMemo(function(){return e!==void 0?[].concat(Y(t),[e]):t},[t,e])}var eg=Oa.createContext(null);var kN=R(P()),I6=kN.createContext({}),bu=I6;function AN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Xs(e)){var r=e.nodeName.toLowerCase(),n=["input","select","textarea","button"].includes(r)||e.isContentEditable||r==="a"&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),a=Number(o),i=null;return o&&!Number.isNaN(a)?i=a:n&&i===null&&(i=0),n&&e.disabled&&(i=null),i!==null&&(i>=0||t&&i<0)}return!1}function FN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=Y(e.querySelectorAll("*")).filter(function(n){return AN(n,t)});return AN(e,t)&&r.unshift(e),r}var Sf=R(P());var WC=lt.LEFT,UC=lt.RIGHT,KC=lt.UP,tg=lt.DOWN,rg=lt.ENTER,zN=lt.ESC,bf=lt.HOME,Cf=lt.END,LN=[KC,tg,WC,UC];function M6(e,t,r,n){var o,a="prev",i="next",l="children",s="parent";if(e==="inline"&&n===rg)return{inlineTrigger:!0};var u=T(T({},KC,a),tg,i),c=T(T(T(T({},WC,r?i:a),UC,r?a:i),tg,l),rg,l),f=T(T(T(T(T(T({},KC,a),tg,i),rg,l),zN,s),WC,r?l:s),UC,r?s:l),d={inline:u,horizontal:c,vertical:f,inlineSub:u,horizontalSub:f,verticalSub:f},v=(o=d["".concat(e).concat(t?"":"Sub")])===null||o===void 0?void 0:o[n];switch(v){case a:return{offset:-1,sibling:!0};case i:return{offset:1,sibling:!0};case s:return{offset:-1,sibling:!1};case l:return{offset:1,sibling:!1};default:return null}}function k6(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function A6(e,t){for(var r=e||document.activeElement;r;){if(t.has(r))return r;r=r.parentElement}return null}function og(e,t){var r=FN(e,!0);return r.filter(function(n){return t.has(n)})}function DN(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=og(e,t),a=o.length,i=o.findIndex(function(l){return r===l});return n<0?i===-1?i=a-1:i-=1:n>0&&(i+=1),i=(i+a)%a,o[i]}var ng=function(t,r){var n=new Set,o=new Map,a=new Map;return t.forEach(function(i){var l=document.querySelector("[data-menu-id='".concat(BC(r,i),"']"));l&&(n.add(l),a.set(l,i),o.set(i,l))}),{elements:n,key2element:o,element2key:a}};function jN(e,t,r,n,o,a,i,l,s,u){var c=Sf.useRef(),f=Sf.useRef();f.current=t;var d=function(){Ot.cancel(c.current)};return Sf.useEffect(function(){return function(){d()}},[]),function(v){var y=v.which;if([].concat(LN,[rg,zN,bf,Cf]).includes(y)){var h=a(),x=ng(h,n),p=x,m=p.elements,g=p.key2element,b=p.element2key,C=g.get(t),S=A6(C,m),E=b.get(S),w=M6(e,i(E,!0).length===1,r,y);if(!w&&y!==bf&&y!==Cf)return;(LN.includes(y)||[bf,Cf].includes(y))&&v.preventDefault();var O=function(F){if(F){var z=F,H=F.querySelector("a");H!=null&&H.getAttribute("href")&&(z=H);var V=b.get(F);l(V),d(),c.current=Ot(function(){f.current===V&&z.focus()})}};if([bf,Cf].includes(y)||w.sibling||!S){var _;!S||e==="inline"?_=o.current:_=k6(S);var N,I=og(_,m);y===bf?N=I[0]:y===Cf?N=I[I.length-1]:N=DN(_,m,S,w.offset),O(N)}else if(w.inlineTrigger)s(E);else if(w.offset>0)s(E,!0),d(),c.current=Ot(function(){x=ng(h,n);var D=S.getAttribute("aria-controls"),F=document.getElementById(D),z=DN(F,x.elements);O(z)},5);else if(w.offset<0){var A=i(E,!0),M=A[A.length-2],L=g.get(M);s(M,!1),O(L)}}u?.(v)}}var wf=R(P()),ao=R(P());function BN(e){Promise.resolve().then(e)}var GC="__RC_UTIL_PATH_SPLIT__",VN=function(t){return t.join(GC)},F6=function(t){return t.split(GC)},ag="rc-menu-more";function qC(){var e=wf.useState({}),t=k(e,2),r=t[1],n=(0,ao.useRef)(new Map),o=(0,ao.useRef)(new Map),a=wf.useState([]),i=k(a,2),l=i[0],s=i[1],u=(0,ao.useRef)(0),c=(0,ao.useRef)(!1),f=function(){c.current||r({})},d=(0,ao.useCallback)(function(g,b){var C=VN(b);o.current.set(C,g),n.current.set(g,C),u.current+=1;var S=u.current;BN(function(){S===u.current&&f()})},[]),v=(0,ao.useCallback)(function(g,b){var C=VN(b);o.current.delete(C),n.current.delete(g)},[]),y=(0,ao.useCallback)(function(g){s(g)},[]),h=(0,ao.useCallback)(function(g,b){var C=n.current.get(g)||"",S=F6(C);return b&&l.includes(S[0])&&S.unshift(ag),S},[l]),x=(0,ao.useCallback)(function(g,b){return g.filter(function(C){return C!==void 0}).some(function(C){var S=h(C,!0);return S.includes(b)})},[h]),p=function(){var b=Y(n.current.keys());return l.length&&b.push(ag),b},m=(0,ao.useCallback)(function(g){var b="".concat(n.current.get(g)).concat(GC),C=new Set;return Y(o.current.keys()).forEach(function(S){S.startsWith(b)&&C.add(o.current.get(S))}),C},[]);return wf.useEffect(function(){return function(){c.current=!0}},[]),{registerPath:d,unregisterPath:v,refreshOverflowKeys:y,isSubPathKey:x,getKeyPath:h,getKeys:p,getSubPathKeys:m}}var ig=R(P());function Ni(e){var t=ig.useRef(e);t.current=e;var r=ig.useCallback(function(){for(var n,o=arguments.length,a=new Array(o),i=0;i1&&(m.motionAppear=!1);var g=m.onVisibleChanged;return m.onVisibleChanged=function(b){return!d.current&&!b&&x(!0),g?.(b)},h?null:io.createElement(Ra,{mode:a,locked:!d.current},io.createElement(gn,W({visible:p},m,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),function(b){var C=b.className,S=b.style;return io.createElement(lg,{id:t,className:C,style:S},o)}))}var q6=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],X6=["active"],Q6=ct.forwardRef(function(e,t){var r=e.style,n=e.className,o=e.title,a=e.eventKey,i=e.warnKey,l=e.disabled,s=e.internalPopupClose,u=e.children,c=e.itemIcon,f=e.expandIcon,d=e.popupClassName,v=e.popupOffset,y=e.popupStyle,h=e.onClick,x=e.onMouseEnter,p=e.onMouseLeave,m=e.onTitleClick,g=e.onTitleMouseEnter,b=e.onTitleMouseLeave,C=ae(e,q6),S=Jv(a),E=ct.useContext(lr),w=E.prefixCls,O=E.mode,_=E.openKeys,N=E.disabled,I=E.overflowDisabled,A=E.activeKey,M=E.selectedKeys,L=E.itemIcon,D=E.expandIcon,F=E.onItemClick,z=E.onOpenChange,H=E.onActive,V=ct.useContext(bu),q=V._internalRenderSubMenuItem,B=ct.useContext(eg),K=B.isSubPathKey,G=_a(),U="".concat(w,"-submenu"),Z=N||l,ee=ct.useRef(),ce=ct.useRef(),oe=c??L,ie=f??D,ge=_.includes(a),le=!I&&ge,be=K(M,a),ne=Ef(a,Z,g,b),me=ne.active,ye=ae(ne,X6),De=ct.useState(!1),Ce=k(De,2),ve=Ce[0],ze=Ce[1],xe=function(ue){Z||ze(ue)},$e=function(ue){xe(!0),x?.({key:a,domEvent:ue})},Se=function(ue){xe(!1),p?.({key:a,domEvent:ue})},he=ct.useMemo(function(){return me||(O!=="inline"?ve||K([A],a):!1)},[O,me,A,ve,a,K]),Me=Rf(G.length),Ae=function(ue){Z||(m?.({key:a,domEvent:ue}),O==="inline"&&z(a,!ge))},rr=Ni(function(Q){h?.(Il(Q)),F(Q)}),Ge=function(ue){O!=="inline"&&z(a,ue)},Ve=function(){H(a)},et=S&&"".concat(S,"-popup"),qe=ct.useMemo(function(){return ct.createElement(Of,{icon:O!=="horizontal"?ie:void 0,props:$($({},e),{},{isOpen:le,isSubMenu:!0})},ct.createElement("i",{className:"".concat(U,"-arrow")}))},[O,ie,e,le,U]),Ne=ct.createElement("div",W({role:"menuitem",style:Me,className:"".concat(U,"-title"),tabIndex:Z?null:-1,ref:ee,title:typeof o=="string"?o:null,"data-menu-id":I&&S?null:S,"aria-expanded":le,"aria-haspopup":!0,"aria-controls":et,"aria-disabled":Z,onClick:Ae,onFocus:Ve},ye),o,qe),Ee=ct.useRef(O);if(O!=="inline"&&G.length>1?Ee.current="vertical":Ee.current=O,!I){var se=Ee.current;Ne=ct.createElement(QC,{mode:se,prefixCls:U,visible:!s&&le&&O!=="inline",popupClassName:d,popupOffset:v,popupStyle:y,popup:ct.createElement(Ra,{mode:se==="horizontal"?"vertical":se},ct.createElement(lg,{id:et,ref:ce},u)),disabled:Z,onVisibleChange:Ge},Ne)}var Be=ct.createElement(_i.Item,W({ref:t,role:"none"},C,{component:"li",style:r,className:(0,eI.default)(U,"".concat(U,"-").concat(O),n,T(T(T(T({},"".concat(U,"-open"),le),"".concat(U,"-active"),he),"".concat(U,"-selected"),be),"".concat(U,"-disabled"),Z)),onMouseEnter:$e,onMouseLeave:Se}),Ne,!I&&ct.createElement(YC,{id:et,open:le,keyPath:G},u));return q&&(Be=q(Be,e,{selected:be,active:he,open:le,disabled:Z})),ct.createElement(Ra,{onItemClick:rr,mode:O==="horizontal"?"vertical":O,itemIcon:oe,expandIcon:ie},Be)}),Y6=ct.forwardRef(function(e,t){var r=e.eventKey,n=e.children,o=_a(r),a=Su(n,o),i=$i();ct.useEffect(function(){if(i)return i.registerPath(r,o),function(){i.unregisterPath(r,o)}},[o]);var l;return i?l=a:l=ct.createElement(Q6,W({ref:t},e),a),ct.createElement(HC.Provider,{value:o},l)}),wu=Y6;var Eu=R(P());var cg=R(P()),tI=R(re());function _f(e){var t=e.className,r=e.style,n=cg.useContext(lr),o=n.prefixCls,a=$i();return a?null:cg.createElement("li",{role:"separator",className:(0,tI.default)("".concat(o,"-item-divider"),t),style:r})}var rI=R(re());var Qo=R(P());var Z6=["className","title","eventKey","children"],J6=Qo.forwardRef(function(e,t){var r=e.className,n=e.title,o=e.eventKey,a=e.children,i=ae(e,Z6),l=Qo.useContext(lr),s=l.prefixCls,u="".concat(s,"-item-group");return Qo.createElement("li",W({ref:t,role:"presentation"},i,{onClick:function(f){return f.stopPropagation()},className:(0,rI.default)(u,r)}),Qo.createElement("div",{role:"presentation",className:"".concat(u,"-title"),title:typeof n=="string"?n:void 0},n),Qo.createElement("ul",{role:"group",className:"".concat(u,"-list")},a))}),e8=Qo.forwardRef(function(e,t){var r=e.eventKey,n=e.children,o=_a(r),a=Su(n,o),i=$i();return i?a:Qo.createElement(J6,W({ref:t},bt(e,["warnKey"])),a)}),fg=e8;var t8=["label","children","key","type","extra"];function ZC(e,t,r){var n=t.item,o=t.group,a=t.submenu,i=t.divider;return(e||[]).map(function(l,s){if(l&&J(l)==="object"){var u=l,c=u.label,f=u.children,d=u.key,v=u.type,y=u.extra,h=ae(u,t8),x=d??"tmp-".concat(s);return f||v==="group"?v==="group"?Eu.createElement(o,W({key:x},h,{title:c}),ZC(f,t,r)):Eu.createElement(a,W({key:x},h,{title:c}),ZC(f,t,r)):v==="divider"?Eu.createElement(i,W({key:x},h)):Eu.createElement(n,W({key:x},h,{extra:y}),c,(!!y||y===0)&&Eu.createElement("span",{className:"".concat(r,"-item-extra")},y))}return null}).filter(function(l){return l})}function JC(e,t,r,n,o){var a=e,i=$({divider:_f,item:Ii,group:fg,submenu:wu},n);return t&&(a=ZC(t,i,o)),Su(a,r)}var r8=["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","_internalComponents"],Ml=[],n8=at.forwardRef(function(e,t){var r,n=e,o=n.prefixCls,a=o===void 0?"rc-menu":o,i=n.rootClassName,l=n.style,s=n.className,u=n.tabIndex,c=u===void 0?0:u,f=n.items,d=n.children,v=n.direction,y=n.id,h=n.mode,x=h===void 0?"vertical":h,p=n.inlineCollapsed,m=n.disabled,g=n.disabledOverflow,b=n.subMenuOpenDelay,C=b===void 0?.1:b,S=n.subMenuCloseDelay,E=S===void 0?.1:S,w=n.forceSubMenuRender,O=n.defaultOpenKeys,_=n.openKeys,N=n.activeKey,I=n.defaultActiveFirst,A=n.selectable,M=A===void 0?!0:A,L=n.multiple,D=L===void 0?!1:L,F=n.defaultSelectedKeys,z=n.selectedKeys,H=n.onSelect,V=n.onDeselect,q=n.inlineIndent,B=q===void 0?24:q,K=n.motion,G=n.defaultMotions,U=n.triggerSubMenuAction,Z=U===void 0?"hover":U,ee=n.builtinPlacements,ce=n.itemIcon,oe=n.expandIcon,ie=n.overflowedIndicator,ge=ie===void 0?"...":ie,le=n.overflowedIndicatorPopupClassName,be=n.getPopupContainer,ne=n.onClick,me=n.onOpenChange,ye=n.onKeyDown,De=n.openAnimation,Ce=n.openTransitionName,ve=n._internalRenderMenuItem,ze=n._internalRenderSubMenuItem,xe=n._internalComponents,$e=ae(n,r8),Se=at.useMemo(function(){return[JC(d,f,Ml,xe,a),JC(d,f,Ml,{},a)]},[d,f,xe]),he=k(Se,2),Me=he[0],Ae=he[1],rr=at.useState(!1),Ge=k(rr,2),Ve=Ge[0],et=Ge[1],qe=at.useRef(),Ne=XC(y),Ee=v==="rtl",se=At(O,{value:_,postState:function(rt){return rt||Ml}}),Be=k(se,2),Q=Be[0],ue=Be[1],it=function(rt){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function _r(){ue(rt),me?.(rt)}gt?(0,aI.flushSync)(_r):_r()},Fr=at.useState(Q),Xr=k(Fr,2),yn=Xr[0],Lr=Xr[1],Yt=at.useRef(!1),Ut=at.useMemo(function(){return(x==="inline"||x==="vertical")&&p?["vertical",p]:[x,!1]},[x,p]),yt=k(Ut,2),Xe=yt[0],Lt=yt[1],Zt=Xe==="inline",Re=at.useState(Xe),Qe=k(Re,2),St=Qe[0],Ze=Qe[1],te=at.useState(Lt),we=k(te,2),Fe=we[0],ft=we[1];at.useEffect(function(){Ze(Xe),ft(Lt),Yt.current&&(Zt?ue(yn):it(Ml))},[Xe,Lt]);var nr=at.useState(0),Dn=k(nr,2),Ye=Dn[0],Ie=Dn[1],st=Ye>=Me.length-1||St!=="horizontal"||g;at.useEffect(function(){Zt&&Lr(Q)},[Q]),at.useEffect(function(){return Yt.current=!0,function(){Yt.current=!1}},[]);var vt=qC(),Jt=vt.registerPath,ut=vt.unregisterPath,an=vt.refreshOverflowKeys,Qr=vt.isSubPathKey,Ma=vt.getKeyPath,Kt=vt.getKeys,lo=vt.getSubPathKeys,ka=at.useMemo(function(){return{registerPath:Jt,unregisterPath:ut}},[Jt,ut]),Bi=at.useMemo(function(){return{isSubPathKey:Qr}},[Qr]);at.useEffect(function(){an(st?Ml:Me.slice(Ye+1).map(function(xt){return xt.key}))},[Ye,st]);var so=At(N||I&&((r=Me[0])===null||r===void 0?void 0:r.key),{value:N}),Vi=k(so,2),Zo=Vi[0],Aa=Vi[1],Bl=Ni(function(xt){Aa(xt)}),Jo=Ni(function(){Aa(void 0)});(0,oI.useImperativeHandle)(t,function(){return{list:qe.current,focus:function(rt){var gt,_r=Kt(),gr=ng(_r,Ne),Da=gr.elements,Ui=gr.key2element,Hl=gr.element2key,Wl=og(qe.current,Da),Ul=Zo??(Wl[0]?Hl.get(Wl[0]):(gt=Me.find(function(Ki){return!Ki.props.disabled}))===null||gt===void 0?void 0:gt.key),ta=Ui.get(Ul);if(Ul&&ta){var ln;ta==null||(ln=ta.focus)===null||ln===void 0||ln.call(ta,rt)}}}});var ea=At(F||[],{value:z,postState:function(rt){return Array.isArray(rt)?rt:rt==null?Ml:[rt]}}),Fa=k(ea,2),zn=Fa[0],Hi=Fa[1],La=function(rt){if(M){var gt=rt.key,_r=zn.includes(gt),gr;D?_r?gr=zn.filter(function(Ui){return Ui!==gt}):gr=[].concat(Y(zn),[gt]):gr=[gt],Hi(gr);var Da=$($({},rt),{},{selectedKeys:gr});_r?V?.(Da):H?.(Da)}!D&&Q.length&&St!=="inline"&&it(Ml)},xn=Ni(function(xt){ne?.(Il(xt)),La(xt)}),uo=Ni(function(xt,rt){var gt=Q.filter(function(gr){return gr!==xt});if(rt)gt.push(xt);else if(St!=="inline"){var _r=lo(xt);gt=gt.filter(function(gr){return!_r.has(gr)})}Vo(Q,gt,!0)||it(gt,!0)}),No=function(rt,gt){var _r=gt??!Q.includes(rt);uo(rt,_r)},Io=jN(St,Zo,Ee,Ne,qe,Kt,Ma,Aa,No,ye);at.useEffect(function(){et(!0)},[]);var Wi=at.useMemo(function(){return{_internalRenderMenuItem:ve,_internalRenderSubMenuItem:ze}},[ve,ze]),Au=St!=="horizontal"||g?Me:Me.map(function(xt,rt){return at.createElement(Ra,{key:xt.key,overflowDisabled:rt>Ye},xt)}),Vl=at.createElement(_i,W({id:y,ref:qe,prefixCls:"".concat(a,"-overflow"),component:"ul",itemComponent:Ii,className:(0,nI.default)(a,"".concat(a,"-root"),"".concat(a,"-").concat(St),s,T(T({},"".concat(a,"-inline-collapsed"),Fe),"".concat(a,"-rtl"),Ee),i),dir:v,style:l,role:"menu",tabIndex:c,data:Au,renderRawItem:function(rt){return rt},renderRawRest:function(rt){var gt=rt.length,_r=gt?Me.slice(-gt):null;return at.createElement(wu,{eventKey:ag,title:ge,disabled:st,internalPopupClose:gt===0,popupClassName:le},_r)},maxCount:St!=="horizontal"||g?_i.INVALIDATE:_i.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(rt){Ie(rt)},onKeyDown:Io},$e));return at.createElement(bu.Provider,{value:Wi},at.createElement(jC.Provider,{value:Ne},at.createElement(Ra,{prefixCls:a,rootClassName:i,mode:St,openKeys:Q,rtl:Ee,disabled:m,motion:Ve?K:null,defaultMotions:Ve?G:null,activeKey:Zo,onActive:Bl,onInactive:Jo,selectedKeys:zn,inlineIndent:B,subMenuOpenDelay:C,subMenuCloseDelay:E,forceSubMenuRender:w,builtinPlacements:ee,triggerSubMenuAction:Z,getPopupContainer:be,itemIcon:ce,expandIcon:oe,onItemClick:xn,onOpenChange:uo},at.createElement(eg.Provider,{value:Bi},Vl),at.createElement("div",{style:{display:"none"},"aria-hidden":!0},at.createElement(VC.Provider,{value:ka},Ae)))))}),iI=n8;var Tf=iI;Tf.Item=Ii;Tf.SubMenu=wu;Tf.ItemGroup=fg;Tf.Divider=_f;var lI=Tf;var dg=R(P());var o8={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"},sI=o8;var a8=function(t,r){return dg.createElement(Pt,W({},t,{ref:r,icon:sI}))},i8=dg.forwardRef(a8),uI=i8;function cI(e){return Ke(e,{inputAffixPadding:e.paddingXXS})}var fI=e=>{let{controlHeight:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightSM:a,controlHeightLG:i,fontSizeLG:l,lineHeightLG:s,paddingSM:u,controlPaddingHorizontalSM:c,controlPaddingHorizontal:f,colorFillAlter:d,colorPrimaryHover:v,colorPrimary:y,controlOutlineWidth:h,controlOutline:x,colorErrorOutline:p,colorWarningOutline:m,colorBgContainer:g}=e;return{paddingBlock:Math.max(Math.round((t-r*n)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((a-r*n)/2*10)/10-o,0),paddingBlockLG:Math.ceil((i-l*s)/2*10)/10-o,paddingInline:u-o,paddingInlineSM:c-o,paddingInlineLG:f-o,addonBg:d,activeBorderColor:y,hoverBorderColor:v,activeShadow:`0 0 0 ${h}px ${x}`,errorActiveShadow:`0 0 0 ${h}px ${p}`,warningActiveShadow:`0 0 0 ${h}px ${m}`,hoverBg:g,activeBg:g,inputFontSize:r,inputFontSizeLG:l,inputFontSizeSM:r}};var l8=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),eS=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},l8(Ke(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),gI=(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}}),dI=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},gI(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),hI=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gI(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},eS(e))}),dI(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),dI(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),mI=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),yI=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${j(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},mI(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),mI(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},eS(e))}})}),xI=(e,t)=>{let{componentCls:r}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${r}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${r}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${r}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},bI=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t?.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),pI=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},bI(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),CI=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},bI(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},eS(e))}),pI(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),pI(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),vI=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),SI=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:`${j(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${j(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},vI(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),vI(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:`${j(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${j(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${j(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${j(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${j(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${j(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})});var s8=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}});var wI=e=>{let{paddingBlockLG:t,lineHeightLG:r,borderRadiusLG:n,paddingInlineLG:o}=e;return{padding:`${j(t)} ${j(o)}`,fontSize:e.inputFontSizeLG,lineHeight:r,borderRadius:n}},EI=e=>({padding:`${j(e.paddingBlockSM)} ${j(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),RI=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${j(e.paddingBlock)} ${j(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},s8(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({},wI(e)),"&-sm":Object.assign({},EI(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),u8=e=>{let{componentCls:t,antCls:r}=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({},wI(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},EI(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-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 ${j(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`${j(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${j(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${r}-select-single:not(${r}-select-customize-input):not(${r}-pagination-size-changer)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${j(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${r}-cascader-picker`]:{margin:`-9px ${j(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${r}-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,[`${r}-select ${r}-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,[`${r}-select ${r}-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"},yl()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${t}-affix-wrapper, & > ${t}-number-affix-wrapper, & > ${r}-picker-range `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${r}-select > ${r}-select-selector, & > ${r}-select-auto-complete ${t}, & > ${r}-cascader-picker ${t}, & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${r}-select-focused`]:{zIndex:1},[`& > ${r}-select > ${r}-select-arrow`]:{zIndex:1},[`& > *:first-child, & > ${r}-select:first-child > ${r}-select-selector, & > ${r}-select-auto-complete:first-child ${t}, & > ${r}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, & > ${r}-select:last-child > ${r}-select-selector, & > ${r}-cascader-picker:last-child ${t}, & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},c8=e=>{let{componentCls:t,controlHeightSM:r,lineWidth:n,calc:o}=e,i=o(r).sub(o(n).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Kr(e)),RI(e)),hI(e)),CI(e)),xI(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},f8=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,lineHeight: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 ${j(e.inputAffixPadding)}`}}}},d8=e=>{let{componentCls:t,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:o,colorIcon:a,colorIconHover:i,iconCls:l}=e,s=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},RI(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),f8(e)),{[`${l}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:i}}}),[u]:{[`${l}${t}-password-icon`]:{color:a,cursor:"not-allowed","&:hover":{color:a}}}}},m8=e=>{let{componentCls:t,borderRadiusLG:r,borderRadiusSM:n}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Kr(e)),u8(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:n}}},yI(e)),SI(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}}})})}},p8=e=>{let{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${n}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${n}-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}}}}},v8=e=>{let{componentCls:t,paddingLG:r}=e,n=`${t}-textarea`;return{[n]:{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}, &-affix-wrapper${n}-has-feedback ${t} `]:{paddingInlineEnd:r},[`&-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.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},g8=e=>{let{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},OI=Tt("Input",e=>{let t=Ke(e,cI(e));return[c8(t),v8(t),d8(t),m8(t),p8(t),g8(t),Cv(t)]},fI,{resetFont:!1});var Qt=R(P()),$a=R(re());var Fl=R(P());var mg=R(P());var h8={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"},_I=h8;var y8=function(t,r){return mg.createElement(Pt,W({},t,{ref:r,icon:_I}))},x8=mg.forwardRef(y8),TI=x8;var cS=R(re());var KI=R(re());var Pa=R(P()),Al=R(P());var PI=R(P()),Mi=(0,PI.createContext)(null);var Pf=R(P());var Eg=R(re());var Mr=R(P()),sr=R(P());var ki=R(P()),b8=function(t){var r=t.activeTabOffset,n=t.horizontal,o=t.rtl,a=t.indicator,i=a===void 0?{}:a,l=i.size,s=i.align,u=s===void 0?"center":s,c=(0,ki.useState)(),f=k(c,2),d=f[0],v=f[1],y=(0,ki.useRef)(),h=ki.default.useCallback(function(p){return typeof l=="function"?l(p):typeof l=="number"?l:p},[l]);function x(){Ot.cancel(y.current)}return(0,ki.useEffect)(function(){var p={};if(r)if(n){p.width=h(r.width);var m=o?"right":"left";u==="start"&&(p[m]=r[m]),u==="center"&&(p[m]=r[m]+r.width/2,p.transform=o?"translateX(50%)":"translateX(-50%)"),u==="end"&&(p[m]=r[m]+r.width,p.transform="translateX(-100%)")}else p.height=h(r.height),u==="start"&&(p.top=r.top),u==="center"&&(p.top=r.top+r.height/2,p.transform="translateY(-50%)"),u==="end"&&(p.top=r.top+r.height,p.transform="translateY(-100%)");return x(),y.current=Ot(function(){v(p)}),x},[r,n,o,u,h]),{style:d}},$I=b8;var II=R(P()),NI={width:0,height:0,left:0,top:0};function tS(e,t,r){return(0,II.useMemo)(function(){for(var n,o=new Map,a=t.get((n=e[0])===null||n===void 0?void 0:n.key)||NI,i=a.left+a.width,l=0;lM?(I=_,S.current="x"):(I=N,S.current="y"),t(-I,-I)&&O.preventDefault()}var w=(0,Ta.useRef)(null);w.current={onTouchStart:g,onTouchMove:b,onTouchEnd:C,onWheel:E},AI.useEffect(function(){function O(A){w.current.onTouchStart(A)}function _(A){w.current.onTouchMove(A)}function N(A){w.current.onTouchEnd(A)}function I(A){w.current.onWheel(A)}return document.addEventListener("touchmove",_,{passive:!1}),document.addEventListener("touchend",N,{passive:!0}),e.current.addEventListener("touchstart",O,{passive:!0}),e.current.addEventListener("wheel",I,{passive:!1}),function(){document.removeEventListener("touchmove",_),document.removeEventListener("touchend",N)}},[])}var Ai=R(P());function hg(e){var t=(0,Ai.useState)(0),r=k(t,2),n=r[0],o=r[1],a=(0,Ai.useRef)(0),i=(0,Ai.useRef)();return i.current=e,Lc(function(){var l;(l=i.current)===null||l===void 0||l.call(i)},[n]),function(){a.current===n&&(a.current+=1,o(a.current))}}function FI(e){var t=(0,Ai.useRef)([]),r=(0,Ai.useState)({}),n=k(r,2),o=n[1],a=(0,Ai.useRef)(typeof e=="function"?e():e),i=hg(function(){var s=a.current;t.current.forEach(function(u){s=u(s)}),t.current=[],a.current=s,o({})});function l(s){t.current.push(s),i()}return[a.current,l]}var DI=R(P()),LI={width:0,height:0,left:0,top:0,right:0};function nS(e,t,r,n,o,a,i){var l=i.tabs,s=i.tabPosition,u=i.rtl,c,f,d;return["top","bottom"].includes(s)?(c="width",f=u?"right":"left",d=Math.abs(r)):(c="height",f="top",d=-r),(0,DI.useMemo)(function(){if(!l.length)return[0,0];for(var v=l.length,y=v,h=0;hMath.floor(d+t)){y=h-1;break}}for(var p=0,m=v-1;m>=0;m-=1){var g=e.get(l[m].key)||LI;if(g[f]=y?[0,0]:[p,y]},[e,t,n,o,a,d,s,l.map(function(v){return v.key}).join("_"),u])}function oS(e){var t;return e instanceof Map?(t={},e.forEach(function(r,n){t[n]=r})):t=e,JSON.stringify(t)}var S8="TABS_DQ";function yg(e){return String(e).replace(/"/g,S8)}function xg(e,t,r,n){return!(!r||n||e===!1||e===void 0&&(t===!1||t===null))}var bg=R(P()),w8=bg.forwardRef(function(e,t){var r=e.prefixCls,n=e.editable,o=e.locale,a=e.style;return!n||n.showAdd===!1?null:bg.createElement("button",{ref:t,type:"button",className:"".concat(r,"-nav-add"),style:a,"aria-label":o?.addAriaLabel||"Add tab",onClick:function(l){n.onEdit("add",{event:l})}},n.addIcon||"+")}),Cg=w8;var Ru=R(P()),E8=Ru.forwardRef(function(e,t){var r=e.position,n=e.prefixCls,o=e.extra;if(!o)return null;var a,i={};return J(o)==="object"&&!Ru.isValidElement(o)?i=o:i.right=o,r==="right"&&(a=i.right),r==="left"&&(a=i.left),a?Ru.createElement("div",{className:"".concat(n,"-extra-content"),ref:t},a):null}),aS=E8;var Sg=R(re());var Mn=R(P()),Ou=R(P());var R8=Mn.forwardRef(function(e,t){var r=e.prefixCls,n=e.id,o=e.tabs,a=e.locale,i=e.mobile,l=e.more,s=l===void 0?{}:l,u=e.style,c=e.className,f=e.editable,d=e.tabBarGutter,v=e.rtl,y=e.removeAriaLabel,h=e.onTabClick,x=e.getPopupContainer,p=e.popupClassName,m=(0,Ou.useState)(!1),g=k(m,2),b=g[0],C=g[1],S=(0,Ou.useState)(null),E=k(S,2),w=E[0],O=E[1],_=s.icon,N=_===void 0?"More":_,I="".concat(n,"-more-popup"),A="".concat(r,"-dropdown"),M=w!==null?"".concat(I,"-").concat(w):null,L=a?.dropdownAriaLabel;function D(K,G){K.preventDefault(),K.stopPropagation(),f.onEdit("remove",{key:G,event:K})}var F=Mn.createElement(lI,{onClick:function(G){var U=G.key,Z=G.domEvent;h(U,Z),C(!1)},prefixCls:"".concat(A,"-menu"),id:I,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[w],"aria-label":L!==void 0?L:"expanded dropdown"},o.map(function(K){var G=K.closable,U=K.disabled,Z=K.closeIcon,ee=K.key,ce=K.label,oe=xg(G,Z,f,U);return Mn.createElement(Ii,{key:ee,id:"".concat(I,"-").concat(ee),role:"option","aria-controls":n&&"".concat(n,"-panel-").concat(ee),disabled:U},Mn.createElement("span",null,ce),oe&&Mn.createElement("button",{type:"button","aria-label":y||"remove",tabIndex:0,className:"".concat(A,"-menu-item-remove"),onClick:function(ge){ge.stopPropagation(),D(ge,ee)}},Z||f.removeIcon||"\xD7"))}));function z(K){for(var G=o.filter(function(oe){return!oe.disabled}),U=G.findIndex(function(oe){return oe.key===w})||0,Z=G.length,ee=0;eeIe?"left":"right"})}),A=k(I,2),M=A[0],L=A[1],D=vg(0,function(Ye,Ie){!N&&h&&h({direction:Ye>Ie?"top":"bottom"})}),F=k(D,2),z=F[0],H=F[1],V=(0,sr.useState)([0,0]),q=k(V,2),B=q[0],K=q[1],G=(0,sr.useState)([0,0]),U=k(G,2),Z=U[0],ee=U[1],ce=(0,sr.useState)([0,0]),oe=k(ce,2),ie=oe[0],ge=oe[1],le=(0,sr.useState)([0,0]),be=k(le,2),ne=be[0],me=be[1],ye=FI(new Map),De=k(ye,2),Ce=De[0],ve=De[1],ze=tS(g,Ce,Z[0]),xe=wg(B,N),$e=wg(Z,N),Se=wg(ie,N),he=wg(ne,N),Me=Math.floor(xe)Ve?Ve:Ye}var qe=(0,sr.useRef)(null),Ne=(0,sr.useState)(),Ee=k(Ne,2),se=Ee[0],Be=Ee[1];function Q(){Be(Date.now())}function ue(){qe.current&&clearTimeout(qe.current)}rS(E,function(Ye,Ie){function st(vt,Jt){vt(function(ut){var an=et(ut+Jt);return an})}return Me?(N?st(L,Ye):st(H,Ie),ue(),Q(),!0):!1}),(0,sr.useEffect)(function(){return ue(),se&&(qe.current=setTimeout(function(){Be(0)},100)),ue},[se]);var it=nS(ze,Ae,N?M:z,$e,Se,he,$($({},e),{},{tabs:g})),Fr=k(it,2),Xr=Fr[0],yn=Fr[1],Lr=pt(function(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i,Ie=ze.get(Ye)||{width:0,height:0,left:0,right:0,top:0};if(N){var st=M;l?Ie.rightM+Ae&&(st=Ie.right+Ie.width-Ae):Ie.left<-M?st=-Ie.left:Ie.left+Ie.width>-M+Ae&&(st=-(Ie.left+Ie.width-Ae)),H(0),L(et(st))}else{var vt=z;Ie.top<-z?vt=-Ie.top:Ie.top+Ie.height>-z+Ae&&(vt=-(Ie.top+Ie.height-Ae)),L(0),H(et(vt))}}),Yt={};f==="top"||f==="bottom"?Yt[l?"marginRight":"marginLeft"]=d:Yt.marginTop=d;var Ut=g.map(function(Ye,Ie){var st=Ye.key;return Mr.createElement(BI,{id:o,prefixCls:m,key:st,tab:Ye,style:Ie===0?void 0:Yt,closable:Ye.closable,editable:u,active:st===i,renderWrapper:v,removeAriaLabel:c?.removeAriaLabel,onClick:function(Jt){y(st,Jt)},onFocus:function(){Lr(st),Q(),E.current&&(l||(E.current.scrollLeft=0),E.current.scrollTop=0)}})}),yt=function(){return ve(function(){var Ie,st=new Map,vt=(Ie=w.current)===null||Ie===void 0?void 0:Ie.getBoundingClientRect();return g.forEach(function(Jt){var ut,an=Jt.key,Qr=(ut=w.current)===null||ut===void 0?void 0:ut.querySelector('[data-node-key="'.concat(yg(an),'"]'));if(Qr){var Ma=_8(Qr,vt),Kt=k(Ma,4),lo=Kt[0],ka=Kt[1],Bi=Kt[2],so=Kt[3];st.set(an,{width:lo,height:ka,left:Bi,top:so})}}),st})};(0,sr.useEffect)(function(){yt()},[g.map(function(Ye){return Ye.key}).join("_")]);var Xe=hg(function(){var Ye=_u(b),Ie=_u(C),st=_u(S);K([Ye[0]-Ie[0]-st[0],Ye[1]-Ie[1]-st[1]]);var vt=_u(_);ge(vt);var Jt=_u(O);me(Jt);var ut=_u(w);ee([ut[0]-vt[0],ut[1]-vt[1]]),yt()}),Lt=g.slice(0,Xr),Zt=g.slice(yn+1),Re=[].concat(Y(Lt),Y(Zt)),Qe=ze.get(i),St=$I({activeTabOffset:Qe,horizontal:N,indicator:x,rtl:l}),Ze=St.style;(0,sr.useEffect)(function(){Lr()},[i,Ge,Ve,oS(Qe),oS(ze),N]),(0,sr.useEffect)(function(){Xe()},[l]);var te=!!Re.length,we="".concat(m,"-nav-wrap"),Fe,ft,nr,Dn;return N?l?(ft=M>0,Fe=M!==Ve):(Fe=M<0,ft=M!==Ge):(nr=z<0,Dn=z!==Ge),Mr.createElement(Wr,{onResize:Xe},Mr.createElement("div",{ref:On(t,b),role:"tablist",className:(0,Eg.default)("".concat(m,"-nav"),r),style:n,onKeyDown:function(){Q()}},Mr.createElement(aS,{ref:C,position:"left",extra:s,prefixCls:m}),Mr.createElement(Wr,{onResize:Xe},Mr.createElement("div",{className:(0,Eg.default)(we,T(T(T(T({},"".concat(we,"-ping-left"),Fe),"".concat(we,"-ping-right"),ft),"".concat(we,"-ping-top"),nr),"".concat(we,"-ping-bottom"),Dn)),ref:E},Mr.createElement(Wr,{onResize:Xe},Mr.createElement("div",{ref:w,className:"".concat(m,"-nav-list"),style:{transform:"translate(".concat(M,"px, ").concat(z,"px)"),transition:se?"none":void 0}},Ut,Mr.createElement(Cg,{ref:_,prefixCls:m,locale:c,editable:u,style:$($({},Ut.length===0?void 0:Yt),{},{visibility:te?"hidden":null})}),Mr.createElement("div",{className:(0,Eg.default)("".concat(m,"-ink-bar"),T({},"".concat(m,"-ink-bar-animated"),a.inkBar)),style:Ze}))))),Mr.createElement(zI,W({},e,{removeAriaLabel:c?.removeAriaLabel,ref:O,prefixCls:m,tabs:Re,className:!te&&rr,tabMoving:!!se})),Mr.createElement(aS,{ref:S,position:"right",extra:s,prefixCls:m})))}),iS=T8;var VI=R(re()),Rg=R(P()),P8=Rg.forwardRef(function(e,t){var r=e.prefixCls,n=e.className,o=e.style,a=e.id,i=e.active,l=e.tabKey,s=e.children;return Rg.createElement("div",{id:a&&"".concat(a,"-panel-").concat(l),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":a&&"".concat(a,"-tab-").concat(l),"aria-hidden":!i,style:o,className:(0,VI.default)(r,i&&"".concat(r,"-active"),n),ref:t},s)}),Og=P8;var $8=["renderTabBar"],N8=["label","key"],I8=function(t){var r=t.renderTabBar,n=ae(t,$8),o=Pf.useContext(Mi),a=o.tabs;if(r){var i=$($({},n),{},{panes:a.map(function(l){var s=l.label,u=l.key,c=ae(l,N8);return Pf.createElement(Og,W({tab:s,key:u,tabKey:u},c))})});return r(i,iS)}return Pf.createElement(iS,n)},HI=I8;var _g=R(re());var kl=R(P());var M8=["key","forceRender","style","className","destroyInactiveTabPane"],k8=function(t){var r=t.id,n=t.activeKey,o=t.animated,a=t.tabPosition,i=t.destroyInactiveTabPane,l=kl.useContext(Mi),s=l.prefixCls,u=l.tabs,c=o.tabPane,f="".concat(s,"-tabpane");return kl.createElement("div",{className:(0,_g.default)("".concat(s,"-content-holder"))},kl.createElement("div",{className:(0,_g.default)("".concat(s,"-content"),"".concat(s,"-content-").concat(a),T({},"".concat(s,"-content-animated"),c))},u.map(function(d){var v=d.key,y=d.forceRender,h=d.style,x=d.className,p=d.destroyInactiveTabPane,m=ae(d,M8),g=v===n;return kl.createElement(gn,W({key:v,visible:g,forceRender:y,removeOnLeave:!!(i||p),leavedClassName:"".concat(f,"-hidden")},o.tabPaneMotion),function(b,C){var S=b.style,E=b.className;return kl.createElement(Og,W({},m,{prefixCls:f,id:r,tabKey:v,animated:c,active:g,style:$($({},h),S),className:(0,_g.default)(x,E),ref:C}))})})))},WI=k8;function lS(){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=$({inkBar:!0},J(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var A8=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],UI=0,F8=Pa.forwardRef(function(e,t){var r=e.id,n=e.prefixCls,o=n===void 0?"rc-tabs":n,a=e.className,i=e.items,l=e.direction,s=e.activeKey,u=e.defaultActiveKey,c=e.editable,f=e.animated,d=e.tabPosition,v=d===void 0?"top":d,y=e.tabBarGutter,h=e.tabBarStyle,x=e.tabBarExtraContent,p=e.locale,m=e.more,g=e.destroyInactiveTabPane,b=e.renderTabBar,C=e.onChange,S=e.onTabClick,E=e.onTabScroll,w=e.getPopupContainer,O=e.popupClassName,_=e.indicator,N=ae(e,A8),I=Pa.useMemo(function(){return(i||[]).filter(function(ne){return ne&&J(ne)==="object"&&"key"in ne})},[i]),A=l==="rtl",M=lS(f),L=(0,Al.useState)(!1),D=k(L,2),F=D[0],z=D[1];(0,Al.useEffect)(function(){z(Bv())},[]);var H=At(function(){var ne;return(ne=I[0])===null||ne===void 0?void 0:ne.key},{value:s,defaultValue:u}),V=k(H,2),q=V[0],B=V[1],K=(0,Al.useState)(function(){return I.findIndex(function(ne){return ne.key===q})}),G=k(K,2),U=G[0],Z=G[1];(0,Al.useEffect)(function(){var ne=I.findIndex(function(ye){return ye.key===q});if(ne===-1){var me;ne=Math.max(0,Math.min(U,I.length-1)),B((me=I[ne])===null||me===void 0?void 0:me.key)}Z(ne)},[I.map(function(ne){return ne.key}).join("_"),q,U]);var ee=At(null,{value:r}),ce=k(ee,2),oe=ce[0],ie=ce[1];(0,Al.useEffect)(function(){r||(ie("rc-tabs-".concat(UI)),UI+=1)},[]);function ge(ne,me){S?.(ne,me);var ye=ne!==q;B(ne),ye&&C?.(ne)}var le={id:oe,activeKey:q,animated:M,tabPosition:v,rtl:A,mobile:F},be=$($({},le),{},{editable:c,locale:p,more:m,tabBarGutter:y,onTabClick:ge,onTabScroll:E,extra:x,style:h,panes:null,getPopupContainer:w,popupClassName:O,indicator:_});return Pa.createElement(Mi.Provider,{value:{tabs:I,prefixCls:o}},Pa.createElement("div",W({ref:t,id:r,className:(0,KI.default)(o,"".concat(o,"-").concat(v),T(T(T({},"".concat(o,"-mobile"),F),"".concat(o,"-editable"),c),"".concat(o,"-rtl"),A),a)},N),Pa.createElement(HI,W({},be,{renderTabBar:b})),Pa.createElement(WI,W({destroyInactiveTabPane:g},le,{animated:M}))))}),GI=F8;var qI=GI;var L8={motionAppear:!1,motionEnter:!0,motionLeave:!0};function sS(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},r;return t===!1?r={inkBar:!1,tabPane:!1}:t===!0?r={inkBar:!0,tabPane:!0}:r=Object.assign({inkBar:!0},typeof t=="object"?t:{}),r.tabPane&&(r.tabPaneMotion=Object.assign(Object.assign({},L8),{motionName:nv(e,"switch")})),r}var XI=R(P());var D8=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);ot)}function uS(e,t){if(e)return e;let r=Wt(t).map(n=>{if(XI.isValidElement(n)){let{key:o,props:a}=n,i=a||{},{tab:l}=i,s=D8(i,["tab"]);return Object.assign(Object.assign({key:String(o)},s),{label:l})}return null});return z8(r)}var j8=e=>{let{componentCls:t,motionDurationSlow:r}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${r}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${r}`}}}}},[hv(e,"slide-up"),hv(e,"slide-down")]]},QI=j8;var B8=e=>{let{componentCls:t,tabsCardPadding:r,cardBg:n,cardGutter:o,colorBorderSecondary:a,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:r,background:n,border:`${j(e.lineWidth)} ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,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:j(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${j(e.borderRadiusLG)} ${j(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${j(e.borderRadiusLG)} ${j(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:j(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${j(e.borderRadiusLG)} 0 0 ${j(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 ${j(e.borderRadiusLG)} ${j(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},V8=e=>{let{componentCls:t,itemHoverColor:r,dropdownEdgeChildVerticalPadding:n}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},Kr(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:`${j(n)} 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({},Qc),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${j(e.paddingXXS)} ${j(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:r}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},H8=e=>{let{componentCls:t,margin:r,colorBorderSecondary:n,horizontalMargin:o,verticalItemPadding:a,verticalItemMargin:i,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:`${j(e.lineWidth)} ${e.lineType} ${n}`,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:r,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:a,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${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:j(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${j(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:`${j(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},W8=e=>{let{componentCls:t,cardPaddingSM:r,cardPaddingLG:n,horizontalItemPaddingSM:o,horizontalItemPaddingLG:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${j(e.borderRadius)} ${j(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${j(e.borderRadius)} ${j(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${j(e.borderRadius)} ${j(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${j(e.borderRadius)} 0 0 ${j(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}}}}}},U8=e=>{let{componentCls:t,itemActiveColor:r,itemHoverColor:n,iconCls:o,tabsHorizontalItemMargin:a,horizontalItemPadding:i,itemSelectedColor:l,itemColor:s}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:r}},Ws(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${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:n},[`&${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:a}}}},K8=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:r,iconCls:n,cardGutter:o,calc:a}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:r},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[n]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:j(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:j(e.marginXS)},marginLeft:{_skip_check_:!0,value:j(a(e.marginXXS).mul(-1).equal())},[n]:{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"}}}}},G8=e=>{let{componentCls:t,tabsCardPadding:r,cardHeight:n,cardGutter:o,itemHoverColor:a,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Kr(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:r,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:n,minHeight:n,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${j(e.paddingXS)}`,background:"transparent",border:`${j(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${j(e.borderRadiusLG)} ${j(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:i}},Ws(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),U8(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']) > ${t}-nav-list`]:{margin:"auto"}}}}}},q8=e=>{let 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}},YI=Tt("Tabs",e=>{let t=Ke(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${j(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${j(e.horizontalItemGutter)}`});return[W8(t),K8(t),H8(t),V8(t),B8(t),G8(t),QI(t)]},q8);var X8=()=>null,ZI=X8;var Q8=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t,r,n,o,a,i,l,s,u,c,f;let{type:d,className:v,rootClassName:y,size:h,onEdit:x,hideAdd:p,centered:m,addIcon:g,removeIcon:b,moreIcon:C,more:S,popupClassName:E,children:w,items:O,animated:_,style:N,indicatorSize:I,indicator:A}=e,M=Q8(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:L}=M,{direction:D,tabs:F,getPrefixCls:z,getPopupContainer:H}=Fl.useContext(de),V=z("tabs",L),q=Xp(V),[B,K,G]=YI(V,q),U;d==="editable-card"&&(U={onEdit:(le,be)=>{let{key:ne,event:me}=be;x?.(le==="add"?me:ne,le)},removeIcon:(t=b??F?.removeIcon)!==null&&t!==void 0?t:Fl.createElement(Gp,null),addIcon:(g??F?.addIcon)||Fl.createElement(TI,null),showAdd:p!==!0});let Z=z(),ee=Yn(h),ce=uS(O,w),oe=sS(V,_),ie=Object.assign(Object.assign({},F?.style),N),ge={align:(r=A?.align)!==null&&r!==void 0?r:(n=F?.indicator)===null||n===void 0?void 0:n.align,size:(l=(a=(o=A?.size)!==null&&o!==void 0?o:I)!==null&&a!==void 0?a:(i=F?.indicator)===null||i===void 0?void 0:i.size)!==null&&l!==void 0?l:F?.indicatorSize};return B(Fl.createElement(qI,Object.assign({direction:D,getPopupContainer:H},M,{items:ce,className:(0,cS.default)({[`${V}-${ee}`]:ee,[`${V}-card`]:["card","editable-card"].includes(d),[`${V}-editable-card`]:d==="editable-card",[`${V}-centered`]:m},F?.className,v,y,K,G,q),popupClassName:(0,cS.default)(E,K,G,q),style:ie,editable:U,more:Object.assign({icon:(f=(c=(u=(s=F?.more)===null||s===void 0?void 0:s.icon)!==null&&u!==void 0?u:F?.moreIcon)!==null&&c!==void 0?c:C)!==null&&f!==void 0?f:Fl.createElement(uI,null),transitionName:`${Z}-slide-up`},S),prefixCls:V,animated:oe,indicator:ge})))};JI.TabPane=ZI;var eM=JI;var Tg=R(P()),tM=R(re());var Y8=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:r,hoverable:n=!0}=e,o=Y8(e,["prefixCls","className","hoverable"]);let{getPrefixCls:a}=Tg.useContext(de),i=a("card",t),l=(0,tM.default)(`${i}-grid`,r,{[`${i}-grid-hoverable`]:n});return Tg.createElement("div",Object.assign({},o,{className:l}))},Pg=Z8;var J8=e=>{let{antCls:t,componentCls:r,headerHeight:n,cardPaddingBase:o,tabsMarginBottom:a}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${j(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${j(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${j(e.borderRadiusLG)} ${j(e.borderRadiusLG)} 0 0`},yl()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},Qc),{[` > ${r}-typography, > ${r}-typography-edit-content `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:a,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${j(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},eB=e=>{let{cardPaddingBase:t,colorBorderSecondary:r,cardShadow:n,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` ${j(o)} 0 0 0 ${r}, 0 ${j(o)} 0 0 ${r}, ${j(o)} ${j(o)} 0 0 ${r}, ${j(o)} 0 0 0 ${r} inset, 0 ${j(o)} 0 0 ${r} inset; `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},tB=e=>{let{componentCls:t,iconCls:r,actionsLiMargin:n,cardActionsIconSize:o,colorBorderSecondary:a,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${j(e.lineWidth)} ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${j(e.borderRadiusLG)} ${j(e.borderRadiusLG)}`},yl()),{"& > li":{margin:n,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), > ${r}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:j(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${r}`]:{fontSize:o,lineHeight:j(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${j(e.lineWidth)} ${e.lineType} ${a}`}}})},rB=e=>Object.assign(Object.assign({margin:`${j(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},yl()),{"&-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},Qc),"&-description":{color:e.colorTextDescription}}),nB=e=>{let{componentCls:t,cardPaddingBase:r,colorFillAlter:n}=e;return{[`${t}-head`]:{padding:`0 ${j(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${j(e.padding)} ${j(r)}`}}},oB=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},aB=e=>{let{componentCls:t,cardShadow:r,cardHeadPadding:n,colorBorderSecondary:o,boxShadowTertiary:a,cardPaddingBase:i,extraColor:l}=e;return{[t]:Object.assign(Object.assign({},Kr(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:a},[`${t}-head`]:J8(e),[`${t}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:i,borderRadius:`0 0 ${j(e.borderRadiusLG)} ${j(e.borderRadiusLG)}`},yl()),[`${t}-grid`]:eB(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${j(e.borderRadiusLG)} ${j(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:tB(e),[`${t}-meta`]:rB(e)}),[`${t}-bordered`]:{border:`${j(e.lineWidth)} ${e.lineType} ${o}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${t}-contain-grid`]:{borderRadius:`${j(e.borderRadiusLG)} ${j(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:nB(e),[`${t}-loading`]:oB(e),[`${t}-rtl`]:{direction:"rtl"}}},iB=e=>{let{componentCls:t,cardPaddingSM:r,headerHeightSM:n,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:n,padding:`0 ${j(r)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:r}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},lB=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}),rM=Tt("Card",e=>{let t=Ke(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[aB(t),iB(t)]},lB);var nM=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{actionClasses:t,actions:r=[],actionStyle:n}=e;return Qt.createElement("ul",{className:t,style:n},r.map((o,a)=>{let i=`action-${a}`;return Qt.createElement("li",{style:{width:`${100/r.length}%`},key:i},Qt.createElement("span",null,o))}))},uB=Qt.forwardRef((e,t)=>{let{prefixCls:r,className:n,rootClassName:o,style:a,extra:i,headStyle:l={},bodyStyle:s={},title:u,loading:c,bordered:f=!0,size:d,type:v,cover:y,actions:h,tabList:x,children:p,activeTabKey:m,defaultActiveTabKey:g,tabBarExtraContent:b,hoverable:C,tabProps:S={},classNames:E,styles:w}=e,O=nM(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:_,direction:N,card:I}=Qt.useContext(de),A=Ce=>{var ve;(ve=e.onTabChange)===null||ve===void 0||ve.call(e,Ce)},M=Ce=>{var ve;return(0,$a.default)((ve=I?.classNames)===null||ve===void 0?void 0:ve[Ce],E?.[Ce])},L=Ce=>{var ve;return Object.assign(Object.assign({},(ve=I?.styles)===null||ve===void 0?void 0:ve[Ce]),w?.[Ce])},D=Qt.useMemo(()=>{let Ce=!1;return Qt.Children.forEach(p,ve=>{ve?.type===Pg&&(Ce=!0)}),Ce},[p]),F=_("card",r),[z,H,V]=rM(F),q=Qt.createElement(D2,{loading:!0,active:!0,paragraph:{rows:4},title:!1},p),B=m!==void 0,K=Object.assign(Object.assign({},S),{[B?"activeKey":"defaultActiveKey"]:B?m:g,tabBarExtraContent:b}),G,U=Yn(d),ee=x?Qt.createElement(eM,Object.assign({size:!U||U==="default"?"large":U},K,{className:`${F}-head-tabs`,onChange:A,items:x.map(Ce=>{var{tab:ve}=Ce,ze=nM(Ce,["tab"]);return Object.assign({label:ve},ze)})})):null;if(u||i||ee){let Ce=(0,$a.default)(`${F}-head`,M("header")),ve=(0,$a.default)(`${F}-head-title`,M("title")),ze=(0,$a.default)(`${F}-extra`,M("extra")),xe=Object.assign(Object.assign({},l),L("header"));G=Qt.createElement("div",{className:Ce,style:xe},Qt.createElement("div",{className:`${F}-head-wrapper`},u&&Qt.createElement("div",{className:ve,style:L("title")},u),i&&Qt.createElement("div",{className:ze,style:L("extra")},i)),ee)}let ce=(0,$a.default)(`${F}-cover`,M("cover")),oe=y?Qt.createElement("div",{className:ce,style:L("cover")},y):null,ie=(0,$a.default)(`${F}-body`,M("body")),ge=Object.assign(Object.assign({},s),L("body")),le=Qt.createElement("div",{className:ie,style:ge},c?q:p),be=(0,$a.default)(`${F}-actions`,M("actions")),ne=h?.length?Qt.createElement(sB,{actionClasses:be,actionStyle:L("actions"),actions:h}):null,me=bt(O,["onTabChange"]),ye=(0,$a.default)(F,I?.className,{[`${F}-loading`]:c,[`${F}-bordered`]:f,[`${F}-hoverable`]:C,[`${F}-contain-grid`]:D,[`${F}-contain-tabs`]:x?.length,[`${F}-${U}`]:U,[`${F}-type-${v}`]:!!v,[`${F}-rtl`]:N==="rtl"},n,o,H,V),De=Object.assign(Object.assign({},I?.style),a);return z(Qt.createElement("div",Object.assign({ref:t},me,{className:ye,style:De}),G,oe,le,ne))}),oM=uB;var Li=R(P()),aM=R(re());var cB=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{prefixCls:t,className:r,avatar:n,title:o,description:a}=e,i=cB(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:l}=Li.useContext(de),s=l("card",t),u=(0,aM.default)(`${s}-meta`,r),c=n?Li.createElement("div",{className:`${s}-meta-avatar`},n):null,f=o?Li.createElement("div",{className:`${s}-meta-title`},o):null,d=a?Li.createElement("div",{className:`${s}-meta-description`},a):null,v=f||d?Li.createElement("div",{className:`${s}-meta-detail`},f,d):null;return Li.createElement("div",Object.assign({},i,{className:u}),c,v)},iM=fB;var fS=oM;fS.Grid=Pg;fS.Meta=iM;var dS=fS;var Ll=R(P()),fM=R(re());var lM=R(P()),dB=(0,lM.createContext)({}),$g=dB;var mB=e=>{let{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"}}}},pB=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},vB=(e,t)=>{let{prefixCls:r,componentCls:n,gridColumns:o}=e,a={};for(let i=o;i>=0;i--)i===0?(a[`${n}${t}-${i}`]={display:"none"},a[`${n}-push-${i}`]={insetInlineStart:"auto"},a[`${n}-pull-${i}`]={insetInlineEnd:"auto"},a[`${n}${t}-push-${i}`]={insetInlineStart:"auto"},a[`${n}${t}-pull-${i}`]={insetInlineEnd:"auto"},a[`${n}${t}-offset-${i}`]={marginInlineStart:0},a[`${n}${t}-order-${i}`]={order:0}):(a[`${n}${t}-${i}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${i/o*100}%`,maxWidth:`${i/o*100}%`}],a[`${n}${t}-push-${i}`]={insetInlineStart:`${i/o*100}%`},a[`${n}${t}-pull-${i}`]={insetInlineEnd:`${i/o*100}%`},a[`${n}${t}-offset-${i}`]={marginInlineStart:`${i/o*100}%`},a[`${n}${t}-order-${i}`]={order:i});return a[`${n}${t}-flex`]={flex:`var(--${r}${t}-flex)`},a},mS=(e,t)=>vB(e,t),gB=(e,t,r)=>({[`@media (min-width: ${j(t)})`]:Object.assign({},mS(e,r))}),hB=()=>({}),yB=()=>({}),sM=Tt("Grid",mB,hB),uM=Tt("Grid",e=>{let t=Ke(e,{gridColumns:24}),r={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[pB(t),mS(t,""),mS(t,"-xs"),Object.keys(r).map(n=>gB(t,r[n],n)).reduce((n,o)=>Object.assign(Object.assign({},n),o),{})]},yB);var xB=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{getPrefixCls:r,direction:n}=Ll.useContext(de),{gutter:o,wrap:a}=Ll.useContext($g),{prefixCls:i,span:l,order:s,offset:u,push:c,pull:f,className:d,children:v,flex:y,style:h}=e,x=xB(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),p=r("col",i),[m,g,b]=uM(p),C={},S={};bB.forEach(O=>{let _={},N=e[O];typeof N=="number"?_.span=N:typeof N=="object"&&(_=N||{}),delete x[O],S=Object.assign(Object.assign({},S),{[`${p}-${O}-${_.span}`]:_.span!==void 0,[`${p}-${O}-order-${_.order}`]:_.order||_.order===0,[`${p}-${O}-offset-${_.offset}`]:_.offset||_.offset===0,[`${p}-${O}-push-${_.push}`]:_.push||_.push===0,[`${p}-${O}-pull-${_.pull}`]:_.pull||_.pull===0,[`${p}-rtl`]:n==="rtl"}),_.flex&&(S[`${p}-${O}-flex`]=!0,C[`--${p}-${O}-flex`]=cM(_.flex))});let E=(0,fM.default)(p,{[`${p}-${l}`]:l!==void 0,[`${p}-order-${s}`]:s,[`${p}-offset-${u}`]:u,[`${p}-push-${c}`]:c,[`${p}-pull-${f}`]:f},d,S,g,b),w={};if(o&&o[0]>0){let O=o[0]/2;w.paddingLeft=O,w.paddingRight=O}return y&&(w.flex=cM(y),a===!1&&!w.minWidth&&(w.minWidth=0)),m(Ll.createElement("div",Object.assign({},x,{style:Object.assign(Object.assign(Object.assign({},w),h),C),className:E,ref:t}),v))}),pS=CB;var Rr=R(P()),mM=R(re());var SB=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{if(typeof e=="string"&&n(e),typeof e=="object")for(let a=0;a{o()},[JSON.stringify(e),t]),r}var wB=Rr.forwardRef((e,t)=>{let{prefixCls:r,justify:n,align:o,className:a,style:i,children:l,gutter:s=0,wrap:u}=e,c=SB(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:d}=Rr.useContext(de),[v,y]=Rr.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[h,x]=Rr.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),p=dM(o,h),m=dM(n,h),g=Rr.useRef(s),b=NC();Rr.useEffect(()=>{let F=b.subscribe(z=>{x(z);let H=g.current||0;(!Array.isArray(H)&&typeof H=="object"||Array.isArray(H)&&(typeof H[0]=="object"||typeof H[1]=="object"))&&y(z)});return()=>b.unsubscribe(F)},[]);let C=()=>{let F=[void 0,void 0];return(Array.isArray(s)?s:[s,void 0]).forEach((H,V)=>{if(typeof H=="object")for(let q=0;q0?_[0]/-2:void 0;A&&(I.marginLeft=A,I.marginRight=A);let[M,L]=_;I.rowGap=L;let D=Rr.useMemo(()=>({gutter:[M,L],wrap:u}),[M,L,u]);return E(Rr.createElement($g.Provider,{value:D},Rr.createElement("div",Object.assign({},c,{className:N,style:Object.assign(Object.assign({},I),i),ref:t}),l)))}),vS=wB;var Di=pS;var Dl=R(P()),vM=R(re());var EB=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:l}=e;return{[t]:Object.assign(Object.assign({},Kr(e)),{borderBlockStart:`${j(o)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:l,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${j(o)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${j(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${j(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${j(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${j(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},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${j(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{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:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}},RB=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),pM=Tt("Divider",e=>{let t=Ke(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[EB(t)]},RB,{unitless:{orientationMargin:!0}});var OB=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{getPrefixCls:t,direction:r,divider:n}=Dl.useContext(de),{prefixCls:o,type:a="horizontal",orientation:i="center",orientationMargin:l,className:s,rootClassName:u,children:c,dashed:f,variant:d="solid",plain:v,style:y}=e,h=OB(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),x=t("divider",o),[p,m,g]=pM(x),b=!!c,C=i==="left"&&l!=null,S=i==="right"&&l!=null,E=(0,vM.default)(x,n?.className,m,g,`${x}-${a}`,{[`${x}-with-text`]:b,[`${x}-with-text-${i}`]:b,[`${x}-dashed`]:!!f,[`${x}-${d}`]:d!=="solid",[`${x}-plain`]:!!v,[`${x}-rtl`]:r==="rtl",[`${x}-no-default-orientation-margin-left`]:C,[`${x}-no-default-orientation-margin-right`]:S},s,u),w=Dl.useMemo(()=>typeof l=="number"?l:/^\d+$/.test(l)?Number(l):l,[l]),O=Object.assign(Object.assign({},C&&{marginLeft:w}),S&&{marginRight:w});return p(Dl.createElement("div",Object.assign({className:E,style:Object.assign(Object.assign({},n?.style),y)},h,{role:"separator"}),c&&a!=="vertical"&&Dl.createElement("span",{className:`${x}-inner-text`,style:O},c)))},gS=_B;var Na=R(re()),kr=R(P());function hM(e){return!!(e.addonBefore||e.addonAfter)}function yM(e){return!!(e.prefix||e.suffix||e.allowClear)}function gM(e,t,r){var n=t.cloneNode(!0),o=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=r,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd),n.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function Ng(e,t,r,n){if(r){var o=t;if(t.type==="click"){o=gM(t,e,""),r(o);return}if(e.type!=="file"&&n!==void 0){o=gM(t,e,n),r(o);return}r(o)}}function Ig(e,t){if(e){e.focus(t);var r=t||{},n=r.cursor;if(n){var o=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}var TB=kr.default.forwardRef(function(e,t){var r,n,o=e.inputElement,a=e.children,i=e.prefixCls,l=e.prefix,s=e.suffix,u=e.addonBefore,c=e.addonAfter,f=e.className,d=e.style,v=e.disabled,y=e.readOnly,h=e.focused,x=e.triggerFocus,p=e.allowClear,m=e.value,g=e.handleReset,b=e.hidden,C=e.classes,S=e.classNames,E=e.dataAttrs,w=e.styles,O=e.components,_=e.onClear,N=a??o,I=O?.affixWrapper||"span",A=O?.groupWrapper||"span",M=O?.wrapper||"span",L=O?.groupAddon||"span",D=(0,kr.useRef)(null),F=function(ne){var me;(me=D.current)!==null&&me!==void 0&&me.contains(ne.target)&&x?.()},z=yM(e),H=(0,kr.cloneElement)(N,{value:m,className:(0,Na.default)(N.props.className,!z&&S?.variant)||null}),V=(0,kr.useRef)(null);if(kr.default.useImperativeHandle(t,function(){return{nativeElement:V.current||D.current}}),z){var q=null;if(p){var B=!v&&!y&&m,K="".concat(i,"-clear-icon"),G=J(p)==="object"&&p!==null&&p!==void 0&&p.clearIcon?p.clearIcon:"\u2716";q=kr.default.createElement("span",{onClick:function(ne){g?.(ne),_?.()},onMouseDown:function(ne){return ne.preventDefault()},className:(0,Na.default)(K,T(T({},"".concat(K,"-hidden"),!B),"".concat(K,"-has-suffix"),!!s)),role:"button",tabIndex:-1},G)}var U="".concat(i,"-affix-wrapper"),Z=(0,Na.default)(U,T(T(T(T(T({},"".concat(i,"-disabled"),v),"".concat(U,"-disabled"),v),"".concat(U,"-focused"),h),"".concat(U,"-readonly"),y),"".concat(U,"-input-with-clear-btn"),s&&p&&m),C?.affixWrapper,S?.affixWrapper,S?.variant),ee=(s||p)&&kr.default.createElement("span",{className:(0,Na.default)("".concat(i,"-suffix"),S?.suffix),style:w?.suffix},q,s);H=kr.default.createElement(I,W({className:Z,style:w?.affixWrapper,onClick:F},E?.affixWrapper,{ref:D}),l&&kr.default.createElement("span",{className:(0,Na.default)("".concat(i,"-prefix"),S?.prefix),style:w?.prefix},l),H,ee)}if(hM(e)){var ce="".concat(i,"-group"),oe="".concat(ce,"-addon"),ie="".concat(ce,"-wrapper"),ge=(0,Na.default)("".concat(i,"-wrapper"),ce,C?.wrapper,S?.wrapper),le=(0,Na.default)(ie,T({},"".concat(ie,"-disabled"),v),C?.group,S?.groupWrapper);H=kr.default.createElement(A,{className:le,ref:V},kr.default.createElement(M,{className:ge},u&&kr.default.createElement(L,{className:oe},u),H,c&&kr.default.createElement(L,{className:oe},c)))}return kr.default.cloneElement(H,{className:(0,Na.default)((r=H.props)===null||r===void 0?void 0:r.className,f)||null,style:$($({},(n=H.props)===null||n===void 0?void 0:n.style),d),hidden:b})}),Mg=TB;var $B=R(re());var Tu=R(P());var xM=R(P()),PB=["show"];function kg(e,t){return xM.useMemo(function(){var r={};t&&(r.show=J(t)==="object"&&t.formatter?t.formatter:!!t),r=$($({},r),e);var n=r,o=n.show,a=ae(n,PB);return $($({},a),{},{show:!!o,showFormatter:typeof o=="function"?o:void 0,strategy:a.strategy||function(i){return i.length}})},[e,t])}var Ag=R(P()),IB=R(re());var bM=R(P());var NB=e=>{let t;return typeof e=="object"&&e?.clearIcon?t=e:e&&(t={clearIcon:bM.default.createElement(UT,null)}),t},CM=NB;var $o=R(P()),RM=R(P()),Nf=R(re());var $f=R(re());var vr=R(P());var SM=R(re());var Ar=R(P());var MB=` 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; `,kB=["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"],hS={},kn;function AB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&hS[r])return hS[r];var n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),a=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),i=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),l=kB.map(function(u){return"".concat(u,":").concat(n.getPropertyValue(u))}).join(";"),s={sizingStyle:l,paddingSize:a,borderSize:i,boxSizing:o};return t&&r&&(hS[r]=s),s}function yS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;kn||(kn=document.createElement("textarea"),kn.setAttribute("tab-index","-1"),kn.setAttribute("aria-hidden","true"),kn.setAttribute("name","hiddenTextarea"),document.body.appendChild(kn)),e.getAttribute("wrap")?kn.setAttribute("wrap",e.getAttribute("wrap")):kn.removeAttribute("wrap");var o=AB(e,t),a=o.paddingSize,i=o.borderSize,l=o.boxSizing,s=o.sizingStyle;kn.setAttribute("style","".concat(s,";").concat(MB)),kn.value=e.value||e.placeholder||"";var u=void 0,c=void 0,f,d=kn.scrollHeight;if(l==="border-box"?d+=i:l==="content-box"&&(d-=a),r!==null||n!==null){kn.value=" ";var v=kn.scrollHeight-a;r!==null&&(u=v*r,l==="border-box"&&(u=u+a+i),d=Math.max(u,d)),n!==null&&(c=v*n,l==="border-box"&&(c=c+a+i),f=d>c?"":"hidden",d=Math.min(c,d))}var y={height:d,overflowY:f,resize:"none"};return u&&(y.minHeight=u),c&&(y.maxHeight=c),y}var FB=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],xS=0,bS=1,CS=2,LB=Ar.forwardRef(function(e,t){var r=e,n=r.prefixCls,o=r.defaultValue,a=r.value,i=r.autoSize,l=r.onResize,s=r.className,u=r.style,c=r.disabled,f=r.onChange,d=r.onInternalAutoSize,v=ae(r,FB),y=At(o,{value:a,postState:function(U){return U??""}}),h=k(y,2),x=h[0],p=h[1],m=function(U){p(U.target.value),f?.(U)},g=Ar.useRef();Ar.useImperativeHandle(t,function(){return{textArea:g.current}});var b=Ar.useMemo(function(){return i&&J(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),C=k(b,2),S=C[0],E=C[1],w=!!i,O=function(){try{if(document.activeElement===g.current){var U=g.current,Z=U.selectionStart,ee=U.selectionEnd,ce=U.scrollTop;g.current.setSelectionRange(Z,ee),g.current.scrollTop=ce}}catch{}},_=Ar.useState(CS),N=k(_,2),I=N[0],A=N[1],M=Ar.useState(),L=k(M,2),D=L[0],F=L[1],z=function(){A(xS)};tt(function(){w&&z()},[a,S,E,w]),tt(function(){if(I===xS)A(bS);else if(I===bS){var G=yS(g.current,!1,S,E);A(CS),F(G)}else O()},[I]);var H=Ar.useRef(),V=function(){Ot.cancel(H.current)},q=function(U){I===CS&&(l?.(U),i&&(V(),H.current=Ot(function(){z()})))};Ar.useEffect(function(){return V},[]);var B=w?D:null,K=$($({},u),B);return(I===xS||I===bS)&&(K.overflowY="hidden",K.overflowX="hidden"),Ar.createElement(Wr,{onResize:q,disabled:!(i||l)},Ar.createElement("textarea",W({},v,{ref:g,style:K,className:(0,SM.default)(n,s,T({},"".concat(n,"-disabled"),c)),disabled:c,value:x,onChange:m})))}),SS=LB;var DB=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],zB=vr.default.forwardRef(function(e,t){var r,n=e.defaultValue,o=e.value,a=e.onFocus,i=e.onBlur,l=e.onChange,s=e.allowClear,u=e.maxLength,c=e.onCompositionStart,f=e.onCompositionEnd,d=e.suffix,v=e.prefixCls,y=v===void 0?"rc-textarea":v,h=e.showCount,x=e.count,p=e.className,m=e.style,g=e.disabled,b=e.hidden,C=e.classNames,S=e.styles,E=e.onResize,w=e.onClear,O=e.onPressEnter,_=e.readOnly,N=e.autoSize,I=e.onKeyDown,A=ae(e,DB),M=At(n,{value:o,defaultValue:n}),L=k(M,2),D=L[0],F=L[1],z=D==null?"":String(D),H=vr.default.useState(!1),V=k(H,2),q=V[0],B=V[1],K=vr.default.useRef(!1),G=vr.default.useState(null),U=k(G,2),Z=U[0],ee=U[1],ce=(0,vr.useRef)(null),oe=(0,vr.useRef)(null),ie=function(){var se;return(se=oe.current)===null||se===void 0?void 0:se.textArea},ge=function(){ie().focus()};(0,vr.useImperativeHandle)(t,function(){var Ee;return{resizableTextArea:oe.current,focus:ge,blur:function(){ie().blur()},nativeElement:((Ee=ce.current)===null||Ee===void 0?void 0:Ee.nativeElement)||ie()}}),(0,vr.useEffect)(function(){B(function(Ee){return!g&&Ee})},[g]);var le=vr.default.useState(null),be=k(le,2),ne=be[0],me=be[1];vr.default.useEffect(function(){if(ne){var Ee;(Ee=ie()).setSelectionRange.apply(Ee,Y(ne))}},[ne]);var ye=kg(x,h),De=(r=ye.max)!==null&&r!==void 0?r:u,Ce=Number(De)>0,ve=ye.strategy(z),ze=!!De&&ve>De,xe=function(se,Be){var Q=Be;!K.current&&ye.exceedFormatter&&ye.max&&ye.strategy(Be)>ye.max&&(Q=ye.exceedFormatter(Be,{max:ye.max}),Be!==Q&&me([ie().selectionStart||0,ie().selectionEnd||0])),F(Q),Ng(se.currentTarget,se,l,Q)},$e=function(se){K.current=!0,c?.(se)},Se=function(se){K.current=!1,xe(se,se.currentTarget.value),f?.(se)},he=function(se){xe(se,se.target.value)},Me=function(se){se.key==="Enter"&&O&&O(se),I?.(se)},Ae=function(se){B(!0),a?.(se)},rr=function(se){B(!1),i?.(se)},Ge=function(se){F(""),ge(),Ng(ie(),se,l)},Ve=d,et;ye.show&&(ye.showFormatter?et=ye.showFormatter({value:z,count:ve,maxLength:De}):et="".concat(ve).concat(Ce?" / ".concat(De):""),Ve=vr.default.createElement(vr.default.Fragment,null,Ve,vr.default.createElement("span",{className:(0,$f.default)("".concat(y,"-data-count"),C?.count),style:S?.count},et)));var qe=function(se){var Be;E?.(se),(Be=ie())!==null&&Be!==void 0&&Be.style.height&&ee(!0)},Ne=!N&&!h&&!s;return vr.default.createElement(Mg,{ref:ce,value:z,allowClear:s,handleReset:Ge,suffix:Ve,prefixCls:y,classNames:$($({},C),{},{affixWrapper:(0,$f.default)(C?.affixWrapper,T(T({},"".concat(y,"-show-count"),h),"".concat(y,"-textarea-allow-clear"),s))}),disabled:g,focused:q,className:(0,$f.default)(p,ze&&"".concat(y,"-out-of-range")),style:$($({},m),Z&&!Ne?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof et=="string"?et:void 0}},hidden:b,readOnly:_,onClear:w},vr.default.createElement(SS,W({},A,{autoSize:N,maxLength:u,onKeyDown:Me,onChange:he,onFocus:Ae,onBlur:rr,onCompositionStart:$e,onCompositionEnd:Se,className:(0,$f.default)(C?.textarea),style:$($({},S?.textarea),{},{resize:m?.resize}),disabled:g,prefixCls:y,onResize:qe,ref:oe,readOnly:_})))}),wM=zB;var EM=wM;var jB=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;let{prefixCls:o,bordered:a=!0,size:i,disabled:l,status:s,allowClear:u,classNames:c,rootClassName:f,className:d,style:v,styles:y,variant:h}=e,x=jB(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:p,direction:m,textArea:g}=$o.useContext(de),b=Yn(i),C=$o.useContext(js),S=l??C,{status:E,hasFeedback:w,feedbackIcon:O}=$o.useContext(Av),_=mN(E,s),N=$o.useRef(null);$o.useImperativeHandle(t,()=>{var V;return{resizableTextArea:(V=N.current)===null||V===void 0?void 0:V.resizableTextArea,focus:q=>{var B,K;Ig((K=(B=N.current)===null||B===void 0?void 0:B.resizableTextArea)===null||K===void 0?void 0:K.textArea,q)},blur:()=>{var q;return(q=N.current)===null||q===void 0?void 0:q.blur()}}});let I=p("input",o),A=Xp(I),[M,L,D]=OI(I,A),[F,z]=pN("textArea",h,a),H=CM(u??g?.allowClear);return M($o.createElement(EM,Object.assign({autoComplete:g?.autoComplete},x,{style:Object.assign(Object.assign({},g?.style),v),styles:Object.assign(Object.assign({},g?.styles),y),disabled:S,allowClear:H,className:(0,Nf.default)(D,A,d,f,g?.className),classNames:Object.assign(Object.assign(Object.assign({},c),g?.classNames),{textarea:(0,Nf.default)({[`${I}-sm`]:b==="small",[`${I}-lg`]:b==="large"},L,c?.textarea,(r=g?.classNames)===null||r===void 0?void 0:r.textarea),variant:(0,Nf.default)({[`${I}-${F}`]:z},dN(I,_)),affixWrapper:(0,Nf.default)(`${I}-textarea-affix-wrapper`,{[`${I}-affix-wrapper-rtl`]:m==="rtl",[`${I}-affix-wrapper-sm`]:b==="small",[`${I}-affix-wrapper-lg`]:b==="large",[`${I}-textarea-show-count`]:e.showCount||((n=e.count)===null||n===void 0?void 0:n.show)},L)}),prefixCls:I,suffix:w&&$o.createElement("span",{className:`${I}-textarea-suffix`},O),ref:N})))}),OM=BB;var Yo=R(P()),OS=R(re());function wS(e){return["small","middle","large"].includes(e)}function ES(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}var _M=R(P()),RS=_M.default.createContext({latestIndex:0}),TM=RS.Provider;var zi=R(P());var VB=e=>{let{className:t,index:r,children:n,split:o,style:a}=e,{latestIndex:i}=zi.useContext(RS);return n==null?null:zi.createElement(zi.Fragment,null,zi.createElement("div",{className:t,style:a},n),r{var r,n,o;let{getPrefixCls:a,space:i,direction:l}=Yo.useContext(de),{size:s=(r=i?.size)!==null&&r!==void 0?r:"small",align:u,className:c,rootClassName:f,children:d,direction:v="horizontal",prefixCls:y,split:h,style:x,wrap:p=!1,classNames:m,styles:g}=e,b=HB(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,S]=Array.isArray(s)?s:[s,s],E=wS(S),w=wS(C),O=ES(S),_=ES(C),N=Wt(d,{keepEmpty:!0}),I=u===void 0&&v==="horizontal"?"center":u,A=a("space",y),[M,L,D]=lv(A),F=(0,OS.default)(A,i?.className,L,`${A}-${v}`,{[`${A}-rtl`]:l==="rtl",[`${A}-align-${I}`]:I,[`${A}-gap-row-${S}`]:E,[`${A}-gap-col-${C}`]:w},c,f,D),z=(0,OS.default)(`${A}-item`,(n=m?.item)!==null&&n!==void 0?n:(o=i?.classNames)===null||o===void 0?void 0:o.item),H=0,V=N.map((K,G)=>{var U,Z;K!=null&&(H=G);let ee=K?.key||`${z}-${G}`;return Yo.createElement(PM,{className:z,key:ee,index:G,split:h,style:(U=g?.item)!==null&&U!==void 0?U:(Z=i?.styles)===null||Z===void 0?void 0:Z.item},K)}),q=Yo.useMemo(()=>({latestIndex:H}),[H]);if(N.length===0)return null;let B={};return p&&(B.flexWrap="wrap"),!w&&_&&(B.columnGap=C),!E&&O&&(B.rowGap=S),M(Yo.createElement("div",Object.assign({ref:t,className:F,style:Object.assign(Object.assign(Object.assign({},B),i?.style),x)},b),Yo.createElement(TM,{value:q},V)))}),$M=WB;$M.Compact=yP;var Pu=$M;function _S(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&e==null?[]:Array.isArray(e)?e:[e]}var Fg=R(P());var UB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"},NM=UB;var KB=function(t,r){return Fg.createElement(Pt,W({},t,{ref:r,icon:NM}))},GB=Fg.forwardRef(KB),TS=GB;var Lg=R(P());var qB={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"},IM=qB;var XB=function(t,r){return Lg.createElement(Pt,W({},t,{ref:r,icon:IM}))},QB=Lg.forwardRef(XB),MM=QB;var Dg=R(P());var YB={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"},kM=YB;var ZB=function(t,r){return Dg.createElement(Pt,W({},t,{ref:r,icon:kM}))},JB=Dg.forwardRef(ZB),AM=JB;var zg=R(P());var eV={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"},FM=eV;var tV=function(t,r){return zg.createElement(Pt,W({},t,{ref:r,icon:FM}))},rV=zg.forwardRef(tV),LM=rV;var jg=R(P());var nV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"},DM=nV;var oV=function(t,r){return jg.createElement(Pt,W({},t,{ref:r,icon:DM}))},aV=jg.forwardRef(oV),PS=aV;var Bg=R(P());var iV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"}}]},name:"sound",theme:"outlined"},zM=iV;var lV=function(t,r){return Bg.createElement(Pt,W({},t,{ref:r,icon:zM}))},sV=Bg.forwardRef(lV),$S=sV;var Vg=vS;var Or=R(P()),IS=R(re());var $u=R(P()),jM=R(re());var uV=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:a}=e,i=a(n).sub(r).equal(),l=a(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},Kr(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${j(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},If=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM;return Ke(e,{tagFontSize:o,tagLineHeight:j(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},Mf=e=>({defaultBg:new kt(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),Hg=Tt("Tag",e=>{let t=If(e);return uV(t)},Mf);var cV=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{prefixCls:r,style:n,className:o,checked:a,onChange:i,onClick:l}=e,s=cV(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:c}=$u.useContext(de),f=p=>{i?.(!a),l?.(p)},d=u("tag",r),[v,y,h]=Hg(d),x=(0,jM.default)(d,`${d}-checkable`,{[`${d}-checkable-checked`]:a},c?.className,o,y,h);return v($u.createElement("span",Object.assign({},s,{ref:t,style:Object.assign(Object.assign({},n),c?.style),className:x,onClick:f})))}),BM=fV;var dV=e=>Ks(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:a,darkColor:i}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),VM=xl(["Tag","preset"],e=>{let t=If(e);return dV(t)},Mf);function NS(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}var Wg=(e,t,r)=>{let n=NS(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},HM=xl(["Tag","status"],e=>{let t=If(e);return[Wg(t,"success","Success"),Wg(t,"processing","Info"),Wg(t,"error","Error"),Wg(t,"warning","Warning")]},Mf);var mV=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{prefixCls:r,className:n,rootClassName:o,style:a,children:i,icon:l,color:s,onClose:u,bordered:c=!0,visible:f}=e,d=mV(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:v,direction:y,tag:h}=Or.useContext(de),[x,p]=Or.useState(!0),m=bt(d,["closeIcon","closable"]);Or.useEffect(()=>{f!==void 0&&p(f)},[f]);let g=Xv(s),b=RN(s),C=g||b,S=Object.assign(Object.assign({backgroundColor:s&&!C?s:void 0},h?.style),a),E=v("tag",r),[w,O,_]=Hg(E),N=(0,IS.default)(E,h?.className,{[`${E}-${s}`]:C,[`${E}-has-color`]:s&&!C,[`${E}-hidden`]:!x,[`${E}-rtl`]:y==="rtl",[`${E}-borderless`]:!c},n,o,O,_),I=z=>{z.stopPropagation(),u?.(z),!z.defaultPrevented&&p(!1)},[,A]=fC(cC(e),cC(h),{closable:!1,closeIconRender:z=>{let H=Or.createElement("span",{className:`${E}-close-icon`,onClick:I},z);return ib(z,H,V=>({onClick:q=>{var B;(B=V?.onClick)===null||B===void 0||B.call(V,q),I(q)},className:(0,IS.default)(V?.className,`${E}-close-icon`)}))}}),M=typeof d.onClick=="function"||i&&i.type==="a",L=l||null,D=L?Or.createElement(Or.Fragment,null,L,i&&Or.createElement("span",null,i)):i,F=Or.createElement("span",Object.assign({},m,{ref:t,className:N,style:S}),D,A,g&&Or.createElement(VM,{key:"preset",prefixCls:E}),b&&Or.createElement(HM,{key:"status",prefixCls:E}));return w(M?Or.createElement(iv,{component:"Tag"},F):F)}),WM=pV;WM.CheckableTag=BM;var Ug=WM;var vV=e=>{let t=e?.algorithm?Co(e.algorithm):Co(Eo),r=Object.assign(Object.assign({},So),e?.token);return Hm(r,{override:e?.token},t,Hs)},UM=vV;function MS(e){let{sizeUnit:t,sizeStep:r}=e,n=r-2;return{sizeXXL:t*(n+10),sizeXL:t*(n+6),sizeLG:t*(n+2),sizeMD:t*(n+2),sizeMS:t*(n+1),size:t*n,sizeSM:t*n,sizeXS:t*(n-1),sizeXXS:t*(n-1)}}var gV=(e,t)=>{let r=t??Eo(e),n=r.fontSizeSM,o=r.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},r),MS(t??e)),dp(n)),{controlHeight:o}),fp(Object.assign(Object.assign({},r),{controlHeight:o})))},KM=gV;var An=(e,t)=>new kt(e).setAlpha(t).toRgbString(),zl=(e,t)=>new kt(e).lighten(t).toHexString();var GM=e=>{let t=nn(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]}},qM=(e,t)=>{let r=e||"#000",n=t||"#fff";return{colorBgBase:r,colorTextBase:n,colorText:An(n,.85),colorTextSecondary:An(n,.65),colorTextTertiary:An(n,.45),colorTextQuaternary:An(n,.25),colorFill:An(n,.18),colorFillSecondary:An(n,.12),colorFillTertiary:An(n,.08),colorFillQuaternary:An(n,.04),colorBgSolid:An(n,.95),colorBgSolidHover:An(n,1),colorBgSolidActive:An(n,.9),colorBgElevated:zl(r,12),colorBgContainer:zl(r,8),colorBgLayout:zl(r,0),colorBgSpotlight:zl(r,26),colorBgBlur:An(n,.04),colorBorder:zl(r,26),colorBorderSecondary:zl(r,19)}};var hV=(e,t)=>{let r=Object.keys(Wc).map(o=>{let a=nn(e[o],{theme:"dark"});return new Array(10).fill(1).reduce((i,l,s)=>(i[`${o}-${s+1}`]=a[s],i[`${o}${s+1}`]=a[s],i),{})}).reduce((o,a)=>(o=Object.assign(Object.assign({},o),a),o),{}),n=t??Eo(e);return Object.assign(Object.assign(Object.assign({},n),r),qc(e,{generateColorPalettes:GM,generateNeutralColorPalettes:qM}))},XM=hV;function yV(){let[e,t,r]=Xt();return{theme:e,token:t,hashId:r}}var kS={defaultSeed:gi.token,useToken:yV,defaultAlgorithm:Eo,darkAlgorithm:XM,compactAlgorithm:KM,getDesignToken:UM,defaultConfig:gi,_internalContext:vl};var Jg=R(P());var je=R(P());var Sk=R(re());var Fn=R(P());var rk=R(re());var xV=(e,t,r,n)=>{let{titleMarginBottom:o,fontWeightStrong:a}=n;return{marginBottom:o,color:r,fontWeight:a,fontSize:e,lineHeight:t}},QM=e=>{let t=[1,2,3,4,5],r={};return t.forEach(n=>{r[` h${n}&, div&-h${n}, div&-h${n} > textarea, h${n} `]=xV(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),r},YM=e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},Cp(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},ZM=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:Vc[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}}),JM=e=>{let{componentCls:t,paddingSM:r}=e,n=r;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${j(n)})`},[`${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"}}}},ek=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),tk=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",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"}});var bV=e=>{let{componentCls:t,titleMarginTop:r}=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"}},QM(e)),{[` & + h1${t}, & + h2${t}, & + h3${t}, & + h4${t}, & + h5${t} `]:{marginTop:r},"\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:r}}}),ZM(e)),YM(e)),{[` ${t}-expand, ${t}-collapse, ${t}-edit, ${t}-copy `]:Object.assign(Object.assign({},Cp(e)),{marginInlineStart:e.marginXXS})}),JM(e)),ek(e)),tk()),{"&-rtl":{direction:"rtl"}})}},CV=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),Kg=Tt("Typography",e=>[bV(e)],CV);var SV=e=>{let{prefixCls:t,"aria-label":r,className:n,style:o,direction:a,maxLength:i,autoSize:l=!0,value:s,onSave:u,onCancel:c,onEnd:f,component:d,enterIcon:v=Fn.createElement(LM,null)}=e,y=Fn.useRef(null),h=Fn.useRef(!1),x=Fn.useRef(),[p,m]=Fn.useState(s);Fn.useEffect(()=>{m(s)},[s]),Fn.useEffect(()=>{var M;if(!((M=y.current)===null||M===void 0)&&M.resizableTextArea){let{textArea:L}=y.current.resizableTextArea;L.focus();let{length:D}=L.value;L.setSelectionRange(D,D)}},[]);let g=M=>{let{target:L}=M;m(L.value.replace(/[\n\r]/g,""))},b=()=>{h.current=!0},C=()=>{h.current=!1},S=M=>{let{keyCode:L}=M;h.current||(x.current=L)},E=()=>{u(p.trim())},w=M=>{let{keyCode:L,ctrlKey:D,altKey:F,metaKey:z,shiftKey:H}=M;x.current!==L||h.current||D||F||z||H||(L===lt.ENTER?(E(),f?.()):L===lt.ESC&&c())},O=()=>{E()},[_,N,I]=Kg(t),A=(0,rk.default)(t,`${t}-edit-content`,{[`${t}-rtl`]:a==="rtl",[`${t}-${d}`]:!!d},n,N,I);return _(Fn.createElement("div",{className:A,style:o},Fn.createElement(OM,{ref:y,maxLength:i,value:p,onChange:g,onKeyDown:S,onKeyUp:w,onCompositionStart:b,onCompositionEnd:C,onBlur:O,"aria-label":r,rows:1,autoSize:l}),v!==null?Ro(v,{className:`${t}-edit-content-confirm`}):null))},nk=SV;var jl=R(P()),uk=R(sk());var _V=function(e,t,r,n){function o(a){return a instanceof r?a:new r(function(i){i(a)})}return new(r||(r=Promise))(function(a,i){function l(c){try{u(n.next(c))}catch(f){i(f)}}function s(c){try{u(n.throw(c))}catch(f){i(f)}}function u(c){c.done?a(c.value):o(c.value).then(l,s)}u((n=n.apply(e,t||[])).next())})},TV=e=>{let{copyConfig:t,children:r}=e,[n,o]=jl.useState(!1),[a,i]=jl.useState(!1),l=jl.useRef(null),s=()=>{l.current&&clearTimeout(l.current)},u={};t.format&&(u.format=t.format),jl.useEffect(()=>s,[]);let c=pt(f=>_V(void 0,void 0,void 0,function*(){var d;f?.preventDefault(),f?.stopPropagation(),i(!0);try{let v=typeof t.text=="function"?yield t.text():t.text;(0,uk.default)(v||_S(r,!0).join("")||"",u),i(!1),o(!0),s(),l.current=setTimeout(()=>{o(!1)},3e3),(d=t.onCopy)===null||d===void 0||d.call(t,f)}catch(v){throw i(!1),v}}));return{copied:n,copyLoading:a,onClick:c}},ck=TV;var fk=R(P());function kf(e,t){return fk.useMemo(()=>{let r=!!e;return[r,Object.assign(Object.assign({},t),r&&typeof e=="object"?e:null)]},[e])}var Gg=R(P()),PV=e=>{let t=(0,Gg.useRef)();return(0,Gg.useEffect)(()=>{t.current=e}),t.current},dk=PV;var qg=R(P()),$V=(e,t,r)=>(0,qg.useMemo)(()=>e===!0?{title:t??r}:(0,qg.isValidElement)(e)?{title:e}:typeof e=="object"?Object.assign({title:t??r},e):{title:e},[e,t,r]),mk=$V;var Nu=R(P()),pk=R(re());var NV=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{prefixCls:r,component:n="article",className:o,rootClassName:a,setContentRef:i,children:l,direction:s,style:u}=e,c=NV(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:d,typography:v}=Nu.useContext(de),y=s??d,h=i?Hr(t,i):t,x=f("typography",r),[p,m,g]=Kg(x),b=(0,pk.default)(x,v?.className,{[`${x}-rtl`]:y==="rtl"},o,a,m,g),C=Object.assign(Object.assign({},v?.style),u);return p(Nu.createElement(n,Object.assign({className:b,style:C,ref:h},c),l))}),Xg=IV;var Iu=R(P());var gk=R(re());function AS(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function Qg(e,t,r){return e===!0||e===void 0?t:e||r&&t}function vk(e){let t=document.createElement("em");e.appendChild(t);let r=e.getBoundingClientRect(),n=t.getBoundingClientRect();return e.removeChild(t),r.left>n.left||n.right>r.right||r.top>n.top||n.bottom>r.bottom}var Af=e=>["string","number"].includes(typeof e);var MV=e=>{let{prefixCls:t,copied:r,locale:n,iconOnly:o,tooltips:a,icon:i,tabIndex:l,onCopy:s,loading:u}=e,c=AS(a),f=AS(i),{copied:d,copy:v}=n??{},y=r?d:v,h=Qg(c[r?1:0],y),x=typeof h=="string"?h:y;return Iu.createElement(gu,{title:h},Iu.createElement("button",{type:"button",className:(0,gk.default)(`${t}-copy`,{[`${t}-copy-success`]:r,[`${t}-copy-icon-only`]:o}),onClick:s,"aria-label":x,tabIndex:l},r?Qg(f[1],Iu.createElement(gN,null),!0):Qg(f[0],u?Iu.createElement(Yp,null):Iu.createElement(MM,null),!0)))},hk=MV;var Je=R(P());var Yg=Je.forwardRef((e,t)=>{let{style:r,children:n}=e,o=Je.useRef(null);return Je.useImperativeHandle(t,()=>({isExceed:()=>{let a=o.current;return a.scrollHeight>a.clientHeight},getHeight:()=>o.current.clientHeight})),Je.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)"},r)},n)}),kV=e=>e.reduce((t,r)=>t+(Af(r)?String(r).length:1),0);function yk(e,t){let r=0,n=[];for(let o=0;ot){let u=t-r;return n.push(String(a).slice(0,u)),n}n.push(a),r=s}return e}var FS=0,LS=1,DS=2,zS=3,xk=4,Zg={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function jS(e){let{enableMeasure:t,width:r,text:n,children:o,rows:a,expanded:i,miscDeps:l,onEllipsis:s}=e,u=Je.useMemo(()=>Wt(n),[n]),c=Je.useMemo(()=>kV(u),[n]),f=Je.useMemo(()=>o(u,!1),[n]),[d,v]=Je.useState(null),y=Je.useRef(null),h=Je.useRef(null),x=Je.useRef(null),p=Je.useRef(null),m=Je.useRef(null),[g,b]=Je.useState(!1),[C,S]=Je.useState(FS),[E,w]=Je.useState(0),[O,_]=Je.useState(null);tt(()=>{S(t&&r&&c?LS:FS)},[r,n,a,t,u]),tt(()=>{var M,L,D,F;if(C===LS){S(DS);let z=h.current&&getComputedStyle(h.current).whiteSpace;_(z)}else if(C===DS){let z=!!(!((M=x.current)===null||M===void 0)&&M.isExceed());S(z?zS:xk),v(z?[0,c]:null),b(z);let H=((L=x.current)===null||L===void 0?void 0:L.getHeight())||0,V=a===1?0:((D=p.current)===null||D===void 0?void 0:D.getHeight())||0,q=((F=m.current)===null||F===void 0?void 0:F.getHeight())||0,B=Math.max(H,V+q);w(B+1),s(z)}},[C]);let N=d?Math.ceil((d[0]+d[1])/2):0;tt(()=>{var M;let[L,D]=d||[0,0];if(L!==D){let z=(((M=y.current)===null||M===void 0?void 0:M.getHeight())||0)>E,H=N;D-L===1&&(H=z?L:D),v(z?[L,H]:[H,D])}},[d,N]);let I=Je.useMemo(()=>{if(!t)return o(u,!1);if(C!==zS||!d||d[0]!==d[1]){let M=o(u,!1);return[xk,FS].includes(C)?M:Je.createElement("span",{style:Object.assign(Object.assign({},Zg),{WebkitLineClamp:a})},M)}return o(i?u:yk(u,d[0]),g)},[i,C,d,u].concat(Y(l))),A={width:r,margin:0,padding:0,whiteSpace:O==="nowrap"?"normal":"inherit"};return Je.createElement(Je.Fragment,null,I,C===DS&&Je.createElement(Je.Fragment,null,Je.createElement(Yg,{style:Object.assign(Object.assign(Object.assign({},A),Zg),{WebkitLineClamp:a}),ref:x},f),Je.createElement(Yg,{style:Object.assign(Object.assign(Object.assign({},A),Zg),{WebkitLineClamp:a-1}),ref:p},f),Je.createElement(Yg,{style:Object.assign(Object.assign(Object.assign({},A),Zg),{WebkitLineClamp:1}),ref:m},o([],!0))),C===zS&&d&&d[0]!==d[1]&&Je.createElement(Yg,{style:Object.assign(Object.assign({},A),{top:400}),ref:y},o(yk(u,N),!0)),C===LS&&Je.createElement("span",{style:{whiteSpace:"inherit"},ref:h}))}var bk=R(P());var AV=e=>{let{enableEllipsis:t,isEllipsis:r,children:n,tooltipProps:o}=e;return!o?.title||!t?n:bk.createElement(gu,Object.assign({open:r?void 0:!1},o),n)},Ck=AV;var FV=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r;let{prefixCls:n,className:o,style:a,type:i,disabled:l,children:s,ellipsis:u,editable:c,copyable:f,component:d,title:v}=e,y=FV(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:h,direction:x}=je.useContext(de),[p]=g_("Text"),m=je.useRef(null),g=je.useRef(null),b=h("typography",n),C=bt(y,["mark","code","delete","underline","strong","keyboard","italic"]),[S,E]=kf(c),[w,O]=At(!1,{value:E.editing}),{triggerType:_=["icon"]}=E,N=Q=>{var ue;Q&&((ue=E.onStart)===null||ue===void 0||ue.call(E)),O(Q)},I=dk(w);tt(()=>{var Q;!w&&I&&((Q=g.current)===null||Q===void 0||Q.focus())},[w]);let A=Q=>{Q?.preventDefault(),N(!0)},M=Q=>{var ue;(ue=E.onChange)===null||ue===void 0||ue.call(E,Q),N(!1)},L=()=>{var Q;(Q=E.onCancel)===null||Q===void 0||Q.call(E),N(!1)},[D,F]=kf(f),{copied:z,copyLoading:H,onClick:V}=ck({copyConfig:F,children:s}),[q,B]=je.useState(!1),[K,G]=je.useState(!1),[U,Z]=je.useState(!1),[ee,ce]=je.useState(!1),[oe,ie]=je.useState(!0),[ge,le]=kf(u,{expandable:!1,symbol:Q=>Q?p?.collapse:p?.expand}),[be,ne]=At(le.defaultExpanded||!1,{value:le.expanded}),me=ge&&(!be||le.expandable==="collapsible"),{rows:ye=1}=le,De=je.useMemo(()=>me&&(le.suffix!==void 0||le.onEllipsis||le.expandable||S||D),[me,le,S,D]);tt(()=>{ge&&!De&&(B(Lv("webkitLineClamp")),G(Lv("textOverflow")))},[De,ge]);let[Ce,ve]=je.useState(me),ze=je.useMemo(()=>De?!1:ye===1?K:q,[De,K,q]);tt(()=>{ve(ze&&me)},[ze,me]);let xe=me&&(Ce?ee:U),$e=me&&ye===1&&Ce,Se=me&&ye>1&&Ce,he=(Q,ue)=>{var it;ne(ue.expanded),(it=le.onExpand)===null||it===void 0||it.call(le,Q,ue)},[Me,Ae]=je.useState(0),rr=Q=>{let{offsetWidth:ue}=Q;Ae(ue)},Ge=Q=>{var ue;Z(Q),U!==Q&&((ue=le.onEllipsis)===null||ue===void 0||ue.call(le,Q))};je.useEffect(()=>{let Q=m.current;if(ge&&Ce&&Q){let ue=vk(Q);ee!==ue&&ce(ue)}},[ge,Ce,s,Se,oe,Me]),je.useEffect(()=>{let Q=m.current;if(typeof IntersectionObserver>"u"||!Q||!Ce||!me)return;let ue=new IntersectionObserver(()=>{ie(!!Q.offsetParent)});return ue.observe(Q),()=>{ue.disconnect()}},[Ce,me]);let Ve=mk(le.tooltip,E.text,s),et=je.useMemo(()=>{if(!(!ge||Ce))return[E.text,s,v,Ve.title].find(Af)},[ge,Ce,v,Ve.title,xe]);if(w)return je.createElement(nk,{value:(r=E.text)!==null&&r!==void 0?r:typeof s=="string"?s:"",onSave:M,onCancel:L,onEnd:E.onEnd,prefixCls:b,className:o,style:a,direction:x,component:d,maxLength:E.maxLength,autoSize:E.autoSize,enterIcon:E.enterIcon});let qe=()=>{let{expandable:Q,symbol:ue}=le;return Q?je.createElement("button",{type:"button",key:"expand",className:`${b}-${be?"collapse":"expand"}`,onClick:it=>he(it,{expanded:!be}),"aria-label":be?p.collapse:p?.expand},typeof ue=="function"?ue(be):ue):null},Ne=()=>{if(!S)return;let{icon:Q,tooltip:ue,tabIndex:it}=E,Fr=Wt(ue)[0]||p?.edit,Xr=typeof Fr=="string"?Fr:"";return _.includes("icon")?je.createElement(gu,{key:"edit",title:ue===!1?"":Fr},je.createElement("button",{type:"button",ref:g,className:`${b}-edit`,onClick:A,"aria-label":Xr,tabIndex:it},Q||je.createElement(AM,{role:"button"}))):null},Ee=()=>D?je.createElement(hk,Object.assign({key:"copy"},F,{prefixCls:b,copied:z,locale:p,onCopy:V,loading:H,iconOnly:s==null})):null,se=Q=>[Q&&qe(),Ne(),Ee()],Be=Q=>[Q&&!be&&je.createElement("span",{"aria-hidden":!0,key:"ellipsis"},DV),le.suffix,se(Q)];return je.createElement(Wr,{onResize:rr,disabled:!me},Q=>je.createElement(Ck,{tooltipProps:Ve,enableEllipsis:me,isEllipsis:xe},je.createElement(Xg,Object.assign({className:(0,Sk.default)({[`${b}-${i}`]:i,[`${b}-disabled`]:l,[`${b}-ellipsis`]:ge,[`${b}-ellipsis-single-line`]:$e,[`${b}-ellipsis-multiple-line`]:Se},o),prefixCls:n,style:Object.assign(Object.assign({},a),{WebkitLineClamp:Se?ye:void 0}),component:d,ref:Hr(Q,m,t),direction:x,onClick:_.includes("text")?A:void 0,"aria-label":et?.toString(),title:v},C),je.createElement(jS,{enableMeasure:me&&!Ce,text:s,rows:ye,width:Me,onEllipsis:Ge,expanded:be,miscDeps:[z,be,H,S,D,p]},(ue,it)=>LV(e,je.createElement(je.Fragment,null,ue.length>0&&it&&!be&&et?je.createElement("span",{key:"show-content","aria-hidden":!0},ue):ue,Be(it)))))))}),ji=zV;var jV=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{ellipsis:r,rel:n}=e,o=jV(e,["ellipsis","rel"]);let a=Object.assign(Object.assign({},o),{rel:n===void 0&&o.target==="_blank"?"noopener noreferrer":n});return delete a.navigate,Jg.createElement(ji,Object.assign({},a,{ref:t,ellipsis:!!r,component:"a"}))}),wk=BV;var eh=R(P());var VV=eh.forwardRef((e,t)=>eh.createElement(ji,Object.assign({ref:t},e,{component:"div"}))),Ek=VV;var Mu=R(P());var HV=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{ellipsis:r}=e,n=HV(e,["ellipsis"]);let o=Mu.useMemo(()=>r&&typeof r=="object"?bt(r,["expandable","rows"]):r,[r]);return Mu.createElement(ji,Object.assign({ref:t},n,{ellipsis:o,component:"span"}))},Rk=Mu.forwardRef(WV);var th=R(P());var UV=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{level:r=1}=e,n=UV(e,["level"]),o=KV.includes(r)?`h${r}`:"h1";return th.createElement(ji,Object.assign({ref:t},n,{component:o}))}),Ok=GV;var Ff=Xg;Ff.Text=Rk;Ff.Link=wk;Ff.Title=Ok;Ff.Paragraph=Ek;var BS=Ff;var Wk=R(Bk(),1);var{Text:Hf,Paragraph:Uk}=BS;function yH(e,t){if(!e||!window.speechSynthesis)return;window.speechSynthesis.cancel();let r=new SpeechSynthesisUtterance(e);r.lang=t,r.rate=t.startsWith("de")?.85:.95,window.speechSynthesis.speak(r)}function xH(e){return e.startsWith("de")?"Escuchar en alem\xE1n":"Escuchar gu\xEDa en espa\xF1ol"}function bH(e){return e.startsWith("de")?"DE":"ES"}function Vk({text:e,lang:t,label:r}){if(!e)return null;let n=r||xH(t);return Te.default.createElement(Vb,{size:"small",type:"default",icon:Te.default.createElement($S,null),onClick:()=>yH(e,t),"aria-label":n,title:n},bH(t))}function ku({kind:e,title:t,de:r,pron:n,es:o,answerEs:a}){let i=e==="formal";return Te.default.createElement(dS,{size:"small",className:i?"dialog-formal-card":"dialog-informal-card",title:Te.default.createElement(Pu,{size:6},Te.default.createElement(Ug,{color:i?"blue":"green"},i?"Sie":"du"),Te.default.createElement(Hf,{type:"secondary"},t))},Te.default.createElement(Uk,{className:"dialog-de-text",strong:!0},r),o?Te.default.createElement(Hf,{className:"dialog-answer-es"},o):null,n?Te.default.createElement(Hf,{className:"dialog-pron-text"},n):null,Te.default.createElement(Pu,{wrap:!0,size:8},Te.default.createElement(Vk,{text:r,lang:"de-DE"}),n?Te.default.createElement(Vk,{text:n,lang:"es-ES"}):null))}function CH({item:e,index:t}){let r=e.question_informal||"",n=e.question_formal||r,o=e.answer_informal||"",a=e.answer_formal||o,i=o===a;return Te.default.createElement("div",null,!!(r||n)?Te.default.createElement(Te.default.Fragment,null,Te.default.createElement("div",{className:"dialog-panel-label"},Te.default.createElement(PS,null)," Pregunta en alem","\xE1","n"),Te.default.createElement(Vg,{gutter:[12,12]},r===n?Te.default.createElement(Di,{span:24},Te.default.createElement(ku,{kind:"informal",title:"du / Sie",de:r,pron:e.question_informal_pron})):Te.default.createElement(Te.default.Fragment,null,Te.default.createElement(Di,{xs:24,md:12},Te.default.createElement(ku,{kind:"informal",title:"Informal",de:r,pron:e.question_informal_pron})),Te.default.createElement(Di,{xs:24,md:12},Te.default.createElement(ku,{kind:"formal",title:"Formal",de:n,pron:e.question_formal_pron})))),Te.default.createElement(gS,{style:{margin:"16px 0"}})):null,Te.default.createElement("div",{className:"dialog-panel-label"},Te.default.createElement(TS,null)," Respuesta en alem","\xE1","n"),Te.default.createElement(Vg,{gutter:[12,12]},i?Te.default.createElement(Di,{span:24},Te.default.createElement(ku,{kind:"informal",title:"du / Sie",de:o,pron:e.answer_informal_pron,es:e.answer_es})):Te.default.createElement(Te.default.Fragment,null,Te.default.createElement(Di,{xs:24,md:12},Te.default.createElement(ku,{kind:"informal",title:"Informal",de:o,pron:e.answer_informal_pron,es:e.answer_es_informal||e.answer_es})),Te.default.createElement(Di,{xs:24,md:12},Te.default.createElement(ku,{kind:"formal",title:"Formal",de:a,pron:e.answer_formal_pron,es:e.answer_es_formal||e.answer_es})))),e.tip?Te.default.createElement(Uk,{className:"dialog-tip"},e.tip):null)}function SH({items:e}){let t=e.map((r,n)=>({key:String(n),label:Te.default.createElement(Pu,{direction:"vertical",size:2,style:{width:"100%"}},Te.default.createElement(Pu,{wrap:!0,size:8},Te.default.createElement(Ug,{color:"gold",style:{color:"#614700",borderColor:"#ffe58f"}},"ES"),Te.default.createElement(Hf,{strong:!0,style:{fontSize:16}},r.es)),r.question_informal?Te.default.createElement(Hf,{type:"secondary",style:{fontSize:13}},r.question_informal,r.question_formal&&r.question_formal!==r.question_informal?` / ${r.question_formal}`:""):null),children:Te.default.createElement(CH,{item:r,index:n})}));return Te.default.createElement(rb,{locale:Wk.default,theme:{algorithm:kS.defaultAlgorithm,token:{colorPrimary:"#cf1322",colorInfo:"#1677ff",colorSuccess:"#389e0d",borderRadius:10,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'}}},Te.default.createElement(kb,{accordion:!1,expandIconPosition:"end",items:t,defaultActiveKey:[]}))}function wH(){let e=document.getElementById("vocab-dialog-root"),t=document.getElementById("vocab-dialog-data");if(!e||!t)return;let r=[];try{r=JSON.parse(t.textContent||"[]")}catch(n){console.error("vocab-dialog: invalid JSON",n),e.innerHTML='

Error cargando di\xE1logos.

';return}if(r.length)try{(0,Hk.createRoot)(e).render(Te.default.createElement(SH,{items:r}))}catch(n){console.error("vocab-dialog: render failed",n),e.innerHTML='

Error al mostrar di\xE1logos. Recarga la p\xE1gina.

'}}wH(); /*! Bundled license information: react/cjs/react.production.min.js: (** * @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. *) scheduler/cjs/scheduler.production.min.js: (** * @license React * scheduler.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. *) react-dom/cjs/react-dom.production.min.js: (** * @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. *) classnames/index.js: (*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames *) react-is/cjs/react-is.production.min.js: (** * @license React * react-is.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. *) @babel/runtime/helpers/esm/regenerator.js: (*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE *) */