diff --git a/javascript/main.js b/javascript/main.js index eb2372a..ddb5692 100644 --- a/javascript/main.js +++ b/javascript/main.js @@ -1,9 +1,9 @@ -function e(e,t){for(var n=0;nr[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t,n){this.props=e,this.context=t,this.refs=yb,this.updater=n||_b}function r(){}function o(e,t,n){this.props=e,this.context=t,this.refs=yb,this.updater=n||_b}function i(e,t,n){var r,o,i,a,s={},l=null,c=null;if(null!=t)for(r in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(l=""+t.key),t)xb.call(t,r)&&!Sb.hasOwnProperty(r)&&(s[r]=t[r]);if(1==(o=arguments.length-2))s.children=n;else if(1t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!qb.call(Yb,e)||!qb.call(Kb,e)&&(Xb.test(e)?Yb[e]=!0:(Kb[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function _(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=m_&&e[m_]||e["@@iterator"])?e:null}function v(e){if(void 0===h_)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);h_=t&&t[1]||""}return"\n"+h_+e}function y(e,t){var n,r,o,i,a,s,l;if(!e||g_)return"";g_=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return l="\n"+o[a].replace(" at new "," at "),e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{g_=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?v(e):""}function w(e){switch(e.tag){case 5:return v(e.type);case 16:return v("Lazy");case 13:return v("Suspense");case 19:return v("SuspenseList");case 0:case 2:case 15:return y(e.type,!1);case 11:return y(e.type.render,!1);case 1:return y(e.type,!0);default:return""}}function k(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case n_:return"Fragment";case t_:return"Portal";case o_:return"Profiler";case r_:return"StrictMode";case l_:return"Suspense";case c_:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case a_:return(e.displayName||"Context")+".Consumer";case i_:return(e._context.displayName||"Context")+".Provider";case s_:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case u_:return null!==(t=e.displayName||null)?t:k(e.type)||"Memo";case d_:t=e._payload,e=e._init;try{return k(e(t))}catch(n){}}return null}function x(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=(e=t.render).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 k(t);case 8:return t===r_?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function E(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function S(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function O(e){e._valueTracker||(e._valueTracker=function(e){var t,n,r=S(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),i=""+e[r];if(!e.hasOwnProperty(r)&&void 0!==o&&"function"==typeof o.get&&"function"==typeof o.set)return t=o.get,n=o.set,Object.defineProperty(e,r,{configurable:!0,get:function(){return t.call(this)},set:function(e){i=""+e,n.call(this,e)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return i},setValue:function(e){i=""+e},stopTracking:function(){e._valueTracker=null,delete e[r]}}}(e))}function D(e){var t,n,r;return!(!e||(t=e._valueTracker)&&(n=t.getValue(),r="",e&&(r=S(e)?e.checked?"true":"false":e.value),(e=r)===n||(t.setValue(e),0)))}function C(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function T(e,t){var n=t.checked;return f_({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function N(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=E(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function R(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function I(e,t){R(e,t);var n=E(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?$(e,t.type,n):t.hasOwnProperty("defaultValue")&&$(e,t.type,E(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function A(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&null==t.value)return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function $(e,t,n){"number"===t&&C(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function j(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o=(o=t&-t)||16===r&&0!=(4194240&o)))return t;if(0!=(4&n)&&(n|=16&s),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0n;n++)t.push(e);return t}function fe(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-X_(t)]=n}function he(e,t){var n,r,o=e.entangledLanes|=t;for(e=e.entanglements;o;)(r=1<<(n=31-X_(o)))&t|e[n]&t&&(e[n]|=t),o&=~r}function ge(e){return 1<(e&=-e)?4=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=Je(r)}}function Ze(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ze(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function et(){var e,t,n;for(e=window,t=C();t instanceof e.HTMLIFrameElement;){try{n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=C((e=t.contentWindow).document)}return t}function tt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function nt(e){var t,n,r,o=et(),i=e.focusedElem,a=e.selectionRange;if(o!==i&&i&&i.ownerDocument&&Ze(i.ownerDocument.documentElement,i)){null!==a&&tt(i)&&(o=a.start,void 0===(e=a.end)&&(e=o),"selectionStart"in i?(i.selectionStart=o,i.selectionEnd=Math.min(e,i.value.length)):(e=(o=i.ownerDocument||document)&&o.defaultView||window).getSelection&&(e=e.getSelection(),t=i.textContent.length,n=Math.min(a.start,t),a=void 0===a.end?n:Math.min(a.end,t),!e.extend&&n>a&&(t=a,a=n,n=t),t=Qe(i,n),r=Qe(i,a),t&&r&&(1!==e.rangeCount||e.anchorNode!==t.node||e.anchorOffset!==t.offset||e.focusNode!==r.node||e.focusOffset!==r.offset)&&((o=o.createRange()).setStart(t.node,t.offset),e.removeAllRanges(),n>a?(e.addRange(o),e.extend(r.node,r.offset)):(o.setEnd(r.node,r.offset),e.addRange(o))))),o=[];for(e=i;e=e.parentNode;)1===e.nodeType&&o.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof i.focus&&i.focus(),i=0;iKy||(e.current=Xy[Ky],Xy[Ky]=null,Ky--)}function It(e,t){Ky++,Xy[Ky]=e.current,e.current=t}function At(e,t){var n,r,o,i=e.type.contextTypes;if(!i)return Yy;if((n=e.stateNode)&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;for(o in r={},i)r[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function $t(e){return null!=e.childContextTypes}function jt(){Rt(Qy),Rt(Jy)}function Pt(e,t,n){if(Jy.current!==Yy)throw Error(p(168));It(Jy,t),It(Qy,n)}function Mt(e,t,n){var r,o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return n;for(r in o=o.getChildContext())if(!(r in t))throw Error(p(108,x(e)||"Unknown",r));return f_({},n,o)}function Lt(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yy,Zy=Jy.current,It(Jy,e),It(Qy,Qy.current),!0}function Ft(e,t,n){var r=e.stateNode;if(!r)throw Error(p(169));n?(e=Mt(e,t,Zy),r.__reactInternalMemoizedMergedChildContext=e,Rt(Qy),Rt(Jy),It(Jy,e)):Rt(Qy),It(Qy,n)}function Bt(e){null===ew?ew=[e]:ew.push(e)}function Ht(){var e,t,n,r;if(!nw&&null!==ew){nw=!0,e=0,t=Z_;try{for(n=ew,Z_=1;e>=a,o-=a,uw=1<<32-X_(t)+o|n<h?(g=p,p=null):g=p.sibling,null===(b=m(o,p,s[h],l))){null===p&&(p=g);break}e&&p&&null===b.alternate&&t(o,p),a=i(b,a,h),null===u?c=b:u.sibling=b,u=b,p=g}if(h===s.length)return n(o,p),fw&&Ut(o,h),c;if(null===p){for(;hh?(g=u,u=null):g=u.sibling,null===(v=m(o,u,b.value,l))){null===u&&(u=g);break}e&&u&&null===v.alternate&&t(o,u),a=i(v,a,h),null===c?y=v:c.sibling=v,c=v,u=g}if(b.done)return n(o,u),fw&&Ut(o,h),y;if(null===u){for(;!b.done;h++,b=s.next())null!==(b=d(o,b.value,l))&&(a=i(b,a,h),null===c?y=b:c.sibling=b,c=b);return fw&&Ut(o,h),y}for(u=r(o,u);!b.done;h++,b=s.next())null!==(b=f(u,o,h,b.value,l))&&(e&&null!==b.alternate&&u.delete(null===b.key?h:b.key),a=i(b,a,h),null===c?y=b:c.sibling=b,c=b);return e&&u.forEach((function(e){return t(o,e)})),fw&&Ut(o,h),y}(l,c,u,h);Sn(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u?(u=""+u,null!==c&&6===c.tag?(n(l,c.sibling),(c=o(c,u)).return=l,l=c):(n(l,c),(c=ti(u,l.mode,h)).return=l,l=c),a(l)):n(l,c)}}function Cn(e){if(e===Dw)throw Error(p(174));return e}function Tn(e,t){switch(It(Nw,t),It(Tw,e),It(Cw,Dw),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:H(null,"");break;default:t=H(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Rt(Cw),It(Cw,t)}function Nn(){Rt(Cw),Rt(Tw),Rt(Nw)}function Rn(e){var t,n;Cn(Nw.current),(t=Cn(Cw.current))!==(n=H(t,e.type))&&(It(Tw,e),It(Cw,n))}function In(e){Tw.current===e&&(Rt(Cw),Rt(Tw))}function An(e){var t,n;for(t=e;null!==t;){if(13===t.tag){if(null!==(n=t.memoizedState)&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function $n(){for(var e=0;er?r:4,e(!0),n=$w.transition,$w.transition={};try{e(!1),t()}finally{Z_=r,$w.transition=n}}function mr(){return Bn().memoizedState}function fr(e,t,n){var r=vo(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},gr(e)?br(t,n):null!==(n=cn(e,t,n,r))&&(yo(n,e,r,_o()),_r(n,t,r))}function hr(e,t,n){var r,o,i,a,s=vo(e),l={lane:s,action:n,hasEagerState:!1,eagerState:null,next:null};if(gr(e))br(t,l);else{if(r=e.alternate,0===e.lanes&&(null===r||0===r.lanes)&&null!==(r=t.lastRenderedReducer))try{if(i=r(o=t.lastRenderedState,n),l.hasEagerState=!0,l.eagerState=i,my(i,o))return null===(a=t.interleaved)?(l.next=l,ln(t)):(l.next=a.next,a.next=l),void(t.interleaved=l)}catch(c){}null!==(n=cn(e,t,l,s))&&(yo(n,e,s,l=_o()),_r(n,t,s))}}function gr(e){var t=e.alternate;return e===Pw||null!==t&&t===Pw}function br(e,t){Bw=Fw=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _r(e,t,n){if(0!=(4194240&n)){var r=t.lanes;t.lanes=n|=r&=e.pendingLanes,he(e,n)}}function vr(e,t){var n,r,o;try{n="",r=t;do{n+=w(r),r=r.return}while(r);o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function yr(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function wr(e,t,n){(n=mn(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ck||(Ck=!0,Tk=r)},n}function kr(e,t,n){var r,o,i;return(n=mn(-1,n)).tag=3,"function"==typeof(r=e.type.getDerivedStateFromError)&&(o=t.value,n.payload=function(){return r(o)},n.callback=function(){}),null!==(i=e.stateNode)&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Nk?Nk=new Set([this]):Nk.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function xr(e,t,n){var r,o=e.pingCache;null===o?(o=e.pingCache=new qw).set(t,r=new Set):void 0===(r=o.get(t))&&o.set(t,r=new Set),r.has(n)||(r.add(n),e=zo.bind(null,e,t,n),t.then(e,e))}function Er(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function Sr(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=mn(-1,1)).tag=2,fn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}function Or(e,t,n,r){t.child=null===e?Ow(t,null,n,r):Sw(t,e.child,n,r)}function Dr(e,t,n,r,o){n=n.render;var i=t.ref;return an(t,o),r=Mn(e,t,n,r,i,o),n=Ln(),null===e||Kw?(fw&&n&&Gt(t),t.flags|=1,Or(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Wr(e,t,o))}function Cr(e,t,n,r,o){var i;return null===e?"function"!=typeof(i=n.type)||Yo(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Qo(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Tr(e,t,i,r,o)):(i=e.child,0==(e.lanes&o)&&(n=null!==(n=n.compare)?n:Ye)(i.memoizedProps,r)&&e.ref===t.ref?Wr(e,t,o):(t.flags|=1,(e=Jo(i,r)).ref=t.ref,e.return=t,t.child=e))}function Tr(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(Ye(i,r)&&e.ref===t.ref){if(Kw=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,Wr(e,t,o);0!=(131072&e.flags)&&(Kw=!0)}}return Ir(e,t,n,r,o)}function Nr(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},It(bk,gk),gk|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,It(bk,gk),gk|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,It(bk,gk),gk|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,It(bk,gk),gk|=r;return Or(e,t,o,n),t.child}function Rr(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ir(e,t,n,r,o){var i=$t(n)?Zy:Jy.current;return i=At(t,i),an(t,o),n=Mn(e,t,n,r,i,o),r=Ln(),null===e||Kw?(fw&&r&&Gt(t),t.flags|=1,Or(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Wr(e,t,o))}function Ar(e,t,n,r,o){var i,a,s,l,c,u,d,p,m,f;return $t(n)?(i=!0,Lt(t)):i=!1,an(t,o),null===t.stateNode?(Gr(e,t),wn(t,n,r),xn(t,n,r,o),r=!0):null===e?((a=t.stateNode).props=s=t.memoizedProps,l=a.context,c="object"==typeof(c=n.contextType)&&null!==c?sn(c):At(t,c=$t(n)?Zy:Jy.current),(d="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&kn(t,a,r,c),kw=!1,a.state=p=t.memoizedState,bn(t,r,a,o),l=t.memoizedState,s!==r||p!==l||Qy.current||kw?("function"==typeof u&&(vn(t,n,u,r),l=t.memoizedState),(s=kw||yn(t,n,s,r,p,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)):(a=t.stateNode,pn(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:tn(t.type,s),a.props=c,d=t.pendingProps,p=a.context,l="object"==typeof(l=n.contextType)&&null!==l?sn(l):At(t,l=$t(n)?Zy:Jy.current),(u="function"==typeof(m=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==l)&&kn(t,a,r,l),kw=!1,a.state=p=t.memoizedState,bn(t,r,a,o),f=t.memoizedState,s!==d||p!==f||Qy.current||kw?("function"==typeof m&&(vn(t,n,m,r),f=t.memoizedState),(c=kw||yn(t,n,c,r,p,f,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)),$r(e,t,n,r,i,o)}function $r(e,t,n,r,o,i){var a,s;return Rr(e,t),a=0!=(128&t.flags),r||a?(r=t.stateNode,Xw.current=t,s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render(),t.flags|=1,null!==e&&a?(t.child=Sw(t,e.child,null,i),t.child=Sw(t,null,s,i)):Or(e,t,s,i),t.memoizedState=r.state,o&&Ft(t,n,!0),t.child):(o&&Ft(t,n,!1),Wr(e,t,i))}function jr(e){var t=e.stateNode;t.pendingContext?Pt(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Pt(0,t.context,!1),Tn(e,t.containerInfo)}function Pr(e,t,n,r,o){return Zt(),en(o),t.flags|=256,Or(e,t,n,r),t.child}function Mr(e){return{baseLanes:e,cachePool:null,transitions:null}}function Lr(e,t,n){var r,o,i=t.pendingProps,a=Rw.current,s=!1,l=0!=(128&t.flags);return(r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),It(Rw,1&a),null===e?(Kt(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(t.lanes=0==(1&t.mode)?1:"$!"===e.data?8:1073741824,null):(l=i.children,e=i.fallback,s?(s=t.child,l={mode:"hidden",children:l},0==(1&(i=t.mode))&&null!==s?(s.childLanes=0,s.pendingProps=l):s=ei(l,i,0,null),e=Zo(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Mr(n),t.memoizedState=Yw,e):Fr(t,l))):null!==(a=e.memoizedState)&&null!==(r=a.dehydrated)?function(e,t,n,r,o,i,a){if(n)return 256&t.flags?(t.flags&=-257,Br(e,t,a,r=yr(Error(p(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,r=ei({mode:"visible",children:r.children},o=t.mode,0,null),(i=Zo(i,o,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Sw(t,e.child,null,a),t.child.memoizedState=Mr(a),t.memoizedState=Yw,i);if(0==(1&t.mode))return Br(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Br(e,t,a,r=yr(i=Error(p(419)),r,void 0))}if(s=0!=(a&e.childLanes),Kw||s){if(null!==(r=mk)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|a))?0:o)&&o!==i.retryLane&&(i.retryLane=o,un(e,o),yo(r,e,o,-1))}return Ao(),Br(e,t,a,r=yr(Error(p(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Wo.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,mw=Et(o.nextSibling),pw=t,fw=!0,hw=null,null!==e&&(sw[lw++]=uw,sw[lw++]=dw,sw[lw++]=cw,uw=e.id,dw=e.overflow,cw=t),(t=Fr(t,r.children)).flags|=4096,t)}(e,t,l,i,r,a,n):s?(s=i.fallback,r=(a=e.child).sibling,o={mode:"hidden",children:i.children},0==(1&(l=t.mode))&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=o,t.deletions=null):(i=Jo(a,o)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Jo(r,s):(s=Zo(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Mr(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Yw,i):(e=(s=e.child).sibling,i=Jo(s,{mode:"visible",children:i.children}),0==(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i)}function Fr(e,t){return(t=ei({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Br(e,t,n,r){return null!==r&&en(r),Sw(t,e.child,null,n),(e=Fr(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hr(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),on(e.return,t,n)}function Ur(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function zr(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Or(e,t,r.children,n),0!=(2&(r=Rw.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Hr(e,n,t);else if(19===e.tag)Hr(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(It(Rw,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===An(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ur(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===An(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ur(t,!0,n,null,i);break;case"together":Ur(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Gr(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wr(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),yk|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(p(153));if(null!==t.child){for(n=Jo(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Jo(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vr(e,t){var n,r;if(!fw)switch(e.tailMode){case"hidden":for(t=e.tail,n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":for(n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qr(e){var t,n=null!==e.alternate&&e.alternate.child===e.child,r=0,o=0;if(n)for(t=e.child;null!==t;)r|=t.lanes|t.childLanes,o|=14680064&t.subtreeFlags,o|=14680064&t.flags,t.return=e,t=t.sibling;else for(t=e.child;null!==t;)r|=t.lanes|t.childLanes,o|=t.subtreeFlags,o|=t.flags,t.return=e,t=t.sibling;return e.subtreeFlags|=o,e.childLanes=r,n}function Xr(e,t,n){var r,o,i,a,s,l=t.pendingProps;switch(Wt(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qr(t),null;case 1:case 17:return $t(t.type)&&jt(),qr(t),null;case 3:return l=t.stateNode,Nn(),Rt(Qy),Rt(Jy),$n(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==e&&null!==e.child||(Jt(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==hw&&(Eo(hw),hw=null))),Qw(e,t),qr(t),null;case 5:if(In(t),r=Cn(Nw.current),n=t.type,null!==e&&null!=t.stateNode)Zw(e,t,n,l,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!l){if(null===t.stateNode)throw Error(p(166));return qr(t),null}if(e=Cn(Cw.current),Jt(t)){switch(n=t.type,o=t.memoizedProps,(l=t.stateNode)[Uy]=t,l[zy]=o,e=0!=(1&t.mode),n){case"dialog":ct("cancel",l),ct("close",l);break;case"iframe":case"object":case"embed":ct("load",l);break;case"video":case"audio":for(r=0;r<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof l.is?e=i.createElement(n,{is:l.is}):(e=i.createElement(n),"select"===n&&(i=e,l.multiple?i.multiple=!0:l.size&&(i.size=l.size))):e=i.createElementNS(e,n),e[Uy]=t,e[zy]=l,Jw(e,t,!1,!1),t.stateNode=e;e:{switch(i=V(n,l),n){case"dialog":ct("cancel",e),ct("close",e),r=l;break;case"iframe":case"object":case"embed":ct("load",e),r=l;break;case"video":case"audio":for(r=0;rOk&&(t.flags|=128,l=!0,Vr(o,!1),t.lanes=4194304)}else{if(!l)if(null!==(e=An(i))){if(t.flags|=128,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!fw)return qr(t),null}else 2*F_()-o.renderingStartTime>Ok&&1073741824!==n&&(t.flags|=128,l=!0,Vr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=o.last)?n.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(o.rendering=t=o.tail,o.tail=t.sibling,o.renderingStartTime=F_(),t.sibling=null,n=Rw.current,It(Rw,l?1&n|2:1&n),t):(qr(t),null);case 22:case 23:return To(),l=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==l&&(t.flags|=8192),l&&0!=(1&t.mode)?0!=(1073741824&gk)&&(qr(t),6&t.subtreeFlags&&(t.flags|=8192)):qr(t),null;case 24:case 25:return null}throw Error(p(156,t.tag))}function Kr(e,t){switch(Wt(t),t.tag){case 1:return $t(t.type)&&jt(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Nn(),Rt(Qy),Rt(Jy),$n(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return In(t),null;case 13:if(Rt(Rw),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(p(340));Zt()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Rt(Rw),null;case 4:return Nn(),null;case 10:return rn(t.type._context),null;case 22:case 23:return To(),null;default:return null}}function Yr(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Uo(e,t,r)}else n.current=null}function Jr(e,t,n){try{n()}catch(r){Uo(e,t,r)}}function Qr(e,t,n){var r,o,i=t.updateQueue;if(null!==(i=null!==i?i.lastEffect:null)){r=i=i.next;do{(r.tag&e)===e&&(o=r.destroy,r.destroy=void 0,void 0!==o&&Jr(t,n,o)),r=r.next}while(r!==i)}}function Zr(e,t){var n;if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){n=t=t.next;do{(n.tag&e)===e&&(n.destroy=(0,n.create)()),n=n.next}while(n!==t)}}function eo(e){var t=e.ref;null!==t&&(e=e.stateNode,"function"==typeof t?t(e):t.current=e)}function to(e){var t=e.alternate;null!==t&&(e.alternate=null,to(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[Uy],delete t[zy],delete t[Wy],delete t[Vy],delete t[qy]),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 no(e){return 5===e.tag||3===e.tag||4===e.tag}function ro(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||no(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function oo(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=yt));else if(4!==r&&null!==(e=e.child))for(oo(e,t,n),e=e.sibling;null!==e;)oo(e,t,n),e=e.sibling}function io(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(io(e,t,n),e=e.sibling;null!==e;)io(e,t,n),e=e.sibling}function ao(e,t,n){for(n=n.child;null!==n;)so(e,t,n),n=n.sibling}function so(e,t,n){var r,o,i,a;if(q_&&"function"==typeof q_.onCommitFiberUnmount)try{q_.onCommitFiberUnmount(V_,n)}catch(s){}switch(n.tag){case 5:nk||Yr(n,t);case 6:r=ak,o=sk,ak=null,ao(e,t,n),sk=o,null!==(ak=r)&&(sk?(n=n.stateNode,8===(e=ak).nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ak.removeChild(n.stateNode));break;case 18:null!==ak&&(sk?(n=n.stateNode,8===(e=ak).nodeType?xt(e.parentNode,n):1===e.nodeType&&xt(e,n),Ee(e)):xt(ak,n.stateNode));break;case 4:r=ak,o=sk,ak=n.stateNode.containerInfo,sk=!0,ao(e,t,n),ak=r,sk=o;break;case 0:case 11:case 14:case 15:if(!nk&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{a=(i=o).destroy,i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&Jr(n,t,a),o=o.next}while(o!==r)}ao(e,t,n);break;case 1:if(!nk&&(Yr(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Uo(n,t,s)}ao(e,t,n);break;case 21:ao(e,t,n);break;case 22:1&n.mode?(nk=(r=nk)||null!==n.memoizedState,ao(e,t,n),nk=r):ao(e,t,n);break;default:ao(e,t,n)}}function lo(e){var t,n=e.updateQueue;null!==n&&(e.updateQueue=null,null===(t=e.stateNode)&&(t=e.stateNode=new rk),n.forEach((function(n){var r=Vo.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))})))}function co(e,t){var n,r,o,i,a,s,l=t.deletions;if(null!==l)for(n=0;no&&(o=a),r&=~i;if(r=o,10<(r=(120>(r=F_()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*lk(r/1960))-r)){e.timeoutHandle=My(Fo.bind(null,e,Ek,Dk),r);break}Fo(e,Ek,Dk);break;default:throw Error(p(329))}}}return wo(e,F_()),e.callbackNode===n?ko.bind(null,e):null}function xo(e,t){var n=xk;return e.current.memoizedState.isDehydrated&&(No(e,t).flags|=256),2!==(e=$o(e,t))&&(t=Ek,Ek=n,null!==t&&Eo(t)),e}function Eo(e){null===Ek?Ek=e:Ek.push.apply(Ek,e)}function So(e,t){for(t&=~kk,e.suspendedLanes|=t&=~wk,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===Ik)r=!1;else{if(e=Ik,Ik=null,Ak=0,0!=(6&pk))throw Error(p(331));for(o=pk,pk|=4,ok=e.current;null!==ok;){if(a=(i=ok).child,0!=(16&ok.flags)&&null!==(s=i.deletions)){for(l=0;lF_()-Sk?No(e,0):kk|=n),wo(e,t)}function Go(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Q_,0==(130023424&(Q_<<=1))&&(Q_=4194304)));var n=_o();null!==(e=un(e,t))&&(fe(e,t,n),wo(e,n))}function Wo(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Go(e,n)}function Vo(e,t){var n,r,o=0;switch(e.tag){case 13:n=e.stateNode,null!==(r=e.memoizedState)&&(o=r.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(p(314))}null!==n&&n.delete(t),Go(e,o)}function qo(e,t){return j_(e,t)}function Xo(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ko(e,t,n,r){return new Xo(e,t,n,r)}function Yo(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Jo(e,t){var n=e.alternate;return null===n?((n=Ko(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qo(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Yo(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case n_:return Zo(n.children,o,i,t);case r_:a=8,o|=8;break;case o_:return(e=Ko(12,n,t,2|o)).elementType=o_,e.lanes=i,e;case l_:return(e=Ko(13,n,t,o)).elementType=l_,e.lanes=i,e;case c_:return(e=Ko(19,n,t,o)).elementType=c_,e.lanes=i,e;case p_:return ei(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case i_:a=10;break e;case a_:a=9;break e;case s_:a=11;break e;case u_:a=14;break e;case d_:a=16,r=null;break e}throw Error(p(130,null==e?e:typeof e,""))}return(t=Ko(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Zo(e,t,n,r){return(e=Ko(7,e,r,t)).lanes=n,e}function ei(e,t,n,r){return(e=Ko(22,e,r,t)).elementType=p_,e.lanes=n,e.stateNode={isHidden:!1},e}function ti(e,t,n){return(e=Ko(6,e,null,t)).lanes=n,e}function ni(e,t,n){return(t=Ko(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ri(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=me(0),this.expirationTimes=me(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=me(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function oi(e,t,n,r,o,i,a,s,l){return e=new ri(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Ko(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},dn(i),e}function ii(e){var t,n;if(!e)return Yy;e:{if(re(e=e._reactInternals)!==e||1!==e.tag)throw Error(p(170));t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if($t(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(p(171))}return 1===e.tag&&$t(n=e.type)?Mt(e,n,t):t}function ai(e,t,n,r,o,i,a,s,l){return(e=oi(n,r,!0,e,0,i,0,s,l)).context=ii(null),n=e.current,(i=mn(r=_o(),o=vo(n))).callback=null!=t?t:null,fn(n,i,o),e.current.lanes=o,fe(e,o,r),wo(e,r),e}function si(e,t,n,r){var o=t.current,i=_o(),a=vo(o);return n=ii(n),null===t.context?t.context=n:t.pendingContext=n,(t=mn(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=fn(o,t,a))&&(yo(e,o,a,i),hn(e,o,a)),a}function li(e){return(e=e.current).child?e.child.stateNode:null}function ci(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n=0||(n[o]=e[o]);return n}(e,t),Object.getOwnPropertySymbols)for(i=Object.getOwnPropertySymbols(e),o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r]);return n}function Oi(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Di(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ci(e,t){var n,r;for(n=0;n2||Gi(kE)>3?"":" "}function Ki(e,t){for(;--t&&Bi()&&!(kE<48||kE>102||kE>57&&kE<65||kE>70&&kE<97););return zi(e,Ui()+(t<6&&32==Hi()&&32==Bi()))}function Yi(e){for(;Bi();)switch(kE){case e:return wE;case 34:case 39:34!==e&&39!==e&&Yi(kE);break;case 40:41===e&&Yi(e);break;case 92:Bi()}return wE}function Ji(e,t){for(;Bi()&&e+kE!==57&&(e+kE!==84||47!==Hi()););return"/*"+zi(t,wE-1)+"*"+gE(47===e?e:Bi())}function Qi(e){for(;!Gi(Hi());)Bi();return zi(e,wE)}function Zi(e){return Vi(ea("",null,null,null,[""],e=Wi(e),0,[0],e))}function ea(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,m=0,f=0,h=1,g=1,b=1,_=0,v="",y=o,w=i,k=r,x=v;g;)switch(f=_,_=Bi()){case 40:if(108!=f&&58==Ai(x,d-1)){-1!=Ii(x+=Ri(qi(_),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:x+=qi(_);break;case 9:case 10:case 13:case 32:x+=Xi(f);break;case 92:x+=Ki(Ui()-1,7);continue;case 47:switch(Hi()){case 42:case 47:Mi(na(Ji(Bi(),Ui()),t,n),l);break;default:x+="/"}break;case 123*h:s[c++]=ji(x)*b;case 125*h:case 59:case 0:switch(_){case 0:case 125:g=0;case 59+u:-1==b&&(x=Ri(x,/\f/g,"")),m>0&&ji(x)-d&&Mi(m>32?ra(x+";",r,n,d-1):ra(Ri(x," ","")+";",r,n,d-2),l);break;case 59:x+=";";default:if(Mi(k=ta(x,t,n,c,u,o,s,v,y=[],w=[],d),i),123===_)if(0===u)ea(x,t,k,k,y,i,d,s,w);else switch(99===p&&110===Ai(x,3)?100:p){case 100:case 108:case 109:case 115:ea(e,k,k,r&&Mi(ta(e,k,k,0,0,o,s,v,o,y=[],d),w),o,w,d,s,r?y:w);break;default:ea(x,k,k,k,[""],w,0,s,w)}}c=u=m=0,h=b=1,v=x="",d=a;break;case 58:d=1+ji(x),m=f;default:if(h<1)if(123==_)--h;else if(125==_&&0==h++&&125==(kE=wE>0?Ai(xE,--wE):0,vE--,10===kE&&(vE=1,_E--),kE))continue;switch(x+=gE(_),_*h){case 38:b=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(ji(x)-1)*b,b=1;break;case 64:45===Hi()&&(x+=qi(Bi())),p=Hi(),u=d=ji(v=x+=Qi(Ui())),_++;break;case 45:45===f&&2==ji(x)&&(h=0)}}return i}function ta(e,t,n,r,o,i,a,s,l,c,u){var d,p,m,f,h,g,b=o-1,_=0===o?i:[""],v=Pi(_);for(d=0,p=0,m=0;d0?_[f]+" "+h:Ri(h,/&\f/g,_[f])))&&(l[m++]=g);return Li(e,t,n,0===o?uE:s,l,c,u)}function na(e,t,n){return Li(e,t,n,cE,gE(kE),$i(e,2,-2),0)}function ra(e,t,n,r){return Li(e,t,n,dE,$i(e,0,r),$i(e,r+1,-1),r)}function oa(e,t){var n,r="",o=Pi(e);for(n=0;n6)switch(Ai(e,t+1)){case 109:if(45!==Ai(e,t+4))break;case 102:return Ri(e,/(.+:)(.+)-([^]+)/,"$1"+lE+"$2-$3$1"+sE+(108==Ai(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ii(e,"stretch")?sa(Ri(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ai(e,t+1))break;case 6444:switch(Ai(e,ji(e)-3-(~Ii(e,"!important")&&10))){case 107:return Ri(e,":",":"+lE)+e;case 101:return Ri(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+lE+(45===Ai(e,14)?"inline-":"")+"box$3$1"+lE+"$2$3$1"+aE+"$2box$3")+e}break;case 5936:switch(Ai(e,t+11)){case 114:return lE+e+aE+Ri(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return lE+e+aE+Ri(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return lE+e+aE+Ri(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return lE+e+aE+e+e}return e}function la(e,t,n){var r,o,i,a;if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return HE={name:n.name,styles:n.styles,next:HE},n.name;if(void 0!==n.styles){if(void 0!==(r=n.next))for(;void 0!==r;)HE={name:r.name,styles:r.styles,next:HE},r=r.next;return n.styles+";"}return function(e,t,n){var r,o,i,a,s,l="";if(Array.isArray(n))for(r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}function Ea(e,t,n){var r=Nb.useRef({});return"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t),r.current.value}function Sa(){}function Oa(){}function Da(e,t,n){t||GS[n]||(e(!1,n),GS[n]=!0)}function Ca(e,t){Da(Sa,e,t)}function Ta(e,t,n){var r=arguments.length>2&&void 0!==n&&n,o=new Set;return function e(t,n,i){var a,s,l,c=arguments.length>2&&void 0!==i?i:1,u=o.has(t);if(Ca(!u,"Warning: There may be circular references"),u)return!1;if(t===n)return!0;if(r&&c>1)return!1;if(o.add(t),a=c+1,Array.isArray(t)){if(!Array.isArray(n)||t.length!==n.length)return!1;for(s=0;s0&&void 0!==e?e:{}).mark;return t?t.startsWith("data-")?t:"data-".concat(t):eO}function $a(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function ja(e){return Array.from((tO.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function Pa(e,t){var n,r,o,i,a,s,l,c,u,d,p=arguments.length>1&&void 0!==t?t:{};if(!Ra())return null;if(n=p.csp,i=void 0===(o=p.priority)?0:o,s="prependQueue"===(a=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r=p.prepend)),(l=document.createElement("style")).setAttribute(QS,a),s&&i&&l.setAttribute(ZS,"".concat(i)),null!=n&&n.nonce&&(l.nonce=null==n?void 0:n.nonce),l.innerHTML=e,u=(c=$a(p)).firstChild,r){if(s&&(d=ja(c).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(QS)))return!1;var t=Number(e.getAttribute(ZS)||0);return i>=t}))).length)return c.insertBefore(l,d[d.length-1].nextSibling),l;c.insertBefore(l,u)}else c.appendChild(l);return l}function Ma(e,t){var n=arguments.length>1&&void 0!==t?t:{};return ja($a(n)).find((function(t){return t.getAttribute(Aa(n))===e}))}function La(e,t){var n=arguments.length>1&&void 0!==t?t:{},r=Ma(e,n);r&&$a(n).removeChild(r)}function Fa(e,t,n){var r,o,i,a,s,l=arguments.length>2&&void 0!==n?n:{};return function(e,t){var n,r=tO.get(e);r&&Ia(document,r)||(n=Pa("",t),tO.set(e,n.parentNode),e.removeChild(n))}($a(l),l),(r=Ma(t,l))?(null!==(o=l.csp)&&void 0!==o&&o.nonce&&r.nonce!==(null===(i=l.csp)||void 0===i?void 0:i.nonce)&&(r.nonce=null===(a=l.csp)||void 0===a?void 0:a.nonce),r.innerHTML!==e&&(r.innerHTML=e),r):((s=Pa(e,l)).setAttribute(Aa(l),t),s)}function Ba(e){if(Array.isArray(e))return e}function Ha(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ua(e,t){return Ba(e)||function(e,t){var n,r,o,i,a,s,l,c=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=c){a=[],s=!0,l=!1;try{if(o=(c=c.call(e)).next,0===t){if(Object(c)!==c)return;s=!1}else for(;!(s=(n=o.call(c)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(u){l=!0,r=u}finally{try{if(!s&&null!=c.return&&(i=c.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(e,t)||va(e,t)||Ha()}function za(e){var t=Array.isArray(e)?e:[e];return iO.has(t)||iO.set(t,new oO(t)),iO.get(t)}function Ga(e){var t=aO.get(e)||"";return t||(Object.keys(e).forEach((function(n){var r=e[n];t+=n,r instanceof oO?t+=r.id:r&&"object"===ki(r)?t+=Ga(r):t+=r})),aO.set(e,t)),t}function Wa(e,t,n,r,o){var i,a,s=Nb.useContext(BK).cache,l=[e].concat(ya(t)),c=l.join("_"),u=UK([c]),d=function(e){s.update(l,(function(t){var r=Ua(t||[],2),o=r[0],i=[void 0===o?0:o,r[1]||n()];return e?e(i):i}))};return Nb.useMemo((function(){d()}),[c]),i=s.get(l),a=i[1],HK((function(){null==o||o(a)}),(function(e){return d((function(t){var n=Ua(t,2),r=n[0],i=n[1];return e&&0===r&&(null==o||o(a)),[r+1,i]})),function(){s.update(l,(function(e){var t=Ua(e||[],2),n=t[0],o=void 0===n?0:n,i=t[1];return 0==o-1?(u((function(){return null==r?void 0:r(i,!1)})),null):[o-1,i]}))}}),[c]),a}function Va(e){return e.trim()}function qa(e,t){return(e=t.exec(e))?e[0]:e}function Xa(e,t,n){return e.replace(t,n)}function Ka(e,t){return e.indexOf(t)}function Ya(e,t){return 0|e.charCodeAt(t)}function Ja(e,t,n){return e.slice(t,n)}function Qa(e){return e.length}function Za(e){return e.length}function es(e,t){return t.push(e),e}function ts(e,t){return e.filter((function(e){return!qa(e,t)}))}function ns(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:AO,column:$O,length:a,return:"",siblings:s}}function rs(e,t){return IO(ns("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function os(e){for(;e.root;)e=rs(e.root,{children:[e]});es(e,e.siblings)}function is(){return MO=PO2||cs(MO)>3?"":" "}function ps(e,t){for(;--t&&is()&&!(MO<48||MO>102||MO>57&&MO<65||MO>70&&MO<97););return ls(e,ss()+(t<6&&32==as()&&32==is()))}function ms(e){for(;is();)switch(MO){case e:return PO;case 34:case 39:34!==e&&39!==e&&ms(MO);break;case 40:41===e&&ms(e);break;case 92:is()}return PO}function fs(e,t){for(;is()&&e+MO!==57&&(e+MO!==84||47!==as()););return"/*"+ls(t,PO-1)+"*"+RO(47===e?e:is())}function hs(e){for(;!cs(as());)is();return ls(e,PO)}function gs(e){return function(e){return LO="",e}(bs("",null,null,null,[""],e=function(e){return AO=$O=1,jO=Qa(LO=e),PO=0,[]}(e),0,[0],e))}function bs(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,m=0,f=0,h=1,g=1,b=1,_=0,v="",y=o,w=i,k=r,x=v;g;)switch(f=_,_=is()){case 40:if(108!=f&&58==Ya(x,d-1)){-1!=Ka(x+=Xa(us(_),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:x+=us(_);break;case 9:case 10:case 13:case 32:x+=ds(f);break;case 92:x+=ps(ss()-1,7);continue;case 47:switch(as()){case 42:case 47:es(vs(fs(is(),ss()),t,n,l),l);break;default:x+="/"}break;case 123*h:s[c++]=Qa(x)*b;case 125*h:case 59:case 0:switch(_){case 0:case 125:g=0;case 59+u:-1==b&&(x=Xa(x,/\f/g,"")),m>0&&Qa(x)-d&&es(m>32?ys(x+";",r,n,d-1,l):ys(Xa(x," ","")+";",r,n,d-2,l),l);break;case 59:x+=";";default:if(es(k=_s(x,t,n,c,u,o,s,v,y=[],w=[],d,i),i),123===_)if(0===u)bs(x,t,k,k,y,i,d,s,w);else switch(99===p&&110===Ya(x,3)?100:p){case 100:case 108:case 109:case 115:bs(e,k,k,r&&es(_s(e,k,k,0,0,o,s,v,o,y=[],d,w),w),o,w,d,s,r?y:w);break;default:bs(x,k,k,k,[""],w,0,s,w)}}c=u=m=0,h=b=1,v=x="",d=a;break;case 58:d=1+Qa(x),m=f;default:if(h<1)if(123==_)--h;else if(125==_&&0==h++&&125==(MO=PO>0?Ya(LO,--PO):0,$O--,10===MO&&($O=1,AO--),MO))continue;switch(x+=RO(_),_*h){case 38:b=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(Qa(x)-1)*b,b=1;break;case 64:45===as()&&(x+=us(is())),p=as(),u=d=Qa(v=x+=hs(ss())),_++;break;case 45:45===f&&2==Qa(x)&&(h=0)}}return i}function _s(e,t,n,r,o,i,a,s,l,c,u,d){var p,m,f,h,g,b,_=o-1,v=0===o?i:[""],y=Za(v);for(p=0,m=0,f=0;p0?v[h]+" "+g:Xa(g,/&\f/g,v[h])))&&(l[f++]=b);return ns(e,t,n,0===o?SO:s,l,c,u,d)}function vs(e,t,n,r){return ns(e,t,n,EO,RO(MO),Ja(e,2,-2),0,r)}function ys(e,t,n,r,o){return ns(e,t,n,OO,Ja(e,0,r),Ja(e,r+1,-1),r,o)}function ws(e,t,n){switch(function(e,t){return 45^Ya(e,0)?(((t<<2^Ya(e,0))<<2^Ya(e,1))<<2^Ya(e,2))<<2^Ya(e,3):0}(e,t)){case 5103:return xO+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return xO+e+e;case 4789:return kO+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return xO+e+kO+e+wO+e+e;case 5936:switch(Ya(e,t+11)){case 114:return xO+e+wO+Xa(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return xO+e+wO+Xa(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return xO+e+wO+Xa(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return xO+e+wO+e+e;case 6165:return xO+e+wO+"flex-"+e+e;case 5187:return xO+e+Xa(e,/(\w+).+(:[^]+)/,xO+"box-$1$2"+wO+"flex-$1$2")+e;case 5443:return xO+e+wO+"flex-item-"+Xa(e,/flex-|-self/g,"")+(qa(e,/flex-|baseline/)?"":wO+"grid-row-"+Xa(e,/flex-|-self/g,""))+e;case 4675:return xO+e+wO+"flex-line-pack"+Xa(e,/align-content|flex-|-self/g,"")+e;case 5548:return xO+e+wO+Xa(e,"shrink","negative")+e;case 5292:return xO+e+wO+Xa(e,"basis","preferred-size")+e;case 6060:return xO+"box-"+Xa(e,"-grow","")+xO+e+wO+Xa(e,"grow","positive")+e;case 4554:return xO+Xa(e,/([^-])(transform)/g,"$1"+xO+"$2")+e;case 6187:return Xa(Xa(Xa(e,/(zoom-|grab)/,xO+"$1"),/(image-set)/,xO+"$1"),e,"")+e;case 5495:case 3959:return Xa(e,/(image-set\([^]*)/,xO+"$1$`$1");case 4968:return Xa(Xa(e,/(.+:)(flex-)?(.*)/,xO+"box-pack:$3"+wO+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+xO+e+e;case 4200:if(!qa(e,/flex-|baseline/))return wO+"grid-column-align"+Ja(e,t)+e;break;case 2592:case 3360:return wO+Xa(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,qa(e.props,/grid-\w+-end/)}))?~Ka(e+(n=n[t].value),"span")?e:wO+Xa(e,"-start","")+e+wO+"grid-row-span:"+(~Ka(n,"span")?qa(n,/\d+/):+qa(n,/\d+/)-+qa(e,/\d+/))+";":wO+Xa(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return qa(e.props,/grid-\w+-start/)}))?e:wO+Xa(Xa(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Xa(e,/(.+)-inline(.+)/,xO+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Qa(e)-1-t>6)switch(Ya(e,t+1)){case 109:if(45!==Ya(e,t+4))break;case 102:return Xa(e,/(.+:)(.+)-([^]+)/,"$1"+xO+"$2-$3$1"+kO+(108==Ya(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ka(e,"stretch")?ws(Xa(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Xa(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,a,s){return wO+n+":"+r+s+(o?wO+n+"-span:"+(i?a:+a-+r)+s:"")+e}));case 4949:if(121===Ya(e,t+6))return Xa(e,":",":"+xO)+e;break;case 6444:switch(Ya(e,45===Ya(e,14)?18:11)){case 120:return Xa(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+xO+(45===Ya(e,14)?"inline-":"")+"box$3$1"+xO+"$2$3$1"+wO+"$2box$3")+e;case 100:return Xa(e,":",":"+wO)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Xa(e,"scroll-","scroll-snap-")+e}return e}function ks(e,t){var n,r="";for(n=0;n-1&&!e.return)switch(e.type){case OO:return void(e.return=ws(e.value,e.length,n));case CO:return ks([rs(e,{value:Xa(e.value,"@","@"+xO)})],r);case SO:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(qa(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":os(rs(e,{props:[Xa(t,/:(read-\w+)/,":"+kO+"$1")]})),os(rs(e,{props:[t]})),IO(e,{props:ts(n,r)});break;case"::placeholder":os(rs(e,{props:[Xa(t,/:(plac\w+)/,":"+xO+"input-$1")]})),os(rs(e,{props:[Xa(t,/:(plac\w+)/,":"+kO+"$1")]})),os(rs(e,{props:[Xa(t,/:(plac\w+)/,wO+"input-$1")]})),os(rs(e,{props:[t]})),IO(e,{props:ts(n,r)})}return""}))}}function Ss(e){return ks(gs(e),xs).replace(/\{%%%\:[^;];}/g,";")}function Os(){return null}function Ds(e,t){var n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b=e.token,_=e.path,v=e.hashId,y=e.layer,w=e.nonce,k=e.clientOnly,x=e.order,E=void 0===x?0:x,S=Nb.useContext(BK),O=S.autoClear;return n=S.defaultCache,r=S.hashPriority,o=S.container,i=S.ssrInline,a=S.transformers,s=S.linters,l=S.cache,u=[c=b._tokenKey].concat(ya(_)),d=zO,p=Wa("style",u,(function(){var e,n,o,i,l,d,p,m,f=u.join("|");return function(e){var t,n,r;return HO||(HO={},Ra()&&((t=document.createElement("div")).className=FO,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t),(getComputedStyle(t).content||"").replace(/^"/,"").replace(/"$/,"").split(";").forEach((function(e){var t=Ua(e.split(":"),2);HO[t[0]]=t[1]})),(n=document.querySelector("style[".concat(FO,"]")))&&(UO=!1,null===(r=n.parentNode)||void 0===r||r.removeChild(n)),document.body.removeChild(t))),!!HO[e]}(f)&&(e=function(e){var t,n=HO[e],r=null;return n&&Ra()&&(UO?r=BO:(t=document.querySelector("style[".concat(XS,'="').concat(HO[e],'"]')))?r=t.innerHTML:delete HO[e]),[r,n]}(f),o=(n=Ua(e,2))[0])?[o,c,n[1],{},k,E]:(i=t(),d=(l=Ua(WO(i,{hashId:v,hashPriority:r,layer:y,path:_.join("-"),transformers:a,linters:s}),2))[1],p=Ss(l[0]),m=function(e,t){return xa("".concat(e.join("%")).concat(t))}(u,p),[p,c,m,d,k,E])}),(function(e,t){var n=Ua(e,3);(t||O)&&zO&&La(n[2],{mark:XS})}),(function(e){var t,n,r,i,a,s=Ua(e,4),u=s[0];t=s[2],n=s[3],d&&u!==BO&&(r={mark:XS,prepend:"queue",attachTo:o,priority:E},(i="function"==typeof w?w():w)&&(r.csp={nonce:i}),(a=Fa(u,t,r))[KS]=l.instanceId,a.setAttribute(qS,c),Object.keys(n).forEach((function(e){Fa(Ss(n[e]),"_effect-".concat(e),r)})))})),m=Ua(p,3),f=m[0],h=m[1],g=m[2],function(e){var t,r;return t=i&&!d&&n?Nb.createElement("style",pa({},(Ei(r={},qS,h),Ei(r,XS,g),r),{dangerouslySetInnerHTML:{__html:f}})):Nb.createElement(Os,null),Nb.createElement(Nb.Fragment,null,t,e)}}function Cs(e){return e.notSplit=!0,e}function Ts(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Ns(e){var t,n;for(t=1;t1&&void 0!==t?t:{},r=[];return aK.Children.forEach(e,(function(e){(null!=e||n.keepEmpty)&&(Array.isArray(e)?r=r.concat(Ms(e)):NS.isFragment(e)&&e.props?r=r.concat(Ms(e.props.children,n)):r.push(e))})),r}function Ls(e,t){"function"==typeof e?e(t):"object"===ki(e)&&e&&"current"in e&&(e.current=t)}function Fs(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n3&&void 0!==r&&r;return t.length&&o&&void 0===n&&!Qs(e,t.slice(0,-1))?e:Zs(e,t,n,o)}function tl(e){return Array.isArray(e)?[]:{}}function nl(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n1)&&(e=1),e}function sl(e){return e<=1?"".concat(100*Number(e),"%"):e}function ll(e){return 1===e.length?"0"+e:String(e)}function cl(e,t,n){var r,o,i,a,s,l;if(e=ol(e,255),t=ol(t,255),n=ol(n,255),i=0,a=0,s=((r=Math.max(e,t,n))+(o=Math.min(e,t,n)))/2,r===o)a=0,i=0;else{switch(l=r-o,a=s>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function dl(e,t,n){var r,o,i,a,s,l;if(e=ol(e,255),t=ol(t,255),n=ol(n,255),i=0,a=r=Math.max(e,t,n),s=r-(o=Math.min(e,t,n)),l=0===r?0:s/r,r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t=60&&Math.round(e.h)<=240?n?Math.round(e.h)-jD*t:Math.round(e.h)+jD*t:n?Math.round(e.h)+jD*t:Math.round(e.h)-jD*t)<0?r+=360:r>=360&&(r-=360),r}function yl(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-PD*t:t===HD?e.s+PD:e.s+MD*t)>1&&(r=1),n&&t===BD&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function wl(e,t,n){var r;return(r=n?e.v+LD*t:e.v-FD*t)>1&&(r=1),Number(r.toFixed(2))}function kl(e,t){var n,r,o,i,a,s,l=arguments.length>1&&void 0!==t?t:{},c=[],u=hl(e);for(n=BD;n>0;n-=1)o=_l(hl({h:vl(r=bl(u),n,!0),s:yl(r,n,!0),v:wl(r,n,!0)})),c.push(o);for(c.push(_l(u)),i=1;i<=HD;i+=1)s=_l(hl({h:vl(a=bl(u),i),s:yl(a,i),v:wl(a,i)})),c.push(s);return"dark"===l.theme?UD.map((function(e){var t,n,r,o=e.index,i=e.opacity;return _l((t=hl(l.backgroundColor||"#141414"),{r:((n=hl(c[o])).r-t.r)*(r=100*i/100)+t.r,g:(n.g-t.g)*r+t.g,b:(n.b-t.b)*r+t.b}))})):c}function xl(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),p=n(o),m=n(i),f=n(a),h=n(s),g=r(c,u),b=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},g),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:f[1],colorErrorBgHover:f[2],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new $D("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}function El(e){const t=Object.keys(iY).map((t=>{const n=kl(e[t]);return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),xl(e,{generateColorPalettes:uY,generateNeutralColorPalettes:dY})),pY(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),oY(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},sY(r))}(e))}function Sl(e){return e>=0&&e<=255}function Ol(e,t){const{r:n,g:r,b:o,a:i}=new $D(e).toRgb();if(i<1)return e;const{r:a,g:s,b:l}=new $D(t).toRgb();for(let c=.01;c<=1;c+=.01){const e=Math.round((n-a*(1-c))/c),t=Math.round((r-s*(1-c))/c),i=Math.round((o-l*(1-c))/c);if(Sl(e)&&Sl(t)&&Sl(i))return new $D({r:e,g:t,b:i,a:Math.round(100*c)/100}).toRgbString()}return new $D({r:n,g:r,b:o,a:1}).toRgbString()}function Dl(e){const{override:t}=e,n=qD(e,["override"]),r=Object.assign({},t);Object.keys(aY).forEach((e=>{delete r[e]}));const o=Object.assign(Object.assign({},n),r);if(!1===o.motion){const e="0s";o.motionDurationFast=e,o.motionDurationMid=e,o.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Ol(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:Ol(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Ol(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:4*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Ol(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:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new $D("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new $D("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new $D("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}function Cl(){const{token:e,hashed:t,theme:n,components:r}=aK.useContext(hY),o=`${rY}-${t||""}`,i=n||mY,[a,s]=function(e,t,n){var r=arguments.length>2&&void 0!==n?n:{},o=Nb.useContext(BK).cache.instanceId,i=r.salt,a=void 0===i?"":i,s=r.override,l=void 0===s?hO:s,c=r.formatToken,u=r.getComputedToken,d=Nb.useMemo((function(){return Object.assign.apply(Object,[{}].concat(ya(t)))}),[t]),p=Nb.useMemo((function(){return Ga(d)}),[d]),m=Nb.useMemo((function(){return Ga(l)}),[l]),f=Wa("token",[a,e.id,p,m],(function(){var t,n=u?u(d,l,e):vO(d,l,e,c),r=function(e,t){return xa("".concat(t,"_").concat(Ga(e)))}(n,a);return n._tokenKey=r,function(e){bO.set(e,(bO.get(e)||0)+1)}(r),t="".concat(gO,"-").concat(xa(r)),n._hashId=t,[n,t]}),(function(e){!function(e,t){var n,r;bO.set(e,(bO.get(e)||0)-1),r=(n=Array.from(bO.keys())).filter((function(e){return(bO.get(e)||0)<=0})),n.length-r.length>_O&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(qS,'="').concat(e,'"]')).forEach((function(e){var n;e[KS]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),bO.delete(e)}))}(e[0]._tokenKey,o)}));return f}(i,[aY,e],{salt:o,override:Object.assign({override:e},r),getComputedToken:gY,formatToken:Dl});return[i,a,t?s:""]}function Tl(e){var t,n=Nb.useRef();return n.current=e,t=Nb.useCallback((function(){var e,t,r,o;for(t=arguments.length,r=new Array(t),o=0;o{Object.keys(e).forEach((t=>{Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),DY=!0,r}function $l(){}function jl(e,t,n,r){let o=arguments.length>3&&void 0!==r?r:{};const i=Array.isArray(e)?e:[e,e],[a]=i,s=i.join("-");return e=>{const[r,i,l]=Cl(),{getPrefixCls:c,iconPrefixCls:u,csp:d}=Nb.useContext(_Y),p=c(),m={theme:r,token:i,hashId:l,nonce:()=>null==d?void 0:d.nonce,clientOnly:o.clientOnly,order:o.order||-999};return Ds(Object.assign(Object.assign({},m),{clientOnly:!1,path:["Shared",p]}),(()=>[{"&":kY(i)}])),TY(u),[Ds(Object.assign(Object.assign({},m),{path:[s,e,u]}),(()=>{const{token:r,flush:s}=function(e){let t,n=e,r=$l;return OY&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(DY&&t.add(n),e[n])}),r=(e,n)=>{var r;CY[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(r=CY[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:r}}(i),c=Object.assign({},i[a]);if(o.deprecatedTokens){const{deprecatedTokens:e}=o;e.forEach((e=>{let[t,n]=e;var r;((null==c?void 0:c[t])||(null==c?void 0:c[n]))&&(null!==(r=c[n])&&void 0!==r||(c[n]=null==c?void 0:c[t]))}))}const d="function"==typeof n?n(Al(r,null!=c?c:{})):n,m=Object.assign(Object.assign({},d),c),f=Al(r,{componentCls:`.${e}`,prefixCls:e,iconCls:`.${u}`,antCls:`.${p}`},m),h=t(f,{hashId:l,prefixCls:e,rootPrefixCls:p,iconPrefixCls:u,overrideComponentToken:c});return s(a,m),[!1===o.resetStyle?null:xY(i,e),h]})),l]}}function Pl(e,t){return nY.reduce(((n,r)=>{const o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))}),{})}function Ml(e){var t=e.children,n=Si(e,KD);return Nb.createElement(YD.Provider,{value:n},t)}function Ll(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function Fl(e){var t,n,r,o,i;if(dC[e])return dC[e];if(t=lC[e])for(r=(n=Object.keys(t)).length,o=0;o0&&void 0!==e?e:[]).map(Ul)}function Gl(e){const{children:t}=e,[,n]=Cl(),{motion:r}=n,o=Nb.useRef(!1);return o.current=o.current||!1===r,o.current?Nb.createElement(Ml,{motion:r},t):t}function Wl(){return HY||"ant"}function Vl(){return UY||bY}function ql(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function Xl(e){return function(e){return ql(e)instanceof ShadowRoot}(e)?ql(e):null}function Kl(e){return"object"===ki(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===ki(e.icon)||"function"==typeof e.icon)}function Yl(e){var t=arguments.length>0&&void 0!==e?e:{};return Object.keys(t).reduce((function(e,n){var r,o=t[n];return"class"===n?(e.className=o,delete e.class):(delete e[n],e[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o),e}),{})}function Jl(e,t,n){return aK.createElement(e.tag,n?ka(ka({key:t},Yl(e.attrs)),n):ka({key:t},Yl(e.attrs)),(e.children||[]).map((function(n,r){return Jl(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function Ql(e){return kl(e)[0]}function Zl(e){return e?Array.isArray(e)?e:[e]:[]}function ec(e){var t=Ua(Zl(e),2);return XY.setTwoToneColors({primaryColor:t[0],secondaryColor:t[1]})}function tc(e,t){return 0===e.indexOf(t)}function nc(e,t){var n,r,o=arguments.length>1&&void 0!==t&&t;return n=!1===o?{aria:!0,data:!0,attr:!0}:!0===o?{aria:!0}:ka({},o),r={},Object.keys(e).forEach((function(t){(n.aria&&("role"===t||tc(t,jC))||n.data&&tc(t,PC)||n.attr&&$C.includes(t))&&(r[t]=e[t])})),r}function rc(e){return e&&iJ(e)&&e.type===Nb.Fragment}function oc(e,t){return function(e,t,n){return iJ(e)?Nb.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}(e,e,t)}function ic(e){var t=arguments.length>0&&void 0!==e?e:{},n=t.getContainer,r=void 0===n?GC:n,o=t.motion,i=t.prefixCls,a=t.maxCount,s=t.className,l=t.style,c=t.onAllRemoved,u=t.renderNotifications,d=Si(t,zC),p=Ua(Nb.useState(),2),m=p[0],f=p[1],h=Nb.useRef(),g=Nb.createElement(UC,{container:m,ref:h,prefixCls:i,motion:o,maxCount:a,className:s,style:l,onAllRemoved:c,renderNotifications:u}),b=Ua(Nb.useState([]),2),_=b[0],v=b[1],y=Nb.useMemo((function(){return{open:function(e){var t=function(){var e,t,n,r={};for(e=arguments.length,t=new Array(e),n=0;n{t=e((()=>{n(!0)}))})),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}function sc(e){const t=Nb.useRef(null);return[Nb.useMemo((()=>{const e=e=>{var n;null===(n=t.current)||void 0===n||n.close(e)},n=n=>{if(!t.current){const e=()=>{};return e.then=()=>{},e}const{open:r,prefixCls:o,message:i}=t.current,a=`${o}-notice`,{content:s,icon:l,type:c,key:u,className:d,style:p,onClose:m}=n,f=qC(n,["content","icon","type","key","className","style","onClose"]);let h=u;return null==h&&(xJ+=1,h=`antd-message-${xJ}`),ac((t=>(r(Object.assign(Object.assign({},f),{key:h,content:Nb.createElement(_J,{prefixCls:o,type:c,icon:l},s),placement:"top",className:zK(c&&`${a}-${c}`,d,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),p),onClose:()=>{null==m||m(),t()}})),()=>{e(h)})))},r={open:n,destroy:n=>{var r;void 0!==n?e(n):null===(r=t.current)||void 0===r||r.destroy()}};return["info","success","warning","error","loading"].forEach((e=>{r[e]=(t,r,o)=>{let i,a,s;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?s=r:(a=r,s=o);const l=Object.assign(Object.assign({onClose:s,duration:a},i),{type:e});return n(l)}})),r}),[]),Nb.createElement(kJ,Object.assign({key:"message-holder"},e,{ref:t}))]}function lc(e){return sc(e)}function cc(){function e(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}function t(e,t,n,o){var i=Object.create((t&&t.prototype instanceof r?t:r).prototype),a=new p(o||[]);return _(i,"_invoke",{value:l(e,n,a)}),i}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function r(){}function o(){}function i(){}function a(t){["next","throw","return"].forEach((function(n){e(t,n,(function(e){return this._invoke(n,e)}))}))}function s(e,t){function r(o,i,a,s){var l,c,u=n(e[o],e,i);if("throw"!==u.type)return(c=(l=u.arg).value)&&"object"==ki(c)&&b.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(c).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,s)}));s(u.arg)}var o;_(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function l(e,t,r){var o=x;return function(i,a){var s,l,u;if(o===S)throw new Error("Generator is already running");if(o===O){if("throw"===i)throw a;return{value:f,done:!0}}for(r.method=i,r.arg=a;;){if((s=r.delegate)&&(l=c(s,r))){if(l===D)continue;return l}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===x)throw o=O,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);if(o=S,"normal"===(u=n(e,t,r)).type){if(o=r.done?O:E,u.arg===D)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=O,r.method="throw",r.arg=u.arg)}}}function c(e,t){var r,o,i=t.method,a=e.iterator[i];return a===f?(t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=f,c(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),D):"throw"===(r=n(a,e.iterator,t.arg)).type?(t.method="throw",t.arg=r.arg,t.delegate=null,D):(o=r.arg)?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=f),t.delegate=null,D):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,D)}function u(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function m(e){var t,n,r;if(e||""===e){if(t=e[y])return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return n=-1,(r=function t(){for(;++n=0;--r){if(i=(o=this.tryEntries[r]).completion,"root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev)if(a=b.call(o,"catchLoc"),s=b.call(o,"finallyLoc"),a&&s){if(this.prev=0;--n)if((r=this.tryEntries[n]).tryLoc<=this.prev&&b.call(r,"finallyLoc")&&this.prev=0;--t)if((n=this.tryEntries[t]).finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),D},catch:function(e){var t,n,r,o;for(t=this.tryEntries.length-1;t>=0;--t)if((n=this.tryEntries[t]).tryLoc===e)return"throw"===(r=n.completion).type&&(o=r.arg,d(n)),o;throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:m(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=f),D}},h}function uc(e,t,n,r,o,i,a){var s,l;try{l=(s=e[i](a)).value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,o)}function dc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function i(e){uc(s,r,o,i,a,"next",e)}function a(e){uc(s,r,o,i,a,"throw",e)}var s=e.apply(t,n);i(void 0)}))}}function pc(e){var t=XC.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===ki(t)&&(t.usingClientEntryPoint=e)}function mc(e,t){QC?function(e,t){pc(!0);var n=t[ZC]||QC(t);pc(!1),n.render(e),t[ZC]=n}(e,t):function(e,t){YC(e,t)}(e,t)}function fc(e){return hc.apply(this,arguments)}function hc(){return(hc=dc(cc().mark((function e(t){return cc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[ZC])||void 0===e||e.unmount(),delete t[ZC]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function gc(e){JC(e)}function bc(e){return _c.apply(this,arguments)}function _c(){return(_c=dc(cc().mark((function e(t){return cc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===QC){e.next=2;break}return e.abrupt("return",fc(t));case 2:gc(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function vc(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function yc(e){return Number.isNaN(e)?0:e}function wc(e){return"string"==typeof e}function kc(e){return"text"===e||"link"===e}function xc(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function Ec(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Sc(e,t){let n=arguments.length>1&&void 0!==t?t:{focus:!0};const{componentCls:r}=e,o=`${r}-compact`;return{[o]:Object.assign(Object.assign({},xc(e,o,n)),Ec(r,o,n))}}function Oc(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Dc(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Oc(e,t)),(n=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,r}function Cc(e){return"danger"===e?{danger:!0}:{type:e}}function Tc(e){return!(!e||!e.then)}function Nc(e){var t,n,r,o,i,a=e.match(/^(.*)px$/),s=Number(null==a?void 0:a[1]);return Number.isNaN(s)?"undefined"==typeof document?0:(void 0===iT&&((t=document.createElement("div")).style.width="100%",t.style.height="200px",(r=(n=document.createElement("div")).style).position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n),o=t.offsetWidth,n.style.overflow="scroll",o===(i=t.offsetWidth)&&(i=n.clientWidth),document.body.removeChild(n),iT=o-i),iT):s}function Rc(e){var t=Ua(Nb.useState("ssr-id"),2),n=t[0],r=t[1],o=ka({},sK).useId,i=null==o?void 0:o();return Nb.useEffect((function(){if(!o){var e=uT;uT+=1,r("rc_unique_".concat(e))}}),[]),e||i||n}function Ic(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function Ac(e,t){var n,r=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");return"number"!=typeof r&&"number"!=typeof(r=(n=e.document).documentElement[o])&&(r=n.body[o]),r}function $c(e){var t=e.prefixCls,n=e.style,r=e.maskProps;return Nb.createElement(LY,{key:"mask",visible:e.visible,motionName:e.motionName,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,o){var i=e.className;return Nb.createElement("div",pa({ref:o,style:ka(ka({},e.style),n),className:zK("".concat(t,"-mask"),i)},r))}))}function jc(e){function t(e){null==f||f(e)}var n=e.prefixCls,r=void 0===n?"rc-dialog":n,o=e.zIndex,i=e.visible,a=void 0!==i&&i,s=e.keyboard,l=void 0===s||s,c=e.focusTriggerAfterClose,u=void 0===c||c,d=e.wrapStyle,p=e.wrapClassName,m=e.wrapProps,f=e.onClose,h=e.afterOpenChange,g=e.afterClose,b=e.transitionName,_=e.animation,v=e.closable,y=void 0===v||v,w=e.mask,k=void 0===w||w,x=e.maskTransitionName,E=e.maskAnimation,S=e.maskClosable,O=void 0===S||S,D=e.maskStyle,C=e.maskProps,T=e.rootClassName,N=Nb.useRef(),R=Nb.useRef(),I=Nb.useRef(),A=Ua(Nb.useState(a),2),$=A[0],j=A[1],P=Rc(),M=Nb.useRef(!1),L=Nb.useRef(),F=null;return O&&(F=function(e){M.current?M.current=!1:R.current===e.target&&t(e)}),Nb.useEffect((function(){a&&(j(!0),Ia(R.current,document.activeElement)||(N.current=document.activeElement))}),[a]),Nb.useEffect((function(){return function(){clearTimeout(L.current)}}),[]),Nb.createElement("div",pa({className:zK("".concat(r,"-root"),T)},nc(e,{data:!0})),Nb.createElement($c,{prefixCls:r,visible:k&&a,motionName:Ic(r,x,E),style:ka({zIndex:o},D),maskProps:C}),Nb.createElement("div",pa({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===MC.ESC)return e.stopPropagation(),void t(e);a&&e.keyCode===MC.TAB&&I.current.changeActive(!e.shiftKey)},className:zK("".concat(r,"-wrap"),p),ref:R,onClick:F,style:ka(ka({zIndex:o},d),{},{display:$?null:"none"})},m),Nb.createElement(mT,pa({},e,{onMouseDown:function(){clearTimeout(L.current),M.current=!0},onMouseUp:function(){L.current=setTimeout((function(){M.current=!1}))},ref:I,closable:y,ariaId:P,prefixCls:r,visible:a&&$,onClose:t,onVisibleChanged:function(e){if(e)Ia(R.current,document.activeElement)||null===(t=I.current)||void 0===t||t.focus();else{if(j(!1),k&&N.current&&u){try{N.current.focus({preventScroll:!0})}catch($X){}N.current=null}$&&(null==g||g())}var t;null==h||h(e)},motionName:Ic(r,b,_)}))))}function Pc(e,t,n,r,o){let i=arguments.length>3&&void 0!==r?r:aK.createElement(eJ,null);const a=function(e,t,n){return"boolean"==typeof e?e:void 0===t?!!n:!1!==t&&null!==t}(e,t,arguments.length>4&&void 0!==o&&o);if(!a)return[!1,null];const s="boolean"==typeof t||null==t?i:t;return[!0,n?n(s):s]}function Mc(e){return null==e?[]:Array.isArray(e)?e:[e]}function Lc(){return Lc=Object.assign?Object.assign.bind():function(e){var t,n,r;for(t=1;t1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}})):e}function Wc(e,t){return null==e||!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e)}function Vc(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var s=r;r+=1,s=i||n<0||n>=i?e:(r=e[t],(o=t-n)>0?[].concat(ya(e.slice(0,n)),[r],ya(e.slice(n,t)),ya(e.slice(t+1,i))):o<0?[].concat(ya(e.slice(0,t)),ya(e.slice(t+1,n+1)),[r],ya(e.slice(n+1,i))):e)}function lu(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}function cu(e){var t=e.name,n=Si(e,FT),r=Nb.useContext(bT),o=Nb.useContext(_T),i=void 0!==t?nu(t):void 0,a="keep";return n.isListField||(a="_".concat((i||[]).join("_"))),Nb.createElement(HT,pa({key:a,name:i,isListField:!!o},n,{fieldContext:r}))}function uu(e){var t=e.name,n=e.initialValue,r=e.children,o=e.rules,i=e.validateTrigger,a=e.isListField,s=Nb.useContext(bT),l=Nb.useContext(_T),c=Nb.useRef({keys:[],id:0}).current,u=Nb.useMemo((function(){var e=nu(s.prefixName)||[];return[].concat(ya(e),ya(nu(t)))}),[s.prefixName,t]),d=Nb.useMemo((function(){return ka(ka({},s),{},{prefixName:u})}),[s,u]),p=Nb.useMemo((function(){return{getKey:function(e){var t=u.length;return[c.keys[e[t]],e.slice(t+1)]}}}),[u]);return"function"!=typeof r?(Ca(!1,"Form.List only accepts function as children."),null):Nb.createElement(_T.Provider,{value:p},Nb.createElement(bT.Provider,{value:d},Nb.createElement(cu,{name:[],shouldUpdate:function(e,t,n){return"internal"!==n.source&&e!==t},rules:o,validateTrigger:i,initialValue:n,isList:!0,isListField:null!=a?a:!!l},(function(e,t){var n=e.value,o=e.onChange,i=s.getFieldValue,a=function(){return i(u||[])||[]},l={add:function(e,t){var n=a();t>=0&&t<=n.length?(c.keys=[].concat(ya(c.keys.slice(0,t)),[c.id],ya(c.keys.slice(t))),o([].concat(ya(n.slice(0,t)),[e],ya(n.slice(t))))):(c.keys=[].concat(ya(c.keys),[c.id]),o([].concat(ya(n),[e]))),c.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(c.keys=c.keys.filter((function(e,t){return!n.has(t)})),o(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(c.keys=su(c.keys,e,t),o(su(n,e,t)))}}},d=(void 0===n?[]:n)||[];return Array.isArray(d)||(d=[]),r(d.map((function(e,t){var n=c.keys[t];return void 0===n&&(c.keys[t]=c.id,n=c.keys[t],c.id+=1),{name:t,key:n,isListField:!0}})),l,t)}))))}function du(e){return e.map((function(e){return"".concat(ki(e),":").concat(e)})).join(UT)}function pu(e){var t,n=Nb.useRef(),r=Ua(Nb.useState({}),2)[1];return n.current||(e?n.current=e:(t=new WT((function(){r({})})),n.current=t.getForm())),[n.current]}function mu(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}function fu(){var e,t,n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_;for(e=arguments.length,t=new Array(e),n=0;ne&&e.triggerCancel));e.onCancel&&a&&e.onCancel.apply(e,[()=>{}].concat(ya(n.slice(1))));for(let e=0;e{const e=rl(),{getPrefixCls:i,getIconPrefixCls:l,getTheme:c}=GY(),u=i(void 0,AZ),d=r||`${u}-modal`,p=l(),m=c();let f=a;!1===f&&(f=void 0),mc(Nb.createElement(RZ,Object.assign({},s,{getContainer:f,prefixCls:d,rootPrefixCls:u,iconPrefixCls:p,okText:t,locale:e,theme:m,cancelText:n||e.cancelText})),o)}))}function r(){for(var r=arguments.length,o=new Array(r),i=0;i{"function"==typeof e.afterClose&&e.afterClose(),t.apply(this,o)}}),a.visible&&delete a.visible,n(a)}const o=document.createDocumentFragment();let i,a=Object.assign(Object.assign({},e),{close:r,open:!0});return n(a),IZ.push(r),{destroy:r,update:function(e){a="function"==typeof e?e(a):Object.assign(Object.assign({},a),e),n(a)}}}function vu(e){return Object.assign(Object.assign({},e),{type:"warning"})}function yu(e){return Object.assign(Object.assign({},e),{type:"info"})}function wu(e){return Object.assign(Object.assign({},e),{type:"success"})}function ku(e){return Object.assign(Object.assign({},e),{type:"error"})}function xu(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Eu(){const e=Nb.useRef(null),[t,n]=Nb.useState([]);Nb.useEffect((()=>{t.length&&(ya(t).forEach((e=>{e()})),n([]))}),[t]);const r=Nb.useCallback((t=>function(r){var o;PZ+=1;const i=Nb.createRef();let a;const s=new Promise((e=>{a=e}));let l,c=!1;const u=Nb.createElement(jZ,{key:`modal-${PZ}`,config:t(r),ref:i,afterClose:()=>{null==l||l()},isSilent:()=>c,onConfirm:e=>{a(e)}});return l=null===(o=e.current)||void 0===o?void 0:o.patchElement(u),l&&IZ.push(l),{destroy:()=>{function e(){var e;null===(e=i.current)||void 0===e||e.destroy()}i.current?e():n((t=>[].concat(ya(t),[e])))},update:e=>{function t(){var t;null===(t=i.current)||void 0===t||t.update(e)}i.current?t():n((e=>[].concat(ya(e),[t])))},then:e=>(c=!0,s.then(e))}}),[]);return[Nb.useMemo((()=>({info:r(yu),success:r(wu),error:r(ku),warning:r(vu),confirm:r(xu)})),[]),Nb.createElement(MZ,{key:"modal-holder",ref:e})]}function Su(e,t){return null===t||!1===t?null:t||Nb.createElement("span",{className:`${e}-close-x`},Nb.createElement(eJ,{className:`${e}-close-icon`}))}function Ou(e){const t=Nb.useRef(null);return[Nb.useMemo((()=>{const n=n=>{var r;if(!t.current)return;const{open:o,prefixCls:i,notification:a}=t.current,s=`${i}-notice`,{message:l,description:c,icon:u,type:d,btn:p,className:m,style:f,role:h="alert",closeIcon:g}=n,b=tN(n,["message","description","icon","type","btn","className","style","role","closeIcon"]),_=Su(s,g);return o(Object.assign(Object.assign({placement:null!==(r=null==e?void 0:e.placement)&&void 0!==r?r:zZ},b),{content:Nb.createElement(UZ,{prefixCls:s,icon:u,type:d,message:l,description:c,btn:p,role:h}),className:zK(d&&`${s}-${d}`,m,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),f),closeIcon:_,closable:!!_}))},r={open:n,destroy:e=>{var n,r;void 0!==e?null===(n=t.current)||void 0===n||n.close(e):null===(r=t.current)||void 0===r||r.destroy()}};return["success","info","warning","error"].forEach((e=>{r[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))})),r}),[]),Nb.createElement(VZ,Object.assign({key:"notification-holder"},e,{ref:t}))]}function Du(e){return Ou(e)}function Cu(e){return function(t){return Nb.createElement(VY,{theme:{token:{motion:!1,zIndexPopupBase:0}}},Nb.createElement(e,Object.assign({},t)))}}function Tu(e){var t=arguments.length>0&&void 0!==e?e:250,n=Nb.useRef(null),r=Nb.useRef(null);return Nb.useEffect((function(){return function(){window.clearTimeout(r.current)}}),[]),[function(){return n.current},function(e){(e||null===n.current)&&(n.current=e),window.clearTimeout(r.current),r.current=window.setTimeout((function(){n.current=null}),t)}]}function Nu(e,t){function n(e){m(f,e)}var r,o,i,a,s=e.prefixCls,l=e.invalidate,c=e.item,u=e.renderItem,d=e.responsive,p=e.responsiveDisabled,m=e.registerSize,f=e.itemKey,h=e.className,g=e.style,b=e.children,_=e.display,v=e.order,y=e.component,w=void 0===y?"div":y,k=Si(e,rN),x=d&&!_;return Nb.useEffect((function(){return function(){n(null)}}),[]),r=u&&c!==oN?u(c):b,l||(o={opacity:x?0:1,height:x?0:oN,overflowY:x?"hidden":oN,order:d?v:oN,pointerEvents:x?"none":oN,position:x?"absolute":oN}),i={},x&&(i["aria-hidden"]=!0),a=Nb.createElement(w,pa({className:zK(!l&&s,h),style:ka(ka({},o),g)},i,k,{ref:t}),r),d&&(a=Nb.createElement(kD,{onResize:function(e){n(e.offsetWidth)},disabled:p},a)),a}function Ru(e,t){var n=Ua(Nb.useState(t),2),r=n[1];return[n[0],Tl((function(t){e((function(){r(t)}))}))]}function Iu(e){return"+ ".concat(e.length," ...")}function Au(e,t){function n(e,t,n){(re!==e||void 0!==t&&t!==ee)&&(oe(e),n||(le(eO,he=Nb.useMemo((function(){var e=b;return pe?e=null===L&&j?b:b.slice(0,Math.min(b.length,B/k)):"number"==typeof O&&(e=b.slice(0,O)),e}),[b,k,L,O,pe]),ge=Nb.useMemo((function(){return b.slice(pe?ie+1:he.length)}),[b,he,pe,ie]),be=Nb.useCallback((function(e,t){var n;return"function"==typeof y?y(e):null!==(n=y&&(null==e?void 0:e[y]))&&void 0!==n?n:t}),[y]),_e=Nb.useCallback(_||function(e){return e},[_]);return dO((function(){var e,t,r,i,a;if(B&&"number"==typeof ue&&he){if(e=J,r=(t=he.length)-1,!t)return void n(0,null);for(i=0;iB){n(i-1,e-a-J+X);break}}T&&o(0)+J>B&&te(null)}}),[B,U,X,J,be,he]),a={},null!==ee&&pe&&(a={position:"absolute",left:ee,top:0}),s={prefixCls:ce,responsive:pe,component:I,invalidate:me},l=v?function(e,t){var n=be(e,t);return Nb.createElement(aN.Provider,{key:n,value:ka(ka({},s),{},{order:t,item:e,itemKey:n,registerSize:r,display:t<=ie})},v(e,t))}:function(e,t){var n=be(e,t);return Nb.createElement(iN,pa({},s,{order:t,key:n,item:e,renderItem:_e,itemKey:n,registerSize:r,display:t<=ie}))},u={order:(i=se&&!!ge.length)?ie:Number.MAX_SAFE_INTEGER,className:"".concat(ce,"-rest"),registerSize:function(e,t){K(t),V(X)},display:i},C?C&&(c=Nb.createElement(aN.Provider,{value:ka(ka({},s),u)},C(ge))):(d=D||Iu,c=Nb.createElement(iN,pa({},s,u),"function"==typeof d?d(ge):d)),p=Nb.createElement(R,pa({className:zK(!me&&h,S),style:E,ref:t},$),he.map(l),fe?c:null,T&&Nb.createElement(iN,pa({},s,{responsive:de,responsiveDisabled:!pe,order:ie,className:"".concat(ce,"-suffix"),registerSize:function(e,t){Q(t)},display:!0,style:a}),T)),de&&(p=Nb.createElement(kD,{onResize:function(e,t){F(t.clientWidth)},disabled:!pe},p)),p}function $u(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function ju(e){return["string","number"].includes(ki(e))}function Pu(e){var t=void 0;return e&&(ju(e.title)?t=e.title.toString():ju(e.label)&&(t=e.label.toString())),t}function Mu(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}function Lu(e){return e?Array.isArray(e)?e:[e]:[]}function Fu(e,t,n){var r=arguments.length>0&&void 0!==e?e:[],o=arguments.length>1&&void 0!==t?t:[];return(arguments.length>2?n:void 0)?r[0]===o[0]:r[0]===o[0]&&r[1]===o[1]}function Bu(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function Hu(e){return e.ownerDocument.defaultView}function Uu(e){for(var t,n=[],r=null==e?void 0:e.parentElement,o=["hidden","scroll","clip","auto"];r;)[(t=Hu(r).getComputedStyle(r)).overflowX,t.overflowY,t.overflow].some((function(e){return o.includes(e)}))&&n.push(r),r=r.parentElement;return n}function zu(e,t){var n=arguments.length>1&&void 0!==t?t:1;return Number.isNaN(e)?n:e}function Gu(e){return zu(parseFloat(e),0)}function Wu(e,t){var n=ka({},e);return(t||[]).forEach((function(e){var t,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x,E,S,O,D,C,T,N,R,I;e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement||(r=(t=Hu(e).getComputedStyle(e)).overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,p=e.offsetWidth,m=e.clientWidth,f=Gu(i),h=Gu(a),y=(p-m-(g=Gu(s))-(b=Gu(l)))*(_=zu(Math.round(c.width/p*1e3)/1e3)),w=(u-d-f-h)*(v=zu(Math.round(c.height/u*1e3)/1e3)),k=f*v,x=h*v,E=g*_,S=b*_,O=0,D=0,"clip"===r&&(O=(C=Gu(o))*_,D=C*v),R=(T=c.x+E-O)+c.width+2*O-E-S-y,I=(N=c.y+k-D)+c.height+2*D-k-x-w,n.left=Math.max(n.left,T),n.top=Math.max(n.top,N),n.right=Math.min(n.right,R),n.bottom=Math.min(n.bottom,I))})),n}function Vu(e,t){var n="".concat(arguments.length>1&&void 0!==t?t:0),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function qu(e,t){var n=Ua(t||[],2),r=n[1];return[Vu(e.width,n[0]),Vu(e.height,r)]}function Xu(e){var t=arguments.length>0&&void 0!==e?e:"";return[t[0],t[1]]}function Ku(e,t){var n=t[0],r=t[1];return{x:"l"===r?e.x:"r"===r?e.x+e.width:e.x+e.width/2,y:"t"===n?e.y:"b"===n?e.y+e.height:e.y+e.height/2}}function Yu(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}function Ju(e){var t,n,r,o,i,a,s=e.prefixCls,l=e.align,c=e.arrowPos,u=e.arrow||{},d=u.className,p=u.content,m=c.x,f=void 0===m?0:m,h=c.y,g=void 0===h?0:h,b=Nb.useRef();return l&&l.points?(t={position:"absolute"},!1!==l.autoArrow&&(i=(n=l.points[0])[1],a=(r=l.points[1])[1],(o=n[0])!==r[0]&&["t","b"].includes(o)?"t"===o?t.top=0:t.bottom=0:t.top=g,i!==a&&["l","r"].includes(i)?"l"===i?t.left=0:t.right=0:t.left=f),Nb.createElement("div",{ref:b,className:zK("".concat(s,"-arrow"),d),style:t},p)):null}function Qu(e){var t=e.prefixCls,n=e.zIndex;return e.mask?Nb.createElement(LY,pa({},e.motion,{motionAppear:!0,visible:e.open,removeOnLeave:!0}),(function(e){var r=e.className;return Nb.createElement("div",{style:{zIndex:n},className:zK("".concat(t,"-mask"),r)})})):null}function Zu(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!=r?r:void 0!==n?n:"rc-index-key-".concat(t)}function ed(e,t){var n=e||{},r=n.label||(t?"children":"label");return{label:r,value:n.value||"value",options:n.options||"options",groupLabel:n.groupLabel||r}}function td(e){var t=ka({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Ca(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function nd(e){return"tags"===e||"multiple"===e}function rd(e,t){var n=arguments.length>1&&void 0!==t&&t;return Ms(e).map((function(e,t){if(!Nb.isValidElement(e)||!e.type)return null;var r=e.type.isSelectOptGroup,o=e.key,i=e.props,a=i.children,s=Si(i,BN);return n||!r?function(e){var t=e.key,n=e.props,r=n.value;return ka({key:t,value:void 0!==r?r:t,children:n.children},Si(n,FN))}(e):ka(ka({key:"__RC_SELECT_GRP__".concat(null===o?t:o,"__"),label:o},s),{},{options:rd(a)})})).filter((function(e){return e}))}function od(e){var t,n=Nb.useRef();return n.current=e,t=Nb.useCallback((function(){return n.current.apply(n,arguments)}),[]),t}function id(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}function ad(e){var t=e.children,n=e.setRef,r=Nb.useCallback((function(e){n(e)}),[]);return Nb.cloneElement(t,{ref:r})}function sd(e,t){var n=arguments.length>0&&void 0!==e?e:0,r=n/(arguments.length>1&&void 0!==t?t:0)*100;return isNaN(r)&&(r=0),r=Math.max(r,XN),r=Math.min(r,n/2),Math.floor(r)}function ld(e,t){function n(e){ve((function(t){var n;return n=function(e){var t=e;return Number.isNaN(x.current)||(t=Math.min(t,x.current)),Math.max(t,0)}("function"==typeof e?e(t):e),he.current.scrollTop=n,n}))}function r(e,t){var r=e;t?(Gk.flushSync((function(){ke(r)})),T()):n(r)}var o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x,E,S,O,D,C,T,N,R,I,A,$,j,P,M,L,F,B,H,U=e.prefixCls,z=void 0===U?"rc-virtual-list":U,G=e.className,W=e.height,V=e.itemHeight,q=e.fullHeight,X=void 0===q||q,K=e.style,Y=e.data,J=e.children,Q=e.itemKey,Z=e.virtual,ee=e.direction,te=e.scrollWidth,ne=e.component,re=void 0===ne?"div":ne,oe=e.onScroll,ie=e.onVirtualScroll,ae=e.onVisibleChange,se=e.innerProps,le=e.extraRender,ce=Si(e,KN),ue=!(!1===Z||!W||!V),de=ue&&Y&&V*Y.length>W,pe="rtl"===ee,me=zK(z,Ei({},"".concat(z,"-rtl"),pe),G),fe=Y||YN,he=Nb.useRef(),ge=Nb.useRef(),be=Ua(Nb.useState(0),2),_e=be[0],ve=be[1],ye=Ua(Nb.useState(0),2),we=ye[0],ke=ye[1],xe=Ua(Nb.useState(!1),2),Ee=xe[0],Se=xe[1],Oe=function(){Se(!0)},De=function(){Se(!1)},Ce=Nb.useCallback((function(e){return"function"==typeof Q?Q(e):null==e?void 0:e[Q]}),[Q]),Te={getKey:Ce},Ne=Nb.useRef({start:0,end:fe.length}),Re=Nb.useRef(),Ie=function(e,t){var n=Ua(Nb.useState(e),2),r=n[0],o=n[1],i=Ua(Nb.useState(null),2),a=i[0],s=i[1];return Nb.useEffect((function(){var n=function(e,t,n){function r(e){return void 0!==e?n(e):a}var o,i,a,s,l,c,u,d=e.length,p=t.length;if(0===d&&0===p)return null;for(d=_e&&void 0===n&&(n=a,r=t),u>_e+W&&void 0===o&&(o=a),t=u;return void 0===n&&(n=0,r=0,o=Math.ceil(W/V)),void 0===o&&(o=fe.length-1),{scrollHeight:t,start:n,end:o=Math.min(o+1,fe.length-1),offset:r}}),[de,ue,_e,fe,i[3],W]),u=c.scrollHeight,p=c.end,m=c.offset,Ne.current.start=d=c.start,Ne.current.end=p,f=Ua(Nb.useState({width:0,height:W}),2),h=f[0],g=f[1],b=function(e){g(e)},_=Nb.useRef(),v=Nb.useRef(),y=Nb.useMemo((function(){return sd(h.width,te)}),[h.width,te]),w=Nb.useMemo((function(){return sd(h.height,u)}),[h.height,u]),(x=Nb.useRef(k=u-W)).current=k,O=t0(E=_e<=0,S=_e>=k),C=Nb.useRef((D=function(){return{x:pe?-we:we,y:_e}})()),T=Tl((function(){if(ie){var e=D();C.current.x===e.x&&C.current.y===e.y||(ie(e),C.current=e)}})),N=function(e){var t=e,n=te-h.width;return t=Math.max(t,0),Math.min(t,n)},R=Tl((function(e,t){t?(Gk.flushSync((function(){ke((function(t){return N(t+(pe?-e:e))}))})),T()):n((function(t){return t+e}))})),I=Ua(function(e,t,n,r,o){var i=Nb.useRef(0),a=Nb.useRef(null),s=Nb.useRef(null),l=Nb.useRef(!1),c=t0(t,n),u=Nb.useRef(null),d=Nb.useRef(null);return[function(t){var n,p,m;e&&(DD.cancel(d.current),d.current=DD((function(){u.current=null}),2),n=t.deltaY,p=Math.abs(t.deltaX),m=Math.abs(n),null===u.current&&(u.current=r&&p>m?"x":"y"),"x"===u.current?function(e){o(e.deltaX,!0),VN||e.preventDefault()}(t):function(e){DD.cancel(a.current);var t=e.deltaY;i.current+=t,s.current=t,c(t)||(VN||e.preventDefault(),a.current=DD((function(){o(i.current*(l.current?10:1)),i.current=0})))}(t))},function(t){e&&(l.current=t.detail===s.current)}]}(ue,E,S,!!te,R),2),A=I[0],$=I[1],function(e,t,n){var r=Nb.useRef(!1),o=Nb.useRef(0),i=Nb.useRef(null),a=Nb.useRef(null),s=function(e){var t,i;r.current&&(t=Math.ceil(e.touches[0].pageY),i=o.current-t,o.current=t,n(i)&&e.preventDefault(),clearInterval(a.current),a.current=setInterval((function(){(!n(i*=qN,!0)||Math.abs(i)<=.1)&&clearInterval(a.current)}),16))},l=function(){r.current=!1,u()},c=function(e){u(),1!==e.touches.length||r.current||(r.current=!0,o.current=Math.ceil(e.touches[0].pageY),i.current=e.target,i.current.addEventListener("touchmove",s),i.current.addEventListener("touchend",l))},u=function(){i.current&&(i.current.removeEventListener("touchmove",s),i.current.removeEventListener("touchend",l))};dO((function(){return e&&t.current.addEventListener("touchstart",c),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",c),u(),clearInterval(a.current)}}),[e])}(ue,he,(function(e,t){return!O(e,t)&&(A({preventDefault:function(){},deltaY:e}),!0)})),dO((function(){function e(e){ue&&e.preventDefault()}var t=he.current;return t.addEventListener("wheel",A),t.addEventListener("DOMMouseScroll",$),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",A),t.removeEventListener("DOMMouseScroll",$),t.removeEventListener("MozMousePixelScroll",e)}}),[ue]),P=function(e,t,n,r,o,i,a,s){var l=Nb.useRef();return function(c){var u,d,p,m;null!=c?(DD.cancel(l.current),"number"==typeof c?a(c):c&&"object"===ki(c)&&(d=c.align,u="index"in c?c.index:t.findIndex((function(e){return o(e)===c.key})),m=void 0===(p=c.offset)?0:p,function s(c,p){var f,h,g,b,_,v,y,w,k,x,E,S,O;if(!(c<0)&&e.current){if(h=!1,g=p,f=e.current.clientHeight){for(b=p||d,_=0,v=0,y=0,w=Math.min(t.length,u),k=0;k<=w;k+=1)x=o(t[k]),_=y=(v=_)+(void 0===(E=n.get(x))?r:E),k===u&&void 0===E&&(h=!0);switch(S=null,b){case"top":S=v-m;break;case"bottom":S=y-f+m;break;default:v<(O=e.current.scrollTop)?g="top":y>O+f&&(g="bottom")}null!==S&&S!==e.current.scrollTop&&a(S)}l.current=DD((function(){h&&i(),s(c-1,g)}),2)}}(3))):s()}}(he,fe,l,V,Ce,s,n,j=function(){var e,t;null===(e=_.current)||void 0===e||e.delayHidden(),null===(t=v.current)||void 0===t||t.delayHidden()}),Nb.useImperativeHandle(t,(function(){return{getScrollInfo:D,scrollTo:function(e){var t;(t=e)&&"object"===ki(t)&&("left"in t||"top"in t)?(void 0!==e.left&&ke(N(e.left)),P(e.top)):P(e)}}})),dO((function(){if(ae){var e=fe.slice(d,p+1);ae(e,fe)}}),[d,p,fe]),M=function(e,t,n,r){var o=Ua(Nb.useMemo((function(){return[new Map,[]]}),[e,n.id,r]),2),i=o[0],a=o[1];return function(o,s){var l,c,u,d,p,m=arguments.length>1&&void 0!==s?s:o,f=i.get(o),h=i.get(m);if(void 0===f||void 0===h)for(l=e.length,c=a.length;cW&&Nb.createElement(GN,{ref:_,prefixCls:z,scrollOffset:_e,scrollRange:u,rtl:pe,onScroll:r,onStartMove:Oe,onStopMove:De,spinSize:w,containerSize:h.height}),de&&te&&Nb.createElement(GN,{ref:v,prefixCls:z,scrollOffset:we,scrollRange:te,rtl:pe,onScroll:r,onStartMove:Oe,onStopMove:De,spinSize:y,containerSize:h.width,horizontal:!0}))}function cd(e){return"string"==typeof e||"number"==typeof e}function ud(e,t,n){return zK({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:n})}function dd(e,t){const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,i=e.controlHeightSM,[a]=f0(e);return{[`${n}-multiple${t?`${n}-${t}`:""}`]:{fontSize:e.fontSize,[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:a-2+"px 4px",borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"2px 0",lineHeight:`${i}px`,visibility:"hidden",content:'"\\a0"'}},[`\n &${n}-show-arrow ${n}-selector,\n &${n}-allow-clear ${n}-selector\n `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:2,marginBottom:2,lineHeight:i-2*e.lineWidth+"px",background:e.colorFillSecondary,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:4,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.colorTextDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},{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"}}),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-a,"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function pd(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.controlHeight-2*e.lineWidth,a=Math.ceil(1.25*e.fontSize);return{[`${n}-single${t?`${n}-${t}`:""}`]:{fontSize:e.fontSize,[`${n}-selector`]:Object.assign(Object.assign({},wY(e)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%"}},[`\n ${n}-selection-item,\n ${n}-selection-placeholder\n `]:{padding:0,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${i}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:after`,`${n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`\n &${n}-show-arrow ${n}-selection-item,\n &${n}-show-arrow ${n}-selection-placeholder\n `]:{paddingInlineEnd:a},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${r}px`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:`${i}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${r}px`,"&:after":{display:"none"}}}}}}}function md(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[pd(e),pd(Al(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+1.5*e.fontSize},[`\n &${t}-show-arrow ${t}-selection-item,\n &${t}-show-arrow ${t}-selection-placeholder\n `]:{paddingInlineEnd:1.5*e.fontSize}}}},pd(Al(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}function fd(){const[,e]=Cl(),t=$0(j0(e));return aK.useMemo((()=>{const e=new Map;let n=-1,r={};return{matchHandlers:{},dispatch:t=>(r=t,e.forEach((e=>e(r))),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach((e=>{const n=this.matchHandlers[t[e]];null==n||n.mql.removeListener(null==n?void 0:n.listener)})),e.clear()},register(){Object.keys(t).forEach((e=>{const n=t[e],o=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},r),{[e]:n}))},i=window.matchMedia(n);i.addListener(o),this.matchHandlers[n]={mql:i,listener:o},o(i)}))},responsiveMap:t}}),[e])}function hd(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,i=e.className,a=e.style;return Nb.createElement("div",{className:zK("".concat(n,"-content"),i),style:a},Nb.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof t?t():t))}function gd(e){const t=M0,{contentRadius:n,limitVerticalRadius:r}=e,o=n>12?n+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:r?t:o}}function bd(e,t){return e?t:{}}function _d(e,t){const{componentCls:n,sizePopupArrow:r,borderRadiusXS:o,borderRadiusOuter:i,boxShadowPopoverArrow:a}=e,{colorBg:s,contentRadius:l=e.borderRadiusLG,limitVerticalRadius:c,arrowDistance:u=0,arrowPlacement:d={left:!0,right:!0,top:!0,bottom:!0}}=t,{dropdownArrowOffsetVertical:p,dropdownArrowOffset:m}=gd({contentRadius:l,limitVerticalRadius:c});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},vY(r,o,i,s,a)),{"&:before":{background:s}})]},bd(!!d.top,{[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:u,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:m}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:m}}})),bd(!!d.bottom,{[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:u,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:m}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:m}}})),bd(!!d.left,{[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:u},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:p},[`&-placement-leftBottom ${n}-arrow`]:{bottom:p}})),bd(!!d.right,{[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:u},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:p},[`&-placement-rightBottom ${n}-arrow`]:{bottom:p}}))}}function vd(e,t){return arguments.length>1&&void 0!==t&&!t?nY.includes(e):[].concat(ya(X0),ya(nY)).includes(e)}function yd(e,t){const n=vd(t),r=zK({[`${e}-${t}`]:t&&n}),o={},i={};return t&&!n&&(o.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:i}}function wd(e,t){var n,r,o,i,a,s,l,c,u,d=e.arrow,p=void 0!==d&&d,m=e.prefixCls,f=void 0===m?"rc-dropdown":m,h=e.transitionName,g=e.animation,b=e.align,_=e.placement,v=void 0===_?"bottomLeft":_,y=e.placements,w=void 0===y?wR:y,k=e.getPopupContainer,x=e.showAction,E=e.hideAction,S=e.overlayClassName,O=e.overlayStyle,D=e.visible,C=e.trigger,T=void 0===C?["hover"]:C,N=e.autoFocus,R=e.overlay,I=e.children,A=e.onVisibleChange,$=Si(e,kR),j=Ua(aK.useState(),2),P=j[1],M="visible"in e?D:j[0],L=aK.useRef(null),F=aK.useRef(null),B=aK.useRef(null);return aK.useImperativeHandle(t,(function(){return L.current})),function(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,a=Nb.useRef(!1),s=function(){var e,o;t&&(null===(e=n.current)||void 0===e||null===(o=e.focus)||void 0===o||o.call(e),null==r||r(!1))},l=function(){var e;return!(null===(e=i.current)||void 0===e||!e.focus||(i.current.focus(),a.current=!0,0))},c=function(e){switch(e.keyCode){case gR:s();break;case bR:var t=!1;a.current||(t=l()),t?e.preventDefault():s()}};Nb.useEffect((function(){return t?(window.addEventListener("keydown",c),o&&DD(l,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}}),[t])}({visible:M,triggerRef:B,onVisibleChange:r=function(e){P(e),null==A||A(e)},autoFocus:N,overlayRef:F}),o=function(t){var n=e.onOverlayClick;P(!1),n&&n(t)},i=function(){return aK.createElement(_R,{ref:F,overlay:R,prefixCls:f,arrow:p})},a=function(){return"function"==typeof R?i:i()},s=function(){return"minOverlayWidthMatchTrigger"in e?e.minOverlayWidthMatchTrigger:!e.alignPoint},l=aK.cloneElement(I,{className:zK(null===(n=I.props)||void 0===n?void 0:n.className,M&&(u=e.openClassName,void 0!==u?u:"".concat(f,"-open"))),ref:Hs(I)?Fs(B,I.ref):void 0}),(c=E)||-1===T.indexOf("contextMenu")||(c=["click"]),aK.createElement(e0,pa({builtinPlacements:w},$,{prefixCls:f,ref:L,popupClassName:zK(S,Ei({},"".concat(f,"-show-arrow"),p)),popupStyle:O,action:T,showAction:x,hideAction:c,popupPlacement:v,popupAlign:b,popupTransitionName:h,popupAnimation:g,popupVisible:M,stretch:s()?"minWidth":"",popup:a(),onPopupVisibleChange:r,onPopupClick:o,getPopupContainer:k}),l)}function kd(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function xd(e){return kd(Nb.useContext(xR),e)}function Ed(e){var t=e.children,n=e.locked,r=Si(e,ER),o=Nb.useContext(SR),i=Ea((function(){return e=r,t=ka({},o),Object.keys(e).forEach((function(n){var r=e[n];void 0!==r&&(t[n]=r)})),t;var e,t}),[o,r],(function(e,t){return!(n||e[0]===t[0]&&Ta(e[1],t[1],!0))}));return Nb.createElement(SR.Provider,{value:i},t)}function Sd(){return Nb.useContext(DR)}function Od(e){var t=Nb.useContext(CR);return Nb.useMemo((function(){return void 0!==e?[].concat(ya(t),[e]):t}),[t,e])}function Dd(e,t){var n,r,o,i,a,s=arguments.length>1&&void 0!==t&&t;return!!EJ(e)&&(n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null,o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||s&&a<0))}function Cd(e,t){var n=function(e,t){var n=arguments.length>1&&void 0!==t&&t,r=ya(e.querySelectorAll("*")).filter((function(e){return Dd(e,n)}));return Dd(e,n)&&r.unshift(e),r}(e,!0);return n.filter((function(e){return t.has(e)}))}function Td(e,t,n,r){var o,i,a,s=arguments.length>3&&void 0!==r?r:1;return e?(i=(o=Cd(e,t)).length,a=o.findIndex((function(e){return n===e})),s<0?-1===a?a=i-1:a-=1:s>0&&(a+=1),o[a=(a+i)%i]):null}function Nd(e){var t,n=Nb.useRef(e);return n.current=e,t=Nb.useCallback((function(){var e,t,r,o;for(t=arguments.length,r=new Array(t),o=0;o1&&(i.motionAppear=!1),a=i.onVisibleChanged,i.onVisibleChanged=function(e){return _.current||e||r(!0),null==a?void 0:a(e)},n?null:Nb.createElement(Ed,{mode:d,locked:!_.current},Nb.createElement(LY,pa({visible:o},i,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(m,"-hidden")}),(function(e){return Nb.createElement(eI,{id:s,className:e.className,style:e.style},u)})))}function Bd(e){var t=e.eventKey,n=e.children,r=Od(t),o=Pd(n,r),i=Sd();return Nb.useEffect((function(){if(i)return i.registerPath(t,r),function(){i.unregisterPath(t,r)}}),[r]),Nb.createElement(CR.Provider,{value:r},i?o:Nb.createElement(sI,e,o))}function Hd(e){var t=e.children,n=Si(e,cI),r=Pd(t,Od(n.eventKey));return Sd()?r:Nb.createElement(uI,Ks(n,["warnKey"]),r)}function Ud(e){var t=e.className,n=e.style,r=Nb.useContext(SR).prefixCls;return Sd()?null:Nb.createElement("li",{className:zK("".concat(r,"-item-divider"),t),style:n})}function zd(e){return(e||[]).map((function(e,t){var n,r,o,i,a,s,l;return e&&"object"===ki(e)?(r=(n=e).label,o=n.children,i=n.key,a=n.type,s=Si(n,dI),l=null!=i?i:"tmp-".concat(t),o||"group"===a?Nb.createElement("group"===a?Hd:Bd,pa({key:l},s,{title:r}),zd(o)):"divider"===a?Nb.createElement(Ud,pa({key:l},s)):Nb.createElement(n1,pa({key:l},s),r)):null})).filter((function(e){return e}))}function Gd(e,t,n){var r=e;return t&&(r=zd(t)),Pd(r,n)}function Wd(e){return(e||[]).map(((e,t)=>{if(e&&"object"==typeof e){const n=e,{label:r,children:o,key:i,type:a}=n,s=gI(n,["label","children","key","type"]),l=null!=i?i:`tmp-${t}`;return o||"group"===a?Nb.createElement("group"===a?Hd:s1,Object.assign({key:l},s,{title:r}),Wd(o)):"divider"===a?Nb.createElement(o1,Object.assign({key:l},s)):Nb.createElement(a1,Object.assign({key:l},s),r)}return null})).filter((e=>e))}function Vd(e){return Nb.useMemo((()=>e?Wd(e):e),[e])}function qd(e){return Al(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}function Xd(e){return e&&"object"==typeof e?e:{}}function Kd(e){var t=e.id,n=e.activeKey,r=e.animated,o=e.tabPosition,i=e.destroyInactiveTabPane,a=Nb.useContext(l2),s=a.prefixCls,l=a.tabs,c=r.tabPane,u="".concat(s,"-tabpane");return Nb.createElement("div",{className:zK("".concat(s,"-content-holder"))},Nb.createElement("div",{className:zK("".concat(s,"-content"),"".concat(s,"-content-").concat(o),Ei({},"".concat(s,"-content-animated"),c))},l.map((function(e){var o=e.key,a=e.forceRender,s=e.style,l=e.className,d=Si(e,vI),p=o===n;return Nb.createElement(LY,pa({key:o,visible:p,forceRender:a,removeOnLeave:!!i,leavedClassName:"".concat(u,"-hidden")},r.tabPaneMotion),(function(e,n){var r=e.style,i=e.className;return Nb.createElement(_I,pa({},d,{prefixCls:u,id:t,tabKey:o,animated:c,active:p,style:ka(ka({},s),r),className:zK(l,i),ref:n}))}))}))))}function Yd(e,t){var n=Nb.useRef(e),r=Ua(Nb.useState({}),2)[1];return[n.current,function(e){var o="function"==typeof e?e(n.current):e;o!==n.current&&t(o,n.current),n.current=o,r({})}]}function Jd(e){var t=Ua(Nb.useState(0),2),n=t[0],r=t[1],o=Nb.useRef(0),i=Nb.useRef();return i.current=e,pO((function(){var e;null===(e=i.current)||void 0===e||e.call(i)}),[n]),function(){o.current===n&&(o.current+=1,r(o.current))}}function Qd(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}function Zd(e){return String(e).replace(/"/g,OI)}function ep(e,t,n,r){return!(!n||r||!1===e||void 0===e&&(!1===t||null===t))}function tp(e,t){var n=e.editable,r=e.locale,o=e.style;return n&&!1!==n.showAdd?Nb.createElement("button",{ref:t,type:"button",className:"".concat(e.prefixCls,"-nav-add"),style:o,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){n.onEdit("add",{event:e})}},n.addIcon||"+"):null}function np(e,t){function n(e){var t,n,r=l.filter((function(e){return!e.disabled})),o=r.findIndex((function(e){return e.key===D}))||0,i=r.length;for(t=0;tBe?Be:e}function r(){u(Date.now())}function o(){window.clearTimeout(s.current)}function i(){DD.cancel(D.current)}var a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x,E,S,O,D,C,T,N,R,I,A,$,j,P,M,L,F=Nb.useContext(l2),B=F.prefixCls,H=F.tabs,U=e.className,z=e.style,G=e.id,W=e.animated,V=e.activeKey,q=e.rtl,X=e.extra,K=e.editable,Y=e.locale,J=e.tabPosition,Q=e.tabBarGutter,Z=e.children,ee=e.onTabClick,te=e.onTabScroll,ne=Nb.useRef(),re=Nb.useRef(),oe=Nb.useRef(),ie=Nb.useRef(),ae=Nb.useRef(),se=Nb.useRef(),le=Nb.useRef(),ce="top"===J||"bottom"===J,ue=Ua(Yd(0,(function(e,t){ce&&te&&te({direction:e>t?"left":"right"})})),2),de=ue[0],pe=ue[1],me=Ua(Yd(0,(function(e,t){!ce&&te&&te({direction:e>t?"top":"bottom"})})),2),fe=me[0],he=me[1],ge=Ua(Nb.useState([0,0]),2),be=ge[0],_e=ge[1],ve=Ua(Nb.useState([0,0]),2),ye=ve[0],we=ve[1],ke=Ua(Nb.useState([0,0]),2),xe=ke[0],Ee=ke[1],Se=Ua(Nb.useState([0,0]),2),Oe=Se[0],De=Se[1],Ce=($=new Map,j=Nb.useRef([]),P=Ua(Nb.useState({}),2)[1],M=Nb.useRef("function"==typeof $?$():$),L=Jd((function(){var e=M.current;j.current.forEach((function(t){e=t(e)})),j.current=[],M.current=e,P({})})),[M.current,function(e){j.current.push(e),L()}]),Te=Ua(Ce,2),Ne=Te[1],Re=function(e,t,n){return Nb.useMemo((function(){var n,r,o,i,a,s,l=new Map,c=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||yI,u=c.left+c.width;for(r=0;ra?(o=n,h.current="x"):(o=r,h.current="y"),t(-o,-o)&&e.preventDefault()}},Nb.useEffect((function(){function t(e){g.current.onTouchMove(e)}function n(e){g.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){g.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){g.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(ie,(function(e,t){function i(e,t){e((function(e){return n(e+t)}))}return!!Pe&&(ce?i(pe,e):i(he,t),o(),r(),!0)})),Nb.useEffect((function(){return o(),c&&(s.current=window.setTimeout((function(){u(0)}),100)),o}),[c]),d=function(e,t,n,r,o,i,a){var s,l,c,u=a.tabs,d=a.tabPosition,p=a.rtl;return["top","bottom"].includes(d)?(s="width",l=p?"right":"left",c=Math.abs(n)):(s="height",l="top",c=-n),Nb.useMemo((function(){var n,r,o,i,a,d;if(!u.length)return[0,0];for(r=n=u.length,o=0;oc+t){r=o-1;break}for(a=0,d=n-1;d>=0;d-=1)if((e.get(u[d].key)||SI)[l]=r?[0,0]:[a,r]}),[e,t,r,o,i,c,d,u.map((function(e){return e.key})).join("_"),p])}(Re,Me,ce?de:fe,Ae,$e,je,ka(ka({},e),{},{tabs:H})),m=(p=Ua(d,2))[0],f=p[1],h=Tl((function(e){var t,r,o=Re.get(arguments.length>0&&void 0!==e?e:V)||{width:0,height:0,left:0,right:0,top:0};ce?(t=de,q?o.rightde+Me&&(t=o.right+o.width-Me):o.left<-de?t=-o.left:o.left+o.width>-de+Me&&(t=-(o.left+o.width-Me)),he(0),pe(n(t))):(r=fe,o.top<-fe?r=-o.top:o.top+o.height>-fe+Me&&(r=-(o.top+o.height-Me)),pe(0),he(n(r)))})),g={},"top"===J||"bottom"===J?g[q?"marginRight":"marginLeft"]=Q:g.marginTop=Q,b=H.map((function(e,t){var n=e.key;return Nb.createElement(rp,{id:G,prefixCls:B,key:n,tab:e,style:0===t?void 0:g,closable:e.closable,editable:K,active:n===V,renderWrapper:Z,removeAriaLabel:null==Y?void 0:Y.removeAriaLabel,onClick:function(e){ee(n,e)},onFocus:function(){h(n),r(),ie.current&&(q||(ie.current.scrollLeft=0),ie.current.scrollTop=0)}})})),_=function(){return Ne((function(){var e=new Map;return H.forEach((function(t){var n,r=t.key,o=null===(n=ae.current)||void 0===n?void 0:n.querySelector('[data-node-key="'.concat(Zd(r),'"]'));o&&e.set(r,{width:o.offsetWidth,height:o.offsetHeight,left:o.offsetLeft,top:o.offsetTop})})),e}))},Nb.useEffect((function(){_()}),[H.map((function(e){return e.key})).join("_")]),v=Jd((function(){var e,t,n,r=CI(ne),o=CI(re),i=CI(oe);_e([r[0]-o[0]-i[0],r[1]-o[1]-i[1]]),e=CI(le),Ee(e),t=CI(se),De(t),n=CI(ae),we([n[0]-e[0],n[1]-e[1]]),_()})),y=H.slice(0,m),w=H.slice(f+1),k=[].concat(ya(y),ya(w)),E=(x=Ua(Nb.useState(),2))[0],S=x[1],O=Re.get(V),D=Nb.useRef(),Nb.useEffect((function(){var e={};return O&&(ce?(q?e.right=O.right:e.left=O.left,e.width=O.width):(e.top=O.top,e.height=O.height)),i(),D.current=DD((function(){S(e)})),i}),[O,ce,q]),Nb.useEffect((function(){h()}),[V,Fe,Be,Qd(O),Qd(Re),ce]),Nb.useEffect((function(){v()}),[q]),C=!!k.length,T="".concat(B,"-nav-wrap"),ce?q?(R=de>0,N=de!==Be):(N=de<0,R=de!==Fe):(I=fe<0,A=fe!==Fe),Nb.createElement(kD,{onResize:v},Nb.createElement("div",{ref:Bs(t,ne),role:"tablist",className:zK("".concat(B,"-nav"),U),style:z,onKeyDown:function(){r()}},Nb.createElement(DI,{ref:re,position:"left",extra:X,prefixCls:B}),Nb.createElement("div",{className:zK(T,(a={},Ei(a,"".concat(T,"-ping-left"),N),Ei(a,"".concat(T,"-ping-right"),R),Ei(a,"".concat(T,"-ping-top"),I),Ei(a,"".concat(T,"-ping-bottom"),A),a)),ref:ie},Nb.createElement(kD,{onResize:v},Nb.createElement("div",{ref:ae,className:"".concat(B,"-nav-list"),style:{transform:"translate(".concat(de,"px, ").concat(fe,"px)"),transition:c?"none":void 0}},b,Nb.createElement(c2,{ref:le,prefixCls:B,locale:Y,editable:K,style:ka(ka({},0===b.length?void 0:g),{},{visibility:C?"hidden":null})}),Nb.createElement("div",{className:zK("".concat(B,"-ink-bar"),Ei({},"".concat(B,"-ink-bar-animated"),W.inkBar)),style:E})))),Nb.createElement(u2,pa({},e,{removeAriaLabel:null==Y?void 0:Y.removeAriaLabel,ref:se,prefixCls:B,tabs:k,className:!C&&Le,tabMoving:!!c})),Nb.createElement(DI,{ref:oe,position:"right",extra:X,prefixCls:B})))}function ip(e){var t=e.renderTabBar,n=Si(e,NI),r=Nb.useContext(l2).tabs;return t?t(ka(ka({},n),{},{panes:r.map((function(e){var t=e.label,n=e.key,r=Si(e,RI);return Nb.createElement(_I,pa({tab:t,key:n,tabKey:n},r))}))}),d2):Nb.createElement(d2,n)}function ap(e,t){var n,r,o,i,a,s,l,c,u,d,p,m,f=e.id,h=e.prefixCls,g=void 0===h?"rc-tabs":h,b=e.className,_=e.items,v=e.direction,y=e.activeKey,w=e.defaultActiveKey,k=e.editable,x=e.animated,E=e.tabPosition,S=void 0===E?"top":E,O=e.tabBarGutter,D=e.tabBarStyle,C=e.tabBarExtraContent,T=e.locale,N=e.moreIcon,R=e.moreTransitionName,I=e.destroyInactiveTabPane,A=e.renderTabBar,$=e.onChange,j=e.onTabClick,P=e.onTabScroll,M=e.getPopupContainer,L=e.popupClassName,F=Si(e,II),B=Nb.useMemo((function(){return(_||[]).filter((function(e){return e&&"object"===ki(e)&&"key"in e}))}),[_]),H="rtl"===v,U=function(e){var t,n=arguments.length>0&&void 0!==e?e:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!1}:ka({inkBar:!0},"object"===ki(n)?n:{})).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(x),z=Ua(Nb.useState(!1),2),G=z[0],W=z[1];return Nb.useEffect((function(){W(ZZ())}),[]),r=Ua(Il((function(){var e;return null===(e=B[0])||void 0===e?void 0:e.key}),{value:y,defaultValue:w}),2),o=r[0],i=r[1],a=Ua(Nb.useState((function(){return B.findIndex((function(e){return e.key===o}))})),2),s=a[0],l=a[1],Nb.useEffect((function(){var e,t=B.findIndex((function(e){return e.key===o}));-1===t&&(t=Math.max(0,Math.min(s,B.length-1)),i(null===(e=B[t])||void 0===e?void 0:e.key)),l(t)}),[B.map((function(e){return e.key})).join("_"),o,s]),u=(c=Ua(Il(null,{value:f}),2))[0],d=c[1],Nb.useEffect((function(){f||(d("rc-tabs-".concat(AI)),AI+=1)}),[]),m=ka(ka({},p={id:u,activeKey:o,animated:U,tabPosition:S,rtl:H,mobile:G}),{},{editable:k,locale:T,moreIcon:N,moreTransitionName:R,tabBarGutter:O,onTabClick:function(e,t){null==j||j(e,t);var n=e!==o;i(e),n&&(null==$||$(e))},onTabScroll:P,extra:C,style:D,panes:null,getPopupContainer:M,popupClassName:L}),Nb.createElement(l2.Provider,{value:{tabs:B,prefixCls:g}},Nb.createElement("div",pa({ref:t,id:f,className:zK(g,"".concat(g,"-").concat(S),(n={},Ei(n,"".concat(g,"-mobile"),G),Ei(n,"".concat(g,"-editable"),k),Ei(n,"".concat(g,"-rtl"),H),n),b)},F),void 0,Nb.createElement(ip,pa({},m,{renderTabBar:A})),Nb.createElement(Kd,pa({destroyInactiveTabPane:I},p,{animated:U}))))}function sp(e,t){const[n,r]=Nb.useState("string"==typeof e?e:"");return Nb.useEffect((()=>{(()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;nNumber.MAX_SAFE_INTEGER)return String(cp()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e3&&void 0!==r&&r;return""===e?"":(i=(o=dp(e)).negativeStr,a=o.integerStr,s=o.decimalStr,l="".concat(t).concat(s),c="".concat(i).concat(a),n>=0?(u=Number(s[n]))>=5&&!d?bp(gp(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,d):0===n?c:"".concat(c).concat(t).concat(s.padEnd(n,"0").slice(0,n)):".0"===l?c:"".concat(c).concat(l))}function _p(e){return!(!e.addonBefore&&!e.addonAfter)}function vp(e){return!!(e.prefix||e.suffix||e.allowClear)}function yp(e,t,n,r){var o,i;if(n)return o=t,"click"===t.type?(i=e.cloneNode(!0),o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",void n(o)):void 0!==r?(o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(o)):void n(o)}function wp(e,t){var n,r;if(e&&(e.focus(t),n=(t||{}).cursor))switch(r=e.value.length,n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}function kp(e){return null==e?"":String(e)}function xp(e){var t,n,r,o,i,a,s,l=e.prefixCls,c=e.upNode,u=e.downNode,d=e.upDisabled,p=e.downDisabled,m=e.onStep,f=Nb.useRef(),h=Nb.useRef([]),g=Nb.useRef();return g.current=m,t=function(){clearTimeout(f.current)},n=function(e,n){e.preventDefault(),t(),g.current(n),f.current=setTimeout((function e(){g.current(n),f.current=setTimeout(e,QI)}),ZI)},Nb.useEffect((function(){return function(){t(),h.current.forEach((function(e){return DD.cancel(e)}))}}),[]),JI()?null:(r="".concat(l,"-handler"),o=zK(r,"".concat(r,"-up"),Ei({},"".concat(r,"-up-disabled"),d)),i=zK(r,"".concat(r,"-down"),Ei({},"".concat(r,"-down-disabled"),p)),s={unselectable:"on",role:"button",onMouseUp:a=function(){return h.current.push(DD(t))},onMouseLeave:a},Nb.createElement("div",{className:"".concat(r,"-wrap")},Nb.createElement("span",pa({},s,{onMouseDown:function(e){n(e,!0)},"aria-label":"Increase Value","aria-disabled":d,className:o}),c||Nb.createElement("span",{unselectable:"on",className:"".concat(l,"-handler-up-inner")})),Nb.createElement("span",pa({},s,{onMouseDown:function(e){n(e,!1)},"aria-label":"Decrease Value","aria-disabled":p,className:i}),u||Nb.createElement("span",{unselectable:"on",className:"".concat(l,"-handler-down-inner")}))))}function Ep(e){var t="number"==typeof e?fp(e):dp(e).fullStr;return t.includes(".")?dp(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}function Sp(e,t){const n=Nb.useRef([]),r=()=>{n.current.push(setTimeout((()=>{var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))})))};return Nb.useEffect((()=>(t&&r(),()=>n.current.forEach((e=>{e&&clearTimeout(e)})))),[]),r}function Op(e,t){return ya(e||"").slice(0,t).join("")}function Dp(e,t,n,r){var o=n;return e?o=Op(n,r):ya(t||"").lengthr&&(o=t),o}function Cp(e){return"string"==typeof e&&String(Number(e))===e?(Ca(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}function Tp(e,t){var n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v=e.prefixCls,y=e.open,w=e.placement,k=e.inline,x=e.push,E=e.forceRender,S=e.autoFocus,O=e.keyboard,D=e.rootClassName,C=e.rootStyle,T=e.zIndex,N=e.className,R=e.style,I=e.motion,A=e.width,$=e.height,j=e.children,P=e.contentWrapperStyle,M=e.mask,L=e.maskClosable,F=e.maskMotion,B=e.maskClassName,H=e.maskStyle,U=e.afterOpenChange,z=e.onClose,G=e.onMouseEnter,W=e.onMouseOver,V=e.onMouseLeave,q=e.onClick,X=e.onKeyDown,K=e.onKeyUp,Y=Nb.useRef(),J=Nb.useRef(),Q=Nb.useRef();if(Nb.useImperativeHandle(t,(function(){return Y.current})),a=function(e){var t,n,r=e.keyCode,o=e.shiftKey;switch(r){case MC.TAB:r===MC.TAB&&(o||document.activeElement!==Q.current?o&&document.activeElement===J.current&&(null===(n=Q.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case MC.ESC:z&&O&&(e.stopPropagation(),z(e))}},Nb.useEffect((function(){var e;y&&S&&(null===(e=Y.current)||void 0===e||e.focus({preventScroll:!0}))}),[y]),l=(s=Ua(Nb.useState(!1),2))[0],c=s[1],u=Nb.useContext(_A),d=null!==(n=null!==(r=null===(o=!1===x?{distance:0}:!0===x?{}:x||{})||void 0===o?void 0:o.distance)&&void 0!==r?r:null==u?void 0:u.pushDistance)&&void 0!==n?n:180,p=Nb.useMemo((function(){return{pushDistance:d,push:function(){c(!0)},pull:function(){c(!1)}}}),[d]),Nb.useEffect((function(){var e,t;y?null==u||null===(e=u.push)||void 0===e||e.call(u):null==u||null===(t=u.pull)||void 0===t||t.call(u)}),[y]),Nb.useEffect((function(){return function(){var e;null==u||null===(e=u.pull)||void 0===e||e.call(u)}}),[]),m=M&&Nb.createElement(LY,pa({key:"mask"},F,{visible:y}),(function(e,t){var n=e.className,r=e.style;return Nb.createElement("div",{className:zK("".concat(v,"-mask"),n,B),style:ka(ka({},r),H),onClick:L&&y?z:void 0,ref:t})})),f="function"==typeof I?I(w):I,h={},l&&d)switch(w){case"top":h.transform="translateY(".concat(d,"px)");break;case"bottom":h.transform="translateY(".concat(-d,"px)");break;case"left":h.transform="translateX(".concat(d,"px)");break;default:h.transform="translateX(".concat(-d,"px)")}return"left"===w||"right"===w?h.width=Cp(A):h.height=Cp($),g={onMouseEnter:G,onMouseOver:W,onMouseLeave:V,onClick:q,onKeyDown:X,onKeyUp:K},b=Nb.createElement(LY,pa({key:"panel"},f,{visible:y,forceRender:E,onVisibleChanged:function(e){null==U||U(e)},removeOnLeave:!1,leavedClassName:"".concat(v,"-content-wrapper-hidden")}),(function(t,n){var r=t.className,o=t.style;return Nb.createElement("div",pa({className:zK("".concat(v,"-content-wrapper"),r),style:ka(ka(ka({},h),o),P)},nc(e,{data:!0})),Nb.createElement(vA,pa({containerRef:n,prefixCls:v,className:N,style:R},g),j))})),_=ka({},C),T&&(_.zIndex=T),Nb.createElement(_A.Provider,{value:p},Nb.createElement("div",{className:zK(v,"".concat(v,"-").concat(w),D,(i={},Ei(i,"".concat(v,"-open"),y),Ei(i,"".concat(v,"-inline"),k),i)),style:_,tabIndex:-1,ref:Y,onKeyDown:a},m,Nb.createElement("div",{tabIndex:0,ref:J,style:yA,"aria-hidden":"true","data-sentinel":"start"}),b,Nb.createElement("div",{tabIndex:0,ref:Q,style:yA,"aria-hidden":"true","data-sentinel":"end"})))}function Np(e){const[t,n]=Nb.useState(e);return Nb.useEffect((()=>{const t=setTimeout((()=>{n(e)}),e.length?0:10);return()=>{clearTimeout(t)}}),[e]),t}function Rp(e,t,n,r){return{key:"string"==typeof e?e:`${t}-${arguments.length>3&&void 0!==r?r:0}`,error:e,errorStatus:n}}function Ip(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function Ap(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:z5.includes(n)?`${G5}_${n}`:n}function $p(e){return Ip(e).join("_")}function jp(e){const[t]=pu(),n=Nb.useRef({}),r=Nb.useMemo((()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{const r=$p(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e,t){let n=arguments.length>1&&void 0!==t?t:{};const o=Ap(Ip(e),r.__INTERNAL__.name),i=o?document.getElementById(o):null;i&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof(n=t)&&"function"==typeof n.behavior)return t.behavior(dJ(e,t));var n;const r="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:o,top:i,left:a}of dJ(e,pJ(t)))o.scroll({top:i,left:a,behavior:r})}(i,Object.assign({scrollMode:"if-needed",block:"nearest"},n))},getFieldInstance:e=>{const t=$p(e);return n.current[t]}})),[e,t]);return[r]}function Pp(e){const{prefixCls:t,className:n,rootClassName:r,style:o,help:i,errors:a,warnings:s,validateStatus:l,meta:c,hasFeedback:u,hidden:d,children:p,fieldId:m,required:f,isRequired:h,onSubItemMetaChange:g}=e,b=DA(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),_=`${t}-item`,{requiredMark:v}=Nb.useContext(RQ),y=Nb.useRef(null),w=Np(a),k=Np(s),x=null!=i,E=!!(x||a.length||s.length),S=!!y.current&&EJ(y.current),[O,D]=Nb.useState(null);dO((()=>{if(E&&y.current){const e=getComputedStyle(y.current);D(parseInt(e.marginBottom,10))}}),[E,S]);const C=function(e){let t=arguments.length>0&&void 0!==e&&e,n="";return void 0!==l?n=l:c.validating?n="validating":(t?w:c.errors).length?n="error":(t?k:c.warnings).length?n="warning":(c.touched||u&&c.validated)&&(n="success"),n}(),T=Nb.useMemo((()=>{let e;if(u){const t=C&&t3[C];e=t?Nb.createElement("span",{className:zK(`${_}-feedback-icon`,`${_}-feedback-icon-${C}`)},Nb.createElement(t,null)):null}return{status:C,errors:a,warnings:s,hasFeedback:u,feedbackIcon:e,isFormItemInput:!0}}),[C,u]),N=zK(_,n,r,{[`${_}-with-help`]:x||w.length||k.length,[`${_}-has-feedback`]:C&&u,[`${_}-has-success`]:"success"===C,[`${_}-has-warning`]:"warning"===C,[`${_}-has-error`]:"error"===C,[`${_}-is-validating`]:"validating"===C,[`${_}-hidden`]:d});return Nb.createElement("div",{className:N,style:o,ref:y},Nb.createElement(A2,Object.assign({className:`${_}-row`},Ks(b,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),Nb.createElement(e3,Object.assign({htmlFor:m},e,{requiredMark:v,required:null!=f?f:h,prefixCls:t})),Nb.createElement(J5,Object.assign({},e,c,{errors:w,warnings:k,prefixCls:t,status:C,help:i,marginBottom:O,onErrorVisibleChanged:e=>{e||D(null)}}),Nb.createElement(IQ.Provider,{value:g},Nb.createElement(jQ.Provider,{value:T},p)))),!!O&&Nb.createElement("div",{className:`${_}-margin-offset`,style:{marginBottom:-O}}))}function Mp(){const{prefixCls:e,getContainer:t,duration:n,rtl:r,maxCount:o,top:i}=c3,a=null!=e?e:GY().getPrefixCls("message"),s=(null==t?void 0:t())||document.body;return{prefixCls:a,getContainer:()=>s,duration:n,rtl:r,maxCount:o,top:i}}function Lp(){if(!a3){const e=document.createDocumentFragment(),t={fragment:e};return a3=t,void s3((()=>{mc(Nb.createElement(u3,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Lp())}))}}),e)}))}a3.instance&&(l3.forEach((e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":s3((()=>{const t=a3.instance.open(Object.assign(Object.assign({},c3),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)}));break;case"destroy":s3((()=>{null==a3||a3.instance.destroy(e.key)}));break;default:s3((()=>{var n;const r=(n=a3.instance)[t].apply(n,ya(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)}))}})),l3=[])}function Fp(e){return _u(vu(e))}function Bp(){const{prefixCls:e,getContainer:t,rtl:n,maxCount:r,top:o,bottom:i}=y3,a=null!=e?e:GY().getPrefixCls("notification"),s=(null==t?void 0:t())||document.body;return{prefixCls:a,getContainer:()=>s,rtl:n,maxCount:r,top:o,bottom:i}}function Hp(){if(!b3){const e=document.createDocumentFragment(),t={fragment:e};return b3=t,void _3((()=>{mc(Nb.createElement(w3,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Hp())}))}}),e)}))}b3.instance&&(v3.forEach((e=>{switch(e.type){case"open":_3((()=>{b3.instance.open(Object.assign(Object.assign({},y3),e.config))}));break;case"destroy":_3((()=>{null==b3||b3.instance.destroy(e.key)}))}})),v3=[])}function Up(e){v3.push({type:"open",config:e}),Hp()}function zp(e){var t,n,r=e.prefixCls,o=e.containerRef,i=e.value,a=e.getValueIndex,s=e.motionName,l=e.onMotionStart,c=e.onMotionEnd,u=e.direction,d=Nb.useRef(null),p=Ua(Nb.useState(i),2),m=p[0],f=p[1],h=function(e){var t,n=a(e),i=null===(t=o.current)||void 0===t?void 0:t.querySelectorAll(".".concat(r,"-item"))[n];return(null==i?void 0:i.offsetParent)&&i},g=Ua(Nb.useState(null),2),b=g[0],_=g[1],v=Ua(Nb.useState(null),2),y=v[0],w=v[1];return dO((function(){var e,t,n,r;m!==i&&(e=h(m),t=h(i),n=NA(e),r=NA(t),f(i),_(n),w(r),e&&t?l():c())}),[i]),t=Nb.useMemo((function(){return RA("rtl"===u?-(null==b?void 0:b.right):null==b?void 0:b.left)}),[u,b]),n=Nb.useMemo((function(){return RA("rtl"===u?-(null==y?void 0:y.right):null==y?void 0:y.left)}),[u,y]),b&&y?Nb.createElement(LY,{visible:!0,motionName:s,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){_(null),w(null),c()}},(function(e,o){var i=e.className,a=ka(ka({},e.style),{},{"--thumb-start-left":t,"--thumb-start-width":RA(null==b?void 0:b.width),"--thumb-active-left":n,"--thumb-active-width":RA(null==y?void 0:y.width)}),s={ref:Fs(d,o),style:a,className:zK("".concat(r,"-thumb"),i)};return Nb.createElement("div",s)})):null}function Gp(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function Wp(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}function Vp(e,t,n){return(e-t)/(n-t)}function qp(e,t,n,r){var o=Vp(t,n,r),i={};switch(e){case"rtl":i.right="".concat(100*o,"%"),i.transform="translateX(50%)";break;case"btt":i.bottom="".concat(100*o,"%"),i.transform="translateY(50%)";break;case"ttb":i.top="".concat(100*o,"%"),i.transform="translateY(-50%)";break;default:i.left="".concat(100*o,"%"),i.transform="translateX(-50%)"}return i}function Xp(e,t){return Array.isArray(e)?e[t]:e}function Kp(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function Yp(e){var t,n=e.prefixCls,r=e.style,o=e.start,i=e.end,a=e.index,s=e.onStartMove,l=Nb.useContext(PA),c=l.direction,u=l.min,d=l.max,p=l.disabled,m=l.range,f="".concat(n,"-track"),h=Vp(o,u,d),g=Vp(i,u,d),b=function(e){!p&&s&&s(e,-1)},_={};switch(c){case"rtl":_.right="".concat(100*h,"%"),_.width="".concat(100*g-100*h,"%");break;case"btt":_.bottom="".concat(100*h,"%"),_.height="".concat(100*g-100*h,"%");break;case"ttb":_.top="".concat(100*h,"%"),_.height="".concat(100*g-100*h,"%");break;default:_.left="".concat(100*h,"%"),_.width="".concat(100*g-100*h,"%")}return Nb.createElement("div",{className:zK(f,(t={},Ei(t,"".concat(f,"-").concat(a+1),m),Ei(t,"".concat(n,"-track-draggable"),s),t)),style:ka(ka({},_),r),onMouseDown:b,onTouchStart:b})}function Jp(e){var t=e.prefixCls,n=e.style,r=e.values,o=e.startPoint,i=e.onStartMove,a=Nb.useContext(PA),s=a.included,l=a.range,c=a.min,u=Nb.useMemo((function(){var e,t,n,i;if(!l)return 0===r.length?[]:(e=null!=o?o:c,t=r[0],[{start:Math.min(e,t),end:Math.max(e,t)}]);for(n=[],i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a),r(s+(u=n-i/2),l+u,c+u))}function Mm(e){var t,n,r,o,i,a,s,l,c,u,d;if("string"!=typeof e)throw new zj(3);if(t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return Gj[t]?"#"+Gj[t]:e}(e),t.match(Wj))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Vj))return n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2)),{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n};if(t.match(qj))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Xj))return r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2)),{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r};if(o=Kj.exec(t))return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};if(i=Yj.exec(t.substring(0,50)))return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};if(a=Jj.exec(t)){if(s="rgb("+Pm(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",!(l=Kj.exec(s)))throw new zj(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}if(c=Qj.exec(t.substring(0,50))){if(u="rgb("+Pm(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",!(d=Kj.exec(u)))throw new zj(4,t,u);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new zj(5)}function Lm(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function Fm(e){return Lm(Math.round(255*e))}function Bm(e,t,n){return Zj("#"+Fm(e)+Fm(t)+Fm(n))}function Hm(e,t,n){return Pm(e,t,n,Bm)}function Um(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Zj("#"+Lm(e)+Lm(t)+Lm(n));if("object"==typeof e&&void 0===t&&void 0===n)return Zj("#"+Lm(e.red)+Lm(e.green)+Lm(e.blue));throw new zj(6)}function zm(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=Mm(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Um(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Um(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new zj(7)}function Gm(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):Gm(e,t,r)}}function Wm(e){return Gm(e,e.length,[])}function Vm(e,t){if("transparent"===t)return t;var n=function(e){return function(e){var t,n,r,o=e.red/255,i=e.green/255,a=e.blue/255,s=Math.max(o,i,a),l=Math.min(o,i,a),c=(s+l)/2;if(s===l)return void 0!==e.alpha?{hue:0,saturation:0,lightness:c,alpha:e.alpha}:{hue:0,saturation:0,lightness:c};switch(n=s-l,r=c>.5?n/(2-s-l):n/(s+l),s){case o:t=(i-a)/n+(i=1?Hm(e.hue,e.saturation,e.lightness):"rgba("+Pm(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new zj(2)}(e);if(nP(e))return function(e){if("object"==typeof e)return Hm(e.hue,e.saturation,e.lightness);throw new zj(1)}(e);throw new zj(8)}(pa({},n,{hue:n.hue+parseFloat(e)}))}function qm(e){var t,n;return"transparent"===e?0:(t=Mm(e),n=Object.keys(t).map((function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)})),parseFloat((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3)))}function Xm(e,t,n,r){var o,i,a,s,l;return void 0===t&&(t=iP),void 0===n&&(n=aP),void 0===r&&(r=!0),i=(o=qm(e)>.179)?t:n,!r||(a=i,s=qm(e),l=qm(a),parseFloat((s>l?(s+.05)/(l+.05):(l+.05)/(s+.05)).toFixed(2))>=4.5)?i:o?iP:aP}function Km(e,t){var n,r,o,i,a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;n=a.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)o.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(a=n.return)&&a.call(n)}finally{if(i)throw i.error}}return o}function Ym(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return o=!0,i=!1,{s:function(){s=s.call(e)},n:function(){var e=s.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==s.return||s.return()}finally{if(i)throw a}}}}function nh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n52;t=t/52|0)n=nG(t%52)+n;return(nG(t%52)+n).replace(tG,"$1-$2")}function ph(e){return"string"==typeof e&&!0}function mh(e){return("type"in(t=e)&&t.type.$$typeof)===sG?dG:"$$typeof"in e?pG[e.$$typeof]:cG;var t}function fh(e,t,n){var r,o,i,a,s,l,c;if("string"!=typeof t)for(_G&&(r=bG(t))&&r!==_G&&fh(e,r,n),o=fG(t),hG&&(o=o.concat(hG(t))),i=mh(e),a=mh(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}function xh(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=xh(e.children,t)),e}))}function Eh(){return Nb.useContext(BG)}function Sh(e){var t,n,r;for(t="",n=0;n>>0)}("6.0.7"+m+XG[m])),d?"".concat(d,"-").concat(p):p):v;return void 0===t.displayName&&function(e){ph(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e),r=t.displayName&&t.componentId?"".concat(uh(t.displayName),"-").concat(t.componentId):t.componentId||y,o=f&&h.attrs?h.attrs.concat(_).filter(Boolean):_,i=t.shouldForwardProp,f&&h.shouldForwardProp&&(a=h.shouldForwardProp,t.shouldForwardProp?(s=t.shouldForwardProp,i=function(e,t){return a(e,t)&&s(e,t)}):i=a),l=new VG(n,r,f?h.componentStyle:void 0),c=aK.forwardRef((function(e,t){return function(e,t,n){var r,o,i,a,s,l,c=e.attrs,u=e.componentStyle,d=e.defaultProps,p=e.foldedComponentIds,m=e.styledComponentId,f=e.target,h=aK.useContext(qG),g=Eh(),b=e.shouldForwardProp||g.shouldForwardProp,_=function(e,t,n){var r,o,i,a,s;for(o=sP(sP({},t),{className:void 0,theme:n}),i=0;i{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,r6(e,r))}function Ph(e,t){function n(){return s.getFixedT(r.lng||null,"fallback"===l.nsMode?d:d[0],u)}let r=arguments.length>1&&void 0!==t?t:{};const{i18n:o}=r,{i18n:i,defaultNS:a}=Nb.useContext(u6)||{},s=o||i||s6;if(s&&!s.reportNamespaces&&(s.reportNamespaces=new d6),!s){Ah("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}s.options.react&&void 0!==s.options.react.wait&&Ah("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const l={...l6,...s.options.react,...r},{useSuspense:c,keyPrefix:u}=l;let d=e||a||s.options&&s.options.defaultNS;d="string"==typeof d?[d]:d||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(d);const p=(s.isInitialized||s.initializedStoreOnce)&&d.every((e=>function(e,t,n){let r=arguments.length>2&&void 0!==n?n:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):function(e,t,n){let r=arguments.length>2&&void 0!==n?n:{};const o=t.languages[0],i=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===o.toLowerCase())return!0;const s=(e,n)=>{const r=t.services.backendConnector.state[`${e}|${n}`];return-1===r||2===r};return!(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!s(t.isLanguageChangingTo,e)||!t.hasResourceBundle(o,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!s(o,e)||i&&!s(a,e)))}(e,t,r):(Ah("i18n.languages were undefined or empty",t.languages),!0)}(e,s,l))),[m,f]=Nb.useState(n);let h=d.join();r.lng&&(h=`${r.lng}${h}`);const g=(e=>{const t=Nb.useRef();return Nb.useEffect((()=>{t.current=e}),[e,void 0]),t.current})(h),b=Nb.useRef(!0);Nb.useEffect((()=>{function e(){b.current&&f(n)}const{bindI18n:t,bindI18nStore:o}=l;return b.current=!0,p||c||(r.lng?jh(s,r.lng,d,(()=>{b.current&&f(n)})):$h(s,d,(()=>{b.current&&f(n)}))),p&&g&&g!==h&&b.current&&f(n),t&&s&&s.on(t,e),o&&s&&s.store.on(o,e),()=>{b.current=!1,t&&s&&t.split(" ").forEach((t=>s.off(t,e))),o&&s&&o.split(" ").forEach((t=>s.store.off(t,e)))}}),[s,h]);const _=Nb.useRef(!0);Nb.useEffect((()=>{b.current&&!_.current&&f(n),_.current=!1}),[s,u]);const v=[m,s,p];if(v.t=m,v.i18n=s,v.ready=p,p)return v;if(!p&&!c)return v;throw new Promise((e=>{r.lng?jh(s,r.lng,d,(()=>e())):$h(s,d,(()=>e()))}))}function Mh(e){var t,n,r=this;if(r instanceof Mh||(r=new Mh),r.tail=null,r.head=null,r.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){r.push(e)}));else if(arguments.length>0)for(t=0,n=arguments.length;tthis.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!m(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&f(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const n=((this.options.includePrerelease&&d)|(this.options.loose&&p))+":"+e,i=t.get(n);if(i)return i;const f=this.options.loose;e=e.replace(f?a[s.HYPHENRANGELOOSE]:a[s.HYPHENRANGE],O(this.options.includePrerelease)),o("hyphen replace",e),e=e.replace(a[s.COMPARATORTRIM],l),o("comparator trim",e),e=e.replace(a[s.TILDETRIM],c),o("tilde trim",e),e=e.replace(a[s.CARETTRIM],u),o("caret trim",e);let h=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>S(e,this.options)));f&&(h=h.filter((e=>(o("loose invalid filter",e,this.options),!!e.match(a[s.COMPARATORLOOSE]))))),o("range list",h);const b=new Map,_=h.map((e=>new r(e,this.options)));for(const t of _){if(m(t))return[t];b.set(t.value,t)}b.size>1&&b.has("")&&b.delete("");const v=[...b.values()];return t.set(n,v),v}intersects(t,n){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some((e=>h(e,n)&&t.set.some((t=>h(t,n)&&e.every((e=>t.every((t=>e.intersects(t,n)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new i(e,this.options)}catch(t){return!1}for(let n=0;n"<0.0.0-0"===e.value,f=e=>""===e.value,h=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every((e=>o.intersects(e,t))),o=r.pop();return n},g=(e,t)=>(o("comp",e,t),e=y(e,t),o("caret",e),e=_(e,t),o("tildes",e),e=k(e,t),o("xrange",e),e=E(e,t),o("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,_=(e,t)=>e.trim().split(/\s+/).map((e=>v(e,t))).join(" "),v=(e,t)=>e.replace(t.loose?a[s.TILDELOOSE]:a[s.TILDE],((t,n,r,i,a)=>{let s;return o("tilde",e,t,n,r,i,a),b(n)?s="":b(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:b(i)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(o("replaceTilde pr",a),s=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,o("tilde return",s),s})),y=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{o("caret",e,t);const n=t.includePrerelease?"-0":"";return e.replace(t.loose?a[s.CARETLOOSE]:a[s.CARET],((t,r,i,a,s)=>{let l;return o("caret",e,t,r,i,a,s),b(r)?l="":b(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(a)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:s?(o("replaceCaret pr",s),l="0"===r?"0"===i?`>=${r}.${i}.${a}-${s} <${r}.${i}.${+a+1}-0`:`>=${r}.${i}.${a}-${s} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${a}-${s} <${+r+1}.0.0-0`):(o("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${a}${n} <${r}.${i}.${+a+1}-0`:`>=${r}.${i}.${a}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${a} <${+r+1}.0.0-0`),o("caret return",l),l}))},k=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map((e=>x(e,t))).join(" ")),x=(e,t)=>(e=e.trim()).replace(t.loose?a[s.XRANGELOOSE]:a[s.XRANGE],((n,r,i,a,s,l)=>{o("xRange",e,n,r,i,a,s,l);const c=b(i),u=c||b(a),d=u||b(s);return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(a=0),s=0,">"===r?(r=">=",u?(i=+i+1,a=0,s=0):(a=+a+1,s=0)):"<="===r&&(r="<",u?i=+i+1:a=+a+1),"<"===r&&(l="-0"),n=`${r+i}.${a}.${s}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),o("xRange return",n),n})),E=(e,t)=>(o("replaceStars",e,t),e.trim().replace(a[s.STAR],"")),S=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?s.GTE0PRE:s.GTE0],"")),O=e=>(t,n,r,o,i,a,s,l,c,u,d,p)=>`${n=b(r)?"":b(o)?`>=${r}.0.0${e?"-0":""}`:b(i)?`>=${r}.${o}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=b(c)?"":b(u)?`<${+c+1}.0.0-0`:b(d)?`<${c}.${+u+1}.0-0`:p?`<=${c}.${u}.${d}-${p}`:e?`<${c}.${u}.${+d+1}-0`:`<=${l}`}`.trim(),D=(e,t,n)=>{for(let r=0;r0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0};return $W}function Bh(){if(MW)return PW;MW=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(r,o){if(o=n(o),r instanceof t){if(r.loose===!!o.loose)return r;r=r.value}r=r.trim().split(/\s+/).join(" "),a("comparator",r,o),this.options=o,this.loose=!!o.loose,this.parse(r),this.value=this.semver===e?"":this.operator+this.semver.version,a("comp",this)}parse(t){const n=t.match(this.options.loose?r[o.COMPARATORLOOSE]:r[o.COMPARATOR]);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),this.semver=n[2]?new s(n[2],this.options.loose):e}toString(){return this.value}test(t){if(a("Comparator.test",t,this.options.loose),this.semver===e||t===e)return!0;if("string"==typeof t)try{t=new s(t,this.options)}catch(n){return!1}return i(t,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new l(e.value,r).test(this.value):""===e.operator?""===e.value||new l(this.value,r).test(e.semver):!((r=n(r)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(i(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(i(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}PW=t;const n=oW,{safeRe:r,t:o}=rW,i=CW,a=nW,s=aW,l=Fh();return PW}function Hh(e){return e&&e.__esModule?e:{default:e}}function Uh(e){return e&&e.__esModule?e:{default:e}}function zh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function Gh(e){return e&&e.__esModule?e:{default:e}}function Wh(e){return e&&e.__esModule?e:{default:e}}function Vh(e){return e&&e.__esModule?e:{default:e}}function qh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xh(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(1===e.length)return e;const n=e.slice(0,t=t||1),r=e.slice(t);return Array.prototype.concat.call([],Xh(n),Xh(r))}function Kh(e){try{return decodeURIComponent(e)}catch{let t=e.match(r7)||[];for(let n=1;nNumber(e)-Number(t))).map((t=>e[t])):e}function ng(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function rg(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function og(e){const t=(e=ng(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function ig(e,t){Qh((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[])$/.exec(e),r[e=e.replace(/\[]$/,"")]=t?void 0!==r[e]?[...r[e],n]:[n]:n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),r[e=e.replace(/:list$/,"")]=t?void 0!==r[e]?[...r[e],n]:[n]:n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&eg(n,e).includes(e.arrayFormatSeparator);n=i?eg(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>eg(t,e))):null===n?n:eg(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!o)return void(r[t]=n?eg(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>eg(t,e)));r[t]=void 0!==r[t]?[...r[t],...i]:i};default:return(e,t,n)=>{n[e]=void 0!==n[e]?[...[n[e]].flat(),t]:t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;const e=t.decode?o.replace(/\+/g," "):o;let[i,a]=Yh(e,"=");void 0===i&&(i=e),a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:eg(a,t),n(eg(i,t),a,r)}for(const[o,i]of Object.entries(r))if("object"==typeof i&&null!==i)for(const[e,n]of Object.entries(i))i[e]=rg(n,t);else r[o]=rg(i,t);return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return e[t]=Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?tg(n):n,e}),Object.create(null))}function ag(e,t){if(!e)return"";Qh((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const n=n=>t.skipNull&&i7(e[n])||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[Zh(t,e),"[",o,"]"].join("")]:[...n,[Zh(t,e),"[",Zh(o,e),"]=",Zh(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[Zh(t,e),"[]"].join("")]:[...n,[Zh(t,e),"[]=",Zh(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[Zh(t,e),":list="].join("")]:[...n,[Zh(t,e),":list=",Zh(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[Zh(n,e),t,Zh(o,e)].join("")]:[[r,Zh(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,Zh(t,e)]:[...n,[Zh(t,e),"=",Zh(r,e)].join("")]}}(t),o={};for(const[a,s]of Object.entries(e))n(a)||(o[a]=s);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?Zh(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?Zh(n,t)+"[]":o.reduce(r(n),[]).join("&"):Zh(n,t)+"="+Zh(o,t)})).filter((e=>e.length>0)).join("&")}function sg(e,t){var n;t={decode:!0,...t};let[r,o]=Yh(e,"#");return void 0===r&&(r=e),{url:(null==(n=null==r?void 0:r.split("?"))?void 0:n[0])??"",query:ig(og(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:eg(o,t)}:{}}}function lg(e,t){t={encode:!0,strict:!0,[s7]:!0,...t};const n=ng(e.url).split("?")[0]||"";let r=ag({...ig(og(e.url),{sort:!1}),...e.query},t);r&&(r=`?${r}`);let o=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);if(e.fragmentIdentifier){const r=new URL(n);r.hash=e.fragmentIdentifier,o=t[s7]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${o}`}function cg(e,t,n){n={parseFragmentIdentifier:!0,[s7]:!1,...n};const{url:r,query:o,fragmentIdentifier:i}=sg(e,n);return lg({url:r,query:Jh(o,t),fragmentIdentifier:i},n)}function ug(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}function dg(e){return null==e?"":""+e}function pg(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}const i="string"!=typeof t?[].concat(t):t.split(".");for(;i.length>1;){if(o())return{};const t=r(i.shift());!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function mg(e,t,n){const{obj:r,k:o}=pg(e,t,Object);r[o]=n}function fg(e,t){const{obj:n,k:r}=pg(e,t);if(n)return n[r]}function hg(e,t,n){for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):hg(e[r],t[r],n):e[r]=t[r]);return e}function gg(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function bg(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>Aq[e])):e}function _g(e,t,n){let r=arguments.length>2&&void 0!==n?n:".";if(!e)return;if(e[t])return e[t];const o=t.split(r);let i=e;for(let a=0;aa+e;)e++,n=o.slice(a,a+e).join(r),s=i[n];if(void 0===s)return;if(null===s)return null;if(t.endsWith(n)){if("string"==typeof s)return s;if(n&&"string"==typeof s[n])return s[n]}const l=o.slice(a+e).join(r);return l?_g(s,l,r):void 0}i=i[o[a]]}return i}function vg(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}function yg(e){return e.charAt(0).toUpperCase()+e.slice(1)}function wg(e,t,n,r,o){let i=arguments.length>3&&void 0!==r?r:".",a=!(arguments.length>4&&void 0!==o)||o,s=function(e,t,n){const r=fg(e,n);return void 0!==r?r:fg(t,n)}(e,t,n);return!s&&a&&"string"==typeof n&&(s=_g(e,n,i),void 0===s&&(s=_g(t,n,i))),s}function kg(e){const t={};return function(n,r,o){const i=r+JSON.stringify(o);let a=t[i];return a||(a=e(vg(r),o),t[i]=a),a(n)}}function xg(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Eg(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Sg(){}function Og(e){return(Og="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dg(e){return Pq.call(Mq.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}function Cg(){return"function"==typeof XMLHttpRequest||"object"===("undefined"==typeof XMLHttpRequest?"undefined":Og(XMLHttpRequest))}function Tg(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}function Ng(e){return(Ng="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rg(e){return(Rg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ig(e){var t=function(e){var t,n;if("object"!==Rg(e)||null===e)return e;if(void 0!==(t=e[Symbol.toPrimitive])){if("object"!==Rg(n=t.call(e,"string")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Rg(t)?t:String(t)}function Ag(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function $g(e){return e.startsWith("./")?e.slice(2):e}function jg(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Pg(...e){return e.map(Ag).map($g).join("/")}function Mg(e){return 32===e||9===e}function Lg(e){return 10===e||13===e}function Fg(e){return e>=48&&e<=57}function Bg(e){return`${P7}${e}`}async function Hg(e){const t=[],n=await async function(e){const t=Bg(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then((e=>e.text()))}(e);let r;try{r=JSON.parse(n)}catch($X){if(r=j7(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return r}async function Ug(e){const t=zg(await Hg(e));if(t.include){const n=await Ug(Pg(...jg(e),t.include));n.settings&&(t.settings=n.settings.concat(t.settings)),n.bg&&!t.bg&&(t.bg=n.bg),n.colors&&(t.colors={...n.colors,...t.colors}),delete t.include}return t}function zg(e){const t={name:e.name,type:e.type||"dark",...e,...Gg(e)};var n;return e.include&&(t.include=e.include),e.tokenColors&&(t.settings=e.tokenColors,delete t.tokenColors),(n=t).settings||(n.settings=[]),n.settings[0]&&n.settings[0].settings&&!n.settings[0].scope||n.settings.unshift({settings:{foreground:n.fg,background:n.bg}}),t}function Gg(e){var t,n,r,o;let i,a,s=e.settings?e.settings:e.tokenColors;const l=s?s.find((e=>!e.name&&!e.scope)):void 0;return(null==(t=null==l?void 0:l.settings)?void 0:t.foreground)&&(i=l.settings.foreground),(null==(n=null==l?void 0:l.settings)?void 0:n.background)&&(a=l.settings.background),!i&&(null==(r=null==e?void 0:e.colors)?void 0:r["editor.foreground"])&&(i=e.colors["editor.foreground"]),!a&&(null==(o=null==e?void 0:e.colors)?void 0:o["editor.background"])&&(a=e.colors["editor.background"]),i||(i="light"===e.type?F7.light:F7.dark),a||(a="light"===e.type?B7.light:B7.dark),{fg:i,bg:a}}function Wg(e,t){let n=[];for(let r=0,o=t.length;r=0&&i>=0;)Vg(t[o],r[i])&&o--,i--;return-1===o}function Xg(e,t,n){let r=[],o=0;for(let i=0,a=e.settings.length;ie.trim()));else{if(!Array.isArray(s.scope))continue;a=s.scope}for(let e=0,i=a.length;eNumber.parseInt(e)));if(3!==t.length||t.some((e=>Number.isNaN(e))))return;return{type:"rgb",rgb:t}}if("5"===t){const t=e.shift();if(t)return{type:"table",index:Number(t)}}}function Jg(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(0===r)t.push({type:"resetAll"});else if(r<=9)uX[r]&&t.push({type:"setDecoration",value:uX[r]});else if(r<=29){const e=uX[r-20];e&&t.push({type:"resetDecoration",value:e})}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:cX[r-30]}});else if(38===r){const n=Yg(e);n&&t.push({type:"setForegroundColor",value:n})}else if(39===r)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:cX[r-40]}});else if(48===r){const n=Yg(e);n&&t.push({type:"setBackgroundColor",value:n})}else 49===r?t.push({type:"resetBackgroundColor"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:cX[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:cX[r-100+8]}})}return t}function Qg(e,t={}){function n(e="",t={},n){const r=i[e]||U7[e];return r?r({...t,children:(n=n.filter(Boolean)).join("code"===e?"\n":"")}):""}const r=t.bg||"#fff",o=function(e){const t=new Map;for(const n of e){const e=n.line;t.has(e)?t.get(e).push(n):t.set(e,[n])}return t}(t.lineOptions??[]),i=t.elements||{};return n("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${r}`},[t.langId?`
${t.langId}
`:"",n("code",{},e.map(((r,i)=>n("line",{className:function(e){const t=new Set(["line"]);for(const n of e)for(const e of n.classes??[])t.add(e);return Array.from(t)}(o.get(i+1)??[]).join(" "),lines:e,line:r,index:i},r.map(((e,o)=>{const i=[`color: ${e.color||t.fg}`];return e.fontStyle&rX.Italic&&i.push("font-style: italic"),e.fontStyle&rX.Bold&&i.push("font-weight: bold"),e.fontStyle&rX.Underline&&i.push("text-decoration: underline"),n("token",{style:i.join("; "),tokens:r,token:e,index:o},[(a=e.content,a.replace(/[&<>"']/g,(e=>z7[e])))]);var a}))))))])}function Zg(e){return"string"==typeof e?A7.find((t=>{var n;return t.id===e||(null==(n=t.aliases)?void 0:n.includes(e))})):e}async function eb(e){function t(e){const t=e?u.getTheme(e):d;if(!t)throw Error(`No theme registration for ${e}`);p&&p.name===t.name||(u.setTheme(t),p=t);const n=u.getColorMap();return"css"===t.type&&function(e,t){e.bg=m[e.bg]||e.bg,e.fg=m[e.fg]||e.fg,Object.entries(e.colors).forEach((([t,n])=>{e.colors[t]=m[n]||n})),t.forEach(((e,n)=>{t[n]=m[e]||e}))}(t,n),{_theme:t,_colorMap:n}}function n(e,n="text",r,o={includeExplanation:!0}){if(function(e){return!e||["plaintext","txt","text"].includes(e)}(n))return[...e.split(/\r\n|\r|\n/).map((e=>[{content:e}]))];const{_grammar:i}=function(e){const t=u.getGrammar(e);if(!t)throw Error(`No language registration for ${e}`);return{_grammar:t}}(n),{_theme:a,_colorMap:s}=t(r);return function(e,t,n,r,o){let i=n.split(/\r\n|\r|\n/),a=nX.INITIAL,s=[],l=[];for(let c=0,u=i.length;cMath.max(0,Math.min(e,255)).toString(16).padStart(2,"0"))).join("")}`}let r;return{value:function(e){switch(e.type){case"named":return t(e.name);case"rgb":return n(e.rgb);case"table":return o=e.index,function(){if(r)return r;r=[];for(let n=0;n[t,e.colors[`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`]])))),o=function(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const a=Kg(r,i),s=a.sequence?r.substring(i,a.startPosition):r.substring(i);if(s.length>0&&o.push({value:s,foreground:e,background:t,decorations:new Set(n)}),a.sequence){const r=Jg(a.sequence);for(const o of r)"resetAll"===o.type?(e=null,t=null,n.clear()):"resetForegroundColor"===o.type?e=null:"resetBackgroundColor"===o.type?t=null:"resetDecoration"===o.type&&n.delete(o.value);for(const o of r)"setForegroundColor"===o.type?e=o.value:"setBackgroundColor"===o.type?t=o.value:"setDecoration"===o.type&&n.add(o.value)}i=a.position}while(io.parse(t).map((t=>{let n;n=t.decorations.has("reverse")?t.background?r.value(t.background):e.bg:t.foreground?r.value(t.foreground):e.fg,t.decorations.has("dim")&&(n=function(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t){if(t[3]){const e=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${e}`}return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map((e=>`${e}${e}`)).join("")}80`}const n=e.match(/var\((--shiki-color-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}(n));let o=rX.None;return t.decorations.has("bold")&&(o|=rX.Bold),t.decorations.has("italic")&&(o|=rX.Italic),t.decorations.has("underline")&&(o|=rX.Underline),{content:t.value,color:n,fontStyle:o}}))))}(r,e)}var o,i;const{_languages:a,_themes:s,_wasmPath:l}=function(e){var t;let n=A7,r=e.themes||[],o=(null==(t=e.paths)?void 0:t.wasm)?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":M7;return e.langs&&(n=e.langs.map(Zg)),e.theme&&r.unshift(e.theme),r.length||(r=["nord"]),{_languages:n,_themes:r,_wasmPath:o}}(e),c=new H7(async function(e){if(!L7){let t;t=eX.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(Bg(Pg(...jg(e),"onig.wasm")))}),L7=t.then((()=>({createOnigScanner:e=>eX.createOnigScanner(e),createOnigString:e=>eX.createOnigString(e)})))}return L7}(l),"vscode-oniguruma"),u=new G7(c);(null==(o=e.paths)?void 0:o.themes)&&(u.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),(null==(i=e.paths)?void 0:i.languages)&&(c.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const d=(await u.loadThemes(s))[0];let p;await u.loadLanguages(a);let m=function(){const e={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};for(let t=0;tt(e)._theme,loadTheme:async function(e){await u.loadTheme(e)},loadLanguage:async function(e){const t=Zg(e);c.addLanguage(t),await u.loadLanguage(t)},getBackgroundColor:function(e){const{_theme:n}=t(e);return n.bg},getForegroundColor:function(e){const{_theme:n}=t(e);return n.fg},getLoadedThemes:function(){return u.getLoadedThemes()},getLoadedLanguages:function(){return u.getLoadedLanguages()},setColorReplacements:function(e){m=e}}}var tb,nb,rb,ob,ib,ab,sb,lb,cb,ub,db,pb,mb,fb,hb,gb,bb,_b,vb,yb,wb,kb,xb,Eb,Sb,Ob,Db,Cb,Tb,Nb,Rb,Ib,Ab,$b,jb,Pb,Mb,Lb,Fb,Bb,Hb,Ub,zb,Gb,Wb,Vb,qb,Xb,Kb,Yb,Jb,Qb,Zb,e_,t_,n_,r_,o_,i_,a_,s_,l_,c_,u_,d_,p_,m_,f_,h_,g_,b_,__,v_,y_,w_,k_,x_,E_,S_,O_,D_,C_,T_,N_,R_,I_,A_,$_,j_,P_,M_,L_,F_,B_,H_,U_,z_,G_,W_,V_,q_,X_,K_,Y_,J_,Q_,Z_,ev,tv,nv,rv,ov,iv,av,sv,lv,cv,uv,dv,pv,mv,fv,hv,gv,bv,_v,vv,yv,wv,kv,xv,Ev,Sv,Ov,Dv,Cv,Tv,Nv,Rv,Iv,Av,$v,jv,Pv,Mv,Lv,Fv,Bv,Hv,Uv,zv,Gv,Wv,Vv,qv,Xv,Kv,Yv,Jv,Qv,Zv,ey,ty,ny,ry,oy,iy,ay,sy,ly,cy,uy,dy,py,my,fy,hy,gy,by,_y,vy,yy,wy,ky,xy,Ey,Sy,Oy,Dy,Cy,Ty,Ny,Ry,Iy,Ay,$y,jy,Py,My,Ly,Fy,By,Hy,Uy,zy,Gy,Wy,Vy,qy,Xy,Ky,Yy,Jy,Qy,Zy,ew,tw,nw,rw,ow,iw,aw,sw,lw,cw,uw,dw,pw,mw,fw,hw,gw,bw,_w,vw,yw,ww,kw,xw,Ew,Sw,Ow,Dw,Cw,Tw,Nw,Rw,Iw,Aw,$w,jw,Pw,Mw,Lw,Fw,Bw,Hw,Uw,zw,Gw,Ww,Vw,qw,Xw,Kw,Yw,Jw,Qw,Zw,ek,tk,nk,rk,ok,ik,ak,sk,lk,ck,uk,dk,pk,mk,fk,hk,gk,bk,_k,vk,yk,wk,kk,xk,Ek,Sk,Ok,Dk,Ck,Tk,Nk,Rk,Ik,Ak,$k,jk,Pk,Mk,Lk,Fk,Bk,Hk,Uk,zk,Gk,Wk,Vk,qk,Xk,Kk,Yk,Jk,Qk,Zk,ex,tx,nx,rx,ox,ix,ax,sx,lx,cx,ux,dx,px,mx,fx,hx,gx,bx,_x,vx,yx,wx,kx,xx,Ex,Sx,Ox,Dx,Cx,Tx,Nx,Rx,Ix,Ax,$x,jx,Px,Mx,Lx,Fx,Bx,Hx,Ux,zx,Gx,Wx,Vx,qx,Xx,Kx,Yx,Jx,Qx,Zx,eE,tE,nE,rE,oE,iE,aE,sE,lE,cE,uE,dE,pE,mE,fE,hE,gE,bE,_E,vE,yE,wE,kE,xE,EE,SE,OE,DE,CE,TE,NE,RE,IE,AE,$E,jE,PE,ME,LE,FE,BE,HE,UE,zE,GE,WE,VE,qE,XE,KE,YE,JE,QE,ZE,eS,tS,nS,rS,oS,iS,aS,sS,lS,cS,uS,dS,pS,mS,fS,hS,gS,bS,_S,vS,yS,wS,kS,xS,ES,SS,OS,DS,CS,TS,NS,RS,IS,AS,$S,jS,PS,MS,LS,FS,BS,HS,US,zS,GS,WS,VS,qS,XS,KS,YS,JS,QS,ZS,eO,tO,nO,rO,oO,iO,aO,sO,lO,cO,uO,dO,pO,mO,fO,hO,gO,bO,_O,vO,yO,wO,kO,xO,EO,SO,OO,DO,CO,TO,NO,RO,IO,AO,$O,jO,PO,MO,LO,FO,BO,HO,UO,zO,GO,WO,VO,qO,XO,KO,YO,JO,QO,ZO,eD,tD,nD,rD,oD,iD,aD,sD,lD,cD,uD,dD,pD,mD,fD,hD,gD,bD,_D,vD,yD,wD,kD,xD,ED,SD,OD,DD,CD,TD,ND,RD,ID,AD,$D,jD,PD,MD,LD,FD,BD,HD,UD,zD,GD,WD,VD,qD,XD,KD,YD,JD,QD,ZD,eC,tC,nC,rC,oC,iC,aC,sC,lC,cC,uC,dC,pC,mC,fC,hC,gC,bC,_C,vC,yC,wC,kC,xC,EC,SC,OC,DC,CC,TC,NC,RC,IC,AC,$C,jC,PC,MC,LC,FC,BC,HC,UC,zC,GC,WC,VC,qC,XC,KC,YC,JC,QC,ZC,eT,tT,nT,rT,oT,iT,aT,sT,lT,cT,uT,dT,pT,mT,fT,hT,gT,bT,_T,vT,yT,wT,kT,xT,ET,ST,OT,DT,CT,TT,NT,RT,IT,AT,$T,jT,PT,MT,LT,FT,BT,HT,UT,zT,GT,WT,VT,qT,XT,KT,YT,JT,QT,ZT,eN,tN,nN,rN,oN,iN,aN,sN,lN,cN,uN,dN,pN,mN,fN,hN,gN,bN,_N,vN,yN,wN,kN,xN,EN,SN,ON,DN,CN,TN,NN,RN,IN,AN,$N,jN,PN,MN,LN,FN,BN,HN,UN,zN,GN,WN,VN,qN,XN,KN,YN,JN,QN,ZN,eR,tR,nR,rR,oR,iR,aR,sR,lR,cR,uR,dR,pR,mR,fR,hR,gR,bR,_R,vR,yR,wR,kR,xR,ER,SR,OR,DR,CR,TR,NR,RR,IR,AR,$R,jR,PR,MR,LR,FR,BR,HR,UR,zR,GR,WR,VR,qR,XR,KR,YR,JR,QR,ZR,eI,tI,nI,rI,oI,iI,aI,sI,lI,cI,uI,dI,pI,mI,fI,hI,gI,bI,_I,vI,yI,wI,kI,xI,EI,SI,OI,DI,CI,TI,NI,RI,II,AI,$I,jI,PI,MI,LI,FI,BI,HI,UI,zI,GI,WI,VI,qI,XI,KI,YI,JI,QI,ZI,eA,tA,nA,rA,oA,iA,aA,sA,lA,cA,uA,dA,pA,mA,fA,hA,gA,bA,_A,vA,yA,wA,kA,xA,EA,SA,OA,DA,CA,TA,NA,RA,IA,AA,$A,jA,PA,MA,LA,FA,BA,HA,UA,zA,GA,WA,VA,qA,XA,KA,YA,JA,QA,ZA,e$,t$,n$,r$,o$,i$,a$,s$,l$,c$,u$,d$,p$,m$,f$,h$,g$,b$,_$,v$,y$,w$,k$,x$,E$,S$,O$,D$,C$,T$,N$,R$,I$,A$,$$,j$,P$,M$,L$,F$,B$,H$,U$,z$,G$,W$,V$,q$,X$,K$,Y$,J$,Q$,Z$,ej,tj,nj,rj,oj,ij,aj,sj,lj,cj,uj,dj,pj,mj,fj,hj,gj,bj,_j,vj,yj,wj,kj,xj,Ej,Sj,Oj,Dj,Cj,Tj,Nj,Rj,Ij,Aj,$j,jj,Pj,Mj,Lj,Fj,Bj,Hj,Uj,zj,Gj,Wj,Vj,qj,Xj,Kj,Yj,Jj,Qj,Zj,eP,tP,nP,rP,oP,iP,aP,sP,lP,cP,uP,dP,pP,mP,fP,hP,gP,bP,_P,vP,yP,wP,kP,xP,EP,SP,OP,DP,CP,TP,NP,RP,IP,AP,$P,jP,PP,MP,LP,FP,BP,HP,UP,zP,GP,WP,VP,qP,XP,KP,YP,JP,QP,ZP,eM,tM,nM,rM,oM,iM,aM,sM,lM,cM,uM,dM,pM,mM,fM,hM,gM,bM,_M,vM,yM,wM,kM,xM,EM,SM,OM,DM,CM,TM,NM,RM,IM,AM,$M,jM,PM,MM,LM,FM,BM,HM,UM,zM,GM,WM,VM,qM,XM,KM,YM,JM,QM,ZM,eL,tL,nL,rL,oL,iL,aL,sL,lL,cL,uL,dL,pL,mL,fL,hL,gL,bL,_L,vL,yL,wL,kL,xL,EL,SL,OL,DL,CL,TL,NL,RL,IL,AL,$L,jL,PL,ML,LL,FL,BL,HL,UL,zL,GL,WL,VL,qL,XL,KL,YL,JL,QL,ZL,eF,tF,nF,rF,oF,iF,aF,sF,lF,cF,uF,dF,pF,mF,fF,hF,gF,bF,_F,vF,yF,wF,kF,xF,EF,SF,OF,DF,CF,TF,NF,RF,IF,AF,$F,jF,PF,MF,LF,FF,BF,HF,UF,zF,GF,WF,VF,qF,XF,KF,YF,JF,QF,ZF,eB,tB,nB,rB,oB,iB,aB,sB,lB,cB,uB,dB,pB,mB,fB,hB,gB,bB,_B,vB,yB,wB,kB,xB,EB,SB,OB,DB,CB,TB,NB,RB,IB,AB,$B,jB,PB,MB,LB,FB,BB,HB,UB,zB,GB,WB,VB,qB,XB,KB,YB,JB,QB,ZB,eH,tH,nH,rH,oH,iH,aH,sH,lH,cH,uH,dH,pH,mH,fH,hH,gH,bH,_H,vH,yH,wH,kH,xH,EH,SH,OH,DH,CH,TH,NH,RH,IH,AH,$H,jH,PH,MH,LH,FH,BH,HH,UH,zH,GH,WH,VH,qH,XH,KH,YH,JH,QH,ZH,eU,tU,nU,rU,oU,iU,aU,sU,lU,cU,uU,dU,pU,mU,fU,hU,gU,bU,_U,vU,yU,wU,kU,xU,EU,SU,OU,DU,CU,TU,NU,RU,IU,AU,$U,jU,PU,MU,LU,FU,BU,HU,UU,zU,GU,WU,VU,qU,XU,KU,YU,JU,QU,ZU,ez,tz,nz,rz,oz,iz,az,sz,lz,cz,uz,dz,pz,mz,fz,hz,gz,bz,_z,vz,yz,wz,kz,xz,Ez,Sz,Oz,Dz,Cz,Tz,Nz,Rz,Iz,Az,$z,jz,Pz,Mz,Lz,Fz,Bz,Hz,Uz,zz,Gz,Wz,Vz,qz,Xz,Kz,Yz,Jz,Qz,Zz,eG,tG,nG,rG,oG,iG,aG,sG,lG,cG,uG,dG,pG,mG,fG,hG,gG,bG,_G,vG,yG,wG,kG,xG,EG,SG,OG,DG,CG,TG,NG,RG,IG,AG,$G,jG,PG,MG,LG,FG,BG,HG,UG,zG,GG,WG,VG,qG,XG,KG,YG,JG,QG,ZG,eW,tW,nW,rW,oW,iW,aW,sW,lW,cW,uW,dW,pW,mW,fW,hW,gW,bW,_W,vW,yW,wW,kW,xW,EW,SW,OW,DW,CW,TW,NW,RW,IW,AW,$W,jW,PW,MW,LW,FW,BW,HW,UW,zW,GW,WW,VW,qW,XW,KW,YW,JW,QW,ZW,eV,tV,nV,rV,oV,iV,aV,sV,lV,cV,uV,dV,pV,mV,fV,hV,gV,bV,_V,vV,yV,wV,kV,xV,EV,SV,OV,DV,CV,TV,NV,RV,IV,AV,$V,jV,PV,MV,LV,FV,BV,HV,UV,zV,GV,WV,VV,qV,XV,KV,YV,JV,QV,ZV,eq,tq,nq,rq,oq,iq,aq,sq,lq,cq,uq,dq,pq,mq,fq,hq,gq,bq,_q,vq,yq,wq,kq,xq,Eq,Sq,Oq,Dq,Cq,Tq,Nq,Rq,Iq,Aq,$q,jq,Pq,Mq,Lq,Fq,Bq,Hq,Uq,zq,Gq,Wq,Vq,qq,Xq,Kq,Yq,Jq,Qq,Zq,eX,tX,nX,rX,oX,iX,aX,sX,lX,cX,uX,dX,pX,mX,fX,hX,gX,bX,_X,vX,yX,wX,kX,xX,EX,SX,OX,DX,CX,TX,NX,RX,IX,AX,$X,jX,PX,MX,LX,FX,BX,HX,UX,zX,GX,WX,VX,qX,XX,KX,YX,JX,QX,ZX,eK,tK,nK,rK;import oK from"react-dnd";import iK from"react-dnd-html5-backend";tb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},nb={exports:{}},rb={},ob={exports:{}},ib={},ab=Symbol.for("react.element"),sb=Symbol.for("react.portal"),lb=Symbol.for("react.fragment"),cb=Symbol.for("react.strict_mode"),ub=Symbol.for("react.profiler"),db=Symbol.for("react.provider"),pb=Symbol.for("react.context"),mb=Symbol.for("react.forward_ref"),fb=Symbol.for("react.suspense"),hb=Symbol.for("react.memo"),gb=Symbol.for("react.lazy"),bb=Symbol.iterator,_b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},vb=Object.assign,yb={},n.prototype.isReactComponent={},n.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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")},n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},r.prototype=n.prototype,(wb=o.prototype=new r).constructor=o,vb(wb,n.prototype),wb.isPureReactComponent=!0,kb=Array.isArray,xb=Object.prototype.hasOwnProperty,Sb={key:!0,ref:!0,__self:!0,__source:!0},Ob=/\/+/g,Tb={ReactCurrentDispatcher:Db={current:null},ReactCurrentBatchConfig:Cb={transition:null},ReactCurrentOwner:Eb={current:null}},ib.Children={map:c,forEach:function(e,t,n){c(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return c(e,(function(){t++})),t},toArray:function(e){return c(e,(function(e){return e}))||[]},only:function(e){if(!a(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},ib.Component=n,ib.Fragment=lb,ib.Profiler=ub,ib.PureComponent=o,ib.StrictMode=cb,ib.Suspense=fb,ib.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tb,ib.cloneElement=function(e,t,n){var r,o,i,a,s,l,c;if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");if(r=vb({},e.props),o=e.key,i=e.ref,a=e._owner,null!=t)for(l in void 0!==t.ref&&(i=t.ref,a=Eb.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)xb.call(t,l)&&!Sb.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==s?s[l]:t[l]);if(1==(l=arguments.length-2))r.children=n;else if(1>>1],t);)e[n]=t,e[i]=r,i=n}function n(e){return 0===e.length?null:e[0]}function r(e){var t,n,r,i,a,s,l,c,u;if(0===e.length)return null;if(t=e[0],(n=e.pop())!==t){e[0]=n;e:for(r=0,i=e.length,a=i>>>1;ro(l=e[s],n))co(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(co(u,n)))break e;e[r]=u,e[c]=n,r=c}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}function i(e){for(var o=n(g);null!==o;){if(null===o.callback)r(g);else{if(!(o.startTime<=e))break;r(g),o.sortIndex=o.expirationTime,t(h,o)}o=n(g)}}function a(e){if(k=!1,i(e),!w)if(null!==n(h))w=!0,u(s);else{var t=n(g);null!==t&&d(a,t.startTime-e)}}function s(t,o){var s,c,u,p,m;w=!1,k&&(k=!1,E(C),C=-1),y=!0,s=v;try{for(i(o),_=n(h);null!==_&&(!(_.expirationTime>o)||t&&!l());)"function"==typeof(c=_.callback)?(_.callback=null,v=_.priorityLevel,u=c(_.expirationTime<=o),o=e.unstable_now(),"function"==typeof u?_.callback=u:_===n(h)&&r(h),i(o)):r(h),_=n(h);return null!==_?p=!0:(null!==(m=n(g))&&d(a,m.startTime-o),p=!1),p}finally{_=null,v=s,y=!1}}function l(){return!(e.unstable_now()-Ne||125c?(r.sortIndex=i,t(g,r),null===n(h)&&r===n(g)&&(k?(E(C),C=-1):k=!0,d(a,i-c))):(r.sortIndex=l,t(h,r),w||y||(w=!0,u(s))),r},e.unstable_shouldYield=l,e.unstable_wrapCallback=function(e){var t=v;return function(){var n=v;v=t;try{return e.apply(this,arguments)}finally{v=n}}}}(Hb={}),Bb.exports=Hb,Ub=Nb,zb=Bb.exports,Gb=new Set,Wb={},Vb=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),qb=Object.prototype.hasOwnProperty,Xb=/^[: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]*$/,Kb={},Yb={},Jb={},"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Jb[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Jb[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Jb[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Jb[e]=new h(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){Jb[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Jb[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Jb[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Jb[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Jb[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)})),Qb=/[\-:]([a-z])/g,"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(Qb,g);Jb[t]=new h(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(Qb,g);Jb[t]=new h(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(Qb,g);Jb[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Jb[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),Jb.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Jb[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)})),Zb=Ub.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,e_=Symbol.for("react.element"),t_=Symbol.for("react.portal"),n_=Symbol.for("react.fragment"),r_=Symbol.for("react.strict_mode"),o_=Symbol.for("react.profiler"),i_=Symbol.for("react.provider"),a_=Symbol.for("react.context"),s_=Symbol.for("react.forward_ref"),l_=Symbol.for("react.suspense"),c_=Symbol.for("react.suspense_list"),u_=Symbol.for("react.memo"),d_=Symbol.for("react.lazy"),p_=Symbol.for("react.offscreen"),m_=Symbol.iterator,f_=Object.assign,g_=!1,b_=Array.isArray,pX=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((__=__||document.createElement("div")).innerHTML=""+t.valueOf().toString()+"",t=__.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},v_="undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t){MSApp.execUnsafeLocalFunction((function(){return pX(e,t)}))}:pX,y_={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},w_=["Webkit","ms","Moz","O"],Object.keys(y_).forEach((function(e){w_.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),y_[t]=y_[e]}))})),k_=f_({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}),x_=null,E_=null,S_=null,O_=null,D_=!1,C_=!1,Vb)try{T_={},Object.defineProperty(T_,"passive",{get:function(){C_=!0}}),window.addEventListener("test",T_,T_),window.removeEventListener("test",T_,T_)}catch(pX){C_=!1}N_=!1,R_=null,I_=!1,A_=null,$_={onError:function(e){N_=!0,R_=e}},j_=zb.unstable_scheduleCallback,P_=zb.unstable_cancelCallback,M_=zb.unstable_shouldYield,L_=zb.unstable_requestPaint,F_=zb.unstable_now,B_=zb.unstable_getCurrentPriorityLevel,H_=zb.unstable_ImmediatePriority,U_=zb.unstable_UserBlockingPriority,z_=zb.unstable_NormalPriority,G_=zb.unstable_LowPriority,W_=zb.unstable_IdlePriority,V_=null,q_=null,X_=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(K_(e)/Y_|0)|0},K_=Math.log,Y_=Math.LN2,J_=64,Q_=4194304,Z_=0,iv=!1,av=[],sv=null,lv=null,cv=null,uv=new Map,dv=new Map,pv=[],mv="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "),fv=Zb.ReactCurrentBatchConfig,hv=!0,gv=null,bv=null,_v=null,vv=null,yv={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wv=$e(yv),kv=f_({},yv,{view:0,detail:0}),xv=$e(kv),Dv=f_({},kv,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pe,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ov&&(Ov&&"mousemove"===e.type?(Ev=e.screenX-Ov.screenX,Sv=e.screenY-Ov.screenY):Sv=Ev=0,Ov=e),Ev)},movementY:function(e){return"movementY"in e?e.movementY:Sv}}),Cv=$e(Dv),Tv=f_({},Dv,{dataTransfer:0}),Nv=$e(Tv),Rv=f_({},kv,{relatedTarget:0}),Iv=$e(Rv),Av=f_({},yv,{animationName:0,elapsedTime:0,pseudoElement:0}),$v=$e(Av),jv=f_({},yv,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pv=$e(jv),Mv=f_({},yv,{data:0}),Lv=$e(Mv),Fv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Hv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Uv=f_({},kv,{key:function(e){if(e.key){var t=Fv[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Re(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Bv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pe,charCode:function(e){return"keypress"===e.type?Re(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Re(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),zv=$e(Uv),Gv=f_({},Dv,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wv=$e(Gv),Vv=f_({},kv,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pe}),qv=$e(Vv),Xv=f_({},yv,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kv=$e(Xv),Yv=f_({},Dv,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Jv=$e(Yv),Qv=[9,13,27,32],Zv=Vb&&"CompositionEvent"in window,ey=null,Vb&&"documentMode"in document&&(ey=document.documentMode),ty=Vb&&"TextEvent"in window&&!ey,ny=Vb&&(!Zv||ey&&8=ey),ry=String.fromCharCode(32),oy=!1,iy=!1,ay={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},sy=null,ly=null,cy=!1,Vb&&(Vb?((dy="oninput"in document)||((py=document.createElement("div")).setAttribute("oninput","return;"),dy="function"==typeof py.oninput),uy=dy):uy=!1,cy=uy&&(!document.documentMode||9=document.documentMode,hy=null,gy=null,by=null,_y=!1,vy={animationend:ot("Animation","AnimationEnd"),animationiteration:ot("Animation","AnimationIteration"),animationstart:ot("Animation","AnimationStart"),transitionend:ot("Transition","TransitionEnd")},yy={},wy={},Vb&&(wy=document.createElement("div").style,"AnimationEvent"in window||(delete vy.animationend.animation,delete vy.animationiteration.animation,delete vy.animationstart.animation),"TransitionEvent"in window||delete vy.transitionend.transition),ky=it("animationend"),xy=it("animationiteration"),Ey=it("animationstart"),Sy=it("transitionend"),Oy=new Map,Dy="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");for(Cy=0;Cy=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},Ex=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},Sx=function(e,t){return!1===(!(arguments.length>1&&void 0!==t)||t)?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},Ox=function(e){var t,n=Rx(e,lx.TITLE),r=Rx(e,"titleTemplate");return r&&n?r.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n})):(t=Rx(e,"defaultTitle"),n||t||void 0)},Dx=function(e){return Rx(e,"onChangeClientState")||function(){}},Cx=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return wx({},e,t)}),{})},Tx=function(e,t){return t.filter((function(e){return void 0!==e[lx.BASE]})).map((function(e){return e[lx.BASE]})).reverse().reduce((function(t,n){var r,o,i;if(!t.length)for(r=Object.keys(n),o=0;o=0;n--)if((r=e[n]).hasOwnProperty(t))return r[t];return null},Ix=function(e){return{baseTag:Tx([ux,"target"],e),bodyAttributes:Cx(ax,e),defer:Rx(e,"defer"),encode:Rx(e,"encodeSpecialCharacters"),htmlAttributes:Cx(sx,e),linkTags:Nx(lx.LINK,[mx,ux],e),metaTags:Nx(lx.META,["name","charset","http-equiv","property",px],e),noscriptTags:Nx(lx.NOSCRIPT,[dx],e),onChangeClientState:Dx(e),scriptTags:Nx(lx.SCRIPT,["src",dx],e),styleTags:Nx(lx.STYLE,[cx],e),title:Ox(e),titleAttributes:Cx("titleAttributes",e)}},fX=Date.now(),Ax=function(e){var t=Date.now();t-fX>16?(fX=t,e(t)):setTimeout((function(){Ax(e)}),0)},$x=function(e){return clearTimeout(e)},jx="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Ax:global.requestAnimationFrame||Ax,Px="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||$x:global.cancelAnimationFrame||$x,Mx=function(){return console&&"function"==typeof console.warn&&void 0},Lx=null,Fx=function(e){Lx&&Px(Lx),e.defer?Lx=jx((function(){Bx(e,(function(){Lx=null}))})):(Bx(e),Lx=null)},Bx=function(e,t){var n,r,o,i=e.baseTag,a=e.htmlAttributes,s=e.linkTags,l=e.metaTags,c=e.noscriptTags,u=e.onChangeClientState,d=e.scriptTags,p=e.styleTags,m=e.title,f=e.titleAttributes;zx(lx.BODY,e.bodyAttributes),zx(lx.HTML,a),Ux(m,f),n={baseTag:Gx(lx.BASE,i),linkTags:Gx(lx.LINK,s),metaTags:Gx(lx.META,l),noscriptTags:Gx(lx.NOSCRIPT,c),scriptTags:Gx(lx.SCRIPT,d),styleTags:Gx(lx.STYLE,p)},r={},o={},Object.keys(n).forEach((function(e){var t=n[e],i=t.newTags,a=t.oldTags;i.length&&(r[e]=i),a.length&&(o[e]=n[e].oldTags)})),t&&t(),u(e,r,o)},Hx=function(e){return Array.isArray(e)?e.join(""):e},Ux=function(e,t){void 0!==e&&document.title!==e&&(document.title=Hx(e)),zx(lx.TITLE,t)},zx=function(e,t){var n,r,o,i,a,s,l,c,u,d=document.getElementsByTagName(e)[0];if(d){for(r=(n=d.getAttribute(bx))?n.split(","):[],o=[].concat(r),i=Object.keys(t),a=0;a=0;u--)d.removeAttribute(o[u]);r.length===o.length?d.removeAttribute(bx):d.getAttribute(bx)!==i.join(",")&&d.setAttribute(bx,i.join(","))}},Gx=function(e,t){var n=document.head||document.querySelector(lx.HEAD),r=n.querySelectorAll(e+"["+bx+"]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n,r=document.createElement(e);for(n in t)t.hasOwnProperty(n)&&(n===dx?r.innerHTML=t.innerHTML:n===cx?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(n,void 0===t[n]?"":t[n]));r.setAttribute(bx,"true"),o.some((function(e,t){return a=t,r.isEqualNode(e)}))?o.splice(a,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},Wx=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},Vx=function(e,t,n,r){var o=Wx(n),i=Hx(t);return o?"<"+e+" "+bx+'="true" '+o+">"+Sx(i,r)+"":"<"+e+" "+bx+'="true">'+Sx(i,r)+""},qx=function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===dx||e===cx)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+Sx(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===gx.indexOf(e);return t+"<"+e+" "+bx+'="true" '+o+(a?"/>":">"+i+"")}),"")},Xx=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[fx[n]||n]=e[n],t}),n)},Kx=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[hx[n]||n]=e[n],t}),n)},Yx=function(e,t,n){var r,o=((r={key:t})[bx]=!0,r),i=Xx(n,o);return[aK.createElement(lx.TITLE,i,t)]},Jx=function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[bx]=!0,r);return Object.keys(t).forEach((function(e){var n=fx[e]||e;n===dx||n===cx?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),aK.createElement(e,o)}))},Qx=function(e,t,n){switch(e){case lx.TITLE:return{toComponent:function(){return Yx(0,t.title,t.titleAttributes)},toString:function(){return Vx(e,t.title,t.titleAttributes,n)}};case ax:case sx:return{toComponent:function(){return Xx(t)},toString:function(){return Wx(t)}};default:return{toComponent:function(){return Jx(e,t)},toString:function(){return qx(e,t,n)}}}},eE=function(e){var t,n;return n=t=function(t){function n(){return vx(this,n),Ex(this,t.apply(this,arguments))}return kx(n,t),n.prototype.shouldComponentUpdate=function(e){return!pK(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case lx.SCRIPT:case lx.NOSCRIPT:return{innerHTML:t};case lx.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return wx({},r,((t={})[n.type]=[].concat(r[n.type]||[],[wx({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case lx.TITLE:return wx({},o,((t={})[r.type]=a,t.titleAttributes=wx({},i),t));case lx.BODY:return wx({},o,{bodyAttributes:wx({},i)});case lx.HTML:return wx({},o,{htmlAttributes:wx({},i)})}return wx({},o,((n={})[r.type]=wx({},i),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=wx({},t);return Object.keys(e).forEach((function(t){var r;n=wx({},n,((r={})[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return aK.Children.forEach(e,(function(e){var o,i,a,s;if(e&&e.props)switch(i=(o=e.props).children,a=xx(o,["children"]),s=Kx(a),n.warnOnInvalidChildren(e,i),e.type){case lx.LINK:case lx.META:case lx.NOSCRIPT:case lx.SCRIPT:case lx.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:i})}})),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=xx(t,["children"]),o=wx({},r);return n&&(o=this.mapChildrenToProps(n,o)),aK.createElement(e,o)},yx(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(aK.Component),t.propTypes={base:uK.object,bodyAttributes:uK.object,children:uK.oneOfType([uK.arrayOf(uK.node),uK.node]),defaultTitle:uK.string,defer:uK.bool,encodeSpecialCharacters:uK.bool,htmlAttributes:uK.object,link:uK.arrayOf(uK.object),meta:uK.arrayOf(uK.object),noscript:uK.arrayOf(uK.object),onChangeClientState:uK.func,script:uK.arrayOf(uK.object),style:uK.arrayOf(uK.object),title:uK.string,titleAttributes:uK.object,titleTemplate:uK.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=Zx({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n},tE=function(){return null},nE=dK(Ix,Fx,Zx=function(e){var t=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,o=e.linkTags,i=e.metaTags,a=e.noscriptTags,s=e.scriptTags,l=e.styleTags,c=e.title,u=void 0===c?"":c,d=e.titleAttributes;return{base:Qx(lx.BASE,e.baseTag,n),bodyAttributes:Qx(ax,t,n),htmlAttributes:Qx(sx,r,n),link:Qx(lx.LINK,o,n),meta:Qx(lx.META,i,n),noscript:Qx(lx.NOSCRIPT,a,n),script:Qx(lx.SCRIPT,s,n),style:Qx(lx.STYLE,l,n),title:Qx(lx.TITLE,{title:u,titleAttributes:d},n)}})(tE),(rE=eE(nE)).renderStatic=rE.rewind,oE={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const fK=(e,t)=>{const n=Nb.forwardRef((({color:n="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:i,children:a,...s},l)=>{return Nb.createElement("svg",{ref:l,...oE,width:r,height:r,stroke:n,strokeWidth:i?24*Number(o)/Number(r):o,className:`lucide lucide-${c=e,c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,...s},[...t.map((([e,t])=>Nb.createElement(e,t))),...(Array.isArray(a)?a:[a])||[]]);var c}));return n.displayName=`${e}`,n},hK=fK("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]]),gK=fK("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]),bK=fK("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),_K=fK("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),vK=fK("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),yK=fK("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),wK=fK("FileClock",[["path",{d:"M16 22h2c.5 0 1-.2 1.4-.6.4-.4.6-.9.6-1.4V7.5L14.5 2H6c-.5 0-1 .2-1.4.6C4.2 3 4 3.5 4 4v3",key:"9lo3o3"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["circle",{cx:"8",cy:"16",r:"6",key:"10v15b"}],["path",{d:"M9.5 17.5 8 16.25V14",key:"1o80t2"}]]),kK=fK("GitFork",[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v1a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V9",key:"c89w8i"}],["path",{d:"M12 12v3",key:"158kv8"}]]),xK=fK("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),EK=fK("Layout",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"9",x2:"9",y1:"21",y2:"9",key:"wpwpyp"}]]),SK=fK("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),OK=fK("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),DK=fK("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),CK=fK("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",key:"1xcu5"}],["circle",{cx:"17.5",cy:"10.5",r:".5",key:"736e4u"}],["circle",{cx:"8.5",cy:"7.5",r:".5",key:"clrty"}],["circle",{cx:"6.5",cy:"12.5",r:".5",key:"1s4xz9"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]),TK=fK("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]),NK=fK("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"9",x2:"9",y1:"3",y2:"21",key:"13tij5"}]]),RK=fK("PanelRightClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"15",x2:"15",y1:"3",y2:"21",key:"1hpv9i"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]]),IK=fK("PinOff",[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["line",{x1:"12",x2:"12",y1:"17",y2:"22",key:"1jrz49"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V17h12",key:"13x2n8"}],["path",{d:"M15 9.34V6h1a2 2 0 0 0 0-4H7.89",key:"reo3ki"}]]),AK=fK("Pin",[["line",{x1:"12",x2:"12",y1:"17",y2:"22",key:"1jrz49"}],["path",{d:"M5 17h14v-1.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1v4.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24Z",key:"13yl11"}]]),$K=fK("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),jK=fK("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),PK=fK("TextCursorInput",[["path",{d:"M5 4h1a3 3 0 0 1 3 3 3 3 0 0 1 3-3h1",key:"18xjzo"}],["path",{d:"M13 20h-1a3 3 0 0 1-3-3 3 3 0 0 1-3 3H5",key:"fj48gi"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M9 7v10",key:"1vc8ob"}]]),MK=fK("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),LK=fK("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),FK=fK("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);iE=function(){function e(e){var t=this;this._insertTag=function(e){t.container.insertBefore(e,0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){var t,n;if(this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this)),t=this.tags[this.tags.length-1],this.isSpeedy){n=function(e){if(e.sheet)return e.sheet;for(var t=0;t-1&&!e.return)switch(e.type){case dE:e.return=sa(e.value,e.length);break;case mE:return oa([Fi(e,{value:Ri(e.value,"@","@"+lE)})],r);case uE:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return oa([Fi(e,{props:[Ri(t,/:(read-\w+)/,":"+sE+"$1")]})],r);case"::placeholder":return oa([Fi(e,{props:[Ri(t,/:(plac\w+)/,":"+lE+"input-$1")]}),Fi(e,{props:[Ri(t,/:(plac\w+)/,":"+sE+"$1")]}),Fi(e,{props:[Ri(t,/:(plac\w+)/,aE+"input-$1")]})],r)}return""}))}}],IE=function(e){var t,n,r,o,i,a,s,l,c,u,d,p,m,f,h=e.key;return"css"===h&&(t=document.querySelectorAll("style[data-emotion]:not([data-s])"),Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))),n=e.stylisPlugins||RE,r={},i=[],o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+h+' "]'),(function(e){var t,n=e.getAttribute("data-emotion").split(" ");for(t=1;t=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s,{name:c,styles:o,next:HE}},zE=function(e,t,n){var r=e.key+"-"+t.name;!1!==n||void 0!==e.registered[r]||(e.registered[r]=t.styles)},GE=function(e,t,n){var r,o;if(zE(e,t,n),r=e.key+"-"+t.name,void 0===e.inserted[t.name]){o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},WE=function(e){var t,n,r,o,i=IE(e);return i.sheet.speedy=function(e){this.isSpeedy=e},i.compat=!0,t=function(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n1&&void 0!==t&&t,i={map:this.cache};return e.forEach((function(e){var t,n;i=i?null===(t=i)||void 0===t||null===(n=t.map)||void 0===n?void 0:n.get(e):void 0})),null!==(n=i)&&void 0!==n&&n.value&&o&&(i.value[1]=this.cacheCallTimes++),null===(r=i)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r,o,i,a=this;this.has(t)||(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET&&(r=this.keys.reduce((function(e,t){var n=Ua(e,2)[1];return a.internalGet(t)[1]1&&void 0!==n?n:{},f=arguments.length>2&&void 0!==r?r:{root:!0,parentSelectors:[]},h=f.root,g=f.injectHash,b=f.parentSelectors,_=m.hashId,v=m.layer;return i=m.hashPriority,s=void 0===(a=m.transformers)?[]:a,l="",c={},u=function e(t,n){var r=arguments.length>1&&void 0!==n?n:[];return t.forEach((function(t){Array.isArray(t)?e(t,r):t&&r.push(t)})),r}(Array.isArray(t)?t:[t]),u.forEach((function(t){var n,r="string"!=typeof t||h?t:{};"string"==typeof r?l+="".concat(r,"\n"):r._keyframe?o(r):(n=s.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r),Object.keys(n).forEach((function(t){var r,a,s,u,d,p,f,v,y=n[t];if("object"!==ki(y)||!y||"animationName"===t&&y._keyframe||function(e){return"object"===ki(e)&&e&&("_skip_check_"in e||GO in e)}(y)){let e=function(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;yO[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(o(t),r=t.getName(_)),l+="".concat(n,":").concat(r,";")};v=null!==(f=null==y?void 0:y.value)&&void 0!==f?f:y,"object"===ki(y)&&null!=y&&y[GO]&&Array.isArray(v)?v.forEach((function(n){e(t,n)})):e(t,v)}else r=!1,a=t.trim(),s=!1,(h||g)&&_?a.startsWith("@")?r=!0:a=function(e,t,n){var r,o;return t?(r=".".concat(t),o="low"===n?":where(".concat(r,")"):r,e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat(ya(n.slice(1))).join(" ")})).join(",")):e}(t,_,i):!h||_||"&"!==a&&""!==a||(a="",s=!0),d=(u=Ua(e(y,m,{root:s,injectHash:r,parentSelectors:[].concat(ya(b),[a])}),2))[0],p=u[1],c=ka(ka({},c),p),l+="".concat(a).concat(d)})))})),h?v&&function(){var e,t,n,r,o,i;return void 0===cO&&(e="@layer ".concat(sO," { .").concat(sO,' { content: "').concat(lO,'"!important; } }'),t=function(e){e.className=sO},cO=!!Ra()&&(Fa(e,sO),(o=document.createElement("div")).style.position="fixed",o.style.left="0",o.style.top="0",null==t||t(o),document.body.appendChild(o),i=null===(n=getComputedStyle(o).content)||void 0===n?void 0:n.includes(lO),null===(r=o.parentNode)||void 0===r||r.removeChild(o),La(sO),i)),cO}()&&(p=(d=v.split(","))[d.length-1].trim(),l="@layer ".concat(p," {").concat(l,"}"),d.length>1&&(l="@layer ".concat(v,"{%%%:%}").concat(l))):l="{".concat(l,"}"),[l,c]},VO=function(){function e(t,n){Di(this,e),Ei(this,"name",void 0),Ei(this,"style",void 0),Ei(this,"_keyframe",!0),this.name=t,this.style=n}return Ti(e,[{key:"getName",value:function(e){var t=arguments.length>0&&void 0!==e?e:"";return t?"".concat(t,"-").concat(this.name):this.name}}]),e}(),Cs(["borderTop","borderBottom"]),Cs(["borderTop"]),Cs(["borderBottom"]),Cs(["borderLeft","borderRight"]),Cs(["borderLeft"]),Cs(["borderRight"]),qO=["children","prefix","speedy","getStyleManager","container","nonce","insertionPoint","stylisPlugins","linters"],XO=function(e){return Nb.memo((function(t){var n,r=t.children,o=t.prefix,i=t.speedy,a=t.getStyleManager,s=t.container,l=t.nonce,c=t.insertionPoint,u=t.stylisPlugins,d=t.linters,p=Si(t,qO),m=Nb.useContext(e),f=null!=o?o:m.sheet.key,h=null!=s?s:m.sheet.container,g=null!=i?i:m.sheet.isSpeedy,b=Nb.useMemo((function(){var e,t=WE({speedy:null!=g&&g,key:f,container:h,nonce:l,insertionPoint:c,stylisPlugins:u}),n=null===(e=global)||void 0===e?void 0:e.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__;return n&&(t.cache=n.add(t.cache)),t}),[f,g,h,l,c,u]);return Nb.useEffect((function(){null==a||a(b)}),[b]),n=Mb.jsx(e.Provider,{value:b,children:r}),Boolean(Object.keys(p).length)||h?Mb.jsx(JS,Ns(Ns({linters:d,container:h},p),{},{children:n})):n}))},KO=function(e){var t=e.token;return{buttonDefaultHover:(0,e.css)({backgroundColor:t.colorBgContainer,border:"1px solid ".concat(t.colorBorder),cursor:"pointer",":hover":{color:t.colorPrimaryHover,borderColor:t.colorPrimaryHover},":active":{color:t.colorPrimaryActive,borderColor:t.colorPrimaryActive}})}},YO=function(e){return Object.fromEntries(Object.entries(e).map((function(e){var t=Ua(e,2);return[t[0],t[1].styles]})))},hX=JO={exports:{}},function(){function e(){var n,r,o,i,a,s=[];for(n=0;n0},e.prototype.connect_=function(){eD&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),oD?(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(){eD&&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(e){var t=e.propertyName,n=void 0===t?"":t;rD.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),aD=function(e,t){var n,r,o;for(n=0,r=Object.keys(t);n0},e}(),mD="undefined"!=typeof WeakMap?new WeakMap:new ZO,fD=function e(t){var n,r;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.");n=iD.getInstance(),r=new pD(t,n,this),mD.set(this,r)},["observe","unobserve","disconnect"].forEach((function(e){fD.prototype[e]=function(){var t;return(t=mD.get(this))[e].apply(t,arguments)}})),hD=void 0!==tD.ResizeObserver?tD.ResizeObserver:fD,gD=new Map,bD=new hD((function(e){e.forEach((function(e){var t,n=e.target;null===(t=gD.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))})),_D=function(){function e(){return Di(this,e),t.apply(this,arguments)}Is(e,Nb.Component);var t=Ps(e);return Ti(e,[{key:"render",value:function(){return this.props.children}}]),e}(),vD=Nb.createContext(null),yD=Nb.forwardRef(qs),wD="rc-observer-key",(kD=Nb.forwardRef(Xs)).Collection=function(e){var t=e.children,n=e.onBatchResize,r=Nb.useRef(0),o=Nb.useRef([]),i=Nb.useContext(vD),a=Nb.useCallback((function(e,t,a){r.current+=1;var s=r.current;o.current.push({size:e,element:t,data:a}),Promise.resolve().then((function(){s===r.current&&(null==n||n(o.current),o.current=[])})),null==i||i(e,t,a)}),[n,i]);return Nb.createElement(vD.Provider,{value:a},t)},xD=function(e){return+setTimeout(e,16)},ED=function(e){return clearTimeout(e)},"undefined"!=typeof window&&"requestAnimationFrame"in window&&(xD=function(e){return window.requestAnimationFrame(e)},ED=function(e){return window.cancelAnimationFrame(e)}),SD=0,OD=new Map,(DD=function(e,t){var n;return n=SD+=1,function t(r){if(0===r)Ys(n),e();else{var o=xD((function(){t(r-1)}));OD.set(n,o)}}(arguments.length>1&&void 0!==t?t:1),n}).cancel=function(e){var t=OD.get(e);return Ys(t),ED(t)};const GK=Nb.createContext({});CD="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;const WK=Nb.createContext(void 0),VK={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},qK={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"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Object.assign({},VK)},XK="${label} is not a valid ${type}",KK={locale:"en",Pagination:{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"},DatePicker:qK,TimePicker:VK,Calendar:qK,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},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:XK,method:XK,array:XK,object:XK,number:XK,date:XK,boolean:XK,integer:XK,float:XK,regexp:XK,email:XK,url:XK,hex:XK},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"},ColorPicker:{presetEmpty:"Empty"}};let YK=Object.assign({},KK.Modal),JK=[];const QK=()=>JK.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),KK.Modal),ZK=Nb.createContext(void 0),eY=(e,t)=>{const n=Nb.useContext(ZK);return[Nb.useMemo((()=>{var r;const o=t||KK[e],i=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),i||{})}),[e,t,n]),Nb.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?KK.locale:e}),[n])]},tY=e=>{const{locale:t={},children:n}=e;Nb.useEffect((()=>{const e=function(e){if(e){const t=Object.assign({},e);return JK.push(t),YK=QK(),()=>{JK=JK.filter((e=>e!==t)),YK=QK()}}YK=Object.assign({},KK.Modal)}(t&&t.Modal);return e}),[t]);const r=Nb.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return Nb.createElement(ZK.Provider,{value:r},n)},nY=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],rY="5.8.6";TD={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"},ND="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),RD="[\\s|\\(]+(".concat(ND,")[,|\\s]+(").concat(ND,")[,|\\s]+(").concat(ND,")\\s*\\)?"),ID="[\\s|\\(]+(".concat(ND,")[,|\\s]+(").concat(ND,")[,|\\s]+(").concat(ND,")[,|\\s]+(").concat(ND,")\\s*\\)?"),AD={CSS_UNIT:new RegExp(ND),rgb:new RegExp("rgb"+RD),rgba:new RegExp("rgba"+ID),hsl:new RegExp("hsl"+RD),hsla:new RegExp("hsla"+ID),hsv:new RegExp("hsv"+RD),hsva:new RegExp("hsva"+ID),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})$/},$D=function(){function e(t,n){var r,o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t,o=hl(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=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=al(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=dl(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=dl(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=cl(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=cl(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),pl(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,r,o){var i,a=[ll(Math.round(e).toString(16)),ll(Math.round(t).toString(16)),ll(Math.round(n).toString(16)),ll((i=r,Math.round(255*parseFloat(i)).toString(16)))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},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 e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*ol(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*ol(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){var e,t,n,r;if(0===this.a)return"transparent";if(this.a<1)return!1;for(e="#"+pl(this.r,this.g,this.b,!1),t=0,n=Object.entries(TD);t=0)||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(t=this.toRgbString()),"prgb"===e&&(t=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(t=this.toHexString()),"hex3"===e&&(t=this.toHexString(!0)),"hex4"===e&&(t=this.toHex8String(!0)),"hex8"===e&&(t=this.toHex8String()),"name"===e&&(t=this.toName()),"hsl"===e&&(t=this.toHslString()),"hsv"===e&&(t=this.toHsvString()),t||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},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){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=il(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=il(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=il(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=il(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){var r,o,i;return void 0===n&&(n=50),r=this.toRgb(),o=new e(t).toRgb(),new e({r:(o.r-r.r)*(i=n/100)+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){var r,o,i;for(void 0===t&&(t=6),void 0===n&&(n=30),i=[this],(r=this.toHsl()).h=(r.h-((o=360/n)*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){var n,r,o,i,a,s;for(void 0===t&&(t=6),r=(n=this.toHsv()).h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){var n,r=this.toHsl(),o=r.h,i=[this],a=360/t;for(n=1;n{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}},iY={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"},aY=Object.assign(Object.assign({},iY),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'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}),sY=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},lY=(e,t)=>new $D(e).setAlpha(t).toRgbString(),cY=(e,t)=>new $D(e).darken(t).toHexString(),uY=e=>{const t=kl(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]}},dY=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:lY(r,.88),colorTextSecondary:lY(r,.65),colorTextTertiary:lY(r,.45),colorTextQuaternary:lY(r,.25),colorFill:lY(r,.15),colorFillSecondary:lY(r,.06),colorFillTertiary:lY(r,.04),colorFillQuaternary:lY(r,.02),colorBgLayout:cY(n,4),colorBgContainer:cY(n,0),colorBgElevated:cY(n,0),colorBgSpotlight:lY(r,.85),colorBorder:cY(n,15),colorBorderSecondary:cY(n,6)}},pY=e=>{const t=function(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=e*Math.pow(2.71828,(n-1)/5),o=n>1?Math.floor(r):Math.ceil(r);return 2*Math.floor(o/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:(e+8)/e})))}(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight));return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},mY=za(El),fY={token:aY,hashed:!0},hY=aK.createContext(fY);qD=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const r=n.getDerivativeToken(e),{override:o}=t,i=XD(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=Dl(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=XD(n,["theme"]);let i=o;r&&(i=gY(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a},bY="anticon",_Y=Nb.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:bY}),vY=(e,t,n,r,o)=>{const i=e/2,a=i,s=1*n/Math.sqrt(2),l=i-n*(1-1/Math.sqrt(2)),c=i-t*(1/Math.sqrt(2)),u=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),d=2*i-c,p=u,m=2*i-s,f=l,h=2*i-0,g=a,b=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),_=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${_}px 100%, 50% ${_}px, ${2*i-_}px 100%, ${_}px 100%)`,`path('M 0 ${a} A ${n} ${n} 0 0 0 ${s} ${l} L ${c} ${u} A ${t} ${t} 0 0 1 ${d} ${p} L ${m} ${f} A ${n} ${n} 0 0 0 ${h} ${g} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:b,height:b,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}},yY={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},wY=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),kY=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),xY=(e,t)=>{const{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},EY=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),SY=e=>({"&:focus-visible":Object.assign({},EY(e))}),OY="undefined"!=typeof CSSINJS_STATISTIC;let DY=!0;const CY={},TY=(e,t)=>{const[n,r]=Cl();return Ds({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},(()=>[{[`.${e}`]:Object.assign(Object.assign({},{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"}}),{[`.${e} .${e}-icon`]:{display:"block"}})}]))},NY=(e,t,n,r)=>{const o=jl(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return e=>{let{prefixCls:t}=e;return o(t),null}},RY=`-ant-${Date.now()}-${Math.random()}`,IY=Nb.createContext(!1),AY=e=>{let{children:t,disabled:n}=e;const r=Nb.useContext(IY);return Nb.createElement(IY.Provider,{value:null!=n?n:r},t)},$Y=IY,jY=Nb.createContext(void 0),PY=e=>{let{children:t,size:n}=e;const r=Nb.useContext(jY);return Nb.createElement(jY.Provider,{value:n||r},t)},MY=jY;KD=["children"],YD=Nb.createContext({}),JD=function(){function e(){return Di(this,e),t.apply(this,arguments)}Is(e,Nb.Component);var t=Ps(e);return Ti(e,[{key:"render",value:function(){return this.props.children}}]),e}(),QD="none",ZD="appear",eC="enter",tC="leave",nC="none",rC="prepare",oC="start",iC="active",aC="end",sC="prepared",gX=Ra(),bX="undefined"!=typeof window?window:{},_X={animationend:Ll("Animation","AnimationEnd"),transitionend:Ll("Transition","TransitionEnd")},gX&&("AnimationEvent"in bX||delete _X.animationend.animation,"TransitionEvent"in bX||delete _X.transitionend.transition),lC=_X,cC={},Ra()&&(uC=document.createElement("div"),cC=uC.style),dC={},pC=Fl("animationend"),mC=Fl("transitionend"),fC=!(!pC||!mC),hC=pC||"animationend",gC=mC||"transitionend",bC=Ra()?Nb.useLayoutEffect:Nb.useEffect,_C=[rC,oC,iC,aC],vC=[rC,sC];const LY=(wX=vX=fC,"object"===ki(vX)&&(wX=vX.transitionSupport),(yX=Nb.forwardRef((function(e,t){var n,r,o,i,a,s,l=e.visible,c=void 0===l||l,u=e.removeOnLeave,d=void 0===u||u,p=e.forceRender,m=e.children,f=e.motionName,h=e.leavedClassName,g=e.eventProps,b=function(e,t){return!(!e.motionName||!wX||!1===t)}(e,Nb.useContext(YD).motion),_=Nb.useRef(),v=Nb.useRef(),y=function(e,t,n,r){function o(){return n()}function i(){j(QD,!0),L(null,!0)}function a(e){var t,n,r=o();e&&!e.deadline&&e.target!==r||(t=H.current,$===ZD&&t?n=null==O?void 0:O(r,e):$===eC&&t?n=null==D?void 0:D(r,e):$===tC&&t&&(n=null==C?void 0:C(r,e)),$!==QD&&t&&!1!==n&&i())}var s,l,c=r.motionEnter,u=void 0===c||c,d=r.motionAppear,p=void 0===d||d,m=r.motionLeave,f=void 0===m||m,h=r.motionDeadline,g=r.motionLeaveImmediately,b=r.onAppearPrepare,_=r.onEnterPrepare,v=r.onLeavePrepare,y=r.onAppearStart,w=r.onEnterStart,k=r.onLeaveStart,x=r.onAppearActive,E=r.onEnterActive,S=r.onLeaveActive,O=r.onAppearEnd,D=r.onEnterEnd,C=r.onLeaveEnd,T=r.onVisibleChanged,N=Ua(Nl(),2),R=N[0],I=N[1],A=Ua(Nl(QD),2),$=A[0],j=A[1],P=Ua(Nl(null),2),M=P[0],L=P[1],F=Nb.useRef(!1),B=Nb.useRef(null),H=Nb.useRef(!1),U=Ua(function(e){function t(e){e&&(e.removeEventListener(gC,n),e.removeEventListener(hC,n))}var n,r=Nb.useRef(),o=Nb.useRef(e);return o.current=e,n=Nb.useCallback((function(e){o.current(e)}),[]),Nb.useEffect((function(){return function(){t(r.current)}}),[]),[function(e){r.current&&r.current!==e&&t(r.current),e&&e!==r.current&&(e.addEventListener(gC,n),e.addEventListener(hC,n),r.current=e)},t]}(a),1)[0],z=function(e){var t,n,r;switch(e){case ZD:return Ei(t={},rC,b),Ei(t,oC,y),Ei(t,iC,x),t;case eC:return Ei(n={},rC,_),Ei(n,oC,w),Ei(n,iC,E),n;case tC:return Ei(r={},rC,v),Ei(r,oC,k),Ei(r,iC,S),r;default:return{}}},G=Nb.useMemo((function(){return z($)}),[$]),W=function(e,t,n){var r=Ua(Nl(nC),2),o=r[0],i=r[1],a=function(){function e(){DD.cancel(t.current)}var t=Nb.useRef(null);return Nb.useEffect((function(){return function(){e()}}),[]),[function n(r,o){var i,a=arguments.length>1&&void 0!==o?o:2;e(),i=DD((function(){a<=1?r({isCanceled:function(){return i!==t.current}}):n(r,a-1)})),t.current=i},e]}(),s=Ua(a,2),l=s[0],c=s[1],u=t?vC:_C;return bC((function(){var e,t,r;o!==nC&&o!==aC&&(e=u.indexOf(o),t=u[e+1],!1===(r=n(o))?i(t,!0):t&&l((function(e){function n(){e.isCanceled()||i(t,!0)}!0===r?n():Promise.resolve(r).then(n)})))}),[e,o]),Nb.useEffect((function(){return function(){c()}}),[]),[function(){i(rC,!0)},o]}($,!e,(function(e){var t,n;return e===rC?!!(t=G[rC])&&t(o()):(X in G&&L((null===(n=G[X])||void 0===n?void 0:n.call(G,o(),null))||null),X===iC&&(U(o()),h>0&&(clearTimeout(B.current),B.current=setTimeout((function(){a({deadline:!0})}),h))),X===sC&&i(),!0)})),V=Ua(W,2),q=V[0],X=V[1],K=Hl(X);return H.current=K,bC((function(){var n,r,o;I(t),n=F.current,F.current=!0,!n&&t&&p&&(r=ZD),n&&t&&u&&(r=eC),(n&&!t&&f||!n&&g&&!t&&f)&&(r=tC),o=z(r),r&&(e||o[rC])?(j(r),q()):j(QD)}),[t]),Nb.useEffect((function(){($===ZD&&!p||$===eC&&!u||$===tC&&!f)&&j(QD)}),[p,u,f]),Nb.useEffect((function(){return function(){F.current=!1,clearTimeout(B.current)}}),[]),s=Nb.useRef(!1),Nb.useEffect((function(){R&&(s.current=!0),void 0!==R&&$===QD&&((s.current||R)&&(null==T||T(R)),s.current=!0)}),[R,$]),l=M,G[rC]&&X===oC&&(l=ka({transition:"none"},l)),[$,X,l,null!=R?R:t]}(b,c,(function(){try{return _.current instanceof HTMLElement?_.current:zs(v.current)}catch($X){return null}}),e),w=Ua(y,4),k=w[0],x=w[1],E=w[2],S=w[3],O=Nb.useRef(S);return S&&(O.current=!0),n=Nb.useCallback((function(e){_.current=e,Ls(t,e)}),[t]),o=ka(ka({},g),{},{visible:c}),m?k===QD?r=S?m(ka({},o),n):!d&&O.current&&h?m(ka(ka({},o),{},{className:h}),n):p||!d&&!h?m(ka(ka({},o),{},{style:{display:"none"}}),n):null:(x===rC?a="prepare":Hl(x)?a="active":x===oC&&(a="start"),s=Bl(f,"".concat(k,"-").concat(a)),r=m(ka(ka({},o),{},{className:zK(Bl(f,k),(i={},Ei(i,s,s&&a),Ei(i,f,"string"==typeof f),i)),style:E}),n)):r=null,Nb.isValidElement(r)&&Hs(r)&&(r.ref||(r=Nb.cloneElement(r,{ref:n}))),Nb.createElement(JD,{ref:v},r)}))).displayName="CSSMotion",yX);yC="add",wC="keep",kC="remove",xC="removed",EC=["component","children","onVisibleChanged","onAllRemoved"],SC=["status"],OC=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const FY=function(e,t){var n=arguments.length>1&&void 0!==t?t:LY,r=function(){function e(){var n,r,o,i;for(Di(this,e),r=arguments.length,o=new Array(r),i=0;i1&&void 0!==t?t:[],o=[],i=0,a=r.length,s=zl(arguments.length>0&&void 0!==e?e:[]),l=zl(r);return s.forEach((function(e){var t,n,r=!1;for(t=i;t1})).forEach((function(e){(o=o.filter((function(t){return t.key!==e||t.status!==kC}))).forEach((function(t){t.key===e&&(t.status=wC)}))})),o}(n,r);return{keyEntities:o.filter((function(e){var t=n.find((function(t){return e.key===t.key}));return!t||t.status!==xC||e.status!==kC}))}}}]),e}();return Ei(r,"defaultProps",{component:"div"}),r}(fC);DC=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r({getPrefixCls:(e,t)=>t||(e?`${Wl()}-${e}`:Wl()),getIconPrefixCls:Vl,getRootPrefixCls:()=>HY||Wl(),getTheme:()=>zY}),WY=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:s,componentSize:l,direction:c,space:u,virtual:d,dropdownMatchSelectWidth:p,popupMatchSelectWidth:m,popupOverflow:f,legacyLocale:h,parentContext:g,iconPrefixCls:b,theme:_,componentDisabled:v,segmented:y,statistic:w,spin:k,calendar:x,carousel:E,cascader:S,collapse:O,typography:D,checkbox:C,descriptions:T,divider:N,drawer:R,skeleton:I,steps:A,image:$,layout:j,list:P,mentions:M,modal:L,progress:F,result:B,slider:H,breadcrumb:U,menu:z,pagination:G,input:W,empty:V,badge:q,radio:X,rate:K,switch:Y,transfer:J,avatar:Q,message:Z,tag:ee,table:te,card:ne,tabs:re,timeline:oe,timePicker:ie,upload:ae,notification:se,tree:le,colorPicker:ce,datePicker:ue,wave:de}=e,pe=Nb.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||g.getPrefixCls("");return t?`${o}-${t}`:o}),[g.getPrefixCls,e.prefixCls]),me=b||g.iconPrefixCls||bY,fe=me!==g.iconPrefixCls,he=n||g.csp,ge=TY(me,he),be=function(e,t){const n=e||{},r=!1!==n.inherit&&t?t:fY;return Ea((()=>{if(!e)return t;const o=Object.assign({},r.components);return Object.keys(e.components||{}).forEach((t=>{o[t]=Object.assign(Object.assign({},o[t]),e.components[t])})),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:o})}),[n,r],((e,t)=>e.some(((e,n)=>!Ta(e,t[n],!0)))))}(_,g.theme),_e={csp:he,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:s||h,direction:c,space:u,virtual:d,popupMatchSelectWidth:null!=m?m:p,popupOverflow:f,getPrefixCls:pe,iconPrefixCls:me,theme:be,segmented:y,statistic:w,spin:k,calendar:x,carousel:E,cascader:S,collapse:O,typography:D,checkbox:C,descriptions:T,divider:N,drawer:R,skeleton:I,steps:A,image:$,input:W,layout:j,list:P,mentions:M,modal:L,progress:F,result:B,slider:H,breadcrumb:U,menu:z,pagination:G,empty:V,badge:q,radio:X,rate:K,switch:Y,transfer:J,avatar:Q,message:Z,tag:ee,table:te,card:ne,tabs:re,timeline:oe,timePicker:ie,upload:ae,notification:se,tree:le,colorPicker:ce,datePicker:ue,wave:de},ve=Object.assign({},g);Object.keys(_e).forEach((e=>{void 0!==_e[e]&&(ve[e]=_e[e])})),BY.forEach((t=>{const n=e[t];n&&(ve[t]=n)}));const ye=Ea((()=>ve),ve,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),we=Nb.useMemo((()=>({prefixCls:me,csp:he})),[me,he]);let ke=fe?ge(t):t;const xe=Nb.useMemo((()=>{var e,t,n,r;return nl((null===(e=KK.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=ye.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=ye.form)||void 0===r?void 0:r.validateMessages)||{},(null==a?void 0:a.validateMessages)||{})}),[ye,null==a?void 0:a.validateMessages]);Object.keys(xe).length>0&&(ke=Nb.createElement(WK.Provider,{value:xe},t)),s&&(ke=Nb.createElement(tY,{locale:s,_ANT_MARK__:"internalMark"},ke)),(me||he)&&(ke=Nb.createElement(GK.Provider,{value:we},ke)),l&&(ke=Nb.createElement(PY,{size:l},ke)),ke=Nb.createElement(Gl,null,ke);const Ee=Nb.useMemo((()=>{const e=be||{},{algorithm:t,token:n,components:r}=e,o=DC(e,["algorithm","token","components"]),i=t&&(!Array.isArray(t)||t.length>0)?za(t):mY,a={};return Object.entries(r||{}).forEach((e=>{let[t,n]=e;const r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=i:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=za(r.algorithm)),delete r.algorithm),a[t]=r})),Object.assign(Object.assign({},o),{theme:i,token:Object.assign(Object.assign({},aY),n),components:a})}),[be]);return _&&(ke=Nb.createElement(hY.Provider,{value:Ee},ke)),void 0!==v&&(ke=Nb.createElement(AY,{disabled:v},ke)),Nb.createElement(_Y.Provider,{value:ye},ke)},VY=e=>{const t=Nb.useContext(_Y),n=Nb.useContext(ZK);return Nb.createElement(WY,Object.assign({parentContext:t,legacyLocale:n},e))};VY.ConfigContext=_Y,VY.SizeContext=MY,VY.config=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r}=e;void 0!==t&&(HY=t),void 0!==n&&(UY=n),r&&(function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?function(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new $D(e),i=kl(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new $D(t.primaryColor),i=kl(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setAlpha(.12*e.getAlpha())));const a=new $D(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(a,(e=>e.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"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);Ra()&&Fa(n,`${RY}-dynamic-theme`)}(Wl(),r):zY=r)},VY.useConfig=function(){return{componentDisabled:Nb.useContext($Y),componentSize:Nb.useContext(MY)}},Object.defineProperty(VY,"SizeContext",{get:()=>MY});const qY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};CC=function(e){var t=Nb.useContext(GK),n=t.csp,r=t.prefixCls,o="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(o=o.replace(/anticon/g,r)),Nb.useEffect((function(){var t=Xl(e.current);Fa(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:t})}),[])},TC=["icon","className","onClick","style","primaryColor","secondaryColor"],NC={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},(RC=function(e){var t,n,r,o=e.icon,i=e.className,a=e.onClick,s=e.style,l=e.primaryColor,c=e.secondaryColor,u=Si(e,TC),d=Nb.useRef(),p=NC;return l&&(p={primaryColor:l,secondaryColor:c||Ql(l)}),CC(d),n=Kl(o),r="icon should be icon definiton, but got ".concat(o),Ca(n,"[@ant-design/icons] ".concat(r)),Kl(o)?((t=o)&&"function"==typeof t.icon&&(t=ka(ka({},t),{},{icon:t.icon(p.primaryColor,p.secondaryColor)})),Jl(t.icon,"svg-".concat(t.name),ka(ka({className:i,onClick:a,style:s,"data-icon":t.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},u),{},{ref:d}))):null}).displayName="IconReact",RC.getTwoToneColors=function(){return ka({},NC)},RC.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;NC.primaryColor=t,NC.secondaryColor=n||Ql(t),NC.calculated=!!n};const XY=RC;IC=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"],ec(VD.primary),(AC=Nb.forwardRef((function(e,t){var n,r,o,i,a,s=e.className,l=e.icon,c=e.spin,u=e.rotate,d=e.tabIndex,p=e.onClick,m=e.twoToneColor,f=Si(e,IC),h=Nb.useContext(GK),g=h.prefixCls,b=void 0===g?"anticon":g,_=zK(h.rootClassName,b,(Ei(n={},"".concat(b,"-").concat(l.name),!!l.name),Ei(n,"".concat(b,"-spin"),!!c||"loading"===l.name),n),s),v=d;return void 0===v&&p&&(v=-1),r=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,i=(o=Ua(Zl(m),2))[0],a=o[1],Nb.createElement("span",pa({role:"img","aria-label":l.name},f,{ref:t,tabIndex:v,onClick:p,className:_}),Nb.createElement(XY,{icon:l,primaryColor:i,secondaryColor:a,style:r}))}))).displayName="AntdIcon",AC.getTwoToneColor=function(){var e=XY.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},AC.setTwoToneColor=ec;const KY=AC,YY=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:qY}))})),JY={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"},QY=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:JY}))})),ZY={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"},eJ=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:ZY}))})),tJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},nJ=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:tJ}))})),rJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},oJ=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:rJ}))}));$C="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),jC="aria-",PC="data-";const{isValidElement:iJ}=sK,aJ=e=>"object"==typeof e&&null!=e&&1===e.nodeType,sJ=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,lJ=(e,t)=>{if(e.clientHeight{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(t){return null}})(e);return!!t&&(t.clientHeightit||i>e&&a=t&&s>=n?i-e-r:a>t&&sn?a-t+o:0,uJ=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},dJ=(e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!aJ(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,m=[];let f=e;for(;aJ(f)&&d(f);){if(f=uJ(f),f===p){m.push(f);break}null!=f&&f===document.body&&lJ(f)&&!lJ(document.documentElement)||null!=f&&lJ(f,u)&&m.push(f)}const h=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:b,scrollY:_}=window,{height:v,width:y,top:w,right:k,bottom:x,left:E}=e.getBoundingClientRect();let S="start"===s||"nearest"===s?w:"end"===s?x:w+v/2,O="center"===l?E+y/2:"end"===l?k:E;const D=[];for(let C=0;C=0&&E>=0&&x<=g&&k<=h&&w>=r&&x<=i&&E>=c&&k<=o)return D;const u=getComputedStyle(e),d=parseInt(u.borderLeftWidth,10),f=parseInt(u.borderTopWidth,10),T=parseInt(u.borderRightWidth,10),N=parseInt(u.borderBottomWidth,10);let R=0,I=0;const A="offsetWidth"in e?e.offsetWidth-e.clientWidth-d-T:0,$="offsetHeight"in e?e.offsetHeight-e.clientHeight-f-N:0,j="offsetWidth"in e?0===e.offsetWidth?0:n/e.offsetWidth:0,P="offsetHeight"in e?0===e.offsetHeight?0:t/e.offsetHeight:0;if(p===e)R="start"===s?S:"end"===s?S-g:"nearest"===s?cJ(_,_+g,g,f,N,_+S,_+S+v,v):S-g/2,I="start"===l?O:"center"===l?O-h/2:"end"===l?O-h:cJ(b,b+h,h,d,T,b+O,b+O+y,y),R=Math.max(0,R+_),I=Math.max(0,I+b);else{R="start"===s?S-r-f:"end"===s?S-i+N+$:"nearest"===s?cJ(r,i,t,f,N+$,S,S+v,v):S-(r+t/2)+$/2,I="start"===l?O-c-d:"center"===l?O-(c+n/2)+A/2:"end"===l?O-o+T+A:cJ(c,o,n,d,T+A,O,O+y,y);const{scrollLeft:a,scrollTop:u}=e;R=Math.max(0,Math.min(u+R/P,e.scrollHeight-t/P+$)),I=Math.max(0,Math.min(a+I/j,e.scrollWidth-n/j+A)),S+=u-R,O+=a-I}D.push({el:e,top:R,left:I})}return D},pJ=e=>{return!1===e?{block:"end",inline:"nearest"}:(t=e)===Object(t)&&0!==Object.keys(t).length?e:{block:"start",inline:"nearest"};var t};MC={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(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=MC.F1&&t<=MC.F12)return!1;switch(t){case MC.ALT:case MC.CAPS_LOCK:case MC.CONTEXT_MENU:case MC.CTRL:case MC.DOWN:case MC.END:case MC.ESC:case MC.HOME:case MC.INSERT:case MC.LEFT:case MC.MAC_FF_META:case MC.META:case MC.NUMLOCK:case MC.NUM_CENTER:case MC.PAGE_DOWN:case MC.PAGE_UP:case MC.PAUSE:case MC.PRINT_SCREEN:case MC.RIGHT:case MC.SHIFT:case MC.UP:case MC.WIN_KEY:case MC.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=MC.ZERO&&e<=MC.NINE)return!0;if(e>=MC.NUM_ZERO&&e<=MC.NUM_MULTIPLY)return!0;if(e>=MC.A&&e<=MC.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case MC.SPACE:case MC.QUESTION_MARK:case MC.NUM_PLUS:case MC.NUM_MINUS:case MC.NUM_PERIOD:case MC.NUM_DIVISION:case MC.SEMICOLON:case MC.DASH:case MC.EQUALS:case MC.COMMA:case MC.PERIOD:case MC.SLASH:case MC.APOSTROPHE:case MC.SINGLE_QUOTE:case MC.OPEN_SQUARE_BRACKET:case MC.BACKSLASH:case MC.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},LC=Nb.forwardRef((function(e,t){var n,r=e.prefixCls,o=e.style,i=e.className,a=e.duration,s=void 0===a?4.5:a,l=e.eventKey,c=e.content,u=e.closable,d=e.closeIcon,p=void 0===d?"x":d,m=e.props,f=e.onClick,h=e.onNoticeClose,g=e.times,b=Ua(Nb.useState(!1),2),_=b[0],v=b[1],y=function(){h(l)};return Nb.useEffect((function(){if(!_&&s>0){var e=setTimeout((function(){y()}),1e3*s);return function(){clearTimeout(e)}}}),[s,_,g]),n="".concat(r,"-notice"),Nb.createElement("div",pa({},m,{ref:t,className:zK(n,i,Ei({},"".concat(n,"-closable"),u)),style:o,onMouseEnter:function(){v(!0)},onMouseLeave:function(){v(!1)},onClick:f}),Nb.createElement("div",{className:"".concat(n,"-content")},c),u&&Nb.createElement("a",{tabIndex:0,className:"".concat(n,"-close"),onKeyDown:function(e){"Enter"!==e.key&&"Enter"!==e.code&&e.keyCode!==MC.ENTER||y()},onClick:function(e){e.preventDefault(),e.stopPropagation(),y()}},p))})),FC=aK.createContext({}),BC=function(e){return aK.createElement(FC.Provider,{value:{classNames:e.classNames}},e.children)},HC=function(e){var t=e.configList,n=e.placement,r=e.prefixCls,o=e.className,i=e.style,a=e.motion,s=e.onAllNoticeRemoved,l=e.onNoticeClose,c=Nb.useContext(FC).classNames,u=t.map((function(e){return{config:e,key:e.key}})),d="function"==typeof a?a(n):a;return aK.createElement(FY,pa({key:n,className:zK(r,"".concat(r,"-").concat(n),null==c?void 0:c.list,o),style:i,keys:u,motionAppear:!0},d,{onAllRemoved:function(){s(n)}}),(function(e,t){var n=e.config,o=e.style,i=n.key,a=n.times,s=n.style;return aK.createElement(LC,pa({},n,{ref:t,prefixCls:r,className:zK(e.className,n.className,null==c?void 0:c.notice),style:ka(ka({},o),s),times:a,key:i,eventKey:i,onNoticeClose:l}))}))},UC=Nb.forwardRef((function(e,t){var n,r,o,i,a,s,l=e.prefixCls,c=void 0===l?"rc-notification":l,u=e.container,d=e.motion,p=e.maxCount,m=e.className,f=e.style,h=e.onAllRemoved,g=e.renderNotifications,b=Ua(Nb.useState([]),2),_=b[0],v=b[1],y=function(e){var t,n=_.find((function(t){return t.key===e}));null==n||null===(t=n.onClose)||void 0===t||t.call(n),v((function(t){return t.filter((function(t){return t.key!==e}))}))};return Nb.useImperativeHandle(t,(function(){return{open:function(e){v((function(t){var n,r=ya(t),o=r.findIndex((function(t){return t.key===e.key})),i=ka({},e);return o>=0?(i.times=((null===(n=t[o])||void 0===n?void 0:n.times)||0)+1,r[o]=i):(i.times=0,r.push(i)),p>0&&r.length>p&&(r=r.slice(-p)),r}))},close:function(e){y(e)},destroy:function(){v([])}}})),n=Ua(Nb.useState({}),2),r=n[0],o=n[1],Nb.useEffect((function(){var e={};_.forEach((function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))})),Object.keys(r).forEach((function(t){e[t]=e[t]||[]})),o(e)}),[_]),i=function(e){o((function(t){var n=ka({},t);return(n[e]||[]).length||delete n[e],n}))},a=Nb.useRef(!1),Nb.useEffect((function(){Object.keys(r).length>0?a.current=!0:a.current&&(null==h||h(),a.current=!1)}),[r]),u?(s=Object.keys(r),Gk.createPortal(Nb.createElement(Nb.Fragment,null,s.map((function(e){var t=Nb.createElement(HC,{key:e,configList:r[e],placement:e,prefixCls:c,className:null==m?void 0:m(e),style:null==f?void 0:f(e),motion:d,onNoticeClose:y,onAllNoticeRemoved:i});return g?g(t,{prefixCls:c,key:e}):t}))),u)):null})),zC=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],GC=function(){return document.body},WC=0;const mJ={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"},fJ=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:mJ}))})),hJ=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorSuccess:i,colorError:a,colorWarning:s,colorInfo:l,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:p,paddingXS:m,borderRadiusLG:f,zIndexPopup:h,contentPadding:g,contentBg:b}=e,_=`${t}-notice`,v=new VO("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:m,transform:"translateY(0)",opacity:1}}),y=new VO("MessageMoveOut",{"0%":{maxHeight:e.height,padding:m,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),w={padding:m,textAlign:"center",[`${t}-custom-content > ${n}`]:{verticalAlign:"text-bottom",marginInlineEnd:p,fontSize:c},[`${_}-content`]:{display:"inline-block",padding:g,background:b,borderRadius:f,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n},\n ${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},wY(e)),{color:o,position:"fixed",top:p,width:"100%",pointerEvents:"none",zIndex:h,[`${t}-move-up`]:{animationFillMode:"forwards"},[`\n ${t}-move-up-appear,\n ${t}-move-up-enter\n `]:{animationName:v,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`\n ${t}-move-up-appear${t}-move-up-appear-active,\n ${t}-move-up-enter${t}-move-up-enter-active\n `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:y,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[_]:Object.assign({},w)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},w),{padding:0,textAlign:"start"})}]},gJ=jl("Message",(e=>{const t=Al(e,{height:150});return[hJ(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})));VC=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{prefixCls:t,type:n,icon:r,children:o}=e;return Nb.createElement("div",{className:zK(`${t}-custom-content`,`${t}-${n}`)},r||bJ[n],Nb.createElement("span",null,o))};qC=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{children:t,prefixCls:n}=e;const[,r]=gJ(n);return Nb.createElement(BC,{classNames:{list:r,notice:r}},t)},wJ=(e,t)=>{let{prefixCls:n,key:r}=t;return Nb.createElement(yJ,{prefixCls:n,key:r},e)},kJ=Nb.forwardRef(((e,t)=>{const{top:n,prefixCls:r,getContainer:o,maxCount:i,duration:a=vJ,rtl:s,transitionName:l,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:d,message:p}=Nb.useContext(_Y),m=r||u("message"),f=Nb.createElement("span",{className:`${m}-close-x`},Nb.createElement(eJ,{className:`${m}-close-icon`})),[h,g]=ic({prefixCls:m,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>zK({[`${m}-rtl`]:s}),motion:()=>function(e,t){return{motionName:null!=t?t:`${e}-move-up`}}(m,l),closable:!1,closeIcon:f,duration:a,getContainer:()=>(null==o?void 0:o())||(null==d?void 0:d())||document.body,maxCount:i,onAllRemoved:c,renderNotifications:wJ});return Nb.useImperativeHandle(t,(()=>Object.assign(Object.assign({},h),{prefixCls:m,message:p}))),g}));let xJ=0;KC=(XC=ka({},cK)).version,YC=XC.render,JC=XC.unmountComponentAtNode;try{Number((KC||"").split(".")[0])>=18&&(QC=XC.createRoot)}catch($X){}ZC="__rc_react_root__";const EJ=function(e){var t,n;if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox&&((t=e.getBBox()).width||t.height))return!0;if(e.getBoundingClientRect&&((n=e.getBoundingClientRect()).width||n.height))return!0}return!1},SJ=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${e.motionEaseInOut}`,`opacity 0.35s ${e.motionEaseInOut}`].join(",")}}}}},OJ=jl("Wave",(e=>[SJ(e)])),DJ="ant-wave-target",CJ=e=>{function t(){const e=getComputedStyle(r);s(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return vc(t)?t:vc(n)?n:vc(r)?r:null}(r));const t="static"===e.position,{borderLeftWidth:n,borderTopWidth:o}=e;d(t?r.offsetLeft:yc(-parseFloat(n))),m(t?r.offsetTop:yc(-parseFloat(o))),h(r.offsetWidth),b(r.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:u}=e;c([i,a,u,l].map((e=>yc(parseFloat(e)))))}const{className:n,target:r,component:o}=e,i=Nb.useRef(null),[a,s]=Nb.useState(null),[l,c]=Nb.useState([]),[u,d]=Nb.useState(0),[p,m]=Nb.useState(0),[f,h]=Nb.useState(0),[g,b]=Nb.useState(0),[_,v]=Nb.useState(!1),y={left:u,top:p,width:f,height:g,borderRadius:l.map((e=>`${e}px`)).join(" ")};if(a&&(y["--wave-color"]=a),Nb.useEffect((()=>{if(r){const e=DD((()=>{t(),v(!0)}));let n;return"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(t),n.observe(r)),()=>{DD.cancel(e),null==n||n.disconnect()}}}),[]),!_)return null;const w=("Checkbox"===o||"Radio"===o)&&(null==r?void 0:r.classList.contains(DJ));return Nb.createElement(LY,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=i.current)||void 0===n?void 0:n.parentElement;bc(e).then((()=>{null==e||e.remove()}))}return!1}},(e=>{let{className:t}=e;return Nb.createElement("div",{ref:i,className:zK(n,{"wave-quick":w},t),style:y})}))},TJ=(e,t)=>{var n;const{component:r}=t;if("Checkbox"===r&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild),mc(Nb.createElement(CJ,Object.assign({},t,{target:e})),o)},NJ=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=Nb.useContext(_Y),i=Nb.useRef(null),a=o("wave"),[,s]=OJ(a),l=function(e,t,n){const{wave:r}=Nb.useContext(_Y),[,o,i]=Cl(),a=Tl((a=>{const s=e.current;if((null==r?void 0:r.disabled)||!s)return;const l=s.querySelector(`.${DJ}`)||s,{showEffect:c}=r||{};(c||TJ)(l,{className:t,token:o,component:n,event:a,hashId:i})})),s=Nb.useRef();return e=>{DD.cancel(s.current),s.current=DD((()=>{a(e)}))}}(i,zK(a,s),r);return aK.useEffect((()=>{const e=i.current;if(!e||1!==e.nodeType||n)return;const t=t=>{!EJ(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||l(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[n]),aK.isValidElement(t)?oc(t,{ref:Hs(t)?Fs(t.ref,i):i}):null!=t?t:null},RJ=e=>{const t=aK.useContext(MY);return aK.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])},IJ=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},AJ=e=>{const{componentCls:t}=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"}}}},$J=jl("Space",(e=>[AJ(e),IJ(e)]),(()=>({})),{resetStyle:!1});eT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const n=Nb.useContext(jJ),r=Nb.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:i}=n,a="vertical"===r?"-vertical-":"-";return zK(`${e}-compact${a}item`,{[`${e}-compact${a}first-item`]:o,[`${e}-compact${a}last-item`]:i,[`${e}-compact${a}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},MJ=e=>{let{children:t}=e;return Nb.createElement(jJ.Provider,{value:null},t)},LJ=e=>{var{children:t}=e,n=eT(e,["children"]);return Nb.createElement(jJ.Provider,{value:n},t)};tT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{className:n,style:r,children:o,prefixCls:i}=e,a=zK(`${i}-icon`,n);return aK.createElement("span",{ref:t,className:a,style:r},o)})),zJ=Nb.forwardRef(((e,t)=>{let{prefixCls:n,className:r,style:o,iconClassName:i}=e;const a=zK(`${n}-loading-icon`,r);return aK.createElement(UJ,{prefixCls:n,className:a,style:o,ref:t},aK.createElement(fJ,{className:i}))})),GJ=()=>({width:0,opacity:0,transform:"scale(0)"}),WJ=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),VJ=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:i}=e,a=!!n;return r?aK.createElement(zJ,{prefixCls:t,className:o,style:i}):aK.createElement(LY,{visible:a,motionName:`${t}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:GJ,onAppearActive:WJ,onEnterStart:GJ,onEnterActive:WJ,onLeaveStart:WJ,onLeaveActive:GJ},((e,n)=>{let{className:r,style:a}=e;return aK.createElement(zJ,{prefixCls:t,className:o,style:Object.assign(Object.assign({},i),a),ref:n,iconClassName:r})}))},qJ=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),XJ=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},qJ(`${t}-primary`,o),qJ(`${t}-danger`,i)]}},KJ=e=>{const{componentCls:t,iconCls:n,buttonFontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},SY(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${2*e.lineWidth}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${2*e.lineWidth}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},YJ=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),JJ=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),QJ=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),ZJ=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),eQ=(e,t,n,r,o,i,a)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},YJ(e,Object.assign({backgroundColor:"transparent"},i),Object.assign({backgroundColor:"transparent"},a))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:o||void 0}})}),tQ=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},ZJ(e))}),nQ=e=>Object.assign({},tQ(e)),rQ=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),oQ=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},nQ(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),YJ(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),eQ(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},YJ(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),eQ(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),tQ(e))}),iQ=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},nQ(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),YJ(e.componentCls,{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),eQ(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},YJ(e.componentCls,{backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),eQ(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),tQ(e))}),aQ=e=>Object.assign(Object.assign({},oQ(e)),{borderStyle:"dashed"}),sQ=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},YJ(e.componentCls,{color:e.colorLinkHover},{color:e.colorLinkActive})),rQ(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},YJ(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),rQ(e))}),lQ=e=>Object.assign(Object.assign(Object.assign({},YJ(e.componentCls,{color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),rQ(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},rQ(e)),YJ(e.componentCls,{color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),cQ=e=>{const{componentCls:t}=e;return{[`${t}-default`]:oQ(e),[`${t}-primary`]:iQ(e),[`${t}-dashed`]:aQ(e),[`${t}-link`]:sQ(e),[`${t}-text`]:lQ(e),[`${t}-ghost`]:eQ(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},uQ=function(e,t){let n=arguments.length>1&&void 0!==t?t:"";const{componentCls:r,controlHeight:o,fontSize:i,lineHeight:a,lineWidth:s,borderRadius:l,buttonPaddingHorizontal:c,iconCls:u}=e;return[{[`${r}${n}`]:{fontSize:i,height:o,padding:`${Math.max(0,(o-i*a)/2-s)}px ${c-s}px`,borderRadius:l,[`&${r}-icon-only`]:{width:o,paddingInlineStart:0,paddingInlineEnd:0,[`&${r}-round`]:{width:"auto"},[u]:{fontSize:e.buttonIconOnlyFontSize}},[`&${r}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${r}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${r}${r}-circle${n}`]:JJ(e)},{[`${r}${r}-round${n}`]:QJ(e)}]},dQ=e=>uQ(e),pQ=e=>{const t=Al(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.fontSizeLG-2});return uQ(t,`${e.componentCls}-sm`)},mQ=e=>{const t=Al(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.fontSizeLG+2});return uQ(t,`${e.componentCls}-lg`)},fQ=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},hQ=e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e;return Al(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n,buttonIconOnlyFontSize:e.fontSizeLG,buttonFontWeight:400})},gQ=jl("Button",(e=>{const t=hQ(e);return[KJ(t),pQ(t),dQ(t),mQ(t),fQ(t),cQ(t),XJ(t)]})),bQ=NY(["Button","compact"],(e=>{const t=hQ(e);return[Sc(t),Dc(t)]}));nT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const{loading:o=!1,prefixCls:i,type:a="default",danger:s,shape:l="default",size:c,styles:u,disabled:d,className:p,rootClassName:m,children:f,icon:h,ghost:g=!1,block:b=!1,htmlType:_="button",classNames:v,style:y={}}=e,w=nT(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:k,autoInsertSpaceInButton:x,direction:E,button:S}=Nb.useContext(_Y),O=k("btn",i),[D,C]=gQ(O),T=Nb.useContext($Y),N=null!=d?d:T,R=Nb.useContext(FJ),I=Nb.useMemo((()=>function(e){if("object"==typeof e&&e){const t=null==e?void 0:e.delay;return{loading:!1,delay:Number.isNaN(t)||"number"!=typeof t?0:t}}return{loading:!!e,delay:0}}(o)),[o]),[A,$]=Nb.useState(I.loading),[j,P]=Nb.useState(!1),M=Fs(t,Nb.createRef()),L=1===Nb.Children.count(f)&&!h&&!kc(a);Nb.useEffect((()=>{let e=null;return I.delay>0?e=setTimeout((()=>{e=null,$(!0)}),I.delay):$(I.loading),function(){e&&(clearTimeout(e),e=null)}}),[I]),Nb.useEffect((()=>{M&&M.current&&!1!==x&&(L&&HJ(M.current.textContent)?j||P(!0):j&&P(!1))}),[M]);const F=t=>{const{onClick:n}=e;A||N?t.preventDefault():null==n||n(t)},B=!1!==x,{compactSize:H,compactItemClassnames:U}=PJ(O,E),z=RJ((e=>{var t,n;return null!==(n=null!==(t=null!=c?c:H)&&void 0!==t?t:R)&&void 0!==n?n:e})),G=z&&{large:"lg",small:"sm",middle:void 0}[z]||"",W=A?"loading":h,V=Ks(w,["navigate"]),q=zK(O,C,{[`${O}-${l}`]:"default"!==l&&l,[`${O}-${a}`]:a,[`${O}-${G}`]:G,[`${O}-icon-only`]:!f&&0!==f&&!!W,[`${O}-background-ghost`]:g&&!kc(a),[`${O}-loading`]:A,[`${O}-two-chinese-chars`]:j&&B&&!A,[`${O}-block`]:b,[`${O}-dangerous`]:!!s,[`${O}-rtl`]:"rtl"===E},U,p,m,null==S?void 0:S.className),X=Object.assign(Object.assign({},null==S?void 0:S.style),y),K=zK(null==v?void 0:v.icon,null===(n=null==S?void 0:S.classNames)||void 0===n?void 0:n.icon),Y=Object.assign(Object.assign({},(null==u?void 0:u.icon)||{}),(null===(r=null==S?void 0:S.styles)||void 0===r?void 0:r.icon)||{}),J=h&&!A?aK.createElement(UJ,{prefixCls:O,className:K,style:Y},h):aK.createElement(VJ,{existIcon:!!h,prefixCls:O,loading:!!A}),Q=f||0===f?function(e,t){let n=!1;const r=[];return aK.Children.forEach(e,(e=>{const t=typeof e,o="string"===t||"number"===t;if(n&&o){const t=r.length-1;r[t]=`${r[t]}${e}`}else r.push(e);n=o})),aK.Children.map(r,(e=>function(e,t){if(null==e)return;const n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&wc(e.type)&&HJ(e.props.children)?oc(e,{children:e.props.children.split("").join(n)}):wc(e)?HJ(e)?aK.createElement("span",null,e.split("").join(n)):aK.createElement("span",null,e):rc(e)?aK.createElement("span",null,e):e}(e,t)))}(f,L&&B):null;if(void 0!==V.href)return D(aK.createElement("a",Object.assign({},V,{className:zK(q,{[`${O}-disabled`]:N}),style:X,onClick:F,ref:M}),J,Q));let Z=aK.createElement("button",Object.assign({},w,{type:_,className:q,style:X,onClick:F,disabled:N,ref:M}),J,Q,U&&aK.createElement(bQ,{key:"compact",prefixCls:O}));return kc(a)||(Z=aK.createElement(NJ,{component:"Button",disabled:!!A},Z)),D(Z)},vQ=Nb.forwardRef(_Q);vQ.Group=e=>{const{getPrefixCls:t,direction:n}=Nb.useContext(_Y),{prefixCls:r,size:o,className:i}=e,a=tT(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=Cl();let c="";switch(o){case"large":c="lg";break;case"small":c="sm"}const u=zK(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:"rtl"===n},i,l);return Nb.createElement(FJ.Provider,{value:o},Nb.createElement("div",Object.assign({},a,{className:u})))},vQ.__ANT_BUTTON=!0;const yQ=vQ,wQ=e=>{const{type:t,children:n,prefixCls:r,buttonProps:o,close:i,autoFocus:a,emitEvent:s,isSilent:l,quitOnNullishReturnValue:c,actionFn:u}=e,d=Nb.useRef(!1),p=Nb.useRef(null),[m,f]=Nl(!1),h=function(){null==i||i.apply(void 0,arguments)};return Nb.useEffect((()=>{let e=null;return a&&(e=setTimeout((()=>{var e;null===(e=p.current)||void 0===e||e.focus()}))),()=>{e&&clearTimeout(e)}}),[]),Nb.createElement(yQ,Object.assign({},Cc(t),{onClick:e=>{if(d.current)return;if(d.current=!0,!u)return void h();let t;if(s){if(t=u(e),c&&!Tc(t))return d.current=!1,void h(e)}else if(u.length)t=u(i),d.current=!1;else if(t=u(),!t)return void h();(e=>{Tc(e)&&(f(!0),e.then((function(){f(!1,!0),h.apply(void 0,arguments),d.current=!1}),(e=>{if(f(!1,!0),d.current=!1,!(null==l?void 0:l()))return Promise.reject(e)})))})(t)},loading:m,prefixCls:r},o,{ref:p}),n)},kQ=()=>({height:0,opacity:0}),xQ=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},EQ=e=>({height:e?e.offsetHeight:0}),SQ=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,OQ=function(e){return{motionName:`${arguments.length>0&&void 0!==e?e:"ant"}-motion-collapse`,onAppearStart:kQ,onEnterStart:kQ,onAppearActive:xQ,onEnterActive:xQ,onLeaveStart:EQ,onLeaveActive:kQ,onAppearEnd:SQ,onEnterEnd:SQ,onLeaveEnd:SQ,motionDeadline:500}},DQ=(e,t,n)=>void 0!==n?n:`${e}-${t}`;rT=Nb.createContext(null),oT=[],aT="rc-util-locker-".concat(Date.now()),sT=0,lT=function(e){return!1!==e&&(Ra()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},cT=Nb.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x=e.open,E=e.autoLock,S=e.getContainer;return r=void 0===(n=e.autoDestroy)||n,o=e.children,i=Ua(Nb.useState(x),2),a=i[1],s=i[0]||x,Nb.useEffect((function(){(r||x)&&a(x)}),[x,r]),c=(l=Ua(Nb.useState((function(){return lT(S)})),2))[0],u=l[1],Nb.useEffect((function(){var e=lT(S);u(null!=e?e:null)})),d=function(e){function t(){r.parentElement||document.body.appendChild(r),o.current=!0}function n(){var e;null===(e=r.parentElement)||void 0===e||e.removeChild(r),o.current=!1}var r=Ua(Nb.useState((function(){return Ra()?document.createElement("div"):null})),1)[0],o=Nb.useRef(!1),i=Nb.useContext(rT),a=Ua(Nb.useState(oT),2),s=a[0],l=a[1],c=i||(o.current?void 0:function(e){l((function(t){return[e].concat(ya(t))}))});return dO((function(){return e?i?i(t):t():n(),n}),[e]),dO((function(){s.length&&(s.forEach((function(e){return e()})),l(oT))}),[s]),[r,c]}(s&&!c),m=(p=Ua(d,2))[0],f=p[1],h=null!=c?c:m,y=E&&x&&Ra()&&(h===m||h===document.body),w=!!y,k=Ua(Nb.useState((function(){return sT+=1,"".concat(aT,"_").concat(sT)})),1)[0],dO((function(){var e,t;return w?(e=function(e){if(!("undefined"!=typeof document&&e&&e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.height;return{width:Nc(t.width),height:Nc(n)}}(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth,Fa("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),k)):La(k),function(){La(k)}}),[w,k]),g=null,o&&Hs(o)&&t&&(g=o.ref),b=Bs(g,t),s&&Ra()&&void 0!==c?(_=!1===h||false,v=o,t&&(v=Nb.cloneElement(o,{ref:b})),Nb.createElement(rT.Provider,{value:f},_?v:Gk.createPortal(v,h))):null})),uT=0;const CQ=Nb.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));dT={width:0,height:0,overflow:"hidden",outline:"none"},pT=aK.forwardRef((function(e,t){var n,r,o,i,a,s=e.prefixCls,l=e.className,c=e.style,u=e.title,d=e.ariaId,p=e.footer,m=e.closable,f=e.closeIcon,h=e.onClose,g=e.children,b=e.bodyStyle,_=e.bodyProps,v=e.modalRender,y=e.onMouseDown,w=e.onMouseUp,k=e.holderRef,x=e.visible,E=e.forceRender,S=e.width,O=e.height,D=Nb.useRef(),C=Nb.useRef();return aK.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=D.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===C.current?D.current.focus():e||t!==D.current||C.current.focus()}}})),n={},void 0!==S&&(n.width=S),void 0!==O&&(n.height=O),p&&(r=aK.createElement("div",{className:"".concat(s,"-footer")},p)),u&&(o=aK.createElement("div",{className:"".concat(s,"-header")},aK.createElement("div",{className:"".concat(s,"-title"),id:d},u))),m&&(i=aK.createElement("button",{type:"button",onClick:h,"aria-label":"Close",className:"".concat(s,"-close")},f||aK.createElement("span",{className:"".concat(s,"-close-x")}))),a=aK.createElement("div",{className:"".concat(s,"-content")},i,o,aK.createElement("div",pa({className:"".concat(s,"-body"),style:b},_),g),r),aK.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":u?d:null,"aria-modal":"true",ref:k,style:ka(ka({},c),n),className:zK(s,l),onMouseDown:y,onMouseUp:w},aK.createElement("div",{tabIndex:0,ref:D,style:dT,"aria-hidden":"true"}),aK.createElement(CQ,{shouldUpdate:x||E},v?v(a):a),aK.createElement("div",{tabIndex:0,ref:C,style:dT,"aria-hidden":"true"}))})),(mT=Nb.forwardRef((function(e,t){function n(){var e,t,n,r,o,i=((n={left:(t=(e=f.current).getBoundingClientRect()).left,top:t.top}).left+=Ac(o=(r=e.ownerDocument).defaultView||r.parentWindow),n.top+=Ac(o,!0),n);b(m?"".concat(m.x-i.left,"px ").concat(m.y-i.top,"px"):"")}var r=e.prefixCls,o=e.title,i=e.style,a=e.className,s=e.visible,l=e.forceRender,c=e.destroyOnClose,u=e.motionName,d=e.ariaId,p=e.onVisibleChanged,m=e.mousePosition,f=Nb.useRef(),h=Ua(Nb.useState(),2),g=h[0],b=h[1],_={};return g&&(_.transformOrigin=g),Nb.createElement(LY,{visible:s,onVisibleChanged:p,onAppearPrepare:n,onEnterPrepare:n,forceRender:l,motionName:u,removeOnLeave:c,ref:f},(function(n,s){var l=n.className;return Nb.createElement(pT,pa({},e,{ref:t,title:o,ariaId:d,prefixCls:r,holderRef:s,style:ka(ka(ka({},n.style),i),_),className:zK(a,l)}))}))}))).displayName="Content",(fT=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,i=void 0!==o&&o,a=e.afterClose,s=Ua(Nb.useState(t),2),l=s[0],c=s[1];return Nb.useEffect((function(){t&&c(!0)}),[t]),r||!i||l?Nb.createElement(cT,{open:t||r||l,autoDestroy:!1,getContainer:n,autoLock:t||l},Nb.createElement(jc,pa({},e,{destroyOnClose:i,afterClose:function(){null==a||a(),c(!1)}}))):null}).displayName="Dialog";const TQ=()=>Ra()&&window.document.documentElement;let NQ;hT="RC_FORM_INTERNAL_HOOKS",bT=Nb.createContext({getFieldValue:gT=function(){Ca(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},getFieldsValue:gT,getFieldError:gT,getFieldWarning:gT,getFieldsError:gT,isFieldsTouched:gT,isFieldTouched:gT,isFieldValidating:gT,isFieldsValidating:gT,resetFields:gT,setFields:gT,setFieldValue:gT,setFieldsValue:gT,validateFields:gT,submit:gT,getInternalHooks:function(){return gT(),{dispatch:gT,initEntityValue:gT,registerField:gT,useSubscribe:gT,setInitialValues:gT,destroyForm:gT,setCallbacks:gT,registerWatch:gT,getFields:gT,setValidateMessages:gT,setPreserve:gT,getInitialValue:gT}}}),_T=Nb.createContext(null),vT=/%[sdj%]/g,yT=function(){},wT=function(e){function t(t,n){var r;return(r=e.call(this,"Async Validation Error")||this).errors=t,r.fields=n,r}var n,r;return r=e,(n=t).prototype=Object.create(r.prototype),n.prototype.constructor=n,Bc(n,r),t}(Uc(Error)),ET=function(){var e,t,n,r,o,i,a,s,l,c,u;return xT||(e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},o=("\n(?:\n(?:"+(r="[a-fA-F\\d]{1,4}")+":){7}(?:"+r+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+(n="(?: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}")+"|:"+r+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+r+":){5}(?::"+n+"|(?::"+r+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),(l=function(e){return e&&e.exact?i:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+o+t(e)+")","g")}).v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},l.v6=function(e){return e&&e.exact?s:new RegExp(""+t(e)+o+t(e),"g")},c=l.v4().source,u=l.v6().source,xT=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+c+"|"+u+'|(?:(?:[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"]*)?$)',"i"))},ST=/^(([^<>()\[\]\\.,;:\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,}))$/,OT=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,DT={integer:function(e){return DT.number(e)&&parseInt(e,10)===e},float:function(e){return DT.number(e)&&!DT.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch($X){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!DT.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(ST)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(ET())},hex:function(e){return"string"==typeof e&&!!e.match(OT)}},CT=function(e,t,n,r,o){var i;e.required&&void 0===t?kT(e,t,n,r,o):["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i=e.type)>-1?DT[i](t)||r.push(Gc(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(Gc(o.messages.types[i],e.fullField,e.type))},TT="enum",NT={required:kT=function(e,t,n,r,o,i){!e.required||n.hasOwnProperty(e.field)&&!Wc(t,i||e.type)||r.push(Gc(o.messages.required,e.fullField))},whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(Gc(o.messages.whitespace,e.fullField))},type:CT,range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=t,c=null,u="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(u?c="number":d?c="string":p&&(c="array"),!c)return!1;p&&(l=t.length),d&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&r.push(Gc(o.messages[c].len,e.fullField,e.len)):a&&!s&&le.max?r.push(Gc(o.messages[c].max,e.fullField,e.max)):a&&s&&(le.max)&&r.push(Gc(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[TT]=Array.isArray(e[TT])?e[TT]:[],-1===e[TT].indexOf(t)&&r.push(Gc(o.messages[TT],e.fullField,e[TT].join(", ")))},pattern:function(e,t,n,r,o){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Gc(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(Gc(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))}},IT={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t,"string")&&!e.required)return n();NT.required(e,t,r,i,o,"string"),Wc(t,"string")||(NT.type(e,t,r,i,o),NT.range(e,t,r,i,o),NT.pattern(e,t,r,i,o),!0===e.whitespace&&NT.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t)&&!e.required)return n();NT.required(e,t,r,i,o),void 0!==t&&NT.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),Wc(t)&&!e.required)return n();NT.required(e,t,r,i,o),void 0!==t&&(NT.type(e,t,r,i,o),NT.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t)&&!e.required)return n();NT.required(e,t,r,i,o),void 0!==t&&NT.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t)&&!e.required)return n();NT.required(e,t,r,i,o),Wc(t)||NT.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t)&&!e.required)return n();NT.required(e,t,r,i,o),void 0!==t&&(NT.type(e,t,r,i,o),NT.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t)&&!e.required)return n();NT.required(e,t,r,i,o),void 0!==t&&(NT.type(e,t,r,i,o),NT.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();NT.required(e,t,r,i,o,"array"),null!=t&&(NT.type(e,t,r,i,o),NT.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t)&&!e.required)return n();NT.required(e,t,r,i,o),void 0!==t&&NT.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t)&&!e.required)return n();NT.required(e,t,r,i,o),void 0!==t&&NT.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t,"string")&&!e.required)return n();NT.required(e,t,r,i,o),Wc(t,"string")||NT.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t,"date")&&!e.required)return n();NT.required(e,t,r,a,o),Wc(t,"date")||(i=t instanceof Date?t:new Date(t),NT.type(e,i,r,a,o),i&&NT.range(e,i.getTime(),r,a,o))}n(a)},url:RT=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t,i)&&!e.required)return n();NT.required(e,t,r,a,o,i),Wc(t,i)||NT.type(e,t,r,a,o)}n(a)},hex:RT,email:RT,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;NT.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Wc(t)&&!e.required)return n();NT.required(e,t,r,i,o)}n(i)}},AT=Kc(),$T=function(){function e(e){this.rules=null,this._messages=AT,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=Xc(Kc(),e)),this._messages},t.validate=function(t,n,r){var o,i,a,s,l,c,u=this;return void 0===n&&(n={}),void 0===r&&(r=function(){}),o=t,a=r,"function"==typeof(i=n)&&(a=i,i={}),this.rules&&0!==Object.keys(this.rules).length?(i.messages?((s=this.messages())===AT&&(s=Kc()),Xc(s,i.messages),i.messages=s):i.messages=this.messages(),l={},(i.keys||Object.keys(this.rules)).forEach((function(e){var n=o[e];u.rules[e].forEach((function(r){var i=r;"function"==typeof i.transform&&(o===t&&(o=Lc({},o)),n=o[e]=i.transform(n)),(i="function"==typeof i?{validator:i}:Lc({},i)).validator=u.getValidationMethod(i),i.validator&&(i.field=e,i.fullField=i.fullField||e,i.type=u.getType(i),l[e]=l[e]||[],l[e].push({rule:i,value:n,source:o,field:e}))}))})),c={},function(e,t,n,r,o){var i,a,s,l,c,u,d;return t.first?(i=new Promise((function(t,i){var a=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}(e);Vc(a,n,(function(e){return r(e),e.length?i(new wT(e,zc(e))):t(o)}))})),i.catch((function(e){return e})),i):(a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],d=new Promise((function(t,i){var d=function(e){if(u.push.apply(u,e),++c===l)return r(u),u.length?i(new wT(u,zc(u))):t(o)};s.length||(r(u),t(o)),s.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?Vc(r,n,d):function(e,t,n){function r(e){o.push.apply(o,e||[]),++i===a&&n(o)}var o=[],i=0,a=e.length;e.forEach((function(e){t(e,r)}))}(r,n,d)}))})),d.catch((function(e){return e})),d)}(l,i,(function(t,n){function r(e,t){return Lc({},t,{fullField:l.fullField+"."+e,fullFields:l.fullFields?[].concat(l.fullFields,[e]):[e]})}function a(a){var s,d,p,m,f;if(void 0===a&&(a=[]),s=Array.isArray(a)?a:[a],!i.suppressWarning&&s.length&&e.warning("async-validator:",s),s.length&&void 0!==l.message&&(s=[].concat(l.message)),d=s.map(qc(l,o)),i.first&&d.length)return c[l.field]=1,n(d);if(u){if(l.required&&!t.value)return void 0!==l.message?d=[].concat(l.message).map(qc(l,o)):i.error&&(d=[i.error(l,Gc(i.messages.required,l.field))]),n(d);p={},l.defaultField&&Object.keys(t.value).map((function(e){p[e]=l.defaultField})),p=Lc({},p,t.rule.fields),m={},Object.keys(p).forEach((function(e){var t=p[e],n=Array.isArray(t)?t:[t];m[e]=n.map(r.bind(null,e))})),(f=new e(m)).messages(i.messages),t.rule.options&&(t.rule.options.messages=i.messages,t.rule.options.error=i.error),f.validate(t.value,t.rule.options||i,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(d)}var s,l=t.rule,u=!("object"!==l.type&&"array"!==l.type||"object"!=typeof l.fields&&"object"!=typeof l.defaultField);if(u=u&&(l.required||!l.required&&t.value),l.field=t.field,l.asyncValidator)s=l.asyncValidator(l,t.value,a,t.source,i);else if(l.validator){try{s=l.validator(l,t.value,a,t.source,i)}catch(d){console,i.suppressValidatorError||setTimeout((function(){throw d}),0),a(d.message)}!0===s?a():!1===s?a("function"==typeof l.message?l.message(l.fullField||l.field):l.message||(l.fullField||l.field)+" fails"):s instanceof Array?a(s):s instanceof Error&&a(s.message)}s&&s.then&&s.then((function(){return a()}),(function(e){return a(e)}))}),(function(e){!function(e){var t,n,r,i=[],s={};for(t=0;t0&&void 0!==e?e:BT;r.validatePromise===l&&(r.validatePromise=null,n=[],o=[],null===(t=i.forEach)||void 0===t||t.call(i,(function(e){var t=e.errors,r=void 0===t?BT:t;e.rule.warningOnly?o.push.apply(o,ya(r)):n.push.apply(n,ya(r))})),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender())})),d):[]}));return s||(r.validatePromise=l,r.dirty=!0,r.errors=BT,r.warnings=BT,r.triggerMetaEvent(),r.reRender()),l},r.isFieldValidating=function(){return!!r.validatePromise},r.isFieldTouched=function(){return r.touched},r.isFieldDirty=function(){return!(!r.dirty&&void 0===r.props.initialValue)||void 0!==(0,r.props.fieldContext.getInternalHooks(hT).getInitialValue)(r.getNamePath())},r.getErrors=function(){return r.errors},r.getWarnings=function(){return r.warnings},r.isListField=function(){return r.props.isListField},r.isList=function(){return r.props.isList},r.isPreserve=function(){return r.props.preserve},r.getMeta=function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}},r.getOnlyChild=function(e){var t,n;return"function"==typeof e?(t=r.getMeta(),ka(ka({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})):1===(n=Ms(e)).length&&Nb.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},r.getValue=function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return Qs(e||t(!0),n)},r.getControlled=function(e){var t=arguments.length>0&&void 0!==e?e:{},n=r.props,o=n.trigger,i=n.validateTrigger,a=n.getValueFromEvent,s=n.normalize,l=n.valuePropName,c=n.getValueProps,u=n.fieldContext,d=void 0!==i?i:u.validateTrigger,p=r.getNamePath(),m=u.getFieldsValue,f=(0,u.getInternalHooks)(hT).dispatch,h=r.getValue(),g=c||function(e){return Ei({},l,e)},b=t[o],_=ka(ka({},t),g(h));return _[o]=function(){var e,t,n,o;for(r.touched=!0,r.dirty=!0,r.triggerMetaEvent(),t=arguments.length,n=new Array(t),o=0;o0&&void 0!==e?e:[];n.watchList.length&&(t=n.getFieldsValue(),r=n.getFieldsValue(!0),n.watchList.forEach((function(e){e(t,r,o)})))},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(e){n.store=e},this.getFieldEntities=function(e){return arguments.length>0&&void 0!==e&&e?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities},this.getFieldsMap=function(e){var t=arguments.length>0&&void 0!==e&&e,r=new zT;return n.getFieldEntities(t).forEach((function(e){var t=e.getNamePath();r.set(t,e)})),r},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=nu(e);return t.get(n)||{INVALIDATE_NAME_PATH:nu(e)}}))},this.getFieldsValue=function(e,t){var r,o,i,a,s;return n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===ki(e)&&(i=e.strict,o=e.filter),!0!==r||o?(a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),s=[],a.forEach((function(e){var t,n,a,l="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null===(n=e.isList)||void 0===n?void 0:n.call(e))return}else if(!r&&(null===(t=e.isListField)||void 0===t?void 0:t.call(e)))return;o?(a="getMeta"in e?e.getMeta():null,o(a)&&s.push(l)):s.push(l)})),ru(n.store,s.map(nu))):n.store},this.getFieldValue=function(e){n.warningUnhooked();var t=nu(e);return Qs(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:nu(e[n]),errors:[],warnings:[]}}))},this.getFieldError=function(e){var t;return n.warningUnhooked(),t=nu(e),n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){var t;return n.warningUnhooked(),t=nu(e),n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){var e,t,r,o,i,a,s,l,c,u,d,p;for(n.warningUnhooked(),e=arguments.length,t=new Array(e),r=0;r0&&void 0!==e?e:{},i=new zT,a=n.getFieldEntities(!0);a.forEach((function(e){var t,n=e.props.initialValue,r=e.getNamePath();void 0!==n&&((t=i.get(r)||new Set).add({entity:e,value:n}),i.set(r,t))})),t=function(e){e.forEach((function(e){var t,r,a;void 0!==e.props.initialValue&&(t=e.getNamePath(),void 0!==n.getInitialValue(t)?Ca(!1,"Form already set 'initialValues' with path '".concat(t.join("."),"'. Field can not overwrite it.")):(r=i.get(t))&&r.size>1?Ca(!1,"Multiple Field with path '".concat(t.join("."),"' set 'initialValue'. Can not decide which one to pick.")):r&&(a=n.getFieldValue(t),o.skipExist&&void 0!==a||n.updateStore(el(n.store,t,ya(r)[0].value))))}))},o.entities?r=o.entities:o.namePathList?(r=[],o.namePathList.forEach((function(e){var t,n=i.get(e);n&&(t=r).push.apply(t,ya(ya(n).map((function(e){return e.entity}))))}))):r=a,t(r)},this.resetFields=function(e){var t,r;if(n.warningUnhooked(),t=n.store,!e)return n.updateStore(nl(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();(r=e.map(nu)).forEach((function(e){var t=n.getInitialValue(e);n.updateStore(el(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)},this.setFields=function(e){var t,r;n.warningUnhooked(),t=n.store,r=[],e.forEach((function(e){var o=e.name,i=Si(e,GT),a=nu(o);r.push(a),"value"in i&&n.updateStore(el(n.store,a,i.value)),n.notifyObservers(t,[a],{type:"setField",data:e})})),n.notifyWatch(r)},this.getFields=function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=ka(ka({},e.getMeta()),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(r,"originRCField",{value:!0}),r}))},this.initEntityValue=function(e){var t,r=e.props.initialValue;void 0!==r&&(t=e.getNamePath(),void 0===Qs(n.store,t)&&n.updateStore(el(n.store,t,r)))},this.isMergedPreserve=function(e){var t=void 0!==e?e:n.preserve;return null==t||t},this.registerField=function(e){var t,r;return n.fieldEntities.push(e),t=e.getNamePath(),n.notifyWatch([t]),void 0!==e.props.initialValue&&(r=n.store,n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})),function(r,o,i){var a,s,l=arguments.length>2&&void 0!==i?i:[];n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),n.isMergedPreserve(o)||r&&!(l.length>1)||(a=r?void 0:n.getInitialValue(t),t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!iu(e.getNamePath(),t)}))&&(n.updateStore(el(s=n.store,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t))),n.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":n.updateValue(e.namePath,e.value);break;case"validateField":n.validateFields([e.namePath],{triggerName:e.triggerName})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var o=ka(ka({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat(ya(r))}),r},this.updateValue=function(e,t){var r,o,i=nu(e),a=n.store;n.updateStore(el(n.store,i,t)),n.notifyObservers(a,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]),r=n.triggerDependenciesUpdate(a,i),(o=n.callbacks.onValuesChange)&&o(ru(n.store,[i]),n.getFieldsValue()),n.triggerOnFieldsChange([i].concat(ya(r)))},this.setFieldsValue=function(e){var t,r;n.warningUnhooked(),t=n.store,e&&(r=nl(n.store,e),n.updateStore(r)),n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(e,t){n.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],o=new zT;return n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=nu(t);o.update(n,(function(t){var n=arguments.length>0&&void 0!==t?t:new Set;return n.add(e),n}))}))})),function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r},this.triggerOnFieldsChange=function(e,t){var r,o,i,a=n.callbacks.onFieldsChange;a&&(r=n.getFields(),t&&(o=new zT,t.forEach((function(e){o.set(e.name,e.errors)})),r.forEach((function(e){e.errors=o.get(e.name)||e.errors}))),(i=r.filter((function(t){return ou(e,t.name)}))).length&&a(i,r))},this.validateFields=function(e,t){var r,o,i,a,s,l,c,u,d,p;return n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e,a=(i=!!r)?r.map(nu):[],s=[],l=String(Date.now()),c=new Set,n.getFieldEntities(!0).forEach((function(e){var t,u,d,p;i||a.push(e.getNamePath()),(null===(t=o)||void 0===t?void 0:t.recursive)&&i&&(u=e.getNamePath()).every((function(e,t){return r[t]===e||void 0===r[t]}))&&a.push(u),e.props.rules&&e.props.rules.length&&(d=e.getNamePath(),c.add(d.join(l)),i&&!ou(a,d)||(p=e.validateRules(ka({validateMessages:ka(ka({},PT),n.validateMessages)},o)),s.push(p.then((function(){return{name:d,errors:[],warnings:[]}})).catch((function(e){var t,n=[],r=[];return null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.errors;e.rule.warningOnly?r.push.apply(r,ya(t)):n.push.apply(n,ya(t))})),n.length?Promise.reject({name:d,errors:n,warnings:r}):{name:d,errors:n,warnings:r}})))))})),u=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(s),n.lastValidatePromise=u,u.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)})),(d=u.then((function(){return n.lastValidatePromise===u?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==u})}))).catch((function(e){return e})),p=a.filter((function(e){return c.has(e.join(l))})),n.triggerOnFieldsChange(p),d},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t})),VT=Nb.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),qT=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,o=e.children,i=Nb.useContext(VT),a=Nb.useRef({});return Nb.createElement(VT.Provider,{value:ka(ka({},i),{},{validateMessages:ka(ka({},i.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:a.current}),i.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:a.current}),i.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(a.current=ka(ka({},a.current),{},Ei({},e,t))),i.registerForm(e,t)},unregisterForm:function(e){var t=ka({},a.current);delete t[e],a.current=t,i.unregisterForm(e)}})},o)},XT=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],KT=function(e,t){var n,r,o,i,a,s,l=e.name,c=e.initialValues,u=e.fields,d=e.form,p=e.preserve,m=e.children,f=e.component,h=void 0===f?"form":f,g=e.validateMessages,b=e.validateTrigger,_=void 0===b?"onChange":b,v=e.onValuesChange,y=e.onFieldsChange,w=e.onFinish,k=e.onFinishFailed,x=Si(e,XT),E=Nb.useContext(VT),S=Ua(pu(d),1)[0],O=S.getInternalHooks(hT),D=O.useSubscribe,C=O.setInitialValues,T=O.setCallbacks,N=O.setValidateMessages,R=O.setPreserve,I=O.destroyForm;return Nb.useImperativeHandle(t,(function(){return S})),Nb.useEffect((function(){return E.registerForm(l,S),function(){E.unregisterForm(l)}}),[E,S,l]),N(ka(ka({},E.validateMessages),g)),T({onValuesChange:v,onFieldsChange:function(e){if(E.triggerFormChange(l,e),y){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{}}),IQ=Nb.createContext(null),AQ=e=>{const t=Ks(e,["prefixCls"]);return Nb.createElement(qT,Object.assign({},t))},$Q=Nb.createContext({prefixCls:""}),jQ=Nb.createContext({}),PQ=e=>{let{children:t,status:n,override:r}=e;const o=Nb.useContext(jQ),i=Nb.useMemo((()=>{const e=Object.assign({},o);return r&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,r,o]);return Nb.createElement(jQ.Provider,{value:i},t)},MQ=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:o,onOk:i,onCancel:a,okButtonProps:s,cancelButtonProps:l}=e,[c]=eY("Modal",rl());return aK.createElement(AY,{disabled:!1},aK.createElement(yQ,Object.assign({onClick:a},l),r||(null==c?void 0:c.cancelText)),aK.createElement(yQ,Object.assign({},Cc(n),{loading:o,onClick:i},s),t||(null==c?void 0:c.okText)))},LQ=e=>({animationDuration:e,animationFillMode:"both"}),FQ=e=>({animationDuration:e,animationFillMode:"both"}),BQ=function(e,t,n,r,o){const i=arguments.length>4&&void 0!==o&&o?"&":"";return{[`\n ${i}${e}-enter,\n ${i}${e}-appear\n `]:Object.assign(Object.assign({},LQ(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},FQ(r)),{animationPlayState:"paused"}),[`\n ${i}${e}-enter${e}-enter-active,\n ${i}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},HQ=new VO("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),UQ=new VO("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),zQ=function(e,t){let n=arguments.length>1&&void 0!==t&&t;const{antCls:r}=e,o=`${r}-fade`,i=n?"&":"";return[BQ(o,HQ,UQ,e.motionDurationMid,n),{[`\n ${i}${o}-enter,\n ${i}${o}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${o}-leave`]:{animationTimingFunction:"linear"}}]},GQ=new VO("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),WQ=new VO("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),VQ=new VO("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),qQ=new VO("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),XQ=new VO("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),KQ=new VO("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),YQ={"move-up":{inKeyframes:new VO("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new VO("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:GQ,outKeyframes:WQ},"move-left":{inKeyframes:VQ,outKeyframes:qQ},"move-right":{inKeyframes:XQ,outKeyframes:KQ}},JQ=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=YQ[t];return[BQ(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},QQ=new VO("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),ZQ=new VO("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),eZ=new VO("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),tZ=new VO("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),nZ=new VO("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),rZ=new VO("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),oZ=new VO("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),iZ=new VO("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),aZ={"slide-up":{inKeyframes:QQ,outKeyframes:ZQ},"slide-down":{inKeyframes:eZ,outKeyframes:tZ},"slide-left":{inKeyframes:nZ,outKeyframes:rZ},"slide-right":{inKeyframes:oZ,outKeyframes:iZ}},sZ=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=aZ[t];return[BQ(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},lZ=new VO("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),cZ=new VO("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),uZ=new VO("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),dZ=new VO("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),pZ=new VO("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),mZ=new VO("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),fZ=new VO("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),hZ=new VO("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),gZ=new VO("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),bZ=new VO("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),_Z=new VO("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),vZ=new VO("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),yZ={zoom:{inKeyframes:lZ,outKeyframes:cZ},"zoom-big":{inKeyframes:uZ,outKeyframes:dZ},"zoom-big-fast":{inKeyframes:uZ,outKeyframes:dZ},"zoom-left":{inKeyframes:fZ,outKeyframes:hZ},"zoom-right":{inKeyframes:gZ,outKeyframes:bZ},"zoom-up":{inKeyframes:pZ,outKeyframes:mZ},"zoom-down":{inKeyframes:_Z,outKeyframes:vZ}},wZ=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=yZ[t];return[BQ(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},kZ=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),xZ=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},gu("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},gu("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${t}${n}-zoom-enter), &:has(${t}${n}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${t}-root`]:zQ(e)}]},EZ=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},wY(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${2*e.margin}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:Object.assign({position:"absolute",top:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},SY(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},SZ=e=>{const{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls},\n ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},OZ=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},DZ=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[r]:{[`${n}-modal-body`]:{padding:`${2*e.padding}px ${2*e.padding}px ${e.paddingLG}px`},[`${r}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${r}-title + ${r}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${r}-btns`]:{marginTop:e.marginLG}}}},CZ=jl("Modal",(e=>{const t=e.padding,n=Al(e,{modalBodyPadding:e.paddingLG,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderHeight:e.lineHeightHeading5*e.fontSizeHeading5+2*t,modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontSize*e.lineHeight,modalConfirmIconSize:e.fontSize*e.lineHeight});return[EZ(n),SZ(n),OZ(n),xZ(n),e.wireframe&&DZ(n),wZ(n,"zoom")]}),(e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading})));let TZ;JT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{TZ={x:e.pageX,y:e.pageY},setTimeout((()=>{TZ=null}),100)}),!0);const NZ=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:o,modal:i}=Nb.useContext(_Y),a=t=>{const{onCancel:n}=e;null==n||n(t)},{prefixCls:s,className:l,rootClassName:c,open:u,wrapClassName:d,centered:p,getContainer:m,closeIcon:f,closable:h,focusTriggerAfterClose:g=!0,style:b,visible:_,width:v=520,footer:y}=e,w=JT(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),k=r("modal",s),x=r(),[E,S]=CZ(k),O=zK(d,{[`${k}-centered`]:!!p,[`${k}-wrap-rtl`]:"rtl"===o}),D=void 0===y?Nb.createElement(MQ,Object.assign({},e,{onOk:t=>{const{onOk:n}=e;null==n||n(t)},onCancel:a})):y,[C,T]=Pc(h,f,(e=>hu(k,e)),Nb.createElement(eJ,{className:`${k}-close-icon`}),!0);return E(Nb.createElement(MJ,null,Nb.createElement(PQ,{status:!0,override:!0},Nb.createElement(fT,Object.assign({width:v},w,{getContainer:void 0===m?n:m,prefixCls:k,rootClassName:zK(S,c),wrapClassName:O,footer:D,visible:null!=u?u:_,mousePosition:null!==(t=w.mousePosition)&&void 0!==t?t:TZ,onClose:a,closable:C,closeIcon:T,focusTriggerAfterClose:g,transitionName:DQ(x,"zoom",e.transitionName),maskTransitionName:DQ(x,"fade",e.maskTransitionName),className:zK(S,l,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),b)})))))},RZ=e=>{const{close:t,zIndex:n,afterClose:r,open:o,keyboard:i,centered:a,getContainer:s,maskStyle:l,direction:c,prefixCls:u,wrapClassName:d,rootPrefixCls:p,iconPrefixCls:m,theme:f,bodyStyle:h,closable:g=!1,closeIcon:b,modalRender:_,focusTriggerAfterClose:v}=e,y=`${u}-confirm`,w=e.width||416,k=e.style||{},x=void 0===e.mask||e.mask,E=void 0!==e.maskClosable&&e.maskClosable,S=zK(y,`${y}-${e.type}`,{[`${y}-rtl`]:"rtl"===c},e.className);return Nb.createElement(VY,{prefixCls:p,iconPrefixCls:m,direction:c,theme:f},Nb.createElement(NZ,{prefixCls:u,className:S,wrapClassName:zK({[`${y}-centered`]:!!e.centered},d),onCancel:()=>null==t?void 0:t({triggerCancel:!0}),open:o,title:"",footer:null,transitionName:DQ(p,"zoom",e.transitionName),maskTransitionName:DQ(p,"fade",e.maskTransitionName),mask:x,maskClosable:E,maskStyle:l,style:k,bodyStyle:h,width:w,zIndex:n,afterClose:r,keyboard:i,centered:a,getContainer:s,closable:g,closeIcon:b,modalRender:_,focusTriggerAfterClose:v},Nb.createElement(bu,Object.assign({},e,{confirmPrefixCls:y}))))},IZ=[];QT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,{afterClose:r,config:o}=e,i=ZT(e,["afterClose","config"]);const[a,s]=Nb.useState(!0),[l,c]=Nb.useState(o),{direction:u,getPrefixCls:d}=Nb.useContext(_Y),p=d("modal"),m=d(),f=function(){s(!1);for(var e=arguments.length,t=new Array(e),n=0;ne&&e.triggerCancel));l.onCancel&&r&&l.onCancel.apply(l,[()=>{}].concat(ya(t.slice(1))))};Nb.useImperativeHandle(t,(()=>({destroy:f,update:e=>{c((t=>Object.assign(Object.assign({},t),e)))}})));const h=null!==(n=l.okCancel)&&void 0!==n?n:"confirm"===l.type,[g]=eY("Modal",KK.Modal);return Nb.createElement(RZ,Object.assign({prefixCls:p,rootPrefixCls:m},l,{close:f,open:a,afterClose:()=>{var e;r(),null===(e=l.afterClose)||void 0===e||e.call(l)},okText:l.okText||(h?null==g?void 0:g.okText:null==g?void 0:g.justOkText),direction:l.direction||u,cancelText:l.cancelText||(null==g?void 0:g.cancelText)},i))},jZ=Nb.forwardRef($Z);let PZ=0;const MZ=Nb.memo(Nb.forwardRef(((e,t)=>{const[n,r]=function(){const[e,t]=Nb.useState([]);return[e,Nb.useCallback((e=>(t((t=>[].concat(ya(t),[e]))),()=>{t((t=>t.filter((t=>t!==e))))})),[])]}();return Nb.useImperativeHandle(t,(()=>({patchElement:r})),[]),Nb.createElement(Nb.Fragment,null,n)}))),LZ=e=>{const{componentCls:t,width:n,notificationMarginEdge:r}=e;return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new VO("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}})}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new VO("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}})}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:r,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new VO("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}})}}}},FZ=e=>{const{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:o,notificationMarginBottom:i,borderRadiusLG:a,colorSuccess:s,colorInfo:l,colorWarning:c,colorError:u,colorTextHeading:d,notificationBg:p,notificationPadding:m,notificationMarginEdge:f,motionDurationMid:h,motionEaseInOut:g,fontSize:b,lineHeight:_,width:v,notificationIconSize:y,colorText:w}=e,k=`${n}-notice`,x=new VO("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:v},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),E=new VO("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:i,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),S={position:"relative",width:v,maxWidth:`calc(100vw - ${2*f}px)`,marginBottom:i,marginInlineStart:"auto",padding:m,overflow:"hidden",lineHeight:_,wordWrap:"break-word",background:p,borderRadius:a,boxShadow:r,[`${n}-close-icon`]:{fontSize:b,cursor:"pointer"},[`${k}-message`]:{marginBottom:e.marginXS,color:d,fontSize:o,lineHeight:e.lineHeightLG},[`${k}-description`]:{fontSize:b,color:w},[`&${k}-closable ${k}-message`]:{paddingInlineEnd:e.paddingLG},[`${k}-with-icon ${k}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+y,fontSize:o},[`${k}-with-icon ${k}-description`]:{marginInlineStart:e.marginSM+y,fontSize:b},[`${k}-icon`]:{position:"absolute",fontSize:y,lineHeight:0,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:l},[`&-warning${t}`]:{color:c},[`&-error${t}`]:{color:u}},[`${k}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${k}-btn`]:{float:"right",marginTop:e.marginSM}};return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},wY(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:f,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[k]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[k]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:g,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:g,animationFillMode:"both",animationDuration:h,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:x,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:E,animationPlayState:"running"}}),LZ(e)),{"&-rtl":{direction:"rtl",[`${k}-btn`]:{float:"left"}}})},{[n]:{[k]:Object.assign({},S)}},{[`${k}-pure-panel`]:Object.assign(Object.assign({},S),{margin:0})}]},BZ=jl("Notification",(e=>{const t=Al(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:e.paddingMD,notificationPaddingHorizontal:e.paddingLG,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:.55*e.controlHeightLG,notificationMarginBottom:e.margin,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginEdge:e.marginLG,animationMaxHeight:150});return[FZ(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50,width:384})));eN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,icon:n,type:r,message:o,description:i,btn:a,role:s="alert"}=e;let l=null;return n?l=Nb.createElement("span",{className:`${t}-icon`},n):r&&(l=Nb.createElement(HZ[r]||null,{className:zK(`${t}-icon`,`${t}-icon-${r}`)})),Nb.createElement("div",{className:zK({[`${t}-with-icon`]:l}),role:s},l,Nb.createElement("div",{className:`${t}-message`},o),Nb.createElement("div",{className:`${t}-description`},i),a&&Nb.createElement("div",{className:`${t}-btn`},a))};tN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{children:t,prefixCls:n}=e;const[,r]=BZ(n);return Nb.createElement(BC,{classNames:{list:r,notice:r}},t)},WZ=(e,t)=>{let{prefixCls:n,key:r}=t;return Nb.createElement(GZ,{prefixCls:n,key:r},e)},VZ=Nb.forwardRef(((e,t)=>{const{top:n,bottom:r,prefixCls:o,getContainer:i,maxCount:a,rtl:s,onAllRemoved:l}=e,{getPrefixCls:c,getPopupContainer:u,notification:d}=Nb.useContext(_Y),p=o||c("notification"),[m,f]=ic({prefixCls:p,style:e=>function(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n}}return r}(e,null!=n?n:24,null!=r?r:24),className:()=>zK({[`${p}-rtl`]:s}),motion:()=>function(e){return{motionName:`${e}-fade`}}(p),closable:!0,closeIcon:Su(p),duration:4.5,getContainer:()=>(null==i?void 0:i())||(null==u?void 0:u())||document.body,maxCount:a,onAllRemoved:l,renderNotifications:WZ});return Nb.useImperativeHandle(t,(()=>Object.assign(Object.assign({},m),{prefixCls:p,notification:d}))),f})),qZ=aK.createContext({}),XZ=aK.createContext({message:{},notification:{},modal:{}}),KZ=e=>{const{componentCls:t,colorText:n,fontSize:r,lineHeight:o,fontFamily:i}=e;return{[t]:{color:n,fontSize:r,lineHeight:o,fontFamily:i}}},YZ=jl("App",(e=>[KZ(e)])),JZ=e=>{const{prefixCls:t,children:n,className:r,rootClassName:o,message:i,notification:a,style:s}=e,{getPrefixCls:l}=Nb.useContext(_Y),c=l("app",t),[u,d]=YZ(c),p=zK(d,c,r,o),m=Nb.useContext(qZ),f=aK.useMemo((()=>({message:Object.assign(Object.assign({},m.message),i),notification:Object.assign(Object.assign({},m.notification),a)})),[i,a,m.message,m.notification]),[h,g]=lc(f.message),[b,_]=Du(f.notification),[v,y]=Eu(),w=aK.useMemo((()=>({message:h,notification:b,modal:v})),[h,b,v]);return u(aK.createElement(XZ.Provider,{value:w},aK.createElement(qZ.Provider,{value:f},aK.createElement("div",{className:p,style:s},y,g,_,n))))};JZ.useApp=()=>aK.useContext(XZ);const QZ=JZ,ZZ=function(){if("undefined"==typeof navigator||"undefined"==typeof window)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(null==e?void 0:e.substr(0,4))};nN=Nb.createContext(null),rN=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],oN=void 0,(iN=Nb.forwardRef(Nu)).displayName="Item",aN=aK.createContext(null),sN=["component"],lN=["className"],cN=["className"],uN=function(e,t){var n,r,o,i,a,s,l,c=Nb.useContext(aN);return c?(i=c.className,a=Si(c,lN),s=e.className,l=Si(e,cN),Nb.createElement(aN.Provider,{value:null},Nb.createElement(iN,pa({ref:t,className:zK(i,s)},a,l)))):(r=void 0===(n=e.component)?"div":n,o=Si(e,sN),Nb.createElement(r,pa({},o,{ref:t})))},(dN=Nb.forwardRef(uN)).displayName="RawItem",pN=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],mN="responsive",fN="invalidate",(hN=Nb.forwardRef(Au)).displayName="Overflow",hN.Item=dN,hN.RESPONSIVE=mN,hN.INVALIDATE=fN,gN=function(e){var t,n=e.className,r=e.customizeIcon,o=e.onMouseDown,i=e.onClick,a=e.children;return t="function"==typeof r?r(e.customizeIconProps):r,Nb.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),o&&o(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},void 0!==t?t:Nb.createElement("span",{className:zK(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},a))},(bN=Nb.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=e.id,a=e.disabled,s=e.tabIndex,l=e.autoFocus,c=e.autoComplete,u=e.editable,d=e.activeDescendantId,p=e.value,m=e.maxLength,f=e.onKeyDown,h=e.onMouseDown,g=e.onChange,b=e.onPaste,_=e.onCompositionStart,v=e.onCompositionEnd,y=e.open,w=e.attrs,k=e.inputElement||Nb.createElement("input",null),x=k.ref,E=k.props,S=E.onKeyDown,O=E.onChange,D=E.onMouseDown,C=E.onCompositionStart,T=E.onCompositionEnd,N=E.style;return Nb.cloneElement(k,ka(ka(ka({type:"search"},E),{},{id:i,ref:Fs(t,x),disabled:a,tabIndex:s,autoComplete:c||"off",autoFocus:l,className:zK("".concat(o,"-selection-search-input"),null===(n=k)||void 0===n||null===(r=n.props)||void 0===r?void 0:r.className),role:"combobox","aria-label":"Search","aria-expanded":y,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":y?d:void 0},w),{},{value:u?p:"",maxLength:m,readOnly:!u,unselectable:u?null:"on",style:ka(ka({},N),{},{opacity:u?null:0}),onKeyDown:function(e){f(e),S&&S(e)},onMouseDown:function(e){h(e),D&&D(e)},onChange:function(e){g(e),O&&O(e)},onCompositionStart:function(e){_(e),C&&C(e)},onCompositionEnd:function(e){v(e),T&&T(e)},onPaste:b}))}))).displayName="Input",_N="undefined"!=typeof window&&window.document&&window.document.documentElement,vN=_N,yN=function(e){e.preventDefault(),e.stopPropagation()},wN=function(e){function t(e,t,n,r,o){return Nb.createElement("span",{className:zK("".concat(U,"-item"),Ei({},"".concat(U,"-item-disabled"),n)),title:Pu(e)},Nb.createElement("span",{className:"".concat(U,"-item-content")},t),r&&Nb.createElement(gN,{className:"".concat(U,"-item-remove"),onMouseDown:yN,onClick:o,customizeIcon:w},"×"))}var n,r,o,i,a=e.id,s=e.prefixCls,l=e.values,c=e.open,u=e.searchValue,d=e.autoClearSearchValue,p=e.inputRef,m=e.placeholder,f=e.disabled,h=e.mode,g=e.showSearch,b=e.autoFocus,_=e.autoComplete,v=e.activeDescendantId,y=e.tabIndex,w=e.removeIcon,k=e.maxTagCount,x=e.maxTagTextLength,E=e.maxTagPlaceholder,S=void 0===E?function(e){return"+ ".concat(e.length," ...")}:E,O=e.tagRender,D=e.onToggleOpen,C=e.onRemove,T=e.onInputChange,N=e.onInputPaste,R=e.onInputKeyDown,I=e.onInputMouseDown,A=e.onInputCompositionStart,$=e.onInputCompositionEnd,j=Nb.useRef(null),P=Ua(Nb.useState(0),2),M=P[0],L=P[1],F=Ua(Nb.useState(!1),2),B=F[0],H=F[1],U="".concat(s,"-selection"),z=c||"multiple"===h&&!1===d||"tags"===h?u:"",G="tags"===h||"multiple"===h&&!1===d||g&&(c||B);return o=function(){L(j.current.scrollWidth)},i=[z],vN?Nb.useLayoutEffect(o,i):Nb.useEffect(o,i),n=Nb.createElement("div",{className:"".concat(U,"-search"),style:{width:M},onFocus:function(){H(!0)},onBlur:function(){H(!1)}},Nb.createElement(bN,{ref:p,open:c,prefixCls:s,id:a,inputElement:null,disabled:f,autoFocus:b,autoComplete:_,editable:G,activeDescendantId:v,value:z,onKeyDown:R,onMouseDown:I,onChange:T,onPaste:N,onCompositionStart:A,onCompositionEnd:$,tabIndex:y,attrs:nc(e,!0)}),Nb.createElement("span",{ref:j,className:"".concat(U,"-search-mirror"),"aria-hidden":!0},z," ")),r=Nb.createElement(hN,{prefixCls:"".concat(U,"-overflow"),data:l,renderItem:function(e){var n,r,o=e.disabled,i=e.label,a=e.value,s=!f&&!o,l=i;return"number"==typeof x&&("string"!=typeof i&&"number"!=typeof i||(n=String(l)).length>x&&(l="".concat(n.slice(0,x),"..."))),r=function(t){t&&t.stopPropagation(),C(e)},"function"==typeof O?function(e,t,n,r,o){return Nb.createElement("span",{onMouseDown:function(e){yN(e),D(!c)}},O({label:t,value:e,disabled:n,closable:r,onClose:o}))}(a,l,o,s,r):t(e,l,o,s,r)},renderRest:function(e){var n="function"==typeof S?S(e):S;return t({title:n},n,!1)},suffix:n,itemKey:Mu,maxCount:k}),Nb.createElement(Nb.Fragment,null,r,!l.length&&!z&&Nb.createElement("span",{className:"".concat(U,"-placeholder")},m))},kN=function(e){var t,n,r,o=e.inputElement,i=e.prefixCls,a=e.id,s=e.inputRef,l=e.disabled,c=e.autoFocus,u=e.autoComplete,d=e.activeDescendantId,p=e.mode,m=e.open,f=e.values,h=e.placeholder,g=e.tabIndex,b=e.showSearch,_=e.searchValue,v=e.activeValue,y=e.maxLength,w=e.onInputKeyDown,k=e.onInputMouseDown,x=e.onInputChange,E=e.onInputPaste,S=e.onInputCompositionStart,O=e.onInputCompositionEnd,D=e.title,C=Ua(Nb.useState(!1),2),T=C[1],N="combobox"===p,R=N||b,I=f[0],A=_||"";return N&&v&&!C[0]&&(A=v),Nb.useEffect((function(){N&&T(!1)}),[N,v]),t=!("combobox"!==p&&!m&&!b||!A),n=void 0===D?Pu(I):D,r=function(){if(I)return null;var e=t?{visibility:"hidden"}:void 0;return Nb.createElement("span",{className:"".concat(i,"-selection-placeholder"),style:e},h)},Nb.createElement(Nb.Fragment,null,Nb.createElement("span",{className:"".concat(i,"-selection-search")},Nb.createElement(bN,{ref:s,prefixCls:i,id:a,open:m,inputElement:o,disabled:l,autoFocus:c,autoComplete:u,editable:R,activeDescendantId:d,value:A,onKeyDown:w,onMouseDown:k,onChange:function(e){T(!0),x(e)},onPaste:E,onCompositionStart:S,onCompositionEnd:O,tabIndex:g,attrs:nc(e,!0),maxLength:N?y:void 0})),!N&&I?Nb.createElement("span",{className:"".concat(i,"-selection-item"),title:n,style:t?{visibility:"hidden"}:void 0},I.label):null,r())},xN=function(e,t){var n,r,o,i,a,s,l,c,u,d,p=Nb.useRef(null),m=Nb.useRef(!1),f=e.prefixCls,h=e.open,g=e.mode,b=e.showSearch,_=e.tokenWithEnter,v=e.autoClearSearchValue,y=e.onSearch,w=e.onSearchSubmit,k=e.onToggleOpen,x=e.onInputKeyDown,E=e.domRef;return Nb.useImperativeHandle(t,(function(){return{focus:function(){p.current.focus()},blur:function(){p.current.blur()}}})),n=Ua(Tu(0),2),r=n[0],o=n[1],i=function(e){var t=e.which;t!==MC.UP&&t!==MC.DOWN||e.preventDefault(),x&&x(e),t!==MC.ENTER||"tags"!==g||m.current||h||null==w||w(e.target.value),[MC.ESC,MC.SHIFT,MC.BACKSPACE,MC.TAB,MC.WIN_KEY,MC.ALT,MC.META,MC.WIN_KEY_RIGHT,MC.CTRL,MC.SEMICOLON,MC.EQUALS,MC.CAPS_LOCK,MC.CONTEXT_MENU,MC.F1,MC.F2,MC.F3,MC.F4,MC.F5,MC.F6,MC.F7,MC.F8,MC.F9,MC.F10,MC.F11,MC.F12].includes(t)||k(!0)},a=function(){o(!0)},s=Nb.useRef(null),l=function(e){!1!==y(e,!0,m.current)&&k(!0)},c=function(e){e.target!==p.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){p.current.focus()})):p.current.focus())},u=function(e){var t=r();e.target===p.current||t||"combobox"===g||e.preventDefault(),("combobox"===g||b&&t)&&h||(h&&!1!==v&&y("",!0,!1),k())},d=Nb.createElement("multiple"===g||"tags"===g?wN:kN,pa({},e,{inputRef:p,onInputKeyDown:i,onInputMouseDown:a,onInputChange:function(e){var t,n=e.target.value;_&&s.current&&/[\r\n]/.test(s.current)&&(t=s.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," "),n=n.replace(t,s.current)),s.current=null,l(n)},onInputPaste:function(e){var t=e.clipboardData.getData("text");s.current=t},onInputCompositionStart:function(){m.current=!0},onInputCompositionEnd:function(e){m.current=!1,"combobox"!==g&&l(e.target.value)}})),Nb.createElement("div",{ref:E,className:"".concat(f,"-selector"),onClick:c,onMouseDown:u},d)},(EN=Nb.forwardRef(xN)).displayName="Selector",SN=Nb.createContext(null),ON=Nb.memo((function(e){return e.children}),(function(e,t){return t.cache})),DN=Nb.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e.popup,u=e.className,d=e.prefixCls,p=e.style,m=e.target,f=e.onVisibleChanged,h=e.open,g=e.keepDom,b=e.onClick,_=e.mask,v=e.arrow,y=e.arrowPos,w=e.align,k=e.motion,x=e.maskMotion,E=e.forceRender,S=e.getPopupContainer,O=e.autoDestroy,D=e.portal,C=e.zIndex,T=e.onMouseEnter,N=e.onMouseLeave,R=e.onPointerEnter,I=e.ready,A=e.offsetX,$=e.offsetY,j=e.offsetR,P=e.offsetB,M=e.onAlign,L=e.onPrepare,F=e.stretch,B=e.targetWidth,H=e.targetHeight,U="function"==typeof c?c():c,z=h||g,G=(null==S?void 0:S.length)>0,W=Ua(Nb.useState(!S||!G),2),V=W[0],q=W[1];return dO((function(){!V&&G&&m&&q(!0)}),[V,G,m]),V?(r={left:"-1000vw",top:"-1000vh",right:n="auto",bottom:n},!I&&h||(o=w.points,s=(a=null==(i=w._experimental)?void 0:i.dynamicInset)&&"b"===o[0][0],a&&"r"===o[0][1]?(r.right=j,r.left=n):(r.left=A,r.right=n),s?(r.bottom=P,r.top=n):(r.top=$,r.bottom=n)),l={},F&&(F.includes("height")&&H?l.height=H:F.includes("minHeight")&&H&&(l.minHeight=H),F.includes("width")&&B?l.width=B:F.includes("minWidth")&&B&&(l.minWidth=B)),h||(l.pointerEvents="none"),Nb.createElement(D,{open:E||z,getContainer:S&&function(){return S(m)},autoDestroy:O},Nb.createElement(Qu,{prefixCls:d,open:h,zIndex:C,mask:_,motion:x}),Nb.createElement(kD,{onResize:M,disabled:!h},(function(e){return Nb.createElement(LY,pa({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:E,leavedClassName:"".concat(d,"-hidden")},k,{onAppearPrepare:L,onEnterPrepare:L,visible:h,onVisibleChanged:function(e){var t;null==k||null===(t=k.onVisibleChanged)||void 0===t||t.call(k,e),f(e)}}),(function(n,o){var i=n.style,a=zK(d,n.className,u);return Nb.createElement("div",{ref:Fs(e,t,o),className:a,style:ka(ka(ka(ka({"--arrow-x":"".concat(y.x||0,"px"),"--arrow-y":"".concat(y.y||0,"px")},r),l),i),{},{boxSizing:"border-box",zIndex:C},p),onMouseEnter:T,onMouseLeave:N,onPointerEnter:R,onClick:b},v&&Nb.createElement(Ju,{prefixCls:d,arrow:v,arrowPos:y,align:w}),Nb.createElement(ON,{cache:!h},U))}))})))):null})),CN=Nb.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=Hs(n),i=Bs(Nb.useCallback((function(e){Ls(t,r?r(e):e)}),[r]),n.ref);return o?Nb.cloneElement(n,{ref:i}):n})),TN=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const e0=function(e){var t=arguments.length>0&&void 0!==e?e:cT,n=Nb.forwardRef((function(e,n){function r(e,t,n,r){_[e]=function(o){var i,a,s,l;for(null==r||r(o),N(t,n),a=arguments.length,s=new Array(a>1?a-1:0),l=1;l1&&void 0!==t?t:0;T(),0===n?D(e):C.current=setTimeout((function(){D(e)}),1e3*n)},Nb.useEffect((function(){return T}),[]),R=Ua(Nb.useState(!1),2),I=R[0],A=R[1],dO((function(e){e&&!E||A(!0)}),[E]),$=Ua(Nb.useState(null),2),j=$[0],P=$[1],L=(M=Ua(Nb.useState([0,0]),2))[0],F=M[1],B=function(e){F([e.clientX,e.clientY])},H=function(e,t,n,r,o,i,a){var s,l,c,u=Ua(Nb.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),2),d=u[0],p=u[1],m=Nb.useRef(0),f=Nb.useMemo((function(){return t?Uu(t):[]}),[t]),h=Nb.useRef({});return e||(h.current={}),s=Tl((function(){var s,l,c,u,d,m,g,b,_,v,y,w,k,x,E,S,O,D,C,T,N,R,I,A,$,j,P,M,L,F,B,H,U,z,G,W,V,q,X,K,Y,J,Q,Z,ee,te,ne,re,oe,ie,ae,se,le,ce,ue,de,pe,me,fe,he,ge,be,_e,ve,ye,we,ke,xe,Ee,Se,Oe,De,Ce,Te,Ne,Re,Ie,Ae,$e,je,Pe,Me,Le,Fe,Be,He,Ue,ze,Ge,We,Ve,qe,Xe,Ke,Ye;if(t&&n&&e){let e=function(e,t,n){var r=arguments.length>2&&void 0!==n?n:H,o=O.x+e,i=O.y+t,a=o+R,s=i+N,l=Math.max(o,r.left),c=Math.max(i,r.top),u=Math.min(a,r.right),d=Math.min(s,r.bottom);return Math.max(0,(u-l)*(d-c))},Je=function(){ye=(ve=O.y+ae)+N,ke=(we=O.x+ie)+R};if(u=(c=t).ownerDocument,m=(d=Hu(c).getComputedStyle(c)).width,g=d.height,b=d.position,_=c.style.left,v=c.style.top,y=c.style.right,w=c.style.bottom,k=ka(ka({},o[r]),i),x=u.createElement("div"),null===(s=c.parentElement)||void 0===s||s.appendChild(x),x.style.left="".concat(c.offsetLeft,"px"),x.style.top="".concat(c.offsetTop,"px"),x.style.position=b,x.style.height="".concat(c.offsetHeight,"px"),x.style.width="".concat(c.offsetWidth,"px"),c.style.left="0",c.style.top="0",c.style.right="auto",c.style.bottom="auto",E=Array.isArray(n)?{x:n[0],y:n[1],width:0,height:0}:{x:(S=n.getBoundingClientRect()).x,y:S.y,width:S.width,height:S.height},O=c.getBoundingClientRect(),N=O.height,R=O.width,I=E.height,A=E.width,$={left:0,top:0,right:(D=u.documentElement).clientWidth,bottom:D.clientHeight},P="visible",M="visibleFirst","scroll"!==(j=k.htmlRegion)&&j!==M&&(j=P),L=j===M,F=Wu({left:-(T=D.scrollLeft),top:-(C=D.scrollTop),right:D.scrollWidth-T,bottom:D.scrollHeight-C},f),B=Wu($,f),H=j===P?B:F,U=L?B:H,c.style.left="auto",c.style.top="auto",c.style.right="0",c.style.bottom="0",z=c.getBoundingClientRect(),c.style.left=_,c.style.top=v,c.style.right=y,c.style.bottom=w,null===(l=c.parentElement)||void 0===l||l.removeChild(x),G=zu(Math.round(R/parseFloat(m)*1e3)/1e3),W=zu(Math.round(N/parseFloat(g)*1e3)/1e3),0===G||0===W||Us(n)&&!EJ(n))return;V=k.targetOffset,X=(q=Ua(qu(O,k.offset),2))[0],K=q[1],J=(Y=Ua(qu(E,V),2))[1],E.x-=Y[0],E.y-=J,Z=(Q=Ua(k.points||[],2))[0],ee=Xu(Q[1]),te=Xu(Z),ne=Ku(E,ee),re=Ku(O,te),oe=ka({},k),se=e(ie=ne.x-re.x+X,ae=ne.y-re.y+K),le=e(ie,ae,B),ce=Ku(E,["t","l"]),ue=Ku(O,["t","l"]),de=Ku(E,["b","r"]),pe=Ku(O,["b","r"]),fe=(me=k.overflow||{}).adjustX,he=me.adjustY,ge=me.shiftX,be=me.shiftY,_e=function(e){return"boolean"==typeof e?e:e>=0},Je(),xe=_e(he),Ee=te[0]===ee[0],xe&&"t"===te[0]&&(ye>U.bottom||h.current.bt)&&(Se=ae,Ee?Se-=N-I:Se=ce.y-pe.y-K,Oe=e(ie,Se),De=e(ie,Se,B),Oe>se||Oe===se&&(!L||De>=le)?(h.current.bt=!0,ae=Se,K=-K,oe.points=[Yu(te,0),Yu(ee,0)]):h.current.bt=!1),xe&&"b"===te[0]&&(vese||Te===se&&(!L||Ne>=le)?(h.current.tb=!0,ae=Ce,K=-K,oe.points=[Yu(te,0),Yu(ee,0)]):h.current.tb=!1),Re=_e(fe),Ie=te[1]===ee[1],Re&&"l"===te[1]&&(ke>U.right||h.current.rl)&&(Ae=ie,Ie?Ae-=R-A:Ae=ce.x-pe.x-X,$e=e(Ae,ae),je=e(Ae,ae,B),$e>se||$e===se&&(!L||je>=le)?(h.current.rl=!0,ie=Ae,X=-X,oe.points=[Yu(te,1),Yu(ee,1)]):h.current.rl=!1),Re&&"r"===te[1]&&(wese||Me===se&&(!L||Le>=le)?(h.current.lr=!0,ie=Pe,X=-X,oe.points=[Yu(te,1),Yu(ee,1)]):h.current.lr=!1),Je(),"number"==typeof(Fe=!0===ge?0:ge)&&(weB.right&&(ie-=ke-B.right-X,E.x>B.right-Fe&&(ie+=E.x-B.right+Fe))),"number"==typeof(Be=!0===be?0:be)&&(veB.bottom&&(ae-=ye-B.bottom-K,E.y>B.bottom-Be&&(ae+=E.y-B.bottom+Be))),Ue=(He=O.x+ie)+R,Ge=(ze=O.y+ae)+N,Ve=(We=E.x)+A,Xe=(qe=E.y)+I,Ke=(Math.max(He,We)+Math.min(Ue,Ve))/2-He,Ye=(Math.max(ze,qe)+Math.min(Ge,Xe))/2-ze,null==a||a(t,oe),p({ready:!0,offsetX:ie/G,offsetY:ae/W,offsetR:(z.right-O.x-(ie+O.width))/G,offsetB:(z.bottom-O.y-(ae+O.height))/W,arrowX:Ke/G,arrowY:Ye/W,scaleX:G,scaleY:W,align:oe})}})),l=function(){m.current+=1;var e=m.current;Promise.resolve().then((function(){m.current===e&&s()}))},dO(c=function(){p((function(e){return ka(ka({},e),{},{ready:!1})}))},[r]),dO((function(){e||c()}),[e]),[d.ready,d.offsetX,d.offsetY,d.offsetR,d.offsetB,d.arrowX,d.arrowY,d.scaleX,d.scaleY,d.align,l]}(E,c,at?L:m,Ze,tt,nt,lt),z=(U=Ua(H,11))[0],G=U[1],W=U[2],V=U[3],q=U[4],X=U[5],K=U[6],Y=U[7],J=U[8],Q=U[9],Z=U[10],ee=function(e,t,n,r){return Nb.useMemo((function(){var o=Lu(null!=n?n:t),i=Lu(null!=r?r:t),a=new Set(o),s=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]}),[e,t,n,r])}(wt,Re,Ie,Ae),te=Ua(ee,2),re=te[1],oe=(ne=te[0]).has("click"),ie=re.has("click")||re.has("contextMenu"),ae=Tl((function(){I||Z()})),function(e,t,n,r){dO((function(){var o,i,a,s,l;if(e&&t&&n){let e=function(){r(),O.current&&at&&ie&&N(!1)};return o=n,i=Uu(t),a=Uu(o),s=Hu(o),(l=new Set([s].concat(ya(i),ya(a)))).forEach((function(t){t.addEventListener("scroll",e,{passive:!0})})),s.addEventListener("resize",e,{passive:!0}),r(),function(){l.forEach((function(t){t.removeEventListener("scroll",e),s.removeEventListener("resize",e)}))}}}),[e,t,n])}(E,m,c,ae),dO((function(){ae()}),[L,Ze]),dO((function(){!E||null!=tt&&tt[Ze]||ae()}),[JSON.stringify(nt)]),se=Nb.useMemo((function(){var e=function(e,t,n,r){var o,i,a,s=n.points,l=Object.keys(e);for(o=0;o1?n-1:0),o=1;o1?n-1:0),o=1;o0&&void 0!==e?e:10,n=Ua(Nb.useState(!1),2),r=n[0],o=n[1],i=Nb.useRef(null),a=function(){window.clearTimeout(i.current)};return Nb.useEffect((function(){return a}),[]),[r,function(e,n){a(),i.current=window.setTimeout((function(){o(e),n&&n()}),t)},a]}(),f=(m=Ua(p,3))[0],h=m[1],g=m[2],Nb.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=u.current)||void 0===e?void 0:e.focus,blur:null===(t=u.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=d.current)||void 0===t?void 0:t.scrollTo(e)}}})),b=Nb.useMemo((function(){var e,t;return"combobox"!==ye?Re:"string"==typeof(t=null===(e=fe[0])||void 0===e?void 0:e.value)||"number"==typeof t?String(t):""}),[Re,ye,fe]),_="combobox"===ye&&"function"==typeof xe&&xe()||null,v="function"==typeof Ee&&Ee(),y=Bs(l,null==v||null===(n=v.props)||void 0===n?void 0:n.ref),k=(w=Ua(Nb.useState(!1),2))[0],x=w[1],dO((function(){x(!0)}),[]),E=Ua(Il(!1,{defaultValue:Oe,value:Se}),2),S=E[0],D=!!k&&S,C=!_e&&ge,(we||C&&D&&"combobox"===ye)&&(D=!1),T=!C&&D,N=Nb.useCallback((function(e){var t=void 0!==e?e:!D;we||(O(t),D!==t&&(null==De||De(t)))}),[we,D,O=E[1],De]),R=Nb.useMemo((function(){return(je||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[je]),I=function(e,t,n){var r,o,i,a,s=!0,l=e;return null==Te||Te(null),r=n?null:(o=je)&&o.length?(i=!1,a=function e(t,n){var r,o=Js(n),a=o[0],s=o.slice(1);return a?(r=t.split(a),i=i||r.length>1,r.reduce((function(t,n){return[].concat(ya(t),ya(e(n,s)))}),[]).filter((function(e){return e}))):[t]}(e,o),i?a:null):null,"combobox"!==ye&&r&&(l="",null==$e||$e(r),N(!1),s=!1),Ae&&b!==l&&Ae(l,{source:t?"typing":"effect"}),s},A=function(e){e&&e.trim()&&Ae(e,{source:"submit"})},Nb.useEffect((function(){D||ot||"combobox"===ye||I("",!1,!1)}),[D]),Nb.useEffect((function(){S&&we&&O(!1),we&&h(!1)}),[we]),$=Ua(Tu(),2),j=$[0],P=$[1],M=function(e){var t,n,r,o,i,a,s,l,c=j(),u=e.which;if(u===MC.ENTER&&("combobox"!==ye&&e.preventDefault(),D||N(!0)),P(!!b),u===MC.BACKSPACE&&!c&&ot&&!b&&fe.length){for(n=null,r=(t=ya(fe)).length-1;r>=0;r-=1)if(!(o=t[r]).disabled){t.splice(r,1),n=o;break}n&&he(t,{type:"remove",values:[n]})}for(i=arguments.length,a=new Array(i>1?i-1:0),s=1;s1?t-1:0),r=1;r1?r-1:0),a=1;a5&&void 0!==i&&i,c=arguments.length>6?a:void 0,u=arguments.length>7?s:void 0,d=aK.useMemo((function(){return"object"===ki(r)?r.clearIcon:o||void 0}),[r,o]);return{allowClear:aK.useMemo((function(){return!(l||!r||!n.length&&!c||"combobox"===u&&""===c)}),[r,l,n.length,c,u]),clearIcon:aK.createElement(gN,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:d},"×")}}(le,(function(){var e;null==ve||ve(),null===(e=u.current)||void 0===e||e.focus(),he([],{type:"clear",values:fe}),I("",!1,!1)}),fe,Pe,Le,we,b,ye),te=ee.allowClear,ne=ee.clearIcon,re=Nb.createElement(Fe,{ref:d}),oe=zK(le,ce,(Ei(r={},"".concat(le,"-focused"),f),Ei(r,"".concat(le,"-multiple"),ot),Ei(r,"".concat(le,"-single"),!ot),Ei(r,"".concat(le,"-allow-clear"),Pe),Ei(r,"".concat(le,"-show-arrow"),Q),Ei(r,"".concat(le,"-disabled"),we),Ei(r,"".concat(le,"-loading"),ke),Ei(r,"".concat(le,"-open"),D),Ei(r,"".concat(le,"-customize-input"),_),Ei(r,"".concat(le,"-show-search"),it),r)),ie=Nb.createElement(AN,{ref:c,disabled:we,prefixCls:le,visible:T,popupElement:re,containerWidth:V,animation:Be,transitionName:He,dropdownStyle:Ue,dropdownClassName:ze,direction:pe,dropdownMatchSelectWidth:Ge,dropdownRender:We,dropdownAlign:Ve,placement:qe,builtinPlacements:Xe,getPopupContainer:Ke,empty:ge,getTriggerDOMNode:function(){return l.current},onPopupVisibleChange:Y,onPopupMouseEnter:function(){K({})}},v?Nb.cloneElement(v,{ref:y}):Nb.createElement(EN,pa({},e,{domRef:l,prefixCls:le,inputElement:_,ref:u,id:se,showSearch:it,autoClearSearchValue:Ie,mode:ye,activeDescendantId:Ne,tagRender:de,values:fe,open:D,onToggleOpen:N,activeValue:Ce,searchValue:b,onSearch:I,onSearchSubmit:A,onRemove:F,tokenWithEnter:R}))),ae=v?ie:Nb.createElement("div",pa({className:oe},at,{ref:s,onMouseDown:G,onKeyDown:M,onKeyUp:L,onFocus:H,onBlur:U}),f&&!D&&Nb.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(fe.map((function(e){var t=e.label,n=e.value;return["number","string"].includes(ki(t))?t:n})).join(", "))),ie,Z,te&&ne),Nb.createElement(nN.Provider,{value:J},ae)})),MN=0,LN=Ra(),FN=["children","value"],BN=["children"],(HN=function(){return null}).isSelectOptGroup=!0,(UN=function(){return null}).isSelectOption=!0,(zN=Nb.forwardRef((function(e,t){var n,r=e.offsetY,o=e.offsetX,i=e.children,a=e.prefixCls,s=e.onInnerResize,l=e.innerProps,c=e.rtl,u=e.extra,d={},p={display:"flex",flexDirection:"column"};return void 0!==r&&(d={height:e.height,position:"relative",overflow:"hidden"},p=ka(ka({},p),{},(Ei(n={transform:"translateY(".concat(r,"px)")},c?"marginRight":"marginLeft",-o),Ei(n,"position","absolute"),Ei(n,"left",0),Ei(n,"right",0),Ei(n,"top",0),n))),Nb.createElement("div",{style:d},Nb.createElement(kD,{onResize:function(e){e.offsetHeight&&s&&s()}},Nb.createElement("div",pa({style:p,className:zK(Ei({},"".concat(a,"-holder-inner"),a)),ref:t},l),i,u)))}))).displayName="Filler",GN=Nb.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e.prefixCls,u=e.rtl,d=e.scrollOffset,p=e.scrollRange,m=e.onStartMove,f=e.onStopMove,h=e.onScroll,g=e.horizontal,b=e.spinSize,_=e.containerSize,v=Ua(Nb.useState(!1),2),y=v[0],w=v[1],k=Ua(Nb.useState(null),2),x=k[0],E=k[1],S=Ua(Nb.useState(null),2),O=S[0],D=S[1],C=!u,T=Nb.useRef(),N=Nb.useRef(),R=Ua(Nb.useState(!1),2),I=R[0],A=R[1],$=Nb.useRef(),j=function(){clearTimeout($.current),A(!0),$.current=setTimeout((function(){A(!1)}),3e3)},P=p-_||0,M=_-b||0,L=P>0,F=Nb.useMemo((function(){return 0===d||0===P?0:d/P*M}),[d,P,M]),B=Nb.useRef({top:F,dragging:y,pageY:x,startTop:O});return B.current={top:F,dragging:y,pageY:x,startTop:O},r=function(e){w(!0),E(id(e,g)),D(B.current.top),m(),e.stopPropagation(),e.preventDefault()},Nb.useEffect((function(){var e=function(e){e.preventDefault()},t=T.current,n=N.current;return t.addEventListener("touchstart",e),n.addEventListener("touchstart",r),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",r)}}),[]),(o=Nb.useRef()).current=P,(i=Nb.useRef()).current=M,Nb.useEffect((function(){var e,t,n;if(y)return t=function(t){var n,r,a,s,l,c=B.current,u=c.dragging,d=c.pageY,p=c.startTop;DD.cancel(e),u&&(n=id(t,g)-d,r=p,!C&&g?r-=n:r+=n,a=o.current,s=i.current,l=Math.ceil((s?r/s:0)*a),l=Math.max(l,0),l=Math.min(l,a),e=DD((function(){h(l,g)})))},n=function(){w(!1),f()},window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),DD.cancel(e)}}),[y]),Nb.useEffect((function(){j()}),[d]),Nb.useImperativeHandle(t,(function(){return{delayHidden:j}})),a="".concat(c,"-scrollbar"),s={position:"absolute",visibility:I&&L?null:"hidden"},l={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},g?(s.height=8,s.left=0,s.right=0,s.bottom=0,l.height="100%",l.width=b,C?l.left=F:l.right=F):(s.width=8,s.top=0,s.bottom=0,C?s.right=0:s.left=0,l.width="100%",l.height=b,l.top=F),Nb.createElement("div",{ref:T,className:zK(a,(n={},Ei(n,"".concat(a,"-horizontal"),g),Ei(n,"".concat(a,"-vertical"),!g),Ei(n,"".concat(a,"-visible"),I),n)),style:s,onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:j},Nb.createElement("div",{ref:N,className:zK("".concat(a,"-thumb"),Ei({},"".concat(a,"-thumb-moving"),y)),style:l,onMouseDown:r}))})),WN=function(){function e(){Di(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return Ti(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),VN="object"===("undefined"==typeof navigator?"undefined":ki(navigator))&&/Firefox/i.test(navigator.userAgent);const t0=function(e,t){var n=Nb.useRef(!1),r=Nb.useRef(null),o=Nb.useRef({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e,t){var i=e<0&&o.current.top||e>0&&o.current.bottom;return arguments.length>1&&void 0!==t&&t&&i?(clearTimeout(r.current),n.current=!1):i&&!n.current||(clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)),!n.current&&i}};qN=14/15,XN=20,KN=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender"],YN=[],JN={overflowY:"auto",overflowAnchor:"none"},(QN=Nb.forwardRef(ld)).displayName="List",ZN=Nb.createContext(null),eR=["disabled","title","children","style","className"],tR=function(e,t){function n(e,t){return{role:e.group?"presentation":"option",id:"".concat(d,"_list_").concat(t)}}var r,o,i,a,s,l,c=Nb.useContext(nN),u=c.prefixCls,d=c.id,p=c.open,m=c.multiple,f=c.mode,h=c.searchValue,g=c.toggleOpen,b=c.notFoundContent,_=c.onPopupScroll,v=Nb.useContext(ZN),y=v.flattenOptions,w=v.onActiveValue,k=v.defaultActiveFirstOption,x=v.onSelect,E=v.menuItemSelectedIcon,S=v.rawValues,O=v.fieldNames,D=v.virtual,C=v.direction,T=v.listHeight,N=v.listItemHeight,R="".concat(u,"-item"),I=Ea((function(){return y}),[p,y],(function(e,t){return t[0]&&e[1]!==t[1]})),A=Nb.useRef(null),$=function(e){e.preventDefault()},j=function(e){A.current&&A.current.scrollTo("number"==typeof e?{index:e}:e)},P=function(e,t){var n,r,o,i=arguments.length>1&&void 0!==t?t:1,a=I.length;for(n=0;n1&&void 0!==t&&t;F(e),n={source:o?"keyboard":"mouse"},(r=I[e])?w(r.value,e,n):w(null,-1,n)};return Nb.useEffect((function(){B(!1!==k?P(0):-1)}),[I.length,h]),r=Nb.useCallback((function(e){return S.has(e)&&"combobox"!==f}),[f,ya(S).toString(),S.size]),Nb.useEffect((function(){var e,t=setTimeout((function(){var e,t;!m&&p&&1===S.size&&(e=Array.from(S)[0],-1!==(t=I.findIndex((function(t){return t.data.value===e})))&&(B(t),j(t)))}));return p&&(null===(e=A.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}}),[p,h,y.length]),o=function(e){void 0!==e&&x(e,{selected:!S.has(e)}),m||g(!1)},Nb.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t,n,r,i=e.which,a=e.ctrlKey;switch(i){case MC.N:case MC.P:case MC.UP:case MC.DOWN:t=0,i===MC.UP?t=-1:i===MC.DOWN?t=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&a&&(i===MC.N?t=1:i===MC.P&&(t=-1)),0!==t&&(n=P(L+t,t),j(n),B(n,!0));break;case MC.ENTER:o((r=I[L])&&!r.data.disabled?r.value:void 0),p&&e.preventDefault();break;case MC.ESC:g(!1),p&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){j(e)}}})),0===I.length?Nb.createElement("div",{role:"listbox",id:"".concat(d,"_list"),className:"".concat(R,"-empty"),onMouseDown:$},b):(i=Object.keys(O).map((function(e){return O[e]})),a=function(e){return e.label},s=function(e){var t,o,i,s,l,c=I[e];return c?(o=(t=c.data||{}).value,i=c.group,s=nc(t,!0),l=a(c),c?Nb.createElement("div",pa({"aria-label":"string"!=typeof l||i?null:l},s,{key:e},n(c,e),{"aria-selected":r(o)}),o):null):null},l={role:"listbox",id:"".concat(d,"_list")},Nb.createElement(Nb.Fragment,null,D&&Nb.createElement("div",pa({},l,{style:{height:0,width:0,overflow:"hidden"}}),s(L-1),s(L),s(L+1)),Nb.createElement(QN,{itemKey:"key",ref:A,data:I,height:T,itemHeight:N,fullHeight:!1,onMouseDown:$,onScroll:_,virtual:D,direction:C,innerProps:D?null:l},(function(e,t){var s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k=e.groupOption,x=e.data,S=e.label,O=e.value,C=x.key;return e.group?(c=null!==(l=x.title)&&void 0!==l?l:cd(S)?S.toString():void 0,Nb.createElement("div",{className:zK(R,"".concat(R,"-group")),title:c},void 0!==S?S:C)):(u=x.disabled,d=x.title,p=x.style,m=x.className,f=Ks(Si(x,eR),i),h=r(O),g="".concat(R,"-option"),b=zK(R,g,m,(Ei(s={},"".concat(g,"-grouped"),k),Ei(s,"".concat(g,"-active"),L===t&&!u),Ei(s,"".concat(g,"-disabled"),u),Ei(s,"".concat(g,"-selected"),h),s)),_=a(e),v=!E||"function"==typeof E||h,w=cd(y="number"==typeof _?_:_||O)?y.toString():void 0,void 0!==d&&(w=d),Nb.createElement("div",pa({},nc(f),D?{}:n(e,t),{"aria-selected":h,className:b,title:w,onMouseMove:function(){L===t||u||B(t)},onClick:function(){u||o(O)},style:p}),Nb.createElement("div",{className:"".concat(g,"-content")},y),Nb.isValidElement(E)||h,v&&Nb.createElement(gN,{className:"".concat(R,"-option-state"),customizeIcon:E,customizeIconProps:{isSelected:h}},h?"✓":null)))}))))},(nR=Nb.forwardRef(tR)).displayName="OptionList",rR=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],oR=["inputValue"],iR=Nb.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x=e.id,E=e.mode,S=e.prefixCls,O=void 0===S?"rc-select":S,D=e.backfill,C=e.fieldNames,T=e.inputValue,N=e.searchValue,R=e.onSearch,I=e.autoClearSearchValue,A=void 0===I||I,$=e.onSelect,j=e.onDeselect,P=e.dropdownMatchSelectWidth,M=void 0===P||P,L=e.filterOption,F=e.filterSort,B=e.optionFilterProp,H=e.optionLabelProp,U=e.options,z=e.children,G=e.defaultActiveFirstOption,W=e.menuItemSelectedIcon,V=e.virtual,q=e.direction,X=e.listHeight,K=void 0===X?200:X,Y=e.listItemHeight,J=void 0===Y?20:Y,Q=e.value,Z=e.defaultValue,ee=e.labelInValue,te=e.onChange,ne=Si(e,rR),re=function(e){var t=Ua(Nb.useState(),2),n=t[0],r=t[1];return Nb.useEffect((function(){var e;r("rc_select_".concat((LN?(e=MN,MN+=1):e="TEST_OR_SSR",e)))}),[]),e||n}(x),oe=nd(E),ie=!(U||!z),ae=Nb.useMemo((function(){return(void 0!==L||"combobox"!==E)&&L}),[L,E]),se=Nb.useMemo((function(){return ed(C,ie)}),[JSON.stringify(C),ie]),le=Ua(Il("",{value:void 0!==N?N:T,postState:function(e){return e||""}}),2),ce=le[0],ue=le[1],de=function(e,t,n,r,o){return Nb.useMemo((function(){var i,a,s,l=e;return!e&&(l=rd(t)),i=new Map,a=new Map,s=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)},function e(t,l){var c,u,d=arguments.length>1&&void 0!==l&&l;for(c=0;c1&&void 0!==t?t:{},r=n.childrenAsData,o=[],i=ed(n.fieldNames,!1),a=i.label,s=i.value,l=i.options,c=i.groupLabel;return function e(t,n){t.forEach((function(t){var i,u;n||!(l in t)?(i=t[s],o.push({key:Zu(t,o.length),groupOption:n,data:t,label:t[a],value:i})):(void 0===(u=t[c])&&r&&(u=t.label),o.push({key:Zu(t,o.length),group:!0,data:t,label:u}),e(t[l],!0))}))}(e,!1),o}(a,{fieldNames:se,childrenAsData:ie})}),[a,se,ie]),l=function(e){var t,n,r=he(e);_e(r),te&&(r.length!==ke.length||r.some((function(e,t){var n;return(null===(n=ke[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)})))&&(t=ee?r:r.map((function(e){return e.value})),n=r.map((function(e){return td(xe(e.value))})),te(oe?t:t[0],oe?n:n[0]))},u=(c=Ua(Nb.useState(null),2))[0],d=c[1],m=(p=Ua(Nb.useState(0),2))[0],f=p[1],h=void 0!==G?G:"combobox"!==E,g=Nb.useCallback((function(e,t,n){var r=(arguments.length>2&&void 0!==n?n:{}).source,o=void 0===r?"keyboard":r;f(t),D&&"combobox"===E&&null!==e&&"keyboard"===o&&d(String(e))}),[D,E]),b=function(e,t,n){var r,o,i=function(){var t,n=xe(e);return[ee?{label:null==n?void 0:n[se.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,td(n)]};t&&$?(r=Ua(i(),2),$(r[0],r[1])):!t&&j&&"clear"!==n&&(o=Ua(i(),2),j(o[0],o[1]))},_=od((function(e,t){var n,r=!oe||t.selected;n=r?oe?[].concat(ya(ke),[e]):[e]:ke.filter((function(t){return t.value!==e})),l(n),b(e,r),"combobox"===E?d(""):nd&&!A||(ue(""),d(""))})),v=function(e,t){l(e);var n=t.type;"remove"!==n&&"clear"!==n||t.values.forEach((function(e){b(e.value,!1,n)}))},y=function(e,t){var n,r;ue(e),d(null),"submit"!==t.source?"blur"!==t.source&&("combobox"===E&&l(e),null==R||R(e)):(n=(e||"").trim())&&(r=Array.from(new Set([].concat(ya(Se),[n]))),l(r),b(n,!0),ue(""))},w=function(e){var t,n=e;"tags"!==E&&(n=e.map((function(e){var t=me.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e}))),t=Array.from(new Set([].concat(ya(Se),ya(n)))),l(t),t.forEach((function(e){b(e,!0)}))},k=Nb.useMemo((function(){var e=!1!==V&&!1!==M;return ka(ka({},de),{},{flattenOptions:s,onActiveValue:g,defaultActiveFirstOption:h,onSelect:_,menuItemSelectedIcon:W,rawValues:Se,fieldNames:se,virtual:e,direction:q,listHeight:K,listItemHeight:J,childrenAsData:ie})}),[de,s,g,h,_,W,Se,se,V,M,K,J,ie]),Nb.createElement(ZN.Provider,{value:k},Nb.createElement(PN,pa({},ne,{id:re,prefixCls:O,ref:t,omitDomProps:oR,mode:E,displayValues:Ee,onDisplayValuesChange:v,direction:q,searchValue:ce,onSearch:y,autoClearSearchValue:A,onSearchSplit:w,dropdownMatchSelectWidth:M,OptionList:nR,emptyOptions:!s.length,activeValue:u,activeDescendantId:"".concat(re,"_list_").concat(m)})))})),(aR=iR).Option=UN,aR.OptGroup=HN;const n0=(e,t)=>t||e,r0=()=>{const[,e]=Cl(),t=new $D(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return Nb.createElement("svg",{style:t,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},Nb.createElement("g",{fill:"none",fillRule:"evenodd"},Nb.createElement("g",{transform:"translate(24 31.67)"},Nb.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),Nb.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),Nb.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),Nb.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),Nb.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),Nb.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),Nb.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},Nb.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),Nb.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},o0=()=>{const[,e]=Cl(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:o}=e,{borderColor:i,shadowColor:a,contentColor:s}=Nb.useMemo((()=>({borderColor:new $D(t).onBackground(o).toHexShortString(),shadowColor:new $D(n).onBackground(o).toHexShortString(),contentColor:new $D(r).onBackground(o).toHexShortString()})),[t,n,r,o]);return Nb.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},Nb.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},Nb.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),Nb.createElement("g",{fillRule:"nonzero",stroke:i},Nb.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),Nb.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},i0=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},a0=jl("Empty",(e=>{const{componentCls:t,controlHeightLG:n}=e,r=Al(e,{emptyImgCls:`${t}-img`,emptyImgHeight:2.5*n,emptyImgHeightMD:n,emptyImgHeightSM:.875*n});return[i0(r)]}));sR=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var{className:t,rootClassName:n,prefixCls:r,image:o=s0,description:i,children:a,imageStyle:s,style:l}=e,c=sR(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:u,direction:d,empty:p}=Nb.useContext(_Y),m=u("empty",r),[f,h]=a0(m),[g]=eY("Empty"),b=void 0!==i?i:null==g?void 0:g.description;let _=null;return _="string"==typeof o?Nb.createElement("img",{alt:"string"==typeof b?b:"empty",src:o}):o,f(Nb.createElement("div",Object.assign({className:zK(h,m,null==p?void 0:p.className,{[`${m}-normal`]:o===l0,[`${m}-rtl`]:"rtl"===d},t,n),style:Object.assign(Object.assign({},null==p?void 0:p.style),l)},c),Nb.createElement("div",{className:`${m}-image`,style:s},_),b&&Nb.createElement("div",{className:`${m}-description`},b),a&&Nb.createElement("div",{className:`${m}-footer`},a)))};c0.PRESENTED_IMAGE_DEFAULT=s0,c0.PRESENTED_IMAGE_SIMPLE=l0;const u0=c0,d0=e=>{const{componentName:t}=e,{getPrefixCls:n}=Nb.useContext(_Y),r=n("empty");switch(t){case"Table":case"List":return aK.createElement(u0,{image:u0.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return aK.createElement(u0,{image:u0.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return aK.createElement(u0,null)}},p0=e=>{const{controlPaddingHorizontal:t,controlHeight:n,fontSize:r,lineHeight:o}=e;return{position:"relative",display:"block",minHeight:n,padding:`${(n-r*o)/2}px ${t}px`,color:e.colorText,fontWeight:"normal",fontSize:r,lineHeight:o,boxSizing:"border-box"}},m0=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},wY(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`\n ${o}${s}bottomLeft,\n ${i}${s}bottomLeft\n `]:{animationName:QQ},[`\n ${o}${s}topLeft,\n ${i}${s}topLeft,\n ${o}${s}topRight,\n ${i}${s}topRight\n `]:{animationName:eZ},[`${a}${s}bottomLeft`]:{animationName:ZQ},[`\n ${a}${s}topLeft,\n ${a}${s}topRight\n `]:{animationName:tZ},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},p0(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},yY),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${r}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:2*e.controlPaddingHorizontal}}}),"&-rtl":{direction:"rtl"}})},sZ(e,"slide-up"),sZ(e,"slide-down"),JQ(e,"move-up"),JQ(e,"move-down")]},f0=e=>{let{controlHeightSM:t,controlHeight:n,lineWidth:r}=e;const o=(n-t)/2-r;return[o,Math.ceil(o/2)]},h0=e=>{const{componentCls:t}=e,n=Al(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Al(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),[,o]=f0(e);return[dd(e),dd(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.controlPaddingHorizontalSM-e.lineWidth},[`${t}-selection-search`]:{marginInlineStart:o}}},dd(r,"lg")]},g0=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},b0=function(e,t,n){let r=arguments.length>2&&void 0!==n&&n;const{componentCls:o,borderHoverColor:i,outlineColor:a,antCls:s}=t;return{[e]:{[`&:not(${o}-disabled):not(${o}-customize-input):not(${s}-pagination-size-changer)`]:Object.assign(Object.assign({},r?{[`${o}-selector`]:{borderColor:i}}:{}),{[`${o}-focused& ${o}-selector`]:{borderColor:i,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${a}`,outline:0},[`&:hover ${o}-selector`]:{borderColor:i}})}}},_0=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},v0=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},wY(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:Object.assign(Object.assign({},g0(e)),_0(e)),[`${t}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},yY),[`${t}-selection-placeholder`]:Object.assign(Object.assign({},yY),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:Object.assign(Object.assign({},{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"}}),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXS}}}},y0=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},v0(e),md(e),h0(e),m0(e),{[`${t}-rtl`]:{direction:"rtl"}},b0(t,Al(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),b0(`${t}-status-error`,Al(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),b0(`${t}-status-warning`,Al(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),Sc(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},w0=jl("Select",((e,t)=>{let{rootPrefixCls:n}=t;const r=Al(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[y0(r)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50}))),k0={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"},x0=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:k0}))})),E0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},S0=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:E0}))})),O0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},D0=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:O0}))}));lR=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,{prefixCls:r,bordered:o=!0,className:i,rootClassName:a,getPopupContainer:s,popupClassName:l,dropdownClassName:c,listHeight:u=256,placement:d,listItemHeight:p=24,size:m,disabled:f,notFoundContent:h,status:g,builtinPlacements:b,dropdownMatchSelectWidth:_,popupMatchSelectWidth:v,direction:y,style:w,allowClear:k}=e,x=lR(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:E,getPrefixCls:S,renderEmpty:O,direction:D,virtual:C,popupMatchSelectWidth:T,popupOverflow:N,select:R}=Nb.useContext(_Y),I=S("select",r),A=S(),$=null!=y?y:D,{compactSize:j,compactItemClassnames:P}=PJ(I,$),[M,L]=w0(I),F=Nb.useMemo((()=>{const{mode:e}=x;if("combobox"!==e)return e===C0?"combobox":e}),[x.mode]),B="multiple"===F||"tags"===F,H=function(e,t){return void 0!==t?t:null!==e}(x.suffixIcon,x.showArrow),U=null!==(n=null!=v?v:_)&&void 0!==n?n:T,{status:z,hasFeedback:G,isFormItemInput:W,feedbackIcon:V}=Nb.useContext(jQ),q=n0(z,g);let X;X=void 0!==h?h:"combobox"===F?null:(null==O?void 0:O("Select"))||Nb.createElement(d0,{componentName:"Select"});const{suffixIcon:K,itemIcon:Y,removeIcon:J,clearIcon:Q}=function(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:i,multiple:a,hasFeedback:s,prefixCls:l,showSuffixIcon:c,feedbackIcon:u,showArrow:d}=e;const p=null!=n?n:Nb.createElement(QY,null),m=e=>null!==t||s||d?Nb.createElement(Nb.Fragment,null,!1!==c&&e,s&&u):null;let f=null;if(void 0!==t)f=m(t);else if(i)f=m(Nb.createElement(fJ,{spin:!0}));else{const e=`${l}-suffix`;f=t=>{let{open:n,showSearch:r}=t;return m(Nb.createElement(n&&r?D0:S0,{className:e}))}}let h=null;h=void 0!==r?r:a?Nb.createElement(x0,null):null;let g=null;return g=void 0!==o?o:Nb.createElement(eJ,null),{clearIcon:p,suffixIcon:f,itemIcon:h,removeIcon:g}}(Object.assign(Object.assign({},x),{multiple:B,hasFeedback:G,feedbackIcon:V,showSuffixIcon:H,prefixCls:I,showArrow:x.showArrow,componentName:"Select"})),Z=!0===k?{clearIcon:Q}:k,ee=Ks(x,["suffixIcon","itemIcon"]),te=zK(l||c,{[`${I}-dropdown-${$}`]:"rtl"===$},a,L),ne=RJ((e=>{var t;return null!==(t=null!=m?m:j)&&void 0!==t?t:e})),re=Nb.useContext($Y),oe=null!=f?f:re,ie=zK({[`${I}-lg`]:"large"===ne,[`${I}-sm`]:"small"===ne,[`${I}-rtl`]:"rtl"===$,[`${I}-borderless`]:!o,[`${I}-in-form-item`]:W},ud(I,q,G),P,null==R?void 0:R.className,i,a,L),ae=Nb.useMemo((()=>void 0!==d?d:"rtl"===$?"bottomRight":"bottomLeft"),[d,$]),se=function(e,t){return e||(e=>{const t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}})(t)}(b,N);return M(Nb.createElement(aR,Object.assign({ref:t,virtual:C,showSearch:null==R?void 0:R.showSearch},ee,{style:Object.assign(Object.assign({},null==R?void 0:R.style),w),dropdownMatchSelectWidth:U,builtinPlacements:se,transitionName:DQ(A,"slide-up",x.transitionName),listHeight:u,listItemHeight:p,mode:F,prefixCls:I,placement:ae,direction:$,suffixIcon:K,menuItemSelectedIcon:Y,removeIcon:J,allowClear:Z,notFoundContent:X,className:ie,getPopupContainer:s||E,dropdownClassName:te,disabled:oe})))},N0=Nb.forwardRef(T0),R0=(kX=N0,Cu((function(e){const{prefixCls:t,style:n}=e,r=Nb.useRef(null),[o,i]=Nb.useState(0),[a,s]=Nb.useState(0),[l,c]=Il(!1,{value:e.open}),{getPrefixCls:u}=Nb.useContext(_Y),d=u("select",t);Nb.useEffect((()=>{if(c(!0),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((e=>{const t=e[0].target;i(t.offsetHeight+8),s(t.offsetWidth)})),t=setInterval((()=>{var n;const o=null===(n=r.current)||void 0===n?void 0:n.querySelector(`.${d}-dropdown`);o&&(clearInterval(t),e.observe(o))}),10);return()=>{clearInterval(t),e.disconnect()}}}),[]);let p=Object.assign(Object.assign({},e),{style:Object.assign(Object.assign({},n),{margin:0}),open:l,visible:l,getPopupContainer:()=>r.current});return Nb.createElement("div",{ref:r,style:{paddingBottom:o,position:"relative",minWidth:a}},Nb.createElement(kX,Object.assign({},p)))})));N0.SECRET_COMBOBOX_MODE_DO_NOT_USE=C0,N0.Option=UN,N0.OptGroup=HN,N0._InternalPanelDoNotUseOrYouWillBeFired=R0;const I0=N0,A0=["xxl","xl","lg","md","sm","xs"],$0=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)`}),j0=e=>{const t=e,n=[].concat(A0).reverse();return n.forEach(((e,r)=>{const o=e.toUpperCase(),i=`screen${o}Min`,a=`screen${o}`;if(!(t[i]<=t[a]))throw new Error(`${i}<=${a} fails : !(${t[i]}<=${t[a]})`);if(rnew $D(e).setAlpha(t).toRgbString(),U0=(e,t)=>new $D(e).lighten(t).toHexString(),z0=e=>{const t=kl(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]}},G0=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:H0(r,.85),colorTextSecondary:H0(r,.65),colorTextTertiary:H0(r,.45),colorTextQuaternary:H0(r,.25),colorFill:H0(r,.18),colorFillSecondary:H0(r,.12),colorFillTertiary:H0(r,.08),colorFillQuaternary:H0(r,.04),colorBgElevated:U0(n,12),colorBgContainer:U0(n,8),colorBgLayout:U0(n,0),colorBgSpotlight:U0(n,26),colorBorder:U0(n,26),colorBorderSecondary:U0(n,19)}},W0={defaultConfig:fY,defaultSeed:fY.token,useToken:function(){const[e,t,n]=Cl();return{theme:e,token:t,hashId:n}},defaultAlgorithm:El,darkAlgorithm:(e,t)=>{const n=Object.keys(iY).map((t=>{const n=kl(e[t],{theme:"dark"});return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{}),r=null!=t?t:El(e);return Object.assign(Object.assign(Object.assign({},r),n),xl(e,{generateColorPalettes:z0,generateNeutralColorPalettes:G0}))},compactAlgorithm:(e,t)=>{const n=null!=t?t:El(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),pY(r)),{controlHeight:o}),oY(Object.assign(Object.assign({},n),{controlHeight:o})))},getDesignToken:e=>{const t=za((null==e?void 0:e.algorithm)?e.algorithm:El),n=Object.assign(Object.assign({},aY),null==e?void 0:e.token);return vO(n,{override:null==e?void 0:e.token},t,Dl)}},V0=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:c,paddingXS:u,tooltipRadiusOuter:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},wY(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:s,minHeight:s,padding:`${c/2}px ${u}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:l,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(i,M0)}},[`${t}-content`]:{position:"relative"}}),Pl(e,((e,n)=>{let{darkColor:r}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{"--antd-arrow-background-color":r}}}}))),{"&-rtl":{direction:"rtl"}})},_d(Al(e,{borderRadiusOuter:d}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},q0=(e,t)=>jl("Tooltip",(e=>{if(!1===t)return[];const{borderRadius:n,colorTextLightSolid:r,colorBgDefault:o,borderRadiusOuter:i}=e,a=Al(e,{tooltipMaxWidth:250,tooltipColor:r,tooltipBorderRadius:n,tooltipBg:o,tooltipRadiusOuter:i>4?4:i});return[V0(a),wZ(e,"zoom-big-fast")]}),(e=>{let{zIndexPopupBase:t,colorBgSpotlight:n}=e;return{zIndexPopup:t+70,colorBgDefault:n}}),{resetStyle:!1})(e),X0=nY.map((e=>`${e}-inverse`)),K0=["success","processing","error","default","warning"];hR=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const{prefixCls:o,openClassName:i,getTooltipContainer:a,overlayClassName:s,color:l,overlayInnerStyle:c,children:u,afterOpenChange:d,afterVisibleChange:p,destroyTooltipOnHide:m,arrow:f=!0,title:h,overlay:g,builtinPlacements:b,arrowPointAtCenter:_=!1,autoAdjustOverflow:v=!0}=e,y=!!f,{token:w}=Y0(),{getPopupContainer:k,getPrefixCls:x,direction:E}=Nb.useContext(_Y),S=Nb.useRef(null),O=()=>{var e;null===(e=S.current)||void 0===e||e.forceAlign()};Nb.useImperativeHandle(t,(()=>({forceAlign:O,forcePopupAlign:()=>{O()}})));const[D,C]=Il(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),T=!h&&!g&&0!==h,N=Nb.useMemo((()=>{var e,t;let n=_;return"object"==typeof f&&(n=null!==(t=null!==(e=f.pointAtCenter)&&void 0!==e?e:f.arrowPointAtCenter)&&void 0!==t?t:_),b||function(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:i,visibleFirst:a}=e,s=t/2,l={};return Object.keys(L0).forEach((e=>{const c=Object.assign(Object.assign({},r&&F0[e]||L0[e]),{offset:[0,0]});switch(l[e]=c,B0.has(e)&&(c.autoArrow=!1),e){case"top":case"topLeft":case"topRight":c.offset[1]=-s-o;break;case"bottom":case"bottomLeft":case"bottomRight":c.offset[1]=s+o;break;case"left":case"leftTop":case"leftBottom":c.offset[0]=-s-o;break;case"right":case"rightTop":case"rightBottom":c.offset[0]=s+o}const u=gd({contentRadius:i,limitVerticalRadius:!0});if(r)switch(e){case"topLeft":case"bottomLeft":c.offset[0]=-u.dropdownArrowOffset-s;break;case"topRight":case"bottomRight":c.offset[0]=u.dropdownArrowOffset+s;break;case"leftTop":case"rightTop":c.offset[1]=-u.dropdownArrowOffset-s;break;case"leftBottom":case"rightBottom":c.offset[1]=u.dropdownArrowOffset+s}c.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};const o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.dropdownArrowOffset+n;break;case"left":case"right":i.shiftY=2*t.dropdownArrowOffsetVertical+n}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,u,t,n),a&&(c.htmlRegion="visibleFirst")})),l}({arrowPointAtCenter:n,autoAdjustOverflow:v,arrowWidth:y?w.sizePopupArrow:0,borderRadius:w.borderRadius,offset:w.marginXXS,visibleFirst:!0})}),[_,f,b,w]),R=Nb.useMemo((()=>0===h?h:g||h||""),[g,h]),I=Nb.createElement(MJ,null,"function"==typeof R?R():R),{getPopupContainer:A,placement:$="top",mouseEnterDelay:j=.1,mouseLeaveDelay:P=.1,overlayStyle:M,rootClassName:L}=e,F=hR(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),B=x("tooltip",o),H=x(),U=e["data-popover-inject"];let z=D;"open"in e||"visible"in e||!T||(z=!1);const G=function(e,t){const n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){const{picked:n,omitted:r}=(e=>{const t={},n=Object.assign({},e);return["position","left","right","top","bottom","float","display","zIndex"].forEach((r=>{e&&r in e&&(t[r]=e[r],delete n[r])})),{picked:t,omitted:n}})(e.props.style),o=Object.assign(Object.assign({display:"inline-block"},n),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),i=oc(e,{style:Object.assign(Object.assign({},r),{pointerEvents:"none"}),className:null});return Nb.createElement("span",{style:o,className:zK(e.props.className,`${t}-disabled-compatible-wrapper`)},i)}return e}(iJ(u)&&!rc(u)?u:Nb.createElement("span",null,u),B),W=G.props,V=W.className&&"string"!=typeof W.className?W.className:zK(W.className,i||`${B}-open`),[q,X]=q0(B,!U),K=yd(B,l),Y=K.arrowStyle,J=Object.assign(Object.assign({},c),K.overlayStyle),Q=zK(s,{[`${B}-rtl`]:"rtl"===E},K.className,L,X);return q(Nb.createElement(P0,Object.assign({},F,{showArrow:y,placement:$,mouseEnterDelay:j,mouseLeaveDelay:P,prefixCls:B,overlayClassName:Q,overlayStyle:Object.assign(Object.assign({},Y),M),getTooltipContainer:A||a||k,ref:S,builtinPlacements:N,overlay:I,visible:z,onVisibleChange:t=>{var n,r;C(!T&&t),T||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=d?d:p,overlayInnerStyle:J,arrowContent:Nb.createElement("span",{className:`${B}-arrow-content`}),motion:{motionName:DQ(H,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m}),z?oc(G,{className:V}):G))}));J0._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n,placement:r="top",title:o,color:i,overlayInnerStyle:a}=e,{getPrefixCls:s}=Nb.useContext(_Y),l=s("tooltip",t),[c,u]=q0(l,!0),d=yd(l,i),p=d.arrowStyle,m=Object.assign(Object.assign({},a),d.overlayStyle),f=zK(u,l,`${l}-pure`,`${l}-placement-${r}`,n,d.className);return c(Nb.createElement("div",{className:f,style:p},Nb.createElement("div",{className:`${l}-arrow`}),Nb.createElement(hd,Object.assign({},e,{className:u,prefixCls:l,overlayInnerStyle:m}),o)))};const Q0=J0,Z0={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"},e1=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:Z0}))}));gR=MC.ESC,bR=MC.TAB,_R=Nb.forwardRef((function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=Nb.useMemo((function(){return"function"==typeof n?n():n}),[n]),a=Fs(t,null==i?void 0:i.ref);return aK.createElement(aK.Fragment,null,r&&aK.createElement("div",{className:"".concat(o,"-arrow")}),aK.cloneElement(i,{ref:Hs(i)?a:void 0}))})),wR={topLeft:{points:["bl","tl"],overflow:vR={adjustX:1,adjustY:1},offset:[0,-4],targetOffset:yR=[0,0]},top:{points:["bc","tc"],overflow:vR,offset:[0,-4],targetOffset:yR},topRight:{points:["br","tr"],overflow:vR,offset:[0,-4],targetOffset:yR},bottomLeft:{points:["tl","bl"],overflow:vR,offset:[0,4],targetOffset:yR},bottom:{points:["tc","bc"],overflow:vR,offset:[0,4],targetOffset:yR},bottomRight:{points:["tr","br"],overflow:vR,offset:[0,4],targetOffset:yR}},kR=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];const t1=aK.forwardRef(wd);xR=Nb.createContext(null),ER=["children","locked"],SR=Nb.createContext(null),OR=[],DR=Nb.createContext(null),CR=Nb.createContext(OR),TR=Nb.createContext(null),NR=Nb.createContext({}),jR=MC.ENTER,PR=MC.ESC,MR=MC.HOME,LR=MC.END,FR=[AR=MC.UP,$R=MC.DOWN,RR=MC.LEFT,IR=MC.RIGHT],BR="__RC_UTIL_PATH_SPLIT__",HR=function(e){return e.join(BR)},UR=function(e){return e.split(BR)},zR="rc-menu-more",GR=Math.random().toFixed(5).toString().slice(2),WR=0,VR=["item"],qR=["title","attribute","elementRef"],XR=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],KR=["active"],YR=function(){function e(){return Di(this,e),t.apply(this,arguments)}Is(e,Nb.Component);var t=Ps(e);return Ti(e,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,r=e.elementRef,o=Ks(Si(e,qR),["eventKey","popupClassName","popupOffset","onTitleClick"]);return Ca(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),Nb.createElement(hN.Item,pa({},n,{title:"string"==typeof t?t:void 0},o,{ref:r}))}}]),e}(),JR=Nb.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x,E,S,O,D,C,T,N,R,I,A,$,j,P,M,L,F,B,H=e.style,U=e.className,z=e.eventKey;return r=e.disabled,o=e.itemIcon,i=e.children,a=e.role,s=e.onMouseEnter,l=e.onMouseLeave,c=e.onClick,u=e.onKeyDown,d=e.onFocus,p=Si(e,XR),m=xd(z),h=(f=Nb.useContext(SR)).prefixCls,g=f.onItemClick,b=f.disabled,_=f.overflowDisabled,v=f.itemIcon,y=f.selectedKeys,w=f.onActive,k=Nb.useContext(NR)._internalRenderMenuItem,x="".concat(h,"-item"),E=Nb.useRef(),S=Nb.useRef(),O=b||r,D=Bs(t,S),C=Od(z),T=function(e){return{key:z,keyPath:ya(C).reverse(),item:E.current,domEvent:e}},N=o||v,I=(R=Rd(z,O,s,l)).active,A=Si(R,KR),$=y.includes(z),j=Id(C.length),P=function(e){if(!O){var t=T(e);null==c||c($d(t)),g(t)}},M=function(e){if(null==u||u(e),e.which===MC.ENTER){var t=T(e);null==c||c($d(t)),g(t)}},L=function(e){w(z),null==d||d(e)},F={},"option"===e.role&&(F["aria-selected"]=$),B=Nb.createElement(YR,pa({ref:E,elementRef:D,role:null===a?"none":a||"menuitem",tabIndex:r?null:-1,"data-menu-id":_&&m?null:m},p,A,F,{component:"li","aria-disabled":r,style:ka(ka({},j),H),className:zK(x,(n={},Ei(n,"".concat(x,"-active"),I),Ei(n,"".concat(x,"-selected"),$),Ei(n,"".concat(x,"-disabled"),O),n),U),onClick:P,onKeyDown:M,onFocus:L}),i,Nb.createElement(Ad,{props:ka(ka({},e),{},{isSelected:$}),icon:N})),k&&(B=k(B,e,{selected:$})),B}));const n1=Nb.forwardRef(jd);QR=["className","children"],ZR=function(e,t){var n=e.className,r=e.children,o=Si(e,QR),i=Nb.useContext(SR),a=i.prefixCls,s=i.mode;return Nb.createElement("ul",pa({className:zK(a,i.rtl&&"".concat(a,"-rtl"),"".concat(a,"-sub"),"".concat(a,"-").concat("inline"===s?"inline":"vertical"),n),role:"menu"},o,{"data-menu-list":!0,ref:t}),r)},(eI=Nb.forwardRef(ZR)).displayName="SubMenuList",nI={topLeft:{points:["bl","tl"],overflow:tI={adjustX:1,adjustY:1}},topRight:{points:["br","tr"],overflow:tI},bottomLeft:{points:["tl","bl"],overflow:tI},bottomRight:{points:["tr","br"],overflow:tI},leftTop:{points:["tr","tl"],overflow:tI},leftBottom:{points:["br","bl"],overflow:tI},rightTop:{points:["tl","tr"],overflow:tI},rightBottom:{points:["bl","br"],overflow:tI}},rI={topLeft:{points:["bl","tl"],overflow:tI},topRight:{points:["br","tr"],overflow:tI},bottomLeft:{points:["tl","bl"],overflow:tI},bottomRight:{points:["tr","br"],overflow:tI},rightTop:{points:["tr","tl"],overflow:tI},rightBottom:{points:["br","bl"],overflow:tI},leftTop:{points:["tl","tr"],overflow:tI},leftBottom:{points:["bl","br"],overflow:tI}},oI={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},iI=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],aI=["active"],sI=function(e){var t,n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x,E,S,O,D,C,T,N,R,I,A,$,j,P,M,L,F,B,H,U,z,G,W,V,q,X,K,Y,J,Q,Z,ee,te,ne,re,oe,ie,ae,se,le,ce=e.style,ue=e.className,de=e.title,pe=e.eventKey;return n=e.disabled,r=e.internalPopupClose,o=e.children,i=e.itemIcon,a=e.expandIcon,s=e.popupClassName,l=e.popupOffset,c=e.onClick,u=e.onMouseEnter,d=e.onMouseLeave,p=e.onTitleClick,m=e.onTitleMouseEnter,f=e.onTitleMouseLeave,h=Si(e,iI),g=xd(pe),_=(b=Nb.useContext(SR)).prefixCls,v=b.mode,y=b.openKeys,w=b.disabled,k=b.overflowDisabled,x=b.activeKey,E=b.selectedKeys,S=b.itemIcon,O=b.expandIcon,D=b.onItemClick,C=b.onOpenChange,T=b.onActive,N=Nb.useContext(NR)._internalRenderSubMenuItem,R=Nb.useContext(TR),I=R.isSubPathKey,A=Od(),$="".concat(_,"-submenu"),j=w||n,P=Nb.useRef(),M=Nb.useRef(),L=i||S,F=a||O,B=y.includes(pe),H=!k&&B,U=I(E,pe),z=Rd(pe,j,m,f),G=z.active,W=Si(z,aI),V=Ua(Nb.useState(!1),2),X=V[1],K=function(e){j||X(e)},Y=function(e){K(!0),null==u||u({key:pe,domEvent:e})},J=function(e){K(!1),null==d||d({key:pe,domEvent:e})},Q=Nb.useMemo((function(){return G||"inline"!==v&&(q||I([x],pe))}),[v,G,x,q=V[0],pe,I]),Z=Id(A.length),ee=function(e){j||(null==p||p({key:pe,domEvent:e}),"inline"===v&&C(pe,!B))},te=Nd((function(e){null==c||c($d(e)),D(e)})),ne=function(e){"inline"!==v&&C(pe,e)},re=function(){T(pe)},oe=g&&"".concat(g,"-popup"),ie=Nb.createElement("div",pa({role:"menuitem",style:Z,className:"".concat($,"-title"),tabIndex:j?null:-1,ref:P,title:"string"==typeof de?de:null,"data-menu-id":k&&g?null:g,"aria-expanded":H,"aria-haspopup":!0,"aria-controls":oe,"aria-disabled":j,onClick:ee,onFocus:re},W),de,Nb.createElement(Ad,{icon:"horizontal"!==v?F:null,props:ka(ka({},e),{},{isOpen:H,isSubMenu:!0})},Nb.createElement("i",{className:"".concat($,"-arrow")}))),(ae=Nb.useRef(v)).current="inline"!==v&&A.length>1?"vertical":v,k||(ie=Nb.createElement(Ld,{mode:se=ae.current,prefixCls:$,visible:!r&&H&&"inline"!==v,popupClassName:s,popupOffset:l,popup:Nb.createElement(Ed,{mode:"horizontal"===se?"vertical":se},Nb.createElement(eI,{id:oe,ref:M},o)),disabled:j,onVisibleChange:ne},ie)),le=Nb.createElement(hN.Item,pa({role:"none"},h,{component:"li",style:ce,className:zK($,"".concat($,"-").concat(v),ue,(t={},Ei(t,"".concat($,"-open"),H),Ei(t,"".concat($,"-active"),Q),Ei(t,"".concat($,"-selected"),U),Ei(t,"".concat($,"-disabled"),j),t)),onMouseEnter:Y,onMouseLeave:J}),ie,!k&&Nb.createElement(Fd,{id:oe,open:H,keyPath:A},o)),N&&(le=N(le,e,{selected:U,active:Q,open:H,disabled:j})),Nb.createElement(Ed,{onItemClick:te,mode:"horizontal"===v?"vertical":v,itemIcon:L,expandIcon:F},le)},lI=["className","title","eventKey","children"],cI=["children"],uI=function(e){var t,n,r,o,i=e.className,a=e.title;return t=e.children,n=Si(e,lI),r=Nb.useContext(SR),o="".concat(r.prefixCls,"-item-group"),Nb.createElement("li",pa({role:"presentation"},n,{onClick:function(e){return e.stopPropagation()},className:zK(o,i)}),Nb.createElement("div",{role:"presentation",className:"".concat(o,"-title"),title:"string"==typeof a?a:void 0},a),Nb.createElement("ul",{role:"group",className:"".concat(o,"-list")},t))},dI=["label","children","key","type"],pI=["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"],mI=[],(fI=Nb.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x,E,S,O,D,C,T,N,R,I,A,$,j,P,M,L,F,B,H,U,z,G,W,V,q,X,K,Y,J,Q,Z,ee,te,ne,re,oe,ie,ae,se=e.prefixCls,le=void 0===se?"rc-menu":se,ce=e.rootClassName,ue=e.style,de=e.className,pe=e.tabIndex,me=void 0===pe?0:pe,fe=e.items,he=e.children,ge=e.direction,be=e.id,_e=e.mode,ve=void 0===_e?"vertical":_e,ye=e.inlineCollapsed,we=e.disabled,ke=e.disabledOverflow,xe=e.subMenuOpenDelay,Ee=void 0===xe?.1:xe,Se=e.subMenuCloseDelay,Oe=void 0===Se?.1:Se,De=e.forceSubMenuRender,Ce=e.defaultOpenKeys,Te=e.openKeys,Ne=e.activeKey,Re=e.defaultActiveFirst,Ie=e.selectable,Ae=void 0===Ie||Ie,$e=e.multiple,je=void 0!==$e&&$e,Pe=e.defaultSelectedKeys,Me=e.selectedKeys,Le=e.onSelect,Fe=e.onDeselect,Be=e.inlineIndent,He=void 0===Be?24:Be,Ue=e.motion,ze=e.defaultMotions,Ge=e.triggerSubMenuAction,We=void 0===Ge?"hover":Ge,Ve=e.builtinPlacements,qe=e.itemIcon,Xe=e.expandIcon,Ke=e.overflowedIndicator,Ye=void 0===Ke?"...":Ke,Je=e.overflowedIndicatorPopupClassName,Qe=e.getPopupContainer,Ze=e.onClick,et=e.onOpenChange,tt=e.onKeyDown;return o=e._internalRenderMenuItem,i=e._internalRenderSubMenuItem,a=Si(e,pI),s=Nb.useMemo((function(){return Gd(he,fe,mI)}),[he,fe]),c=(l=Ua(Nb.useState(!1),2))[0],u=l[1],d=Nb.useRef(),p=function(e){var t=Ua(Il(e,{value:e}),2),n=t[0],r=t[1];return Nb.useEffect((function(){WR+=1;var e="".concat(GR,"-").concat(WR);r("rc-menu-uuid-".concat(e))}),[]),n}(be),m="rtl"===ge,f=Ua(Il(Ce,{value:Te,postState:function(e){return e||mI}}),2),g=f[1],b=function(e,t){function n(){g(e),null==et||et(e)}arguments.length>1&&void 0!==t&&t?Gk.flushSync(n):n()},_=Ua(Nb.useState(h=f[0]),2),v=_[0],y=_[1],w=Nb.useRef(!1),k=Ua(Nb.useMemo((function(){return"inline"!==ve&&"vertical"!==ve||!ye?[ve,!1]:["vertical",ye]}),[ve,ye]),2),E=k[1],S="inline"===(x=k[0]),O=Ua(Nb.useState(x),2),D=O[0],C=O[1],N=(T=Ua(Nb.useState(E),2))[0],R=T[1],Nb.useEffect((function(){C(x),R(E),w.current&&(S?g(v):b(mI))}),[x,E]),I=Ua(Nb.useState(0),2),$=I[1],j=(A=I[0])>=s.length-1||"horizontal"!==D||ke,Nb.useEffect((function(){S&&y(h)}),[h]),Nb.useEffect((function(){return w.current=!0,function(){w.current=!1}}),[]),P=function(){var e=Ua(Nb.useState({}),2)[1],t=Nb.useRef(new Map),n=Nb.useRef(new Map),r=Ua(Nb.useState([]),2),o=r[0],i=r[1],a=Nb.useRef(0),s=Nb.useRef(!1),l=Nb.useCallback((function(r,o){var i,l,c=HR(o);n.current.set(c,r),t.current.set(r,c),a.current+=1,i=a.current,l=function(){i===a.current&&(s.current||e({}))},Promise.resolve().then(l)}),[]),c=Nb.useCallback((function(e,r){var o=HR(r);n.current.delete(o),t.current.delete(e)}),[]),u=Nb.useCallback((function(e){i(e)}),[]),d=Nb.useCallback((function(e,n){var r=t.current.get(e)||"",i=UR(r);return n&&o.includes(i[0])&&i.unshift(zR),i}),[o]),p=Nb.useCallback((function(e,t){return e.some((function(e){return d(e,!0).includes(t)}))}),[d]),m=Nb.useCallback((function(e){var r="".concat(t.current.get(e)).concat(BR),o=new Set;return ya(n.current.keys()).forEach((function(e){e.startsWith(r)&&o.add(n.current.get(e))})),o}),[]);return Nb.useEffect((function(){return function(){s.current=!0}}),[]),{registerPath:l,unregisterPath:c,refreshOverflowKeys:u,isSubPathKey:p,getKeyPath:d,getKeys:function(){var e=ya(t.current.keys());return o.length&&e.push(zR),e},getSubPathKeys:m}}(),F=P.refreshOverflowKeys,B=P.isSubPathKey,H=P.getKeyPath,U=P.getKeys,z=P.getSubPathKeys,G=Nb.useMemo((function(){return{registerPath:M,unregisterPath:L}}),[M=P.registerPath,L=P.unregisterPath]),W=Nb.useMemo((function(){return{isSubPathKey:B}}),[B]),Nb.useEffect((function(){F(j?mI:s.slice(A+1).map((function(e){return e.key})))}),[A,j]),V=Ua(Il(Ne||Re&&(null===(n=s[0])||void 0===n?void 0:n.key),{value:Ne}),2),q=V[0],X=V[1],K=Nd((function(e){X(e)})),Y=Nd((function(){X(void 0)})),Nb.useImperativeHandle(t,(function(){return{list:d.current,focus:function(e){var t,n,r,o,i=null!=q?q:null===(t=s.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;i&&(null===(n=d.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(kd(p,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}})),J=Ua(Il(Pe||[],{value:Me,postState:function(e){return Array.isArray(e)?e:null==e?mI:[e]}}),2),Q=J[0],Z=J[1],ee=function(e){var t,n,r,o;Ae&&(n=Q.includes(t=e.key),r=je?n?Q.filter((function(e){return e!==t})):[].concat(ya(Q),[t]):[t],Z(r),o=ka(ka({},e),{},{selectedKeys:r}),n?null==Fe||Fe(o):null==Le||Le(o)),!je&&h.length&&"inline"!==D&&b(mI)},te=Nd((function(e){null==Ze||Ze($d(e)),ee(e)})),ne=Nd((function(e,t){var n,r=h.filter((function(t){return t!==e}));t?r.push(e):"inline"!==D&&(n=z(e),r=r.filter((function(e){return!n.has(e)}))),Ta(h,r,!0)||b(r,!0)})),re=function(e,t,n,r,o,i,a,s,l,c){var u,d=Nb.useRef(),p=Nb.useRef();return p.current=t,u=function(){DD.cancel(d.current)},Nb.useEffect((function(){return function(){u()}}),[]),function(m){var f,h,g,b,_,v,y,w,k,x,E,S,O,D,C,T=m.which;if([].concat(FR,[jR,PR,MR,LR]).includes(T)){if((b=function(){return f=new Set,h=new Map,g=new Map,i().forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(kd(r,e),"']"));t&&(f.add(t),g.set(t,e),h.set(e,t))})),f})(),_=h.get(t),v=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(_,f),y=g.get(v),w=function(e,t,n,r){var o,i,a,s,l,c,u,d="prev",p="next",m="children",f="parent";if("inline"===e&&r===jR)return{inlineTrigger:!0};switch(Ei(o={},AR,d),Ei(o,$R,p),l=o,Ei(i={},RR,n?p:d),Ei(i,IR,n?d:p),Ei(i,$R,m),Ei(i,jR,m),c=i,Ei(a={},AR,d),Ei(a,$R,p),Ei(a,jR,m),Ei(a,PR,f),Ei(a,RR,n?m:f),Ei(a,IR,n?f:m),null===(s={inline:l,horizontal:c,vertical:u=a,inlineSub:l,horizontalSub:u,verticalSub:u}["".concat(e).concat(t?"":"Sub")])||void 0===s?void 0:s[r]){case d:return{offset:-1,sibling:!0};case p:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case m:return{offset:1,sibling:!1};default:return null}}(e,1===a(y,!0).length,n,T),!w&&T!==MR&&T!==LR)return;(FR.includes(T)||[MR,LR].includes(T))&&m.preventDefault(),k=function(e){var t,n,r;e&&(t=e,null!=(n=e.querySelector("a"))&&n.getAttribute("href")&&(t=n),r=g.get(e),s(r),u(),d.current=DD((function(){p.current===r&&t.focus()})))},[MR,LR].includes(T)||w.sibling||!v?(S=Cd(x=v&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(v):o.current,f),E=T===MR?S[0]:T===LR?S[S.length-1]:Td(x,f,v,w.offset),k(E)):w.inlineTrigger?l(y):w.offset>0?(l(y,!0),u(),d.current=DD((function(){var e,t;b(),e=v.getAttribute("aria-controls"),t=Td(document.getElementById(e),f),k(t)}),5)):w.offset<0&&(O=a(y,!0),C=h.get(D=O[O.length-2]),l(D,!1),k(C))}null==c||c(m)}}(D,q,m,p,d,U,H,X,(function(e,t){var n=null!=t?t:!h.includes(e);ne(e,n)}),tt),Nb.useEffect((function(){u(!0)}),[]),oe=Nb.useMemo((function(){return{_internalRenderMenuItem:o,_internalRenderSubMenuItem:i}}),[o,i]),ie="horizontal"!==D||ke?s:s.map((function(e,t){return Nb.createElement(Ed,{key:e.key,overflowDisabled:t>A},e)})),ae=Nb.createElement(hN,pa({id:be,ref:d,prefixCls:"".concat(le,"-overflow"),component:"ul",itemComponent:n1,className:zK(le,"".concat(le,"-root"),"".concat(le,"-").concat(D),de,(r={},Ei(r,"".concat(le,"-inline-collapsed"),N),Ei(r,"".concat(le,"-rtl"),m),r),ce),dir:ge,style:ue,role:"menu",tabIndex:me,data:ie,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?s.slice(-t):null;return Nb.createElement(Bd,{eventKey:zR,title:Ye,disabled:j,internalPopupClose:0===t,popupClassName:Je},n)},maxCount:"horizontal"!==D||ke?hN.INVALIDATE:hN.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){$(e)},onKeyDown:re},a)),Nb.createElement(NR.Provider,{value:oe},Nb.createElement(xR.Provider,{value:p},Nb.createElement(Ed,{prefixCls:le,rootClassName:ce,mode:D,openKeys:h,rtl:m,disabled:we,motion:c?Ue:null,defaultMotions:c?ze:null,activeKey:q,onActive:K,onInactive:Y,selectedKeys:Q,inlineIndent:He,subMenuOpenDelay:Ee,subMenuCloseDelay:Oe,forceSubMenuRender:De,builtinPlacements:Ve,triggerSubMenuAction:We,getPopupContainer:Qe,itemIcon:qe,expandIcon:Xe,onItemClick:te,onOpenChange:ne},Nb.createElement(TR.Provider,{value:W},ae),Nb.createElement("div",{style:{display:"none"},"aria-hidden":!0},Nb.createElement(DR.Provider,{value:G},s)))))}))).Item=n1,fI.SubMenu=Bd,fI.ItemGroup=Hd,fI.Divider=Ud,globalThis&&globalThis;const r1=Nb.createContext({});hI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,className:n,dashed:r}=e,o=hI(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=Nb.useContext(_Y),a=i("menu",t),s=zK({[`${a}-item-divider-dashed`]:!!r},n);return Nb.createElement(Ud,Object.assign({className:s},o))},i1=Nb.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),a1=e=>{var t;const{className:n,children:r,icon:o,title:i,danger:a}=e,{prefixCls:s,firstLevel:l,direction:c,disableMenuItemTitleTooltip:u,inlineCollapsed:d}=Nb.useContext(i1),{siderCollapsed:p}=Nb.useContext(r1);let m=i;void 0===i?m=l?r:"":!1===i&&(m="");const f={title:m};p||d||(f.title=null,f.open=!1);const h=Ms(r).length;let g=Nb.createElement(n1,Object.assign({},Ks(e,["title","icon","danger"]),{className:zK({[`${s}-item-danger`]:a,[`${s}-item-only-child`]:1===(o?h+1:h)},n),title:"string"==typeof i?i:void 0}),oc(o,{className:zK(iJ(o)?null===(t=o.props)||void 0===t?void 0:t.className:"",`${s}-item-icon`)}),(e=>{const t=Nb.createElement("span",{className:`${s}-title-content`},r);return(!o||iJ(r)&&"span"===r.type)&&r&&e&&l&&"string"==typeof r?Nb.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):t})(d));return u||(g=Nb.createElement(Q0,Object.assign({},f,{placement:"rtl"===c?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),g)),g},s1=e=>{var t;const{popupClassName:n,icon:r,title:o,theme:i}=e,a=Nb.useContext(i1),{prefixCls:s,inlineCollapsed:l,theme:c}=a,u=Od();let d;if(r){const e=iJ(o)&&"span"===o.type;d=Nb.createElement(Nb.Fragment,null,oc(r,{className:zK(iJ(r)?null===(t=r.props)||void 0===t?void 0:t.className:"",`${s}-item-icon`)}),e?o:Nb.createElement("span",{className:`${s}-title-content`},o))}else d=l&&!u.length&&o&&"string"==typeof o?Nb.createElement("div",{className:`${s}-inline-collapsed-noicon`},o.charAt(0)):Nb.createElement("span",{className:`${s}-title-content`},o);const p=Nb.useMemo((()=>Object.assign(Object.assign({},a),{firstLevel:!1})),[a]);return Nb.createElement(i1.Provider,{value:p},Nb.createElement(Bd,Object.assign({},Ks(e,["icon"]),{title:d,popupClassName:zK(s,n,`${s}-${i||c}`)})))},l1={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"},c1=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:l1}))}));globalThis&&globalThis;const u1=Nb.createContext(null);gI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:i,lineType:a,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${i}px ${a} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover,\n > ${t}-item-active,\n > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},p1=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,\n ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},m1=e=>Object.assign({},EY(e)),f1=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:o,groupTitleColor:i,itemBg:a,subMenuItemBg:s,itemSelectedBg:l,activeBarHeight:c,activeBarWidth:u,activeBarBorderWidth:d,motionDurationSlow:p,motionEaseInOut:m,motionEaseOut:f,itemPaddingInline:h,motionDurationMid:g,itemHoverColor:b,lineType:_,colorSplit:v,itemDisabledColor:y,dangerItemColor:w,dangerItemHoverColor:k,dangerItemSelectedColor:x,dangerItemActiveBg:E,dangerItemSelectedBg:S,itemHoverBg:O,itemActiveBg:D,menuSubMenuBg:C,horizontalItemSelectedColor:T,horizontalItemSelectedBg:N,horizontalItemBorderRadius:R,horizontalItemHoverBg:I,popupBg:A}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:Object.assign({},m1(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:o}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${y} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:b}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:D}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:D}}},[`${n}-item-danger`]:{color:w,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:k}},[`&${n}-item:active`]:{background:E}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:x},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:S}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},m1(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:C},[`&${n}-popup > ${n}`]:{backgroundColor:A},[`&${n}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:d,marginTop:-d,marginBottom:0,borderRadius:R,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${c}px solid transparent`,transition:`border-color ${p} ${m}`,content:'""'},"&:hover, &-active, &-open":{background:I,"&::after":{borderBottomWidth:c,borderBottomColor:T}},"&-selected":{color:T,backgroundColor:N,"&:hover":{backgroundColor:N},"&::after":{borderBottomWidth:c,borderBottomColor:T}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${d}px ${_} ${v}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item, ${n}-submenu-title`]:d&&u?{width:`calc(100% + ${d}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${u}px solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${g} ${f}`,`opacity ${g} ${f}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:x}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${g} ${m}`,`opacity ${g} ${m}`].join(",")}}}}}},h1=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:i,marginXS:a,itemMarginBlock:s}=e;return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:`calc(100% - ${2*r}px)`},[`> ${t}-item,\n > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title,\n ${t}-submenu-title`]:{paddingInlineEnd:o+i+a}}},g1=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:i,controlHeightLG:a,motionDurationMid:s,motionEaseOut:l,paddingXL:c,itemMarginInline:u,fontSizeLG:d,motionDurationSlow:p,paddingXS:m,boxShadowSecondary:f,collapsedWidth:h,collapsedIconSize:g}=e,b={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},h1(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},h1(e)),{boxShadow:f})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${2.5*a}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${p}`,`background ${p}`,`padding ${s} ${l}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:b,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:b}},{[`${t}-inline-collapsed`]:{width:h,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,\n > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${d/2}px - ${u}px)`,textOverflow:"clip",[`\n ${t}-submenu-arrow,\n ${t}-submenu-expand-icon\n `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:g,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},yY),{paddingInline:m})}}]},b1=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:i,iconCls:a,iconSize:s,iconMarginInlineEnd:l}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding ${n} ${o}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${i}`,`margin ${n} ${o}`,`color ${n}`].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:[`opacity ${n} ${o}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},{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"}}),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},_1=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:.6*i,height:.15*i,backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${a})`},"&::after":{transform:`rotate(-45deg) translateY(${a})`}}}}},v1=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:a,paddingXS:s,padding:l,colorSplit:c,lineWidth:u,zIndexPopup:d,borderRadiusLG:p,subMenuItemBorderRadius:m,menuArrowSize:f,menuArrowOffset:h,lineType:g,menuPanelMaskInset:b,groupTitleLineHeight:_,groupTitleFontSize:v}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},wY(e)),{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${s}px ${l}px`,fontSize:v,lineHeight:_,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${a}`,`padding ${o} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${o}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:g,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),b1(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${2*r}px ${l}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,borderRadius:p,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${b}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:b},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:p},b1(e)),_1(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:m},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${a}`}})}}),_1(e)),{[`&-inline-collapsed ${n}-submenu-arrow,\n &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${h})`},"&::after":{transform:`rotate(45deg) translateX(-${h})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${.2*f}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${h})`},"&::before":{transform:`rotate(45deg) translateX(${h})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]};bI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const o=Nb.useContext(u1),i=o||{},{getPrefixCls:a,getPopupContainer:s,direction:l,menu:c}=Nb.useContext(_Y),u=a(),{prefixCls:d,className:p,style:m,theme:f="light",expandIcon:h,_internalDisableMenuItemTitleTooltip:g,inlineCollapsed:b,siderCollapsed:_,items:v,children:y,rootClassName:w,mode:k,selectable:x,onClick:E,overflowedIndicatorPopupClassName:S}=e,O=Ks(bI(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),["collapsedWidth"]),D=Vd(v)||y;null===(n=i.validator)||void 0===n||n.call(i,{mode:k});const C=Tl((function(){var e;null==E||E.apply(void 0,arguments),null===(e=i.onClick)||void 0===e||e.call(i)})),T=i.mode||k,N=null!=x?x:i.selectable,R=Nb.useMemo((()=>void 0!==_?_:b),[b,_]),I={horizontal:{motionName:`${u}-slide-up`},inline:OQ(u),other:{motionName:`${u}-zoom-big`}},A=a("menu",d||i.prefixCls),[$,j]=((e,t)=>jl("Menu",(e=>{if(!1===t)return[];const{colorBgElevated:n,colorPrimary:r,colorTextLightSolid:o,controlHeightLG:i,fontSize:a,darkItemColor:s,darkDangerItemColor:l,darkItemBg:c,darkSubMenuItemBg:u,darkItemSelectedColor:d,darkItemSelectedBg:p,darkDangerItemSelectedBg:m,darkItemHoverBg:f,darkGroupTitleColor:h,darkItemHoverColor:g,darkItemDisabledColor:b,darkDangerItemHoverColor:_,darkDangerItemSelectedColor:v,darkDangerItemActiveBg:y}=e,w=a/7*5,k=Al(e,{menuArrowSize:w,menuHorizontalHeight:1.15*i,menuArrowOffset:.25*w+"px",menuPanelMaskInset:-7,menuSubMenuBg:n}),x=Al(k,{itemColor:s,itemHoverColor:g,groupTitleColor:h,itemSelectedColor:d,itemBg:c,popupBg:c,subMenuItemBg:u,itemActiveBg:"transparent",itemSelectedBg:p,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:f,itemDisabledColor:b,dangerItemColor:l,dangerItemHoverColor:_,dangerItemSelectedColor:v,dangerItemActiveBg:y,dangerItemSelectedBg:m,menuSubMenuBg:u,horizontalItemSelectedColor:o,horizontalItemSelectedBg:r});return[v1(k),d1(k),g1(k),f1(k,"light"),f1(x,"dark"),p1(k),kZ(k),sZ(k,"slide-up"),sZ(k,"slide-down"),wZ(k,"zoom-big")]}),(e=>{const{colorPrimary:t,colorError:n,colorTextDisabled:r,colorErrorBg:o,colorText:i,colorTextDescription:a,colorBgContainer:s,colorFillAlter:l,colorFillContent:c,lineWidth:u,lineWidthBold:d,controlItemBgActive:p,colorBgTextHover:m,controlHeightLG:f,lineHeight:h,colorBgElevated:g,marginXXS:b,padding:_,fontSize:v,controlHeightSM:y,fontSizeLG:w,colorTextLightSolid:k,colorErrorHover:x}=e,E=new $D(k).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:i,itemColor:i,colorItemTextHover:i,itemHoverColor:i,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:a,groupTitleColor:a,colorItemTextSelected:t,itemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:s,itemBg:s,colorItemBgHover:m,itemHoverBg:m,colorItemBgActive:c,itemActiveBg:p,colorSubItemBg:l,subMenuItemBg:l,colorItemBgSelected:p,itemSelectedBg:p,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:d,activeBarHeight:d,colorActiveBarBorderSize:u,activeBarBorderWidth:u,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:n,dangerItemColor:n,colorDangerItemTextHover:n,dangerItemHoverColor:n,colorDangerItemTextSelected:n,dangerItemSelectedColor:n,colorDangerItemBgActive:o,dangerItemActiveBg:o,colorDangerItemBgSelected:o,dangerItemSelectedBg:o,itemMarginInline:e.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:f,groupTitleLineHeight:h,collapsedWidth:2*f,popupBg:g,itemMarginBlock:b,itemPaddingInline:_,horizontalLineHeight:1.15*f+"px",iconSize:v,iconMarginInlineEnd:y-v,collapsedIconSize:w,groupTitleFontSize:v,darkItemDisabledColor:new $D(k).setAlpha(.25).toRgbString(),darkItemColor:E,darkDangerItemColor:n,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:k,darkItemSelectedBg:t,darkDangerItemSelectedBg:n,darkItemHoverBg:"transparent",darkGroupTitleColor:E,darkItemHoverColor:k,darkDangerItemHoverColor:x,darkDangerItemSelectedColor:k,darkDangerItemActiveBg:n}}),{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(e))(A,!o),P=zK(`${A}-${f}`,null==c?void 0:c.className,p);let M;if("function"==typeof h)M=h;else{const e=h||i.expandIcon;M=oc(e,{className:zK(`${A}-submenu-expand-icon`,iJ(e)?null===(r=e.props)||void 0===r?void 0:r.className:"")})}const L=Nb.useMemo((()=>({prefixCls:A,inlineCollapsed:R||!1,direction:l,firstLevel:!0,theme:f,mode:T,disableMenuItemTitleTooltip:g})),[A,R,l,g,f]);return $(Nb.createElement(u1.Provider,{value:null},Nb.createElement(i1.Provider,{value:L},Nb.createElement(fI,Object.assign({getPopupContainer:s,overflowedIndicator:Nb.createElement(c1,null),overflowedIndicatorPopupClassName:zK(A,`${A}-${f}`,S),mode:T,selectable:N,onClick:C},O,{inlineCollapsed:R,style:Object.assign(Object.assign({},null==c?void 0:c.style),m),className:P,prefixCls:A,direction:l,defaultMotions:I,expandIcon:M,ref:t,rootClassName:zK(w,j)}),D))))})),w1=Nb.forwardRef(((e,t)=>{const n=Nb.useRef(null),r=Nb.useContext(r1);return Nb.useImperativeHandle(t,(()=>({menu:n.current,focus:e=>{var t;null===(t=n.current)||void 0===t||t.focus(e)}}))),Nb.createElement(y1,Object.assign({ref:n},e,r))}));w1.Item=a1,w1.SubMenu=s1,w1.Divider=o1,w1.ItemGroup=Hd;const k1=w1,x1=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),E1=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),S1=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),O1=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},E1(Al(e,{inputBorderHoverColor:e.colorBorder})))}),D1=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:o,inputPaddingHorizontalLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:n,lineHeight:r,borderRadius:o}},C1=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),T1=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:o,colorErrorOutline:i,colorWarningOutline:a,colorErrorBorderHover:s,colorWarningBorderHover:l}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},S1(Al(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:i}))),[`${n}-prefix, ${n}-suffix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:l},"&:focus, &-focused":Object.assign({},S1(Al(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:a}))),[`${n}-prefix, ${n}-suffix`]:{color:o}}}},N1=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},x1(e.colorTextPlaceholder)),{"&:hover":Object.assign({},E1(e)),"&:focus, &-focused":Object.assign({},S1(e)),"&-disabled, &[disabled]":Object.assign({},O1(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},D1(e)),"&-sm":Object.assign({},C1(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),R1=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},D1(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},C1(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${n}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,\n & > ${n}-select-auto-complete ${t},\n & > ${n}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${n}-select:first-child > ${n}-select-selector,\n & > ${n}-select-auto-complete:first-child ${t},\n & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${n}-select:last-child > ${n}-select-selector,\n & > ${n}-cascader-picker:last-child ${t},\n & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${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}}}})}},I1=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r}=e,o=(n-2*r-16)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},wY(e)),N1(e)),T1(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},A1=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},$1=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},N1(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},E1(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),A1(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),T1(e,`${t}-affix-wrapper`))}},j1=e=>{const{componentCls:t,colorError:n,colorWarning:r,borderRadiusLG:o,borderRadiusSM:i}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},wY(e)),R1(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:o,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:i}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},O1(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}}}})}},P1=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},M1=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},L1=jl("Input",(e=>{const t=qd(e);return[I1(t),M1(t),$1(t),j1(t),P1(t),Sc(t)]})),F1=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:i}=e,a=zK({[`${t}-lg`]:"large"===o,[`${t}-sm`]:"small"===o}),s=zK({[`${t}-circle`]:"circle"===i,[`${t}-square`]:"square"===i,[`${t}-round`]:"round"===i}),l=Nb.useMemo((()=>"number"==typeof o?{width:o,height:o,lineHeight:`${o}px`}:{}),[o]);return Nb.createElement("span",{className:zK(t,a,s,n),style:Object.assign(Object.assign({},l),r)})},B1=new VO("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),H1=e=>({height:e,lineHeight:`${e}px`}),U1=e=>Object.assign({width:e},H1(e)),z1=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:B1,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),G1=e=>Object.assign({width:5*e,minWidth:5*e},H1(e)),W1=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},U1(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},U1(o)),[`${t}${t}-sm`]:Object.assign({},U1(i))}},V1=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},G1(t)),[`${r}-lg`]:Object.assign({},G1(o)),[`${r}-sm`]:Object.assign({},G1(i))}},q1=e=>Object.assign({width:e},H1(e)),X1=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},q1(2*n)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},q1(n)),{maxWidth:4*n,maxHeight:4*n}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},K1=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},Y1=e=>Object.assign({width:2*e,minWidth:2*e},H1(e)),J1=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:2*r,minWidth:2*r},Y1(r))},K1(e,r,n)),{[`${n}-lg`]:Object.assign({},Y1(o))}),K1(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},Y1(i))}),K1(e,i,`${n}-sm`))},Q1=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:p,marginSM:m,borderRadius:f,titleHeight:h,blockRadius:g,paragraphLiHeight:b,controlHeightXS:_,paragraphMarginTop:v}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},U1(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},U1(c)),[`${n}-sm`]:Object.assign({},U1(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:h,background:d,borderRadius:g,[`+ ${o}`]:{marginBlockStart:u}},[`${o}`]:{padding:0,"> li":{width:"100%",height:b,listStyle:"none",background:d,borderRadius:g,"+ li":{marginBlockStart:_}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:f}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:m,[`+ ${o}`]:{marginBlockStart:v}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},J1(e)),W1(e)),V1(e)),X1(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${r},\n ${o} > li,\n ${n},\n ${i},\n ${a},\n ${s}\n `]:Object.assign({},z1(e))}}},Z1=jl("Skeleton",(e=>{const{componentCls:t}=e,n=Al(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:1.5*e.controlHeight,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Q1(n)]}),(e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),e2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},t2=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:e2}))})),n2=e=>{const t=t=>{const{width:n,rows:r=2}=e;return Array.isArray(n)?n[t]:r-1===t?n:void 0},{prefixCls:n,className:r,style:o,rows:i}=e,a=ya(Array(i)).map(((e,n)=>Nb.createElement("li",{key:n,style:{width:t(n)}})));return Nb.createElement("ul",{className:zK(n,r),style:o},a)},r2=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return Nb.createElement("h3",{className:zK(t,n),style:Object.assign({width:r},o)})},o2=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:p,direction:m,skeleton:f}=Nb.useContext(_Y),h=p("skeleton",t),[g,b]=Z1(h);if(n||!("loading"in e)){const e=!!s,t=!!l,n=!!c;let a,p;if(e){const e=Object.assign(Object.assign({prefixCls:`${h}-avatar`},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(t,n)),Xd(s));a=Nb.createElement("div",{className:`${h}-header`},Nb.createElement(F1,Object.assign({},e)))}if(t||n){let r,o;if(t){const t=Object.assign(Object.assign({prefixCls:`${h}-title`},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(e,n)),Xd(l));r=Nb.createElement(r2,Object.assign({},t))}if(n){const n=Object.assign(Object.assign({prefixCls:`${h}-paragraph`},function(e,t){const n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(e,t)),Xd(c));o=Nb.createElement(n2,Object.assign({},n))}p=Nb.createElement("div",{className:`${h}-content`},r,o)}const _=zK(h,{[`${h}-with-avatar`]:e,[`${h}-active`]:u,[`${h}-rtl`]:"rtl"===m,[`${h}-round`]:d},null==f?void 0:f.className,r,o,b);return g(Nb.createElement("div",{className:_,style:Object.assign(Object.assign({},null==f?void 0:f.style),i)},a,p))}return void 0!==a?a:null};o2.Button=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:s}=Nb.useContext(_Y),l=s("skeleton",t),[c,u]=Z1(l),d=Ks(e,["prefixCls"]),p=zK(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u);return c(Nb.createElement("div",{className:p},Nb.createElement(F1,Object.assign({prefixCls:`${l}-button`,size:a},d))))},o2.Avatar=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:s}=Nb.useContext(_Y),l=s("skeleton",t),[c,u]=Z1(l),d=Ks(e,["prefixCls","className"]),p=zK(l,`${l}-element`,{[`${l}-active`]:o},n,r,u);return c(Nb.createElement("div",{className:p},Nb.createElement(F1,Object.assign({prefixCls:`${l}-avatar`,shape:i,size:a},d))))},o2.Input=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:s}=Nb.useContext(_Y),l=s("skeleton",t),[c,u]=Z1(l),d=Ks(e,["prefixCls"]),p=zK(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u);return c(Nb.createElement("div",{className:p},Nb.createElement(F1,Object.assign({prefixCls:`${l}-input`,size:a},d))))},o2.Image=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=Nb.useContext(_Y),s=a("skeleton",t),[l,c]=Z1(s),u=zK(s,`${s}-element`,{[`${s}-active`]:i},n,r,c);return l(Nb.createElement("div",{className:u},Nb.createElement("div",{className:zK(`${s}-image`,n),style:o},Nb.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},Nb.createElement("path",{d:"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",className:`${s}-image-path`})))))},o2.Node=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:s}=Nb.useContext(_Y),l=s("skeleton",t),[c,u]=Z1(l),d=zK(l,`${l}-element`,{[`${l}-active`]:i},u,n,r),p=null!=a?a:Nb.createElement(t2,null);return c(Nb.createElement("div",{className:d},Nb.createElement("div",{className:zK(`${l}-image`,n),style:o},p)))};const i2=o2,a2={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"},s2=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:a2}))})),l2=Nb.createContext(null);_I=Nb.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.id,a=e.active,s=e.tabKey,l=e.children;return Nb.createElement("div",{id:i&&"".concat(i,"-panel-").concat(s),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(s),"aria-hidden":!a,style:o,className:zK(n,a&&"".concat(n,"-active"),r),ref:t},l)})),vI=["key","forceRender","style","className"],yI={width:0,height:0,left:0,top:0},wI=.1,kI=.01,xI=20,EI=Math.pow(.995,xI),SI={width:0,height:0,left:0,top:0,right:0},OI="TABS_DQ";const c2=Nb.forwardRef(tp);DI=Nb.forwardRef((function(e,t){var n,r,o=e.position,i=e.prefixCls,a=e.extra;return a?(r={},"object"!==ki(a)||Nb.isValidElement(a)?r.right=a:r=a,"right"===o&&(n=r.right),"left"===o&&(n=r.left),n?Nb.createElement("div",{className:"".concat(i,"-extra-content"),ref:t},n):null):null}));const u2=Nb.memo(Nb.forwardRef(np),(function(e,t){return t.tabMoving}));CI=function(e){var t=e.current||{},n=t.offsetWidth,r=t.offsetHeight;return[void 0===n?0:n,void 0===r?0:r]},TI=function(e,t){return e[t?0:1]};const d2=Nb.forwardRef(op);NI=["renderTabBar"],RI=["label","key"],II=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],AI=0,$I=Nb.forwardRef(ap);const p2={motionAppear:!1,motionEnter:!0,motionLeave:!0};jI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[sZ(e,"slide-up"),sZ(e,"slide-down")]]},f2=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${o}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${o}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${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 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},h2=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},wY(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:`${r}px 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({},yY),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},g2=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a}=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:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},\n 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,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,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:1.25*e.controlHeight,[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${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:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},b2=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},_2=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:s}=e,l=`${t}-tab`;return{[l]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},SY(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${l}-active ${l}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${l}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${l}-disabled ${l}-btn, &${l}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${l}-remove ${o}`]:{margin:0},[o]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${l} + ${l}`]:{margin:{_skip_check_:!0,value:i}}}},v2=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},y2=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},wY(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${s}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},SY(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),_2(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},w2=jl("Tabs",(e=>{const t=Al(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[b2(t),v2(t),g2(t),h2(t),f2(t),y2(t),m2(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:e.controlHeightLG,cardPadding:"",cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}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`,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2})));PI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{type:t,className:n,rootClassName:r,size:o,onEdit:i,hideAdd:a,centered:s,addIcon:l,popupClassName:c,children:u,items:d,animated:p,style:m}=e,f=PI(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style"]),{prefixCls:h,moreIcon:g=Nb.createElement(c1,null)}=f,{direction:b,tabs:_,getPrefixCls:v,getPopupContainer:y}=Nb.useContext(_Y),w=v("tabs",h),[k,x]=w2(w);let E;"editable-card"===t&&(E={onEdit:(e,t)=>{let{key:n,event:r}=t;null==i||i("add"===e?r:n,e)},removeIcon:Nb.createElement(eJ,null),addIcon:l||Nb.createElement(s2,null),showAdd:!0!==a});const S=v(),O=function(e,t){return e||function(e){return e.filter((e=>e))}(Ms(t).map((e=>{if(Nb.isValidElement(e)){const{key:t,props:n}=e,r=n||{},{tab:o}=r,i=jI(r,["tab"]);return Object.assign(Object.assign({key:String(t)},i),{label:o})}return null})))}(d,u),D=function(e,t){let n,r=arguments.length>1&&void 0!==t?t:{inkBar:!0,tabPane:!1};return n=!1===r?{inkBar:!1,tabPane:!1}:!0===r?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof r?r:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},p2),{motionName:DQ(e,"switch")})),n}(w,p),C=RJ(o),T=Object.assign(Object.assign({},null==_?void 0:_.style),m);return k(Nb.createElement($I,Object.assign({direction:b,getPopupContainer:y,moreTransitionName:`${S}-slide-up`},f,{items:O,className:zK({[`${w}-${C}`]:C,[`${w}-card`]:["card","editable-card"].includes(t),[`${w}-editable-card`]:"editable-card"===t,[`${w}-centered`]:s},null==_?void 0:_.className,n,r,x),popupClassName:zK(c,x),style:T,editable:E,moreIcon:g,prefixCls:w,animated:D})))};k2.TabPane=()=>null;const x2=k2,E2=Nb.createContext({}),S2=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},O2=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},D2=(e,t)=>((e,t)=>{const{componentCls:n,gridColumns:r}=e,o={};for(let i=r;i>=0;i--)0===i?(o[`${n}${t}-${i}`]={display:"none"},o[`${n}-push-${i}`]={insetInlineStart:"auto"},o[`${n}-pull-${i}`]={insetInlineEnd:"auto"},o[`${n}${t}-push-${i}`]={insetInlineStart:"auto"},o[`${n}${t}-pull-${i}`]={insetInlineEnd:"auto"},o[`${n}${t}-offset-${i}`]={marginInlineStart:0},o[`${n}${t}-order-${i}`]={order:0}):(o[`${n}${t}-${i}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${i/r*100}%`,maxWidth:i/r*100+"%"}],o[`${n}${t}-push-${i}`]={insetInlineStart:i/r*100+"%"},o[`${n}${t}-pull-${i}`]={insetInlineEnd:i/r*100+"%"},o[`${n}${t}-offset-${i}`]={marginInlineStart:i/r*100+"%"},o[`${n}${t}-order-${i}`]={order:i});return o})(e,t),C2=jl("Grid",(e=>[S2(e)])),T2=jl("Grid",(e=>{const t=Al(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[O2(t),D2(t,""),D2(t,"-xs"),Object.keys(n).map((e=>((e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},D2(e,n))}))(t,n[e],e))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})]}));MI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:n,direction:r}=Nb.useContext(_Y),{gutter:o,wrap:i,supportFlexGap:a}=Nb.useContext(E2),{prefixCls:s,span:l,order:c,offset:u,push:d,pull:p,className:m,children:f,flex:h,style:g}=e,b=MI(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),_=n("col",s),[v,y]=T2(_);let w={};N2.forEach((t=>{let n={};const o=e[t];"number"==typeof o?n.span=o:"object"==typeof o&&(n=o||{}),delete b[t],w=Object.assign(Object.assign({},w),{[`${_}-${t}-${n.span}`]:void 0!==n.span,[`${_}-${t}-order-${n.order}`]:n.order||0===n.order,[`${_}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${_}-${t}-push-${n.push}`]:n.push||0===n.push,[`${_}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${_}-${t}-flex-${n.flex}`]:n.flex||"auto"===n.flex,[`${_}-rtl`]:"rtl"===r})}));const k=zK(_,{[`${_}-${l}`]:void 0!==l,[`${_}-order-${c}`]:c,[`${_}-offset-${u}`]:u,[`${_}-push-${d}`]:d,[`${_}-pull-${p}`]:p},m,w,y),x={};if(o&&o[0]>0){const e=o[0]/2;x.paddingLeft=e,x.paddingRight=e}if(o&&o[1]>0&&!a){const e=o[1]/2;x.paddingTop=e,x.paddingBottom=e}return h&&(x.flex=function(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}(h),!1!==i||x.minWidth||(x.minWidth=0)),v(Nb.createElement("div",Object.assign({},b,{style:Object.assign(Object.assign({},x),g),className:k,ref:t}),f))})),I2=()=>{const[e,t]=Nb.useState(!1);return Nb.useEffect((()=>{t((()=>{if(!TQ())return!1;if(void 0!==NQ)return NQ;const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div"));const t=document.createElement("div");return t.style.position="absolute",t.style.zIndex="-9999",t.appendChild(e),document.body.appendChild(t),NQ=1===e.scrollHeight,document.body.removeChild(t),NQ})())}),[]),e};LI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,justify:r,align:o,className:i,style:a,children:s,gutter:l=0,wrap:c}=e,u=LI(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:d,direction:p}=Nb.useContext(_Y),[m,f]=Nb.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[h,g]=Nb.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),b=sp(o,h),_=sp(r,h),v=I2(),y=Nb.useRef(l),w=fd();Nb.useEffect((()=>{const e=w.subscribe((e=>{g(e);const t=y.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&f(e)}));return()=>w.unsubscribe(e)}),[]);const k=d("row",n),[x,E]=C2(k),S=(()=>{const e=[void 0,void 0];return(Array.isArray(l)?l:[l,void 0]).forEach(((t,n)=>{if("object"==typeof t)for(let r=0;r0?S[0]/-2:void 0,T=null!=S[1]&&S[1]>0?S[1]/-2:void 0;C&&(D.marginLeft=C,D.marginRight=C),v?[,D.rowGap]=S:T&&(D.marginTop=T,D.marginBottom=T);const[N,R]=S,I=Nb.useMemo((()=>({gutter:[N,R],wrap:c,supportFlexGap:v})),[N,R,c,v]);return x(Nb.createElement(E2.Provider,{value:I},Nb.createElement("div",Object.assign({},u,{className:O,style:Object.assign(Object.assign({},D),a),ref:t}),s)))}));(FI=aK.forwardRef((function(e,t){var n,r=e.prefixCls,o=e.forceRender,i=e.className,a=e.style,s=e.children,l=e.isActive,c=e.role,u=Ua(aK.useState(l||o),2),d=u[0],p=u[1];return aK.useEffect((function(){(o||l)&&p(!0)}),[o,l]),d?aK.createElement("div",{ref:t,className:zK("".concat(r,"-content"),(n={},Ei(n,"".concat(r,"-content-active"),l),Ei(n,"".concat(r,"-content-inactive"),!l),n),i),style:a,role:c},aK.createElement("div",{className:"".concat(r,"-content-box")},s)):null}))).displayName="PanelContent",BI=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],HI=aK.forwardRef((function(e,t){var n,r,o,i,a=e.showArrow,s=void 0===a||a,l=e.headerClass,c=e.isActive,u=e.onItemClick,d=e.forceRender,p=e.className,m=e.prefixCls,f=e.collapsible,h=e.accordion,g=e.panelKey,b=e.extra,_=e.header,v=e.expandIcon,y=e.openMotion,w=e.destroyInactivePanel,k=e.children,x=Si(e,BI),E="disabled"===f,S="header"===f,O="icon"===f,D=null!=b&&"boolean"!=typeof b,C=function(){null==u||u(g)},T="function"==typeof v?v(e):aK.createElement("i",{className:"arrow"});return T&&(T=aK.createElement("div",{className:"".concat(m,"-expand-icon"),onClick:["header","icon"].includes(f)?C:void 0},T)),o=zK((Ei(n={},"".concat(m,"-item"),!0),Ei(n,"".concat(m,"-item-active"),c),Ei(n,"".concat(m,"-item-disabled"),E),n),p),i={className:zK(l,(Ei(r={},"".concat(m,"-header"),!0),Ei(r,"".concat(m,"-header-collapsible-only"),S),Ei(r,"".concat(m,"-icon-collapsible-only"),O),r)),"aria-expanded":c,"aria-disabled":E,onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==MC.ENTER&&e.which!==MC.ENTER||C()}},S||O||(i.onClick=C,i.role=h?"tab":"button",i.tabIndex=E?-1:0),aK.createElement("div",pa({},x,{ref:t,className:o}),aK.createElement("div",i,s&&T,aK.createElement("span",{className:"".concat(m,"-header-text"),onClick:"header"===f?C:void 0},_),D&&aK.createElement("div",{className:"".concat(m,"-extra")},b)),aK.createElement(LY,pa({visible:c,leavedClassName:"".concat(m,"-content-hidden")},y,{forceRender:d,removeOnLeave:w}),(function(e,t){return aK.createElement(FI,{ref:t,prefixCls:m,className:e.className,style:e.style,isActive:c,forceRender:d,role:h?"tabpanel":void 0},k)})))})),UI=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],zI=function(e,t){var n=t.prefixCls,r=t.accordion,o=t.collapsible,i=t.destroyInactivePanel,a=t.onItemClick,s=t.activeKey,l=t.openMotion,c=t.expandIcon;return e.map((function(e,t){var u,d=e.children,p=e.label,m=e.key,f=e.collapsible,h=e.onItemClick,g=e.destroyInactivePanel,b=Si(e,UI),_=String(null!=m?m:t),v=null!=f?f:o,y=null!=g?g:i;return u=r?s[0]===_:s.indexOf(_)>-1,aK.createElement(HI,pa({},b,{prefixCls:n,key:_,panelKey:_,isActive:u,accordion:r,openMotion:l,expandIcon:c,header:p,collapsible:v,onItemClick:function(e){"disabled"!==v&&(a(e),null==h||h(e))},destroyInactivePanel:y}),d)}))},GI=function(e,t,n){var r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y;return e?(r=n.prefixCls,o=n.accordion,i=n.collapsible,a=n.destroyInactivePanel,s=n.onItemClick,l=n.activeKey,c=n.openMotion,u=n.expandIcon,d=e.key||String(t),m=(p=e.props).header,f=p.headerClass,h=p.destroyInactivePanel,g=p.collapsible,b=p.onItemClick,_=o?l[0]===d:l.indexOf(d)>-1,y={key:d,panelKey:d,header:m,headerClass:f,isActive:_,prefixCls:r,destroyInactivePanel:null!=h?h:a,openMotion:c,accordion:o,children:e.props.children,onItemClick:function(e){"disabled"!==v&&(s(e),null==b||b(e))},expandIcon:u,collapsible:v=null!=g?g:i},"string"==typeof e.type?e:(Object.keys(y).forEach((function(e){void 0===y[e]&&delete y[e]})),aK.cloneElement(e,y))):null};const $2=Object.assign(aK.forwardRef((function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-collapse":r,i=e.destroyInactivePanel,a=void 0!==i&&i,s=e.style,l=e.accordion,c=e.children,u=e.collapsible,d=e.openMotion,p=e.expandIcon,m=e.activeKey,f=e.defaultActiveKey,h=e.onChange,g=e.items,b=zK(o,e.className),_=Ua(Il([],{value:m,onChange:function(e){return null==h?void 0:h(e)},defaultValue:f,postState:lp}),2),v=_[0],y=_[1];return Ca(!c,"`children` will be removed in next major version. Please use `items` instead."),n=function(e,t,n){return Array.isArray(e)?zI(e,n):Ms(t).map((function(e,t){return GI(e,t,n)}))}(g,c,{prefixCls:o,accordion:l,openMotion:d,expandIcon:p,collapsible:u,destroyInactivePanel:a,onItemClick:function(e){return y((function(){return l?v[0]===e?[]:[e]:v.indexOf(e)>-1?v.filter((function(t){return t!==e})):[].concat(ya(v),[e])}))},activeKey:v}),aK.createElement("div",{ref:t,className:b,style:s,role:l?"tablist":void 0},n)})),{Panel:HI}),j2=Nb.forwardRef(((e,t)=>{const{getPrefixCls:n}=Nb.useContext(_Y),{prefixCls:r,className:o,showArrow:i=!0}=e,a=n("collapse",r),s=zK({[`${a}-no-arrow`]:!i},o);return Nb.createElement($2.Panel,Object.assign({ref:t},e,{prefixCls:a,className:s}))})),P2=e=>{const{componentCls:t,collapseContentBg:n,padding:r,collapseContentPaddingHorizontal:o,collapseHeaderBg:i,collapseHeaderPadding:a,collapseHeaderPaddingSM:s,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:c,lineWidth:u,lineType:d,colorBorder:p,colorText:m,colorTextHeading:f,colorTextDisabled:h,fontSize:g,fontSizeLG:b,lineHeight:_,marginSM:v,paddingSM:y,paddingLG:w,paddingXS:k,motionDurationSlow:x,fontSizeIcon:E}=e,S=`${u}px ${d} ${p}`;return{[t]:Object.assign(Object.assign({},wY(e)),{backgroundColor:i,border:S,borderBottom:0,borderRadius:`${c}px`,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:S,"&:last-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`0 0 ${c}px ${c}px`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,paddingInlineStart:y,color:f,lineHeight:_,cursor:"pointer",transition:`all ${x}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:g*_,display:"flex",alignItems:"center",paddingInlineEnd:v,marginInlineStart:r-y},[`${t}-arrow`]:Object.assign(Object.assign({},{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"}}),{fontSize:E,svg:{transition:`transform ${x}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-header-collapsible-only`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-icon-collapsible-only`]:{cursor:"default",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:m,backgroundColor:n,borderTop:S,[`& > ${t}-content-box`]:{padding:`${r}px ${o}px`},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:s,paddingInlineStart:k,[`> ${t}-expand-icon`]:{marginInlineStart:y-k}},[`> ${t}-content > ${t}-content-box`]:{padding:y}}},"&-large":{[`> ${t}-item`]:{fontSize:b,[`> ${t}-header`]:{padding:l,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:b*_,marginInlineStart:w-r}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${c}px ${c}px`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:h,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:v}}}}})}},M2=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{[`> ${t}-item > ${t}-header ${t}-arrow svg`]:{transform:"rotate(180deg)"}}}},L2=e=>{const{componentCls:t,collapseHeaderBg:n,paddingXXS:r,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[`\n > ${t}-item:last-child,\n > ${t}-item:last-child ${t}-header\n `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},F2=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},B2=jl("Collapse",(e=>{const t=Al(e,{collapseContentBg:e.colorBgContainer,collapseHeaderBg:e.colorFillAlter,collapseHeaderPadding:`${e.paddingSM}px ${e.padding}px`,collapseHeaderPaddingSM:`${e.paddingXS}px ${e.paddingSM}px`,collapseHeaderPaddingLG:`${e.padding}px ${e.paddingLG}px`,collapsePanelBorderRadius:e.borderRadiusLG,collapseContentPaddingHorizontal:16});return[P2(t),L2(t),F2(t),M2(t),kZ(t)]})),H2=Nb.forwardRef(((e,t)=>{const{getPrefixCls:n,direction:r,collapse:o}=Nb.useContext(_Y),{prefixCls:i,className:a,rootClassName:s,style:l,bordered:c=!0,ghost:u,size:d,expandIconPosition:p="start",children:m,expandIcon:f}=e,h=RJ((e=>{var t;return null!==(t=null!=d?d:e)&&void 0!==t?t:"middle"})),g=n("collapse",i),b=n(),[_,v]=B2(g),y=Nb.useMemo((()=>"left"===p?"start":"right"===p?"end":p),[p]),w=zK(`${g}-icon-position-${y}`,{[`${g}-borderless`]:!c,[`${g}-rtl`]:"rtl"===r,[`${g}-ghost`]:!!u,[`${g}-${h}`]:"middle"!==h},null==o?void 0:o.className,a,s,v),k=Object.assign(Object.assign({},OQ(b)),{motionAppear:!1,leavedClassName:`${g}-content-hidden`}),x=Nb.useMemo((()=>m?Ms(m).map(((e,t)=>{var n,r;if(null===(n=e.props)||void 0===n?void 0:n.disabled){const n=null!==(r=e.key)&&void 0!==r?r:String(t),{disabled:o,collapsible:i}=e.props;return oc(e,Object.assign(Object.assign({},Ks(e.props,["disabled"])),{key:n,collapsible:null!=i?i:o?"disabled":void 0}))}return e})):null),[m]);return _(Nb.createElement($2,Object.assign({ref:t,openMotion:k},Ks(e,["rootClassName"]),{expandIcon:function(e){let t=arguments.length>0&&void 0!==e?e:{};const n=f?f(t):Nb.createElement(e1,{rotate:t.isActive?90:void 0});return oc(n,(()=>({className:zK(n.props.className,`${g}-arrow`)})))},prefixCls:g,className:w,style:Object.assign(Object.assign({},null==o?void 0:o.style),l)}),x))})),U2=Object.assign(H2,{Panel:j2}),z2=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o}=e;return{[t]:Object.assign(Object.assign({},wY(e)),{borderBlockStart:`${o}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},G2=jl("Divider",(e=>{const t=Al(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[z2(t)]}),{sizePaddingEdgeHorizontal:0});WI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:t,direction:n,divider:r}=Nb.useContext(_Y),{prefixCls:o,type:i="horizontal",orientation:a="center",orientationMargin:s,className:l,rootClassName:c,children:u,dashed:d,plain:p,style:m}=e,f=WI(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),h=t("divider",o),[g,b]=G2(h),_=!!u,v="left"===a&&null!=s,y="right"===a&&null!=s,w=zK(h,null==r?void 0:r.className,b,`${h}-${i}`,{[`${h}-with-text`]:_,[`${h}-with-text${a.length>0?`-${a}`:a}`]:_,[`${h}-dashed`]:!!d,[`${h}-plain`]:!!p,[`${h}-rtl`]:"rtl"===n,[`${h}-no-default-orientation-margin-left`]:v,[`${h}-no-default-orientation-margin-right`]:y},l,c),k=Nb.useMemo((()=>"number"==typeof s?s:/^\d+$/.test(s)?Number(s):s),[s]),x=Object.assign(Object.assign({},v&&{marginLeft:k}),y&&{marginRight:k});return g(Nb.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},null==r?void 0:r.style),m)},f,{role:"separator"}),u&&"vertical"!==i&&Nb.createElement("span",{className:`${h}-inner-text`,style:x},u)))},V2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},q2=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:V2}))}));VI=function(){function e(t){var n,r,o,i;Di(this,e),Ei(this,"origin",""),Ei(this,"negative",void 0),Ei(this,"integer",void 0),Ei(this,"decimal",void 0),Ei(this,"decimalLen",void 0),Ei(this,"empty",void 0),Ei(this,"nan",void 0),up(t)?this.empty=!0:(this.origin=String(t),"-"===t||Number.isNaN(t)?this.nan=!0:(pp(n=t)&&(n=Number(n)),hp(n="string"==typeof n?n:fp(n))?(r=dp(n),this.negative=r.negative,o=r.trimStr.split("."),this.integer=BigInt(o[0]),i=o[1]||"0",this.decimal=BigInt(i),this.decimalLen=i.length):this.nan=!0))}return Ti(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){var t="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0"));return BigInt(t)}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"cal",value:function(t,n,r){var o=Math.max(this.getDecimalStr().length,t.getDecimalStr().length),i=n(this.alignDecimal(o),t.alignDecimal(o)).toString(),a=r(o),s=dp(i),l=s.trimStr,c="".concat(s.negativeStr).concat(l.padStart(a+1,"0"));return new e("".concat(c.slice(0,-a),".").concat(c.slice(-a)))}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);return n.isInvalidate()?this:this.cal(n,(function(e,t){return e+t}),(function(e){return e}))}},{key:"multi",value:function(t){var n=new e(t);return this.isInvalidate()||n.isInvalidate()?new e(NaN):this.cal(n,(function(e,t){return e*t}),(function(e){return 2*e}))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null==e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(e){return arguments.length>0&&void 0!==e&&!e?this.origin:this.isInvalidate()?"":dp("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr}}]),e}(),qI=function(){function e(t){Di(this,e),Ei(this,"origin",""),Ei(this,"number",void 0),Ei(this,"empty",void 0),up(t)?this.empty=!0:(this.origin=String(t),this.number=Number(t))}return Ti(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){var n,r,o;return this.isInvalidate()?new e(t):(n=Number(t),Number.isNaN(n)?this:(r=this.number+n)>Number.MAX_SAFE_INTEGER?new e(Number.MAX_SAFE_INTEGER):rNumber.MAX_SAFE_INTEGER?new e(Number.MAX_SAFE_INTEGER):n0&&void 0!==e&&!e?this.origin:this.isInvalidate()?"":fp(this.number)}}]),e}(),XI=function(e){var t,n,r,o,i,a,s,l,c,u,d,p,m,f,h=e.inputElement,g=e.prefixCls,b=e.prefix,_=e.suffix,v=e.addonBefore,y=e.addonAfter,w=e.className,k=e.style,x=e.disabled,E=e.readOnly,S=e.focused,O=e.triggerFocus,D=e.allowClear,C=e.value,T=e.handleReset,N=e.hidden,R=e.classes,I=e.classNames,A=e.dataAttrs,$=e.styles,j=e.components,P=(null==j?void 0:j.affixWrapper)||"span",M=(null==j?void 0:j.groupWrapper)||"span",L=(null==j?void 0:j.wrapper)||"span",F=(null==j?void 0:j.groupAddon)||"span",B=Nb.useRef(null),H=Nb.cloneElement(h,{value:C,hidden:N,className:zK(null===(t=h.props)||void 0===t?void 0:t.className,!vp(e)&&!_p(e)&&w)||null,style:ka(ka({},null===(n=h.props)||void 0===n?void 0:n.style),vp(e)||_p(e)?{}:k)});return vp(e)&&(o="".concat(g,"-affix-wrapper"),i=zK(o,(Ei(r={},"".concat(o,"-disabled"),x),Ei(r,"".concat(o,"-focused"),S),Ei(r,"".concat(o,"-readonly"),E),Ei(r,"".concat(o,"-input-with-clear-btn"),_&&D&&C),r),!_p(e)&&w,null==R?void 0:R.affixWrapper,null==I?void 0:I.affixWrapper),a=(_||D)&&aK.createElement("span",{className:zK("".concat(g,"-suffix"),null==I?void 0:I.suffix),style:null==$?void 0:$.suffix},D?(p=!x&&!E&&C,m="".concat(g,"-clear-icon"),f="object"===ki(D)&&null!=D&&D.clearIcon?D.clearIcon:"✖",aK.createElement("span",{onClick:T,onMouseDown:function(e){return e.preventDefault()},className:zK(m,(d={},Ei(d,"".concat(m,"-hidden"),!p),Ei(d,"".concat(m,"-has-suffix"),!!_),d)),role:"button",tabIndex:-1},f)):null,_),H=aK.createElement(P,pa({className:i,style:ka(ka({},_p(e)?void 0:k),null==$?void 0:$.affixWrapper),hidden:!_p(e)&&N,onClick:function(e){var t;null!==(t=B.current)&&void 0!==t&&t.contains(e.target)&&(null==O||O())}},null==A?void 0:A.affixWrapper,{ref:B}),b&&aK.createElement("span",{className:zK("".concat(g,"-prefix"),null==I?void 0:I.prefix),style:null==$?void 0:$.prefix},b),Nb.cloneElement(h,{value:C,hidden:null}),a)),_p(e)?(s="".concat(g,"-group"),l="".concat(s,"-addon"),c=zK("".concat(g,"-wrapper"),s,null==R?void 0:R.wrapper),u=zK("".concat(g,"-group-wrapper"),w,null==R?void 0:R.group),aK.createElement(M,{className:u,style:k,hidden:N},aK.createElement(L,{className:c},v&&aK.createElement(F,{className:l},v),Nb.cloneElement(H,{hidden:null}),y&&aK.createElement(F,{className:l},y)))):H},KI=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],YI=Nb.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e.autoComplete,u=e.onChange,d=e.onFocus,p=e.onBlur,m=e.onPressEnter,f=e.onKeyDown,h=e.prefixCls,g=void 0===h?"rc-input":h,b=e.disabled,_=e.htmlSize,v=e.className,y=e.maxLength,w=e.suffix,k=e.showCount,x=e.type,E=void 0===x?"text":x,S=e.classes,O=e.classNames,D=e.styles,C=Si(e,KI),T=Ua(Il(e.defaultValue,{value:e.value}),2),N=T[0],R=T[1],I=Ua(Nb.useState(!1),2),A=I[0],$=I[1],j=Nb.useRef(null),P=function(e){j.current&&wp(j.current,e)};return Nb.useImperativeHandle(t,(function(){return{focus:P,blur:function(){var e;null===(e=j.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=j.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=j.current)||void 0===e||e.select()},input:j.current}})),Nb.useEffect((function(){$((function(e){return(!e||!b)&&e}))}),[b]),n=function(t){void 0===e.value&&R(t.target.value),j.current&&yp(j.current,t,u)},r=function(e){m&&"Enter"===e.key&&m(e),null==f||f(e)},o=function(e){$(!0),null==d||d(e)},i=function(e){$(!1),null==p||p(e)},a=function(e){R(""),P(),j.current&&yp(j.current,e,u)},s=function(){var t=Ks(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return aK.createElement("input",pa({autoComplete:c},t,{onChange:n,onFocus:o,onBlur:i,onKeyDown:r,className:zK(g,Ei({},"".concat(g,"-disabled"),b),null==O?void 0:O.input),style:null==D?void 0:D.input,ref:j,size:_,type:E}))},l=function(){var e,t,n,r=Number(y)>0;return w||k?(t=ya(e=kp(N)).length,n="object"===ki(k)?k.formatter({value:e,count:t,maxLength:y}):"".concat(t).concat(r?" / ".concat(y):""),aK.createElement(aK.Fragment,null,!!k&&aK.createElement("span",{className:zK("".concat(g,"-show-count-suffix"),Ei({},"".concat(g,"-show-count-has-suffix"),!!w),null==O?void 0:O.count),style:ka({},null==D?void 0:D.count)},n),w)):null},aK.createElement(XI,pa({},C,{prefixCls:g,className:v,inputElement:s(),handleReset:a,value:kp(N),focused:A,triggerFocus:P,suffix:l(),disabled:b,classes:S,classNames:O,styles:D}))})),JI=function(){var e=Ua(Nb.useState(!1),2),t=e[0],n=e[1];return dO((function(){n(ZZ())}),[]),t},QI=200,ZI=600,eA=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],tA=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],nA=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},rA=function(e){var t=gp(e);return t.isInvalidate()?null:t},oA=Nb.forwardRef((function(e,t){function n(e,t){ke(ve(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}var r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x,E,S,O,D,C,T,N,R=e.prefixCls,I=void 0===R?"rc-input-number":R,A=e.className,$=e.style,j=e.min,P=e.max,M=e.step,L=void 0===M?1:M,F=e.defaultValue,B=e.value,H=e.disabled,U=e.readOnly,z=e.upHandler,G=e.downHandler,W=e.keyboard,V=e.controls,q=void 0===V||V,X=e.classNames,K=e.stringMode,Y=e.parser,J=e.formatter,Q=e.precision,Z=e.decimalSeparator,ee=e.onChange,te=e.onInput,ne=e.onPressEnter,re=e.onStep,oe=Si(e,eA),ie="".concat(I,"-input"),ae=Nb.useRef(null),se=Ua(Nb.useState(!1),2),le=se[0],ce=se[1],ue=Nb.useRef(!1),de=Nb.useRef(!1),pe=Nb.useRef(!1),me=Ua(Nb.useState((function(){return gp(null!=B?B:F)})),2),fe=me[0],he=me[1],ge=Nb.useCallback((function(e,t){if(!t)return Q>=0?Q:Math.max(mp(e),mp(L))}),[Q,L]),be=Nb.useCallback((function(e){var t,n=String(e);return Y?Y(n):(t=n,Z&&(t=t.replace(Z,".")),t.replace(/[^\w.-]+/g,""))}),[Y,Z]),_e=Nb.useRef(""),ve=Nb.useCallback((function(e,t){var n,r;return J?J(e,{userTyping:t,input:String(_e.current)}):(n="number"==typeof e?fp(e):e,t||(r=ge(n,t),hp(n)&&(Z||r>=0)&&(n=bp(n,Z||".",r))),n)}),[J,ge,Z]),ye=Ua(Nb.useState((function(){var e=null!=F?F:B;return fe.isInvalidate()&&["string","number"].includes(ki(e))?Number.isNaN(e)?"":e:ve(fe.toString(),!1)})),2),we=ye[0],ke=ye[1];return _e.current=we,o=Nb.useMemo((function(){return rA(P)}),[P,Q]),i=Nb.useMemo((function(){return rA(j)}),[j,Q]),a=Nb.useMemo((function(){return!(!o||!fe||fe.isInvalidate())&&o.lessEquals(fe)}),[o,fe]),s=Nb.useMemo((function(){return!(!i||!fe||fe.isInvalidate())&&fe.lessEquals(i)}),[i,fe]),O=ae.current,D=le,C=Nb.useRef(null),l=[function(){var e,t,n,r,o;try{t=O.selectionEnd,r=(n=O.value).substring(0,e=O.selectionStart),o=n.substring(t),C.current={start:e,end:t,value:n,beforeTxt:r,afterTxt:o}}catch($X){}},function(){var e,t,n,r,o,i;if(O&&C.current&&D)try{n=(t=C.current).beforeTxt,r=t.start,o=(e=O.value).length,e.endsWith(t.afterTxt)?o=e.length-C.current.afterTxt.length:e.startsWith(n)?o=n.length:-1!==(i=e.indexOf(n[r-1],r-1))&&(o=i+1),O.setSelectionRange(o,o)}catch($X){Ca(!1,"Something warning of cursor restore. Please fire issue about this: ".concat($X.message))}}],c=Ua(l,2),u=c[0],d=c[1],p=function(e){return o&&!e.lessEquals(o)?o:i&&!i.lessEquals(e)?i:null},m=function(e){return!p(e)},f=function(e,t){var r,o,i=e,a=m(i)||i.isEmpty();return i.isEmpty()||t||(i=p(i)||i,a=!0),U||H||!a?fe:(r=i.toString(),(o=ge(r,t))>=0&&(i=gp(bp(r,".",o)),m(i)||(i=gp(bp(r,".",o,!0)))),i.equals(fe)||(void 0===B&&he(i),null==ee||ee(i.isEmpty()?null:nA(K,i)),void 0===B&&n(i,t)),i)},T=Nb.useRef(0),N=function(){DD.cancel(T.current)},Nb.useEffect((function(){return N}),[]),h=function(e){N(),T.current=DD((function(){e()}))},g=function e(t){var n;u(),_e.current=t,ke(t),de.current||(n=gp(be(t))).isNaN()||f(n,!0),null==te||te(t),h((function(){var n=t;Y||(n=t.replace(/。/g,".")),n!==t&&e(n)}))},b=function(){de.current=!0},_=function(){de.current=!1,g(ae.current.value)},v=function(e){g(e.target.value)},y=function(e){var t,n,r,o;e&&a||!e&&s||(ue.current=!1,n=gp(pe.current?Ep(L):L),e||(n=n.negate()),r=(fe||gp(0)).add(n.toString()),o=f(r,!1),null==re||re(nA(K,o),{offset:pe.current?Ep(L):L,type:e?"up":"down"}),null===(t=ae.current)||void 0===t||t.focus())},w=function(e){var t=gp(be(we)),r=t;r=t.isNaN()?f(fe,e):f(t,e),void 0!==B?n(fe,!1):r.isNaN()||n(r,!1)},k=function(){ue.current=!0},x=function(e){var t=e.key,n=e.shiftKey;ue.current=!0,pe.current=n,"Enter"===t&&(de.current||(ue.current=!1),w(!1),null==ne||ne(e)),!1!==W&&!de.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(y("Up"===t||"ArrowUp"===t),e.preventDefault())},E=function(){ue.current=!1,pe.current=!1},S=function(){w(!1),ce(!1),ue.current=!1},pO((function(){fe.isInvalidate()||n(fe,!1)}),[Q]),pO((function(){var e,t=gp(B);he(t),e=gp(be(we)),t.equals(e)&&ue.current&&!J||n(t,ue.current)}),[B]),pO((function(){J&&d()}),[we]),Nb.createElement("div",{className:zK(I,null==X?void 0:X.input,A,(r={},Ei(r,"".concat(I,"-focused"),le),Ei(r,"".concat(I,"-disabled"),H),Ei(r,"".concat(I,"-readonly"),U),Ei(r,"".concat(I,"-not-a-number"),fe.isNaN()),Ei(r,"".concat(I,"-out-of-range"),!fe.isInvalidate()&&!m(fe)),r)),style:$,onFocus:function(){ce(!0)},onBlur:S,onKeyDown:x,onKeyUp:E,onCompositionStart:b,onCompositionEnd:_,onBeforeInput:k},q&&Nb.createElement(xp,{prefixCls:I,upNode:z,downNode:G,upDisabled:a,downDisabled:s,onStep:y}),Nb.createElement("div",{className:"".concat(ie,"-wrap")},Nb.createElement("input",pa({autoComplete:"off",role:"spinbutton","aria-valuemin":j,"aria-valuemax":P,"aria-valuenow":fe.isInvalidate()?null:fe.toString(),step:L},oe,{ref:Fs(ae,t),className:ie,value:we,onChange:v,disabled:H,readOnly:U}))))})),(iA=Nb.forwardRef((function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,i=e.value,a=e.prefix,s=e.suffix,l=e.addonBefore,c=e.addonAfter,u=e.classes,d=e.className,p=e.classNames,m=Si(e,tA),f=Nb.useRef(null);return Nb.createElement(XI,{inputElement:Nb.createElement(oA,pa({prefixCls:o,disabled:n,classNames:p,ref:Fs(f,t)},m)),className:d,triggerFocus:function(e){f.current&&wp(f.current,e)},prefixCls:o,value:i,disabled:n,style:r,prefix:a,suffix:s,addonAfter:c,addonBefore:l,classes:u,classNames:p,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})}))).displayName="InputNumber";const X2=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:o}=e;const i="lg"===t?o:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${n}-handler-up`]:{borderStartEndRadius:i},[`${n}-handler-down`]:{borderEndEndRadius:i}}}},K2=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorBorder:o,borderRadius:i,fontSizeLG:a,controlHeightLG:s,controlHeightSM:l,colorError:c,inputPaddingHorizontalSM:u,colorTextDescription:d,motionDurationMid:p,colorPrimary:m,inputPaddingHorizontal:f,inputPaddingVertical:h,colorBgContainer:g,colorTextDisabled:b,borderRadiusSM:_,borderRadiusLG:v,controlWidth:y,handleVisible:w}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},wY(e)),N1(e)),T1(e,t)),{display:"inline-block",width:y,margin:0,padding:0,border:`${n}px ${r} ${o}`,borderRadius:i,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,borderRadius:v,[`input${t}-input`]:{height:s-2*n}},"&-sm":{padding:0,borderRadius:_,[`input${t}-input`]:{height:l-2*n,padding:`0 ${u}px`}},"&:hover":Object.assign({},E1(e)),"&-focused":Object.assign({},S1(e)),"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},wY(e)),R1(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:v,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:_}},[`${t}-wrapper-disabled > ${t}-group-addon`]:Object.assign({},O1(e))}}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},wY(e)),{width:"100%",padding:`${h}px ${f}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${p} linear`,appearance:"textfield",fontSize:"inherit"}),x1(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:Object.assign(Object.assign(Object.assign({[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:g,borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,opacity:!0===w?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${p} linear ${p}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`\n ${t}-handler-up-inner,\n ${t}-handler-down-inner\n `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:d,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${o}`,transition:`all ${p} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[`\n ${t}-handler-up-inner,\n ${t}-handler-down-inner\n `]:{color:m}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},{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"}}),{color:d,transition:`all ${p} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${o}`,borderEndEndRadius:i}},X2(e,"lg")),X2(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[`\n ${t}-handler-up-disabled,\n ${t}-handler-down-disabled\n `]:{cursor:"not-allowed"},[`\n ${t}-handler-up-disabled:hover &-handler-up-inner,\n ${t}-handler-down-disabled:hover &-handler-down-inner\n `]:{color:b}})},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},Y2=e=>{const{componentCls:t,inputPaddingVertical:n,inputPaddingHorizontal:r,inputAffixPadding:o,controlWidth:i,borderRadiusLG:a,borderRadiusSM:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},N1(e)),T1(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:a},"&-sm":{borderRadius:s},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},E1(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:`${n}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:o}}})}},J2=jl("InputNumber",(e=>{const t=qd(e);return[K2(t),Y2(t),Sc(t)]}),(e=>({controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:"auto"})));aA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:n,direction:r}=Nb.useContext(_Y),o=Nb.useRef(null);Nb.useImperativeHandle(t,(()=>o.current));const{className:i,rootClassName:a,size:s,disabled:l,prefixCls:c,addonBefore:u,addonAfter:d,prefix:p,bordered:m=!0,readOnly:f,status:h,controls:g}=e,b=aA(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),_=n("input-number",c),[v,y]=J2(_),{compactSize:w,compactItemClassnames:k}=PJ(_,r);let x=Nb.createElement(q2,{className:`${_}-handler-up-inner`}),E=Nb.createElement(S0,{className:`${_}-handler-down-inner`});const S="boolean"==typeof g?g:void 0;"object"==typeof g&&(x=void 0===g.upIcon?x:Nb.createElement("span",{className:`${_}-handler-up-inner`},g.upIcon),E=void 0===g.downIcon?E:Nb.createElement("span",{className:`${_}-handler-down-inner`},g.downIcon));const{hasFeedback:O,status:D,isFormItemInput:C,feedbackIcon:T}=Nb.useContext(jQ),N=n0(D,h),R=RJ((e=>{var t;return null!==(t=null!=s?s:w)&&void 0!==t?t:e})),I=Nb.useContext($Y),A=null!=l?l:I,$=zK({[`${_}-lg`]:"large"===R,[`${_}-sm`]:"small"===R,[`${_}-rtl`]:"rtl"===r,[`${_}-borderless`]:!m,[`${_}-in-form-item`]:C},ud(_,N),k,y),j=`${_}-group`;return v(Nb.createElement(iA,Object.assign({ref:o,disabled:A,className:zK(i,a),upHandler:x,downHandler:E,prefixCls:_,readOnly:f,controls:S,prefix:p,suffix:O&&T,addonAfter:d&&Nb.createElement(MJ,null,Nb.createElement(PQ,{override:!0,status:!0},d)),addonBefore:u&&Nb.createElement(MJ,null,Nb.createElement(PQ,{override:!0,status:!0},u)),classNames:{input:$},classes:{affixWrapper:zK(ud(`${_}-affix-wrapper`,N,O),{[`${_}-affix-wrapper-sm`]:"small"===R,[`${_}-affix-wrapper-lg`]:"large"===R,[`${_}-affix-wrapper-rtl`]:"rtl"===r,[`${_}-affix-wrapper-borderless`]:!m},y),wrapper:zK({[`${j}-rtl`]:"rtl"===r,[`${_}-wrapper-disabled`]:A},y),group:zK({[`${_}-group-wrapper-sm`]:"small"===R,[`${_}-group-wrapper-lg`]:"large"===R,[`${_}-group-wrapper-rtl`]:"rtl"===r},ud(`${_}-group-wrapper`,N,O),y)}},b)))})),Z2=Q2;Z2._InternalPanelDoNotUseOrYouWillBeFired=e=>Nb.createElement(VY,{theme:{components:{InputNumber:{handleVisible:!0}}}},Nb.createElement(Q2,Object.assign({},e)));const e5=Z2;sA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n;const{prefixCls:r,bordered:o=!0,status:i,size:a,disabled:s,onBlur:l,onFocus:c,suffix:u,allowClear:d,addonAfter:p,addonBefore:m,className:f,style:h,styles:g,rootClassName:b,onChange:_,classNames:v}=e,y=sA(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:w,direction:k,input:x}=aK.useContext(_Y),E=w("input",r),S=Nb.useRef(null),[O,D]=L1(E),{compactSize:C,compactItemClassnames:T}=PJ(E,k),N=RJ((e=>{var t;return null!==(t=null!=a?a:C)&&void 0!==t?t:e})),R=aK.useContext($Y),I=null!=s?s:R,{status:A,hasFeedback:$,feedbackIcon:j}=Nb.useContext(jQ),P=n0(A,i),M=function(e){return!!(e.prefix||e.suffix||e.allowClear)}(e)||!!$,L=Nb.useRef(M);Nb.useEffect((()=>{L.current=M}),[M]);const F=Sp(S,!0),B=($||u)&&aK.createElement(aK.Fragment,null,u,$&&j);let H;return"object"==typeof d&&(null==d?void 0:d.clearIcon)?H=d:d&&(H={clearIcon:aK.createElement(QY,null)}),O(aK.createElement(YI,Object.assign({ref:Fs(t,S),prefixCls:E,autoComplete:null==x?void 0:x.autoComplete},y,{disabled:I,onBlur:e=>{F(),null==l||l(e)},onFocus:e=>{F(),null==c||c(e)},style:Object.assign(Object.assign({},null==x?void 0:x.style),h),styles:Object.assign(Object.assign({},null==x?void 0:x.styles),g),suffix:B,allowClear:H,className:zK(f,b,T,null==x?void 0:x.className),onChange:e=>{F(),null==_||_(e)},addonAfter:p&&aK.createElement(MJ,null,aK.createElement(PQ,{override:!0,status:!0},p)),addonBefore:m&&aK.createElement(MJ,null,aK.createElement(PQ,{override:!0,status:!0},m)),classNames:Object.assign(Object.assign(Object.assign({},v),null==x?void 0:x.classNames),{input:zK({[`${E}-sm`]:"small"===N,[`${E}-lg`]:"large"===N,[`${E}-rtl`]:"rtl"===k,[`${E}-borderless`]:!o},!M&&ud(E,P),null==v?void 0:v.input,null===(n=null==x?void 0:x.classNames)||void 0===n?void 0:n.input,D)}),classes:{affixWrapper:zK({[`${E}-affix-wrapper-sm`]:"small"===N,[`${E}-affix-wrapper-lg`]:"large"===N,[`${E}-affix-wrapper-rtl`]:"rtl"===k,[`${E}-affix-wrapper-borderless`]:!o},ud(`${E}-affix-wrapper`,P,$),D),wrapper:zK({[`${E}-group-rtl`]:"rtl"===k},D),group:zK({[`${E}-group-wrapper-sm`]:"small"===N,[`${E}-group-wrapper-lg`]:"large"===N,[`${E}-group-wrapper-rtl`]:"rtl"===k,[`${E}-group-wrapper-disabled`]:I},ud(`${E}-group-wrapper`,P,$),D)}})))})),n5=t5,r5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},o5=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:r5}))})),i5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},a5=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:i5}))}));lA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);rNb.createElement(e?a5:o5,null),l5={click:"onClick",hover:"onMouseOver"},c5=Nb.forwardRef(((e,t)=>{const{visibilityToggle:n=!0}=e,r="object"==typeof n&&void 0!==n.visible,[o,i]=Nb.useState((()=>!!r&&n.visible)),a=Nb.useRef(null);Nb.useEffect((()=>{r&&i(n.visible)}),[r,n]);const s=Sp(a),l=()=>{const{disabled:t}=e;t||(o&&s(),i((e=>{var t;const r=!e;return"object"==typeof n&&(null===(t=n.onVisibleChange)||void 0===t||t.call(n,r)),r})))},{className:c,prefixCls:u,inputPrefixCls:d,size:p}=e,m=lA(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:f}=Nb.useContext(_Y),h=f("input",d),g=f("input-password",u),b=n&&(t=>{const{action:n="click",iconRender:r=s5}=e,i=l5[n]||"",a=r(o),s={[i]:l,className:`${t}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return Nb.cloneElement(Nb.isValidElement(a)?a:Nb.createElement("span",null,a),s)})(g),_=zK(g,c,{[`${g}-${p}`]:!!p}),v=Object.assign(Object.assign({},Ks(m,["suffix","iconRender","visibilityToggle"])),{type:o?"text":"password",className:_,prefixCls:h,suffix:b});return p&&(v.size=p),Nb.createElement(n5,Object.assign({ref:Fs(t,a)},v))})),u5=c5;cA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,inputPrefixCls:r,className:o,size:i,suffix:a,enterButton:s=!1,addonAfter:l,loading:c,disabled:u,onSearch:d,onChange:p,onCompositionStart:m,onCompositionEnd:f}=e,h=cA(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:g,direction:b}=Nb.useContext(_Y),_=Nb.useRef(!1),v=g("input-search",n),y=g("input",r),{compactSize:w}=PJ(v,b),k=RJ((e=>{var t;return null!==(t=null!=i?i:w)&&void 0!==t?t:e})),x=Nb.useRef(null),E=e=>{var t;document.activeElement===(null===(t=x.current)||void 0===t?void 0:t.input)&&e.preventDefault()},S=e=>{var t,n;d&&d(null===(n=null===(t=x.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},O="boolean"==typeof s?Nb.createElement(D0,null):null,D=`${v}-button`;let C;const T=s||{},N=T.type&&!0===T.type.__ANT_BUTTON;C=N||"button"===T.type?oc(T,Object.assign({onMouseDown:E,onClick:e=>{var t,n;null===(n=null===(t=null==T?void 0:T.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),S(e)},key:"enterButton"},N?{className:D,size:k}:{})):Nb.createElement(yQ,{className:D,type:s?"primary":void 0,size:k,disabled:u,key:"enterButton",onMouseDown:E,onClick:S,loading:c,icon:O},s),l&&(C=[C,oc(l,{key:"addonAfter"})]);const R=zK(v,{[`${v}-rtl`]:"rtl"===b,[`${v}-${k}`]:!!k,[`${v}-with-button`]:!!s},o);return Nb.createElement(n5,Object.assign({ref:Fs(x,t),onPressEnter:e=>{_.current||c||S(e)}},h,{size:k,onCompositionStart:e=>{_.current=!0,null==m||m(e)},onCompositionEnd:e=>{_.current=!1,null==f||f(e)},prefixCls:y,addonAfter:C,suffix:a,onChange:e=>{e&&e.target&&"click"===e.type&&d&&d(e.target.value,e),p&&p(e)},className:R,disabled:u}))})),p5=d5;uA=["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"],dA={},mA=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],fA=Nb.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x,E,S,O,D,C,T,N,R,I,A=e.prefixCls;return n=e.defaultValue,r=e.value,o=e.autoSize,i=e.onResize,a=e.className,s=e.style,l=e.disabled,c=e.onChange,u=Si(e,mA),p=(d=Ua(Il(n,{value:r,postState:function(e){return null!=e?e:""}}),2))[0],m=d[1],f=function(e){m(e.target.value),null==c||c(e)},h=Nb.useRef(),Nb.useImperativeHandle(t,(function(){return{textArea:h.current}})),g=Ua(Nb.useMemo((function(){return o&&"object"===ki(o)?[o.minRows,o.maxRows]:[]}),[o]),2),b=g[0],_=g[1],v=!!o,y=function(){try{if(document.activeElement===h.current){var e=h.current,t=e.scrollTop;h.current.setSelectionRange(e.selectionStart,e.selectionEnd),h.current.scrollTop=t}}catch($X){}},w=Ua(Nb.useState(2),2),k=w[0],x=w[1],S=(E=Ua(Nb.useState(),2))[0],O=E[1],D=function(){x(0)},dO((function(){v&&D()}),[r,b,_,v]),dO((function(){if(0===k)x(1);else if(1===k){var e=function(e,t,n,r){var o,i,a,s,l,c,u,d,p,m,f=arguments.length>1&&void 0!==t&&t,h=arguments.length>2&&void 0!==n?n:null,g=arguments.length>3&&void 0!==r?r:null;return pA||((pA=document.createElement("textarea")).setAttribute("tab-index","-1"),pA.setAttribute("aria-hidden","true"),document.body.appendChild(pA)),e.getAttribute("wrap")?pA.setAttribute("wrap",e.getAttribute("wrap")):pA.removeAttribute("wrap"),o=function(e,t){var n,r,o,i,a,s=arguments.length>1&&void 0!==t&&t,l=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");return s&&dA[l]?dA[l]:(r=(n=window.getComputedStyle(e)).getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),o=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),i=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),a={sizingStyle:uA.map((function(e){return"".concat(e,":").concat(n.getPropertyValue(e))})).join(";"),paddingSize:o,borderSize:i,boxSizing:r},s&&l&&(dA[l]=a),a)}(e,f),i=o.paddingSize,a=o.borderSize,s=o.boxSizing,pA.setAttribute("style","".concat(o.sizingStyle,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),pA.value=e.value||e.placeholder||"",l=void 0,c=void 0,d=pA.scrollHeight,"border-box"===s?d+=a:"content-box"===s&&(d-=i),null===h&&null===g||(pA.value=" ",p=pA.scrollHeight-i,null!==h&&(l=p*h,"border-box"===s&&(l=l+i+a),d=Math.max(l,d)),null!==g&&(c=p*g,"border-box"===s&&(c=c+i+a),u=d>c?"":"hidden",d=Math.min(c,d))),m={height:d,overflowY:u,resize:"none"},l&&(m.minHeight=l),c&&(m.maxHeight=c),m}(h.current,!1,b,_);x(2),O(e)}else y()}),[k]),C=Nb.useRef(),T=function(){DD.cancel(C.current)},N=function(e){2===k&&(null==i||i(e),o&&(T(),C.current=DD((function(){D()}))))},Nb.useEffect((function(){return T}),[]),R=v?S:null,I=ka(ka({},s),R),0!==k&&1!==k||(I.overflowY="hidden",I.overflowX="hidden"),Nb.createElement(kD,{onResize:N,disabled:!(o||i)},Nb.createElement("textarea",pa({},u,{ref:h,style:I,className:zK(A,a,Ei({},"".concat(A,"-disabled"),l)),disabled:l,value:p,onChange:f})))})),hA=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"],gA=aK.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b=e.defaultValue,_=e.value,v=e.onFocus,y=e.onBlur,w=e.onChange,k=e.allowClear,x=e.maxLength,E=e.onCompositionStart,S=e.onCompositionEnd,O=e.suffix,D=e.prefixCls,C=void 0===D?"rc-textarea":D,T=e.classes,N=e.showCount,R=e.className,I=e.style,A=e.disabled,$=e.hidden,j=e.classNames,P=e.styles,M=e.onResize,L=Si(e,hA),F=Ua(Il(b,{value:_,defaultValue:b}),2),B=F[0],H=F[1],U=Nb.useRef(null),z=Ua(aK.useState(!1),2),G=z[0],W=z[1],V=Ua(aK.useState(!1),2),q=V[0],X=V[1],K=aK.useRef(),Y=aK.useRef(0),J=Ua(aK.useState(null),2),Q=J[0],Z=J[1],ee=function(){var e;null===(e=U.current)||void 0===e||e.textArea.focus()};return Nb.useImperativeHandle(t,(function(){return{resizableTextArea:U.current,focus:ee,blur:function(){var e;null===(e=U.current)||void 0===e||e.textArea.blur()}}})),Nb.useEffect((function(){W((function(e){return!A&&e}))}),[A]),r=Number(x)>0,o=function(e){X(!0),K.current=B,Y.current=e.currentTarget.selectionStart,null==E||E(e)},i=function(e){var t,n;X(!1),t=e.currentTarget.value,r&&(t=Dp(Y.current>=x+1||Y.current===(null===(n=K.current)||void 0===n?void 0:n.length),K.current,t,x)),t!==B&&(H(t),yp(e.currentTarget,e,w,t)),null==S||S(e)},a=function(e){var t=e.target.value;!q&&r&&(t=Dp(e.target.selectionStart>=x+1||e.target.selectionStart===t.length||!e.target.selectionStart,B,t,x)),H(t),yp(e.currentTarget,e,w,t)},s=function(e){var t=L.onPressEnter,n=L.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},l=function(e){W(!0),null==v||v(e)},c=function(e){W(!1),null==y||y(e)},u=function(e){var t;H(""),ee(),yp(null===(t=U.current)||void 0===t?void 0:t.textArea,e,w)},d=kp(B),!q&&r&&null==_&&(d=Op(d,x)),p=O,N&&(f=ya(d).length,m="object"===ki(N)?N.formatter({value:d,count:f,maxLength:x}):"".concat(f).concat(r?" / ".concat(x):""),p=aK.createElement(aK.Fragment,null,p,aK.createElement("span",{className:zK("".concat(C,"-data-count"),null==j?void 0:j.count),style:null==P?void 0:P.count},m))),h=function(e){var t;null==M||M(e),null!==(t=U.current)&&void 0!==t&&t.textArea.style.height&&Z(!0)},g=!L.autoSize&&!N&&!k,aK.createElement(XI,{value:d,allowClear:k,handleReset:u,suffix:p,prefixCls:C,classes:{affixWrapper:zK(null==T?void 0:T.affixWrapper,(n={},Ei(n,"".concat(C,"-show-count"),N),Ei(n,"".concat(C,"-textarea-allow-clear"),k),n))},disabled:A,focused:G,className:R,style:ka(ka({},I),Q&&!g?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof m?m:void 0}},hidden:$,inputElement:aK.createElement(fA,pa({},L,{onKeyDown:s,onChange:a,onFocus:l,onBlur:c,onCompositionStart:o,onCompositionEnd:i,className:null==j?void 0:j.textarea,style:ka(ka({},null==P?void 0:P.textarea),{},{resize:null==I?void 0:I.resize}),disabled:A,prefixCls:C,onResize:h,ref:U}))})})),bA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,bordered:r=!0,size:o,disabled:i,status:a,allowClear:s,showCount:l,classNames:c}=e,u=bA(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:d,direction:p}=Nb.useContext(_Y),m=RJ(o),f=Nb.useContext($Y),h=null!=i?i:f,{status:g,hasFeedback:b,feedbackIcon:_}=Nb.useContext(jQ),v=n0(g,a),y=Nb.useRef(null);Nb.useImperativeHandle(t,(()=>{var e;return{resizableTextArea:null===(e=y.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;!function(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}(null===(n=null===(t=y.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.blur()}}}));const w=d("input",n);let k;"object"==typeof s&&(null==s?void 0:s.clearIcon)?k=s:s&&(k={clearIcon:Nb.createElement(QY,null)});const[x,E]=L1(w);return x(Nb.createElement(gA,Object.assign({},u,{disabled:h,allowClear:k,classes:{affixWrapper:zK(`${w}-textarea-affix-wrapper`,{[`${w}-affix-wrapper-rtl`]:"rtl"===p,[`${w}-affix-wrapper-borderless`]:!r,[`${w}-affix-wrapper-sm`]:"small"===m,[`${w}-affix-wrapper-lg`]:"large"===m,[`${w}-textarea-show-count`]:l},ud(`${w}-affix-wrapper`,v),E)},classNames:Object.assign(Object.assign({},c),{textarea:zK({[`${w}-borderless`]:!r,[`${w}-sm`]:"small"===m,[`${w}-lg`]:"large"===m},ud(w,v),E,null==c?void 0:c.textarea)}),prefixCls:w,suffix:b&&Nb.createElement("span",{className:`${w}-textarea-suffix`},_),showCount:l,ref:y})))})),f5=n5;f5.Group=e=>{const{getPrefixCls:t,direction:n}=Nb.useContext(_Y),{prefixCls:r,className:o}=e,i=t("input-group",r),a=t("input"),[s,l]=L1(a),c=zK(i,{[`${i}-lg`]:"large"===e.size,[`${i}-sm`]:"small"===e.size,[`${i}-compact`]:e.compact,[`${i}-rtl`]:"rtl"===n},l,o),u=Nb.useContext(jQ),d=Nb.useMemo((()=>Object.assign(Object.assign({},u),{isFormItemInput:!1})),[u]);return s(Nb.createElement("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},Nb.createElement(jQ.Provider,{value:d},e.children)))},f5.Search=p5,f5.TextArea=m5,f5.Password=u5;const h5=f5;_A=Nb.createContext(null),vA=function(e){var t=e.className,n=e.style,r=e.children,o=e.containerRef,i={onMouseEnter:e.onMouseEnter,onMouseOver:e.onMouseOver,onMouseLeave:e.onMouseLeave,onClick:e.onClick,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp};return Nb.createElement(Nb.Fragment,null,Nb.createElement("div",pa({className:zK("".concat(e.prefixCls,"-content"),t),style:ka({},n),"aria-modal":"true",role:"dialog",ref:o},i),r))},yA={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},wA=Nb.forwardRef(Tp),kA=function(e){var t,n,r,o,i,a,s=e.open,l=void 0!==s&&s,c=e.prefixCls,u=void 0===c?"rc-drawer":c,d=e.placement,p=void 0===d?"right":d,m=e.autoFocus,f=void 0===m||m,h=e.keyboard,g=void 0===h||h,b=e.width,_=void 0===b?378:b,v=e.mask,y=void 0===v||v,w=e.maskClosable,k=void 0===w||w,x=e.getContainer,E=e.forceRender,S=e.afterOpenChange,O=e.destroyOnClose,D=e.onMouseEnter,C=e.onMouseOver,T=e.onMouseLeave,N=e.onClick,R=e.onKeyDown,I=e.onKeyUp,A=Ua(Nb.useState(!1),2),$=A[0],j=A[1],P=Ua(Nb.useState(!1),2),M=P[0],L=P[1];return dO((function(){L(!0)}),[]),t=!!M&&l,n=Nb.useRef(),r=Nb.useRef(),dO((function(){t&&(r.current=document.activeElement)}),[t]),o=function(e){var t,o;j(e),null==S||S(e),e||!r.current||(null===(t=n.current)||void 0===t?void 0:t.contains(r.current))||null===(o=r.current)||void 0===o||o.focus({preventScroll:!0})},E||$||t||!O?(i={onMouseEnter:D,onMouseOver:C,onMouseLeave:T,onClick:N,onKeyDown:R,onKeyUp:I},a=ka(ka({},e),{},{open:t,prefixCls:u,placement:p,autoFocus:f,keyboard:g,width:_,mask:y,maskClosable:k,inline:!1===x,afterOpenChange:o,ref:n},i),Nb.createElement(cT,{open:t||E||$,autoDestroy:!1,getContainer:x,autoLock:y&&(t||$)},Nb.createElement(wA,a))):null};const g5=e=>{const{prefixCls:t,title:n,footer:r,extra:o,closeIcon:i,closable:a,onClose:s,headerStyle:l,drawerStyle:c,bodyStyle:u,footerStyle:d,children:p}=e,m=Nb.useCallback((e=>Nb.createElement("button",{type:"button",onClick:s,"aria-label":"Close",className:`${t}-close`},e)),[s]),[f,h]=Pc(a,i,m,void 0,!0),g=Nb.useMemo((()=>n||f?Nb.createElement("div",{style:l,className:zK(`${t}-header`,{[`${t}-header-close-only`]:f&&!n&&!o})},Nb.createElement("div",{className:`${t}-header-title`},h,n&&Nb.createElement("div",{className:`${t}-title`},n)),o&&Nb.createElement("div",{className:`${t}-extra`},o)):null),[f,h,o,l,t,n]),b=Nb.useMemo((()=>r?Nb.createElement("div",{className:`${t}-footer`,style:d},r):null),[r,d,t]);return Nb.createElement("div",{className:`${t}-wrapper-body`,style:c},g,Nb.createElement("div",{className:`${t}-body`,style:u},p),b)},b5=e=>{const{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},_5=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:o,motionDurationSlow:i,motionDurationMid:a,padding:s,paddingLG:l,fontSizeLG:c,lineHeightLG:u,lineWidth:d,lineType:p,colorSplit:m,marginSM:f,colorIcon:h,colorIconHover:g,colorText:b,fontWeightStrong:_,footerPaddingBlock:v,footerPaddingInline:y}=e,w=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:o,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[w]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${w}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${w}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${w}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${w}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:o,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${s}px ${l}px`,fontSize:c,lineHeight:u,borderBottom:`${d}px ${p} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:f,color:h,fontWeight:_,fontSize:c,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${a}`,textRendering:"auto","&:focus, &:hover":{color:g,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:b,fontWeight:e.fontWeightStrong,fontSize:c,lineHeight:u},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:l,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${v}px ${y}px`,borderTop:`${d}px ${p} ${m}`},"&-rtl":{direction:"rtl"}}}},v5=jl("Drawer",(e=>{const t=Al(e,{});return[_5(t),b5(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})));xA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{rootClassName:t,width:n,height:r,size:o="default",mask:i=!0,push:a=y5,open:s,afterOpenChange:l,onClose:c,prefixCls:u,getContainer:d,style:p,className:m,visible:f,afterVisibleChange:h}=e,g=xA(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:b,getPrefixCls:_,direction:v,drawer:y}=Nb.useContext(_Y),w=_("drawer",u),[k,x]=v5(w),E=void 0===d&&b?()=>b(document.body):d,S=zK({"no-mask":!i,[`${w}-rtl`]:"rtl"===v},t,x),O=Nb.useMemo((()=>null!=n?n:"large"===o?736:378),[n,o]),D=Nb.useMemo((()=>null!=r?r:"large"===o?736:378),[r,o]),C={motionName:DQ(w,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500};return k(Nb.createElement(MJ,null,Nb.createElement(PQ,{status:!0,override:!0},Nb.createElement(kA,Object.assign({prefixCls:w,onClose:c,maskMotion:C,motion:e=>({motionName:DQ(w,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},g,{open:null!=s?s:f,mask:i,push:a,width:O,height:D,style:Object.assign(Object.assign({},null==y?void 0:y.style),p),className:zK(null==y?void 0:y.className,m),rootClassName:S,getContainer:E,afterOpenChange:null!=l?l:h}),Nb.createElement(g5,Object.assign({prefixCls:w},g,{onClose:c}))))))};w5._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,style:n,className:r,placement:o="right"}=e,i=xA(e,["prefixCls","style","className","placement"]),{getPrefixCls:a}=Nb.useContext(_Y),s=a("drawer",t),[l,c]=v5(s),u=zK(s,`${s}-pure`,`${s}-${o}`,c,r);return l(Nb.createElement("div",{className:u,style:n},Nb.createElement(g5,Object.assign({prefixCls:s},i))))};const k5=w5,x5=aK.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),E5=x5.Provider,S5=e=>{let{className:t,direction:n,index:r,marginDirection:o,children:i,split:a,wrap:s,style:l}=e;const{horizontalSize:c,verticalSize:u,latestIndex:d,supportFlexGap:p}=Nb.useContext(x5);let m={};return p||("vertical"===n?r{var n,r;const{getPrefixCls:o,space:i,direction:a}=Nb.useContext(_Y),{size:s=(null==i?void 0:i.size)||"small",align:l,className:c,rootClassName:u,children:d,direction:p="horizontal",prefixCls:m,split:f,style:h,wrap:g=!1,classNames:b,styles:_}=e,v=EA(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),y=I2(),[w,k]=Nb.useMemo((()=>(Array.isArray(s)?s:[s,s]).map((e=>function(e){return"string"==typeof e?O5[e]:e||0}(e)))),[s]),x=Ms(d,{keepEmpty:!0}),E=void 0===l&&"horizontal"===p?"center":l,S=o("space",m),[O,D]=$J(S),C=zK(S,null==i?void 0:i.className,D,`${S}-${p}`,{[`${S}-rtl`]:"rtl"===a,[`${S}-align-${E}`]:E},c,u),T=zK(`${S}-item`,null!==(n=null==b?void 0:b.item)&&void 0!==n?n:null===(r=null==i?void 0:i.classNames)||void 0===r?void 0:r.item),N="rtl"===a?"marginLeft":"marginRight";let R=0;const I=x.map(((e,t)=>{var n,r;return null!=e&&(R=t),Nb.createElement(S5,{className:T,key:e&&e.key||`${T}-${t}`,direction:p,index:t,marginDirection:N,split:f,wrap:g,style:null!==(n=null==_?void 0:_.item)&&void 0!==n?n:null===(r=null==i?void 0:i.styles)||void 0===r?void 0:r.item},e)})),A=Nb.useMemo((()=>({horizontalSize:w,verticalSize:k,latestIndex:R,supportFlexGap:y})),[w,k,R,y]);if(0===x.length)return null;const $={};return g&&($.flexWrap="wrap",y||($.marginBottom=-k)),y&&($.columnGap=w,$.rowGap=k),O(Nb.createElement("div",Object.assign({ref:t,className:C,style:Object.assign(Object.assign(Object.assign({},$),null==i?void 0:i.style),h)},v),Nb.createElement(E5,{value:A},I)))}));D5.Compact=e=>{const{getPrefixCls:t,direction:n}=Nb.useContext(_Y),{size:r,direction:o,block:i,prefixCls:a,className:s,rootClassName:l,children:c}=e,u=eT(e,["size","direction","block","prefixCls","className","rootClassName","children"]),d=RJ((e=>null!=r?r:e)),p=t("space-compact",a),[m,f]=$J(p),h=zK(p,f,{[`${p}-rtl`]:"rtl"===n,[`${p}-block`]:i,[`${p}-vertical`]:"vertical"===o},s,l),g=Nb.useContext(jJ),b=Ms(c),_=Nb.useMemo((()=>b.map(((e,t)=>Nb.createElement(LJ,{key:e&&e.key||`${p}-item-${t}`,compactSize:d,compactDirection:o,isFirstItem:0===t&&(!g||(null==g?void 0:g.isFirstItem)),isLastItem:t===b.length-1&&(!g||(null==g?void 0:g.isLastItem))},e)))),[r,b,g]);return 0===b.length?null:m(Nb.createElement("div",Object.assign({className:h},u),_))};const C5=D5,T5=e=>{const{componentCls:t}=e,n=`${t}-show-help-item`;return{[`${t}-show-help`]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[n]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut},\n opacity ${e.motionDurationSlow} ${e.motionEaseInOut},\n transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${n}-appear, &${n}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${n}-leave-active`]:{transform:"translateY(-5px)"}}}}},N5=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),R5=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},I5=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},wY(e)),N5(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},R5(e,e.controlHeightSM)),"&-large":Object.assign({},R5(e,e.controlHeightLG))})}},A5=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:o}=e;return{[t]:Object.assign(Object.assign({},wY(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,\n &-hidden.${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${o}-col-'"]):not([class*="' ${o}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:lZ,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},$5=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},j5=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${n}-label,\n > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},P5=e=>({padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),M5=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:P5(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},L5=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label,\n .${r}-col-24${n}-label,\n .${r}-col-xl-24${n}-label`]:P5(e),[`@media (max-width: ${e.screenXSMax}px)`]:[M5(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:P5(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:P5(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:P5(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:P5(e)}}}},F5=(e,t)=>Al(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),B5=jl("Form",((e,t)=>{let{rootPrefixCls:n}=t;const r=F5(e,n);return[I5(r),A5(r),T5(r),$5(r),j5(r),L5(r),kZ(r),lZ]}),null,{order:-1e3}),H5=[],U5=e=>{let{help:t,helpStatus:n,errors:r=H5,warnings:o=H5,className:i,fieldId:a,onVisibleChanged:s}=e;const{prefixCls:l}=Nb.useContext($Q),c=`${l}-item-explain`,[,u]=B5(l),d=Nb.useMemo((()=>OQ(l)),[l]),p=Np(r),m=Np(o),f=Nb.useMemo((()=>null!=t?[Rp(t,"help",n)]:[].concat(ya(p.map(((e,t)=>Rp(e,"error","error",t)))),ya(m.map(((e,t)=>Rp(e,"warning","warning",t)))))),[t,n,p,m]),h={};return a&&(h.id=`${a}_help`),Nb.createElement(LY,{motionDeadline:d.motionDeadline,motionName:`${l}-show-help`,visible:!!f.length,onVisibleChanged:s},(e=>{const{className:t,style:n}=e;return Nb.createElement("div",Object.assign({},h,{className:zK(c,t,i,u),style:n,role:"alert"}),Nb.createElement(FY,Object.assign({keys:f},OQ(l),{motionName:`${l}-show-help-item`,component:!1}),(e=>{const{key:t,error:n,errorStatus:r,className:o,style:i}=e;return Nb.createElement("div",{key:t,className:zK(o,{[`${c}-${r}`]:r}),style:i},n)})))}))},z5=["parentNode"],G5="form_item";SA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const n=Nb.useContext($Y),{getPrefixCls:r,direction:o,form:i}=Nb.useContext(_Y),{prefixCls:a,className:s,rootClassName:l,size:c,disabled:u=n,form:d,colon:p,labelAlign:m,labelWrap:f,labelCol:h,wrapperCol:g,hideRequiredMark:b,layout:_="horizontal",scrollToFirstError:v,requiredMark:y,onFinishFailed:w,name:k,style:x}=e,E=SA(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style"]),S=RJ(c),O=Nb.useContext(WK),D=Nb.useMemo((()=>void 0!==y?y:i&&void 0!==i.requiredMark?i.requiredMark:!b),[b,y,i]),C=null!=p?p:null==i?void 0:i.colon,T=r("form",a),[N,R]=B5(T),I=zK(T,`${T}-${_}`,{[`${T}-hide-required-mark`]:!1===D,[`${T}-rtl`]:"rtl"===o,[`${T}-${S}`]:S},R,null==i?void 0:i.className,s,l),[A]=jp(d),{__INTERNAL__:$}=A;$.name=k;const j=Nb.useMemo((()=>({name:k,labelAlign:m,labelCol:h,labelWrap:f,wrapperCol:g,vertical:"vertical"===_,colon:C,requiredMark:D,itemRef:$.itemRef,form:A})),[k,m,h,g,_,C,D,A]);Nb.useImperativeHandle(t,(()=>A));const P=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),A.scrollToField(t,n)}};return N(Nb.createElement(AY,{disabled:u},Nb.createElement(PY,{size:S},Nb.createElement(AQ,{validateMessages:O},Nb.createElement(RQ.Provider,{value:j},Nb.createElement(YT,Object.assign({id:k},E,{name:k,onFinishFailed:e=>{if(null==w||w(e),e.errorFields.length){const t=e.errorFields[0].name;if(void 0!==v)return void P(v,t);i&&void 0!==i.scrollToFirstError&&P(i.scrollToFirstError,t)}},form:A,style:Object.assign(Object.assign({},null==i?void 0:i.style),x),className:I})))))))},V5=Nb.forwardRef(W5),q5=()=>{const{status:e,errors:t=[],warnings:n=[]}=Nb.useContext(jQ);return{status:e,errors:t,warnings:n}};q5.Context=jQ;const X5=q5,K5=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},Y5=NY(["Form","item-item"],((e,t)=>{let{rootPrefixCls:n}=t;const r=F5(e,n);return[K5(r)]})),J5=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:o,errors:i,warnings:a,_internalItemRender:s,extra:l,help:c,fieldId:u,marginBottom:d,onErrorVisibleChanged:p}=e,m=`${t}-item`,f=Nb.useContext(RQ),h=r||f.wrapperCol||{},g=zK(`${m}-control`,h.className),b=Nb.useMemo((()=>Object.assign({},f)),[f]);delete b.labelCol,delete b.wrapperCol;const _=Nb.createElement("div",{className:`${m}-control-input`},Nb.createElement("div",{className:`${m}-control-input-content`},o)),v=Nb.useMemo((()=>({prefixCls:t,status:n})),[t,n]),y=null!==d||i.length||a.length?Nb.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},Nb.createElement($Q.Provider,{value:v},Nb.createElement(U5,{fieldId:u,errors:i,warnings:a,help:c,helpStatus:n,className:`${m}-explain-connected`,onVisibleChanged:p})),!!d&&Nb.createElement("div",{style:{width:0,height:d}})):null,w={};u&&(w.id=`${u}_extra`);const k=l?Nb.createElement("div",Object.assign({},w,{className:`${m}-extra`}),l):null,x=s&&"pro_table_render"===s.mark&&s.render?s.render(e,{input:_,errorList:y,extra:k}):Nb.createElement(Nb.Fragment,null,_,y,k);return Nb.createElement(RQ.Provider,{value:b},Nb.createElement(R2,Object.assign({},h,{className:g}),x),Nb.createElement(Y5,{prefixCls:t}))},Q5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Z5=Nb.forwardRef((function(e,t){return Nb.createElement(KY,pa({},e,{ref:t,icon:Q5}))}));OA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{prefixCls:t,label:n,htmlFor:r,labelCol:o,labelAlign:i,colon:a,required:s,requiredMark:l,tooltip:c}=e;var u;const[d]=eY("Form"),{vertical:p,labelAlign:m,labelCol:f,labelWrap:h,colon:g}=Nb.useContext(RQ);if(!n)return null;const b=o||f||{},_=`${t}-item-label`,v=zK(_,"left"===(i||m)&&`${_}-left`,b.className,{[`${_}-wrap`]:!!h});let y=n;const w=!0===a||!1!==g&&!1!==a;w&&!p&&"string"==typeof n&&""!==n.trim()&&(y=n.replace(/[:|:]\s*$/,""));const k=function(e){return e?"object"!=typeof e||Nb.isValidElement(e)?{title:e}:e:null}(c);if(k){const{icon:e=Nb.createElement(Z5,null)}=k,n=OA(k,["icon"]),r=Nb.createElement(Q0,Object.assign({},n),Nb.cloneElement(e,{className:`${t}-item-tooltip`,title:""}));y=Nb.createElement(Nb.Fragment,null,y,r)}"optional"!==l||s||(y=Nb.createElement(Nb.Fragment,null,y,Nb.createElement("span",{className:`${t}-item-optional`,title:""},(null==d?void 0:d.optional)||(null===(u=KK.Form)||void 0===u?void 0:u.optional))));const x=zK({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:"optional"===l,[`${t}-item-no-colon`]:!w});return Nb.createElement(R2,Object.assign({},b,{className:v}),Nb.createElement("label",{htmlFor:r,className:x,title:"string"==typeof n?n:""},y))};DA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{children:t}=e;return t}),((e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every(((e,n)=>e===t.childProps[n])))),r3=function(e){function t(t,n,i){return r&&!h?t:Nb.createElement(Pp,Object.assign({key:"row"},e,{className:zK(o,D),prefixCls:S,fieldId:n,isRequired:i,errors:j,warnings:P,meta:I,onSubItemMetaChange:$}),t)}const{name:n,noStyle:r,className:o,dependencies:i,prefixCls:a,shouldUpdate:s,rules:l,children:c,required:u,label:d,messageVariables:p,trigger:m="onChange",validateTrigger:f,hidden:h,help:g}=e,{getPrefixCls:b}=Nb.useContext(_Y),{name:_}=Nb.useContext(RQ),v=function(e){if("function"==typeof e)return e;const t=Ms(e);return t.length<=1?t[0]:t}(c),y="function"==typeof v,w=Nb.useContext(IQ),{validateTrigger:k}=Nb.useContext(bT),x=void 0!==f?f:k,E=function(e){return!(null==e)}(n),S=b("form",a),[O,D]=B5(S),C=Nb.useContext(_T),T=Nb.useRef(),[N,R]=function(){const[e,t]=Nb.useState({}),n=Nb.useRef(null),r=Nb.useRef([]),o=Nb.useRef(!1);return Nb.useEffect((()=>(o.current=!1,()=>{o.current=!0,DD.cancel(n.current),n.current=null})),[]),[e,function(e){o.current||(null===n.current&&(r.current=[],n.current=DD((()=>{n.current=null,t((e=>{let t=e;return r.current.forEach((e=>{t=e(t)})),t}))}))),r.current.push(e))}]}(),[I,A]=Nl((()=>({errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}))),$=(e,t)=>{R((n=>{const r=Object.assign({},n),o=[].concat(ya(e.name.slice(0,-1)),ya(t)).join("__SPLIT__");return e.destroy?delete r[o]:r[o]=e,r}))},[j,P]=Nb.useMemo((()=>{const e=ya(I.errors),t=ya(I.warnings);return Object.values(N).forEach((n=>{e.push.apply(e,ya(n.errors||[])),t.push.apply(t,ya(n.warnings||[]))})),[e,t]}),[N,I.errors,I.warnings]),M=function(){const{itemRef:e}=Nb.useContext(RQ),t=Nb.useRef({});return function(n,r){const o=r&&"object"==typeof r&&r.ref,i=n.join("_");return t.current.name===i&&t.current.originRef===o||(t.current.name=i,t.current.originRef=o,t.current.ref=Fs(e(n),o)),t.current.ref}}();if(!E&&!y&&!i)return O(t(v));let L={};return"string"==typeof d?L.label=d:n&&(L.label=String(n)),p&&(L=Object.assign(Object.assign({},L),p)),O(Nb.createElement(cu,Object.assign({},e,{messageVariables:L,trigger:m,validateTrigger:x,onMetaChange:e=>{const t=null==C?void 0:C.getKey(e.name);if(A(e.destroy?{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}:e,!0),r&&!1!==g&&w){let n=e.name;if(e.destroy)n=T.current||n;else if(void 0!==t){const[e,r]=t;n=[e].concat(ya(r)),T.current=n}w(e,n)}}}),((r,o,a)=>{const c=Ip(n).length&&o?o.name:[],d=Ap(c,_),p=void 0!==u?u:!(!l||!l.some((e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){const t=e(a);return t&&t.required&&!t.warningOnly}return!1}))),f=Object.assign({},r);let h=null;if(Array.isArray(v)&&E)h=v;else if(y&&(!s&&!i||E));else if(!i||y||E)if(iJ(v)){const t=Object.assign(Object.assign({},v.props),f);if(t.id||(t.id=d),g||j.length>0||P.length>0||e.extra){const n=[];(g||j.length>0)&&n.push(`${d}_help`),e.extra&&n.push(`${d}_extra`),t["aria-describedby"]=n.join(" ")}j.length>0&&(t["aria-invalid"]="true"),p&&(t["aria-required"]="true"),Hs(v)&&(t.ref=M(c,v)),new Set([].concat(ya(Ip(m)),ya(Ip(x)))).forEach((e=>{t[e]=function(){var t,n,r,o,i,a,s,l;for(a=arguments.length,s=new Array(a),l=0;l{var{prefixCls:t,children:n}=e,r=CA(e,["prefixCls","children"]);const{getPrefixCls:o}=Nb.useContext(_Y),i=o("form",t),a=Nb.useMemo((()=>({prefixCls:i,status:"error"})),[i]);return Nb.createElement(uu,Object.assign({},r),((e,t,r)=>Nb.createElement($Q.Provider,{value:a},n(e.map((e=>Object.assign(Object.assign({},e),{fieldKey:e.key}))),t,{errors:r.errors,warnings:r.warnings}))))},o3.ErrorList=U5,o3.useForm=jp,o3.useFormInstance=function(){const{form:e}=Nb.useContext(RQ);return e},o3.useWatch=fu,o3.Provider=AQ,o3.create=()=>{};const i3=o3;let a3=null,s3=e=>e(),l3=[],c3={};const u3=Nb.forwardRef(((e,t)=>{const[n,r]=Nb.useState(Mp),[o,i]=sc(n),a=GY(),s=a.getRootPrefixCls(),l=a.getIconPrefixCls(),c=a.getTheme(),u=()=>{r(Mp)};return Nb.useEffect(u,[]),Nb.useImperativeHandle(t,(()=>{const e=Object.assign({},o);return Object.keys(e).forEach((t=>{e[t]=function(){return u(),o[t].apply(o,arguments)}})),{instance:e,sync:u}})),Nb.createElement(VY,{prefixCls:s,iconPrefixCls:l,theme:c},i)})),d3={open:function(e){const t=ac((t=>{let n;const r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return l3.push(r),()=>{n?s3((()=>{n()})):r.skipped=!0}}));return Lp(),t},destroy:function(e){l3.push({type:"destroy",key:e}),Lp()},config:function(e){c3=Object.assign(Object.assign({},c3),e),s3((()=>{var e;null===(e=null==a3?void 0:a3.sync)||void 0===e||e.call(a3)}))},useMessage:lc,_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,type:r,icon:o,content:i}=e,a=VC(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=Nb.useContext(_Y),l=t||s("message"),[,c]=gJ(l);return Nb.createElement(LC,Object.assign({},a,{prefixCls:l,className:zK(n,c,`${l}-notice-pure-panel`),eventKey:"pure",duration:null,content:Nb.createElement(_J,{prefixCls:l,type:r,icon:o},i)}))}},p3=d3;["success","info","warning","error","loading"].forEach((e=>{p3[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{let r;const o={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return l3.push(o),()=>{r?s3((()=>{r()})):o.skipped=!0}}));return Lp(),n}(e,n)}}));const m3=p3;TA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:a,children:s}=e,l=TA(e,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:c}=Nb.useContext(_Y),u=c(),d=t||c("modal"),[,p]=CZ(d),m=`${d}-confirm`;let f={};return f=i?{closable:null!=o&&o,title:"",footer:"",children:Nb.createElement(bu,Object.assign({},e,{confirmPrefixCls:m,rootPrefixCls:u,content:s}))}:{closable:null==o||o,title:a,footer:void 0===e.footer?Nb.createElement(MQ,Object.assign({},e)):e.footer,children:s},Nb.createElement(pT,Object.assign({prefixCls:d,className:zK(p,`${d}-pure-panel`,i&&m,i&&`${m}-${i}`,n)},l,{closeIcon:hu(d,r),closable:o},f))})),h3=NZ;h3.useModal=Eu,h3.info=function(e){return _u(yu(e))},h3.success=function(e){return _u(wu(e))},h3.error=function(e){return _u(ku(e))},h3.warning=Fp,h3.warn=Fp,h3.confirm=function(e){return _u(xu(e))},h3.destroyAll=function(){for(;IZ.length;){const e=IZ.pop();e&&e()}},h3.config=function(e){let{rootPrefixCls:t}=e;AZ=t},h3._InternalPanelDoNotUseOrYouWillBeFired=f3;const g3=h3;let b3=null,_3=e=>e(),v3=[],y3={};const w3=Nb.forwardRef(((e,t)=>{const[n,r]=Nb.useState(Bp),[o,i]=Ou(n),a=GY(),s=a.getRootPrefixCls(),l=a.getIconPrefixCls(),c=a.getTheme(),u=()=>{r(Bp)};return Nb.useEffect(u,[]),Nb.useImperativeHandle(t,(()=>{const e=Object.assign({},o);return Object.keys(e).forEach((t=>{e[t]=function(){return u(),o[t].apply(o,arguments)}})),{instance:e,sync:u}})),Nb.createElement(VY,{prefixCls:s,iconPrefixCls:l,theme:c},i)})),k3={open:Up,destroy:function(e){v3.push({type:"destroy",key:e}),Hp()},config:function(e){y3=Object.assign(Object.assign({},y3),e),_3((()=>{var e;null===(e=null==b3?void 0:b3.sync)||void 0===e||e.call(b3)}))},useNotification:Du,_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,icon:r,type:o,message:i,description:a,btn:s,closable:l=!0,closeIcon:c}=e,u=eN(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:d}=Nb.useContext(_Y),p=t||d("notification"),m=`${p}-notice`,[,f]=BZ(p);return Nb.createElement(LC,Object.assign({},u,{prefixCls:p,className:zK(n,f,`${m}-pure-panel`),eventKey:"pure",duration:null,closable:l,closeIcon:Su(p,c),content:Nb.createElement(UZ,{prefixCls:m,icon:r,type:o,message:i,description:a,btn:s})}))}},x3=k3;["success","info","warning","error"].forEach((e=>{x3[e]=t=>Up(Object.assign(Object.assign({},t),{type:e}))}));const E3=x3;NA=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},RA=function(e){return void 0!==e?"".concat(e,"px"):void 0},IA=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],AA=function(e){var t=e.prefixCls,n=e.disabled,r=e.checked,o=e.label,i=e.title,a=e.value,s=e.onChange;return Nb.createElement("label",{className:zK(e.className,Ei({},"".concat(t,"-item-disabled"),n))},Nb.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:n,checked:r,onChange:function(e){n||s(e,a)}}),Nb.createElement("div",{className:"".concat(t,"-item-label"),title:i},o))},$A=Nb.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=void 0===o?"rc-segmented":o,a=e.direction,s=e.options,l=e.disabled,c=e.defaultValue,u=e.value,d=e.onChange,p=e.className,m=void 0===p?"":p,f=e.motionName,h=void 0===f?"thumb-motion":f,g=Si(e,IA),b=Nb.useRef(null),_=Nb.useMemo((function(){return Fs(b,t)}),[b,t]),v=Nb.useMemo((function(){return function(e){return e.map((function(e){if("object"===ki(e)&&null!==e){var t=function(e){return void 0!==e.title?e.title:"object"!==ki(e.label)?null===(t=e.label)||void 0===t?void 0:t.toString():void 0;var t}(e);return ka(ka({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}}))}(s)}),[s]),y=Ua(Il(null===(n=v[0])||void 0===n?void 0:n.value,{value:u,defaultValue:c}),2),w=y[0],k=y[1],x=Ua(Nb.useState(!1),2),E=x[0],S=x[1],O=function(e,t){l||(k(t),null==d||d(t))},D=Ks(g,["children"]);return Nb.createElement("div",pa({},D,{className:zK(i,(r={},Ei(r,"".concat(i,"-rtl"),"rtl"===a),Ei(r,"".concat(i,"-disabled"),l),r),m),ref:_}),Nb.createElement("div",{className:"".concat(i,"-group")},Nb.createElement(zp,{prefixCls:i,value:w,containerRef:b,motionName:"".concat(i,"-").concat(h),direction:a,getValueIndex:function(e){return v.findIndex((function(t){return t.value===e}))},onMotionStart:function(){S(!0)},onMotionEnd:function(){S(!1)}}),v.map((function(e){return Nb.createElement(AA,pa({},e,{key:e.value,prefixCls:i,className:zK(e.className,"".concat(i,"-item"),Ei({},"".concat(i,"-item-selected"),e.value===w&&!E)),checked:e.value===w,onChange:O,disabled:!!l||!!e.disabled}))}))))})),$A.displayName="Segmented",$A.defaultProps={options:[]};const S3=Object.assign({overflow:"hidden"},yY),O3=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},wY(e)),{display:"inline-block",padding:e.segmentedPadding,color:e.itemColor,backgroundColor:e.segmentedBgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":Object.assign(Object.assign({},Wp(e)),{color:e.itemHoverColor}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:e.controlHeight-2*e.segmentedPadding,lineHeight:e.controlHeight-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontal}px`},S3),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},Wp(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-2*e.segmentedPadding,lineHeight:e.controlHeightLG-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-2*e.segmentedPadding,lineHeight:e.controlHeightSM-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),Gp(`&-disabled ${t}-item`,e)),Gp(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},D3=jl("Segmented",(e=>{const{lineWidth:t,lineWidthBold:n,colorBgLayout:r}=e,o=Al(e,{segmentedPadding:n,segmentedBgColor:r,segmentedPaddingHorizontal:e.controlPaddingHorizontal-t,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-t});return[O3(o)]}),(e=>{const{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:o,colorFill:i}=e;return{itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:o,itemActiveBg:i}}));jA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,className:r,rootClassName:o,block:i,options:a=[],size:s="middle",style:l}=e,c=jA(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:u,direction:d,segmented:p}=Nb.useContext(_Y),m=u("segmented",n),[f,h]=D3(m),g=RJ(s),b=Nb.useMemo((()=>a.map((e=>{if(function(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}(e)){const{icon:t,label:n}=e,r=jA(e,["icon","label"]);return Object.assign(Object.assign({},r),{label:Nb.createElement(Nb.Fragment,null,Nb.createElement("span",{className:`${m}-item-icon`},t),n&&Nb.createElement("span",null,n))})}return e}))),[a,m]),_=zK(r,o,null==p?void 0:p.className,{[`${m}-block`]:i,[`${m}-sm`]:"small"===g,[`${m}-lg`]:"large"===g},h),v=Object.assign(Object.assign({},null==p?void 0:p.style),l);return f(Nb.createElement($A,Object.assign({},c,{className:_,style:v,options:b,ref:t,prefixCls:m,direction:d})))}));PA=Nb.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),MA=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],LA=Nb.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=e.value,a=e.valueIndex,s=e.onStartMove,l=e.style,c=e.render,u=e.dragging,d=e.onOffsetChange,p=Si(e,MA),m=Nb.useContext(PA),f=m.min,h=m.max,g=m.direction,b=m.disabled,_=m.keyboard,v=m.range,y=m.tabIndex,w=m.ariaLabelForHandle,k=m.ariaLabelledByForHandle,x=m.ariaValueTextFormatterForHandle,E="".concat(o,"-handle"),S=function(e){b||s(e,a)},O=qp(g,i,f,h),D=Nb.createElement("div",pa({ref:t,className:zK(E,(n={},Ei(n,"".concat(E,"-").concat(a+1),v),Ei(n,"".concat(E,"-dragging"),u),n)),style:ka(ka({},O),l),onMouseDown:S,onTouchStart:S,onKeyDown:function(e){if(!b&&_){var t=null;switch(e.which||e.keyCode){case MC.LEFT:t="ltr"===g||"btt"===g?-1:1;break;case MC.RIGHT:t="ltr"===g||"btt"===g?1:-1;break;case MC.UP:t="ttb"!==g?1:-1;break;case MC.DOWN:t="ttb"!==g?-1:1;break;case MC.HOME:t="min";break;case MC.END:t="max";break;case MC.PAGE_UP:t=2;break;case MC.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),d(t,a))}},tabIndex:b?null:Xp(y,a),role:"slider","aria-valuemin":f,"aria-valuemax":h,"aria-valuenow":i,"aria-disabled":b,"aria-label":Xp(w,a),"aria-labelledby":Xp(k,a),"aria-valuetext":null===(r=Xp(x,a))||void 0===r?void 0:r(i),"aria-orientation":"ltr"===g||"rtl"===g?"horizontal":"vertical"},p));return c&&(D=c(D,{index:a,prefixCls:o,value:i,dragging:u})),D})),FA=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],BA=Nb.forwardRef((function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,i=e.onOffsetChange,a=e.values,s=e.handleRender,l=e.draggingIndex,c=Si(e,FA),u=Nb.useRef({});return Nb.useImperativeHandle(t,(function(){return{focus:function(e){var t;null===(t=u.current[e])||void 0===t||t.focus()}}})),Nb.createElement(Nb.Fragment,null,a.map((function(e,t){return Nb.createElement(LA,pa({ref:function(e){e?u.current[t]=e:delete u.current[t]},dragging:l===t,prefixCls:n,style:Xp(r,t),key:t,value:e,valueIndex:t,onStartMove:o,onOffsetChange:i,render:s},c))})))})),HA=Nb.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x,E,S=e.prefixCls,O=void 0===S?"rc-slider":S,D=e.className,C=e.style,T=e.disabled,N=void 0!==T&&T,R=e.keyboard,I=void 0===R||R,A=e.autoFocus,$=e.onFocus,j=e.onBlur,P=e.min,M=void 0===P?0:P,L=e.max,F=void 0===L?100:L,B=e.step,H=void 0===B?1:B,U=e.value,z=e.defaultValue,G=e.range,W=e.count,V=e.onChange,q=e.onBeforeChange,X=e.onAfterChange,K=e.allowCross,Y=void 0===K||K,J=e.pushable,Q=void 0!==J&&J,Z=e.draggableTrack,ee=e.reverse,te=e.vertical,ne=e.included,re=void 0===ne||ne,oe=e.startPoint,ie=e.trackStyle,ae=e.handleStyle,se=e.railStyle,le=e.dotStyle,ce=e.activeDotStyle,ue=e.marks,de=e.dots,pe=e.handleRender,me=e.tabIndex,fe=void 0===me?0:me,he=e.ariaLabelForHandle,ge=e.ariaLabelledByForHandle,be=e.ariaValueTextFormatterForHandle,_e=Nb.useRef(),ve=Nb.useRef(),ye=Nb.useMemo((function(){return te?ee?"ttb":"btt":ee?"rtl":"ltr"}),[ee,te]),we=Nb.useMemo((function(){return isFinite(M)?M:0}),[M]),ke=Nb.useMemo((function(){return isFinite(F)?F:100}),[F]),xe=Nb.useMemo((function(){return null!==H&&H<=0?1:H}),[H]),Ee=Nb.useMemo((function(){return"boolean"==typeof Q?!!Q&&xe:Q>=0&&Q}),[Q,xe]),Se=Nb.useMemo((function(){return Object.keys(ue||{}).map((function(e){var t=ue[e],n={value:Number(e)};return t&&"object"===ki(t)&&!Nb.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n})).filter((function(e){var t=e.label;return t||"number"==typeof t})).sort((function(e,t){return e.value-t.value}))}),[ue]),Oe=function(e,t,n,r,o,i){var a=Nb.useCallback((function(n){var r=isFinite(n);return r=Math.min(t,n),Math.max(e,r)}),[e,t]),s=Nb.useCallback((function(r){var o,i,s,l;return null!==n?(o=e+Math.round((a(r)-e)/n)*n,i=function(e){return(String(e).split(".")[1]||"").length},s=Math.max(i(n),i(t),i(e)),l=Number(o.toFixed(s)),e<=l&&l<=t?l:null):null}),[n,e,t,a]),l=Nb.useCallback((function(o){var i,l,c=a(o),u=r.map((function(e){return e.value}));return null!==n&&u.push(s(o)),u.push(e,t),i=u[0],l=t-e,u.forEach((function(e){var t=Math.abs(c-e);t<=l&&(i=e,l=t)})),i}),[e,t,r,n,a,s]),c=function o(i,a,l,c){var u,d,p,m,f,h,g,b,_=arguments.length>3&&void 0!==c?c:"unit";return"number"==typeof a?(p=(d=i[l])+a,m=[],r.forEach((function(e){m.push(e.value)})),m.push(e,t),m.push(s(d)),f=a>0?1:-1,m.push(s("unit"===_?d+f*n:p)),m=m.filter((function(e){return null!==e})).filter((function(e){return a<0?e<=d:e>=d})),"unit"===_&&(m=m.filter((function(e){return e!==d}))),h="unit"===_?d:p,u=m[0],g=Math.abs(u-h),m.forEach((function(e){var t=Math.abs(e-h);t1?((b=ya(i))[l]=u,o(b,a-f,l,_)):u):"min"===a?e:"max"===a?t:void 0},u=function(e,t,n,r){var o=e[n],i=c(e,t,n,arguments.length>3&&void 0!==r?r:"unit");return{value:i,changed:i!==o}},d=function(e){return null===i&&0===e||"number"==typeof i&&e3&&void 0!==r?r:"unit",E=e.map(l),S=E[n],O=c(E,t,n,x);if(E[n]=O,!1===o)a=i||0,n>0&&E[n-1]!==S&&(E[n]=Math.max(E[n],E[n-1]+a)),n0;f-=1)for(h=!0;d(E[f]-E[f-1])&&h;)g=u(E,-1,f-1),E[f-1]=g.value,h=g.changed;for(b=E.length-1;b>0;b-=1)for(_=!0;d(E[b]-E[b-1])&&_;)v=u(E,-1,b-1),E[b-1]=v.value,_=v.changed;for(y=0;y=0?W+1:2);o.length=0&&_e.current.focus(e)}c(null)}),[l=s[0]]),d=Nb.useMemo((function(){return(!Z||null!==xe)&&Z}),[Z,xe]),p=function(e,t,n,o,i,a,s,l,c){var u,d,p,m,f,h=Ua(Nb.useState(null),2),g=h[0],b=h[1],_=Ua(Nb.useState(-1),2),v=_[0],y=_[1],w=Ua(Nb.useState(n),2),k=w[0],x=w[1],E=Ua(Nb.useState(n),2),S=E[0],O=E[1],D=Nb.useRef(null),C=Nb.useRef(null);return Nb.useEffect((function(){-1===v&&x(n)}),[n,v]),Nb.useEffect((function(){return function(){document.removeEventListener("mousemove",D.current),document.removeEventListener("mouseup",C.current),document.removeEventListener("touchmove",D.current),document.removeEventListener("touchend",C.current)}}),[]),u=function(e,t){k.some((function(t,n){return t!==e[n]}))&&(void 0!==t&&b(t),x(e),s(e))},(p=Nb.useRef(d=function(e,t){var n,r,s,l,d,p,m,f;-1===e?(n=S[0],r=i-S[S.length-1],s=t*(i-o),s=Math.max(s,o-n),s=Math.min(s,r),l=a(n+s),s=l-n,d=S.map((function(e){return e+s})),u(d)):(p=(i-o)*t,(m=ya(k))[e]=S[e],f=c(m,p,e,"dist"),u(f.values,f.value))})).current=d,m=function(o,i){var a,s,l,c,u,d;o.stopPropagation(),a=n[i],y(i),b(a),O(n),s=Kp(o),l=s.pageX,c=s.pageY,u=function(n){var r,o,a,s,u,d,m;switch(n.preventDefault(),o=(r=Kp(n)).pageX-l,a=r.pageY-c,u=(s=e.current.getBoundingClientRect()).width,d=s.height,t){case"btt":m=-a/d;break;case"ttb":m=a/d;break;case"rtl":m=-o/u;break;default:m=o/u}p.current(i,m)},d=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",u),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",u),D.current=null,C.current=null,y(-1),null==X||X(r($e.current))},document.addEventListener("mouseup",d),document.addEventListener("mousemove",u),document.addEventListener("touchend",d),document.addEventListener("touchmove",u),D.current=u,C.current=d},f=Nb.useMemo((function(){var e=ya(n).sort((function(e,t){return e-t})),t=ya(k).sort((function(e,t){return e-t}));return e.every((function(e,n){return e===t[n]}))?k:n}),[n,k]),[v,g,f,m]}(ve,ye,Ae,we,ke,Ce,o,0,Te),m=Ua(p,4),h=m[1],g=m[2],b=m[3],_=function(e,t){b(e,t),null==q||q(r($e.current))},Nb.useEffect((function(){if(!v){var e=Ae.lastIndexOf(h);_e.current.focus(e)}}),[v=-1!==(f=m[0])]),y=Nb.useMemo((function(){return ya(g).sort((function(e,t){return e-t}))}),[g]),w=Ua(Nb.useMemo((function(){return G?[y[0],y[y.length-1]]:[we,y[0]]}),[y,G,we]),2),k=w[0],x=w[1],Nb.useImperativeHandle(t,(function(){return{focus:function(){_e.current.focus(0)},blur:function(){var e=document.activeElement;ve.current.contains(e)&&(null==e||e.blur())}}})),Nb.useEffect((function(){A&&_e.current.focus(0)}),[]),E=Nb.useMemo((function(){return{min:we,max:ke,direction:ye,disabled:N,keyboard:I,step:xe,included:re,includedStart:k,includedEnd:x,range:G,tabIndex:fe,ariaLabelForHandle:he,ariaLabelledByForHandle:ge,ariaValueTextFormatterForHandle:be}}),[we,ke,ye,N,I,xe,re,k,x,G,fe,he,ge,be]),Nb.createElement(PA.Provider,{value:E},Nb.createElement("div",{ref:ve,className:zK(O,D,(n={},Ei(n,"".concat(O,"-disabled"),N),Ei(n,"".concat(O,"-vertical"),te),Ei(n,"".concat(O,"-horizontal"),!te),Ei(n,"".concat(O,"-with-marks"),Se.length),n)),style:C,onMouseDown:a},Nb.createElement("div",{className:"".concat(O,"-rail"),style:se}),Nb.createElement(Jp,{prefixCls:O,style:ie,values:y,startPoint:oe,onStartMove:d?_:null}),Nb.createElement(tm,{prefixCls:O,marks:Se,dots:de,style:le,activeStyle:ce}),Nb.createElement(BA,{ref:_e,prefixCls:O,style:ae,values:g,draggingIndex:f,onStartMove:_,onOffsetChange:u,onFocus:$,onBlur:j,handleRender:pe}),Nb.createElement(Zp,{prefixCls:O,marks:Se,onClick:i})))}));const T3=Nb.forwardRef(((e,t)=>{function n(){DD.cancel(i.current),i.current=null}const{open:r}=e,o=Nb.useRef(null),i=Nb.useRef(null);return Nb.useEffect((()=>(r?i.current=DD((()=>{var e;null===(e=o.current)||void 0===e||e.forceAlign(),i.current=null})):n(),n)),[r,e.title]),Nb.createElement(Q0,Object.assign({ref:Fs(o,t)},e))})),N3=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:o,marginFull:i,marginPart:a,colorFillContentHover:s}=e;return{[t]:Object.assign(Object.assign({},wY(e)),{position:"relative",height:r,margin:`${a}px ${i}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${i}px ${a}px`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track`]:{position:"absolute",backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:e.handleSize,height:e.handleSize,outline:"none",[`${t}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-e.handleLineWidth,insetBlockStart:-e.handleLineWidth,width:e.handleSize+2*e.handleLineWidth,height:e.handleSize+2*e.handleLineWidth,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:e.handleSize,height:e.handleSize,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:`\n inset-inline-start ${e.motionDurationMid},\n inset-block-start ${e.motionDurationMid},\n width ${e.motionDurationMid},\n height ${e.motionDurationMid},\n box-shadow ${e.motionDurationMid}\n `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),insetBlockStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),width:e.handleSizeHover+2*e.handleLineWidthHover,height:e.handleSizeHover+2*e.handleLineWidthHover},"&::after":{boxShadow:`0 0 0 ${e.handleLineWidthHover}px ${e.handleActiveColor}`,width:e.handleSizeHover,height:e.handleSizeHover,insetInlineStart:(e.handleSize-e.handleSizeHover)/2,insetBlockStart:(e.handleSize-e.handleSizeHover)/2}}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:o,height:o,backgroundColor:e.colorBgElevated,border:`${e.handleLineWidth}px solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[`\n ${t}-dot\n `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:e.handleSize,height:e.handleSize,boxShadow:`0 0 0 ${e.handleLineWidth}px ${new $D(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[`\n ${t}-mark-text,\n ${t}-dot\n `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},R3=(e,t)=>{const{componentCls:n,railSize:r,handleSize:o,dotSize:i}=e,a=t?"width":"height",s=t?"height":"width",l=t?"insetBlockStart":"insetInlineStart",c=t?"top":"insetInlineStart",u=(3*r-o)/2,d=(o-r)/2;return{[t?"paddingBlock":"paddingInline"]:r,[s]:3*r,[`${n}-rail`]:{[a]:"100%",[s]:r},[`${n}-track`]:{[s]:r},[`${n}-track-draggable`]:Object.assign({},t?{borderWidth:`${d}px 0`,transform:`translateY(-${d}px)`}:{borderWidth:`0 ${d}px`,transform:`translateX(-${d}px)`}),[`${n}-handle`]:{[l]:u},[`${n}-mark`]:{insetInlineStart:0,top:0,[c]:3*r+(t?0:e.marginFull),[a]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[c]:r,[a]:"100%",[s]:r},[`${n}-dot`]:{position:"absolute",[l]:(r-i)/2}}},I3=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},R3(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},A3=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},R3(e,!1)),{height:"100%"})}},$3=jl("Slider",(e=>{const t=Al(e,{marginPart:(e.controlHeight-e.controlSize)/2,marginFull:e.controlSize/2,marginPartWithMark:e.controlHeightLG-e.controlSize});return[N3(t),I3(t),A3(t)]}),(e=>{const t=e.controlHeightLG/4;return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:e.controlHeightSM/2,dotSize:8,handleLineWidth:e.lineWidth+1,handleLineWidthHover:e.lineWidth+3,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:e.colorPrimary,dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}}));UA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r"number"==typeof e?e.toString():"",P3=aK.forwardRef(((e,t)=>{const{prefixCls:n,range:r,className:o,rootClassName:i,style:a,disabled:s,tooltipPrefixCls:l,tipFormatter:c,tooltipVisible:u,getTooltipPopupContainer:d,tooltipPlacement:p}=e,m=UA(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:f,slider:h,getPrefixCls:g,getPopupContainer:b}=aK.useContext(_Y),_=aK.useContext($Y),v=null!=s?s:_,[y,w]=aK.useState({}),k=(e,t)=>{w((n=>Object.assign(Object.assign({},n),{[e]:t})))},x=(e,t)=>e||(t?"rtl"===f?"left":"right":"top"),E=g("slider",n),[S,O]=$3(E),D=zK(o,null==h?void 0:h.className,i,{[`${E}-rtl`]:"rtl"===f},O);"rtl"!==f||m.vertical||(m.reverse=!m.reverse);const[C,T]=aK.useMemo((()=>r?"object"==typeof r?[!0,r.draggableTrack]:[!0,!1]:[!1]),[r]),N=Object.assign(Object.assign({},null==h?void 0:h.style),a);return S(aK.createElement(HA,Object.assign({},m,{step:m.step,range:C,draggableTrack:T,className:D,style:N,disabled:v,ref:t,prefixCls:E,handleRender:(t,n)=>{var r;const{index:o,dragging:i}=n,{tooltip:a={},vertical:s}=e,m=Object.assign({},a),{open:f,placement:h,getPopupContainer:_,prefixCls:v,formatter:w}=m;let S;S=w||null===w?w:c||null===c?c:j3;const O=null!==(r=null!=f?f:u)&&void 0!==r?r:void 0===f&&!!S&&(y[o]||i),D=Object.assign(Object.assign({},t.props),{onMouseEnter:()=>k(o,!0),onMouseLeave:()=>k(o,!1)}),C=g("tooltip",null!=v?v:l);return aK.createElement(T3,Object.assign({},m,{prefixCls:C,title:S?S(n.value):"",open:O,placement:x(null!=h?h:p,s),key:o,overlayClassName:`${E}-tooltip`,getPopupContainer:_||d||b}),aK.cloneElement(t,D))}})))}));zA=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],GA=Nb.forwardRef((function(e,t){function n(e,t){var n=_;return c||(v(n=e),null==f||f(n,t)),n}var r,o=e.prefixCls,i=void 0===o?"rc-switch":o,a=e.className,s=e.checked,l=e.defaultChecked,c=e.disabled,u=e.loadingIcon,d=e.checkedChildren,p=e.unCheckedChildren,m=e.onClick,f=e.onChange,h=e.onKeyDown,g=Si(e,zA),b=Ua(Il(!1,{value:s,defaultValue:l}),2),_=b[0],v=b[1],y=zK(i,a,(Ei(r={},"".concat(i,"-checked"),_),Ei(r,"".concat(i,"-disabled"),c),r));return Nb.createElement("button",pa({},g,{type:"button",role:"switch","aria-checked":_,disabled:c,className:y,ref:t,onKeyDown:function(e){e.which===MC.LEFT?n(!1,e):e.which===MC.RIGHT&&n(!0,e),null==h||h(e)},onClick:function(e){var t=n(!_,e);null==m||m(t,e)}}),u,Nb.createElement("span",{className:"".concat(i,"-inner")},Nb.createElement("span",{className:"".concat(i,"-inner-checked")},d),Nb.createElement("span",{className:"".concat(i,"-inner-unchecked")},p)))})),GA.displayName="Switch";const M3=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:e.switchMinWidthSM,height:e.switchHeightSM,lineHeight:`${e.switchHeightSM}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxSM,paddingInlineEnd:e.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeSM+2*e.switchPadding}px - ${2*e.switchInnerMarginMaxSM}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeSM+2*e.switchPadding}px + ${2*e.switchInnerMarginMaxSM}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeSM,height:e.switchPinSizeSM},[`${t}-loading-icon`]:{top:(e.switchPinSizeSM-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinSM,paddingInlineEnd:e.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeSM+2*e.switchPadding}px + ${2*e.switchInnerMarginMaxSM}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeSM+2*e.switchPadding}px - ${2*e.switchInnerMarginMaxSM}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},L3=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(e.switchPinSize-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},F3=e=>{const{componentCls:t,motion:n}=e,r=`${t}-handle`;return{[t]:{[r]:{position:"absolute",top:e.switchPadding,insetInlineStart:e.switchPadding,width:e.switchPinSize,height:e.switchPinSize,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:e.colorWhite,borderRadius:e.switchPinSize/2,boxShadow:e.switchHandleShadow,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${r}`]:{insetInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:n?{[`${r}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${r}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}:{}}}},B3=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:e.switchInnerMarginMax,paddingInlineEnd:e.switchInnerMarginMin,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${n}-checked, ${n}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSize+2*e.switchPadding}px - ${2*e.switchInnerMarginMax}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSize+2*e.switchPadding}px + ${2*e.switchInnerMarginMax}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${n}`]:{paddingInlineStart:e.switchInnerMarginMin,paddingInlineEnd:e.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSize+2*e.switchPadding}px + ${2*e.switchInnerMarginMax}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSize+2*e.switchPadding}px - ${2*e.switchInnerMarginMax}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:2*e.switchPadding,marginInlineEnd:2*-e.switchPadding}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:2*-e.switchPadding,marginInlineEnd:2*e.switchPadding}}}}}},H3=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},wY(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:e.switchMinWidth,height:e.switchHeight,lineHeight:`${e.switchHeight}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),SY(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},U3=jl("Switch",(e=>{const t=e.fontSize*e.lineHeight,n=e.controlHeight/2,r=t-4,o=n-4,i=Al(e,{switchMinWidth:2*r+8,switchHeight:t,switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchInnerMarginMin:r/2,switchInnerMarginMax:r+2+4,switchPadding:2,switchPinSize:r,switchBg:e.colorBgContainer,switchMinWidthSM:2*o+4,switchHeightSM:n,switchInnerMarginMinSM:o/2,switchInnerMarginMaxSM:o+2+4,switchPinSizeSM:o,switchHandleShadow:`0 2px 4px 0 ${new $D("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:.75*e.fontSizeIcon,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[H3(i),B3(i),F3(i),L3(i),M3(i)]}));WA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,size:r,disabled:o,loading:i,className:a,rootClassName:s,style:l}=e,c=WA(e,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:u,direction:d,switch:p}=Nb.useContext(_Y),m=Nb.useContext($Y),f=(null!=o?o:m)||i,h=u("switch",n),g=Nb.createElement("div",{className:`${h}-handle`},i&&Nb.createElement(fJ,{className:`${h}-loading-icon`})),[b,_]=U3(h),v=RJ(r),y=zK(null==p?void 0:p.className,{[`${h}-small`]:"small"===v,[`${h}-loading`]:i,[`${h}-rtl`]:"rtl"===d},a,s,_),w=Object.assign(Object.assign({},null==p?void 0:p.style),l);return b(Nb.createElement(NJ,{component:"Switch"},Nb.createElement(GA,Object.assign({},c,{prefixCls:h,className:y,style:w,disabled:f,ref:t,loadingIcon:g}))))}));z3.__ANT_SWITCH=!0;const G3=z3,W3=e=>{const{lineWidth:t,fontSizeIcon:n}=e,r=e.fontSizeSM;return Al(e,{tagFontSize:r,tagLineHeight:e.lineHeightSM*r+"px",tagIconSize:n-2*t,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary})},V3=e=>({defaultBg:e.colorFillQuaternary,defaultColor:e.colorText}),q3=jl("Tag",(e=>(e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o}=e,i=r-n,a=t-n;return{[o]:Object.assign(Object.assign({},wY(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${e.lineWidth}px ${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:a,color:e.colorTextDescription,fontSize:e.tagIconSize,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}}})(W3(e))),V3);VA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r(e=>Pl(e,((t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:i,darkColor:a}=n;return{[`${e.componentCls}-${t}`]:{color:r,background:i,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})))(W3(e))),V3),K3=(e,t,n)=>{const r="string"!=typeof(o=n)?o:o.charAt(0).toUpperCase()+o.slice(1);var o;return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},Y3=NY(["Tag","status"],(e=>{const t=W3(e);return[K3(t,"success","Success"),K3(t,"processing","Info"),K3(t,"error","Error"),K3(t,"warning","Warning")]}),V3);qA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,className:r,rootClassName:o,style:i,children:a,icon:s,color:l,onClose:c,closeIcon:u,closable:d,bordered:p=!0}=e,m=qA(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:f,direction:h,tag:g}=Nb.useContext(_Y),[b,_]=Nb.useState(!0);Nb.useEffect((()=>{"visible"in m&&_(m.visible)}),[m.visible]);const v=vd(l),y=function(e){return K0.includes(e)}(l),w=v||y,k=Object.assign(Object.assign({backgroundColor:l&&!w?l:void 0},null==g?void 0:g.style),i),x=f("tag",n),[E,S]=q3(x),O=zK(x,null==g?void 0:g.className,{[`${x}-${l}`]:w,[`${x}-has-color`]:l&&!w,[`${x}-hidden`]:!b,[`${x}-rtl`]:"rtl"===h,[`${x}-borderless`]:!p},r,o,S),D=e=>{e.stopPropagation(),null==c||c(e),e.defaultPrevented||_(!1)},[,C]=Pc(d,u,(e=>null===e?Nb.createElement(eJ,{className:`${x}-close-icon`,onClick:D}):Nb.createElement("span",{className:`${x}-close-icon`,onClick:D},e)),null,!1),T="function"==typeof m.onClick||a&&"a"===a.type,N=s||null,R=N?Nb.createElement(Nb.Fragment,null,N,a&&Nb.createElement("span",null,a)):a,I=Nb.createElement("span",Object.assign({},m,{ref:t,className:O,style:k}),R,C,v&&Nb.createElement(X3,{key:"preset",prefixCls:x}),y&&Nb.createElement(Y3,{key:"status",prefixCls:x}));return E(T?Nb.createElement(NJ,{component:"Tag"},I):I)},Q3=Nb.forwardRef(J3);Q3.CheckableTag=e=>{const{prefixCls:t,className:n,checked:r,onChange:o,onClick:i}=e,a=VA(e,["prefixCls","className","checked","onChange","onClick"]),{getPrefixCls:s}=Nb.useContext(_Y),l=s("tag",t),[c,u]=q3(l),d=zK(l,`${l}-checkable`,{[`${l}-checkable-checked`]:r},n,u);return c(Nb.createElement("span",Object.assign({},a,{className:d,onClick:e=>{null==o||o(!r),null==i||i(e)}})))};const Z3=Q3;XA=function(){return W0.useToken().token},JA=Nb.createContext({appearance:"light",setAppearance:function(){},isDarkMode:!1,themeMode:"light",setThemeMode:function(){},browserPrefers:null!==(YA=(KA=function(e){return"undefined"!=typeof window?matchMedia&&matchMedia("(prefers-color-scheme: ".concat(e,")")):{matches:!1}})("dark"))&&void 0!==YA&&YA.matches?"dark":"light"}),QA=function(){return Nb.useContext(JA)},ZA=function(){var e=XA(),t=QA(),n=t.appearance,r=t.isDarkMode;return Nb.useMemo((function(){return YO(KO({token:e,css:sS,appearance:n,isDarkMode:r}))}),[e,n,r])},e$=function(){var e=XA(),t=ZA();return Nb.useMemo((function(){return om(om({},e),{},{stylish:t})}),[e,t])},t$=function(e){return am(am({},e),{},{mobile:e.xs,tablet:e.md,laptop:e.lg,desktop:e.xxl})},n$=function(){var e=function(e){let t=!(arguments.length>0&&void 0!==e)||e;const n=Nb.useRef({}),r=function(){const[,e]=Nb.useReducer((e=>e+1),0);return e}(),o=fd();return dO((()=>{const e=o.subscribe((e=>{n.current=e,t&&r()}));return()=>o.unsubscribe(e)}),[]),n.current}();return Nb.useMemo((function(){return t$(e)}),[e])},r$=function(){var e=XA(),t={xs:"@media (max-width: ".concat(e.screenXSMax,"px)"),sm:"@media (max-width: ".concat(e.screenSMMax,"px)"),md:"@media (max-width: ".concat(e.screenMDMax,"px)"),lg:"@media (max-width: ".concat(e.screenLGMax,"px)"),xl:"@media (max-width: ".concat(e.screenXLMax,"px)"),xxl:"@media (min-width: ".concat(e.screenXXLMin,"px)")};return Nb.useMemo((function(){return t$(t)}),[e])},o$=function(e,t){return Object.entries(e).map((function(e){var n=Ua(e,2),r=n[0],o=n[1],i=o;return tS(o)||(i=sS(o)),t[r]?"".concat(t[r]," {").concat(i.styles,"}"):""})).join("")},i$=["stylish","appearance","isDarkMode","prefixCls"],a$=["prefixCls"],s$=function(e){var t=e.hashPriority,n=e.useTheme,r=e.EmotionContext;return function(e,o){var i=null==o?void 0:o.__BABEL_FILE_NAME__,a=!!i;return function(s){var l=n(),c=Nb.useContext(r),u=aS(c.cache,{hashPriority:(null==o?void 0:o.hashPriority)||t,label:null==o?void 0:o.label}),d=u.cx,p=u.css,m=r$(),f=Nb.useMemo((function(){var t,n,r,o,c,u,f;return e instanceof Function?(n=l.stylish,r=l.appearance,o=l.isDarkMode,c=l.prefixCls,u=Si(l,i$),f=function(e){return o$(e,m)},Object.assign(f,m),t=e({token:u,stylish:n,appearance:r,isDarkMode:o,prefixCls:c,cx:d,css:sS,responsive:f},s)):t=e,"object"===ki(t)&&(t=tS(t)?p(t):Object.fromEntries(Object.entries(t).map((function(e){var t=Ua(e,2),n=t[0],r=t[1],o=a?"".concat(i,"-").concat(n):void 0;return"object"===ki(r)?a?[n,p(r,"label:".concat(o))]:[n,p(r)]:[n,r]})))),t}),[s,l]);return Nb.useMemo((function(){var e=l.prefixCls,t=Si(l,a$);return{styles:f,cx:d,theme:t,prefixCls:e}}),[f,l])}}},l$=function(e){if(e.ThemeProvider)return e.ThemeProvider;var t=e.ThemeContext;return function(e){return Mb.jsx(t.Provider,{value:e.theme,children:e.children})}},c$=BS,u$=MS,d$=function(e){if(!e.ThemeContext)throw"ThemeContext is required. Please check your config.";u$=e.ThemeContext,c$=l$(e)};const e4=Nb.memo((function(e){var t,n=e.children,r=e.theme,o=e.prefixCls,i=e.getStaticInstance,a=e.staticInstanceConfig,s=QA(),l=s.appearance,c=s.isDarkMode,u=Ua(m3.useMessage(null==a?void 0:a.message),2),d=u[0],p=u[1],m=Ua(E3.useNotification(null==a?void 0:a.notification),2),f=m[0],h=m[1],g=Ua(g3.useModal(),2),b=g[0],_=g[1];return Nb.useEffect((function(){null==i||i({message:d,modal:b,notification:f})}),[]),t=Nb.useMemo((function(){var e,t=c?W0.darkAlgorithm:W0.defaultAlgorithm,n=r;return"function"==typeof r&&(n=r(l)),n?(e=n.algorithm?n.algorithm instanceof Array?n.algorithm:[n.algorithm]:[],lm(lm({},n),{},{algorithm:n.algorithm?[t].concat(ya(e)):t})):{algorithm:t}}),[r,c]),Mb.jsxs(VY,{prefixCls:o,theme:t,children:[p,h,_,n]})}));p$=function(e){"function"==typeof Nb.startTransition?Nb.startTransition(e):e()},f$=function(e){var t=e.themeMode,n=e.setAppearance,r=e.setBrowserPrefers,o=function(){KA("dark").matches?n("dark"):n("light")},i=function(){KA("dark").matches?r("dark"):r("light")};return Nb.useLayoutEffect((function(){if("auto"===t)return setTimeout(o,1),m$||(m$=KA("dark")),m$.addEventListener("change",o),function(){m$.removeEventListener("change",o)};p$((function(){n(t)}))}),[t]),Nb.useLayoutEffect((function(){return m$||(m$=KA("dark")),m$.addEventListener("change",i),function(){m$.removeEventListener("change",i)}}),[]),null};const t4=Nb.memo((function(e){var t,n=e.children,r=e.appearance,o=e.defaultAppearance,i=e.onAppearanceChange,a=e.themeMode,s=e.defaultThemeMode,l=e.onThemeModeChange,c=(0,e.useTheme)(),u=c.appearance,d=Ua(um("light",{value:a,defaultValue:null!=s?s:c.themeMode,onChange:function(e){return null==l?void 0:l(e)}}),2),p=d[0],m=d[1],f=Ua(um("light",{value:r,defaultValue:null!=o?o:u,onChange:function(e){return null==i?void 0:i(e)}}),2),h=f[0],g=f[1],b=Ua(Nb.useState(null!==(t=KA("dark"))&&void 0!==t&&t.matches?"dark":"light"),2),_=b[0],v=b[1],y=Ua(Nb.useState(!1),2),w=y[0],k=y[1];return Nb.useEffect((function(){p$((function(){k(!0)}))}),[]),Mb.jsxs(JA.Provider,{value:{themeMode:p,setThemeMode:m,appearance:h,setAppearance:g,isDarkMode:"dark"===h,browserPrefers:_},children:[w&&Mb.jsx(f$,{themeMode:p,setAppearance:g,setBrowserPrefers:v}),n]})}));h$=["stylish"];const n4=function(e){var t=e.children,n=e.customToken,r=e.defaultCustomToken,o=e.customStylish,i=e.prefixCls,a=void 0===i?"ant":i,s=e.StyledThemeProvider,l=QA(),c=l.appearance,u=l.isDarkMode,d=e$(),p=d.stylish,m=Si(d,h$),f=Nb.useMemo((function(){return r?r instanceof Function?r({token:m,appearance:c,isDarkMode:u}):r:{}}),[r,m,c]),h=Nb.useMemo((function(){return pm(pm({},f),n instanceof Function?n({token:m,appearance:c,isDarkMode:u}):n)}),[f,n,m,c]),g=Nb.useMemo((function(){return o?o({token:pm(pm({},m),h),stylish:p,appearance:c,isDarkMode:u,css:sS}):{}}),[o,m,h,p,c]),b=Nb.useMemo((function(){return pm(pm({},g),p)}),[g,p]),_=pm(pm(pm(pm({},m),h),{},{stylish:b},l),{},{prefixCls:a});return Mb.jsx(s,{theme:_,children:t})};g$=function(e){var t=e.styledConfig?l$(e.styledConfig):void 0,n=e.StyleEngineContext;return Nb.memo((function(r){var o=r.children,i=r.customToken,a=r.customStylish,s=r.theme,l=r.getStaticInstance,c=r.prefixCls,u=r.staticInstanceConfig,d=r.appearance,p=r.defaultAppearance,m=r.onAppearanceChange,f=r.themeMode,h=r.defaultThemeMode,g=r.onThemeModeChange,b=r.styled,_=Nb.useContext(n),v=_.prefixCls,y=_.StyledThemeContext,w=_.CustomThemeContext,k=Nb.useContext(w),x=b?l$(b):t||c$,E=c||v;return Mb.jsx(n.Provider,{value:{prefixCls:E,StyledThemeContext:(null==b?void 0:b.ThemeContext)||y||u$,CustomThemeContext:w},children:Mb.jsx(t4,{themeMode:f,defaultThemeMode:h,onThemeModeChange:g,defaultAppearance:p,appearance:d,onAppearanceChange:m,useTheme:e.useTheme,children:Mb.jsx(e4,{prefixCls:E,staticInstanceConfig:u,theme:s,getStaticInstance:l,children:Mb.jsx(n4,{prefixCls:E,customToken:i,defaultCustomToken:k,customStylish:a,StyledThemeProvider:x,children:o})})})})}))},b$=function(e){return function(){var t=Nb.useContext(e.StyleEngineContext),n=t.StyledThemeContext,r=t.CustomThemeContext,o=t.prefixCls,i=e$(),a=QA(),s=Nb.useContext(r),l=Nb.useContext(null!=n?n:u$)||{},c=Nb.useMemo((function(){return fm(fm(fm(fm({},i),a),s),{},{prefixCls:o||"ant"})}),[i,a,o,s]);return l&&0!==Object.keys(l).length?l:c}},_$=new JE,"undefined"!=typeof global&&(global.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__=_$),w$=(BX={key:"acss",speedy:!1},QX=gm(gm({},BX),{},{key:null!==(HX=BX.key)&&void 0!==HX?HX:"zcss",speedy:null!==(UX=BX.speedy)&&void 0!==UX&&UX}),ZX=WE({key:QX.key,speedy:QX.speedy,container:QX.container}),eK=lS(ZX),tK=XO(eK),ZX.cache=_$.add(ZX.cache),GX=null===(zX=QX.styled)||void 0===zX?void 0:zX.ThemeContext,VX=b$({StyleEngineContext:WX=Nb.createContext({CustomThemeContext:Nb.createContext(QX.customToken?QX.customToken:{}),StyledThemeContext:GX,prefixCls:null==QX?void 0:QX.prefixCls})}),qX=s$({hashPriority:QX.hashPriority,useTheme:VX,EmotionContext:eK}),XX=US(VX),KX=zS(qX),YX=g$({styledConfig:QX.styled,StyleEngineContext:WX,useTheme:VX}),JX=aS(ZX.cache,{hashPriority:QX.hashPriority}),v$={createStyles:qX,createGlobalStyle:XX,createStylish:KX,css:sS,cx:JX.cx,keyframes:ZX.keyframes,injectGlobal:ZX.injectGlobal,styleManager:ZX,useTheme:VX,StyleProvider:tK,ThemeProvider:YX}).createGlobalStyle,k$=v$.css,x$=v$.cx,E$=v$.keyframes,S$=v$.ThemeProvider,O$=v$.StyleProvider,D$=v$.useTheme,N$=(y$=v$.createStyles)((function(e){var t=e.css,n=E$(C$||(C$=Oi(["\n 0% {\n rotate: 0deg;\n }\n 100% {\n rotate: 360deg;\n }\n "])));return{spin:t(T$||(T$=Oi(["\n animation: "," 1s linear infinite;\n "])),n)}})),R$=["icon","size","color","fill","className","spin"],I$=function(e){var t,n;switch(e){case"large":t=24,n=2;break;case"normal":t=20,n=2;break;case"small":t=14,n=1.5;break;default:e?(t=(null==e?void 0:e.fontSize)||24,n=(null==e?void 0:e.strokeWidth)||2):(t="1em",n=2)}return{fontSize:t,strokeWidth:n}};const r4=Nb.memo((function(e){var t=e.icon,n=e.size,r=e.color,o=e.fill,i=e.className,a=e.spin,s=Si(e,R$),l=N$(),c=l.styles,u=l.cx,d=t,p=Nb.useMemo((function(){return I$(n)}),[n]),m=p.fontSize,f=p.strokeWidth;return Mb.jsx("span",_m(_m({className:u("anticon",a&&c.spin,i),role:"img"},s),{},{children:Mb.jsx(d,{color:r,fill:null!=o?o:"transparent",focusable:!1,height:m,size:m,strokeWidth:f,width:m})}))}));$$=y$((function(e,t){var n,r,o=e.token,i=e.isDarkMode,a=t.offset,s=(null!==(n=null==a?void 0:a.x)&&void 0!==n?n:0)+"px",l=(null!==(r=null==a?void 0:a.y)&&void 0!==r?r:0)+"px",c=t.outside?"0":".1",u=t.size+"px";return(0,e.css)(A$||(A$=Oi(["\n pointer-events: none;\n\n position: absolute;\n z-index: 1;\n inset: 0;\n\n opacity: ",";\n background: radial-gradient(\n "," circle at "," ",",\n ",",\n ","\n );\n border-radius: inherit;\n\n transition: all 0.2s;\n "])),c,u,s,l,i?o.colorText:"#fff",i?"transparent":o.colorTextQuaternary)})),j$=["className","size"],P$=function(){var e=Ua(Nb.useState(),2),t=e[0],n=e[1],r=Ua(Nb.useState(!0),2),o=r[0],i=r[1],a=Nb.useRef();return Nb.useEffect((function(){var e,t,r;if(a.current&&a.current.parentElement)return t=function(t){var r=e.getBoundingClientRect();n({x:t.clientX-r.x,y:t.clientY-r.y}),i(!1)},r=function(){i(!0)},(e=a.current.parentElement).addEventListener("mousemove",t),e.addEventListener("mouseleave",r),function(){e.removeEventListener("mousemove",t),e.removeEventListener("mouseleave",r)}}),[]),[t,o,a]};const o4=Nb.memo((function(e){var t=e.className,n=e.size,r=void 0===n?64:n,o=Si(e,j$),i=Ua(P$(),3),a=i[2],s=$$({offset:i[0],outside:i[1],size:r});return Mb.jsx("div",function(e){var t,n;for(t=1;ti?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0,r=Array(i);++o-1},HP=function(e,t){var n=this.__data__,r=MP(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ef.prototype.clear=function(){this.__data__=[],this.size=0},ef.prototype.delete=LP,ef.prototype.get=FP,ef.prototype.has=BP,ef.prototype.set=HP,zP=UP=ef,GP=function(){this.__data__=new zP,this.size=0},WP=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},VP=function(e){return this.__data__.get(e)},qP=function(e){return this.__data__.has(e)},XP=SP,KP=uP,YP=function(e){if(!KP(e))return!1;var t=XP(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},EX=/[^.]+$/.exec((JP=mP["__core-js_shared__"])&&JP.keys&&JP.keys.IE_PROTO||""),QP=EX?"Symbol(src)_1."+EX:"",ZP=Function.prototype.toString,tM=YP,nM=function(e){return!!QP&&QP in e},rM=uP,oM=eM=function(e){if(null!=e){try{return ZP.call(e)}catch($X){}try{return e+""}catch($X){}}return""},iM=/[\\^$.*+?()[\]{}|]/g,aM=/^\[object .+?Constructor\]$/,sM=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(iM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),lM=function(e,t){return null==e?void 0:e[t]},cM=function(e){return!(!rM(e)||nM(e))&&(tM(e)?sM:aM).test(oM(e))},uM=lM,dM=function(e,t){var n=uM(e,t);return cM(n)?n:void 0},pM=dM(mP,"Map"),mM=dM(Object,"create"),hM=fM=mM,gM=fM,bM=Object.prototype.hasOwnProperty,_M=fM,vM=Object.prototype.hasOwnProperty,yM=fM,wM=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},kM=function(e){var t,n=this.__data__;return gM?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:bM.call(n,e)?n[e]:void 0},xM=function(e){var t=this.__data__;return _M?void 0!==t[e]:vM.call(t,e)},EM=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=yM&&void 0===t?"__lodash_hash_undefined__":t,this},tf.prototype.clear=function(){this.__data__=hM?hM(null):{},this.size=0},tf.prototype.delete=wM,tf.prototype.get=kM,tf.prototype.has=xM,tf.prototype.set=EM,SM=tf,OM=UP,DM=pM,CM=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},NM=TM=function(e,t){var n=e.__data__;return CM(t)?n["string"==typeof t?"string":"hash"]:n.map},RM=TM,IM=TM,AM=TM,$M=function(e){var t=NM(this,e).delete(e);return this.size-=t?1:0,t},jM=function(e){return RM(this,e).get(e)},PM=function(e){return IM(this,e).has(e)},MM=function(e,t){var n=AM(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},nf.prototype.clear=function(){this.size=0,this.__data__={hash:new SM,map:new(DM||OM),string:new SM}},nf.prototype.delete=$M,nf.prototype.get=jM,nf.prototype.has=PM,nf.prototype.set=MM,FM=UP,BM=pM,HM=LM=nf,UM=UP,zM=WP,GM=VP,WM=qP,VM=function(e,t){var n,r=this.__data__;if(r instanceof FM){if(n=r.__data__,!BM||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new HM(n)}return r.set(e,t),this.size=r.size,this},rf.prototype.clear=GP,rf.prototype.delete=zM,rf.prototype.get=GM,rf.prototype.has=WM,rf.prototype.set=VM,qM=rf,XM=LM,KM=function(e){return this.__data__.has(e)},of.prototype.add=of.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},of.prototype.has=KM,QM=YM=of,ZM=function(e,t){for(var n=-1,r=null==e?0:e.length;++nh))return!1;if(a=i.get(e),s=i.get(t),a&&s)return a==t&&s==e;for(l=-1,c=!0,u=2&n?new QM:void 0,i.set(e,t),i.set(t,e);++l-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},ML=OP,(LL={})["[object Float32Array]"]=LL["[object Float64Array]"]=LL["[object Int8Array]"]=LL["[object Int16Array]"]=LL["[object Int32Array]"]=LL["[object Uint8Array]"]=LL["[object Uint8ClampedArray]"]=LL["[object Uint16Array]"]=LL["[object Uint32Array]"]=!0,LL["[object Arguments]"]=LL["[object Array]"]=LL["[object ArrayBuffer]"]=LL["[object Boolean]"]=LL["[object DataView]"]=LL["[object Date]"]=LL["[object Error]"]=LL["[object Function]"]=LL["[object Map]"]=LL["[object Number]"]=LL["[object Object]"]=LL["[object RegExp]"]=LL["[object Set]"]=LL["[object String]"]=LL["[object WeakMap]"]=!1,FL=function(e){return ML(e)&&PL(e.length)&&!!LL[jL(e)]},BL=function(e){return function(t){return e(t)}},function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,o=r&&r.exports===n&&dP.process,i=function(){try{return r&&r.require&&r.require("util").types||o&&o.binding&&o.binding("util")}catch($X){}}();e.exports=i}(HL={exports:{}},HL.exports),UL=FL,WL=(GL=(zL=HL.exports)&&zL.isTypedArray)?BL(GL):UL,qL=wL,XL=TL,KL=pL,YL=RL,JL=AL,QL=VL=WL,ZL=Object.prototype.hasOwnProperty,eF=function(e,t){var n,r=KL(e),o=!r&&XL(e),i=!r&&!o&&YL(e),a=!r&&!o&&!i&&QL(e),s=r||o||i||a,l=s?qL(e.length,String):[],c=l.length;for(n in e)!t&&!ZL.call(e,n)||s&&("length"==n||i&&("offset"==n||"parent"==n)||a&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||JL(n,c))||l.push(n);return l},tF=Object.prototype,nF=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||tF)},nK=Object.keys,rK=Object,rF=nF,oF=function(e){return nK(rK(e))},iF=Object.prototype.hasOwnProperty,aF=function(e){var t,n;if(!rF(e))return oF(e);for(n in t=[],Object(e))iF.call(e,n)&&"constructor"!=n&&t.push(n);return t},sF=YP,lF=$L,cF=eF,uF=aF,dF=function(e){return null!=e&&lF(e.length)&&!sF(e)},pF=function(e){return dF(e)?cF(e):uF(e)},mF=hL,fF=yL,hF=pF,gF=function(e){return mF(e,hF,fF)},bF=gF,_F=Object.prototype.hasOwnProperty,vF=function(e,t,n,r,o,i){var a,s,l,c,u,d,p,m,f,h,g,b=1&n,_=bF(e),v=_.length;if(v!=bF(t).length&&!b)return!1;for(a=v;a--;)if(s=_[a],!(b?s in t:_F.call(t,s)))return!1;if(l=i.get(e),c=i.get(t),l&&c)return l==t&&c==e;for(u=!0,i.set(e,t),i.set(t,e),d=b;++a .ant-menu-item-only-child,\n .ant-menu-submenu-title {\n width: 100%;\n margin: 0 !important;\n border-top: none;\n border-radius: 0;\n\n &:active {\n color: ",";\n background-color: ",";\n }\n }\n\n .ant-menu-item-only-child:first-child {\n border-top: none;\n }\n\n .ant-menu-submenu-title[aria-expanded='true'] {\n a {\n font-weight: 600;\n color: "," !important;\n }\n }\n\n .ant-menu-item-group-title {\n padding-top: 8px;\n padding-bottom: 8px;\n\n font-size: 12px;\n font-weight: 500;\n line-height: 1;\n text-overflow: ellipsis;\n text-transform: uppercase;\n white-space: nowrap;\n\n background: ",";\n }\n\n .ant-menu-item {\n width: calc(100% - 16px) !important;\n margin: 8px !important;\n border-radius: ","px;\n\n &:hover,\n &:active {\n color: "," !important;\n background: "," !important;\n }\n }\n\n .ant-menu-item-active {\n width: calc(100% - 16px) !important;\n margin: 8px !important;\n background: ",";\n border-radius: ","px;\n }\n\n .ant-menu-item-selected {\n font-weight: 600;\n color: ",";\n background: ",";\n\n &:hover,\n &:active {\n color: "," !important;\n background: "," !important;\n }\n }\n "])),n.colorText,n.colorFill,n.colorText,n.colorFillSecondary,n.borderRadius,n.colorText,n.colorFillSecondary,n.colorFillSecondary,n.borderRadius,n.colorBgLayout,n.colorText,n.colorBgLayout,n.colorText)}})),wB=["items","openKeys","selectedKeys","opened","setOpened","className","headerHeight"];const k4=Nb.memo((function(e){var t=e.items,n=e.openKeys,r=e.selectedKeys,o=e.opened,i=e.setOpened,a=e.className,s=e.headerHeight,l=void 0===s?64:s,c=Si(e,wB),u=yB(l),d=u.styles;return Mb.jsxs(w4,hf(hf({className:(0,u.cx)(d.container,a),onClick:function(){i(!o)}},c),{},{children:[Mb.jsx(a4,{icon:o?MK:OK,size:"site"}),Mb.jsxs(k5,{bodyStyle:{padding:0},className:d.drawer,closeIcon:void 0,headerStyle:{display:"none"},open:o,placement:"left",rootClassName:d.drawerRoot,width:"100vw",children:[Mb.jsx(k1,{className:d.menu,items:t,mode:"inline",openKeys:n,selectedKeys:r}),Mb.jsx("div",{className:d.fillRect})]})]}))}));kB=["icon","children","size"],SB=y$((function(e){var t=e.cx,n=e.css,r=e.token;return{small:n(xB||(xB=Oi(["\n padding: 2px 6px;\n line-height: 1;\n "]))),tag:t(n(EB||(EB=Oi(["\n color: "," !important;\n background: ",";\n border: ","px;\n\n &:hover {\n color: ",";\n background: ",";\n }\n "])),r.colorTextSecondary,r.colorFillSecondary,r.borderRadius,r.colorText,r.colorFill))}}));const x4=Nb.memo((function(e){var t=e.icon,n=e.children,r=e.size,o=void 0===r?"default":r,i=Si(e,kB),a=SB(),s=a.styles;return Mb.jsx(Z3,bf(bf({bordered:!1,className:(0,a.cx)(s.tag,"small"===o&&s.small)},i),{},{children:Mb.jsxs(fB,{align:"center",gap:4,horizontal:!0,children:[t,n]})}))}));OB={exports:{}},DB={},CB={exports:{}},TB={},NB=Nb,RB="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},IB=NB.useState,AB=NB.useEffect,$B=NB.useLayoutEffect,jB=NB.useDebugValue,PB="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=IB({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return $B((function(){o.value=n,o.getSnapshot=t,_f(o)&&i({inst:o})}),[e,n,t]),AB((function(){return _f(o)&&i({inst:o}),e((function(){_f(o)&&i({inst:o})}))}),[e]),jB(n),n},TB.useSyncExternalStore=void 0!==NB.useSyncExternalStore?NB.useSyncExternalStore:PB,CB.exports=TB,MB=Nb,LB="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},FB=CB.exports.useSyncExternalStore,BB=MB.useRef,HB=MB.useEffect,UB=MB.useMemo,zB=MB.useDebugValue,DB.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i,a,s=BB(null);return null===s.current?s.current=i={hasValue:!1,value:null}:i=s.current,s=UB((function(){function e(e){var t,n;return l?(t=s,LB(a,e)?t:(n=r(e),void 0!==o&&o(t,n)?t:(a=e,s=n))):(l=!0,a=e,e=r(e),s=void 0!==o&&i.hasValue&&o(t=i.value,e)?t:e)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]),a=FB(e,s[0],s[1]),HB((function(){i.hasValue=!0,i.value=a}),[a]),zB(a),a},OB.exports=DB;const E4=t(OB.exports);GB={blue:{dark:["#000506","#002126","#00363f","#004e59","#006675","#008093","#159ab0","#47b3ca","#6acde4","#8ae8ff","#b8f0ff","#def7ff","#ffffff"],darkA:["rgba(0, 167, 200, 0.03)","rgba(0, 220, 253, 0.15)","rgba(0, 216, 252, 0.25)","rgba(0, 223, 254, 0.35)","rgba(0, 222, 254, 0.46)","rgba(0, 221, 253, 0.58)","rgba(30, 223, 255, 0.69)","rgba(89, 224, 252, 0.8)","rgba(118, 228, 253, 0.9)","#8ae8ff","#b8f0ff","#def7ff","#ffffff"],light:["#ffffff","#fbfeff","#f4fcff","#eafaff","#dff7ff","#d3f5ff","#c4f2ff","#b4efff","#a1ecff","#8ae8ff","#159ab0","#004e59","#000506"],lightA:["rgba(255, 255, 255, 0.01)","rgba(55, 205, 255, 0.02)","rgba(35, 195, 255, 0.05)","rgba(22, 199, 255, 0.09)","rgba(9, 193, 255, 0.13)","rgba(11, 199, 255, 0.18)","rgba(9, 201, 255, 0.24)","rgba(5, 202, 255, 0.3)","rgba(1, 204, 255, 0.37)","rgba(1, 205, 255, 0.46)","rgba(1, 145, 169, 0.92)","#004e59","#000506"]},bnw:{dark:["#000000","#111111","#333333","#555555","#666666","#888888","#aaaaaa","#cccccc","#dddddd","#eeeeee","#ffffff","#ffffff","#ffffff"],darkA:["rgba(255, 255, 255, 0.02)","rgba(255, 255, 255, 0.08)","rgba(255, 255, 255, 0.16)","rgba(255, 255, 255, 0.22)","rgba(255, 255, 255, 0.36)","rgba(255, 255, 255, 0.48)","rgba(255, 255, 255, 0.6)","rgba(255, 255, 255, 0.72)","rgba(255, 255, 255, 0.84)","rgba(255, 255, 255, 0.88)","rgba(255, 255, 255, 0.92)","rgba(255, 255, 255, 0.96)","rgba(255, 255, 255, 0.98)"],light:["#ffffff","#f5f5f5","#eeeeee","#cccccc","#aaaaaa","#888888","#666666","#444444","#333333","#222222","#111111","#111111","#111111"],lightA:["rgba(0, 0, 0, 0.02)","rgba(0, 0, 0, 0.08)","rgba(0, 0, 0, 0.16)","rgba(0, 0, 0, 0.22)","rgba(0, 0, 0, 0.36)","rgba(0, 0, 0, 0.48)","rgba(0, 0, 0, 0.6)","rgba(0, 0, 0, 0.72)","rgba(0, 0, 0, 0.84)","rgba(0, 0, 0, 0.88)","rgba(0, 0, 0, 0.92)","rgba(0, 0, 0, 0.96)","rgba(0, 0, 0, 0.98)"]},cyan:{dark:["#000503","#00221c","#003930","#005245","#006c5b","#008772","#2fa28a","#55bca4","#75d7be","#95f3d9","#bdf7e4","#dffcf0","#ffffff"],darkA:["rgba(0, 250, 150, 0.02)","rgba(0, 243, 200, 0.14)","rgba(0, 248, 209, 0.23)","rgba(0, 248, 209, 0.33)","rgba(0, 251, 212, 0.43)","rgba(0, 255, 215, 0.53)","rgba(73, 253, 216, 0.64)","rgba(115, 254, 222, 0.74)","rgba(138, 253, 224, 0.85)","rgba(155, 253, 226, 0.96)","rgba(195, 255, 235, 0.97)","rgba(225, 255, 242, 0.99)","#ffffff"],light:["#ffffff","#f9fffb","#effff8","#e3fff4","#d8fef0","#ccfcec","#c0fae8","#b3f8e3","#a5f6de","#95f3d9","#2fa28a","#005245","#000503"],lightA:["rgba(255, 255, 255, 0.01)","rgba(55, 255, 122, 0.03)","rgba(26, 255, 155, 0.07)","rgba(0, 255, 155, 0.11)","rgba(11, 249, 161, 0.16)","rgba(0, 240, 160, 0.2)","rgba(3, 235, 163, 0.25)","rgba(2, 232, 162, 0.3)","rgba(5, 230, 163, 0.36)","rgba(3, 226, 165, 0.42)","rgba(1, 142, 112, 0.82)","#005245","#000503"]},geekblue:{dark:["#000216","#001343","#00225c","#003176","#00418f","#0052a8","#0264c1","#1877d5","#288aea","#369eff","#88bffb","#c5dffd","#ffffff"],darkA:["rgba(0, 22, 244, 0.09)","rgba(0, 70, 248, 0.27)","rgba(0, 92, 249, 0.37)","rgba(0, 104, 251, 0.47)","rgba(0, 116, 255, 0.56)","rgba(0, 124, 255, 0.66)","rgba(3, 132, 254, 0.76)","rgba(29, 142, 254, 0.84)","rgba(43, 150, 254, 0.92)","#369eff","rgba(137, 193, 254, 0.99)","#c5dffd","#ffffff"],light:["#ffffff","#f8faff","#eaf3ff","#daeaff","#c7e0ff","#b1d5ff","#9ac9ff","#7fbcff","#60aeff","#369eff","#0264c1","#003176","#000216"],lightA:["rgba(255, 255, 255, 0.01)","rgba(22, 88, 255, 0.03)","rgba(22, 122, 255, 0.09)","rgba(8, 115, 255, 0.15)","rgba(0, 114, 255, 0.22)","rgba(3, 120, 255, 0.31)","rgba(3, 120, 255, 0.4)","rgba(4, 124, 255, 0.51)","rgba(3, 126, 255, 0.63)","rgba(1, 132, 255, 0.79)","#0264c1","#003176","#000216"]},gold:{dark:["#070300","#271a00","#3f2c00","#593f00","#745400","#906a00","#ac8100","#c99811","#e4b12f","#ffcb47","#ffdd90","#ffeecd","#ffffff"],darkA:["rgba(233, 100, 0, 0.03)","rgba(244, 163, 0, 0.16)","rgba(252, 176, 0, 0.25)","rgba(254, 180, 0, 0.35)","rgba(252, 183, 0, 0.46)","rgba(253, 186, 0, 0.57)","rgba(253, 190, 0, 0.68)","rgba(254, 192, 22, 0.79)","rgba(253, 197, 52, 0.9)","#ffcb47","#ffdd90","#ffeecd","#ffffff"],light:["#ffffff","#fffcff","#fff8f2","#fff4e2","#ffefd0","#ffe9bb","#ffe3a4","#ffdb8b","#ffd46d","#ffcb47","#ac8100","#593f00","#070300"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 105, 255, 0.02)","rgba(255, 138, 38, 0.06)","rgba(255, 163, 13, 0.12)","rgba(255, 171, 8, 0.19)","rgba(255, 174, 3, 0.27)","rgba(255, 177, 2, 0.36)","rgba(255, 177, 3, 0.46)","rgba(255, 181, 3, 0.58)","rgba(255, 184, 3, 0.73)","#ac8100","#593f00","#070300"]},gray:{dark:["#000000","#111111","#222222","#2d2d2d","#333333","#444444","#555555","#666666","#6f6f6f","#777777","#aaaaaa","#dddddd","#ffffff"],darkA:["rgba(255, 255, 255, 0.02)","rgba(255, 255, 255, 0.06)","rgba(255, 255, 255, 0.10)","rgba(255, 255, 255, 0.16)","rgba(255, 255, 255, 0.24)","rgba(255, 255, 255, 0.28)","rgba(255, 255, 255, 0.32)","rgba(255, 255, 255, 0.38)","rgba(255, 255, 255, 0.44)","rgba(255, 255, 255, 0.5)","rgba(255, 255, 255, 0.66)","rgba(255, 255, 255, 0.84)","#ffffff"],light:["#ffffff","#f8f8f8","#eeeeee","#e3e3e3","#dddddd","#cccccc","#bbbbbb","#aaaaaa","#999999","#888888","#666666","#333333","#080808"],lightA:["rgba(0, 0, 0, 0.015)","rgba(0, 0, 0, 0.03)","rgba(0, 0, 0, 0.06)","rgba(0, 0, 0, 0.12)","rgba(0, 0, 0, 0.18)","rgba(0, 0, 0, 0.24)","rgba(0, 0, 0, 0.32)","rgba(0, 0, 0, 0.38)","rgba(0, 0, 0, 0.44)","rgba(0, 0, 0, 0.5)","rgba(0, 0, 0, 0.68)","rgba(0, 0, 0, 0.84)","rgba(0, 0, 0, 0.98)"]},green:{dark:["#000503","#001d12","#002d1d","#003f28","#005232","#00653c","#007944","#1b8d4d","#3ba05a","#55b467","#96cd92","#cde6c3","#ffffff"],darkA:["rgba(0, 250, 150, 0.02)","rgba(0, 242, 150, 0.12)","rgba(0, 250, 161, 0.18)","rgba(0, 252, 160, 0.25)","rgba(0, 248, 152, 0.33)","rgba(0, 252, 150, 0.4)","rgba(0, 252, 142, 0.48)","rgba(48, 252, 137, 0.56)","rgba(94, 254, 143, 0.63)","rgba(120, 254, 145, 0.71)","rgba(185, 253, 180, 0.81)","rgba(225, 253, 214, 0.91)","#ffffff"],light:["#ffffff","#f4fdeb","#e7f8dd","#d8f2ce","#c7eabd","#b4e1ac","#a0d79b","#89cc8a","#71c179","#55b467","#007944","#003f28","#000503"],lightA:["rgba(255, 255, 255, 0.01)","rgba(117, 230, 5, 0.08)","rgba(84, 205, 12, 0.14)","rgba(60, 190, 10, 0.2)","rgba(40, 174, 1, 0.26)","rgba(28, 164, 3, 0.33)","rgba(18, 155, 5, 0.4)","rgba(4, 146, 6, 0.47)","rgba(1, 144, 16, 0.56)","rgba(1, 143, 28, 0.67)","#007944","#003f28","#000503"]},lime:{dark:["#020400","#142100","#253700","#374f00","#4b6800","#608200","#769d00","#8fb81b","#a9d42f","#c4f042","#daf685","#eefbbe","#ffffff"],darkA:["rgba(100, 200, 0, 0.02)","rgba(154, 254, 0, 0.13)","rgba(168, 250, 0, 0.22)","rgba(177, 255, 0, 0.31)","rgba(183, 254, 0, 0.41)","rgba(188, 255, 0, 0.51)","rgba(190, 253, 0, 0.62)","rgba(196, 252, 37, 0.73)","rgba(204, 255, 57, 0.83)","rgba(209, 255, 70, 0.94)","rgba(225, 254, 137, 0.97)","rgba(240, 254, 192, 0.99)","#ffffff"],light:["#ffffff","#feffeb","#f9ffd8","#f2ffc1","#ebfdaf","#e4fc9b","#ddf987","#d5f773","#cdf35c","#c4f042","#769d00","#374f00","#020400"],lightA:["rgba(255, 255, 255, 0.01)","rgba(242, 255, 5, 0.08)","rgba(218, 255, 11, 0.16)","rgba(203, 255, 7, 0.25)","rgba(193, 249, 5, 0.32)","rgba(187, 247, 5, 0.4)","rgba(183, 242, 0, 0.47)","rgba(179, 240, 0, 0.55)","rgba(177, 236, 0, 0.64)","rgba(175, 235, 0, 0.74)","#769d00","#374f00","#020400"]},magenta:{dark:["#100002","#350011","#4b001e","#63002d","#79093f","#8e1752","#a32466","#b8317b","#ce3e91","#e34ba9","#f38bcb","#fec5e8","#ffffff"],darkA:["rgba(229, 0, 29, 0.07)","rgba(252, 0, 81, 0.21)","rgba(250, 0, 100, 0.3)","rgba(254, 0, 115, 0.39)","rgba(252, 19, 131, 0.48)","rgba(254, 41, 146, 0.56)","rgba(255, 56, 159, 0.64)","rgba(252, 67, 168, 0.73)","rgba(254, 77, 179, 0.81)","rgba(255, 84, 190, 0.89)","rgba(253, 145, 211, 0.96)","#fec5e8","#ffffff"],light:["#ffffff","#fff7f9","#ffeaf4","#ffdaee","#ffc7e7","#ffb2df","#ff99d6","#f980ca","#ef67ba","#e34ba9","#a32466","#63002d","#100002"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 105, 0.04)","rgba(255, 22, 133, 0.09)","rgba(255, 8, 142, 0.15)","rgba(255, 0, 146, 0.22)","rgba(255, 7, 152, 0.31)","rgba(255, 0, 153, 0.4)","rgba(243, 1, 149, 0.5)","rgba(228, 2, 140, 0.6)","rgba(216, 1, 134, 0.71)","rgba(148, 0, 77, 0.86)","#63002d","#100002"]},orange:{dark:["#080300","#271400","#3d2000","#552d00","#6f3a00","#8a4700","#a75400","#c66100","#e37013","#ff802b","#ffae87","#ffd7c8","#ffffff"],darkA:["rgba(200, 75, 0, 0.04)","rgba(244, 125, 0, 0.16)","rgba(254, 133, 0, 0.24)","rgba(250, 132, 0, 0.34)","rgba(252, 132, 0, 0.44)","rgba(251, 129, 0, 0.55)","rgba(253, 127, 0, 0.66)","rgba(254, 124, 0, 0.78)","rgba(255, 126, 21, 0.89)","#ff802b","#ffae87","#ffd7c8","#ffffff"],light:["#ffffff","#fff9f8","#fff0ec","#ffe6dd","#ffd9ca","#ffcbb5","#ffbb9c","#ffaa7f","#ff975c","#ff802b","#a75400","#552d00","#080300"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 22, 0.03)","rgba(255, 67, 17, 0.08)","rgba(255, 76, 12, 0.14)","rgba(255, 74, 3, 0.21)","rgba(255, 76, 0, 0.29)","rgba(255, 81, 1, 0.39)","rgba(255, 88, 4, 0.51)","rgba(255, 93, 0, 0.64)","rgba(255, 102, 0, 0.83)","#a75400","#552d00","#080300"]},purple:{dark:["#0d000b","#2e002a","#42003e","#560053","#670e66","#781e78","#892b8a","#9a399e","#ab46b2","#bd54c6","#d590da","#edc7ee","#ffffff"],darkA:["rgba(217, 0, 183, 0.06)","rgba(242, 0, 221, 0.19)","rgba(254, 0, 238, 0.26)","rgba(253, 0, 244, 0.34)","rgba(251, 34, 249, 0.41)","rgba(255, 64, 255, 0.47)","rgba(249, 78, 251, 0.55)","rgba(248, 92, 255, 0.62)","rgba(244, 100, 254, 0.7)","rgba(242, 108, 254, 0.78)","rgba(248, 167, 253, 0.86)","rgba(252, 212, 253, 0.94)","#ffffff"],light:["#ffffff","#fff6fb","#ffe7fd","#fdd6fe","#f6c4f8","#eeb1f1","#e49ce8","#d886de","#cb6ed2","#bd54c6","#892b8a","#560053","#0d000b"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 30, 155, 0.04)","rgba(255, 15, 235, 0.1)","rgba(243, 14, 249, 0.17)","rgba(218, 9, 226, 0.24)","rgba(200, 3, 210, 0.31)","rgba(186, 1, 196, 0.39)","rgba(174, 3, 186, 0.48)","rgba(164, 1, 176, 0.57)","rgba(156, 0, 170, 0.67)","rgba(113, 0, 114, 0.83)","#560053","#0d000b"]},red:{dark:["#0f0006","#34001d","#4b002b","#640039","#7a0c46","#911b53","#a72860","#bf356e","#d7427b","#f04f88","#ff8eab","#ffc9d3","#ffffff"],darkA:["rgba(250, 0, 100, 0.06)","rgba(248, 0, 138, 0.21)","rgba(250, 0, 143, 0.3)","rgba(250, 0, 142, 0.4)","rgba(254, 25, 146, 0.48)","rgba(254, 47, 146, 0.57)","rgba(253, 61, 145, 0.66)","rgba(255, 71, 147, 0.75)","rgba(253, 78, 145, 0.85)","rgba(255, 84, 145, 0.94)","#ff8eab","#ffc9d3","#ffffff"],light:["#ffffff","#fff7f7","#ffeced","#ffdde2","#ffccd5","#ffb8c7","#ffa2b8","#ff88a8","#fe6998","#f04f88","#a72860","#640039","#0f0006"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 55, 0.04)","rgba(255, 17, 30, 0.08)","rgba(255, 12, 48, 0.14)","rgba(255, 0, 45, 0.2)","rgba(255, 1, 55, 0.28)","rgba(255, 4, 63, 0.37)","rgba(255, 2, 70, 0.47)","rgba(253, 1, 80, 0.59)","rgba(233, 0, 83, 0.69)","rgba(151, 2, 68, 0.85)","#640039","#0f0006"]},volcano:{dark:["#0c0100","#2f0a00","#451200","#5d1900","#762000","#8e2a07","#a53716","#bc4424","#d45132","#ec5e41","#ff9480","#ffcbc3","#ffffff"],darkA:["rgba(240, 20, 0, 0.05)","rgba(247, 53, 0, 0.19)","rgba(246, 64, 0, 0.28)","rgba(251, 68, 0, 0.37)","rgba(251, 68, 0, 0.47)","rgba(254, 75, 12, 0.56)","rgba(254, 85, 34, 0.65)","rgba(254, 92, 49, 0.74)","rgba(255, 98, 60, 0.83)","rgba(254, 101, 70, 0.93)","#ff9480","#ffcbc3","#ffffff"],light:["#ffffff","#fff7f6","#ffece9","#ffded9","#ffcec5","#ffbbaf","#ffa695","#ff8e78","#fb745a","#ec5e41","#a53716","#5d1900","#0c0100"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 30, 0.04)","rgba(255, 44, 11, 0.09)","rgba(255, 35, 2, 0.15)","rgba(255, 42, 3, 0.23)","rgba(255, 43, 5, 0.32)","rgba(255, 43, 3, 0.42)","rgba(255, 42, 0, 0.53)","rgba(249, 41, 1, 0.65)","rgba(230, 40, 2, 0.75)","rgba(157, 38, 2, 0.92)","#5d1900","#0c0100"]},yellow:{dark:["#050400","#251d00","#3e3300","#584a00","#736300","#8e7d00","#ab9800","#c7b426","#e3d142","#ffef5c","#fff594","#fffad3","#ffffff"],darkA:["rgba(250, 200, 0, 0.02)","rgba(247, 193, 0, 0.15)","rgba(248, 204, 0, 0.25)","rgba(251, 211, 0, 0.35)","rgba(250, 215, 0, 0.46)","rgba(254, 223, 0, 0.56)","rgba(255, 227, 0, 0.67)","rgba(255, 231, 49, 0.78)","rgba(255, 235, 74, 0.89)","#ffef5c","#fff594","#fffad3","#ffffff"],light:["#ffffff","#fffeff","#fffcff","#fffbf1","#fffada","#fff9c2","#fff7aa","#fff592","#fff279","#ffef5c","#ab9800","#584a00","#050400"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 155, 255, 0.01)","rgba(255, 105, 255, 0.02)","rgba(255, 188, 22, 0.06)","rgba(255, 222, 8, 0.15)","rgba(255, 230, 1, 0.24)","rgba(255, 231, 5, 0.34)","rgba(255, 232, 2, 0.43)","rgba(255, 230, 2, 0.53)","rgba(255, 230, 0, 0.64)","#ab9800","#584a00","#050400"]}},WB=globalThis&&globalThis.__extends||(RX=function(e,t){return(RX=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}RX(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),VB=globalThis&&globalThis.__assign||function(){return VB=Object.assign||function(e){var t,n,r,o;for(n=1,r=arguments.length;n div {\n cursor: pointer;\n\n position: absolute;\n\n color: ",";\n\n background: ",";\n border-color: ",";\n border-style: solid;\n border-width: 1px;\n border-radius: 4px;\n\n transition: all 0.2s ",";\n\n &:hover {\n color: ",";\n background: ",";\n }\n\n &:active {\n color: ",";\n background: ",";\n }\n }\n "])),n.motionEaseOut,n.colorTextTertiary,n.colorFillTertiary,n.colorBorderSecondary,n.motionEaseOut,n.colorTextSecondary,n.colorFillSecondary,n.colorText,n.colorFill),i=k$(hH||(hH=Oi(["\n position: absolute;\n z-index: 200;\n "])));return{bottomFloat:x$(i,k$(gH||(gH=Oi(["\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n "])))),bottomHandle:x$("".concat($H,"-bottom-handle"),k$(bH||(bH=Oi(["\n ",";\n\n &::before {\n bottom: 50%;\n width: 100%;\n height: 2px;\n }\n "])),r)),container:x$($H,k$(_H||(_H=Oi(["\n flex-shrink: 0;\n border: 0 solid ",";\n\n &:hover {\n .","-toggle {\n opacity: 1;\n }\n }\n "])),n.colorBorderSecondary,$H)),fixed:k$(vH||(vH=Oi(["\n position: relative;\n "]))),fullscreen:k$(yH||(yH=Oi(["\n position: absolute;\n inset: ","px 0 0 0;\n\n width: 100%;\n height: calc(100% - ","px);\n\n background: ",";\n "])),t,t,n.colorBgLayout),handlerIcon:k$(wH||(wH=Oi(["\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s ",";\n "])),n.motionEaseOut),leftFloat:x$(i,k$(kH||(kH=Oi(["\n top: ","px;\n bottom: 0;\n left: 0;\n height: calc(100% - ","px);\n "])),t,t)),leftHandle:x$(k$(xH||(xH=Oi(["\n ",";\n\n &::before {\n left: 50%;\n width: 2px;\n height: 100%;\n }\n "])),r),"".concat($H,"-left-handle")),panel:x$("".concat($H,"-fixed"),k$(EH||(EH=Oi(["\n overflow: hidden;\n transition: all 0.2s ",";\n "])),n.motionEaseOut)),rightFloat:x$(i,k$(SH||(SH=Oi(["\n top: ","px;\n right: 0;\n bottom: 0;\n height: calc(100% - ","px);\n "])),t,t)),rightHandle:x$(k$(OH||(OH=Oi(["\n ",";\n &::before {\n right: 50%;\n width: 2px;\n height: 100%;\n }\n "])),r),"".concat($H,"-right-handle")),toggleBottom:x$("".concat($H,"-toggle"),"".concat($H,"-toggle-bottom"),o,k$(DH||(DH=Oi(["\n bottom: -","px;\n width: 100%;\n height: ","px;\n\n > div {\n left: 50%;\n\n width: ","px;\n height: 16px;\n margin-left: -20px;\n\n border-radius: 0 0 4px 4px;\n }\n "])),16,AH,40)),toggleLeft:x$("".concat($H,"-toggle"),"".concat($H,"-toggle-left"),o,k$(CH||(CH=Oi(["\n left: -","px;\n width: ","px;\n height: 100%;\n\n > div {\n top: 50%;\n\n width: ","px;\n height: ","px;\n margin-top: -20px;\n\n border-radius: 4px 0 0 4px;\n }\n "])),16,AH,AH,40)),toggleRight:x$("".concat($H,"-toggle"),"".concat($H,"-toggle-right"),o,k$(TH||(TH=Oi(["\n right: -","px;\n width: ","px;\n height: 100%;\n\n > div {\n top: 50%;\n\n width: ","px;\n height: ","px;\n margin-top: -20px;\n\n border-radius: 0 4px 4px 0;\n }\n "])),16,AH,AH,40)),toggleTop:x$("".concat($H,"-toggle"),"".concat($H,"-toggle-top"),o,k$(NH||(NH=Oi(["\n top: -","px;\n width: 100%;\n height: ","px;\n\n > div {\n left: 50%;\n\n width: ","px;\n height: ","px;\n margin-left: -20px;\n\n border-radius: 4px 4px 0 0;\n }\n "])),16,AH,40,AH)),topFloat:x$(i,k$(RH||(RH=Oi(["\n top: ","px;\n right: 0;\n left: 0;\n width: 100%;\n "])),t)),topHandle:x$("".concat($H,"-top-handle"),k$(IH||(IH=Oi(["\n ",";\n\n &::before {\n top: 50%;\n width: 100%;\n height: 2px;\n }\n "])),r))}})),PH=function(e){switch(e){case"bottom":return"top";case"top":return"bottom";case"right":return"left";case"left":return"right"}};const S4=Nb.memo((function(e){var t,n,r,o,i,a,s,l,c,u,d,p,m,f,h,g,b,_,v,y,w,k,x,E,S,O,D=e.headerHeight,C=void 0===D?0:D,T=e.fullscreen,N=e.maxHeight,R=e.pin,I=void 0===R||R,A=e.mode,$=void 0===A?"fixed":A,j=e.children,P=e.placement,M=void 0===P?"right":P,L=e.resize,F=e.style,B=e.size,H=e.defaultSize,U=e.minWidth,z=e.minHeight,G=e.maxWidth,W=e.onSizeChange,V=e.onSizeDragging,q=e.expandable,X=void 0===q||q,K=e.expand,Y=e.defaultExpand,J=void 0===Y||Y,Q=e.onExpandChange,Z=e.className,ee=e.showHandlerWhenUnexpand,te=e.destroyOnClose,ne=e.hanlderStyle,re=e.classNames,oe=void 0===re?{}:re,ie=Nb.useRef(),ae=(b=ie,v=(_={}).onEnter,y=_.onLeave,w=_.onChange,k=Km(function(e){var t,n,r,o;return void 0===e&&(e=!1),t=Km(function(e){var t,n;return void 0===e&&(e=!1),t=Km(Nb.useState(e),2),n=t[1],[t[0],Nb.useMemo((function(){var t=!e;return{toggle:function(){return n((function(n){return n===e?t:e}))},set:function(e){return n(e)},setLeft:function(){return n(e)},setRight:function(){return n(t)}}}),[])]}(!!e),2),r=(n=t[1]).toggle,o=n.set,[t[0],Nb.useMemo((function(){return{toggle:r,set:function(e){return o(!!e)},setTrue:function(){return o(!0)},setFalse:function(){return o(!1)}}}),[])]}(!1),2),x=k[0],S=(E=k[1]).setTrue,O=E.setFalse,af("mouseenter",(function(){null==v||v(),S(),null==w||w(!0)}),{target:b}),af("mouseleave",(function(){null==y||y(),O(),null==w||w(!1)}),{target:b}),x),se="top"===M||"bottom"===M,le=jH(C),ce=le.styles,ue=le.cx,de=Ua(um(J,{onChange:Q,value:K}),2),pe=de[0],me=de[1];return Nb.useEffect((function(){I||(ae&&!pe?me(!0):!ae&&pe&&me(!1))}),[I,ae,pe]),n=(t=Ua(Nb.useState(!0),2))[0],r=t[1],i=(o=Ua(Nb.useState(!1),2))[0],a=o[1],l=Nb.useMemo((function(){return s?Ei({},PH(M),ce["".concat(PH(M),"Handle")]):{}}),[s=!1!==L&&pe,M]),c=yf(Ei({bottom:!1,bottomLeft:!1,bottomRight:!1,left:!1,right:!1,top:!1,topLeft:!1,topRight:!1},PH(M),!0),L),u=Nb.useMemo((function(){return yf(se?{height:180,width:"100%"}:{height:"100%",width:280},H)}),[se]),d=pe?{defaultSize:u,maxHeight:"number"==typeof N?Math.max(N,0):N,maxWidth:"number"==typeof G?Math.max(G,0):G,minHeight:"number"==typeof z?Math.max(z,0):z,minWidth:"number"==typeof U?Math.max(U,0):U,size:B}:se?{minHeight:0,size:{height:0}}:{minWidth:0,size:{width:0}},m=(p=Nb.useMemo((function(){switch(M){case"top":return{Arrow:bK,className:"Bottom"};case"bottom":return{Arrow:yK,className:"Top"};case"right":return{Arrow:_K,className:"Left"};case"left":return{Arrow:vK,className:"Right"}}}),[ce,M])).Arrow,h=Mb.jsx(w4,{className:ue(ce["toggle".concat(f=p.className)],oe.handle),style:{opacity:pe?I?void 0:0:ee?1:0},children:Mb.jsx(w4,{onClick:function(){me(!pe)},style:ne,children:Mb.jsx("div",{className:ce.handlerIcon,style:{transform:"rotate(".concat(pe?180:0,"deg)")},children:Mb.jsx(m,{size:16,strokeWidth:1.5})})})}),g=Mb.jsx(pH,yf(yf({},d),{},{className:ue(ce.panel,oe.content),enable:s?c:void 0,handleClasses:l,onResize:function(e,t,n,r){null==V||V(r,{height:n.style.height,width:n.style.width})},onResizeStart:function(){a(!0),r(!1)},onResizeStop:function(e,t,n,o){a(!1),r(!0),null==W||W(o,{height:n.style.height,width:n.style.width})},style:yf({transition:i?"unset":void 0},F),children:j})),T?Mb.jsx("div",{className:ue(ce.fullscreen,Z),children:j}):Mb.jsxs("aside",{className:ue(ce.container,ce["fixed"===$?"fixed":"".concat(M,"Float")],Z),ref:ie,style:pe?Ei({},"border".concat(f,"Width"),1):{},children:[X&&n&&h,te?pe&&g:g]})}));HH=y$((function(e){var t=e.css,n=e.token;return{body:t(MH||(MH=Oi(["\n overflow-x: hidden;\n overflow-y: auto;\n flex: 1;\n padding: 16px;\n "]))),container:t(LH||(LH=Oi(["\n position: relative;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n "]))),footer:t(FH||(FH=Oi(["\n display: flex;\n flex: 0;\n gap: 8px;\n align-items: center;\n justify-content: flex-start;\n\n padding: 8px 16px;\n\n border-top: 1px solid ",";\n "])),n.colorBorderSecondary),header:t(BH||(BH=Oi(["\n display: flex;\n flex: 0;\n gap: 8px;\n align-items: center;\n justify-content: space-between;\n\n padding: 8px 16px;\n\n font-weight: 500;\n\n border-bottom: 1px solid ",";\n "])),n.colorBorderSecondary)}})),UH=["className","children"];const O4=Nb.memo((function(e){var t=e.className,n=e.children,r=Si(e,UH),o=HH();return Mb.jsx("div",kf(kf({className:(0,o.cx)(o.styles.body,t)},r),{},{children:n}))}));zH=["className","children"];const D4=Nb.memo((function(e){var t=e.className,n=e.children,r=Si(e,zH),o=HH();return Mb.jsx("div",Ef(Ef({className:(0,o.cx)(o.styles.container,t)},r),{},{children:n}))}));GH=["className","children"];const C4=Nb.memo((function(e){var t=e.className,n=e.children,r=Si(e,GH),o=HH();return Mb.jsx("div",Of(Of({className:(0,o.cx)(o.styles.footer,t)},r),{},{children:n}))}));WH=["pin","setPin","className","setExpand","title","position"];const T4=Nb.memo((function(e){var t=e.pin,n=e.setPin,r=e.className,o=e.setExpand,i=e.title,a=e.position,s=void 0===a?"left":a,l=Si(e,WH),c=HH(),u=c.cx,d=c.styles,p=Mb.jsx(a4,{icon:NK,onClick:function(){return o(!1)},size:{blockSize:24,fontSize:14}}),m=Mb.jsx(a4,{active:t,icon:t?AK:IK,onClick:function(){return n(!t)},size:{blockSize:24,fontSize:14}});return Mb.jsxs("div",Cf(Cf({className:u(d.header,r)},l),{},{children:["left"===s?p:m,i,"left"===s?m:p]}))}));VH=function e(t,n){var r,o,i,a;if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;)if(!e(t[a=i[o]],n[a]))return!1;return!0}return t!=t&&n!=n};const N4=t(VH);qH=function(e){var t=document.createElement("link");return t.rel="stylesheet",t.href=e,t};const R4=Nb.memo((function(e){var t=e.url;return Nb.useEffect((function(){var e=qH(t);document.head.append(e)}),[]),!1}));XH=function(e){var t=e.prefixCls,n=e.icon,r=e.title,o=e.items,i=void 0===o?[]:o,a=e.style,s=e.className;return aK.createElement("div",{className:zK("".concat(t,"-column"),s),style:a},(r||n)&&aK.createElement("h2",null,n&&aK.createElement("span",{className:"".concat(t,"-column-icon")},n),r),i.map((function(e,n){var r=e.LinkComponent||"a";return aK.createElement("div",{className:zK("".concat(t,"-item"),e.className),style:e.style,key:n},aK.createElement(r,{href:e.url,to:"string"!=typeof r?e.url:void 0,target:e.openExternal?"_blank":void 0,rel:e.openExternal?"noopener noreferrer":void 0},e.icon&&aK.createElement("span",{className:"".concat(t,"-item-icon")},e.icon),e.title),e.description&&aK.createElement(aK.Fragment,null,aK.createElement("span",{className:"".concat(t,"-item-separator")},"-"),aK.createElement("span",{className:"".concat(t,"-item-description")},e.description)))})))},KH=["prefixCls","className","style","bottom","columns","maxColumnsPerRow","backgroundColor","columnLayout","theme"],YH=function(e){var t=e.prefixCls,n=void 0===t?"rc-footer":t,r=e.className,o=e.style,i=e.bottom,a=e.columns,s=e.maxColumnsPerRow,l=e.backgroundColor,c=e.columnLayout,u=e.theme,d=void 0===u?"dark":u,p=Si(e,KH),m=zK("".concat(n),r,Ei({},"".concat(n,"-").concat(d),!!d)),f="number"==typeof s&&s>0;return aK.createElement("footer",ka(ka({},p),{},{className:m,style:ka(ka({},o),{},{backgroundColor:l})}),aK.createElement("section",{className:"".concat(n,"-container")},a&&a.length>0&&aK.createElement("section",{className:"".concat(n,"-columns"),style:{justifyContent:c,flexWrap:f?"wrap":void 0}},a.map((function(e,t){var r=e.title,o=e.icon,i=e.className,a=e.items,l=void 0===a?[]:a,c=ka({},e.style);return f&&(c.flex="0 0 ".concat(100/(s+1)+.1,"%")),aK.createElement(XH,{key:t,prefixCls:n,title:r,icon:o,items:l,style:c,className:i})})))),i&&aK.createElement("section",{className:"".concat(n,"-bottom")},aK.createElement("div",{className:"".concat(n,"-bottom-container")},i)))},ZH=y$((function(e,t){var n=e.css,r=e.responsive,o=e.token,i=t.isEmpty,a=t.contentMaxWidth,s="rc-footer";return{container:n(JH||(JH=Oi(["\n grid-area: footer;\n align-self: stretch;\n\n color: ",";\n text-align: center;\n\n border-top: 1px solid ",";\n\n "," {\n flex-direction: column;\n border: none;\n }\n "])),o.colorTextDescription,o.colorSplit,r.mobile),footer:n(QH||(QH=Oi(["\n font-size: 14px;\n line-height: 1.5;\n color: ",";\n background-color: ",";\n\n &."," {\n a {\n color: ",";\n text-decoration: none;\n transition: all 0.3s;\n\n &:hover {\n color: ",";\n }\n }\n }\n\n ."," {\n &-container {\n width: 100%;\n max-width: ","px;\n margin: auto;\n padding: ",";\n }\n\n &-columns {\n display: flex;\n justify-content: space-around;\n }\n\n &-column {\n text-align: left;\n\n h2 {\n position: relative;\n\n margin: 0 auto;\n\n font-size: 16px;\n font-weight: 500;\n color: ",";\n }\n\n &-icon {\n position: relative;\n top: -1px;\n\n display: inline-block;\n\n width: 22px;\n margin-inline-end: 0.5em;\n\n text-align: center;\n vertical-align: middle;\n\n > span,\n > svg,\n img {\n display: block;\n width: 100%;\n }\n }\n }\n\n &-item {\n margin: 12px 0;\n\n &-icon {\n position: relative;\n top: -1px;\n\n display: inline-block;\n\n width: 16px;\n margin-inline-end: 0.4em;\n\n text-align: center;\n vertical-align: middle;\n\n > span,\n > svg,\n img {\n display: block;\n width: 100%;\n }\n }\n\n &-separator {\n margin: 0 0.3em;\n }\n }\n\n &-bottom {\n color: ",";\n\n &-container {\n width: 100%;\n max-width: ","px;\n margin: 0 auto;\n padding: 16px 0;\n\n line-height: 32px;\n text-align: center;\n }\n }\n\n &-light {\n color: rgba(0, 0, 0, 85%);\n background-color: transparent;\n\n h2,\n a {\n color: rgba(0, 0, 0, 85%);\n }\n }\n\n &-light &-bottom-container {\n border-top-color: #e8e8e8;\n }\n\n &-light &-item-separator,\n &-light &-item-description {\n color: rgba(0, 0, 0, 45%);\n }\n }\n\n "," {\n ."," {\n &-container {\n padding: 40px 0;\n }\n\n &-columns {\n display: block;\n }\n\n &-column {\n display: block;\n margin-bottom: 40px;\n text-align: center;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n }\n }\n "])),o.colorTextSecondary,o.colorBgLayout,s,o.colorTextTertiary,o.colorLinkHover,s,a,i?"0":"60px 0 20px",o.colorText,o.colorTextDescription,a,r.mobile,s)}}));const I4=Nb.memo((function(e){var t=e.columns,n=e.bottom,r=e.theme,o=e.contentMaxWidth,i=ZH({contentMaxWidth:void 0===o?960:o,isEmpty:!t||0===(null==t?void 0:t.length)}).styles;return Mb.jsx("section",{className:i.container,children:Mb.jsx(YH,{bottom:n,className:i.footer,columns:t,theme:r})})}));lU=y$((function(e,t){var n,r=e.css,o=e.cx,i=e.token,a=e.isDarkMode,s=e.responsive;return{footer:r(eU||(eU=Oi(["\n display: flex;\n gap: 8px;\n justify-content: flex-end;\n "]))),formTitle:r(tU||(tU=Oi(["\n position: relative;\n\n display: flex;\n flex-direction: column;\n gap: 6px;\n\n text-align: left;\n\n > div {\n font-weight: 500;\n line-height: 1;\n }\n\n > small {\n display: block;\n\n line-height: 1;\n color: ",";\n word-wrap: break-word;\n white-space: pre-wrap;\n }\n\n .ant-tag {\n font-family: ",";\n }\n "])),i.colorTextDescription,i.fontFamilyCode),group:o(a&&r(nU||(nU=Oi(["\n .ant-collapse-content {\n background: transparent;\n }\n\n .ant-collapse-header {\n background: ",";\n }\n "])),i.colorFillTertiary),r(rU||(rU=Oi(["\n .ant-collapse-header {\n align-items: center !important;\n border-radius: 0 !important;\n }\n\n .ant-collapse-content-box {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n\n .ant-form-item-label {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n "])))),icon:r(oU||(oU=Oi(["\n transition: all 100ms ",";\n "])),i.motionEaseOut),item:r(iU||(iU=Oi(["\n padding: 8px 0;\n\n .ant-row {\n justify-content: space-between;\n\n > div {\n flex: unset !important;\n flex-grow: unset !important;\n }\n }\n\n ","\n\n "," {\n padding: 16px 0;\n\n .ant-row {\n flex-direction: column;\n gap: 4px;\n }\n\n .ant-form-item-control {\n flex: 1;\n width: 100%;\n }\n }\n "])),t&&r(aU||(aU=Oi(["\n .ant-form-item-control {\n width: ",";\n }\n "])),(n=t,"number"==typeof n||Em(n)&&"[object Number]"==xm(n)?"".concat(t,"px"):t)),s.mobile),title:r(sU||(sU=Oi(["\n display: flex;\n gap: 8px;\n align-items: center;\n\n font-size: 16px;\n font-weight: 600;\n\n .anticon {\n color: ",";\n }\n "])),i.colorPrimary)}})),cU=["className","children"];const A4=Nb.memo((function(e){var t=e.className,n=e.children,r=Si(e,cU),o=lU();return Mb.jsx("div",Nf(Nf({className:(0,o.cx)(o.styles.footer,t)},r),{},{children:n}))}));uU=["className","icon","title","children","extra"];const $4=Nb.memo((function(e){var t=e.className,n=e.icon,r=e.title,o=e.children,i=e.extra,a=Si(e,uU),s=lU(),l=s.styles;return Mb.jsx(U2,function(e){var t,n;for(t=1;t label {\n height: unset;\n }\n\n .ant-row {\n position: relative;\n flex-wrap: nowrap;\n }\n\n .ant-form-item-label {\n position: relative;\n flex: 1;\n max-width: 100%;\n }\n\n .ant-form-item-control {\n position: relative;\n flex: 0;\n min-width: unset !important;\n }\n\n .ant-collapse-item {\n overflow: hidden !important;\n border-radius: ","px !important;\n }\n "])),n.borderRadius)}})),bU=["className","itemMinWidth","footer","form","items","children"],(_U=Nb.forwardRef((function(e,t){var n=e.className,r=e.itemMinWidth,o=e.footer,i=e.form,a=e.items,s=e.children,l=Si(e,bU),c=gU();return Mb.jsxs(i3,Mf(Mf({className:(0,c.cx)(c.styles.form,n),colon:!1,form:i,layout:"horizontal",ref:t},l),{},{children:[null==a?void 0:a.map((function(e,t){return Mb.jsx($4,{extra:null==e?void 0:e.extra,icon:null==e?void 0:e.icon,title:e.title,children:e.children.filter((function(e){return!e.hidden})).map((function(e,t){return Mb.jsx(M4,Mf({divider:0!==t,minWidth:r},e),t)}))},t)})),s,o&&Mb.jsx(A4,{children:o})]}))}))).Item=M4,_U.Group=$4;const L4=_U;vU={};const F4=Mb,B4=Nb;wU=function({id:e,host:t,repo:n,repoId:r,category:o,categoryId:i,mapping:a,term:s,strict:l,reactionsEnabled:c,emitMetadata:u,inputPosition:d,theme:p,lang:m,loading:f}){const[h,g]=B4.useState(!1);return B4.useEffect((()=>{h||(Promise.resolve().then((()=>(yU||(yU=1,function(t){function n(e,t,r=e,o){var i,a,s,l;if(t===Y)return t;let c=void 0!==o?null===(i=r._$Co)||void 0===i?void 0:i[o]:r._$Cl;const u=F(t)?void 0:t._$litDirective$;return(null==c?void 0:c.constructor)!==u&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===u?c=void 0:(c=new u(e),c._$AT(e,r,o)),void 0!==o?(null!==(s=(l=r)._$Co)&&void 0!==s?s:l._$Co=[])[o]=c:r._$Cl=c),void 0!==c&&(t=n(e,c._$AS(e,t.values),c,o)),t}function r(e){return(t,n)=>void 0!==n?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,t,n):de(e,t)}function i(e){void 0!==this._$AN?(fe(this),this._$AM=e,he(this)):this._$AM=e}function a(e,t=!1,n=0){const r=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(t)if(Array.isArray(r))for(let i=n;ie:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return(e=>new v("string"==typeof e?e:e+"",void 0,b))(t)})(e):e,w=window,k=w.trustedTypes,x=k?k.emptyScript:"",E=w.reactiveElementPolyfillSupport,S={toAttribute(e,t){switch(t){case Boolean:e=e?x:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},O=(e,t)=>t!==e&&(t==t||e==e),D={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:O},C="finalized";let T=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var t;this.finalize(),(null!==(t=this.h)&&void 0!==t?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach(((t,n)=>{const r=this._$Ep(n,t);void 0!==r&&(this._$Ev.set(r,n),e.push(r))})),e}static createProperty(e,t=D){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const n="symbol"==typeof e?Symbol():"__"+e,r=this.getPropertyDescriptor(e,n,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(r){const o=this[e];this[t]=r,this.requestUpdate(e,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||D}static finalize(){if(this.hasOwnProperty(C))return!1;this[C]=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const n of t)this.createProperty(n,e[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(y(e))}else void 0!==e&&t.push(y(e));return t}static _$Ep(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,n;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(n=e.hostConnected)||void 0===n||n.call(e))}removeController(e){var t;null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])}))}createRenderRoot(){var e;const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{g?e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):t.forEach((t=>{const n=document.createElement("style"),r=f.litNonce;void 0!==r&&n.setAttribute("nonce",r),n.textContent=t.cssText,e.appendChild(n)}))})(t,this.constructor.elementStyles),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t,n=D){var r;const o=this.constructor._$Ep(e,n);if(void 0!==o&&!0===n.reflect){const i=(void 0!==(null===(r=n.converter)||void 0===r?void 0:r.toAttribute)?n.converter:S).toAttribute(t,n.type);this._$El=e,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._$El=null}}_$AK(e,t){var n;const r=this.constructor,o=r._$Ev.get(e);if(void 0!==o&&this._$El!==o){const e=r.getPropertyOptions(o),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(n=e.converter)||void 0===n?void 0:n.fromAttribute)?e.converter:S;this._$El=o,this[o]=i.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,n){let r=!0;void 0!==e&&(((n=n||this.constructor.getPropertyOptions(e)).hasChanged||O)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(h){Promise.reject(h)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((e,t)=>this[t]=e)),this._$Ei=void 0);let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(n)):this._$Ek()}catch(o){throw t=!1,this._$Ek(),o}t&&this._$AE(n)}willUpdate(e){}_$AE(e){var t;null===(t=this._$ES)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$EO(t,this[t],e))),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};T[C]=!0,T.elementProperties=new Map,T.elementStyles=[],T.shadowRootOptions={mode:"open"},null==E||E({ReactiveElement:T}),(null!==(s=w.reactiveElementVersions)&&void 0!==s?s:w.reactiveElementVersions=[]).push("1.6.2");const N=window,R=N.trustedTypes,I=R?R.createPolicy("lit-html",{createHTML:e=>e}):void 0,A="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,j="?"+$,P=`<${j}>`,M=document,L=()=>M.createComment(""),F=e=>null===e||"object"!=typeof e&&"function"!=typeof e,B=Array.isArray,H="[ \t\n\f\r]",U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,z=/-->/g,G=/>/g,W=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,q=/"/g,X=/^(?:script|style|textarea|title)$/i,K=(e,...t)=>({_$litType$:1,strings:e,values:t}),Y=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Q=new WeakMap,Z=M.createTreeWalker(M,129,null,!1);class ee{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let o=0,i=0;const a=e.length-1,s=this.parts,[l,c]=((e,t)=>{const n=e.length-1,r=[];let o,i=2===t?"":"",a=U;for(let l=0;l"===s[0]?(a=o??U,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,n=s[1],a=void 0===s[3]?W:'"'===s[3]?q:V):a===q||a===V?a=W:a===z||a===G?a=U:(a=W,o=void 0);const d=a===W&&e[l+1].startsWith("/>")?" ":"";i+=a===U?t+P:c>=0?(r.push(n),t.slice(0,c)+A+t.slice(c)+$+d):t+$+(-2===c?(r.push(void 0),l):d)}const s=i+(e[n]||"")+(2===t?"":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==I?I.createHTML(s):s,r]})(e,t);if(this.el=ee.createElement(l,n),Z.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=Z.nextNode())&&s.length0){r.textContent=R?R.emptyScript:"";for(let n=0;nB(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]))(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==J&&F(this._$AH)?this._$AA.nextSibling.data=e:this.$(M.createTextNode(e)),this._$AH=e}g(e){var t;const{values:n,_$litType$:r}=e,o="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=ee.createElement(r.h,this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===o)this._$AH.v(n);else{const e=new class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:n},parts:r}=this._$AD,o=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:M).importNode(n,!0);Z.currentNode=o;let i=Z.nextNode(),a=0,s=0,l=r[0];for(;void 0!==l;){if(a===l.index){let t;2===l.type?t=new te(i,i.nextSibling,this,e):1===l.type?t=new l.ctor(i,l.name,l.strings,this,e):6===l.type&&(t=new se(i,this,e)),this._$AV.push(t),l=r[++s]}a!==(null==l?void 0:l.index)&&(i=Z.nextNode(),a++)}return Z.currentNode=M,o}v(e){let t=0;for(const n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}(o,this),t=e.u(this.options);e.v(n),this.$(t),this._$AH=e}}_$AC(e){let t=Q.get(e.strings);return void 0===t&&Q.set(e.strings,t=new ee(e)),t}T(e){B(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const o of e)r===t.length?t.push(n=new te(this.k(L()),this.k(L()),this,this.options)):n=t[r],n._$AI(o),r++;r2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,r,o){const i=this.strings;let a=!1;if(void 0===i)e=n(this,e,t,0),a=!F(e)||e!==this._$AH&&e!==Y,a&&(this._$AH=e);else{const o=e;let s,l;for(e=i[0],s=0;s{var r,o;const i=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:t;let a=i._$litPart$;if(void 0===a){const e=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:null;i._$litPart$=a=new te(t.insertBefore(L(),e),e,void 0,n??{})}return a._$AI(e),a})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}render(){return Y}};ce.finalized=!0,ce._$litElement$=!0,null===(c=globalThis.litElementHydrateSupport)||void 0===c||c.call(globalThis,{LitElement:ce});const ue=globalThis.litElementPolyfillSupport;null==ue||ue({LitElement:ce}),(null!==(u=globalThis.litElementVersions)&&void 0!==u?u:globalThis.litElementVersions=[]).push("3.3.2");const de=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(n){n.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};window;let pe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};const me=(e,t)=>{var n,r;const o=e._$AN;if(void 0===o)return!1;for(const i of o)null===(r=(n=i)._$AO)||void 0===r||r.call(n,t,!1),me(i,t);return!0},fe=e=>{let t,n;do{if(void 0===(t=e._$AM))break;n=t._$AN,n.delete(e),e=t}while(0===(null==n?void 0:n.size))},he=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(void 0===n)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),ge(t)}},ge=e=>{var t,n,r,o;2==e.type&&(null!==(t=(r=e)._$AP)&&void 0!==t||(r._$AP=a),null!==(n=(o=e)._$AQ)&&void 0!==n||(o._$AQ=i))};class be extends pe{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,n){super._$AT(e,t,n),he(this),this.isConnected=e._$AU}_$AO(e,t=!0){var n,r;e!==this.isConnected&&(this.isConnected=e,e?null===(n=this.reconnected)||void 0===n||n.call(this):null===(r=this.disconnected)||void 0===r||r.call(this)),t&&(me(this,e),fe(this))}setValue(e){if((()=>void 0===this._$Ct.strings)())this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}class _e{}const ve=new WeakMap,ye=(e=>(...t)=>({_$litDirective$:e,values:t}))(class extends be{render(e){return J}update(e,[t]){var n;const r=t!==this.G;return r&&void 0!==this.G&&this.ot(void 0),(r||this.rt!==this.lt)&&(this.G=t,this.ct=null===(n=e.options)||void 0===n?void 0:n.host,this.ot(this.lt=e.element)),J}ot(e){var t;if("function"==typeof this.G){const n=null!==(t=this.ct)&&void 0!==t?t:globalThis;let r=ve.get(n);void 0===r&&(r=new WeakMap,ve.set(n,r)),void 0!==r.get(this.G)&&this.G.call(this.ct,void 0),r.set(this.G,e),void 0!==e&&this.G.call(this.ct,e)}else this.G.value=e}get rt(){var e,t,n;return"function"==typeof this.G?null===(t=ve.get(null!==(e=this.ct)&&void 0!==e?e:globalThis))||void 0===t?void 0:t.get(this.G):null===(n=this.G)||void 0===n?void 0:n.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,m=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?p(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&d(t,n,i),i},t.GiscusWidget=class extends ce{constructor(){super(),this.GISCUS_SESSION_KEY="giscus-session",this.GISCUS_DEFAULT_HOST="https://giscus.app",this.ERROR_SUGGESTION="Please consider reporting this error at https://github.com/giscus/giscus/issues/new.",this.__session="",this._iframeRef=new _e,this.messageEventHandler=this.handleMessageEvent.bind(this),this.hasLoaded=!1,this.host=this.GISCUS_DEFAULT_HOST,this.strict="0",this.reactionsEnabled="1",this.emitMetadata="0",this.inputPosition="bottom",this.theme="light",this.lang="en",this.loading="eager",this.setupSession(),window.addEventListener("message",this.messageEventHandler)}get iframeRef(){var e;return null==(e=this._iframeRef)?void 0:e.value}get _host(){try{return new URL(this.host),this.host}catch{return this.GISCUS_DEFAULT_HOST}}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("message",this.messageEventHandler)}_formatError(e){return`[giscus] An error occurred. Error message: "${e}".`}setupSession(){const t=location.href,n=new URL(t),r=localStorage.getItem(this.GISCUS_SESSION_KEY),o=n.searchParams.get("giscus")||"";if(this.__session="",o)return localStorage.setItem(this.GISCUS_SESSION_KEY,JSON.stringify(o)),this.__session=o,n.searchParams.delete("giscus"),n.hash="",void history.replaceState(void 0,document.title,n.toString());if(r)try{this.__session=JSON.parse(r)}catch(e){localStorage.removeItem(this.GISCUS_SESSION_KEY)}}signOut(){localStorage.removeItem(this.GISCUS_SESSION_KEY),this.__session="",this.update(new Map)}handleMessageEvent(e){if(e.origin!==this._host)return;const{data:t}=e;if("object"!=typeof t||!t.giscus)return;if(this.iframeRef&&t.giscus.resizeHeight&&(this.iframeRef.style.height=`${t.giscus.resizeHeight}px`),t.giscus.signOut)return void this.signOut();if(!t.giscus.error)return;const n=t.giscus.error;(n.includes("Bad credentials")||n.includes("Invalid state value")||n.includes("State has expired"))&&null!==localStorage.getItem(this.GISCUS_SESSION_KEY)?this.signOut():n.includes("Discussion not found")}sendMessage(e){!this.iframeRef||!this.iframeRef.contentWindow||!this.hasLoaded||this.iframeRef.contentWindow.postMessage({giscus:e},this._host)}updateConfig(){const e={setConfig:{repo:this.repo,repoId:this.repoId,category:this.category,categoryId:this.categoryId,term:this.getTerm(),number:+this.getNumber(),strict:"1"===this.strict,reactionsEnabled:"1"===this.reactionsEnabled,emitMetadata:"1"===this.emitMetadata,inputPosition:this.inputPosition,theme:this.theme,lang:this.lang}};this.sendMessage(e)}firstUpdated(){var e;null==(e=this.iframeRef)||e.addEventListener("load",(()=>{var e;null==(e=this.iframeRef)||e.classList.remove("loading"),this.hasLoaded=!0,this.updateConfig()}))}requestUpdate(e,t,n){this.hasUpdated&&"host"!==e?this.updateConfig():super.requestUpdate(e,t,n)}getMetaContent(e,t=!1){const n=document.querySelector((t?`meta[property='og:${e}'],`:"")+`meta[name='${e}']`);return n?n.content:""}_getCleanedUrl(){const e=new URL(location.href);return e.searchParams.delete("giscus"),e.hash="",e}getTerm(){switch(this.mapping){case"url":return`${this._getCleanedUrl()}`;case"title":return document.title;case"og:title":return this.getMetaContent("title",!0);case"specific":return this.term||"";case"number":return"";default:return location.pathname.length<2?"index":location.pathname.substring(1).replace(/\.\w+$/,"")}}getNumber(){return"number"===this.mapping&&this.term||""}getIframeSrc(){const e=this._getCleanedUrl().toString(),t=`${e}${this.id?"#"+this.id:""}`,n=this.getMetaContent("description",!0),r=this.getMetaContent("giscus:backlink")||e,o={origin:t,session:this.__session,repo:this.repo,repoId:this.repoId||"",category:this.category||"",categoryId:this.categoryId||"",term:this.getTerm(),number:this.getNumber(),strict:this.strict,reactionsEnabled:this.reactionsEnabled,emitMetadata:this.emitMetadata,inputPosition:this.inputPosition,theme:this.theme,description:n,backLink:r};return`${this._host}${this.lang?`/${this.lang}`:""}/widget?${new URLSearchParams(o)}`}render(){return K` +function e(e,t){for(var n=0;nr[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e){var t,n;return e.__esModule?e:("function"==typeof(t=e.default)?(n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)},n.prototype=t.prototype):n={},Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n)}function r(e,t,n){this.props=e,this.context=t,this.refs=$J,this.updater=n||DJ}function o(){}function i(e,t,n){this.props=e,this.context=t,this.refs=$J,this.updater=n||DJ}function a(e,t,n){var r,o,i,a,s={},l=null,c=null;if(null!=t)for(r in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(l=""+t.key),t)sv.call(t,r)&&!cv.hasOwnProperty(r)&&(s[r]=t[r]);if(1==(o=arguments.length-2))s.children=n;else if(1t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!Pv.call(Iv,e)||!Pv.call(Tv,e)&&(Nv.test(e)?Iv[e]=!0:(Tv[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function v(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Qv&&e[Qv]||e["@@iterator"])?e:null}function _(e){if(void 0===Zv)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Zv=t&&t[1]||""}return"\n"+Zv+e}function w(e,t){var n,r,o,i,a,s,l;if(!e||e_)return"";e_=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return l="\n"+o[a].replace(" at new "," at "),e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{e_=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_(e):""}function k(e){switch(e.tag){case 5:return _(e.type);case 16:return _("Lazy");case 13:return _("Suspense");case 19:return _("SuspenseList");case 0:case 2:case 15:return w(e.type,!1);case 11:return w(e.type.render,!1);case 1:return w(e.type,!0);default:return""}}function x(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case zv:return"Fragment";case Lv:return"Portal";case Hv:return"Profiler";case Bv:return"StrictMode";case Gv:return"Suspense";case qv:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Wv:return(e.displayName||"Context")+".Consumer";case Uv:return(e._context.displayName||"Context")+".Provider";case Vv:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Xv:return null!==(t=e.displayName||null)?t:x(e.type)||"Memo";case Kv:t=e._payload,e=e._init;try{return x(e(t))}catch(n){}}return null}function S(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=(e=t.render).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 x(t);case 8:return t===Bv?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function C(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function E(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function D(e){e._valueTracker||(e._valueTracker=function(e){var t,n,r=E(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),i=""+e[r];if(!e.hasOwnProperty(r)&&void 0!==o&&"function"==typeof o.get&&"function"==typeof o.set)return t=o.get,n=o.set,Object.defineProperty(e,r,{configurable:!0,get:function(){return t.call(this)},set:function(e){i=""+e,n.call(this,e)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return i},setValue:function(e){i=""+e},stopTracking:function(){e._valueTracker=null,delete e[r]}}}(e))}function O(e){var t,n,r;return!(!e||(t=e._valueTracker)&&(n=t.getValue(),r="",e&&(r=E(e)?e.checked?"true":"false":e.value),(e=r)===n||(t.setValue(e),0)))}function $(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function j(e,t){var n=t.checked;return Jv({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function P(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=C(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function N(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function T(e,t){N(e,t);var n=C(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?A(e,t.type,n):t.hasOwnProperty("defaultValue")&&A(e,t.type,C(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function I(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&null==t.value)return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function A(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function R(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o=(o=t&-t)||16===r&&0!=(4194240&o)))return t;if(0!=(4&n)&&(n|=16&s),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0n;n++)t.push(e);return t}function ge(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-N_(t)]=n}function he(e,t){var n,r,o=e.entangledLanes|=t;for(e=e.entanglements;o;)(r=1<<(n=31-N_(o)))&t|e[n]&t&&(e[n]|=t),o&=~r}function be(e){return 1<(e&=-e)?4=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=Je(r)}}function et(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?et(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function tt(){var e,t,n;for(e=window,t=$();t instanceof e.HTMLIFrameElement;){try{n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function nt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function rt(e){var t,n,r,o=tt(),i=e.focusedElem,a=e.selectionRange;if(o!==i&&i&&i.ownerDocument&&et(i.ownerDocument.documentElement,i)){null!==a&&nt(i)&&(o=a.start,void 0===(e=a.end)&&(e=o),"selectionStart"in i?(i.selectionStart=o,i.selectionEnd=Math.min(e,i.value.length)):(e=(o=i.ownerDocument||document)&&o.defaultView||window).getSelection&&(e=e.getSelection(),t=i.textContent.length,n=Math.min(a.start,t),a=void 0===a.end?n:Math.min(a.end,t),!e.extend&&n>a&&(t=a,a=n,n=t),t=Ze(i,n),r=Ze(i,a),t&&r&&(1!==e.rangeCount||e.anchorNode!==t.node||e.anchorOffset!==t.offset||e.focusNode!==r.node||e.focusOffset!==r.offset)&&((o=o.createRange()).setStart(t.node,t.offset),e.removeAllRanges(),n>a?(e.addRange(o),e.extend(r.node,r.offset)):(o.setEnd(r.node,r.offset),e.addRange(o))))),o=[];for(e=i;e=e.parentNode;)1===e.nodeType&&o.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof i.focus&&i.focus(),i=0;iTk||(e.current=Nk[Tk],Nk[Tk]=null,Tk--)}function Tt(e,t){Tk++,Nk[Tk]=e.current,e.current=t}function It(e,t){var n,r,o,i=e.type.contextTypes;if(!i)return Ik;if((n=e.stateNode)&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;for(o in r={},i)r[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function At(e){return null!=e.childContextTypes}function Rt(){Nt(Rk),Nt(Ak)}function Ft(e,t,n){if(Ak.current!==Ik)throw Error(f(168));Tt(Ak,t),Tt(Rk,n)}function Mt(e,t,n){var r,o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return n;for(r in o=o.getChildContext())if(!(r in t))throw Error(f(108,S(e)||"Unknown",r));return Jv({},n,o)}function Lt(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ik,Fk=Ak.current,Tt(Ak,e),Tt(Rk,Rk.current),!0}function zt(e,t,n){var r=e.stateNode;if(!r)throw Error(f(169));n?(e=Mt(e,t,Fk),r.__reactInternalMemoizedMergedChildContext=e,Nt(Rk),Nt(Ak),Tt(Ak,e)):Nt(Rk),Tt(Rk,n)}function Bt(e){null===Mk?Mk=[e]:Mk.push(e)}function Ht(){var e,t,n,r;if(!zk&&null!==Mk){zk=!0,e=0,t=F_;try{for(n=Mk,F_=1;e>=a,o-=a,Xk=1<<32-N_(t)+o|n<g?(h=f,f=null):h=f.sibling,null===(b=p(o,f,s[g],l))){null===f&&(f=h);break}e&&f&&null===b.alternate&&t(o,f),a=i(b,a,g),null===u?c=b:u.sibling=b,u=b,f=h}if(g===s.length)return n(o,f),Jk&&Ut(o,g),c;if(null===f){for(;gg?(h=u,u=null):h=u.sibling,null===(y=p(o,u,b.value,l))){null===u&&(u=h);break}e&&u&&null===y.alternate&&t(o,u),a=i(y,a,g),null===c?_=y:c.sibling=y,c=y,u=h}if(b.done)return n(o,u),Jk&&Ut(o,g),_;if(null===u){for(;!b.done;g++,b=s.next())null!==(b=d(o,b.value,l))&&(a=i(b,a,g),null===c?_=b:c.sibling=b,c=b);return Jk&&Ut(o,g),_}for(u=r(o,u);!b.done;g++,b=s.next())null!==(b=m(u,o,g,b.value,l))&&(e&&null!==b.alternate&&u.delete(null===b.key?g:b.key),a=i(b,a,g),null===c?_=b:c.sibling=b,c=b);return e&&u.forEach((function(e){return t(o,e)})),Jk&&Ut(o,g),_}(l,c,u,g);En(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u?(u=""+u,null!==c&&6===c.tag?(n(l,c.sibling),(c=o(c,u)).return=l,l=c):(n(l,c),(c=ni(u,l.mode,g)).return=l,l=c),a(l)):n(l,c)}}function $n(e){if(e===dx)throw Error(f(174));return e}function jn(e,t){switch(Tt(mx,t),Tt(fx,e),Tt(px,dx),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:H(null,"");break;default:t=H(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Nt(px),Tt(px,t)}function Pn(){Nt(px),Nt(fx),Nt(mx)}function Nn(e){var t,n;$n(mx.current),(t=$n(px.current))!==(n=H(t,e.type))&&(Tt(fx,e),Tt(px,n))}function Tn(e){fx.current===e&&(Nt(px),Nt(fx))}function In(e){var t,n;for(t=e;null!==t;){if(13===t.tag){if(null!==(n=t.memoizedState)&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function An(){for(var e=0;er?r:4,e(!0),n=yx.transition,yx.transition={};try{e(!1),t()}finally{F_=r,yx.transition=n}}function mr(){return Bn().memoizedState}function gr(e,t,n){var r=_o(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},br(e)?yr(t,n):null!==(n=un(e,t,n,r))&&(wo(n,e,r,vo()),vr(n,t,r))}function hr(e,t,n){var r,o,i,a,s=_o(e),l={lane:s,action:n,hasEagerState:!1,eagerState:null,next:null};if(br(e))yr(t,l);else{if(r=e.alternate,0===e.lanes&&(null===r||0===r.lanes)&&null!==(r=t.lastRenderedReducer))try{if(i=r(o=t.lastRenderedState,n),l.hasEagerState=!0,l.eagerState=i,Qw(i,o))return null===(a=t.interleaved)?(l.next=l,cn(t)):(l.next=a.next,a.next=l),void(t.interleaved=l)}catch(c){}null!==(n=un(e,t,l,s))&&(wo(n,e,s,l=vo()),vr(n,t,s))}}function br(e){var t=e.alternate;return e===_x||null!==t&&t===_x}function yr(e,t){Sx=xx=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function vr(e,t,n){if(0!=(4194240&n)){var r=t.lanes;t.lanes=n|=r&=e.pendingLanes,he(e,n)}}function _r(e,t){var n,r,o;try{n="",r=t;do{n+=k(r),r=r.return}while(r);o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function wr(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function kr(e,t,n){(n=mn(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){pS||(pS=!0,fS=r)},n}function xr(e,t,n){var r,o,i;return(n=mn(-1,n)).tag=3,"function"==typeof(r=e.type.getDerivedStateFromError)&&(o=t.value,n.payload=function(){return r(o)},n.callback=function(){}),null!==(i=e.stateNode)&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===mS?mS=new Set([this]):mS.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Sr(e,t,n){var r,o=e.pingCache;null===o?(o=e.pingCache=new Px).set(t,r=new Set):void 0===(r=o.get(t))&&o.set(t,r=new Set),r.has(n)||(r.add(n),e=Wo.bind(null,e,t,n),t.then(e,e))}function Cr(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function Er(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=mn(-1,1)).tag=2,gn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}function Dr(e,t,n,r){t.child=null===e?ux(t,null,n,r):cx(t,e.child,n,r)}function Or(e,t,n,r,o){n=n.render;var i=t.ref;return sn(t,o),r=Mn(e,t,n,r,i,o),n=Ln(),null===e||Tx?(Jk&&n&&Vt(t),t.flags|=1,Dr(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Gr(e,t,o))}function $r(e,t,n,r,o){var i;return null===e?"function"!=typeof(i=n.type)||Qo(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zo(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,jr(e,t,i,r,o)):(i=e.child,0==(e.lanes&o)&&(n=null!==(n=n.compare)?n:Qe)(i.memoizedProps,r)&&e.ref===t.ref?Gr(e,t,o):(t.flags|=1,(e=Jo(i,r)).ref=t.ref,e.return=t,t.child=e))}function jr(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(Qe(i,r)&&e.ref===t.ref){if(Tx=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,Gr(e,t,o);0!=(131072&e.flags)&&(Tx=!0)}}return Tr(e,t,n,r,o)}function Pr(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Tt(tS,eS),eS|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Tt(tS,eS),eS|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Tt(tS,eS),eS|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Tt(tS,eS),eS|=r;return Dr(e,t,o,n),t.child}function Nr(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Tr(e,t,n,r,o){var i=At(n)?Fk:Ak.current;return i=It(t,i),sn(t,o),n=Mn(e,t,n,r,i,o),r=Ln(),null===e||Tx?(Jk&&r&&Vt(t),t.flags|=1,Dr(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Gr(e,t,o))}function Ir(e,t,n,r,o){var i,a,s,l,c,u,d,p,f,m;return At(n)?(i=!0,Lt(t)):i=!1,sn(t,o),null===t.stateNode?(Vr(e,t),kn(t,n,r),Sn(t,n,r,o),r=!0):null===e?((a=t.stateNode).props=s=t.memoizedProps,l=a.context,c="object"==typeof(c=n.contextType)&&null!==c?ln(c):It(t,c=At(n)?Fk:Ak.current),(d="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&xn(t,a,r,c),ax=!1,a.state=p=t.memoizedState,yn(t,r,a,o),l=t.memoizedState,s!==r||p!==l||Rk.current||ax?("function"==typeof u&&(_n(t,n,u,r),l=t.memoizedState),(s=ax||wn(t,n,s,r,p,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)):(a=t.stateNode,fn(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:nn(t.type,s),a.props=c,d=t.pendingProps,p=a.context,l="object"==typeof(l=n.contextType)&&null!==l?ln(l):It(t,l=At(n)?Fk:Ak.current),(u="function"==typeof(f=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==l)&&xn(t,a,r,l),ax=!1,a.state=p=t.memoizedState,yn(t,r,a,o),m=t.memoizedState,s!==d||p!==m||Rk.current||ax?("function"==typeof f&&(_n(t,n,f,r),m=t.memoizedState),(c=ax||wn(t,n,c,r,p,m,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,m,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,m,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)),Ar(e,t,n,r,i,o)}function Ar(e,t,n,r,o,i){var a,s;return Nr(e,t),a=0!=(128&t.flags),r||a?(r=t.stateNode,Nx.current=t,s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render(),t.flags|=1,null!==e&&a?(t.child=cx(t,e.child,null,i),t.child=cx(t,null,s,i)):Dr(e,t,s,i),t.memoizedState=r.state,o&&zt(t,n,!0),t.child):(o&&zt(t,n,!1),Gr(e,t,i))}function Rr(e){var t=e.stateNode;t.pendingContext?Ft(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ft(0,t.context,!1),jn(e,t.containerInfo)}function Fr(e,t,n,r,o){return en(),tn(o),t.flags|=256,Dr(e,t,n,r),t.child}function Mr(e){return{baseLanes:e,cachePool:null,transitions:null}}function Lr(e,t,n){var r,o,i=t.pendingProps,a=gx.current,s=!1,l=0!=(128&t.flags);return(r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Tt(gx,1&a),null===e?(Yt(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(t.lanes=0==(1&t.mode)?1:"$!"===e.data?8:1073741824,null):(l=i.children,e=i.fallback,s?(s=t.child,l={mode:"hidden",children:l},0==(1&(i=t.mode))&&null!==s?(s.childLanes=0,s.pendingProps=l):s=ti(l,i,0,null),e=ei(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Mr(n),t.memoizedState=Ix,e):zr(t,l))):null!==(a=e.memoizedState)&&null!==(r=a.dehydrated)?function(e,t,n,r,o,i,a){if(n)return 256&t.flags?(t.flags&=-257,Br(e,t,a,r=wr(Error(f(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,r=ti({mode:"visible",children:r.children},o=t.mode,0,null),(i=ei(i,o,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&cx(t,e.child,null,a),t.child.memoizedState=Mr(a),t.memoizedState=Ix,i);if(0==(1&t.mode))return Br(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Br(e,t,a,r=wr(i=Error(f(419)),r,void 0))}if(s=0!=(a&e.childLanes),Tx||s){if(null!==(r=Qx)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|a))?0:o)&&o!==i.retryLane&&(i.retryLane=o,dn(e,o),wo(r,e,o,-1))}return Io(),Br(e,t,a,r=wr(Error(f(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Go.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Qk=Ct(o.nextSibling),Yk=t,Jk=!0,Zk=null,null!==e&&(Vk[Gk++]=Xk,Vk[Gk++]=Kk,Vk[Gk++]=qk,Xk=e.id,Kk=e.overflow,qk=t),(t=zr(t,r.children)).flags|=4096,t)}(e,t,l,i,r,a,n):s?(s=i.fallback,r=(a=e.child).sibling,o={mode:"hidden",children:i.children},0==(1&(l=t.mode))&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=o,t.deletions=null):(i=Jo(a,o)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Jo(r,s):(s=ei(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Mr(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ix,i):(e=(s=e.child).sibling,i=Jo(s,{mode:"visible",children:i.children}),0==(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i)}function zr(e,t){return(t=ti({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Br(e,t,n,r){return null!==r&&tn(r),cx(t,e.child,null,n),(e=zr(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hr(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),an(e.return,t,n)}function Ur(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Wr(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Dr(e,t,r.children,n),0!=(2&(r=gx.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Hr(e,n,t);else if(19===e.tag)Hr(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Tt(gx,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===In(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ur(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===In(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ur(t,!0,n,null,i);break;case"together":Ur(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vr(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Gr(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),oS|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(f(153));if(null!==t.child){for(n=Jo(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Jo(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}function qr(e,t){var n,r;if(!Jk)switch(e.tailMode){case"hidden":for(t=e.tail,n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":for(n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xr(e){var t,n=null!==e.alternate&&e.alternate.child===e.child,r=0,o=0;if(n)for(t=e.child;null!==t;)r|=t.lanes|t.childLanes,o|=14680064&t.subtreeFlags,o|=14680064&t.flags,t.return=e,t=t.sibling;else for(t=e.child;null!==t;)r|=t.lanes|t.childLanes,o|=t.subtreeFlags,o|=t.flags,t.return=e,t=t.sibling;return e.subtreeFlags|=o,e.childLanes=r,n}function Kr(e,t,n){var r,o,i,a,s,l=t.pendingProps;switch(Gt(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xr(t),null;case 1:case 17:return At(t.type)&&Rt(),Xr(t),null;case 3:return l=t.stateNode,Pn(),Nt(Rk),Nt(Ak),An(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==e&&null!==e.child||(Jt(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Zk&&(Co(Zk),Zk=null))),Rx(e,t),Xr(t),null;case 5:if(Tn(t),r=$n(mx.current),n=t.type,null!==e&&null!=t.stateNode)Fx(e,t,n,l,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!l){if(null===t.stateNode)throw Error(f(166));return Xr(t),null}if(e=$n(px.current),Jt(t)){switch(n=t.type,o=t.memoizedProps,(l=t.stateNode)[Ek]=t,l[Dk]=o,e=0!=(1&t.mode),n){case"dialog":ut("cancel",l),ut("close",l);break;case"iframe":case"object":case"embed":ut("load",l);break;case"video":case"audio":for(r=0;r<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof l.is?e=i.createElement(n,{is:l.is}):(e=i.createElement(n),"select"===n&&(i=e,l.multiple?i.multiple=!0:l.size&&(i.size=l.size))):e=i.createElementNS(e,n),e[Ek]=t,e[Dk]=l,Ax(e,t,!1,!1),t.stateNode=e;e:{switch(i=q(n,l),n){case"dialog":ut("cancel",e),ut("close",e),r=l;break;case"iframe":case"object":case"embed":ut("load",e),r=l;break;case"video":case"audio":for(r=0;ruS&&(t.flags|=128,l=!0,qr(o,!1),t.lanes=4194304)}else{if(!l)if(null!==(e=In(i))){if(t.flags|=128,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),qr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!Jk)return Xr(t),null}else 2*x_()-o.renderingStartTime>uS&&1073741824!==n&&(t.flags|=128,l=!0,qr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=o.last)?n.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(o.rendering=t=o.tail,o.tail=t.sibling,o.renderingStartTime=x_(),t.sibling=null,n=gx.current,Tt(gx,l?1&n|2:1&n),t):(Xr(t),null);case 22:case 23:return jo(),l=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==l&&(t.flags|=8192),l&&0!=(1&t.mode)?0!=(1073741824&eS)&&(Xr(t),6&t.subtreeFlags&&(t.flags|=8192)):Xr(t),null;case 24:case 25:return null}throw Error(f(156,t.tag))}function Yr(e,t){switch(Gt(t),t.tag){case 1:return At(t.type)&&Rt(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Pn(),Nt(Rk),Nt(Ak),An(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Tn(t),null;case 13:if(Nt(gx),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(f(340));en()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Nt(gx),null;case 4:return Pn(),null;case 10:return on(t.type._context),null;case 22:case 23:return jo(),null;default:return null}}function Qr(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Uo(e,t,r)}else n.current=null}function Jr(e,t,n){try{n()}catch(r){Uo(e,t,r)}}function Zr(e,t,n){var r,o,i=t.updateQueue;if(null!==(i=null!==i?i.lastEffect:null)){r=i=i.next;do{(r.tag&e)===e&&(o=r.destroy,r.destroy=void 0,void 0!==o&&Jr(t,n,o)),r=r.next}while(r!==i)}}function eo(e,t){var n;if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){n=t=t.next;do{(n.tag&e)===e&&(n.destroy=(0,n.create)()),n=n.next}while(n!==t)}}function to(e){var t=e.ref;null!==t&&(e=e.stateNode,"function"==typeof t?t(e):t.current=e)}function no(e){var t=e.alternate;null!==t&&(e.alternate=null,no(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[Ek],delete t[Dk],delete t[$k],delete t[jk],delete t[Pk]),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 ro(e){return 5===e.tag||3===e.tag||4===e.tag}function oo(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ro(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function io(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=wt));else if(4!==r&&null!==(e=e.child))for(io(e,t,n),e=e.sibling;null!==e;)io(e,t,n),e=e.sibling}function ao(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ao(e,t,n),e=e.sibling;null!==e;)ao(e,t,n),e=e.sibling}function so(e,t,n){for(n=n.child;null!==n;)lo(e,t,n),n=n.sibling}function lo(e,t,n){var r,o,i,a;if(P_&&"function"==typeof P_.onCommitFiberUnmount)try{P_.onCommitFiberUnmount(j_,n)}catch(s){}switch(n.tag){case 5:zx||Qr(n,t);case 6:r=Wx,o=Vx,Wx=null,so(e,t,n),Vx=o,null!==(Wx=r)&&(Vx?(n=n.stateNode,8===(e=Wx).nodeType?e.parentNode.removeChild(n):e.removeChild(n)):Wx.removeChild(n.stateNode));break;case 18:null!==Wx&&(Vx?(n=n.stateNode,8===(e=Wx).nodeType?St(e.parentNode,n):1===e.nodeType&&St(e,n),Ce(e)):St(Wx,n.stateNode));break;case 4:r=Wx,o=Vx,Wx=n.stateNode.containerInfo,Vx=!0,so(e,t,n),Wx=r,Vx=o;break;case 0:case 11:case 14:case 15:if(!zx&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{a=(i=o).destroy,i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&Jr(n,t,a),o=o.next}while(o!==r)}so(e,t,n);break;case 1:if(!zx&&(Qr(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Uo(n,t,s)}so(e,t,n);break;case 21:so(e,t,n);break;case 22:1&n.mode?(zx=(r=zx)||null!==n.memoizedState,so(e,t,n),zx=r):so(e,t,n);break;default:so(e,t,n)}}function co(e){var t,n=e.updateQueue;null!==n&&(e.updateQueue=null,null===(t=e.stateNode)&&(t=e.stateNode=new Bx),n.forEach((function(n){var r=qo.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))})))}function uo(e,t){var n,r,o,i,a,s,l=t.deletions;if(null!==l)for(n=0;no&&(o=a),r&=~i;if(r=o,10<(r=(120>(r=x_()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Gx(r/1960))-r)){e.timeoutHandle=wk(zo.bind(null,e,lS,dS),r);break}zo(e,lS,dS);break;default:throw Error(f(329))}}}return ko(e,x_()),e.callbackNode===n?xo.bind(null,e):null}function So(e,t){var n=sS;return e.current.memoizedState.isDehydrated&&(Po(e,t).flags|=256),2!==(e=Ao(e,t))&&(t=lS,lS=n,null!==t&&Co(t)),e}function Co(e){null===lS?lS=e:lS.push.apply(lS,e)}function Eo(e,t){for(t&=~aS,e.suspendedLanes|=t&=~iS,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===hS)r=!1;else{if(e=hS,hS=null,bS=0,0!=(6&Yx))throw Error(f(331));for(o=Yx,Yx|=4,Hx=e.current;null!==Hx;){if(a=(i=Hx).child,0!=(16&Hx.flags)&&null!==(s=i.deletions)){for(l=0;lx_()-cS?Po(e,0):aS|=n),ko(e,t)}function Vo(e,t){0===t&&(0==(1&e.mode)?t=1:(t=R_,0==(130023424&(R_<<=1))&&(R_=4194304)));var n=vo();null!==(e=dn(e,t))&&(ge(e,t,n),ko(e,n))}function Go(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Vo(e,n)}function qo(e,t){var n,r,o=0;switch(e.tag){case 13:n=e.stateNode,null!==(r=e.memoizedState)&&(o=r.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(f(314))}null!==n&&n.delete(t),Vo(e,o)}function Xo(e,t){return v_(e,t)}function Ko(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yo(e,t,n,r){return new Ko(e,t,n,r)}function Qo(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Jo(e,t){var n=e.alternate;return null===n?((n=Yo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zo(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Qo(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case zv:return ei(n.children,o,i,t);case Bv:a=8,o|=8;break;case Hv:return(e=Yo(12,n,t,2|o)).elementType=Hv,e.lanes=i,e;case Gv:return(e=Yo(13,n,t,o)).elementType=Gv,e.lanes=i,e;case qv:return(e=Yo(19,n,t,o)).elementType=qv,e.lanes=i,e;case Yv:return ti(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Uv:a=10;break e;case Wv:a=9;break e;case Vv:a=11;break e;case Xv:a=14;break e;case Kv:a=16,r=null;break e}throw Error(f(130,null==e?e:typeof e,""))}return(t=Yo(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function ei(e,t,n,r){return(e=Yo(7,e,r,t)).lanes=n,e}function ti(e,t,n,r){return(e=Yo(22,e,r,t)).elementType=Yv,e.lanes=n,e.stateNode={isHidden:!1},e}function ni(e,t,n){return(e=Yo(6,e,null,t)).lanes=n,e}function ri(e,t,n){return(t=Yo(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function oi(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=me(0),this.expirationTimes=me(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=me(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ii(e,t,n,r,o,i,a,s,l){return e=new oi(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Yo(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},pn(i),e}function ai(e){var t,n;if(!e)return Ik;e:{if(oe(e=e._reactInternals)!==e||1!==e.tag)throw Error(f(170));t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(At(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(f(171))}return 1===e.tag&&At(n=e.type)?Mt(e,n,t):t}function si(e,t,n,r,o,i,a,s,l){return(e=ii(n,r,!0,e,0,i,0,s,l)).context=ai(null),n=e.current,(i=mn(r=vo(),o=_o(n))).callback=null!=t?t:null,gn(n,i,o),e.current.lanes=o,ge(e,o,r),ko(e,r),e}function li(e,t,n,r){var o=t.current,i=vo(),a=_o(o);return n=ai(n),null===t.context?t.context=n:t.pendingContext=n,(t=mn(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=gn(o,t,a))&&(wo(e,o,a,i),hn(e,o,a)),a}function ci(e){return(e=e.current).child?e.child.stateNode:null}function ui(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n=0||(n[o]=e[o]);return n}(e,t),Object.getOwnPropertySymbols)for(i=Object.getOwnPropertySymbols(e),o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r]);return n}function Di(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Oi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $i(e,t){var n,r;for(n=0;n2||Vi(aE)>3?"":" "}function Yi(e,t){for(;--t&&Bi()&&!(aE<48||aE>102||aE>57&&aE<65||aE>70&&aE<97););return Wi(e,Ui()+(t<6&&32==Hi()&&32==Bi()))}function Qi(e){for(;Bi();)switch(aE){case e:return iE;case 34:case 39:34!==e&&39!==e&&Qi(aE);break;case 40:41===e&&Qi(e);break;case 92:Bi()}return iE}function Ji(e,t){for(;Bi()&&e+aE!==57&&(e+aE!==84||47!==Hi()););return"/*"+Wi(t,iE-1)+"*"+eE(47===e?e:Bi())}function Zi(e){for(;!Vi(Hi());)Bi();return Wi(e,iE)}function ea(e){return qi(ta("",null,null,null,[""],e=Gi(e),0,[0],e))}function ta(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,m=0,g=1,h=1,b=1,y=0,v="",_=o,w=i,k=r,x=v;h;)switch(m=y,y=Bi()){case 40:if(108!=m&&58==Ii(x,d-1)){-1!=Ti(x+=Ni(Xi(y),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:x+=Xi(y);break;case 9:case 10:case 13:case 32:x+=Ki(m);break;case 92:x+=Yi(Ui()-1,7);continue;case 47:switch(Hi()){case 42:case 47:Mi(ra(Ji(Bi(),Ui()),t,n),l);break;default:x+="/"}break;case 123*g:s[c++]=Ri(x)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:h=0;case 59+u:-1==b&&(x=Ni(x,/\f/g,"")),f>0&&Ri(x)-d&&Mi(f>32?oa(x+";",r,n,d-1):oa(Ni(x," ","")+";",r,n,d-2),l);break;case 59:x+=";";default:if(Mi(k=na(x,t,n,c,u,o,s,v,_=[],w=[],d),i),123===y)if(0===u)ta(x,t,k,k,_,i,d,s,w);else switch(99===p&&110===Ii(x,3)?100:p){case 100:case 108:case 109:case 115:ta(e,k,k,r&&Mi(na(e,k,k,0,0,o,s,v,o,_=[],d),w),o,w,d,s,r?_:w);break;default:ta(x,k,k,k,[""],w,0,s,w)}}c=u=f=0,g=b=1,v=x="",d=a;break;case 58:d=1+Ri(x),f=m;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==(aE=iE>0?Ii(sE,--iE):0,rE--,10===aE&&(rE=1,nE--),aE))continue;switch(x+=eE(y),y*g){case 38:b=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(Ri(x)-1)*b,b=1;break;case 64:45===Hi()&&(x+=Xi(Bi())),p=Hi(),u=d=Ri(v=x+=Zi(Ui())),y++;break;case 45:45===m&&2==Ri(x)&&(g=0)}}return i}function na(e,t,n,r,o,i,a,s,l,c,u){var d,p,f,m,g,h,b=o-1,y=0===o?i:[""],v=Fi(y);for(d=0,p=0,f=0;d0?y[m]+" "+g:Ni(g,/&\f/g,y[m])))&&(l[f++]=h);return Li(e,t,n,0===o?XC:s,l,c,u)}function ra(e,t,n){return Li(e,t,n,qC,eE(aE),Ai(e,2,-2),0)}function oa(e,t,n,r){return Li(e,t,n,KC,Ai(e,0,r),Ai(e,r+1,-1),r)}function ia(e,t){var n,r="",o=Fi(e);for(n=0;n6)switch(Ii(e,t+1)){case 109:if(45!==Ii(e,t+4))break;case 102:return Ni(e,/(.+:)(.+)-([^]+)/,"$1"+GC+"$2-$3$1"+VC+(108==Ii(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ti(e,"stretch")?la(Ni(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ii(e,t+1))break;case 6444:switch(Ii(e,Ri(e)-3-(~Ti(e,"!important")&&10))){case 107:return Ni(e,":",":"+GC)+e;case 101:return Ni(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+GC+(45===Ii(e,14)?"inline-":"")+"box$3$1"+GC+"$2$3$1"+WC+"$2box$3")+e}break;case 5936:switch(Ii(e,t+11)){case 114:return GC+e+WC+Ni(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return GC+e+WC+Ni(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return GC+e+WC+Ni(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return GC+e+WC+e+e}return e}function ca(e,t,n){var r,o,i,a;if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return CE={name:n.name,styles:n.styles,next:CE},n.name;if(void 0!==n.styles){if(void 0!==(r=n.next))for(;void 0!==r;)CE={name:r.name,styles:r.styles,next:CE},r=r.next;return n.styles+";"}return function(e,t,n){var r,o,i,a,s,l="";if(Array.isArray(n))for(r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}function Ea(e,t,n){var r=mv.useRef({});return"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t),r.current.value}function Da(){}function Oa(){}function $a(e,t,n){t||RD[n]||(e(!1,n),RD[n]=!0)}function ja(e,t){$a(Da,e,t)}function Pa(e,t,n){var r=arguments.length>2&&void 0!==n&&n,o=new Set;return function e(t,n,i){var a,s,l,c=arguments.length>2&&void 0!==i?i:1,u=o.has(t);if(ja(!u,"Warning: There may be circular references"),u)return!1;if(t===n)return!0;if(r&&c>1)return!1;if(o.add(t),a=c+1,Array.isArray(t)){if(!Array.isArray(n)||t.length!==n.length)return!1;for(s=0;s0&&void 0!==e?e:{}).mark;return t?t.startsWith("data-")?t:"data-".concat(t):VD}function Ra(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Fa(e){return Array.from((GD.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function Ma(e,t){var n,r,o,i,a,s,l=arguments.length>1&&void 0!==t?t:{};if(!Ta())return null;if(n=l.csp,r=l.prepend,(o=document.createElement("style")).setAttribute(WD,function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r)),null!=n&&n.nonce&&(o.nonce=null==n?void 0:n.nonce),o.innerHTML=e,a=(i=Ra(l)).firstChild,r){if("queue"===r&&(s=Fa(i).filter((function(e){return["prepend","prependQueue"].includes(e.getAttribute(WD))}))).length)return i.insertBefore(o,s[s.length-1].nextSibling),o;i.insertBefore(o,a)}else i.appendChild(o);return o}function La(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Fa(Ra(n)).find((function(t){return t.getAttribute(Aa(n))===e}))}function za(e,t){var n=arguments.length>1&&void 0!==t?t:{},r=La(e,n);r&&Ra(n).removeChild(r)}function Ba(e,t,n){var r,o,i,a,s,l=arguments.length>2&&void 0!==n?n:{};return function(e,t){var n,r=GD.get(e);r&&Ia(document,r)||(n=Ma("",t),GD.set(e,n.parentNode),e.removeChild(n))}(Ra(l),l),(r=La(t,l))?(null!==(o=l.csp)&&void 0!==o&&o.nonce&&r.nonce!==(null===(i=l.csp)||void 0===i?void 0:i.nonce)&&(r.nonce=null===(a=l.csp)||void 0===a?void 0:a.nonce),r.innerHTML!==e&&(r.innerHTML=e),r):((s=Ma(e,l)).setAttribute(Aa(l),t),s)}function Ha(e){var t="";return Object.keys(e).forEach((function(n){var r=e[n];t+=n,r&&"object"===xi(r)?t+=Ha(r):t+=r})),t}function Ua(e){if(Array.isArray(e))return e}function Wa(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Va(e,t){return Ua(e)||function(e,t){var n,r,o,i,a,s,l,c=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=c){a=[],s=!0,l=!1;try{if(o=(c=c.call(e)).next,0===t){if(Object(c)!==c)return;s=!1}else for(;!(s=(n=o.call(c)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(u){l=!0,r=u}finally{try{if(!s&&null!=c.return&&(i=c.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(e,t)||wa(e,t)||Wa()}function Ga(e,t,n,r,o){var i,a=mv.useContext(pZ).cache,s=[e].concat(ka(t)),l=s.join("_"),c=function(e){a.update(s,(function(t){var r=Va(t||[],2),o=r[0],i=[void 0===o?0:o,r[1]||n()];return e?e(i):i}))};return mv.useMemo((function(){return c()}),[l]),i=a.get(s)[1],fZ((function(){null==o||o(i)}),(function(e){return c((function(t){var n=Va(t,2),r=n[0],a=n[1];return e&&0===r&&(null==o||o(i)),[r+1,a]})),function(){a.update(s,(function(e){var t=Va(e||[],2),n=t[0],o=void 0===n?0:n,i=t[1];return 0==o-1?(null==r||r(i,!1),null):[o-1,i]}))}}),[l]),i}function qa(e){return e.trim()}function Xa(e,t){return(e=t.exec(e))?e[0]:e}function Ka(e,t,n){return e.replace(t,n)}function Ya(e,t){return e.indexOf(t)}function Qa(e,t){return 0|e.charCodeAt(t)}function Ja(e,t,n){return e.slice(t,n)}function Za(e){return e.length}function es(e){return e.length}function ts(e,t){return t.push(e),e}function ns(e,t){return e.filter((function(e){return!Xa(e,t)}))}function rs(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:vO,column:_O,length:a,return:"",siblings:s}}function os(e,t){return yO(rs("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function is(e){for(;e.root;)e=os(e.root,{children:[e]});ts(e,e.siblings)}function as(){return xO=kO2||us(xO)>3?"":" "}function fs(e,t){for(;--t&&as()&&!(xO<48||xO>102||xO>57&&xO<65||xO>70&&xO<97););return cs(e,ls()+(t<6&&32==ss()&&32==as()))}function ms(e){for(;as();)switch(xO){case e:return kO;case 34:case 39:34!==e&&39!==e&&ms(xO);break;case 40:41===e&&ms(e);break;case 92:as()}return kO}function gs(e,t){for(;as()&&e+xO!==57&&(e+xO!==84||47!==ss()););return"/*"+cs(t,kO-1)+"*"+bO(47===e?e:as())}function hs(e){for(;!us(ss());)as();return cs(e,kO)}function bs(e){return function(e){return SO="",e}(ys("",null,null,null,[""],e=function(e){return vO=_O=1,wO=Za(SO=e),kO=0,[]}(e),0,[0],e))}function ys(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,m=0,g=1,h=1,b=1,y=0,v="",_=o,w=i,k=r,x=v;h;)switch(m=y,y=as()){case 40:if(108!=m&&58==Qa(x,d-1)){-1!=Ya(x+=Ka(ds(y),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:x+=ds(y);break;case 9:case 10:case 13:case 32:x+=ps(m);break;case 92:x+=fs(ls()-1,7);continue;case 47:switch(ss()){case 42:case 47:ts(_s(gs(as(),ls()),t,n,l),l);break;default:x+="/"}break;case 123*g:s[c++]=Za(x)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:h=0;case 59+u:-1==b&&(x=Ka(x,/\f/g,"")),f>0&&Za(x)-d&&ts(f>32?ws(x+";",r,n,d-1,l):ws(Ka(x," ","")+";",r,n,d-2,l),l);break;case 59:x+=";";default:if(ts(k=vs(x,t,n,c,u,o,s,v,_=[],w=[],d,i),i),123===y)if(0===u)ys(x,t,k,k,_,i,d,s,w);else switch(99===p&&110===Qa(x,3)?100:p){case 100:case 108:case 109:case 115:ys(e,k,k,r&&ts(vs(e,k,k,0,0,o,s,v,o,_=[],d,w),w),o,w,d,s,r?_:w);break;default:ys(x,k,k,k,[""],w,0,s,w)}}c=u=f=0,g=b=1,v=x="",d=a;break;case 58:d=1+Za(x),f=m;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==(xO=kO>0?Qa(SO,--kO):0,_O--,10===xO&&(_O=1,vO--),xO))continue;switch(x+=bO(y),y*g){case 38:b=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(Za(x)-1)*b,b=1;break;case 64:45===ss()&&(x+=ds(as())),p=ss(),u=d=Za(v=x+=hs(ls())),y++;break;case 45:45===m&&2==Za(x)&&(g=0)}}return i}function vs(e,t,n,r,o,i,a,s,l,c,u,d){var p,f,m,g,h,b,y=o-1,v=0===o?i:[""],_=es(v);for(p=0,f=0,m=0;p0?v[g]+" "+h:Ka(h,/&\f/g,v[g])))&&(l[m++]=b);return rs(e,t,n,0===o?dO:s,l,c,u,d)}function _s(e,t,n,r){return rs(e,t,n,uO,bO(xO),Ja(e,2,-2),0,r)}function ws(e,t,n,r,o){return rs(e,t,n,pO,Ja(e,0,r),Ja(e,r+1,-1),r,o)}function ks(e,t,n){switch(function(e,t){return 45^Qa(e,0)?(((t<<2^Qa(e,0))<<2^Qa(e,1))<<2^Qa(e,2))<<2^Qa(e,3):0}(e,t)){case 5103:return cO+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return cO+e+e;case 4789:return lO+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return cO+e+lO+e+sO+e+e;case 5936:switch(Qa(e,t+11)){case 114:return cO+e+sO+Ka(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return cO+e+sO+Ka(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return cO+e+sO+Ka(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return cO+e+sO+e+e;case 6165:return cO+e+sO+"flex-"+e+e;case 5187:return cO+e+Ka(e,/(\w+).+(:[^]+)/,cO+"box-$1$2"+sO+"flex-$1$2")+e;case 5443:return cO+e+sO+"flex-item-"+Ka(e,/flex-|-self/g,"")+(Xa(e,/flex-|baseline/)?"":sO+"grid-row-"+Ka(e,/flex-|-self/g,""))+e;case 4675:return cO+e+sO+"flex-line-pack"+Ka(e,/align-content|flex-|-self/g,"")+e;case 5548:return cO+e+sO+Ka(e,"shrink","negative")+e;case 5292:return cO+e+sO+Ka(e,"basis","preferred-size")+e;case 6060:return cO+"box-"+Ka(e,"-grow","")+cO+e+sO+Ka(e,"grow","positive")+e;case 4554:return cO+Ka(e,/([^-])(transform)/g,"$1"+cO+"$2")+e;case 6187:return Ka(Ka(Ka(e,/(zoom-|grab)/,cO+"$1"),/(image-set)/,cO+"$1"),e,"")+e;case 5495:case 3959:return Ka(e,/(image-set\([^]*)/,cO+"$1$`$1");case 4968:return Ka(Ka(e,/(.+:)(flex-)?(.*)/,cO+"box-pack:$3"+sO+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+cO+e+e;case 4200:if(!Xa(e,/flex-|baseline/))return sO+"grid-column-align"+Ja(e,t)+e;break;case 2592:case 3360:return sO+Ka(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,Xa(e.props,/grid-\w+-end/)}))?~Ya(e+(n=n[t].value),"span")?e:sO+Ka(e,"-start","")+e+sO+"grid-row-span:"+(~Ya(n,"span")?Xa(n,/\d+/):+Xa(n,/\d+/)-+Xa(e,/\d+/))+";":sO+Ka(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return Xa(e.props,/grid-\w+-start/)}))?e:sO+Ka(Ka(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Ka(e,/(.+)-inline(.+)/,cO+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Za(e)-1-t>6)switch(Qa(e,t+1)){case 109:if(45!==Qa(e,t+4))break;case 102:return Ka(e,/(.+:)(.+)-([^]+)/,"$1"+cO+"$2-$3$1"+lO+(108==Qa(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ya(e,"stretch")?ks(Ka(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Ka(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,a,s){return sO+n+":"+r+s+(o?sO+n+"-span:"+(i?a:+a-+r)+s:"")+e}));case 4949:if(121===Qa(e,t+6))return Ka(e,":",":"+cO)+e;break;case 6444:switch(Qa(e,45===Qa(e,14)?18:11)){case 120:return Ka(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+cO+(45===Qa(e,14)?"inline-":"")+"box$3$1"+cO+"$2$3$1"+sO+"$2box$3")+e;case 100:return Ka(e,":",":"+sO)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Ka(e,"scroll-","scroll-snap-")+e}return e}function xs(e,t){var n,r="";for(n=0;n-1&&!e.return)switch(e.type){case pO:return void(e.return=ks(e.value,e.length,n));case mO:return xs([os(e,{value:Ka(e.value,"@","@"+cO)})],r);case dO:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(Xa(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":is(os(e,{props:[Ka(t,/:(read-\w+)/,":"+lO+"$1")]})),is(os(e,{props:[t]})),yO(e,{props:ns(n,r)});break;case"::placeholder":is(os(e,{props:[Ka(t,/:(plac\w+)/,":"+cO+"input-$1")]})),is(os(e,{props:[Ka(t,/:(plac\w+)/,":"+lO+"$1")]})),is(os(e,{props:[Ka(t,/:(plac\w+)/,sO+"input-$1")]})),is(os(e,{props:[t]})),yO(e,{props:ns(n,r)})}return""}))}}function Es(e){return xs(bs(e),Ss).replace(/\{%%%\:[^;];}/g,";")}function Ds(){return null}function Os(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b=e.token,y=e.path,v=e.hashId,_=e.layer,w=e.nonce,k=mv.useContext(pZ),x=k.autoClear;return n=k.defaultCache,r=k.hashPriority,o=k.container,i=k.ssrInline,a=k.transformers,s=k.linters,l=k.cache,u=[c=b._tokenKey].concat(ka(y)),d=$O,p=Ga("style",u,(function(){var e,n,o,i,l,d,p,f,m=u.join("|");return function(e){var t,n,r;return DO||(DO={},Ta()&&((t=document.createElement("div")).className=CO,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t),(getComputedStyle(t).content||"").replace(/^"/,"").replace(/"$/,"").split(";").forEach((function(e){var t=Va(e.split(":"),2);DO[t[0]]=t[1]})),(n=document.querySelector("style[".concat(CO,"]")))&&(OO=!1,null===(r=n.parentNode)||void 0===r||r.removeChild(n)),document.body.removeChild(t))),!!DO[e]}(m)&&(e=function(e){var t,n=DO[e],r=null;return n&&Ta()&&(OO?r=EO:(t=document.querySelector("style[".concat(zD,'="').concat(DO[e],'"]')))?r=t.innerHTML:delete DO[e]),[r,n]}(m),o=(n=Va(e,2))[0])?[o,c,n[1],{}]:(i=t(),d=(l=Va(PO(i,{hashId:v,hashPriority:r,layer:_,path:y.join("-"),transformers:a,linters:s}),2))[1],p=Es(l[0]),f=function(e,t){return Ca("".concat(e.join("%")).concat(t))}(u,p),[p,c,f,d])}),(function(e,t){var n=Va(e,3);(t||x)&&$O&&za(n[2],{mark:zD})}),(function(e){var t,n,r,i,a,s=Va(e,4),u=s[0];t=s[2],n=s[3],d&&u!==EO&&(r={mark:zD,prepend:"queue",attachTo:o},(i="function"==typeof w?w():w)&&(r.csp={nonce:i}),(a=Ba(u,t,r))[BD]=l.instanceId,a.setAttribute(LD,c),Object.keys(n).forEach((function(e){Ba(Es(n[e]),"_effect-".concat(e),r)})))})),f=Va(p,3),m=f[0],g=f[1],h=f[2],function(e){var t,r;return t=i&&!d&&n?mv.createElement("style",fa({},(Ci(r={},LD,g),Ci(r,zD,h),r),{dangerouslySetInnerHTML:{__html:m}})):mv.createElement(Ds,null),mv.createElement(mv.Fragment,null,t,e)}}function $s(e){var t=Array.isArray(e)?e:[e];return RO.has(t)||RO.set(t,new AO(t)),RO.get(t)}function js(e){return e.notSplit=!0,e}function Ps(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Ns(e){var t,n;for(t=1;t1&&void 0!==t?t:{},r=[];return jJ.Children.forEach(e,(function(e){(null!=e||n.keepEmpty)&&(Array.isArray(e)?r=r.concat(Ls(e)):mD.isFragment(e)&&e.props?r=r.concat(Ls(e.props.children,n)):r.push(e))})),r}function zs(e,t){"function"==typeof e?e(t):"object"===xi(e)&&e&&"current"in e&&(e.current=t)}function Bs(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n3&&void 0!==r&&r;return t.length&&o&&void 0===n&&!el(e,t.slice(0,-1))?e:tl(e,t,n,o)}function rl(e){return Array.isArray(e)?[]:{}}function ol(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n1)&&(e=1),e}function ul(e){return e<=1?"".concat(100*Number(e),"%"):e}function dl(e){return 1===e.length?"0"+e:String(e)}function pl(e,t,n){var r,o,i,a,s,l;if(e=sl(e,255),t=sl(t,255),n=sl(n,255),i=0,a=0,s=((r=Math.max(e,t,n))+(o=Math.min(e,t,n)))/2,r===o)a=0,i=0;else{switch(l=r-o,a=s>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ml(e,t,n){var r,o,i,a,s,l;if(e=sl(e,255),t=sl(t,255),n=sl(n,255),i=0,a=r=Math.max(e,t,n),s=r-(o=Math.min(e,t,n)),l=0===r?0:s/r,r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t=60&&Math.round(e.h)<=240?n?Math.round(e.h)-C$*t:Math.round(e.h)+C$*t:n?Math.round(e.h)+C$*t:Math.round(e.h)-C$*t)<0?r+=360:r>=360&&(r-=360),r}function xl(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-E$*t:t===P$?e.s+E$:e.s+D$*t)>1&&(r=1),n&&t===j$&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function Sl(e,t,n){var r;return(r=n?e.v+O$*t:e.v-$$*t)>1&&(r=1),Number(r.toFixed(2))}function Cl(e,t){var n,r,o,i,a,s,l=arguments.length>1&&void 0!==t?t:{},c=[],u=yl(e);for(n=j$;n>0;n-=1)o=wl(yl({h:kl(r=_l(u),n,!0),s:xl(r,n,!0),v:Sl(r,n,!0)})),c.push(o);for(c.push(wl(u)),i=1;i<=P$;i+=1)s=wl(yl({h:kl(a=_l(u),i),s:xl(a,i),v:Sl(a,i)})),c.push(s);return"dark"===l.theme?N$.map((function(e){var t,n,r,o=e.index,i=e.opacity;return wl((t=yl(l.backgroundColor||"#141414"),{r:((n=yl(c[o])).r-t.r)*(r=100*i/100)+t.r,g:(n.g-t.g)*r+t.g,b:(n.b-t.b)*r+t.b}))})):c}function El(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),p=n(o),f=n(i),m=n(a),g=n(s),h=r(c,u),b=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},h),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new S$("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}function Dl(e){const t=Object.keys(OZ).map((t=>{const n=Cl(e[t]);return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),El(e,{generateColorPalettes:TZ,generateNeutralColorPalettes:IZ})),AZ(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),DZ(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},jZ(r))}(e))}function Ol(e){return e>=0&&e<=255}function $l(e,t){const{r:n,g:r,b:o,a:i}=new S$(e).toRgb();if(i<1)return e;const{r:a,g:s,b:l}=new S$(t).toRgb();for(let c=.01;c<=1;c+=.01){const e=Math.round((n-a*(1-c))/c),t=Math.round((r-s*(1-c))/c),i=Math.round((o-l*(1-c))/c);if(Ol(e)&&Ol(t)&&Ol(i))return new S$({r:e,g:t,b:i,a:Math.round(100*c)/100}).toRgbString()}return new S$({r:n,g:r,b:o,a:1}).toRgbString()}function jl(e){const{override:t}=e,n=F$(e,["override"]),r=Object.assign({},t);Object.keys($Z).forEach((e=>{delete r[e]}));const o=Object.assign(Object.assign({},n),r);if(!1===o.motion){const e="0s";o.motionDurationFast=e,o.motionDurationMid=e,o.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:$l(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:$l(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:$l(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:4*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:$l(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:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new S$("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new S$("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new S$("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}function Pl(){const{token:e,hashed:t,theme:n,components:r}=jJ.useContext(MZ),o=`${EZ}-${t||""}`,i=n||RZ,[a,s]=function(e,t,n){var r=arguments.length>2&&void 0!==n?n:{},o=mv.useContext(pZ).cache.instanceId,i=r.salt,a=void 0===i?"":i,s=r.override,l=void 0===s?tO:s,c=r.formatToken,u=mv.useMemo((function(){return Object.assign.apply(Object,[{}].concat(ka(t)))}),[t]),d=mv.useMemo((function(){return Ha(u)}),[u]),p=mv.useMemo((function(){return Ha(l)}),[l]),f=Ga("token",[a,e.id,d,p],(function(){var t,n=iO(u,l,e,c),r=function(e,t){return Ca("".concat(t,"_").concat(Ha(e)))}(n,a);return n._tokenKey=r,function(e){rO.set(e,(rO.get(e)||0)+1)}(r),t="".concat(nO,"-").concat(Ca(r)),n._hashId=t,[n,t]}),(function(e){!function(e,t){var n,r;rO.set(e,(rO.get(e)||0)-1),r=(n=Array.from(rO.keys())).filter((function(e){return(rO.get(e)||0)<=0})),n.length-r.length>oO&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(LD,'="').concat(e,'"]')).forEach((function(e){var n;e[BD]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),rO.delete(e)}))}(e[0]._tokenKey,o)}));return f}(i,[$Z,e],{salt:o,override:Object.assign({override:e},r),formatToken:jl});return[i,a,t?s:""]}function Nl(e){var t,n=mv.useRef();return n.current=e,t=mv.useCallback((function(){var e,t,r,o;for(t=arguments.length,r=new Array(t),o=0;o{Object.keys(e).forEach((t=>{Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),KZ=!0,r}function Fl(){}function Ml(e,t,n,r){return o=>{const[i,a,s]=Pl(),{getPrefixCls:l,iconPrefixCls:c,csp:u}=mv.useContext(zZ),d=l(),p={theme:i,token:a,hashId:s,nonce:()=>null==u?void 0:u.nonce};return Os(Object.assign(Object.assign({},p),{path:["Shared",d]}),(()=>[{"&":WZ(a)}])),[Os(Object.assign(Object.assign({},p),{path:[e,o,c]}),(()=>{const{token:i,flush:l}=function(e){let t,n=e,r=Fl;return XZ&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(KZ&&t.add(n),e[n])}),r=()=>{Array.from(t)}),{token:n,keys:t,flush:r}}(a),u=Object.assign({},a[e]);if(null==r?void 0:r.deprecatedTokens){const{deprecatedTokens:e}=r;e.forEach((e=>{let[t,n]=e;var r;((null==u?void 0:u[t])||(null==u?void 0:u[n]))&&(null!==(r=u[n])&&void 0!==r||(u[n]=null==u?void 0:u[t]))}))}const p="function"==typeof n?n(Rl(i,null!=u?u:{})):n,f=Object.assign(Object.assign({},p),u),m=Rl(i,{componentCls:`.${o}`,prefixCls:o,iconCls:`.${c}`,antCls:`.${d}`},f),g=t(m,{hashId:s,prefixCls:o,rootPrefixCls:d,iconPrefixCls:c,overrideComponentToken:u});return l(e,f),[!1===(null==r?void 0:r.resetStyle)?null:VZ(a,o),g]})),s]}}function Ll(e,t){return CZ.reduce(((n,r)=>{const o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))}),{})}function zl(e){var t=e.children,n=Ei(e,M$);return mv.createElement(L$.Provider,{value:n},t)}function Bl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function Hl(e){var t,n,r,o,i;if(ej[e])return ej[e];if(t=Q$[e])for(r=(n=Object.keys(t)).length,o=0;o0&&void 0!==e?e:[]).map(Vl)}function ql(e){const{children:t}=e,[,n]=Pl(),{motion:r}=n,o=mv.useRef(!1);return o.current=o.current||!1===r,o.current?mv.createElement(zl,{motion:r},t):t}function Xl(){return a0||"ant"}function Kl(){return s0||LZ}function Yl(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function Ql(e){return function(e){return Yl(e)!==(null==e?void 0:e.ownerDocument)}(e)?Yl(e):null}function Jl(e){return"object"===xi(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===xi(e.icon)||"function"==typeof e.icon)}function Zl(e){var t=arguments.length>0&&void 0!==e?e:{};return Object.keys(t).reduce((function(e,n){var r=t[n];return"class"===n?(e.className=r,delete e.class):e[n]=r,e}),{})}function ec(e,t,n){return jJ.createElement(e.tag,n?Sa(Sa({key:t},Zl(e.attrs)),n):Sa({key:t},Zl(e.attrs)),(e.children||[]).map((function(n,r){return ec(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function tc(e){return Cl(e)[0]}function nc(e){return e?Array.isArray(e)?e:[e]:[]}function rc(e){var t=Va(nc(e),2);return f0.setTwoToneColors({primaryColor:t[0],secondaryColor:t[1]})}function oc(e,t){return 0===e.indexOf(t)}function ic(e,t){var n,r,o=arguments.length>1&&void 0!==t&&t;return n=!1===o?{aria:!0,data:!0,attr:!0}:!0===o?{aria:!0}:Sa({},o),r={},Object.keys(e).forEach((function(t){(n.aria&&("role"===t||oc(t,Sj))||n.data&&oc(t,Cj)||n.attr&&xj.includes(t))&&(r[t]=e[t])})),r}function ac(e){return e&&S0(e)&&e.type===mv.Fragment}function sc(e,t){return function(e,t,n){return S0(e)?mv.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}(e,e,t)}function lc(e){var t=arguments.length>0&&void 0!==e?e:{},n=t.getContainer,r=void 0===n?jj:n,o=t.motion,i=t.prefixCls,a=t.maxCount,s=t.className,l=t.style,c=t.onAllRemoved,u=Ei(t,$j),d=Va(mv.useState(),2),p=d[0],f=d[1],m=mv.useRef(),g=mv.createElement(Oj,{container:p,ref:m,prefixCls:i,motion:o,maxCount:a,className:s,style:l,onAllRemoved:c}),h=Va(mv.useState([]),2),b=h[0],y=h[1],v=mv.useMemo((function(){return{open:function(e){var t=function(){var e,t,n,r={};for(e=arguments.length,t=new Array(e),n=0;n{t=e((()=>{n(!0)}))})),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}function uc(e){const t=mv.useRef(null);return[mv.useMemo((()=>{const e=e=>{var n;null===(n=t.current)||void 0===n||n.close(e)},n=n=>{if(!t.current){const e=()=>{};return e.then=()=>{},e}const{open:r,prefixCls:o,hashId:i,message:a}=t.current,s=`${o}-notice`,{content:l,icon:c,type:u,key:d,className:p,style:f,onClose:m}=n,g=Tj(n,["content","icon","type","key","className","style","onClose"]);let h=d;return null==h&&(z0+=1,h=`antd-message-${z0}`),cc((t=>(r(Object.assign(Object.assign({},g),{key:h,content:mv.createElement(F0,{prefixCls:o,type:u,icon:c},l),placement:"top",className:mZ(u&&`${s}-${u}`,i,p,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),f),onClose:()=>{null==m||m(),t()}})),()=>{e(h)})))},r={open:n,destroy:n=>{var r;void 0!==n?e(n):null===(r=t.current)||void 0===r||r.destroy()}};return["info","success","warning","error","loading"].forEach((e=>{r[e]=(t,r,o)=>{let i,a,s;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?s=r:(a=r,s=o);const l=Object.assign(Object.assign({onClose:s,duration:a},i),{type:e});return n(l)}})),r}),[]),mv.createElement(L0,Object.assign({key:"message-holder"},e,{ref:t}))]}function dc(e){return uc(e)}function pc(){function e(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}function t(e,t,n,o){var i=Object.create((t&&t.prototype instanceof r?t:r).prototype),a=new p(o||[]);return y(i,"_invoke",{value:l(e,n,a)}),i}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function r(){}function o(){}function i(){}function a(t){["next","throw","return"].forEach((function(n){e(t,n,(function(e){return this._invoke(n,e)}))}))}function s(e,t){function r(o,i,a,s){var l,c,u=n(e[o],e,i);if("throw"!==u.type)return(c=(l=u.arg).value)&&"object"==xi(c)&&b.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(c).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,s)}));s(u.arg)}var o;y(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function l(e,t,r){var o="suspendedStart";return function(i,a){var s,l,u;if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===i)throw a;return{value:void 0,done:!0}}for(r.method=i,r.arg=a;;){if((s=r.delegate)&&(l=c(s,r))){if(l===x)continue;return l}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===o)throw o="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);if(o="executing","normal"===(u=n(e,t,r)).type){if(o=r.done?"completed":"suspendedYield",u.arg===x)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o="completed",r.method="throw",r.arg=u.arg)}}}function c(e,t){var r,o,i=t.method,a=e.iterator[i];return void 0===a?(t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=void 0,c(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),x):"throw"===(r=n(a,e.iterator,t.arg)).type?(t.method="throw",t.arg=r.arg,t.delegate=null,x):(o=r.arg)?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,x):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,x)}function u(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function f(e){var t,n,r;if(e){if(t=e[_])return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return n=-1,(r=function t(){for(;++n=0;--r){if(i=(o=this.tryEntries[r]).completion,"root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev)if(a=b.call(o,"catchLoc"),s=b.call(o,"finallyLoc"),a&&s){if(this.prev=0;--n)if((r=this.tryEntries[n]).tryLoc<=this.prev&&b.call(r,"finallyLoc")&&this.prev=0;--t)if((n=this.tryEntries[t]).finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),x},catch:function(e){var t,n,r,o;for(t=this.tryEntries.length-1;t>=0;--t)if((n=this.tryEntries[t]).tryLoc===e)return"throw"===(r=n.completion).type&&(o=r.arg,d(n)),o;throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:f(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),x}},g}function fc(e,t,n,r,o,i,a){var s,l;try{l=(s=e[i](a)).value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,o)}function mc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function i(e){fc(s,r,o,i,a,"next",e)}function a(e){fc(s,r,o,i,a,"throw",e)}var s=e.apply(t,n);i(void 0)}))}}function gc(e){var t=Ij.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===xi(t)&&(t.usingClientEntryPoint=e)}function hc(e,t){Mj?function(e,t){gc(!0);var n=t[Lj]||Mj(t);gc(!1),n.render(e),t[Lj]=n}(e,t):function(e,t){Rj(e,t)}(e,t)}function bc(e){return yc.apply(this,arguments)}function yc(){return(yc=mc(pc().mark((function e(t){return pc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[Lj])||void 0===e||e.unmount(),delete t[Lj]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function vc(e){Fj(e)}function _c(e){return wc.apply(this,arguments)}function wc(){return(wc=mc(pc().mark((function e(t){return pc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===Mj){e.next=2;break}return e.abrupt("return",bc(t));case 2:vc(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function kc(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function xc(e){return Number.isNaN(e)?0:e}function Sc(e){return"text"===e||"link"===e}function Cc(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function Ec(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Dc(e,t){let n=arguments.length>1&&void 0!==t?t:{focus:!0};const{componentCls:r}=e,o=`${r}-compact`;return{[o]:Object.assign(Object.assign({},Cc(e,o,n)),Ec(r,o,n))}}function Oc(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function $c(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Oc(e,t)),(n=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,r}function jc(e){return"danger"===e?{danger:!0}:{type:e}}function Pc(e){return!(!e||!e.then)}function Nc(e){var t,n,r,o,i,a=e.match(/^(.*)px$/),s=Number(null==a?void 0:a[1]);return Number.isNaN(s)?"undefined"==typeof document?0:(void 0===Vj&&((t=document.createElement("div")).style.width="100%",t.style.height="200px",(r=(n=document.createElement("div")).style).position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n),o=t.offsetWidth,n.style.overflow="scroll",o===(i=t.offsetWidth)&&(i=n.clientWidth),document.body.removeChild(n),Vj=o-i),Vj):s}function Tc(e){var t=Va(mv.useState("ssr-id"),2),n=t[0],r=t[1],o=Sa({},PJ).useId,i=null==o?void 0:o();return mv.useEffect((function(){if(!o){var e=Yj;Yj+=1,r("rc_unique_".concat(e))}}),[]),e||i||n}function Ic(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function Ac(e,t){var n,r=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");return"number"!=typeof r&&"number"!=typeof(r=(n=e.document).documentElement[o])&&(r=n.body[o]),r}function Rc(e){var t=e.prefixCls,n=e.style,r=e.maskProps;return mv.createElement(r0,{key:"mask",visible:e.visible,motionName:e.motionName,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,o){var i=e.className;return mv.createElement("div",fa({ref:o,style:Sa(Sa({},e.style),n),className:mZ("".concat(t,"-mask"),i)},r))}))}function Fc(e){function t(e){null==m||m(e)}var n=e.prefixCls,r=void 0===n?"rc-dialog":n,o=e.zIndex,i=e.visible,a=void 0!==i&&i,s=e.keyboard,l=void 0===s||s,c=e.focusTriggerAfterClose,u=void 0===c||c,d=e.wrapStyle,p=e.wrapClassName,f=e.wrapProps,m=e.onClose,g=e.afterOpenChange,h=e.afterClose,b=e.transitionName,y=e.animation,v=e.closable,_=void 0===v||v,w=e.mask,k=void 0===w||w,x=e.maskTransitionName,S=e.maskAnimation,C=e.maskClosable,E=void 0===C||C,D=e.maskStyle,O=e.maskProps,$=e.rootClassName,j=mv.useRef(),P=mv.useRef(),N=mv.useRef(),T=Va(mv.useState(a),2),I=T[0],A=T[1],R=Tc(),F=mv.useRef(!1),M=mv.useRef(),L=null;return E&&(L=function(e){F.current?F.current=!1:P.current===e.target&&t(e)}),mv.useEffect((function(){a&&(A(!0),Ia(P.current,document.activeElement)||(j.current=document.activeElement))}),[a]),mv.useEffect((function(){return function(){clearTimeout(M.current)}}),[]),mv.createElement("div",fa({className:mZ("".concat(r,"-root"),$)},ic(e,{data:!0})),mv.createElement(Rc,{prefixCls:r,visible:k&&a,motionName:Ic(r,x,S),style:Sa({zIndex:o},D),maskProps:O}),mv.createElement("div",fa({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===Ej.ESC)return e.stopPropagation(),void t(e);a&&e.keyCode===Ej.TAB&&N.current.changeActive(!e.shiftKey)},className:mZ("".concat(r,"-wrap"),p),ref:P,onClick:L,style:Sa(Sa({zIndex:o},d),{},{display:I?null:"none"})},f),mv.createElement(Zj,fa({},e,{onMouseDown:function(){clearTimeout(M.current),F.current=!0},onMouseUp:function(){M.current=setTimeout((function(){F.current=!1}))},ref:N,closable:_,ariaId:R,prefixCls:r,visible:a&&I,onClose:t,onVisibleChanged:function(e){if(e)Ia(P.current,document.activeElement)||null===(t=N.current)||void 0===t||t.focus();else{if(A(!1),k&&j.current&&u){try{j.current.focus({preventScroll:!0})}catch(zQ){}j.current=null}I&&(null==h||h())}var t;null==g||g(e)},motionName:Ic(r,b,y)}))))}function Mc(e,t,n,r,o){let i=arguments.length>3&&void 0!==r?r:jJ.createElement(v0,null);const a=function(e,t,n){return"boolean"==typeof e?e:void 0===t?!!n:!1!==t&&null!==t}(e,t,arguments.length>4&&void 0!==o&&o);if(!a)return[!1,null];const s="boolean"==typeof t||null==t?i:t;return[!0,n?n(s):s]}function Lc(e){return null==e?[]:Array.isArray(e)?e:[e]}function zc(){return zc=Object.assign?Object.assign.bind():function(e){var t,n,r;for(t=1;t1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}})):e}function qc(e,t){return null==e||!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e)}function Xc(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var s=r;r+=1,s=i||n<0||n>=i?e:(r=e[t],(o=t-n)>0?[].concat(ka(e.slice(0,n)),[r],ka(e.slice(n,t)),ka(e.slice(t+1,i))):o<0?[].concat(ka(e.slice(0,t)),ka(e.slice(t+1,n+1)),[r],ka(e.slice(n+1,i))):e)}function uu(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}function du(e){var t=e.name,n=Ei(e,CP),r=mv.useContext(rP),o=mv.useContext(oP),i=void 0!==t?ou(t):void 0,a="keep";return n.isListField||(a="_".concat((i||[]).join("_"))),mv.createElement(DP,fa({key:a,name:i,isListField:!!o},n,{fieldContext:r}))}function pu(e){return e.map((function(e){return"".concat(xi(e),":").concat(e)})).join($P)}function fu(e){var t,n=mv.useRef(),r=Va(mv.useState({}),2)[1];return n.current||(e?n.current=e:(t=new NP((function(){r({})})),n.current=t.getForm())),[n.current]}function mu(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}function gu(){var e,t,n,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y;for(e=arguments.length,t=new Array(e),n=0;ne&&e.triggerCancel));e.onCancel&&a&&e.onCancel.apply(e,[()=>{}].concat(ka(n.slice(1))));for(let e=0;e{const e=al(),{getPrefixCls:i,getIconPrefixCls:l,getTheme:c}=c0(),u=i(void 0,g5),d=r||`${u}-modal`,p=l(),f=c();let m=a;!1===m&&(m=void 0),hc(mv.createElement(f5,Object.assign({},s,{getContainer:m,prefixCls:d,rootPrefixCls:u,iconPrefixCls:p,okText:t,locale:e,theme:f,cancelText:n||e.cancelText})),o)}))}function r(){for(var r=arguments.length,o=new Array(r),i=0;i{"function"==typeof e.afterClose&&e.afterClose(),t.apply(this,o)}}),a.visible&&delete a.visible,n(a)}const o=document.createDocumentFragment();let i,a=Object.assign(Object.assign({},e),{close:r,open:!0});return n(a),m5.push(r),{destroy:r,update:function(e){a="function"==typeof e?e(a):Object.assign(Object.assign({},a),e),n(a)}}}function _u(e){return Object.assign(Object.assign({},e),{type:"warning"})}function wu(e){return Object.assign(Object.assign({},e),{type:"info"})}function ku(e){return Object.assign(Object.assign({},e),{type:"success"})}function xu(e){return Object.assign(Object.assign({},e),{type:"error"})}function Su(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Cu(){const e=mv.useRef(null),[t,n]=mv.useState([]);mv.useEffect((()=>{t.length&&(ka(t).forEach((e=>{e()})),n([]))}),[t]);const r=mv.useCallback((t=>function(r){var o;y5+=1;const i=mv.createRef();let a;const s=mv.createElement(b5,{key:`modal-${y5}`,config:t(r),ref:i,afterClose:()=>{null==a||a()}});return a=null===(o=e.current)||void 0===o?void 0:o.patchElement(s),a&&m5.push(a),{destroy:()=>{function e(){var e;null===(e=i.current)||void 0===e||e.destroy()}i.current?e():n((t=>[].concat(ka(t),[e])))},update:e=>{function t(){var t;null===(t=i.current)||void 0===t||t.update(e)}i.current?t():n((e=>[].concat(ka(e),[t])))}}}),[]);return[mv.useMemo((()=>({info:r(wu),success:r(ku),error:r(xu),warning:r(_u),confirm:r(Su)})),[]),mv.createElement(v5,{key:"modal-holder",ref:e})]}function Eu(e,t){return null===t||!1===t?null:t||mv.createElement("span",{className:`${e}-close-x`},mv.createElement(v0,{className:`${e}-close-icon`}))}function Du(e){const t=mv.useRef(null);return[mv.useMemo((()=>{const n=n=>{var r;if(!t.current)return;const{open:o,prefixCls:i,hashId:a,notification:s}=t.current,l=`${i}-notice`,{message:c,description:u,icon:d,type:p,btn:f,className:m,style:g,role:h="alert",closeIcon:b}=n,y=BP(n,["message","description","icon","type","btn","className","style","role","closeIcon"]),v=Eu(l,b);return o(Object.assign(Object.assign({placement:null!==(r=null==e?void 0:e.placement)&&void 0!==r?r:C5},y),{content:mv.createElement(S5,{prefixCls:l,icon:d,type:p,message:c,description:u,btn:f,role:h}),className:mZ(p&&`${l}-${p}`,a,m,null==s?void 0:s.className),style:Object.assign(Object.assign({},null==s?void 0:s.style),g),closeIcon:v,closable:!!v}))},r={open:n,destroy:e=>{var n,r;void 0!==e?null===(n=t.current)||void 0===n||n.close(e):null===(r=t.current)||void 0===r||r.destroy()}};return["success","info","warning","error"].forEach((e=>{r[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))})),r}),[]),mv.createElement(E5,Object.assign({key:"notification-holder"},e,{ref:t}))]}function Ou(e){return Du(e)}function $u(e){var t=arguments.length>0&&void 0!==e?e:250,n=mv.useRef(null),r=mv.useRef(null);return mv.useEffect((function(){return function(){window.clearTimeout(r.current)}}),[]),[function(){return n.current},function(e){(e||null===n.current)&&(n.current=e),window.clearTimeout(r.current),r.current=window.setTimeout((function(){n.current=null}),t)}]}function ju(e,t){function n(e){f(m,e)}var r,o,i,a,s=e.prefixCls,l=e.invalidate,c=e.item,u=e.renderItem,d=e.responsive,p=e.responsiveDisabled,f=e.registerSize,m=e.itemKey,g=e.className,h=e.style,b=e.children,y=e.display,v=e.order,_=e.component,w=void 0===_?"div":_,k=Ei(e,UP),x=d&&!y;return mv.useEffect((function(){return function(){n(null)}}),[]),r=u&&c!==WP?u(c):b,l||(o={opacity:x?0:1,height:x?0:WP,overflowY:x?"hidden":WP,order:d?v:WP,pointerEvents:x?"none":WP,position:x?"absolute":WP}),i={},x&&(i["aria-hidden"]=!0),a=mv.createElement(w,fa({className:mZ(!l&&s,g),style:Sa(Sa({},o),h)},i,k,{ref:t}),r),d&&(a=mv.createElement(p$,{onResize:function(e){n(e.offsetWidth)},disabled:p},a)),a}function Pu(e,t){var n=Va(mv.useState(t),2),r=n[1];return[n[0],Nl((function(t){e((function(){r(t)}))}))]}function Nu(e){return"+ ".concat(e.length," ...")}function Tu(e,t){function n(e,t,n){(re!==e||void 0!==t&&t!==ee)&&(oe(e),n||(le(eE,ge=mv.useMemo((function(){var e=b;return pe?e=null===M&&A?b:b.slice(0,Math.min(b.length,z/k)):"number"==typeof E&&(e=b.slice(0,E)),e}),[b,k,M,E,pe]),he=mv.useMemo((function(){return b.slice(pe?ie+1:ge.length)}),[b,ge,pe,ie]),be=mv.useCallback((function(e,t){var n;return"function"==typeof _?_(e):null!==(n=_&&(null==e?void 0:e[_]))&&void 0!==n?n:t}),[_]),ye=mv.useCallback(y||function(e){return e},[y]);return QD((function(){var e,t,r,i,a;if(z&&"number"==typeof ue&&ge){if(e=Q,r=(t=ge.length)-1,!t)return void n(0,null);for(i=0;iz){n(i-1,e-a-Q+X);break}}$&&o(0)+Q>z&&te(null)}}),[z,H,X,Q,be,ge]),a={},null!==ee&&pe&&(a={position:"absolute",left:ee,top:0}),s={prefixCls:ce,responsive:pe,component:N,invalidate:fe},l=v?function(e,t){var n=be(e,t);return mv.createElement(GP.Provider,{key:n,value:Sa(Sa({},s),{},{order:t,item:e,itemKey:n,registerSize:r,display:t<=ie})},v(e,t))}:function(e,t){var n=be(e,t);return mv.createElement(VP,fa({},s,{order:t,key:n,item:e,renderItem:ye,itemKey:n,registerSize:r,display:t<=ie}))},u={order:(i=se&&!!he.length)?ie:Number.MAX_SAFE_INTEGER,className:"".concat(ce,"-rest"),registerSize:function(e,t){K(t),G(X)},display:i},O?O&&(c=mv.createElement(GP.Provider,{value:Sa(Sa({},s),u)},O(he))):(d=D||Nu,c=mv.createElement(VP,fa({},s,u),"function"==typeof d?d(he):d)),p=mv.createElement(P,fa({className:mZ(!fe&&g,C),style:S,ref:t},I),ge.map(l),me?c:null,$&&mv.createElement(VP,fa({},s,{responsive:de,responsiveDisabled:!pe,order:ie,className:"".concat(ce,"-suffix"),registerSize:function(e,t){J(t)},display:!0,style:a}),$)),de&&(p=mv.createElement(p$,{onResize:function(e,t){L(t.clientWidth)},disabled:!pe},p)),p}function Iu(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function Au(e){return["string","number"].includes(xi(e))}function Ru(e){var t=void 0;return e&&(Au(e.title)?t=e.title.toString():Au(e.label)&&(t=e.label.toString())),t}function Fu(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}function Mu(e){return e?Array.isArray(e)?e:[e]:[]}function Lu(e,t,n){var r=arguments.length>0&&void 0!==e?e:[],o=arguments.length>1&&void 0!==t?t:[];return(arguments.length>2?n:void 0)?r[0]===o[0]:r[0]===o[0]&&r[1]===o[1]}function zu(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function Bu(e){return e.ownerDocument.defaultView}function Hu(e){for(var t,n=[],r=null==e?void 0:e.parentElement,o=["hidden","scroll","clip","auto"];r;)[(t=Bu(r).getComputedStyle(r)).overflowX,t.overflowY,t.overflow].some((function(e){return o.includes(e)}))&&n.push(r),r=r.parentElement;return n}function Uu(e,t){var n=arguments.length>1&&void 0!==t?t:1;return Number.isNaN(e)?n:e}function Wu(e){return Uu(parseFloat(e),0)}function Vu(e,t){var n=Sa({},e);return(t||[]).forEach((function(e){var t,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,C,E,D,O,$,j,P,N;e instanceof HTMLBodyElement||(r=(t=Bu(e).getComputedStyle(e)).overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,p=e.offsetWidth,f=e.clientWidth,m=Wu(i),g=Wu(a),_=(p-f-(h=Wu(s))-(b=Wu(l)))*(y=Uu(Math.round(c.width/p*1e3)/1e3)),w=(u-d-m-g)*(v=Uu(Math.round(c.height/u*1e3)/1e3)),k=m*v,x=g*v,S=h*y,C=b*y,E=0,D=0,"clip"===r&&(E=(O=Wu(o))*y,D=O*v),P=($=c.x+S-E)+c.width+2*E-S-C-_,N=(j=c.y+k-D)+c.height+2*D-k-x-w,n.left=Math.max(n.left,$),n.top=Math.max(n.top,j),n.right=Math.min(n.right,P),n.bottom=Math.min(n.bottom,N))})),n}function Gu(e,t){var n="".concat(arguments.length>1&&void 0!==t?t:0),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function qu(e,t){var n=Va(t||[],2),r=n[1];return[Gu(e.width,n[0]),Gu(e.height,r)]}function Xu(e){var t=arguments.length>0&&void 0!==e?e:"";return[t[0],t[1]]}function Ku(e,t){var n=t[0],r=t[1];return{x:"l"===r?e.x:"r"===r?e.x+e.width:e.x+e.width/2,y:"t"===n?e.y:"b"===n?e.y+e.height:e.y+e.height/2}}function Yu(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}function Qu(e){var t,n,r,o,i,a,s=e.prefixCls,l=e.align,c=e.arrowPos,u=e.arrow||{},d=u.className,p=u.content,f=c.x,m=void 0===f?0:f,g=c.y,h=void 0===g?0:g,b=mv.useRef();return l&&l.points?(t={position:"absolute"},!1!==l.autoArrow&&(i=(n=l.points[0])[1],a=(r=l.points[1])[1],(o=n[0])!==r[0]&&["t","b"].includes(o)?"t"===o?t.top=0:t.bottom=0:t.top=h,i!==a&&["l","r"].includes(i)?"l"===i?t.left=0:t.right=0:t.left=m),mv.createElement("div",{ref:b,className:mZ("".concat(s,"-arrow"),d),style:t},p)):null}function Ju(e){var t=e.prefixCls,n=e.zIndex;return e.mask?mv.createElement(r0,fa({},e.motion,{motionAppear:!0,visible:e.open,removeOnLeave:!0}),(function(e){var r=e.className;return mv.createElement("div",{style:{zIndex:n},className:mZ("".concat(t,"-mask"),r)})})):null}function Zu(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!=r?r:void 0!==n?n:"rc-index-key-".concat(t)}function ed(e,t){var n=e||{},r=n.label||(t?"children":"label");return{label:r,value:n.value||"value",options:n.options||"options",groupLabel:n.groupLabel||r}}function td(e){var t=Sa({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return ja(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function nd(e){return"tags"===e||"multiple"===e}function rd(e,t){var n=arguments.length>1&&void 0!==t&&t;return Ls(e).map((function(e,t){if(!mv.isValidElement(e)||!e.type)return null;var r=e.type.isSelectOptGroup,o=e.key,i=e.props,a=i.children,s=Ei(i,EN);return n||!r?function(e){var t=e.key,n=e.props,r=n.value;return Sa({key:t,value:void 0!==r?r:t,children:n.children},Ei(n,CN))}(e):Sa(Sa({key:"__RC_SELECT_GRP__".concat(null===o?t:o,"__"),label:o},s),{},{options:rd(a)})})).filter((function(e){return e}))}function od(e){var t,n=mv.useRef();return n.current=e,t=mv.useCallback((function(){return n.current.apply(n,arguments)}),[]),t}function id(e){return"touches"in e?e.touches[0].pageY:e.pageY}function ad(e){var t=e.children,n=e.setRef,r=mv.useCallback((function(e){n(e)}),[]);return mv.cloneElement(t,{ref:r})}function sd(e,t){function n(e){X((function(t){var n;return n=function(e){var t=e;return Number.isNaN(m.current)||(t=Math.min(t,m.current)),Math.max(t,0)}("function"==typeof e?e(t):e),ee.current.scrollTop=n,n}))}var r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,C=e.prefixCls,E=void 0===C?"rc-virtual-list":C,D=e.className,O=e.height,$=e.itemHeight,j=e.fullHeight,P=void 0===j||j,N=e.style,T=e.data,I=e.children,A=e.itemKey,R=e.virtual,F=e.direction,M=e.component,L=void 0===M?"div":M,z=e.onScroll,B=e.onVisibleChange,H=e.innerProps,U=Ei(e,IN),W=!(!1===R||!O||!$),V=W&&T&&$*T.length>O,G=Va(mv.useState(0),2),q=G[0],X=G[1],K=Va(mv.useState(!1),2),Y=K[0],Q=K[1],J=mZ(E,Ci({},"".concat(E,"-rtl"),"rtl"===F),D),Z=T||AN,ee=mv.useRef(),te=mv.useRef(),ne=mv.useRef(),re=mv.useCallback((function(e){return"function"==typeof A?A(e):null==e?void 0:e[A]}),[A]),oe={getKey:re},ie=mv.useRef({start:0,end:Z.length}),ae=mv.useRef(),se=function(e,t){var n=Va(mv.useState(e),2),r=n[0],o=n[1],i=Va(mv.useState(null),2),a=i[0],s=i[1];return mv.useEffect((function(){var n=function(e,t,n){function r(e){return void 0!==e?n(e):a}var o,i,a,s,l,c,u,d=e.length,p=t.length;if(0===d&&0===p)return null;for(d=q&&void 0===n&&(n=a,r=t),u>q+O&&void 0===o&&(o=a),t=u;return void 0===n&&(n=0,r=0,o=Math.ceil(O/$)),void 0===o&&(o=Z.length-1),{scrollHeight:t,start:n,end:o=Math.min(o+1,Z.length),offset:r}}),[V,W,q,Z,o[3],O])).scrollHeight,d=l.end,p=l.offset,ie.current.start=u=l.start,ie.current.end=d,(m=mv.useRef(f=c-O)).current=f,b=A5(g=q<=0,h=q>=f),y=function(e,t,r){var o=mv.useRef(0),i=mv.useRef(null),a=mv.useRef(null),s=mv.useRef(!1),l=A5(t,r);return[function(t){if(e){b$.cancel(i.current);var r=t.deltaY;o.current+=r,a.current=r,l(r)||(NN||t.preventDefault(),i.current=b$((function(){var e;e=o.current*(s.current?10:1),n((function(t){return t+e})),o.current=0})))}},function(t){e&&(s.current=t.detail===a.current)}]}(W,g,h),v=Va(y,2),_=v[0],w=v[1],function(e,t,n){var r=mv.useRef(!1),o=mv.useRef(0),i=mv.useRef(null),a=mv.useRef(null),s=function(e){var t,i;r.current&&(t=Math.ceil(e.touches[0].pageY),i=o.current-t,o.current=t,n(i)&&e.preventDefault(),clearInterval(a.current),a.current=setInterval((function(){(!n(i*=TN,!0)||Math.abs(i)<=.1)&&clearInterval(a.current)}),16))},l=function(){r.current=!1,u()},c=function(e){u(),1!==e.touches.length||r.current||(r.current=!0,o.current=Math.ceil(e.touches[0].pageY),i.current=e.target,i.current.addEventListener("touchmove",s),i.current.addEventListener("touchend",l))},u=function(){i.current&&(i.current.removeEventListener("touchmove",s),i.current.removeEventListener("touchend",l))};QD((function(){return e&&t.current.addEventListener("touchstart",c),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",c),u(),clearInterval(a.current)}}),[e])}(W,ee,(function(e,t){return!b(e,t)&&(_({preventDefault:function(){},deltaY:e}),!0)})),QD((function(){function e(e){W&&e.preventDefault()}return ee.current.addEventListener("wheel",_),ee.current.addEventListener("DOMMouseScroll",w),ee.current.addEventListener("MozMousePixelScroll",e),function(){ee.current&&(ee.current.removeEventListener("wheel",_),ee.current.removeEventListener("DOMMouseScroll",w),ee.current.removeEventListener("MozMousePixelScroll",e))}}),[W]),k=function(e,t,n,r,o,i,a){var s=mv.useRef();return function(l){var c,u,d,p,f;null!=l?(b$.cancel(s.current),"number"==typeof l?a(l):l&&"object"===xi(l)&&(u=l.align,c="index"in l?l.index:t.findIndex((function(e){return o(e)===l.key})),p=void 0===(d=l.offset)?0:d,function l(d,f){var m,g,h,b,y,v,_,w,k,x,S,C,E;if(!(d<0)&&e.current){if(g=!1,h=f,m=e.current.clientHeight){for(b=f||u,y=0,v=0,_=0,w=Math.min(t.length,c),k=0;k<=w;k+=1)x=o(t[k]),y=_=(v=y)+(void 0===(S=n.get(x))?r:S),k===c&&void 0===S&&(g=!0);switch(C=null,b){case"top":C=v-p;break;case"bottom":C=_-m+p;break;default:v<(E=e.current.scrollTop)?h="top":_>E+m&&(h="bottom")}null!==C&&C!==e.current.scrollTop&&a(C)}s.current=b$((function(){g&&i(),l(d-1,h)}),2)}}(3))):null===(f=ne.current)||void 0===f||f.delayHidden()}}(ee,Z,s,$,re,a,n),mv.useImperativeHandle(t,(function(){return{scrollTo:k}})),QD((function(){if(B){var e=Z.slice(u,d+1);B(e,Z)}}),[u,d,Z]),x=function(e,t,n,r,o,i){var a=i.getKey;return e.slice(t,n+1).map((function(e,n){var i=o(e,t+n,{}),s=a(e);return mv.createElement(ad,{key:s,setRef:function(t){return r(e,t)}},i)}))}(Z,u,d,i,I,oe),S=null,O&&(S=Sa(Ci({},P?"height":"maxHeight",O),RN),W&&(S.overflowY="hidden",Y&&(S.pointerEvents="none"))),mv.createElement("div",fa({style:Sa(Sa({},N),{},{position:"relative"}),className:J},U),mv.createElement(L,{className:"".concat(E,"-holder"),style:S,ref:ee,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==q&&n(t),null==z||z(e)}},mv.createElement($N,{prefixCls:E,height:c,offset:p,onInnerResize:a,ref:te,innerProps:H},x)),W&&mv.createElement(jN,{ref:ne,prefixCls:E,scrollTop:q,height:O,scrollHeight:c,count:Z.length,direction:F,onScroll:function(e){n(e)},onStartMove:function(){Q(!0)},onStopMove:function(){Q(!1)}}))}function ld(e){return"string"==typeof e||"number"==typeof e}function cd(e,t,n){return mZ({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:n})}function ud(e,t){const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,i=e.controlHeightSM,[a]=X5(e);return{[`${n}-multiple${t?`${n}-${t}`:""}`]:{fontSize:e.fontSize,[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:a-2+"px 4px",borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"2px 0",lineHeight:`${i}px`,visibility:"hidden",content:'"\\a0"'}},[`\n &${n}-show-arrow ${n}-selector,\n &${n}-allow-clear ${n}-selector\n `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:2,marginBottom:2,lineHeight:i-2*e.lineWidth+"px",background:e.colorFillSecondary,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:4,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.colorTextDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},{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"}}),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-a,"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function dd(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.controlHeight-2*e.lineWidth,a=Math.ceil(1.25*e.fontSize);return{[`${n}-single${t?`${n}-${t}`:""}`]:{fontSize:e.fontSize,[`${n}-selector`]:Object.assign(Object.assign({},UZ(e)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%"}},[`\n ${n}-selection-item,\n ${n}-selection-placeholder\n `]:{padding:0,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${i}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:after`,`${n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`\n &${n}-show-arrow ${n}-selection-item,\n &${n}-show-arrow ${n}-selection-placeholder\n `]:{paddingInlineEnd:a},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${r}px`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:`${i}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${r}px`,"&:after":{display:"none"}}}}}}}function pd(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[dd(e),dd(Rl(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+1.5*e.fontSize},[`\n &${t}-show-arrow ${t}-selection-item,\n &${t}-show-arrow ${t}-selection-placeholder\n `]:{paddingInlineEnd:1.5*e.fontSize}}}},dd(Rl(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}function fd(){const[,e]=Pl(),t=l4(c4(e));return jJ.useMemo((()=>{const e=new Map;let n=-1,r={};return{matchHandlers:{},dispatch:t=>(r=t,e.forEach((e=>e(r))),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach((e=>{const n=this.matchHandlers[t[e]];null==n||n.mql.removeListener(null==n?void 0:n.listener)})),e.clear()},register(){Object.keys(t).forEach((e=>{const n=t[e],o=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},r),{[e]:n}))},i=window.matchMedia(n);i.addListener(o),this.matchHandlers[n]={mql:i,listener:o},o(i)}))},responsiveMap:t}}),[e])}function md(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,i=e.className,a=e.style;return mv.createElement("div",{className:mZ("".concat(n,"-content"),i),style:a},mv.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof t?t():t))}function gd(e){const t=d4,{contentRadius:n,limitVerticalRadius:r}=e,o=n>12?n+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:r?t:o}}function hd(e,t){return e?t:{}}function bd(e,t){const{componentCls:n,sizePopupArrow:r,borderRadiusXS:o,borderRadiusOuter:i,boxShadowPopoverArrow:a}=e,{colorBg:s,contentRadius:l=e.borderRadiusLG,limitVerticalRadius:c,arrowDistance:u=0,arrowPlacement:d={left:!0,right:!0,top:!0,bottom:!0}}=t,{dropdownArrowOffsetVertical:p,dropdownArrowOffset:f}=gd({contentRadius:l,limitVerticalRadius:c});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},BZ(r,o,i,s,a)),{"&:before":{background:s}})]},hd(!!d.top,{[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:u,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:f}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:f}}})),hd(!!d.bottom,{[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:u,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:f}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:f}}})),hd(!!d.left,{[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:u},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:p},[`&-placement-leftBottom ${n}-arrow`]:{bottom:p}})),hd(!!d.right,{[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:u},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:p},[`&-placement-rightBottom ${n}-arrow`]:{bottom:p}}))}}function yd(e,t){return arguments.length>1&&void 0!==t&&!t?CZ.includes(e):[].concat(ka(k4),ka(CZ)).includes(e)}function vd(e,t){const n=yd(t),r=mZ({[`${e}-${t}`]:t&&n}),o={},i={};return t&&!n&&(o.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:i}}function _d(e,t){var n,r,o,i,a,s,l,c,u,d=e.arrow,p=void 0!==d&&d,f=e.prefixCls,m=void 0===f?"rc-dropdown":f,g=e.transitionName,h=e.animation,b=e.align,y=e.placement,v=void 0===y?"bottomLeft":y,_=e.placements,w=void 0===_?aT:_,k=e.getPopupContainer,x=e.showAction,S=e.hideAction,C=e.overlayClassName,E=e.overlayStyle,D=e.visible,O=e.trigger,$=void 0===O?["hover"]:O,j=e.autoFocus,P=e.overlay,N=e.children,T=e.onVisibleChange,I=Ei(e,sT),A=Va(jJ.useState(),2),R=A[1],F="visible"in e?D:A[0],M=jJ.useRef(null),L=jJ.useRef(null),z=jJ.useRef(null);return jJ.useImperativeHandle(t,(function(){return M.current})),function(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,a=mv.useRef(!1),s=function(){var e,o;t&&(null===(e=n.current)||void 0===e||null===(o=e.focus)||void 0===o||o.call(e),null==r||r(!1))},l=function(){var e;return!(null===(e=i.current)||void 0===e||!e.focus||(i.current.focus(),a.current=!0,0))},c=function(e){switch(e.keyCode){case tT:s();break;case nT:var t=!1;a.current||(t=l()),t?e.preventDefault():s()}};mv.useEffect((function(){return t?(window.addEventListener("keydown",c),o&&b$(l,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}}),[t])}({visible:F,triggerRef:z,onVisibleChange:r=function(e){R(e),null==T||T(e)},autoFocus:j,overlayRef:L}),o=function(t){var n=e.onOverlayClick;R(!1),n&&n(t)},i=function(){return jJ.createElement(rT,{ref:L,overlay:P,prefixCls:m,arrow:p})},a=function(){return"function"==typeof P?i:i()},s=function(){return"minOverlayWidthMatchTrigger"in e?e.minOverlayWidthMatchTrigger:!e.alignPoint},l=jJ.cloneElement(N,{className:mZ(null===(n=N.props)||void 0===n?void 0:n.className,F&&(u=e.openClassName,void 0!==u?u:"".concat(m,"-open"))),ref:Us(N)?Bs(z,N.ref):void 0}),(c=S)||-1===$.indexOf("contextMenu")||(c=["click"]),jJ.createElement(I5,fa({builtinPlacements:w},I,{prefixCls:m,ref:M,popupClassName:mZ(C,Ci({},"".concat(m,"-show-arrow"),p)),popupStyle:E,action:$,showAction:x,hideAction:c,popupPlacement:v,popupAlign:b,popupTransitionName:g,popupAnimation:h,popupVisible:F,stretch:s()?"minWidth":"",popup:a(),onPopupVisibleChange:r,onPopupClick:o,getPopupContainer:k}),l)}function wd(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function kd(e){return wd(mv.useContext(lT),e)}function xd(e){var t=e.children,n=e.locked,r=Ei(e,cT),o=mv.useContext(uT),i=Ea((function(){return e=r,t=Sa({},o),Object.keys(e).forEach((function(n){var r=e[n];void 0!==r&&(t[n]=r)})),t;var e,t}),[o,r],(function(e,t){return!(n||e[0]===t[0]&&Pa(e[1],t[1],!0))}));return mv.createElement(uT.Provider,{value:i},t)}function Sd(){return mv.useContext(pT)}function Cd(e){var t=mv.useContext(fT);return mv.useMemo((function(){return void 0!==e?[].concat(ka(t),[e]):t}),[t,e])}function Ed(e,t){var n,r,o,i,a,s=arguments.length>1&&void 0!==t&&t;return!!B0(e)&&(n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null,o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||s&&a<0))}function Dd(e,t){var n=function(e,t){var n=arguments.length>1&&void 0!==t&&t,r=ka(e.querySelectorAll("*")).filter((function(e){return Ed(e,n)}));return Ed(e,n)&&r.unshift(e),r}(e,!0);return n.filter((function(e){return t.has(e)}))}function Od(e,t,n,r){var o,i,a,s=arguments.length>3&&void 0!==r?r:1;return e?(i=(o=Dd(e,t)).length,a=o.findIndex((function(e){return n===e})),s<0?-1===a?a=i-1:a-=1:s>0&&(a+=1),o[a=(a+i)%i]):null}function $d(e){var t,n=mv.useRef(e);return n.current=e,t=mv.useCallback((function(){var e,t,r,o;for(t=arguments.length,r=new Array(t),o=0;o1&&(i.motionAppear=!1),a=i.onVisibleChanged,i.onVisibleChanged=function(e){return y.current||e||r(!0),null==a?void 0:a(e)},n?null:mv.createElement(xd,{mode:d,locked:!y.current},mv.createElement(r0,fa({visible:o},i,{forceRender:m,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),(function(e){return mv.createElement(LT,{id:s,className:e.className,style:e.style},u)})))}function Ld(e){var t=e.eventKey,n=e.children,r=Cd(t),o=Ad(n,r),i=Sd();return mv.useEffect((function(){if(i)return i.registerPath(t,r),function(){i.unregisterPath(t,r)}}),[r]),mv.createElement(fT.Provider,{value:r},i?o:mv.createElement(GT,e,o))}function zd(e){var t=e.children,n=Ei(e,XT),r=Ad(t,Cd(n.eventKey));return Sd()?r:mv.createElement(KT,Qs(n,["warnKey"]),r)}function Bd(e){var t=e.className,n=e.style,r=mv.useContext(uT).prefixCls;return Sd()?null:mv.createElement("li",{className:mZ("".concat(r,"-item-divider"),t),style:n})}function Hd(e){return(e||[]).map((function(e,t){var n,r,o,i,a,s,l;return e&&"object"===xi(e)?(r=(n=e).label,o=n.children,i=n.key,a=n.type,s=Ei(n,YT),l=null!=i?i:"tmp-".concat(t),o||"group"===a?mv.createElement("group"===a?zd:Ld,fa({key:l},s,{title:r}),Hd(o)):"divider"===a?mv.createElement(Bd,fa({key:l},s)):mv.createElement(O4,fa({key:l},s),r)):null})).filter((function(e){return e}))}function Ud(e,t,n){var r=e;return t&&(r=Hd(t)),Ad(r,n)}function Wd(e){return(e||[]).map(((e,t)=>{if(e&&"object"==typeof e){const n=e,{label:r,children:o,key:i,type:a}=n,s=tI(n,["label","children","key","type"]),l=null!=i?i:`tmp-${t}`;return o||"group"===a?mv.createElement("group"===a?zd:T4,Object.assign({key:l},s,{title:r}),Wd(o)):"divider"===a?mv.createElement(j4,Object.assign({key:l},s)):mv.createElement(N4,Object.assign({key:l},s),r)}return null})).filter((e=>e))}function Vd(e){return mv.useMemo((()=>e?Wd(e):e),[e])}function Gd(e){return Rl(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}function qd(e){return e&&"object"==typeof e?e:{}}function Xd(e){var t=e.id,n=e.activeKey,r=e.animated,o=e.tabPosition,i=e.destroyInactiveTabPane,a=mv.useContext(O3),s=a.prefixCls,l=a.tabs,c=r.tabPane,u="".concat(s,"-tabpane");return mv.createElement("div",{className:mZ("".concat(s,"-content-holder"))},mv.createElement("div",{className:mZ("".concat(s,"-content"),"".concat(s,"-content-").concat(o),Ci({},"".concat(s,"-content-animated"),c))},l.map((function(e){var o=e.key,a=e.forceRender,s=e.style,l=e.className,d=Ei(e,oI),p=o===n;return mv.createElement(r0,fa({key:o,visible:p,forceRender:a,removeOnLeave:!!i,leavedClassName:"".concat(u,"-hidden")},r.tabPaneMotion),(function(e,n){var r=e.style,i=e.className;return mv.createElement(rI,fa({},d,{prefixCls:u,id:t,tabKey:o,animated:c,active:p,style:Sa(Sa({},s),r),className:mZ(l,i),ref:n}))}))}))))}function Kd(e,t){var n=mv.useRef(e),r=Va(mv.useState({}),2)[1];return[n.current,function(e){var o="function"==typeof e?e(n.current):e;o!==n.current&&t(o,n.current),n.current=o,r({})}]}function Yd(e){var t=Va(mv.useState(0),2),n=t[0],r=t[1],o=mv.useRef(0),i=mv.useRef();return i.current=e,JD((function(){var e;null===(e=i.current)||void 0===e||e.call(i)}),[n]),function(){o.current===n&&(o.current+=1,r(o.current))}}function Qd(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}function Jd(e){return String(e).replace(/"/g,dI)}function Zd(e,t,n,r){return!(!n||r||!1===e||void 0===e&&(!1===t||null===t))}function ep(e,t){var n=e.editable,r=e.locale,o=e.style;return n&&!1!==n.showAdd?mv.createElement("button",{ref:t,type:"button",className:"".concat(e.prefixCls,"-nav-add"),style:o,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){n.onEdit("add",{event:e})}},n.addIcon||"+"):null}function tp(e,t){function n(e){var t,n,r=l.filter((function(e){return!e.disabled})),o=r.findIndex((function(e){return e.key===D}))||0,i=r.length;for(t=0;tze?ze:e}function r(){u(Date.now())}function o(){window.clearTimeout(s.current)}function i(){b$.cancel(D.current)}var a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,C,E,D,O,$,j,P,N,T,I,A,R,F,M,L=mv.useContext(O3),z=L.prefixCls,B=L.tabs,H=e.className,U=e.style,W=e.id,V=e.animated,G=e.activeKey,q=e.rtl,X=e.extra,K=e.editable,Y=e.locale,Q=e.tabPosition,J=e.tabBarGutter,Z=e.children,ee=e.onTabClick,te=e.onTabScroll,ne=mv.useRef(),re=mv.useRef(),oe=mv.useRef(),ie=mv.useRef(),ae=mv.useRef(),se=mv.useRef(),le=mv.useRef(),ce="top"===Q||"bottom"===Q,ue=Va(Kd(0,(function(e,t){ce&&te&&te({direction:e>t?"left":"right"})})),2),de=ue[0],pe=ue[1],fe=Va(Kd(0,(function(e,t){!ce&&te&&te({direction:e>t?"top":"bottom"})})),2),me=fe[0],ge=fe[1],he=Va(mv.useState([0,0]),2),be=he[0],ye=he[1],ve=Va(mv.useState([0,0]),2),_e=ve[0],we=ve[1],ke=Va(mv.useState([0,0]),2),xe=ke[0],Se=ke[1],Ce=Va(mv.useState([0,0]),2),Ee=Ce[0],De=Ce[1],Oe=(I=new Map,A=mv.useRef([]),R=Va(mv.useState({}),2)[1],F=mv.useRef("function"==typeof I?I():I),M=Yd((function(){var e=F.current;A.current.forEach((function(t){e=t(e)})),A.current=[],F.current=e,R({})})),[F.current,function(e){A.current.push(e),M()}]),$e=Va(Oe,2),je=$e[1],Pe=function(e,t,n){return mv.useMemo((function(){var n,r,o,i,a,s,l=new Map,c=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||iI,u=c.left+c.width;for(r=0;ra?(o=n,g.current="x"):(o=r,g.current="y"),t(-o,-o)&&e.preventDefault()}},mv.useEffect((function(){function t(e){h.current.onTouchMove(e)}function n(e){h.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){h.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){h.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(ie,(function(e,t){function i(e,t){e((function(e){return n(e+t)}))}return!!Re&&(ce?i(pe,e):i(ge,t),o(),r(),!0)})),mv.useEffect((function(){return o(),c&&(s.current=window.setTimeout((function(){u(0)}),100)),o}),[c]),d=function(e,t,n,r,o,i,a){var s,l,c,u=a.tabs,d=a.tabPosition,p=a.rtl;return["top","bottom"].includes(d)?(s="width",l=p?"right":"left",c=Math.abs(n)):(s="height",l="top",c=-n),mv.useMemo((function(){var n,r,o,i,a,d;if(!u.length)return[0,0];for(r=n=u.length,o=0;oc+t){r=o-1;break}for(a=0,d=n-1;d>=0;d-=1)if((e.get(u[d].key)||uI)[l]=r?[0,0]:[a,r]}),[e,t,r,o,i,c,d,u.map((function(e){return e.key})).join("_"),p])}(Pe,Fe,ce?de:me,Te,Ie,Ae,Sa(Sa({},e),{},{tabs:B})),f=(p=Va(d,2))[0],m=p[1],g=Nl((function(e){var t,r,o=Pe.get(arguments.length>0&&void 0!==e?e:G)||{width:0,height:0,left:0,right:0,top:0};ce?(t=de,q?o.rightde+Fe&&(t=o.right+o.width-Fe):o.left<-de?t=-o.left:o.left+o.width>-de+Fe&&(t=-(o.left+o.width-Fe)),ge(0),pe(n(t))):(r=me,o.top<-me?r=-o.top:o.top+o.height>-me+Fe&&(r=-(o.top+o.height-Fe)),pe(0),ge(n(r)))})),h={},"top"===Q||"bottom"===Q?h[q?"marginRight":"marginLeft"]=J:h.marginTop=J,b=B.map((function(e,t){var n=e.key;return mv.createElement(np,{id:W,prefixCls:z,key:n,tab:e,style:0===t?void 0:h,closable:e.closable,editable:K,active:n===G,renderWrapper:Z,removeAriaLabel:null==Y?void 0:Y.removeAriaLabel,onClick:function(e){ee(n,e)},onFocus:function(){g(n),r(),ie.current&&(q||(ie.current.scrollLeft=0),ie.current.scrollTop=0)}})})),y=function(){return je((function(){var e=new Map;return B.forEach((function(t){var n,r=t.key,o=null===(n=ae.current)||void 0===n?void 0:n.querySelector('[data-node-key="'.concat(Jd(r),'"]'));o&&e.set(r,{width:o.offsetWidth,height:o.offsetHeight,left:o.offsetLeft,top:o.offsetTop})})),e}))},mv.useEffect((function(){y()}),[B.map((function(e){return e.key})).join("_")]),v=Yd((function(){var e,t,n,r=fI(ne),o=fI(re),i=fI(oe);ye([r[0]-o[0]-i[0],r[1]-o[1]-i[1]]),e=fI(le),Se(e),t=fI(se),De(t),n=fI(ae),we([n[0]-e[0],n[1]-e[1]]),y()})),_=B.slice(0,f),w=B.slice(m+1),k=[].concat(ka(_),ka(w)),S=(x=Va(mv.useState(),2))[0],C=x[1],E=Pe.get(G),D=mv.useRef(),mv.useEffect((function(){var e={};return E&&(ce?(q?e.right=E.right:e.left=E.left,e.width=E.width):(e.top=E.top,e.height=E.height)),i(),D.current=b$((function(){C(e)})),i}),[E,ce,q]),mv.useEffect((function(){g()}),[G,Le,ze,Qd(E),Qd(Pe),ce]),mv.useEffect((function(){v()}),[q]),O=!!k.length,$="".concat(z,"-nav-wrap"),ce?q?(P=de>0,j=de!==ze):(j=de<0,P=de!==Le):(N=me<0,T=me!==Le),mv.createElement(p$,{onResize:v},mv.createElement("div",{ref:Hs(t,ne),role:"tablist",className:mZ("".concat(z,"-nav"),H),style:U,onKeyDown:function(){r()}},mv.createElement(pI,{ref:re,position:"left",extra:X,prefixCls:z}),mv.createElement("div",{className:mZ($,(a={},Ci(a,"".concat($,"-ping-left"),j),Ci(a,"".concat($,"-ping-right"),P),Ci(a,"".concat($,"-ping-top"),N),Ci(a,"".concat($,"-ping-bottom"),T),a)),ref:ie},mv.createElement(p$,{onResize:v},mv.createElement("div",{ref:ae,className:"".concat(z,"-nav-list"),style:{transform:"translate(".concat(de,"px, ").concat(me,"px)"),transition:c?"none":void 0}},b,mv.createElement($3,{ref:le,prefixCls:z,locale:Y,editable:K,style:Sa(Sa({},0===b.length?void 0:h),{},{visibility:O?"hidden":null})}),mv.createElement("div",{className:mZ("".concat(z,"-ink-bar"),Ci({},"".concat(z,"-ink-bar-animated"),V.inkBar)),style:S})))),mv.createElement(j3,fa({},e,{removeAriaLabel:null==Y?void 0:Y.removeAriaLabel,ref:se,prefixCls:z,tabs:k,className:!O&&Me,tabMoving:!!c})),mv.createElement(pI,{ref:oe,position:"right",extra:X,prefixCls:z})))}function op(e){var t=e.renderTabBar,n=Ei(e,gI),r=mv.useContext(O3).tabs;return t?t(Sa(Sa({},n),{},{panes:r.map((function(e){var t=e.label,n=e.key,r=Ei(e,hI);return mv.createElement(rI,fa({tab:t,key:n,tabKey:n},r))}))}),P3):mv.createElement(P3,n)}function ip(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,m=e.id,g=e.prefixCls,h=void 0===g?"rc-tabs":g,b=e.className,y=e.items,v=e.direction,_=e.activeKey,w=e.defaultActiveKey,k=e.editable,x=e.animated,S=e.tabPosition,C=void 0===S?"top":S,E=e.tabBarGutter,D=e.tabBarStyle,O=e.tabBarExtraContent,$=e.locale,j=e.moreIcon,P=e.moreTransitionName,N=e.destroyInactiveTabPane,T=e.renderTabBar,I=e.onChange,A=e.onTabClick,R=e.onTabScroll,F=e.getPopupContainer,M=e.popupClassName,L=Ei(e,bI),z=mv.useMemo((function(){return(y||[]).filter((function(e){return e&&"object"===xi(e)&&"key"in e}))}),[y]),B="rtl"===v,H=function(e){var t,n=arguments.length>0&&void 0!==e?e:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!1}:Sa({inkBar:!0},"object"===xi(n)?n:{})).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(x),U=Va(mv.useState(!1),2),W=U[0],V=U[1];return mv.useEffect((function(){V(T5())}),[]),r=Va(Al((function(){var e;return null===(e=z[0])||void 0===e?void 0:e.key}),{value:_,defaultValue:w}),2),o=r[0],i=r[1],a=Va(mv.useState((function(){return z.findIndex((function(e){return e.key===o}))})),2),s=a[0],l=a[1],mv.useEffect((function(){var e,t=z.findIndex((function(e){return e.key===o}));-1===t&&(t=Math.max(0,Math.min(s,z.length-1)),i(null===(e=z[t])||void 0===e?void 0:e.key)),l(t)}),[z.map((function(e){return e.key})).join("_"),o,s]),u=(c=Va(Al(null,{value:m}),2))[0],d=c[1],mv.useEffect((function(){m||(d("rc-tabs-".concat(yI)),yI+=1)}),[]),f=Sa(Sa({},p={id:u,activeKey:o,animated:H,tabPosition:C,rtl:B,mobile:W}),{},{editable:k,locale:$,moreIcon:j,moreTransitionName:P,tabBarGutter:E,onTabClick:function(e,t){null==A||A(e,t);var n=e!==o;i(e),n&&(null==I||I(e))},onTabScroll:R,extra:O,style:D,panes:null,getPopupContainer:F,popupClassName:M}),mv.createElement(O3.Provider,{value:{tabs:z,prefixCls:h}},mv.createElement("div",fa({ref:t,id:m,className:mZ(h,"".concat(h,"-").concat(C),(n={},Ci(n,"".concat(h,"-mobile"),W),Ci(n,"".concat(h,"-editable"),k),Ci(n,"".concat(h,"-rtl"),B),n),b)},L),void 0,mv.createElement(op,fa({},f,{renderTabBar:T})),mv.createElement(Xd,fa({destroyInactiveTabPane:N},p,{animated:H}))))}function ap(e,t){const[n,r]=mv.useState("string"==typeof e?e:"");return mv.useEffect((()=>{(()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;nNumber.MAX_SAFE_INTEGER)return String(lp()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e3&&void 0!==r&&r;return""===e?"":(i=(o=up(e)).negativeStr,a=o.integerStr,s=o.decimalStr,l="".concat(t).concat(s),c="".concat(i).concat(a),n>=0?(u=Number(s[n]))>=5&&!d?hp(gp(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,d):0===n?c:"".concat(c).concat(t).concat(s.padEnd(n,"0").slice(0,n)):".0"===l?c:"".concat(c).concat(l))}function bp(e){return!(!e.addonBefore&&!e.addonAfter)}function yp(e){return!!(e.prefix||e.suffix||e.allowClear)}function vp(e,t,n,r){var o,i;if(n)return o=t,"click"===t.type?(i=e.cloneNode(!0),o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",void n(o)):void 0!==r?(o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(o)):void n(o)}function _p(e,t){var n,r;if(e&&(e.focus(t),n=(t||{}).cursor))switch(r=e.value.length,n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}function wp(e){return null==e?"":String(e)}function kp(e){var t,n,r,o,i,a,s,l=e.prefixCls,c=e.upNode,u=e.downNode,d=e.upDisabled,p=e.downDisabled,f=e.onStep,m=mv.useRef(),g=mv.useRef([]),h=mv.useRef();return h.current=f,t=function(){clearTimeout(m.current)},n=function(e,n){e.preventDefault(),t(),h.current(n),m.current=setTimeout((function e(){h.current(n),m.current=setTimeout(e,FI)}),MI)},mv.useEffect((function(){return function(){t(),g.current.forEach((function(e){return b$.cancel(e)}))}}),[]),RI()?null:(r="".concat(l,"-handler"),o=mZ(r,"".concat(r,"-up"),Ci({},"".concat(r,"-up-disabled"),d)),i=mZ(r,"".concat(r,"-down"),Ci({},"".concat(r,"-down-disabled"),p)),s={unselectable:"on",role:"button",onMouseUp:a=function(){return g.current.push(b$(t))},onMouseLeave:a},mv.createElement("div",{className:"".concat(r,"-wrap")},mv.createElement("span",fa({},s,{onMouseDown:function(e){n(e,!0)},"aria-label":"Increase Value","aria-disabled":d,className:o}),c||mv.createElement("span",{unselectable:"on",className:"".concat(l,"-handler-up-inner")})),mv.createElement("span",fa({},s,{onMouseDown:function(e){n(e,!1)},"aria-label":"Decrease Value","aria-disabled":p,className:i}),u||mv.createElement("span",{unselectable:"on",className:"".concat(l,"-handler-down-inner")}))))}function xp(e){var t="number"==typeof e?fp(e):up(e).fullStr;return t.includes(".")?up(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}function Sp(e,t){const n=mv.useRef([]),r=()=>{n.current.push(setTimeout((()=>{var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))})))};return mv.useEffect((()=>(t&&r(),()=>n.current.forEach((e=>{e&&clearTimeout(e)})))),[]),r}function Cp(e,t){return ka(e||"").slice(0,t).join("")}function Ep(e,t,n,r){var o=n;return e?o=Cp(n,r):ka(t||"").lengthr&&(o=t),o}function Dp(e){return"string"==typeof e&&String(Number(e))===e?(ja(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}function Op(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v=e.prefixCls,_=e.open,w=e.placement,k=e.inline,x=e.push,S=e.forceRender,C=e.autoFocus,E=e.keyboard,D=e.rootClassName,O=e.rootStyle,$=e.zIndex,j=e.className,P=e.style,N=e.motion,T=e.width,I=e.height,A=e.children,R=e.contentWrapperStyle,F=e.mask,M=e.maskClosable,L=e.maskMotion,z=e.maskClassName,B=e.maskStyle,H=e.afterOpenChange,U=e.onClose,W=e.onMouseEnter,V=e.onMouseOver,G=e.onMouseLeave,q=e.onClick,X=e.onKeyDown,K=e.onKeyUp,Y=mv.useRef(),Q=mv.useRef(),J=mv.useRef();if(mv.useImperativeHandle(t,(function(){return Y.current})),a=function(e){var t,n,r=e.keyCode,o=e.shiftKey;switch(r){case Ej.TAB:r===Ej.TAB&&(o||document.activeElement!==J.current?o&&document.activeElement===Q.current&&(null===(n=J.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=Q.current)||void 0===t||t.focus({preventScroll:!0}));break;case Ej.ESC:U&&E&&(e.stopPropagation(),U(e))}},mv.useEffect((function(){var e;_&&C&&(null===(e=Y.current)||void 0===e||e.focus({preventScroll:!0}))}),[_]),l=(s=Va(mv.useState(!1),2))[0],c=s[1],u=mv.useContext(rA),d=null!==(n=null!==(r=null===(o=!1===x?{distance:0}:!0===x?{}:x||{})||void 0===o?void 0:o.distance)&&void 0!==r?r:null==u?void 0:u.pushDistance)&&void 0!==n?n:180,p=mv.useMemo((function(){return{pushDistance:d,push:function(){c(!0)},pull:function(){c(!1)}}}),[d]),mv.useEffect((function(){var e,t;_?null==u||null===(e=u.push)||void 0===e||e.call(u):null==u||null===(t=u.pull)||void 0===t||t.call(u)}),[_]),mv.useEffect((function(){return function(){var e;null==u||null===(e=u.pull)||void 0===e||e.call(u)}}),[]),f=F&&mv.createElement(r0,fa({key:"mask"},L,{visible:_}),(function(e,t){var n=e.className,r=e.style;return mv.createElement("div",{className:mZ("".concat(v,"-mask"),n,z),style:Sa(Sa({},r),B),onClick:M&&_?U:void 0,ref:t})})),m="function"==typeof N?N(w):N,g={},l&&d)switch(w){case"top":g.transform="translateY(".concat(d,"px)");break;case"bottom":g.transform="translateY(".concat(-d,"px)");break;case"left":g.transform="translateX(".concat(d,"px)");break;default:g.transform="translateX(".concat(-d,"px)")}return"left"===w||"right"===w?g.width=Dp(T):g.height=Dp(I),h={onMouseEnter:W,onMouseOver:V,onMouseLeave:G,onClick:q,onKeyDown:X,onKeyUp:K},b=mv.createElement(r0,fa({key:"panel"},m,{visible:_,forceRender:S,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(v,"-content-wrapper-hidden")}),(function(t,n){var r=t.className,o=t.style;return mv.createElement("div",fa({className:mZ("".concat(v,"-content-wrapper"),r),style:Sa(Sa(Sa({},g),o),R)},ic(e,{data:!0})),mv.createElement(oA,fa({containerRef:n,prefixCls:v,className:j,style:P},h),A))})),y=Sa({},O),$&&(y.zIndex=$),mv.createElement(rA.Provider,{value:p},mv.createElement("div",{className:mZ(v,"".concat(v,"-").concat(w),D,(i={},Ci(i,"".concat(v,"-open"),_),Ci(i,"".concat(v,"-inline"),k),i)),style:y,tabIndex:-1,ref:Y,onKeyDown:a},f,mv.createElement("div",{tabIndex:0,ref:Q,style:iA,"aria-hidden":"true","data-sentinel":"start"}),b,mv.createElement("div",{tabIndex:0,ref:J,style:iA,"aria-hidden":"true","data-sentinel":"end"})))}function $p(e){const[t,n]=mv.useState(e);return mv.useEffect((()=>{const t=setTimeout((()=>{n(e)}),e.length?0:10);return()=>{clearTimeout(t)}}),[e]),t}function jp(e,t,n,r){return{key:"string"==typeof e?e:`${t}-${arguments.length>3&&void 0!==r?r:0}`,error:e,errorStatus:n}}function Pp(e){let{help:t,helpStatus:n,errors:r=Z6,warnings:o=Z6,className:i,fieldId:a,onVisibleChanged:s}=e;const{prefixCls:l}=mv.useContext(h2),c=`${l}-item-explain`,[,u]=J6(l),d=mv.useMemo((()=>L1(l)),[l]),p=$p(r),f=$p(o),m=mv.useMemo((()=>null!=t?[jp(t,"help",n)]:[].concat(ka(p.map(((e,t)=>jp(e,"error","error",t)))),ka(f.map(((e,t)=>jp(e,"warning","warning",t)))))),[t,n,p,f]),g={};return a&&(g.id=`${a}_help`),mv.createElement(r0,{motionDeadline:d.motionDeadline,motionName:`${l}-show-help`,visible:!!m.length,onVisibleChanged:s},(e=>{const{className:t,style:n}=e;return mv.createElement("div",Object.assign({},g,{className:mZ(c,t,i,u),style:n,role:"alert"}),mv.createElement(o0,Object.assign({keys:m},L1(l),{motionName:`${l}-show-help-item`,component:!1}),(e=>{const{key:t,error:n,errorStatus:r,className:o,style:i}=e;return mv.createElement("div",{key:t,className:mZ(o,{[`${c}-${r}`]:r}),style:i},n)})))}))}function Np(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function Tp(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:e8.includes(n)?`${t8}_${n}`:n}function Ip(e){return Np(e).join("_")}function Ap(e){const[t]=fu(),n=mv.useRef({}),r=mv.useMemo((()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{const r=Ip(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e,t){let n=arguments.length>1&&void 0!==t?t:{};const o=Tp(Np(e),r.__INTERNAL__.name),i=o?document.getElementById(o):null;i&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof(n=t)&&"function"==typeof n.behavior)return t.behavior(j0(e,t));var n;const r="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:o,top:i,left:a}of j0(e,P0(t)))o.scroll({top:i,left:a,behavior:r})}(i,Object.assign({scrollMode:"if-needed",block:"nearest"},n))},getFieldInstance:e=>{const t=Ip(e);return n.current[t]}})),[e,t]);return[r]}function Rp(e){const{prefixCls:t,className:n,rootClassName:r,style:o,help:i,errors:a,warnings:s,validateStatus:l,meta:c,hasFeedback:u,hidden:d,children:p,fieldId:f,required:m,isRequired:g,onSubItemMetaChange:h}=e,b=pA(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),y=`${t}-item`,{requiredMark:v}=mv.useContext(f2),_=mv.useRef(null),w=$p(a),k=$p(s),x=null!=i,S=!!(x||a.length||s.length),C=!!_.current&&B0(_.current),[E,D]=mv.useState(null);QD((()=>{if(S&&_.current){const e=getComputedStyle(_.current);D(parseInt(e.marginBottom,10))}}),[S,C]);const O=function(e){let t=arguments.length>0&&void 0!==e&&e,n="";return void 0!==l?n=l:c.validating?n="validating":(t?w:c.errors).length?n="error":(t?k:c.warnings).length?n="warning":(c.touched||u&&c.validated)&&(n="success"),n}(),$=mv.useMemo((()=>{let e;if(u){const t=O&&l8[O];e=t?mv.createElement("span",{className:mZ(`${y}-feedback-icon`,`${y}-feedback-icon-${O}`)},mv.createElement(t,null)):null}return{status:O,errors:a,warnings:s,hasFeedback:u,feedbackIcon:e,isFormItemInput:!0}}),[O,u]),j=mZ(y,n,r,{[`${y}-with-help`]:x||w.length||k.length,[`${y}-has-feedback`]:O&&u,[`${y}-has-success`]:"success"===O,[`${y}-has-warning`]:"warning"===O,[`${y}-has-error`]:"error"===O,[`${y}-is-validating`]:"validating"===O,[`${y}-hidden`]:d});return mv.createElement("div",{className:j,style:o,ref:_},mv.createElement(Z3,Object.assign({className:`${y}-row`},Qs(b,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),mv.createElement(s8,Object.assign({htmlFor:f},e,{requiredMark:v,required:null!=m?m:g,prefixCls:t})),mv.createElement(a8,Object.assign({},e,c,{errors:w,warnings:k,prefixCls:t,status:O,help:i,marginBottom:E,onErrorVisibleChanged:e=>{e||D(null)}}),mv.createElement(m2.Provider,{value:h},mv.createElement(b2.Provider,{value:$},p)))),!!E&&mv.createElement("div",{className:`${y}-margin-offset`,style:{marginBottom:-E}}))}function Fp(){if(!f8){const e=document.createDocumentFragment(),t={fragment:e};return f8=t,void m8((()=>{hc(mv.createElement(b8,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Fp())}))}}),e)}))}f8.instance&&(g8.forEach((e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":m8((()=>{const t=f8.instance.open(Object.assign(Object.assign({},h8),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)}));break;case"destroy":m8((()=>{null==f8||f8.instance.destroy(e.key)}));break;default:m8((()=>{var n;const r=(n=f8.instance)[t].apply(n,ka(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)}))}})),g8=[])}function Mp(e){return vu(_u(e))}function Lp(){if(!x8){const e=document.createDocumentFragment(),t={fragment:e};return x8=t,void S8((()=>{hc(mv.createElement(D8,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Lp())}))}}),e)}))}x8.instance&&(C8.forEach((e=>{switch(e.type){case"open":S8((()=>{x8.instance.open(Object.assign(Object.assign({},E8),e.config))}));break;case"destroy":S8((()=>{null==x8||x8.instance.destroy(e.key)}))}})),C8=[])}function zp(e){C8.push({type:"open",config:e}),Lp()}function Bp(e){var t,n,r=e.prefixCls,o=e.containerRef,i=e.value,a=e.getValueIndex,s=e.motionName,l=e.onMotionStart,c=e.onMotionEnd,u=e.direction,d=mv.useRef(null),p=Va(mv.useState(i),2),f=p[0],m=p[1],g=function(e){var t,n=a(e),i=null===(t=o.current)||void 0===t?void 0:t.querySelectorAll(".".concat(r,"-item"))[n];return(null==i?void 0:i.offsetParent)&&i},h=Va(mv.useState(null),2),b=h[0],y=h[1],v=Va(mv.useState(null),2),_=v[0],w=v[1];return QD((function(){var e,t,n,r;f!==i&&(e=g(f),t=g(i),n=gA(e),r=gA(t),m(i),y(n),w(r),e&&t?l():c())}),[i]),t=mv.useMemo((function(){return hA("rtl"===u?-(null==b?void 0:b.right):null==b?void 0:b.left)}),[u,b]),n=mv.useMemo((function(){return hA("rtl"===u?-(null==_?void 0:_.right):null==_?void 0:_.left)}),[u,_]),b&&_?mv.createElement(r0,{visible:!0,motionName:s,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){y(null),w(null),c()}},(function(e,o){var i=e.className,a=Sa(Sa({},e.style),{},{"--thumb-start-left":t,"--thumb-start-width":hA(null==b?void 0:b.width),"--thumb-active-left":n,"--thumb-active-width":hA(null==_?void 0:_.width)}),s={ref:Bs(d,o),style:a,className:mZ("".concat(r,"-thumb"),i)};return mv.createElement("div",s)})):null}function Hp(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function Up(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}function Wp(e,t,n){return(e-t)/(n-t)}function Vp(e,t,n,r){var o=Wp(t,n,r),i={};switch(e){case"rtl":i.right="".concat(100*o,"%"),i.transform="translateX(50%)";break;case"btt":i.bottom="".concat(100*o,"%"),i.transform="translateY(50%)";break;case"ttb":i.top="".concat(100*o,"%"),i.transform="translateY(-50%)";break;default:i.left="".concat(100*o,"%"),i.transform="translateX(-50%)"}return i}function Gp(e,t){return Array.isArray(e)?e[t]:e}function qp(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function Xp(e){var t=e.prefixCls,n=e.style,r=e.start,o=e.end,i=e.index,a=e.onStartMove,s=mv.useContext(wA),l=s.direction,c=s.min,u=s.max,d=s.disabled,p=s.range,f="".concat(t,"-track"),m=Wp(r,c,u),g=Wp(o,c,u),h=function(e){!d&&a&&a(e,-1)},b={};switch(l){case"rtl":b.right="".concat(100*m,"%"),b.width="".concat(100*g-100*m,"%");break;case"btt":b.bottom="".concat(100*m,"%"),b.height="".concat(100*g-100*m,"%");break;case"ttb":b.top="".concat(100*m,"%"),b.height="".concat(100*g-100*m,"%");break;default:b.left="".concat(100*m,"%"),b.width="".concat(100*g-100*m,"%")}return mv.createElement("div",{className:mZ(f,p&&"".concat(f,"-").concat(i+1)),style:Sa(Sa({},b),n),onMouseDown:h,onTouchStart:h})}function Kp(e){var t=e.prefixCls,n=e.style,r=e.values,o=e.startPoint,i=e.onStartMove,a=mv.useContext(wA),s=a.included,l=a.range,c=a.min,u=mv.useMemo((function(){var e,t,n,i;if(!l)return 0===r.length?[]:(e=null!=o?o:c,t=r[0],[{start:Math.min(e,t),end:Math.max(e,t)}]);for(n=[],i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a),r(s+(u=n-i/2),l+u,c+u))}function Rf(e){var t,n,r,o,i,a,s,l,c,u,d;if("string"!=typeof e)throw new OF(3);if(t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return $F[t]?"#"+$F[t]:e}(e),t.match(jF))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(PF))return n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2)),{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n};if(t.match(NF))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(TF))return r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2)),{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r};if(o=IF.exec(t))return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};if(i=AF.exec(t.substring(0,50)))return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};if(a=RF.exec(t)){if(s="rgb("+Af(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",!(l=IF.exec(s)))throw new OF(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}if(c=FF.exec(t.substring(0,50))){if(u="rgb("+Af(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",!(d=IF.exec(u)))throw new OF(4,t,u);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new OF(5)}function Ff(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function Mf(e){return Ff(Math.round(255*e))}function Lf(e,t,n){return MF("#"+Mf(e)+Mf(t)+Mf(n))}function zf(e,t,n){return Af(e,t,n,Lf)}function Bf(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return MF("#"+Ff(e)+Ff(t)+Ff(n));if("object"==typeof e&&void 0===t&&void 0===n)return MF("#"+Ff(e.red)+Ff(e.green)+Ff(e.blue));throw new OF(6)}function Hf(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=Rf(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Bf(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Bf(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new OF(7)}function Uf(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):Uf(e,t,r)}}function Wf(e){return Uf(e,e.length,[])}function Vf(e,t){if("transparent"===t)return t;var n=function(e){return function(e){var t,n,r,o=e.red/255,i=e.green/255,a=e.blue/255,s=Math.max(o,i,a),l=Math.min(o,i,a),c=(s+l)/2;if(s===l)return void 0!==e.alpha?{hue:0,saturation:0,lightness:c,alpha:e.alpha}:{hue:0,saturation:0,lightness:c};switch(n=s-l,r=c>.5?n/(2-s-l):n/(s+l),s){case o:t=(i-a)/n+(i=1?zf(e.hue,e.saturation,e.lightness):"rgba("+Af(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new OF(2)}(e);if(BF(e))return function(e){if("object"==typeof e)return zf(e.hue,e.saturation,e.lightness);throw new OF(1)}(e);throw new OF(8)}(fa({},n,{hue:n.hue+parseFloat(e)}))}function Gf(e){var t,n;return"transparent"===e?0:(t=Rf(e),n=Object.keys(t).map((function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)})),parseFloat((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3)))}function qf(e,t,n,r){var o,i,a,s,l;return void 0===t&&(t=WF),void 0===n&&(n=VF),void 0===r&&(r=!0),i=(o=Gf(e)>.179)?t:n,!r||(a=i,s=Gf(e),l=Gf(a),parseFloat((s>l?(s+.05)/(l+.05):(l+.05)/(s+.05)).toFixed(2))>=4.5)?i:o?WF:VF}function Xf(e,t){var n,r,o,i,a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;n=a.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)o.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(a=n.return)&&a.call(n)}finally{if(i)throw i.error}}return o}function Kf(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return o=!0,i=!1,{s:function(){s=s.call(e)},n:function(){var e=s.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==s.return||s.return()}finally{if(i)throw a}}}}function eg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n52;t=t/52|0)n=fG(t%52)+n;return(fG(t%52)+n).replace(pG,"$1-$2")}function ug(e){return"string"==typeof e&&!0}function dg(e){return("type"in(t=e)&&t.type.$$typeof)===yG?kG:"$$typeof"in e?xG[e.$$typeof]:_G;var t}function pg(e,t,n){var r,o,i,a,s,l,c;if("string"!=typeof t)for($G&&(r=OG(t))&&r!==$G&&pg(e,r,n),o=CG(t),EG&&(o=o.concat(EG(t))),i=dg(e),a=dg(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}function wg(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=wg(e.children,t)),e}))}function kg(){return mv.useContext(QG)}function xg(e){var t,n,r;for(t="",n=0;n>>0)}("6.0.5"+f+iq[f])),d?"".concat(d,"-").concat(p):p):v;return void 0===t.displayName&&function(e){ug(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e),r=t.displayName&&t.componentId?"".concat(lg(t.displayName),"-").concat(t.componentId):t.componentId||_,o=m&&g.attrs?g.attrs.concat(y).filter(Boolean):y,i=t.shouldForwardProp,m&&g.shouldForwardProp&&(a=g.shouldForwardProp,t.shouldForwardProp?(s=t.shouldForwardProp,i=function(e,t){return a(e,t)&&s(e,t)}):i=a),l=new rq(n,r,m?g.componentStyle:void 0),c=jJ.forwardRef((function(e,t){return function(e,t,n){var r,o,i,a,s,l,c=e.attrs,u=e.componentStyle,d=e.defaultProps,p=e.foldedComponentIds,f=e.styledComponentId,m=e.target,g=jJ.useContext(oq),h=kg(),b=e.shouldForwardProp||h.shouldForwardProp,y=function(e,t,n){var r,o,i,a,s;for(o=GF(GF({},t),{className:void 0,theme:n}),i=0;i{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,d9(e,r))}function Ig(e,t){function n(){return s.getFixedT(r.lng||null,"fallback"===l.nsMode?d:d[0],u)}let r=arguments.length>1&&void 0!==t?t:{};const{i18n:o}=r,{i18n:i,defaultNS:a}=mv.useContext(y9)||{},s=o||i||g9;if(s&&!s.reportNamespaces&&(s.reportNamespaces=new v9),!s){Pg("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}s.options.react&&void 0!==s.options.react.wait&&Pg("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const l={...h9,...s.options.react,...r},{useSuspense:c,keyPrefix:u}=l;let d=e||a||s.options&&s.options.defaultNS;d="string"==typeof d?[d]:d||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(d);const p=(s.isInitialized||s.initializedStoreOnce)&&d.every((e=>function(e,t,n){let r=arguments.length>2&&void 0!==n?n:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):function(e,t,n){let r=arguments.length>2&&void 0!==n?n:{};const o=t.languages[0],i=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===o.toLowerCase())return!0;const s=(e,n)=>{const r=t.services.backendConnector.state[`${e}|${n}`];return-1===r||2===r};return!(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!s(t.isLanguageChangingTo,e)||!t.hasResourceBundle(o,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!s(o,e)||i&&!s(a,e)))}(e,t,r):(Pg("i18n.languages were undefined or empty",t.languages),!0)}(e,s,l))),[f,m]=mv.useState(n);let g=d.join();r.lng&&(g=`${r.lng}${g}`);const h=(e=>{const t=mv.useRef();return mv.useEffect((()=>{t.current=e}),[e,void 0]),t.current})(g),b=mv.useRef(!0);mv.useEffect((()=>{function e(){b.current&&m(n)}const{bindI18n:t,bindI18nStore:o}=l;return b.current=!0,p||c||(r.lng?Tg(s,r.lng,d,(()=>{b.current&&m(n)})):Ng(s,d,(()=>{b.current&&m(n)}))),p&&h&&h!==g&&b.current&&m(n),t&&s&&s.on(t,e),o&&s&&s.store.on(o,e),()=>{b.current=!1,t&&s&&t.split(" ").forEach((t=>s.off(t,e))),o&&s&&o.split(" ").forEach((t=>s.store.off(t,e)))}}),[s,g]);const y=mv.useRef(!0);mv.useEffect((()=>{b.current&&!y.current&&m(n),y.current=!1}),[s,u]);const v=[f,s,p];if(v.t=f,v.i18n=s,v.ready=p,p)return v;if(!p&&!c)return v;throw new Promise((e=>{r.lng?Tg(s,r.lng,d,(()=>e())):Ng(s,d,(()=>e()))}))}function Ag(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Rg(e){var t,n;for(t=1;t0)for(t=0,n=arguments.length;tthis.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&m(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const n=((this.options.includePrerelease&&d)|(this.options.loose&&p))+":"+e,i=t.get(n);if(i)return i;const m=this.options.loose;e=e.replace(m?a[s.HYPHENRANGELOOSE]:a[s.HYPHENRANGE],E(this.options.includePrerelease)),o("hyphen replace",e),e=e.replace(a[s.COMPARATORTRIM],l),o("comparator trim",e),e=e.replace(a[s.TILDETRIM],c),o("tilde trim",e),e=e.replace(a[s.CARETTRIM],u),o("caret trim",e);let g=e.split(" ").map((e=>h(e,this.options))).join(" ").split(/\s+/).map((e=>C(e,this.options)));m&&(g=g.filter((e=>(o("loose invalid filter",e,this.options),!!e.match(a[s.COMPARATORLOOSE]))))),o("range list",g);const b=new Map,y=g.map((e=>new r(e,this.options)));for(const t of y){if(f(t))return[t];b.set(t.value,t)}b.size>1&&b.has("")&&b.delete("");const v=[...b.values()];return t.set(n,v),v}intersects(t,n){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some((e=>g(e,n)&&t.set.some((t=>g(t,n)&&e.every((e=>t.every((t=>e.intersects(t,n)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new i(e,this.options)}catch(t){return!1}for(let n=0;n"<0.0.0-0"===e.value,m=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every((e=>o.intersects(e,t))),o=r.pop();return n},h=(e,t)=>(o("comp",e,t),e=_(e,t),o("caret",e),e=y(e,t),o("tildes",e),e=k(e,t),o("xrange",e),e=S(e,t),o("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>v(e,t))).join(" "),v=(e,t)=>e.replace(t.loose?a[s.TILDELOOSE]:a[s.TILDE],((t,n,r,i,a)=>{let s;return o("tilde",e,t,n,r,i,a),b(n)?s="":b(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:b(i)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(o("replaceTilde pr",a),s=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,o("tilde return",s),s})),_=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{o("caret",e,t);const n=t.includePrerelease?"-0":"";return e.replace(t.loose?a[s.CARETLOOSE]:a[s.CARET],((t,r,i,a,s)=>{let l;return o("caret",e,t,r,i,a,s),b(r)?l="":b(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(a)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:s?(o("replaceCaret pr",s),l="0"===r?"0"===i?`>=${r}.${i}.${a}-${s} <${r}.${i}.${+a+1}-0`:`>=${r}.${i}.${a}-${s} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${a}-${s} <${+r+1}.0.0-0`):(o("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${a}${n} <${r}.${i}.${+a+1}-0`:`>=${r}.${i}.${a}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${a} <${+r+1}.0.0-0`),o("caret return",l),l}))},k=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map((e=>x(e,t))).join(" ")),x=(e,t)=>(e=e.trim()).replace(t.loose?a[s.XRANGELOOSE]:a[s.XRANGE],((n,r,i,a,s,l)=>{o("xRange",e,n,r,i,a,s,l);const c=b(i),u=c||b(a),d=u||b(s);return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(a=0),s=0,">"===r?(r=">=",u?(i=+i+1,a=0,s=0):(a=+a+1,s=0)):"<="===r&&(r="<",u?i=+i+1:a=+a+1),"<"===r&&(l="-0"),n=`${r+i}.${a}.${s}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),o("xRange return",n),n})),S=(e,t)=>(o("replaceStars",e,t),e.trim().replace(a[s.STAR],"")),C=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?s.GTE0PRE:s.GTE0],"")),E=e=>(t,n,r,o,i,a,s,l,c,u,d,p)=>`${n=b(r)?"":b(o)?`>=${r}.0.0${e?"-0":""}`:b(i)?`>=${r}.${o}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=b(c)?"":b(u)?`<${+c+1}.0.0-0`:b(d)?`<${c}.${+u+1}.0-0`:p?`<=${c}.${u}.${d}-${p}`:e?`<${c}.${u}.${+d+1}-0`:`<=${l}`}`.trim(),D=(e,t,n)=>{for(let r=0;r0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0};return nX}function Wg(){if(iX)return oX;iX=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(r,o){if(o=n(o),r instanceof t){if(r.loose===!!o.loose)return r;r=r.value}r=r.trim().split(/\s+/).join(" "),a("comparator",r,o),this.options=o,this.loose=!!o.loose,this.parse(r),this.value=this.semver===e?"":this.operator+this.semver.version,a("comp",this)}parse(t){const n=t.match(this.options.loose?r[o.COMPARATORLOOSE]:r[o.COMPARATOR]);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),this.semver=n[2]?new s(n[2],this.options.loose):e}toString(){return this.value}test(t){if(a("Comparator.test",t,this.options.loose),this.semver===e||t===e)return!0;if("string"==typeof t)try{t=new s(t,this.options)}catch(n){return!1}return i(t,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new l(e.value,r).test(this.value):""===e.operator?""===e.value||new l(this.value,r).test(e.semver):!((r=n(r)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(i(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(i(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}oX=t;const n=Eq,{safeRe:r,t:o}=Cq,i=Yq,a=Sq,s=Oq,l=Ug();return oX}function Vg(e,t){var n,r,o,i,a;for(n=arguments.length,r=new Array(n>2?n-2:0),o=2;o0&&void 0!==t?t:[],l=arguments.length>1&&void 0!==n?n:{publishSource:!0},c=l.publishSource,u=void 0===c||c,d=l.clientOffset,p=l.getSourceClientOffset,f=e.getMonitor(),m=e.getRegistry();if(e.dispatch(Gg(d)),function(e,t,n){Vg(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){Vg(n.getSource(e),"Expected sourceIds to be registered.")}))}(s,f,m),r=function(e,t){for(var n=null,r=e.length-1;r>=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}(s,f),null!==r){if(o=null,d){if(!p)throw new Error("getSourceClientOffset must be defined");!function(e){Vg("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(p),o=p(r)}if(e.dispatch(Gg(d,o)),null!=(i=m.getSource(r).beginDrag(f,r)))return function(e){Vg(Xg(e),"Item must be an object.")}(i),m.pinSource(r),a=m.getSourceType(r),{type:kX,payload:{itemType:a,item:i,sourceId:r,clientOffset:d||null,sourceClientOffset:o||null,isSourcePublic:!!u}}}else e.dispatch(DX)}}function Yg(e){return function(){if(e.getMonitor().isDragging())return{type:xX}}}function Qg(e,t){return null===t?null===e:Array.isArray(e)?e.some((function(e){return e===t})):e===t}function Jg(e){return function(t,n){var r,o,i,a=(arguments.length>1&&void 0!==n?n:{}).clientOffset;return function(e){Vg(Array.isArray(e),"Expected targetIds to be an array.")}(t),function(e,t,n){var r,o;for(Vg(t.isDragging(),"Cannot call hover while not dragging."),Vg(!t.didDrop(),"Cannot call hover after drop."),r=0;r=0;r--)Qg(t.getTargetType(e[r]),n)||e.splice(r,1)}(r,i,o.getItemType()),function(e,t,n){e.forEach((function(e){n.getTarget(e).hover(t,e)}))}(r,o,i),{type:SX,payload:{targetIds:r,clientOffset:a||null}}}}function Zg(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function eh(e){var t,n;for(t=1;t0&&void 0!==t?t:{},o=e.getMonitor(),i=e.getRegistry();!function(e){Vg(e.isDragging(),"Cannot call drop while not dragging."),Vg(!e.didDrop(),"Cannot call drop twice during one drag operation.")}(o),n=function(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}(o),n.forEach((function(t,n){var a=function(e,t,n,r){var o=n.getTarget(e),i=o?o.drop(r,e):void 0;return function(e){Vg(void 0===e||Xg(e),"Drop result must either be an object or undefined.")}(i),void 0===i&&(i=0===t?{}:r.getDropResult()),i}(t,n,i,o),s={type:CX,payload:{dropResult:eh(eh({},r),a)}};e.dispatch(s)}))}}function rh(e){return function(){var t,n=e.getMonitor(),r=e.getRegistry();return function(e){Vg(e.isDragging(),"Cannot call endDrag while not dragging.")}(n),null!=(t=n.getSourceId())&&(r.getSource(t,!0).endDrag(n,t),r.unpinSource()),{type:EX}}}function oh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ih(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}function ah(e,t,n,r){function o(){p===d&&(p=d.slice())}function i(){if(f)throw new Error(ih(3));return u}function a(e){if("function"!=typeof e)throw new Error(ih(4));if(f)throw new Error(ih(5));var t=!0;return o(),p.push(e),function(){if(t){if(f)throw new Error(ih(6));t=!1,o();var n=p.indexOf(e);p.splice(n,1),d=null}}}function s(e){var t,n;if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(ih(7));if(void 0===e.type)throw new Error(ih(8));if(f)throw new Error(ih(9));try{f=!0,u=c(u,e)}finally{f=!1}for(t=d=p,n=0;n0&&void 0!==e?e:TX,i=arguments.length>1?t:void 0,a=i.payload;switch(i.type){case wX:case kX:return{initialSourceClientOffset:a.sourceClientOffset,initialClientOffset:a.clientOffset,clientOffset:a.clientOffset};case SX:return r=a.clientOffset,!(n=o.clientOffset)&&!r||n&&r&&n.x===r.x&&n.y===r.y?o:lh(lh({},o),{},{clientOffset:a.clientOffset});case EX:case CX:return TX;default:return o}}function dh(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function ph(e){var t,n;for(t=1;t0&&void 0!==e?e:MX,i=arguments.length>1?t:void 0,a=i.payload;switch(i.type){case kX:return ph(ph({},o),{},{itemType:a.itemType,item:a.item,sourceId:a.sourceId,isSourcePublic:a.isSourcePublic,dropResult:null,didDrop:!1});case xX:return ph(ph({},o),{},{isSourcePublic:!0});case SX:return ph(ph({},o),{},{targetIds:a.targetIds});case FX:return-1===o.targetIds.indexOf(a.targetId)?o:ph(ph({},o),{},{targetIds:(n=o.targetIds,r=a.targetId,n.filter((function(e){return e!==r})))});case CX:return ph(ph({},o),{},{dropResult:a.dropResult,didDrop:!0,targetIds:[]});case EX:return ph(ph({},o),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return o}}function gh(e,t){var n=arguments.length>0&&void 0!==e?e:0;switch((arguments.length>1?t:void 0).type){case IX:case AX:return n+1;case RX:case FX:return n-1;default:return n}}function hh(e,t){var n,r,o,i,a,s,l,c,u,d=arguments.length>1?t:void 0;switch(d.type){case SX:break;case IX:case AX:case FX:case RX:return LX;default:return zX}return l=(s=function(e,t){var n,r=new Map,o=function(e){r.set(e,r.has(e)?r.get(e)+1:1)};return e.forEach(o),t.forEach(o),n=[],r.forEach((function(e,t){1===e&&n.push(t)})),n}(o=void 0===(r=(n=d.payload).targetIds)?[]:r,a=void 0===(i=n.prevTargetIds)?[]:i)).length>0||!function(e,t,n){var r,o=arguments.length>2&&void 0!==n?n:NX;if(e.length!==t.length)return!1;for(r=0;r0&&void 0!==e?e:0)+1}function yh(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function vh(e){var t,n;for(t=1;t0&&void 0!==e?e:{},i=arguments.length>1?t:void 0;return{dirtyHandlerIds:hh(o.dirtyHandlerIds,{type:i.type,payload:vh(vh({},i.payload),{},{prevTargetIds:(n=o,r=[],"dragOperation.targetIds".split(".").reduce((function(e,t){return e&&e[t]?e[t]:r||null}),n))})}),dragOffset:uh(o.dragOffset,i),refCount:gh(o.refCount,i),dragOperation:mh(o.dragOperation,i),stateId:bh(o.stateId)}}function kh(e,t){return{x:e.x-t.x,y:e.y-t.y}}function xh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sh(e){return(Sh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ch(e,t){t&&Array.isArray(e)?e.forEach((function(e){return Ch(e,!1)})):Vg("string"==typeof e||"symbol"===Sh(e),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function Eh(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}const n=setTimeout(t,0),r=setInterval(t,50)}}function Dh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==t?t:void 0,a=arguments.length>2&&void 0!==n?n:{},s=(o="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__,ah(wh,arguments.length>3&&void 0!==r&&r&&o&&o({name:"dnd-core",instanceId:"dnd-core"}))),l=new BX(s,new UX(s)),c=new OX(s,l),u=e(c,i,a);return c.receiveBackend(u),c}function Nh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==t?t:null,a=arguments.length>1&&void 0!==n?n:null;return mv.isValidElement(i)?(function(e){if("string"!=typeof e.type)throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(e.type.displayName||e.type.name||"the component"," into a
, or turn it into a ")+"drag source or a drop target itself.")}(o=i),function(e,t){var n=e.ref;return Vg("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),mv.cloneElement(e,n?{ref:function(e){Fh(n,e),Fh(t,e)}}:{ref:t})}(o,a?function(t){return e(t,a)}:e)):(e(r=i,a),r)}}(o),t[n]=function(){return r})})),t}function Fh(e,t){"function"==typeof e?e(t):e.current=t}function Mh(e){return(Mh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Lh(e){return null!==e&&"object"===Mh(e)&&Object.prototype.hasOwnProperty.call(e,"current")}function zh(e,t,n,r){var o,i,a,s,l,c,u,d=n?n.call(r,e,t):void 0;if(void 0!==d)return!!d;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;if(o=Object.keys(e),i=Object.keys(t),o.length!==i.length)return!1;for(a=Object.prototype.hasOwnProperty.bind(t),s=0;se.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1}))}))[0]||null}function Bb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hb(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Ub(e){var t,n;for(t=1;tNumber(e)-Number(t))).map((t=>e[t])):e}function ay(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function sy(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function ly(e){const t=(e=ay(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function cy(e,t){ny((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[])$/.exec(e),r[e=e.replace(/\[]$/,"")]=t?void 0!==r[e]?[...r[e],n]:[n]:n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),r[e=e.replace(/:list$/,"")]=t?void 0!==r[e]?[...r[e],n]:[n]:n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&oy(n,e).includes(e.arrayFormatSeparator);n=i?oy(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>oy(t,e))):null===n?n:oy(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!o)return void(r[t]=n?oy(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>oy(t,e)));r[t]=void 0!==r[t]?[...r[t],...i]:i};default:return(e,t,n)=>{n[e]=void 0!==n[e]?[...[n[e]].flat(),t]:t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;const e=t.decode?o.replace(/\+/g," "):o;let[i,a]=ey(e,"=");void 0===i&&(i=e),a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:oy(a,t),n(oy(i,t),a,r)}for(const[o,i]of Object.entries(r))if("object"==typeof i&&null!==i)for(const[e,n]of Object.entries(i))i[e]=sy(n,t);else r[o]=sy(i,t);return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return e[t]=Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?iy(n):n,e}),Object.create(null))}function uy(e,t){if(!e)return"";ny((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const n=n=>t.skipNull&&kne(e[n])||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[ry(t,e),"[",o,"]"].join("")]:[...n,[ry(t,e),"[",ry(o,e),"]=",ry(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[ry(t,e),"[]"].join("")]:[...n,[ry(t,e),"[]=",ry(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[ry(t,e),":list="].join("")]:[...n,[ry(t,e),":list=",ry(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[ry(n,e),t,ry(o,e)].join("")]:[[r,ry(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,ry(t,e)]:[...n,[ry(t,e),"=",ry(r,e)].join("")]}}(t),o={};for(const[a,s]of Object.entries(e))n(a)||(o[a]=s);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?ry(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?ry(n,t)+"[]":o.reduce(r(n),[]).join("&"):ry(n,t)+"="+ry(o,t)})).filter((e=>e.length>0)).join("&")}function dy(e,t){var n;t={decode:!0,...t};let[r,o]=ey(e,"#");return void 0===r&&(r=e),{url:(null==(n=null==r?void 0:r.split("?"))?void 0:n[0])??"",query:cy(ly(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:oy(o,t)}:{}}}function py(e,t){t={encode:!0,strict:!0,[Sne]:!0,...t};const n=ay(e.url).split("?")[0]||"";let r=uy({...cy(ly(e.url),{sort:!1}),...e.query},t);r&&(r=`?${r}`);let o=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);if(e.fragmentIdentifier){const r=new URL(n);r.hash=e.fragmentIdentifier,o=t[Sne]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${o}`}function fy(e,t,n){n={parseFragmentIdentifier:!0,[Sne]:!1,...n};const{url:r,query:o,fragmentIdentifier:i}=dy(e,n);return py({url:r,query:ty(o,t),fragmentIdentifier:i},n)}function my(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}function gy(e){return null==e?"":""+e}function hy(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}const i="string"!=typeof t?[].concat(t):t.split(".");for(;i.length>1;){if(o())return{};const t=r(i.shift());!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function by(e,t,n){const{obj:r,k:o}=hy(e,t,Object);r[o]=n}function yy(e,t){const{obj:n,k:r}=hy(e,t);if(n)return n[r]}function vy(e,t,n){for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):vy(e[r],t[r],n):e[r]=t[r]);return e}function _y(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function wy(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>MY[e])):e}function ky(e,t,n){let r=arguments.length>2&&void 0!==n?n:".";if(!e)return;if(e[t])return e[t];const o=t.split(r);let i=e;for(let a=0;aa+e;)e++,n=o.slice(a,a+e).join(r),s=i[n];if(void 0===s)return;if(null===s)return null;if(t.endsWith(n)){if("string"==typeof s)return s;if(n&&"string"==typeof s[n])return s[n]}const l=o.slice(a+e).join(r);return l?ky(s,l,r):void 0}i=i[o[a]]}return i}function xy(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}function Sy(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Cy(e,t,n,r,o){let i=arguments.length>3&&void 0!==r?r:".",a=!(arguments.length>4&&void 0!==o)||o,s=function(e,t,n){const r=yy(e,n);return void 0!==r?r:yy(t,n)}(e,t,n);return!s&&a&&"string"==typeof n&&(s=ky(e,n,i),void 0===s&&(s=ky(t,n,i))),s}function Ey(e){const t={};return function(n,r,o){const i=r+JSON.stringify(o);let a=t[i];return a||(a=e(xy(r),o),t[i]=a),a(n)}}function Dy(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Oy(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function $y(){}function jy(e){return(jy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Py(e){return BY.call(HY.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}function Ny(){return"function"==typeof XMLHttpRequest||"object"===("undefined"==typeof XMLHttpRequest?"undefined":jy(XMLHttpRequest))}function Ty(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}function Iy(e){return(Iy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ay(e){return(Ay="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ry(e){var t=function(e){var t,n;if("object"!==Ay(e)||null===e)return e;if(void 0!==(t=e[Symbol.toPrimitive])){if("object"!==Ay(n=t.call(e,"string")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ay(t)?t:String(t)}function Fy(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function My(e){return e.startsWith("./")?e.slice(2):e}function Ly(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function zy(...e){return e.map(Fy).map(My).join("/")}function By(e){return 32===e||9===e}function Hy(e){return 10===e||13===e}function Uy(e){return e>=48&&e<=57}function Wy(e){return`${Zne}${e}`}async function Vy(e){const t=[],n=await async function(e){const t=Wy(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then((e=>e.text()))}(e);let r;try{r=JSON.parse(n)}catch(zQ){if(r=Jne(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return r}async function Gy(e){const t=qy(await Vy(e));if(t.include){const n=await Gy(zy(...Ly(e),t.include));n.settings&&(t.settings=n.settings.concat(t.settings)),n.bg&&!t.bg&&(t.bg=n.bg),n.colors&&(t.colors={...n.colors,...t.colors}),delete t.include}return t}function qy(e){const t={name:e.name,type:e.type||"dark",...e,...Xy(e)};var n;return e.include&&(t.include=e.include),e.tokenColors&&(t.settings=e.tokenColors,delete t.tokenColors),(n=t).settings||(n.settings=[]),n.settings[0]&&n.settings[0].settings&&!n.settings[0].scope||n.settings.unshift({settings:{foreground:n.fg,background:n.bg}}),t}function Xy(e){var t,n,r,o;let i,a,s=e.settings?e.settings:e.tokenColors;const l=s?s.find((e=>!e.name&&!e.scope)):void 0;return(null==(t=null==l?void 0:l.settings)?void 0:t.foreground)&&(i=l.settings.foreground),(null==(n=null==l?void 0:l.settings)?void 0:n.background)&&(a=l.settings.background),!i&&(null==(r=null==e?void 0:e.colors)?void 0:r["editor.foreground"])&&(i=e.colors["editor.foreground"]),!a&&(null==(o=null==e?void 0:e.colors)?void 0:o["editor.background"])&&(a=e.colors["editor.background"]),i||(i="light"===e.type?nre.light:nre.dark),a||(a="light"===e.type?rre.light:rre.dark),{fg:i,bg:a}}function Ky(e,t){let n=[];for(let r=0,o=t.length;r=0&&i>=0;)Yy(t[o],r[i])&&o--,i--;return-1===o}function Jy(e,t,n){let r=[],o=0;for(let i=0,a=e.settings.length;ie.trim()));else{if(!Array.isArray(s.scope))continue;a=s.scope}for(let e=0,i=a.length;eNumber.parseInt(e)));if(3!==t.length||t.some((e=>Number.isNaN(e))))return;return{type:"rgb",rgb:t}}if("5"===t){const t=e.shift();if(t)return{type:"table",index:Number(t)}}}function tv(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(0===r)t.push({type:"resetAll"});else if(r<=9)gQ[r]&&t.push({type:"setDecoration",value:gQ[r]});else if(r<=29){const e=gQ[r-20];e&&t.push({type:"resetDecoration",value:e})}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:mQ[r-30]}});else if(38===r){const n=ev(e);n&&t.push({type:"setForegroundColor",value:n})}else if(39===r)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:mQ[r-40]}});else if(48===r){const n=ev(e);n&&t.push({type:"setBackgroundColor",value:n})}else 49===r?t.push({type:"resetBackgroundColor"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:mQ[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:mQ[r-100+8]}})}return t}function nv(e,t={}){function n(e="",t={},n){const r=i[e]||ire[e];return r?r({...t,children:(n=n.filter(Boolean)).join("code"===e?"\n":"")}):""}const r=t.bg||"#fff",o=function(e){const t=new Map;for(const n of e){const e=n.line;t.has(e)?t.get(e).push(n):t.set(e,[n])}return t}(t.lineOptions??[]),i=t.elements||{};return n("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${r}`},[t.langId?`
${t.langId}
`:"",n("code",{},e.map(((r,i)=>n("line",{className:function(e){const t=new Set(["line"]);for(const n of e)for(const e of n.classes??[])t.add(e);return Array.from(t)}(o.get(i+1)??[]).join(" "),lines:e,line:r,index:i},r.map(((e,o)=>{const i=[`color: ${e.color||t.fg}`];return e.fontStyle&lQ.Italic&&i.push("font-style: italic"),e.fontStyle&lQ.Bold&&i.push("font-weight: bold"),e.fontStyle&lQ.Underline&&i.push("text-decoration: underline"),n("token",{style:i.join("; "),tokens:r,token:e,index:o},[(a=e.content,a.replace(/[&<>"']/g,(e=>are[e])))]);var a}))))))])}function rv(e){return"string"==typeof e?Yne.find((t=>{var n;return t.id===e||(null==(n=t.aliases)?void 0:n.includes(e))})):e}async function ov(e){function t(e){const t=e?u.getTheme(e):d;if(!t)throw Error(`No theme registration for ${e}`);p&&p.name===t.name||(u.setTheme(t),p=t);const n=u.getColorMap();return"css"===t.type&&function(e,t){e.bg=f[e.bg]||e.bg,e.fg=f[e.fg]||e.fg,Object.entries(e.colors).forEach((([t,n])=>{e.colors[t]=f[n]||n})),t.forEach(((e,n)=>{t[n]=f[e]||e}))}(t,n),{_theme:t,_colorMap:n}}function n(e,n="text",r,o={includeExplanation:!0}){if(function(e){return!e||["plaintext","txt","text"].includes(e)}(n))return[...e.split(/\r\n|\r|\n/).map((e=>[{content:e}]))];const{_grammar:i}=function(e){const t=u.getGrammar(e);if(!t)throw Error(`No language registration for ${e}`);return{_grammar:t}}(n),{_theme:a,_colorMap:s}=t(r);return function(e,t,n,r,o){let i=n.split(/\r\n|\r|\n/),a=sQ.INITIAL,s=[],l=[];for(let c=0,u=i.length;cMath.max(0,Math.min(e,255)).toString(16).padStart(2,"0"))).join("")}`}let r;return{value:function(e){switch(e.type){case"named":return t(e.name);case"rgb":return n(e.rgb);case"table":return o=e.index,function(){if(r)return r;r=[];for(let n=0;n[t,e.colors[`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`]])))),o=function(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const a=Zy(r,i),s=a.sequence?r.substring(i,a.startPosition):r.substring(i);if(s.length>0&&o.push({value:s,foreground:e,background:t,decorations:new Set(n)}),a.sequence){const r=tv(a.sequence);for(const o of r)"resetAll"===o.type?(e=null,t=null,n.clear()):"resetForegroundColor"===o.type?e=null:"resetBackgroundColor"===o.type?t=null:"resetDecoration"===o.type&&n.delete(o.value);for(const o of r)"setForegroundColor"===o.type?e=o.value:"setBackgroundColor"===o.type?t=o.value:"setDecoration"===o.type&&n.add(o.value)}i=a.position}while(io.parse(t).map((t=>{let n;n=t.decorations.has("reverse")?t.background?r.value(t.background):e.bg:t.foreground?r.value(t.foreground):e.fg,t.decorations.has("dim")&&(n=function(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t){if(t[3]){const e=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${e}`}return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map((e=>`${e}${e}`)).join("")}80`}const n=e.match(/var\((--shiki-color-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}(n));let o=lQ.None;return t.decorations.has("bold")&&(o|=lQ.Bold),t.decorations.has("italic")&&(o|=lQ.Italic),t.decorations.has("underline")&&(o|=lQ.Underline),{content:t.value,color:n,fontStyle:o}}))))}(r,e)}var o,i;const{_languages:a,_themes:s,_wasmPath:l}=function(e){var t;let n=Yne,r=e.themes||[],o=(null==(t=e.paths)?void 0:t.wasm)?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":ere;return e.langs&&(n=e.langs.map(rv)),e.theme&&r.unshift(e.theme),r.length||(r=["nord"]),{_languages:n,_themes:r,_wasmPath:o}}(e),c=new ore(async function(e){if(!tre){let t;t=iQ.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(Wy(zy(...Ly(e),"onig.wasm")))}),tre=t.then((()=>({createOnigScanner:e=>iQ.createOnigScanner(e),createOnigString:e=>iQ.createOnigString(e)})))}return tre}(l),"vscode-oniguruma"),u=new sre(c);(null==(o=e.paths)?void 0:o.themes)&&(u.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),(null==(i=e.paths)?void 0:i.languages)&&(c.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const d=(await u.loadThemes(s))[0];let p;await u.loadLanguages(a);let f=function(){const e={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};for(let t=0;tt(e)._theme,loadTheme:async function(e){await u.loadTheme(e)},loadLanguage:async function(e){const t=rv(e);c.addLanguage(t),await u.loadLanguage(t)},getBackgroundColor:function(e){const{_theme:n}=t(e);return n.bg},getForegroundColor:function(e){const{_theme:n}=t(e);return n.fg},getLoadedThemes:function(){return u.getLoadedThemes()},getLoadedLanguages:function(){return u.getLoadedLanguages()},setColorReplacements:function(e){f=e}}}var iv,av,sv,lv,cv,uv,dv,pv,fv,mv,gv,hv,bv,yv,vv,_v,wv,kv,xv,Sv,Cv,Ev,Dv,Ov,$v,jv,Pv,Nv,Tv,Iv,Av,Rv,Fv,Mv,Lv,zv,Bv,Hv,Uv,Wv,Vv,Gv,qv,Xv,Kv,Yv,Qv,Jv,Zv,e_,t_,n_,r_,o_,i_,a_,s_,l_,c_,u_,d_,p_,f_,m_,g_,h_,b_,y_,v_,__,w_,k_,x_,S_,C_,E_,D_,O_,$_,j_,P_,N_,T_,I_,A_,R_,F_,M_,L_,z_,B_,H_,U_,W_,V_,G_,q_,X_,K_,Y_,Q_,J_,Z_,ew,tw,nw,rw,ow,iw,aw,sw,lw,cw,uw,dw,pw,fw,mw,gw,hw,bw,yw,vw,_w,ww,kw,xw,Sw,Cw,Ew,Dw,Ow,$w,jw,Pw,Nw,Tw,Iw,Aw,Rw,Fw,Mw,Lw,zw,Bw,Hw,Uw,Ww,Vw,Gw,qw,Xw,Kw,Yw,Qw,Jw,Zw,ek,tk,nk,rk,ok,ik,ak,sk,lk,ck,uk,dk,pk,fk,mk,gk,hk,bk,yk,vk,_k,wk,kk,xk,Sk,Ck,Ek,Dk,Ok,$k,jk,Pk,Nk,Tk,Ik,Ak,Rk,Fk,Mk,Lk,zk,Bk,Hk,Uk,Wk,Vk,Gk,qk,Xk,Kk,Yk,Qk,Jk,Zk,ex,tx,nx,rx,ox,ix,ax,sx,lx,cx,ux,dx,px,fx,mx,gx,hx,bx,yx,vx,_x,wx,kx,xx,Sx,Cx,Ex,Dx,Ox,$x,jx,Px,Nx,Tx,Ix,Ax,Rx,Fx,Mx,Lx,zx,Bx,Hx,Ux,Wx,Vx,Gx,qx,Xx,Kx,Yx,Qx,Jx,Zx,eS,tS,nS,rS,oS,iS,aS,sS,lS,cS,uS,dS,pS,fS,mS,gS,hS,bS,yS,vS,_S,wS,kS,xS,SS,CS,ES,DS,OS,$S,jS,PS,NS,TS,IS,AS,RS,FS,MS,LS,zS,BS,HS,US,WS,VS,GS,qS,XS,KS,YS,QS,JS,ZS,eC,tC,nC,rC,oC,iC,aC,sC,lC,cC,uC,dC,pC,fC,mC,gC,hC,bC,yC,vC,_C,wC,kC,xC,SC,CC,EC,DC,OC,$C,jC,PC,NC,TC,IC,AC,RC,FC,MC,LC,zC,BC,HC,UC,WC,VC,GC,qC,XC,KC,YC,QC,JC,ZC,eE,tE,nE,rE,oE,iE,aE,sE,lE,cE,uE,dE,pE,fE,mE,gE,hE,bE,yE,vE,_E,wE,kE,xE,SE,CE,EE,DE,OE,$E,jE,PE,NE,TE,IE,AE,RE,FE,ME,LE,zE,BE,HE,UE,WE,VE,GE,qE,XE,KE,YE,QE,JE,ZE,eD,tD,nD,rD,oD,iD,aD,sD,lD,cD,uD,dD,pD,fD,mD,gD,hD,bD,yD,vD,_D,wD,kD,xD,SD,CD,ED,DD,OD,$D,jD,PD,ND,TD,ID,AD,RD,FD,MD,LD,zD,BD,HD,UD,WD,VD,GD,qD,XD,KD,YD,QD,JD,ZD,eO,tO,nO,rO,oO,iO,aO,sO,lO,cO,uO,dO,pO,fO,mO,gO,hO,bO,yO,vO,_O,wO,kO,xO,SO,CO,EO,DO,OO,$O,jO,PO,NO,TO,IO,AO,RO,FO,MO,LO,zO,BO,HO,UO,WO,VO,GO,qO,XO,KO,YO,QO,JO,ZO,e$,t$,n$,r$,o$,i$,a$,s$,l$,c$,u$,d$,p$,f$,m$,g$,h$,b$,y$,v$,_$,w$,k$,x$,S$,C$,E$,D$,O$,$$,j$,P$,N$,T$,I$,A$,R$,F$,M$,L$,z$,B$,H$,U$,W$,V$,G$,q$,X$,K$,Y$,Q$,J$,Z$,ej,tj,nj,rj,oj,ij,aj,sj,lj,cj,uj,dj,pj,fj,mj,gj,hj,bj,yj,vj,_j,wj,kj,xj,Sj,Cj,Ej,Dj,Oj,$j,jj,Pj,Nj,Tj,Ij,Aj,Rj,Fj,Mj,Lj,zj,Bj,Hj,Uj,Wj,Vj,Gj,qj,Xj,Kj,Yj,Qj,Jj,Zj,eP,tP,nP,rP,oP,iP,aP,sP,lP,cP,uP,dP,pP,fP,mP,gP,hP,bP,yP,vP,_P,wP,kP,xP,SP,CP,EP,DP,OP,$P,jP,PP,NP,TP,IP,AP,RP,FP,MP,LP,zP,BP,HP,UP,WP,VP,GP,qP,XP,KP,YP,QP,JP,ZP,eN,tN,nN,rN,oN,iN,aN,sN,lN,cN,uN,dN,pN,fN,mN,gN,hN,bN,yN,vN,_N,wN,kN,xN,SN,CN,EN,DN,ON,$N,jN,PN,NN,TN,IN,AN,RN,FN,MN,LN,zN,BN,HN,UN,WN,VN,GN,qN,XN,KN,YN,QN,JN,ZN,eT,tT,nT,rT,oT,iT,aT,sT,lT,cT,uT,dT,pT,fT,mT,gT,hT,bT,yT,vT,_T,wT,kT,xT,ST,CT,ET,DT,OT,$T,jT,PT,NT,TT,IT,AT,RT,FT,MT,LT,zT,BT,HT,UT,WT,VT,GT,qT,XT,KT,YT,QT,JT,ZT,eI,tI,nI,rI,oI,iI,aI,sI,lI,cI,uI,dI,pI,fI,mI,gI,hI,bI,yI,vI,_I,wI,kI,xI,SI,CI,EI,DI,OI,$I,jI,PI,NI,TI,II,AI,RI,FI,MI,LI,zI,BI,HI,UI,WI,VI,GI,qI,XI,KI,YI,QI,JI,ZI,eA,tA,nA,rA,oA,iA,aA,sA,lA,cA,uA,dA,pA,fA,mA,gA,hA,bA,yA,vA,_A,wA,kA,xA,SA,CA,EA,DA,OA,$A,jA,PA,NA,TA,IA,AA,RA,FA,MA,LA,zA,BA,HA,UA,WA,VA,GA,qA,XA,KA,YA,QA,JA,ZA,eR,tR,nR,rR,oR,iR,aR,sR,lR,cR,uR,dR,pR,fR,mR,gR,hR,bR,yR,vR,_R,wR,kR,xR,SR,CR,ER,DR,OR,$R,jR,PR,NR,TR,IR,AR,RR,FR,MR,LR,zR,BR,HR,UR,WR,VR,GR,qR,XR,KR,YR,QR,JR,ZR,eF,tF,nF,rF,oF,iF,aF,sF,lF,cF,uF,dF,pF,fF,mF,gF,hF,bF,yF,vF,_F,wF,kF,xF,SF,CF,EF,DF,OF,$F,jF,PF,NF,TF,IF,AF,RF,FF,MF,LF,zF,BF,HF,UF,WF,VF,GF,qF,XF,KF,YF,QF,JF,ZF,eM,tM,nM,rM,oM,iM,aM,sM,lM,cM,uM,dM,pM,fM,mM,gM,hM,bM,yM,vM,_M,wM,kM,xM,SM,CM,EM,DM,OM,$M,jM,PM,NM,TM,IM,AM,RM,FM,MM,LM,zM,BM,HM,UM,WM,VM,GM,qM,XM,KM,YM,QM,JM,ZM,eL,tL,nL,rL,oL,iL,aL,sL,lL,cL,uL,dL,pL,fL,mL,gL,hL,bL,yL,vL,_L,wL,kL,xL,SL,CL,EL,DL,OL,$L,jL,PL,NL,TL,IL,AL,RL,FL,ML,LL,zL,BL,HL,UL,WL,VL,GL,qL,XL,KL,YL,QL,JL,ZL,ez,tz,nz,rz,oz,iz,az,sz,lz,cz,uz,dz,pz,fz,mz,gz,hz,bz,yz,vz,_z,wz,kz,xz,Sz,Cz,Ez,Dz,Oz,$z,jz,Pz,Nz,Tz,Iz,Az,Rz,Fz,Mz,Lz,zz,Bz,Hz,Uz,Wz,Vz,Gz,qz,Xz,Kz,Yz,Qz,Jz,Zz,eB,tB,nB,rB,oB,iB,aB,sB,lB,cB,uB,dB,pB,fB,mB,gB,hB,bB,yB,vB,_B,wB,kB,xB,SB,CB,EB,DB,OB,$B,jB,PB,NB,TB,IB,AB,RB,FB,MB,LB,zB,BB,HB,UB,WB,VB,GB,qB,XB,KB,YB,QB,JB,ZB,eH,tH,nH,rH,oH,iH,aH,sH,lH,cH,uH,dH,pH,fH,mH,gH,hH,bH,yH,vH,_H,wH,kH,xH,SH,CH,EH,DH,OH,$H,jH,PH,NH,TH,IH,AH,RH,FH,MH,LH,zH,BH,HH,UH,WH,VH,GH,qH,XH,KH,YH,QH,JH,ZH,eU,tU,nU,rU,oU,iU,aU,sU,lU,cU,uU,dU,pU,fU,mU,gU,hU,bU,yU,vU,_U,wU,kU,xU,SU,CU,EU,DU,OU,$U,jU,PU,NU,TU,IU,AU,RU,FU,MU,LU,zU,BU,HU,UU,WU,VU,GU,qU,XU,KU,YU,QU,JU,ZU,eW,tW,nW,rW,oW,iW,aW,sW,lW,cW,uW,dW,pW,fW,mW,gW,hW,bW,yW,vW,_W,wW,kW,xW,SW,CW,EW,DW,OW,$W,jW,PW,NW,TW,IW,AW,RW,FW,MW,LW,zW,BW,HW,UW,WW,VW,GW,qW,XW,KW,YW,QW,JW,ZW,eV,tV,nV,rV,oV,iV,aV,sV,lV,cV,uV,dV,pV,fV,mV,gV,hV,bV,yV,vV,_V,wV,kV,xV,SV,CV,EV,DV,OV,$V,jV,PV,NV,TV,IV,AV,RV,FV,MV,LV,zV,BV,HV,UV,WV,VV,GV,qV,XV,KV,YV,QV,JV,ZV,eG,tG,nG,rG,oG,iG,aG,sG,lG,cG,uG,dG,pG,fG,mG,gG,hG,bG,yG,vG,_G,wG,kG,xG,SG,CG,EG,DG,OG,$G,jG,PG,NG,TG,IG,AG,RG,FG,MG,LG,zG,BG,HG,UG,WG,VG,GG,qG,XG,KG,YG,QG,JG,ZG,eq,tq,nq,rq,oq,iq,aq,sq,lq,cq,uq,dq,pq,fq,mq,gq,hq,bq,yq,vq,_q,wq,kq,xq,Sq,Cq,Eq,Dq,Oq,$q,jq,Pq,Nq,Tq,Iq,Aq,Rq,Fq,Mq,Lq,zq,Bq,Hq,Uq,Wq,Vq,Gq,qq,Xq,Kq,Yq,Qq,Jq,Zq,eX,tX,nX,rX,oX,iX,aX,sX,lX,cX,uX,dX,pX,fX,mX,gX,hX,bX,yX,vX,_X,wX,kX,xX,SX,CX,EX,DX,OX,$X,jX,PX,NX,TX,IX,AX,RX,FX,MX,LX,zX,BX,HX,UX,WX,VX,GX,qX,XX,KX,YX,QX,JX,ZX,eK,tK,nK,rK,oK,iK,aK,sK,lK,cK,uK,dK,pK,fK,mK,gK,hK,bK,yK,vK,_K,wK,kK,xK,SK,CK,EK,DK,OK,$K,jK,PK,NK,TK,IK,AK,RK,FK,MK,LK,zK,BK,HK,UK,WK,VK,GK,qK,XK,KK,YK,QK,JK,ZK,eY,tY,nY,rY,oY,iY,aY,sY,lY,cY,uY,dY,pY,fY,mY,gY,hY,bY,yY,vY,_Y,wY,kY,xY,SY,CY,EY,DY,OY,$Y,jY,PY,NY,TY,IY,AY,RY,FY,MY,LY,zY,BY,HY,UY,WY,VY,GY,qY,XY,KY,YY,QY,JY,ZY,eQ,tQ,nQ,rQ,oQ,iQ,aQ,sQ,lQ,cQ,uQ,dQ,pQ,fQ,mQ,gQ,hQ,bQ,yQ,vQ,_Q,wQ,kQ,xQ,SQ,CQ,EQ,DQ,OQ,$Q,jQ,PQ,NQ,TQ,IQ,AQ,RQ,FQ,MQ,LQ,zQ,BQ,HQ,UQ,WQ,VQ,GQ,qQ,XQ,KQ,YQ,QQ,JQ,ZQ,eJ,tJ,nJ,rJ,oJ,iJ,aJ,sJ,lJ,cJ,uJ="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},dJ={exports:{}},pJ={},fJ={exports:{}},mJ={},gJ=Symbol.for("react.element"),hJ=Symbol.for("react.portal"),bJ=Symbol.for("react.fragment"),yJ=Symbol.for("react.strict_mode"),vJ=Symbol.for("react.profiler"),_J=Symbol.for("react.provider"),wJ=Symbol.for("react.context"),kJ=Symbol.for("react.forward_ref"),xJ=Symbol.for("react.suspense"),SJ=Symbol.for("react.memo"),CJ=Symbol.for("react.lazy"),EJ=Symbol.iterator,DJ={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},OJ=Object.assign,$J={};r.prototype.isReactComponent={},r.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=r.prototype,(iv=i.prototype=new o).constructor=i,OJ(iv,r.prototype),iv.isPureReactComponent=!0,av=Array.isArray,sv=Object.prototype.hasOwnProperty,cv={key:!0,ref:!0,__self:!0,__source:!0},uv=/\/+/g,fv={ReactCurrentDispatcher:dv={current:null},ReactCurrentBatchConfig:pv={transition:null},ReactCurrentOwner:lv={current:null}},mJ.Children={map:u,forEach:function(e,t,n){u(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return u(e,(function(){t++})),t},toArray:function(e){return u(e,(function(e){return e}))||[]},only:function(e){if(!s(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},mJ.Component=r,mJ.Fragment=bJ,mJ.Profiler=vJ,mJ.PureComponent=i,mJ.StrictMode=yJ,mJ.Suspense=xJ,mJ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fv,mJ.cloneElement=function(e,t,n){var r,o,i,a,s,l,c;if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");if(r=OJ({},e.props),o=e.key,i=e.ref,a=e._owner,null!=t)for(l in void 0!==t.ref&&(i=t.ref,a=lv.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)sv.call(t,l)&&!cv.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==s?s[l]:t[l]);if(1==(l=arguments.length-2))r.children=n;else if(1>>1],t);)e[n]=t,e[i]=r,i=n}function n(e){return 0===e.length?null:e[0]}function r(e){var t,n,r,i,a,s,l,c,u;if(0===e.length)return null;if(t=e[0],(n=e.pop())!==t){e[0]=n;e:for(r=0,i=e.length,a=i>>>1;ro(l=e[s],n))co(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(co(u,n)))break e;e[r]=u,e[c]=n,r=c}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}function i(e){for(var o=n(h);null!==o;){if(null===o.callback)r(h);else{if(!(o.startTime<=e))break;r(h),o.sortIndex=o.expirationTime,t(g,o)}o=n(h)}}function a(e){if(k=!1,i(e),!w)if(null!==n(g))w=!0,u(s);else{var t=n(h);null!==t&&d(a,t.startTime-e)}}function s(t,o){var s,c,u,p,f;w=!1,k&&(k=!1,S(O),O=-1),_=!0,s=v;try{for(i(o),y=n(g);null!==y&&(!(y.expirationTime>o)||t&&!l());)"function"==typeof(c=y.callback)?(y.callback=null,v=y.priorityLevel,u=c(y.expirationTime<=o),o=e.unstable_now(),"function"==typeof u?y.callback=u:y===n(g)&&r(g),i(o)):r(g),y=n(g);return null!==y?p=!0:(null!==(f=n(h))&&d(a,f.startTime-o),p=!1),p}finally{y=null,v=s,_=!1}}function l(){return!(e.unstable_now()-j<$)}function c(){var t,n;if(null!==D){t=e.unstable_now(),j=t,n=!0;try{n=D(!0,t)}finally{n?P():(E=!1,D=null)}}else E=!1}function u(e){D=e,E||(E=!0,P())}function d(t,n){O=x((function(){t(e.unstable_now())}),n)}var p,f,m,g,h,b,y,v,_,w,k,x,S,C,E,D,O,$,j,P,N,T;"object"==typeof performance&&"function"==typeof performance.now?(p=performance,e.unstable_now=function(){return p.now()}):(f=Date,m=f.now(),e.unstable_now=function(){return f.now()-m}),g=[],h=[],b=1,y=null,v=3,_=!1,w=!1,k=!1,x="function"==typeof setTimeout?setTimeout:null,S="function"==typeof clearTimeout?clearTimeout:null,C="undefined"!=typeof setImmediate?setImmediate:null,"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling),E=!1,D=null,O=-1,$=5,j=-1,"function"==typeof C?P=function(){C(c)}:"undefined"!=typeof MessageChannel?(N=new MessageChannel,T=N.port2,N.port1.onmessage=c,P=function(){T.postMessage(null)}):P=function(){x(c,0)},e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){w||_||(w=!0,u(s))},e.unstable_forceFrameRate=function(e){0>e||125c?(r.sortIndex=i,t(h,r),null===n(g)&&r===n(h)&&(k?(S(O),O=-1):k=!0,d(a,i-c))):(r.sortIndex=l,t(g,r),w||_||(w=!0,u(s))),r},e.unstable_shouldYield=l,e.unstable_wrapCallback=function(e){var t=v;return function(){var n=v;v=t;try{return e.apply(this,arguments)}finally{v=n}}}}(Cv={}),Sv.exports=Cv,Ev=mv,Dv=Sv.exports,Ov=new Set,$v={},jv=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Pv=Object.prototype.hasOwnProperty,Nv=/^[: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]*$/,Tv={},Iv={},Av={},"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Av[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Av[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Av[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Av[e]=new h(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){Av[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Av[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Av[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Av[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Av[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)})),Rv=/[\-:]([a-z])/g,"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(Rv,b);Av[t]=new h(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(Rv,b);Av[t]=new h(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(Rv,b);Av[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Av[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),Av.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Av[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)})),Fv=Ev.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Mv=Symbol.for("react.element"),Lv=Symbol.for("react.portal"),zv=Symbol.for("react.fragment"),Bv=Symbol.for("react.strict_mode"),Hv=Symbol.for("react.profiler"),Uv=Symbol.for("react.provider"),Wv=Symbol.for("react.context"),Vv=Symbol.for("react.forward_ref"),Gv=Symbol.for("react.suspense"),qv=Symbol.for("react.suspense_list"),Xv=Symbol.for("react.memo"),Kv=Symbol.for("react.lazy"),Yv=Symbol.for("react.offscreen"),Qv=Symbol.iterator,Jv=Object.assign,e_=!1,t_=Array.isArray,bQ=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((n_=n_||document.createElement("div")).innerHTML=""+t.valueOf().toString()+"",t=n_.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},r_="undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t){MSApp.execUnsafeLocalFunction((function(){return bQ(e,t)}))}:bQ,o_={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},i_=["Webkit","ms","Moz","O"],Object.keys(o_).forEach((function(e){i_.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),o_[t]=o_[e]}))})),a_=Jv({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}),s_=null,l_=null,c_=null,u_=null,d_=!1,p_=!1,jv)try{f_={},Object.defineProperty(f_,"passive",{get:function(){p_=!0}}),window.addEventListener("test",f_,f_),window.removeEventListener("test",f_,f_)}catch(bQ){p_=!1}m_=!1,g_=null,h_=!1,b_=null,y_={onError:function(e){m_=!0,g_=e}},v_=Dv.unstable_scheduleCallback,__=Dv.unstable_cancelCallback,w_=Dv.unstable_shouldYield,k_=Dv.unstable_requestPaint,x_=Dv.unstable_now,S_=Dv.unstable_getCurrentPriorityLevel,C_=Dv.unstable_ImmediatePriority,E_=Dv.unstable_UserBlockingPriority,D_=Dv.unstable_NormalPriority,O_=Dv.unstable_LowPriority,$_=Dv.unstable_IdlePriority,j_=null,P_=null,N_=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(T_(e)/I_|0)|0},T_=Math.log,I_=Math.LN2,A_=64,R_=4194304,F_=0,U_=!1,W_=[],V_=null,G_=null,q_=null,X_=new Map,K_=new Map,Y_=[],Q_="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "),J_=Fv.ReactCurrentBatchConfig,Z_=!0,ew=null,tw=null,nw=null,rw=null,ow={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},iw=Ae(ow),aw=Jv({},ow,{view:0,detail:0}),sw=Ae(aw),dw=Jv({},aw,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fe,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==uw&&(uw&&"mousemove"===e.type?(lw=e.screenX-uw.screenX,cw=e.screenY-uw.screenY):cw=lw=0,uw=e),lw)},movementY:function(e){return"movementY"in e?e.movementY:cw}}),pw=Ae(dw),fw=Jv({},dw,{dataTransfer:0}),mw=Ae(fw),gw=Jv({},aw,{relatedTarget:0}),hw=Ae(gw),bw=Jv({},ow,{animationName:0,elapsedTime:0,pseudoElement:0}),yw=Ae(bw),vw=Jv({},ow,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_w=Ae(vw),ww=Jv({},ow,{data:0}),kw=Ae(ww),xw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sw={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Ew=Jv({},aw,{key:function(e){if(e.key){var t=xw[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Ne(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fe,charCode:function(e){return"keypress"===e.type?Ne(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ne(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Dw=Ae(Ew),Ow=Jv({},dw,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$w=Ae(Ow),jw=Jv({},aw,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fe}),Pw=Ae(jw),Nw=Jv({},ow,{propertyName:0,elapsedTime:0,pseudoElement:0}),Tw=Ae(Nw),Iw=Jv({},dw,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Aw=Ae(Iw),Rw=[9,13,27,32],Fw=jv&&"CompositionEvent"in window,Mw=null,jv&&"documentMode"in document&&(Mw=document.documentMode),Lw=jv&&"TextEvent"in window&&!Mw,zw=jv&&(!Fw||Mw&&8=Mw),Bw=String.fromCharCode(32),Hw=!1,Uw=!1,Ww={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Vw=null,Gw=null,qw=!1,jv&&(jv?((Kw="oninput"in document)||((Yw=document.createElement("div")).setAttribute("oninput","return;"),Kw="function"==typeof Yw.oninput),Xw=Kw):Xw=!1,qw=Xw&&(!document.documentMode||9=document.documentMode,Zw=null,ek=null,tk=null,nk=!1,rk={animationend:it("Animation","AnimationEnd"),animationiteration:it("Animation","AnimationIteration"),animationstart:it("Animation","AnimationStart"),transitionend:it("Transition","TransitionEnd")},ok={},ik={},jv&&(ik=document.createElement("div").style,"AnimationEvent"in window||(delete rk.animationend.animation,delete rk.animationiteration.animation,delete rk.animationstart.animation),"TransitionEvent"in window||delete rk.transitionend.transition),ak=at("animationend"),sk=at("animationiteration"),lk=at("animationstart"),ck=at("transitionend"),uk=new Map,dk="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");for(pk=0;pk=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},lC=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},cC=function(e,t){return!1===(!(arguments.length>1&&void 0!==t)||t)?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},uC=function(e){var t,n=gC(e,GS.TITLE),r=gC(e,"titleTemplate");return r&&n?r.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n})):(t=gC(e,"defaultTitle"),n||t||void 0)},dC=function(e){return gC(e,"onChangeClientState")||function(){}},pC=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return iC({},e,t)}),{})},fC=function(e,t){return t.filter((function(e){return void 0!==e[GS.BASE]})).map((function(e){return e[GS.BASE]})).reverse().reduce((function(t,n){var r,o,i;if(!t.length)for(r=Object.keys(n),o=0;o=0;n--)if((r=e[n]).hasOwnProperty(t))return r[t];return null},hC=function(e){return{baseTag:fC([XS,"target"],e),bodyAttributes:pC(WS,e),defer:gC(e,"defer"),encode:gC(e,"encodeSpecialCharacters"),htmlAttributes:pC(VS,e),linkTags:mC(GS.LINK,[QS,XS],e),metaTags:mC(GS.META,["name","charset","http-equiv","property",YS],e),noscriptTags:mC(GS.NOSCRIPT,[KS],e),onChangeClientState:dC(e),scriptTags:mC(GS.SCRIPT,["src",KS],e),styleTags:mC(GS.STYLE,[qS],e),title:uC(e),titleAttributes:pC("titleAttributes",e)}},vQ=Date.now(),bC=function(e){var t=Date.now();t-vQ>16?(vQ=t,e(t)):setTimeout((function(){bC(e)}),0)},yC=function(e){return clearTimeout(e)},vC="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||bC:global.requestAnimationFrame||bC,_C="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||yC:global.cancelAnimationFrame||yC,wC=function(){return console&&"function"==typeof console.warn&&void 0},kC=null,xC=function(e){kC&&_C(kC),e.defer?kC=vC((function(){SC(e,(function(){kC=null}))})):(SC(e),kC=null)},SC=function(e,t){var n,r,o,i=e.baseTag,a=e.htmlAttributes,s=e.linkTags,l=e.metaTags,c=e.noscriptTags,u=e.onChangeClientState,d=e.scriptTags,p=e.styleTags,f=e.title,m=e.titleAttributes;DC(GS.BODY,e.bodyAttributes),DC(GS.HTML,a),EC(f,m),n={baseTag:OC(GS.BASE,i),linkTags:OC(GS.LINK,s),metaTags:OC(GS.META,l),noscriptTags:OC(GS.NOSCRIPT,c),scriptTags:OC(GS.SCRIPT,d),styleTags:OC(GS.STYLE,p)},r={},o={},Object.keys(n).forEach((function(e){var t=n[e],i=t.newTags,a=t.oldTags;i.length&&(r[e]=i),a.length&&(o[e]=n[e].oldTags)})),t&&t(),u(e,r,o)},CC=function(e){return Array.isArray(e)?e.join(""):e},EC=function(e,t){void 0!==e&&document.title!==e&&(document.title=CC(e)),DC(GS.TITLE,t)},DC=function(e,t){var n,r,o,i,a,s,l,c,u,d=document.getElementsByTagName(e)[0];if(d){for(r=(n=d.getAttribute(tC))?n.split(","):[],o=[].concat(r),i=Object.keys(t),a=0;a=0;u--)d.removeAttribute(o[u]);r.length===o.length?d.removeAttribute(tC):d.getAttribute(tC)!==i.join(",")&&d.setAttribute(tC,i.join(","))}},OC=function(e,t){var n=document.head||document.querySelector(GS.HEAD),r=n.querySelectorAll(e+"["+tC+"]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n,r=document.createElement(e);for(n in t)t.hasOwnProperty(n)&&(n===KS?r.innerHTML=t.innerHTML:n===qS?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(n,void 0===t[n]?"":t[n]));r.setAttribute(tC,"true"),o.some((function(e,t){return a=t,r.isEqualNode(e)}))?o.splice(a,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},$C=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},jC=function(e,t,n,r){var o=$C(n),i=CC(t);return o?"<"+e+" "+tC+'="true" '+o+">"+cC(i,r)+"":"<"+e+" "+tC+'="true">'+cC(i,r)+""},PC=function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===KS||e===qS)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+cC(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===eC.indexOf(e);return t+"<"+e+" "+tC+'="true" '+o+(a?"/>":">"+i+"")}),"")},NC=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[JS[n]||n]=e[n],t}),n)},TC=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[ZS[n]||n]=e[n],t}),n)},IC=function(e,t,n){var r,o=((r={key:t})[tC]=!0,r),i=NC(n,o);return[jJ.createElement(GS.TITLE,i,t)]},AC=function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[tC]=!0,r);return Object.keys(t).forEach((function(e){var n=JS[e]||e;n===KS||n===qS?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),jJ.createElement(e,o)}))},RC=function(e,t,n){switch(e){case GS.TITLE:return{toComponent:function(){return IC(0,t.title,t.titleAttributes)},toString:function(){return jC(e,t.title,t.titleAttributes,n)}};case WS:case VS:return{toComponent:function(){return NC(t)},toString:function(){return $C(t)}};default:return{toComponent:function(){return AC(e,t)},toString:function(){return PC(e,t,n)}}}},MC=function(e){var t,n;return n=t=function(t){function n(){return rC(this,n),lC(this,t.apply(this,arguments))}return aC(n,t),n.prototype.shouldComponentUpdate=function(e){return!RJ(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case GS.SCRIPT:case GS.NOSCRIPT:return{innerHTML:t};case GS.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return iC({},r,((t={})[n.type]=[].concat(r[n.type]||[],[iC({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case GS.TITLE:return iC({},o,((t={})[r.type]=a,t.titleAttributes=iC({},i),t));case GS.BODY:return iC({},o,{bodyAttributes:iC({},i)});case GS.HTML:return iC({},o,{htmlAttributes:iC({},i)})}return iC({},o,((n={})[r.type]=iC({},i),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=iC({},t);return Object.keys(e).forEach((function(t){var r;n=iC({},n,((r={})[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return jJ.Children.forEach(e,(function(e){var o,i,a,s;if(e&&e.props)switch(i=(o=e.props).children,a=sC(o,["children"]),s=TC(a),n.warnOnInvalidChildren(e,i),e.type){case GS.LINK:case GS.META:case GS.NOSCRIPT:case GS.SCRIPT:case GS.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:i})}})),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=sC(t,["children"]),o=iC({},r);return n&&(o=this.mapChildrenToProps(n,o)),jJ.createElement(e,o)},oC(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(jJ.Component),t.propTypes={base:IJ.object,bodyAttributes:IJ.object,children:IJ.oneOfType([IJ.arrayOf(IJ.node),IJ.node]),defaultTitle:IJ.string,defer:IJ.bool,encodeSpecialCharacters:IJ.bool,htmlAttributes:IJ.object,link:IJ.arrayOf(IJ.object),meta:IJ.arrayOf(IJ.object),noscript:IJ.arrayOf(IJ.object),onChangeClientState:IJ.func,script:IJ.arrayOf(IJ.object),style:IJ.arrayOf(IJ.object),title:IJ.string,titleAttributes:IJ.object,titleTemplate:IJ.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=FC({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n},LC=function(){return null},zC=AJ(hC,xC,FC=function(e){var t=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,o=e.linkTags,i=e.metaTags,a=e.noscriptTags,s=e.scriptTags,l=e.styleTags,c=e.title,u=void 0===c?"":c,d=e.titleAttributes;return{base:RC(GS.BASE,e.baseTag,n),bodyAttributes:RC(WS,t,n),htmlAttributes:RC(VS,r,n),link:RC(GS.LINK,o,n),meta:RC(GS.META,i,n),noscript:RC(GS.NOSCRIPT,a,n),script:RC(GS.SCRIPT,s,n),style:RC(GS.STYLE,l,n),title:RC(GS.TITLE,{title:u,titleAttributes:d},n)}})(LC),(BC=MC(zC)).renderStatic=BC.rewind,HC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const MJ=(e,t)=>{const n=mv.forwardRef((({color:n="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:i,children:a,...s},l)=>{return mv.createElement("svg",{ref:l,...HC,width:r,height:r,stroke:n,strokeWidth:i?24*Number(o)/Number(r):o,className:`lucide lucide-${c=e,c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,...s},[...t.map((([e,t])=>mv.createElement(e,t))),...(Array.isArray(a)?a:[a])||[]]);var c}));return n.displayName=`${e}`,n},LJ=MJ("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]]),zJ=MJ("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]),BJ=MJ("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),HJ=MJ("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),UJ=MJ("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),WJ=MJ("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),VJ=MJ("FileClock",[["path",{d:"M16 22h2c.5 0 1-.2 1.4-.6.4-.4.6-.9.6-1.4V7.5L14.5 2H6c-.5 0-1 .2-1.4.6C4.2 3 4 3.5 4 4v3",key:"9lo3o3"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["circle",{cx:"8",cy:"16",r:"6",key:"10v15b"}],["path",{d:"M9.5 17.5 8 16.25V14",key:"1o80t2"}]]),GJ=MJ("GitFork",[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v1a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V9",key:"c89w8i"}],["path",{d:"M12 12v3",key:"158kv8"}]]),qJ=MJ("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),XJ=MJ("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]),KJ=MJ("Layout",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"9",x2:"9",y1:"21",y2:"9",key:"wpwpyp"}]]),YJ=MJ("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),QJ=MJ("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),JJ=MJ("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),ZJ=MJ("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",key:"1xcu5"}],["circle",{cx:"17.5",cy:"10.5",r:".5",key:"736e4u"}],["circle",{cx:"8.5",cy:"7.5",r:".5",key:"clrty"}],["circle",{cx:"6.5",cy:"12.5",r:".5",key:"1s4xz9"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]),eZ=MJ("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]),tZ=MJ("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"9",x2:"9",y1:"3",y2:"21",key:"13tij5"}]]),nZ=MJ("PanelRightClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"15",x2:"15",y1:"3",y2:"21",key:"1hpv9i"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]]),rZ=MJ("PinOff",[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["line",{x1:"12",x2:"12",y1:"17",y2:"22",key:"1jrz49"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V17h12",key:"13x2n8"}],["path",{d:"M15 9.34V6h1a2 2 0 0 0 0-4H7.89",key:"reo3ki"}]]),oZ=MJ("Pin",[["line",{x1:"12",x2:"12",y1:"17",y2:"22",key:"1jrz49"}],["path",{d:"M5 17h14v-1.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1v4.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24Z",key:"13yl11"}]]),iZ=MJ("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),aZ=MJ("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),sZ=MJ("TextCursorInput",[["path",{d:"M5 4h1a3 3 0 0 1 3 3 3 3 0 0 1 3-3h1",key:"18xjzo"}],["path",{d:"M13 20h-1a3 3 0 0 1-3-3 3 3 0 0 1-3 3H5",key:"fj48gi"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M9 7v10",key:"1vc8ob"}]]),lZ=MJ("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),cZ=MJ("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),uZ=MJ("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);UC=function(){function e(e){var t=this;this._insertTag=function(e){t.container.insertBefore(e,0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){var t,n;if(this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this)),t=this.tags[this.tags.length-1],this.isSpeedy){n=function(e){if(e.sheet)return e.sheet;for(var t=0;t-1&&!e.return)switch(e.type){case KC:e.return=la(e.value,e.length);break;case QC:return ia([zi(e,{value:Ni(e.value,"@","@"+GC)})],r);case XC:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return ia([zi(e,{props:[Ni(t,/:(read-\w+)/,":"+VC+"$1")]})],r);case"::placeholder":return ia([zi(e,{props:[Ni(t,/:(plac\w+)/,":"+GC+"input-$1")]}),zi(e,{props:[Ni(t,/:(plac\w+)/,":"+VC+"$1")]}),zi(e,{props:[Ni(t,/:(plac\w+)/,WC+"input-$1")]})],r)}return""}))}}],hE=function(e){var t,n,r,o,i,a,s,l,c,u,d,p,f,m,g=e.key;return"css"===g&&(t=document.querySelectorAll("style[data-emotion]:not([data-s])"),Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))),n=e.stylisPlugins||gE,r={},i=[],o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+g+' "]'),(function(e){var t,n=e.getAttribute("data-emotion").split(" ");for(t=1;t=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s,{name:c,styles:o,next:CE}},DE=function(e,t,n){var r=e.key+"-"+t.name;!1!==n||void 0!==e.registered[r]||(e.registered[r]=t.styles)},OE=function(e,t,n){var r,o;if(DE(e,t,n),r=e.key+"-"+t.name,void 0===e.inserted[t.name]){o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},$E=function(e){var t,n,r,o,i=hE(e);return i.sheet.speedy=function(e){this.isSpeedy=e},i.compat=!0,t=function(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n1&&void 0!==n?n:{},m=arguments.length>2&&void 0!==r?r:{root:!0,parentSelectors:[]},g=m.root,h=m.injectHash,b=m.parentSelectors,y=f.hashId,v=f.layer;return i=f.hashPriority,s=void 0===(a=f.transformers)?[]:a,l="",c={},u=function e(t,n){var r=arguments.length>1&&void 0!==n?n:[];return t.forEach((function(t){Array.isArray(t)?e(t,r):t&&r.push(t)})),r}(Array.isArray(t)?t:[t]),u.forEach((function(t){var n,r="string"!=typeof t||g?t:{};"string"==typeof r?l+="".concat(r,"\n"):r._keyframe?o(r):(n=s.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r),Object.keys(n).forEach((function(t){var r,a,s,u,d,p,m,v,_=n[t];if("object"!==xi(_)||!_||"animationName"===t&&_._keyframe||function(e){return"object"===xi(e)&&e&&("_skip_check_"in e||jO in e)}(_)){let e=function(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;aO[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(o(t),r=t.getName(y)),l+="".concat(n,":").concat(r,";")};v=null!==(m=null==_?void 0:_.value)&&void 0!==m?m:_,"object"===xi(_)&&null!=_&&_[jO]&&Array.isArray(v)?v.forEach((function(n){e(t,n)})):e(t,v)}else r=!1,a=t.trim(),s=!1,(g||h)&&y?a.startsWith("@")?r=!0:a=function(e,t,n){var r,o;return t?(r=".".concat(t),o="low"===n?":where(".concat(r,")"):r,e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat(ka(n.slice(1))).join(" ")})).join(",")):e}(t,y,i):!g||y||"&"!==a&&""!==a||(a="",s=!0),d=(u=Va(e(_,f,{root:s,injectHash:r,parentSelectors:[].concat(ka(b),[a])}),2))[0],p=u[1],c=Sa(Sa({},c),p),l+="".concat(a).concat(d)})))})),g?v&&function(){var e,t,n,r,o,i;return void 0===KD&&(e="@layer ".concat(qD," { .").concat(qD,' { content: "').concat(XD,'"!important; } }'),t=function(e){e.className=qD},KD=!!Ta()&&(Ba(e,qD),(o=document.createElement("div")).style.position="fixed",o.style.left="0",o.style.top="0",null==t||t(o),document.body.appendChild(o),i=null===(n=getComputedStyle(o).content)||void 0===n?void 0:n.includes(XD),null===(r=o.parentNode)||void 0===r||r.removeChild(o),za(qD),i)),KD}()&&(p=(d=v.split(","))[d.length-1].trim(),l="@layer ".concat(p," {").concat(l,"}"),d.length>1&&(l="@layer ".concat(v,"{%%%:%}").concat(l))):l="{".concat(l,"}"),[l,c]},NO=function(){function e(t,n){Oi(this,e),Ci(this,"name",void 0),Ci(this,"style",void 0),Ci(this,"_keyframe",!0),this.name=t,this.style=n}return ji(e,[{key:"getName",value:function(e){var t=arguments.length>0&&void 0!==e?e:"";return t?"".concat(t,"-").concat(this.name):this.name}}]),e}(),TO=function(){function e(){Oi(this,e),Ci(this,"cache",void 0),Ci(this,"keys",void 0),Ci(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return ji(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e,t){var n,r,o=arguments.length>1&&void 0!==t&&t,i={map:this.cache};return e.forEach((function(e){var t,n;i=i?null===(t=i)||void 0===t||null===(n=t.map)||void 0===n?void 0:n.get(e):void 0})),null!==(n=i)&&void 0!==n&&n.value&&o&&(i.value[1]=this.cacheCallTimes++),null===(r=i)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r,o,i,a=this;this.has(t)||(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET&&(r=this.keys.reduce((function(e,t){var n=Va(e,2)[1];return a.internalGet(t)[1]0},e.prototype.connect_=function(){WO&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),XO?(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(){WO&&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(e){var t=e.propertyName,n=void 0===t?"":t;qO.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),YO=function(e,t){var n,r,o;for(n=0,r=Object.keys(t);n0},e}(),r$="undefined"!=typeof WeakMap?new WeakMap:new UO,o$=function e(t){var n,r;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.");n=KO.getInstance(),r=new n$(t,n,this),r$.set(this,r)},["observe","unobserve","disconnect"].forEach((function(e){o$.prototype[e]=function(){var t;return(t=r$.get(this))[e].apply(t,arguments)}})),i$=void 0!==VO.ResizeObserver?VO.ResizeObserver:o$,a$=new Map,s$=new i$((function(e){e.forEach((function(e){var t,n=e.target;null===(t=a$.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))})),l$=function(){function e(){return Oi(this,e),t.apply(this,arguments)}Is(e,mv.Component);var t=Ms(e);return ji(e,[{key:"render",value:function(){return this.props.children}}]),e}(),c$=mv.createContext(null),u$=mv.forwardRef(Ks),d$="rc-observer-key",(p$=mv.forwardRef(Ys)).Collection=function(e){var t=e.children,n=e.onBatchResize,r=mv.useRef(0),o=mv.useRef([]),i=mv.useContext(c$),a=mv.useCallback((function(e,t,a){r.current+=1;var s=r.current;o.current.push({size:e,element:t,data:a}),Promise.resolve().then((function(){s===r.current&&(null==n||n(o.current),o.current=[])})),null==i||i(e,t,a)}),[n,i]);return mv.createElement(c$.Provider,{value:a},t)},f$=function(e){return+setTimeout(e,16)},m$=function(e){return clearTimeout(e)},"undefined"!=typeof window&&"requestAnimationFrame"in window&&(f$=function(e){return window.requestAnimationFrame(e)},m$=function(e){return window.cancelAnimationFrame(e)}),g$=0,h$=new Map,(b$=function(e,t){var n;return n=g$+=1,function t(r){if(0===r)Js(n),e();else{var o=f$((function(){t(r-1)}));h$.set(n,o)}}(arguments.length>1&&void 0!==t?t:1),n}).cancel=function(e){var t=h$.get(e);return Js(t),m$(t)};const gZ=mv.createContext({});y$="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;const hZ=mv.createContext(void 0),bZ={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},yZ={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"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Object.assign({},bZ)},vZ="${label} is not a valid ${type}",_Z={locale:"en",Pagination:{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"},DatePicker:yZ,TimePicker:bZ,Calendar:yZ,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},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:vZ,method:vZ,array:vZ,object:vZ,number:vZ,date:vZ,boolean:vZ,integer:vZ,float:vZ,regexp:vZ,email:vZ,url:vZ,hex:vZ},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"},ColorPicker:{presetEmpty:"Empty"}};let wZ=Object.assign({},_Z.Modal);const kZ=mv.createContext(void 0),xZ=(e,t)=>{const n=mv.useContext(kZ);return[mv.useMemo((()=>{var r;const o=t||_Z[e],i=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),i||{})}),[e,t,n]),mv.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?_Z.locale:e}),[n])]},SZ=e=>{const{locale:t={},children:n}=e;mv.useEffect((()=>(il(t&&t.Modal),()=>{il()})),[t]);const r=mv.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return mv.createElement(kZ.Provider,{value:r},n)},CZ=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],EZ="5.7.3";v$={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"},_$="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),w$="[\\s|\\(]+(".concat(_$,")[,|\\s]+(").concat(_$,")[,|\\s]+(").concat(_$,")\\s*\\)?"),k$="[\\s|\\(]+(".concat(_$,")[,|\\s]+(").concat(_$,")[,|\\s]+(").concat(_$,")[,|\\s]+(").concat(_$,")\\s*\\)?"),x$={CSS_UNIT:new RegExp(_$),rgb:new RegExp("rgb"+w$),rgba:new RegExp("rgba"+k$),hsl:new RegExp("hsl"+w$),hsla:new RegExp("hsla"+k$),hsv:new RegExp("hsv"+w$),hsva:new RegExp("hsva"+k$),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})$/},S$=function(){function e(t,n){var r,o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t,o=yl(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=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=cl(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=ml(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=ml(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=pl(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=pl(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),gl(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,r,o){var i,a=[dl(Math.round(e).toString(16)),dl(Math.round(t).toString(16)),dl(Math.round(n).toString(16)),dl((i=r,Math.round(255*parseFloat(i)).toString(16)))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},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 e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*sl(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*sl(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){var e,t,n,r;if(0===this.a)return"transparent";if(this.a<1)return!1;for(e="#"+gl(this.r,this.g,this.b,!1),t=0,n=Object.entries(v$);t=0)||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(t=this.toRgbString()),"prgb"===e&&(t=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(t=this.toHexString()),"hex3"===e&&(t=this.toHexString(!0)),"hex4"===e&&(t=this.toHex8String(!0)),"hex8"===e&&(t=this.toHex8String()),"name"===e&&(t=this.toName()),"hsl"===e&&(t=this.toHslString()),"hsv"===e&&(t=this.toHsvString()),t||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},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){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=ll(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=ll(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=ll(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=ll(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){var r,o,i;return void 0===n&&(n=50),r=this.toRgb(),o=new e(t).toRgb(),new e({r:(o.r-r.r)*(i=n/100)+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){var r,o,i;for(void 0===t&&(t=6),void 0===n&&(n=30),i=[this],(r=this.toHsl()).h=(r.h-((o=360/n)*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){var n,r,o,i,a,s;for(void 0===t&&(t=6),r=(n=this.toHsv()).h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){var n,r=this.toHsl(),o=r.h,i=[this],a=360/t;for(n=1;n{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}},OZ={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"},$Z=Object.assign(Object.assign({},OZ),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'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}),jZ=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},PZ=(e,t)=>new S$(e).setAlpha(t).toRgbString(),NZ=(e,t)=>new S$(e).darken(t).toHexString(),TZ=e=>{const t=Cl(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]}},IZ=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:PZ(r,.88),colorTextSecondary:PZ(r,.65),colorTextTertiary:PZ(r,.45),colorTextQuaternary:PZ(r,.25),colorFill:PZ(r,.15),colorFillSecondary:PZ(r,.06),colorFillTertiary:PZ(r,.04),colorFillQuaternary:PZ(r,.02),colorBgLayout:NZ(n,4),colorBgContainer:NZ(n,0),colorBgElevated:NZ(n,0),colorBgSpotlight:PZ(r,.85),colorBorder:NZ(n,15),colorBorderSecondary:NZ(n,6)}},AZ=e=>{const t=function(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=e*Math.pow(2.71828,(n-1)/5),o=n>1?Math.floor(r):Math.ceil(r);return 2*Math.floor(o/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:(e+8)/e})))}(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight));return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},RZ=$s(Dl),FZ={token:$Z,hashed:!0},MZ=jJ.createContext(FZ);F$=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);rt||(e?`ant-${e}`:"ant"),iconPrefixCls:LZ}),BZ=(e,t,n,r,o)=>{const i=e/2,a=i,s=1*n/Math.sqrt(2),l=i-n*(1-1/Math.sqrt(2)),c=i-t*(1/Math.sqrt(2)),u=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),d=2*i-c,p=u,f=2*i-s,m=l,g=2*i-0,h=a,b=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),y=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${y}px 100%, 50% ${y}px, ${2*i-y}px 100%, ${y}px 100%)`,`path('M 0 ${a} A ${n} ${n} 0 0 0 ${s} ${l} L ${c} ${u} A ${t} ${t} 0 0 1 ${d} ${p} L ${f} ${m} A ${n} ${n} 0 0 0 ${g} ${h} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:b,height:b,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}},HZ={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},UZ=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),WZ=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),VZ=(e,t)=>{const{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},GZ=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),qZ=e=>({"&:focus-visible":Object.assign({},GZ(e))}),XZ="undefined"!=typeof CSSINJS_STATISTIC;let KZ=!0;const YZ=`-ant-${Date.now()}-${Math.random()}`,QZ=mv.createContext(!1),JZ=e=>{let{children:t,disabled:n}=e;const r=mv.useContext(QZ);return mv.createElement(QZ.Provider,{value:null!=n?n:r},t)},ZZ=QZ,e0=mv.createContext(void 0),t0=e=>{let{children:t,size:n}=e;const r=mv.useContext(e0);return mv.createElement(e0.Provider,{value:n||r},t)},n0=e0;M$=["children"],L$=mv.createContext({}),z$=function(){function e(){return Oi(this,e),t.apply(this,arguments)}Is(e,mv.Component);var t=Ms(e);return ji(e,[{key:"render",value:function(){return this.props.children}}]),e}(),B$="none",H$="appear",U$="enter",W$="leave",V$="none",G$="prepare",q$="start",X$="active",K$="end",Y$="prepared",wQ=Ta(),kQ="undefined"!=typeof window?window:{},xQ={animationend:Bl("Animation","AnimationEnd"),transitionend:Bl("Transition","TransitionEnd")},wQ&&("AnimationEvent"in kQ||delete xQ.animationend.animation,"TransitionEvent"in kQ||delete xQ.transitionend.transition),Q$=xQ,J$={},Ta()&&(Z$=document.createElement("div"),J$=Z$.style),ej={},tj=Hl("animationend"),nj=Hl("transitionend"),rj=!(!tj||!nj),oj=tj||"animationend",ij=nj||"transitionend",aj=Ta()?mv.useLayoutEffect:mv.useEffect,sj=[G$,q$,X$,K$],lj=[G$,Y$];const r0=(EQ=SQ=rj,"object"===xi(SQ)&&(EQ=SQ.transitionSupport),(CQ=mv.forwardRef((function(e,t){var n,r,o,i,a,s,l=e.visible,c=void 0===l||l,u=e.removeOnLeave,d=void 0===u||u,p=e.forceRender,f=e.children,m=e.motionName,g=e.leavedClassName,h=e.eventProps,b=function(e,t){return!(!e.motionName||!EQ||!1===t)}(e,mv.useContext(L$).motion),y=mv.useRef(),v=mv.useRef(),_=function(e,t,n,r){function o(){return n()}function i(){A(B$,!0),M(null,!0)}function a(e){var t,n,r=o();e&&!e.deadline&&e.target!==r||(t=B.current,I===H$&&t?n=null==E?void 0:E(r,e):I===U$&&t?n=null==D?void 0:D(r,e):I===W$&&t&&(n=null==O?void 0:O(r,e)),I!==B$&&t&&!1!==n&&i())}var s,l,c=r.motionEnter,u=void 0===c||c,d=r.motionAppear,p=void 0===d||d,f=r.motionLeave,m=void 0===f||f,g=r.motionDeadline,h=r.motionLeaveImmediately,b=r.onAppearPrepare,y=r.onEnterPrepare,v=r.onLeavePrepare,_=r.onAppearStart,w=r.onEnterStart,k=r.onLeaveStart,x=r.onAppearActive,S=r.onEnterActive,C=r.onLeaveActive,E=r.onAppearEnd,D=r.onEnterEnd,O=r.onLeaveEnd,$=r.onVisibleChanged,j=Va(Tl(),2),P=j[0],N=j[1],T=Va(Tl(B$),2),I=T[0],A=T[1],R=Va(Tl(null),2),F=R[0],M=R[1],L=mv.useRef(!1),z=mv.useRef(null),B=mv.useRef(!1),H=Va(function(e){function t(e){e&&(e.removeEventListener(ij,n),e.removeEventListener(oj,n))}var n,r=mv.useRef(),o=mv.useRef(e);return o.current=e,n=mv.useCallback((function(e){o.current(e)}),[]),mv.useEffect((function(){return function(){t(r.current)}}),[]),[function(e){r.current&&r.current!==e&&t(r.current),e&&e!==r.current&&(e.addEventListener(ij,n),e.addEventListener(oj,n),r.current=e)},t]}(a),1)[0],U=function(e){var t,n,r;switch(e){case H$:return Ci(t={},G$,b),Ci(t,q$,_),Ci(t,X$,x),t;case U$:return Ci(n={},G$,y),Ci(n,q$,w),Ci(n,X$,S),n;case W$:return Ci(r={},G$,v),Ci(r,q$,k),Ci(r,X$,C),r;default:return{}}},W=mv.useMemo((function(){return U(I)}),[I]),V=function(e,t,n){var r=Va(Tl(V$),2),o=r[0],i=r[1],a=function(){function e(){b$.cancel(t.current)}var t=mv.useRef(null);return mv.useEffect((function(){return function(){e()}}),[]),[function n(r,o){var i,a=arguments.length>1&&void 0!==o?o:2;e(),i=b$((function(){a<=1?r({isCanceled:function(){return i!==t.current}}):n(r,a-1)})),t.current=i},e]}(),s=Va(a,2),l=s[0],c=s[1],u=t?lj:sj;return aj((function(){var e,t,r;o!==V$&&o!==K$&&(e=u.indexOf(o),t=u[e+1],!1===(r=n(o))?i(t,!0):t&&l((function(e){function n(){e.isCanceled()||i(t,!0)}!0===r?n():Promise.resolve(r).then(n)})))}),[e,o]),mv.useEffect((function(){return function(){c()}}),[]),[function(){i(G$,!0)},o]}(I,!e,(function(e){var t,n;return e===G$?!!(t=W[G$])&&t(o()):(X in W&&M((null===(n=W[X])||void 0===n?void 0:n.call(W,o(),null))||null),X===X$&&(H(o()),g>0&&(clearTimeout(z.current),z.current=setTimeout((function(){a({deadline:!0})}),g))),X===Y$&&i(),!0)})),G=Va(V,2),q=G[0],X=G[1],K=Wl(X);return B.current=K,aj((function(){var n,r,o;N(t),n=L.current,L.current=!0,!n&&t&&p&&(r=H$),n&&t&&u&&(r=U$),(n&&!t&&m||!n&&h&&!t&&m)&&(r=W$),o=U(r),r&&(e||o[G$])?(A(r),q()):A(B$)}),[t]),mv.useEffect((function(){(I===H$&&!p||I===U$&&!u||I===W$&&!m)&&A(B$)}),[p,u,m]),mv.useEffect((function(){return function(){L.current=!1,clearTimeout(z.current)}}),[]),s=mv.useRef(!1),mv.useEffect((function(){P&&(s.current=!0),void 0!==P&&I===B$&&((s.current||P)&&(null==$||$(P)),s.current=!0)}),[P,I]),l=F,W[G$]&&X===q$&&(l=Sa({transition:"none"},l)),[I,X,l,null!=P?P:t]}(b,c,(function(){try{return y.current instanceof HTMLElement?y.current:Vs(v.current)}catch(zQ){return null}}),e),w=Va(_,4),k=w[0],x=w[1],S=w[2],C=w[3],E=mv.useRef(C);return C&&(E.current=!0),n=mv.useCallback((function(e){y.current=e,zs(t,e)}),[t]),o=Sa(Sa({},h),{},{visible:c}),f?k===B$?r=C?f(Sa({},o),n):!d&&E.current&&g?f(Sa(Sa({},o),{},{className:g}),n):p||!d&&!g?f(Sa(Sa({},o),{},{style:{display:"none"}}),n):null:(x===G$?a="prepare":Wl(x)?a="active":x===q$&&(a="start"),s=Ul(m,"".concat(k,"-").concat(a)),r=f(Sa(Sa({},o),{},{className:mZ(Ul(m,k),(i={},Ci(i,s,s&&a),Ci(i,m,"string"==typeof m),i)),style:S}),n)):r=null,mv.isValidElement(r)&&Us(r)&&(r.ref||(r=mv.cloneElement(r,{ref:n}))),mv.createElement(z$,{ref:v},r)}))).displayName="CSSMotion",CQ);cj="add",uj="keep",dj="remove",pj="removed",fj=["component","children","onVisibleChanged","onAllRemoved"],mj=["status"],gj=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const o0=function(e,t){var n=arguments.length>1&&void 0!==t?t:r0,r=function(){function e(){var n,r,o,i;for(Oi(this,e),r=arguments.length,o=new Array(r),i=0;i1&&void 0!==t?t:[],o=[],i=0,a=r.length,s=Gl(arguments.length>0&&void 0!==e?e:[]),l=Gl(r);return s.forEach((function(e){var t,n,r=!1;for(t=i;t1})).forEach((function(e){(o=o.filter((function(t){return t.key!==e||t.status!==dj}))).forEach((function(t){t.key===e&&(t.status=uj)}))})),o}(n,r);return{keyEntities:o.filter((function(e){var t=n.find((function(t){return e.key===t.key}));return!t||t.status!==pj||e.status!==dj}))}}}]),e}();return Ci(r,"defaultProps",{component:"div"}),r}(rj);hj=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r({getPrefixCls:(e,t)=>t||(e?`${Xl()}-${e}`:Xl()),getIconPrefixCls:Kl,getRootPrefixCls:()=>a0||Xl(),getTheme:()=>l0}),u0=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:s,componentSize:l,direction:c,space:u,virtual:d,dropdownMatchSelectWidth:p,popupMatchSelectWidth:f,popupOverflow:m,legacyLocale:g,parentContext:h,iconPrefixCls:b,theme:y,componentDisabled:v,segmented:_,statistic:w,spin:k,calendar:x,carousel:S,cascader:C,collapse:E,typography:D,checkbox:O,descriptions:$,divider:j,drawer:P,skeleton:N,steps:T,image:I,layout:A,list:R,mentions:F,modal:M,progress:L,result:z,slider:B,breadcrumb:H,menu:U,pagination:W,input:V,empty:G,badge:q,radio:X,rate:K,switch:Y,transfer:Q,avatar:J,message:Z,tag:ee,table:te,card:ne,tabs:re,timeline:oe,timePicker:ie,upload:ae,notification:se,tree:le,colorPicker:ce,datePicker:ue}=e,de=mv.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||h.getPrefixCls("");return t?`${o}-${t}`:o}),[h.getPrefixCls,e.prefixCls]),pe=b||h.iconPrefixCls||LZ,fe=pe!==h.iconPrefixCls,me=n||h.csp,ge=((e,t)=>{const[n,r]=Pl();return Os({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},(()=>[{[`.${e}`]:Object.assign(Object.assign({},{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"}}),{[`.${e} .${e}-icon`]:{display:"block"}})}]))})(pe,me),he=function(e,t){const n=e||{},r=!1!==n.inherit&&t?t:FZ;return Ea((()=>{if(!e)return t;const o=Object.assign({},r.components);return Object.keys(e.components||{}).forEach((t=>{o[t]=Object.assign(Object.assign({},o[t]),e.components[t])})),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:o})}),[n,r],((e,t)=>e.some(((e,n)=>!Pa(e,t[n],!0)))))}(y,h.theme),be={csp:me,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:s||g,direction:c,space:u,virtual:d,popupMatchSelectWidth:null!=f?f:p,popupOverflow:m,getPrefixCls:de,iconPrefixCls:pe,theme:he,segmented:_,statistic:w,spin:k,calendar:x,carousel:S,cascader:C,collapse:E,typography:D,checkbox:O,descriptions:$,divider:j,drawer:P,skeleton:N,steps:T,image:I,input:V,layout:A,list:R,mentions:F,modal:M,progress:L,result:z,slider:B,breadcrumb:H,menu:U,pagination:W,empty:G,badge:q,radio:X,rate:K,switch:Y,transfer:Q,avatar:J,message:Z,tag:ee,table:te,card:ne,tabs:re,timeline:oe,timePicker:ie,upload:ae,notification:se,tree:le,colorPicker:ce,datePicker:ue},ye=Object.assign({},h);Object.keys(be).forEach((e=>{void 0!==be[e]&&(ye[e]=be[e])})),i0.forEach((t=>{const n=e[t];n&&(ye[t]=n)}));const ve=Ea((()=>ye),ye,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),_e=mv.useMemo((()=>({prefixCls:pe,csp:me})),[pe,me]);let we=fe?ge(t):t;const ke=mv.useMemo((()=>{var e,t,n,r;return ol((null===(e=_Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=ve.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=ve.form)||void 0===r?void 0:r.validateMessages)||{},(null==a?void 0:a.validateMessages)||{})}),[ve,null==a?void 0:a.validateMessages]);Object.keys(ke).length>0&&(we=mv.createElement(hZ.Provider,{value:ke},t)),s&&(we=mv.createElement(SZ,{locale:s,_ANT_MARK__:"internalMark"},we)),(pe||me)&&(we=mv.createElement(gZ.Provider,{value:_e},we)),l&&(we=mv.createElement(t0,{size:l},we)),we=mv.createElement(ql,null,we);const xe=mv.useMemo((()=>{const e=he||{},{algorithm:t,token:n}=e,r=hj(e,["algorithm","token"]),o=t&&(!Array.isArray(t)||t.length>0)?$s(t):void 0;return Object.assign(Object.assign({},r),{theme:o,token:Object.assign(Object.assign({},$Z),n)})}),[he]);return y&&(we=mv.createElement(MZ.Provider,{value:xe},we)),void 0!==v&&(we=mv.createElement(JZ,{disabled:v},we)),mv.createElement(zZ.Provider,{value:ve},we)},d0=e=>{const t=mv.useContext(zZ),n=mv.useContext(kZ);return mv.createElement(u0,Object.assign({parentContext:t,legacyLocale:n},e))};d0.ConfigContext=zZ,d0.SizeContext=n0,d0.config=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r}=e;void 0!==t&&(a0=t),void 0!==n&&(s0=n),r&&(function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?function(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new S$(e),i=Cl(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new S$(t.primaryColor),i=Cl(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setAlpha(.12*e.getAlpha())));const a=new S$(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(a,(e=>e.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"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);Ta()&&Ba(n,`${YZ}-dynamic-theme`)}(Xl(),r):l0=r)},d0.useConfig=function(){return{componentDisabled:mv.useContext(ZZ),componentSize:mv.useContext(n0)}},Object.defineProperty(d0,"SizeContext",{get:()=>n0});const p0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};bj=function(e){var t=mv.useContext(gZ),n=t.csp,r=t.prefixCls,o="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(o=o.replace(/anticon/g,r)),mv.useEffect((function(){var t=Ql(e.current);Ba(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:t})}),[])},yj=["icon","className","onClick","style","primaryColor","secondaryColor"],vj={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},(_j=function(e){var t,n,r,o=e.icon,i=e.className,a=e.onClick,s=e.style,l=e.primaryColor,c=e.secondaryColor,u=Ei(e,yj),d=mv.useRef(),p=vj;return l&&(p={primaryColor:l,secondaryColor:c||tc(l)}),bj(d),n=Jl(o),r="icon should be icon definiton, but got ".concat(o),ja(n,"[@ant-design/icons] ".concat(r)),Jl(o)?((t=o)&&"function"==typeof t.icon&&(t=Sa(Sa({},t),{},{icon:t.icon(p.primaryColor,p.secondaryColor)})),ec(t.icon,"svg-".concat(t.name),Sa(Sa({className:i,onClick:a,style:s,"data-icon":t.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},u),{},{ref:d}))):null}).displayName="IconReact",_j.getTwoToneColors=function(){return Sa({},vj)},_j.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;vj.primaryColor=t,vj.secondaryColor=n||tc(t),vj.calculated=!!n};const f0=_j;wj=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"],rc(R$.primary),(kj=mv.forwardRef((function(e,t){var n,r,o,i,a,s=e.className,l=e.icon,c=e.spin,u=e.rotate,d=e.tabIndex,p=e.onClick,f=e.twoToneColor,m=Ei(e,wj),g=mv.useContext(gZ),h=g.prefixCls,b=void 0===h?"anticon":h,y=mZ(g.rootClassName,b,(Ci(n={},"".concat(b,"-").concat(l.name),!!l.name),Ci(n,"".concat(b,"-spin"),!!c||"loading"===l.name),n),s),v=d;return void 0===v&&p&&(v=-1),r=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,i=(o=Va(nc(f),2))[0],a=o[1],mv.createElement("span",fa({role:"img","aria-label":l.name},m,{ref:t,tabIndex:v,onClick:p,className:y}),mv.createElement(f0,{icon:l,primaryColor:i,secondaryColor:a,style:r}))}))).displayName="AntdIcon",kj.getTwoToneColor=function(){var e=f0.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},kj.setTwoToneColor=rc;const m0=kj,g0=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:p0}))})),h0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},b0=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:h0}))})),y0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},v0=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:y0}))})),_0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},w0=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:_0}))})),k0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},x0=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:k0}))}));xj="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),Sj="aria-",Cj="data-";const{isValidElement:S0}=PJ,C0=e=>"object"==typeof e&&null!=e&&1===e.nodeType,E0=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,D0=(e,t)=>{if(e.clientHeight{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(t){return null}})(e);return!!t&&(t.clientHeightit||i>e&&a=t&&s>=n?i-e-r:a>t&&sn?a-t+o:0,$0=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},j0=(e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!C0(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,f=[];let m=e;for(;C0(m)&&d(m);){if(m=$0(m),m===p){f.push(m);break}null!=m&&m===document.body&&D0(m)&&!D0(document.documentElement)||null!=m&&D0(m,u)&&f.push(m)}const g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,h=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:b,scrollY:y}=window,{height:v,width:_,top:w,right:k,bottom:x,left:S}=e.getBoundingClientRect();let C="start"===s||"nearest"===s?w:"end"===s?x:w+v/2,E="center"===l?S+_/2:"end"===l?k:S;const D=[];for(let O=0;O=0&&S>=0&&x<=h&&k<=g&&w>=r&&x<=i&&S>=c&&k<=o)return D;const u=getComputedStyle(e),d=parseInt(u.borderLeftWidth,10),m=parseInt(u.borderTopWidth,10),$=parseInt(u.borderRightWidth,10),j=parseInt(u.borderBottomWidth,10);let P=0,N=0;const T="offsetWidth"in e?e.offsetWidth-e.clientWidth-d-$:0,I="offsetHeight"in e?e.offsetHeight-e.clientHeight-m-j:0,A="offsetWidth"in e?0===e.offsetWidth?0:n/e.offsetWidth:0,R="offsetHeight"in e?0===e.offsetHeight?0:t/e.offsetHeight:0;if(p===e)P="start"===s?C:"end"===s?C-h:"nearest"===s?O0(y,y+h,h,m,j,y+C,y+C+v,v):C-h/2,N="start"===l?E:"center"===l?E-g/2:"end"===l?E-g:O0(b,b+g,g,d,$,b+E,b+E+_,_),P=Math.max(0,P+y),N=Math.max(0,N+b);else{P="start"===s?C-r-m:"end"===s?C-i+j+I:"nearest"===s?O0(r,i,t,m,j+I,C,C+v,v):C-(r+t/2)+I/2,N="start"===l?E-c-d:"center"===l?E-(c+n/2)+T/2:"end"===l?E-o+$+T:O0(c,o,n,d,$+T,E,E+_,_);const{scrollLeft:a,scrollTop:u}=e;P=Math.max(0,Math.min(u+P/R,e.scrollHeight-t/R+I)),N=Math.max(0,Math.min(a+N/A,e.scrollWidth-n/A+T)),C+=u-P,E+=a-N}D.push({el:e,top:P,left:N})}return D},P0=e=>{return!1===e?{block:"end",inline:"nearest"}:(t=e)===Object(t)&&0!==Object.keys(t).length?e:{block:"start",inline:"nearest"};var t};Ej={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(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=Ej.F1&&t<=Ej.F12)return!1;switch(t){case Ej.ALT:case Ej.CAPS_LOCK:case Ej.CONTEXT_MENU:case Ej.CTRL:case Ej.DOWN:case Ej.END:case Ej.ESC:case Ej.HOME:case Ej.INSERT:case Ej.LEFT:case Ej.MAC_FF_META:case Ej.META:case Ej.NUMLOCK:case Ej.NUM_CENTER:case Ej.PAGE_DOWN:case Ej.PAGE_UP:case Ej.PAUSE:case Ej.PRINT_SCREEN:case Ej.RIGHT:case Ej.SHIFT:case Ej.UP:case Ej.WIN_KEY:case Ej.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=Ej.ZERO&&e<=Ej.NINE)return!0;if(e>=Ej.NUM_ZERO&&e<=Ej.NUM_MULTIPLY)return!0;if(e>=Ej.A&&e<=Ej.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case Ej.SPACE:case Ej.QUESTION_MARK:case Ej.NUM_PLUS:case Ej.NUM_MINUS:case Ej.NUM_PERIOD:case Ej.NUM_DIVISION:case Ej.SEMICOLON:case Ej.DASH:case Ej.EQUALS:case Ej.COMMA:case Ej.PERIOD:case Ej.SLASH:case Ej.APOSTROPHE:case Ej.SINGLE_QUOTE:case Ej.OPEN_SQUARE_BRACKET:case Ej.BACKSLASH:case Ej.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Dj=mv.forwardRef((function(e,t){var n,r=e.prefixCls,o=e.style,i=e.className,a=e.duration,s=void 0===a?4.5:a,l=e.eventKey,c=e.content,u=e.closable,d=e.closeIcon,p=void 0===d?"x":d,f=e.props,m=e.onClick,g=e.onNoticeClose,h=e.times,b=Va(mv.useState(!1),2),y=b[0],v=b[1],_=function(){g(l)};return mv.useEffect((function(){if(!y&&s>0){var e=setTimeout((function(){_()}),1e3*s);return function(){clearTimeout(e)}}}),[s,y,h]),n="".concat(r,"-notice"),mv.createElement("div",fa({},f,{ref:t,className:mZ(n,i,Ci({},"".concat(n,"-closable"),u)),style:o,onMouseEnter:function(){v(!0)},onMouseLeave:function(){v(!1)},onClick:m}),mv.createElement("div",{className:"".concat(n,"-content")},c),u&&mv.createElement("a",{tabIndex:0,className:"".concat(n,"-close"),onKeyDown:function(e){"Enter"!==e.key&&"Enter"!==e.code&&e.keyCode!==Ej.ENTER||_()},onClick:function(e){e.preventDefault(),e.stopPropagation(),_()}},p))})),Oj=mv.forwardRef((function(e,t){var n,r,o,i,a,s,l=e.prefixCls,c=void 0===l?"rc-notification":l,u=e.container,d=e.motion,p=e.maxCount,f=e.className,m=e.style,g=e.onAllRemoved,h=Va(mv.useState([]),2),b=h[0],y=h[1],v=function(e){var t,n=b.find((function(t){return t.key===e}));null==n||null===(t=n.onClose)||void 0===t||t.call(n),y((function(t){return t.filter((function(t){return t.key!==e}))}))};return mv.useImperativeHandle(t,(function(){return{open:function(e){y((function(t){var n,r=ka(t),o=r.findIndex((function(t){return t.key===e.key})),i=Sa({},e);return o>=0?(i.times=((null===(n=t[o])||void 0===n?void 0:n.times)||0)+1,r[o]=i):(i.times=0,r.push(i)),p>0&&r.length>p&&(r=r.slice(-p)),r}))},close:function(e){v(e)},destroy:function(){y([])}}})),n=Va(mv.useState({}),2),r=n[0],o=n[1],mv.useEffect((function(){var e={};b.forEach((function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))})),Object.keys(r).forEach((function(t){e[t]=e[t]||[]})),o(e)}),[b]),i=function(e){o((function(t){var n=Sa({},t);return(n[e]||[]).length||delete n[e],n}))},a=mv.useRef(!1),mv.useEffect((function(){Object.keys(r).length>0?a.current=!0:a.current&&(null==g||g(),a.current=!1)}),[r]),u?(s=Object.keys(r),OS.createPortal(mv.createElement(mv.Fragment,null,s.map((function(e){var t=r[e].map((function(e){return{config:e,key:e.key}})),n="function"==typeof d?d(e):d;return mv.createElement(o0,fa({key:e,className:mZ(c,"".concat(c,"-").concat(e),null==f?void 0:f(e)),style:null==m?void 0:m(e),keys:t,motionAppear:!0},n,{onAllRemoved:function(){i(e)}}),(function(e,t){var n=e.config,r=e.style,o=n.key,i=n.times,a=n.style;return mv.createElement(Dj,fa({},n,{ref:t,prefixCls:c,className:mZ(e.className,n.className),style:Sa(Sa({},r),a),times:i,key:o,eventKey:o,onNoticeClose:v}))}))}))),u)):null})),$j=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],jj=function(){return document.body},Pj=0;const N0={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"},T0=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:N0}))})),I0=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorSuccess:i,colorError:a,colorWarning:s,colorInfo:l,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:p,paddingXS:f,borderRadiusLG:m,zIndexPopup:g,contentPadding:h,contentBg:b}=e,y=`${t}-notice`,v=new NO("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:f,transform:"translateY(0)",opacity:1}}),_=new NO("MessageMoveOut",{"0%":{maxHeight:e.height,padding:f,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),w={padding:f,textAlign:"center",[`${t}-custom-content > ${n}`]:{verticalAlign:"text-bottom",marginInlineEnd:p,fontSize:c},[`${y}-content`]:{display:"inline-block",padding:h,background:b,borderRadius:m,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n},\n ${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},UZ(e)),{color:o,position:"fixed",top:p,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[`\n ${t}-move-up-appear,\n ${t}-move-up-enter\n `]:{animationName:v,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`\n ${t}-move-up-appear${t}-move-up-appear-active,\n ${t}-move-up-enter${t}-move-up-enter-active\n `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:_,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[y]:Object.assign({},w)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},w),{padding:0,textAlign:"start"})}]},A0=Ml("Message",(e=>{const t=Rl(e,{height:150});return[I0(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})));Nj=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{prefixCls:t,type:n,icon:r,children:o}=e;return mv.createElement("div",{className:mZ(`${t}-custom-content`,`${t}-${n}`)},r||R0[n],mv.createElement("span",null,o))};Tj=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{top:n,prefixCls:r,getContainer:o,maxCount:i,duration:a=M0,rtl:s,transitionName:l,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:d,message:p}=mv.useContext(zZ),f=r||u("message"),[,m]=A0(f),g=mv.createElement("span",{className:`${f}-close-x`},mv.createElement(v0,{className:`${f}-close-icon`})),[h,b]=lc({prefixCls:f,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>mZ(m,{[`${f}-rtl`]:s}),motion:()=>function(e,t){return{motionName:null!=t?t:`${e}-move-up`}}(f,l),closable:!1,closeIcon:g,duration:a,getContainer:()=>(null==o?void 0:o())||(null==d?void 0:d())||document.body,maxCount:i,onAllRemoved:c});return mv.useImperativeHandle(t,(()=>Object.assign(Object.assign({},h),{prefixCls:f,hashId:m,message:p}))),b}));let z0=0;Aj=(Ij=Sa({},TJ)).version,Rj=Ij.render,Fj=Ij.unmountComponentAtNode;try{Number((Aj||"").split(".")[0])>=18&&(Mj=Ij.createRoot)}catch(zQ){}Lj="__rc_react_root__";const B0=function(e){var t,n;if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox&&((t=e.getBBox()).width||t.height))return!0;if(e.getBoundingClientRect&&((n=e.getBoundingClientRect()).width||n.height))return!0}return!1},H0=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},U0=Ml("Wave",(e=>[H0(e)])),W0=e=>{function t(){const e=getComputedStyle(r);a(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return kc(t)?t:kc(n)?n:kc(r)?r:null}(r));const t="static"===e.position,{borderLeftWidth:n,borderTopWidth:o}=e;u(t?r.offsetLeft:xc(-parseFloat(n))),p(t?r.offsetTop:xc(-parseFloat(o))),m(r.offsetWidth),h(r.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:s,borderBottomLeftRadius:c,borderBottomRightRadius:d}=e;l([i,s,d,c].map((e=>xc(parseFloat(e)))))}const{className:n,target:r}=e,o=mv.useRef(null),[i,a]=mv.useState(null),[s,l]=mv.useState([]),[c,u]=mv.useState(0),[d,p]=mv.useState(0),[f,m]=mv.useState(0),[g,h]=mv.useState(0),[b,y]=mv.useState(!1),v={left:c,top:d,width:f,height:g,borderRadius:s.map((e=>`${e}px`)).join(" ")};return i&&(v["--wave-color"]=i),mv.useEffect((()=>{if(r){const e=b$((()=>{t(),y(!0)}));let n;return"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(t),n.observe(r)),()=>{b$.cancel(e),null==n||n.disconnect()}}}),[]),b?mv.createElement(r0,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=o.current)||void 0===n?void 0:n.parentElement;_c(e).then((()=>{null==e||e.remove()}))}return!1}},(e=>{let{className:t}=e;return mv.createElement("div",{ref:o,className:mZ(n,t),style:v})})):null},V0=e=>{const{children:t,disabled:n}=e,{getPrefixCls:r}=mv.useContext(zZ),o=mv.useRef(null),i=r("wave"),[,a]=U0(i),s=(l=o,c=mZ(i,a),function(){!function(e,t){const n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",null==e||e.insertBefore(n,null==e?void 0:e.firstChild),hc(mv.createElement(W0,{target:e,className:t}),n)}(l.current,c)});var l,c;return jJ.useEffect((()=>{const e=o.current;if(!e||1!==e.nodeType||n)return;const t=t=>{"INPUT"===t.target.tagName||!B0(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||s()};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[n]),jJ.isValidElement(t)?sc(t,{ref:Us(t)?Bs(t.ref,o):o}):null!=t?t:null},G0=e=>{const t=jJ.useContext(n0);return jJ.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])},q0=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},X0=e=>{const{componentCls:t}=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"}}}},K0=Ml("Space",(e=>[X0(e),q0(e)]),(()=>({})),{resetStyle:!1});zj=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const n=mv.useContext(Y0),r=mv.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:i}=n,a="vertical"===r?"-vertical-":"-";return mZ(`${e}-compact${a}item`,{[`${e}-compact${a}first-item`]:o,[`${e}-compact${a}last-item`]:i,[`${e}-compact${a}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},J0=e=>{let{children:t}=e;return mv.createElement(Y0.Provider,{value:null},t)},Z0=e=>{var{children:t}=e,n=zj(e,["children"]);return mv.createElement(Y0.Provider,{value:n},t)},e1=mv.forwardRef(((e,t)=>{const{className:n,style:r,children:o,prefixCls:i}=e,a=mZ(`${i}-icon`,n);return jJ.createElement("span",{ref:t,className:a,style:r},o)})),t1=mv.forwardRef(((e,t)=>{let{prefixCls:n,className:r,style:o,iconClassName:i}=e;const a=mZ(`${n}-loading-icon`,r);return jJ.createElement(e1,{prefixCls:n,className:a,style:o,ref:t},jJ.createElement(T0,{className:i}))})),n1=()=>({width:0,opacity:0,transform:"scale(0)"}),r1=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),o1=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:i}=e,a=!!n;return r?jJ.createElement(t1,{prefixCls:t,className:o,style:i}):jJ.createElement(r0,{visible:a,motionName:`${t}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:n1,onAppearActive:r1,onEnterStart:n1,onEnterActive:r1,onLeaveStart:r1,onLeaveActive:n1},((e,n)=>{let{className:r,style:a}=e;return jJ.createElement(t1,{prefixCls:t,className:o,style:Object.assign(Object.assign({},i),a),ref:n,iconClassName:r})}))};Bj=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),c1=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},l1(`${t}-primary`,o),l1(`${t}-danger`,i)]}},u1=e=>{const{componentCls:t,iconCls:n,buttonFontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},qZ(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${2*e.lineWidth}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${2*e.lineWidth}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},d1=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),p1=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),f1=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),m1=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),g1=(e,t,n,r,o,i,a)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},d1(e,Object.assign({backgroundColor:"transparent"},i),Object.assign({backgroundColor:"transparent"},a))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:o||void 0}})}),h1=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},m1(e))}),b1=e=>Object.assign({},h1(e)),y1=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),v1=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},b1(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),d1(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),g1(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},d1(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),g1(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),h1(e))}),_1=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},b1(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),d1(e.componentCls,{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),g1(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},d1(e.componentCls,{backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),g1(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),h1(e))}),w1=e=>Object.assign(Object.assign({},v1(e)),{borderStyle:"dashed"}),k1=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},d1(e.componentCls,{color:e.colorLinkHover},{color:e.colorLinkActive})),y1(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},d1(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),y1(e))}),x1=e=>Object.assign(Object.assign(Object.assign({},d1(e.componentCls,{color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),y1(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},y1(e)),d1(e.componentCls,{color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),S1=e=>{const{componentCls:t}=e;return{[`${t}-default`]:v1(e),[`${t}-primary`]:_1(e),[`${t}-dashed`]:w1(e),[`${t}-link`]:k1(e),[`${t}-text`]:x1(e),[`${t}-ghost`]:g1(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},C1=function(e,t){let n=arguments.length>1&&void 0!==t?t:"";const{componentCls:r,controlHeight:o,fontSize:i,lineHeight:a,lineWidth:s,borderRadius:l,buttonPaddingHorizontal:c,iconCls:u}=e;return[{[`${r}${n}`]:{fontSize:i,height:o,padding:`${Math.max(0,(o-i*a)/2-s)}px ${c-s}px`,borderRadius:l,[`&${r}-icon-only`]:{width:o,paddingInlineStart:0,paddingInlineEnd:0,[`&${r}-round`]:{width:"auto"},[u]:{fontSize:e.buttonIconOnlyFontSize}},[`&${r}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${r}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${r}${r}-circle${n}`]:p1(e)},{[`${r}${r}-round${n}`]:f1(e)}]},E1=e=>C1(e),D1=e=>{const t=Rl(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.fontSizeLG-2});return C1(t,`${e.componentCls}-sm`)},O1=e=>{const t=Rl(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.fontSizeLG+2});return C1(t,`${e.componentCls}-lg`)},$1=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},j1=Ml("Button",(e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=Rl(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n,buttonIconOnlyFontSize:e.fontSizeLG,buttonFontWeight:400});return[u1(r),D1(r),E1(r),O1(r),$1(r),S1(r),c1(r),Dc(e),$c(e)]}));Hj=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const{loading:o=!1,prefixCls:i,type:a="default",danger:s,shape:l="default",size:c,styles:u,disabled:d,className:p,rootClassName:f,children:m,icon:g,ghost:h=!1,block:b=!1,htmlType:y="button",classNames:v,style:_={}}=e,w=Hj(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:k,autoInsertSpaceInButton:x,direction:S,button:C}=mv.useContext(zZ),E=k("btn",i),[D,O]=j1(E),$=mv.useContext(ZZ),j=null!=d?d:$,P=mv.useContext(i1),N=mv.useMemo((()=>function(e){if("object"==typeof e&&e){const t=null==e?void 0:e.delay;return{loading:!1,delay:Number.isNaN(t)||"number"!=typeof t?0:t}}return{loading:!!e,delay:0}}(o)),[o]),[T,I]=mv.useState(N.loading),[A,R]=mv.useState(!1),F=Bs(t,mv.createRef()),M=1===mv.Children.count(m)&&!g&&!Sc(a);mv.useEffect((()=>{let e=null;return N.delay>0?e=setTimeout((()=>{e=null,I(!0)}),N.delay):I(N.loading),function(){e&&(clearTimeout(e),e=null)}}),[N]),mv.useEffect((()=>{F&&F.current&&!1!==x&&(M&&s1(F.current.textContent)?A||R(!0):A&&R(!1))}),[F]);const L=t=>{const{onClick:n}=e;T||j?t.preventDefault():null==n||n(t)},z=!1!==x,{compactSize:B,compactItemClassnames:H}=Q0(E,S),U=G0((e=>{var t,n;return null!==(n=null!==(t=null!=c?c:B)&&void 0!==t?t:P)&&void 0!==n?n:e})),W=U&&{large:"lg",small:"sm",middle:void 0}[U]||"",V=T?"loading":g,G=Qs(w,["navigate"]),q=mZ(E,O,{[`${E}-${l}`]:"default"!==l&&l,[`${E}-${a}`]:a,[`${E}-${W}`]:W,[`${E}-icon-only`]:!m&&0!==m&&!!V,[`${E}-background-ghost`]:h&&!Sc(a),[`${E}-loading`]:T,[`${E}-two-chinese-chars`]:A&&z&&!T,[`${E}-block`]:b,[`${E}-dangerous`]:!!s,[`${E}-rtl`]:"rtl"===S},H,p,f,null==C?void 0:C.className),X=Object.assign(Object.assign({},null==C?void 0:C.style),_),K=mZ(null==v?void 0:v.icon,null===(n=null==C?void 0:C.classNames)||void 0===n?void 0:n.icon),Y=Object.assign(Object.assign({},(null==u?void 0:u.icon)||{}),(null===(r=null==C?void 0:C.styles)||void 0===r?void 0:r.icon)||{}),Q=g&&!T?jJ.createElement(e1,{prefixCls:E,className:K,style:Y},g):jJ.createElement(o1,{existIcon:!!g,prefixCls:E,loading:!!T}),J=m||0===m?function(e,t){let n=!1;const r=[];return jJ.Children.forEach(e,(e=>{const t=typeof e,o="string"===t||"number"===t;if(n&&o){const t=r.length-1;r[t]=`${r[t]}${e}`}else r.push(e);n=o})),jJ.Children.map(r,(e=>function(e,t){if(null==e)return;const n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&"string"==typeof e.type&&s1(e.props.children)?sc(e,{children:e.props.children.split("").join(n)}):"string"==typeof e?s1(e)?jJ.createElement("span",null,e.split("").join(n)):jJ.createElement("span",null,e):ac(e)?jJ.createElement("span",null,e):e}(e,t)))}(m,M&&z):null;if(void 0!==G.href)return D(jJ.createElement("a",Object.assign({},G,{className:mZ(q,{[`${E}-disabled`]:j}),style:X,onClick:L,ref:F}),Q,J));let Z=jJ.createElement("button",Object.assign({},w,{type:y,className:q,style:X,onClick:L,disabled:j,ref:F}),Q,J);return Sc(a)||(Z=jJ.createElement(V0,{disabled:!!T},Z)),D(Z)},N1=mv.forwardRef(P1);N1.Group=e=>{const{getPrefixCls:t,direction:n}=mv.useContext(zZ),{prefixCls:r,size:o,className:i}=e,a=Bj(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=Pl();let c="";switch(o){case"large":c="lg";break;case"small":c="sm"}const u=mZ(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:"rtl"===n},i,l);return mv.createElement(i1.Provider,{value:o},mv.createElement("div",Object.assign({},a,{className:u})))},N1.__ANT_BUTTON=!0;const T1=N1,I1=e=>{const{type:t,children:n,prefixCls:r,buttonProps:o,close:i,autoFocus:a,emitEvent:s,quitOnNullishReturnValue:l,actionFn:c}=e,u=mv.useRef(!1),d=mv.useRef(null),[p,f]=Tl(!1),m=function(){null==i||i.apply(void 0,arguments)};return mv.useEffect((()=>{let e=null;return a&&(e=setTimeout((()=>{var e;null===(e=d.current)||void 0===e||e.focus()}))),()=>{e&&clearTimeout(e)}}),[]),mv.createElement(T1,Object.assign({},jc(t),{onClick:e=>{if(u.current)return;if(u.current=!0,!c)return void m();let t;if(s){if(t=c(e),l&&!Pc(t))return u.current=!1,void m(e)}else if(c.length)t=c(i),u.current=!1;else if(t=c(),!t)return void m();(e=>{Pc(e)&&(f(!0),e.then((function(){f(!1,!0),m.apply(void 0,arguments),u.current=!1}),(e=>(f(!1,!0),u.current=!1,Promise.reject(e)))))})(t)},loading:p,prefixCls:r},o,{ref:d}),n)},A1=()=>({height:0,opacity:0}),R1=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},F1=e=>({height:e?e.offsetHeight:0}),M1=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,L1=function(e){return{motionName:`${arguments.length>0&&void 0!==e?e:"ant"}-motion-collapse`,onAppearStart:A1,onEnterStart:A1,onAppearActive:R1,onEnterActive:R1,onLeaveStart:F1,onLeaveActive:A1,onAppearEnd:M1,onEnterEnd:M1,onLeaveEnd:M1,motionDeadline:500}},z1=e=>void 0===e||"topLeft"!==e&&"topRight"!==e?"slide-up":"slide-down",B1=(e,t,n)=>void 0!==n?n:`${e}-${t}`,H1={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"},U1=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:H1}))})),W1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},V1=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:W1}))})),G1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},q1=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:G1}))})),X1={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"},K1=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:X1}))})),Y1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Q1=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:Y1}))})),J1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Z1=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:J1}))})),e2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},t2=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:e2}))})),n2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},r2=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:n2}))})),o2={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"},i2=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:o2}))})),a2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},s2=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:a2}))})),l2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},c2=mv.forwardRef((function(e,t){return mv.createElement(m0,fa({},e,{ref:t,icon:l2}))}));Uj=mv.createContext(null),Wj=[],Gj="rc-util-locker-".concat(Date.now()),qj=0,Xj=function(e){return!1!==e&&(Ta()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},Kj=mv.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x=e.open,S=e.autoLock,C=e.getContainer;return r=void 0===(n=e.autoDestroy)||n,o=e.children,i=Va(mv.useState(x),2),a=i[1],s=i[0]||x,mv.useEffect((function(){(r||x)&&a(x)}),[x,r]),c=(l=Va(mv.useState((function(){return Xj(C)})),2))[0],u=l[1],mv.useEffect((function(){var e=Xj(C);u(null!=e?e:null)})),d=function(e){function t(){r.parentElement||document.body.appendChild(r),o.current=!0}function n(){var e;null===(e=r.parentElement)||void 0===e||e.removeChild(r),o.current=!1}var r=Va(mv.useState((function(){return Ta()?document.createElement("div"):null})),1)[0],o=mv.useRef(!1),i=mv.useContext(Uj),a=Va(mv.useState(Wj),2),s=a[0],l=a[1],c=i||(o.current?void 0:function(e){l((function(t){return[e].concat(ka(t))}))});return QD((function(){return e?i?i(t):t():n(),n}),[e]),QD((function(){s.length&&(s.forEach((function(e){return e()})),l(Wj))}),[s]),[r,c]}(s&&!c),f=(p=Va(d,2))[0],m=p[1],g=null!=c?c:f,_=S&&x&&Ta()&&(g===f||g===document.body),w=!!_,k=Va(mv.useState((function(){return qj+=1,"".concat(Gj,"_").concat(qj)})),1)[0],QD((function(){var e,t;return w?(e=function(e){if(!("undefined"!=typeof document&&e&&e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.height;return{width:Nc(t.width),height:Nc(n)}}(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth,Ba("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),k)):za(k),function(){za(k)}}),[w,k]),h=null,o&&Us(o)&&t&&(h=o.ref),b=Hs(h,t),s&&Ta()&&void 0!==c?(y=!1===g||false,v=o,t&&(v=mv.cloneElement(o,{ref:b})),mv.createElement(Uj.Provider,{value:m},y?v:OS.createPortal(v,g))):null})),Yj=0;const u2=mv.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));Qj={width:0,height:0,overflow:"hidden",outline:"none"},Jj=jJ.forwardRef((function(e,t){var n,r,o,i,a,s=e.prefixCls,l=e.className,c=e.style,u=e.title,d=e.ariaId,p=e.footer,f=e.closable,m=e.closeIcon,g=e.onClose,h=e.children,b=e.bodyStyle,y=e.bodyProps,v=e.modalRender,_=e.onMouseDown,w=e.onMouseUp,k=e.holderRef,x=e.visible,S=e.forceRender,C=e.width,E=e.height,D=mv.useRef(),O=mv.useRef();return jJ.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=D.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===O.current?D.current.focus():e||t!==D.current||O.current.focus()}}})),n={},void 0!==C&&(n.width=C),void 0!==E&&(n.height=E),p&&(r=jJ.createElement("div",{className:"".concat(s,"-footer")},p)),u&&(o=jJ.createElement("div",{className:"".concat(s,"-header")},jJ.createElement("div",{className:"".concat(s,"-title"),id:d},u))),f&&(i=jJ.createElement("button",{type:"button",onClick:g,"aria-label":"Close",className:"".concat(s,"-close")},m||jJ.createElement("span",{className:"".concat(s,"-close-x")}))),a=jJ.createElement("div",{className:"".concat(s,"-content")},i,o,jJ.createElement("div",fa({className:"".concat(s,"-body"),style:b},y),h),r),jJ.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":u?d:null,"aria-modal":"true",ref:k,style:Sa(Sa({},c),n),className:mZ(s,l),onMouseDown:_,onMouseUp:w},jJ.createElement("div",{tabIndex:0,ref:D,style:Qj,"aria-hidden":"true"}),jJ.createElement(u2,{shouldUpdate:x||S},v?v(a):a),jJ.createElement("div",{tabIndex:0,ref:O,style:Qj,"aria-hidden":"true"}))})),(Zj=mv.forwardRef((function(e,t){function n(){var e,t,n,r,o,i=((n={left:(t=(e=m.current).getBoundingClientRect()).left,top:t.top}).left+=Ac(o=(r=e.ownerDocument).defaultView||r.parentWindow),n.top+=Ac(o,!0),n);b(f?"".concat(f.x-i.left,"px ").concat(f.y-i.top,"px"):"")}var r=e.prefixCls,o=e.title,i=e.style,a=e.className,s=e.visible,l=e.forceRender,c=e.destroyOnClose,u=e.motionName,d=e.ariaId,p=e.onVisibleChanged,f=e.mousePosition,m=mv.useRef(),g=Va(mv.useState(),2),h=g[0],b=g[1],y={};return h&&(y.transformOrigin=h),mv.createElement(r0,{visible:s,onVisibleChanged:p,onAppearPrepare:n,onEnterPrepare:n,forceRender:l,motionName:u,removeOnLeave:c,ref:m},(function(n,s){var l=n.className;return mv.createElement(Jj,fa({},e,{ref:t,title:o,ariaId:d,prefixCls:r,holderRef:s,style:Sa(Sa(Sa({},n.style),i),y),className:mZ(a,l)}))}))}))).displayName="Content",(eP=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,i=void 0!==o&&o,a=e.afterClose,s=Va(mv.useState(t),2),l=s[0],c=s[1];return mv.useEffect((function(){t&&c(!0)}),[t]),r||!i||l?mv.createElement(Kj,{open:t||r||l,autoDestroy:!1,getContainer:n,autoLock:t||l},mv.createElement(Fc,fa({},e,{destroyOnClose:i,afterClose:function(){null==a||a(),c(!1)}}))):null}).displayName="Dialog";const d2=()=>Ta()&&window.document.documentElement;let p2;tP="RC_FORM_INTERNAL_HOOKS",rP=mv.createContext({getFieldValue:nP=function(){ja(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},getFieldsValue:nP,getFieldError:nP,getFieldWarning:nP,getFieldsError:nP,isFieldsTouched:nP,isFieldTouched:nP,isFieldValidating:nP,isFieldsValidating:nP,resetFields:nP,setFields:nP,setFieldValue:nP,setFieldsValue:nP,validateFields:nP,submit:nP,getInternalHooks:function(){return nP(),{dispatch:nP,initEntityValue:nP,registerField:nP,useSubscribe:nP,setInitialValues:nP,destroyForm:nP,setCallbacks:nP,registerWatch:nP,getFields:nP,setValidateMessages:nP,setPreserve:nP,getInitialValue:nP}}}),oP=mv.createContext(null),iP=/%[sdj%]/g,aP=function(){},sP=function(e){function t(t,n){var r;return(r=e.call(this,"Async Validation Error")||this).errors=t,r.fields=n,r}var n,r;return r=e,(n=t).prototype=Object.create(r.prototype),n.prototype.constructor=n,Hc(n,r),t}(Wc(Error)),uP=function(){var e,t,n,r,o,i,a,s,l,c,u;return cP||(e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},o=("\n(?:\n(?:"+(r="[a-fA-F\\d]{1,4}")+":){7}(?:"+r+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+(n="(?: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}")+"|:"+r+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+r+":){5}(?::"+n+"|(?::"+r+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),(l=function(e){return e&&e.exact?i:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+o+t(e)+")","g")}).v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},l.v6=function(e){return e&&e.exact?s:new RegExp(""+t(e)+o+t(e),"g")},c=l.v4().source,u=l.v6().source,cP=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+c+"|"+u+'|(?:(?:[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"]*)?$)',"i"))},dP=/^(([^<>()\[\]\\.,;:\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,}))$/,pP=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,fP={integer:function(e){return fP.number(e)&&parseInt(e,10)===e},float:function(e){return fP.number(e)&&!fP.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(zQ){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!fP.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(dP)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(uP())},hex:function(e){return"string"==typeof e&&!!e.match(pP)}},mP=function(e,t,n,r,o){var i;e.required&&void 0===t?lP(e,t,n,r,o):["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i=e.type)>-1?fP[i](t)||r.push(Gc(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(Gc(o.messages.types[i],e.fullField,e.type))},gP="enum",hP={required:lP=function(e,t,n,r,o,i){!e.required||n.hasOwnProperty(e.field)&&!qc(t,i||e.type)||r.push(Gc(o.messages.required,e.fullField))},whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(Gc(o.messages.whitespace,e.fullField))},type:mP,range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=t,c=null,u="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(u?c="number":d?c="string":p&&(c="array"),!c)return!1;p&&(l=t.length),d&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&r.push(Gc(o.messages[c].len,e.fullField,e.len)):a&&!s&&le.max?r.push(Gc(o.messages[c].max,e.fullField,e.max)):a&&s&&(le.max)&&r.push(Gc(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[gP]=Array.isArray(e[gP])?e[gP]:[],-1===e[gP].indexOf(t)&&r.push(Gc(o.messages[gP],e.fullField,e[gP].join(", ")))},pattern:function(e,t,n,r,o){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Gc(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(Gc(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))}},yP={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t,"string")&&!e.required)return n();hP.required(e,t,r,i,o,"string"),qc(t,"string")||(hP.type(e,t,r,i,o),hP.range(e,t,r,i,o),hP.pattern(e,t,r,i,o),!0===e.whitespace&&hP.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t)&&!e.required)return n();hP.required(e,t,r,i,o),void 0!==t&&hP.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),qc(t)&&!e.required)return n();hP.required(e,t,r,i,o),void 0!==t&&(hP.type(e,t,r,i,o),hP.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t)&&!e.required)return n();hP.required(e,t,r,i,o),void 0!==t&&hP.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t)&&!e.required)return n();hP.required(e,t,r,i,o),qc(t)||hP.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t)&&!e.required)return n();hP.required(e,t,r,i,o),void 0!==t&&(hP.type(e,t,r,i,o),hP.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t)&&!e.required)return n();hP.required(e,t,r,i,o),void 0!==t&&(hP.type(e,t,r,i,o),hP.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();hP.required(e,t,r,i,o,"array"),null!=t&&(hP.type(e,t,r,i,o),hP.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t)&&!e.required)return n();hP.required(e,t,r,i,o),void 0!==t&&hP.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t)&&!e.required)return n();hP.required(e,t,r,i,o),void 0!==t&&hP.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t,"string")&&!e.required)return n();hP.required(e,t,r,i,o),qc(t,"string")||hP.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t,"date")&&!e.required)return n();hP.required(e,t,r,a,o),qc(t,"date")||(i=t instanceof Date?t:new Date(t),hP.type(e,i,r,a,o),i&&hP.range(e,i.getTime(),r,a,o))}n(a)},url:bP=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t,i)&&!e.required)return n();hP.required(e,t,r,a,o,i),qc(t,i)||hP.type(e,t,r,a,o)}n(a)},hex:bP,email:bP,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;hP.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(qc(t)&&!e.required)return n();hP.required(e,t,r,i,o)}n(i)}},vP=Qc(),_P=function(){function e(e){this.rules=null,this._messages=vP,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=Yc(Qc(),e)),this._messages},t.validate=function(t,n,r){var o,i,a,s,l,c,u=this;return void 0===n&&(n={}),void 0===r&&(r=function(){}),o=t,a=r,"function"==typeof(i=n)&&(a=i,i={}),this.rules&&0!==Object.keys(this.rules).length?(i.messages?((s=this.messages())===vP&&(s=Qc()),Yc(s,i.messages),i.messages=s):i.messages=this.messages(),l={},(i.keys||Object.keys(this.rules)).forEach((function(e){var n=o[e];u.rules[e].forEach((function(r){var i=r;"function"==typeof i.transform&&(o===t&&(o=zc({},o)),n=o[e]=i.transform(n)),(i="function"==typeof i?{validator:i}:zc({},i)).validator=u.getValidationMethod(i),i.validator&&(i.field=e,i.fullField=i.fullField||e,i.type=u.getType(i),l[e]=l[e]||[],l[e].push({rule:i,value:n,source:o,field:e}))}))})),c={},function(e,t,n,r,o){var i,a,s,l,c,u,d;return t.first?(i=new Promise((function(t,i){var a=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}(e);Xc(a,n,(function(e){return r(e),e.length?i(new sP(e,Vc(e))):t(o)}))})),i.catch((function(e){return e})),i):(a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],d=new Promise((function(t,i){var d=function(e){if(u.push.apply(u,e),++c===l)return r(u),u.length?i(new sP(u,Vc(u))):t(o)};s.length||(r(u),t(o)),s.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?Xc(r,n,d):function(e,t,n){function r(e){o.push.apply(o,e||[]),++i===a&&n(o)}var o=[],i=0,a=e.length;e.forEach((function(e){t(e,r)}))}(r,n,d)}))})),d.catch((function(e){return e})),d)}(l,i,(function(t,n){function r(e,t){return zc({},t,{fullField:l.fullField+"."+e,fullFields:l.fullFields?[].concat(l.fullFields,[e]):[e]})}function a(a){var s,d,p,f,m;if(void 0===a&&(a=[]),s=Array.isArray(a)?a:[a],!i.suppressWarning&&s.length&&e.warning("async-validator:",s),s.length&&void 0!==l.message&&(s=[].concat(l.message)),d=s.map(Kc(l,o)),i.first&&d.length)return c[l.field]=1,n(d);if(u){if(l.required&&!t.value)return void 0!==l.message?d=[].concat(l.message).map(Kc(l,o)):i.error&&(d=[i.error(l,Gc(i.messages.required,l.field))]),n(d);p={},l.defaultField&&Object.keys(t.value).map((function(e){p[e]=l.defaultField})),p=zc({},p,t.rule.fields),f={},Object.keys(p).forEach((function(e){var t=p[e],n=Array.isArray(t)?t:[t];f[e]=n.map(r.bind(null,e))})),(m=new e(f)).messages(i.messages),t.rule.options&&(t.rule.options.messages=i.messages,t.rule.options.error=i.error),m.validate(t.value,t.rule.options||i,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(d)}var s,l=t.rule,u=!("object"!==l.type&&"array"!==l.type||"object"!=typeof l.fields&&"object"!=typeof l.defaultField);if(u=u&&(l.required||!l.required&&t.value),l.field=t.field,l.asyncValidator)s=l.asyncValidator(l,t.value,a,t.source,i);else if(l.validator){try{s=l.validator(l,t.value,a,t.source,i)}catch(d){console,i.suppressValidatorError||setTimeout((function(){throw d}),0),a(d.message)}!0===s?a():!1===s?a("function"==typeof l.message?l.message(l.fullField||l.field):l.message||(l.fullField||l.field)+" fails"):s instanceof Array?a(s):s instanceof Error&&a(s.message)}s&&s.then&&s.then((function(){return a()}),(function(e){return a(e)}))}),(function(e){!function(e){var t,n,r,i=[],s={};for(t=0;t0&&void 0!==e?e:EP;r.validatePromise===l&&(r.validatePromise=null,n=[],o=[],null===(t=i.forEach)||void 0===t||t.call(i,(function(e){var t=e.errors,r=void 0===t?EP:t;e.rule.warningOnly?o.push.apply(o,ka(r)):n.push.apply(n,ka(r))})),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender())})),d):[]}));return s||(r.validatePromise=l,r.dirty=!0,r.errors=EP,r.warnings=EP,r.triggerMetaEvent(),r.reRender()),l},r.isFieldValidating=function(){return!!r.validatePromise},r.isFieldTouched=function(){return r.touched},r.isFieldDirty=function(){return!(!r.dirty&&void 0===r.props.initialValue)||void 0!==(0,r.props.fieldContext.getInternalHooks(tP).getInitialValue)(r.getNamePath())},r.getErrors=function(){return r.errors},r.getWarnings=function(){return r.warnings},r.isListField=function(){return r.props.isListField},r.isList=function(){return r.props.isList},r.isPreserve=function(){return r.props.preserve},r.getMeta=function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}},r.getOnlyChild=function(e){var t,n;return"function"==typeof e?(t=r.getMeta(),Sa(Sa({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})):1===(n=Ls(e)).length&&mv.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},r.getValue=function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return el(e||t(!0),n)},r.getControlled=function(e){var t=arguments.length>0&&void 0!==e?e:{},n=r.props,o=n.trigger,i=n.validateTrigger,a=n.getValueFromEvent,s=n.normalize,l=n.valuePropName,c=n.getValueProps,u=n.fieldContext,d=void 0!==i?i:u.validateTrigger,p=r.getNamePath(),f=u.getFieldsValue,m=(0,u.getInternalHooks)(tP).dispatch,g=r.getValue(),h=c||function(e){return Ci({},l,e)},b=t[o],y=Sa(Sa({},t),h(g));return y[o]=function(){var e,t,n,o;for(r.touched=!0,r.dirty=!0,r.triggerMetaEvent(),t=arguments.length,n=new Array(t),o=0;o=0&&t<=n.length?(c.keys=[].concat(ka(c.keys.slice(0,t)),[c.id],ka(c.keys.slice(t))),o([].concat(ka(n.slice(0,t)),[e],ka(n.slice(t))))):(c.keys=[].concat(ka(c.keys),[c.id]),o([].concat(ka(n),[e]))),c.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(c.keys=c.keys.filter((function(e,t){return!n.has(t)})),o(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(c.keys=cu(c.keys,e,t),o(cu(n,e,t)))}}},d=(void 0===n?[]:n)||[];return Array.isArray(d)||(d=[]),r(d.map((function(e,t){var n=c.keys[t];return void 0===n&&(c.keys[t]=c.id,n=c.keys[t],c.id+=1),{name:t,key:n,isListField:!0}})),l,t)}))))},$P="__@field_split__",jP=function(){function e(){Oi(this,e),this.kvs=new Map}return ji(e,[{key:"set",value:function(e,t){this.kvs.set(pu(e),t)}},{key:"get",value:function(e){return this.kvs.get(pu(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(pu(e))}},{key:"map",value:function(e){return ka(this.kvs.entries()).map((function(t){var n=Va(t,2),r=n[1],o=n[0].split($P);return e({key:o.map((function(e){var t=Va(e.match(/^([^:]*):(.*)$/),3),n=t[2];return"number"===t[1]?Number(n):n})),value:r})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.value;return e[t.key.join(".")]=n,null})),e}}]),e}(),PP=["name"],NP=ji((function e(t){var n=this;Oi(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===tP?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(ja(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.prevWithoutPreserves=null,this.setInitialValues=function(e,t){var r,o;n.initialValues=e||{},t&&(o=ol(e,n.store),null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;o=nl(o,n,el(e,n))})),n.prevWithoutPreserves=null,n.updateStore(o))},this.destroyForm=function(){var e=new jP;n.getFieldEntities(!0).forEach((function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)})),n.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=el(n.initialValues,e);return e.length?ol(t):t},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.watchList=[],this.registerWatch=function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}},this.notifyWatch=function(e){var t,r,o=arguments.length>0&&void 0!==e?e:[];n.watchList.length&&(t=n.getFieldsValue(),r=n.getFieldsValue(!0),n.watchList.forEach((function(e){e(t,r,o)})))},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(e){n.store=e},this.getFieldEntities=function(e){return arguments.length>0&&void 0!==e&&e?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities},this.getFieldsMap=function(e){var t=arguments.length>0&&void 0!==e&&e,r=new jP;return n.getFieldEntities(t).forEach((function(e){var t=e.getNamePath();r.set(t,e)})),r},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=ou(e);return t.get(n)||{INVALIDATE_NAME_PATH:ou(e)}}))},this.getFieldsValue=function(e,t){var r,o;return n.warningUnhooked(),!0!==e||t?(r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),o=[],r.forEach((function(n){var r,i,a="INVALIDATE_NAME_PATH"in n?n.INVALIDATE_NAME_PATH:n.getNamePath();!e&&(null===(r=n.isListField)||void 0===r?void 0:r.call(n))||(t?(i="getMeta"in n?n.getMeta():null,t(i)&&o.push(a)):o.push(a))})),iu(n.store,o.map(ou))):n.store},this.getFieldValue=function(e){n.warningUnhooked();var t=ou(e);return el(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:ou(e[n]),errors:[],warnings:[]}}))},this.getFieldError=function(e){var t;return n.warningUnhooked(),t=ou(e),n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){var t;return n.warningUnhooked(),t=ou(e),n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){var e,t,r,o,i,a,s,l,c,u,d,p;for(n.warningUnhooked(),e=arguments.length,t=new Array(e),r=0;r0&&void 0!==e?e:{},i=new jP,a=n.getFieldEntities(!0);a.forEach((function(e){var t,n=e.props.initialValue,r=e.getNamePath();void 0!==n&&((t=i.get(r)||new Set).add({entity:e,value:n}),i.set(r,t))})),t=function(e){e.forEach((function(e){var t,r,a;void 0!==e.props.initialValue&&(t=e.getNamePath(),void 0!==n.getInitialValue(t)?ja(!1,"Form already set 'initialValues' with path '".concat(t.join("."),"'. Field can not overwrite it.")):(r=i.get(t))&&r.size>1?ja(!1,"Multiple Field with path '".concat(t.join("."),"' set 'initialValue'. Can not decide which one to pick.")):r&&(a=n.getFieldValue(t),o.skipExist&&void 0!==a||n.updateStore(nl(n.store,t,ka(r)[0].value))))}))},o.entities?r=o.entities:o.namePathList?(r=[],o.namePathList.forEach((function(e){var t,n=i.get(e);n&&(t=r).push.apply(t,ka(ka(n).map((function(e){return e.entity}))))}))):r=a,t(r)},this.resetFields=function(e){var t,r;if(n.warningUnhooked(),t=n.store,!e)return n.updateStore(ol(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();(r=e.map(ou)).forEach((function(e){var t=n.getInitialValue(e);n.updateStore(nl(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)},this.setFields=function(e){var t,r;n.warningUnhooked(),t=n.store,r=[],e.forEach((function(e){var o=e.name,i=Ei(e,PP),a=ou(o);r.push(a),"value"in i&&n.updateStore(nl(n.store,a,i.value)),n.notifyObservers(t,[a],{type:"setField",data:e})})),n.notifyWatch(r)},this.getFields=function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=Sa(Sa({},e.getMeta()),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(r,"originRCField",{value:!0}),r}))},this.initEntityValue=function(e){var t,r=e.props.initialValue;void 0!==r&&(t=e.getNamePath(),void 0===el(n.store,t)&&n.updateStore(nl(n.store,t,r)))},this.isMergedPreserve=function(e){var t=void 0!==e?e:n.preserve;return null==t||t},this.registerField=function(e){var t,r;return n.fieldEntities.push(e),t=e.getNamePath(),n.notifyWatch([t]),void 0!==e.props.initialValue&&(r=n.store,n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})),function(r,o,i){var a,s,l=arguments.length>2&&void 0!==i?i:[];n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),n.isMergedPreserve(o)||r&&!(l.length>1)||(a=r?void 0:n.getInitialValue(t),t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!su(e.getNamePath(),t)}))&&(n.updateStore(nl(s=n.store,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t))),n.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":n.updateValue(e.namePath,e.value);break;case"validateField":n.validateFields([e.namePath],{triggerName:e.triggerName})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var o=Sa(Sa({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat(ka(r))}),r},this.updateValue=function(e,t){var r,o,i=ou(e),a=n.store;n.updateStore(nl(n.store,i,t)),n.notifyObservers(a,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]),r=n.triggerDependenciesUpdate(a,i),(o=n.callbacks.onValuesChange)&&o(iu(n.store,[i]),n.getFieldsValue()),n.triggerOnFieldsChange([i].concat(ka(r)))},this.setFieldsValue=function(e){var t,r;n.warningUnhooked(),t=n.store,e&&(r=ol(n.store,e),n.updateStore(r)),n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(e,t){n.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],o=new jP;return n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=ou(t);o.update(n,(function(t){var n=arguments.length>0&&void 0!==t?t:new Set;return n.add(e),n}))}))})),function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r},this.triggerOnFieldsChange=function(e,t){var r,o,i,a=n.callbacks.onFieldsChange;a&&(r=n.getFields(),t&&(o=new jP,t.forEach((function(e){o.set(e.name,e.errors)})),r.forEach((function(e){e.errors=o.get(e.name)||e.errors}))),(i=r.filter((function(t){return au(e,t.name)}))).length&&a(i,r))},this.validateFields=function(e,t){var r,o,i,a,s,l,c,u,d,p;return n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e,a=(i=!!r)?r.map(ou):[],s=[],l=String(Date.now()),c=new Set,n.getFieldEntities(!0).forEach((function(e){var t,u,d,p;i||a.push(e.getNamePath()),(null===(t=o)||void 0===t?void 0:t.recursive)&&i&&(u=e.getNamePath()).every((function(e,t){return r[t]===e||void 0===r[t]}))&&a.push(u),e.props.rules&&e.props.rules.length&&(d=e.getNamePath(),c.add(d.join(l)),i&&!au(a,d)||(p=e.validateRules(Sa({validateMessages:Sa(Sa({},kP),n.validateMessages)},o)),s.push(p.then((function(){return{name:d,errors:[],warnings:[]}})).catch((function(e){var t,n=[],r=[];return null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.errors;e.rule.warningOnly?r.push.apply(r,ka(t)):n.push.apply(n,ka(t))})),n.length?Promise.reject({name:d,errors:n,warnings:r}):{name:d,errors:n,warnings:r}})))))})),u=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(s),n.lastValidatePromise=u,u.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)})),(d=u.then((function(){return n.lastValidatePromise===u?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==u})}))).catch((function(e){return e})),p=a.filter((function(e){return c.has(e.join(l))})),n.triggerOnFieldsChange(p),d},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t})),TP=mv.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),IP=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,o=e.children,i=mv.useContext(TP),a=mv.useRef({});return mv.createElement(TP.Provider,{value:Sa(Sa({},i),{},{validateMessages:Sa(Sa({},i.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:a.current}),i.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:a.current}),i.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(a.current=Sa(Sa({},a.current),{},Ci({},e,t))),i.registerForm(e,t)},unregisterForm:function(e){var t=Sa({},a.current);delete t[e],a.current=t,i.unregisterForm(e)}})},o)},AP=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],RP=function(e,t){var n,r,o,i,a,s,l=e.name,c=e.initialValues,u=e.fields,d=e.form,p=e.preserve,f=e.children,m=e.component,g=void 0===m?"form":m,h=e.validateMessages,b=e.validateTrigger,y=void 0===b?"onChange":b,v=e.onValuesChange,_=e.onFieldsChange,w=e.onFinish,k=e.onFinishFailed,x=Ei(e,AP),S=mv.useContext(TP),C=Va(fu(d),1)[0],E=C.getInternalHooks(tP),D=E.useSubscribe,O=E.setInitialValues,$=E.setCallbacks,j=E.setValidateMessages,P=E.setPreserve,N=E.destroyForm;return mv.useImperativeHandle(t,(function(){return C})),mv.useEffect((function(){return S.registerForm(l,C),function(){S.unregisterForm(l)}}),[S,C,l]),j(Sa(Sa({},S.validateMessages),h)),$({onValuesChange:v,onFieldsChange:function(e){if(S.triggerFormChange(l,e),_){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{}}),m2=mv.createContext(null),g2=e=>{const t=Qs(e,["prefixCls"]);return mv.createElement(IP,Object.assign({},t))},h2=mv.createContext({prefixCls:""}),b2=mv.createContext({}),y2=e=>{let{children:t,status:n,override:r}=e;const o=mv.useContext(b2),i=mv.useMemo((()=>{const e=Object.assign({},o);return r&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,r,o]);return mv.createElement(b2.Provider,{value:i},t)},v2=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:o,onOk:i,onCancel:a,okButtonProps:s,cancelButtonProps:l}=e,[c]=xZ("Modal",al());return jJ.createElement(jJ.Fragment,null,jJ.createElement(T1,Object.assign({onClick:a},l),r||(null==c?void 0:c.cancelText)),jJ.createElement(T1,Object.assign({},jc(n),{loading:o,onClick:i},s),t||(null==c?void 0:c.okText)))},_2=e=>({animationDuration:e,animationFillMode:"both"}),w2=e=>({animationDuration:e,animationFillMode:"both"}),k2=function(e,t,n,r,o){const i=arguments.length>4&&void 0!==o&&o?"&":"";return{[`\n ${i}${e}-enter,\n ${i}${e}-appear\n `]:Object.assign(Object.assign({},_2(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},w2(r)),{animationPlayState:"paused"}),[`\n ${i}${e}-enter${e}-enter-active,\n ${i}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},x2=new NO("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),S2=new NO("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),C2=function(e,t){let n=arguments.length>1&&void 0!==t&&t;const{antCls:r}=e,o=`${r}-fade`,i=n?"&":"";return[k2(o,x2,S2,e.motionDurationMid,n),{[`\n ${i}${o}-enter,\n ${i}${o}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${o}-leave`]:{animationTimingFunction:"linear"}}]},E2=new NO("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),D2=new NO("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),O2=new NO("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),$2=new NO("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),j2=new NO("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),P2=new NO("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),N2={"move-up":{inKeyframes:new NO("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new NO("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:E2,outKeyframes:D2},"move-left":{inKeyframes:O2,outKeyframes:$2},"move-right":{inKeyframes:j2,outKeyframes:P2}},T2=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=N2[t];return[k2(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},I2=new NO("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),A2=new NO("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),R2=new NO("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),F2=new NO("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),M2=new NO("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),L2=new NO("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),z2=new NO("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),B2=new NO("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),H2={"slide-up":{inKeyframes:I2,outKeyframes:A2},"slide-down":{inKeyframes:R2,outKeyframes:F2},"slide-left":{inKeyframes:M2,outKeyframes:L2},"slide-right":{inKeyframes:z2,outKeyframes:B2}},U2=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=H2[t];return[k2(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},W2=new NO("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),V2=new NO("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),G2=new NO("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),q2=new NO("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),X2=new NO("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),K2=new NO("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Y2=new NO("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),Q2=new NO("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),J2=new NO("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),Z2=new NO("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),e5=new NO("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),t5=new NO("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),n5={zoom:{inKeyframes:W2,outKeyframes:V2},"zoom-big":{inKeyframes:G2,outKeyframes:q2},"zoom-big-fast":{inKeyframes:G2,outKeyframes:q2},"zoom-left":{inKeyframes:Y2,outKeyframes:Q2},"zoom-right":{inKeyframes:J2,outKeyframes:Z2},"zoom-up":{inKeyframes:X2,outKeyframes:K2},"zoom-down":{inKeyframes:e5,outKeyframes:t5}},r5=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=n5[t];return[k2(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},o5=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),i5=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},bu("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},bu("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:C2(e)}]},a5=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},UZ(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${2*e.margin}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:Object.assign({position:"absolute",top:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},qZ(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},s5=e=>{const{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls},\n ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},l5=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},c5=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[r]:{[`${n}-modal-body`]:{padding:`${2*e.padding}px ${2*e.padding}px ${e.paddingLG}px`},[`${r}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${r}-title + ${r}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${r}-btns`]:{marginTop:e.marginLG}}}},u5=Ml("Modal",(e=>{const t=e.padding,n=Rl(e,{modalBodyPadding:e.paddingLG,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderHeight:e.lineHeightHeading5*e.fontSizeHeading5+2*t,modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontSize*e.lineHeight,modalConfirmIconSize:e.fontSize*e.lineHeight});return[a5(n),s5(n),l5(n),i5(n),e.wireframe&&c5(n),r5(n,"zoom")]}),(e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading})));let d5;MP=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{d5={x:e.pageX,y:e.pageY},setTimeout((()=>{d5=null}),100)}),!0);const p5=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:o,modal:i}=mv.useContext(zZ),a=t=>{const{onCancel:n}=e;null==n||n(t)},{prefixCls:s,className:l,rootClassName:c,open:u,wrapClassName:d,centered:p,getContainer:f,closeIcon:m,closable:g,focusTriggerAfterClose:h=!0,style:b,visible:y,width:v=520,footer:_}=e,w=MP(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),k=r("modal",s),x=r(),[S,C]=u5(k),E=mZ(d,{[`${k}-centered`]:!!p,[`${k}-wrap-rtl`]:"rtl"===o}),D=void 0===_?mv.createElement(v2,Object.assign({},e,{onOk:t=>{const{onOk:n}=e;null==n||n(t)},onCancel:a})):_,[O,$]=Mc(g,m,(e=>hu(k,e)),mv.createElement(v0,{className:`${k}-close-icon`}),!0);return S(mv.createElement(J0,null,mv.createElement(y2,{status:!0,override:!0},mv.createElement(eP,Object.assign({width:v},w,{getContainer:void 0===f?n:f,prefixCls:k,rootClassName:mZ(C,c),wrapClassName:E,footer:D,visible:null!=u?u:y,mousePosition:null!==(t=w.mousePosition)&&void 0!==t?t:d5,onClose:a,closable:O,closeIcon:$,focusTriggerAfterClose:h,transitionName:B1(x,"zoom",e.transitionName),maskTransitionName:B1(x,"fade",e.maskTransitionName),className:mZ(C,l,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),b)})))))},f5=e=>{const{close:t,zIndex:n,afterClose:r,open:o,keyboard:i,centered:a,getContainer:s,maskStyle:l,direction:c,prefixCls:u,wrapClassName:d,rootPrefixCls:p,iconPrefixCls:f,theme:m,bodyStyle:g,closable:h=!1,closeIcon:b,modalRender:y,focusTriggerAfterClose:v}=e,_=`${u}-confirm`,w=e.width||416,k=e.style||{},x=void 0===e.mask||e.mask,S=void 0!==e.maskClosable&&e.maskClosable,C=mZ(_,`${_}-${e.type}`,{[`${_}-rtl`]:"rtl"===c},e.className);return mv.createElement(d0,{prefixCls:p,iconPrefixCls:f,direction:c,theme:m},mv.createElement(p5,{prefixCls:u,className:C,wrapClassName:mZ({[`${_}-centered`]:!!e.centered},d),onCancel:()=>null==t?void 0:t({triggerCancel:!0}),open:o,title:"",footer:null,transitionName:B1(p,"zoom",e.transitionName),maskTransitionName:B1(p,"fade",e.maskTransitionName),mask:x,maskClosable:S,maskStyle:l,style:k,bodyStyle:g,width:w,zIndex:n,afterClose:r,keyboard:i,centered:a,getContainer:s,closable:h,closeIcon:b,modalRender:y,focusTriggerAfterClose:v},mv.createElement(yu,Object.assign({},e,{confirmPrefixCls:_}))))},m5=[];LP=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{afterClose:n,config:r}=e;var o;const[i,a]=mv.useState(!0),[s,l]=mv.useState(r),{direction:c,getPrefixCls:u}=mv.useContext(zZ),d=u("modal"),p=u(),f=function(){a(!1);for(var e=arguments.length,t=new Array(e),n=0;ne&&e.triggerCancel));s.onCancel&&r&&s.onCancel.apply(s,[()=>{}].concat(ka(t.slice(1))))};mv.useImperativeHandle(t,(()=>({destroy:f,update:e=>{l((t=>Object.assign(Object.assign({},t),e)))}})));const m=null!==(o=s.okCancel)&&void 0!==o?o:"confirm"===s.type,[g]=xZ("Modal",_Z.Modal);return mv.createElement(f5,Object.assign({prefixCls:d,rootPrefixCls:p},s,{close:f,open:i,afterClose:()=>{var e;n(),null===(e=s.afterClose)||void 0===e||e.call(s)},okText:s.okText||(m?null==g?void 0:g.okText:null==g?void 0:g.justOkText),direction:s.direction||c,cancelText:s.cancelText||(null==g?void 0:g.cancelText)}))},b5=mv.forwardRef(h5);let y5=0;const v5=mv.memo(mv.forwardRef(((e,t)=>{const[n,r]=function(){const[e,t]=mv.useState([]);return[e,mv.useCallback((e=>(t((t=>[].concat(ka(t),[e]))),()=>{t((t=>t.filter((t=>t!==e))))})),[])]}();return mv.useImperativeHandle(t,(()=>({patchElement:r})),[]),mv.createElement(mv.Fragment,null,n)}))),_5=e=>{const{componentCls:t,width:n,notificationMarginEdge:r}=e;return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new NO("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}})}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new NO("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}})}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:r,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new NO("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}})}}}},w5=e=>{const{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:o,notificationMarginBottom:i,borderRadiusLG:a,colorSuccess:s,colorInfo:l,colorWarning:c,colorError:u,colorTextHeading:d,notificationBg:p,notificationPadding:f,notificationMarginEdge:m,motionDurationMid:g,motionEaseInOut:h,fontSize:b,lineHeight:y,width:v,notificationIconSize:_,colorText:w}=e,k=`${n}-notice`,x=new NO("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:v},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),S=new NO("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:i,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),C={position:"relative",width:v,maxWidth:`calc(100vw - ${2*m}px)`,marginBottom:i,marginInlineStart:"auto",padding:f,overflow:"hidden",lineHeight:y,wordWrap:"break-word",background:p,borderRadius:a,boxShadow:r,[`${n}-close-icon`]:{fontSize:b,cursor:"pointer"},[`${k}-message`]:{marginBottom:e.marginXS,color:d,fontSize:o,lineHeight:e.lineHeightLG},[`${k}-description`]:{fontSize:b,color:w},[`&${k}-closable ${k}-message`]:{paddingInlineEnd:e.paddingLG},[`${k}-with-icon ${k}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+_,fontSize:o},[`${k}-with-icon ${k}-description`]:{marginInlineStart:e.marginSM+_,fontSize:b},[`${k}-icon`]:{position:"absolute",fontSize:_,lineHeight:0,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:l},[`&-warning${t}`]:{color:c},[`&-error${t}`]:{color:u}},[`${k}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${k}-btn`]:{float:"right",marginTop:e.marginSM}};return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},UZ(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:m,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[k]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[k]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:h,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:h,animationFillMode:"both",animationDuration:g,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:x,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:S,animationPlayState:"running"}}),_5(e)),{"&-rtl":{direction:"rtl",[`${k}-btn`]:{float:"left"}}})},{[n]:{[k]:Object.assign({},C)}},{[`${k}-pure-panel`]:Object.assign(Object.assign({},C),{margin:0})}]},k5=Ml("Notification",(e=>{const t=Rl(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:e.paddingMD,notificationPaddingHorizontal:e.paddingLG,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:.55*e.controlHeightLG,notificationMarginBottom:e.margin,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginEdge:e.marginLG,animationMaxHeight:150});return[w5(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50,width:384})));zP=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,icon:n,type:r,message:o,description:i,btn:a,role:s="alert"}=e;let l=null;return n?l=mv.createElement("span",{className:`${t}-icon`},n):r&&(l=mv.createElement(x5[r]||null,{className:mZ(`${t}-icon`,`${t}-icon-${r}`)})),mv.createElement("div",{className:mZ({[`${t}-with-icon`]:l}),role:s},l,mv.createElement("div",{className:`${t}-message`},o),mv.createElement("div",{className:`${t}-description`},i),a&&mv.createElement("div",{className:`${t}-btn`},a))};BP=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{top:n,bottom:r,prefixCls:o,getContainer:i,maxCount:a,rtl:s,onAllRemoved:l}=e,{getPrefixCls:c,getPopupContainer:u,notification:d}=mv.useContext(zZ),p=o||c("notification"),[,f]=k5(p),[m,g]=lc({prefixCls:p,style:e=>function(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n}}return r}(e,null!=n?n:24,null!=r?r:24),className:()=>mZ(f,{[`${p}-rtl`]:s}),motion:()=>function(e){return{motionName:`${e}-fade`}}(p),closable:!0,closeIcon:Eu(p),duration:4.5,getContainer:()=>(null==i?void 0:i())||(null==u?void 0:u())||document.body,maxCount:a,onAllRemoved:l});return mv.useImperativeHandle(t,(()=>Object.assign(Object.assign({},m),{prefixCls:p,hashId:f,notification:d}))),g})),D5=jJ.createContext({}),O5=jJ.createContext({message:{},notification:{},modal:{}}),$5=e=>{const{componentCls:t,colorText:n,fontSize:r,lineHeight:o,fontFamily:i}=e;return{[t]:{color:n,fontSize:r,lineHeight:o,fontFamily:i}}},j5=Ml("App",(e=>[$5(e)])),P5=e=>{const{prefixCls:t,children:n,className:r,rootClassName:o,message:i,notification:a,style:s}=e,{getPrefixCls:l}=mv.useContext(zZ),c=l("app",t),[u,d]=j5(c),p=mZ(d,c,r,o),f=mv.useContext(D5),m=jJ.useMemo((()=>({message:Object.assign(Object.assign({},f.message),i),notification:Object.assign(Object.assign({},f.notification),a)})),[i,a,f.message,f.notification]),[g,h]=dc(m.message),[b,y]=Ou(m.notification),[v,_]=Cu(),w=jJ.useMemo((()=>({message:g,notification:b,modal:v})),[g,b,v]);return u(jJ.createElement(O5.Provider,{value:w},jJ.createElement(D5.Provider,{value:m},jJ.createElement("div",{className:p,style:s},_,h,y,n))))};P5.useApp=()=>jJ.useContext(O5);const N5=P5,T5=function(){if("undefined"==typeof navigator||"undefined"==typeof window)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(null==e?void 0:e.substr(0,4))};HP=mv.createContext(null),UP=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],WP=void 0,(VP=mv.forwardRef(ju)).displayName="Item",GP=jJ.createContext(null),qP=["component"],XP=["className"],KP=["className"],YP=function(e,t){var n,r,o,i,a,s,l,c=mv.useContext(GP);return c?(i=c.className,a=Ei(c,XP),s=e.className,l=Ei(e,KP),mv.createElement(GP.Provider,{value:null},mv.createElement(VP,fa({ref:t,className:mZ(i,s)},a,l)))):(r=void 0===(n=e.component)?"div":n,o=Ei(e,qP),mv.createElement(r,fa({},o,{ref:t})))},(QP=mv.forwardRef(YP)).displayName="RawItem",JP=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ZP="responsive",eN="invalidate",(tN=mv.forwardRef(Tu)).displayName="Overflow",tN.Item=QP,tN.RESPONSIVE=ZP,tN.INVALIDATE=eN,nN=function(e){var t,n=e.className,r=e.customizeIcon,o=e.onMouseDown,i=e.onClick,a=e.children;return t="function"==typeof r?r(e.customizeIconProps):r,mv.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),o&&o(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},void 0!==t?t:mv.createElement("span",{className:mZ(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},a))},(rN=mv.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=e.id,a=e.disabled,s=e.tabIndex,l=e.autoFocus,c=e.autoComplete,u=e.editable,d=e.activeDescendantId,p=e.value,f=e.maxLength,m=e.onKeyDown,g=e.onMouseDown,h=e.onChange,b=e.onPaste,y=e.onCompositionStart,v=e.onCompositionEnd,_=e.open,w=e.attrs,k=e.inputElement||mv.createElement("input",null),x=k.ref,S=k.props,C=S.onKeyDown,E=S.onChange,D=S.onMouseDown,O=S.onCompositionStart,$=S.onCompositionEnd,j=S.style;return mv.cloneElement(k,Sa(Sa(Sa({type:"search"},S),{},{id:i,ref:Bs(t,x),disabled:a,tabIndex:s,autoComplete:c||"off",autoFocus:l,className:mZ("".concat(o,"-selection-search-input"),null===(n=k)||void 0===n||null===(r=n.props)||void 0===r?void 0:r.className),role:"combobox","aria-expanded":_,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":d},w),{},{value:u?p:"",maxLength:f,readOnly:!u,unselectable:u?null:"on",style:Sa(Sa({},j),{},{opacity:u?null:0}),onKeyDown:function(e){m(e),C&&C(e)},onMouseDown:function(e){g(e),D&&D(e)},onChange:function(e){h(e),E&&E(e)},onCompositionStart:function(e){y(e),O&&O(e)},onCompositionEnd:function(e){v(e),$&&$(e)},onPaste:b}))}))).displayName="Input",oN="undefined"!=typeof window&&window.document&&window.document.documentElement,iN=oN,aN=function(e){e.preventDefault(),e.stopPropagation()},sN=function(e){function t(e,t,n,r,o){return mv.createElement("span",{className:mZ("".concat(H,"-item"),Ci({},"".concat(H,"-item-disabled"),n)),title:Ru(e)},mv.createElement("span",{className:"".concat(H,"-item-content")},t),r&&mv.createElement(nN,{className:"".concat(H,"-item-remove"),onMouseDown:aN,onClick:o,customizeIcon:w},"×"))}var n,r,o,i,a=e.id,s=e.prefixCls,l=e.values,c=e.open,u=e.searchValue,d=e.autoClearSearchValue,p=e.inputRef,f=e.placeholder,m=e.disabled,g=e.mode,h=e.showSearch,b=e.autoFocus,y=e.autoComplete,v=e.activeDescendantId,_=e.tabIndex,w=e.removeIcon,k=e.maxTagCount,x=e.maxTagTextLength,S=e.maxTagPlaceholder,C=void 0===S?function(e){return"+ ".concat(e.length," ...")}:S,E=e.tagRender,D=e.onToggleOpen,O=e.onRemove,$=e.onInputChange,j=e.onInputPaste,P=e.onInputKeyDown,N=e.onInputMouseDown,T=e.onInputCompositionStart,I=e.onInputCompositionEnd,A=mv.useRef(null),R=Va(mv.useState(0),2),F=R[0],M=R[1],L=Va(mv.useState(!1),2),z=L[0],B=L[1],H="".concat(s,"-selection"),U=c||"multiple"===g&&!1===d||"tags"===g?u:"",W="tags"===g||"multiple"===g&&!1===d||h&&(c||z);return o=function(){M(A.current.scrollWidth)},i=[U],iN?mv.useLayoutEffect(o,i):mv.useEffect(o,i),n=mv.createElement("div",{className:"".concat(H,"-search"),style:{width:F},onFocus:function(){B(!0)},onBlur:function(){B(!1)}},mv.createElement(rN,{ref:p,open:c,prefixCls:s,id:a,inputElement:null,disabled:m,autoFocus:b,autoComplete:y,editable:W,activeDescendantId:v,value:U,onKeyDown:P,onMouseDown:N,onChange:$,onPaste:j,onCompositionStart:T,onCompositionEnd:I,tabIndex:_,attrs:ic(e,!0)}),mv.createElement("span",{ref:A,className:"".concat(H,"-search-mirror"),"aria-hidden":!0},U," ")),r=mv.createElement(tN,{prefixCls:"".concat(H,"-overflow"),data:l,renderItem:function(e){var n,r,o=e.disabled,i=e.label,a=e.value,s=!m&&!o,l=i;return"number"==typeof x&&("string"!=typeof i&&"number"!=typeof i||(n=String(l)).length>x&&(l="".concat(n.slice(0,x),"..."))),r=function(t){t&&t.stopPropagation(),O(e)},"function"==typeof E?function(e,t,n,r,o){return mv.createElement("span",{onMouseDown:function(e){aN(e),D(!c)}},E({label:t,value:e,disabled:n,closable:r,onClose:o}))}(a,l,o,s,r):t(e,l,o,s,r)},renderRest:function(e){var n="function"==typeof C?C(e):C;return t({title:n},n,!1)},suffix:n,itemKey:Fu,maxCount:k}),mv.createElement(mv.Fragment,null,r,!l.length&&!U&&mv.createElement("span",{className:"".concat(H,"-placeholder")},f))},lN=function(e){var t,n,r,o=e.inputElement,i=e.prefixCls,a=e.id,s=e.inputRef,l=e.disabled,c=e.autoFocus,u=e.autoComplete,d=e.activeDescendantId,p=e.mode,f=e.open,m=e.values,g=e.placeholder,h=e.tabIndex,b=e.showSearch,y=e.searchValue,v=e.activeValue,_=e.maxLength,w=e.onInputKeyDown,k=e.onInputMouseDown,x=e.onInputChange,S=e.onInputPaste,C=e.onInputCompositionStart,E=e.onInputCompositionEnd,D=e.title,O=Va(mv.useState(!1),2),$=O[1],j="combobox"===p,P=j||b,N=m[0],T=y||"";return j&&v&&!O[0]&&(T=v),mv.useEffect((function(){j&&$(!1)}),[j,v]),t=!("combobox"!==p&&!f&&!b||!T),n=void 0===D?Ru(N):D,r=function(){if(N)return null;var e=t?{visibility:"hidden"}:void 0;return mv.createElement("span",{className:"".concat(i,"-selection-placeholder"),style:e},g)},mv.createElement(mv.Fragment,null,mv.createElement("span",{className:"".concat(i,"-selection-search")},mv.createElement(rN,{ref:s,prefixCls:i,id:a,open:f,inputElement:o,disabled:l,autoFocus:c,autoComplete:u,editable:P,activeDescendantId:d,value:T,onKeyDown:w,onMouseDown:k,onChange:function(e){$(!0),x(e)},onPaste:S,onCompositionStart:C,onCompositionEnd:E,tabIndex:h,attrs:ic(e,!0),maxLength:j?_:void 0})),!j&&N?mv.createElement("span",{className:"".concat(i,"-selection-item"),title:n,style:t?{visibility:"hidden"}:void 0},N.label):null,r())},cN=function(e,t){var n,r,o,i,a,s,l,c,u,d,p=mv.useRef(null),f=mv.useRef(!1),m=e.prefixCls,g=e.open,h=e.mode,b=e.showSearch,y=e.tokenWithEnter,v=e.autoClearSearchValue,_=e.onSearch,w=e.onSearchSubmit,k=e.onToggleOpen,x=e.onInputKeyDown,S=e.domRef;return mv.useImperativeHandle(t,(function(){return{focus:function(){p.current.focus()},blur:function(){p.current.blur()}}})),n=Va($u(0),2),r=n[0],o=n[1],i=function(e){var t=e.which;t!==Ej.UP&&t!==Ej.DOWN||e.preventDefault(),x&&x(e),t!==Ej.ENTER||"tags"!==h||f.current||g||null==w||w(e.target.value),[Ej.ESC,Ej.SHIFT,Ej.BACKSPACE,Ej.TAB,Ej.WIN_KEY,Ej.ALT,Ej.META,Ej.WIN_KEY_RIGHT,Ej.CTRL,Ej.SEMICOLON,Ej.EQUALS,Ej.CAPS_LOCK,Ej.CONTEXT_MENU,Ej.F1,Ej.F2,Ej.F3,Ej.F4,Ej.F5,Ej.F6,Ej.F7,Ej.F8,Ej.F9,Ej.F10,Ej.F11,Ej.F12].includes(t)||k(!0)},a=function(){o(!0)},s=mv.useRef(null),l=function(e){!1!==_(e,!0,f.current)&&k(!0)},c=function(e){e.target!==p.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){p.current.focus()})):p.current.focus())},u=function(e){var t=r();e.target===p.current||t||"combobox"===h||e.preventDefault(),("combobox"===h||b&&t)&&g||(g&&!1!==v&&_("",!0,!1),k())},d=mv.createElement("multiple"===h||"tags"===h?sN:lN,fa({},e,{inputRef:p,onInputKeyDown:i,onInputMouseDown:a,onInputChange:function(e){var t,n=e.target.value;y&&s.current&&/[\r\n]/.test(s.current)&&(t=s.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," "),n=n.replace(t,s.current)),s.current=null,l(n)},onInputPaste:function(e){var t=e.clipboardData.getData("text");s.current=t},onInputCompositionStart:function(){f.current=!0},onInputCompositionEnd:function(e){f.current=!1,"combobox"!==h&&l(e.target.value)}})),mv.createElement("div",{ref:S,className:"".concat(m,"-selector"),onClick:c,onMouseDown:u},d)},(uN=mv.forwardRef(cN)).displayName="Selector",dN=mv.createContext(null),pN=mv.memo((function(e){return e.children}),(function(e,t){return t.cache})),fN=mv.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e.popup,u=e.className,d=e.prefixCls,p=e.style,f=e.target,m=e.onVisibleChanged,g=e.open,h=e.keepDom,b=e.onClick,y=e.mask,v=e.arrow,_=e.arrowPos,w=e.align,k=e.motion,x=e.maskMotion,S=e.forceRender,C=e.getPopupContainer,E=e.autoDestroy,D=e.portal,O=e.zIndex,$=e.onMouseEnter,j=e.onMouseLeave,P=e.ready,N=e.offsetX,T=e.offsetY,I=e.offsetR,A=e.offsetB,R=e.onAlign,F=e.onPrepare,M=e.stretch,L=e.targetWidth,z=e.targetHeight,B="function"==typeof c?c():c,H=g||h,U=(null==C?void 0:C.length)>0,W=Va(mv.useState(!C||!U),2),V=W[0],G=W[1];return QD((function(){!V&&U&&f&&G(!0)}),[V,U,f]),V?(r={left:"-1000vw",top:"-1000vh",right:n="auto",bottom:n},!P&&g||(o=w.points,s=(a=null==(i=w._experimental)?void 0:i.dynamicInset)&&"b"===o[0][0],a&&"r"===o[0][1]?(r.right=I,r.left=n):(r.left=N,r.right=n),s?(r.bottom=A,r.top=n):(r.top=T,r.bottom=n)),l={},M&&(M.includes("height")&&z?l.height=z:M.includes("minHeight")&&z&&(l.minHeight=z),M.includes("width")&&L?l.width=L:M.includes("minWidth")&&L&&(l.minWidth=L)),g||(l.pointerEvents="none"),mv.createElement(D,{open:S||H,getContainer:C&&function(){return C(f)},autoDestroy:E},mv.createElement(Ju,{prefixCls:d,open:g,zIndex:O,mask:y,motion:x}),mv.createElement(p$,{onResize:R,disabled:!g},(function(e){return mv.createElement(r0,fa({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:S,leavedClassName:"".concat(d,"-hidden")},k,{onAppearPrepare:F,onEnterPrepare:F,visible:g,onVisibleChanged:function(e){var t;null==k||null===(t=k.onVisibleChanged)||void 0===t||t.call(k,e),m(e)}}),(function(n,o){var i=n.style,a=mZ(d,n.className,u);return mv.createElement("div",{ref:Bs(e,t,o),className:a,style:Sa(Sa(Sa(Sa({"--arrow-x":"".concat(_.x||0,"px"),"--arrow-y":"".concat(_.y||0,"px")},r),l),i),{},{boxSizing:"border-box",zIndex:O},p),onMouseEnter:$,onMouseLeave:j,onClick:b},v&&mv.createElement(Qu,{prefixCls:d,arrow:v,arrowPos:_,align:w}),mv.createElement(pN,{cache:!g},B))}))})))):null})),mN=mv.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=Us(n),i=Hs(mv.useCallback((function(e){zs(t,r?r(e):e)}),[r]),n.ref);return o?mv.cloneElement(n,{ref:i}):n})),gN=["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","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const I5=function(e){var t=arguments.length>0&&void 0!==e?e:Kj,n=mv.forwardRef((function(e,n){var r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,C,E,D,O,$,j,P,N,T,I,A,R,F,M,L,z,B,H,U,W,V,G,q,X,K,Y,Q,J,Z,ee,te,ne,re,oe,ie,ae,se,le,ce,ue,de,pe,fe,me,ge,he,be,ye,ve,_e,we,ke,xe,Se,Ce,Ee=e.prefixCls,De=void 0===Ee?"rc-trigger-popup":Ee,Oe=e.children,$e=e.action,je=void 0===$e?"hover":$e,Pe=e.showAction,Ne=e.hideAction,Te=e.popupVisible,Ie=e.defaultPopupVisible,Ae=e.onPopupVisibleChange,Re=e.afterPopupVisibleChange,Fe=e.mouseEnterDelay,Me=e.mouseLeaveDelay,Le=void 0===Me?.1:Me,ze=e.focusDelay,Be=e.blurDelay,He=e.mask,Ue=e.maskClosable,We=void 0===Ue||Ue,Ve=e.getPopupContainer,Ge=e.forceRender,qe=e.autoDestroy,Xe=e.destroyPopupOnHide,Ke=e.popup,Ye=e.popupClassName,Qe=e.popupStyle,Je=e.popupPlacement,Ze=e.builtinPlacements,et=void 0===Ze?{}:Ze,tt=e.popupAlign,nt=e.zIndex,rt=e.stretch,ot=e.getPopupClassNameFromAlign,it=e.alignPoint,at=e.onPopupClick,st=e.onPopupAlign,lt=e.arrow,ct=e.popupMotion,ut=e.maskMotion,dt=e.popupTransitionName,pt=e.popupAnimation,ft=e.maskTransitionName,mt=e.maskAnimation,gt=e.className,ht=e.getTriggerDOMNode,bt=Ei(e,gN),yt=qe||Xe||!1,vt=Va(mv.useState(!1),2),_t=vt[0],wt=vt[1];return QD((function(){wt(T5())}),[]),r=mv.useRef({}),o=mv.useContext(dN),i=mv.useMemo((function(){return{registerSubPopup:function(e,t){r.current[e]=t,null==o||o.registerSubPopup(e,t)}}}),[o]),a=Tc(),s=Va(mv.useState(null),2),l=s[0],c=s[1],u=Nl((function(e){Ws(e)&&l!==e&&c(e),null==o||o.registerSubPopup(a,e)})),d=Va(mv.useState(null),2),p=d[0],f=d[1],m=Nl((function(e){Ws(e)&&p!==e&&f(e)})),g=mv.Children.only(Oe),h=(null==g?void 0:g.props)||{},b={},y=Nl((function(e){var t,n,o=p;return(null==o?void 0:o.contains(e))||(null===(t=Ql(o))||void 0===t?void 0:t.host)===e||e===o||(null==l?void 0:l.contains(e))||(null===(n=Ql(l))||void 0===n?void 0:n.host)===e||e===l||Object.values(r.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),v=zu(De,ct,pt,dt),_=zu(De,ut,mt,ft),w=Va(mv.useState(Ie||!1),2),k=w[1],x=null!=Te?Te:w[0],S=Nl((function(e){void 0===Te&&k(e)})),QD((function(){k(Te||!1)}),[Te]),(C=mv.useRef(x)).current=x,E=Nl((function(e){x!==e&&(S(e),null==Ae||Ae(e))})),D=mv.useRef(),O=function(){clearTimeout(D.current)},$=function(e,t){var n=arguments.length>1&&void 0!==t?t:0;O(),0===n?E(e):D.current=setTimeout((function(){E(e)}),1e3*n)},mv.useEffect((function(){return O}),[]),j=Va(mv.useState(!1),2),P=j[0],N=j[1],QD((function(e){e&&!x||N(!0)}),[x]),T=Va(mv.useState(null),2),I=T[0],A=T[1],F=(R=Va(mv.useState([0,0]),2))[0],M=R[1],L=function(e){M([e.clientX,e.clientY])},z=function(e,t,n,r,o,i,a){var s,l,c,u=Va(mv.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),2),d=u[0],p=u[1],f=mv.useRef(0),m=mv.useMemo((function(){return t?Hu(t):[]}),[t]),g=mv.useRef({});return e||(g.current={}),s=Nl((function(){var s,l,c,u,d,f,h,b,y,v,_,w,k,x,S,C,E,D,O,$,j,P,N,T,I,A,R,F,M,L,z,B,H,U,W,V,G,q,X,K,Y,Q,J,Z,ee,te,ne,re,oe,ie,ae,se,le,ce,ue,de,pe,fe,me,ge,he,be,ye,ve,_e,we,ke,xe,Se,Ce,Ee,De,Oe,$e,je,Pe,Ne,Te,Ie,Ae,Re,Fe,Me,Le,ze,Be,He,Ue,We,Ve,Ge,qe;if(t&&n&&e){let e=function(e,t,n){var r=arguments.length>2&&void 0!==n?n:M,o=_.x+e,i=_.y+t,a=o+O,s=i+D,l=Math.max(o,r.left),c=Math.max(i,r.top),u=Math.min(a,r.right),d=Math.min(s,r.bottom);return Math.max(0,(u-l)*(d-c))},Xe=function(){be=(he=_.y+re)+D,ve=(ye=_.x+ne)+O};if(l=(s=t).style.left,c=s.style.top,u=s.style.right,d=s.style.bottom,f=s.ownerDocument,h=Bu(s),b=Sa(Sa({},o[r]),i),s.style.left="0",s.style.top="0",s.style.right="auto",s.style.bottom="auto",y=Array.isArray(n)?{x:n[0],y:n[1],width:0,height:0}:{x:(v=n.getBoundingClientRect()).x,y:v.y,width:v.width,height:v.height},_=s.getBoundingClientRect(),k=(w=h.getComputedStyle(s)).width,x=w.height,D=_.height,O=_.width,$=y.height,j=y.width,P={left:0,top:0,right:(S=f.documentElement).clientWidth,bottom:S.clientHeight},T="visible",I="visibleFirst","scroll"!==(N=b.htmlRegion)&&N!==I&&(N=T),A=N===I,R=Vu({left:-(E=S.scrollLeft),top:-(C=S.scrollTop),right:S.scrollWidth-E,bottom:S.scrollHeight-C},m),F=Vu(P,m),M=N===T?F:R,L=A?F:M,s.style.left="auto",s.style.top="auto",s.style.right="0",s.style.bottom="0",z=s.getBoundingClientRect(),s.style.left=l,s.style.top=c,s.style.right=u,s.style.bottom=d,B=Uu(Math.round(O/parseFloat(k)*1e3)/1e3),H=Uu(Math.round(D/parseFloat(x)*1e3)/1e3),0===B||0===H||Ws(n)&&!B0(n))return;U=b.targetOffset,V=(W=Va(qu(_,b.offset),2))[0],G=W[1],X=(q=Va(qu(y,U),2))[1],y.x-=q[0],y.y-=X,Y=(K=Va(b.points||[],2))[0],Q=Xu(K[1]),J=Xu(Y),Z=Ku(y,Q),ee=Ku(_,J),te=Sa({},b),oe=e(ne=Z.x-ee.x+V,re=Z.y-ee.y+G),ie=e(ne,re,F),ae=Ku(y,["t","l"]),se=Ku(_,["t","l"]),le=Ku(y,["b","r"]),ce=Ku(_,["b","r"]),de=(ue=b.overflow||{}).adjustX,pe=ue.adjustY,fe=ue.shiftX,me=ue.shiftY,ge=function(e){return"boolean"==typeof e?e:e>=0},Xe(),_e=ge(pe),we=J[0]===Q[0],_e&&"t"===J[0]&&(be>L.bottom||g.current.bt)&&(ke=re,we?ke-=D-$:ke=ae.y-ce.y-G,xe=e(ne,ke),Se=e(ne,ke,F),xe>oe||xe===oe&&(!A||Se>=ie)?(g.current.bt=!0,re=ke,te.points=[Yu(J,0),Yu(Q,0)]):g.current.bt=!1),_e&&"b"===J[0]&&(heoe||Ee===oe&&(!A||De>=ie)?(g.current.tb=!0,re=Ce,te.points=[Yu(J,0),Yu(Q,0)]):g.current.tb=!1),Oe=ge(de),$e=J[1]===Q[1],Oe&&"l"===J[1]&&(ve>L.right||g.current.rl)&&(je=ne,$e?je-=O-j:je=ae.x-ce.x-V,Pe=e(je,re),Ne=e(je,re,F),Pe>oe||Pe===oe&&(!A||Ne>=ie)?(g.current.rl=!0,ne=je,te.points=[Yu(J,1),Yu(Q,1)]):g.current.rl=!1),Oe&&"r"===J[1]&&(yeoe||Ie===oe&&(!A||Ae>=ie)?(g.current.lr=!0,ne=Te,te.points=[Yu(J,1),Yu(Q,1)]):g.current.lr=!1),Xe(),"number"==typeof(Re=!0===fe?0:fe)&&(yeF.right&&(ne-=ve-F.right,y.x>F.right-Re&&(ne+=y.x-F.right+Re))),"number"==typeof(Fe=!0===me?0:me)&&(heF.bottom&&(re-=be-F.bottom-G,y.y>F.bottom-Fe&&(re+=y.y-F.bottom+Fe))),Le=(Me=_.x+ne)+O,Be=(ze=_.y+re)+D,Ue=(He=y.x)+j,Ve=(We=y.y)+$,Ge=(Math.max(Me,He)+Math.min(Le,Ue))/2-Me,qe=(Math.max(ze,We)+Math.min(Be,Ve))/2-ze,null==a||a(t,te),p({ready:!0,offsetX:ne/B,offsetY:re/H,offsetR:(z.right-_.x-(ne+_.width))/B,offsetB:(z.bottom-_.y-(re+_.height))/H,arrowX:Ge/B,arrowY:qe/H,scaleX:B,scaleY:H,align:te})}})),l=function(){f.current+=1;var e=f.current;Promise.resolve().then((function(){f.current===e&&s()}))},QD(c=function(){p((function(e){return Sa(Sa({},e),{},{ready:!1})}))},[r]),QD((function(){e||c()}),[e]),[d.ready,d.offsetX,d.offsetY,d.offsetR,d.offsetB,d.arrowX,d.arrowY,d.scaleX,d.scaleY,d.align,l]}(x,l,it?F:p,Je,et,tt,st),H=(B=Va(z,11))[0],U=B[1],W=B[2],V=B[3],G=B[4],q=B[5],X=B[6],K=B[7],Y=B[8],Q=B[9],J=B[10],Z=Nl((function(){P||J()})),function(e,t,n,r){QD((function(){var o,i,a,s,l;if(e&&t&&n){let e=function(){r()};return o=n,i=Hu(t),a=Hu(o),s=Bu(o),(l=new Set([s].concat(ka(i),ka(a)))).forEach((function(t){t.addEventListener("scroll",e,{passive:!0})})),s.addEventListener("resize",e,{passive:!0}),r(),function(){l.forEach((function(t){t.removeEventListener("scroll",e),s.removeEventListener("resize",e)}))}}}),[e,t,n])}(x,p,l,Z),QD((function(){Z()}),[F,Je]),QD((function(){!x||null!=et&&et[Je]||Z()}),[JSON.stringify(tt)]),ee=mv.useMemo((function(){var e=function(e,t,n,r){var o,i,a,s=n.points,l=Object.keys(e);for(o=0;o1?a-1:0),l=1;l1?n-1:0),o=1;o1?n-1:0),o=1;o0&&void 0!==e?e:10,n=Va(mv.useState(!1),2),r=n[0],o=n[1],i=mv.useRef(null),a=function(){window.clearTimeout(i.current)};return mv.useEffect((function(){return a}),[]),[r,function(e,n){a(),i.current=window.setTimeout((function(){o(e),n&&n()}),t)},a]}(),m=(f=Va(p,3))[0],g=f[1],h=f[2],mv.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=u.current)||void 0===e?void 0:e.focus,blur:null===(t=u.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=d.current)||void 0===t?void 0:t.scrollTo(e)}}})),b=mv.useMemo((function(){var e,t;return"combobox"!==ve?je:"string"==typeof(t=null===(e=fe[0])||void 0===e?void 0:e.value)||"number"==typeof t?String(t):""}),[je,ve,fe]),y="combobox"===ve&&"function"==typeof ke&&ke()||null,v="function"==typeof xe&&xe(),_=Hs(l,null==v||null===(n=v.props)||void 0===n?void 0:n.ref),k=(w=Va(mv.useState(!1),2))[0],x=w[1],QD((function(){x(!0)}),[]),S=Va(Al(!1,{defaultValue:Ce,value:Se}),2),C=S[0],D=!!k&&C,O=!be&&ge,(_e||O&&D&&"combobox"===ve)&&(D=!1),$=!O&&D,j=mv.useCallback((function(e){var t=void 0!==e?e:!D;_e||(E(t),D!==t&&(null==Ee||Ee(t)))}),[_e,D,E=S[1],Ee]),P=mv.useMemo((function(){return(Ie||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[Ie]),N=function(e,t,n){var r,o,i,a,s=!0,l=e;return null==Oe||Oe(null),r=n?null:(o=Ie)&&o.length?(i=!1,a=function e(t,n){var r,o=Zs(n),a=o[0],s=o.slice(1);return a?(r=t.split(a),i=i||r.length>1,r.reduce((function(t,n){return[].concat(ka(t),ka(e(n,s)))}),[]).filter((function(e){return e}))):[t]}(e,o),i?a:null):null,"combobox"!==ve&&r&&(l="",null==Te||Te(r),j(!1),s=!1),Ne&&b!==l&&Ne(l,{source:t?"typing":"effect"}),s},T=function(e){e&&e.trim()&&Ne(e,{source:"submit"})},mv.useEffect((function(){D||ot||"combobox"===ve||N("",!1,!1)}),[D]),mv.useEffect((function(){C&&_e&&E(!1),_e&&g(!1)}),[_e]),I=Va($u(),2),A=I[0],R=I[1],F=function(e){var t,n,r,o,i,a,s,l,c=A(),u=e.which;if(u===Ej.ENTER&&("combobox"!==ve&&e.preventDefault(),D||j(!0)),R(!!b),u===Ej.BACKSPACE&&!c&&ot&&!b&&fe.length){for(n=null,r=(t=ka(fe)).length-1;r>=0;r-=1)if(!(o=t[r]).disabled){t.splice(r,1),n=o;break}n&&me(t,{type:"remove",values:[n]})}for(i=arguments.length,a=new Array(i>1?i-1:0),s=1;s1?t-1:0),r=1;r1?r-1:0),a=1;ae.height},n}Is(e,mv.Component);var t=Ms(e);return ji(e,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){var e,t;this.removeEvents(),null===(e=this.scrollbarRef.current)||void 0===e||e.removeEventListener("touchstart",this.onScrollbarTouchStart),null===(t=this.thumbRef.current)||void 0===t||t.removeEventListener("touchstart",this.onMouseDown),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var e=this.state,t=e.dragging,n=e.visible,r=this.props,o=r.prefixCls,i=r.direction,a=this.getSpinHeight(),s=this.getTop(),l=this.showScroll(),c=l&&n,u="rtl"===i?{left:0}:{right:0};return mv.createElement("div",{ref:this.scrollbarRef,className:mZ("".concat(o,"-scrollbar"),Ci({},"".concat(o,"-scrollbar-show"),l)),style:Sa(Sa({width:8,top:0,bottom:0},u),{},{position:"absolute",display:c?null:"none"}),onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},mv.createElement("div",{ref:this.thumbRef,className:mZ("".concat(o,"-scrollbar-thumb"),Ci({},"".concat(o,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:a,top:s,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),e}(),PN=function(){function e(){Oi(this,e),this.maps=void 0,this.maps=Object.create(null)}return ji(e,[{key:"set",value:function(e,t){this.maps[e]=t}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),NN="object"===("undefined"==typeof navigator?"undefined":xi(navigator))&&/Firefox/i.test(navigator.userAgent);const A5=function(e,t){var n=mv.useRef(!1),r=mv.useRef(null),o=mv.useRef({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e,t){var i=e<0&&o.current.top||e>0&&o.current.bottom;return arguments.length>1&&void 0!==t&&t&&i?(clearTimeout(r.current),n.current=!1):i&&!n.current||(clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)),!n.current&&i}};TN=14/15,IN=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","component","onScroll","onVisibleChange","innerProps"],AN=[],RN={overflowY:"auto",overflowAnchor:"none"},(FN=mv.forwardRef(sd)).displayName="List",MN=mv.createContext(null),LN=["disabled","title","children","style","className"],zN=function(e,t){function n(e,t){return{role:e.group?"presentation":"option",id:"".concat(d,"_list_").concat(t)}}var r,o,i,a,s,l,c=mv.useContext(HP),u=c.prefixCls,d=c.id,p=c.open,f=c.multiple,m=c.mode,g=c.searchValue,h=c.toggleOpen,b=c.notFoundContent,y=c.onPopupScroll,v=mv.useContext(MN),_=v.flattenOptions,w=v.onActiveValue,k=v.defaultActiveFirstOption,x=v.onSelect,S=v.menuItemSelectedIcon,C=v.rawValues,E=v.fieldNames,D=v.virtual,O=v.direction,$=v.listHeight,j=v.listItemHeight,P="".concat(u,"-item"),N=Ea((function(){return _}),[p,_],(function(e,t){return t[0]&&e[1]!==t[1]})),T=mv.useRef(null),I=function(e){e.preventDefault()},A=function(e){T.current&&T.current.scrollTo("number"==typeof e?{index:e}:e)},R=function(e,t){var n,r,o,i=arguments.length>1&&void 0!==t?t:1,a=N.length;for(n=0;n1&&void 0!==t&&t;L(e),n={source:o?"keyboard":"mouse"},(r=N[e])?w(r.value,e,n):w(null,-1,n)};return mv.useEffect((function(){z(!1!==k?R(0):-1)}),[N.length,g]),r=mv.useCallback((function(e){return C.has(e)&&"combobox"!==m}),[m,ka(C).toString(),C.size]),mv.useEffect((function(){var e,t=setTimeout((function(){var e,t;!f&&p&&1===C.size&&(e=Array.from(C)[0],-1!==(t=N.findIndex((function(t){return t.data.value===e})))&&(z(t),A(t)))}));return p&&(null===(e=T.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}}),[p,g,_.length]),o=function(e){void 0!==e&&x(e,{selected:!C.has(e)}),f||h(!1)},mv.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t,n,r,i=e.which,a=e.ctrlKey;switch(i){case Ej.N:case Ej.P:case Ej.UP:case Ej.DOWN:t=0,i===Ej.UP?t=-1:i===Ej.DOWN?t=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&a&&(i===Ej.N?t=1:i===Ej.P&&(t=-1)),0!==t&&(n=R(M+t,t),A(n),z(n,!0));break;case Ej.ENTER:o((r=N[M])&&!r.data.disabled?r.value:void 0),p&&e.preventDefault();break;case Ej.ESC:h(!1),p&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){A(e)}}})),0===N.length?mv.createElement("div",{role:"listbox",id:"".concat(d,"_list"),className:"".concat(P,"-empty"),onMouseDown:I},b):(i=Object.keys(E).map((function(e){return E[e]})),a=function(e){return e.label},s=function(e){var t,o,i,s,l,c=N[e];return c?(o=(t=c.data||{}).value,i=c.group,s=ic(t,!0),l=a(c),c?mv.createElement("div",fa({"aria-label":"string"!=typeof l||i?null:l},s,{key:e},n(c,e),{"aria-selected":r(o)}),o):null):null},l={role:"listbox",id:"".concat(d,"_list")},mv.createElement(mv.Fragment,null,D&&mv.createElement("div",fa({},l,{style:{height:0,width:0,overflow:"hidden"}}),s(M-1),s(M),s(M+1)),mv.createElement(FN,{itemKey:"key",ref:T,data:N,height:$,itemHeight:j,fullHeight:!1,onMouseDown:I,onScroll:y,virtual:D,direction:O,innerProps:D?null:l},(function(e,t){var s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k=e.groupOption,x=e.data,C=e.label,E=e.value,O=x.key;return e.group?(c=null!==(l=x.title)&&void 0!==l?l:ld(C)?C.toString():void 0,mv.createElement("div",{className:mZ(P,"".concat(P,"-group")),title:c},void 0!==C?C:O)):(u=x.disabled,d=x.title,p=x.style,f=x.className,m=Qs(Ei(x,LN),i),g=r(E),h="".concat(P,"-option"),b=mZ(P,h,f,(Ci(s={},"".concat(h,"-grouped"),k),Ci(s,"".concat(h,"-active"),M===t&&!u),Ci(s,"".concat(h,"-disabled"),u),Ci(s,"".concat(h,"-selected"),g),s)),y=a(e),v=!S||"function"==typeof S||g,w=ld(_="number"==typeof y?y:y||E)?_.toString():void 0,void 0!==d&&(w=d),mv.createElement("div",fa({},ic(m),D?{}:n(e,t),{"aria-selected":g,className:b,title:w,onMouseMove:function(){M===t||u||z(t)},onClick:function(){u||o(E)},style:p}),mv.createElement("div",{className:"".concat(h,"-content")},_),mv.isValidElement(S)||g,v&&mv.createElement(nN,{className:"".concat(P,"-option-state"),customizeIcon:S,customizeIconProps:{isSelected:g}},g?"✓":null)))}))))},(BN=mv.forwardRef(zN)).displayName="OptionList",HN=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],UN=["inputValue"],WN=mv.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x=e.id,S=e.mode,C=e.prefixCls,E=void 0===C?"rc-select":C,D=e.backfill,O=e.fieldNames,$=e.inputValue,j=e.searchValue,P=e.onSearch,N=e.autoClearSearchValue,T=void 0===N||N,I=e.onSelect,A=e.onDeselect,R=e.dropdownMatchSelectWidth,F=void 0===R||R,M=e.filterOption,L=e.filterSort,z=e.optionFilterProp,B=e.optionLabelProp,H=e.options,U=e.children,W=e.defaultActiveFirstOption,V=e.menuItemSelectedIcon,G=e.virtual,q=e.direction,X=e.listHeight,K=void 0===X?200:X,Y=e.listItemHeight,Q=void 0===Y?20:Y,J=e.value,Z=e.defaultValue,ee=e.labelInValue,te=e.onChange,ne=Ei(e,HN),re=function(e){var t=Va(mv.useState(),2),n=t[0],r=t[1];return mv.useEffect((function(){var e;r("rc_select_".concat((SN?(e=xN,xN+=1):e="TEST_OR_SSR",e)))}),[]),e||n}(x),oe=nd(S),ie=!(H||!U),ae=mv.useMemo((function(){return(void 0!==M||"combobox"!==S)&&M}),[M,S]),se=mv.useMemo((function(){return ed(O,ie)}),[JSON.stringify(O),ie]),le=Va(Al("",{value:void 0!==j?j:$,postState:function(e){return e||""}}),2),ce=le[0],ue=le[1],de=function(e,t,n,r,o){return mv.useMemo((function(){var i,a,s,l=e;return!e&&(l=rd(t)),i=new Map,a=new Map,s=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)},function e(t,l){var c,u,d=arguments.length>1&&void 0!==l&&l;for(c=0;c1&&void 0!==t?t:{},r=n.childrenAsData,o=[],i=ed(n.fieldNames,!1),a=i.label,s=i.value,l=i.options,c=i.groupLabel;return function e(t,n){t.forEach((function(t){var i,u;n||!(l in t)?(i=t[s],o.push({key:Zu(t,o.length),groupOption:n,data:t,label:t[a],value:i})):(void 0===(u=t[c])&&r&&(u=t.label),o.push({key:Zu(t,o.length),group:!0,data:t,label:u}),e(t[l],!0))}))}(e,!1),o}(a,{fieldNames:se,childrenAsData:ie})}),[a,se,ie]),l=function(e){var t,n,r=ge(e);ye(r),te&&(r.length!==we.length||r.some((function(e,t){var n;return(null===(n=we[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)})))&&(t=ee?r:r.map((function(e){return e.value})),n=r.map((function(e){return td(ke(e.value))})),te(oe?t:t[0],oe?n:n[0]))},u=(c=Va(mv.useState(null),2))[0],d=c[1],f=(p=Va(mv.useState(0),2))[0],m=p[1],g=void 0!==W?W:"combobox"!==S,h=mv.useCallback((function(e,t,n){var r=(arguments.length>2&&void 0!==n?n:{}).source,o=void 0===r?"keyboard":r;m(t),D&&"combobox"===S&&null!==e&&"keyboard"===o&&d(String(e))}),[D,S]),b=function(e,t,n){var r,o,i=function(){var t,n=ke(e);return[ee?{label:null==n?void 0:n[se.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,td(n)]};t&&I?(r=Va(i(),2),I(r[0],r[1])):!t&&A&&"clear"!==n&&(o=Va(i(),2),A(o[0],o[1]))},y=od((function(e,t){var n,r=!oe||t.selected;n=r?oe?[].concat(ka(we),[e]):[e]:we.filter((function(t){return t.value!==e})),l(n),b(e,r),"combobox"===S?d(""):nd&&!T||(ue(""),d(""))})),v=function(e,t){l(e);var n=t.type;"remove"!==n&&"clear"!==n||t.values.forEach((function(e){b(e.value,!1,n)}))},_=function(e,t){var n,r;ue(e),d(null),"submit"!==t.source?"blur"!==t.source&&("combobox"===S&&l(e),null==P||P(e)):(n=(e||"").trim())&&(r=Array.from(new Set([].concat(ka(Se),[n]))),l(r),b(n,!0),ue(""))},w=function(e){var t,n=e;"tags"!==S&&(n=e.map((function(e){var t=fe.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e}))),t=Array.from(new Set([].concat(ka(Se),ka(n)))),l(t),t.forEach((function(e){b(e,!0)}))},k=mv.useMemo((function(){var e=!1!==G&&!1!==F;return Sa(Sa({},de),{},{flattenOptions:s,onActiveValue:h,defaultActiveFirstOption:g,onSelect:y,menuItemSelectedIcon:V,rawValues:Se,fieldNames:se,virtual:e,direction:q,listHeight:K,listItemHeight:Q,childrenAsData:ie})}),[de,s,h,g,y,V,Se,se,G,F,K,Q,ie]),mv.createElement(MN.Provider,{value:k},mv.createElement(kN,fa({},ne,{id:re,prefixCls:E,ref:t,omitDomProps:UN,mode:S,displayValues:xe,onDisplayValuesChange:v,direction:q,searchValue:ce,onSearch:_,autoClearSearchValue:T,onSearchSplit:w,dropdownMatchSelectWidth:F,OptionList:BN,emptyOptions:!s.length,activeValue:u,activeDescendantId:"".concat(re,"_list_").concat(f)})))})),(VN=WN).Option=ON,VN.OptGroup=DN;const R5=(e,t)=>t||e,F5=()=>{const[,e]=Pl(),t=new S$(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return mv.createElement("svg",{style:t,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},mv.createElement("g",{fill:"none",fillRule:"evenodd"},mv.createElement("g",{transform:"translate(24 31.67)"},mv.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),mv.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),mv.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),mv.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),mv.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),mv.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),mv.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},mv.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),mv.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},M5=()=>{const[,e]=Pl(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:o}=e,{borderColor:i,shadowColor:a,contentColor:s}=mv.useMemo((()=>({borderColor:new S$(t).onBackground(o).toHexShortString(),shadowColor:new S$(n).onBackground(o).toHexShortString(),contentColor:new S$(r).onBackground(o).toHexShortString()})),[t,n,r,o]);return mv.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},mv.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},mv.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),mv.createElement("g",{fillRule:"nonzero",stroke:i},mv.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),mv.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},L5=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},z5=Ml("Empty",(e=>{const{componentCls:t,controlHeightLG:n}=e,r=Rl(e,{emptyImgCls:`${t}-img`,emptyImgHeight:2.5*n,emptyImgHeightMD:n,emptyImgHeightSM:.875*n});return[L5(r)]}));GN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var{className:t,rootClassName:n,prefixCls:r,image:o=B5,description:i,children:a,imageStyle:s,style:l}=e,c=GN(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:u,direction:d,empty:p}=mv.useContext(zZ),f=u("empty",r),[m,g]=z5(f),[h]=xZ("Empty"),b=void 0!==i?i:null==h?void 0:h.description;let y=null;return y="string"==typeof o?mv.createElement("img",{alt:"string"==typeof b?b:"empty",src:o}):o,m(mv.createElement("div",Object.assign({className:mZ(g,f,null==p?void 0:p.className,{[`${f}-normal`]:o===H5,[`${f}-rtl`]:"rtl"===d},t,n),style:Object.assign(Object.assign({},null==p?void 0:p.style),l)},c),mv.createElement("div",{className:`${f}-image`,style:s},y),b&&mv.createElement("div",{className:`${f}-description`},b),a&&mv.createElement("div",{className:`${f}-footer`},a)))};U5.PRESENTED_IMAGE_DEFAULT=B5,U5.PRESENTED_IMAGE_SIMPLE=H5;const W5=U5,V5=e=>{const{componentName:t}=e,{getPrefixCls:n}=mv.useContext(zZ),r=n("empty");switch(t){case"Table":case"List":return jJ.createElement(W5,{image:W5.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return jJ.createElement(W5,{image:W5.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return jJ.createElement(W5,null)}},G5=e=>{const{controlPaddingHorizontal:t}=e;return{position:"relative",display:"block",minHeight:e.controlHeight,padding:`${(e.controlHeight-e.fontSize*e.lineHeight)/2}px ${t}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,boxSizing:"border-box"}},q5=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},UZ(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`\n &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-bottomLeft,\n &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-bottomLeft\n `]:{animationName:I2},[`\n &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-topLeft,\n &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-topLeft\n `]:{animationName:R2},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-bottomLeft`]:{animationName:A2},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topLeft`]:{animationName:F2},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},G5(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},HZ),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${r}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:2*e.controlPaddingHorizontal}}}),"&-rtl":{direction:"rtl"}})},U2(e,"slide-up"),U2(e,"slide-down"),T2(e,"move-up"),T2(e,"move-down")]},X5=e=>{let{controlHeightSM:t,controlHeight:n,lineWidth:r}=e;const o=(n-t)/2-r;return[o,Math.ceil(o/2)]},K5=e=>{const{componentCls:t}=e,n=Rl(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Rl(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),[,o]=X5(e);return[ud(e),ud(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.controlPaddingHorizontalSM-e.lineWidth},[`${t}-selection-search`]:{marginInlineStart:o}}},ud(r,"lg")]},Y5=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},Q5=function(e,t,n){let r=arguments.length>2&&void 0!==n&&n;const{componentCls:o,borderHoverColor:i,outlineColor:a,antCls:s}=t;return{[e]:{[`&:not(${o}-disabled):not(${o}-customize-input):not(${s}-pagination-size-changer)`]:Object.assign(Object.assign({},r?{[`${o}-selector`]:{borderColor:i}}:{}),{[`${o}-focused& ${o}-selector`]:{borderColor:i,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${a}`,outline:0},[`&:hover ${o}-selector`]:{borderColor:i}})}}},J5=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Z5=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},UZ(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:Object.assign(Object.assign({},Y5(e)),J5(e)),[`${t}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},HZ),[`${t}-selection-placeholder`]:Object.assign(Object.assign({},HZ),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:Object.assign(Object.assign({},{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"}}),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXS}}}},e4=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},Z5(e),pd(e),K5(e),q5(e),{[`${t}-rtl`]:{direction:"rtl"}},Q5(t,Rl(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),Q5(`${t}-status-error`,Rl(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),Q5(`${t}-status-warning`,Rl(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),Dc(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},t4=Ml("Select",((e,t)=>{let{rootPrefixCls:n}=t;const r=Rl(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[e4(r)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50})));qN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,{prefixCls:r,bordered:o=!0,className:i,rootClassName:a,getPopupContainer:s,popupClassName:l,dropdownClassName:c,listHeight:u=256,placement:d,listItemHeight:p=24,size:f,disabled:m,notFoundContent:g,status:h,showArrow:b,builtinPlacements:y,dropdownMatchSelectWidth:v,popupMatchSelectWidth:_,direction:w,style:k}=e,x=qN(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style"]);const{getPopupContainer:S,getPrefixCls:C,renderEmpty:E,direction:D,virtual:O,popupMatchSelectWidth:$,popupOverflow:j,select:P}=mv.useContext(zZ),N=C("select",r),T=C(),I=null!=w?w:D,{compactSize:A,compactItemClassnames:R}=Q0(N,I),[F,M]=t4(N),L=mv.useMemo((()=>{const{mode:e}=x;if("combobox"!==e)return e===n4?"combobox":e}),[x.mode]),z="multiple"===L||"tags"===L,B=function(e){return null==e||e}(b),H=null!==(n=null!=_?_:v)&&void 0!==n?n:$,{status:U,hasFeedback:W,isFormItemInput:V,feedbackIcon:G}=mv.useContext(b2),q=R5(U,h);let X;X=void 0!==g?g:"combobox"===L?null:(null==E?void 0:E("Select"))||mv.createElement(V5,{componentName:"Select"});const{suffixIcon:K,itemIcon:Y,removeIcon:Q,clearIcon:J}=function(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:i,multiple:a,hasFeedback:s,prefixCls:l,showArrow:c,feedbackIcon:u}=e;const d=null!=n?n:mv.createElement(b0,null),p=e=>mv.createElement(mv.Fragment,null,!1!==c&&e,s&&u);let f=null;if(void 0!==t)f=p(t);else if(i)f=p(mv.createElement(T0,{spin:!0}));else{const e=`${l}-suffix`;f=t=>{let{open:n,showSearch:r}=t;return p(mv.createElement(n&&r?s2:q1,{className:e}))}}let m=null;m=void 0!==r?r:a?mv.createElement(U1,null):null;let g=null;return g=void 0!==o?o:mv.createElement(v0,null),{clearIcon:d,suffixIcon:f,itemIcon:m,removeIcon:g}}(Object.assign(Object.assign({},x),{multiple:z,hasFeedback:W,feedbackIcon:G,showArrow:B,prefixCls:N})),Z=Qs(x,["suffixIcon","itemIcon"]),ee=mZ(l||c,{[`${N}-dropdown-${I}`]:"rtl"===I},a,M),te=G0((e=>{var t;return null!==(t=null!=f?f:A)&&void 0!==t?t:e})),ne=mv.useContext(ZZ),re=null!=m?m:ne,oe=mZ({[`${N}-lg`]:"large"===te,[`${N}-sm`]:"small"===te,[`${N}-rtl`]:"rtl"===I,[`${N}-borderless`]:!o,[`${N}-in-form-item`]:V},cd(N,q,W),R,null==P?void 0:P.className,i,a,M),ie=mv.useMemo((()=>void 0!==d?d:"rtl"===I?"bottomRight":"bottomLeft"),[d,I]),ae=function(e,t){return e||(e=>{const t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}})(t)}(y,j);return F(mv.createElement(VN,Object.assign({ref:t,virtual:O,showSearch:null==P?void 0:P.showSearch},Z,{style:Object.assign(Object.assign({},null==P?void 0:P.style),k),dropdownMatchSelectWidth:H,builtinPlacements:ae,transitionName:B1(T,z1(d),x.transitionName),listHeight:u,listItemHeight:p,mode:L,prefixCls:N,placement:ie,direction:I,inputIcon:K,menuItemSelectedIcon:Y,removeIcon:Q,clearIcon:J,notFoundContent:X,className:oe,getPopupContainer:s||S,dropdownClassName:ee,showArrow:W||B,disabled:re})))},o4=mv.forwardRef(r4),i4=(DQ=o4,function(e){const{prefixCls:t,style:n}=e,r=mv.useRef(null),[o,i]=mv.useState(0),[a,s]=mv.useState(0),[l,c]=Al(!1,{value:e.open}),{getPrefixCls:u}=mv.useContext(zZ),d=u("select",t);mv.useEffect((()=>{if(c(!0),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((e=>{const t=e[0].target;i(t.offsetHeight+8),s(t.offsetWidth)})),t=setInterval((()=>{var n;const o=null===(n=r.current)||void 0===n?void 0:n.querySelector(`.${d}-dropdown`);o&&(clearInterval(t),e.observe(o))}),10);return()=>{clearInterval(t),e.disconnect()}}}),[]);let p=Object.assign(Object.assign({},e),{style:Object.assign(Object.assign({},n),{margin:0}),open:l,visible:l,getPopupContainer:()=>r.current});return mv.createElement(d0,{theme:{token:{motion:!1}}},mv.createElement("div",{ref:r,style:{paddingBottom:o,position:"relative",minWidth:a}},mv.createElement(DQ,Object.assign({},p))))});o4.SECRET_COMBOBOX_MODE_DO_NOT_USE=n4,o4.Option=ON,o4.OptGroup=DN,o4._InternalPanelDoNotUseOrYouWillBeFired=i4;const a4=o4,s4=["xxl","xl","lg","md","sm","xs"],l4=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)`}),c4=e=>{const t=e,n=[].concat(s4).reverse();return n.forEach(((e,r)=>{const o=e.toUpperCase(),i=`screen${o}Min`,a=`screen${o}`;if(!(t[i]<=t[a]))throw new Error(`${i}<=${a} fails : !(${t[i]}<=${t[a]})`);if(rnew S$(e).setAlpha(t).toRgbString(),h4=(e,t)=>new S$(e).lighten(t).toHexString(),b4=e=>{const t=Cl(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]}},y4=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:g4(r,.85),colorTextSecondary:g4(r,.65),colorTextTertiary:g4(r,.45),colorTextQuaternary:g4(r,.25),colorFill:g4(r,.18),colorFillSecondary:g4(r,.12),colorFillTertiary:g4(r,.08),colorFillQuaternary:g4(r,.04),colorBgElevated:h4(n,12),colorBgContainer:h4(n,8),colorBgLayout:h4(n,0),colorBgSpotlight:h4(n,26),colorBorder:h4(n,26),colorBorderSecondary:h4(n,19)}},v4={defaultConfig:FZ,defaultSeed:FZ.token,useToken:function(){const[e,t,n]=Pl();return{theme:e,token:t,hashId:n}},defaultAlgorithm:Dl,darkAlgorithm:(e,t)=>{const n=Object.keys(OZ).map((t=>{const n=Cl(e[t],{theme:"dark"});return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{}),r=null!=t?t:Dl(e);return Object.assign(Object.assign(Object.assign({},r),n),El(e,{generateColorPalettes:b4,generateNeutralColorPalettes:y4}))},compactAlgorithm:(e,t)=>{const n=null!=t?t:Dl(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),AZ(r)),{controlHeight:o}),DZ(Object.assign(Object.assign({},n),{controlHeight:o})))},getDesignToken:e=>{const t=$s((null==e?void 0:e.algorithm)?e.algorithm:Dl),n=Object.assign(Object.assign({},$Z),null==e?void 0:e.token);return iO(n,{override:null==e?void 0:e.token},t,jl)}},_4=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:c,paddingXS:u,tooltipRadiusOuter:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},UZ(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:s,minHeight:s,padding:`${c/2}px ${u}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:l,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(i,d4)}},[`${t}-content`]:{position:"relative"}}),Ll(e,((e,n)=>{let{darkColor:r}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{"--antd-arrow-background-color":r}}}}))),{"&-rtl":{direction:"rtl"}})},bd(Rl(e,{borderRadiusOuter:d}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},w4=(e,t)=>Ml("Tooltip",(e=>{if(!1===t)return[];const{borderRadius:n,colorTextLightSolid:r,colorBgDefault:o,borderRadiusOuter:i}=e,a=Rl(e,{tooltipMaxWidth:250,tooltipColor:r,tooltipBorderRadius:n,tooltipBg:o,tooltipRadiusOuter:i>4?4:i});return[_4(a),r5(e,"zoom-big-fast")]}),(e=>{let{zIndexPopupBase:t,colorBgSpotlight:n}=e;return{zIndexPopup:t+70,colorBgDefault:n}}),{resetStyle:!1})(e),k4=CZ.map((e=>`${e}-inverse`)),x4=["success","processing","error","default","warning"];eT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const{prefixCls:o,openClassName:i,getTooltipContainer:a,overlayClassName:s,color:l,overlayInnerStyle:c,children:u,afterOpenChange:d,afterVisibleChange:p,destroyTooltipOnHide:f,arrow:m=!0,title:g,overlay:h,builtinPlacements:b,arrowPointAtCenter:y=!1,autoAdjustOverflow:v=!0}=e,_=!!m,{token:w}=S4(),{getPopupContainer:k,getPrefixCls:x,direction:S}=mv.useContext(zZ),C=mv.useRef(null),E=()=>{var e;null===(e=C.current)||void 0===e||e.forceAlign()};mv.useImperativeHandle(t,(()=>({forceAlign:E,forcePopupAlign:()=>{E()}})));const[D,O]=Al(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),$=!g&&!h&&0!==g,j=mv.useMemo((()=>{var e,t;let n=y;return"object"==typeof m&&(n=null!==(t=null!==(e=m.pointAtCenter)&&void 0!==e?e:m.arrowPointAtCenter)&&void 0!==t?t:y),b||function(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:i,visibleFirst:a}=e,s=t/2,l={};return Object.keys(p4).forEach((e=>{const c=Object.assign(Object.assign({},r&&f4[e]||p4[e]),{offset:[0,0]});switch(l[e]=c,m4.has(e)&&(c.autoArrow=!1),e){case"top":case"topLeft":case"topRight":c.offset[1]=-s-o;break;case"bottom":case"bottomLeft":case"bottomRight":c.offset[1]=s+o;break;case"left":case"leftTop":case"leftBottom":c.offset[0]=-s-o;break;case"right":case"rightTop":case"rightBottom":c.offset[0]=s+o}const u=gd({contentRadius:i,limitVerticalRadius:!0});if(r)switch(e){case"topLeft":case"bottomLeft":c.offset[0]=-u.dropdownArrowOffset-s;break;case"topRight":case"bottomRight":c.offset[0]=u.dropdownArrowOffset+s;break;case"leftTop":case"rightTop":c.offset[1]=-u.dropdownArrowOffset-s;break;case"leftBottom":case"rightBottom":c.offset[1]=u.dropdownArrowOffset+s}c.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};const o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.dropdownArrowOffset+n;break;case"left":case"right":i.shiftY=2*t.dropdownArrowOffsetVertical+n}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,u,t,n),a&&(c.htmlRegion="visibleFirst")})),l}({arrowPointAtCenter:n,autoAdjustOverflow:v,arrowWidth:_?w.sizePopupArrow:0,borderRadius:w.borderRadius,offset:w.marginXXS,visibleFirst:!0})}),[y,m,b,w]),P=mv.useMemo((()=>0===g?g:h||g||""),[h,g]),N=mv.createElement(J0,null,"function"==typeof P?P():P),{getPopupContainer:T,placement:I="top",mouseEnterDelay:A=.1,mouseLeaveDelay:R=.1,overlayStyle:F,rootClassName:M}=e,L=eT(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),z=x("tooltip",o),B=x(),H=e["data-popover-inject"];let U=D;"open"in e||"visible"in e||!$||(U=!1);const W=function(e,t){const n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){const{picked:n,omitted:r}=(e=>{const t={},n=Object.assign({},e);return["position","left","right","top","bottom","float","display","zIndex"].forEach((r=>{e&&r in e&&(t[r]=e[r],delete n[r])})),{picked:t,omitted:n}})(e.props.style),o=Object.assign(Object.assign({display:"inline-block"},n),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),i=sc(e,{style:Object.assign(Object.assign({},r),{pointerEvents:"none"}),className:null});return mv.createElement("span",{style:o,className:mZ(e.props.className,`${t}-disabled-compatible-wrapper`)},i)}return e}(S0(u)&&!ac(u)?u:mv.createElement("span",null,u),z),V=W.props,G=V.className&&"string"!=typeof V.className?V.className:mZ(V.className,i||`${z}-open`),[q,X]=w4(z,!H),K=vd(z,l),Y=K.arrowStyle,Q=Object.assign(Object.assign({},c),K.overlayStyle),J=mZ(s,{[`${z}-rtl`]:"rtl"===S},K.className,M,X);return q(mv.createElement(u4,Object.assign({},L,{showArrow:_,placement:I,mouseEnterDelay:A,mouseLeaveDelay:R,prefixCls:z,overlayClassName:J,overlayStyle:Object.assign(Object.assign({},Y),F),getTooltipContainer:T||a||k,ref:C,builtinPlacements:j,overlay:N,visible:U,onVisibleChange:t=>{var n,r;O(!$&&t),$||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=d?d:p,overlayInnerStyle:Q,arrowContent:mv.createElement("span",{className:`${z}-arrow-content`}),motion:{motionName:B1(B,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!f}),U?sc(W,{className:G}):W))}));C4._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n,placement:r="top",title:o,color:i,overlayInnerStyle:a}=e,{getPrefixCls:s}=mv.useContext(zZ),l=s("tooltip",t),[c,u]=w4(l,!0),d=vd(l,i),p=d.arrowStyle,f=Object.assign(Object.assign({},a),d.overlayStyle),m=mZ(u,l,`${l}-pure`,`${l}-placement-${r}`,n,d.className);return c(mv.createElement("div",{className:m,style:p},mv.createElement("div",{className:`${l}-arrow`}),mv.createElement(md,Object.assign({},e,{className:u,prefixCls:l,overlayInnerStyle:f}),o)))};const E4=C4;tT=Ej.ESC,nT=Ej.TAB,rT=mv.forwardRef((function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=mv.useMemo((function(){return"function"==typeof n?n():n}),[n]),a=Bs(t,null==i?void 0:i.ref);return jJ.createElement(jJ.Fragment,null,r&&jJ.createElement("div",{className:"".concat(o,"-arrow")}),jJ.cloneElement(i,{ref:Us(i)?a:void 0}))})),aT={topLeft:{points:["bl","tl"],overflow:oT={adjustX:1,adjustY:1},offset:[0,-4],targetOffset:iT=[0,0]},top:{points:["bc","tc"],overflow:oT,offset:[0,-4],targetOffset:iT},topRight:{points:["br","tr"],overflow:oT,offset:[0,-4],targetOffset:iT},bottomLeft:{points:["tl","bl"],overflow:oT,offset:[0,4],targetOffset:iT},bottom:{points:["tc","bc"],overflow:oT,offset:[0,4],targetOffset:iT},bottomRight:{points:["tr","br"],overflow:oT,offset:[0,4],targetOffset:iT}},sT=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];const D4=jJ.forwardRef(_d);lT=mv.createContext(null),cT=["children","locked"],uT=mv.createContext(null),dT=[],pT=mv.createContext(null),fT=mv.createContext(dT),mT=mv.createContext(null),gT=mv.createContext({}),_T=Ej.ENTER,wT=Ej.ESC,kT=Ej.HOME,xT=Ej.END,ST=[yT=Ej.UP,vT=Ej.DOWN,hT=Ej.LEFT,bT=Ej.RIGHT],CT="__RC_UTIL_PATH_SPLIT__",ET=function(e){return e.join(CT)},DT=function(e){return e.split(CT)},OT="rc-menu-more",$T=Math.random().toFixed(5).toString().slice(2),jT=0,PT=["item"],NT=["title","attribute","elementRef"],TT=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],IT=["active"],AT=function(){function e(){return Oi(this,e),t.apply(this,arguments)}Is(e,mv.Component);var t=Ms(e);return ji(e,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,r=e.elementRef,o=Qs(Ei(e,NT),["eventKey","popupClassName","popupOffset","onTitleClick"]);return ja(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),mv.createElement(tN.Item,fa({},n,{title:"string"==typeof t?t:void 0},o,{ref:r}))}}]),e}(),RT=mv.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,C,E,D,O,$,j,P,N,T,I,A,R,F,M,L,z,B=e.style,H=e.className,U=e.eventKey;return r=e.disabled,o=e.itemIcon,i=e.children,a=e.role,s=e.onMouseEnter,l=e.onMouseLeave,c=e.onClick,u=e.onKeyDown,d=e.onFocus,p=Ei(e,TT),f=kd(U),g=(m=mv.useContext(uT)).prefixCls,h=m.onItemClick,b=m.disabled,y=m.overflowDisabled,v=m.itemIcon,_=m.selectedKeys,w=m.onActive,k=mv.useContext(gT)._internalRenderMenuItem,x="".concat(g,"-item"),S=mv.useRef(),C=mv.useRef(),E=b||r,D=Hs(t,C),O=Cd(U),$=function(e){return{key:U,keyPath:ka(O).reverse(),item:S.current,domEvent:e}},j=o||v,N=(P=jd(U,E,s,l)).active,T=Ei(P,IT),I=_.includes(U),A=Pd(O.length),R=function(e){if(!E){var t=$(e);null==c||c(Td(t)),h(t)}},F=function(e){if(null==u||u(e),e.which===Ej.ENTER){var t=$(e);null==c||c(Td(t)),h(t)}},M=function(e){w(U),null==d||d(e)},L={},"option"===e.role&&(L["aria-selected"]=I),z=mv.createElement(AT,fa({ref:S,elementRef:D,role:null===a?"none":a||"menuitem",tabIndex:r?null:-1,"data-menu-id":y&&f?null:f},p,T,L,{component:"li","aria-disabled":r,style:Sa(Sa({},A),B),className:mZ(x,(n={},Ci(n,"".concat(x,"-active"),N),Ci(n,"".concat(x,"-selected"),I),Ci(n,"".concat(x,"-disabled"),E),n),H),onClick:R,onKeyDown:F,onFocus:M}),i,mv.createElement(Nd,{props:Sa(Sa({},e),{},{isSelected:I}),icon:j})),k&&(z=k(z,e,{selected:I})),z}));const O4=mv.forwardRef(Id);FT=["className","children"],MT=function(e,t){var n=e.className,r=e.children,o=Ei(e,FT),i=mv.useContext(uT),a=i.prefixCls,s=i.mode;return mv.createElement("ul",fa({className:mZ(a,i.rtl&&"".concat(a,"-rtl"),"".concat(a,"-sub"),"".concat(a,"-").concat("inline"===s?"inline":"vertical"),n),role:"menu"},o,{"data-menu-list":!0,ref:t}),r)},(LT=mv.forwardRef(MT)).displayName="SubMenuList",BT={topLeft:{points:["bl","tl"],overflow:zT={adjustX:1,adjustY:1}},topRight:{points:["br","tr"],overflow:zT},bottomLeft:{points:["tl","bl"],overflow:zT},bottomRight:{points:["tr","br"],overflow:zT},leftTop:{points:["tr","tl"],overflow:zT},leftBottom:{points:["br","bl"],overflow:zT},rightTop:{points:["tl","tr"],overflow:zT},rightBottom:{points:["bl","br"],overflow:zT}},HT={topLeft:{points:["bl","tl"],overflow:zT},topRight:{points:["br","tr"],overflow:zT},bottomLeft:{points:["tl","bl"],overflow:zT},bottomRight:{points:["tr","br"],overflow:zT},rightTop:{points:["tr","tl"],overflow:zT},rightBottom:{points:["br","bl"],overflow:zT},leftTop:{points:["tl","tr"],overflow:zT},leftBottom:{points:["bl","br"],overflow:zT}},UT={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},WT=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],VT=["active"],GT=function(e){var t,n,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,C,E,D,O,$,j,P,N,T,I,A,R,F,M,L,z,B,H,U,W,V,G,q,X,K,Y,Q,J,Z,ee,te,ne,re,oe,ie,ae,se,le,ce=e.style,ue=e.className,de=e.title,pe=e.eventKey;return n=e.disabled,r=e.internalPopupClose,o=e.children,i=e.itemIcon,a=e.expandIcon,s=e.popupClassName,l=e.popupOffset,c=e.onClick,u=e.onMouseEnter,d=e.onMouseLeave,p=e.onTitleClick,f=e.onTitleMouseEnter,m=e.onTitleMouseLeave,g=Ei(e,WT),h=kd(pe),y=(b=mv.useContext(uT)).prefixCls,v=b.mode,_=b.openKeys,w=b.disabled,k=b.overflowDisabled,x=b.activeKey,S=b.selectedKeys,C=b.itemIcon,E=b.expandIcon,D=b.onItemClick,O=b.onOpenChange,$=b.onActive,j=mv.useContext(gT)._internalRenderSubMenuItem,P=mv.useContext(mT),N=P.isSubPathKey,T=Cd(),I="".concat(y,"-submenu"),A=w||n,R=mv.useRef(),F=mv.useRef(),M=i||C,L=a||E,z=_.includes(pe),B=!k&&z,H=N(S,pe),U=jd(pe,A,f,m),W=U.active,V=Ei(U,VT),G=Va(mv.useState(!1),2),X=G[1],K=function(e){A||X(e)},Y=function(e){K(!0),null==u||u({key:pe,domEvent:e})},Q=function(e){K(!1),null==d||d({key:pe,domEvent:e})},J=mv.useMemo((function(){return W||"inline"!==v&&(q||N([x],pe))}),[v,W,x,q=G[0],pe,N]),Z=Pd(T.length),ee=function(e){A||(null==p||p({key:pe,domEvent:e}),"inline"===v&&O(pe,!z))},te=$d((function(e){null==c||c(Td(e)),D(e)})),ne=function(e){"inline"!==v&&O(pe,e)},re=function(){$(pe)},oe=h&&"".concat(h,"-popup"),ie=mv.createElement("div",fa({role:"menuitem",style:Z,className:"".concat(I,"-title"),tabIndex:A?null:-1,ref:R,title:"string"==typeof de?de:null,"data-menu-id":k&&h?null:h,"aria-expanded":B,"aria-haspopup":!0,"aria-controls":oe,"aria-disabled":A,onClick:ee,onFocus:re},V),de,mv.createElement(Nd,{icon:"horizontal"!==v?L:null,props:Sa(Sa({},e),{},{isOpen:B,isSubMenu:!0})},mv.createElement("i",{className:"".concat(I,"-arrow")}))),(ae=mv.useRef(v)).current="inline"!==v&&T.length>1?"vertical":v,k||(ie=mv.createElement(Fd,{mode:se=ae.current,prefixCls:I,visible:!r&&B&&"inline"!==v,popupClassName:s,popupOffset:l,popup:mv.createElement(xd,{mode:"horizontal"===se?"vertical":se},mv.createElement(LT,{id:oe,ref:F},o)),disabled:A,onVisibleChange:ne},ie)),le=mv.createElement(tN.Item,fa({role:"none"},g,{component:"li",style:ce,className:mZ(I,"".concat(I,"-").concat(v),ue,(t={},Ci(t,"".concat(I,"-open"),B),Ci(t,"".concat(I,"-active"),J),Ci(t,"".concat(I,"-selected"),H),Ci(t,"".concat(I,"-disabled"),A),t)),onMouseEnter:Y,onMouseLeave:Q}),ie,!k&&mv.createElement(Md,{id:oe,open:B,keyPath:T},o)),j&&(le=j(le,e,{selected:H,active:J,open:B,disabled:A})),mv.createElement(xd,{onItemClick:te,mode:"horizontal"===v?"vertical":v,itemIcon:M,expandIcon:L},le)},qT=["className","title","eventKey","children"],XT=["children"],KT=function(e){var t,n,r,o,i=e.className,a=e.title;return t=e.children,n=Ei(e,qT),r=mv.useContext(uT),o="".concat(r.prefixCls,"-item-group"),mv.createElement("li",fa({role:"presentation"},n,{onClick:function(e){return e.stopPropagation()},className:mZ(o,i)}),mv.createElement("div",{role:"presentation",className:"".concat(o,"-title"),title:"string"==typeof a?a:void 0},a),mv.createElement("ul",{role:"group",className:"".concat(o,"-list")},t))},YT=["label","children","key","type"],QT=["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"],JT=[],(ZT=mv.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,C,E,D,O,$,j,P,N,T,I,A,R,F,M,L,z,B,H,U,W,V,G,q,X,K,Y,Q,J,Z,ee,te,ne,re,oe,ie,ae,se=e.prefixCls,le=void 0===se?"rc-menu":se,ce=e.rootClassName,ue=e.style,de=e.className,pe=e.tabIndex,fe=void 0===pe?0:pe,me=e.items,ge=e.children,he=e.direction,be=e.id,ye=e.mode,ve=void 0===ye?"vertical":ye,_e=e.inlineCollapsed,we=e.disabled,ke=e.disabledOverflow,xe=e.subMenuOpenDelay,Se=void 0===xe?.1:xe,Ce=e.subMenuCloseDelay,Ee=void 0===Ce?.1:Ce,De=e.forceSubMenuRender,Oe=e.defaultOpenKeys,$e=e.openKeys,je=e.activeKey,Pe=e.defaultActiveFirst,Ne=e.selectable,Te=void 0===Ne||Ne,Ie=e.multiple,Ae=void 0!==Ie&&Ie,Re=e.defaultSelectedKeys,Fe=e.selectedKeys,Me=e.onSelect,Le=e.onDeselect,ze=e.inlineIndent,Be=void 0===ze?24:ze,He=e.motion,Ue=e.defaultMotions,We=e.triggerSubMenuAction,Ve=void 0===We?"hover":We,Ge=e.builtinPlacements,qe=e.itemIcon,Xe=e.expandIcon,Ke=e.overflowedIndicator,Ye=void 0===Ke?"...":Ke,Qe=e.overflowedIndicatorPopupClassName,Je=e.getPopupContainer,Ze=e.onClick,et=e.onOpenChange,tt=e.onKeyDown;return o=e._internalRenderMenuItem,i=e._internalRenderSubMenuItem,a=Ei(e,QT),s=mv.useMemo((function(){return Ud(ge,me,JT)}),[ge,me]),c=(l=Va(mv.useState(!1),2))[0],u=l[1],d=mv.useRef(),p=function(e){var t=Va(Al(e,{value:e}),2),n=t[0],r=t[1];return mv.useEffect((function(){jT+=1;var e="".concat($T,"-").concat(jT);r("rc-menu-uuid-".concat(e))}),[]),n}(be),f="rtl"===he,m=Va(Al(Oe,{value:$e,postState:function(e){return e||JT}}),2),h=m[1],b=function(e,t){function n(){h(e),null==et||et(e)}arguments.length>1&&void 0!==t&&t?OS.flushSync(n):n()},y=Va(mv.useState(g=m[0]),2),v=y[0],_=y[1],w=mv.useRef(!1),k=Va(mv.useMemo((function(){return"inline"!==ve&&"vertical"!==ve||!_e?[ve,!1]:["vertical",_e]}),[ve,_e]),2),S=k[1],C="inline"===(x=k[0]),E=Va(mv.useState(x),2),D=E[0],O=E[1],j=($=Va(mv.useState(S),2))[0],P=$[1],mv.useEffect((function(){O(x),P(S),w.current&&(C?h(v):b(JT))}),[x,S]),N=Va(mv.useState(0),2),I=N[1],A=(T=N[0])>=s.length-1||"horizontal"!==D||ke,mv.useEffect((function(){C&&_(g)}),[g]),mv.useEffect((function(){return w.current=!0,function(){w.current=!1}}),[]),R=function(){var e=Va(mv.useState({}),2)[1],t=mv.useRef(new Map),n=mv.useRef(new Map),r=Va(mv.useState([]),2),o=r[0],i=r[1],a=mv.useRef(0),s=mv.useRef(!1),l=mv.useCallback((function(r,o){var i,l,c=ET(o);n.current.set(c,r),t.current.set(r,c),a.current+=1,i=a.current,l=function(){i===a.current&&(s.current||e({}))},Promise.resolve().then(l)}),[]),c=mv.useCallback((function(e,r){var o=ET(r);n.current.delete(o),t.current.delete(e)}),[]),u=mv.useCallback((function(e){i(e)}),[]),d=mv.useCallback((function(e,n){var r=t.current.get(e)||"",i=DT(r);return n&&o.includes(i[0])&&i.unshift(OT),i}),[o]),p=mv.useCallback((function(e,t){return e.some((function(e){return d(e,!0).includes(t)}))}),[d]),f=mv.useCallback((function(e){var r="".concat(t.current.get(e)).concat(CT),o=new Set;return ka(n.current.keys()).forEach((function(e){e.startsWith(r)&&o.add(n.current.get(e))})),o}),[]);return mv.useEffect((function(){return function(){s.current=!0}}),[]),{registerPath:l,unregisterPath:c,refreshOverflowKeys:u,isSubPathKey:p,getKeyPath:d,getKeys:function(){var e=ka(t.current.keys());return o.length&&e.push(OT),e},getSubPathKeys:f}}(),L=R.refreshOverflowKeys,z=R.isSubPathKey,B=R.getKeyPath,H=R.getKeys,U=R.getSubPathKeys,W=mv.useMemo((function(){return{registerPath:F,unregisterPath:M}}),[F=R.registerPath,M=R.unregisterPath]),V=mv.useMemo((function(){return{isSubPathKey:z}}),[z]),mv.useEffect((function(){L(A?JT:s.slice(T+1).map((function(e){return e.key})))}),[T,A]),G=Va(Al(je||Pe&&(null===(n=s[0])||void 0===n?void 0:n.key),{value:je}),2),q=G[0],X=G[1],K=$d((function(e){X(e)})),Y=$d((function(){X(void 0)})),mv.useImperativeHandle(t,(function(){return{list:d.current,focus:function(e){var t,n,r,o,i=null!=q?q:null===(t=s.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;i&&(null===(n=d.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(wd(p,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}})),Q=Va(Al(Re||[],{value:Fe,postState:function(e){return Array.isArray(e)?e:null==e?JT:[e]}}),2),J=Q[0],Z=Q[1],ee=function(e){var t,n,r,o;Te&&(n=J.includes(t=e.key),r=Ae?n?J.filter((function(e){return e!==t})):[].concat(ka(J),[t]):[t],Z(r),o=Sa(Sa({},e),{},{selectedKeys:r}),n?null==Le||Le(o):null==Me||Me(o)),!Ae&&g.length&&"inline"!==D&&b(JT)},te=$d((function(e){null==Ze||Ze(Td(e)),ee(e)})),ne=$d((function(e,t){var n,r=g.filter((function(t){return t!==e}));t?r.push(e):"inline"!==D&&(n=U(e),r=r.filter((function(e){return!n.has(e)}))),Pa(g,r,!0)||b(r,!0)})),re=function(e,t,n,r,o,i,a,s,l,c){var u,d=mv.useRef(),p=mv.useRef();return p.current=t,u=function(){b$.cancel(d.current)},mv.useEffect((function(){return function(){u()}}),[]),function(f){var m,g,h,b,y,v,_,w,k,x,S,C,E,D,O,$=f.which;if([].concat(ST,[_T,wT,kT,xT]).includes($)){if((b=function(){return m=new Set,g=new Map,h=new Map,i().forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(wd(r,e),"']"));t&&(m.add(t),h.set(t,e),g.set(e,t))})),m})(),y=g.get(t),v=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(y,m),_=h.get(v),w=function(e,t,n,r){var o,i,a,s,l,c,u,d="prev",p="next",f="children",m="parent";if("inline"===e&&r===_T)return{inlineTrigger:!0};switch(Ci(o={},yT,d),Ci(o,vT,p),l=o,Ci(i={},hT,n?p:d),Ci(i,bT,n?d:p),Ci(i,vT,f),Ci(i,_T,f),c=i,Ci(a={},yT,d),Ci(a,vT,p),Ci(a,_T,f),Ci(a,wT,m),Ci(a,hT,n?f:m),Ci(a,bT,n?m:f),null===(s={inline:l,horizontal:c,vertical:u=a,inlineSub:l,horizontalSub:u,verticalSub:u}["".concat(e).concat(t?"":"Sub")])||void 0===s?void 0:s[r]){case d:return{offset:-1,sibling:!0};case p:return{offset:1,sibling:!0};case m:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(e,1===a(_,!0).length,n,$),!w&&$!==kT&&$!==xT)return;(ST.includes($)||[kT,xT].includes($))&&f.preventDefault(),k=function(e){var t,n,r;e&&(t=e,null!=(n=e.querySelector("a"))&&n.getAttribute("href")&&(t=n),r=h.get(e),s(r),u(),d.current=b$((function(){p.current===r&&t.focus()})))},[kT,xT].includes($)||w.sibling||!v?(C=Dd(x=v&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(v):o.current,m),S=$===kT?C[0]:$===xT?C[C.length-1]:Od(x,m,v,w.offset),k(S)):w.inlineTrigger?l(_):w.offset>0?(l(_,!0),u(),d.current=b$((function(){var e,t;b(),e=v.getAttribute("aria-controls"),t=Od(document.getElementById(e),m),k(t)}),5)):w.offset<0&&(E=a(_,!0),O=g.get(D=E[E.length-2]),l(D,!1),k(O))}null==c||c(f)}}(D,q,f,p,d,H,B,X,(function(e,t){var n=null!=t?t:!g.includes(e);ne(e,n)}),tt),mv.useEffect((function(){u(!0)}),[]),oe=mv.useMemo((function(){return{_internalRenderMenuItem:o,_internalRenderSubMenuItem:i}}),[o,i]),ie="horizontal"!==D||ke?s:s.map((function(e,t){return mv.createElement(xd,{key:e.key,overflowDisabled:t>T},e)})),ae=mv.createElement(tN,fa({id:be,ref:d,prefixCls:"".concat(le,"-overflow"),component:"ul",itemComponent:O4,className:mZ(le,"".concat(le,"-root"),"".concat(le,"-").concat(D),de,(r={},Ci(r,"".concat(le,"-inline-collapsed"),j),Ci(r,"".concat(le,"-rtl"),f),r),ce),dir:he,style:ue,role:"menu",tabIndex:fe,data:ie,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?s.slice(-t):null;return mv.createElement(Ld,{eventKey:OT,title:Ye,disabled:A,internalPopupClose:0===t,popupClassName:Qe},n)},maxCount:"horizontal"!==D||ke?tN.INVALIDATE:tN.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){I(e)},onKeyDown:re},a)),mv.createElement(gT.Provider,{value:oe},mv.createElement(lT.Provider,{value:p},mv.createElement(xd,{prefixCls:le,rootClassName:ce,mode:D,openKeys:g,rtl:f,disabled:we,motion:c?He:null,defaultMotions:c?Ue:null,activeKey:q,onActive:K,onInactive:Y,selectedKeys:J,inlineIndent:Be,subMenuOpenDelay:Se,subMenuCloseDelay:Ee,forceSubMenuRender:De,builtinPlacements:Ge,triggerSubMenuAction:Ve,getPopupContainer:Je,itemIcon:qe,expandIcon:Xe,onItemClick:te,onOpenChange:ne},mv.createElement(mT.Provider,{value:V},ae),mv.createElement("div",{style:{display:"none"},"aria-hidden":!0},mv.createElement(pT.Provider,{value:W},s)))))}))).Item=O4,ZT.SubMenu=Ld,ZT.ItemGroup=zd,ZT.Divider=Bd,globalThis&&globalThis;const $4=mv.createContext({});eI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,className:n,dashed:r}=e,o=eI(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=mv.useContext(zZ),a=i("menu",t),s=mZ({[`${a}-item-divider-dashed`]:!!r},n);return mv.createElement(Bd,Object.assign({className:s},o))},P4=mv.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),N4=e=>{var t;const{className:n,children:r,icon:o,title:i,danger:a}=e,{prefixCls:s,firstLevel:l,direction:c,disableMenuItemTitleTooltip:u,inlineCollapsed:d}=mv.useContext(P4),{siderCollapsed:p}=mv.useContext($4);let f=i;void 0===i?f=l?r:"":!1===i&&(f="");const m={title:f};p||d||(m.title=null,m.open=!1);const g=Ls(r).length;let h=mv.createElement(O4,Object.assign({},Qs(e,["title","icon","danger"]),{className:mZ({[`${s}-item-danger`]:a,[`${s}-item-only-child`]:1===(o?g+1:g)},n),title:"string"==typeof i?i:void 0}),sc(o,{className:mZ(S0(o)?null===(t=o.props)||void 0===t?void 0:t.className:"",`${s}-item-icon`)}),(e=>{const t=mv.createElement("span",{className:`${s}-title-content`},r);return(!o||S0(r)&&"span"===r.type)&&r&&e&&l&&"string"==typeof r?mv.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):t})(d));return u||(h=mv.createElement(E4,Object.assign({},m,{placement:"rtl"===c?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),h)),h},T4=e=>{var t;const{popupClassName:n,icon:r,title:o,theme:i}=e,a=mv.useContext(P4),{prefixCls:s,inlineCollapsed:l,theme:c}=a,u=Cd();let d;if(r){const e=S0(o)&&"span"===o.type;d=mv.createElement(mv.Fragment,null,sc(r,{className:mZ(S0(r)?null===(t=r.props)||void 0===t?void 0:t.className:"",`${s}-item-icon`)}),e?o:mv.createElement("span",{className:`${s}-title-content`},o))}else d=l&&!u.length&&o&&"string"==typeof o?mv.createElement("div",{className:`${s}-inline-collapsed-noicon`},o.charAt(0)):mv.createElement("span",{className:`${s}-title-content`},o);const p=mv.useMemo((()=>Object.assign(Object.assign({},a),{firstLevel:!1})),[a]);return mv.createElement(P4.Provider,{value:p},mv.createElement(Ld,Object.assign({},Qs(e,["icon"]),{title:d,popupClassName:mZ(s,n,`${s}-${i||c}`)})))};globalThis&&globalThis;const I4=mv.createContext(null);tI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:i,lineType:a,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${i}px ${a} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover,\n > ${t}-item-active,\n > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},R4=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,\n ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},F4=e=>Object.assign({},GZ(e)),M4=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:o,groupTitleColor:i,itemBg:a,subMenuItemBg:s,itemSelectedBg:l,activeBarHeight:c,activeBarWidth:u,activeBarBorderWidth:d,motionDurationSlow:p,motionEaseInOut:f,motionEaseOut:m,itemPaddingInline:g,motionDurationMid:h,itemHoverColor:b,lineType:y,colorSplit:v,itemDisabledColor:_,dangerItemColor:w,dangerItemHoverColor:k,dangerItemSelectedColor:x,dangerItemActiveBg:S,dangerItemSelectedBg:C,itemHoverBg:E,itemActiveBg:D,menuSubMenuBg:O,horizontalItemSelectedColor:$,horizontalItemSelectedBg:j,horizontalItemBorderRadius:P,horizontalItemHoverBg:N,popupBg:T}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:Object.assign({},F4(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:o}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${_} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:b}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:E},"&:active":{backgroundColor:D}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:E},"&:active":{backgroundColor:D}}},[`${n}-item-danger`]:{color:w,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:k}},[`&${n}-item:active`]:{background:S}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:x},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:C}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},F4(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:O},[`&${n}-popup > ${n}`]:{backgroundColor:T},[`&${n}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:d,marginTop:-d,marginBottom:0,borderRadius:P,"&::after":{position:"absolute",insetInline:g,bottom:0,borderBottom:`${c}px solid transparent`,transition:`border-color ${p} ${f}`,content:'""'},"&:hover, &-active, &-open":{background:N,"&::after":{borderBottomWidth:c,borderBottomColor:$}},"&-selected":{color:$,backgroundColor:j,"&:hover":{backgroundColor:j},"&::after":{borderBottomWidth:c,borderBottomColor:$}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${d}px ${y} ${v}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item, ${n}-submenu-title`]:d&&u?{width:`calc(100% + ${d}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${u}px solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${h} ${m}`,`opacity ${h} ${m}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:x}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${h} ${f}`,`opacity ${h} ${f}`].join(",")}}}}}},L4=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:i,marginXS:a,itemMarginBlock:s}=e;return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:`calc(100% - ${2*r}px)`},[`> ${t}-item,\n > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title,\n ${t}-submenu-title`]:{paddingInlineEnd:o+i+a}}},z4=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:i,controlHeightLG:a,motionDurationMid:s,motionEaseOut:l,paddingXL:c,itemMarginInline:u,fontSizeLG:d,motionDurationSlow:p,paddingXS:f,boxShadowSecondary:m,collapsedWidth:g,collapsedIconSize:h}=e,b={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},L4(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},L4(e)),{boxShadow:m})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${2.5*a}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${p}`,`background ${p}`,`padding ${s} ${l}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:b,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:b}},{[`${t}-inline-collapsed`]:{width:g,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,\n > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${d/2}px - ${u}px)`,textOverflow:"clip",[`\n ${t}-submenu-arrow,\n ${t}-submenu-expand-icon\n `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:h,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},HZ),{paddingInline:f})}}]},B4=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:i,iconCls:a,iconSize:s,iconMarginInlineEnd:l}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding ${n} ${o}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${i}`,`margin ${n} ${o}`,`color ${n}`].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:[`opacity ${n} ${o}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},{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"}}),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},H4=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:.6*i,height:.15*i,backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${a})`},"&::after":{transform:`rotate(-45deg) translateY(${a})`}}}}},U4=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:a,paddingXS:s,padding:l,colorSplit:c,lineWidth:u,zIndexPopup:d,borderRadiusLG:p,subMenuItemBorderRadius:f,menuArrowSize:m,menuArrowOffset:g,lineType:h,menuPanelMaskInset:b,groupTitleLineHeight:y,groupTitleFontSize:v}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},UZ(e)),{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${s}px ${l}px`,fontSize:v,lineHeight:y,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${a}`,`padding ${o} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${o}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:h,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),B4(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${2*r}px ${l}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,borderRadius:p,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${b}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:b},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:p},B4(e)),H4(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:f},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${a}`}})}}),H4(e)),{[`&-inline-collapsed ${n}-submenu-arrow,\n &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${g})`},"&::after":{transform:`rotate(45deg) translateX(-${g})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${.2*m}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${g})`},"&::before":{transform:`rotate(45deg) translateX(${g})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]};nI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const o=mv.useContext(I4),i=o||{},{getPrefixCls:a,getPopupContainer:s,direction:l,menu:c}=mv.useContext(zZ),u=a(),{prefixCls:d,className:p,style:f,theme:m="light",expandIcon:g,_internalDisableMenuItemTitleTooltip:h,inlineCollapsed:b,siderCollapsed:y,items:v,children:_,rootClassName:w,mode:k,selectable:x,onClick:S,overflowedIndicatorPopupClassName:C}=e,E=Qs(nI(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),["collapsedWidth"]),D=Vd(v)||_;null===(n=i.validator)||void 0===n||n.call(i,{mode:k});const O=Nl((function(){var e;null==S||S.apply(void 0,arguments),null===(e=i.onClick)||void 0===e||e.call(i)})),$=i.mode||k,j=null!=x?x:i.selectable,P=mv.useMemo((()=>void 0!==y?y:b),[b,y]),N={horizontal:{motionName:`${u}-slide-up`},inline:L1(u),other:{motionName:`${u}-zoom-big`}},T=a("menu",d||i.prefixCls),[I,A]=((e,t)=>Ml("Menu",(e=>{if(!1===t)return[];const{colorBgElevated:n,colorPrimary:r,colorTextLightSolid:o,controlHeightLG:i,fontSize:a,darkItemColor:s,darkDangerItemColor:l,darkItemBg:c,darkSubMenuItemBg:u,darkItemSelectedColor:d,darkItemSelectedBg:p,darkDangerItemSelectedBg:f,darkItemHoverBg:m,darkGroupTitleColor:g,darkItemHoverColor:h,darkItemDisabledColor:b,darkDangerItemHoverColor:y,darkDangerItemSelectedColor:v,darkDangerItemActiveBg:_}=e,w=a/7*5,k=Rl(e,{menuArrowSize:w,menuHorizontalHeight:1.15*i,menuArrowOffset:.25*w+"px",menuPanelMaskInset:-7,menuSubMenuBg:n}),x=Rl(k,{itemColor:s,itemHoverColor:h,groupTitleColor:g,itemSelectedColor:d,itemBg:c,popupBg:c,subMenuItemBg:u,itemActiveBg:"transparent",itemSelectedBg:p,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:m,itemDisabledColor:b,dangerItemColor:l,dangerItemHoverColor:y,dangerItemSelectedColor:v,dangerItemActiveBg:_,dangerItemSelectedBg:f,menuSubMenuBg:u,horizontalItemSelectedColor:o,horizontalItemSelectedBg:r});return[U4(k),A4(k),z4(k),M4(k,"light"),M4(x,"dark"),R4(k),o5(k),U2(k,"slide-up"),U2(k,"slide-down"),r5(k,"zoom-big")]}),(e=>{const{colorPrimary:t,colorError:n,colorTextDisabled:r,colorErrorBg:o,colorText:i,colorTextDescription:a,colorBgContainer:s,colorFillAlter:l,colorFillContent:c,lineWidth:u,lineWidthBold:d,controlItemBgActive:p,colorBgTextHover:f,controlHeightLG:m,lineHeight:g,colorBgElevated:h,marginXXS:b,padding:y,fontSize:v,controlHeightSM:_,fontSizeLG:w,colorTextLightSolid:k,colorErrorHover:x}=e,S=new S$(k).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:i,itemColor:i,colorItemTextHover:i,itemHoverColor:i,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:a,groupTitleColor:a,colorItemTextSelected:t,itemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:s,itemBg:s,colorItemBgHover:f,itemHoverBg:f,colorItemBgActive:c,itemActiveBg:p,colorSubItemBg:l,subMenuItemBg:l,colorItemBgSelected:p,itemSelectedBg:p,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:d,activeBarHeight:d,colorActiveBarBorderSize:u,activeBarBorderWidth:u,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:n,dangerItemColor:n,colorDangerItemTextHover:n,dangerItemHoverColor:n,colorDangerItemTextSelected:n,dangerItemSelectedColor:n,colorDangerItemBgActive:o,dangerItemActiveBg:o,colorDangerItemBgSelected:o,dangerItemSelectedBg:o,itemMarginInline:e.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:m,groupTitleLineHeight:g,collapsedWidth:2*m,popupBg:h,itemMarginBlock:b,itemPaddingInline:y,horizontalLineHeight:1.15*m+"px",iconSize:v,iconMarginInlineEnd:_-v,collapsedIconSize:w,groupTitleFontSize:v,darkItemDisabledColor:new S$(k).setAlpha(.25).toRgbString(),darkItemColor:S,darkDangerItemColor:n,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:k,darkItemSelectedBg:t,darkDangerItemSelectedBg:n,darkItemHoverBg:"transparent",darkGroupTitleColor:S,darkItemHoverColor:k,darkDangerItemHoverColor:x,darkDangerItemSelectedColor:k,darkDangerItemActiveBg:n}}),{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(e))(T,!o),R=mZ(`${T}-${m}`,null==c?void 0:c.className,p);let F;if("function"==typeof g)F=g;else{const e=g||i.expandIcon;F=sc(e,{className:mZ(`${T}-submenu-expand-icon`,null===(r=null==e?void 0:e.props)||void 0===r?void 0:r.className)})}const M=mv.useMemo((()=>({prefixCls:T,inlineCollapsed:P||!1,direction:l,firstLevel:!0,theme:m,mode:$,disableMenuItemTitleTooltip:h})),[T,P,l,h,m]);return I(mv.createElement(I4.Provider,{value:null},mv.createElement(P4.Provider,{value:M},mv.createElement(ZT,Object.assign({getPopupContainer:s,overflowedIndicator:mv.createElement(K1,null),overflowedIndicatorPopupClassName:mZ(T,`${T}-${m}`,C),mode:$,selectable:j,onClick:O},E,{inlineCollapsed:P,style:Object.assign(Object.assign({},null==c?void 0:c.style),f),className:R,prefixCls:T,direction:l,defaultMotions:N,expandIcon:F,ref:t,rootClassName:mZ(w,A)}),D))))})),V4=mv.forwardRef(((e,t)=>{const n=mv.useRef(null),r=mv.useContext($4);return mv.useImperativeHandle(t,(()=>({menu:n.current,focus:e=>{var t;null===(t=n.current)||void 0===t||t.focus(e)}}))),mv.createElement(W4,Object.assign({ref:n},e,r))}));V4.Item=N4,V4.SubMenu=T4,V4.Divider=j4,V4.ItemGroup=zd;const G4=V4,q4=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),X4=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),K4=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),Y4=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},X4(Rl(e,{inputBorderHoverColor:e.colorBorder})))}),Q4=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:o,inputPaddingHorizontalLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:n,lineHeight:r,borderRadius:o}},J4=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),Z4=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:o,colorErrorOutline:i,colorWarningOutline:a,colorErrorBorderHover:s,colorWarningBorderHover:l}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},K4(Rl(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:i}))),[`${n}-prefix, ${n}-suffix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:l},"&:focus, &-focused":Object.assign({},K4(Rl(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:a}))),[`${n}-prefix, ${n}-suffix`]:{color:o}}}},e3=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},q4(e.colorTextPlaceholder)),{"&:hover":Object.assign({},X4(e)),"&:focus, &-focused":Object.assign({},K4(e)),"&-disabled, &[disabled]":Object.assign({},Y4(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},Q4(e)),"&-sm":Object.assign({},J4(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),t3=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},Q4(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},J4(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${n}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,\n & > ${n}-select-auto-complete ${t},\n & > ${n}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${n}-select:first-child > ${n}-select-selector,\n & > ${n}-select-auto-complete:first-child ${t},\n & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${n}-select:last-child > ${n}-select-selector,\n & > ${n}-cascader-picker:last-child ${t},\n & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${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}}}})}},n3=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r}=e,o=(n-2*r-16)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},UZ(e)),e3(e)),Z4(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},r3=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},o3=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e3(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},X4(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),r3(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),Z4(e,`${t}-affix-wrapper`))}},i3=e=>{const{componentCls:t,colorError:n,colorWarning:r,borderRadiusLG:o,borderRadiusSM:i}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},UZ(e)),t3(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:o}},"&-sm":{[`${t}-group-addon`]:{borderRadius:i}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},Y4(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}}}})}},a3=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},s3=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},l3=Ml("Input",(e=>{const t=Gd(e);return[n3(t),s3(t),o3(t),i3(t),a3(t),Dc(t)]})),c3=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:i}=e,a=mZ({[`${t}-lg`]:"large"===o,[`${t}-sm`]:"small"===o}),s=mZ({[`${t}-circle`]:"circle"===i,[`${t}-square`]:"square"===i,[`${t}-round`]:"round"===i}),l=mv.useMemo((()=>"number"==typeof o?{width:o,height:o,lineHeight:`${o}px`}:{}),[o]);return mv.createElement("span",{className:mZ(t,a,s,n),style:Object.assign(Object.assign({},l),r)})},u3=new NO("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),d3=e=>({height:e,lineHeight:`${e}px`}),p3=e=>Object.assign({width:e},d3(e)),f3=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:u3,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),m3=e=>Object.assign({width:5*e,minWidth:5*e},d3(e)),g3=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},p3(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},p3(o)),[`${t}${t}-sm`]:Object.assign({},p3(i))}},h3=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},m3(t)),[`${r}-lg`]:Object.assign({},m3(o)),[`${r}-sm`]:Object.assign({},m3(i))}},b3=e=>Object.assign({width:e},d3(e)),y3=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},b3(2*n)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},b3(n)),{maxWidth:4*n,maxHeight:4*n}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},v3=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},_3=e=>Object.assign({width:2*e,minWidth:2*e},d3(e)),w3=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:2*r,minWidth:2*r},_3(r))},v3(e,r,n)),{[`${n}-lg`]:Object.assign({},_3(o))}),v3(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},_3(i))}),v3(e,i,`${n}-sm`))},k3=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:p,marginSM:f,borderRadius:m,titleHeight:g,blockRadius:h,paragraphLiHeight:b,controlHeightXS:y,paragraphMarginTop:v}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},p3(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},p3(c)),[`${n}-sm`]:Object.assign({},p3(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:g,background:d,borderRadius:h,[`+ ${o}`]:{marginBlockStart:u}},[`${o}`]:{padding:0,"> li":{width:"100%",height:b,listStyle:"none",background:d,borderRadius:h,"+ li":{marginBlockStart:y}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:m}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:f,[`+ ${o}`]:{marginBlockStart:v}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},w3(e)),g3(e)),h3(e)),y3(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${r},\n ${o} > li,\n ${n},\n ${i},\n ${a},\n ${s}\n `]:Object.assign({},f3(e))}}},x3=Ml("Skeleton",(e=>{const{componentCls:t}=e,n=Rl(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:1.5*e.controlHeight,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[k3(n)]}),(e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),S3=e=>{const t=t=>{const{width:n,rows:r=2}=e;return Array.isArray(n)?n[t]:r-1===t?n:void 0},{prefixCls:n,className:r,style:o,rows:i}=e,a=ka(Array(i)).map(((e,n)=>mv.createElement("li",{key:n,style:{width:t(n)}})));return mv.createElement("ul",{className:mZ(n,r),style:o},a)},C3=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return mv.createElement("h3",{className:mZ(t,n),style:Object.assign({width:r},o)})},E3=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:p,direction:f,skeleton:m}=mv.useContext(zZ),g=p("skeleton",t),[h,b]=x3(g);if(n||!("loading"in e)){const e=!!s,t=!!l,n=!!c;let a,p;if(e){const e=Object.assign(Object.assign({prefixCls:`${g}-avatar`},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(t,n)),qd(s));a=mv.createElement("div",{className:`${g}-header`},mv.createElement(c3,Object.assign({},e)))}if(t||n){let r,o;if(t){const t=Object.assign(Object.assign({prefixCls:`${g}-title`},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(e,n)),qd(l));r=mv.createElement(C3,Object.assign({},t))}if(n){const n=Object.assign(Object.assign({prefixCls:`${g}-paragraph`},function(e,t){const n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(e,t)),qd(c));o=mv.createElement(S3,Object.assign({},n))}p=mv.createElement("div",{className:`${g}-content`},r,o)}const y=mZ(g,{[`${g}-with-avatar`]:e,[`${g}-active`]:u,[`${g}-rtl`]:"rtl"===f,[`${g}-round`]:d},null==m?void 0:m.className,r,o,b);return h(mv.createElement("div",{className:y,style:Object.assign(Object.assign({},null==m?void 0:m.style),i)},a,p))}return void 0!==a?a:null};E3.Button=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:s}=mv.useContext(zZ),l=s("skeleton",t),[c,u]=x3(l),d=Qs(e,["prefixCls"]),p=mZ(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u);return c(mv.createElement("div",{className:p},mv.createElement(c3,Object.assign({prefixCls:`${l}-button`,size:a},d))))},E3.Avatar=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:s}=mv.useContext(zZ),l=s("skeleton",t),[c,u]=x3(l),d=Qs(e,["prefixCls","className"]),p=mZ(l,`${l}-element`,{[`${l}-active`]:o},n,r,u);return c(mv.createElement("div",{className:p},mv.createElement(c3,Object.assign({prefixCls:`${l}-avatar`,shape:i,size:a},d))))},E3.Input=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:s}=mv.useContext(zZ),l=s("skeleton",t),[c,u]=x3(l),d=Qs(e,["prefixCls"]),p=mZ(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u);return c(mv.createElement("div",{className:p},mv.createElement(c3,Object.assign({prefixCls:`${l}-input`,size:a},d))))},E3.Image=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=mv.useContext(zZ),s=a("skeleton",t),[l,c]=x3(s),u=mZ(s,`${s}-element`,{[`${s}-active`]:i},n,r,c);return l(mv.createElement("div",{className:u},mv.createElement("div",{className:mZ(`${s}-image`,n),style:o},mv.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},mv.createElement("path",{d:"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",className:`${s}-image-path`})))))},E3.Node=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:s}=mv.useContext(zZ),l=s("skeleton",t),[c,u]=x3(l),d=mZ(l,`${l}-element`,{[`${l}-active`]:i},u,n,r),p=null!=a?a:mv.createElement(V1,null);return c(mv.createElement("div",{className:d},mv.createElement("div",{className:mZ(`${l}-image`,n),style:o},p)))};const D3=E3,O3=mv.createContext(null);rI=mv.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.id,a=e.active,s=e.tabKey,l=e.children;return mv.createElement("div",{id:i&&"".concat(i,"-panel-").concat(s),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(s),"aria-hidden":!a,style:o,className:mZ(n,a&&"".concat(n,"-active"),r),ref:t},l)})),oI=["key","forceRender","style","className"],iI={width:0,height:0,left:0,top:0},aI=.1,sI=.01,lI=20,cI=Math.pow(.995,lI),uI={width:0,height:0,left:0,top:0,right:0},dI="TABS_DQ";const $3=mv.forwardRef(ep);pI=mv.forwardRef((function(e,t){var n,r,o=e.position,i=e.prefixCls,a=e.extra;return a?(r={},"object"!==xi(a)||mv.isValidElement(a)?r.right=a:r=a,"right"===o&&(n=r.right),"left"===o&&(n=r.left),n?mv.createElement("div",{className:"".concat(i,"-extra-content"),ref:t},n):null):null}));const j3=mv.memo(mv.forwardRef(tp),(function(e,t){return t.tabMoving}));fI=function(e){var t=e.current||{},n=t.offsetWidth,r=t.offsetHeight;return[void 0===n?0:n,void 0===r?0:r]},mI=function(e,t){return e[t?0:1]};const P3=mv.forwardRef(rp);gI=["renderTabBar"],hI=["label","key"],bI=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],yI=0,vI=mv.forwardRef(ip);const N3={motionAppear:!1,motionEnter:!0,motionLeave:!0};_I=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[U2(e,"slide-up"),U2(e,"slide-down")]]},I3=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${o}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${o}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${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 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},A3=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},UZ(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:`${r}px 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({},HZ),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},R3=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a}=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:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},\n 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,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,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:1.25*e.controlHeight,[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${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:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},F3=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},M3=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:s}=e,l=`${t}-tab`;return{[l]:{position:"relative",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},qZ(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${l}-active ${l}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${l}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${l}-disabled ${l}-btn, &${l}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${l}-remove ${o}`]:{margin:0},[o]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${l} + ${l}`]:{margin:{_skip_check_:!0,value:i}}}},L3=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},z3=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},UZ(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${s}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},qZ(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),M3(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},B3=Ml("Tabs",(e=>{const t=Rl(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[F3(t),L3(t),R3(t),A3(t),I3(t),z3(t),T3(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:e.controlHeightLG,cardPadding:"",cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}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`,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2})));wI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{type:t,className:n,rootClassName:r,size:o,onEdit:i,hideAdd:a,centered:s,addIcon:l,popupClassName:c,children:u,items:d,animated:p,style:f}=e,m=wI(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style"]),{prefixCls:g,moreIcon:h=mv.createElement(K1,null)}=m,{direction:b,tabs:y,getPrefixCls:v,getPopupContainer:_}=mv.useContext(zZ),w=v("tabs",g),[k,x]=B3(w);let S;"editable-card"===t&&(S={onEdit:(e,t)=>{let{key:n,event:r}=t;null==i||i("add"===e?r:n,e)},removeIcon:mv.createElement(v0,null),addIcon:l||mv.createElement(t2,null),showAdd:!0!==a});const C=v(),E=function(e,t){return e||function(e){return e.filter((e=>e))}(Ls(t).map((e=>{if(mv.isValidElement(e)){const{key:t,props:n}=e,r=n||{},{tab:o}=r,i=_I(r,["tab"]);return Object.assign(Object.assign({key:String(t)},i),{label:o})}return null})))}(d,u),D=function(e,t){let n,r=arguments.length>1&&void 0!==t?t:{inkBar:!0,tabPane:!1};return n=!1===r?{inkBar:!1,tabPane:!1}:!0===r?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof r?r:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},N3),{motionName:B1(e,"switch")})),n}(w,p),O=G0(o),$=Object.assign(Object.assign({},null==y?void 0:y.style),f);return k(mv.createElement(vI,Object.assign({direction:b,getPopupContainer:_,moreTransitionName:`${C}-slide-up`},m,{items:E,className:mZ({[`${w}-${O}`]:O,[`${w}-card`]:["card","editable-card"].includes(t),[`${w}-editable-card`]:"editable-card"===t,[`${w}-centered`]:s},null==y?void 0:y.className,n,r,x),popupClassName:mZ(c,x),style:$,editable:S,moreIcon:h,prefixCls:w,animated:D})))};H3.TabPane=()=>null;const U3=H3,W3=mv.createContext({}),V3=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},G3=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},q3=(e,t)=>((e,t)=>{const{componentCls:n,gridColumns:r}=e,o={};for(let i=r;i>=0;i--)0===i?(o[`${n}${t}-${i}`]={display:"none"},o[`${n}-push-${i}`]={insetInlineStart:"auto"},o[`${n}-pull-${i}`]={insetInlineEnd:"auto"},o[`${n}${t}-push-${i}`]={insetInlineStart:"auto"},o[`${n}${t}-pull-${i}`]={insetInlineEnd:"auto"},o[`${n}${t}-offset-${i}`]={marginInlineStart:0},o[`${n}${t}-order-${i}`]={order:0}):(o[`${n}${t}-${i}`]={display:"block",flex:`0 0 ${i/r*100}%`,maxWidth:i/r*100+"%"},o[`${n}${t}-push-${i}`]={insetInlineStart:i/r*100+"%"},o[`${n}${t}-pull-${i}`]={insetInlineEnd:i/r*100+"%"},o[`${n}${t}-offset-${i}`]={marginInlineStart:i/r*100+"%"},o[`${n}${t}-order-${i}`]={order:i});return o})(e,t),X3=Ml("Grid",(e=>[V3(e)])),K3=Ml("Grid",(e=>{const t=Rl(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[G3(t),q3(t,""),q3(t,"-xs"),Object.keys(n).map((e=>((e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},q3(e,n))}))(t,n[e],e))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})]}));kI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:n,direction:r}=mv.useContext(zZ),{gutter:o,wrap:i,supportFlexGap:a}=mv.useContext(W3),{prefixCls:s,span:l,order:c,offset:u,push:d,pull:p,className:f,children:m,flex:g,style:h}=e,b=kI(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),y=n("col",s),[v,_]=K3(y);let w={};Y3.forEach((t=>{let n={};const o=e[t];"number"==typeof o?n.span=o:"object"==typeof o&&(n=o||{}),delete b[t],w=Object.assign(Object.assign({},w),{[`${y}-${t}-${n.span}`]:void 0!==n.span,[`${y}-${t}-order-${n.order}`]:n.order||0===n.order,[`${y}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${y}-${t}-push-${n.push}`]:n.push||0===n.push,[`${y}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${y}-${t}-flex-${n.flex}`]:n.flex||"auto"===n.flex,[`${y}-rtl`]:"rtl"===r})}));const k=mZ(y,{[`${y}-${l}`]:void 0!==l,[`${y}-order-${c}`]:c,[`${y}-offset-${u}`]:u,[`${y}-push-${d}`]:d,[`${y}-pull-${p}`]:p},f,w,_),x={};if(o&&o[0]>0){const e=o[0]/2;x.paddingLeft=e,x.paddingRight=e}if(o&&o[1]>0&&!a){const e=o[1]/2;x.paddingTop=e,x.paddingBottom=e}return g&&(x.flex=function(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}(g),!1!==i||x.minWidth||(x.minWidth=0)),v(mv.createElement("div",Object.assign({},b,{style:Object.assign(Object.assign({},x),h),className:k,ref:t}),m))})),J3=()=>{const[e,t]=mv.useState(!1);return mv.useEffect((()=>{t((()=>{if(!d2())return!1;if(void 0!==p2)return p2;const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div"));const t=document.createElement("div");return t.style.position="absolute",t.style.zIndex="-9999",t.appendChild(e),document.body.appendChild(t),p2=1===e.scrollHeight,document.body.removeChild(t),p2})())}),[]),e};xI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,justify:r,align:o,className:i,style:a,children:s,gutter:l=0,wrap:c}=e,u=xI(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:d,direction:p}=mv.useContext(zZ),[f,m]=mv.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[g,h]=mv.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),b=ap(o,g),y=ap(r,g),v=J3(),_=mv.useRef(l),w=fd();mv.useEffect((()=>{const e=w.subscribe((e=>{h(e);const t=_.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&m(e)}));return()=>w.unsubscribe(e)}),[]);const k=d("row",n),[x,S]=X3(k),C=(()=>{const e=[void 0,void 0];return(Array.isArray(l)?l:[l,void 0]).forEach(((t,n)=>{if("object"==typeof t)for(let r=0;r0?C[0]/-2:void 0,$=null!=C[1]&&C[1]>0?C[1]/-2:void 0;O&&(D.marginLeft=O,D.marginRight=O),v?[,D.rowGap]=C:$&&(D.marginTop=$,D.marginBottom=$);const[j,P]=C,N=mv.useMemo((()=>({gutter:[j,P],wrap:c,supportFlexGap:v})),[j,P,c,v]);return x(mv.createElement(W3.Provider,{value:N},mv.createElement("div",Object.assign({},u,{className:E,style:Object.assign(Object.assign({},D),a),ref:t}),s)))}));(SI=jJ.forwardRef((function(e,t){var n,r=e.prefixCls,o=e.forceRender,i=e.className,a=e.style,s=e.children,l=e.isActive,c=e.role,u=Va(jJ.useState(l||o),2),d=u[0],p=u[1];return jJ.useEffect((function(){(o||l)&&p(!0)}),[o,l]),d?jJ.createElement("div",{ref:t,className:mZ("".concat(r,"-content"),(n={},Ci(n,"".concat(r,"-content-active"),l),Ci(n,"".concat(r,"-content-inactive"),!l),n),i),style:a,role:c},jJ.createElement("div",{className:"".concat(r,"-content-box")},s)):null}))).displayName="PanelContent",CI=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],EI=jJ.forwardRef((function(e,t){var n,r,o,i,a=e.showArrow,s=void 0===a||a,l=e.headerClass,c=e.isActive,u=e.onItemClick,d=e.forceRender,p=e.className,f=e.prefixCls,m=e.collapsible,g=e.accordion,h=e.panelKey,b=e.extra,y=e.header,v=e.expandIcon,_=e.openMotion,w=e.destroyInactivePanel,k=e.children,x=Ei(e,CI),S="disabled"===m,C="header"===m,E="icon"===m,D=null!=b&&"boolean"!=typeof b,O=function(){null==u||u(h)},$="function"==typeof v?v(e):jJ.createElement("i",{className:"arrow"});return $&&($=jJ.createElement("div",{className:"".concat(f,"-expand-icon"),onClick:["header","icon"].includes(m)?O:void 0},$)),o=mZ((Ci(n={},"".concat(f,"-item"),!0),Ci(n,"".concat(f,"-item-active"),c),Ci(n,"".concat(f,"-item-disabled"),S),n),p),i={className:mZ((Ci(r={},"".concat(f,"-header"),!0),Ci(r,"headerClass",l),Ci(r,"".concat(f,"-header-collapsible-only"),C),Ci(r,"".concat(f,"-icon-collapsible-only"),E),r)),"aria-expanded":c,"aria-disabled":S,onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==Ej.ENTER&&e.which!==Ej.ENTER||O()}},C||E||(i.onClick=O,i.role=g?"tab":"button",i.tabIndex=S?-1:0),jJ.createElement("div",fa({},x,{ref:t,className:o}),jJ.createElement("div",i,s&&$,jJ.createElement("span",{className:"".concat(f,"-header-text"),onClick:"header"===m?O:void 0},y),D&&jJ.createElement("div",{className:"".concat(f,"-extra")},b)),jJ.createElement(r0,fa({visible:c,leavedClassName:"".concat(f,"-content-hidden")},_,{forceRender:d,removeOnLeave:w}),(function(e,t){return jJ.createElement(SI,{ref:t,prefixCls:f,className:e.className,style:e.style,isActive:c,forceRender:d,role:g?"tabpanel":void 0},k)})))})),DI=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],OI=function(e,t){var n=t.prefixCls,r=t.accordion,o=t.collapsible,i=t.destroyInactivePanel,a=t.onItemClick,s=t.activeKey,l=t.openMotion,c=t.expandIcon;return e.map((function(e,t){var u,d=e.children,p=e.label,f=e.key,m=e.collapsible,g=e.onItemClick,h=e.destroyInactivePanel,b=Ei(e,DI),y=String(null!=f?f:t),v=null!=m?m:o,_=null!=h?h:i;return u=r?s[0]===y:s.indexOf(y)>-1,jJ.createElement(EI,fa({},b,{prefixCls:n,key:y,panelKey:y,isActive:u,accordion:r,openMotion:l,expandIcon:c,header:p,collapsible:v,onItemClick:function(e){"disabled"!==v&&(a(e),null==g||g(e))},destroyInactivePanel:_}),d)}))},$I=function(e,t,n){var r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_;return e?(r=n.prefixCls,o=n.accordion,i=n.collapsible,a=n.destroyInactivePanel,s=n.onItemClick,l=n.activeKey,c=n.openMotion,u=n.expandIcon,d=e.key||String(t),f=(p=e.props).header,m=p.headerClass,g=p.destroyInactivePanel,h=p.collapsible,b=p.onItemClick,y=o?l[0]===d:l.indexOf(d)>-1,_={key:d,panelKey:d,header:f,headerClass:m,isActive:y,prefixCls:r,destroyInactivePanel:null!=g?g:a,openMotion:c,accordion:o,children:e.props.children,onItemClick:function(e){"disabled"!==v&&(s(e),null==b||b(e))},expandIcon:u,collapsible:v=null!=h?h:i},"string"==typeof e.type?e:(Object.keys(_).forEach((function(e){void 0===_[e]&&delete _[e]})),jJ.cloneElement(e,_))):null};const e6=Object.assign(jJ.forwardRef((function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-collapse":r,i=e.destroyInactivePanel,a=void 0!==i&&i,s=e.style,l=e.accordion,c=e.children,u=e.collapsible,d=e.openMotion,p=e.expandIcon,f=e.activeKey,m=e.defaultActiveKey,g=e.onChange,h=e.items,b=mZ(o,e.className),y=Va(Al([],{value:f,onChange:function(e){return null==g?void 0:g(e)},defaultValue:m,postState:sp}),2),v=y[0],_=y[1];return ja(!c,"`children` will be removed in next major version. Please use `items` instead."),n=function(e,t,n){return Array.isArray(e)?OI(e,n):Ls(t).map((function(e,t){return $I(e,t,n)}))}(h,c,{prefixCls:o,accordion:l,openMotion:d,expandIcon:p,collapsible:u,destroyInactivePanel:a,onItemClick:function(e){return _((function(){return l?v[0]===e?[]:[e]:v.indexOf(e)>-1?v.filter((function(t){return t!==e})):[].concat(ka(v),[e])}))},activeKey:v}),jJ.createElement("div",{ref:t,className:b,style:s,role:l?"tablist":void 0},n)})),{Panel:EI}),t6=mv.forwardRef(((e,t)=>{const{getPrefixCls:n}=mv.useContext(zZ),{prefixCls:r,className:o,showArrow:i=!0}=e,a=n("collapse",r),s=mZ({[`${a}-no-arrow`]:!i},o);return mv.createElement(e6.Panel,Object.assign({ref:t},e,{prefixCls:a,className:s}))})),n6=e=>{const{componentCls:t,collapseContentBg:n,padding:r,collapseContentPaddingHorizontal:o,collapseHeaderBg:i,collapseHeaderPadding:a,collapseHeaderPaddingSM:s,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:c,lineWidth:u,lineType:d,colorBorder:p,colorText:f,colorTextHeading:m,colorTextDisabled:g,fontSize:h,fontSizeLG:b,lineHeight:y,marginSM:v,paddingSM:_,paddingLG:w,paddingXS:k,motionDurationSlow:x,fontSizeIcon:S}=e,C=`${u}px ${d} ${p}`;return{[t]:Object.assign(Object.assign({},UZ(e)),{backgroundColor:i,border:C,borderBottom:0,borderRadius:`${c}px`,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:C,"&:last-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`0 0 ${c}px ${c}px`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,paddingInlineStart:_,color:m,lineHeight:y,cursor:"pointer",transition:`all ${x}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:h*y,display:"flex",alignItems:"center",paddingInlineEnd:v,marginInlineStart:r-_},[`${t}-arrow`]:Object.assign(Object.assign({},{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"}}),{fontSize:S,svg:{transition:`transform ${x}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-header-collapsible-only`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-icon-collapsible-only`]:{cursor:"default",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:f,backgroundColor:n,borderTop:C,[`& > ${t}-content-box`]:{padding:`${r}px ${o}px`},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:s,paddingInlineStart:k,[`> ${t}-expand-icon`]:{marginInlineStart:_-k}},[`> ${t}-content > ${t}-content-box`]:{padding:_}}},"&-large":{[`> ${t}-item`]:{fontSize:b,[`> ${t}-header`]:{padding:l,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:b*y,marginInlineStart:w-r}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${c}px ${c}px`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:g,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:v}}}}})}},r6=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{[`> ${t}-item > ${t}-header ${t}-arrow svg`]:{transform:"rotate(180deg)"}}}},o6=e=>{const{componentCls:t,collapseHeaderBg:n,paddingXXS:r,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[`\n > ${t}-item:last-child,\n > ${t}-item:last-child ${t}-header\n `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},i6=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},a6=Ml("Collapse",(e=>{const t=Rl(e,{collapseContentBg:e.colorBgContainer,collapseHeaderBg:e.colorFillAlter,collapseHeaderPadding:`${e.paddingSM}px ${e.padding}px`,collapseHeaderPaddingSM:`${e.paddingXS}px ${e.paddingSM}px`,collapseHeaderPaddingLG:`${e.padding}px ${e.paddingLG}px`,collapsePanelBorderRadius:e.borderRadiusLG,collapseContentPaddingHorizontal:16});return[n6(t),o6(t),i6(t),r6(t),o5(t)]})),s6=mv.forwardRef(((e,t)=>{const{getPrefixCls:n,direction:r,collapse:o}=mv.useContext(zZ),{prefixCls:i,className:a,rootClassName:s,style:l,bordered:c=!0,ghost:u,size:d,expandIconPosition:p="start",children:f,expandIcon:m}=e,g=G0((e=>{var t;return null!==(t=null!=d?d:e)&&void 0!==t?t:"middle"})),h=n("collapse",i),b=n(),[y,v]=a6(h),_=mv.useMemo((()=>"left"===p?"start":"right"===p?"end":p),[p]),w=mZ(`${h}-icon-position-${_}`,{[`${h}-borderless`]:!c,[`${h}-rtl`]:"rtl"===r,[`${h}-ghost`]:!!u,[`${h}-${g}`]:"middle"!==g},null==o?void 0:o.className,a,s,v),k=Object.assign(Object.assign({},L1(b)),{motionAppear:!1,leavedClassName:`${h}-content-hidden`}),x=mv.useMemo((()=>f?Ls(f).map(((e,t)=>{var n,r;if(null===(n=e.props)||void 0===n?void 0:n.disabled){const n=null!==(r=e.key)&&void 0!==r?r:String(t),{disabled:o,collapsible:i}=e.props;return sc(e,Object.assign(Object.assign({},Qs(e.props,["disabled"])),{key:n,collapsible:null!=i?i:o?"disabled":void 0}))}return e})):null),[f]);return y(mv.createElement(e6,Object.assign({ref:t,openMotion:k},Qs(e,["rootClassName"]),{expandIcon:function(e){let t=arguments.length>0&&void 0!==e?e:{};const n=m?m(t):mv.createElement(i2,{rotate:t.isActive?90:void 0});return sc(n,(()=>({className:mZ(n.props.className,`${h}-arrow`)})))},prefixCls:h,className:w,style:Object.assign(Object.assign({},null==o?void 0:o.style),l)}),x))})),l6=Object.assign(s6,{Panel:t6}),c6=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o}=e;return{[t]:Object.assign(Object.assign({},UZ(e)),{borderBlockStart:`${o}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},u6=Ml("Divider",(e=>{const t=Rl(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[c6(t)]}),{sizePaddingEdgeHorizontal:0});jI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:t,direction:n,divider:r}=mv.useContext(zZ),{prefixCls:o,type:i="horizontal",orientation:a="center",orientationMargin:s,className:l,rootClassName:c,children:u,dashed:d,plain:p,style:f}=e,m=jI(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),g=t("divider",o),[h,b]=u6(g),y=!!u,v="left"===a&&null!=s,_="right"===a&&null!=s,w=mZ(g,null==r?void 0:r.className,b,`${g}-${i}`,{[`${g}-with-text`]:y,[`${g}-with-text${a.length>0?`-${a}`:a}`]:y,[`${g}-dashed`]:!!d,[`${g}-plain`]:!!p,[`${g}-rtl`]:"rtl"===n,[`${g}-no-default-orientation-margin-left`]:v,[`${g}-no-default-orientation-margin-right`]:_},l,c),k=mv.useMemo((()=>"number"==typeof s?s:/^\d+$/.test(s)?Number(s):s),[s]),x=Object.assign(Object.assign({},v&&{marginLeft:k}),_&&{marginRight:k});return h(mv.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},null==r?void 0:r.style),f)},m,{role:"separator"}),u&&"vertical"!==i&&mv.createElement("span",{className:`${g}-inner-text`,style:x},u)))};PI=function(){function e(t){var n,r,o,i;Oi(this,e),Ci(this,"origin",""),Ci(this,"negative",void 0),Ci(this,"integer",void 0),Ci(this,"decimal",void 0),Ci(this,"decimalLen",void 0),Ci(this,"empty",void 0),Ci(this,"nan",void 0),cp(t)?this.empty=!0:(this.origin=String(t),"-"===t||Number.isNaN(t)?this.nan=!0:(dp(n=t)&&(n=Number(n)),mp(n="string"==typeof n?n:fp(n))?(r=up(n),this.negative=r.negative,o=r.trimStr.split("."),this.integer=BigInt(o[0]),i=o[1]||"0",this.decimal=BigInt(i),this.decimalLen=i.length):this.nan=!0))}return ji(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){var t="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0"));return BigInt(t)}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"cal",value:function(t,n,r){var o=Math.max(this.getDecimalStr().length,t.getDecimalStr().length),i=n(this.alignDecimal(o),t.alignDecimal(o)).toString(),a=r(o),s=up(i),l=s.trimStr,c="".concat(s.negativeStr).concat(l.padStart(a+1,"0"));return new e("".concat(c.slice(0,-a),".").concat(c.slice(-a)))}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);return n.isInvalidate()?this:this.cal(n,(function(e,t){return e+t}),(function(e){return e}))}},{key:"multi",value:function(t){var n=new e(t);return this.isInvalidate()||n.isInvalidate()?new e(NaN):this.cal(n,(function(e,t){return e*t}),(function(e){return 2*e}))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null==e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(e){return arguments.length>0&&void 0!==e&&!e?this.origin:this.isInvalidate()?"":up("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr}}]),e}(),NI=function(){function e(t){Oi(this,e),Ci(this,"origin",""),Ci(this,"number",void 0),Ci(this,"empty",void 0),cp(t)?this.empty=!0:(this.origin=String(t),this.number=Number(t))}return ji(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){var n,r,o;return this.isInvalidate()?new e(t):(n=Number(t),Number.isNaN(n)?this:(r=this.number+n)>Number.MAX_SAFE_INTEGER?new e(Number.MAX_SAFE_INTEGER):rNumber.MAX_SAFE_INTEGER?new e(Number.MAX_SAFE_INTEGER):n0&&void 0!==e&&!e?this.origin:this.isInvalidate()?"":fp(this.number)}}]),e}(),TI=function(e){var t,n,r,o,i,a,s,l,c,u,d,p,f,m,g=e.inputElement,h=e.prefixCls,b=e.prefix,y=e.suffix,v=e.addonBefore,_=e.addonAfter,w=e.className,k=e.style,x=e.disabled,S=e.readOnly,C=e.focused,E=e.triggerFocus,D=e.allowClear,O=e.value,$=e.handleReset,j=e.hidden,P=e.classes,N=e.classNames,T=e.dataAttrs,I=e.styles,A=e.components,R=(null==A?void 0:A.affixWrapper)||"span",F=(null==A?void 0:A.groupWrapper)||"span",M=(null==A?void 0:A.wrapper)||"span",L=(null==A?void 0:A.groupAddon)||"span",z=mv.useRef(null),B=mv.cloneElement(g,{value:O,hidden:j,className:mZ(null===(t=g.props)||void 0===t?void 0:t.className,!yp(e)&&!bp(e)&&w)||null,style:Sa(Sa({},null===(n=g.props)||void 0===n?void 0:n.style),yp(e)||bp(e)?{}:k)});return yp(e)&&(o="".concat(h,"-affix-wrapper"),i=mZ(o,(Ci(r={},"".concat(o,"-disabled"),x),Ci(r,"".concat(o,"-focused"),C),Ci(r,"".concat(o,"-readonly"),S),Ci(r,"".concat(o,"-input-with-clear-btn"),y&&D&&O),r),!bp(e)&&w,null==P?void 0:P.affixWrapper,null==N?void 0:N.affixWrapper),a=(y||D)&&jJ.createElement("span",{className:mZ("".concat(h,"-suffix"),null==N?void 0:N.suffix),style:null==I?void 0:I.suffix},D?(p=!x&&!S&&O,f="".concat(h,"-clear-icon"),m="object"===xi(D)&&null!=D&&D.clearIcon?D.clearIcon:"✖",jJ.createElement("span",{onClick:$,onMouseDown:function(e){return e.preventDefault()},className:mZ(f,(d={},Ci(d,"".concat(f,"-hidden"),!p),Ci(d,"".concat(f,"-has-suffix"),!!y),d)),role:"button",tabIndex:-1},m)):null,y),B=jJ.createElement(R,fa({className:i,style:bp(e)?void 0:k,hidden:!bp(e)&&j,onClick:function(e){var t;null!==(t=z.current)&&void 0!==t&&t.contains(e.target)&&(null==E||E())}},null==T?void 0:T.affixWrapper,{ref:z}),b&&jJ.createElement("span",{className:mZ("".concat(h,"-prefix"),null==N?void 0:N.prefix),style:null==I?void 0:I.prefix},b),mv.cloneElement(g,{value:O,hidden:null}),a)),bp(e)?(s="".concat(h,"-group"),l="".concat(s,"-addon"),c=mZ("".concat(h,"-wrapper"),s,null==P?void 0:P.wrapper),u=mZ("".concat(h,"-group-wrapper"),w,null==P?void 0:P.group),jJ.createElement(F,{className:u,style:k,hidden:j},jJ.createElement(M,{className:c},v&&jJ.createElement(L,{className:l},v),mv.cloneElement(B,{hidden:null}),_&&jJ.createElement(L,{className:l},_)))):B},II=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],AI=mv.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e.autoComplete,u=e.onChange,d=e.onFocus,p=e.onBlur,f=e.onPressEnter,m=e.onKeyDown,g=e.prefixCls,h=void 0===g?"rc-input":g,b=e.disabled,y=e.htmlSize,v=e.className,_=e.maxLength,w=e.suffix,k=e.showCount,x=e.type,S=void 0===x?"text":x,C=e.classes,E=e.classNames,D=e.styles,O=Ei(e,II),$=Va(Al(e.defaultValue,{value:e.value}),2),j=$[0],P=$[1],N=Va(mv.useState(!1),2),T=N[0],I=N[1],A=mv.useRef(null),R=function(e){A.current&&_p(A.current,e)};return mv.useImperativeHandle(t,(function(){return{focus:R,blur:function(){var e;null===(e=A.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=A.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=A.current)||void 0===e||e.select()},input:A.current}})),mv.useEffect((function(){I((function(e){return(!e||!b)&&e}))}),[b]),n=function(t){void 0===e.value&&P(t.target.value),A.current&&vp(A.current,t,u)},r=function(e){f&&"Enter"===e.key&&f(e),null==m||m(e)},o=function(e){I(!0),null==d||d(e)},i=function(e){I(!1),null==p||p(e)},a=function(e){P(""),R(),A.current&&vp(A.current,e,u)},s=function(){var t=Qs(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return jJ.createElement("input",fa({autoComplete:c},t,{onChange:n,onFocus:o,onBlur:i,onKeyDown:r,className:mZ(h,Ci({},"".concat(h,"-disabled"),b),null==E?void 0:E.input),style:null==D?void 0:D.input,ref:A,size:y,type:S}))},l=function(){var e,t,n,r=Number(_)>0;return w||k?(t=ka(e=wp(j)).length,n="object"===xi(k)?k.formatter({value:e,count:t,maxLength:_}):"".concat(t).concat(r?" / ".concat(_):""),jJ.createElement(jJ.Fragment,null,!!k&&jJ.createElement("span",{className:mZ("".concat(h,"-show-count-suffix"),Ci({},"".concat(h,"-show-count-has-suffix"),!!w),null==E?void 0:E.count),style:Sa({},null==D?void 0:D.count)},n),w)):null},jJ.createElement(TI,fa({},O,{prefixCls:h,className:v,inputElement:s(),handleReset:a,value:wp(j),focused:T,triggerFocus:R,suffix:l(),disabled:b,classes:C,classNames:E,styles:D}))})),RI=function(){var e=Va(mv.useState(!1),2),t=e[0],n=e[1];return QD((function(){n(T5())}),[]),t},FI=200,MI=600,LI=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],zI=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],BI=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},HI=function(e){var t=gp(e);return t.isInvalidate()?null:t},UI=mv.forwardRef((function(e,t){function n(e,t){ke(ve(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}var r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,C,E,D,O,$,j,P=e.prefixCls,N=void 0===P?"rc-input-number":P,T=e.className,I=e.style,A=e.min,R=e.max,F=e.step,M=void 0===F?1:F,L=e.defaultValue,z=e.value,B=e.disabled,H=e.readOnly,U=e.upHandler,W=e.downHandler,V=e.keyboard,G=e.controls,q=void 0===G||G,X=e.classNames,K=e.stringMode,Y=e.parser,Q=e.formatter,J=e.precision,Z=e.decimalSeparator,ee=e.onChange,te=e.onInput,ne=e.onPressEnter,re=e.onStep,oe=Ei(e,LI),ie="".concat(N,"-input"),ae=mv.useRef(null),se=Va(mv.useState(!1),2),le=se[0],ce=se[1],ue=mv.useRef(!1),de=mv.useRef(!1),pe=mv.useRef(!1),fe=Va(mv.useState((function(){return gp(null!=z?z:L)})),2),me=fe[0],ge=fe[1],he=mv.useCallback((function(e,t){if(!t)return J>=0?J:Math.max(pp(e),pp(M))}),[J,M]),be=mv.useCallback((function(e){var t,n=String(e);return Y?Y(n):(t=n,Z&&(t=t.replace(Z,".")),t.replace(/[^\w.-]+/g,""))}),[Y,Z]),ye=mv.useRef(""),ve=mv.useCallback((function(e,t){var n,r;return Q?Q(e,{userTyping:t,input:String(ye.current)}):(n="number"==typeof e?fp(e):e,t||(r=he(n,t),mp(n)&&(Z||r>=0)&&(n=hp(n,Z||".",r))),n)}),[Q,he,Z]),_e=Va(mv.useState((function(){var e=null!=L?L:z;return me.isInvalidate()&&["string","number"].includes(xi(e))?Number.isNaN(e)?"":e:ve(me.toString(),!1)})),2),we=_e[0],ke=_e[1];return ye.current=we,o=mv.useMemo((function(){return HI(R)}),[R,J]),i=mv.useMemo((function(){return HI(A)}),[A,J]),a=mv.useMemo((function(){return!(!o||!me||me.isInvalidate())&&o.lessEquals(me)}),[o,me]),s=mv.useMemo((function(){return!(!i||!me||me.isInvalidate())&&me.lessEquals(i)}),[i,me]),E=ae.current,D=le,O=mv.useRef(null),l=[function(){var e,t,n,r,o;try{t=E.selectionEnd,r=(n=E.value).substring(0,e=E.selectionStart),o=n.substring(t),O.current={start:e,end:t,value:n,beforeTxt:r,afterTxt:o}}catch(zQ){}},function(){var e,t,n,r,o,i;if(E&&O.current&&D)try{n=(t=O.current).beforeTxt,r=t.start,o=(e=E.value).length,e.endsWith(t.afterTxt)?o=e.length-O.current.afterTxt.length:e.startsWith(n)?o=n.length:-1!==(i=e.indexOf(n[r-1],r-1))&&(o=i+1),E.setSelectionRange(o,o)}catch(zQ){ja(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(zQ.message))}}],c=Va(l,2),u=c[0],d=c[1],p=function(e){return o&&!e.lessEquals(o)?o:i&&!i.lessEquals(e)?i:null},f=function(e){return!p(e)},m=function(e,t){var r,o,i=e,a=f(i)||i.isEmpty();return i.isEmpty()||t||(i=p(i)||i,a=!0),H||B||!a?me:(r=i.toString(),(o=he(r,t))>=0&&(i=gp(hp(r,".",o)),f(i)||(i=gp(hp(r,".",o,!0)))),i.equals(me)||(void 0===z&&ge(i),null==ee||ee(i.isEmpty()?null:BI(K,i)),void 0===z&&n(i,t)),i)},$=mv.useRef(0),j=function(){b$.cancel($.current)},mv.useEffect((function(){return j}),[]),g=function(e){j(),$.current=b$((function(){e()}))},h=function e(t){var n;u(),ye.current=t,ke(t),de.current||(n=gp(be(t))).isNaN()||m(n,!0),null==te||te(t),g((function(){var n=t;Y||(n=t.replace(/。/g,".")),n!==t&&e(n)}))},b=function(){de.current=!0},y=function(){de.current=!1,h(ae.current.value)},v=function(e){h(e.target.value)},_=function(e){var t,n,r,o;e&&a||!e&&s||(ue.current=!1,n=gp(pe.current?xp(M):M),e||(n=n.negate()),r=(me||gp(0)).add(n.toString()),o=m(r,!1),null==re||re(BI(K,o),{offset:pe.current?xp(M):M,type:e?"up":"down"}),null===(t=ae.current)||void 0===t||t.focus())},w=function(e){var t=gp(be(we)),r=t;r=t.isNaN()?me:m(t,e),void 0!==z?n(me,!1):r.isNaN()||n(r,!1)},k=function(){ue.current=!0},x=function(e){var t=e.key,n=e.shiftKey;ue.current=!0,pe.current=n,"Enter"===t&&(de.current||(ue.current=!1),w(!1),null==ne||ne(e)),!1!==V&&!de.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(_("Up"===t||"ArrowUp"===t),e.preventDefault())},S=function(){ue.current=!1,pe.current=!1},C=function(){w(!1),ce(!1),ue.current=!1},JD((function(){me.isInvalidate()||n(me,!1)}),[J]),JD((function(){var e,t=gp(z);ge(t),e=gp(be(we)),t.equals(e)&&ue.current&&!Q||n(t,ue.current)}),[z]),JD((function(){Q&&d()}),[we]),mv.createElement("div",{className:mZ(N,null==X?void 0:X.input,T,(r={},Ci(r,"".concat(N,"-focused"),le),Ci(r,"".concat(N,"-disabled"),B),Ci(r,"".concat(N,"-readonly"),H),Ci(r,"".concat(N,"-not-a-number"),me.isNaN()),Ci(r,"".concat(N,"-out-of-range"),!me.isInvalidate()&&!f(me)),r)),style:I,onFocus:function(){ce(!0)},onBlur:C,onKeyDown:x,onKeyUp:S,onCompositionStart:b,onCompositionEnd:y,onBeforeInput:k},q&&mv.createElement(kp,{prefixCls:N,upNode:U,downNode:W,upDisabled:a,downDisabled:s,onStep:_}),mv.createElement("div",{className:"".concat(ie,"-wrap")},mv.createElement("input",fa({autoComplete:"off",role:"spinbutton","aria-valuemin":A,"aria-valuemax":R,"aria-valuenow":me.isInvalidate()?null:me.toString(),step:M},oe,{ref:Bs(ae,t),className:ie,value:we,onChange:v,disabled:B,readOnly:H}))))})),(WI=mv.forwardRef((function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,i=e.value,a=e.prefix,s=e.suffix,l=e.addonBefore,c=e.addonAfter,u=e.classes,d=e.className,p=e.classNames,f=Ei(e,zI),m=mv.useRef(null);return mv.createElement(TI,{inputElement:mv.createElement(UI,fa({prefixCls:o,disabled:n,classNames:p,ref:Bs(m,t)},f)),className:d,triggerFocus:function(e){m.current&&_p(m.current,e)},prefixCls:o,value:i,disabled:n,style:r,prefix:a,suffix:s,addonAfter:c,addonBefore:l,classes:u,classNames:p,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})}))).displayName="InputNumber";const p6=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorBorder:o,borderRadius:i,fontSizeLG:a,controlHeightLG:s,controlHeightSM:l,colorError:c,inputPaddingHorizontalSM:u,colorTextDescription:d,motionDurationMid:p,colorPrimary:f,inputPaddingHorizontal:m,inputPaddingVertical:g,colorBgContainer:h,colorTextDisabled:b,borderRadiusSM:y,borderRadiusLG:v,controlWidth:_,handleVisible:w}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},UZ(e)),e3(e)),Z4(e,t)),{display:"inline-block",width:_,margin:0,padding:0,border:`${n}px ${r} ${o}`,borderRadius:i,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,borderRadius:v,[`input${t}-input`]:{height:s-2*n}},"&-sm":{padding:0,borderRadius:y,[`input${t}-input`]:{height:l-2*n,padding:`0 ${u}px`}},"&:hover":Object.assign({},X4(e)),"&-focused":Object.assign({},K4(e)),"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},UZ(e)),t3(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:v}},"&-sm":{[`${t}-group-addon`]:{borderRadius:y}},[`${t}-wrapper-disabled > ${t}-group-addon`]:Object.assign({},Y4(e))}}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},UZ(e)),{width:"100%",padding:`${g}px ${m}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${p} linear`,appearance:"textfield",fontSize:"inherit"}),q4(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:h,borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,opacity:!0===w?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${p} linear ${p}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`\n ${t}-handler-up-inner,\n ${t}-handler-down-inner\n `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:d,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${o}`,transition:`all ${p} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[`\n ${t}-handler-up-inner,\n ${t}-handler-down-inner\n `]:{color:f}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},{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"}}),{color:d,transition:`all ${p} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${o}`,borderEndEndRadius:i},"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[`\n ${t}-handler-up-disabled,\n ${t}-handler-down-disabled\n `]:{cursor:"not-allowed"},[`\n ${t}-handler-up-disabled:hover &-handler-up-inner,\n ${t}-handler-down-disabled:hover &-handler-down-inner\n `]:{color:b}}},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},f6=e=>{const{componentCls:t,inputPaddingVertical:n,inputPaddingHorizontal:r,inputAffixPadding:o,controlWidth:i,borderRadiusLG:a,borderRadiusSM:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},e3(e)),Z4(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:a},"&-sm":{borderRadius:s},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},X4(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:`${n}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:o}}})}},m6=Ml("InputNumber",(e=>{const t=Gd(e);return[p6(t),f6(t),Dc(t)]}),(e=>({controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:"auto"})));VI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:n,direction:r}=mv.useContext(zZ),o=mv.useRef(null);mv.useImperativeHandle(t,(()=>o.current));const{className:i,rootClassName:a,size:s,disabled:l,prefixCls:c,addonBefore:u,addonAfter:d,prefix:p,bordered:f=!0,readOnly:m,status:g,controls:h}=e,b=VI(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),y=n("input-number",c),[v,_]=m6(y),{compactSize:w,compactItemClassnames:k}=Q0(y,r);let x=mv.createElement(c2,{className:`${y}-handler-up-inner`}),S=mv.createElement(q1,{className:`${y}-handler-down-inner`});const C="boolean"==typeof h?h:void 0;"object"==typeof h&&(x=void 0===h.upIcon?x:mv.createElement("span",{className:`${y}-handler-up-inner`},h.upIcon),S=void 0===h.downIcon?S:mv.createElement("span",{className:`${y}-handler-down-inner`},h.downIcon));const{hasFeedback:E,status:D,isFormItemInput:O,feedbackIcon:$}=mv.useContext(b2),j=R5(D,g),P=G0((e=>{var t;return null!==(t=null!=s?s:w)&&void 0!==t?t:e})),N=mv.useContext(ZZ),T=null!=l?l:N,I=mZ({[`${y}-lg`]:"large"===P,[`${y}-sm`]:"small"===P,[`${y}-rtl`]:"rtl"===r,[`${y}-borderless`]:!f,[`${y}-in-form-item`]:O},cd(y,j),k,_),A=`${y}-group`;return v(mv.createElement(WI,Object.assign({ref:o,disabled:T,className:mZ(i,a),upHandler:x,downHandler:S,prefixCls:y,readOnly:m,controls:C,prefix:p,suffix:E&&$,addonAfter:d&&mv.createElement(J0,null,mv.createElement(y2,{override:!0,status:!0},d)),addonBefore:u&&mv.createElement(J0,null,mv.createElement(y2,{override:!0,status:!0},u)),classNames:{input:I},classes:{affixWrapper:mZ(cd(`${y}-affix-wrapper`,j,E),{[`${y}-affix-wrapper-sm`]:"small"===P,[`${y}-affix-wrapper-lg`]:"large"===P,[`${y}-affix-wrapper-rtl`]:"rtl"===r,[`${y}-affix-wrapper-borderless`]:!f},_),wrapper:mZ({[`${A}-rtl`]:"rtl"===r,[`${y}-wrapper-disabled`]:T},_),group:mZ({[`${y}-group-wrapper-sm`]:"small"===P,[`${y}-group-wrapper-lg`]:"large"===P,[`${y}-group-wrapper-rtl`]:"rtl"===r},cd(`${y}-group-wrapper`,j,E),_)}},b)))})),h6=g6;h6._InternalPanelDoNotUseOrYouWillBeFired=e=>mv.createElement(d0,{theme:{components:{InputNumber:{handleVisible:!0}}}},mv.createElement(g6,Object.assign({},e)));const b6=h6;GI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n;const{prefixCls:r,bordered:o=!0,status:i,size:a,disabled:s,onBlur:l,onFocus:c,suffix:u,allowClear:d,addonAfter:p,addonBefore:f,className:m,style:g,styles:h,rootClassName:b,onChange:y,classNames:v}=e,_=GI(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:w,direction:k,input:x}=jJ.useContext(zZ),S=w("input",r),C=mv.useRef(null),[E,D]=l3(S),{compactSize:O,compactItemClassnames:$}=Q0(S,k),j=G0((e=>{var t;return null!==(t=null!=a?a:O)&&void 0!==t?t:e})),P=jJ.useContext(ZZ),N=null!=s?s:P,{status:T,hasFeedback:I,feedbackIcon:A}=mv.useContext(b2),R=R5(T,i),F=function(e){return!!(e.prefix||e.suffix||e.allowClear)}(e)||!!I,M=mv.useRef(F);mv.useEffect((()=>{M.current=F}),[F]);const L=Sp(C,!0),z=(I||u)&&jJ.createElement(jJ.Fragment,null,u,I&&A);let B;return"object"==typeof d&&(null==d?void 0:d.clearIcon)?B=d:d&&(B={clearIcon:jJ.createElement(b0,null)}),E(jJ.createElement(AI,Object.assign({ref:Bs(t,C),prefixCls:S,autoComplete:null==x?void 0:x.autoComplete},_,{disabled:N,onBlur:e=>{L(),null==l||l(e)},onFocus:e=>{L(),null==c||c(e)},style:Object.assign(Object.assign({},null==x?void 0:x.style),g),styles:Object.assign(Object.assign({},null==x?void 0:x.styles),h),suffix:z,allowClear:B,className:mZ(m,b,$,null==x?void 0:x.className),onChange:e=>{L(),null==y||y(e)},addonAfter:p&&jJ.createElement(J0,null,jJ.createElement(y2,{override:!0,status:!0},p)),addonBefore:f&&jJ.createElement(J0,null,jJ.createElement(y2,{override:!0,status:!0},f)),classNames:Object.assign(Object.assign(Object.assign({},v),null==x?void 0:x.classNames),{input:mZ({[`${S}-sm`]:"small"===j,[`${S}-lg`]:"large"===j,[`${S}-rtl`]:"rtl"===k,[`${S}-borderless`]:!o},!F&&cd(S,R),null==v?void 0:v.input,null===(n=null==x?void 0:x.classNames)||void 0===n?void 0:n.input,D)}),classes:{affixWrapper:mZ({[`${S}-affix-wrapper-sm`]:"small"===j,[`${S}-affix-wrapper-lg`]:"large"===j,[`${S}-affix-wrapper-rtl`]:"rtl"===k,[`${S}-affix-wrapper-borderless`]:!o},cd(`${S}-affix-wrapper`,R,I),D),wrapper:mZ({[`${S}-group-rtl`]:"rtl"===k},D),group:mZ({[`${S}-group-wrapper-sm`]:"small"===j,[`${S}-group-wrapper-lg`]:"large"===j,[`${S}-group-wrapper-rtl`]:"rtl"===k,[`${S}-group-wrapper-disabled`]:N},cd(`${S}-group-wrapper`,R,I),D)}})))})),v6=y6;qI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);rmv.createElement(e?Z1:Q1,null),w6={click:"onClick",hover:"onMouseOver"},k6=mv.forwardRef(((e,t)=>{const{visibilityToggle:n=!0}=e,r="object"==typeof n&&void 0!==n.visible,[o,i]=mv.useState((()=>!!r&&n.visible)),a=mv.useRef(null);mv.useEffect((()=>{r&&i(n.visible)}),[r,n]);const s=Sp(a),l=()=>{const{disabled:t}=e;t||(o&&s(),i((e=>{var t;const r=!e;return"object"==typeof n&&(null===(t=n.onVisibleChange)||void 0===t||t.call(n,r)),r})))},{className:c,prefixCls:u,inputPrefixCls:d,size:p}=e,f=qI(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:m}=mv.useContext(zZ),g=m("input",d),h=m("input-password",u),b=n&&(t=>{const{action:n="click",iconRender:r=_6}=e,i=w6[n]||"",a=r(o),s={[i]:l,className:`${t}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return mv.cloneElement(mv.isValidElement(a)?a:mv.createElement("span",null,a),s)})(h),y=mZ(h,c,{[`${h}-${p}`]:!!p}),v=Object.assign(Object.assign({},Qs(f,["suffix","iconRender","visibilityToggle"])),{type:o?"text":"password",className:y,prefixCls:g,suffix:b});return p&&(v.size=p),mv.createElement(v6,Object.assign({ref:Bs(t,a)},v))})),x6=k6;XI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,inputPrefixCls:r,className:o,size:i,suffix:a,enterButton:s=!1,addonAfter:l,loading:c,disabled:u,onSearch:d,onChange:p,onCompositionStart:f,onCompositionEnd:m}=e,g=XI(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:h,direction:b}=mv.useContext(zZ),y=mv.useRef(!1),v=h("input-search",n),_=h("input",r),{compactSize:w}=Q0(v,b),k=G0((e=>{var t;return null!==(t=null!=i?i:w)&&void 0!==t?t:e})),x=mv.useRef(null),S=e=>{var t;document.activeElement===(null===(t=x.current)||void 0===t?void 0:t.input)&&e.preventDefault()},C=e=>{var t,n;d&&d(null===(n=null===(t=x.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},E="boolean"==typeof s?mv.createElement(s2,null):null,D=`${v}-button`;let O;const $=s||{},j=$.type&&!0===$.type.__ANT_BUTTON;O=j||"button"===$.type?sc($,Object.assign({onMouseDown:S,onClick:e=>{var t,n;null===(n=null===(t=null==$?void 0:$.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),C(e)},key:"enterButton"},j?{className:D,size:k}:{})):mv.createElement(T1,{className:D,type:s?"primary":void 0,size:k,disabled:u,key:"enterButton",onMouseDown:S,onClick:C,loading:c,icon:E},s),l&&(O=[O,sc(l,{key:"addonAfter"})]);const P=mZ(v,{[`${v}-rtl`]:"rtl"===b,[`${v}-${k}`]:!!k,[`${v}-with-button`]:!!s},o);return mv.createElement(v6,Object.assign({ref:Bs(x,t),onPressEnter:e=>{y.current||c||C(e)}},g,{size:k,onCompositionStart:e=>{y.current=!0,null==f||f(e)},onCompositionEnd:e=>{y.current=!1,null==m||m(e)},prefixCls:_,addonAfter:O,suffix:a,onChange:e=>{e&&e.target&&"click"===e.type&&d&&d(e.target.value,e),p&&p(e)},className:P,disabled:u}))})),C6=S6;KI=["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"],YI={},JI=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],ZI=mv.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,C,E,D,O,$,j,P,N,T=e.prefixCls;return n=e.defaultValue,r=e.value,o=e.autoSize,i=e.onResize,a=e.className,s=e.style,l=e.disabled,c=e.onChange,u=Ei(e,JI),p=(d=Va(Al(n,{value:r,postState:function(e){return null!=e?e:""}}),2))[0],f=d[1],m=function(e){f(e.target.value),null==c||c(e)},g=mv.useRef(),mv.useImperativeHandle(t,(function(){return{textArea:g.current}})),h=Va(mv.useMemo((function(){return o&&"object"===xi(o)?[o.minRows,o.maxRows]:[]}),[o]),2),b=h[0],y=h[1],v=!!o,_=function(){try{if(document.activeElement===g.current){var e=g.current,t=e.scrollTop;g.current.setSelectionRange(e.selectionStart,e.selectionEnd),g.current.scrollTop=t}}catch(zQ){}},w=Va(mv.useState(2),2),k=w[0],x=w[1],C=(S=Va(mv.useState(),2))[0],E=S[1],D=function(){x(0)},QD((function(){v&&D()}),[r,b,y,v]),QD((function(){if(0===k)x(1);else if(1===k){var e=function(e,t,n,r){var o,i,a,s,l,c,u,d,p,f,m=arguments.length>1&&void 0!==t&&t,g=arguments.length>2&&void 0!==n?n:null,h=arguments.length>3&&void 0!==r?r:null;return QI||((QI=document.createElement("textarea")).setAttribute("tab-index","-1"),QI.setAttribute("aria-hidden","true"),document.body.appendChild(QI)),e.getAttribute("wrap")?QI.setAttribute("wrap",e.getAttribute("wrap")):QI.removeAttribute("wrap"),o=function(e,t){var n,r,o,i,a,s=arguments.length>1&&void 0!==t&&t,l=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");return s&&YI[l]?YI[l]:(r=(n=window.getComputedStyle(e)).getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),o=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),i=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),a={sizingStyle:KI.map((function(e){return"".concat(e,":").concat(n.getPropertyValue(e))})).join(";"),paddingSize:o,borderSize:i,boxSizing:r},s&&l&&(YI[l]=a),a)}(e,m),i=o.paddingSize,a=o.borderSize,s=o.boxSizing,QI.setAttribute("style","".concat(o.sizingStyle,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),QI.value=e.value||e.placeholder||"",l=void 0,c=void 0,d=QI.scrollHeight,"border-box"===s?d+=a:"content-box"===s&&(d-=i),null===g&&null===h||(QI.value=" ",p=QI.scrollHeight-i,null!==g&&(l=p*g,"border-box"===s&&(l=l+i+a),d=Math.max(l,d)),null!==h&&(c=p*h,"border-box"===s&&(c=c+i+a),u=d>c?"":"hidden",d=Math.min(c,d))),f={height:d,overflowY:u,resize:"none"},l&&(f.minHeight=l),c&&(f.maxHeight=c),f}(g.current,!1,b,y);x(2),E(e)}else _()}),[k]),O=mv.useRef(),$=function(){b$.cancel(O.current)},j=function(e){2===k&&(null==i||i(e),o&&($(),O.current=b$((function(){D()}))))},mv.useEffect((function(){return $}),[]),P=v?C:null,N=Sa(Sa({},s),P),0!==k&&1!==k||(N.overflowY="hidden",N.overflowX="hidden"),mv.createElement(p$,{onResize:j,disabled:!(o||i)},mv.createElement("textarea",fa({},u,{ref:g,style:N,className:mZ(T,a,Ci({},"".concat(T,"-disabled"),l)),disabled:l,value:p,onChange:m})))})),eA=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"],tA=jJ.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,m,g,h=e.defaultValue,b=e.value,y=e.onFocus,v=e.onBlur,_=e.onChange,w=e.allowClear,k=e.maxLength,x=e.onCompositionStart,S=e.onCompositionEnd,C=e.suffix,E=e.prefixCls,D=void 0===E?"rc-textarea":E,O=e.classes,$=e.showCount,j=e.className,P=e.style,N=e.disabled,T=e.hidden,I=e.classNames,A=e.styles,R=e.onResize,F=Ei(e,eA),M=Va(Al(h,{value:b,defaultValue:h}),2),L=M[0],z=M[1],B=mv.useRef(null),H=Va(jJ.useState(!1),2),U=H[0],W=H[1],V=Va(jJ.useState(!1),2),G=V[0],q=V[1],X=jJ.useRef(),K=jJ.useRef(0),Y=Va(jJ.useState(null),2),Q=Y[0],J=Y[1],Z=function(){var e;null===(e=B.current)||void 0===e||e.textArea.focus()};return mv.useImperativeHandle(t,(function(){return{resizableTextArea:B.current,focus:Z,blur:function(){var e;null===(e=B.current)||void 0===e||e.textArea.blur()}}})),mv.useEffect((function(){W((function(e){return!N&&e}))}),[N]),r=Number(k)>0,o=function(e){q(!0),X.current=L,K.current=e.currentTarget.selectionStart,null==x||x(e)},i=function(e){var t,n;q(!1),t=e.currentTarget.value,r&&(t=Ep(K.current>=k+1||K.current===(null===(n=X.current)||void 0===n?void 0:n.length),X.current,t,k)),t!==L&&(z(t),vp(e.currentTarget,e,_,t)),null==S||S(e)},a=function(e){var t=e.target.value;!G&&r&&(t=Ep(e.target.selectionStart>=k+1||e.target.selectionStart===t.length||!e.target.selectionStart,L,t,k)),z(t),vp(e.currentTarget,e,_,t)},s=function(e){var t=F.onPressEnter,n=F.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},l=function(e){W(!0),null==y||y(e)},c=function(e){W(!1),null==v||v(e)},u=function(e){var t;z(""),Z(),vp(null===(t=B.current)||void 0===t?void 0:t.textArea,e,_)},d=wp(L),!G&&r&&null==b&&(d=Cp(d,k)),p=C,$&&(m=ka(d).length,f="object"===xi($)?$.formatter({value:d,count:m,maxLength:k}):"".concat(m).concat(r?" / ".concat(k):""),p=jJ.createElement(jJ.Fragment,null,p,jJ.createElement("span",{className:mZ("".concat(D,"-data-count"),null==I?void 0:I.count),style:null==A?void 0:A.count},f))),g=function(e){var t;null==R||R(e),null!==(t=B.current)&&void 0!==t&&t.textArea.style.height&&J(!0)},jJ.createElement(TI,{value:d,allowClear:w,handleReset:u,suffix:p,prefixCls:D,classes:{affixWrapper:mZ(null==O?void 0:O.affixWrapper,(n={},Ci(n,"".concat(D,"-show-count"),$),Ci(n,"".concat(D,"-textarea-allow-clear"),w),n))},disabled:N,focused:U,className:j,style:Sa(Sa({},P),Q?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof f?f:void 0}},hidden:T,inputElement:jJ.createElement(ZI,fa({},F,{onKeyDown:s,onChange:a,onFocus:l,onBlur:c,onCompositionStart:o,onCompositionEnd:i,className:null==I?void 0:I.textarea,style:Sa(Sa({},null==A?void 0:A.textarea),{},{resize:null==P?void 0:P.resize}),disabled:N,prefixCls:D,onResize:g,ref:B}))})})),nA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,bordered:r=!0,size:o,disabled:i,status:a,allowClear:s,showCount:l,classNames:c}=e,u=nA(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:d,direction:p}=mv.useContext(zZ),f=G0(o),m=mv.useContext(ZZ),g=null!=i?i:m,{status:h,hasFeedback:b,feedbackIcon:y}=mv.useContext(b2),v=R5(h,a),_=mv.useRef(null);mv.useImperativeHandle(t,(()=>{var e;return{resizableTextArea:null===(e=_.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;!function(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}(null===(n=null===(t=_.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=_.current)||void 0===e?void 0:e.blur()}}}));const w=d("input",n);let k;"object"==typeof s&&(null==s?void 0:s.clearIcon)?k=s:s&&(k={clearIcon:mv.createElement(b0,null)});const[x,S]=l3(w);return x(mv.createElement(tA,Object.assign({},u,{disabled:g,allowClear:k,classes:{affixWrapper:mZ(`${w}-textarea-affix-wrapper`,{[`${w}-affix-wrapper-rtl`]:"rtl"===p,[`${w}-affix-wrapper-borderless`]:!r,[`${w}-affix-wrapper-sm`]:"small"===f,[`${w}-affix-wrapper-lg`]:"large"===f,[`${w}-textarea-show-count`]:l},cd(`${w}-affix-wrapper`,v),S)},classNames:Object.assign(Object.assign({},c),{textarea:mZ({[`${w}-borderless`]:!r,[`${w}-sm`]:"small"===f,[`${w}-lg`]:"large"===f},cd(w,v),S,null==c?void 0:c.textarea)}),prefixCls:w,suffix:b&&mv.createElement("span",{className:`${w}-textarea-suffix`},y),showCount:l,ref:_})))})),D6=v6;D6.Group=e=>{const{getPrefixCls:t,direction:n}=mv.useContext(zZ),{prefixCls:r,className:o}=e,i=t("input-group",r),a=t("input"),[s,l]=l3(a),c=mZ(i,{[`${i}-lg`]:"large"===e.size,[`${i}-sm`]:"small"===e.size,[`${i}-compact`]:e.compact,[`${i}-rtl`]:"rtl"===n},l,o),u=mv.useContext(b2),d=mv.useMemo((()=>Object.assign(Object.assign({},u),{isFormItemInput:!1})),[u]);return s(mv.createElement("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},mv.createElement(b2.Provider,{value:d},e.children)))},D6.Search=C6,D6.TextArea=E6,D6.Password=x6;const O6=D6;rA=mv.createContext(null),oA=function(e){var t=e.className,n=e.style,r=e.children,o=e.containerRef,i={onMouseEnter:e.onMouseEnter,onMouseOver:e.onMouseOver,onMouseLeave:e.onMouseLeave,onClick:e.onClick,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp};return mv.createElement(mv.Fragment,null,mv.createElement("div",fa({className:mZ("".concat(e.prefixCls,"-content"),t),style:Sa({},n),"aria-modal":"true",role:"dialog",ref:o},i),r))},iA={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},aA=mv.forwardRef(Op),sA=function(e){var t,n,r,o,i,a,s=e.open,l=void 0!==s&&s,c=e.prefixCls,u=void 0===c?"rc-drawer":c,d=e.placement,p=void 0===d?"right":d,f=e.autoFocus,m=void 0===f||f,g=e.keyboard,h=void 0===g||g,b=e.width,y=void 0===b?378:b,v=e.mask,_=void 0===v||v,w=e.maskClosable,k=void 0===w||w,x=e.getContainer,S=e.forceRender,C=e.afterOpenChange,E=e.destroyOnClose,D=e.onMouseEnter,O=e.onMouseOver,$=e.onMouseLeave,j=e.onClick,P=e.onKeyDown,N=e.onKeyUp,T=Va(mv.useState(!1),2),I=T[0],A=T[1],R=Va(mv.useState(!1),2),F=R[0],M=R[1];return QD((function(){M(!0)}),[]),t=!!F&&l,n=mv.useRef(),r=mv.useRef(),QD((function(){t&&(r.current=document.activeElement)}),[t]),o=function(e){var t,o;A(e),null==C||C(e),e||!r.current||(null===(t=n.current)||void 0===t?void 0:t.contains(r.current))||null===(o=r.current)||void 0===o||o.focus({preventScroll:!0})},S||I||t||!E?(i={onMouseEnter:D,onMouseOver:O,onMouseLeave:$,onClick:j,onKeyDown:P,onKeyUp:N},a=Sa(Sa({},e),{},{open:t,prefixCls:u,placement:p,autoFocus:m,keyboard:h,width:y,mask:_,maskClosable:k,inline:!1===x,afterOpenChange:o,ref:n},i),mv.createElement(Kj,{open:t||S||I,autoDestroy:!1,getContainer:x,autoLock:_&&(t||I)},mv.createElement(aA,a))):null};const $6=e=>{const{prefixCls:t,title:n,footer:r,extra:o,closeIcon:i,closable:a,onClose:s,headerStyle:l,drawerStyle:c,bodyStyle:u,footerStyle:d,children:p}=e,f=mv.useCallback((e=>mv.createElement("button",{type:"button",onClick:s,"aria-label":"Close",className:`${t}-close`},e)),[s]),[m,g]=Mc(a,i,f,void 0,!0),h=mv.useMemo((()=>n||m?mv.createElement("div",{style:l,className:mZ(`${t}-header`,{[`${t}-header-close-only`]:m&&!n&&!o})},mv.createElement("div",{className:`${t}-header-title`},g,n&&mv.createElement("div",{className:`${t}-title`},n)),o&&mv.createElement("div",{className:`${t}-extra`},o)):null),[m,g,o,l,t,n]),b=mv.useMemo((()=>r?mv.createElement("div",{className:`${t}-footer`,style:d},r):null),[r,d,t]);return mv.createElement("div",{className:`${t}-wrapper-body`,style:c},h,mv.createElement("div",{className:`${t}-body`,style:u},p),b)},j6=e=>{const{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},P6=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:o,motionDurationSlow:i,motionDurationMid:a,padding:s,paddingLG:l,fontSizeLG:c,lineHeightLG:u,lineWidth:d,lineType:p,colorSplit:f,marginSM:m,colorIcon:g,colorIconHover:h,colorText:b,fontWeightStrong:y,footerPaddingBlock:v,footerPaddingInline:_}=e,w=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:o,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[w]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${w}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${w}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${w}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${w}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:o,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${s}px ${l}px`,fontSize:c,lineHeight:u,borderBottom:`${d}px ${p} ${f}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:m,color:g,fontWeight:y,fontSize:c,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${a}`,textRendering:"auto","&:focus, &:hover":{color:h,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:b,fontWeight:e.fontWeightStrong,fontSize:c,lineHeight:u},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:l,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${v}px ${_}px`,borderTop:`${d}px ${p} ${f}`},"&-rtl":{direction:"rtl"}}}},N6=Ml("Drawer",(e=>{const t=Rl(e,{});return[P6(t),j6(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})));lA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{rootClassName:t,width:n,height:r,size:o="default",mask:i=!0,push:a=T6,open:s,afterOpenChange:l,onClose:c,prefixCls:u,getContainer:d,style:p,className:f,visible:m,afterVisibleChange:g}=e,h=lA(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:b,getPrefixCls:y,direction:v,drawer:_}=mv.useContext(zZ),w=y("drawer",u),[k,x]=N6(w),S=void 0===d&&b?()=>b(document.body):d,C=mZ({"no-mask":!i,[`${w}-rtl`]:"rtl"===v},t,x),E=mv.useMemo((()=>null!=n?n:"large"===o?736:378),[n,o]),D=mv.useMemo((()=>null!=r?r:"large"===o?736:378),[r,o]),O={motionName:B1(w,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500};return k(mv.createElement(J0,null,mv.createElement(y2,{status:!0,override:!0},mv.createElement(sA,Object.assign({prefixCls:w,onClose:c,maskMotion:O,motion:e=>({motionName:B1(w,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},h,{open:null!=s?s:m,mask:i,push:a,width:E,height:D,style:Object.assign(Object.assign({},null==_?void 0:_.style),p),className:mZ(null==_?void 0:_.className,f),rootClassName:C,getContainer:S,afterOpenChange:null!=l?l:g}),mv.createElement($6,Object.assign({prefixCls:w},h,{onClose:c}))))))};I6._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,style:n,className:r,placement:o="right"}=e,i=lA(e,["prefixCls","style","className","placement"]),{getPrefixCls:a}=mv.useContext(zZ),s=a("drawer",t),[l,c]=N6(s),u=mZ(s,`${s}-pure`,`${s}-${o}`,c,r);return l(mv.createElement("div",{className:u,style:n},mv.createElement($6,Object.assign({prefixCls:s},i))))};const A6=I6,R6=jJ.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),F6=R6.Provider,M6=e=>{let{className:t,direction:n,index:r,marginDirection:o,children:i,split:a,wrap:s,style:l}=e;const{horizontalSize:c,verticalSize:u,latestIndex:d,supportFlexGap:p}=mv.useContext(R6);let f={};return p||("vertical"===n?r{var n,r;const{getPrefixCls:o,space:i,direction:a}=mv.useContext(zZ),{size:s=(null==i?void 0:i.size)||"small",align:l,className:c,rootClassName:u,children:d,direction:p="horizontal",prefixCls:f,split:m,style:g,wrap:h=!1,classNames:b,styles:y}=e,v=cA(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),_=J3(),[w,k]=mv.useMemo((()=>(Array.isArray(s)?s:[s,s]).map((e=>function(e){return"string"==typeof e?L6[e]:e||0}(e)))),[s]),x=Ls(d,{keepEmpty:!0}),S=void 0===l&&"horizontal"===p?"center":l,C=o("space",f),[E,D]=K0(C),O=mZ(C,null==i?void 0:i.className,D,`${C}-${p}`,{[`${C}-rtl`]:"rtl"===a,[`${C}-align-${S}`]:S},c,u),$=mZ(`${C}-item`,null!==(n=null==b?void 0:b.item)&&void 0!==n?n:null===(r=null==i?void 0:i.classNames)||void 0===r?void 0:r.item),j="rtl"===a?"marginLeft":"marginRight";let P=0;const N=x.map(((e,t)=>{var n,r;return null!=e&&(P=t),mv.createElement(M6,{className:$,key:e&&e.key||`${$}-${t}`,direction:p,index:t,marginDirection:j,split:m,wrap:h,style:null!==(n=null==y?void 0:y.item)&&void 0!==n?n:null===(r=null==i?void 0:i.styles)||void 0===r?void 0:r.item},e)})),T=mv.useMemo((()=>({horizontalSize:w,verticalSize:k,latestIndex:P,supportFlexGap:_})),[w,k,P,_]);if(0===x.length)return null;const I={};return h&&(I.flexWrap="wrap",_||(I.marginBottom=-k)),_&&(I.columnGap=w,I.rowGap=k),E(mv.createElement("div",Object.assign({ref:t,className:O,style:Object.assign(Object.assign(Object.assign({},I),null==i?void 0:i.style),g)},v),mv.createElement(F6,{value:T},N)))}));z6.Compact=e=>{const{getPrefixCls:t,direction:n}=mv.useContext(zZ),{size:r,direction:o,block:i,prefixCls:a,className:s,rootClassName:l,children:c}=e,u=zj(e,["size","direction","block","prefixCls","className","rootClassName","children"]),d=G0((e=>null!=r?r:e)),p=t("space-compact",a),[f,m]=K0(p),g=mZ(p,m,{[`${p}-rtl`]:"rtl"===n,[`${p}-block`]:i,[`${p}-vertical`]:"vertical"===o},s,l),h=mv.useContext(Y0),b=Ls(c),y=mv.useMemo((()=>b.map(((e,t)=>mv.createElement(Z0,{key:e&&e.key||`${p}-item-${t}`,compactSize:d,compactDirection:o,isFirstItem:0===t&&(!h||(null==h?void 0:h.isFirstItem)),isLastItem:t===b.length-1&&(!h||(null==h?void 0:h.isLastItem))},e)))),[r,b,h]);return 0===b.length?null:f(mv.createElement("div",Object.assign({className:g},u),y))};const B6=z6,H6=e=>{const{componentCls:t}=e,n=`${t}-show-help-item`;return{[`${t}-show-help`]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[n]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut},\n opacity ${e.motionDurationSlow} ${e.motionEaseInOut},\n transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${n}-appear, &${n}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${n}-leave-active`]:{transform:"translateY(-5px)"}}}}},U6=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),W6=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},V6=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},UZ(e)),U6(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},W6(e,e.controlHeightSM)),"&-large":Object.assign({},W6(e,e.controlHeightLG))})}},G6=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:o}=e;return{[t]:Object.assign(Object.assign({},UZ(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,\n &-hidden.${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${o}-col-'"]):not([class*="' ${o}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:W2,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},q6=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${r}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},X6=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},"&-with-help":{marginBottom:e.marginLG},[`> ${n}-label,\n > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},K6=e=>({padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Y6=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:K6(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label,\n ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},Q6=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label,\n .${r}-col-24${n}-label,\n .${r}-col-xl-24${n}-label`]:K6(e),[`@media (max-width: ${e.screenXSMax}px)`]:[Y6(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:K6(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:K6(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:K6(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:K6(e)}}}},J6=Ml("Form",((e,t)=>{let{rootPrefixCls:n}=t;const r=Rl(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[V6(r),G6(r),H6(r),q6(r),X6(r),Q6(r),o5(r),W2]})),Z6=[],e8=["parentNode"],t8="form_item";uA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const n=mv.useContext(ZZ),{getPrefixCls:r,direction:o,form:i}=mv.useContext(zZ),{prefixCls:a,className:s,rootClassName:l,size:c,disabled:u=n,form:d,colon:p,labelAlign:f,labelWrap:m,labelCol:g,wrapperCol:h,hideRequiredMark:b,layout:y="horizontal",scrollToFirstError:v,requiredMark:_,onFinishFailed:w,name:k,style:x}=e,S=uA(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style"]),C=G0(c),E=mv.useContext(hZ),D=mv.useMemo((()=>void 0!==_?_:i&&void 0!==i.requiredMark?i.requiredMark:!b),[b,_,i]),O=null!=p?p:null==i?void 0:i.colon,$=r("form",a),[j,P]=J6($),N=mZ($,`${$}-${y}`,{[`${$}-hide-required-mark`]:!1===D,[`${$}-rtl`]:"rtl"===o,[`${$}-${C}`]:C},P,null==i?void 0:i.className,s,l),[T]=Ap(d),{__INTERNAL__:I}=T;I.name=k;const A=mv.useMemo((()=>({name:k,labelAlign:f,labelCol:g,labelWrap:m,wrapperCol:h,vertical:"vertical"===y,colon:O,requiredMark:D,itemRef:I.itemRef,form:T})),[k,f,g,h,y,O,D,T]);mv.useImperativeHandle(t,(()=>T));const R=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),T.scrollToField(t,n)}};return j(mv.createElement(JZ,{disabled:u},mv.createElement(t0,{size:C},mv.createElement(g2,{validateMessages:E},mv.createElement(f2.Provider,{value:A},mv.createElement(FP,Object.assign({id:k},S,{name:k,onFinishFailed:e=>{if(null==w||w(e),e.errorFields.length){const t=e.errorFields[0].name;if(void 0!==v)return void R(v,t);i&&void 0!==i.scrollToFirstError&&R(i.scrollToFirstError,t)}},form:T,style:Object.assign(Object.assign({},null==i?void 0:i.style),x),className:N})))))))},r8=mv.forwardRef(n8),o8=()=>{const{status:e,errors:t=[],warnings:n=[]}=mv.useContext(b2);return{status:e,errors:t,warnings:n}};o8.Context=b2;const i8=o8,a8=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:o,errors:i,warnings:a,_internalItemRender:s,extra:l,help:c,fieldId:u,marginBottom:d,onErrorVisibleChanged:p}=e,f=`${t}-item`,m=mv.useContext(f2),g=r||m.wrapperCol||{},h=mZ(`${f}-control`,g.className),b=mv.useMemo((()=>Object.assign({},m)),[m]);delete b.labelCol,delete b.wrapperCol;const y=mv.createElement("div",{className:`${f}-control-input`},mv.createElement("div",{className:`${f}-control-input-content`},o)),v=mv.useMemo((()=>({prefixCls:t,status:n})),[t,n]),_=null!==d||i.length||a.length?mv.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},mv.createElement(h2.Provider,{value:v},mv.createElement(Pp,{fieldId:u,errors:i,warnings:a,help:c,helpStatus:n,className:`${f}-explain-connected`,onVisibleChanged:p})),!!d&&mv.createElement("div",{style:{width:0,height:d}})):null,w={};u&&(w.id=`${u}_extra`);const k=l?mv.createElement("div",Object.assign({},w,{className:`${f}-extra`}),l):null,x=s&&"pro_table_render"===s.mark&&s.render?s.render(e,{input:y,errorList:_,extra:k}):mv.createElement(mv.Fragment,null,y,_,k);return mv.createElement(f2.Provider,{value:b},mv.createElement(Q3,Object.assign({},g,{className:h}),x))};dA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{prefixCls:t,label:n,htmlFor:r,labelCol:o,labelAlign:i,colon:a,required:s,requiredMark:l,tooltip:c}=e;var u;const[d]=xZ("Form"),{vertical:p,labelAlign:f,labelCol:m,labelWrap:g,colon:h}=mv.useContext(f2);if(!n)return null;const b=o||m||{},y=`${t}-item-label`,v=mZ(y,"left"===(i||f)&&`${y}-left`,b.className,{[`${y}-wrap`]:!!g});let _=n;const w=!0===a||!1!==h&&!1!==a;w&&!p&&"string"==typeof n&&""!==n.trim()&&(_=n.replace(/[:|:]\s*$/,""));const k=function(e){return e?"object"!=typeof e||mv.isValidElement(e)?{title:e}:e:null}(c);if(k){const{icon:e=mv.createElement(r2,null)}=k,n=dA(k,["icon"]),r=mv.createElement(E4,Object.assign({},n),mv.cloneElement(e,{className:`${t}-item-tooltip`,title:""}));_=mv.createElement(mv.Fragment,null,_,r)}"optional"!==l||s||(_=mv.createElement(mv.Fragment,null,_,mv.createElement("span",{className:`${t}-item-optional`,title:""},(null==d?void 0:d.optional)||(null===(u=_Z.Form)||void 0===u?void 0:u.optional))));const x=mZ({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:"optional"===l,[`${t}-item-no-colon`]:!w});return mv.createElement(Q3,Object.assign({},b,{className:v}),mv.createElement("label",{htmlFor:r,className:x,title:"string"==typeof n?n:""},_))};pA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{children:t}=e;return t}),((e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every(((e,n)=>e===t.childProps[n])))),u8=function(e){function t(t,n,i){return r&&!g?t:mv.createElement(Rp,Object.assign({key:"row"},e,{className:mZ(o,D),prefixCls:C,fieldId:n,isRequired:i,errors:A,warnings:R,meta:N,onSubItemMetaChange:I}),t)}const{name:n,noStyle:r,className:o,dependencies:i,prefixCls:a,shouldUpdate:s,rules:l,children:c,required:u,label:d,messageVariables:p,trigger:f="onChange",validateTrigger:m,hidden:g,help:h}=e,{getPrefixCls:b}=mv.useContext(zZ),{name:y}=mv.useContext(f2),v=function(e){if("function"==typeof e)return e;const t=Ls(e);return t.length<=1?t[0]:t}(c),_="function"==typeof v,w=mv.useContext(m2),{validateTrigger:k}=mv.useContext(rP),x=void 0!==m?m:k,S=function(e){return!(null==e)}(n),C=b("form",a),[E,D]=J6(C),O=mv.useContext(oP),$=mv.useRef(),[j,P]=function(){const[e,t]=mv.useState({}),n=mv.useRef(null),r=mv.useRef([]),o=mv.useRef(!1);return mv.useEffect((()=>(o.current=!1,()=>{o.current=!0,b$.cancel(n.current),n.current=null})),[]),[e,function(e){o.current||(null===n.current&&(r.current=[],n.current=b$((()=>{n.current=null,t((e=>{let t=e;return r.current.forEach((e=>{t=e(t)})),t}))}))),r.current.push(e))}]}(),[N,T]=Tl((()=>({errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}))),I=(e,t)=>{P((n=>{const r=Object.assign({},n),o=[].concat(ka(e.name.slice(0,-1)),ka(t)).join("__SPLIT__");return e.destroy?delete r[o]:r[o]=e,r}))},[A,R]=mv.useMemo((()=>{const e=ka(N.errors),t=ka(N.warnings);return Object.values(j).forEach((n=>{e.push.apply(e,ka(n.errors||[])),t.push.apply(t,ka(n.warnings||[]))})),[e,t]}),[j,N.errors,N.warnings]),F=function(){const{itemRef:e}=mv.useContext(f2),t=mv.useRef({});return function(n,r){const o=r&&"object"==typeof r&&r.ref,i=n.join("_");return t.current.name===i&&t.current.originRef===o||(t.current.name=i,t.current.originRef=o,t.current.ref=Bs(e(n),o)),t.current.ref}}();if(!S&&!_&&!i)return E(t(v));let M={};return"string"==typeof d?M.label=d:n&&(M.label=String(n)),p&&(M=Object.assign(Object.assign({},M),p)),E(mv.createElement(du,Object.assign({},e,{messageVariables:M,trigger:f,validateTrigger:x,onMetaChange:e=>{const t=null==O?void 0:O.getKey(e.name);if(T(e.destroy?{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}:e,!0),r&&!1!==h&&w){let n=e.name;if(e.destroy)n=$.current||n;else if(void 0!==t){const[e,r]=t;n=[e].concat(ka(r)),$.current=n}w(e,n)}}}),((r,o,a)=>{const c=Np(n).length&&o?o.name:[],d=Tp(c,y),p=void 0!==u?u:!(!l||!l.some((e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){const t=e(a);return t&&t.required&&!t.warningOnly}return!1}))),m=Object.assign({},r);let g=null;if(Array.isArray(v)&&S)g=v;else if(_&&(!s&&!i||S));else if(!i||_||S)if(S0(v)){const t=Object.assign(Object.assign({},v.props),m);if(t.id||(t.id=d),h||A.length>0||R.length>0||e.extra){const n=[];(h||A.length>0)&&n.push(`${d}_help`),e.extra&&n.push(`${d}_extra`),t["aria-describedby"]=n.join(" ")}A.length>0&&(t["aria-invalid"]="true"),p&&(t["aria-required"]="true"),Us(v)&&(t.ref=F(c,v)),new Set([].concat(ka(Np(f)),ka(Np(x)))).forEach((e=>{t[e]=function(){var t,n,r,o,i,a,s,l;for(a=arguments.length,s=new Array(a),l=0;l{var{prefixCls:t,children:n}=e,r=fA(e,["prefixCls","children"]);const{getPrefixCls:o}=mv.useContext(zZ),i=o("form",t),a=mv.useMemo((()=>({prefixCls:i,status:"error"})),[i]);return mv.createElement(OP,Object.assign({},r),((e,t,r)=>mv.createElement(h2.Provider,{value:a},n(e.map((e=>Object.assign(Object.assign({},e),{fieldKey:e.key}))),t,{errors:r.errors,warnings:r.warnings}))))},d8.ErrorList=Pp,d8.useForm=Ap,d8.useFormInstance=function(){const{form:e}=mv.useContext(f2);return e},d8.useWatch=gu,d8.Provider=g2,d8.create=()=>{};const p8=d8;let f8=null,m8=e=>e(),g8=[],h8={};const b8=mv.forwardRef(((e,t)=>{const n=()=>{const{prefixCls:e,container:t,maxCount:n,duration:r,rtl:o,top:i}=function(){const{prefixCls:e,getContainer:t,duration:n,rtl:r,maxCount:o,top:i}=h8;return{prefixCls:null!=e?e:c0().getPrefixCls("message"),container:(null==t?void 0:t())||document.body,duration:n,rtl:r,maxCount:o,top:i}}();return{prefixCls:e,getContainer:()=>t,maxCount:n,duration:r,rtl:o,top:i}},[r,o]=mv.useState(n),[i,a]=uc(r),s=c0(),l=s.getRootPrefixCls(),c=s.getIconPrefixCls(),u=s.getTheme(),d=()=>{o(n)};return mv.useEffect(d,[]),mv.useImperativeHandle(t,(()=>{const e=Object.assign({},i);return Object.keys(e).forEach((t=>{e[t]=function(){return d(),i[t].apply(i,arguments)}})),{instance:e,sync:d}})),mv.createElement(d0,{prefixCls:l,iconPrefixCls:c,theme:u},a)})),y8={open:function(e){const t=cc((t=>{let n;const r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return g8.push(r),()=>{n?m8((()=>{n()})):r.skipped=!0}}));return Fp(),t},destroy:function(e){g8.push({type:"destroy",key:e}),Fp()},config:function(e){h8=Object.assign(Object.assign({},h8),e),m8((()=>{var e;null===(e=null==f8?void 0:f8.sync)||void 0===e||e.call(f8)}))},useMessage:dc,_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,type:r,icon:o,content:i}=e,a=Nj(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=mv.useContext(zZ),l=t||s("message"),[,c]=A0(l);return mv.createElement(Dj,Object.assign({},a,{prefixCls:l,className:mZ(n,c,`${l}-notice-pure-panel`),eventKey:"pure",duration:null,content:mv.createElement(F0,{prefixCls:l,type:r,icon:o},i)}))}},v8=y8;["success","info","warning","error","loading"].forEach((e=>{v8[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{let r;const o={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return g8.push(o),()=>{r?m8((()=>{r()})):o.skipped=!0}}));return Fp(),n}(e,n)}}));const _8=v8;mA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:a,children:s}=e,l=mA(e,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:c}=mv.useContext(zZ),u=c(),d=t||c("modal"),[,p]=u5(d),f=`${d}-confirm`;let m={};return m=i?{closable:null!=o&&o,title:"",footer:"",children:mv.createElement(yu,Object.assign({},e,{confirmPrefixCls:f,rootPrefixCls:u,content:s}))}:{closable:null==o||o,title:a,footer:void 0===e.footer?mv.createElement(v2,Object.assign({},e)):e.footer,children:s},mv.createElement(Jj,Object.assign({prefixCls:d,className:mZ(p,`${d}-pure-panel`,i&&f,i&&`${f}-${i}`,n)},l,{closeIcon:hu(d,r),closable:o},m))};const k8=w8;let x8=null,S8=e=>e(),C8=[],E8={};const D8=mv.forwardRef(((e,t)=>{const[n,r]=mv.useState(),[o,i]=mv.useState(),[a,s]=mv.useState(),[l,c]=mv.useState(),[u,d]=mv.useState(),[p,f]=mv.useState(),[m,g]=Du({prefixCls:n,getContainer:()=>o,maxCount:a,rtl:l,top:u,bottom:p}),h=c0(),b=h.getRootPrefixCls(),y=h.getIconPrefixCls(),v=h.getTheme(),_=()=>{const{prefixCls:e,container:t,maxCount:n,rtl:o,top:a,bottom:l}=function(){const{prefixCls:e,getContainer:t,rtl:n,maxCount:r,top:o,bottom:i}=E8;return{prefixCls:null!=e?e:c0().getPrefixCls("notification"),container:(null==t?void 0:t())||document.body,rtl:n,maxCount:r,top:o,bottom:i}}();r(e),i(t),s(n),c(o),d(a),f(l)};return mv.useEffect(_,[]),mv.useImperativeHandle(t,(()=>{const e=Object.assign({},m);return Object.keys(e).forEach((t=>{e[t]=function(){return _(),m[t].apply(m,arguments)}})),{instance:e,sync:_}})),mv.createElement(d0,{prefixCls:b,iconPrefixCls:y,theme:v},g)})),O8={open:zp,destroy:function(e){C8.push({type:"destroy",key:e}),Lp()},config:function(e){E8=Object.assign(Object.assign({},E8),e),S8((()=>{var e;null===(e=null==x8?void 0:x8.sync)||void 0===e||e.call(x8)}))},useNotification:Ou,_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,icon:r,type:o,message:i,description:a,btn:s,closable:l=!0,closeIcon:c}=e,u=zP(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:d}=mv.useContext(zZ),p=t||d("notification"),f=`${p}-notice`,[,m]=k5(p);return mv.createElement(Dj,Object.assign({},u,{prefixCls:p,className:mZ(n,m,`${f}-pure-panel`),eventKey:"pure",duration:null,closable:l,closeIcon:Eu(p,c),content:mv.createElement(S5,{prefixCls:f,icon:r,type:o,message:i,description:a,btn:s})}))}},$8=O8;["success","info","warning","error"].forEach((e=>{$8[e]=t=>zp(Object.assign(Object.assign({},t),{type:e}))}));const j8=$8;gA=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},hA=function(e){return void 0!==e?"".concat(e,"px"):void 0},bA=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],yA=function(e){var t=e.prefixCls,n=e.disabled,r=e.checked,o=e.label,i=e.title,a=e.value,s=e.onChange;return mv.createElement("label",{className:mZ(e.className,Ci({},"".concat(t,"-item-disabled"),n))},mv.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:n,checked:r,onChange:function(e){n||s(e,a)}}),mv.createElement("div",{className:"".concat(t,"-item-label"),title:i},o))},vA=mv.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=void 0===o?"rc-segmented":o,a=e.direction,s=e.options,l=e.disabled,c=e.defaultValue,u=e.value,d=e.onChange,p=e.className,f=void 0===p?"":p,m=e.motionName,g=void 0===m?"thumb-motion":m,h=Ei(e,bA),b=mv.useRef(null),y=mv.useMemo((function(){return Bs(b,t)}),[b,t]),v=mv.useMemo((function(){return function(e){return e.map((function(e){if("object"===xi(e)&&null!==e){var t=function(e){return void 0!==e.title?e.title:"object"!==xi(e.label)?null===(t=e.label)||void 0===t?void 0:t.toString():void 0;var t}(e);return Sa(Sa({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}}))}(s)}),[s]),_=Va(Al(null===(n=v[0])||void 0===n?void 0:n.value,{value:u,defaultValue:c}),2),w=_[0],k=_[1],x=Va(mv.useState(!1),2),S=x[0],C=x[1],E=function(e,t){l||(k(t),null==d||d(t))},D=Qs(h,["children"]);return mv.createElement("div",fa({},D,{className:mZ(i,(r={},Ci(r,"".concat(i,"-rtl"),"rtl"===a),Ci(r,"".concat(i,"-disabled"),l),r),f),ref:y}),mv.createElement("div",{className:"".concat(i,"-group")},mv.createElement(Bp,{prefixCls:i,value:w,containerRef:b,motionName:"".concat(i,"-").concat(g),direction:a,getValueIndex:function(e){return v.findIndex((function(t){return t.value===e}))},onMotionStart:function(){C(!0)},onMotionEnd:function(){C(!1)}}),v.map((function(e){return mv.createElement(yA,fa({},e,{key:e.value,prefixCls:i,className:mZ(e.className,"".concat(i,"-item"),Ci({},"".concat(i,"-item-selected"),e.value===w&&!S)),checked:e.value===w,onChange:E,disabled:!!l||!!e.disabled}))}))))})),vA.displayName="Segmented",vA.defaultProps={options:[]};const P8=Object.assign({overflow:"hidden"},HZ),N8=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},UZ(e)),{display:"inline-block",padding:e.segmentedPadding,color:e.itemColor,backgroundColor:e.segmentedBgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":Object.assign(Object.assign({},Up(e)),{color:e.itemHoverColor}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:e.controlHeight-2*e.segmentedPadding,lineHeight:e.controlHeight-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontal}px`},P8),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},Up(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-2*e.segmentedPadding,lineHeight:e.controlHeightLG-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-2*e.segmentedPadding,lineHeight:e.controlHeightSM-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),Hp(`&-disabled ${t}-item`,e)),Hp(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},T8=Ml("Segmented",(e=>{const{lineWidth:t,lineWidthBold:n,colorBgLayout:r}=e,o=Rl(e,{segmentedPadding:n,segmentedBgColor:r,segmentedPaddingHorizontal:e.controlPaddingHorizontal-t,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-t});return[N8(o)]}),(e=>{const{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:o,colorFill:i}=e;return{itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:o,itemActiveBg:i}}));_A=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,className:r,rootClassName:o,block:i,options:a=[],size:s="middle",style:l}=e,c=_A(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:u,direction:d,segmented:p}=mv.useContext(zZ),f=u("segmented",n),[m,g]=T8(f),h=G0(s),b=mv.useMemo((()=>a.map((e=>{if(function(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}(e)){const{icon:t,label:n}=e,r=_A(e,["icon","label"]);return Object.assign(Object.assign({},r),{label:mv.createElement(mv.Fragment,null,mv.createElement("span",{className:`${f}-item-icon`},t),n&&mv.createElement("span",null,n))})}return e}))),[a,f]),y=mZ(r,o,null==p?void 0:p.className,{[`${f}-block`]:i,[`${f}-sm`]:"small"===h,[`${f}-lg`]:"large"===h},g),v=Object.assign(Object.assign({},null==p?void 0:p.style),l);return m(mv.createElement(vA,Object.assign({},c,{className:y,style:v,options:b,ref:t,prefixCls:f,direction:d})))}));wA=mv.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),kA=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],xA=mv.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=e.value,a=e.valueIndex,s=e.onStartMove,l=e.style,c=e.render,u=e.dragging,d=e.onOffsetChange,p=Ei(e,kA),f=mv.useContext(wA),m=f.min,g=f.max,h=f.direction,b=f.disabled,y=f.keyboard,v=f.range,_=f.tabIndex,w=f.ariaLabelForHandle,k=f.ariaLabelledByForHandle,x=f.ariaValueTextFormatterForHandle,S="".concat(o,"-handle"),C=function(e){b||s(e,a)},E=Vp(h,i,m,g),D=mv.createElement("div",fa({ref:t,className:mZ(S,(n={},Ci(n,"".concat(S,"-").concat(a+1),v),Ci(n,"".concat(S,"-dragging"),u),n)),style:Sa(Sa({},E),l),onMouseDown:C,onTouchStart:C,onKeyDown:function(e){if(!b&&y){var t=null;switch(e.which||e.keyCode){case Ej.LEFT:t="ltr"===h||"btt"===h?-1:1;break;case Ej.RIGHT:t="ltr"===h||"btt"===h?1:-1;break;case Ej.UP:t="ttb"!==h?1:-1;break;case Ej.DOWN:t="ttb"!==h?-1:1;break;case Ej.HOME:t="min";break;case Ej.END:t="max";break;case Ej.PAGE_UP:t=2;break;case Ej.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),d(t,a))}},tabIndex:b?null:Gp(_,a),role:"slider","aria-valuemin":m,"aria-valuemax":g,"aria-valuenow":i,"aria-disabled":b,"aria-label":Gp(w,a),"aria-labelledby":Gp(k,a),"aria-valuetext":null===(r=Gp(x,a))||void 0===r?void 0:r(i)},p));return c&&(D=c(D,{index:a,prefixCls:o,value:i,dragging:u})),D})),SA=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],CA=mv.forwardRef((function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,i=e.onOffsetChange,a=e.values,s=e.handleRender,l=e.draggingIndex,c=Ei(e,SA),u=mv.useRef({});return mv.useImperativeHandle(t,(function(){return{focus:function(e){var t;null===(t=u.current[e])||void 0===t||t.focus()}}})),mv.createElement(mv.Fragment,null,a.map((function(e,t){return mv.createElement(xA,fa({ref:function(e){e?u.current[t]=e:delete u.current[t]},dragging:l===t,prefixCls:n,style:Gp(r,t),key:t,value:e,valueIndex:t,onStartMove:o,onOffsetChange:i,render:s},c))})))})),EA=mv.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,C=e.prefixCls,E=void 0===C?"rc-slider":C,D=e.className,O=e.style,$=e.disabled,j=void 0!==$&&$,P=e.keyboard,N=void 0===P||P,T=e.autoFocus,I=e.onFocus,A=e.onBlur,R=e.min,F=void 0===R?0:R,M=e.max,L=void 0===M?100:M,z=e.step,B=void 0===z?1:z,H=e.value,U=e.defaultValue,W=e.range,V=e.count,G=e.onChange,q=e.onBeforeChange,X=e.onAfterChange,K=e.allowCross,Y=void 0===K||K,Q=e.pushable,J=void 0!==Q&&Q,Z=e.draggableTrack,ee=e.reverse,te=e.vertical,ne=e.included,re=void 0===ne||ne,oe=e.startPoint,ie=e.trackStyle,ae=e.handleStyle,se=e.railStyle,le=e.dotStyle,ce=e.activeDotStyle,ue=e.marks,de=e.dots,pe=e.handleRender,fe=e.tabIndex,me=void 0===fe?0:fe,ge=e.ariaLabelForHandle,he=e.ariaLabelledByForHandle,be=e.ariaValueTextFormatterForHandle,ye=mv.useRef(),ve=mv.useRef(),_e=mv.useMemo((function(){return te?ee?"ttb":"btt":ee?"rtl":"ltr"}),[ee,te]),we=mv.useMemo((function(){return isFinite(F)?F:0}),[F]),ke=mv.useMemo((function(){return isFinite(L)?L:100}),[L]),xe=mv.useMemo((function(){return null!==B&&B<=0?1:B}),[B]),Se=mv.useMemo((function(){return!0===J?xe:J>=0&&J}),[J,xe]),Ce=mv.useMemo((function(){return Object.keys(ue||{}).map((function(e){var t=ue[e],n={value:Number(e)};return t&&"object"===xi(t)&&!mv.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n})).filter((function(e){var t=e.label;return t||"number"==typeof t})).sort((function(e,t){return e.value-t.value}))}),[ue]),Ee=function(e,t,n,r,o,i){var a=mv.useCallback((function(n){var r=isFinite(n);return r=Math.min(t,n),Math.max(e,r)}),[e,t]),s=mv.useCallback((function(r){var o,i,s,l;return null!==n?(o=e+Math.round((a(r)-e)/n)*n,i=function(e){return(String(e).split(".")[1]||"").length},s=Math.max(i(n),i(t),i(e)),l=Number(o.toFixed(s)),e<=l&&l<=t?l:null):null}),[n,e,t,a]),l=mv.useCallback((function(o){var i,l,c=a(o),u=r.map((function(e){return e.value}));return null!==n&&u.push(s(o)),u.push(e,t),i=u[0],l=t-e,u.forEach((function(e){var t=Math.abs(c-e);t<=l&&(i=e,l=t)})),i}),[e,t,r,n,a,s]),c=function o(i,a,l,c){var u,d,p,f,m,g,h,b,y=arguments.length>3&&void 0!==c?c:"unit";return"number"==typeof a?(p=(d=i[l])+a,f=[],r.forEach((function(e){f.push(e.value)})),f.push(e,t),f.push(s(d)),m=a>0?1:-1,f.push(s("unit"===y?d+m*n:p)),f=f.filter((function(e){return null!==e})).filter((function(e){return a<0?e<=d:e>=d})),"unit"===y&&(f=f.filter((function(e){return e!==d}))),g="unit"===y?d:p,u=f[0],h=Math.abs(u-g),f.forEach((function(e){var t=Math.abs(e-g);t1?((b=ka(i))[l]=u,o(b,a-m,l,y)):u):"min"===a?e:"max"===a?t:void 0},u=function(e,t,n,r){var o=e[n],i=c(e,t,n,arguments.length>3&&void 0!==r?r:"unit");return{value:i,changed:i!==o}},d=function(e){return null===i&&0===e||"number"==typeof i&&e3&&void 0!==r?r:"unit",S=e.map(l),C=S[n],E=c(S,t,n,x);if(S[n]=E,!1===o)a=i||0,n>0&&S[n-1]!==C&&(S[n]=Math.max(S[n],S[n-1]+a)),n0;m-=1)for(g=!0;d(S[m]-S[m-1])&&g;)h=u(S,-1,m-1),S[m-1]=h.value,g=h.changed;for(b=S.length-1;b>0;b-=1)for(y=!0;d(S[b]-S[b-1])&&y;)v=u(S,-1,b-1),S[b-1]=v.value,y=v.changed;for(_=0;_=0?V+1:2);o.length=0&&ye.current.focus(e)}c(null)}),[l=s[0]]),d=mv.useMemo((function(){return(!Z||null!==xe)&&Z}),[Z,xe]),p=function(e,t,n,o,i,a,s,l,c){var u,d,p,f,m,g=Va(mv.useState(null),2),h=g[0],b=g[1],y=Va(mv.useState(-1),2),v=y[0],_=y[1],w=Va(mv.useState(n),2),k=w[0],x=w[1],S=Va(mv.useState(n),2),C=S[0],E=S[1],D=mv.useRef(null),O=mv.useRef(null);return mv.useEffect((function(){-1===v&&x(n)}),[n,v]),mv.useEffect((function(){return function(){document.removeEventListener("mousemove",D.current),document.removeEventListener("mouseup",O.current),document.removeEventListener("touchmove",D.current),document.removeEventListener("touchend",O.current)}}),[]),u=function(e,t){k.some((function(t,n){return t!==e[n]}))&&(void 0!==t&&b(t),x(e),s(e))},(p=mv.useRef(d=function(e,t){var n,r,s,l,d,p,f,m;-1===e?(n=C[0],r=i-C[C.length-1],s=t*(i-o),s=Math.max(s,o-n),s=Math.min(s,r),l=a(n+s),s=l-n,d=C.map((function(e){return e+s})),u(d)):(p=(i-o)*t,(f=ka(k))[e]=C[e],m=c(f,p,e,"dist"),u(m.values,m.value))})).current=d,f=function(o,i){var a,s,l,c,u,d;o.stopPropagation(),a=n[i],_(i),b(a),E(n),s=qp(o),l=s.pageX,c=s.pageY,u=function(n){var r,o,a,s,u,d,f;switch(n.preventDefault(),o=(r=qp(n)).pageX-l,a=r.pageY-c,u=(s=e.current.getBoundingClientRect()).width,d=s.height,t){case"btt":f=-a/d;break;case"ttb":f=a/d;break;case"rtl":f=-o/u;break;default:f=o/u}p.current(i,f)},d=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",u),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",u),D.current=null,O.current=null,_(-1),null==X||X(r(Ie.current))},document.addEventListener("mouseup",d),document.addEventListener("mousemove",u),document.addEventListener("touchend",d),document.addEventListener("touchmove",u),D.current=u,O.current=d},m=mv.useMemo((function(){var e=ka(n).sort((function(e,t){return e-t})),t=ka(k).sort((function(e,t){return e-t}));return e.every((function(e,n){return e===t[n]}))?k:n}),[n,k]),[v,h,m,f]}(ve,_e,Te,we,ke,Oe,o,0,$e),f=Va(p,4),g=f[1],h=f[2],b=f[3],y=function(e,t){b(e,t),null==q||q(r(Ie.current))},mv.useEffect((function(){if(!v){var e=Te.lastIndexOf(g);ye.current.focus(e)}}),[v=-1!==(m=f[0])]),_=mv.useMemo((function(){return ka(h).sort((function(e,t){return e-t}))}),[h]),w=Va(mv.useMemo((function(){return W?[_[0],_[_.length-1]]:[we,_[0]]}),[_,W,we]),2),k=w[0],x=w[1],mv.useImperativeHandle(t,(function(){return{focus:function(){ye.current.focus(0)},blur:function(){var e=document.activeElement;ve.current.contains(e)&&(null==e||e.blur())}}})),mv.useEffect((function(){T&&ye.current.focus(0)}),[]),S=mv.useMemo((function(){return{min:we,max:ke,direction:_e,disabled:j,keyboard:N,step:xe,included:re,includedStart:k,includedEnd:x,range:W,tabIndex:me,ariaLabelForHandle:ge,ariaLabelledByForHandle:he,ariaValueTextFormatterForHandle:be}}),[we,ke,_e,j,N,xe,re,k,x,W,me,ge,he,be]),mv.createElement(wA.Provider,{value:S},mv.createElement("div",{ref:ve,className:mZ(E,D,(n={},Ci(n,"".concat(E,"-disabled"),j),Ci(n,"".concat(E,"-vertical"),te),Ci(n,"".concat(E,"-horizontal"),!te),Ci(n,"".concat(E,"-with-marks"),Ce.length),n)),style:O,onMouseDown:a},mv.createElement("div",{className:"".concat(E,"-rail"),style:se}),mv.createElement(Kp,{prefixCls:E,style:ie,values:_,startPoint:oe,onStartMove:d?y:null}),mv.createElement(Zp,{prefixCls:E,marks:Ce,dots:de,style:le,activeStyle:ce}),mv.createElement(CA,{ref:ye,prefixCls:E,style:ae,values:h,draggingIndex:m,onStartMove:y,onOffsetChange:u,onFocus:I,onBlur:A,handleRender:pe}),mv.createElement(Qp,{prefixCls:E,marks:Ce,onClick:i})))}));const A8=mv.forwardRef(((e,t)=>{function n(){b$.cancel(i.current),i.current=null}const{open:r}=e,o=mv.useRef(null),i=mv.useRef(null);return mv.useEffect((()=>(r?i.current=b$((()=>{var e;null===(e=o.current)||void 0===e||e.forceAlign(),i.current=null})):n(),n)),[r,e.title]),mv.createElement(E4,Object.assign({ref:Bs(o,t)},e))})),R8=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:o,marginFull:i,marginPart:a,colorFillContentHover:s}=e;return{[t]:Object.assign(Object.assign({},UZ(e)),{position:"relative",height:r,margin:`${a}px ${i}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${i}px ${a}px`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track`]:{position:"absolute",backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:e.handleSize,height:e.handleSize,outline:"none",[`${t}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-e.handleLineWidth,insetBlockStart:-e.handleLineWidth,width:e.handleSize+2*e.handleLineWidth,height:e.handleSize+2*e.handleLineWidth,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:e.handleSize,height:e.handleSize,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:`\n inset-inline-start ${e.motionDurationMid},\n inset-block-start ${e.motionDurationMid},\n width ${e.motionDurationMid},\n height ${e.motionDurationMid},\n box-shadow ${e.motionDurationMid}\n `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),insetBlockStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),width:e.handleSizeHover+2*e.handleLineWidthHover,height:e.handleSizeHover+2*e.handleLineWidthHover},"&::after":{boxShadow:`0 0 0 ${e.handleLineWidthHover}px ${e.handleActiveColor}`,width:e.handleSizeHover,height:e.handleSizeHover,insetInlineStart:(e.handleSize-e.handleSizeHover)/2,insetBlockStart:(e.handleSize-e.handleSizeHover)/2}}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:o,height:o,backgroundColor:e.colorBgElevated,border:`${e.handleLineWidth}px solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[`\n ${t}-dot\n `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:e.handleSize,height:e.handleSize,boxShadow:`0 0 0 ${e.handleLineWidth}px ${new S$(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[`\n ${t}-mark-text,\n ${t}-dot\n `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},F8=(e,t)=>{const{componentCls:n,railSize:r,handleSize:o,dotSize:i}=e,a=t?"width":"height",s=t?"height":"width",l=t?"insetBlockStart":"insetInlineStart",c=t?"top":"insetInlineStart";return{[t?"paddingBlock":"paddingInline"]:r,[s]:3*r,[`${n}-rail`]:{[a]:"100%",[s]:r},[`${n}-track`]:{[s]:r},[`${n}-handle`]:{[l]:(3*r-o)/2},[`${n}-mark`]:{insetInlineStart:0,top:0,[c]:o,[a]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[c]:r,[a]:"100%",[s]:r},[`${n}-dot`]:{position:"absolute",[l]:(r-i)/2}}},M8=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},F8(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},L8=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},F8(e,!1)),{height:"100%"})}},z8=Ml("Slider",(e=>{const t=Rl(e,{marginPart:(e.controlHeight-e.controlSize)/2,marginFull:e.controlSize/2,marginPartWithMark:e.controlHeightLG-e.controlSize});return[R8(t),M8(t),L8(t)]}),(e=>{const t=e.controlHeightLG/4;return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:e.controlHeightSM/2,dotSize:8,handleLineWidth:e.lineWidth+1,handleLineWidthHover:e.lineWidth+3,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:e.colorPrimary,dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}}));DA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r"number"==typeof e?e.toString():"",H8=jJ.forwardRef(((e,t)=>{const{prefixCls:n,range:r,className:o,rootClassName:i,style:a,disabled:s,tooltipPrefixCls:l,tipFormatter:c,tooltipVisible:u,getTooltipPopupContainer:d,tooltipPlacement:p}=e,f=DA(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:m,slider:g,getPrefixCls:h,getPopupContainer:b}=jJ.useContext(zZ),y=jJ.useContext(ZZ),v=null!=s?s:y,[_,w]=jJ.useState({}),k=(e,t)=>{w((n=>Object.assign(Object.assign({},n),{[e]:t})))},x=(e,t)=>e||(t?"rtl"===m?"left":"right":"top"),S=h("slider",n),[C,E]=z8(S),D=mZ(o,null==g?void 0:g.className,i,{[`${S}-rtl`]:"rtl"===m},E);"rtl"!==m||f.vertical||(f.reverse=!f.reverse);const[O,$]=jJ.useMemo((()=>r?"object"==typeof r?[!0,r.draggableTrack]:[!0,!1]:[!1]),[r]),j=Object.assign(Object.assign({},null==g?void 0:g.style),a);return C(jJ.createElement(EA,Object.assign({},f,{step:f.step,range:O,draggableTrack:$,className:D,style:j,disabled:v,ref:t,prefixCls:S,handleRender:(t,n)=>{var r;const{index:o,dragging:i}=n,{tooltip:a={},vertical:s}=e,f=Object.assign({},a),{open:m,placement:g,getPopupContainer:y,prefixCls:v,formatter:w}=f;let C;C=w||null===w?w:c||null===c?c:B8;const E=null!==(r=null!=m?m:u)&&void 0!==r?r:void 0===m&&!!C&&(_[o]||i),D=Object.assign(Object.assign({},t.props),{onMouseEnter:()=>k(o,!0),onMouseLeave:()=>k(o,!1)}),O=h("tooltip",null!=v?v:l);return jJ.createElement(A8,{prefixCls:O,title:C?C(n.value):"",open:E,placement:x(null!=g?g:p,s),key:o,overlayClassName:`${S}-tooltip`,getPopupContainer:y||d||b},jJ.cloneElement(t,D))}})))}));OA=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],$A=mv.forwardRef((function(e,t){function n(e,t){var n=y;return c||(v(n=e),null==m||m(n,t)),n}var r,o=e.prefixCls,i=void 0===o?"rc-switch":o,a=e.className,s=e.checked,l=e.defaultChecked,c=e.disabled,u=e.loadingIcon,d=e.checkedChildren,p=e.unCheckedChildren,f=e.onClick,m=e.onChange,g=e.onKeyDown,h=Ei(e,OA),b=Va(Al(!1,{value:s,defaultValue:l}),2),y=b[0],v=b[1],_=mZ(i,a,(Ci(r={},"".concat(i,"-checked"),y),Ci(r,"".concat(i,"-disabled"),c),r));return mv.createElement("button",fa({},h,{type:"button",role:"switch","aria-checked":y,disabled:c,className:_,ref:t,onKeyDown:function(e){e.which===Ej.LEFT?n(!1,e):e.which===Ej.RIGHT&&n(!0,e),null==g||g(e)},onClick:function(e){var t=n(!y,e);null==f||f(t,e)}}),u,mv.createElement("span",{className:"".concat(i,"-inner")},mv.createElement("span",{className:"".concat(i,"-inner-checked")},d),mv.createElement("span",{className:"".concat(i,"-inner-unchecked")},p)))})),$A.displayName="Switch";const U8=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:e.switchMinWidthSM,height:e.switchHeightSM,lineHeight:`${e.switchHeightSM}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxSM,paddingInlineEnd:e.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeSM+2*e.switchPadding}px - ${2*e.switchInnerMarginMaxSM}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeSM+2*e.switchPadding}px + ${2*e.switchInnerMarginMaxSM}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeSM,height:e.switchPinSizeSM},[`${t}-loading-icon`]:{top:(e.switchPinSizeSM-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinSM,paddingInlineEnd:e.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeSM+2*e.switchPadding}px + ${2*e.switchInnerMarginMaxSM}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeSM+2*e.switchPadding}px - ${2*e.switchInnerMarginMaxSM}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},W8=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(e.switchPinSize-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},V8=e=>{const{componentCls:t,motion:n}=e,r=`${t}-handle`;return{[t]:{[r]:{position:"absolute",top:e.switchPadding,insetInlineStart:e.switchPadding,width:e.switchPinSize,height:e.switchPinSize,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:e.colorWhite,borderRadius:e.switchPinSize/2,boxShadow:e.switchHandleShadow,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${r}`]:{insetInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:n?{[`${r}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${r}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}:{}}}},G8=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:e.switchInnerMarginMax,paddingInlineEnd:e.switchInnerMarginMin,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${n}-checked, ${n}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSize+2*e.switchPadding}px - ${2*e.switchInnerMarginMax}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSize+2*e.switchPadding}px + ${2*e.switchInnerMarginMax}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${n}`]:{paddingInlineStart:e.switchInnerMarginMin,paddingInlineEnd:e.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSize+2*e.switchPadding}px + ${2*e.switchInnerMarginMax}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSize+2*e.switchPadding}px - ${2*e.switchInnerMarginMax}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:2*e.switchPadding,marginInlineEnd:2*-e.switchPadding}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:2*-e.switchPadding,marginInlineEnd:2*e.switchPadding}}}}}},q8=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},UZ(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:e.switchMinWidth,height:e.switchHeight,lineHeight:`${e.switchHeight}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),qZ(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},X8=Ml("Switch",(e=>{const t=e.fontSize*e.lineHeight,n=e.controlHeight/2,r=t-4,o=n-4,i=Rl(e,{switchMinWidth:2*r+8,switchHeight:t,switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchInnerMarginMin:r/2,switchInnerMarginMax:r+2+4,switchPadding:2,switchPinSize:r,switchBg:e.colorBgContainer,switchMinWidthSM:2*o+4,switchHeightSM:n,switchInnerMarginMinSM:o/2,switchInnerMarginMaxSM:o+2+4,switchPinSizeSM:o,switchHandleShadow:`0 2px 4px 0 ${new S$("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:.75*e.fontSizeIcon,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[q8(i),G8(i),V8(i),W8(i),U8(i)]}));jA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,size:r,disabled:o,loading:i,className:a,rootClassName:s,style:l}=e,c=jA(e,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:u,direction:d,switch:p}=mv.useContext(zZ),f=mv.useContext(ZZ),m=(null!=o?o:f)||i,g=u("switch",n),h=mv.createElement("div",{className:`${g}-handle`},i&&mv.createElement(T0,{className:`${g}-loading-icon`})),[b,y]=X8(g),v=G0(r),_=mZ(null==p?void 0:p.className,{[`${g}-small`]:"small"===v,[`${g}-loading`]:i,[`${g}-rtl`]:"rtl"===d},a,s,y),w=Object.assign(Object.assign({},null==p?void 0:p.style),l);return b(mv.createElement(V0,null,mv.createElement($A,Object.assign({},c,{prefixCls:g,className:_,style:w,disabled:m,ref:t,loadingIcon:h}))))}));K8.__ANT_SWITCH=!0;const Y8=K8,Q8=(e,t,n)=>{const r="string"!=typeof(o=n)?o:o.charAt(0).toUpperCase()+o.slice(1);var o;return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},J8=e=>Ll(e,((t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:i,darkColor:a}=n;return{[`${e.componentCls}-${t}`]:{color:r,background:i,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})),Z8=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o}=e,i=r-n,a=t-n;return{[o]:Object.assign(Object.assign({},UZ(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${e.lineWidth}px ${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:a,color:e.colorTextDescription,fontSize:e.tagIconSize,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}}},e7=Ml("Tag",(e=>{const{lineWidth:t,fontSizeIcon:n}=e,r=e.fontSizeSM,o=Rl(e,{tagFontSize:r,tagLineHeight:e.lineHeightSM*r+"px",tagIconSize:n-2*t,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary});return[Z8(o),J8(o),Q8(o,"success","Success"),Q8(o,"processing","Info"),Q8(o,"error","Error"),Q8(o,"warning","Warning")]}),(e=>({defaultBg:e.colorFillQuaternary,defaultColor:e.colorText})));PA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,className:r,rootClassName:o,style:i,children:a,icon:s,color:l,onClose:c,closeIcon:u,closable:d,bordered:p=!0}=e,f=NA(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:m,direction:g,tag:h}=mv.useContext(zZ),[b,y]=mv.useState(!0);mv.useEffect((()=>{"visible"in f&&y(f.visible)}),[f.visible]);const v=yd(l)||function(e){return x4.includes(e)}(l),_=Object.assign(Object.assign({backgroundColor:l&&!v?l:void 0},null==h?void 0:h.style),i),w=m("tag",n),[k,x]=e7(w),S=mZ(w,null==h?void 0:h.className,{[`${w}-${l}`]:v,[`${w}-has-color`]:l&&!v,[`${w}-hidden`]:!b,[`${w}-rtl`]:"rtl"===g,[`${w}-borderless`]:!p},r,o,x),C=e=>{e.stopPropagation(),null==c||c(e),e.defaultPrevented||y(!1)},[,E]=Mc(d,u,(e=>null===e?mv.createElement(v0,{className:`${w}-close-icon`,onClick:C}):mv.createElement("span",{className:`${w}-close-icon`,onClick:C},e)),null,!1),D="function"==typeof f.onClick||a&&"a"===a.type,O=s||null,$=O?mv.createElement(mv.Fragment,null,O,a&&mv.createElement("span",null,a)):a,j=mv.createElement("span",Object.assign({},f,{ref:t,className:S,style:_}),$,E);return k(D?mv.createElement(V0,null,j):j)},n7=mv.forwardRef(t7);n7.CheckableTag=e=>{const{prefixCls:t,className:n,checked:r,onChange:o,onClick:i}=e,a=PA(e,["prefixCls","className","checked","onChange","onClick"]),{getPrefixCls:s}=mv.useContext(zZ),l=s("tag",t),[c,u]=e7(l),d=mZ(l,`${l}-checkable`,{[`${l}-checkable-checked`]:r},n,u);return c(mv.createElement("span",Object.assign({},a,{className:d,onClick:e=>{null==o||o(!r),null==i||i(e)}})))};const r7=n7;TA=function(){return v4.useToken().token},RA=mv.createContext({appearance:"light",setAppearance:function(){},isDarkMode:!1,themeMode:"light",setThemeMode:function(){},browserPrefers:null!==(AA=(IA=function(e){return"undefined"!=typeof window?matchMedia&&matchMedia("(prefers-color-scheme: ".concat(e,")")):{matches:!1}})("dark"))&&void 0!==AA&&AA.matches?"dark":"light"}),FA=function(){return mv.useContext(RA)},MA=function(){var e=TA(),t=FA(),n=t.appearance,r=t.isDarkMode;return mv.useMemo((function(){return zO(LO({token:e,css:VE,appearance:n,isDarkMode:r}))}),[e,n,r])},LA=function(){var e=TA(),t=MA();return mv.useMemo((function(){return nf(nf({},e),{},{stylish:t})}),[e,t])},zA=function(e){return of(of({},e),{},{mobile:e.xs,tablet:e.md,laptop:e.lg,desktop:e.xxl})},BA=function(){var e=function(e){let t=!(arguments.length>0&&void 0!==e)||e;const n=mv.useRef({}),r=function(){const[,e]=mv.useReducer((e=>e+1),0);return e}(),o=fd();return mv.useEffect((()=>{const e=o.subscribe((e=>{n.current=e,t&&r()}));return()=>o.unsubscribe(e)}),[]),n.current}();return mv.useMemo((function(){return zA(e)}),[e])},HA=function(){var e=TA(),t={xs:"@media (max-width: ".concat(e.screenXSMax,"px)"),sm:"@media (max-width: ".concat(e.screenSMMax,"px)"),md:"@media (max-width: ".concat(e.screenMDMax,"px)"),lg:"@media (max-width: ".concat(e.screenLGMax,"px)"),xl:"@media (max-width: ".concat(e.screenXLMax,"px)"),xxl:"@media (min-width: ".concat(e.screenXXLMin,"px)")};return mv.useMemo((function(){return zA(t)}),[e])},UA=function(e,t){return Object.entries(e).map((function(e){var n=Va(e,2),r=n[0],o=n[1],i=o;return LE(o)||(i=VE(o)),t[r]?"".concat(t[r]," {").concat(i.styles,"}"):""})).join("")},WA=["stylish","appearance","isDarkMode","prefixCls"],VA=["prefixCls"],GA=function(e){var t=e.hashPriority,n=e.useTheme,r=e.EmotionContext;return function(e,o){var i=null==o?void 0:o.__BABEL_FILE_NAME__,a=!!i;return function(s){var l=n(),c=mv.useContext(r),u=WE(c.cache,{hashPriority:(null==o?void 0:o.hashPriority)||t,label:null==o?void 0:o.label}),d=u.cx,p=u.css,f=HA(),m=mv.useMemo((function(){var t,n,r,o,c,u,m;return e instanceof Function?(n=l.stylish,r=l.appearance,o=l.isDarkMode,c=l.prefixCls,u=Ei(l,WA),m=function(e){return UA(e,f)},Object.assign(m,f),t=e({token:u,stylish:n,appearance:r,isDarkMode:o,prefixCls:c,cx:d,css:VE,responsive:m},s)):t=e,"object"===xi(t)&&(t=LE(t)?p(t):Object.fromEntries(Object.entries(t).map((function(e){var t=Va(e,2),n=t[0],r=t[1],o=a?"".concat(i,"-").concat(n):void 0;return"object"===xi(r)?a?[n,p(r,"label:".concat(o))]:[n,p(r)]:[n,r]})))),t}),[s,l]);return mv.useMemo((function(){var e=l.prefixCls,t=Ei(l,VA);return{styles:m,cx:d,theme:t,prefixCls:e}}),[m,l])}}},qA=function(e){if(e.ThemeProvider)return e.ThemeProvider;var t=e.ThemeContext;return function(e){return wv.jsx(t.Provider,{value:e.theme,children:e.children})}},XA=ND,KA=$D,YA=function(e){if(!e.ThemeContext)throw"ThemeContext is required. Please check your config.";KA=e.ThemeContext,XA=qA(e)};const o7=mv.memo((function(e){var t,n=e.children,r=e.theme,o=e.prefixCls,i=e.getStaticInstance,a=e.staticInstanceConfig,s=FA(),l=s.appearance,c=s.isDarkMode,u=Va(_8.useMessage(null==a?void 0:a.message),2),d=u[0],p=u[1],f=Va(j8.useNotification(null==a?void 0:a.notification),2),m=f[0],g=f[1],h=Va(k8.useModal(),2),b=h[0],y=h[1];return mv.useEffect((function(){null==i||i({message:d,modal:b,notification:m})}),[]),t=mv.useMemo((function(){var e,t=c?v4.darkAlgorithm:v4.defaultAlgorithm,n=r;return"function"==typeof r&&(n=r(l)),n?(e=n.algorithm?n.algorithm instanceof Array?n.algorithm:[n.algorithm]:[],sf(sf({},n),{},{algorithm:n.algorithm?[t].concat(ka(e)):t})):{algorithm:t}}),[r,c]),wv.jsxs(d0,{prefixCls:o,theme:t,children:[p,g,y,n]})}));QA=function(e){"function"==typeof mv.startTransition?mv.startTransition(e):e()},ZA=function(e){var t=e.themeMode,n=e.setAppearance,r=e.setBrowserPrefers,o=function(){IA("dark").matches?n("dark"):n("light")},i=function(){IA("dark").matches?r("dark"):r("light")};return mv.useLayoutEffect((function(){if("auto"===t)return setTimeout(o,1),JA||(JA=IA("dark")),JA.addEventListener("change",o),function(){JA.removeEventListener("change",o)};QA((function(){n(t)}))}),[t]),mv.useLayoutEffect((function(){return JA||(JA=IA("dark")),JA.addEventListener("change",i),function(){JA.removeEventListener("change",i)}}),[]),null};const i7=mv.memo((function(e){var t,n=e.children,r=e.appearance,o=e.defaultAppearance,i=e.onAppearanceChange,a=e.themeMode,s=e.defaultThemeMode,l=e.onThemeModeChange,c=(0,e.useTheme)(),u=c.appearance,d=Va(cf("light",{value:a,defaultValue:null!=s?s:c.themeMode,onChange:function(e){return null==l?void 0:l(e)}}),2),p=d[0],f=d[1],m=Va(cf("light",{value:r,defaultValue:null!=o?o:u,onChange:function(e){return null==i?void 0:i(e)}}),2),g=m[0],h=m[1],b=Va(mv.useState(null!==(t=IA("dark"))&&void 0!==t&&t.matches?"dark":"light"),2),y=b[0],v=b[1],_=Va(mv.useState(!1),2),w=_[0],k=_[1];return mv.useEffect((function(){QA((function(){k(!0)}))}),[]),wv.jsxs(RA.Provider,{value:{themeMode:p,setThemeMode:f,appearance:g,setAppearance:h,isDarkMode:"dark"===g,browserPrefers:y},children:[w&&wv.jsx(ZA,{themeMode:p,setAppearance:h,setBrowserPrefers:v}),n]})}));eR=["stylish"];const a7=function(e){var t=e.children,n=e.customToken,r=e.defaultCustomToken,o=e.customStylish,i=e.prefixCls,a=void 0===i?"ant":i,s=e.StyledThemeProvider,l=FA(),c=l.appearance,u=l.isDarkMode,d=LA(),p=d.stylish,f=Ei(d,eR),m=mv.useMemo((function(){return r?r instanceof Function?r({token:f,appearance:c,isDarkMode:u}):r:{}}),[r,f,c]),g=mv.useMemo((function(){return df(df({},m),n instanceof Function?n({token:f,appearance:c,isDarkMode:u}):n)}),[m,n,f,c]),h=mv.useMemo((function(){return o?o({token:df(df({},f),g),stylish:p,appearance:c,isDarkMode:u,css:VE}):{}}),[o,f,g,p,c]),b=mv.useMemo((function(){return df(df({},h),p)}),[h,p]),y=df(df(df(df({},f),g),{},{stylish:b},l),{},{prefixCls:a});return wv.jsx(s,{theme:y,children:t})};tR=function(e){var t=e.styledConfig?qA(e.styledConfig):void 0,n=e.StyleEngineContext;return mv.memo((function(r){var o=r.children,i=r.customToken,a=r.customStylish,s=r.theme,l=r.getStaticInstance,c=r.prefixCls,u=r.staticInstanceConfig,d=r.appearance,p=r.defaultAppearance,f=r.onAppearanceChange,m=r.themeMode,g=r.defaultThemeMode,h=r.onThemeModeChange,b=r.styled,y=mv.useContext(n),v=y.prefixCls,_=y.StyledThemeContext,w=y.CustomThemeContext,k=mv.useContext(w),x=b?qA(b):t||XA,S=c||v;return wv.jsx(n.Provider,{value:{prefixCls:S,StyledThemeContext:(null==b?void 0:b.ThemeContext)||_||KA,CustomThemeContext:w},children:wv.jsx(i7,{themeMode:m,defaultThemeMode:g,onThemeModeChange:h,defaultAppearance:p,appearance:d,onAppearanceChange:f,useTheme:e.useTheme,children:wv.jsx(o7,{prefixCls:S,staticInstanceConfig:u,theme:s,getStaticInstance:l,children:wv.jsx(a7,{prefixCls:S,customToken:i,defaultCustomToken:k,customStylish:a,StyledThemeProvider:x,children:o})})})})}))},nR=function(e){return function(){var t=mv.useContext(e.StyleEngineContext),n=t.StyledThemeContext,r=t.CustomThemeContext,o=t.prefixCls,i=LA(),a=FA(),s=mv.useContext(r),l=mv.useContext(null!=n?n:KA)||{},c=mv.useMemo((function(){return ff(ff(ff(ff({},i),a),s),{},{prefixCls:o||"ant"})}),[i,a,o,s]);return l&&0!==Object.keys(l).length?l:c}},rR=new AE,"undefined"!=typeof global&&(global.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__=rR),aR=(GQ={key:"acss",speedy:!1},oJ=gf(gf({},GQ),{},{key:null!==(qQ=GQ.key)&&void 0!==qQ?qQ:"zcss",speedy:null!==(XQ=GQ.speedy)&&void 0!==XQ&&XQ}),iJ=$E({key:oJ.key,speedy:oJ.speedy,container:oJ.container}),aJ=GE(iJ),sJ=MO(aJ),iJ.cache=rR.add(iJ.cache),YQ=null===(KQ=oJ.styled)||void 0===KQ?void 0:KQ.ThemeContext,JQ=nR({StyleEngineContext:QQ=mv.createContext({CustomThemeContext:mv.createContext(oJ.customToken?oJ.customToken:{}),StyledThemeContext:YQ,prefixCls:null==oJ?void 0:oJ.prefixCls})}),ZQ=GA({hashPriority:oJ.hashPriority,useTheme:JQ,EmotionContext:aJ}),eJ=ID(JQ),tJ=AD(ZQ),nJ=tR({styledConfig:oJ.styled,StyleEngineContext:QQ,useTheme:JQ}),rJ=WE(iJ.cache,{hashPriority:oJ.hashPriority}),oR={createStyles:ZQ,createGlobalStyle:eJ,createStylish:tJ,css:VE,cx:rJ.cx,keyframes:iJ.keyframes,injectGlobal:iJ.injectGlobal,styleManager:iJ,useTheme:JQ,StyleProvider:sJ,ThemeProvider:nJ}).createGlobalStyle,sR=oR.css,lR=oR.cx,cR=oR.keyframes,uR=oR.ThemeProvider,dR=oR.StyleProvider,pR=oR.useTheme,gR=(iR=oR.createStyles)((function(e){var t=e.css,n=cR(fR||(fR=Di(["\n 0% {\n rotate: 0deg;\n }\n 100% {\n rotate: 360deg;\n }\n "])));return{spin:t(mR||(mR=Di(["\n animation: "," 1s linear infinite;\n "])),n)}})),hR=["icon","size","color","fill","className","spin"],bR=function(e){var t,n;switch(e){case"large":t=24,n=2;break;case"normal":t=20,n=2;break;case"small":t=14,n=1.5;break;default:e?(t=(null==e?void 0:e.fontSize)||24,n=(null==e?void 0:e.strokeWidth)||2):(t="1em",n=2)}return{fontSize:t,strokeWidth:n}};const s7=mv.memo((function(e){var t=e.icon,n=e.size,r=e.color,o=e.fill,i=e.className,a=e.spin,s=Ei(e,hR),l=gR(),c=l.styles,u=l.cx,d=t,p=mv.useMemo((function(){return bR(n)}),[n]),f=p.fontSize,m=p.strokeWidth;return wv.jsx("span",bf(bf({className:u("anticon",a&&c.spin,i),role:"img"},s),{},{children:wv.jsx(d,{color:r,fill:null!=o?o:"transparent",focusable:!1,height:f,size:f,strokeWidth:m,width:f})}))}));vR=iR((function(e,t){var n,r,o=e.token,i=e.isDarkMode,a=t.offset,s=(null!==(n=null==a?void 0:a.x)&&void 0!==n?n:0)+"px",l=(null!==(r=null==a?void 0:a.y)&&void 0!==r?r:0)+"px",c=t.outside?"0":".1",u=t.size+"px";return(0,e.css)(yR||(yR=Di(["\n pointer-events: none;\n\n position: absolute;\n z-index: 1;\n inset: 0;\n\n opacity: ",";\n background: radial-gradient(\n "," circle at "," ",",\n ",",\n ","\n );\n border-radius: inherit;\n\n transition: all 0.2s;\n "])),c,u,s,l,i?o.colorText:"#fff",i?"transparent":o.colorTextQuaternary)})),_R=["className","size"],wR=function(){var e=Va(mv.useState(),2),t=e[0],n=e[1],r=Va(mv.useState(!0),2),o=r[0],i=r[1],a=mv.useRef();return mv.useEffect((function(){var e,t,r;if(a.current&&a.current.parentElement)return t=function(t){var r=e.getBoundingClientRect();n({x:t.clientX-r.x,y:t.clientY-r.y}),i(!1)},r=function(){i(!0)},(e=a.current.parentElement).addEventListener("mousemove",t),e.addEventListener("mouseleave",r),function(){e.removeEventListener("mousemove",t),e.removeEventListener("mouseleave",r)}}),[]),[t,o,a]};const l7=mv.memo((function(e){var t=e.className,n=e.size,r=void 0===n?64:n,o=Ei(e,_R),i=Va(wR(),3),a=i[2],s=vR({offset:i[0],outside:i[1],size:r});return wv.jsx("div",function(e){var t,n;for(t=1;ti?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0,r=Array(i);++o-1},EM=function(e,t){var n=this.__data__,r=kM(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Zf.prototype.clear=function(){this.__data__=[],this.size=0},Zf.prototype.delete=xM,Zf.prototype.get=SM,Zf.prototype.has=CM,Zf.prototype.set=EM,OM=DM=Zf,$M=function(){this.__data__=new OM,this.size=0},jM=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},PM=function(e){return this.__data__.get(e)},NM=function(e){return this.__data__.has(e)},TM=uM,IM=KF,AM=function(e){if(!IM(e))return!1;var t=TM(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},$Q=/[^.]+$/.exec((RM=JF["__core-js_shared__"])&&RM.keys&&RM.keys.IE_PROTO||""),FM=$Q?"Symbol(src)_1."+$Q:"",MM=Function.prototype.toString,zM=AM,BM=function(e){return!!FM&&FM in e},HM=KF,UM=LM=function(e){if(null!=e){try{return MM.call(e)}catch(zQ){}try{return e+""}catch(zQ){}}return""},WM=/[\\^$.*+?()[\]{}|]/g,VM=/^\[object .+?Constructor\]$/,GM=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(WM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qM=function(e,t){return null==e?void 0:e[t]},XM=function(e){return!(!HM(e)||BM(e))&&(zM(e)?GM:VM).test(UM(e))},KM=qM,YM=function(e,t){var n=KM(e,t);return XM(n)?n:void 0},QM=YM(JF,"Map"),JM=YM(Object,"create"),eL=ZM=JM,tL=ZM,nL=Object.prototype.hasOwnProperty,rL=ZM,oL=Object.prototype.hasOwnProperty,iL=ZM,aL=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},sL=function(e){var t,n=this.__data__;return tL?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:nL.call(n,e)?n[e]:void 0},lL=function(e){var t=this.__data__;return rL?void 0!==t[e]:oL.call(t,e)},cL=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=iL&&void 0===t?"__lodash_hash_undefined__":t,this},em.prototype.clear=function(){this.__data__=eL?eL(null):{},this.size=0},em.prototype.delete=aL,em.prototype.get=sL,em.prototype.has=lL,em.prototype.set=cL,uL=em,dL=DM,pL=QM,fL=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},gL=mL=function(e,t){var n=e.__data__;return fL(t)?n["string"==typeof t?"string":"hash"]:n.map},hL=mL,bL=mL,yL=mL,vL=function(e){var t=gL(this,e).delete(e);return this.size-=t?1:0,t},_L=function(e){return hL(this,e).get(e)},wL=function(e){return bL(this,e).has(e)},kL=function(e,t){var n=yL(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},tm.prototype.clear=function(){this.size=0,this.__data__={hash:new uL,map:new(pL||dL),string:new uL}},tm.prototype.delete=vL,tm.prototype.get=_L,tm.prototype.has=wL,tm.prototype.set=kL,SL=DM,CL=QM,EL=xL=tm,DL=DM,OL=jM,$L=PM,jL=NM,PL=function(e,t){var n,r=this.__data__;if(r instanceof SL){if(n=r.__data__,!CL||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new EL(n)}return r.set(e,t),this.size=r.size,this},nm.prototype.clear=$M,nm.prototype.delete=OL,nm.prototype.get=$L,nm.prototype.has=jL,nm.prototype.set=PL,NL=nm,TL=xL,IL=function(e){return this.__data__.has(e)},rm.prototype.add=rm.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},rm.prototype.has=IL,FL=AL=rm,ML=function(e,t){for(var n=-1,r=null==e?0:e.length;++ng))return!1;if(a=i.get(e),s=i.get(t),a&&s)return a==t&&s==e;for(l=-1,c=!0,u=2&n?new FL:void 0,i.set(e,t),i.set(t,e);++l-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},kz=dM,(xz={})["[object Float32Array]"]=xz["[object Float64Array]"]=xz["[object Int8Array]"]=xz["[object Int16Array]"]=xz["[object Int32Array]"]=xz["[object Uint8Array]"]=xz["[object Uint8ClampedArray]"]=xz["[object Uint16Array]"]=xz["[object Uint32Array]"]=!0,xz["[object Arguments]"]=xz["[object Array]"]=xz["[object ArrayBuffer]"]=xz["[object Boolean]"]=xz["[object DataView]"]=xz["[object Date]"]=xz["[object Error]"]=xz["[object Function]"]=xz["[object Map]"]=xz["[object Number]"]=xz["[object Object]"]=xz["[object RegExp]"]=xz["[object Set]"]=xz["[object String]"]=xz["[object WeakMap]"]=!1,Sz=function(e){return kz(e)&&wz(e.length)&&!!xz[_z(e)]},Cz=function(e){return function(t){return e(t)}},function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,o=r&&r.exports===n&&YF.process,i=function(){try{return r&&r.require&&r.require("util").types||o&&o.binding&&o.binding("util")}catch(zQ){}}();e.exports=i}(Ez={exports:{}},Ez.exports),Dz=Sz,jz=($z=(Oz=Ez.exports)&&Oz.isTypedArray)?Cz($z):Dz,Nz=az,Tz=mz,Iz=QL,Az=hz,Rz=yz,Fz=Pz=jz,Mz=Object.prototype.hasOwnProperty,Lz=function(e,t){var n,r=Iz(e),o=!r&&Tz(e),i=!r&&!o&&Az(e),a=!r&&!o&&!i&&Fz(e),s=r||o||i||a,l=s?Nz(e.length,String):[],c=l.length;for(n in e)!t&&!Mz.call(e,n)||s&&("length"==n||i&&("offset"==n||"parent"==n)||a&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Rz(n,c))||l.push(n);return l},zz=Object.prototype,Bz=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||zz)},lJ=Object.keys,cJ=Object,Hz=Bz,Uz=function(e){return lJ(cJ(e))},Wz=Object.prototype.hasOwnProperty,Vz=function(e){var t,n;if(!Hz(e))return Uz(e);for(n in t=[],Object(e))Wz.call(e,n)&&"constructor"!=n&&t.push(n);return t},Gz=AM,qz=vz,Xz=Lz,Kz=Vz,Yz=function(e){return null!=e&&qz(e.length)&&!Gz(e)},Qz=function(e){return Yz(e)?Xz(e):Kz(e)},Jz=ez,Zz=iz,eB=Qz,tB=function(e){return Jz(e,eB,Zz)},nB=tB,rB=Object.prototype.hasOwnProperty,oB=function(e,t,n,r,o,i){var a,s,l,c,u,d,p,f,m,g,h,b=1&n,y=nB(e),v=y.length;if(v!=nB(t).length&&!b)return!1;for(a=v;a--;)if(s=y[a],!(b?s in t:rB.call(t,s)))return!1;if(l=i.get(e),c=i.get(t),l&&c)return l==t&&c==e;for(u=!0,i.set(e,t),i.set(t,e),d=b;++a .ant-menu-item-only-child,\n .ant-menu-submenu-title {\n width: 100%;\n margin: 0 !important;\n border-top: none;\n border-radius: 0;\n\n &:active {\n color: ",";\n background-color: ",";\n }\n }\n\n .ant-menu-item-only-child:first-child {\n border-top: none;\n }\n\n .ant-menu-submenu-title[aria-expanded='true'] {\n a {\n font-weight: 600;\n color: "," !important;\n }\n }\n\n .ant-menu-item-group-title {\n padding-top: 8px;\n padding-bottom: 8px;\n\n font-size: 12px;\n font-weight: 500;\n line-height: 1;\n text-overflow: ellipsis;\n text-transform: uppercase;\n white-space: nowrap;\n\n background: ",";\n }\n\n .ant-menu-item {\n width: calc(100% - 16px) !important;\n margin: 8px !important;\n border-radius: ","px;\n\n &:hover,\n &:active {\n color: "," !important;\n background: "," !important;\n }\n }\n\n .ant-menu-item-active {\n width: calc(100% - 16px) !important;\n margin: 8px !important;\n background: ",";\n border-radius: ","px;\n }\n\n .ant-menu-item-selected {\n font-weight: 600;\n color: ",";\n background: ",";\n\n &:hover,\n &:active {\n color: "," !important;\n background: "," !important;\n }\n }\n "])),n.colorText,n.colorFill,n.colorText,n.colorFillSecondary,n.borderRadius,n.colorText,n.colorFillSecondary,n.colorFillSecondary,n.borderRadius,n.colorBgLayout,n.colorText,n.colorBgLayout,n.colorText)}})),aH=["items","openKeys","selectedKeys","opened","setOpened","className","headerHeight"];const E7=mv.memo((function(e){var t=e.items,n=e.openKeys,r=e.selectedKeys,o=e.opened,i=e.setOpened,a=e.className,s=e.headerHeight,l=void 0===s?64:s,c=Ei(e,aH),u=iH(l),d=u.styles;return wv.jsxs(C7,fm(fm({className:(0,u.cx)(d.container,a),onClick:function(){i(!o)}},c),{},{children:[wv.jsx(u7,{icon:o?lZ:QJ,size:"site"}),wv.jsxs(A6,{bodyStyle:{padding:0},className:d.drawer,closeIcon:void 0,headerStyle:{display:"none"},open:o,placement:"left",rootClassName:d.drawerRoot,width:"100vw",children:[wv.jsx(G4,{className:d.menu,items:t,mode:"inline",openKeys:n,selectedKeys:r}),wv.jsx("div",{className:d.fillRect})]})]}))}));sH=["icon","children","size"],uH=iR((function(e){var t=e.cx,n=e.css,r=e.token;return{small:n(lH||(lH=Di(["\n padding: 2px 6px;\n line-height: 1;\n "]))),tag:t(n(cH||(cH=Di(["\n color: "," !important;\n background: ",";\n border: ","px;\n\n &:hover {\n color: ",";\n background: ",";\n }\n "])),r.colorTextSecondary,r.colorFillSecondary,r.borderRadius,r.colorText,r.colorFill))}}));const D7=mv.memo((function(e){var t=e.icon,n=e.children,r=e.size,o=void 0===r?"default":r,i=Ei(e,sH),a=uH(),s=a.styles;return wv.jsx(r7,gm(gm({bordered:!1,className:(0,a.cx)(s.tag,"small"===o&&s.small)},i),{},{children:wv.jsxs(ZB,{align:"center",gap:4,horizontal:!0,children:[t,n]})}))}));dH={exports:{}},pH={},fH={exports:{}},mH={},gH=mv,hH="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},bH=gH.useState,yH=gH.useEffect,vH=gH.useLayoutEffect,_H=gH.useDebugValue,wH="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=bH({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return vH((function(){o.value=n,o.getSnapshot=t,hm(o)&&i({inst:o})}),[e,n,t]),yH((function(){return hm(o)&&i({inst:o}),e((function(){hm(o)&&i({inst:o})}))}),[e]),_H(n),n},mH.useSyncExternalStore=void 0!==gH.useSyncExternalStore?gH.useSyncExternalStore:wH,fH.exports=mH,kH=mv,xH="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},SH=fH.exports.useSyncExternalStore,CH=kH.useRef,EH=kH.useEffect,DH=kH.useMemo,OH=kH.useDebugValue,pH.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i,a,s=CH(null);return null===s.current?s.current=i={hasValue:!1,value:null}:i=s.current,s=DH((function(){function e(e){var t,n;return l?(t=s,xH(a,e)?t:(n=r(e),void 0!==o&&o(t,n)?t:(a=e,s=n))):(l=!0,a=e,e=r(e),s=void 0!==o&&i.hasValue&&o(t=i.value,e)?t:e)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]),a=SH(e,s[0],s[1]),EH((function(){i.hasValue=!0,i.value=a}),[a]),OH(a),a},dH.exports=pH;const O7=t(dH.exports),$7=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=r?r:"object"!=typeof o)?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,i={setState:r,getState:o,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{n.clear()}};return t=e(r,o,i),i},j7=e=>e?$7(e):$7,{useSyncExternalStoreWithSelector:P7}=O7,N7=(e,t)=>{const n=j7(e),r=(e,r=t)=>function(e,t=e.getState,n){const r=P7(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return mv.useDebugValue(r),r}(n,e,r);return Object.assign(r,n),r};$H={blue:{dark:["#000506","#002126","#00363f","#004e59","#006675","#008093","#159ab0","#47b3ca","#6acde4","#8ae8ff","#b8f0ff","#def7ff","#ffffff"],darkA:["rgba(0, 167, 200, 0.03)","rgba(0, 220, 253, 0.15)","rgba(0, 216, 252, 0.25)","rgba(0, 223, 254, 0.35)","rgba(0, 222, 254, 0.46)","rgba(0, 221, 253, 0.58)","rgba(30, 223, 255, 0.69)","rgba(89, 224, 252, 0.8)","rgba(118, 228, 253, 0.9)","#8ae8ff","#b8f0ff","#def7ff","#ffffff"],light:["#ffffff","#fbfeff","#f4fcff","#eafaff","#dff7ff","#d3f5ff","#c4f2ff","#b4efff","#a1ecff","#8ae8ff","#159ab0","#004e59","#000506"],lightA:["rgba(255, 255, 255, 0.01)","rgba(55, 205, 255, 0.02)","rgba(35, 195, 255, 0.05)","rgba(22, 199, 255, 0.09)","rgba(9, 193, 255, 0.13)","rgba(11, 199, 255, 0.18)","rgba(9, 201, 255, 0.24)","rgba(5, 202, 255, 0.3)","rgba(1, 204, 255, 0.37)","rgba(1, 205, 255, 0.46)","rgba(1, 145, 169, 0.92)","#004e59","#000506"]},bnw:{dark:["#000000","#111111","#333333","#555555","#666666","#888888","#aaaaaa","#cccccc","#dddddd","#eeeeee","#ffffff","#ffffff","#ffffff"],darkA:["rgba(255, 255, 255, 0.02)","rgba(255, 255, 255, 0.08)","rgba(255, 255, 255, 0.16)","rgba(255, 255, 255, 0.22)","rgba(255, 255, 255, 0.36)","rgba(255, 255, 255, 0.48)","rgba(255, 255, 255, 0.6)","rgba(255, 255, 255, 0.72)","rgba(255, 255, 255, 0.84)","rgba(255, 255, 255, 0.88)","rgba(255, 255, 255, 0.92)","rgba(255, 255, 255, 0.96)","rgba(255, 255, 255, 0.98)"],light:["#ffffff","#f5f5f5","#eeeeee","#cccccc","#aaaaaa","#888888","#666666","#444444","#333333","#222222","#111111","#111111","#111111"],lightA:["rgba(0, 0, 0, 0.02)","rgba(0, 0, 0, 0.08)","rgba(0, 0, 0, 0.16)","rgba(0, 0, 0, 0.22)","rgba(0, 0, 0, 0.36)","rgba(0, 0, 0, 0.48)","rgba(0, 0, 0, 0.6)","rgba(0, 0, 0, 0.72)","rgba(0, 0, 0, 0.84)","rgba(0, 0, 0, 0.88)","rgba(0, 0, 0, 0.92)","rgba(0, 0, 0, 0.96)","rgba(0, 0, 0, 0.98)"]},cyan:{dark:["#000503","#00221c","#003930","#005245","#006c5b","#008772","#2fa28a","#55bca4","#75d7be","#95f3d9","#bdf7e4","#dffcf0","#ffffff"],darkA:["rgba(0, 250, 150, 0.02)","rgba(0, 243, 200, 0.14)","rgba(0, 248, 209, 0.23)","rgba(0, 248, 209, 0.33)","rgba(0, 251, 212, 0.43)","rgba(0, 255, 215, 0.53)","rgba(73, 253, 216, 0.64)","rgba(115, 254, 222, 0.74)","rgba(138, 253, 224, 0.85)","rgba(155, 253, 226, 0.96)","rgba(195, 255, 235, 0.97)","rgba(225, 255, 242, 0.99)","#ffffff"],light:["#ffffff","#f9fffb","#effff8","#e3fff4","#d8fef0","#ccfcec","#c0fae8","#b3f8e3","#a5f6de","#95f3d9","#2fa28a","#005245","#000503"],lightA:["rgba(255, 255, 255, 0.01)","rgba(55, 255, 122, 0.03)","rgba(26, 255, 155, 0.07)","rgba(0, 255, 155, 0.11)","rgba(11, 249, 161, 0.16)","rgba(0, 240, 160, 0.2)","rgba(3, 235, 163, 0.25)","rgba(2, 232, 162, 0.3)","rgba(5, 230, 163, 0.36)","rgba(3, 226, 165, 0.42)","rgba(1, 142, 112, 0.82)","#005245","#000503"]},geekblue:{dark:["#000216","#001343","#00225c","#003176","#00418f","#0052a8","#0264c1","#1877d5","#288aea","#369eff","#88bffb","#c5dffd","#ffffff"],darkA:["rgba(0, 22, 244, 0.09)","rgba(0, 70, 248, 0.27)","rgba(0, 92, 249, 0.37)","rgba(0, 104, 251, 0.47)","rgba(0, 116, 255, 0.56)","rgba(0, 124, 255, 0.66)","rgba(3, 132, 254, 0.76)","rgba(29, 142, 254, 0.84)","rgba(43, 150, 254, 0.92)","#369eff","rgba(137, 193, 254, 0.99)","#c5dffd","#ffffff"],light:["#ffffff","#f8faff","#eaf3ff","#daeaff","#c7e0ff","#b1d5ff","#9ac9ff","#7fbcff","#60aeff","#369eff","#0264c1","#003176","#000216"],lightA:["rgba(255, 255, 255, 0.01)","rgba(22, 88, 255, 0.03)","rgba(22, 122, 255, 0.09)","rgba(8, 115, 255, 0.15)","rgba(0, 114, 255, 0.22)","rgba(3, 120, 255, 0.31)","rgba(3, 120, 255, 0.4)","rgba(4, 124, 255, 0.51)","rgba(3, 126, 255, 0.63)","rgba(1, 132, 255, 0.79)","#0264c1","#003176","#000216"]},gold:{dark:["#070300","#271a00","#3f2c00","#593f00","#745400","#906a00","#ac8100","#c99811","#e4b12f","#ffcb47","#ffdd90","#ffeecd","#ffffff"],darkA:["rgba(233, 100, 0, 0.03)","rgba(244, 163, 0, 0.16)","rgba(252, 176, 0, 0.25)","rgba(254, 180, 0, 0.35)","rgba(252, 183, 0, 0.46)","rgba(253, 186, 0, 0.57)","rgba(253, 190, 0, 0.68)","rgba(254, 192, 22, 0.79)","rgba(253, 197, 52, 0.9)","#ffcb47","#ffdd90","#ffeecd","#ffffff"],light:["#ffffff","#fffcff","#fff8f2","#fff4e2","#ffefd0","#ffe9bb","#ffe3a4","#ffdb8b","#ffd46d","#ffcb47","#ac8100","#593f00","#070300"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 105, 255, 0.02)","rgba(255, 138, 38, 0.06)","rgba(255, 163, 13, 0.12)","rgba(255, 171, 8, 0.19)","rgba(255, 174, 3, 0.27)","rgba(255, 177, 2, 0.36)","rgba(255, 177, 3, 0.46)","rgba(255, 181, 3, 0.58)","rgba(255, 184, 3, 0.73)","#ac8100","#593f00","#070300"]},gray:{dark:["#000000","#111111","#222222","#2d2d2d","#333333","#444444","#555555","#666666","#6f6f6f","#777777","#aaaaaa","#dddddd","#ffffff"],darkA:["rgba(255, 255, 255, 0.02)","rgba(255, 255, 255, 0.06)","rgba(255, 255, 255, 0.10)","rgba(255, 255, 255, 0.16)","rgba(255, 255, 255, 0.24)","rgba(255, 255, 255, 0.28)","rgba(255, 255, 255, 0.32)","rgba(255, 255, 255, 0.38)","rgba(255, 255, 255, 0.44)","rgba(255, 255, 255, 0.5)","rgba(255, 255, 255, 0.66)","rgba(255, 255, 255, 0.84)","#ffffff"],light:["#ffffff","#f8f8f8","#eeeeee","#e3e3e3","#dddddd","#cccccc","#bbbbbb","#aaaaaa","#999999","#888888","#666666","#333333","#080808"],lightA:["rgba(0, 0, 0, 0.015)","rgba(0, 0, 0, 0.03)","rgba(0, 0, 0, 0.06)","rgba(0, 0, 0, 0.12)","rgba(0, 0, 0, 0.18)","rgba(0, 0, 0, 0.24)","rgba(0, 0, 0, 0.32)","rgba(0, 0, 0, 0.38)","rgba(0, 0, 0, 0.44)","rgba(0, 0, 0, 0.5)","rgba(0, 0, 0, 0.68)","rgba(0, 0, 0, 0.84)","rgba(0, 0, 0, 0.98)"]},green:{dark:["#000503","#001d12","#002d1d","#003f28","#005232","#00653c","#007944","#1b8d4d","#3ba05a","#55b467","#96cd92","#cde6c3","#ffffff"],darkA:["rgba(0, 250, 150, 0.02)","rgba(0, 242, 150, 0.12)","rgba(0, 250, 161, 0.18)","rgba(0, 252, 160, 0.25)","rgba(0, 248, 152, 0.33)","rgba(0, 252, 150, 0.4)","rgba(0, 252, 142, 0.48)","rgba(48, 252, 137, 0.56)","rgba(94, 254, 143, 0.63)","rgba(120, 254, 145, 0.71)","rgba(185, 253, 180, 0.81)","rgba(225, 253, 214, 0.91)","#ffffff"],light:["#ffffff","#f4fdeb","#e7f8dd","#d8f2ce","#c7eabd","#b4e1ac","#a0d79b","#89cc8a","#71c179","#55b467","#007944","#003f28","#000503"],lightA:["rgba(255, 255, 255, 0.01)","rgba(117, 230, 5, 0.08)","rgba(84, 205, 12, 0.14)","rgba(60, 190, 10, 0.2)","rgba(40, 174, 1, 0.26)","rgba(28, 164, 3, 0.33)","rgba(18, 155, 5, 0.4)","rgba(4, 146, 6, 0.47)","rgba(1, 144, 16, 0.56)","rgba(1, 143, 28, 0.67)","#007944","#003f28","#000503"]},lime:{dark:["#020400","#142100","#253700","#374f00","#4b6800","#608200","#769d00","#8fb81b","#a9d42f","#c4f042","#daf685","#eefbbe","#ffffff"],darkA:["rgba(100, 200, 0, 0.02)","rgba(154, 254, 0, 0.13)","rgba(168, 250, 0, 0.22)","rgba(177, 255, 0, 0.31)","rgba(183, 254, 0, 0.41)","rgba(188, 255, 0, 0.51)","rgba(190, 253, 0, 0.62)","rgba(196, 252, 37, 0.73)","rgba(204, 255, 57, 0.83)","rgba(209, 255, 70, 0.94)","rgba(225, 254, 137, 0.97)","rgba(240, 254, 192, 0.99)","#ffffff"],light:["#ffffff","#feffeb","#f9ffd8","#f2ffc1","#ebfdaf","#e4fc9b","#ddf987","#d5f773","#cdf35c","#c4f042","#769d00","#374f00","#020400"],lightA:["rgba(255, 255, 255, 0.01)","rgba(242, 255, 5, 0.08)","rgba(218, 255, 11, 0.16)","rgba(203, 255, 7, 0.25)","rgba(193, 249, 5, 0.32)","rgba(187, 247, 5, 0.4)","rgba(183, 242, 0, 0.47)","rgba(179, 240, 0, 0.55)","rgba(177, 236, 0, 0.64)","rgba(175, 235, 0, 0.74)","#769d00","#374f00","#020400"]},magenta:{dark:["#100002","#350011","#4b001e","#63002d","#79093f","#8e1752","#a32466","#b8317b","#ce3e91","#e34ba9","#f38bcb","#fec5e8","#ffffff"],darkA:["rgba(229, 0, 29, 0.07)","rgba(252, 0, 81, 0.21)","rgba(250, 0, 100, 0.3)","rgba(254, 0, 115, 0.39)","rgba(252, 19, 131, 0.48)","rgba(254, 41, 146, 0.56)","rgba(255, 56, 159, 0.64)","rgba(252, 67, 168, 0.73)","rgba(254, 77, 179, 0.81)","rgba(255, 84, 190, 0.89)","rgba(253, 145, 211, 0.96)","#fec5e8","#ffffff"],light:["#ffffff","#fff7f9","#ffeaf4","#ffdaee","#ffc7e7","#ffb2df","#ff99d6","#f980ca","#ef67ba","#e34ba9","#a32466","#63002d","#100002"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 105, 0.04)","rgba(255, 22, 133, 0.09)","rgba(255, 8, 142, 0.15)","rgba(255, 0, 146, 0.22)","rgba(255, 7, 152, 0.31)","rgba(255, 0, 153, 0.4)","rgba(243, 1, 149, 0.5)","rgba(228, 2, 140, 0.6)","rgba(216, 1, 134, 0.71)","rgba(148, 0, 77, 0.86)","#63002d","#100002"]},orange:{dark:["#080300","#271400","#3d2000","#552d00","#6f3a00","#8a4700","#a75400","#c66100","#e37013","#ff802b","#ffae87","#ffd7c8","#ffffff"],darkA:["rgba(200, 75, 0, 0.04)","rgba(244, 125, 0, 0.16)","rgba(254, 133, 0, 0.24)","rgba(250, 132, 0, 0.34)","rgba(252, 132, 0, 0.44)","rgba(251, 129, 0, 0.55)","rgba(253, 127, 0, 0.66)","rgba(254, 124, 0, 0.78)","rgba(255, 126, 21, 0.89)","#ff802b","#ffae87","#ffd7c8","#ffffff"],light:["#ffffff","#fff9f8","#fff0ec","#ffe6dd","#ffd9ca","#ffcbb5","#ffbb9c","#ffaa7f","#ff975c","#ff802b","#a75400","#552d00","#080300"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 22, 0.03)","rgba(255, 67, 17, 0.08)","rgba(255, 76, 12, 0.14)","rgba(255, 74, 3, 0.21)","rgba(255, 76, 0, 0.29)","rgba(255, 81, 1, 0.39)","rgba(255, 88, 4, 0.51)","rgba(255, 93, 0, 0.64)","rgba(255, 102, 0, 0.83)","#a75400","#552d00","#080300"]},purple:{dark:["#0d000b","#2e002a","#42003e","#560053","#670e66","#781e78","#892b8a","#9a399e","#ab46b2","#bd54c6","#d590da","#edc7ee","#ffffff"],darkA:["rgba(217, 0, 183, 0.06)","rgba(242, 0, 221, 0.19)","rgba(254, 0, 238, 0.26)","rgba(253, 0, 244, 0.34)","rgba(251, 34, 249, 0.41)","rgba(255, 64, 255, 0.47)","rgba(249, 78, 251, 0.55)","rgba(248, 92, 255, 0.62)","rgba(244, 100, 254, 0.7)","rgba(242, 108, 254, 0.78)","rgba(248, 167, 253, 0.86)","rgba(252, 212, 253, 0.94)","#ffffff"],light:["#ffffff","#fff6fb","#ffe7fd","#fdd6fe","#f6c4f8","#eeb1f1","#e49ce8","#d886de","#cb6ed2","#bd54c6","#892b8a","#560053","#0d000b"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 30, 155, 0.04)","rgba(255, 15, 235, 0.1)","rgba(243, 14, 249, 0.17)","rgba(218, 9, 226, 0.24)","rgba(200, 3, 210, 0.31)","rgba(186, 1, 196, 0.39)","rgba(174, 3, 186, 0.48)","rgba(164, 1, 176, 0.57)","rgba(156, 0, 170, 0.67)","rgba(113, 0, 114, 0.83)","#560053","#0d000b"]},red:{dark:["#0f0006","#34001d","#4b002b","#640039","#7a0c46","#911b53","#a72860","#bf356e","#d7427b","#f04f88","#ff8eab","#ffc9d3","#ffffff"],darkA:["rgba(250, 0, 100, 0.06)","rgba(248, 0, 138, 0.21)","rgba(250, 0, 143, 0.3)","rgba(250, 0, 142, 0.4)","rgba(254, 25, 146, 0.48)","rgba(254, 47, 146, 0.57)","rgba(253, 61, 145, 0.66)","rgba(255, 71, 147, 0.75)","rgba(253, 78, 145, 0.85)","rgba(255, 84, 145, 0.94)","#ff8eab","#ffc9d3","#ffffff"],light:["#ffffff","#fff7f7","#ffeced","#ffdde2","#ffccd5","#ffb8c7","#ffa2b8","#ff88a8","#fe6998","#f04f88","#a72860","#640039","#0f0006"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 55, 0.04)","rgba(255, 17, 30, 0.08)","rgba(255, 12, 48, 0.14)","rgba(255, 0, 45, 0.2)","rgba(255, 1, 55, 0.28)","rgba(255, 4, 63, 0.37)","rgba(255, 2, 70, 0.47)","rgba(253, 1, 80, 0.59)","rgba(233, 0, 83, 0.69)","rgba(151, 2, 68, 0.85)","#640039","#0f0006"]},volcano:{dark:["#0c0100","#2f0a00","#451200","#5d1900","#762000","#8e2a07","#a53716","#bc4424","#d45132","#ec5e41","#ff9480","#ffcbc3","#ffffff"],darkA:["rgba(240, 20, 0, 0.05)","rgba(247, 53, 0, 0.19)","rgba(246, 64, 0, 0.28)","rgba(251, 68, 0, 0.37)","rgba(251, 68, 0, 0.47)","rgba(254, 75, 12, 0.56)","rgba(254, 85, 34, 0.65)","rgba(254, 92, 49, 0.74)","rgba(255, 98, 60, 0.83)","rgba(254, 101, 70, 0.93)","#ff9480","#ffcbc3","#ffffff"],light:["#ffffff","#fff7f6","#ffece9","#ffded9","#ffcec5","#ffbbaf","#ffa695","#ff8e78","#fb745a","#ec5e41","#a53716","#5d1900","#0c0100"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 30, 0.04)","rgba(255, 44, 11, 0.09)","rgba(255, 35, 2, 0.15)","rgba(255, 42, 3, 0.23)","rgba(255, 43, 5, 0.32)","rgba(255, 43, 3, 0.42)","rgba(255, 42, 0, 0.53)","rgba(249, 41, 1, 0.65)","rgba(230, 40, 2, 0.75)","rgba(157, 38, 2, 0.92)","#5d1900","#0c0100"]},yellow:{dark:["#050400","#251d00","#3e3300","#584a00","#736300","#8e7d00","#ab9800","#c7b426","#e3d142","#ffef5c","#fff594","#fffad3","#ffffff"],darkA:["rgba(250, 200, 0, 0.02)","rgba(247, 193, 0, 0.15)","rgba(248, 204, 0, 0.25)","rgba(251, 211, 0, 0.35)","rgba(250, 215, 0, 0.46)","rgba(254, 223, 0, 0.56)","rgba(255, 227, 0, 0.67)","rgba(255, 231, 49, 0.78)","rgba(255, 235, 74, 0.89)","#ffef5c","#fff594","#fffad3","#ffffff"],light:["#ffffff","#fffeff","#fffcff","#fffbf1","#fffada","#fff9c2","#fff7aa","#fff592","#fff279","#ffef5c","#ab9800","#584a00","#050400"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 155, 255, 0.01)","rgba(255, 105, 255, 0.02)","rgba(255, 188, 22, 0.06)","rgba(255, 222, 8, 0.15)","rgba(255, 230, 1, 0.24)","rgba(255, 231, 5, 0.34)","rgba(255, 232, 2, 0.43)","rgba(255, 230, 2, 0.53)","rgba(255, 230, 0, 0.64)","#ab9800","#584a00","#050400"]}},jH=globalThis&&globalThis.__extends||(RQ=function(e,t){return(RQ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}RQ(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),PH=globalThis&&globalThis.__assign||function(){return PH=Object.assign||function(e){var t,n,r,o;for(n=1,r=arguments.length;n div {\n cursor: pointer;\n\n position: absolute;\n\n color: ",";\n\n background: ",";\n border-color: ",";\n border-style: solid;\n border-width: 1px;\n border-radius: 4px;\n\n transition: all 0.2s ",";\n\n &:hover {\n color: ",";\n background: ",";\n }\n\n &:active {\n color: ",";\n background: ",";\n }\n }\n "])),n.motionEaseOut,n.colorTextTertiary,n.colorFillTertiary,n.colorBorderSecondary,n.motionEaseOut,n.colorTextSecondary,n.colorFillSecondary,n.colorText,n.colorFill),i=sR(eU||(eU=Di(["\n position: absolute;\n z-index: 200;\n "])));return{bottomFloat:lR(i,sR(tU||(tU=Di(["\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n "])))),bottomHandle:lR("".concat(vU,"-bottom-handle"),sR(nU||(nU=Di(["\n ",";\n\n &::before {\n bottom: 50%;\n width: 100%;\n height: 2px;\n }\n "])),r)),container:lR(vU,sR(rU||(rU=Di(["\n flex-shrink: 0;\n border: 0 solid ",";\n\n &:hover {\n .","-toggle {\n opacity: 1;\n }\n }\n "])),n.colorBorderSecondary,vU)),fixed:sR(oU||(oU=Di(["\n position: relative;\n "]))),fullscreen:sR(iU||(iU=Di(["\n position: absolute;\n inset: ","px 0 0 0;\n\n width: 100%;\n height: calc(100% - ","px);\n\n background: ",";\n "])),t,t,n.colorBgLayout),handlerIcon:sR(aU||(aU=Di(["\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s ",";\n "])),n.motionEaseOut),leftFloat:lR(i,sR(sU||(sU=Di(["\n top: ","px;\n bottom: 0;\n left: 0;\n height: calc(100% - ","px);\n "])),t,t)),leftHandle:lR(sR(lU||(lU=Di(["\n ",";\n\n &::before {\n left: 50%;\n width: 2px;\n height: 100%;\n }\n "])),r),"".concat(vU,"-left-handle")),panel:lR("".concat(vU,"-fixed"),sR(cU||(cU=Di(["\n overflow: hidden;\n transition: all 0.2s ",";\n "])),n.motionEaseOut)),rightFloat:lR(i,sR(uU||(uU=Di(["\n top: ","px;\n right: 0;\n bottom: 0;\n height: calc(100% - ","px);\n "])),t,t)),rightHandle:lR(sR(dU||(dU=Di(["\n ",";\n &::before {\n right: 50%;\n width: 2px;\n height: 100%;\n }\n "])),r),"".concat(vU,"-right-handle")),toggleBottom:lR("".concat(vU,"-toggle"),"".concat(vU,"-toggle-bottom"),o,sR(pU||(pU=Di(["\n bottom: -","px;\n width: 100%;\n height: ","px;\n\n > div {\n left: 50%;\n\n width: ","px;\n height: 16px;\n margin-left: -20px;\n\n border-radius: 0 0 4px 4px;\n }\n "])),16,yU,40)),toggleLeft:lR("".concat(vU,"-toggle"),"".concat(vU,"-toggle-left"),o,sR(fU||(fU=Di(["\n left: -","px;\n width: ","px;\n height: 100%;\n\n > div {\n top: 50%;\n\n width: ","px;\n height: ","px;\n margin-top: -20px;\n\n border-radius: 4px 0 0 4px;\n }\n "])),16,yU,yU,40)),toggleRight:lR("".concat(vU,"-toggle"),"".concat(vU,"-toggle-right"),o,sR(mU||(mU=Di(["\n right: -","px;\n width: ","px;\n height: 100%;\n\n > div {\n top: 50%;\n\n width: ","px;\n height: ","px;\n margin-top: -20px;\n\n border-radius: 0 4px 4px 0;\n }\n "])),16,yU,yU,40)),toggleTop:lR("".concat(vU,"-toggle"),"".concat(vU,"-toggle-top"),o,sR(gU||(gU=Di(["\n top: -","px;\n width: 100%;\n height: ","px;\n\n > div {\n left: 50%;\n\n width: ","px;\n height: ","px;\n margin-left: -20px;\n\n border-radius: 4px 4px 0 0;\n }\n "])),16,yU,40,yU)),topFloat:lR(i,sR(hU||(hU=Di(["\n top: ","px;\n right: 0;\n left: 0;\n width: 100%;\n "])),t)),topHandle:lR("".concat(vU,"-top-handle"),sR(bU||(bU=Di(["\n ",";\n\n &::before {\n top: 50%;\n width: 100%;\n height: 2px;\n }\n "])),r))}})),wU=function(e){switch(e){case"bottom":return"top";case"top":return"bottom";case"right":return"left";case"left":return"right"}};const T7=mv.memo((function(e){var t,n,r,o,i,a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,C,E,D=e.headerHeight,O=void 0===D?0:D,$=e.fullscreen,j=e.maxHeight,P=e.pin,N=void 0===P||P,T=e.mode,I=void 0===T?"fixed":T,A=e.children,R=e.placement,F=void 0===R?"right":R,M=e.resize,L=e.style,z=e.size,B=e.defaultSize,H=e.minWidth,U=e.minHeight,W=e.maxWidth,V=e.onSizeChange,G=e.onSizeDragging,q=e.expandable,X=void 0===q||q,K=e.expand,Y=e.defaultExpand,Q=void 0===Y||Y,J=e.onExpandChange,Z=e.className,ee=e.showHandlerWhenUnexpand,te=e.destroyOnClose,ne=e.hanlderStyle,re=e.classNames,oe=void 0===re?{}:re,ie=mv.useRef(),ae=(b=ie,v=(y={}).onEnter,_=y.onLeave,w=y.onChange,k=Xf(function(e){var t,n,r,o;return void 0===e&&(e=!1),t=Xf(function(e){var t,n;return void 0===e&&(e=!1),t=Xf(mv.useState(e),2),n=t[1],[t[0],mv.useMemo((function(){var t=!e;return{toggle:function(){return n((function(n){return n===e?t:e}))},set:function(e){return n(e)},setLeft:function(){return n(e)},setRight:function(){return n(t)}}}),[])]}(!!e),2),r=(n=t[1]).toggle,o=n.set,[t[0],mv.useMemo((function(){return{toggle:r,set:function(e){return o(!!e)},setTrue:function(){return o(!0)},setFalse:function(){return o(!1)}}}),[])]}(!1),2),x=k[0],C=(S=k[1]).setTrue,E=S.setFalse,om("mouseenter",(function(){null==v||v(),C(),null==w||w(!0)}),{target:b}),om("mouseleave",(function(){null==_||_(),E(),null==w||w(!1)}),{target:b}),x),se="top"===F||"bottom"===F,le=_U(O),ce=le.styles,ue=le.cx,de=Va(cf(Q,{onChange:J,value:K}),2),pe=de[0],fe=de[1];return mv.useEffect((function(){N||(ae&&!pe?fe(!0):!ae&&pe&&fe(!1))}),[N,ae,pe]),n=(t=Va(mv.useState(!0),2))[0],r=t[1],i=(o=Va(mv.useState(!1),2))[0],a=o[1],l=mv.useMemo((function(){return s?Ci({},wU(F),ce["".concat(wU(F),"Handle")]):{}}),[s=!1!==M&&pe,F]),c=ym(Ci({bottom:!1,bottomLeft:!1,bottomRight:!1,left:!1,right:!1,top:!1,topLeft:!1,topRight:!1},wU(F),!0),M),u=mv.useMemo((function(){return ym(se?{height:180,width:"100%"}:{height:"100%",width:280},B)}),[se]),d=pe?{defaultSize:u,maxHeight:"number"==typeof j?Math.max(j,0):j,maxWidth:"number"==typeof W?Math.max(W,0):W,minHeight:"number"==typeof U?Math.max(U,0):U,minWidth:"number"==typeof H?Math.max(H,0):H,size:z}:se?{minHeight:0,size:{height:0}}:{minWidth:0,size:{width:0}},f=(p=mv.useMemo((function(){switch(F){case"top":return{Arrow:BJ,className:"Bottom"};case"bottom":return{Arrow:WJ,className:"Top"};case"right":return{Arrow:HJ,className:"Left"};case"left":return{Arrow:UJ,className:"Right"}}}),[ce,F])).Arrow,g=wv.jsx(C7,{className:ue(ce["toggle".concat(m=p.className)],oe.handle),style:{opacity:pe?N?void 0:0:ee?1:0},children:wv.jsx(C7,{onClick:function(){fe(!pe)},style:ne,children:wv.jsx("div",{className:ce.handlerIcon,style:{transform:"rotate(".concat(pe?180:0,"deg)")},children:wv.jsx(f,{size:16,strokeWidth:1.5})})})}),h=wv.jsx(QH,ym(ym({},d),{},{className:ue(ce.panel,oe.content),enable:s?c:void 0,handleClasses:l,onResize:function(e,t,n,r){null==G||G(r,{height:n.style.height,width:n.style.width})},onResizeStart:function(){a(!0),r(!1)},onResizeStop:function(e,t,n,o){a(!1),r(!0),null==V||V(o,{height:n.style.height,width:n.style.width})},style:ym({transition:i?"unset":void 0},L),children:A})),$?wv.jsx("div",{className:ue(ce.fullscreen,Z),children:A}):wv.jsxs("aside",{className:ue(ce.container,ce["fixed"===I?"fixed":"".concat(F,"Float")],Z),ref:ie,style:pe?Ci({},"border".concat(m,"Width"),1):{},children:[X&&n&&g,te?pe&&h:h]})}));EU=iR((function(e){var t=e.css,n=e.token;return{body:t(kU||(kU=Di(["\n overflow-x: hidden;\n overflow-y: auto;\n flex: 1;\n padding: 16px;\n "]))),container:t(xU||(xU=Di(["\n position: relative;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n "]))),footer:t(SU||(SU=Di(["\n display: flex;\n flex: 0;\n gap: 8px;\n align-items: center;\n justify-content: flex-start;\n\n padding: 8px 16px;\n\n border-top: 1px solid ",";\n "])),n.colorBorderSecondary),header:t(CU||(CU=Di(["\n display: flex;\n flex: 0;\n gap: 8px;\n align-items: center;\n justify-content: space-between;\n\n padding: 8px 16px;\n\n font-weight: 500;\n\n border-bottom: 1px solid ",";\n "])),n.colorBorderSecondary)}})),DU=["className","children"];const I7=mv.memo((function(e){var t=e.className,n=e.children,r=Ei(e,DU),o=EU();return wv.jsx("div",_m(_m({className:(0,o.cx)(o.styles.body,t)},r),{},{children:n}))}));OU=["className","children"];const A7=mv.memo((function(e){var t=e.className,n=e.children,r=Ei(e,OU),o=EU();return wv.jsx("div",km(km({className:(0,o.cx)(o.styles.container,t)},r),{},{children:n}))}));$U=["className","children"];const R7=mv.memo((function(e){var t=e.className,n=e.children,r=Ei(e,$U),o=EU();return wv.jsx("div",Sm(Sm({className:(0,o.cx)(o.styles.footer,t)},r),{},{children:n}))}));jU=["pin","setPin","className","setExpand","title","position"];const F7=mv.memo((function(e){var t=e.pin,n=e.setPin,r=e.className,o=e.setExpand,i=e.title,a=e.position,s=void 0===a?"left":a,l=Ei(e,jU),c=EU(),u=c.cx,d=c.styles,p=wv.jsx(u7,{icon:tZ,onClick:function(){return o(!1)},size:{blockSize:24,fontSize:14}}),f=wv.jsx(u7,{active:t,icon:t?oZ:rZ,onClick:function(){return n(!t)},size:{blockSize:24,fontSize:14}});return wv.jsxs("div",Em(Em({className:u(d.header,r)},l),{},{children:["left"===s?p:f,i,"left"===s?f:p]}))}));PU=function e(t,n){var r,o,i,a;if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;)if(!e(t[a=i[o]],n[a]))return!1;return!0}return t!=t&&n!=n};const M7=t(PU);NU=function(e){var t=document.createElement("link");return t.rel="stylesheet",t.href=e,t};const L7=mv.memo((function(e){var t=e.url;return mv.useEffect((function(){var e=NU(t);document.head.append(e)}),[]),!1}));TU=function(e){var t=e.prefixCls,n=e.icon,r=e.title,o=e.items,i=void 0===o?[]:o,a=e.style,s=e.className;return jJ.createElement("div",{className:mZ("".concat(t,"-column"),s),style:a},(r||n)&&jJ.createElement("h2",null,n&&jJ.createElement("span",{className:"".concat(t,"-column-icon")},n),r),i.map((function(e,n){var r=e.LinkComponent||"a";return jJ.createElement("div",{className:mZ("".concat(t,"-item"),e.className),style:e.style,key:n},jJ.createElement(r,{href:e.url,to:"string"!=typeof r?e.url:void 0,target:e.openExternal?"_blank":void 0,rel:e.openExternal?"noopener noreferrer":void 0},e.icon&&jJ.createElement("span",{className:"".concat(t,"-item-icon")},e.icon),e.title),e.description&&jJ.createElement(jJ.Fragment,null,jJ.createElement("span",{className:"".concat(t,"-item-separator")},"-"),jJ.createElement("span",{className:"".concat(t,"-item-description")},e.description)))})))},IU=["prefixCls","className","style","bottom","columns","maxColumnsPerRow","backgroundColor","columnLayout","theme"],AU=function(e){var t=e.prefixCls,n=void 0===t?"rc-footer":t,r=e.className,o=e.style,i=e.bottom,a=e.columns,s=e.maxColumnsPerRow,l=e.backgroundColor,c=e.columnLayout,u=e.theme,d=void 0===u?"dark":u,p=Ei(e,IU),f=mZ("".concat(n),r,Ci({},"".concat(n,"-").concat(d),!!d)),m="number"==typeof s&&s>0;return jJ.createElement("footer",Sa(Sa({},p),{},{className:f,style:Sa(Sa({},o),{},{backgroundColor:l})}),jJ.createElement("section",{className:"".concat(n,"-container")},a&&a.length>0&&jJ.createElement("section",{className:"".concat(n,"-columns"),style:{justifyContent:c,flexWrap:m?"wrap":void 0}},a.map((function(e,t){var r=e.title,o=e.icon,i=e.className,a=e.items,l=void 0===a?[]:a,c=Sa({},e.style);return m&&(c.flex="0 0 ".concat(100/(s+1)+.1,"%")),jJ.createElement(TU,{key:t,prefixCls:n,title:r,icon:o,items:l,style:c,className:i})})))),i&&jJ.createElement("section",{className:"".concat(n,"-bottom")},jJ.createElement("div",{className:"".concat(n,"-bottom-container")},i)))},MU=iR((function(e,t){var n=e.css,r=e.responsive,o=e.token,i=t.isEmpty,a=t.contentMaxWidth,s="rc-footer";return{container:n(RU||(RU=Di(["\n grid-area: footer;\n align-self: stretch;\n\n color: ",";\n text-align: center;\n\n border-top: 1px solid ",";\n\n "," {\n flex-direction: column;\n border: none;\n }\n "])),o.colorTextDescription,o.colorSplit,r.mobile),footer:n(FU||(FU=Di(["\n font-size: 14px;\n line-height: 1.5;\n color: ",";\n background-color: ",";\n\n &."," {\n a {\n color: ",";\n text-decoration: none;\n transition: all 0.3s;\n\n &:hover {\n color: ",";\n }\n }\n }\n\n ."," {\n &-container {\n width: 100%;\n max-width: ","px;\n margin: auto;\n padding: ",";\n }\n\n &-columns {\n display: flex;\n justify-content: space-around;\n }\n\n &-column {\n text-align: left;\n\n h2 {\n position: relative;\n\n margin: 0 auto;\n\n font-size: 16px;\n font-weight: 500;\n color: ",";\n }\n\n &-icon {\n position: relative;\n top: -1px;\n\n display: inline-block;\n\n width: 22px;\n margin-inline-end: 0.5em;\n\n text-align: center;\n vertical-align: middle;\n\n > span,\n > svg,\n img {\n display: block;\n width: 100%;\n }\n }\n }\n\n &-item {\n margin: 12px 0;\n\n &-icon {\n position: relative;\n top: -1px;\n\n display: inline-block;\n\n width: 16px;\n margin-inline-end: 0.4em;\n\n text-align: center;\n vertical-align: middle;\n\n > span,\n > svg,\n img {\n display: block;\n width: 100%;\n }\n }\n\n &-separator {\n margin: 0 0.3em;\n }\n }\n\n &-bottom {\n color: ",";\n\n &-container {\n width: 100%;\n max-width: ","px;\n margin: 0 auto;\n padding: 16px 0;\n\n line-height: 32px;\n text-align: center;\n }\n }\n\n &-light {\n color: rgba(0, 0, 0, 85%);\n background-color: transparent;\n\n h2,\n a {\n color: rgba(0, 0, 0, 85%);\n }\n }\n\n &-light &-bottom-container {\n border-top-color: #e8e8e8;\n }\n\n &-light &-item-separator,\n &-light &-item-description {\n color: rgba(0, 0, 0, 45%);\n }\n }\n\n "," {\n ."," {\n &-container {\n padding: 40px 0;\n }\n\n &-columns {\n display: block;\n }\n\n &-column {\n display: block;\n margin-bottom: 40px;\n text-align: center;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n }\n }\n "])),o.colorTextSecondary,o.colorBgLayout,s,o.colorTextTertiary,o.colorLinkHover,s,a,i?"0":"60px 0 20px",o.colorText,o.colorTextDescription,a,r.mobile,s)}}));const z7=mv.memo((function(e){var t=e.columns,n=e.bottom,r=e.theme,o=e.contentMaxWidth,i=MU({contentMaxWidth:void 0===o?960:o,isEmpty:!t||0===(null==t?void 0:t.length)}).styles;return wv.jsx("section",{className:i.container,children:wv.jsx(AU,{bottom:n,className:i.footer,columns:t,theme:r})})}));qU=iR((function(e,t){var n,r=e.css,o=e.cx,i=e.token,a=e.isDarkMode,s=e.responsive;return{footer:r(LU||(LU=Di(["\n display: flex;\n gap: 8px;\n justify-content: flex-end;\n "]))),formTitle:r(zU||(zU=Di(["\n position: relative;\n\n display: flex;\n flex-direction: column;\n gap: 6px;\n\n text-align: left;\n\n > div {\n font-weight: 500;\n line-height: 1;\n }\n\n > small {\n display: block;\n\n line-height: 1;\n color: ",";\n word-wrap: break-word;\n white-space: pre-wrap;\n }\n\n .ant-tag {\n font-family: ",";\n }\n "])),i.colorTextDescription,i.fontFamilyCode),group:o(a&&r(BU||(BU=Di(["\n .ant-collapse-content {\n background: transparent;\n }\n\n .ant-collapse-header {\n background: ",";\n }\n "])),i.colorFillTertiary),r(HU||(HU=Di(["\n .ant-collapse-header {\n align-items: center !important;\n border-radius: 0 !important;\n }\n\n .ant-collapse-content-box {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n\n .ant-form-item-label {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n "])))),icon:r(UU||(UU=Di(["\n transition: all 100ms ",";\n "])),i.motionEaseOut),item:r(WU||(WU=Di(["\n padding: 8px 0;\n\n .ant-row {\n justify-content: space-between;\n\n > div {\n flex: unset !important;\n flex-grow: unset !important;\n }\n }\n\n ","\n\n "," {\n padding: 16px 0;\n\n .ant-row {\n flex-direction: column;\n gap: 4px;\n }\n\n .ant-form-item-control {\n flex: 1;\n width: 100%;\n }\n }\n "])),t&&r(VU||(VU=Di(["\n .ant-form-item-control {\n width: ",";\n }\n "])),(n=t,"number"==typeof n||xf(n)&&"[object Number]"==kf(n)?"".concat(t,"px"):t)),s.mobile),title:r(GU||(GU=Di(["\n display: flex;\n gap: 8px;\n align-items: center;\n\n font-size: 16px;\n font-weight: 600;\n\n .anticon {\n color: ",";\n }\n "])),i.colorPrimary)}})),XU=["className","children"];const B7=mv.memo((function(e){var t=e.className,n=e.children,r=Ei(e,XU),o=qU();return wv.jsx("div",Om(Om({className:(0,o.cx)(o.styles.footer,t)},r),{},{children:n}))}));KU=["className","icon","title","children","extra"];const H7=mv.memo((function(e){var t=e.className,n=e.icon,r=e.title,o=e.children,i=e.extra,a=Ei(e,KU),s=qU(),l=s.styles;return wv.jsx(l6,function(e){var t,n;for(t=1;t label {\n height: unset;\n }\n\n .ant-row {\n position: relative;\n flex-wrap: nowrap;\n }\n\n .ant-form-item-label {\n position: relative;\n flex: 1;\n max-width: 100%;\n }\n\n .ant-form-item-control {\n position: relative;\n flex: 0;\n min-width: unset !important;\n }\n\n .ant-collapse-item {\n overflow: hidden !important;\n border-radius: ","px !important;\n }\n "])),n.borderRadius)}})),nW=["className","itemMinWidth","footer","form","items","children"],(rW=mv.forwardRef((function(e,t){var n=e.className,r=e.itemMinWidth,o=e.footer,i=e.form,a=e.items,s=e.children,l=Ei(e,nW),c=tW();return wv.jsxs(p8,Am(Am({className:(0,c.cx)(c.styles.form,n),colon:!1,form:i,layout:"horizontal",ref:t},l),{},{children:[null==a?void 0:a.map((function(e,t){return wv.jsx(H7,{extra:null==e?void 0:e.extra,icon:null==e?void 0:e.icon,title:e.title,children:e.children.filter((function(e){return!e.hidden})).map((function(e,t){return wv.jsx(V7,Am({divider:0!==t,minWidth:r},e),t)}))},t)})),s,o&&wv.jsx(B7,{children:o})]}))}))).Item=V7,rW.Group=H7;const G7=rW;oW={};const q7=wv,X7=mv;aW=function({id:e,host:t,repo:n,repoId:r,category:o,categoryId:i,mapping:a,term:s,strict:l,reactionsEnabled:c,emitMetadata:u,inputPosition:d,theme:p,lang:f,loading:m}){const[g,h]=X7.useState(!1);return X7.useEffect((()=>{g||(Promise.resolve().then((()=>(iW||(iW=1,function(t){function n(e,t,r=e,o){var i,a,s,l;if(t===Y)return t;let c=void 0!==o?null===(i=r._$Co)||void 0===i?void 0:i[o]:r._$Cl;const u=L(t)?void 0:t._$litDirective$;return(null==c?void 0:c.constructor)!==u&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===u?c=void 0:(c=new u(e),c._$AT(e,r,o)),void 0!==o?(null!==(s=(l=r)._$Co)&&void 0!==s?s:l._$Co=[])[o]=c:r._$Cl=c),void 0!==c&&(t=n(e,c._$AS(e,t.values),c,o)),t}function r(e){return(t,n)=>void 0!==n?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,t,n):de(e,t)}function i(e){void 0!==this._$AN?(me(this),this._$AM=e,ge(this)):this._$AM=e}function a(e,t=!1,n=0){const r=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(t)if(Array.isArray(r))for(let i=n;ie:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return(e=>new v("string"==typeof e?e:e+"",void 0,b))(t)})(e):e,w=window,k=w.trustedTypes,x=k?k.emptyScript:"",S=w.reactiveElementPolyfillSupport,C={toAttribute(e,t){switch(t){case Boolean:e=e?x:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},E=(e,t)=>t!==e&&(t==t||e==e),D={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:E},O="finalized";let $=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var t;this.finalize(),(null!==(t=this.h)&&void 0!==t?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach(((t,n)=>{const r=this._$Ep(n,t);void 0!==r&&(this._$Ev.set(r,n),e.push(r))})),e}static createProperty(e,t=D){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const n="symbol"==typeof e?Symbol():"__"+e,r=this.getPropertyDescriptor(e,n,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(r){const o=this[e];this[t]=r,this.requestUpdate(e,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||D}static finalize(){if(this.hasOwnProperty(O))return!1;this[O]=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const n of t)this.createProperty(n,e[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(_(e))}else void 0!==e&&t.push(_(e));return t}static _$Ep(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,n;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(n=e.hostConnected)||void 0===n||n.call(e))}removeController(e){var t;null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])}))}createRenderRoot(){var e;const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{h?e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):t.forEach((t=>{const n=document.createElement("style"),r=m.litNonce;void 0!==r&&n.setAttribute("nonce",r),n.textContent=t.cssText,e.appendChild(n)}))})(t,this.constructor.elementStyles),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t,n=D){var r;const o=this.constructor._$Ep(e,n);if(void 0!==o&&!0===n.reflect){const i=(void 0!==(null===(r=n.converter)||void 0===r?void 0:r.toAttribute)?n.converter:C).toAttribute(t,n.type);this._$El=e,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._$El=null}}_$AK(e,t){var n;const r=this.constructor,o=r._$Ev.get(e);if(void 0!==o&&this._$El!==o){const e=r.getPropertyOptions(o),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(n=e.converter)||void 0===n?void 0:n.fromAttribute)?e.converter:C;this._$El=o,this[o]=i.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,n){let r=!0;void 0!==e&&(((n=n||this.constructor.getPropertyOptions(e)).hasChanged||E)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(g){Promise.reject(g)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((e,t)=>this[t]=e)),this._$Ei=void 0);let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(n)):this._$Ek()}catch(o){throw t=!1,this._$Ek(),o}t&&this._$AE(n)}willUpdate(e){}_$AE(e){var t;null===(t=this._$ES)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$EO(t,this[t],e))),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};$[O]=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:$}),(null!==(s=w.reactiveElementVersions)&&void 0!==s?s:w.reactiveElementVersions=[]).push("1.6.2");const j=window,P=j.trustedTypes,N=P?P.createPolicy("lit-html",{createHTML:e=>e}):void 0,T="$lit$",I=`lit$${(Math.random()+"").slice(9)}$`,A="?"+I,R=`<${A}>`,F=document,M=()=>F.createComment(""),L=e=>null===e||"object"!=typeof e&&"function"!=typeof e,z=Array.isArray,B="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,W=/>/g,V=RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,q=/"/g,X=/^(?:script|style|textarea|title)$/i,K=(e,...t)=>({_$litType$:1,strings:e,values:t}),Y=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),J=new WeakMap,Z=F.createTreeWalker(F,129,null,!1);class ee{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let o=0,i=0;const a=e.length-1,s=this.parts,[l,c]=((e,t)=>{const n=e.length-1,r=[];let o,i=2===t?"":"",a=H;for(let l=0;l"===s[0]?(a=o??H,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,n=s[1],a=void 0===s[3]?V:'"'===s[3]?q:G):a===q||a===G?a=V:a===U||a===W?a=H:(a=V,o=void 0);const d=a===V&&e[l+1].startsWith("/>")?" ":"";i+=a===H?t+R:c>=0?(r.push(n),t.slice(0,c)+T+t.slice(c)+I+d):t+I+(-2===c?(r.push(void 0),l):d)}const s=i+(e[n]||"")+(2===t?"":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==N?N.createHTML(s):s,r]})(e,t);if(this.el=ee.createElement(l,n),Z.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=Z.nextNode())&&s.length0){r.textContent=P?P.emptyScript:"";for(let n=0;nz(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]))(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Q&&L(this._$AH)?this._$AA.nextSibling.data=e:this.$(F.createTextNode(e)),this._$AH=e}g(e){var t;const{values:n,_$litType$:r}=e,o="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=ee.createElement(r.h,this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===o)this._$AH.v(n);else{const e=new class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:n},parts:r}=this._$AD,o=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:F).importNode(n,!0);Z.currentNode=o;let i=Z.nextNode(),a=0,s=0,l=r[0];for(;void 0!==l;){if(a===l.index){let t;2===l.type?t=new te(i,i.nextSibling,this,e):1===l.type?t=new l.ctor(i,l.name,l.strings,this,e):6===l.type&&(t=new se(i,this,e)),this._$AV.push(t),l=r[++s]}a!==(null==l?void 0:l.index)&&(i=Z.nextNode(),a++)}return Z.currentNode=F,o}v(e){let t=0;for(const n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}(o,this),t=e.u(this.options);e.v(n),this.$(t),this._$AH=e}}_$AC(e){let t=J.get(e.strings);return void 0===t&&J.set(e.strings,t=new ee(e)),t}T(e){z(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const o of e)r===t.length?t.push(n=new te(this.k(M()),this.k(M()),this,this.options)):n=t[r],n._$AI(o),r++;r2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,r,o){const i=this.strings;let a=!1;if(void 0===i)e=n(this,e,t,0),a=!L(e)||e!==this._$AH&&e!==Y,a&&(this._$AH=e);else{const o=e;let s,l;for(e=i[0],s=0;s{var r,o;const i=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:t;let a=i._$litPart$;if(void 0===a){const e=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:null;i._$litPart$=a=new te(t.insertBefore(M(),e),e,void 0,n??{})}return a._$AI(e),a})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}render(){return Y}};ce.finalized=!0,ce._$litElement$=!0,null===(c=globalThis.litElementHydrateSupport)||void 0===c||c.call(globalThis,{LitElement:ce});const ue=globalThis.litElementPolyfillSupport;null==ue||ue({LitElement:ce}),(null!==(u=globalThis.litElementVersions)&&void 0!==u?u:globalThis.litElementVersions=[]).push("3.3.2");const de=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(n){n.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};window;let pe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};const fe=(e,t)=>{var n,r;const o=e._$AN;if(void 0===o)return!1;for(const i of o)null===(r=(n=i)._$AO)||void 0===r||r.call(n,t,!1),fe(i,t);return!0},me=e=>{let t,n;do{if(void 0===(t=e._$AM))break;n=t._$AN,n.delete(e),e=t}while(0===(null==n?void 0:n.size))},ge=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(void 0===n)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),he(t)}},he=e=>{var t,n,r,o;2==e.type&&(null!==(t=(r=e)._$AP)&&void 0!==t||(r._$AP=a),null!==(n=(o=e)._$AQ)&&void 0!==n||(o._$AQ=i))};class be extends pe{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,n){super._$AT(e,t,n),ge(this),this.isConnected=e._$AU}_$AO(e,t=!0){var n,r;e!==this.isConnected&&(this.isConnected=e,e?null===(n=this.reconnected)||void 0===n||n.call(this):null===(r=this.disconnected)||void 0===r||r.call(this)),t&&(fe(this,e),me(this))}setValue(e){if((()=>void 0===this._$Ct.strings)())this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}class ye{}const ve=new WeakMap,_e=(e=>(...t)=>({_$litDirective$:e,values:t}))(class extends be{render(e){return Q}update(e,[t]){var n;const r=t!==this.G;return r&&void 0!==this.G&&this.ot(void 0),(r||this.rt!==this.lt)&&(this.G=t,this.ct=null===(n=e.options)||void 0===n?void 0:n.host,this.ot(this.lt=e.element)),Q}ot(e){var t;if("function"==typeof this.G){const n=null!==(t=this.ct)&&void 0!==t?t:globalThis;let r=ve.get(n);void 0===r&&(r=new WeakMap,ve.set(n,r)),void 0!==r.get(this.G)&&this.G.call(this.ct,void 0),r.set(this.G,e),void 0!==e&&this.G.call(this.ct,e)}else this.G.value=e}get rt(){var e,t,n;return"function"==typeof this.G?null===(t=ve.get(null!==(e=this.ct)&&void 0!==e?e:globalThis))||void 0===t?void 0:t.get(this.G):null===(n=this.G)||void 0===n?void 0:n.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,f=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?p(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&d(t,n,i),i},t.GiscusWidget=class extends ce{constructor(){super(),this.GISCUS_SESSION_KEY="giscus-session",this.GISCUS_DEFAULT_HOST="https://giscus.app",this.ERROR_SUGGESTION="Please consider reporting this error at https://github.com/giscus/giscus/issues/new.",this.__session="",this._iframeRef=new ye,this.messageEventHandler=this.handleMessageEvent.bind(this),this.hasLoaded=!1,this.host=this.GISCUS_DEFAULT_HOST,this.strict="0",this.reactionsEnabled="1",this.emitMetadata="0",this.inputPosition="bottom",this.theme="light",this.lang="en",this.loading="eager",this.setupSession(),window.addEventListener("message",this.messageEventHandler)}get iframeRef(){var e;return null==(e=this._iframeRef)?void 0:e.value}get _host(){try{return new URL(this.host),this.host}catch{return this.GISCUS_DEFAULT_HOST}}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("message",this.messageEventHandler)}_formatError(e){return`[giscus] An error occurred. Error message: "${e}".`}setupSession(){const t=location.href,n=new URL(t),r=localStorage.getItem(this.GISCUS_SESSION_KEY),o=n.searchParams.get("giscus")||"";if(this.__session="",o)return localStorage.setItem(this.GISCUS_SESSION_KEY,JSON.stringify(o)),this.__session=o,n.searchParams.delete("giscus"),n.hash="",void history.replaceState(void 0,document.title,n.toString());if(r)try{this.__session=JSON.parse(r)}catch(e){localStorage.removeItem(this.GISCUS_SESSION_KEY)}}signOut(){localStorage.removeItem(this.GISCUS_SESSION_KEY),this.__session="",this.update(new Map)}handleMessageEvent(e){if(e.origin!==this._host)return;const{data:t}=e;if("object"!=typeof t||!t.giscus)return;if(this.iframeRef&&t.giscus.resizeHeight&&(this.iframeRef.style.height=`${t.giscus.resizeHeight}px`),t.giscus.signOut)return void this.signOut();if(!t.giscus.error)return;const n=t.giscus.error;(n.includes("Bad credentials")||n.includes("Invalid state value")||n.includes("State has expired"))&&null!==localStorage.getItem(this.GISCUS_SESSION_KEY)?this.signOut():n.includes("Discussion not found")}sendMessage(e){!this.iframeRef||!this.iframeRef.contentWindow||!this.hasLoaded||this.iframeRef.contentWindow.postMessage({giscus:e},this._host)}updateConfig(){const e={setConfig:{repo:this.repo,repoId:this.repoId,category:this.category,categoryId:this.categoryId,term:this.getTerm(),number:+this.getNumber(),strict:"1"===this.strict,reactionsEnabled:"1"===this.reactionsEnabled,emitMetadata:"1"===this.emitMetadata,inputPosition:this.inputPosition,theme:this.theme,lang:this.lang}};this.sendMessage(e)}firstUpdated(){var e;null==(e=this.iframeRef)||e.addEventListener("load",(()=>{var e;null==(e=this.iframeRef)||e.classList.remove("loading"),this.hasLoaded=!0,this.updateConfig()}))}requestUpdate(e,t,n){this.hasUpdated&&"host"!==e?this.updateConfig():super.requestUpdate(e,t,n)}getMetaContent(e,t=!1){const n=document.querySelector((t?`meta[property='og:${e}'],`:"")+`meta[name='${e}']`);return n?n.content:""}_getCleanedUrl(){const e=new URL(location.href);return e.searchParams.delete("giscus"),e.hash="",e}getTerm(){switch(this.mapping){case"url":return`${this._getCleanedUrl()}`;case"title":return document.title;case"og:title":return this.getMetaContent("title",!0);case"specific":return this.term||"";case"number":return"";default:return location.pathname.length<2?"index":location.pathname.substring(1).replace(/\.\w+$/,"")}}getNumber(){return"number"===this.mapping&&this.term||""}getIframeSrc(){const e=this._getCleanedUrl().toString(),t=`${e}${this.id?"#"+this.id:""}`,n=this.getMetaContent("description",!0),r=this.getMetaContent("giscus:backlink")||e,o={origin:t,session:this.__session,repo:this.repo,repoId:this.repoId||"",category:this.category||"",categoryId:this.categoryId||"",term:this.getTerm(),number:this.getNumber(),strict:this.strict,reactionsEnabled:this.reactionsEnabled,emitMetadata:this.emitMetadata,inputPosition:this.inputPosition,theme:this.theme,description:n,backLink:r};return`${this._host}${this.lang?`/${this.lang}`:""}/widget?${new URLSearchParams(o)}`}render(){return K`