diff --git a/javascript/main.js b/javascript/main.js index 7054f5b..0a7528c 100644 --- a/javascript/main.js +++ b/javascript/main.js @@ -1,15 +1,15 @@ -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=mJ,this.updater=n||pJ}function o(){}function a(e,t,n){this.props=e,this.context=t,this.refs=mJ,this.updater=n||pJ}function i(e,t,n){var r,o,a,i,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)Jy.call(t,r)&&!e_.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!!k_.call(C_,e)||!k_.call(S_,e)&&(x_.test(e)?C_[e]=!0:(S_[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=H_&&e[H_]||e["@@iterator"])?e:null}function v(e){if(void 0===W_)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);W_=t&&t[1]||""}return"\n"+W_+e}function w(e,t){var n,r,o,a,i,s,l;if(!e||q_)return"";q_=!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"),a=r.stack.split("\n"),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(1!==i||1!==s)do{if(i--,0>--s||o[i]!==a[s])return l="\n"+o[i].replace(" at new "," at "),e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=i&&0<=s);break}}}finally{q_=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?v(e):""}function k(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 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 P_:return"Fragment";case $_:return"Portal";case T_:return"Profiler";case N_:return"StrictMode";case F_:return"Suspense";case M_: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 R_:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L_:return null!==(t=e.displayName||null)?t:x(e.type)||"Memo";case z_: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===N_?"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),a=""+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){a=""+e,n.call(this,e)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(e){a=""+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 j(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 $(e,t){var n=t.checked;return U_({},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&&j(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-xv(t)]=n}function he(e,t){var n,r,o=e.entangledLanes|=t;for(e=e.entanglements;o;)(r=1<<(n=31-xv(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=j();t instanceof e.HTMLIFrameElement;){try{n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=j((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(),a=e.focusedElem,i=e.selectionRange;if(o!==a&&a&&a.ownerDocument&&et(a.ownerDocument.documentElement,a)){null!==i&&nt(a)&&(o=i.start,void 0===(e=i.end)&&(e=o),"selectionStart"in a?(a.selectionStart=o,a.selectionEnd=Math.min(e,a.value.length)):(e=(o=a.ownerDocument||document)&&o.defaultView||window).getSelection&&(e=e.getSelection(),t=a.textContent.length,n=Math.min(i.start,t),i=void 0===i.end?n:Math.min(i.end,t),!e.extend&&n>i&&(t=i,i=n,n=t),t=Ze(a,n),r=Ze(a,i),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>i?(e.addRange(o),e.extend(r.node,r.offset)):(o.setEnd(r.node,r.offset),e.addRange(o))))),o=[];for(e=a;e=e.parentNode;)1===e.nodeType&&o.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof a.focus&&a.focus(),a=0;aSk||(e.current=xk[Sk],xk[Sk]=null,Sk--)}function Tt(e,t){Sk++,xk[Sk]=e.current,e.current=t}function It(e,t){var n,r,o,a=e.type.contextTypes;if(!a)return Ck;if((n=e.stateNode)&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;for(o in r={},a)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(Dk),Nt(Ek)}function Ft(e,t,n){if(Ek.current!==Ck)throw Error(f(168));Tt(Ek,t),Tt(Dk,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 U_({},n,o)}function Lt(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ck,Ok=Ek.current,Tt(Ek,e),Tt(Dk,Dk.current),!0}function zt(e,t,n){var r=e.stateNode;if(!r)throw Error(f(169));n?(e=Mt(e,t,Ok),r.__reactInternalMemoizedMergedChildContext=e,Nt(Dk),Nt(Ek),Tt(Ek,e)):Nt(Dk),Tt(Dk,n)}function Bt(e){null===jk?jk=[e]:jk.push(e)}function Ht(){var e,t,n,r;if(!Pk&&null!==jk){Pk=!0,e=0,t=Ov;try{for(n=jk,Ov=1;e>=i,o-=i,Lk=1<<32-xv(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),i=a(b,i,g),null===u?c=b:u.sibling=b,u=b,f=h}if(g===s.length)return n(o,f),Uk&&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),i=a(y,i,g),null===c?v=y:c.sibling=y,c=y,u=h}if(b.done)return n(o,u),Uk&&Ut(o,g),v;if(null===u){for(;!b.done;g++,b=s.next())null!==(b=d(o,b.value,l))&&(i=a(b,i,g),null===c?v=b:c.sibling=b,c=b);return Uk&&Ut(o,g),v}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),i=a(b,i,g),null===c?v=b:c.sibling=b,c=b);return e&&u.forEach((function(e){return t(o,e)})),Uk&&Ut(o,g),v}(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=na(u,l.mode,g)).return=l,l=c),i(l)):n(l,c)}}function jn(e){if(e===nx)throw Error(f(174));return e}function $n(e,t){switch(Tt(ax,t),Tt(ox,e),Tt(rx,nx),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(rx),Tt(rx,t)}function Pn(){Nt(rx),Nt(ox),Nt(ax)}function Nn(e){var t,n;jn(ax.current),(t=jn(rx.current))!==(n=H(t,e.type))&&(Tt(ox,e),Tt(rx,n))}function Tn(e){ox.current===e&&(Nt(rx),Nt(ox))}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=cx.transition,cx.transition={};try{e(!1),t()}finally{Ov=r,cx.transition=n}}function mr(){return Bn().memoizedState}function gr(e,t,n){var r=vo(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,_o()),_r(n,t,r))}function hr(e,t,n){var r,o,a,i,s=vo(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(a=r(o=t.lastRenderedState,n),l.hasEagerState=!0,l.eagerState=a,Hw(a,o))return null===(i=t.interleaved)?(l.next=l,cn(t)):(l.next=i.next,i.next=l),void(t.interleaved=l)}catch(c){}null!==(n=un(e,t,l,s))&&(wo(n,e,s,l=_o()),_r(n,t,s))}}function br(e){var t=e.alternate;return e===dx||null!==t&&t===dx}function yr(e,t){gx=mx=!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+=k(r),r=r.return}while(r);o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.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(){rS||(rS=!0,oS=r)},n}function xr(e,t,n){var r,o,a;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!==(a=e.stateNode)&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===aS?aS=new Set([this]):aS.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 kx).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?tx(t,null,n,r):ex(t,e.child,n,r)}function Or(e,t,n,r,o){n=n.render;var a=t.ref;return sn(t,o),r=Mn(e,t,n,r,a,o),n=Ln(),null===e||Sx?(Uk&&n&&qt(t),t.flags|=1,Dr(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vr(e,t,o))}function jr(e,t,n,r,o){var a;return null===e?"function"!=typeof(a=n.type)||Qo(a)||void 0!==a.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=a,$r(e,t,a,r,o)):(a=e.child,0==(e.lanes&o)&&(n=null!==(n=n.compare)?n:Qe)(a.memoizedProps,r)&&e.ref===t.ref?Vr(e,t,o):(t.flags|=1,(e=Jo(a,r)).ref=t.ref,e.return=t,t.child=e))}function $r(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Qe(a,r)&&e.ref===t.ref){if(Sx=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,Vr(e,t,o);0!=(131072&e.flags)&&(Sx=!0)}}return Tr(e,t,n,r,o)}function Pr(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Tt(Vx,qx),qx|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Tt(Vx,qx),qx|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Tt(Vx,qx),qx|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Tt(Vx,qx),qx|=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 a=At(n)?Ok:Ek.current;return a=It(t,a),sn(t,o),n=Mn(e,t,n,r,a,o),r=Ln(),null===e||Sx?(Uk&&r&&qt(t),t.flags|=1,Dr(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vr(e,t,o))}function Ir(e,t,n,r,o){var a,i,s,l,c,u,d,p,f,m;return At(n)?(a=!0,Lt(t)):a=!1,sn(t,o),null===t.stateNode?(qr(e,t),kn(t,n,r),Sn(t,n,r,o),r=!0):null===e?((i=t.stateNode).props=s=t.memoizedProps,l=i.context,c="object"==typeof(c=n.contextType)&&null!==c?ln(c):It(t,c=At(n)?Ok:Ek.current),(d="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==c)&&xn(t,i,r,c),Qk=!1,i.state=p=t.memoizedState,yn(t,r,i,o),l=t.memoizedState,s!==r||p!==l||Dk.current||Qk?("function"==typeof u&&(vn(t,n,u,r),l=t.memoizedState),(s=Qk||wn(t,n,s,r,p,l,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)):(i=t.stateNode,fn(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:nn(t.type,s),i.props=c,d=t.pendingProps,p=i.context,l="object"==typeof(l=n.contextType)&&null!==l?ln(l):It(t,l=At(n)?Ok:Ek.current),(u="function"==typeof(f=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||p!==l)&&xn(t,i,r,l),Qk=!1,i.state=p=t.memoizedState,yn(t,r,i,o),m=t.memoizedState,s!==d||p!==m||Dk.current||Qk?("function"==typeof f&&(vn(t,n,f,r),m=t.memoizedState),(c=Qk||wn(t,n,c,r,p,m,l)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)),Ar(e,t,n,r,a,o)}function Ar(e,t,n,r,o,a){var i,s;return Nr(e,t),i=0!=(128&t.flags),r||i?(r=t.stateNode,xx.current=t,s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render(),t.flags|=1,null!==e&&i?(t.child=ex(t,e.child,null,a),t.child=ex(t,null,s,a)):Dr(e,t,s,a),t.memoizedState=r.state,o&&zt(t,n,!0),t.child):(o&&zt(t,n,!1),Vr(e,t,a))}function Rr(e){var t=e.stateNode;t.pendingContext?Ft(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ft(0,t.context,!1),$n(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,a=t.pendingProps,i=ix.current,s=!1,l=0!=(128&t.flags);return(r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Tt(ix,1&i),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=a.children,e=a.fallback,s?(s=t.child,l={mode:"hidden",children:l},0==(1&(a=t.mode))&&null!==s?(s.childLanes=0,s.pendingProps=l):s=ta(l,a,0,null),e=ea(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Mr(n),t.memoizedState=Cx,e):zr(t,l))):null!==(i=e.memoizedState)&&null!==(r=i.dehydrated)?function(e,t,n,r,o,a,i){if(n)return 256&t.flags?(t.flags&=-257,Br(e,t,i,r=wr(Error(f(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,r=ta({mode:"visible",children:r.children},o=t.mode,0,null),(a=ea(a,o,i,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&ex(t,e.child,null,i),t.child.memoizedState=Mr(i),t.memoizedState=Cx,a);if(0==(1&t.mode))return Br(e,t,i,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Br(e,t,i,r=wr(a=Error(f(419)),r,void 0))}if(s=0!=(i&e.childLanes),Sx||s){if(null!==(r=Hx)){switch(i&-i){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|i))?0:o)&&o!==a.retryLane&&(a.retryLane=o,dn(e,o),wo(r,e,o,-1))}return Io(),Br(e,t,i,r=wr(Error(f(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Vo.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,Hk=Ct(o.nextSibling),Bk=t,Uk=!0,Wk=null,null!==e&&(Rk[Fk++]=Lk,Rk[Fk++]=zk,Rk[Fk++]=Mk,Lk=e.id,zk=e.overflow,Mk=t),(t=zr(t,r.children)).flags|=4096,t)}(e,t,l,a,r,i,n):s?(s=a.fallback,r=(i=e.child).sibling,o={mode:"hidden",children:a.children},0==(1&(l=t.mode))&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=o,t.deletions=null):(a=Jo(i,o)).subtreeFlags=14680064&i.subtreeFlags,null!==r?s=Jo(r,s):(s=ea(s,l,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=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=Cx,a):(e=(s=e.child).sibling,a=Jo(s,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a)}function zr(e,t){return(t=ta({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Br(e,t,n,r){return null!==r&&tn(r),ex(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 a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Wr(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Dr(e,t,r.children,n),0!=(2&(r=ix.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(ix,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,a);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,a);break;case"together":Ur(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qr(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vr(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Kx|=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 Gr(e,t){var n,r;if(!Uk)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,a,i,s,l=t.pendingProps;switch(Vt(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(Dk),Nt(Ek),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!==Wk&&(Co(Wk),Wk=null))),Dx(e,t),Xr(t),null;case 5:if(Tn(t),r=jn(ax.current),n=t.type,null!==e&&null!=t.stateNode)Ox(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=jn(rx.current),Jt(t)){switch(n=t.type,o=t.memoizedProps,(l=t.stateNode)[bk]=t,l[yk]=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=a.createElement(n,{is:l.is}):(e=a.createElement(n),"select"===n&&(a=e,l.multiple?a.multiple=!0:l.size&&(a.size=l.size))):e=a.createElementNS(e,n),e[bk]=t,e[yk]=l,Ex(e,t,!1,!1),t.stateNode=e;e:{switch(a=G(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;rtS&&(t.flags|=128,l=!0,Gr(o,!1),t.lanes=4194304)}else{if(!l)if(null!==(e=In(a))){if(t.flags|=128,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!a.alternate&&!Uk)return Xr(t),null}else 2*mv()-o.renderingStartTime>tS&&1073741824!==n&&(t.flags|=128,l=!0,Gr(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=o.last)?n.sibling=a:t.child=a,o.last=a)}return null!==o.tail?(o.rendering=t=o.tail,o.tail=t.sibling,o.renderingStartTime=mv(),t.sibling=null,n=ix.current,Tt(ix,l?1&n|2:1&n),t):(Xr(t),null);case 22:case 23:return $o(),l=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==l&&(t.flags|=8192),l&&0!=(1&t.mode)?0!=(1073741824&qx)&&(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(Vt(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(Dk),Nt(Ek),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(ix),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(ix),null;case 4:return Pn(),null;case 10:return on(t.type._context),null;case 22:case 23:return $o(),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,a=t.updateQueue;if(null!==(a=null!==a?a.lastEffect:null)){r=a=a.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!==a)}}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[bk],delete t[yk],delete t[vk],delete t[wk],delete t[kk]),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 ao(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(ao(e,t,n),e=e.sibling;null!==e;)ao(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 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,a,i;if(kv&&"function"==typeof kv.onCommitFiberUnmount)try{kv.onCommitFiberUnmount(wv,n)}catch(s){}switch(n.tag){case 5:Px||Qr(n,t);case 6:r=Ax,o=Rx,Ax=null,so(e,t,n),Rx=o,null!==(Ax=r)&&(Rx?(n=n.stateNode,8===(e=Ax).nodeType?e.parentNode.removeChild(n):e.removeChild(n)):Ax.removeChild(n.stateNode));break;case 18:null!==Ax&&(Rx?(n=n.stateNode,8===(e=Ax).nodeType?St(e.parentNode,n):1===e.nodeType&&St(e,n),Ce(e)):St(Ax,n.stateNode));break;case 4:r=Ax,o=Rx,Ax=n.stateNode.containerInfo,Rx=!0,so(e,t,n),Ax=r,Rx=o;break;case 0:case 11:case 14:case 15:if(!Px&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{i=(a=o).destroy,a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&Jr(n,t,i),o=o.next}while(o!==r)}so(e,t,n);break;case 1:if(!Px&&(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?(Px=(r=Px)||null!==n.memoizedState,so(e,t,n),Px=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 Nx),n.forEach((function(n){var r=Go.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))})))}function uo(e,t){var n,r,o,a,i,s,l=t.deletions;if(null!==l)for(n=0;no&&(o=i),r&=~a;if(r=o,10<(r=(120>(r=mv()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fx(r/1960))-r)){e.timeoutHandle=pk(zo.bind(null,e,Zx,nS),r);break}zo(e,Zx,nS);break;default:throw Error(f(329))}}}return ko(e,mv()),e.callbackNode===n?xo.bind(null,e):null}function So(e,t){var n=Jx;return e.current.memoizedState.isDehydrated&&(Po(e,t).flags|=256),2!==(e=Ao(e,t))&&(t=Zx,Zx=n,null!==t&&Co(t)),e}function Co(e){null===Zx?Zx=e:Zx.push.apply(Zx,e)}function Eo(e,t){for(t&=~Qx,e.suspendedLanes|=t&=~Yx,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===sS)r=!1;else{if(e=sS,sS=null,lS=0,0!=(6&Bx))throw Error(f(331));for(o=Bx,Bx|=4,Tx=e.current;null!==Tx;){if(i=(a=Tx).child,0!=(16&Tx.flags)&&null!==(s=a.deletions)){for(l=0;lmv()-eS?Po(e,0):Qx|=n),ko(e,t)}function qo(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Dv,0==(130023424&(Dv<<=1))&&(Dv=4194304)));var n=_o();null!==(e=dn(e,t))&&(ge(e,t,n),ko(e,n))}function Vo(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),qo(e,n)}function Go(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),qo(e,o)}function Xo(e,t){return uv(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,a){var i=2;if(r=e,"function"==typeof e)Qo(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case P_:return ea(n.children,o,a,t);case N_:i=8,o|=8;break;case T_:return(e=Yo(12,n,t,2|o)).elementType=T_,e.lanes=a,e;case F_:return(e=Yo(13,n,t,o)).elementType=F_,e.lanes=a,e;case M_:return(e=Yo(19,n,t,o)).elementType=M_,e.lanes=a,e;case B_:return ta(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case I_:i=10;break e;case A_:i=9;break e;case R_:i=11;break e;case L_:i=14;break e;case z_:i=16,r=null;break e}throw Error(f(130,null==e?e:typeof e,""))}return(t=Yo(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function ea(e,t,n,r){return(e=Yo(7,e,r,t)).lanes=n,e}function ta(e,t,n,r){return(e=Yo(22,e,r,t)).elementType=B_,e.lanes=n,e.stateNode={isHidden:!1},e}function na(e,t,n){return(e=Yo(6,e,null,t)).lanes=n,e}function ra(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 oa(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 aa(e,t,n,r,o,a,i,s,l){return e=new oa(e,t,n,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Yo(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},pn(a),e}function ia(e){var t,n;if(!e)return Ck;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 sa(e,t,n,r,o,a,i,s,l){return(e=aa(n,r,!0,e,0,a,0,s,l)).context=ia(null),n=e.current,(a=mn(r=_o(),o=vo(n))).callback=null!=t?t:null,gn(n,a,o),e.current.lanes=o,ge(e,o,r),ko(e,r),e}function la(e,t,n,r){var o=t.current,a=_o(),i=vo(o);return n=ia(n),null===t.context?t.context=n:t.pendingContext=n,(t=mn(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=gn(o,t,i))&&(wo(e,o,i,a),hn(e,o,i)),i}function ca(e){return(e=e.current).child?e.child.stateNode:null}function ua(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(a=Object.getOwnPropertySymbols(e),o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r]);return n}function Da(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Oa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ja(e,t){var n,r;for(n=0;n2||qa(JC)>3?"":" "}function Ya(e,t){for(;--t&&Ba()&&!(JC<48||JC>102||JC>57&&JC<65||JC>70&&JC<97););return Wa(e,Ua()+(t<6&&32==Ha()&&32==Ba()))}function Qa(e){for(;Ba();)switch(JC){case e:return QC;case 34:case 39:34!==e&&39!==e&&Qa(JC);break;case 40:41===e&&Qa(e);break;case 92:Ba()}return QC}function Ja(e,t){for(;Ba()&&e+JC!==57&&(e+JC!==84||47!==Ha()););return"/*"+Wa(t,QC-1)+"*"+VC(47===e?e:Ba())}function Za(e){for(;!qa(Ha());)Ba();return Wa(e,QC)}function ei(e){return Ga(ti("",null,null,null,[""],e=Va(e),0,[0],e))}function ti(e,t,n,r,o,a,i,s,l){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,h=1,b=1,y=0,_="",v=o,w=a,k=r,x=_;h;)switch(m=y,y=Ba()){case 40:if(108!=m&&58==Ia(x,d-1)){-1!=Ta(x+=Na(Xa(y),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:x+=Xa(y);break;case 9:case 10:case 13:case 32:x+=Ka(m);break;case 92:x+=Ya(Ua()-1,7);continue;case 47:switch(Ha()){case 42:case 47:Ma(ri(Ja(Ba(),Ua()),t,n),l);break;default:x+="/"}break;case 123*g:s[c++]=Ra(x)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:h=0;case 59+u:-1==b&&(x=Na(x,/\f/g,"")),f>0&&Ra(x)-d&&Ma(f>32?oi(x+";",r,n,d-1):oi(Na(x," ","")+";",r,n,d-2),l);break;case 59:x+=";";default:if(Ma(k=ni(x,t,n,c,u,o,s,_,v=[],w=[],d),a),123===y)if(0===u)ti(x,t,k,k,v,a,d,s,w);else switch(99===p&&110===Ia(x,3)?100:p){case 100:case 108:case 109:case 115:ti(e,k,k,r&&Ma(ni(e,k,k,0,0,o,s,_,o,v=[],d),w),o,w,d,s,r?v:w);break;default:ti(x,k,k,k,[""],w,0,s,w)}}c=u=f=0,g=b=1,_=x="",d=i;break;case 58:d=1+Ra(x),f=m;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==(JC=QC>0?Ia(ZC,--QC):0,KC--,10===JC&&(KC=1,XC--),JC))continue;switch(x+=VC(y),y*g){case 38:b=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(Ra(x)-1)*b,b=1;break;case 64:45===Ha()&&(x+=Xa(Ba())),p=Ha(),u=d=Ra(_=x+=Za(Ua())),y++;break;case 45:45===m&&2==Ra(x)&&(g=0)}}return a}function ni(e,t,n,r,o,a,i,s,l,c,u){var d,p,f,m,g,h,b=o-1,y=0===o?a:[""],_=Fa(y);for(d=0,p=0,f=0;d0?y[m]+" "+g:Na(g,/&\f/g,y[m])))&&(l[f++]=h);return La(e,t,n,0===o?zC:s,l,c,u)}function ri(e,t,n){return La(e,t,n,LC,VC(JC),Aa(e,2,-2),0)}function oi(e,t,n,r){return La(e,t,n,BC,Aa(e,0,r),Aa(e,r+1,-1),r)}function ai(e,t){var n,r="",o=Fa(e);for(n=0;n6)switch(Ia(e,t+1)){case 109:if(45!==Ia(e,t+4))break;case 102:return Na(e,/(.+:)(.+)-([^]+)/,"$1"+MC+"$2-$3$1"+FC+(108==Ia(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ta(e,"stretch")?li(Na(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ia(e,t+1))break;case 6444:switch(Ia(e,Ra(e)-3-(~Ta(e,"!important")&&10))){case 107:return Na(e,":",":"+MC)+e;case 101:return Na(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+MC+(45===Ia(e,14)?"inline-":"")+"box$3$1"+MC+"$2$3$1"+RC+"$2box$3")+e}break;case 5936:switch(Ia(e,t+11)){case 114:return MC+e+RC+Na(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return MC+e+RC+Na(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return MC+e+RC+Na(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return MC+e+RC+e+e}return e}function ci(e,t,n){var r,o,a,i;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 bE={name:n.name,styles:n.styles,next:bE},n.name;if(void 0!==n.styles){if(void 0!==(r=n.next))for(;void 0!==r;)bE={name:r.name,styles:r.styles,next:bE},r=r.next;return n.styles+";"}return function(e,t,n){var r,o,a,i,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 Ei(e,t,n){var r=a_.useRef({});return"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t),r.current.value}function Di(){}function Oi(){}function ji(e,t,n){t||OD[n]||(e(!1,n),OD[n]=!0)}function $i(e,t){ji(Di,e,t)}function Pi(e,t,n){var r=arguments.length>2&&void 0!==n&&n,o=new Set;return function e(t,n,a){var i,s,l,c=arguments.length>2&&void 0!==a?a:1,u=o.has(t);if($i(!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),i=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):FD}function Ri(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Fi(e){return Array.from((MD.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function Mi(e,t){var n,r,o,a,i,s,l=arguments.length>1&&void 0!==t?t:{};if(!Ti())return null;if(n=l.csp,r=l.prepend,(o=document.createElement("style")).setAttribute(RD,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,i=(a=Ri(l)).firstChild,r){if("queue"===r&&(s=Fi(a).filter((function(e){return["prepend","prependQueue"].includes(e.getAttribute(RD))}))).length)return a.insertBefore(o,s[s.length-1].nextSibling),o;a.insertBefore(o,i)}else a.appendChild(o);return o}function Li(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Fi(Ri(n)).find((function(t){return t.getAttribute(Ai(n))===e}))}function zi(e,t){var n=arguments.length>1&&void 0!==t?t:{},r=Li(e,n);r&&Ri(n).removeChild(r)}function Bi(e,t,n){var r,o,a,i,s,l=arguments.length>2&&void 0!==n?n:{};return function(e,t){var n,r=MD.get(e);r&&Ii(document,r)||(n=Mi("",t),MD.set(e,n.parentNode),e.removeChild(n))}(Ri(l),l),(r=Li(t,l))?(null!==(o=l.csp)&&void 0!==o&&o.nonce&&r.nonce!==(null===(a=l.csp)||void 0===a?void 0:a.nonce)&&(r.nonce=null===(i=l.csp)||void 0===i?void 0:i.nonce),r.innerHTML!==e&&(r.innerHTML=e),r):((s=Mi(e,l)).setAttribute(Ai(l),t),s)}function Hi(e){var t="";return Object.keys(e).forEach((function(n){var r=e[n];t+=n,r&&"object"===xa(r)?t+=Hi(r):t+=r})),t}function Ui(e){if(Array.isArray(e))return e}function Wi(){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 qi(e,t){return Ui(e)||function(e,t){var n,r,o,a,i,s,l,c=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=c){i=[],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)&&(i.push(n.value),i.length!==t);s=!0);}catch(u){l=!0,r=u}finally{try{if(!s&&null!=c.return&&(a=c.return(),Object(a)!==a))return}finally{if(l)throw r}}return i}}(e,t)||wi(e,t)||Wi()}function Vi(e,t,n,r,o){var a,i=a_.useContext(KJ).cache,s=[e].concat(ki(t)),l=s.join("_"),c=function(e){i.update(s,(function(t){var r=qi(t||[],2),o=r[0],a=[void 0===o?0:o,r[1]||n()];return e?e(a):a}))};return a_.useMemo((function(){return c()}),[l]),a=i.get(s)[1],YJ((function(){null==o||o(a)}),(function(e){return c((function(t){var n=qi(t,2),r=n[0],i=n[1];return e&&0===r&&(null==o||o(a)),[r+1,i]})),function(){i.update(s,(function(e){var t=qi(e||[],2),n=t[0],o=void 0===n?0:n,a=t[1];return 0==o-1?(null==r||r(a,!1),null):[o-1,a]}))}}),[l]),a}function Gi(e){return e.trim()}function Xi(e,t){return(e=t.exec(e))?e[0]:e}function Ki(e,t,n){return e.replace(t,n)}function Yi(e,t){return e.indexOf(t)}function Qi(e,t){return 0|e.charCodeAt(t)}function Ji(e,t,n){return e.slice(t,n)}function Zi(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!Xi(e,t)}))}function rs(e,t,n,r,o,a,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:dO,column:pO,length:i,return:"",siblings:s}}function os(e,t){return uO(rs("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function as(e){for(;e.root;)e=os(e.root,{children:[e]});ts(e,e.siblings)}function is(){return gO=mO2||us(gO)>3?"":" "}function fs(e,t){for(;--t&&is()&&!(gO<48||gO>102||gO>57&&gO<65||gO>70&&gO<97););return cs(e,ls()+(t<6&&32==ss()&&32==is()))}function ms(e){for(;is();)switch(gO){case e:return mO;case 34:case 39:34!==e&&39!==e&&ms(gO);break;case 40:41===e&&ms(e);break;case 92:is()}return mO}function gs(e,t){for(;is()&&e+gO!==57&&(e+gO!==84||47!==ss()););return"/*"+cs(t,mO-1)+"*"+cO(47===e?e:is())}function hs(e){for(;!us(ss());)is();return cs(e,mO)}function bs(e){return function(e){return hO="",e}(ys("",null,null,null,[""],e=function(e){return dO=pO=1,fO=Zi(hO=e),mO=0,[]}(e),0,[0],e))}function ys(e,t,n,r,o,a,i,s,l){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,h=1,b=1,y=0,_="",v=o,w=a,k=r,x=_;h;)switch(m=y,y=is()){case 40:if(108!=m&&58==Qi(x,d-1)){-1!=Yi(x+=Ki(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(vs(gs(is(),ls()),t,n,l),l);break;default:x+="/"}break;case 123*g:s[c++]=Zi(x)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:h=0;case 59+u:-1==b&&(x=Ki(x,/\f/g,"")),f>0&&Zi(x)-d&&ts(f>32?ws(x+";",r,n,d-1,l):ws(Ki(x," ","")+";",r,n,d-2,l),l);break;case 59:x+=";";default:if(ts(k=_s(x,t,n,c,u,o,s,_,v=[],w=[],d,a),a),123===y)if(0===u)ys(x,t,k,k,v,a,d,s,w);else switch(99===p&&110===Qi(x,3)?100:p){case 100:case 108:case 109:case 115:ys(e,k,k,r&&ts(_s(e,k,k,0,0,o,s,_,o,v=[],d,w),w),o,w,d,s,r?v:w);break;default:ys(x,k,k,k,[""],w,0,s,w)}}c=u=f=0,g=b=1,_=x="",d=i;break;case 58:d=1+Zi(x),f=m;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==(gO=mO>0?Qi(hO,--mO):0,pO--,10===gO&&(pO=1,dO--),gO))continue;switch(x+=cO(y),y*g){case 38:b=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(Zi(x)-1)*b,b=1;break;case 64:45===ss()&&(x+=ds(is())),p=ss(),u=d=Zi(_=x+=hs(ls())),y++;break;case 45:45===m&&2==Zi(x)&&(g=0)}}return a}function _s(e,t,n,r,o,a,i,s,l,c,u,d){var p,f,m,g,h,b,y=o-1,_=0===o?a:[""],v=es(_);for(p=0,f=0,m=0;p0?_[g]+" "+h:Ki(h,/&\f/g,_[g])))&&(l[m++]=b);return rs(e,t,n,0===o?rO:s,l,c,u,d)}function vs(e,t,n,r){return rs(e,t,n,nO,cO(gO),Ji(e,2,-2),0,r)}function ws(e,t,n,r,o){return rs(e,t,n,oO,Ji(e,0,r),Ji(e,r+1,-1),r,o)}function ks(e,t,n){switch(function(e,t){return 45^Qi(e,0)?(((t<<2^Qi(e,0))<<2^Qi(e,1))<<2^Qi(e,2))<<2^Qi(e,3):0}(e,t)){case 5103:return tO+"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 tO+e+e;case 4789:return eO+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return tO+e+eO+e+ZD+e+e;case 5936:switch(Qi(e,t+11)){case 114:return tO+e+ZD+Ki(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return tO+e+ZD+Ki(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return tO+e+ZD+Ki(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return tO+e+ZD+e+e;case 6165:return tO+e+ZD+"flex-"+e+e;case 5187:return tO+e+Ki(e,/(\w+).+(:[^]+)/,tO+"box-$1$2"+ZD+"flex-$1$2")+e;case 5443:return tO+e+ZD+"flex-item-"+Ki(e,/flex-|-self/g,"")+(Xi(e,/flex-|baseline/)?"":ZD+"grid-row-"+Ki(e,/flex-|-self/g,""))+e;case 4675:return tO+e+ZD+"flex-line-pack"+Ki(e,/align-content|flex-|-self/g,"")+e;case 5548:return tO+e+ZD+Ki(e,"shrink","negative")+e;case 5292:return tO+e+ZD+Ki(e,"basis","preferred-size")+e;case 6060:return tO+"box-"+Ki(e,"-grow","")+tO+e+ZD+Ki(e,"grow","positive")+e;case 4554:return tO+Ki(e,/([^-])(transform)/g,"$1"+tO+"$2")+e;case 6187:return Ki(Ki(Ki(e,/(zoom-|grab)/,tO+"$1"),/(image-set)/,tO+"$1"),e,"")+e;case 5495:case 3959:return Ki(e,/(image-set\([^]*)/,tO+"$1$`$1");case 4968:return Ki(Ki(e,/(.+:)(flex-)?(.*)/,tO+"box-pack:$3"+ZD+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+tO+e+e;case 4200:if(!Xi(e,/flex-|baseline/))return ZD+"grid-column-align"+Ji(e,t)+e;break;case 2592:case 3360:return ZD+Ki(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,Xi(e.props,/grid-\w+-end/)}))?~Yi(e+(n=n[t].value),"span")?e:ZD+Ki(e,"-start","")+e+ZD+"grid-row-span:"+(~Yi(n,"span")?Xi(n,/\d+/):+Xi(n,/\d+/)-+Xi(e,/\d+/))+";":ZD+Ki(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return Xi(e.props,/grid-\w+-start/)}))?e:ZD+Ki(Ki(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Ki(e,/(.+)-inline(.+)/,tO+"$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(Zi(e)-1-t>6)switch(Qi(e,t+1)){case 109:if(45!==Qi(e,t+4))break;case 102:return Ki(e,/(.+:)(.+)-([^]+)/,"$1"+tO+"$2-$3$1"+eO+(108==Qi(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Yi(e,"stretch")?ks(Ki(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Ki(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,a,i,s){return ZD+n+":"+r+s+(o?ZD+n+"-span:"+(a?i:+i-+r)+s:"")+e}));case 4949:if(121===Qi(e,t+6))return Ki(e,":",":"+tO)+e;break;case 6444:switch(Qi(e,45===Qi(e,14)?18:11)){case 120:return Ki(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+tO+(45===Qi(e,14)?"inline-":"")+"box$3$1"+tO+"$2$3$1"+ZD+"$2box$3")+e;case 100:return Ki(e,":",":"+ZD)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Ki(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 oO:return void(e.return=ks(e.value,e.length,n));case iO:return xs([os(e,{value:Ki(e.value,"@","@"+tO)})],r);case rO:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(Xi(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":as(os(e,{props:[Ki(t,/:(read-\w+)/,":"+eO+"$1")]})),as(os(e,{props:[t]})),uO(e,{props:ns(n,r)});break;case"::placeholder":as(os(e,{props:[Ki(t,/:(plac\w+)/,":"+tO+"input-$1")]})),as(os(e,{props:[Ki(t,/:(plac\w+)/,":"+eO+"$1")]})),as(os(e,{props:[Ki(t,/:(plac\w+)/,ZD+"input-$1")]})),as(os(e,{props:[t]})),uO(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,a,i,s,l,c,u,d,p,f,m,g,h,b=e.token,y=e.path,_=e.hashId,v=e.layer,w=e.nonce,k=a_.useContext(KJ),x=k.autoClear;return n=k.defaultCache,r=k.hashPriority,o=k.container,a=k.ssrInline,i=k.transformers,s=k.linters,l=k.cache,u=[c=b._tokenKey].concat(ki(y)),d=wO,p=Vi("style",u,(function(){var e,n,o,a,l,d,p,f,m=u.join("|");return function(e){var t,n,r;return _O||(_O={},Ti()&&((t=document.createElement("div")).className=bO,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=qi(e.split(":"),2);_O[t[0]]=t[1]})),(n=document.querySelector("style[".concat(bO,"]")))&&(vO=!1,null===(r=n.parentNode)||void 0===r||r.removeChild(n)),document.body.removeChild(t))),!!_O[e]}(m)&&(e=function(e){var t,n=_O[e],r=null;return n&&Ti()&&(vO?r=yO:(t=document.querySelector("style[".concat(ND,'="').concat(_O[e],'"]')))?r=t.innerHTML:delete _O[e]),[r,n]}(m),o=(n=qi(e,2))[0])?[o,c,n[1],{}]:(a=t(),d=(l=qi(xO(a,{hashId:_,hashPriority:r,layer:v,path:y.join("-"),transformers:i,linters:s}),2))[1],p=Es(l[0]),f=function(e,t){return Ci("".concat(e.join("%")).concat(t))}(u,p),[p,c,f,d])}),(function(e,t){var n=qi(e,3);(t||x)&&wO&&zi(n[2],{mark:ND})}),(function(e){var t,n,r,a,i,s=qi(e,4),u=s[0];t=s[2],n=s[3],d&&u!==yO&&(r={mark:ND,prepend:"queue",attachTo:o},(a="function"==typeof w?w():w)&&(r.csp={nonce:a}),(i=Bi(u,t,r))[TD]=l.instanceId,i.setAttribute(PD,c),Object.keys(n).forEach((function(e){Bi(Es(n[e]),"_effect-".concat(e),r)})))})),f=qi(p,3),m=f[0],g=f[1],h=f[2],function(e){var t,r;return t=a&&!d&&n?a_.createElement("style",fi({},(Ca(r={},PD,g),Ca(r,ND,h),r),{dangerouslySetInnerHTML:{__html:m}})):a_.createElement(Ds,null),a_.createElement(a_.Fragment,null,t,e)}}function js(e){var t=Array.isArray(e)?e:[e];return OO.has(t)||OO.set(t,new DO(t)),OO.get(t)}function $s(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 gJ.Children.forEach(e,(function(e){(null!=e||n.keepEmpty)&&(Array.isArray(e)?r=r.concat(Ls(e)):iD.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"===xa(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,a,i,s,l;if(e=sl(e,255),t=sl(t,255),n=sl(n,255),a=0,i=0,s=((r=Math.max(e,t,n))+(o=Math.min(e,t,n)))/2,r===o)i=0,a=0;else{switch(l=r-o,i=s>.5?l/(2-r-o):l/(r+o),r){case e:a=(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,a,i,s,l;if(e=sl(e,255),t=sl(t,255),n=sl(n,255),a=0,i=r=Math.max(e,t,n),s=r-(o=Math.min(e,t,n)),l=0===r?0:s/r,r===o)a=0;else{switch(r){case e:a=(t-n)/s+(t=60&&Math.round(e.h)<=240?n?Math.round(e.h)-bj*t:Math.round(e.h)+bj*t:n?Math.round(e.h)+bj*t:Math.round(e.h)-bj*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-yj*t:t===xj?e.s+yj:e.s+_j*t)>1&&(r=1),n&&t===kj&&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+vj*t:e.v-wj*t)>1&&(r=1),Number(r.toFixed(2))}function Cl(e,t){var n,r,o,a,i,s,l=arguments.length>1&&void 0!==t?t:{},c=[],u=yl(e);for(n=kj;n>0;n-=1)o=wl(yl({h:kl(r=vl(u),n,!0),s:xl(r,n,!0),v:Sl(r,n,!0)})),c.push(o);for(c.push(wl(u)),a=1;a<=xj;a+=1)s=wl(yl({h:kl(i=vl(u),a),s:xl(i,a),v:Sl(i,a)})),c.push(s);return"dark"===l.theme?Sj.map((function(e){var t,n,r,o=e.index,a=e.opacity;return wl((t=yl(l.backgroundColor||"#141414"),{r:((n=yl(c[o])).r-t.r)*(r=100*a/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:a,colorError:i,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),p=n(o),f=n(a),m=n(i),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 hj("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}function Dl(e){const t=Object.keys(dZ).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:hZ,generateNeutralColorPalettes:bZ})),yZ(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)),uZ(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},fZ(r))}(e))}function Ol(e){return e>=0&&e<=255}function jl(e,t){const{r:n,g:r,b:o,a:a}=new hj(e).toRgb();if(a<1)return e;const{r:i,g:s,b:l}=new hj(t).toRgb();for(let c=.01;c<=1;c+=.01){const e=Math.round((n-i*(1-c))/c),t=Math.round((r-s*(1-c))/c),a=Math.round((o-l*(1-c))/c);if(Ol(e)&&Ol(t)&&Ol(a))return new hj({r:e,g:t,b:a,a:Math.round(100*c)/100}).toRgbString()}return new hj({r:n,g:r,b:o,a:1}).toRgbString()}function $l(e){const{override:t}=e,n=jj(e,["override"]),r=Object.assign({},t);Object.keys(pZ).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:jl(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:jl(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:jl(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:jl(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 hj("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new hj("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new hj("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}=gJ.useContext(wZ),o=`${cZ}-${t||""}`,a=n||_Z,[i,s]=function(e,t,n){var r=arguments.length>2&&void 0!==n?n:{},o=a_.useContext(KJ).cache.instanceId,a=r.salt,i=void 0===a?"":a,s=r.override,l=void 0===s?GD:s,c=r.formatToken,u=a_.useMemo((function(){return Object.assign.apply(Object,[{}].concat(ki(t)))}),[t]),d=a_.useMemo((function(){return Hi(u)}),[u]),p=a_.useMemo((function(){return Hi(l)}),[l]),f=Vi("token",[i,e.id,d,p],(function(){var t,n=QD(u,l,e,c),r=function(e,t){return Ci("".concat(t,"_").concat(Hi(e)))}(n,i);return n._tokenKey=r,function(e){KD.set(e,(KD.get(e)||0)+1)}(r),t="".concat(XD,"-").concat(Ci(r)),n._hashId=t,[n,t]}),(function(e){!function(e,t){var n,r;KD.set(e,(KD.get(e)||0)-1),r=(n=Array.from(KD.keys())).filter((function(e){return(KD.get(e)||0)<=0})),n.length-r.length>YD&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(PD,'="').concat(e,'"]')).forEach((function(e){var n;e[TD]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),KD.delete(e)}))}(e[0]._tokenKey,o)}));return f}(a,[pZ,e],{salt:o,override:Object.assign({override:e},r),formatToken:$l});return[a,i,t?s:""]}function Nl(e){var t,n=a_.useRef();return n.current=e,t=a_.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]})}))})),NZ=!0,r}function Fl(){}function Ml(e,t,n,r){return o=>{const[a,i,s]=Pl(),{getPrefixCls:l,iconPrefixCls:c,csp:u}=a_.useContext(xZ),d=l(),p={theme:a,token:i,hashId:s,nonce:()=>null==u?void 0:u.nonce};return Os(Object.assign(Object.assign({},p),{path:["Shared",d]}),(()=>[{"&":DZ(i)}])),[Os(Object.assign(Object.assign({},p),{path:[e,o,c]}),(()=>{const{token:a,flush:l}=function(e){let t,n=e,r=Fl;return PZ&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(NZ&&t.add(n),e[n])}),r=()=>{Array.from(t)}),{token:n,keys:t,flush:r}}(i),u=Object.assign({},i[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(a,null!=u?u:{})):n,f=Object.assign(Object.assign({},p),u),m=Rl(a,{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:OZ(i,o),g]})),s]}}function Ll(e,t){return lZ.reduce(((n,r)=>{const o=e[`${r}1`],a=e[`${r}3`],i=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:a,darkColor:i,textColor:s}))}),{})}function zl(e){var t=e.children,n=Ea(e,$j);return a_.createElement(Pj.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,a;if(Vj[e])return Vj[e];if(t=Uj[e])for(r=(n=Object.keys(t)).length,o=0;o0&&void 0!==e?e:[]).map(ql)}function Gl(e){const{children:t}=e,[,n]=Pl(),{motion:r}=n,o=a_.useRef(!1);return o.current=o.current||!1===r,o.current?a_.createElement(zl,{motion:r},t):t}function Xl(){return UZ||"ant"}function Kl(){return WZ||kZ}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"===xa(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===xa(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 gJ.createElement(e.tag,n?Si(Si({key:t},Zl(e.attrs)),n):Si({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=qi(nc(e),2);return YZ.setTwoToneColors({primaryColor:t[0],secondaryColor:t[1]})}function oc(e,t){return 0===e.indexOf(t)}function ac(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}:Si({},o),r={},Object.keys(e).forEach((function(t){(n.aria&&("role"===t||oc(t,h$))||n.data&&oc(t,b$)||n.attr&&g$.includes(t))&&(r[t]=e[t])})),r}function ic(e){return e&&s0(e)&&e.type===a_.Fragment}function sc(e,t){return function(e,t,n){return s0(e)?a_.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?k$:n,o=t.motion,a=t.prefixCls,i=t.maxCount,s=t.className,l=t.style,c=t.onAllRemoved,u=Ea(t,w$),d=qi(a_.useState(),2),p=d[0],f=d[1],m=a_.useRef(),g=a_.createElement(v$,{container:p,ref:m,prefixCls:a,motion:o,maxCount:i,className:s,style:l,onAllRemoved:c}),h=qi(a_.useState([]),2),b=h[0],y=h[1],_=a_.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=a_.useRef(null);return[a_.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:a,message:i}=t.current,s=`${o}-notice`,{content:l,icon:c,type:u,key:d,className:p,style:f,onClose:m}=n,g=C$(n,["content","icon","type","key","className","style","onClose"]);let h=d;return null==h&&(x0+=1,h=`antd-message-${x0}`),cc((t=>(r(Object.assign(Object.assign({},g),{key:h,content:a_.createElement(v0,{prefixCls:o,type:u,icon:c},l),placement:"top",className:QJ(u&&`${s}-${u}`,a,p,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.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 a,i,s;a=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?s=r:(i=r,s=o);const l=Object.assign(Object.assign({onClose:s,duration:i},a),{type:e});return n(l)}})),r}),[]),a_.createElement(k0,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 a=Object.create((t&&t.prototype instanceof r?t:r).prototype),i=new p(o||[]);return y(a,"_invoke",{value:l(e,n,i)}),a}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 a(){}function i(t){["next","throw","return"].forEach((function(n){e(t,n,(function(e){return this._invoke(n,e)}))}))}function s(e,t){function r(o,a,i,s){var l,c,u=n(e[o],e,a);if("throw"!==u.type)return(c=(l=u.arg).value)&&"object"==xa(c)&&b.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(c).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,s)}));s(u.arg)}var o;y(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(a,a):a()}})}function l(e,t,r){var o="suspendedStart";return function(a,i){var s,l,u;if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===a)throw i;return{value:void 0,done:!0}}for(r.method=a,r.arg=i;;){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,a=t.method,i=e.iterator[a];return void 0===i?(t.delegate=null,"throw"===a&&e.iterator.return&&(t.method="return",t.arg=void 0,c(e,t),"throw"===t.method)||"return"!==a&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+a+"' method")),x):"throw"===(r=n(i,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[v])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(a=(o=this.tryEntries[r]).completion,"root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev)if(i=b.call(o,"catchLoc"),s=b.call(o,"finallyLoc"),i&&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,a,i){var s,l;try{l=(s=e[a](i)).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 a(e){fc(s,r,o,a,i,"next",e)}function i(e){fc(s,r,o,a,i,"throw",e)}var s=e.apply(t,n);a(void 0)}))}}function gc(e){var t=E$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===xa(t)&&(t.usingClientEntryPoint=e)}function hc(e,t){$$?function(e,t){gc(!0);var n=t[P$]||$$(t);gc(!1),n.render(e),t[P$]=n}(e,t):function(e,t){O$(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[P$])||void 0===e||e.unmount(),delete t[P$]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _c(e){j$(e)}function vc(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===$$){e.next=2;break}return e.abrupt("return",bc(t));case 2:_c(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:a}=n,i=a?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${i}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${i}`]:{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 jc(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 $c(e){return"danger"===e?{danger:!0}:{type:e}}function Pc(e){return!(!e||!e.then)}function Nc(e){var t,n,r,o,a,i=e.match(/^(.*)px$/),s=Number(null==i?void 0:i[1]);return Number.isNaN(s)?"undefined"==typeof document?0:(void 0===F$&&((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===(a=t.offsetWidth)&&(a=n.clientWidth),document.body.removeChild(n),F$=o-a),F$):s}function Tc(e){var t=qi(a_.useState("ssr-id"),2),n=t[0],r=t[1],o=Si({},hJ).useId,a=null==o?void 0:o();return a_.useEffect((function(){if(!o){var e=H$;H$+=1,r("rc_unique_".concat(e))}}),[]),e||a||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 a_.createElement(zZ,{key:"mask",visible:e.visible,motionName:e.motionName,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,o){var a=e.className;return a_.createElement("div",fi({ref:o,style:Si(Si({},e.style),n),className:QJ("".concat(t,"-mask"),a)},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,a=e.visible,i=void 0!==a&&a,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,_=e.closable,v=void 0===_||_,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,j=e.rootClassName,$=a_.useRef(),P=a_.useRef(),N=a_.useRef(),T=qi(a_.useState(i),2),I=T[0],A=T[1],R=Tc(),F=a_.useRef(!1),M=a_.useRef(),L=null;return E&&(L=function(e){F.current?F.current=!1:P.current===e.target&&t(e)}),a_.useEffect((function(){i&&(A(!0),Ii(P.current,document.activeElement)||($.current=document.activeElement))}),[i]),a_.useEffect((function(){return function(){clearTimeout(M.current)}}),[]),a_.createElement("div",fi({className:QJ("".concat(r,"-root"),j)},ac(e,{data:!0})),a_.createElement(Rc,{prefixCls:r,visible:k&&i,motionName:Ic(r,x,S),style:Si({zIndex:o},D),maskProps:O}),a_.createElement("div",fi({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===y$.ESC)return e.stopPropagation(),void t(e);i&&e.keyCode===y$.TAB&&N.current.changeActive(!e.shiftKey)},className:QJ("".concat(r,"-wrap"),p),ref:P,onClick:L,style:Si(Si({zIndex:o},d),{},{display:I?null:"none"})},f),a_.createElement(q$,fi({},e,{onMouseDown:function(){clearTimeout(M.current),F.current=!0},onMouseUp:function(){M.current=setTimeout((function(){F.current=!1}))},ref:N,closable:v,ariaId:R,prefixCls:r,visible:i&&I,onClose:t,onVisibleChanged:function(e){if(e)Ii(P.current,document.activeElement)||null===(t=N.current)||void 0===t||t.focus();else{if(A(!1),k&&$.current&&u){try{$.current.focus({preventScroll:!0})}catch(kQ){}$.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 a=arguments.length>3&&void 0!==r?r:gJ.createElement(n0,null);const i=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(!i)return[!1,null];const s="boolean"==typeof t||null==t?a: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=a)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 Gc(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 a(i){if(i&&i.length)n(i);else{var s=r;r+=1,s=a||n<0||n>=a?e:(r=e[t],(o=t-n)>0?[].concat(ki(e.slice(0,n)),[r],ki(e.slice(n,t)),ki(e.slice(t+1,a))):o<0?[].concat(ki(e.slice(0,t)),ki(e.slice(t+1,n+1)),[r],ki(e.slice(n+1,a))):e)}function uu(e,t,n,r,o,a){return"function"==typeof e?e(t,n,"source"in a?{source:a.source}:{}):r!==o}function du(e){var t=e.name,n=Ea(e,bP),r=a_.useContext(K$),o=a_.useContext(Y$),a=void 0!==t?ou(t):void 0,i="keep";return n.isListField||(i="_".concat((a||[]).join("_"))),a_.createElement(_P,fi({key:i,name:a,isListField:!!o},n,{fieldContext:r}))}function pu(e){return e.map((function(e){return"".concat(xa(e),":").concat(e)})).join(wP)}function fu(e){var t,n=a_.useRef(),r=qi(a_.useState({}),2)[1];return n.current||(e?n.current=e:(t=new SP((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,a,i,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&&i&&e.onCancel.apply(e,[()=>{}].concat(ki(n.slice(1))));for(let e=0;e{const e=il(),{getPrefixCls:a,getIconPrefixCls:l,getTheme:c}=VZ(),u=a(void 0,J2),d=r||`${u}-modal`,p=l(),f=c();let m=i;!1===m&&(m=void 0),hc(a_.createElement(Y2,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),a=0;a{"function"==typeof e.afterClose&&e.afterClose(),t.apply(this,o)}}),i.visible&&delete i.visible,n(i)}const o=document.createDocumentFragment();let a,i=Object.assign(Object.assign({},e),{close:r,open:!0});return n(i),Q2.push(r),{destroy:r,update:function(e){i="function"==typeof e?e(i):Object.assign(Object.assign({},i),e),n(i)}}}function vu(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=a_.useRef(null),[t,n]=a_.useState([]);a_.useEffect((()=>{t.length&&(ki(t).forEach((e=>{e()})),n([]))}),[t]);const r=a_.useCallback((t=>function(r){var o;t5+=1;const a=a_.createRef();let i;const s=a_.createElement(e5,{key:`modal-${t5}`,config:t(r),ref:a,afterClose:()=>{null==i||i()}});return i=null===(o=e.current)||void 0===o?void 0:o.patchElement(s),i&&Q2.push(i),{destroy:()=>{function e(){var e;null===(e=a.current)||void 0===e||e.destroy()}a.current?e():n((t=>[].concat(ki(t),[e])))},update:e=>{function t(){var t;null===(t=a.current)||void 0===t||t.update(e)}a.current?t():n((e=>[].concat(ki(e),[t])))}}}),[]);return[a_.useMemo((()=>({info:r(wu),success:r(ku),error:r(xu),warning:r(vu),confirm:r(Su)})),[]),a_.createElement(n5,{key:"modal-holder",ref:e})]}function Eu(e,t){return null===t||!1===t?null:t||a_.createElement("span",{className:`${e}-close-x`},a_.createElement(n0,{className:`${e}-close-icon`}))}function Du(e){const t=a_.useRef(null);return[a_.useMemo((()=>{const n=n=>{var r;if(!t.current)return;const{open:o,prefixCls:a,hashId:i,notification:s}=t.current,l=`${a}-notice`,{message:c,description:u,icon:d,type:p,btn:f,className:m,style:g,role:h="alert",closeIcon:b}=n,y=TP(n,["message","description","icon","type","btn","className","style","role","closeIcon"]),_=Eu(l,b);return o(Object.assign(Object.assign({placement:null!==(r=null==e?void 0:e.placement)&&void 0!==r?r:l5},y),{content:a_.createElement(s5,{prefixCls:l,icon:d,type:p,message:c,description:u,btn:f,role:h}),className:QJ(p&&`${l}-${p}`,i,m,null==s?void 0:s.className),style:Object.assign(Object.assign({},null==s?void 0:s.style),g),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}),[]),a_.createElement(c5,Object.assign({key:"notification-holder"},e,{ref:t}))]}function Ou(e){return Du(e)}function ju(e){var t=arguments.length>0&&void 0!==e?e:250,n=a_.useRef(null),r=a_.useRef(null);return a_.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 $u(e,t){function n(e){f(m,e)}var r,o,a,i,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,_=e.order,v=e.component,w=void 0===v?"div":v,k=Ea(e,AP),x=d&&!y;return a_.useEffect((function(){return function(){n(null)}}),[]),r=u&&c!==RP?u(c):b,l||(o={opacity:x?0:1,height:x?0:RP,overflowY:x?"hidden":RP,order:d?_:RP,pointerEvents:x?"none":RP,position:x?"absolute":RP}),a={},x&&(a["aria-hidden"]=!0),i=a_.createElement(w,fi({className:QJ(!l&&s,g),style:Si(Si({},o),h)},a,k,{ref:t}),r),d&&(i=a_.createElement(oj,{onResize:function(e){n(e.offsetWidth)},disabled:p},i)),i}function Pu(e,t){var n=qi(a_.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=a_.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=a_.useMemo((function(){return b.slice(pe?ae+1:ge.length)}),[b,ge,pe,ae]),be=a_.useCallback((function(e,t){var n;return"function"==typeof v?v(e):null!==(n=v&&(null==e?void 0:e[v]))&&void 0!==n?n:t}),[v]),ye=a_.useCallback(y||function(e){return e},[y]);return UD((function(){var e,t,r,a,i;if(z&&"number"==typeof ue&&ge){if(e=Q,r=(t=ge.length)-1,!t)return void n(0,null);for(a=0;az){n(a-1,e-i-Q+X);break}}j&&o(0)+Q>z&&te(null)}}),[z,H,X,Q,be,ge]),i={},null!==ee&&pe&&(i={position:"absolute",left:ee,top:0}),s={prefixCls:ce,responsive:pe,component:N,invalidate:fe},l=_?function(e,t){var n=be(e,t);return a_.createElement(MP.Provider,{key:n,value:Si(Si({},s),{},{order:t,item:e,itemKey:n,registerSize:r,display:t<=ae})},_(e,t))}:function(e,t){var n=be(e,t);return a_.createElement(FP,fi({},s,{order:t,key:n,item:e,renderItem:ye,itemKey:n,registerSize:r,display:t<=ae}))},u={order:(a=se&&!!he.length)?ae:Number.MAX_SAFE_INTEGER,className:"".concat(ce,"-rest"),registerSize:function(e,t){K(t),V(X)},display:a},O?O&&(c=a_.createElement(MP.Provider,{value:Si(Si({},s),u)},O(he))):(d=D||Nu,c=a_.createElement(FP,fi({},s,u),"function"==typeof d?d(he):d)),p=a_.createElement(P,fi({className:QJ(!fe&&g,C),style:S,ref:t},I),ge.map(l),me?c:null,j&&a_.createElement(FP,fi({},s,{responsive:de,responsiveDisabled:!pe,order:ae,className:"".concat(ce,"-suffix"),registerSize:function(e,t){J(t)},display:!0,style:i}),j)),de&&(p=a_.createElement(oj,{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(xa(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 qu(e,t){var n=Si({},e);return(t||[]).forEach((function(e){var t,r,o,a,i,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,a=t.borderTopWidth,i=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(a),g=Wu(i),v=(p-f-(h=Wu(s))-(b=Wu(l)))*(y=Uu(Math.round(c.width/p*1e3)/1e3)),w=(u-d-m-g)*(_=Uu(Math.round(c.height/u*1e3)/1e3)),k=m*_,x=g*_,S=h*y,C=b*y,E=0,D=0,"clip"===r&&(E=(O=Wu(o))*y,D=O*_),P=(j=c.x+S-E)+c.width+2*E-S-C-v,N=($=c.y+k-D)+c.height+2*D-k-x-w,n.left=Math.max(n.left,j),n.top=Math.max(n.top,$),n.right=Math.min(n.right,P),n.bottom=Math.min(n.bottom,N))})),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 Gu(e,t){var n=qi(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 Qu(e){var t,n,r,o,a,i,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=a_.useRef();return l&&l.points?(t={position:"absolute"},!1!==l.autoArrow&&(a=(n=l.points[0])[1],i=(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,a!==i&&["l","r"].includes(a)?"l"===a?t.left=0:t.right=0:t.left=m),a_.createElement("div",{ref:b,className:QJ("".concat(s,"-arrow"),d),style:t},p)):null}function Ju(e){var t=e.prefixCls,n=e.zIndex;return e.mask?a_.createElement(zZ,fi({},e.motion,{motionAppear:!0,visible:e.open,removeOnLeave:!0}),(function(e){var r=e.className;return a_.createElement("div",{style:{zIndex:n},className:QJ("".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=Si({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return $i(!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(!a_.isValidElement(e)||!e.type)return null;var r=e.type.isSelectOptGroup,o=e.key,a=e.props,i=a.children,s=Ea(a,yN);return n||!r?function(e){var t=e.key,n=e.props,r=n.value;return Si({key:t,value:void 0!==r?r:t,children:n.children},Ea(n,bN))}(e):Si(Si({key:"__RC_SELECT_GRP__".concat(null===o?t:o,"__"),label:o},s),{},{options:rd(i)})})).filter((function(e){return e}))}function od(e){var t,n=a_.useRef();return n.current=e,t=a_.useCallback((function(){return n.current.apply(n,arguments)}),[]),t}function ad(e){return"touches"in e?e.touches[0].pageY:e.pageY}function id(e){var t=e.children,n=e.setRef,r=a_.useCallback((function(e){n(e)}),[]);return a_.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,a,i,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,j=e.itemHeight,$=e.fullHeight,P=void 0===$||$,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=Ea(e,EN),W=!(!1===R||!O||!j),q=W&&T&&j*T.length>O,V=qi(a_.useState(0),2),G=V[0],X=V[1],K=qi(a_.useState(!1),2),Y=K[0],Q=K[1],J=QJ(E,Ca({},"".concat(E,"-rtl"),"rtl"===F),D),Z=T||DN,ee=a_.useRef(),te=a_.useRef(),ne=a_.useRef(),re=a_.useCallback((function(e){return"function"==typeof A?A(e):null==e?void 0:e[A]}),[A]),oe={getKey:re},ae=a_.useRef({start:0,end:Z.length}),ie=a_.useRef(),se=function(e,t){var n=qi(a_.useState(e),2),r=n[0],o=n[1],a=qi(a_.useState(null),2),i=a[0],s=a[1];return a_.useEffect((function(){var n=function(e,t,n){function r(e){return void 0!==e?n(e):i}var o,a,i,s,l,c,u,d=e.length,p=t.length;if(0===d&&0===p)return null;for(d=G&&void 0===n&&(n=i,r=t),u>G+O&&void 0===o&&(o=i),t=u;return void 0===n&&(n=0,r=0,o=Math.ceil(O/j)),void 0===o&&(o=Z.length-1),{scrollHeight:t,start:n,end:o=Math.min(o+1,Z.length),offset:r}}),[q,W,G,Z,o[3],O])).scrollHeight,d=l.end,p=l.offset,ae.current.start=u=l.start,ae.current.end=d,(m=a_.useRef(f=c-O)).current=f,b=y5(g=G<=0,h=G>=f),y=function(e,t,r){var o=a_.useRef(0),a=a_.useRef(null),i=a_.useRef(null),s=a_.useRef(!1),l=y5(t,r);return[function(t){if(e){cj.cancel(a.current);var r=t.deltaY;o.current+=r,i.current=r,l(r)||(SN||t.preventDefault(),a.current=cj((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===i.current)}]}(W,g,h),_=qi(y,2),v=_[0],w=_[1],function(e,t,n){var r=a_.useRef(!1),o=a_.useRef(0),a=a_.useRef(null),i=a_.useRef(null),s=function(e){var t,a;r.current&&(t=Math.ceil(e.touches[0].pageY),a=o.current-t,o.current=t,n(a)&&e.preventDefault(),clearInterval(i.current),i.current=setInterval((function(){(!n(a*=CN,!0)||Math.abs(a)<=.1)&&clearInterval(i.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),a.current=e.target,a.current.addEventListener("touchmove",s),a.current.addEventListener("touchend",l))},u=function(){a.current&&(a.current.removeEventListener("touchmove",s),a.current.removeEventListener("touchend",l))};UD((function(){return e&&t.current.addEventListener("touchstart",c),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",c),u(),clearInterval(i.current)}}),[e])}(W,ee,(function(e,t){return!b(e,t)&&(v({preventDefault:function(){},deltaY:e}),!0)})),UD((function(){function e(e){W&&e.preventDefault()}return ee.current.addEventListener("wheel",v),ee.current.addEventListener("DOMMouseScroll",w),ee.current.addEventListener("MozMousePixelScroll",e),function(){ee.current&&(ee.current.removeEventListener("wheel",v),ee.current.removeEventListener("DOMMouseScroll",w),ee.current.removeEventListener("MozMousePixelScroll",e))}}),[W]),k=function(e,t,n,r,o,a,i){var s=a_.useRef();return function(l){var c,u,d,p,f;null!=l?(cj.cancel(s.current),"number"==typeof l?i(l):l&&"object"===xa(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,_=0,v=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=_-p;break;case"bottom":C=v-m+p;break;default:_<(E=e.current.scrollTop)?h="top":v>E+m&&(h="bottom")}null!==C&&C!==e.current.scrollTop&&i(C)}s.current=cj((function(){g&&a(),l(d-1,h)}),2)}}(3))):null===(f=ne.current)||void 0===f||f.delayHidden()}}(ee,Z,s,j,re,i,n),a_.useImperativeHandle(t,(function(){return{scrollTo:k}})),UD((function(){if(B){var e=Z.slice(u,d+1);B(e,Z)}}),[u,d,Z]),x=function(e,t,n,r,o,a){var i=a.getKey;return e.slice(t,n+1).map((function(e,n){var a=o(e,t+n,{}),s=i(e);return a_.createElement(id,{key:s,setRef:function(t){return r(e,t)}},a)}))}(Z,u,d,a,I,oe),S=null,O&&(S=Si(Ca({},P?"height":"maxHeight",O),ON),W&&(S.overflowY="hidden",Y&&(S.pointerEvents="none"))),a_.createElement("div",fi({style:Si(Si({},N),{},{position:"relative"}),className:J},U),a_.createElement(L,{className:"".concat(E,"-holder"),style:S,ref:ee,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==G&&n(t),null==z||z(e)}},a_.createElement(wN,{prefixCls:E,height:c,offset:p,onInnerResize:i,ref:te,innerProps:H},x)),W&&a_.createElement(kN,{ref:ne,prefixCls:E,scrollTop:G,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 QJ({[`${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`,a=e.controlHeightSM,[i]=P5(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:i-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:`${a}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:a,marginTop:2,marginBottom:2,lineHeight:a-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-i,"\n &-input,\n &-mirror\n ":{height:a,fontFamily:e.fontFamily,lineHeight:`${a}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,a=e.controlHeight-2*e.lineWidth,i=Math.ceil(1.25*e.fontSize);return{[`${n}-single${t?`${n}-${t}`:""}`]:{fontSize:e.fontSize,[`${n}-selector`]:Object.assign(Object.assign({},EZ(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:`${a}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${a}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:i},[`&${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:a},"&:after":{lineHeight:`${a}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=q5(V5(e));return gJ.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}))},a=window.matchMedia(n);a.addListener(o),this.matchHandlers[n]={mql:a,listener:o},o(a)}))},responsiveMap:t}}),[e])}function md(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,a=e.className,i=e.style;return a_.createElement("div",{className:QJ("".concat(n,"-content"),a),style:i},a_.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof t?t():t))}function gd(e){const t=X5,{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:a,boxShadowPopoverArrow:i}=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"},SZ(r,o,a,s,i)),{"&: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?lZ.includes(e):[].concat(ki(a4),ki(lZ)).includes(e)}function _d(e,t){const n=yd(t),r=QJ({[`${e}-${t}`]:t&&n}),o={},a={};return t&&!n&&(o.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:a}}function vd(e,t){var n,r,o,a,i,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,_=void 0===y?"bottomLeft":y,v=e.placements,w=void 0===v?JN:v,k=e.getPopupContainer,x=e.showAction,S=e.hideAction,C=e.overlayClassName,E=e.overlayStyle,D=e.visible,O=e.trigger,j=void 0===O?["hover"]:O,$=e.autoFocus,P=e.overlay,N=e.children,T=e.onVisibleChange,I=Ea(e,ZN),A=qi(gJ.useState(),2),R=A[1],F="visible"in e?D:A[0],M=gJ.useRef(null),L=gJ.useRef(null),z=gJ.useRef(null);return gJ.useImperativeHandle(t,(function(){return M.current})),function(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,a=e.overlayRef,i=a_.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=a.current)||void 0===e||!e.focus||(a.current.focus(),i.current=!0,0))},c=function(e){switch(e.keyCode){case GN:s();break;case XN:var t=!1;i.current||(t=l()),t?e.preventDefault():s()}};a_.useEffect((function(){return t?(window.addEventListener("keydown",c),o&&cj(l,3),function(){window.removeEventListener("keydown",c),i.current=!1}):function(){i.current=!1}}),[t])}({visible:F,triggerRef:z,onVisibleChange:r=function(e){R(e),null==T||T(e)},autoFocus:$,overlayRef:L}),o=function(t){var n=e.onOverlayClick;R(!1),n&&n(t)},a=function(){return gJ.createElement(KN,{ref:L,overlay:P,prefixCls:m,arrow:p})},i=function(){return"function"==typeof P?a:a()},s=function(){return"minOverlayWidthMatchTrigger"in e?e.minOverlayWidthMatchTrigger:!e.alignPoint},l=gJ.cloneElement(N,{className:QJ(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===j.indexOf("contextMenu")||(c=["click"]),gJ.createElement(b5,fi({builtinPlacements:w},I,{prefixCls:m,ref:M,popupClassName:QJ(C,Ca({},"".concat(m,"-show-arrow"),p)),popupStyle:E,action:j,showAction:x,hideAction:c,popupPlacement:_,popupAlign:b,popupTransitionName:g,popupAnimation:h,popupVisible:F,stretch:s()?"minWidth":"",popup:i(),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(a_.useContext(eT),e)}function xd(e){var t=e.children,n=e.locked,r=Ea(e,tT),o=a_.useContext(nT),a=Ei((function(){return e=r,t=Si({},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]&&Pi(e[1],t[1],!0))}));return a_.createElement(nT.Provider,{value:a},t)}function Sd(){return a_.useContext(oT)}function Cd(e){var t=a_.useContext(aT);return a_.useMemo((function(){return void 0!==e?[].concat(ki(t),[e]):t}),[t,e])}function Ed(e,t){var n,r,o,a,i,s=arguments.length>1&&void 0!==t&&t;return!!S0(e)&&(n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),a=Number(o),i=null,o&&!Number.isNaN(a)?i=a:r&&null===i&&(i=0),r&&e.disabled&&(i=null),null!==i&&(i>=0||s&&i<0))}function Dd(e,t){var n=function(e,t){var n=arguments.length>1&&void 0!==t&&t,r=ki(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,a,i,s=arguments.length>3&&void 0!==r?r:1;return e?(a=(o=Dd(e,t)).length,i=o.findIndex((function(e){return n===e})),s<0?-1===i?i=a-1:i-=1:s>0&&(i+=1),o[i=(i+a)%a]):null}function jd(e){var t,n=a_.useRef(e);return n.current=e,t=a_.useCallback((function(){var e,t,r,o;for(t=arguments.length,r=new Array(t),o=0;o1&&(a.motionAppear=!1),i=a.onVisibleChanged,a.onVisibleChanged=function(e){return y.current||e||r(!0),null==i?void 0:i(e)},n?null:a_.createElement(xd,{mode:d,locked:!y.current},a_.createElement(zZ,fi({visible:o},a,{forceRender:m,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),(function(e){return a_.createElement(PT,{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),a=Sd();return a_.useEffect((function(){if(a)return a.registerPath(t,r),function(){a.unregisterPath(t,r)}}),[r]),a_.createElement(aT.Provider,{value:r},a?o:a_.createElement(MT,e,o))}function zd(e){var t=e.children,n=Ea(e,zT),r=Ad(t,Cd(n.eventKey));return Sd()?r:a_.createElement(BT,Qs(n,["warnKey"]),r)}function Bd(e){var t=e.className,n=e.style,r=a_.useContext(nT).prefixCls;return Sd()?null:a_.createElement("li",{className:QJ("".concat(r,"-item-divider"),t),style:n})}function Hd(e){return(e||[]).map((function(e,t){var n,r,o,a,i,s,l;return e&&"object"===xa(e)?(r=(n=e).label,o=n.children,a=n.key,i=n.type,s=Ea(n,HT),l=null!=a?a:"tmp-".concat(t),o||"group"===i?a_.createElement("group"===i?zd:Ld,fi({key:l},s,{title:r}),Hd(o)):"divider"===i?a_.createElement(Bd,fi({key:l},s)):a_.createElement(d4,fi({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:a,type:i}=n,s=GT(n,["label","children","key","type"]),l=null!=a?a:`tmp-${t}`;return o||"group"===i?a_.createElement("group"===i?zd:h4,Object.assign({key:l},s,{title:r}),Wd(o)):"divider"===i?a_.createElement(f4,Object.assign({key:l},s)):a_.createElement(g4,Object.assign({key:l},s),r)}return null})).filter((e=>e))}function qd(e){return a_.useMemo((()=>e?Wd(e):e),[e])}function Vd(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 Gd(e){return e&&"object"==typeof e?e:{}}function Xd(e){var t=e.id,n=e.activeKey,r=e.animated,o=e.tabPosition,a=e.destroyInactiveTabPane,i=a_.useContext(d3),s=i.prefixCls,l=i.tabs,c=r.tabPane,u="".concat(s,"-tabpane");return a_.createElement("div",{className:QJ("".concat(s,"-content-holder"))},a_.createElement("div",{className:QJ("".concat(s,"-content"),"".concat(s,"-content-").concat(o),Ca({},"".concat(s,"-content-animated"),c))},l.map((function(e){var o=e.key,i=e.forceRender,s=e.style,l=e.className,d=Ea(e,YT),p=o===n;return a_.createElement(zZ,fi({key:o,visible:p,forceRender:i,removeOnLeave:!!a,leavedClassName:"".concat(u,"-hidden")},r.tabPaneMotion),(function(e,n){var r=e.style,a=e.className;return a_.createElement(KT,fi({},d,{prefixCls:u,id:t,tabKey:o,animated:c,active:p,style:Si(Si({},s),r),className:QJ(l,a),ref:n}))}))}))))}function Kd(e,t){var n=a_.useRef(e),r=qi(a_.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=qi(a_.useState(0),2),n=t[0],r=t[1],o=a_.useRef(0),a=a_.useRef();return a.current=e,WD((function(){var e;null===(e=a.current)||void 0===e||e.call(a)}),[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,rI)}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?a_.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,a=r.length;for(t=0;tze?ze:e}function r(){u(Date.now())}function o(){window.clearTimeout(s.current)}function a(){cj.cancel(D.current)}var i,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=a_.useContext(d3),z=L.prefixCls,B=L.tabs,H=e.className,U=e.style,W=e.id,q=e.animated,V=e.activeKey,G=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=a_.useRef(),re=a_.useRef(),oe=a_.useRef(),ae=a_.useRef(),ie=a_.useRef(),se=a_.useRef(),le=a_.useRef(),ce="top"===Q||"bottom"===Q,ue=qi(Kd(0,(function(e,t){ce&&te&&te({direction:e>t?"left":"right"})})),2),de=ue[0],pe=ue[1],fe=qi(Kd(0,(function(e,t){!ce&&te&&te({direction:e>t?"top":"bottom"})})),2),me=fe[0],ge=fe[1],he=qi(a_.useState([0,0]),2),be=he[0],ye=he[1],_e=qi(a_.useState([0,0]),2),ve=_e[0],we=_e[1],ke=qi(a_.useState([0,0]),2),xe=ke[0],Se=ke[1],Ce=qi(a_.useState([0,0]),2),Ee=Ce[0],De=Ce[1],Oe=(I=new Map,A=a_.useRef([]),R=qi(a_.useState({}),2)[1],F=a_.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()}]),je=qi(Oe,2),$e=je[1],Pe=function(e,t,n){return a_.useMemo((function(){var n,r,o,a,i,s,l=new Map,c=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||QT,u=c.left+c.width;for(r=0;ri?(o=n,g.current="x"):(o=r,g.current="y"),t(-o,-o)&&e.preventDefault()}},a_.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)}}),[])}(ae,(function(e,t){function a(e,t){e((function(e){return n(e+t)}))}return!!Re&&(ce?a(pe,e):a(ge,t),o(),r(),!0)})),a_.useEffect((function(){return o(),c&&(s.current=window.setTimeout((function(){u(0)}),100)),o}),[c]),d=function(e,t,n,r,o,a,i){var s,l,c,u=i.tabs,d=i.tabPosition,p=i.rtl;return["top","bottom"].includes(d)?(s="width",l=p?"right":"left",c=Math.abs(n)):(s="height",l="top",c=-n),a_.useMemo((function(){var n,r,o,a,i,d;if(!u.length)return[0,0];for(r=n=u.length,o=0;oc+t){r=o-1;break}for(i=0,d=n-1;d>=0;d-=1)if((e.get(u[d].key)||nI)[l]=r?[0,0]:[i,r]}),[e,t,r,o,a,c,d,u.map((function(e){return e.key})).join("_"),p])}(Pe,Fe,ce?de:me,Te,Ie,Ae,Si(Si({},e),{},{tabs:B})),f=(p=qi(d,2))[0],m=p[1],g=Nl((function(e){var t,r,o=Pe.get(arguments.length>0&&void 0!==e?e:V)||{width:0,height:0,left:0,right:0,top:0};ce?(t=de,G?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[G?"marginRight":"marginLeft"]=J:h.marginTop=J,b=B.map((function(e,t){var n=e.key;return a_.createElement(np,{id:W,prefixCls:z,key:n,tab:e,style:0===t?void 0:h,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(){g(n),r(),ae.current&&(G||(ae.current.scrollLeft=0),ae.current.scrollTop=0)}})})),y=function(){return $e((function(){var e=new Map;return B.forEach((function(t){var n,r=t.key,o=null===(n=ie.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}))},a_.useEffect((function(){y()}),[B.map((function(e){return e.key})).join("_")]),_=Yd((function(){var e,t,n,r=aI(ne),o=aI(re),a=aI(oe);ye([r[0]-o[0]-a[0],r[1]-o[1]-a[1]]),e=aI(le),Se(e),t=aI(se),De(t),n=aI(ie),we([n[0]-e[0],n[1]-e[1]]),y()})),v=B.slice(0,f),w=B.slice(m+1),k=[].concat(ki(v),ki(w)),S=(x=qi(a_.useState(),2))[0],C=x[1],E=Pe.get(V),D=a_.useRef(),a_.useEffect((function(){var e={};return E&&(ce?(G?e.right=E.right:e.left=E.left,e.width=E.width):(e.top=E.top,e.height=E.height)),a(),D.current=cj((function(){C(e)})),a}),[E,ce,G]),a_.useEffect((function(){g()}),[V,Le,ze,Qd(E),Qd(Pe),ce]),a_.useEffect((function(){_()}),[G]),O=!!k.length,j="".concat(z,"-nav-wrap"),ce?G?(P=de>0,$=de!==ze):($=de<0,P=de!==Le):(N=me<0,T=me!==Le),a_.createElement(oj,{onResize:_},a_.createElement("div",{ref:Hs(t,ne),role:"tablist",className:QJ("".concat(z,"-nav"),H),style:U,onKeyDown:function(){r()}},a_.createElement(oI,{ref:re,position:"left",extra:X,prefixCls:z}),a_.createElement("div",{className:QJ(j,(i={},Ca(i,"".concat(j,"-ping-left"),$),Ca(i,"".concat(j,"-ping-right"),P),Ca(i,"".concat(j,"-ping-top"),N),Ca(i,"".concat(j,"-ping-bottom"),T),i)),ref:ae},a_.createElement(oj,{onResize:_},a_.createElement("div",{ref:ie,className:"".concat(z,"-nav-list"),style:{transform:"translate(".concat(de,"px, ").concat(me,"px)"),transition:c?"none":void 0}},b,a_.createElement(p3,{ref:le,prefixCls:z,locale:Y,editable:K,style:Si(Si({},0===b.length?void 0:h),{},{visibility:O?"hidden":null})}),a_.createElement("div",{className:QJ("".concat(z,"-ink-bar"),Ca({},"".concat(z,"-ink-bar-animated"),q.inkBar)),style:S})))),a_.createElement(f3,fi({},e,{removeAriaLabel:null==Y?void 0:Y.removeAriaLabel,ref:se,prefixCls:z,tabs:k,className:!O&&Me,tabMoving:!!c})),a_.createElement(oI,{ref:oe,position:"right",extra:X,prefixCls:z})))}function op(e){var t=e.renderTabBar,n=Ea(e,sI),r=a_.useContext(d3).tabs;return t?t(Si(Si({},n),{},{panes:r.map((function(e){var t=e.label,n=e.key,r=Ea(e,lI);return a_.createElement(KT,fi({tab:t,key:n,tabKey:n},r))}))}),m3):a_.createElement(m3,n)}function ap(e,t){var n,r,o,a,i,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,_=e.direction,v=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,j=e.locale,$=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=Ea(e,cI),z=a_.useMemo((function(){return(y||[]).filter((function(e){return e&&"object"===xa(e)&&"key"in e}))}),[y]),B="rtl"===_,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}:Si({inkBar:!0},"object"===xa(n)?n:{})).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(x),U=qi(a_.useState(!1),2),W=U[0],q=U[1];return a_.useEffect((function(){q(h5())}),[]),r=qi(Al((function(){var e;return null===(e=z[0])||void 0===e?void 0:e.key}),{value:v,defaultValue:w}),2),o=r[0],a=r[1],i=qi(a_.useState((function(){return z.findIndex((function(e){return e.key===o}))})),2),s=i[0],l=i[1],a_.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)),a(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=qi(Al(null,{value:m}),2))[0],d=c[1],a_.useEffect((function(){m||(d("rc-tabs-".concat(uI)),uI+=1)}),[]),f=Si(Si({},p={id:u,activeKey:o,animated:H,tabPosition:C,rtl:B,mobile:W}),{},{editable:k,locale:j,moreIcon:$,moreTransitionName:P,tabBarGutter:E,onTabClick:function(e,t){null==A||A(e,t);var n=e!==o;a(e),n&&(null==I||I(e))},onTabScroll:R,extra:O,style:D,panes:null,getPopupContainer:F,popupClassName:M}),a_.createElement(d3.Provider,{value:{tabs:z,prefixCls:h}},a_.createElement("div",fi({ref:t,id:m,className:QJ(h,"".concat(h,"-").concat(C),(n={},Ca(n,"".concat(h,"-mobile"),W),Ca(n,"".concat(h,"-editable"),k),Ca(n,"".concat(h,"-rtl"),B),n),b)},L),void 0,a_.createElement(op,fi({},f,{renderTabBar:T})),a_.createElement(Xd,fi({destroyInactiveTabPane:N},p,{animated:H}))))}function ip(e,t){const[n,r]=a_.useState("string"==typeof e?e:"");return a_.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?"":(a=(o=up(e)).negativeStr,i=o.integerStr,s=o.decimalStr,l="".concat(t).concat(s),c="".concat(a).concat(i),n>=0?(u=Number(s[n]))>=5&&!d?hp(gp(e).add("".concat(a,"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 _p(e,t,n,r){var o,a;if(n)return o=t,"click"===t.type?(a=e.cloneNode(!0),o=Object.create(t,{target:{value:a},currentTarget:{value:a}}),a.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 vp(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,a,i,s,l=e.prefixCls,c=e.upNode,u=e.downNode,d=e.upDisabled,p=e.downDisabled,f=e.onStep,m=a_.useRef(),g=a_.useRef([]),h=a_.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,jI)}),$I)},a_.useEffect((function(){return function(){t(),g.current.forEach((function(e){return cj.cancel(e)}))}}),[]),OI()?null:(r="".concat(l,"-handler"),o=QJ(r,"".concat(r,"-up"),Ca({},"".concat(r,"-up-disabled"),d)),a=QJ(r,"".concat(r,"-down"),Ca({},"".concat(r,"-down-disabled"),p)),s={unselectable:"on",role:"button",onMouseUp:i=function(){return g.current.push(cj(t))},onMouseLeave:i},a_.createElement("div",{className:"".concat(r,"-wrap")},a_.createElement("span",fi({},s,{onMouseDown:function(e){n(e,!0)},"aria-label":"Increase Value","aria-disabled":d,className:o}),c||a_.createElement("span",{unselectable:"on",className:"".concat(l,"-handler-up-inner")})),a_.createElement("span",fi({},s,{onMouseDown:function(e){n(e,!1)},"aria-label":"Decrease Value","aria-disabled":p,className:a}),u||a_.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=a_.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 a_.useEffect((()=>(t&&r(),()=>n.current.forEach((e=>{e&&clearTimeout(e)})))),[]),r}function Cp(e,t){return ki(e||"").slice(0,t).join("")}function Ep(e,t,n,r){var o=n;return e?o=Cp(n,r):ki(t||"").lengthr&&(o=t),o}function Dp(e){return"string"==typeof e&&String(Number(e))===e?($i(!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,a,i,s,l,c,u,d,p,f,m,g,h,b,y,_=e.prefixCls,v=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,j=e.zIndex,$=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,q=e.onMouseOver,V=e.onMouseLeave,G=e.onClick,X=e.onKeyDown,K=e.onKeyUp,Y=a_.useRef(),Q=a_.useRef(),J=a_.useRef();if(a_.useImperativeHandle(t,(function(){return Y.current})),i=function(e){var t,n,r=e.keyCode,o=e.shiftKey;switch(r){case y$.TAB:r===y$.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 y$.ESC:U&&E&&(e.stopPropagation(),U(e))}},a_.useEffect((function(){var e;v&&C&&(null===(e=Y.current)||void 0===e||e.focus({preventScroll:!0}))}),[v]),l=(s=qi(a_.useState(!1),2))[0],c=s[1],u=a_.useContext(KI),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=a_.useMemo((function(){return{pushDistance:d,push:function(){c(!0)},pull:function(){c(!1)}}}),[d]),a_.useEffect((function(){var e,t;v?null==u||null===(e=u.push)||void 0===e||e.call(u):null==u||null===(t=u.pull)||void 0===t||t.call(u)}),[v]),a_.useEffect((function(){return function(){var e;null==u||null===(e=u.pull)||void 0===e||e.call(u)}}),[]),f=F&&a_.createElement(zZ,fi({key:"mask"},L,{visible:v}),(function(e,t){var n=e.className,r=e.style;return a_.createElement("div",{className:QJ("".concat(_,"-mask"),n,z),style:Si(Si({},r),B),onClick:M&&v?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:q,onMouseLeave:V,onClick:G,onKeyDown:X,onKeyUp:K},b=a_.createElement(zZ,fi({key:"panel"},m,{visible:v,forceRender:S,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(_,"-content-wrapper-hidden")}),(function(t,n){var r=t.className,o=t.style;return a_.createElement("div",fi({className:QJ("".concat(_,"-content-wrapper"),r),style:Si(Si(Si({},g),o),R)},ac(e,{data:!0})),a_.createElement(YI,fi({containerRef:n,prefixCls:_,className:$,style:P},h),A))})),y=Si({},O),j&&(y.zIndex=j),a_.createElement(KI.Provider,{value:p},a_.createElement("div",{className:QJ(_,"".concat(_,"-").concat(w),D,(a={},Ca(a,"".concat(_,"-open"),v),Ca(a,"".concat(_,"-inline"),k),a)),style:y,tabIndex:-1,ref:Y,onKeyDown:i},f,a_.createElement("div",{tabIndex:0,ref:Q,style:QI,"aria-hidden":"true","data-sentinel":"start"}),b,a_.createElement("div",{tabIndex:0,ref:J,style:QI,"aria-hidden":"true","data-sentinel":"end"})))}function jp(e){const[t,n]=a_.useState(e);return a_.useEffect((()=>{const t=setTimeout((()=>{n(e)}),e.length?0:10);return()=>{clearTimeout(t)}}),[e]),t}function $p(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=R6,warnings:o=R6,className:a,fieldId:i,onVisibleChanged:s}=e;const{prefixCls:l}=a_.useContext(Z1),c=`${l}-item-explain`,[,u]=A6(l),d=a_.useMemo((()=>k1(l)),[l]),p=jp(r),f=jp(o),m=a_.useMemo((()=>null!=t?[$p(t,"help",n)]:[].concat(ki(p.map(((e,t)=>$p(e,"error","error",t)))),ki(f.map(((e,t)=>$p(e,"warning","warning",t)))))),[t,n,p,f]),g={};return i&&(g.id=`${i}_help`),a_.createElement(zZ,{motionDeadline:d.motionDeadline,motionName:`${l}-show-help`,visible:!!m.length,onVisibleChanged:s},(e=>{const{className:t,style:n}=e;return a_.createElement("div",Object.assign({},g,{className:QJ(c,t,a,u),style:n,role:"alert"}),a_.createElement(BZ,Object.assign({keys:m},k1(l),{motionName:`${l}-show-help-item`,component:!1}),(e=>{const{key:t,error:n,errorStatus:r,className:o,style:a}=e;return a_.createElement("div",{key:t,className:QJ(o,{[`${c}-${r}`]:r}),style:a},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}`:F6.includes(n)?`${M6}_${n}`:n}function Ip(e){return Np(e).join("_")}function Ap(e){const[t]=fu(),n=a_.useRef({}),r=a_.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),a=o?document.getElementById(o):null;a&&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(f0(e,t));var n;const r="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:o,top:a,left:i}of f0(e,m0(t)))o.scroll({top:a,left:i,behavior:r})}(a,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:a,errors:i,warnings:s,validateStatus:l,meta:c,hasFeedback:u,hidden:d,children:p,fieldId:f,required:m,isRequired:g,onSubItemMetaChange:h}=e,b=oA(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),y=`${t}-item`,{requiredMark:_}=a_.useContext(Y1),v=a_.useRef(null),w=jp(i),k=jp(s),x=null!=a,S=!!(x||i.length||s.length),C=!!v.current&&S0(v.current),[E,D]=a_.useState(null);UD((()=>{if(S&&v.current){const e=getComputedStyle(v.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}(),j=a_.useMemo((()=>{let e;if(u){const t=O&&q6[O];e=t?a_.createElement("span",{className:QJ(`${y}-feedback-icon`,`${y}-feedback-icon-${O}`)},a_.createElement(t,null)):null}return{status:O,errors:i,warnings:s,hasFeedback:u,feedbackIcon:e,isFormItemInput:!0}}),[O,u]),$=QJ(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 a_.createElement("div",{className:$,style:o,ref:v},a_.createElement(R3,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"])),a_.createElement(W6,Object.assign({htmlFor:f},e,{requiredMark:_,required:null!=m?m:g,prefixCls:t})),a_.createElement(U6,Object.assign({},e,c,{errors:w,warnings:k,prefixCls:t,status:O,help:a,marginBottom:E,onErrorVisibleChanged:e=>{e||D(null)}}),a_.createElement(Q1.Provider,{value:h},a_.createElement(e2.Provider,{value:j},p)))),!!E&&a_.createElement("div",{className:`${y}-margin-offset`,style:{marginBottom:-E}}))}function Fp(){if(!Y6){const e=document.createDocumentFragment(),t={fragment:e};return Y6=t,void Q6((()=>{hc(a_.createElement(e8,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Fp())}))}}),e)}))}Y6.instance&&(J6.forEach((e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":Q6((()=>{const t=Y6.instance.open(Object.assign(Object.assign({},Z6),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)}));break;case"destroy":Q6((()=>{null==Y6||Y6.instance.destroy(e.key)}));break;default:Q6((()=>{var n;const r=(n=Y6.instance)[t].apply(n,ki(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)}))}})),J6=[])}function Mp(e){return _u(vu(e))}function Lp(){if(!i8){const e=document.createDocumentFragment(),t={fragment:e};return i8=t,void s8((()=>{hc(a_.createElement(u8,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Lp())}))}}),e)}))}i8.instance&&(l8.forEach((e=>{switch(e.type){case"open":s8((()=>{i8.instance.open(Object.assign(Object.assign({},c8),e.config))}));break;case"destroy":s8((()=>{null==i8||i8.instance.destroy(e.key)}))}})),l8=[])}function zp(e){l8.push({type:"open",config:e}),Lp()}function Bp(e){var t,n,r=e.prefixCls,o=e.containerRef,a=e.value,i=e.getValueIndex,s=e.motionName,l=e.onMotionStart,c=e.onMotionEnd,u=e.direction,d=a_.useRef(null),p=qi(a_.useState(a),2),f=p[0],m=p[1],g=function(e){var t,n=i(e),a=null===(t=o.current)||void 0===t?void 0:t.querySelectorAll(".".concat(r,"-item"))[n];return(null==a?void 0:a.offsetParent)&&a},h=qi(a_.useState(null),2),b=h[0],y=h[1],_=qi(a_.useState(null),2),v=_[0],w=_[1];return UD((function(){var e,t,n,r;f!==a&&(e=g(f),t=g(a),n=sA(e),r=sA(t),m(a),y(n),w(r),e&&t?l():c())}),[a]),t=a_.useMemo((function(){return lA("rtl"===u?-(null==b?void 0:b.right):null==b?void 0:b.left)}),[u,b]),n=a_.useMemo((function(){return lA("rtl"===u?-(null==v?void 0:v.right):null==v?void 0:v.left)}),[u,v]),b&&v?a_.createElement(zZ,{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 a=e.className,i=Si(Si({},e.style),{},{"--thumb-start-left":t,"--thumb-start-width":lA(null==b?void 0:b.width),"--thumb-active-left":n,"--thumb-active-width":lA(null==v?void 0:v.width)}),s={ref:Bs(d,o),style:i,className:QJ("".concat(r,"-thumb"),a)};return a_.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 qp(e,t,n,r){var o=Wp(t,n,r),a={};switch(e){case"rtl":a.right="".concat(100*o,"%"),a.transform="translateX(50%)";break;case"btt":a.bottom="".concat(100*o,"%"),a.transform="translateY(50%)";break;case"ttb":a.top="".concat(100*o,"%"),a.transform="translateY(-50%)";break;default:a.left="".concat(100*o,"%"),a.transform="translateX(-50%)"}return a}function Vp(e,t){return Array.isArray(e)?e[t]:e}function Gp(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,a=e.index,i=e.onStartMove,s=a_.useContext(fA),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&&i&&i(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 a_.createElement("div",{className:QJ(f,p&&"".concat(f,"-").concat(a+1)),style:Si(Si({},b),n),onMouseDown:h,onTouchStart:h})}function Kp(e){var t=e.prefixCls,n=e.style,r=e.values,o=e.startPoint,a=e.onStartMove,i=a_.useContext(fA),s=i.included,l=i.range,c=i.min,u=a_.useMemo((function(){var e,t,n,a;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=[],a=0;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&o<1?(s=a,l=i):o>=1&&o<2?(s=i,l=a):o>=2&&o<3?(l=a,c=i):o>=3&&o<4?(l=i,c=a):o>=4&&o<5?(s=i,c=a):o>=5&&o<6&&(s=a,c=i),r(s+(u=n-a/2),l+u,c+u))}function Rf(e){var t,n,r,o,a,i,s,l,c,u,d;if("string"!=typeof e)throw new _F(3);if(t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return vF[t]?"#"+vF[t]:e}(e),t.match(wF))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(kF))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(xF))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(SF))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=CF.exec(t))return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};if(a=EF.exec(t.substring(0,50)))return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};if(i=DF.exec(t)){if(s="rgb("+Af(parseInt(""+i[1],10),parseInt(""+i[2],10)/100,parseInt(""+i[3],10)/100)+")",!(l=CF.exec(s)))throw new _F(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}if(c=OF.exec(t.substring(0,50))){if(u="rgb("+Af(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",!(d=CF.exec(u)))throw new _F(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 _F(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 jF("#"+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 jF("#"+Ff(e)+Ff(t)+Ff(n));if("object"==typeof e&&void 0===t&&void 0===n)return jF("#"+Ff(e.red)+Ff(e.green)+Ff(e.blue));throw new _F(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 _F(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 qf(e,t){if("transparent"===t)return t;var n=function(e){return function(e){var t,n,r,o=e.red/255,a=e.green/255,i=e.blue/255,s=Math.max(o,a,i),l=Math.min(o,a,i),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=(a-i)/n+(a=1?zf(e.hue,e.saturation,e.lightness):"rgba("+Af(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new _F(2)}(e);if(NF(e))return function(e){if("object"==typeof e)return zf(e.hue,e.saturation,e.lightness);throw new _F(1)}(e);throw new _F(8)}(fi({},n,{hue:n.hue+parseFloat(e)}))}function Vf(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 Gf(e,t,n,r){var o,a,i,s,l;return void 0===t&&(t=AF),void 0===n&&(n=RF),void 0===r&&(r=!0),a=(o=Vf(e)>.179)?t:n,!r||(i=a,s=Vf(e),l=Vf(i),parseFloat((s>l?(s+.05)/(l+.05):(l+.05)/(s+.05)).toFixed(2))>=4.5)?a:o?AF:RF}function Xf(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 Kf(e){var t,n;for(t=1;t0)&&!(r=n.next()).done;)o.push(r.value)}catch(s){a={error:s}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(a)throw a.error}}return o}function rm(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o=48&&e<=57}function wm(e){return`${m7}${e}`}async function km(e){const t=[],n=await async function(e){const t=wm(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then((e=>e.text()))}(e);let r;try{r=JSON.parse(n)}catch(kQ){if(r=f7(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return r}async function xm(e){const t=Sm(await km(e));if(t.include){const n=await xm(bm(...hm(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 Sm(e){const t={name:e.name,type:e.type||"dark",...e,...Cm(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 Cm(e){var t,n,r,o;let a,i,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)&&(a=l.settings.foreground),(null==(n=null==l?void 0:l.settings)?void 0:n.background)&&(i=l.settings.background),!a&&(null==(r=null==e?void 0:e.colors)?void 0:r["editor.foreground"])&&(a=e.colors["editor.foreground"]),!i&&(null==(o=null==e?void 0:e.colors)?void 0:o["editor.background"])&&(i=e.colors["editor.background"]),a||(a="light"===e.type?b7.light:b7.dark),i||(i="light"===e.type?y7.light:y7.dark),{fg:a,bg:i}}function Em(e,t){let n=[];for(let r=0,o=t.length;r=0&&a>=0;)Dm(t[o],r[a])&&o--,a--;return-1===o}function jm(e,t,n){let r=[],o=0;for(let a=0,i=e.settings.length;ae.trim()));else{if(!Array.isArray(s.scope))continue;i=s.scope}for(let e=0,a=i.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 Nm(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)mH[r]&&t.push({type:"setDecoration",value:mH[r]});else if(r<=29){const e=mH[r-20];e&&t.push({type:"resetDecoration",value:e})}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:fH[r-30]}});else if(38===r){const n=Pm(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:fH[r-40]}});else if(48===r){const n=Pm(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:fH[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:fH[r-100+8]}})}return t}function Tm(e,t={}){function n(e="",t={},n){const r=a[e]||v7[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??[]),a=t.elements||{};return n("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${r}`},[t.langId?`
${t.langId}
`:"",n("code",{},e.map(((r,a)=>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(a+1)??[]).join(" "),lines:e,line:r,index:a},r.map(((e,o)=>{const a=[`color: ${e.color||t.fg}`];return e.fontStyle&sH.Italic&&a.push("font-style: italic"),e.fontStyle&sH.Bold&&a.push("font-weight: bold"),e.fontStyle&sH.Underline&&a.push("text-decoration: underline"),n("token",{style:a.join("; "),tokens:r,token:e,index:o},[(i=e.content,i.replace(/[&<>"']/g,(e=>w7[e])))]);var i}))))))])}function Im(e){return"string"==typeof e?d7.find((t=>{var n;return t.id===e||(null==(n=t.aliases)?void 0:n.includes(e))})):e}async function Am(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:a}=function(e){const t=u.getGrammar(e);if(!t)throw Error(`No language registration for ${e}`);return{_grammar:t}}(n),{_theme:i,_colorMap:s}=t(r);return function(e,t,n,r,o){let a=n.split(/\r\n|\r|\n/),i=iH.INITIAL,s=[],l=[];for(let c=0,u=a.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 a=0;do{const i=$m(r,a),s=i.sequence?r.substring(a,i.startPosition):r.substring(a);if(s.length>0&&o.push({value:s,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const r=Nm(i.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)}a=i.position}while(ao.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=sH.None;return t.decorations.has("bold")&&(o|=sH.Bold),t.decorations.has("italic")&&(o|=sH.Italic),t.decorations.has("underline")&&(o|=sH.Underline),{content:t.value,color:n,fontStyle:o}}))))}(r,e)}var o,a;const{_languages:i,_themes:s,_wasmPath:l}=function(e){var t;let n=d7,r=e.themes||[],o=(null==(t=e.paths)?void 0:t.wasm)?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":g7;return e.langs&&(n=e.langs.map(Im)),e.theme&&r.unshift(e.theme),r.length||(r=["nord"]),{_languages:n,_themes:r,_wasmPath:o}}(e),c=new _7(async function(e){if(!h7){let t;t=oH.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(wm(bm(...hm(e),"onig.wasm")))}),h7=t.then((()=>({createOnigScanner:e=>oH.createOnigScanner(e),createOnigString:e=>oH.createOnigString(e)})))}return h7}(l),"vscode-oniguruma"),u=new k7(c);(null==(o=e.paths)?void 0:o.themes)&&(u.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),(null==(a=e.paths)?void 0:a.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(i);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=Im(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}}}function Rm(e){var t,n=e.getSnapshot;e=e.value;try{return t=n(),!wH(e,t)}catch(r){return!0}}function Fm(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 Mm(e){var t,n;for(t=1;t=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,a=!1,{s:function(){s=s.call(e)},n:function(){var e=s.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==s.return||s.return()}finally{if(a)throw i}}}}function _g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n52;t=t/52|0)n=Yq(t%52)+n;return(Yq(t%52)+n).replace(Kq,"$1-$2")}function jg(e){return"string"==typeof e&&!0}function $g(e){return("type"in(t=e)&&t.type.$$typeof)===tV?aV:"$$typeof"in e?iV[e.$$typeof]:rV;var t}function Pg(e,t,n){var r,o,a,i,s,l,c;if("string"!=typeof t)for(pV&&(r=dV(t))&&r!==pV&&Pg(e,r,n),o=lV(t),cV&&(o=o.concat(cV(t))),a=$g(e),i=$g(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}function zg(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=zg(e.children,t)),e}))}function Bg(){return a_.useContext(IV)}function Hg(e){var t,n,r;for(t="",n=0;n>>0)}("6.0.5"+f+HV[f])),d?"".concat(d,"-").concat(p):p):_;return void 0===t.displayName&&function(e){jg(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e),r=t.displayName&&t.componentId?"".concat(Dg(t.displayName),"-").concat(t.componentId):t.componentId||v,o=m&&g.attrs?g.attrs.concat(y).filter(Boolean):y,a=t.shouldForwardProp,m&&g.shouldForwardProp&&(i=g.shouldForwardProp,t.shouldForwardProp?(s=t.shouldForwardProp,a=function(e,t){return i(e,t)&&s(e,t)}):a=i),l=new zV(n,r,m?g.componentStyle:void 0),c=gJ.forwardRef((function(e,t){return function(e,t,n){var r,o,a,i,s,l,c=e.attrs,u=e.componentStyle,d=e.defaultProps,p=e.foldedComponentIds,f=e.styledComponentId,m=e.target,g=gJ.useContext(BV),h=Bg(),b=e.shouldForwardProp||h.shouldForwardProp,y=function(e,t,n){var r,o,a,i,s;for(o=tM(tM({},t),{className:void 0,theme:n}),a=0;a{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,c9(e,r))}function Zg(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:a,defaultNS:i}=a_.useContext(h9)||{},s=o||a||f9;if(s&&!s.reportNamespaces&&(s.reportNamespaces=new b9),!s){Yg("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&&Yg("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const l={...m9,...s.options.react,...r},{useSuspense:c,keyPrefix:u}=l;let d=e||i||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],a=!!t.options&&t.options.fallbackLng,i=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)||a&&!s(i,e)))}(e,t,r):(Yg("i18n.languages were undefined or empty",t.languages),!0)}(e,s,l))),[f,m]=a_.useState(n);let g=d.join();r.lng&&(g=`${r.lng}${g}`);const h=(e=>{const t=a_.useRef();return a_.useEffect((()=>{t.current=e}),[e,void 0]),t.current})(g),b=a_.useRef(!0);a_.useEffect((()=>{function e(){b.current&&m(n)}const{bindI18n:t,bindI18nStore:o}=l;return b.current=!0,p||c||(r.lng?Jg(s,r.lng,d,(()=>{b.current&&m(n)})):Qg(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=a_.useRef(!0);a_.useEffect((()=>{b.current&&!y.current&&m(n),y.current=!1}),[s,u]);const _=[f,s,p];if(_.t=f,_.i18n=s,_.ready=p,p)return _;if(!p&&!c)return _;throw new Promise((e=>{r.lng?Jg(s,r.lng,d,(()=>e())):Qg(s,d,(()=>e()))}))}function eh(e){var t,n,r=this;if(r instanceof eh||(r=new eh),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=>!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,a=t.get(n);if(a)return a;const m=this.options.loose;e=e.replace(m?i[s.HYPHENRANGELOOSE]:i[s.HYPHENRANGE],E(this.options.includePrerelease)),o("hyphen replace",e),e=e.replace(i[s.COMPARATORTRIM],l),o("comparator trim",e),e=e.replace(i[s.TILDETRIM],c),o("tilde trim",e),e=e.replace(i[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(i[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 _=[...b.values()];return t.set(n,_),_}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 a(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=v(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=>_(e,t))).join(" "),_=(e,t)=>e.replace(t.loose?i[s.TILDELOOSE]:i[s.TILDE],((t,n,r,a,i)=>{let s;return o("tilde",e,t,n,r,a,i),b(n)?s="":b(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:b(a)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(o("replaceTilde pr",i),s=`>=${n}.${r}.${a}-${i} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${a} <${n}.${+r+1}.0-0`,o("tilde return",s),s})),v=(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?i[s.CARETLOOSE]:i[s.CARET],((t,r,a,i,s)=>{let l;return o("caret",e,t,r,a,i,s),b(r)?l="":b(a)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(i)?l="0"===r?`>=${r}.${a}.0${n} <${r}.${+a+1}.0-0`:`>=${r}.${a}.0${n} <${+r+1}.0.0-0`:s?(o("replaceCaret pr",s),l="0"===r?"0"===a?`>=${r}.${a}.${i}-${s} <${r}.${a}.${+i+1}-0`:`>=${r}.${a}.${i}-${s} <${r}.${+a+1}.0-0`:`>=${r}.${a}.${i}-${s} <${+r+1}.0.0-0`):(o("no pr"),l="0"===r?"0"===a?`>=${r}.${a}.${i}${n} <${r}.${a}.${+i+1}-0`:`>=${r}.${a}.${i}${n} <${r}.${+a+1}.0-0`:`>=${r}.${a}.${i} <${+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?i[s.XRANGELOOSE]:i[s.XRANGE],((n,r,a,i,s,l)=>{o("xRange",e,n,r,a,i,s,l);const c=b(a),u=c||b(i),d=u||b(s);return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(i=0),s=0,">"===r?(r=">=",u?(a=+a+1,i=0,s=0):(i=+i+1,s=0)):"<="===r&&(r="<",u?a=+a+1:i=+i+1),"<"===r&&(l="-0"),n=`${r+a}.${i}.${s}${l}`):u?n=`>=${a}.0.0${l} <${+a+1}.0.0-0`:d&&(n=`>=${a}.${i}.0${l} <${a}.${+i+1}.0-0`),o("xRange return",n),n})),S=(e,t)=>(o("replaceStars",e,t),e.trim().replace(i[s.STAR],"")),C=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(i[t.includePrerelease?s.GTE0PRE:s.GTE0],"")),E=e=>(t,n,r,o,a,i,s,l,c,u,d,p)=>`${n=b(r)?"":b(o)?`>=${r}.0.0${e?"-0":""}`:b(a)?`>=${r}.${o}.0${e?"-0":""}`:i?`>=${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 OG}function rh(){if(PG)return $G;PG=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(" "),i("comparator",r,o),this.options=o,this.loose=!!o.loose,this.parse(r),this.value=this.semver===e?"":this.operator+this.semver.version,i("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(i("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 a(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("="))&&!(a(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(a(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}$G=t;const n=JV,{safeRe:r,t:o}=QV,a=kG,i=YV,s=eG,l=nh();return $G}function oh(e,t){var n,r,o,a,i;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(ah(d)),function(e,t,n){oh(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){oh(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){oh("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(p),o=p(r)}if(e.dispatch(ah(d,o)),null!=(a=m.getSource(r).beginDrag(f,r)))return function(e){oh(sh(e),"Item must be an object.")}(a),m.pinSource(r),i=m.getSourceType(r),{type:XG,payload:{itemType:i,item:a,sourceId:r,clientOffset:d||null,sourceClientOffset:o||null,isSourcePublic:!!u}}}else e.dispatch(ZG)}}function ch(e){return function(){if(e.getMonitor().isDragging())return{type:KG}}}function uh(e,t){return null===t?null===e:Array.isArray(e)?e.some((function(e){return e===t})):e===t}function dh(e){return function(t,n){var r,o,a,i=(arguments.length>1&&void 0!==n?n:{}).clientOffset;return function(e){oh(Array.isArray(e),"Expected targetIds to be an array.")}(t),function(e,t,n){var r,o;for(oh(t.isDragging(),"Cannot call hover while not dragging."),oh(!t.didDrop(),"Cannot call hover after drop."),r=0;r=0;r--)uh(t.getTargetType(e[r]),n)||e.splice(r,1)}(r,a,o.getItemType()),function(e,t,n){e.forEach((function(e){n.getTarget(e).hover(t,e)}))}(r,o,a),{type:YG,payload:{targetIds:r,clientOffset:i||null}}}}function ph(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 fh(e){var t,n;for(t=1;t0&&void 0!==t?t:{},o=e.getMonitor(),a=e.getRegistry();!function(e){oh(e.isDragging(),"Cannot call drop while not dragging."),oh(!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 i=function(e,t,n,r){var o=n.getTarget(e),a=o?o.drop(r,e):void 0;return function(e){oh(void 0===e||sh(e),"Drop result must either be an object or undefined.")}(a),void 0===a&&(a=0===t?{}:r.getDropResult()),a}(t,n,a,o),s={type:QG,payload:{dropResult:fh(fh({},r),i)}};e.dispatch(s)}))}}function hh(e){return function(){var t,n=e.getMonitor(),r=e.getRegistry();return function(e){oh(e.isDragging(),"Cannot call endDrag while not dragging.")}(n),null!=(t=n.getSourceId())&&(r.getSource(t,!0).endDrag(n,t),r.unpinSource()),{type:JG}}}function bh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yh(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 _h(e,t,n,r){function o(){p===d&&(p=d.slice())}function a(){if(f)throw new Error(yh(3));return u}function i(e){if("function"!=typeof e)throw new Error(yh(4));if(f)throw new Error(yh(5));var t=!0;return o(),p.push(e),function(){if(t){if(f)throw new Error(yh(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(yh(7));if(void 0===e.type)throw new Error(yh(8));if(f)throw new Error(yh(9));try{f=!0,u=c(u,e)}finally{f=!1}for(t=d=p,n=0;n0&&void 0!==e?e:aX,a=arguments.length>1?t:void 0,i=a.payload;switch(a.type){case GG:case XG:return{initialSourceClientOffset:i.sourceClientOffset,initialClientOffset:i.clientOffset,clientOffset:i.clientOffset};case YG:return r=i.clientOffset,!(n=o.clientOffset)&&!r||n&&r&&n.x===r.x&&n.y===r.y?o:wh(wh({},o),{},{clientOffset:i.clientOffset});case JG:case QG:return aX;default:return o}}function Sh(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 Ch(e){var t,n;for(t=1;t0&&void 0!==e?e:uX,a=arguments.length>1?t:void 0,i=a.payload;switch(a.type){case XG:return Ch(Ch({},o),{},{itemType:i.itemType,item:i.item,sourceId:i.sourceId,isSourcePublic:i.isSourcePublic,dropResult:null,didDrop:!1});case KG:return Ch(Ch({},o),{},{isSourcePublic:!0});case YG:return Ch(Ch({},o),{},{targetIds:i.targetIds});case cX:return-1===o.targetIds.indexOf(i.targetId)?o:Ch(Ch({},o),{},{targetIds:(n=o.targetIds,r=i.targetId,n.filter((function(e){return e!==r})))});case QG:return Ch(Ch({},o),{},{dropResult:i.dropResult,didDrop:!0,targetIds:[]});case JG:return Ch(Ch({},o),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return o}}function Oh(e,t){var n=arguments.length>0&&void 0!==e?e:0;switch((arguments.length>1?t:void 0).type){case iX:case sX:return n+1;case lX:case cX:return n-1;default:return n}}function jh(e,t){var n,r,o,a,i,s,l,c,u,d=arguments.length>1?t:void 0;switch(d.type){case YG:break;case iX:case sX:case cX:case lX:return dX;default:return pX}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,i=void 0===(a=n.prevTargetIds)?[]:a)).length>0||!function(e,t,n){var r,o=arguments.length>2&&void 0!==n?n:oX;if(e.length!==t.length)return!1;for(r=0;r0&&void 0!==e?e:0)+1}function Ph(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 Nh(e){var t,n;for(t=1;t0&&void 0!==e?e:{},a=arguments.length>1?t:void 0;return{dirtyHandlerIds:jh(o.dirtyHandlerIds,{type:a.type,payload:Nh(Nh({},a.payload),{},{prevTargetIds:(n=o,r=[],"dragOperation.targetIds".split(".").reduce((function(e,t){return e&&e[t]?e[t]:r||null}),n))})}),dragOffset:xh(o.dragOffset,a),refCount:Oh(o.refCount,a),dragOperation:Dh(o.dragOperation,a),stateId:$h(o.stateId)}}function Ah(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Rh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fh(e){return(Fh="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 Mh(e,t){t&&Array.isArray(e)?e.forEach((function(e){return Mh(e,!1)})):oh("string"==typeof e||"symbol"===Fh(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 Lh(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}const n=setTimeout(t,0),r=setInterval(t,50)}}function zh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bh(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,i=arguments.length>2&&void 0!==n?n:{},s=(o="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__,_h(Ih,arguments.length>3&&void 0!==r&&r&&o&&o({name:"dnd-core",instanceId:"dnd-core"}))),l=new fX(s,new gX(s)),c=new eX(s,l),u=e(c,a,i);return c.receiveBackend(u),c}function qh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==t?t:null,i=arguments.length>1&&void 0!==n?n:null;return a_.isValidElement(a)?(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=a),function(e,t){var n=e.ref;return oh("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"),a_.cloneElement(e,n?{ref:function(e){Yh(n,e),Yh(t,e)}}:{ref:t})}(o,i?function(t){return e(t,i)}:e)):(e(r=a,i),r)}}(o),t[n]=function(){return r})})),t}function Yh(e,t){"function"==typeof e?e(t):e.current=t}function Qh(e){return(Qh="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 Jh(e){return null!==e&&"object"===Qh(e)&&Object.prototype.hasOwnProperty.call(e,"current")}function Zh(e,t,n,r){var o,a,i,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),a=Object.keys(t),o.length!==a.length)return!1;for(i=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 ey(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ty(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 ny(e){var t,n;for(t=1;tNumber(e)-Number(t))).map((t=>e[t])):e}function _y(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function vy(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 wy(e){const t=(e=_y(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function ky(e,t){gy((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),a="string"==typeof n&&!o&&by(n,e).includes(e.arrayFormatSeparator);n=a?by(n,e):n;const i=o||a?n.split(e.arrayFormatSeparator).map((t=>by(t,e))):null===n?n:by(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const o=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!o)return void(r[t]=n?by(n,e):n);const a=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>by(t,e)));r[t]=void 0!==r[t]?[...r[t],...a]:a};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[a,i]=fy(e,"=");void 0===a&&(a=e),i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:by(i,t),n(by(a,t),i,r)}for(const[o,a]of Object.entries(r))if("object"==typeof a&&null!==a)for(const[e,n]of Object.entries(a))a[e]=vy(n,t);else r[o]=vy(a,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)?yy(n):n,e}),Object.create(null))}function xy(e,t){if(!e)return"";gy((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const n=n=>t.skipNull&&mne(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,[hy(t,e),"[",o,"]"].join("")]:[...n,[hy(t,e),"[",hy(o,e),"]=",hy(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[hy(t,e),"[]"].join("")]:[...n,[hy(t,e),"[]=",hy(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,[hy(t,e),":list="].join("")]:[...n,[hy(t,e),":list=",hy(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?[[hy(n,e),t,hy(o,e)].join("")]:[[r,hy(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,hy(t,e)]:[...n,[hy(t,e),"=",hy(r,e)].join("")]}}(t),o={};for(const[i,s]of Object.entries(e))n(i)||(o[i]=s);const a=Object.keys(o);return!1!==t.sort&&a.sort(t.sort),a.map((n=>{const o=e[n];return void 0===o?"":null===o?hy(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?hy(n,t)+"[]":o.reduce(r(n),[]).join("&"):hy(n,t)+"="+hy(o,t)})).filter((e=>e.length>0)).join("&")}function Sy(e,t){var n;t={decode:!0,...t};let[r,o]=fy(e,"#");return void 0===r&&(r=e),{url:(null==(n=null==r?void 0:r.split("?"))?void 0:n[0])??"",query:ky(wy(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:by(o,t)}:{}}}function Cy(e,t){t={encode:!0,strict:!0,[hne]:!0,...t};const n=_y(e.url).split("?")[0]||"";let r=xy({...ky(wy(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[hne]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${o}`}function Ey(e,t,n){n={parseFragmentIdentifier:!0,[hne]:!1,...n};const{url:r,query:o,fragmentIdentifier:a}=Sy(e,n);return Cy({url:r,query:my(o,t),fragmentIdentifier:a},n)}function Dy(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}function Oy(e){return null==e?"":""+e}function jy(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}const a="string"!=typeof t?[].concat(t):t.split(".");for(;a.length>1;){if(o())return{};const t=r(a.shift());!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{}}return o()?{}:{obj:e,k:r(a.shift())}}function $y(e,t,n){const{obj:r,k:o}=jy(e,t,Object);r[o]=n}function Py(e,t){const{obj:n,k:r}=jy(e,t);if(n)return n[r]}function Ny(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]):Ny(e[r],t[r],n):e[r]=t[r]);return e}function Ty(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Iy(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>RY[e])):e}function Ay(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 a=e;for(let i=0;ii+e;)e++,n=o.slice(i,i+e).join(r),s=a[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(i+e).join(r);return l?Ay(s,l,r):void 0}a=a[o[i]]}return a}function Ry(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}function Fy(e){return e.charAt(0).toUpperCase()+e.slice(1)}function My(e,t,n,r,o){let a=arguments.length>3&&void 0!==r?r:".",i=!(arguments.length>4&&void 0!==o)||o,s=function(e,t,n){const r=Py(e,n);return void 0!==r?r:Py(t,n)}(e,t,n);return!s&&i&&"string"==typeof n&&(s=Ay(e,n,a),void 0===s&&(s=Ay(t,n,a))),s}function Ly(e){const t={};return function(n,r,o){const a=r+JSON.stringify(o);let i=t[a];return i||(i=e(Ry(r),o),t[a]=i),i(n)}}function zy(){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 By(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 Hy(){}function Uy(e){return(Uy="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 Wy(e){return LY.call(zY.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}function qy(){return"function"==typeof XMLHttpRequest||"object"===("undefined"==typeof XMLHttpRequest?"undefined":Uy(XMLHttpRequest))}function Vy(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 Gy(e){return(Gy="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 Xy(e){return(Xy="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 Ky(e){var t=function(e){var t,n;if("object"!==Xy(e)||null===e)return e;if(void 0!==(t=e[Symbol.toPrimitive])){if("object"!==Xy(n=t.call(e,"string")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Xy(t)?t:String(t)}var Yy,Qy,Jy,Zy,e_,t_,n_,r_,o_,a_,i_,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_,q_,V_,G_,X_,K_,Y_,Q_,J_,Z_,ev,tv,nv,rv,ov,av,iv,sv,lv,cv,uv,dv,pv,fv,mv,gv,hv,bv,yv,_v,vv,wv,kv,xv,Sv,Cv,Ev,Dv,Ov,jv,$v,Pv,Nv,Tv,Iv,Av,Rv,Fv,Mv,Lv,zv,Bv,Hv,Uv,Wv,qv,Vv,Gv,Xv,Kv,Yv,Qv,Jv,Zv,ew,tw,nw,rw,ow,aw,iw,sw,lw,cw,uw,dw,pw,fw,mw,gw,hw,bw,yw,_w,vw,ww,kw,xw,Sw,Cw,Ew,Dw,Ow,jw,$w,Pw,Nw,Tw,Iw,Aw,Rw,Fw,Mw,Lw,zw,Bw,Hw,Uw,Ww,qw,Vw,Gw,Xw,Kw,Yw,Qw,Jw,Zw,ek,tk,nk,rk,ok,ak,ik,sk,lk,ck,uk,dk,pk,fk,mk,gk,hk,bk,yk,_k,vk,wk,kk,xk,Sk,Ck,Ek,Dk,Ok,jk,$k,Pk,Nk,Tk,Ik,Ak,Rk,Fk,Mk,Lk,zk,Bk,Hk,Uk,Wk,qk,Vk,Gk,Xk,Kk,Yk,Qk,Jk,Zk,ex,tx,nx,rx,ox,ax,ix,sx,lx,cx,ux,dx,px,fx,mx,gx,hx,bx,yx,_x,vx,wx,kx,xx,Sx,Cx,Ex,Dx,Ox,jx,$x,Px,Nx,Tx,Ix,Ax,Rx,Fx,Mx,Lx,zx,Bx,Hx,Ux,Wx,qx,Vx,Gx,Xx,Kx,Yx,Qx,Jx,Zx,eS,tS,nS,rS,oS,aS,iS,sS,lS,cS,uS,dS,pS,fS,mS,gS,hS,bS,yS,_S,vS,wS,kS,xS,SS,CS,ES,DS,OS,jS,$S,PS,NS,TS,IS,AS,RS,FS,MS,LS,zS,BS,HS,US,WS,qS,VS,GS,XS,KS,YS,QS,JS,ZS,eC,tC,nC,rC,oC,aC,iC,sC,lC,cC,uC,dC,pC,fC,mC,gC,hC,bC,yC,_C,vC,wC,kC,xC,SC,CC,EC,DC,OC,jC,$C,PC,NC,TC,IC,AC,RC,FC,MC,LC,zC,BC,HC,UC,WC,qC,VC,GC,XC,KC,YC,QC,JC,ZC,eE,tE,nE,rE,oE,aE,iE,sE,lE,cE,uE,dE,pE,fE,mE,gE,hE,bE,yE,_E,vE,wE,kE,xE,SE,CE,EE,DE,OE,jE,$E,PE,NE,TE,IE,AE,RE,FE,ME,LE,zE,BE,HE,UE,WE,qE,VE,GE,XE,KE,YE,QE,JE,ZE,eD,tD,nD,rD,oD,aD,iD,sD,lD,cD,uD,dD,pD,fD,mD,gD,hD,bD,yD,_D,vD,wD,kD,xD,SD,CD,ED,DD,OD,jD,$D,PD,ND,TD,ID,AD,RD,FD,MD,LD,zD,BD,HD,UD,WD,qD,VD,GD,XD,KD,YD,QD,JD,ZD,eO,tO,nO,rO,oO,aO,iO,sO,lO,cO,uO,dO,pO,fO,mO,gO,hO,bO,yO,_O,vO,wO,kO,xO,SO,CO,EO,DO,OO,jO,$O,PO,NO,TO,IO,AO,RO,FO,MO,LO,zO,BO,HO,UO,WO,qO,VO,GO,XO,KO,YO,QO,JO,ZO,ej,tj,nj,rj,oj,aj,ij,sj,lj,cj,uj,dj,pj,fj,mj,gj,hj,bj,yj,_j,vj,wj,kj,xj,Sj,Cj,Ej,Dj,Oj,jj,$j,Pj,Nj,Tj,Ij,Aj,Rj,Fj,Mj,Lj,zj,Bj,Hj,Uj,Wj,qj,Vj,Gj,Xj,Kj,Yj,Qj,Jj,Zj,e$,t$,n$,r$,o$,a$,i$,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$,q$,V$,G$,X$,K$,Y$,Q$,J$,Z$,eP,tP,nP,rP,oP,aP,iP,sP,lP,cP,uP,dP,pP,fP,mP,gP,hP,bP,yP,_P,vP,wP,kP,xP,SP,CP,EP,DP,OP,jP,$P,PP,NP,TP,IP,AP,RP,FP,MP,LP,zP,BP,HP,UP,WP,qP,VP,GP,XP,KP,YP,QP,JP,ZP,eN,tN,nN,rN,oN,aN,iN,sN,lN,cN,uN,dN,pN,fN,mN,gN,hN,bN,yN,_N,vN,wN,kN,xN,SN,CN,EN,DN,ON,jN,$N,PN,NN,TN,IN,AN,RN,FN,MN,LN,zN,BN,HN,UN,WN,qN,VN,GN,XN,KN,YN,QN,JN,ZN,eT,tT,nT,rT,oT,aT,iT,sT,lT,cT,uT,dT,pT,fT,mT,gT,hT,bT,yT,_T,vT,wT,kT,xT,ST,CT,ET,DT,OT,jT,$T,PT,NT,TT,IT,AT,RT,FT,MT,LT,zT,BT,HT,UT,WT,qT,VT,GT,XT,KT,YT,QT,JT,ZT,eI,tI,nI,rI,oI,aI,iI,sI,lI,cI,uI,dI,pI,fI,mI,gI,hI,bI,yI,_I,vI,wI,kI,xI,SI,CI,EI,DI,OI,jI,$I,PI,NI,TI,II,AI,RI,FI,MI,LI,zI,BI,HI,UI,WI,qI,VI,GI,XI,KI,YI,QI,JI,ZI,eA,tA,nA,rA,oA,aA,iA,sA,lA,cA,uA,dA,pA,fA,mA,gA,hA,bA,yA,_A,vA,wA,kA,xA,SA,CA,EA,DA,OA,jA,$A,PA,NA,TA,IA,AA,RA,FA,MA,LA,zA,BA,HA,UA,WA,qA,VA,GA,XA,KA,YA,QA,JA,ZA,eR,tR,nR,rR,oR,aR,iR,sR,lR,cR,uR,dR,pR,fR,mR,gR,hR,bR,yR,_R,vR,wR,kR,xR,SR,CR,ER,DR,OR,jR,$R,PR,NR,TR,IR,AR,RR,FR,MR,LR,zR,BR,HR,UR,WR,qR,VR,GR,XR,KR,YR,QR,JR,ZR,eF,tF,nF,rF,oF,aF,iF,sF,lF,cF,uF,dF,pF,fF,mF,gF,hF,bF,yF,_F,vF,wF,kF,xF,SF,CF,EF,DF,OF,jF,$F,PF,NF,TF,IF,AF,RF,FF,MF,LF,zF,BF,HF,UF,WF,qF,VF,GF,XF,KF,YF,QF,JF,ZF,eM,tM,nM,rM,oM,aM,iM,sM,lM,cM,uM,dM,pM,fM,mM,gM,hM,bM,yM,_M,vM,wM,kM,xM,SM,CM,EM,DM,OM,jM,$M,PM,NM,TM,IM,AM,RM,FM,MM,LM,zM,BM,HM,UM,WM,qM,VM,GM,XM,KM,YM,QM,JM,ZM,eL,tL,nL,rL,oL,aL,iL,sL,lL,cL,uL,dL,pL,fL,mL,gL,hL,bL,yL,_L,vL,wL,kL,xL,SL,CL,EL,DL,OL,jL,$L,PL,NL,TL,IL,AL,RL,FL,ML,LL,zL,BL,HL,UL,WL,qL,VL,GL,XL,KL,YL,QL,JL,ZL,ez,tz,nz,rz,oz,az,iz,sz,lz,cz,uz,dz,pz,fz,mz,gz,hz,bz,yz,_z,vz,wz,kz,xz,Sz,Cz,Ez,Dz,Oz,jz,$z,Pz,Nz,Tz,Iz,Az,Rz,Fz,Mz,Lz,zz,Bz,Hz,Uz,Wz,qz,Vz,Gz,Xz,Kz,Yz,Qz,Jz,Zz,eB,tB,nB,rB,oB,aB,iB,sB,lB,cB,uB,dB,pB,fB,mB,gB,hB,bB,yB,_B,vB,wB,kB,xB,SB,CB,EB,DB,OB,jB,$B,PB,NB,TB,IB,AB,RB,FB,MB,LB,zB,BB,HB,UB,WB,qB,VB,GB,XB,KB,YB,QB,JB,ZB,eH,tH,nH,rH,oH,aH,iH,sH,lH,cH,uH,dH,pH,fH,mH,gH,hH,bH,yH,_H,vH,wH,kH,xH,SH,CH,EH,DH,OH,jH,$H,PH,NH,TH,IH,AH,RH,FH,MH,LH,zH,BH,HH,UH,WH,qH,VH,GH,XH,KH,YH,QH,JH,ZH,eU,tU,nU,rU,oU,aU,iU,sU,lU,cU,uU,dU,pU,fU,mU,gU,hU,bU,yU,_U,vU,wU,kU,xU,SU,CU,EU,DU,OU,jU,$U,PU,NU,TU,IU,AU,RU,FU,MU,LU,zU,BU,HU,UU,WU,qU,VU,GU,XU,KU,YU,QU,JU,ZU,eW,tW,nW,rW,oW,aW,iW,sW,lW,cW,uW,dW,pW,fW,mW,gW,hW,bW,yW,_W,vW,wW,kW,xW,SW,CW,EW,DW,OW,jW,$W,PW,NW,TW,IW,AW,RW,FW,MW,LW,zW,BW,HW,UW,WW,qW,VW,GW,XW,KW,YW,QW,JW,ZW,eq,tq,nq,rq,oq,aq,iq,sq,lq,cq,uq,dq,pq,fq,mq,gq,hq,bq,yq,_q,vq,wq,kq,xq,Sq,Cq,Eq,Dq,Oq,jq,$q,Pq,Nq,Tq,Iq,Aq,Rq,Fq,Mq,Lq,zq,Bq,Hq,Uq,Wq,qq,Vq,Gq,Xq,Kq,Yq,Qq,Jq,Zq,eV,tV,nV,rV,oV,aV,iV,sV,lV,cV,uV,dV,pV,fV,mV,gV,hV,bV,yV,_V,vV,wV,kV,xV,SV,CV,EV,DV,OV,jV,$V,PV,NV,TV,IV,AV,RV,FV,MV,LV,zV,BV,HV,UV,WV,qV,VV,GV,XV,KV,YV,QV,JV,ZV,eG,tG,nG,rG,oG,aG,iG,sG,lG,cG,uG,dG,pG,fG,mG,gG,hG,bG,yG,_G,vG,wG,kG,xG,SG,CG,EG,DG,OG,jG,$G,PG,NG,TG,IG,AG,RG,FG,MG,LG,zG,BG,HG,UG,WG,qG,VG,GG,XG,KG,YG,QG,JG,ZG,eX,tX,nX,rX,oX,aX,iX,sX,lX,cX,uX,dX,pX,fX,mX,gX,hX,bX,yX,_X,vX,wX,kX,xX,SX,CX,EX,DX,OX,jX,$X,PX,NX,TX,IX,AX,RX,FX,MX,LX,zX,BX,HX,UX,WX,qX,VX,GX,XX,KX,YX,QX,JX,ZX,eK,tK,nK,rK,oK,aK,iK,sK,lK,cK,uK,dK,pK,fK,mK,gK,hK,bK,yK,_K,vK,wK,kK,xK,SK,CK,EK,DK,OK,jK,$K,PK,NK,TK,IK,AK,RK,FK,MK,LK,zK,BK,HK,UK,WK,qK,VK,GK,XK,KK,YK,QK,JK,ZK,eY,tY,nY,rY,oY,aY,iY,sY,lY,cY,uY,dY,pY,fY,mY,gY,hY,bY,yY,_Y,vY,wY,kY,xY,SY,CY,EY,DY,OY,jY,$Y,PY,NY,TY,IY,AY,RY,FY,MY,LY,zY,BY,HY,UY,WY,qY,VY,GY,XY,KY,YY,QY,JY,ZY,eQ,tQ,nQ,rQ,oQ,aQ,iQ,sQ,lQ,cQ,uQ,dQ,pQ,fQ,mQ,gQ,hQ,bQ,yQ,_Q,vQ,wQ,kQ,xQ,SQ,CQ,EQ,DQ,OQ,jQ,$Q,PQ,NQ,TQ,IQ,AQ,RQ,FQ,MQ,LQ,zQ,BQ,HQ,UQ,WQ,qQ,VQ,GQ,XQ,KQ="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},YQ={exports:{}},QQ={},JQ={exports:{}},ZQ={},eJ=Symbol.for("react.element"),tJ=Symbol.for("react.portal"),nJ=Symbol.for("react.fragment"),rJ=Symbol.for("react.strict_mode"),oJ=Symbol.for("react.profiler"),aJ=Symbol.for("react.provider"),iJ=Symbol.for("react.context"),sJ=Symbol.for("react.forward_ref"),lJ=Symbol.for("react.suspense"),cJ=Symbol.for("react.memo"),uJ=Symbol.for("react.lazy"),dJ=Symbol.iterator,pJ={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},fJ=Object.assign,mJ={};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,(Yy=a.prototype=new o).constructor=a,fJ(Yy,r.prototype),Yy.isPureReactComponent=!0,Qy=Array.isArray,Jy=Object.prototype.hasOwnProperty,e_={key:!0,ref:!0,__self:!0,__source:!0},t_=/\/+/g,o_={ReactCurrentDispatcher:n_={current:null},ReactCurrentBatchConfig:r_={transition:null},ReactCurrentOwner:Zy={current:null}},ZQ.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}},ZQ.Component=r,ZQ.Fragment=nJ,ZQ.Profiler=oJ,ZQ.PureComponent=a,ZQ.StrictMode=rJ,ZQ.Suspense=lJ,ZQ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=o_,ZQ.cloneElement=function(e,t,n){var r,o,a,i,s,l,c;if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");if(r=fJ({},e.props),o=e.key,a=e.ref,i=e._owner,null!=t)for(l in void 0!==t.ref&&(a=t.ref,i=Zy.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)Jy.call(t,l)&&!e_.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[a]=r,a=n}function n(e){return 0===e.length?null:e[0]}function r(e){var t,n,r,a,i,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,a=e.length,i=a>>>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 a(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 i(e){if(k=!1,a(e),!w)if(null!==n(g))w=!0,u(s);else{var t=n(h);null!==t&&d(i,t.startTime-e)}}function s(t,o){var s,c,u,p,f;w=!1,k&&(k=!1,S(O),O=-1),v=!0,s=_;try{for(a(o),y=n(g);null!==y&&(!(y.expirationTime>o)||t&&!l());)"function"==typeof(c=y.callback)?(y.callback=null,_=y.priorityLevel,u=c(y.expirationTime<=o),o=e.unstable_now(),"function"==typeof u?y.callback=u:y===n(g)&&r(g),a(o)):r(g),y=n(g);return null!==y?p=!0:(null!==(f=n(h))&&d(i,f.startTime-o),p=!1),p}finally{y=null,_=s,v=!1}}function l(){return!(e.unstable_now()-$e||125c?(r.sortIndex=a,t(h,r),null===n(g)&&r===n(h)&&(k?(S(O),O=-1):k=!0,d(i,a-c))):(r.sortIndex=l,t(g,r),w||v||(w=!0,u(s))),r},e.unstable_shouldYield=l,e.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}}}(h_={}),g_.exports=h_,b_=a_,y_=g_.exports,__=new Set,v_={},w_=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),k_=Object.prototype.hasOwnProperty,x_=/^[: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]*$/,S_={},C_={},E_={},"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){E_[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];E_[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){E_[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){E_[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){E_[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){E_[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){E_[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){E_[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){E_[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)})),D_=/[\-:]([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(D_,b);E_[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(D_,b);E_[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(D_,b);E_[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){E_[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),E_.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){E_[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)})),O_=b_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,j_=Symbol.for("react.element"),$_=Symbol.for("react.portal"),P_=Symbol.for("react.fragment"),N_=Symbol.for("react.strict_mode"),T_=Symbol.for("react.profiler"),I_=Symbol.for("react.provider"),A_=Symbol.for("react.context"),R_=Symbol.for("react.forward_ref"),F_=Symbol.for("react.suspense"),M_=Symbol.for("react.suspense_list"),L_=Symbol.for("react.memo"),z_=Symbol.for("react.lazy"),B_=Symbol.for("react.offscreen"),H_=Symbol.iterator,U_=Object.assign,q_=!1,V_=Array.isArray,nQ=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((G_=G_||document.createElement("div")).innerHTML=""+t.valueOf().toString()+"",t=G_.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},X_="undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t){MSApp.execUnsafeLocalFunction((function(){return nQ(e,t)}))}:nQ,K_={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},Y_=["Webkit","ms","Moz","O"],Object.keys(K_).forEach((function(e){Y_.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),K_[t]=K_[e]}))})),Q_=U_({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}),J_=null,Z_=null,ev=null,tv=null,nv=!1,rv=!1,w_)try{ov={},Object.defineProperty(ov,"passive",{get:function(){rv=!0}}),window.addEventListener("test",ov,ov),window.removeEventListener("test",ov,ov)}catch(nQ){rv=!1}av=!1,iv=null,sv=!1,lv=null,cv={onError:function(e){av=!0,iv=e}},uv=y_.unstable_scheduleCallback,dv=y_.unstable_cancelCallback,pv=y_.unstable_shouldYield,fv=y_.unstable_requestPaint,mv=y_.unstable_now,gv=y_.unstable_getCurrentPriorityLevel,hv=y_.unstable_ImmediatePriority,bv=y_.unstable_UserBlockingPriority,yv=y_.unstable_NormalPriority,_v=y_.unstable_LowPriority,vv=y_.unstable_IdlePriority,wv=null,kv=null,xv=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(Sv(e)/Cv|0)|0},Sv=Math.log,Cv=Math.LN2,Ev=64,Dv=4194304,Ov=0,Iv=!1,Av=[],Rv=null,Fv=null,Mv=null,Lv=new Map,zv=new Map,Bv=[],Hv="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(" "),Uv=O_.ReactCurrentBatchConfig,Wv=!0,qv=null,Vv=null,Gv=null,Xv=null,Kv={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yv=Ae(Kv),Qv=U_({},Kv,{view:0,detail:0}),Jv=Ae(Qv),nw=U_({},Qv,{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!==tw&&(tw&&"mousemove"===e.type?(Zv=e.screenX-tw.screenX,ew=e.screenY-tw.screenY):ew=Zv=0,tw=e),Zv)},movementY:function(e){return"movementY"in e?e.movementY:ew}}),rw=Ae(nw),ow=U_({},nw,{dataTransfer:0}),aw=Ae(ow),iw=U_({},Qv,{relatedTarget:0}),sw=Ae(iw),lw=U_({},Kv,{animationName:0,elapsedTime:0,pseudoElement:0}),cw=Ae(lw),uw=U_({},Kv,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),dw=Ae(uw),pw=U_({},Kv,{data:0}),fw=Ae(pw),mw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gw={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"},hw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},bw=U_({},Qv,{key:function(e){if(e.key){var t=mw[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?gw[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}}),yw=Ae(bw),_w=U_({},nw,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),vw=Ae(_w),ww=U_({},Qv,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fe}),kw=Ae(ww),xw=U_({},Kv,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sw=Ae(xw),Cw=U_({},nw,{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}),Ew=Ae(Cw),Dw=[9,13,27,32],Ow=w_&&"CompositionEvent"in window,jw=null,w_&&"documentMode"in document&&(jw=document.documentMode),$w=w_&&"TextEvent"in window&&!jw,Pw=w_&&(!Ow||jw&&8=jw),Nw=String.fromCharCode(32),Tw=!1,Iw=!1,Aw={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},Rw=null,Fw=null,Mw=!1,w_&&(w_?((zw="oninput"in document)||((Bw=document.createElement("div")).setAttribute("oninput","return;"),zw="function"==typeof Bw.oninput),Lw=zw):Lw=!1,Mw=Lw&&(!document.documentMode||9=document.documentMode,Ww=null,qw=null,Vw=null,Gw=!1,Xw={animationend:at("Animation","AnimationEnd"),animationiteration:at("Animation","AnimationIteration"),animationstart:at("Animation","AnimationStart"),transitionend:at("Transition","TransitionEnd")},Kw={},Yw={},w_&&(Yw=document.createElement("div").style,"AnimationEvent"in window||(delete Xw.animationend.animation,delete Xw.animationiteration.animation,delete Xw.animationstart.animation),"TransitionEvent"in window||delete Xw.transitionend.transition),Qw=it("animationend"),Jw=it("animationiteration"),Zw=it("animationstart"),ek=it("transitionend"),tk=new Map,nk="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(rk=0;rk=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},ZS=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},eC=function(e,t){return!1===(!(arguments.length>1&&void 0!==t)||t)?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},tC=function(e){var t,n=iC(e,FS.TITLE),r=iC(e,"titleTemplate");return r&&n?r.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n})):(t=iC(e,"defaultTitle"),n||t||void 0)},nC=function(e){return iC(e,"onChangeClientState")||function(){}},rC=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return YS({},e,t)}),{})},oC=function(e,t){return t.filter((function(e){return void 0!==e[FS.BASE]})).map((function(e){return e[FS.BASE]})).reverse().reduce((function(t,n){var r,o,a;if(!t.length)for(r=Object.keys(n),o=0;o=0;n--)if((r=e[n]).hasOwnProperty(t))return r[t];return null},sC=function(e){return{baseTag:oC([LS,"target"],e),bodyAttributes:rC(AS,e),defer:iC(e,"defer"),encode:iC(e,"encodeSpecialCharacters"),htmlAttributes:rC(RS,e),linkTags:aC(FS.LINK,[HS,LS],e),metaTags:aC(FS.META,["name","charset","http-equiv","property",BS],e),noscriptTags:aC(FS.NOSCRIPT,[zS],e),onChangeClientState:nC(e),scriptTags:aC(FS.SCRIPT,["src",zS],e),styleTags:aC(FS.STYLE,[MS],e),title:tC(e),titleAttributes:rC("titleAttributes",e)}},oQ=Date.now(),lC=function(e){var t=Date.now();t-oQ>16?(oQ=t,e(t)):setTimeout((function(){lC(e)}),0)},cC=function(e){return clearTimeout(e)},uC="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||lC:global.requestAnimationFrame||lC,dC="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||cC:global.cancelAnimationFrame||cC,pC=function(){return console&&"function"==typeof console.warn&&void 0},fC=null,mC=function(e){fC&&dC(fC),e.defer?fC=uC((function(){gC(e,(function(){fC=null}))})):(gC(e),fC=null)},gC=function(e,t){var n,r,o,a=e.baseTag,i=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;yC(FS.BODY,e.bodyAttributes),yC(FS.HTML,i),bC(f,m),n={baseTag:_C(FS.BASE,a),linkTags:_C(FS.LINK,s),metaTags:_C(FS.META,l),noscriptTags:_C(FS.NOSCRIPT,c),scriptTags:_C(FS.SCRIPT,d),styleTags:_C(FS.STYLE,p)},r={},o={},Object.keys(n).forEach((function(e){var t=n[e],a=t.newTags,i=t.oldTags;a.length&&(r[e]=a),i.length&&(o[e]=n[e].oldTags)})),t&&t(),u(e,r,o)},hC=function(e){return Array.isArray(e)?e.join(""):e},bC=function(e,t){void 0!==e&&document.title!==e&&(document.title=hC(e)),yC(FS.TITLE,t)},yC=function(e,t){var n,r,o,a,i,s,l,c,u,d=document.getElementsByTagName(e)[0];if(d){for(r=(n=d.getAttribute(VS))?n.split(","):[],o=[].concat(r),a=Object.keys(t),i=0;i=0;u--)d.removeAttribute(o[u]);r.length===o.length?d.removeAttribute(VS):d.getAttribute(VS)!==a.join(",")&&d.setAttribute(VS,a.join(","))}},_C=function(e,t){var n=document.head||document.querySelector(FS.HEAD),r=n.querySelectorAll(e+"["+VS+"]"),o=Array.prototype.slice.call(r),a=[],i=void 0;return t&&t.length&&t.forEach((function(t){var n,r=document.createElement(e);for(n in t)t.hasOwnProperty(n)&&(n===zS?r.innerHTML=t.innerHTML:n===MS?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(n,void 0===t[n]?"":t[n]));r.setAttribute(VS,"true"),o.some((function(e,t){return i=t,r.isEqualNode(e)}))?o.splice(i,1):a.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:a}},vC=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}),"")},wC=function(e,t,n,r){var o=vC(n),a=hC(t);return o?"<"+e+" "+VS+'="true" '+o+">"+eC(a,r)+"":"<"+e+" "+VS+'="true">'+eC(a,r)+""},kC=function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===zS||e===MS)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+eC(r[t],n)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",i=-1===qS.indexOf(e);return t+"<"+e+" "+VS+'="true" '+o+(i?"/>":">"+a+"")}),"")},xC=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[US[n]||n]=e[n],t}),n)},SC=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[WS[n]||n]=e[n],t}),n)},CC=function(e,t,n){var r,o=((r={key:t})[VS]=!0,r),a=xC(n,o);return[gJ.createElement(FS.TITLE,a,t)]},EC=function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[VS]=!0,r);return Object.keys(t).forEach((function(e){var n=US[e]||e;n===zS||n===MS?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),gJ.createElement(e,o)}))},DC=function(e,t,n){switch(e){case FS.TITLE:return{toComponent:function(){return CC(0,t.title,t.titleAttributes)},toString:function(){return wC(e,t.title,t.titleAttributes,n)}};case AS:case RS:return{toComponent:function(){return xC(t)},toString:function(){return vC(t)}};default:return{toComponent:function(){return EC(e,t)},toString:function(){return kC(e,t,n)}}}},jC=function(e){var t,n;return n=t=function(t){function n(){return XS(this,n),ZS(this,t.apply(this,arguments))}return QS(n,t),n.prototype.shouldComponentUpdate=function(e){return!wJ(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case FS.SCRIPT:case FS.NOSCRIPT:return{innerHTML:t};case FS.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 YS({},r,((t={})[n.type]=[].concat(r[n.type]||[],[YS({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case FS.TITLE:return YS({},o,((t={})[r.type]=i,t.titleAttributes=YS({},a),t));case FS.BODY:return YS({},o,{bodyAttributes:YS({},a)});case FS.HTML:return YS({},o,{htmlAttributes:YS({},a)})}return YS({},o,((n={})[r.type]=YS({},a),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=YS({},t);return Object.keys(e).forEach((function(t){var r;n=YS({},n,((r={})[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return gJ.Children.forEach(e,(function(e){var o,a,i,s;if(e&&e.props)switch(a=(o=e.props).children,i=JS(o,["children"]),s=SC(i),n.warnOnInvalidChildren(e,a),e.type){case FS.LINK:case FS.META:case FS.NOSCRIPT:case FS.SCRIPT:case FS.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:a})}})),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=JS(t,["children"]),o=YS({},r);return n&&(o=this.mapChildrenToProps(n,o)),gJ.createElement(e,o)},KS(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(gJ.Component),t.propTypes={base:_J.object,bodyAttributes:_J.object,children:_J.oneOfType([_J.arrayOf(_J.node),_J.node]),defaultTitle:_J.string,defer:_J.bool,encodeSpecialCharacters:_J.bool,htmlAttributes:_J.object,link:_J.arrayOf(_J.object),meta:_J.arrayOf(_J.object),noscript:_J.arrayOf(_J.object),onChangeClientState:_J.func,script:_J.arrayOf(_J.object),style:_J.arrayOf(_J.object),title:_J.string,titleAttributes:_J.object,titleTemplate:_J.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=OC({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n},$C=function(){return null},PC=vJ(sC,mC,OC=function(e){var t=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,o=e.linkTags,a=e.metaTags,i=e.noscriptTags,s=e.scriptTags,l=e.styleTags,c=e.title,u=void 0===c?"":c,d=e.titleAttributes;return{base:DC(FS.BASE,e.baseTag,n),bodyAttributes:DC(AS,t,n),htmlAttributes:DC(RS,r,n),link:DC(FS.LINK,o,n),meta:DC(FS.META,a,n),noscript:DC(FS.NOSCRIPT,i,n),script:DC(FS.SCRIPT,s,n),style:DC(FS.STYLE,l,n),title:DC(FS.TITLE,{title:u,titleAttributes:d},n)}})($C),(NC=jC(PC)).renderStatic=NC.rewind,TC={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"},IC=(e,t)=>{const n=a_.forwardRef((({color:n="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:a,children:i,...s},l)=>{return a_.createElement("svg",{ref:l,...TC,width:r,height:r,stroke:n,strokeWidth:a?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])=>a_.createElement(e,t))),...(Array.isArray(i)?i:[i])||[]]);var c}));return n.displayName=`${e}`,n};const xJ=IC("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"}]]),SJ=IC("Bug",[["rect",{width:"8",height:"14",x:"8",y:"6",rx:"4",key:"hq8nra"}],["path",{d:"m19 7-3 2",key:"fmg8ec"}],["path",{d:"m5 7 3 2",key:"dkxqes"}],["path",{d:"m19 19-3-2",key:"1hbhi4"}],["path",{d:"m5 19 3-2",key:"dvt2ee"}],["path",{d:"M20 13h-4",key:"1agfp2"}],["path",{d:"M4 13h4",key:"1bwh8b"}],["path",{d:"m10 4 1 2",key:"1pot59"}],["path",{d:"m14 4-1 2",key:"m8sn0o"}]]),CJ=IC("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),EJ=IC("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),DJ=IC("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),OJ=IC("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),jJ=IC("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"}]]),$J=IC("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"}]]),PJ=IC("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"}]]),NJ=IC("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"}]]),TJ=IC("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),IJ=IC("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"}]]),AJ=IC("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),RJ=IC("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"}]]),FJ=IC("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"}]]),MJ=IC("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"}]]),LJ=IC("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"}]]),zJ=IC("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"}]]),BJ=IC("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"}]]),HJ=IC("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"}]]),UJ=IC("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"}]]),WJ=IC("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"}]]),qJ=IC("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),VJ=IC("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"}]]),GJ=IC("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"}]]);AC=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 BC:e.return=li(e.value,e.length);break;case UC:return ai([za(e,{value:Na(e.value,"@","@"+MC)})],r);case zC: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 ai([za(e,{props:[Na(t,/:(read-\w+)/,":"+FC+"$1")]})],r);case"::placeholder":return ai([za(e,{props:[Na(t,/:(plac\w+)/,":"+MC+"input-$1")]}),za(e,{props:[Na(t,/:(plac\w+)/,":"+FC+"$1")]}),za(e,{props:[Na(t,/:(plac\w+)/,RC+"input-$1")]})],r)}return""}))}}],lE=function(e){var t,n,r,o,a,i,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||sE,r={},a=[],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:bE}},_E=function(e,t,n){var r=e.key+"-"+t.name;!1!==n||void 0!==e.registered[r]||(e.registered[r]=t.styles)},vE=function(e,t,n){var r,o;if(_E(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,a=lE(e);return a.sheet.speedy=function(e){this.isSpeedy=e},a.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,_=f.layer;return a=f.hashPriority,s=void 0===(i=f.transformers)?[]:i,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,i,s,u,d,p,m,_,v=n[t];if("object"!==xa(v)||!v||"animationName"===t&&v._keyframe||function(e){return"object"===xa(e)&&e&&("_skip_check_"in e||kO in e)}(v)){let e=function(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;JD[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,";")};_=null!==(m=null==v?void 0:v.value)&&void 0!==m?m:v,"object"===xa(v)&&null!=v&&v[kO]&&Array.isArray(_)?_.forEach((function(n){e(t,n)})):e(t,_)}else r=!1,i=t.trim(),s=!1,(g||h)&&y?i.startsWith("@")?r=!0:i=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]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(o).concat(r.slice(a.length))].concat(ki(n.slice(1))).join(" ")})).join(",")):e}(t,y,a):!g||y||"&"!==i&&""!==i||(i="",s=!0),d=(u=qi(e(v,f,{root:s,injectHash:r,parentSelectors:[].concat(ki(b),[i])}),2))[0],p=u[1],c=Si(Si({},c),p),l+="".concat(i).concat(d)})))})),g?_&&function(){var e,t,n,r,o,a;return void 0===BD&&(e="@layer ".concat(LD," { .").concat(LD,' { content: "').concat(zD,'"!important; } }'),t=function(e){e.className=LD},BD=!!Ti()&&(Bi(e,LD),(o=document.createElement("div")).style.position="fixed",o.style.left="0",o.style.top="0",null==t||t(o),document.body.appendChild(o),a=null===(n=getComputedStyle(o).content)||void 0===n?void 0:n.includes(zD),null===(r=o.parentNode)||void 0===r||r.removeChild(o),zi(LD),a)),BD}()&&(p=(d=_.split(","))[d.length-1].trim(),l="@layer ".concat(p," {").concat(l,"}"),d.length>1&&(l="@layer ".concat(_,"{%%%:%}").concat(l))):l="{".concat(l,"}"),[l,c]},SO=function(){function e(t,n){Oa(this,e),Ca(this,"name",void 0),Ca(this,"style",void 0),Ca(this,"_keyframe",!0),this.name=t,this.style=n}return $a(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}(),CO=function(){function e(){Oa(this,e),Ca(this,"cache",void 0),Ca(this,"keys",void 0),Ca(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return $a(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,a={map:this.cache};return e.forEach((function(e){var t,n;a=a?null===(t=a)||void 0===t||null===(n=t.map)||void 0===n?void 0:n.get(e):void 0})),null!==(n=a)&&void 0!==n&&n.value&&o&&(a.value[1]=this.cacheCallTimes++),null===(r=a)||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,a,i=this;this.has(t)||(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET&&(r=this.keys.reduce((function(e,t){var n=qi(e,2)[1];return i.internalGet(t)[1]0},e.prototype.connect_=function(){RO&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),zO?(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(){RO&&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;LO.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}(),HO=function(e,t){var n,r,o;for(n=0,r=Object.keys(t);n0},e}(),KO="undefined"!=typeof WeakMap?new WeakMap:new AO,YO=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=BO.getInstance(),r=new XO(t,n,this),KO.set(this,r)},["observe","unobserve","disconnect"].forEach((function(e){YO.prototype[e]=function(){var t;return(t=KO.get(this))[e].apply(t,arguments)}})),QO=void 0!==FO.ResizeObserver?FO.ResizeObserver:YO,JO=new Map,ZO=new QO((function(e){e.forEach((function(e){var t,n=e.target;null===(t=JO.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))})),ej=function(){function e(){return Oa(this,e),t.apply(this,arguments)}Is(e,a_.Component);var t=Ms(e);return $a(e,[{key:"render",value:function(){return this.props.children}}]),e}(),tj=a_.createContext(null),nj=a_.forwardRef(Ks),rj="rc-observer-key",(oj=a_.forwardRef(Ys)).Collection=function(e){var t=e.children,n=e.onBatchResize,r=a_.useRef(0),o=a_.useRef([]),a=a_.useContext(tj),i=a_.useCallback((function(e,t,i){r.current+=1;var s=r.current;o.current.push({size:e,element:t,data:i}),Promise.resolve().then((function(){s===r.current&&(null==n||n(o.current),o.current=[])})),null==a||a(e,t,i)}),[n,a]);return a_.createElement(tj.Provider,{value:i},t)},aj=function(e){return+setTimeout(e,16)},ij=function(e){return clearTimeout(e)},"undefined"!=typeof window&&"requestAnimationFrame"in window&&(aj=function(e){return window.requestAnimationFrame(e)},ij=function(e){return window.cancelAnimationFrame(e)}),sj=0,lj=new Map,(cj=function(e,t){var n;return n=sj+=1,function t(r){if(0===r)Js(n),e();else{var o=aj((function(){t(r-1)}));lj.set(n,o)}}(arguments.length>1&&void 0!==t?t:1),n}).cancel=function(e){var t=lj.get(e);return Js(t),ij(t)};const JJ=a_.createContext({});uj="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;const ZJ=a_.createContext(void 0),eZ={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},tZ={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({},eZ)},nZ="${label} is not a valid ${type}",rZ={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:tZ,TimePicker:eZ,Calendar:tZ,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:nZ,method:nZ,array:nZ,object:nZ,number:nZ,date:nZ,boolean:nZ,integer:nZ,float:nZ,regexp:nZ,email:nZ,url:nZ,hex:nZ},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 oZ=Object.assign({},rZ.Modal);const aZ=a_.createContext(void 0),iZ=(e,t)=>{const n=a_.useContext(aZ);return[a_.useMemo((()=>{var r;const o=t||rZ[e],a=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})}),[e,t,n]),a_.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?rZ.locale:e}),[n])]},sZ=e=>{const{locale:t={},children:n}=e;a_.useEffect((()=>(al(t&&t.Modal),()=>{al()})),[t]);const r=a_.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return a_.createElement(aZ.Provider,{value:r},n)},lZ=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],cZ="5.7.3";dj={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"},pj="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),fj="[\\s|\\(]+(".concat(pj,")[,|\\s]+(").concat(pj,")[,|\\s]+(").concat(pj,")\\s*\\)?"),mj="[\\s|\\(]+(".concat(pj,")[,|\\s]+(").concat(pj,")[,|\\s]+(").concat(pj,")[,|\\s]+(").concat(pj,")\\s*\\)?"),gj={CSS_UNIT:new RegExp(pj),rgb:new RegExp("rgb"+fj),rgba:new RegExp("rgba"+mj),hsl:new RegExp("hsl"+fj),hsla:new RegExp("hsla"+mj),hsv:new RegExp("hsv"+fj),hsva:new RegExp("hsva"+mj),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})$/},hj=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 a,i=[dl(Math.round(e).toString(16)),dl(Math.round(t).toString(16)),dl(Math.round(n).toString(16)),dl((a=r,Math.round(255*parseFloat(a)).toString(16)))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.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(dj);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,a;return void 0===n&&(n=50),r=this.toRgb(),o=new e(t).toRgb(),new e({r:(o.r-r.r)*(a=n/100)+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},e.prototype.analogous=function(t,n){var r,o,a;for(void 0===t&&(t=6),void 0===n&&(n=30),a=[this],(r=this.toHsl()).h=(r.h-((o=360/n)*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){var n,r,o,a,i,s;for(void 0===t&&(t=6),r=(n=this.toHsv()).h,o=n.s,a=n.v,i=[],s=1/t;t--;)i.push(new e({h:r,s:o,v:a})),a=(a+s)%1;return i},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,a=[this],i=360/t;for(n=1;n{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}},dZ={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"},pZ=Object.assign(Object.assign({},dZ),{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}),fZ=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}},mZ=(e,t)=>new hj(e).setAlpha(t).toRgbString(),gZ=(e,t)=>new hj(e).darken(t).toHexString(),hZ=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]}},bZ=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:mZ(r,.88),colorTextSecondary:mZ(r,.65),colorTextTertiary:mZ(r,.45),colorTextQuaternary:mZ(r,.25),colorFill:mZ(r,.15),colorFillSecondary:mZ(r,.06),colorFillTertiary:mZ(r,.04),colorFillQuaternary:mZ(r,.02),colorBgLayout:gZ(n,4),colorBgContainer:gZ(n,0),colorBgElevated:gZ(n,0),colorBgSpotlight:mZ(r,.85),colorBorder:gZ(n,15),colorBorderSecondary:gZ(n,6)}},yZ=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]}},_Z=js(Dl),vZ={token:pZ,hashed:!0},wZ=gJ.createContext(vZ);jj=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:kZ}),SZ=(e,t,n,r,o)=>{const a=e/2,i=a,s=1*n/Math.sqrt(2),l=a-n*(1-1/Math.sqrt(2)),c=a-t*(1/Math.sqrt(2)),u=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),d=2*a-c,p=u,f=2*a-s,m=l,g=2*a-0,h=i,b=a*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*a-y}px 100%, ${y}px 100%)`,`path('M 0 ${i} 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"}}},CZ={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},EZ=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),DZ=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"}}}),OZ=(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"}}}}},jZ=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),$Z=e=>({"&:focus-visible":Object.assign({},jZ(e))}),PZ="undefined"!=typeof CSSINJS_STATISTIC;let NZ=!0;const TZ=`-ant-${Date.now()}-${Math.random()}`,IZ=a_.createContext(!1),AZ=e=>{let{children:t,disabled:n}=e;const r=a_.useContext(IZ);return a_.createElement(IZ.Provider,{value:null!=n?n:r},t)},RZ=IZ,FZ=a_.createContext(void 0),MZ=e=>{let{children:t,size:n}=e;const r=a_.useContext(FZ);return a_.createElement(FZ.Provider,{value:n||r},t)},LZ=FZ;$j=["children"],Pj=a_.createContext({}),Nj=function(){function e(){return Oa(this,e),t.apply(this,arguments)}Is(e,a_.Component);var t=Ms(e);return $a(e,[{key:"render",value:function(){return this.props.children}}]),e}(),Tj="none",Ij="appear",Aj="enter",Rj="leave",Fj="none",Mj="prepare",Lj="start",zj="active",Bj="end",Hj="prepared",iQ=Ti(),sQ="undefined"!=typeof window?window:{},lQ={animationend:Bl("Animation","AnimationEnd"),transitionend:Bl("Transition","TransitionEnd")},iQ&&("AnimationEvent"in sQ||delete lQ.animationend.animation,"TransitionEvent"in sQ||delete lQ.transitionend.transition),Uj=lQ,Wj={},Ti()&&(qj=document.createElement("div"),Wj=qj.style),Vj={},Gj=Hl("animationend"),Xj=Hl("transitionend"),Kj=!(!Gj||!Xj),Yj=Gj||"animationend",Qj=Xj||"transitionend",Jj=Ti()?a_.useLayoutEffect:a_.useEffect,Zj=[Mj,Lj,zj,Bj],e$=[Mj,Hj];const zZ=(dQ=cQ=Kj,"object"===xa(cQ)&&(dQ=cQ.transitionSupport),(uQ=a_.forwardRef((function(e,t){var n,r,o,a,i,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||!dQ||!1===t)}(e,a_.useContext(Pj).motion),y=a_.useRef(),_=a_.useRef(),v=function(e,t,n,r){function o(){return n()}function a(){A(Tj,!0),M(null,!0)}function i(e){var t,n,r=o();e&&!e.deadline&&e.target!==r||(t=B.current,I===Ij&&t?n=null==E?void 0:E(r,e):I===Aj&&t?n=null==D?void 0:D(r,e):I===Rj&&t&&(n=null==O?void 0:O(r,e)),I!==Tj&&t&&!1!==n&&a())}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,_=r.onLeavePrepare,v=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,j=r.onVisibleChanged,$=qi(Tl(),2),P=$[0],N=$[1],T=qi(Tl(Tj),2),I=T[0],A=T[1],R=qi(Tl(null),2),F=R[0],M=R[1],L=a_.useRef(!1),z=a_.useRef(null),B=a_.useRef(!1),H=qi(function(e){function t(e){e&&(e.removeEventListener(Qj,n),e.removeEventListener(Yj,n))}var n,r=a_.useRef(),o=a_.useRef(e);return o.current=e,n=a_.useCallback((function(e){o.current(e)}),[]),a_.useEffect((function(){return function(){t(r.current)}}),[]),[function(e){r.current&&r.current!==e&&t(r.current),e&&e!==r.current&&(e.addEventListener(Qj,n),e.addEventListener(Yj,n),r.current=e)},t]}(i),1)[0],U=function(e){var t,n,r;switch(e){case Ij:return Ca(t={},Mj,b),Ca(t,Lj,v),Ca(t,zj,x),t;case Aj:return Ca(n={},Mj,y),Ca(n,Lj,w),Ca(n,zj,S),n;case Rj:return Ca(r={},Mj,_),Ca(r,Lj,k),Ca(r,zj,C),r;default:return{}}},W=a_.useMemo((function(){return U(I)}),[I]),q=function(e,t,n){var r=qi(Tl(Fj),2),o=r[0],a=r[1],i=function(){function e(){cj.cancel(t.current)}var t=a_.useRef(null);return a_.useEffect((function(){return function(){e()}}),[]),[function n(r,o){var a,i=arguments.length>1&&void 0!==o?o:2;e(),a=cj((function(){i<=1?r({isCanceled:function(){return a!==t.current}}):n(r,i-1)})),t.current=a},e]}(),s=qi(i,2),l=s[0],c=s[1],u=t?e$:Zj;return Jj((function(){var e,t,r;o!==Fj&&o!==Bj&&(e=u.indexOf(o),t=u[e+1],!1===(r=n(o))?a(t,!0):t&&l((function(e){function n(){e.isCanceled()||a(t,!0)}!0===r?n():Promise.resolve(r).then(n)})))}),[e,o]),a_.useEffect((function(){return function(){c()}}),[]),[function(){a(Mj,!0)},o]}(I,!e,(function(e){var t,n;return e===Mj?!!(t=W[Mj])&&t(o()):(X in W&&M((null===(n=W[X])||void 0===n?void 0:n.call(W,o(),null))||null),X===zj&&(H(o()),g>0&&(clearTimeout(z.current),z.current=setTimeout((function(){i({deadline:!0})}),g))),X===Hj&&a(),!0)})),V=qi(q,2),G=V[0],X=V[1],K=Wl(X);return B.current=K,Jj((function(){var n,r,o;N(t),n=L.current,L.current=!0,!n&&t&&p&&(r=Ij),n&&t&&u&&(r=Aj),(n&&!t&&m||!n&&h&&!t&&m)&&(r=Rj),o=U(r),r&&(e||o[Mj])?(A(r),G()):A(Tj)}),[t]),a_.useEffect((function(){(I===Ij&&!p||I===Aj&&!u||I===Rj&&!m)&&A(Tj)}),[p,u,m]),a_.useEffect((function(){return function(){L.current=!1,clearTimeout(z.current)}}),[]),s=a_.useRef(!1),a_.useEffect((function(){P&&(s.current=!0),void 0!==P&&I===Tj&&((s.current||P)&&(null==j||j(P)),s.current=!0)}),[P,I]),l=F,W[Mj]&&X===Lj&&(l=Si({transition:"none"},l)),[I,X,l,null!=P?P:t]}(b,c,(function(){try{return y.current instanceof HTMLElement?y.current:qs(_.current)}catch(kQ){return null}}),e),w=qi(v,4),k=w[0],x=w[1],S=w[2],C=w[3],E=a_.useRef(C);return C&&(E.current=!0),n=a_.useCallback((function(e){y.current=e,zs(t,e)}),[t]),o=Si(Si({},h),{},{visible:c}),f?k===Tj?r=C?f(Si({},o),n):!d&&E.current&&g?f(Si(Si({},o),{},{className:g}),n):p||!d&&!g?f(Si(Si({},o),{},{style:{display:"none"}}),n):null:(x===Mj?i="prepare":Wl(x)?i="active":x===Lj&&(i="start"),s=Ul(m,"".concat(k,"-").concat(i)),r=f(Si(Si({},o),{},{className:QJ(Ul(m,k),(a={},Ca(a,s,s&&i),Ca(a,m,"string"==typeof m),a)),style:S}),n)):r=null,a_.isValidElement(r)&&Us(r)&&(r.ref||(r=a_.cloneElement(r,{ref:n}))),a_.createElement(Nj,{ref:_},r)}))).displayName="CSSMotion",uQ);t$="add",n$="keep",r$="remove",o$="removed",a$=["component","children","onVisibleChanged","onAllRemoved"],i$=["status"],s$=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const BZ=function(e,t){var n=arguments.length>1&&void 0!==t?t:zZ,r=function(){function e(){var n,r,o,a;for(Oa(this,e),r=arguments.length,o=new Array(r),a=0;a1&&void 0!==t?t:[],o=[],a=0,i=r.length,s=Vl(arguments.length>0&&void 0!==e?e:[]),l=Vl(r);return s.forEach((function(e){var t,n,r=!1;for(t=a;t1})).forEach((function(e){(o=o.filter((function(t){return t.key!==e||t.status!==r$}))).forEach((function(t){t.key===e&&(t.status=n$)}))})),o}(n,r);return{keyEntities:o.filter((function(e){var t=n.find((function(t){return e.key===t.key}));return!t||t.status!==o$||e.status!==r$}))}}}]),e}();return Ca(r,"defaultProps",{component:"div"}),r}(Kj);l$=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:()=>UZ||Xl(),getTheme:()=>qZ}),GZ=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:a,form:i,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:_,segmented:v,statistic:w,spin:k,calendar:x,carousel:S,cascader:C,collapse:E,typography:D,checkbox:O,descriptions:j,divider:$,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:q,empty:V,badge:G,radio:X,rate:K,switch:Y,transfer:Q,avatar:J,message:Z,tag:ee,table:te,card:ne,tabs:re,timeline:oe,timePicker:ae,upload:ie,notification:se,tree:le,colorPicker:ce,datePicker:ue}=e,de=a_.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||kZ,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:vZ;return Ei((()=>{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)=>!Pi(e,t[n],!0)))))}(y,h.theme),be={csp:me,autoInsertSpaceInButton:r,alert:o,anchor:a,locale:s||g,direction:c,space:u,virtual:d,popupMatchSelectWidth:null!=f?f:p,popupOverflow:m,getPrefixCls:de,iconPrefixCls:pe,theme:he,segmented:v,statistic:w,spin:k,calendar:x,carousel:S,cascader:C,collapse:E,typography:D,checkbox:O,descriptions:j,divider:$,drawer:P,skeleton:N,steps:T,image:I,input:q,layout:A,list:R,mentions:F,modal:M,progress:L,result:z,slider:B,breadcrumb:H,menu:U,pagination:W,empty:V,badge:G,radio:X,rate:K,switch:Y,transfer:Q,avatar:J,message:Z,tag:ee,table:te,card:ne,tabs:re,timeline:oe,timePicker:ae,upload:ie,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])})),HZ.forEach((t=>{const n=e[t];n&&(ye[t]=n)}));const _e=Ei((()=>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]))})),ve=a_.useMemo((()=>({prefixCls:pe,csp:me})),[pe,me]);let we=fe?ge(t):t;const ke=a_.useMemo((()=>{var e,t,n,r;return ol((null===(e=rZ.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=_e.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=_e.form)||void 0===r?void 0:r.validateMessages)||{},(null==i?void 0:i.validateMessages)||{})}),[_e,null==i?void 0:i.validateMessages]);Object.keys(ke).length>0&&(we=a_.createElement(ZJ.Provider,{value:ke},t)),s&&(we=a_.createElement(sZ,{locale:s,_ANT_MARK__:"internalMark"},we)),(pe||me)&&(we=a_.createElement(JJ.Provider,{value:ve},we)),l&&(we=a_.createElement(MZ,{size:l},we)),we=a_.createElement(Gl,null,we);const xe=a_.useMemo((()=>{const e=he||{},{algorithm:t,token:n}=e,r=l$(e,["algorithm","token"]),o=t&&(!Array.isArray(t)||t.length>0)?js(t):void 0;return Object.assign(Object.assign({},r),{theme:o,token:Object.assign(Object.assign({},pZ),n)})}),[he]);return y&&(we=a_.createElement(wZ.Provider,{value:xe},we)),void 0!==_&&(we=a_.createElement(AZ,{disabled:_},we)),a_.createElement(xZ.Provider,{value:_e},we)},XZ=e=>{const t=a_.useContext(xZ),n=a_.useContext(aZ);return a_.createElement(GZ,Object.assign({parentContext:t,legacyLocale:n},e))};XZ.ConfigContext=xZ,XZ.SizeContext=LZ,XZ.config=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r}=e;void 0!==t&&(UZ=t),void 0!==n&&(WZ=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 hj(e),a=Cl(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=a[1],n[`${t}-color-hover`]=a[4],n[`${t}-color-active`]=a[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=a[0],n[`${t}-color-deprecated-border`]=a[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new hj(t.primaryColor),a=Cl(e.toRgbString());a.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 i=new hj(a[0]);n["primary-color-active-deprecated-f-30"]=r(i,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(i,(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);Ti()&&Bi(n,`${TZ}-dynamic-theme`)}(Xl(),r):qZ=r)},XZ.useConfig=function(){return{componentDisabled:a_.useContext(RZ),componentSize:a_.useContext(LZ)}},Object.defineProperty(XZ,"SizeContext",{get:()=>LZ});const KZ={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"};c$=function(e){var t=a_.useContext(JJ),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)),a_.useEffect((function(){var t=Ql(e.current);Bi(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:t})}),[])},u$=["icon","className","onClick","style","primaryColor","secondaryColor"],d$={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},(p$=function(e){var t,n,r,o=e.icon,a=e.className,i=e.onClick,s=e.style,l=e.primaryColor,c=e.secondaryColor,u=Ea(e,u$),d=a_.useRef(),p=d$;return l&&(p={primaryColor:l,secondaryColor:c||tc(l)}),c$(d),n=Jl(o),r="icon should be icon definiton, but got ".concat(o),$i(n,"[@ant-design/icons] ".concat(r)),Jl(o)?((t=o)&&"function"==typeof t.icon&&(t=Si(Si({},t),{},{icon:t.icon(p.primaryColor,p.secondaryColor)})),ec(t.icon,"svg-".concat(t.name),Si(Si({className:a,onClick:i,style:s,"data-icon":t.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},u),{},{ref:d}))):null}).displayName="IconReact",p$.getTwoToneColors=function(){return Si({},d$)},p$.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;d$.primaryColor=t,d$.secondaryColor=n||tc(t),d$.calculated=!!n};const YZ=p$;f$=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"],rc(Oj.primary),(m$=a_.forwardRef((function(e,t){var n,r,o,a,i,s=e.className,l=e.icon,c=e.spin,u=e.rotate,d=e.tabIndex,p=e.onClick,f=e.twoToneColor,m=Ea(e,f$),g=a_.useContext(JJ),h=g.prefixCls,b=void 0===h?"anticon":h,y=QJ(g.rootClassName,b,(Ca(n={},"".concat(b,"-").concat(l.name),!!l.name),Ca(n,"".concat(b,"-spin"),!!c||"loading"===l.name),n),s),_=d;return void 0===_&&p&&(_=-1),r=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,a=(o=qi(nc(f),2))[0],i=o[1],a_.createElement("span",fi({role:"img","aria-label":l.name},m,{ref:t,tabIndex:_,onClick:p,className:y}),a_.createElement(YZ,{icon:l,primaryColor:a,secondaryColor:i,style:r}))}))).displayName="AntdIcon",m$.getTwoToneColor=function(){var e=YZ.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},m$.setTwoToneColor=rc;const QZ=m$,JZ=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:KZ}))})),ZZ={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"},e0=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:ZZ}))})),t0={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"},n0=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:t0}))})),r0={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"},o0=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:r0}))})),a0={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"},i0=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:a0}))}));g$="".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]+/),h$="aria-",b$="data-";const{isValidElement:s0}=hJ,l0=e=>"object"==typeof e&&null!=e&&1===e.nodeType,c0=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,u0=(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.clientHeightat||a>e&&i=t&&s>=n?a-e-r:i>t&&sn?i-t+o:0,p0=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},f0=(e,t)=>{var n,r,o,a;if("undefined"==typeof document)return[];const{scrollMode:i,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!l0(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,f=[];let m=e;for(;l0(m)&&d(m);){if(m=p0(m),m===p){f.push(m);break}null!=m&&m===document.body&&u0(m)&&!u0(document.documentElement)||null!=m&&u0(m,u)&&f.push(m)}const g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,h=null!=(a=null==(o=window.visualViewport)?void 0:o.height)?a:innerHeight,{scrollX:b,scrollY:y}=window,{height:_,width:v,top:w,right:k,bottom:x,left:S}=e.getBoundingClientRect();let C="start"===s||"nearest"===s?w:"end"===s?x:w+_/2,E="center"===l?S+v/2:"end"===l?k:S;const D=[];for(let O=0;O=0&&S>=0&&x<=h&&k<=g&&w>=r&&x<=a&&S>=c&&k<=o)return D;const u=getComputedStyle(e),d=parseInt(u.borderLeftWidth,10),m=parseInt(u.borderTopWidth,10),j=parseInt(u.borderRightWidth,10),$=parseInt(u.borderBottomWidth,10);let P=0,N=0;const T="offsetWidth"in e?e.offsetWidth-e.clientWidth-d-j:0,I="offsetHeight"in e?e.offsetHeight-e.clientHeight-m-$: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?d0(y,y+h,h,m,$,y+C,y+C+_,_):C-h/2,N="start"===l?E:"center"===l?E-g/2:"end"===l?E-g:d0(b,b+g,g,d,j,b+E,b+E+v,v),P=Math.max(0,P+y),N=Math.max(0,N+b);else{P="start"===s?C-r-m:"end"===s?C-a+$+I:"nearest"===s?d0(r,a,t,m,$+I,C,C+_,_):C-(r+t/2)+I/2,N="start"===l?E-c-d:"center"===l?E-(c+n/2)+T/2:"end"===l?E-o+j+T:d0(c,o,n,d,j+T,E,E+v,v);const{scrollLeft:i,scrollTop:u}=e;P=Math.max(0,Math.min(u+P/R,e.scrollHeight-t/R+I)),N=Math.max(0,Math.min(i+N/A,e.scrollWidth-n/A+T)),C+=u-P,E+=i-N}D.push({el:e,top:P,left:N})}return D},m0=e=>{return!1===e?{block:"end",inline:"nearest"}:(t=e)===Object(t)&&0!==Object.keys(t).length?e:{block:"start",inline:"nearest"};var t};y$={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>=y$.F1&&t<=y$.F12)return!1;switch(t){case y$.ALT:case y$.CAPS_LOCK:case y$.CONTEXT_MENU:case y$.CTRL:case y$.DOWN:case y$.END:case y$.ESC:case y$.HOME:case y$.INSERT:case y$.LEFT:case y$.MAC_FF_META:case y$.META:case y$.NUMLOCK:case y$.NUM_CENTER:case y$.PAGE_DOWN:case y$.PAGE_UP:case y$.PAUSE:case y$.PRINT_SCREEN:case y$.RIGHT:case y$.SHIFT:case y$.UP:case y$.WIN_KEY:case y$.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=y$.ZERO&&e<=y$.NINE)return!0;if(e>=y$.NUM_ZERO&&e<=y$.NUM_MULTIPLY)return!0;if(e>=y$.A&&e<=y$.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case y$.SPACE:case y$.QUESTION_MARK:case y$.NUM_PLUS:case y$.NUM_MINUS:case y$.NUM_PERIOD:case y$.NUM_DIVISION:case y$.SEMICOLON:case y$.DASH:case y$.EQUALS:case y$.COMMA:case y$.PERIOD:case y$.SLASH:case y$.APOSTROPHE:case y$.SINGLE_QUOTE:case y$.OPEN_SQUARE_BRACKET:case y$.BACKSLASH:case y$.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},_$=a_.forwardRef((function(e,t){var n,r=e.prefixCls,o=e.style,a=e.className,i=e.duration,s=void 0===i?4.5:i,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=qi(a_.useState(!1),2),y=b[0],_=b[1],v=function(){g(l)};return a_.useEffect((function(){if(!y&&s>0){var e=setTimeout((function(){v()}),1e3*s);return function(){clearTimeout(e)}}}),[s,y,h]),n="".concat(r,"-notice"),a_.createElement("div",fi({},f,{ref:t,className:QJ(n,a,Ca({},"".concat(n,"-closable"),u)),style:o,onMouseEnter:function(){_(!0)},onMouseLeave:function(){_(!1)},onClick:m}),a_.createElement("div",{className:"".concat(n,"-content")},c),u&&a_.createElement("a",{tabIndex:0,className:"".concat(n,"-close"),onKeyDown:function(e){"Enter"!==e.key&&"Enter"!==e.code&&e.keyCode!==y$.ENTER||v()},onClick:function(e){e.preventDefault(),e.stopPropagation(),v()}},p))})),v$=a_.forwardRef((function(e,t){var n,r,o,a,i,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=qi(a_.useState([]),2),b=h[0],y=h[1],_=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 a_.useImperativeHandle(t,(function(){return{open:function(e){y((function(t){var n,r=ki(t),o=r.findIndex((function(t){return t.key===e.key})),a=Si({},e);return o>=0?(a.times=((null===(n=t[o])||void 0===n?void 0:n.times)||0)+1,r[o]=a):(a.times=0,r.push(a)),p>0&&r.length>p&&(r=r.slice(-p)),r}))},close:function(e){_(e)},destroy:function(){y([])}}})),n=qi(a_.useState({}),2),r=n[0],o=n[1],a_.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]),a=function(e){o((function(t){var n=Si({},t);return(n[e]||[]).length||delete n[e],n}))},i=a_.useRef(!1),a_.useEffect((function(){Object.keys(r).length>0?i.current=!0:i.current&&(null==g||g(),i.current=!1)}),[r]),u?(s=Object.keys(r),_S.createPortal(a_.createElement(a_.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 a_.createElement(BZ,fi({key:e,className:QJ(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(){a(e)}}),(function(e,t){var n=e.config,r=e.style,o=n.key,a=n.times,i=n.style;return a_.createElement(_$,fi({},n,{ref:t,prefixCls:c,className:QJ(e.className,n.className),style:Si(Si({},r),i),times:a,key:o,eventKey:o,onNoticeClose:_}))}))}))),u)):null})),w$=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],k$=function(){return document.body},x$=0;const g0={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"},h0=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:g0}))})),b0=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorSuccess:a,colorError:i,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`,_=new SO("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:f,transform:"translateY(0)",opacity:1}}),v=new SO("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:a},[`${t}-error > ${n}`]:{color:i},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n},\n ${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},EZ(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:_,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:v,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"})}]},y0=Ml("Message",(e=>{const t=Rl(e,{height:150});return[b0(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})));S$=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 a_.createElement("div",{className:QJ(`${t}-custom-content`,`${t}-${n}`)},r||_0[n],a_.createElement("span",null,o))};C$=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:a,duration:i=w0,rtl:s,transitionName:l,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:d,message:p}=a_.useContext(xZ),f=r||u("message"),[,m]=y0(f),g=a_.createElement("span",{className:`${f}-close-x`},a_.createElement(n0,{className:`${f}-close-icon`})),[h,b]=lc({prefixCls:f,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>QJ(m,{[`${f}-rtl`]:s}),motion:()=>function(e,t){return{motionName:null!=t?t:`${e}-move-up`}}(f,l),closable:!1,closeIcon:g,duration:i,getContainer:()=>(null==o?void 0:o())||(null==d?void 0:d())||document.body,maxCount:a,onAllRemoved:c});return a_.useImperativeHandle(t,(()=>Object.assign(Object.assign({},h),{prefixCls:f,hashId:m,message:p}))),b}));let x0=0;D$=(E$=Si({},yJ)).version,O$=E$.render,j$=E$.unmountComponentAtNode;try{Number((D$||"").split(".")[0])>=18&&($$=E$.createRoot)}catch(kQ){}P$="__rc_react_root__";const S0=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},C0=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}}}}},E0=Ml("Wave",(e=>[C0(e)])),D0=e=>{function t(){const e=getComputedStyle(r);i(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:a,borderTopRightRadius:s,borderBottomLeftRadius:c,borderBottomRightRadius:d}=e;l([a,s,d,c].map((e=>xc(parseFloat(e)))))}const{className:n,target:r}=e,o=a_.useRef(null),[a,i]=a_.useState(null),[s,l]=a_.useState([]),[c,u]=a_.useState(0),[d,p]=a_.useState(0),[f,m]=a_.useState(0),[g,h]=a_.useState(0),[b,y]=a_.useState(!1),_={left:c,top:d,width:f,height:g,borderRadius:s.map((e=>`${e}px`)).join(" ")};return a&&(_["--wave-color"]=a),a_.useEffect((()=>{if(r){const e=cj((()=>{t(),y(!0)}));let n;return"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(t),n.observe(r)),()=>{cj.cancel(e),null==n||n.disconnect()}}}),[]),b?a_.createElement(zZ,{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;vc(e).then((()=>{null==e||e.remove()}))}return!1}},(e=>{let{className:t}=e;return a_.createElement("div",{ref:o,className:QJ(n,t),style:_})})):null},O0=e=>{const{children:t,disabled:n}=e,{getPrefixCls:r}=a_.useContext(xZ),o=a_.useRef(null),a=r("wave"),[,i]=E0(a),s=(l=o,c=QJ(a,i),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(a_.createElement(D0,{target:e,className:t}),n)}(l.current,c)});var l,c;return gJ.useEffect((()=>{const e=o.current;if(!e||1!==e.nodeType||n)return;const t=t=>{"INPUT"===t.target.tagName||!S0(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]),gJ.isValidElement(t)?sc(t,{ref:Us(t)?Bs(t.ref,o):o}):null!=t?t:null},j0=e=>{const t=gJ.useContext(LZ);return gJ.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])},$0=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},P0=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"}}}},N0=Ml("Space",(e=>[P0(e),$0(e)]),(()=>({})),{resetStyle:!1});N$=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=a_.useContext(T0),r=a_.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:a}=n,i="vertical"===r?"-vertical-":"-";return QJ(`${e}-compact${i}item`,{[`${e}-compact${i}first-item`]:o,[`${e}-compact${i}last-item`]:a,[`${e}-compact${i}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},A0=e=>{let{children:t}=e;return a_.createElement(T0.Provider,{value:null},t)},R0=e=>{var{children:t}=e,n=N$(e,["children"]);return a_.createElement(T0.Provider,{value:n},t)},F0=a_.forwardRef(((e,t)=>{const{className:n,style:r,children:o,prefixCls:a}=e,i=QJ(`${a}-icon`,n);return gJ.createElement("span",{ref:t,className:i,style:r},o)})),M0=a_.forwardRef(((e,t)=>{let{prefixCls:n,className:r,style:o,iconClassName:a}=e;const i=QJ(`${n}-loading-icon`,r);return gJ.createElement(F0,{prefixCls:n,className:i,style:o,ref:t},gJ.createElement(h0,{className:a}))})),L0=()=>({width:0,opacity:0,transform:"scale(0)"}),z0=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),B0=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:a}=e,i=!!n;return r?gJ.createElement(M0,{prefixCls:t,className:o,style:a}):gJ.createElement(zZ,{visible:i,motionName:`${t}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:L0,onAppearActive:z0,onEnterStart:L0,onEnterActive:z0,onLeaveStart:z0,onLeaveActive:L0},((e,n)=>{let{className:r,style:i}=e;return gJ.createElement(M0,{prefixCls:t,className:o,style:Object.assign(Object.assign({},a),i),ref:n,iconClassName:r})}))};T$=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}}}}}),V0=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:o,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-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}},q0(`${t}-primary`,o),q0(`${t}-danger`,a)]}},G0=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({},$Z(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:'""'}}}}}}},X0=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),K0=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Y0=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),Q0=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),J0=(e,t,n,r,o,a,i)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},X0(e,Object.assign({backgroundColor:"transparent"},a),Object.assign({backgroundColor:"transparent"},i))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:o||void 0}})}),Z0=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},Q0(e))}),e1=e=>Object.assign({},Z0(e)),t1=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),n1=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e1(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),X0(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),J0(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},X0(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),J0(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Z0(e))}),r1=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e1(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),X0(e.componentCls,{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),J0(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}`},X0(e.componentCls,{backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),J0(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Z0(e))}),o1=e=>Object.assign(Object.assign({},n1(e)),{borderStyle:"dashed"}),a1=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},X0(e.componentCls,{color:e.colorLinkHover},{color:e.colorLinkActive})),t1(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},X0(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),t1(e))}),i1=e=>Object.assign(Object.assign(Object.assign({},X0(e.componentCls,{color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),t1(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},t1(e)),X0(e.componentCls,{color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),s1=e=>{const{componentCls:t}=e;return{[`${t}-default`]:n1(e),[`${t}-primary`]:r1(e),[`${t}-dashed`]:o1(e),[`${t}-link`]:a1(e),[`${t}-text`]:i1(e),[`${t}-ghost`]:J0(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},l1=function(e,t){let n=arguments.length>1&&void 0!==t?t:"";const{componentCls:r,controlHeight:o,fontSize:a,lineHeight:i,lineWidth:s,borderRadius:l,buttonPaddingHorizontal:c,iconCls:u}=e;return[{[`${r}${n}`]:{fontSize:a,height:o,padding:`${Math.max(0,(o-a*i)/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}`]:K0(e)},{[`${r}${r}-round${n}`]:Y0(e)}]},c1=e=>l1(e),u1=e=>{const t=Rl(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.fontSizeLG-2});return l1(t,`${e.componentCls}-sm`)},d1=e=>{const t=Rl(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.fontSizeLG+2});return l1(t,`${e.componentCls}-lg`)},p1=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},f1=Ml("Button",(e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=Rl(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n,buttonIconOnlyFontSize:e.fontSizeLG,buttonFontWeight:400});return[G0(r),u1(r),c1(r),d1(r),p1(r),s1(r),V0(r),Dc(e),jc(e)]}));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{var n,r;const{loading:o=!1,prefixCls:a,type:i="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:_,style:v={}}=e,w=I$(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}=a_.useContext(xZ),E=k("btn",a),[D,O]=f1(E),j=a_.useContext(RZ),$=null!=d?d:j,P=a_.useContext(H0),N=a_.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]=a_.useState(N.loading),[A,R]=a_.useState(!1),F=Bs(t,a_.createRef()),M=1===a_.Children.count(m)&&!g&&!Sc(i);a_.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]),a_.useEffect((()=>{F&&F.current&&!1!==x&&(M&&W0(F.current.textContent)?A||R(!0):A&&R(!1))}),[F]);const L=t=>{const{onClick:n}=e;T||$?t.preventDefault():null==n||n(t)},z=!1!==x,{compactSize:B,compactItemClassnames:H}=I0(E,S),U=j0((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]||"",q=T?"loading":g,V=Qs(w,["navigate"]),G=QJ(E,O,{[`${E}-${l}`]:"default"!==l&&l,[`${E}-${i}`]:i,[`${E}-${W}`]:W,[`${E}-icon-only`]:!m&&0!==m&&!!q,[`${E}-background-ghost`]:h&&!Sc(i),[`${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),v),K=QJ(null==_?void 0:_.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?gJ.createElement(F0,{prefixCls:E,className:K,style:Y},g):gJ.createElement(B0,{existIcon:!!g,prefixCls:E,loading:!!T}),J=m||0===m?function(e,t){let n=!1;const r=[];return gJ.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})),gJ.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&&W0(e.props.children)?sc(e,{children:e.props.children.split("").join(n)}):"string"==typeof e?W0(e)?gJ.createElement("span",null,e.split("").join(n)):gJ.createElement("span",null,e):ic(e)?gJ.createElement("span",null,e):e}(e,t)))}(m,M&&z):null;if(void 0!==V.href)return D(gJ.createElement("a",Object.assign({},V,{className:QJ(G,{[`${E}-disabled`]:$}),style:X,onClick:L,ref:F}),Q,J));let Z=gJ.createElement("button",Object.assign({},w,{type:y,className:G,style:X,onClick:L,disabled:$,ref:F}),Q,J);return Sc(i)||(Z=gJ.createElement(O0,{disabled:!!T},Z)),D(Z)},g1=a_.forwardRef(m1);g1.Group=e=>{const{getPrefixCls:t,direction:n}=a_.useContext(xZ),{prefixCls:r,size:o,className:a}=e,i=T$(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=QJ(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:"rtl"===n},a,l);return a_.createElement(H0.Provider,{value:o},a_.createElement("div",Object.assign({},i,{className:u})))},g1.__ANT_BUTTON=!0;const h1=g1,b1=e=>{const{type:t,children:n,prefixCls:r,buttonProps:o,close:a,autoFocus:i,emitEvent:s,quitOnNullishReturnValue:l,actionFn:c}=e,u=a_.useRef(!1),d=a_.useRef(null),[p,f]=Tl(!1),m=function(){null==a||a.apply(void 0,arguments)};return a_.useEffect((()=>{let e=null;return i&&(e=setTimeout((()=>{var e;null===(e=d.current)||void 0===e||e.focus()}))),()=>{e&&clearTimeout(e)}}),[]),a_.createElement(h1,Object.assign({},$c(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(a),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)},y1=()=>({height:0,opacity:0}),_1=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},v1=e=>({height:e?e.offsetHeight:0}),w1=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,k1=function(e){return{motionName:`${arguments.length>0&&void 0!==e?e:"ant"}-motion-collapse`,onAppearStart:y1,onEnterStart:y1,onAppearActive:_1,onEnterActive:_1,onLeaveStart:v1,onLeaveActive:y1,onAppearEnd:w1,onEnterEnd:w1,onLeaveEnd:w1,motionDeadline:500}},x1=e=>void 0===e||"topLeft"!==e&&"topRight"!==e?"slide-up":"slide-down",S1=(e,t,n)=>void 0!==n?n:`${e}-${t}`,C1={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"},E1=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:C1}))})),D1={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"},O1=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:D1}))})),j1={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"},$1=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:j1}))})),P1={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"},N1=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:P1}))})),T1={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"},I1=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:T1}))})),A1={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"},R1=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:A1}))})),F1={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"},M1=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:F1}))})),L1={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"},z1=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:L1}))})),B1={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"},H1=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:B1}))})),U1={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"},W1=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:U1}))})),q1={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"},V1=a_.forwardRef((function(e,t){return a_.createElement(QZ,fi({},e,{ref:t,icon:q1}))}));A$=a_.createContext(null),R$=[],M$="rc-util-locker-".concat(Date.now()),L$=0,z$=function(e){return!1!==e&&(Ti()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},B$=a_.forwardRef((function(e,t){var n,r,o,a,i,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,a=qi(a_.useState(x),2),i=a[1],s=a[0]||x,a_.useEffect((function(){(r||x)&&i(x)}),[x,r]),c=(l=qi(a_.useState((function(){return z$(C)})),2))[0],u=l[1],a_.useEffect((function(){var e=z$(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=qi(a_.useState((function(){return Ti()?document.createElement("div"):null})),1)[0],o=a_.useRef(!1),a=a_.useContext(A$),i=qi(a_.useState(R$),2),s=i[0],l=i[1],c=a||(o.current?void 0:function(e){l((function(t){return[e].concat(ki(t))}))});return UD((function(){return e?a?a(t):t():n(),n}),[e]),UD((function(){s.length&&(s.forEach((function(e){return e()})),l(R$))}),[s]),[r,c]}(s&&!c),f=(p=qi(d,2))[0],m=p[1],g=null!=c?c:f,v=S&&x&&Ti()&&(g===f||g===document.body),w=!!v,k=qi(a_.useState((function(){return L$+=1,"".concat(M$,"_").concat(L$)})),1)[0],UD((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,Bi("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),k)):zi(k),function(){zi(k)}}),[w,k]),h=null,o&&Us(o)&&t&&(h=o.ref),b=Hs(h,t),s&&Ti()&&void 0!==c?(y=!1===g||false,_=o,t&&(_=a_.cloneElement(o,{ref:b})),a_.createElement(A$.Provider,{value:m},y?_:_S.createPortal(_,g))):null})),H$=0;const G1=a_.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));U$={width:0,height:0,overflow:"hidden",outline:"none"},W$=gJ.forwardRef((function(e,t){var n,r,o,a,i,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,_=e.modalRender,v=e.onMouseDown,w=e.onMouseUp,k=e.holderRef,x=e.visible,S=e.forceRender,C=e.width,E=e.height,D=a_.useRef(),O=a_.useRef();return gJ.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=gJ.createElement("div",{className:"".concat(s,"-footer")},p)),u&&(o=gJ.createElement("div",{className:"".concat(s,"-header")},gJ.createElement("div",{className:"".concat(s,"-title"),id:d},u))),f&&(a=gJ.createElement("button",{type:"button",onClick:g,"aria-label":"Close",className:"".concat(s,"-close")},m||gJ.createElement("span",{className:"".concat(s,"-close-x")}))),i=gJ.createElement("div",{className:"".concat(s,"-content")},a,o,gJ.createElement("div",fi({className:"".concat(s,"-body"),style:b},y),h),r),gJ.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":u?d:null,"aria-modal":"true",ref:k,style:Si(Si({},c),n),className:QJ(s,l),onMouseDown:v,onMouseUp:w},gJ.createElement("div",{tabIndex:0,ref:D,style:U$,"aria-hidden":"true"}),gJ.createElement(G1,{shouldUpdate:x||S},_?_(i):i),gJ.createElement("div",{tabIndex:0,ref:O,style:U$,"aria-hidden":"true"}))})),(q$=a_.forwardRef((function(e,t){function n(){var e,t,n,r,o,a=((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-a.left,"px ").concat(f.y-a.top,"px"):"")}var r=e.prefixCls,o=e.title,a=e.style,i=e.className,s=e.visible,l=e.forceRender,c=e.destroyOnClose,u=e.motionName,d=e.ariaId,p=e.onVisibleChanged,f=e.mousePosition,m=a_.useRef(),g=qi(a_.useState(),2),h=g[0],b=g[1],y={};return h&&(y.transformOrigin=h),a_.createElement(zZ,{visible:s,onVisibleChanged:p,onAppearPrepare:n,onEnterPrepare:n,forceRender:l,motionName:u,removeOnLeave:c,ref:m},(function(n,s){var l=n.className;return a_.createElement(W$,fi({},e,{ref:t,title:o,ariaId:d,prefixCls:r,holderRef:s,style:Si(Si(Si({},n.style),a),y),className:QJ(i,l)}))}))}))).displayName="Content",(V$=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,a=void 0!==o&&o,i=e.afterClose,s=qi(a_.useState(t),2),l=s[0],c=s[1];return a_.useEffect((function(){t&&c(!0)}),[t]),r||!a||l?a_.createElement(B$,{open:t||r||l,autoDestroy:!1,getContainer:n,autoLock:t||l},a_.createElement(Fc,fi({},e,{destroyOnClose:a,afterClose:function(){null==i||i(),c(!1)}}))):null}).displayName="Dialog";const X1=()=>Ti()&&window.document.documentElement;let K1;G$="RC_FORM_INTERNAL_HOOKS",K$=a_.createContext({getFieldValue:X$=function(){$i(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},getFieldsValue:X$,getFieldError:X$,getFieldWarning:X$,getFieldsError:X$,isFieldsTouched:X$,isFieldTouched:X$,isFieldValidating:X$,isFieldsValidating:X$,resetFields:X$,setFields:X$,setFieldValue:X$,setFieldsValue:X$,validateFields:X$,submit:X$,getInternalHooks:function(){return X$(),{dispatch:X$,initEntityValue:X$,registerField:X$,useSubscribe:X$,setInitialValues:X$,destroyForm:X$,setCallbacks:X$,registerWatch:X$,getFields:X$,setValidateMessages:X$,setPreserve:X$,getInitialValue:X$}}}),Y$=a_.createContext(null),Q$=/%[sdj%]/g,J$=function(){},Z$=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)),nP=function(){var e,t,n,r,o,a,i,s,l,c,u;return tP||(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(),a=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),i=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),(l=function(e){return e&&e.exact?a:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+o+t(e)+")","g")}).v4=function(e){return e&&e.exact?i: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,tP=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"))},rP=/^(([^<>()\[\]\\.,;:\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,}))$/,oP=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,aP={integer:function(e){return aP.number(e)&&parseInt(e,10)===e},float:function(e){return aP.number(e)&&!aP.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(kQ){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&&!aP.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(rP)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(nP())},hex:function(e){return"string"==typeof e&&!!e.match(oP)}},iP=function(e,t,n,r,o){var a;e.required&&void 0===t?eP(e,t,n,r,o):["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a=e.type)>-1?aP[a](t)||r.push(Vc(o.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&r.push(Vc(o.messages.types[a],e.fullField,e.type))},sP="enum",lP={required:eP=function(e,t,n,r,o,a){!e.required||n.hasOwnProperty(e.field)&&!Gc(t,a||e.type)||r.push(Vc(o.messages.required,e.fullField))},whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(Vc(o.messages.whitespace,e.fullField))},type:iP,range:function(e,t,n,r,o){var a="number"==typeof e.len,i="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),a?l!==e.len&&r.push(Vc(o.messages[c].len,e.fullField,e.len)):i&&!s&&le.max?r.push(Vc(o.messages[c].max,e.fullField,e.max)):i&&s&&(le.max)&&r.push(Vc(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[sP]=Array.isArray(e[sP])?e[sP]:[],-1===e[sP].indexOf(t)&&r.push(Vc(o.messages[sP],e.fullField,e[sP].join(", ")))},pattern:function(e,t,n,r,o){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Vc(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(Vc(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))}},uP={string:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t,"string")&&!e.required)return n();lP.required(e,t,r,a,o,"string"),Gc(t,"string")||(lP.type(e,t,r,a,o),lP.range(e,t,r,a,o),lP.pattern(e,t,r,a,o),!0===e.whitespace&&lP.whitespace(e,t,r,a,o))}n(a)},method:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t)&&!e.required)return n();lP.required(e,t,r,a,o),void 0!==t&&lP.type(e,t,r,a,o)}n(a)},number:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),Gc(t)&&!e.required)return n();lP.required(e,t,r,a,o),void 0!==t&&(lP.type(e,t,r,a,o),lP.range(e,t,r,a,o))}n(a)},boolean:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t)&&!e.required)return n();lP.required(e,t,r,a,o),void 0!==t&&lP.type(e,t,r,a,o)}n(a)},regexp:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t)&&!e.required)return n();lP.required(e,t,r,a,o),Gc(t)||lP.type(e,t,r,a,o)}n(a)},integer:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t)&&!e.required)return n();lP.required(e,t,r,a,o),void 0!==t&&(lP.type(e,t,r,a,o),lP.range(e,t,r,a,o))}n(a)},float:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t)&&!e.required)return n();lP.required(e,t,r,a,o),void 0!==t&&(lP.type(e,t,r,a,o),lP.range(e,t,r,a,o))}n(a)},array:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();lP.required(e,t,r,a,o,"array"),null!=t&&(lP.type(e,t,r,a,o),lP.range(e,t,r,a,o))}n(a)},object:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t)&&!e.required)return n();lP.required(e,t,r,a,o),void 0!==t&&lP.type(e,t,r,a,o)}n(a)},enum:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t)&&!e.required)return n();lP.required(e,t,r,a,o),void 0!==t&&lP.enum(e,t,r,a,o)}n(a)},pattern:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t,"string")&&!e.required)return n();lP.required(e,t,r,a,o),Gc(t,"string")||lP.pattern(e,t,r,a,o)}n(a)},date:function(e,t,n,r,o){var a,i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t,"date")&&!e.required)return n();lP.required(e,t,r,i,o),Gc(t,"date")||(a=t instanceof Date?t:new Date(t),lP.type(e,a,r,i,o),a&&lP.range(e,a.getTime(),r,i,o))}n(i)},url:cP=function(e,t,n,r,o){var a=e.type,i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t,a)&&!e.required)return n();lP.required(e,t,r,i,o,a),Gc(t,a)||lP.type(e,t,r,i,o)}n(i)},hex:cP,email:cP,required:function(e,t,n,r,o){var a=[],i=Array.isArray(t)?"array":typeof t;lP.required(e,t,r,a,o,i),n(a)},any:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Gc(t)&&!e.required)return n();lP.required(e,t,r,a,o)}n(a)}},dP=Qc(),pP=function(){function e(e){this.rules=null,this._messages=dP,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,a,i,s,l,c,u=this;return void 0===n&&(n={}),void 0===r&&(r=function(){}),o=t,i=r,"function"==typeof(a=n)&&(i=a,a={}),this.rules&&0!==Object.keys(this.rules).length?(a.messages?((s=this.messages())===dP&&(s=Qc()),Yc(s,a.messages),a.messages=s):a.messages=this.messages(),l={},(a.keys||Object.keys(this.rules)).forEach((function(e){var n=o[e];u.rules[e].forEach((function(r){var a=r;"function"==typeof a.transform&&(o===t&&(o=zc({},o)),n=o[e]=a.transform(n)),(a="function"==typeof a?{validator:a}:zc({},a)).validator=u.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=u.getType(a),l[e]=l[e]||[],l[e].push({rule:a,value:n,source:o,field:e}))}))})),c={},function(e,t,n,r,o){var a,i,s,l,c,u,d;return t.first?(a=new Promise((function(t,a){var i=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}(e);Xc(i,n,(function(e){return r(e),e.length?a(new Z$(e,qc(e))):t(o)}))})),a.catch((function(e){return e})),a):(i=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],d=new Promise((function(t,a){var d=function(e){if(u.push.apply(u,e),++c===l)return r(u),u.length?a(new Z$(u,qc(u))):t(o)};s.length||(r(u),t(o)),s.forEach((function(t){var r=e[t];-1!==i.indexOf(t)?Xc(r,n,d):function(e,t,n){function r(e){o.push.apply(o,e||[]),++a===i&&n(o)}var o=[],a=0,i=e.length;e.forEach((function(e){t(e,r)}))}(r,n,d)}))})),d.catch((function(e){return e})),d)}(l,a,(function(t,n){function r(e,t){return zc({},t,{fullField:l.fullField+"."+e,fullFields:l.fullFields?[].concat(l.fullFields,[e]):[e]})}function i(i){var s,d,p,f,m;if(void 0===i&&(i=[]),s=Array.isArray(i)?i:[i],!a.suppressWarning&&s.length&&e.warning("async-validator:",s),s.length&&void 0!==l.message&&(s=[].concat(l.message)),d=s.map(Kc(l,o)),a.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)):a.error&&(d=[a.error(l,Vc(a.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(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),m.validate(t.value,t.rule.options||a,(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,i,t.source,a);else if(l.validator){try{s=l.validator(l,t.value,i,t.source,a)}catch(d){console,a.suppressValidatorError||setTimeout((function(){throw d}),0),i(d.message)}!0===s?i():!1===s?i("function"==typeof l.message?l.message(l.fullField||l.field):l.message||(l.fullField||l.field)+" fails"):s instanceof Array?i(s):s instanceof Error&&i(s.message)}s&&s.then&&s.then((function(){return i()}),(function(e){return i(e)}))}),(function(e){!function(e){var t,n,r,a=[],s={};for(t=0;t0&&void 0!==e?e:yP;r.validatePromise===l&&(r.validatePromise=null,n=[],o=[],null===(t=a.forEach)||void 0===t||t.call(a,(function(e){var t=e.errors,r=void 0===t?yP:t;e.rule.warningOnly?o.push.apply(o,ki(r)):n.push.apply(n,ki(r))})),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender())})),d):[]}));return s||(r.validatePromise=l,r.dirty=!0,r.errors=yP,r.warnings=yP,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(G$).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(),Si(Si({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})):1===(n=Ls(e)).length&&a_.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,a=n.validateTrigger,i=n.getValueFromEvent,s=n.normalize,l=n.valuePropName,c=n.getValueProps,u=n.fieldContext,d=void 0!==a?a:u.validateTrigger,p=r.getNamePath(),f=u.getFieldsValue,m=(0,u.getInternalHooks)(G$).dispatch,g=r.getValue(),h=c||function(e){return Ca({},l,e)},b=t[o],y=Si(Si({},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(ki(c.keys.slice(0,t)),[c.id],ki(c.keys.slice(t))),o([].concat(ki(n.slice(0,t)),[e],ki(n.slice(t))))):(c.keys=[].concat(ki(c.keys),[c.id]),o([].concat(ki(n),[e]))),c.id+=1},remove:function(e){var t=i(),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=i();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)}))))},wP="__@field_split__",kP=function(){function e(){Oa(this,e),this.kvs=new Map}return $a(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 ki(this.kvs.entries()).map((function(t){var n=qi(t,2),r=n[1],o=n[0].split(wP);return e({key:o.map((function(e){var t=qi(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}(),xP=["name"],SP=$a((function e(t){var n=this;Oa(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===G$?(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}):($i(!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 kP;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 kP;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,a,i="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?(a="getMeta"in n?n.getMeta():null,t(a)&&o.push(i)):o.push(i))})),au(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,a,i,s,l,c,u,d,p;for(n.warningUnhooked(),e=arguments.length,t=new Array(e),r=0;r0&&void 0!==e?e:{},a=new kP,i=n.getFieldEntities(!0);i.forEach((function(e){var t,n=e.props.initialValue,r=e.getNamePath();void 0!==n&&((t=a.get(r)||new Set).add({entity:e,value:n}),a.set(r,t))})),t=function(e){e.forEach((function(e){var t,r,i;void 0!==e.props.initialValue&&(t=e.getNamePath(),void 0!==n.getInitialValue(t)?$i(!1,"Form already set 'initialValues' with path '".concat(t.join("."),"'. Field can not overwrite it.")):(r=a.get(t))&&r.size>1?$i(!1,"Multiple Field with path '".concat(t.join("."),"' set 'initialValue'. Can not decide which one to pick.")):r&&(i=n.getFieldValue(t),o.skipExist&&void 0!==i||n.updateStore(nl(n.store,t,ki(r)[0].value))))}))},o.entities?r=o.entities:o.namePathList?(r=[],o.namePathList.forEach((function(e){var t,n=a.get(e);n&&(t=r).push.apply(t,ki(ki(n).map((function(e){return e.entity}))))}))):r=i,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,a=Ea(e,xP),i=ou(o);r.push(i),"value"in a&&n.updateStore(nl(n.store,i,a.value)),n.notifyObservers(t,[i],{type:"setField",data:e})})),n.notifyWatch(r)},this.getFields=function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=Si(Si({},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,a){var i,s,l=arguments.length>2&&void 0!==a?a:[];n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),n.isMergedPreserve(o)||r&&!(l.length>1)||(i=r?void 0:n.getInitialValue(t),t.length&&n.getFieldValue(t)!==i&&n.fieldEntities.every((function(e){return!su(e.getNamePath(),t)}))&&(n.updateStore(nl(s=n.store,t,i,!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=Si(Si({},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(ki(r))}),r},this.updateValue=function(e,t){var r,o,a=ou(e),i=n.store;n.updateStore(nl(n.store,a,t)),n.notifyObservers(i,[a],{type:"valueUpdate",source:"internal"}),n.notifyWatch([a]),r=n.triggerDependenciesUpdate(i,a),(o=n.callbacks.onValuesChange)&&o(au(n.store,[a]),n.getFieldsValue()),n.triggerOnFieldsChange([a].concat(ki(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 kP;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,a,i=n.callbacks.onFieldsChange;i&&(r=n.getFields(),t&&(o=new kP,t.forEach((function(e){o.set(e.name,e.errors)})),r.forEach((function(e){e.errors=o.get(e.name)||e.errors}))),(a=r.filter((function(t){return iu(e,t.name)}))).length&&i(a,r))},this.validateFields=function(e,t){var r,o,a,i,s,l,c,u,d,p;return n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e,i=(a=!!r)?r.map(ou):[],s=[],l=String(Date.now()),c=new Set,n.getFieldEntities(!0).forEach((function(e){var t,u,d,p;a||i.push(e.getNamePath()),(null===(t=o)||void 0===t?void 0:t.recursive)&&a&&(u=e.getNamePath()).every((function(e,t){return r[t]===e||void 0===r[t]}))&&i.push(u),e.props.rules&&e.props.rules.length&&(d=e.getNamePath(),c.add(d.join(l)),a&&!iu(i,d)||(p=e.validateRules(Si({validateMessages:Si(Si({},mP),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,ki(t)):n.push.apply(n,ki(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,a){e.forEach((function(e,i){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[i]=e,n>0||(t&&a(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(i)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(i),errorFields:t,outOfDate:n.lastValidatePromise!==u})}))).catch((function(e){return e})),p=i.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})),CP=a_.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),EP=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,o=e.children,a=a_.useContext(CP),i=a_.useRef({});return a_.createElement(CP.Provider,{value:Si(Si({},a),{},{validateMessages:Si(Si({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:i.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:i.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(i.current=Si(Si({},i.current),{},Ca({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=Si({},i.current);delete t[e],i.current=t,a.unregisterForm(e)}})},o)},DP=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],OP=function(e,t){var n,r,o,a,i,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,_=e.onValuesChange,v=e.onFieldsChange,w=e.onFinish,k=e.onFinishFailed,x=Ea(e,DP),S=a_.useContext(CP),C=qi(fu(d),1)[0],E=C.getInternalHooks(G$),D=E.useSubscribe,O=E.setInitialValues,j=E.setCallbacks,$=E.setValidateMessages,P=E.setPreserve,N=E.destroyForm;return a_.useImperativeHandle(t,(function(){return C})),a_.useEffect((function(){return S.registerForm(l,C),function(){S.unregisterForm(l)}}),[S,C,l]),$(Si(Si({},S.validateMessages),h)),j({onValuesChange:_,onFieldsChange:function(e){if(S.triggerFormChange(l,e),v){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{}}),Q1=a_.createContext(null),J1=e=>{const t=Qs(e,["prefixCls"]);return a_.createElement(EP,Object.assign({},t))},Z1=a_.createContext({prefixCls:""}),e2=a_.createContext({}),t2=e=>{let{children:t,status:n,override:r}=e;const o=a_.useContext(e2),a=a_.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 a_.createElement(e2.Provider,{value:a},t)},n2=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:o,onOk:a,onCancel:i,okButtonProps:s,cancelButtonProps:l}=e,[c]=iZ("Modal",il());return gJ.createElement(gJ.Fragment,null,gJ.createElement(h1,Object.assign({onClick:i},l),r||(null==c?void 0:c.cancelText)),gJ.createElement(h1,Object.assign({},$c(n),{loading:o,onClick:a},s),t||(null==c?void 0:c.okText)))},r2=e=>({animationDuration:e,animationFillMode:"both"}),o2=e=>({animationDuration:e,animationFillMode:"both"}),a2=function(e,t,n,r,o){const a=arguments.length>4&&void 0!==o&&o?"&":"";return{[`\n ${a}${e}-enter,\n ${a}${e}-appear\n `]:Object.assign(Object.assign({},r2(r)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},o2(r)),{animationPlayState:"paused"}),[`\n ${a}${e}-enter${e}-enter-active,\n ${a}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},i2=new SO("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),s2=new SO("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),l2=function(e,t){let n=arguments.length>1&&void 0!==t&&t;const{antCls:r}=e,o=`${r}-fade`,a=n?"&":"";return[a2(o,i2,s2,e.motionDurationMid,n),{[`\n ${a}${o}-enter,\n ${a}${o}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${a}${o}-leave`]:{animationTimingFunction:"linear"}}]},c2=new SO("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u2=new SO("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),d2=new SO("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),p2=new SO("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),f2=new SO("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),m2=new SO("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),g2={"move-up":{inKeyframes:new SO("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 SO("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:c2,outKeyframes:u2},"move-left":{inKeyframes:d2,outKeyframes:p2},"move-right":{inKeyframes:f2,outKeyframes:m2}},h2=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=g2[t];return[a2(r,o,a,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},b2=new SO("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),y2=new SO("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),_2=new SO("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),v2=new SO("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),w2=new SO("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),k2=new SO("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),x2=new SO("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),S2=new SO("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),C2={"slide-up":{inKeyframes:b2,outKeyframes:y2},"slide-down":{inKeyframes:_2,outKeyframes:v2},"slide-left":{inKeyframes:w2,outKeyframes:k2},"slide-right":{inKeyframes:x2,outKeyframes:S2}},E2=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=C2[t];return[a2(r,o,a,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}}]},D2=new SO("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),O2=new SO("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),j2=new SO("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),$2=new SO("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),P2=new SO("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),N2=new SO("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),T2=new SO("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),I2=new SO("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),A2=new SO("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),R2=new SO("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),F2=new SO("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),M2=new SO("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),L2={zoom:{inKeyframes:D2,outKeyframes:O2},"zoom-big":{inKeyframes:j2,outKeyframes:$2},"zoom-big-fast":{inKeyframes:j2,outKeyframes:$2},"zoom-left":{inKeyframes:T2,outKeyframes:I2},"zoom-right":{inKeyframes:A2,outKeyframes:R2},"zoom-up":{inKeyframes:P2,outKeyframes:N2},"zoom-down":{inKeyframes:F2,outKeyframes:M2}},z2=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=L2[t];return[a2(r,o,a,"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}}]},B2=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`}}}),H2=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`]:l2(e)}]},U2=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({},EZ(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}},$Z(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"}}}]},W2=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}}},q2=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},V2=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}}}},G2=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[U2(n),W2(n),q2(n),H2(n),e.wireframe&&V2(n),z2(n,"zoom")]}),(e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading})));let X2;$P=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{X2={x:e.pageX,y:e.pageY},setTimeout((()=>{X2=null}),100)}),!0);const K2=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:o,modal:a}=a_.useContext(xZ),i=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:_=520,footer:v}=e,w=$P(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),k=r("modal",s),x=r(),[S,C]=G2(k),E=QJ(d,{[`${k}-centered`]:!!p,[`${k}-wrap-rtl`]:"rtl"===o}),D=void 0===v?a_.createElement(n2,Object.assign({},e,{onOk:t=>{const{onOk:n}=e;null==n||n(t)},onCancel:i})):v,[O,j]=Mc(g,m,(e=>hu(k,e)),a_.createElement(n0,{className:`${k}-close-icon`}),!0);return S(a_.createElement(A0,null,a_.createElement(t2,{status:!0,override:!0},a_.createElement(V$,Object.assign({width:_},w,{getContainer:void 0===f?n:f,prefixCls:k,rootClassName:QJ(C,c),wrapClassName:E,footer:D,visible:null!=u?u:y,mousePosition:null!==(t=w.mousePosition)&&void 0!==t?t:X2,onClose:i,closable:O,closeIcon:j,focusTriggerAfterClose:h,transitionName:S1(x,"zoom",e.transitionName),maskTransitionName:S1(x,"fade",e.maskTransitionName),className:QJ(C,l,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),b)})))))},Y2=e=>{const{close:t,zIndex:n,afterClose:r,open:o,keyboard:a,centered:i,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:_}=e,v=`${u}-confirm`,w=e.width||416,k=e.style||{},x=void 0===e.mask||e.mask,S=void 0!==e.maskClosable&&e.maskClosable,C=QJ(v,`${v}-${e.type}`,{[`${v}-rtl`]:"rtl"===c},e.className);return a_.createElement(XZ,{prefixCls:p,iconPrefixCls:f,direction:c,theme:m},a_.createElement(K2,{prefixCls:u,className:C,wrapClassName:QJ({[`${v}-centered`]:!!e.centered},d),onCancel:()=>null==t?void 0:t({triggerCancel:!0}),open:o,title:"",footer:null,transitionName:S1(p,"zoom",e.transitionName),maskTransitionName:S1(p,"fade",e.maskTransitionName),mask:x,maskClosable:S,maskStyle:l,style:k,bodyStyle:g,width:w,zIndex:n,afterClose:r,keyboard:a,centered:i,getContainer:s,closable:h,closeIcon:b,modalRender:y,focusTriggerAfterClose:_},a_.createElement(yu,Object.assign({},e,{confirmPrefixCls:v}))))},Q2=[];PP=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[a,i]=a_.useState(!0),[s,l]=a_.useState(r),{direction:c,getPrefixCls:u}=a_.useContext(xZ),d=u("modal"),p=u(),f=function(){i(!1);for(var e=arguments.length,t=new Array(e),n=0;ne&&e.triggerCancel));s.onCancel&&r&&s.onCancel.apply(s,[()=>{}].concat(ki(t.slice(1))))};a_.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]=iZ("Modal",rZ.Modal);return a_.createElement(Y2,Object.assign({prefixCls:d,rootPrefixCls:p},s,{close:f,open:a,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)}))},e5=a_.forwardRef(Z2);let t5=0;const n5=a_.memo(a_.forwardRef(((e,t)=>{const[n,r]=function(){const[e,t]=a_.useState([]);return[e,a_.useCallback((e=>(t((t=>[].concat(ki(t),[e]))),()=>{t((t=>t.filter((t=>t!==e))))})),[])]}();return a_.useImperativeHandle(t,(()=>({patchElement:r})),[]),a_.createElement(a_.Fragment,null,n)}))),r5=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 SO("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 SO("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 SO("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}})}}}},o5=e=>{const{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:o,notificationMarginBottom:a,borderRadiusLG:i,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:_,notificationIconSize:v,colorText:w}=e,k=`${n}-notice`,x=new SO("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:_},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),S=new SO("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:a,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),C={position:"relative",width:_,maxWidth:`calc(100vw - ${2*m}px)`,marginBottom:a,marginInlineStart:"auto",padding:f,overflow:"hidden",lineHeight:y,wordWrap:"break-word",background:p,borderRadius:i,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+v,fontSize:o},[`${k}-with-icon ${k}-description`]:{marginInlineStart:e.marginSM+v,fontSize:b},[`${k}-icon`]:{position:"absolute",fontSize:v,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({},EZ(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"}}),r5(e)),{"&-rtl":{direction:"rtl",[`${k}-btn`]:{float:"left"}}})},{[n]:{[k]:Object.assign({},C)}},{[`${k}-pure-panel`]:Object.assign(Object.assign({},C),{margin:0})}]},a5=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[o5(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50,width:384})));NP=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:a,btn:i,role:s="alert"}=e;let l=null;return n?l=a_.createElement("span",{className:`${t}-icon`},n):r&&(l=a_.createElement(i5[r]||null,{className:QJ(`${t}-icon`,`${t}-icon-${r}`)})),a_.createElement("div",{className:QJ({[`${t}-with-icon`]:l}),role:s},l,a_.createElement("div",{className:`${t}-message`},o),a_.createElement("div",{className:`${t}-description`},a),i&&a_.createElement("div",{className:`${t}-btn`},i))};TP=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:a,maxCount:i,rtl:s,onAllRemoved:l}=e,{getPrefixCls:c,getPopupContainer:u,notification:d}=a_.useContext(xZ),p=o||c("notification"),[,f]=a5(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:()=>QJ(f,{[`${p}-rtl`]:s}),motion:()=>function(e){return{motionName:`${e}-fade`}}(p),closable:!0,closeIcon:Eu(p),duration:4.5,getContainer:()=>(null==a?void 0:a())||(null==u?void 0:u())||document.body,maxCount:i,onAllRemoved:l});return a_.useImperativeHandle(t,(()=>Object.assign(Object.assign({},m),{prefixCls:p,hashId:f,notification:d}))),g})),u5=gJ.createContext({}),d5=gJ.createContext({message:{},notification:{},modal:{}}),p5=e=>{const{componentCls:t,colorText:n,fontSize:r,lineHeight:o,fontFamily:a}=e;return{[t]:{color:n,fontSize:r,lineHeight:o,fontFamily:a}}},f5=Ml("App",(e=>[p5(e)])),m5=e=>{const{prefixCls:t,children:n,className:r,rootClassName:o,message:a,notification:i,style:s}=e,{getPrefixCls:l}=a_.useContext(xZ),c=l("app",t),[u,d]=f5(c),p=QJ(d,c,r,o),f=a_.useContext(u5),m=gJ.useMemo((()=>({message:Object.assign(Object.assign({},f.message),a),notification:Object.assign(Object.assign({},f.notification),i)})),[a,i,f.message,f.notification]),[g,h]=dc(m.message),[b,y]=Ou(m.notification),[_,v]=Cu(),w=gJ.useMemo((()=>({message:g,notification:b,modal:_})),[g,b,_]);return u(gJ.createElement(d5.Provider,{value:w},gJ.createElement(u5.Provider,{value:m},gJ.createElement("div",{className:p,style:s},v,h,y,n))))};m5.useApp=()=>gJ.useContext(d5);const g5=m5,h5=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))};IP=a_.createContext(null),AP=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],RP=void 0,(FP=a_.forwardRef($u)).displayName="Item",MP=gJ.createContext(null),LP=["component"],zP=["className"],BP=["className"],HP=function(e,t){var n,r,o,a,i,s,l,c=a_.useContext(MP);return c?(a=c.className,i=Ea(c,zP),s=e.className,l=Ea(e,BP),a_.createElement(MP.Provider,{value:null},a_.createElement(FP,fi({ref:t,className:QJ(a,s)},i,l)))):(r=void 0===(n=e.component)?"div":n,o=Ea(e,LP),a_.createElement(r,fi({},o,{ref:t})))},(UP=a_.forwardRef(HP)).displayName="RawItem",WP=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],qP="responsive",VP="invalidate",(GP=a_.forwardRef(Tu)).displayName="Overflow",GP.Item=UP,GP.RESPONSIVE=qP,GP.INVALIDATE=VP,XP=function(e){var t,n=e.className,r=e.customizeIcon,o=e.onMouseDown,a=e.onClick,i=e.children;return t="function"==typeof r?r(e.customizeIconProps):r,a_.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),o&&o(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a,"aria-hidden":!0},void 0!==t?t:a_.createElement("span",{className:QJ(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},i))},(KP=a_.forwardRef((function(e,t){var n,r,o=e.prefixCls,a=e.id,i=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,_=e.onCompositionEnd,v=e.open,w=e.attrs,k=e.inputElement||a_.createElement("input",null),x=k.ref,S=k.props,C=S.onKeyDown,E=S.onChange,D=S.onMouseDown,O=S.onCompositionStart,j=S.onCompositionEnd,$=S.style;return a_.cloneElement(k,Si(Si(Si({type:"search"},S),{},{id:a,ref:Bs(t,x),disabled:i,tabIndex:s,autoComplete:c||"off",autoFocus:l,className:QJ("".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":v,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":d},w),{},{value:u?p:"",maxLength:f,readOnly:!u,unselectable:u?null:"on",style:Si(Si({},$),{},{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){_(e),j&&j(e)},onPaste:b}))}))).displayName="Input",YP="undefined"!=typeof window&&window.document&&window.document.documentElement,QP=YP,JP=function(e){e.preventDefault(),e.stopPropagation()},ZP=function(e){function t(e,t,n,r,o){return a_.createElement("span",{className:QJ("".concat(H,"-item"),Ca({},"".concat(H,"-item-disabled"),n)),title:Ru(e)},a_.createElement("span",{className:"".concat(H,"-item-content")},t),r&&a_.createElement(XP,{className:"".concat(H,"-item-remove"),onMouseDown:JP,onClick:o,customizeIcon:w},"ร—"))}var n,r,o,a,i=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,_=e.activeDescendantId,v=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,j=e.onInputChange,$=e.onInputPaste,P=e.onInputKeyDown,N=e.onInputMouseDown,T=e.onInputCompositionStart,I=e.onInputCompositionEnd,A=a_.useRef(null),R=qi(a_.useState(0),2),F=R[0],M=R[1],L=qi(a_.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)},a=[U],QP?a_.useLayoutEffect(o,a):a_.useEffect(o,a),n=a_.createElement("div",{className:"".concat(H,"-search"),style:{width:F},onFocus:function(){B(!0)},onBlur:function(){B(!1)}},a_.createElement(KP,{ref:p,open:c,prefixCls:s,id:i,inputElement:null,disabled:m,autoFocus:b,autoComplete:y,editable:W,activeDescendantId:_,value:U,onKeyDown:P,onMouseDown:N,onChange:j,onPaste:$,onCompositionStart:T,onCompositionEnd:I,tabIndex:v,attrs:ac(e,!0)}),a_.createElement("span",{ref:A,className:"".concat(H,"-search-mirror"),"aria-hidden":!0},U,"ย ")),r=a_.createElement(GP,{prefixCls:"".concat(H,"-overflow"),data:l,renderItem:function(e){var n,r,o=e.disabled,a=e.label,i=e.value,s=!m&&!o,l=a;return"number"==typeof x&&("string"!=typeof a&&"number"!=typeof a||(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 a_.createElement("span",{onMouseDown:function(e){JP(e),D(!c)}},E({label:t,value:e,disabled:n,closable:r,onClose:o}))}(i,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}),a_.createElement(a_.Fragment,null,r,!l.length&&!U&&a_.createElement("span",{className:"".concat(H,"-placeholder")},f))},eN=function(e){var t,n,r,o=e.inputElement,a=e.prefixCls,i=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,_=e.activeValue,v=e.maxLength,w=e.onInputKeyDown,k=e.onInputMouseDown,x=e.onInputChange,S=e.onInputPaste,C=e.onInputCompositionStart,E=e.onInputCompositionEnd,D=e.title,O=qi(a_.useState(!1),2),j=O[1],$="combobox"===p,P=$||b,N=m[0],T=y||"";return $&&_&&!O[0]&&(T=_),a_.useEffect((function(){$&&j(!1)}),[$,_]),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 a_.createElement("span",{className:"".concat(a,"-selection-placeholder"),style:e},g)},a_.createElement(a_.Fragment,null,a_.createElement("span",{className:"".concat(a,"-selection-search")},a_.createElement(KP,{ref:s,prefixCls:a,id:i,open:f,inputElement:o,disabled:l,autoFocus:c,autoComplete:u,editable:P,activeDescendantId:d,value:T,onKeyDown:w,onMouseDown:k,onChange:function(e){j(!0),x(e)},onPaste:S,onCompositionStart:C,onCompositionEnd:E,tabIndex:h,attrs:ac(e,!0),maxLength:$?v:void 0})),!$&&N?a_.createElement("span",{className:"".concat(a,"-selection-item"),title:n,style:t?{visibility:"hidden"}:void 0},N.label):null,r())},tN=function(e,t){var n,r,o,a,i,s,l,c,u,d,p=a_.useRef(null),f=a_.useRef(!1),m=e.prefixCls,g=e.open,h=e.mode,b=e.showSearch,y=e.tokenWithEnter,_=e.autoClearSearchValue,v=e.onSearch,w=e.onSearchSubmit,k=e.onToggleOpen,x=e.onInputKeyDown,S=e.domRef;return a_.useImperativeHandle(t,(function(){return{focus:function(){p.current.focus()},blur:function(){p.current.blur()}}})),n=qi(ju(0),2),r=n[0],o=n[1],a=function(e){var t=e.which;t!==y$.UP&&t!==y$.DOWN||e.preventDefault(),x&&x(e),t!==y$.ENTER||"tags"!==h||f.current||g||null==w||w(e.target.value),[y$.ESC,y$.SHIFT,y$.BACKSPACE,y$.TAB,y$.WIN_KEY,y$.ALT,y$.META,y$.WIN_KEY_RIGHT,y$.CTRL,y$.SEMICOLON,y$.EQUALS,y$.CAPS_LOCK,y$.CONTEXT_MENU,y$.F1,y$.F2,y$.F3,y$.F4,y$.F5,y$.F6,y$.F7,y$.F8,y$.F9,y$.F10,y$.F11,y$.F12].includes(t)||k(!0)},i=function(){o(!0)},s=a_.useRef(null),l=function(e){!1!==v(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=a_.createElement("multiple"===h||"tags"===h?ZP:eN,fi({},e,{inputRef:p,onInputKeyDown:a,onInputMouseDown:i,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)}})),a_.createElement("div",{ref:S,className:"".concat(m,"-selector"),onClick:c,onMouseDown:u},d)},(nN=a_.forwardRef(tN)).displayName="Selector",rN=a_.createContext(null),oN=a_.memo((function(e){return e.children}),(function(e,t){return t.cache})),aN=a_.forwardRef((function(e,t){var n,r,o,a,i,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,_=e.arrow,v=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,j=e.onMouseEnter,$=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=qi(a_.useState(!C||!U),2),q=W[0],V=W[1];return UD((function(){!q&&U&&f&&V(!0)}),[q,U,f]),q?(r={left:"-1000vw",top:"-1000vh",right:n="auto",bottom:n},!P&&g||(o=w.points,s=(i=null==(a=w._experimental)?void 0:a.dynamicInset)&&"b"===o[0][0],i&&"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"),a_.createElement(D,{open:S||H,getContainer:C&&function(){return C(f)},autoDestroy:E},a_.createElement(Ju,{prefixCls:d,open:g,zIndex:O,mask:y,motion:x}),a_.createElement(oj,{onResize:R,disabled:!g},(function(e){return a_.createElement(zZ,fi({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 a=n.style,i=QJ(d,n.className,u);return a_.createElement("div",{ref:Bs(e,t,o),className:i,style:Si(Si(Si(Si({"--arrow-x":"".concat(v.x||0,"px"),"--arrow-y":"".concat(v.y||0,"px")},r),l),a),{},{boxSizing:"border-box",zIndex:O},p),onMouseEnter:j,onMouseLeave:$,onClick:b},_&&a_.createElement(Qu,{prefixCls:d,arrow:_,arrowPos:v,align:w}),a_.createElement(oN,{cache:!g},B))}))})))):null})),iN=a_.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=Us(n),a=Hs(a_.useCallback((function(e){zs(t,r?r(e):e)}),[r]),n.ref);return o?a_.cloneElement(n,{ref:a}):n})),sN=["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 b5=function(e){var t=arguments.length>0&&void 0!==e?e:B$,n=a_.forwardRef((function(e,n){var r,o,a,i,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,q,V,G,X,K,Y,Q,J,Z,ee,te,ne,re,oe,ae,ie,se,le,ce,ue,de,pe,fe,me,ge,he,be,ye,_e,ve,we,ke,xe,Se,Ce,Ee=e.prefixCls,De=void 0===Ee?"rc-trigger-popup":Ee,Oe=e.children,je=e.action,$e=void 0===je?"hover":je,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,qe=e.getPopupContainer,Ve=e.forceRender,Ge=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,at=e.alignPoint,it=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=Ea(e,sN),yt=Ge||Xe||!1,_t=qi(a_.useState(!1),2),vt=_t[0],wt=_t[1];return UD((function(){wt(h5())}),[]),r=a_.useRef({}),o=a_.useContext(rN),a=a_.useMemo((function(){return{registerSubPopup:function(e,t){r.current[e]=t,null==o||o.registerSubPopup(e,t)}}}),[o]),i=Tc(),s=qi(a_.useState(null),2),l=s[0],c=s[1],u=Nl((function(e){Ws(e)&&l!==e&&c(e),null==o||o.registerSubPopup(i,e)})),d=qi(a_.useState(null),2),p=d[0],f=d[1],m=Nl((function(e){Ws(e)&&p!==e&&f(e)})),g=a_.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}))})),_=zu(De,ct,pt,dt),v=zu(De,ut,mt,ft),w=qi(a_.useState(Ie||!1),2),k=w[1],x=null!=Te?Te:w[0],S=Nl((function(e){void 0===Te&&k(e)})),UD((function(){k(Te||!1)}),[Te]),(C=a_.useRef(x)).current=x,E=Nl((function(e){x!==e&&(S(e),null==Ae||Ae(e))})),D=a_.useRef(),O=function(){clearTimeout(D.current)},j=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)},a_.useEffect((function(){return O}),[]),$=qi(a_.useState(!1),2),P=$[0],N=$[1],UD((function(e){e&&!x||N(!0)}),[x]),T=qi(a_.useState(null),2),I=T[0],A=T[1],F=(R=qi(a_.useState([0,0]),2))[0],M=R[1],L=function(e){M([e.clientX,e.clientY])},z=function(e,t,n,r,o,a,i){var s,l,c,u=qi(a_.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=a_.useRef(0),m=a_.useMemo((function(){return t?Hu(t):[]}),[t]),g=a_.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,q,V,G,X,K,Y,Q,J,Z,ee,te,ne,re,oe,ae,ie,se,le,ce,ue,de,pe,fe,me,ge,he,be,ye,_e,ve,we,ke,xe,Se,Ce,Ee,De,Oe,je,$e,Pe,Ne,Te,Ie,Ae,Re,Fe,Me,Le,ze,Be,He,Ue,We,qe,Ve,Ge;if(t&&n&&e){let e=function(e,t,n){var r=arguments.length>2&&void 0!==n?n:M,o=v.x+e,a=v.y+t,i=o+O,s=a+D,l=Math.max(o,r.left),c=Math.max(a,r.top),u=Math.min(i,r.right),d=Math.min(s,r.bottom);return Math.max(0,(u-l)*(d-c))},Xe=function(){be=(he=v.y+re)+D,_e=(ye=v.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=Si(Si({},o[r]),a),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:(_=n.getBoundingClientRect()).x,y:_.y,width:_.width,height:_.height},v=s.getBoundingClientRect(),k=(w=h.getComputedStyle(s)).width,x=w.height,D=v.height,O=v.width,j=y.height,$=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=qu({left:-(E=S.scrollLeft),top:-(C=S.scrollTop),right:S.scrollWidth-E,bottom:S.scrollHeight-C},m),F=qu(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)&&!S0(n))return;U=b.targetOffset,q=(W=qi(Gu(v,b.offset),2))[0],V=W[1],X=(G=qi(Gu(y,U),2))[1],y.x-=G[0],y.y-=X,Y=(K=qi(b.points||[],2))[0],Q=Xu(K[1]),J=Xu(Y),Z=Ku(y,Q),ee=Ku(v,J),te=Si({},b),oe=e(ne=Z.x-ee.x+q,re=Z.y-ee.y+V),ae=e(ne,re,F),ie=Ku(y,["t","l"]),se=Ku(v,["t","l"]),le=Ku(y,["b","r"]),ce=Ku(v,["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(),ve=ge(pe),we=J[0]===Q[0],ve&&"t"===J[0]&&(be>L.bottom||g.current.bt)&&(ke=re,we?ke-=D-j:ke=ie.y-ce.y-V,xe=e(ne,ke),Se=e(ne,ke,F),xe>oe||xe===oe&&(!A||Se>=ae)?(g.current.bt=!0,re=ke,te.points=[Yu(J,0),Yu(Q,0)]):g.current.bt=!1),ve&&"b"===J[0]&&(heoe||Ee===oe&&(!A||De>=ae)?(g.current.tb=!0,re=Ce,te.points=[Yu(J,0),Yu(Q,0)]):g.current.tb=!1),Oe=ge(de),je=J[1]===Q[1],Oe&&"l"===J[1]&&(_e>L.right||g.current.rl)&&($e=ne,je?$e-=O-$:$e=ie.x-ce.x-q,Pe=e($e,re),Ne=e($e,re,F),Pe>oe||Pe===oe&&(!A||Ne>=ae)?(g.current.rl=!0,ne=$e,te.points=[Yu(J,1),Yu(Q,1)]):g.current.rl=!1),Oe&&"r"===J[1]&&(yeoe||Ie===oe&&(!A||Ae>=ae)?(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-=_e-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-V,y.y>F.bottom-Fe&&(re+=y.y-F.bottom+Fe))),Le=(Me=v.x+ne)+O,Be=(ze=v.y+re)+D,Ue=(He=y.x)+$,qe=(We=y.y)+j,Ve=(Math.max(Me,He)+Math.min(Le,Ue))/2-Me,Ge=(Math.max(ze,We)+Math.min(Be,qe))/2-ze,null==i||i(t,te),p({ready:!0,offsetX:ne/B,offsetY:re/H,offsetR:(z.right-v.x-(ne+v.width))/B,offsetB:(z.bottom-v.y-(re+v.height))/H,arrowX:Ve/B,arrowY:Ge/H,scaleX:B,scaleY:H,align:te})}})),l=function(){f.current+=1;var e=f.current;Promise.resolve().then((function(){f.current===e&&s()}))},UD(c=function(){p((function(e){return Si(Si({},e),{},{ready:!1})}))},[r]),UD((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,at?F:p,Je,et,tt,st),H=(B=qi(z,11))[0],U=B[1],W=B[2],q=B[3],V=B[4],G=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){UD((function(){var o,a,i,s,l;if(e&&t&&n){let e=function(){r()};return o=n,a=Hu(t),i=Hu(o),s=Bu(o),(l=new Set([s].concat(ki(a),ki(i)))).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),UD((function(){Z()}),[F,Je]),UD((function(){!x||null!=et&&et[Je]||Z()}),[JSON.stringify(tt)]),ee=a_.useMemo((function(){var e=function(e,t,n,r){var o,a,i,s=n.points,l=Object.keys(e);for(o=0;o1?i-1:0),l=1;l1?n-1:0),o=1;o1?n-1:0),o=1;o0&&void 0!==e?e:10,n=qi(a_.useState(!1),2),r=n[0],o=n[1],a=a_.useRef(null),i=function(){window.clearTimeout(a.current)};return a_.useEffect((function(){return i}),[]),[r,function(e,n){i(),a.current=window.setTimeout((function(){o(e),n&&n()}),t)},i]}(),m=(f=qi(p,3))[0],g=f[1],h=f[2],a_.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=a_.useMemo((function(){var e,t;return"combobox"!==_e?$e:"string"==typeof(t=null===(e=fe[0])||void 0===e?void 0:e.value)||"number"==typeof t?String(t):""}),[$e,_e,fe]),y="combobox"===_e&&"function"==typeof ke&&ke()||null,_="function"==typeof xe&&xe(),v=Hs(l,null==_||null===(n=_.props)||void 0===n?void 0:n.ref),k=(w=qi(a_.useState(!1),2))[0],x=w[1],UD((function(){x(!0)}),[]),S=qi(Al(!1,{defaultValue:Ce,value:Se}),2),C=S[0],D=!!k&&C,O=!be&&ge,(ve||O&&D&&"combobox"===_e)&&(D=!1),j=!O&&D,$=a_.useCallback((function(e){var t=void 0!==e?e:!D;ve||(E(t),D!==t&&(null==Ee||Ee(t)))}),[ve,D,E=S[1],Ee]),P=a_.useMemo((function(){return(Ie||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[Ie]),N=function(e,t,n){var r,o,a,i,s=!0,l=e;return null==Oe||Oe(null),r=n?null:(o=Ie)&&o.length?(a=!1,i=function e(t,n){var r,o=Zs(n),i=o[0],s=o.slice(1);return i?(r=t.split(i),a=a||r.length>1,r.reduce((function(t,n){return[].concat(ki(t),ki(e(n,s)))}),[]).filter((function(e){return e}))):[t]}(e,o),a?i:null):null,"combobox"!==_e&&r&&(l="",null==Te||Te(r),$(!1),s=!1),Ne&&b!==l&&Ne(l,{source:t?"typing":"effect"}),s},T=function(e){e&&e.trim()&&Ne(e,{source:"submit"})},a_.useEffect((function(){D||ot||"combobox"===_e||N("",!1,!1)}),[D]),a_.useEffect((function(){C&&ve&&E(!1),ve&&g(!1)}),[ve]),I=qi(ju(),2),A=I[0],R=I[1],F=function(e){var t,n,r,o,a,i,s,l,c=A(),u=e.which;if(u===y$.ENTER&&("combobox"!==_e&&e.preventDefault(),D||$(!0)),R(!!b),u===y$.BACKSPACE&&!c&&ot&&!b&&fe.length){for(n=null,r=(t=ki(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(a=arguments.length,i=new Array(a>1?a-1:0),s=1;s1?t-1:0),r=1;r1?r-1:0),i=1;ie.height},n}Is(e,a_.Component);var t=Ms(e);return $a(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,a=r.direction,i=this.getSpinHeight(),s=this.getTop(),l=this.showScroll(),c=l&&n,u="rtl"===a?{left:0}:{right:0};return a_.createElement("div",{ref:this.scrollbarRef,className:QJ("".concat(o,"-scrollbar"),Ca({},"".concat(o,"-scrollbar-show"),l)),style:Si(Si({width:8,top:0,bottom:0},u),{},{position:"absolute",display:c?null:"none"}),onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},a_.createElement("div",{ref:this.thumbRef,className:QJ("".concat(o,"-scrollbar-thumb"),Ca({},"".concat(o,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:i,top:s,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),e}(),xN=function(){function e(){Oa(this,e),this.maps=void 0,this.maps=Object.create(null)}return $a(e,[{key:"set",value:function(e,t){this.maps[e]=t}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),SN="object"===("undefined"==typeof navigator?"undefined":xa(navigator))&&/Firefox/i.test(navigator.userAgent);const y5=function(e,t){var n=a_.useRef(!1),r=a_.useRef(null),o=a_.useRef({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e,t){var a=e<0&&o.current.top||e>0&&o.current.bottom;return arguments.length>1&&void 0!==t&&t&&a?(clearTimeout(r.current),n.current=!1):a&&!n.current||(clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)),!n.current&&a}};CN=14/15,EN=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","component","onScroll","onVisibleChange","innerProps"],DN=[],ON={overflowY:"auto",overflowAnchor:"none"},(jN=a_.forwardRef(sd)).displayName="List",$N=a_.createContext(null),PN=["disabled","title","children","style","className"],NN=function(e,t){function n(e,t){return{role:e.group?"presentation":"option",id:"".concat(d,"_list_").concat(t)}}var r,o,a,i,s,l,c=a_.useContext(IP),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,_=a_.useContext($N),v=_.flattenOptions,w=_.onActiveValue,k=_.defaultActiveFirstOption,x=_.onSelect,S=_.menuItemSelectedIcon,C=_.rawValues,E=_.fieldNames,D=_.virtual,O=_.direction,j=_.listHeight,$=_.listItemHeight,P="".concat(u,"-item"),N=Ei((function(){return v}),[p,v],(function(e,t){return t[0]&&e[1]!==t[1]})),T=a_.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,a=arguments.length>1&&void 0!==t?t:1,i=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 a_.useEffect((function(){z(!1!==k?R(0):-1)}),[N.length,g]),r=a_.useCallback((function(e){return C.has(e)&&"combobox"!==m}),[m,ki(C).toString(),C.size]),a_.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,v.length]),o=function(e){void 0!==e&&x(e,{selected:!C.has(e)}),f||h(!1)},a_.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t,n,r,a=e.which,i=e.ctrlKey;switch(a){case y$.N:case y$.P:case y$.UP:case y$.DOWN:t=0,a===y$.UP?t=-1:a===y$.DOWN?t=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&i&&(a===y$.N?t=1:a===y$.P&&(t=-1)),0!==t&&(n=R(M+t,t),A(n),z(n,!0));break;case y$.ENTER:o((r=N[M])&&!r.data.disabled?r.value:void 0),p&&e.preventDefault();break;case y$.ESC:h(!1),p&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){A(e)}}})),0===N.length?a_.createElement("div",{role:"listbox",id:"".concat(d,"_list"),className:"".concat(P,"-empty"),onMouseDown:I},b):(a=Object.keys(E).map((function(e){return E[e]})),i=function(e){return e.label},s=function(e){var t,o,a,s,l,c=N[e];return c?(o=(t=c.data||{}).value,a=c.group,s=ac(t,!0),l=i(c),c?a_.createElement("div",fi({"aria-label":"string"!=typeof l||a?null:l},s,{key:e},n(c,e),{"aria-selected":r(o)}),o):null):null},l={role:"listbox",id:"".concat(d,"_list")},a_.createElement(a_.Fragment,null,D&&a_.createElement("div",fi({},l,{style:{height:0,width:0,overflow:"hidden"}}),s(M-1),s(M),s(M+1)),a_.createElement(jN,{itemKey:"key",ref:T,data:N,height:j,itemHeight:$,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,a_.createElement("div",{className:QJ(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(Ea(x,PN),a),g=r(E),h="".concat(P,"-option"),b=QJ(P,h,f,(Ca(s={},"".concat(h,"-grouped"),k),Ca(s,"".concat(h,"-active"),M===t&&!u),Ca(s,"".concat(h,"-disabled"),u),Ca(s,"".concat(h,"-selected"),g),s)),y=i(e),_=!S||"function"==typeof S||g,w=ld(v="number"==typeof y?y:y||E)?v.toString():void 0,void 0!==d&&(w=d),a_.createElement("div",fi({},ac(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}),a_.createElement("div",{className:"".concat(h,"-content")},v),a_.isValidElement(S)||g,_&&a_.createElement(XP,{className:"".concat(P,"-option-state"),customizeIcon:S,customizeIconProps:{isSelected:g}},g?"โœ“":null)))}))))},(TN=a_.forwardRef(NN)).displayName="OptionList",IN=["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"],AN=["inputValue"],RN=a_.forwardRef((function(e,t){var n,r,o,a,i,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,j=e.inputValue,$=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,q=e.menuItemSelectedIcon,V=e.virtual,G=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=Ea(e,IN),re=function(e){var t=qi(a_.useState(),2),n=t[0],r=t[1];return a_.useEffect((function(){var e;r("rc_select_".concat((hN?(e=gN,gN+=1):e="TEST_OR_SSR",e)))}),[]),e||n}(x),oe=nd(S),ae=!(H||!U),ie=a_.useMemo((function(){return(void 0!==M||"combobox"!==S)&&M}),[M,S]),se=a_.useMemo((function(){return ed(O,ae)}),[JSON.stringify(O),ae]),le=qi(Al("",{value:void 0!==$?$:j,postState:function(e){return e||""}}),2),ce=le[0],ue=le[1],de=function(e,t,n,r,o){return a_.useMemo((function(){var a,i,s,l=e;return!e&&(l=rd(t)),a=new Map,i=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=[],a=ed(n.fieldNames,!1),i=a.label,s=a.value,l=a.options,c=a.groupLabel;return function e(t,n){t.forEach((function(t){var a,u;n||!(l in t)?(a=t[s],o.push({key:Zu(t,o.length),groupOption:n,data:t,label:t[i],value:a})):(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}(i,{fieldNames:se,childrenAsData:ae})}),[i,se,ae]),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=qi(a_.useState(null),2))[0],d=c[1],f=(p=qi(a_.useState(0),2))[0],m=p[1],g=void 0!==W?W:"combobox"!==S,h=a_.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,a=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=qi(a(),2),I(r[0],r[1])):!t&&A&&"clear"!==n&&(o=qi(a(),2),A(o[0],o[1]))},y=od((function(e,t){var n,r=!oe||t.selected;n=r?oe?[].concat(ki(we),[e]):[e]:we.filter((function(t){return t.value!==e})),l(n),b(e,r),"combobox"===S?d(""):nd&&!T||(ue(""),d(""))})),_=function(e,t){l(e);var n=t.type;"remove"!==n&&"clear"!==n||t.values.forEach((function(e){b(e.value,!1,n)}))},v=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(ki(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(ki(Se),ki(n)))),l(t),t.forEach((function(e){b(e,!0)}))},k=a_.useMemo((function(){var e=!1!==V&&!1!==F;return Si(Si({},de),{},{flattenOptions:s,onActiveValue:h,defaultActiveFirstOption:g,onSelect:y,menuItemSelectedIcon:q,rawValues:Se,fieldNames:se,virtual:e,direction:G,listHeight:K,listItemHeight:Q,childrenAsData:ae})}),[de,s,h,g,y,q,Se,se,V,F,K,Q,ae]),a_.createElement($N.Provider,{value:k},a_.createElement(mN,fi({},ne,{id:re,prefixCls:E,ref:t,omitDomProps:AN,mode:S,displayValues:xe,onDisplayValuesChange:_,direction:G,searchValue:ce,onSearch:v,autoClearSearchValue:T,onSearchSplit:w,dropdownMatchSelectWidth:F,OptionList:TN,emptyOptions:!s.length,activeValue:u,activeDescendantId:"".concat(re,"_list_").concat(f)})))})),(FN=RN).Option=vN,FN.OptGroup=_N;const _5=(e,t)=>t||e,v5=()=>{const[,e]=Pl(),t=new hj(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return a_.createElement("svg",{style:t,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},a_.createElement("g",{fill:"none",fillRule:"evenodd"},a_.createElement("g",{transform:"translate(24 31.67)"},a_.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),a_.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"}),a_.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)"}),a_.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"}),a_.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"})),a_.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"}),a_.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},a_.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),a_.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},w5=()=>{const[,e]=Pl(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:o}=e,{borderColor:a,shadowColor:i,contentColor:s}=a_.useMemo((()=>({borderColor:new hj(t).onBackground(o).toHexShortString(),shadowColor:new hj(n).onBackground(o).toHexShortString(),contentColor:new hj(r).onBackground(o).toHexShortString()})),[t,n,r,o]);return a_.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},a_.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},a_.createElement("ellipse",{fill:i,cx:"32",cy:"33",rx:"32",ry:"7"}),a_.createElement("g",{fillRule:"nonzero",stroke:a},a_.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"}),a_.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}))))},k5=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:a,lineHeight:i}=e;return{[t]:{marginInline:r,fontSize:a,lineHeight:i,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}}}}},x5=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[k5(r)]}));MN=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=S5,description:a,children:i,imageStyle:s,style:l}=e,c=MN(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:u,direction:d,empty:p}=a_.useContext(xZ),f=u("empty",r),[m,g]=x5(f),[h]=iZ("Empty"),b=void 0!==a?a:null==h?void 0:h.description;let y=null;return y="string"==typeof o?a_.createElement("img",{alt:"string"==typeof b?b:"empty",src:o}):o,m(a_.createElement("div",Object.assign({className:QJ(g,f,null==p?void 0:p.className,{[`${f}-normal`]:o===C5,[`${f}-rtl`]:"rtl"===d},t,n),style:Object.assign(Object.assign({},null==p?void 0:p.style),l)},c),a_.createElement("div",{className:`${f}-image`,style:s},y),b&&a_.createElement("div",{className:`${f}-description`},b),i&&a_.createElement("div",{className:`${f}-footer`},i)))};E5.PRESENTED_IMAGE_DEFAULT=S5,E5.PRESENTED_IMAGE_SIMPLE=C5;const D5=E5,O5=e=>{const{componentName:t}=e,{getPrefixCls:n}=a_.useContext(xZ),r=n("empty");switch(t){case"Table":case"List":return gJ.createElement(D5,{image:D5.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return gJ.createElement(D5,{image:D5.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return gJ.createElement(D5,null)}},j5=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"}},$5=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},EZ(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:b2},[`\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:_2},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-bottomLeft`]:{animationName:y2},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topLeft`]:{animationName:v2},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},j5(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"},CZ),"&-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"}})},E2(e,"slide-up"),E2(e,"slide-down"),h2(e,"move-up"),h2(e,"move-down")]},P5=e=>{let{controlHeightSM:t,controlHeight:n,lineWidth:r}=e;const o=(n-t)/2-r;return[o,Math.ceil(o/2)]},N5=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]=P5(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")]},T5=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"}}}},I5=function(e,t,n){let r=arguments.length>2&&void 0!==n&&n;const{componentCls:o,borderHoverColor:a,outlineColor:i,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:a}}:{}),{[`${o}-focused& ${o}-selector`]:{borderColor:a,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${i}`,outline:0},[`&:hover ${o}-selector`]:{borderColor:a}})}}},A5=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"}}}},R5=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},EZ(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:Object.assign(Object.assign({},T5(e)),A5(e)),[`${t}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},CZ),[`${t}-selection-placeholder`]:Object.assign(Object.assign({},CZ),{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}}}},F5=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%"}}},R5(e),pd(e),N5(e),$5(e),{[`${t}-rtl`]:{direction:"rtl"}},I5(t,Rl(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),I5(`${t}-status-error`,Rl(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),I5(`${t}-status-warning`,Rl(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),Dc(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},M5=Ml("Select",((e,t)=>{let{rootPrefixCls:n}=t;const r=Rl(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[F5(r)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50})));LN=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:a,rootClassName:i,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:_,popupMatchSelectWidth:v,direction:w,style:k}=e,x=LN(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:j,popupOverflow:$,select:P}=a_.useContext(xZ),N=C("select",r),T=C(),I=null!=w?w:D,{compactSize:A,compactItemClassnames:R}=I0(N,I),[F,M]=M5(N),L=a_.useMemo((()=>{const{mode:e}=x;if("combobox"!==e)return e===L5?"combobox":e}),[x.mode]),z="multiple"===L||"tags"===L,B=function(e){return null==e||e}(b),H=null!==(n=null!=v?v:_)&&void 0!==n?n:j,{status:U,hasFeedback:W,isFormItemInput:q,feedbackIcon:V}=a_.useContext(e2),G=_5(U,h);let X;X=void 0!==g?g:"combobox"===L?null:(null==E?void 0:E("Select"))||a_.createElement(O5,{componentName:"Select"});const{suffixIcon:K,itemIcon:Y,removeIcon:Q,clearIcon:J}=function(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:a,multiple:i,hasFeedback:s,prefixCls:l,showArrow:c,feedbackIcon:u}=e;const d=null!=n?n:a_.createElement(e0,null),p=e=>a_.createElement(a_.Fragment,null,!1!==c&&e,s&&u);let f=null;if(void 0!==t)f=p(t);else if(a)f=p(a_.createElement(h0,{spin:!0}));else{const e=`${l}-suffix`;f=t=>{let{open:n,showSearch:r}=t;return p(a_.createElement(n&&r?W1:$1,{className:e}))}}let m=null;m=void 0!==r?r:i?a_.createElement(E1,null):null;let g=null;return g=void 0!==o?o:a_.createElement(n0,null),{clearIcon:d,suffixIcon:f,itemIcon:m,removeIcon:g}}(Object.assign(Object.assign({},x),{multiple:z,hasFeedback:W,feedbackIcon:V,showArrow:B,prefixCls:N})),Z=Qs(x,["suffixIcon","itemIcon"]),ee=QJ(l||c,{[`${N}-dropdown-${I}`]:"rtl"===I},i,M),te=j0((e=>{var t;return null!==(t=null!=f?f:A)&&void 0!==t?t:e})),ne=a_.useContext(RZ),re=null!=m?m:ne,oe=QJ({[`${N}-lg`]:"large"===te,[`${N}-sm`]:"small"===te,[`${N}-rtl`]:"rtl"===I,[`${N}-borderless`]:!o,[`${N}-in-form-item`]:q},cd(N,G,W),R,null==P?void 0:P.className,a,i,M),ae=a_.useMemo((()=>void 0!==d?d:"rtl"===I?"bottomRight":"bottomLeft"),[d,I]),ie=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,$);return F(a_.createElement(FN,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:ie,transitionName:S1(T,x1(d),x.transitionName),listHeight:u,listItemHeight:p,mode:L,prefixCls:N,placement:ae,direction:I,inputIcon:K,menuItemSelectedIcon:Y,removeIcon:Q,clearIcon:J,notFoundContent:X,className:oe,getPopupContainer:s||S,dropdownClassName:ee,showArrow:W||B,disabled:re})))},B5=a_.forwardRef(z5),H5=(pQ=B5,function(e){const{prefixCls:t,style:n}=e,r=a_.useRef(null),[o,a]=a_.useState(0),[i,s]=a_.useState(0),[l,c]=Al(!1,{value:e.open}),{getPrefixCls:u}=a_.useContext(xZ),d=u("select",t);a_.useEffect((()=>{if(c(!0),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((e=>{const t=e[0].target;a(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 a_.createElement(XZ,{theme:{token:{motion:!1}}},a_.createElement("div",{ref:r,style:{paddingBottom:o,position:"relative",minWidth:i}},a_.createElement(pQ,Object.assign({},p))))});B5.SECRET_COMBOBOX_MODE_DO_NOT_USE=L5,B5.Option=vN,B5.OptGroup=_N,B5._InternalPanelDoNotUseOrYouWillBeFired=H5;const U5=B5,W5=["xxl","xl","lg","md","sm","xs"],q5=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)`}),V5=e=>{const t=e,n=[].concat(W5).reverse();return n.forEach(((e,r)=>{const o=e.toUpperCase(),a=`screen${o}Min`,i=`screen${o}`;if(!(t[a]<=t[i]))throw new Error(`${a}<=${i} fails : !(${t[a]}<=${t[i]})`);if(rnew hj(e).setAlpha(t).toRgbString(),Z5=(e,t)=>new hj(e).lighten(t).toHexString(),e4=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]}},t4=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:J5(r,.85),colorTextSecondary:J5(r,.65),colorTextTertiary:J5(r,.45),colorTextQuaternary:J5(r,.25),colorFill:J5(r,.18),colorFillSecondary:J5(r,.12),colorFillTertiary:J5(r,.08),colorFillQuaternary:J5(r,.04),colorBgElevated:Z5(n,12),colorBgContainer:Z5(n,8),colorBgLayout:Z5(n,0),colorBgSpotlight:Z5(n,26),colorBorder:Z5(n,26),colorBorderSecondary:Z5(n,19)}},n4={defaultConfig:vZ,defaultSeed:vZ.token,useToken:function(){const[e,t,n]=Pl();return{theme:e,token:t,hashId:n}},defaultAlgorithm:Dl,darkAlgorithm:(e,t)=>{const n=Object.keys(dZ).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:e4,generateNeutralColorPalettes:t4}))},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)),yZ(r)),{controlHeight:o}),uZ(Object.assign(Object.assign({},n),{controlHeight:o})))},getDesignToken:e=>{const t=js((null==e?void 0:e.algorithm)?e.algorithm:Dl),n=Object.assign(Object.assign({},pZ),null==e?void 0:e.token);return QD(n,{override:null==e?void 0:e.token},t,$l)}},r4=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:a,zIndexPopup:i,controlHeight:s,boxShadowSecondary:l,paddingSM:c,paddingXS:u,tooltipRadiusOuter:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},EZ(e)),{position:"absolute",zIndex:i,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:a,boxShadow:l,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(a,X5)}},[`${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:a,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},o4=(e,t)=>Ml("Tooltip",(e=>{if(!1===t)return[];const{borderRadius:n,colorTextLightSolid:r,colorBgDefault:o,borderRadiusOuter:a}=e,i=Rl(e,{tooltipMaxWidth:250,tooltipColor:r,tooltipBorderRadius:n,tooltipBg:o,tooltipRadiusOuter:a>4?4:a});return[r4(i),z2(e,"zoom-big-fast")]}),(e=>{let{zIndexPopupBase:t,colorBgSpotlight:n}=e;return{zIndexPopup:t+70,colorBgDefault:n}}),{resetStyle:!1})(e),a4=lZ.map((e=>`${e}-inverse`)),i4=["success","processing","error","default","warning"];VN=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:a,getTooltipContainer:i,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:_=!0}=e,v=!!m,{token:w}=s4(),{getPopupContainer:k,getPrefixCls:x,direction:S}=a_.useContext(xZ),C=a_.useRef(null),E=()=>{var e;null===(e=C.current)||void 0===e||e.forceAlign()};a_.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}),j=!g&&!h&&0!==g,$=a_.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:a,visibleFirst:i}=e,s=t/2,l={};return Object.keys(K5).forEach((e=>{const c=Object.assign(Object.assign({},r&&Y5[e]||K5[e]),{offset:[0,0]});switch(l[e]=c,Q5.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:a,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:{},a={};switch(e){case"top":case"bottom":a.shiftX=2*t.dropdownArrowOffset+n;break;case"left":case"right":a.shiftY=2*t.dropdownArrowOffsetVertical+n}const i=Object.assign(Object.assign({},a),o);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}(e,u,t,n),i&&(c.htmlRegion="visibleFirst")})),l}({arrowPointAtCenter:n,autoAdjustOverflow:_,arrowWidth:v?w.sizePopupArrow:0,borderRadius:w.borderRadius,offset:w.marginXXS,visibleFirst:!0})}),[y,m,b,w]),P=a_.useMemo((()=>0===g?g:h||g||""),[h,g]),N=a_.createElement(A0,null,"function"==typeof P?P():P),{getPopupContainer:T,placement:I="top",mouseEnterDelay:A=.1,mouseLeaveDelay:R=.1,overlayStyle:F,rootClassName:M}=e,L=VN(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||!j||(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}),a=sc(e,{style:Object.assign(Object.assign({},r),{pointerEvents:"none"}),className:null});return a_.createElement("span",{style:o,className:QJ(e.props.className,`${t}-disabled-compatible-wrapper`)},a)}return e}(s0(u)&&!ic(u)?u:a_.createElement("span",null,u),z),q=W.props,V=q.className&&"string"!=typeof q.className?q.className:QJ(q.className,a||`${z}-open`),[G,X]=o4(z,!H),K=_d(z,l),Y=K.arrowStyle,Q=Object.assign(Object.assign({},c),K.overlayStyle),J=QJ(s,{[`${z}-rtl`]:"rtl"===S},K.className,M,X);return G(a_.createElement(G5,Object.assign({},L,{showArrow:v,placement:I,mouseEnterDelay:A,mouseLeaveDelay:R,prefixCls:z,overlayClassName:J,overlayStyle:Object.assign(Object.assign({},Y),F),getTooltipContainer:T||i||k,ref:C,builtinPlacements:$,overlay:N,visible:U,onVisibleChange:t=>{var n,r;O(!j&&t),j||(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:a_.createElement("span",{className:`${z}-arrow-content`}),motion:{motionName:S1(B,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!f}),U?sc(W,{className:V}):W))}));l4._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n,placement:r="top",title:o,color:a,overlayInnerStyle:i}=e,{getPrefixCls:s}=a_.useContext(xZ),l=s("tooltip",t),[c,u]=o4(l,!0),d=_d(l,a),p=d.arrowStyle,f=Object.assign(Object.assign({},i),d.overlayStyle),m=QJ(u,l,`${l}-pure`,`${l}-placement-${r}`,n,d.className);return c(a_.createElement("div",{className:m,style:p},a_.createElement("div",{className:`${l}-arrow`}),a_.createElement(md,Object.assign({},e,{className:u,prefixCls:l,overlayInnerStyle:f}),o)))};const c4=l4;GN=y$.ESC,XN=y$.TAB,KN=a_.forwardRef((function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,a=a_.useMemo((function(){return"function"==typeof n?n():n}),[n]),i=Bs(t,null==a?void 0:a.ref);return gJ.createElement(gJ.Fragment,null,r&&gJ.createElement("div",{className:"".concat(o,"-arrow")}),gJ.cloneElement(a,{ref:Us(a)?i:void 0}))})),JN={topLeft:{points:["bl","tl"],overflow:YN={adjustX:1,adjustY:1},offset:[0,-4],targetOffset:QN=[0,0]},top:{points:["bc","tc"],overflow:YN,offset:[0,-4],targetOffset:QN},topRight:{points:["br","tr"],overflow:YN,offset:[0,-4],targetOffset:QN},bottomLeft:{points:["tl","bl"],overflow:YN,offset:[0,4],targetOffset:QN},bottom:{points:["tc","bc"],overflow:YN,offset:[0,4],targetOffset:QN},bottomRight:{points:["tr","br"],overflow:YN,offset:[0,4],targetOffset:QN}},ZN=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];const u4=gJ.forwardRef(vd);eT=a_.createContext(null),tT=["children","locked"],nT=a_.createContext(null),rT=[],oT=a_.createContext(null),aT=a_.createContext(rT),iT=a_.createContext(null),sT=a_.createContext({}),pT=y$.ENTER,fT=y$.ESC,mT=y$.HOME,gT=y$.END,hT=[uT=y$.UP,dT=y$.DOWN,lT=y$.LEFT,cT=y$.RIGHT],bT="__RC_UTIL_PATH_SPLIT__",yT=function(e){return e.join(bT)},_T=function(e){return e.split(bT)},vT="rc-menu-more",wT=Math.random().toFixed(5).toString().slice(2),kT=0,xT=["item"],ST=["title","attribute","elementRef"],CT=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ET=["active"],DT=function(){function e(){return Oa(this,e),t.apply(this,arguments)}Is(e,a_.Component);var t=Ms(e);return $a(e,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,r=e.elementRef,o=Qs(Ea(e,ST),["eventKey","popupClassName","popupOffset","onTitleClick"]);return $i(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),a_.createElement(GP.Item,fi({},n,{title:"string"==typeof t?t:void 0},o,{ref:r}))}}]),e}(),OT=a_.forwardRef((function(e,t){var n,r,o,a,i,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,a=e.children,i=e.role,s=e.onMouseEnter,l=e.onMouseLeave,c=e.onClick,u=e.onKeyDown,d=e.onFocus,p=Ea(e,CT),f=kd(U),g=(m=a_.useContext(nT)).prefixCls,h=m.onItemClick,b=m.disabled,y=m.overflowDisabled,_=m.itemIcon,v=m.selectedKeys,w=m.onActive,k=a_.useContext(sT)._internalRenderMenuItem,x="".concat(g,"-item"),S=a_.useRef(),C=a_.useRef(),E=b||r,D=Hs(t,C),O=Cd(U),j=function(e){return{key:U,keyPath:ki(O).reverse(),item:S.current,domEvent:e}},$=o||_,N=(P=$d(U,E,s,l)).active,T=Ea(P,ET),I=v.includes(U),A=Pd(O.length),R=function(e){if(!E){var t=j(e);null==c||c(Td(t)),h(t)}},F=function(e){if(null==u||u(e),e.which===y$.ENTER){var t=j(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=a_.createElement(DT,fi({ref:S,elementRef:D,role:null===i?"none":i||"menuitem",tabIndex:r?null:-1,"data-menu-id":y&&f?null:f},p,T,L,{component:"li","aria-disabled":r,style:Si(Si({},A),B),className:QJ(x,(n={},Ca(n,"".concat(x,"-active"),N),Ca(n,"".concat(x,"-selected"),I),Ca(n,"".concat(x,"-disabled"),E),n),H),onClick:R,onKeyDown:F,onFocus:M}),a,a_.createElement(Nd,{props:Si(Si({},e),{},{isSelected:I}),icon:$})),k&&(z=k(z,e,{selected:I})),z}));const d4=a_.forwardRef(Id);jT=["className","children"],$T=function(e,t){var n=e.className,r=e.children,o=Ea(e,jT),a=a_.useContext(nT),i=a.prefixCls,s=a.mode;return a_.createElement("ul",fi({className:QJ(i,a.rtl&&"".concat(i,"-rtl"),"".concat(i,"-sub"),"".concat(i,"-").concat("inline"===s?"inline":"vertical"),n),role:"menu"},o,{"data-menu-list":!0,ref:t}),r)},(PT=a_.forwardRef($T)).displayName="SubMenuList",TT={topLeft:{points:["bl","tl"],overflow:NT={adjustX:1,adjustY:1}},topRight:{points:["br","tr"],overflow:NT},bottomLeft:{points:["tl","bl"],overflow:NT},bottomRight:{points:["tr","br"],overflow:NT},leftTop:{points:["tr","tl"],overflow:NT},leftBottom:{points:["br","bl"],overflow:NT},rightTop:{points:["tl","tr"],overflow:NT},rightBottom:{points:["bl","br"],overflow:NT}},IT={topLeft:{points:["bl","tl"],overflow:NT},topRight:{points:["br","tr"],overflow:NT},bottomLeft:{points:["tl","bl"],overflow:NT},bottomRight:{points:["tr","br"],overflow:NT},rightTop:{points:["tr","tl"],overflow:NT},rightBottom:{points:["br","bl"],overflow:NT},leftTop:{points:["tl","tr"],overflow:NT},leftBottom:{points:["bl","br"],overflow:NT}},AT={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},RT=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],FT=["active"],MT=function(e){var t,n,r,o,a,i,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,q,V,G,X,K,Y,Q,J,Z,ee,te,ne,re,oe,ae,ie,se,le,ce=e.style,ue=e.className,de=e.title,pe=e.eventKey;return n=e.disabled,r=e.internalPopupClose,o=e.children,a=e.itemIcon,i=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=Ea(e,RT),h=kd(pe),y=(b=a_.useContext(nT)).prefixCls,_=b.mode,v=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,j=b.onActive,$=a_.useContext(sT)._internalRenderSubMenuItem,P=a_.useContext(iT),N=P.isSubPathKey,T=Cd(),I="".concat(y,"-submenu"),A=w||n,R=a_.useRef(),F=a_.useRef(),M=a||C,L=i||E,z=v.includes(pe),B=!k&&z,H=N(S,pe),U=$d(pe,A,f,m),W=U.active,q=Ea(U,FT),V=qi(a_.useState(!1),2),X=V[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=a_.useMemo((function(){return W||"inline"!==_&&(G||N([x],pe))}),[_,W,x,G=V[0],pe,N]),Z=Pd(T.length),ee=function(e){A||(null==p||p({key:pe,domEvent:e}),"inline"===_&&O(pe,!z))},te=jd((function(e){null==c||c(Td(e)),D(e)})),ne=function(e){"inline"!==_&&O(pe,e)},re=function(){j(pe)},oe=h&&"".concat(h,"-popup"),ae=a_.createElement("div",fi({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},q),de,a_.createElement(Nd,{icon:"horizontal"!==_?L:null,props:Si(Si({},e),{},{isOpen:B,isSubMenu:!0})},a_.createElement("i",{className:"".concat(I,"-arrow")}))),(ie=a_.useRef(_)).current="inline"!==_&&T.length>1?"vertical":_,k||(ae=a_.createElement(Fd,{mode:se=ie.current,prefixCls:I,visible:!r&&B&&"inline"!==_,popupClassName:s,popupOffset:l,popup:a_.createElement(xd,{mode:"horizontal"===se?"vertical":se},a_.createElement(PT,{id:oe,ref:F},o)),disabled:A,onVisibleChange:ne},ae)),le=a_.createElement(GP.Item,fi({role:"none"},g,{component:"li",style:ce,className:QJ(I,"".concat(I,"-").concat(_),ue,(t={},Ca(t,"".concat(I,"-open"),B),Ca(t,"".concat(I,"-active"),J),Ca(t,"".concat(I,"-selected"),H),Ca(t,"".concat(I,"-disabled"),A),t)),onMouseEnter:Y,onMouseLeave:Q}),ae,!k&&a_.createElement(Md,{id:oe,open:B,keyPath:T},o)),$&&(le=$(le,e,{selected:H,active:J,open:B,disabled:A})),a_.createElement(xd,{onItemClick:te,mode:"horizontal"===_?"vertical":_,itemIcon:M,expandIcon:L},le)},LT=["className","title","eventKey","children"],zT=["children"],BT=function(e){var t,n,r,o,a=e.className,i=e.title;return t=e.children,n=Ea(e,LT),r=a_.useContext(nT),o="".concat(r.prefixCls,"-item-group"),a_.createElement("li",fi({role:"presentation"},n,{onClick:function(e){return e.stopPropagation()},className:QJ(o,a)}),a_.createElement("div",{role:"presentation",className:"".concat(o,"-title"),title:"string"==typeof i?i:void 0},i),a_.createElement("ul",{role:"group",className:"".concat(o,"-list")},t))},HT=["label","children","key","type"],UT=["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"],WT=[],(qT=a_.forwardRef((function(e,t){var n,r,o,a,i,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,q,V,G,X,K,Y,Q,J,Z,ee,te,ne,re,oe,ae,ie,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,_e=void 0===ye?"vertical":ye,ve=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,je=e.openKeys,$e=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,qe=void 0===We?"hover":We,Ve=e.builtinPlacements,Ge=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,a=e._internalRenderSubMenuItem,i=Ea(e,UT),s=a_.useMemo((function(){return Ud(ge,me,WT)}),[ge,me]),c=(l=qi(a_.useState(!1),2))[0],u=l[1],d=a_.useRef(),p=function(e){var t=qi(Al(e,{value:e}),2),n=t[0],r=t[1];return a_.useEffect((function(){kT+=1;var e="".concat(wT,"-").concat(kT);r("rc-menu-uuid-".concat(e))}),[]),n}(be),f="rtl"===he,m=qi(Al(Oe,{value:je,postState:function(e){return e||WT}}),2),h=m[1],b=function(e,t){function n(){h(e),null==et||et(e)}arguments.length>1&&void 0!==t&&t?_S.flushSync(n):n()},y=qi(a_.useState(g=m[0]),2),_=y[0],v=y[1],w=a_.useRef(!1),k=qi(a_.useMemo((function(){return"inline"!==_e&&"vertical"!==_e||!ve?[_e,!1]:["vertical",ve]}),[_e,ve]),2),S=k[1],C="inline"===(x=k[0]),E=qi(a_.useState(x),2),D=E[0],O=E[1],$=(j=qi(a_.useState(S),2))[0],P=j[1],a_.useEffect((function(){O(x),P(S),w.current&&(C?h(_):b(WT))}),[x,S]),N=qi(a_.useState(0),2),I=N[1],A=(T=N[0])>=s.length-1||"horizontal"!==D||ke,a_.useEffect((function(){C&&v(g)}),[g]),a_.useEffect((function(){return w.current=!0,function(){w.current=!1}}),[]),R=function(){var e=qi(a_.useState({}),2)[1],t=a_.useRef(new Map),n=a_.useRef(new Map),r=qi(a_.useState([]),2),o=r[0],a=r[1],i=a_.useRef(0),s=a_.useRef(!1),l=a_.useCallback((function(r,o){var a,l,c=yT(o);n.current.set(c,r),t.current.set(r,c),i.current+=1,a=i.current,l=function(){a===i.current&&(s.current||e({}))},Promise.resolve().then(l)}),[]),c=a_.useCallback((function(e,r){var o=yT(r);n.current.delete(o),t.current.delete(e)}),[]),u=a_.useCallback((function(e){a(e)}),[]),d=a_.useCallback((function(e,n){var r=t.current.get(e)||"",a=_T(r);return n&&o.includes(a[0])&&a.unshift(vT),a}),[o]),p=a_.useCallback((function(e,t){return e.some((function(e){return d(e,!0).includes(t)}))}),[d]),f=a_.useCallback((function(e){var r="".concat(t.current.get(e)).concat(bT),o=new Set;return ki(n.current.keys()).forEach((function(e){e.startsWith(r)&&o.add(n.current.get(e))})),o}),[]);return a_.useEffect((function(){return function(){s.current=!0}}),[]),{registerPath:l,unregisterPath:c,refreshOverflowKeys:u,isSubPathKey:p,getKeyPath:d,getKeys:function(){var e=ki(t.current.keys());return o.length&&e.push(vT),e},getSubPathKeys:f}}(),L=R.refreshOverflowKeys,z=R.isSubPathKey,B=R.getKeyPath,H=R.getKeys,U=R.getSubPathKeys,W=a_.useMemo((function(){return{registerPath:F,unregisterPath:M}}),[F=R.registerPath,M=R.unregisterPath]),q=a_.useMemo((function(){return{isSubPathKey:z}}),[z]),a_.useEffect((function(){L(A?WT:s.slice(T+1).map((function(e){return e.key})))}),[T,A]),V=qi(Al($e||Pe&&(null===(n=s[0])||void 0===n?void 0:n.key),{value:$e}),2),G=V[0],X=V[1],K=jd((function(e){X(e)})),Y=jd((function(){X(void 0)})),a_.useImperativeHandle(t,(function(){return{list:d.current,focus:function(e){var t,n,r,o,a=null!=G?G:null===(t=s.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;a&&(null===(n=d.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(wd(p,a),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}})),Q=qi(Al(Re||[],{value:Fe,postState:function(e){return Array.isArray(e)?e:null==e?WT:[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(ki(J),[t]):[t],Z(r),o=Si(Si({},e),{},{selectedKeys:r}),n?null==Le||Le(o):null==Me||Me(o)),!Ae&&g.length&&"inline"!==D&&b(WT)},te=jd((function(e){null==Ze||Ze(Td(e)),ee(e)})),ne=jd((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)}))),Pi(g,r,!0)||b(r,!0)})),re=function(e,t,n,r,o,a,i,s,l,c){var u,d=a_.useRef(),p=a_.useRef();return p.current=t,u=function(){cj.cancel(d.current)},a_.useEffect((function(){return function(){u()}}),[]),function(f){var m,g,h,b,y,_,v,w,k,x,S,C,E,D,O,j=f.which;if([].concat(hT,[pT,fT,mT,gT]).includes(j)){if((b=function(){return m=new Set,g=new Map,h=new Map,a().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),_=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(y,m),v=h.get(_),w=function(e,t,n,r){var o,a,i,s,l,c,u,d="prev",p="next",f="children",m="parent";if("inline"===e&&r===pT)return{inlineTrigger:!0};switch(Ca(o={},uT,d),Ca(o,dT,p),l=o,Ca(a={},lT,n?p:d),Ca(a,cT,n?d:p),Ca(a,dT,f),Ca(a,pT,f),c=a,Ca(i={},uT,d),Ca(i,dT,p),Ca(i,pT,f),Ca(i,fT,m),Ca(i,lT,n?f:m),Ca(i,cT,n?m:f),null===(s={inline:l,horizontal:c,vertical:u=i,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===i(v,!0).length,n,j),!w&&j!==mT&&j!==gT)return;(hT.includes(j)||[mT,gT].includes(j))&&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=cj((function(){p.current===r&&t.focus()})))},[mT,gT].includes(j)||w.sibling||!_?(C=Dd(x=_&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(_):o.current,m),S=j===mT?C[0]:j===gT?C[C.length-1]:Od(x,m,_,w.offset),k(S)):w.inlineTrigger?l(v):w.offset>0?(l(v,!0),u(),d.current=cj((function(){var e,t;b(),e=_.getAttribute("aria-controls"),t=Od(document.getElementById(e),m),k(t)}),5)):w.offset<0&&(E=i(v,!0),O=g.get(D=E[E.length-2]),l(D,!1),k(O))}null==c||c(f)}}(D,G,f,p,d,H,B,X,(function(e,t){var n=null!=t?t:!g.includes(e);ne(e,n)}),tt),a_.useEffect((function(){u(!0)}),[]),oe=a_.useMemo((function(){return{_internalRenderMenuItem:o,_internalRenderSubMenuItem:a}}),[o,a]),ae="horizontal"!==D||ke?s:s.map((function(e,t){return a_.createElement(xd,{key:e.key,overflowDisabled:t>T},e)})),ie=a_.createElement(GP,fi({id:be,ref:d,prefixCls:"".concat(le,"-overflow"),component:"ul",itemComponent:d4,className:QJ(le,"".concat(le,"-root"),"".concat(le,"-").concat(D),de,(r={},Ca(r,"".concat(le,"-inline-collapsed"),$),Ca(r,"".concat(le,"-rtl"),f),r),ce),dir:he,style:ue,role:"menu",tabIndex:fe,data:ae,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?s.slice(-t):null;return a_.createElement(Ld,{eventKey:vT,title:Ye,disabled:A,internalPopupClose:0===t,popupClassName:Qe},n)},maxCount:"horizontal"!==D||ke?GP.INVALIDATE:GP.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){I(e)},onKeyDown:re},i)),a_.createElement(sT.Provider,{value:oe},a_.createElement(eT.Provider,{value:p},a_.createElement(xd,{prefixCls:le,rootClassName:ce,mode:D,openKeys:g,rtl:f,disabled:we,motion:c?He:null,defaultMotions:c?Ue:null,activeKey:G,onActive:K,onInactive:Y,selectedKeys:J,inlineIndent:Be,subMenuOpenDelay:Se,subMenuCloseDelay:Ee,forceSubMenuRender:De,builtinPlacements:Ve,triggerSubMenuAction:qe,getPopupContainer:Je,itemIcon:Ge,expandIcon:Xe,onItemClick:te,onOpenChange:ne},a_.createElement(iT.Provider,{value:q},ie),a_.createElement("div",{style:{display:"none"},"aria-hidden":!0},a_.createElement(oT.Provider,{value:W},s)))))}))).Item=d4,qT.SubMenu=Ld,qT.ItemGroup=zd,qT.Divider=Bd,globalThis&&globalThis;const p4=a_.createContext({});VT=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=VT(e,["prefixCls","className","dashed"]),{getPrefixCls:a}=a_.useContext(xZ),i=a("menu",t),s=QJ({[`${i}-item-divider-dashed`]:!!r},n);return a_.createElement(Bd,Object.assign({className:s},o))},m4=a_.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),g4=e=>{var t;const{className:n,children:r,icon:o,title:a,danger:i}=e,{prefixCls:s,firstLevel:l,direction:c,disableMenuItemTitleTooltip:u,inlineCollapsed:d}=a_.useContext(m4),{siderCollapsed:p}=a_.useContext(p4);let f=a;void 0===a?f=l?r:"":!1===a&&(f="");const m={title:f};p||d||(m.title=null,m.open=!1);const g=Ls(r).length;let h=a_.createElement(d4,Object.assign({},Qs(e,["title","icon","danger"]),{className:QJ({[`${s}-item-danger`]:i,[`${s}-item-only-child`]:1===(o?g+1:g)},n),title:"string"==typeof a?a:void 0}),sc(o,{className:QJ(s0(o)?null===(t=o.props)||void 0===t?void 0:t.className:"",`${s}-item-icon`)}),(e=>{const t=a_.createElement("span",{className:`${s}-title-content`},r);return(!o||s0(r)&&"span"===r.type)&&r&&e&&l&&"string"==typeof r?a_.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):t})(d));return u||(h=a_.createElement(c4,Object.assign({},m,{placement:"rtl"===c?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),h)),h},h4=e=>{var t;const{popupClassName:n,icon:r,title:o,theme:a}=e,i=a_.useContext(m4),{prefixCls:s,inlineCollapsed:l,theme:c}=i,u=Cd();let d;if(r){const e=s0(o)&&"span"===o.type;d=a_.createElement(a_.Fragment,null,sc(r,{className:QJ(s0(r)?null===(t=r.props)||void 0===t?void 0:t.className:"",`${s}-item-icon`)}),e?o:a_.createElement("span",{className:`${s}-title-content`},o))}else d=l&&!u.length&&o&&"string"==typeof o?a_.createElement("div",{className:`${s}-inline-collapsed-noicon`},o.charAt(0)):a_.createElement("span",{className:`${s}-title-content`},o);const p=a_.useMemo((()=>Object.assign(Object.assign({},i),{firstLevel:!1})),[i]);return a_.createElement(m4.Provider,{value:p},a_.createElement(Ld,Object.assign({},Qs(e,["icon"]),{title:d,popupClassName:QJ(s,n,`${s}-${a||c}`)})))};globalThis&&globalThis;const b4=a_.createContext(null);GT=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:a,lineType:i,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${a}px ${i} ${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"}}}},_4=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})`}}}}},v4=e=>Object.assign({},jZ(e)),w4=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:o,groupTitleColor:a,itemBg:i,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:_,itemDisabledColor:v,dangerItemColor:w,dangerItemHoverColor:k,dangerItemSelectedColor:x,dangerItemActiveBg:S,dangerItemSelectedBg:C,itemHoverBg:E,itemActiveBg:D,menuSubMenuBg:O,horizontalItemSelectedColor:j,horizontalItemSelectedBg:$,horizontalItemBorderRadius:P,horizontalItemHoverBg:N,popupBg:T}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:i,[`&${n}-root:focus-visible`]:Object.assign({},v4(e)),[`${n}-item-group-title`]:{color:a},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:o}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${v} !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({},v4(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:j}},"&-selected":{color:j,backgroundColor:$,"&:hover":{backgroundColor:$},"&::after":{borderBottomWidth:c,borderBottomColor:j}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${d}px ${y} ${_}`}},[`&${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(",")}}}}}},k4=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:a,marginXS:i,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+a+i}}},x4=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:a,controlHeightLG:i,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"}},k4(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},k4(e)),{boxShadow:m})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${2.5*i}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({},CZ),{paddingInline:f})}}]},S4=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:a,iconCls:i,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, ${i}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${a}`,`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`]:{[`> ${i}, > ${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"}}}},C4=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:a,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:.6*a,height:.15*a,backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${i})`},"&::after":{transform:`rotate(-45deg) translateY(${i})`}}}}},E4=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:a,motionEaseInOut:i,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:_}=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({},EZ(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:_,lineHeight:y,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${i}`,`background ${o} ${i}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${i}`,`background ${o} ${i}`,`padding ${a} ${i}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${i}`,`padding ${o} ${i}`].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"}}}),S4(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},S4(e)),C4(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:f},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${i}`}})}}),C4(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"}}}]};XT=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=a_.useContext(b4),a=o||{},{getPrefixCls:i,getPopupContainer:s,direction:l,menu:c}=a_.useContext(xZ),u=i(),{prefixCls:d,className:p,style:f,theme:m="light",expandIcon:g,_internalDisableMenuItemTitleTooltip:h,inlineCollapsed:b,siderCollapsed:y,items:_,children:v,rootClassName:w,mode:k,selectable:x,onClick:S,overflowedIndicatorPopupClassName:C}=e,E=Qs(XT(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),["collapsedWidth"]),D=qd(_)||v;null===(n=a.validator)||void 0===n||n.call(a,{mode:k});const O=Nl((function(){var e;null==S||S.apply(void 0,arguments),null===(e=a.onClick)||void 0===e||e.call(a)})),j=a.mode||k,$=null!=x?x:a.selectable,P=a_.useMemo((()=>void 0!==y?y:b),[b,y]),N={horizontal:{motionName:`${u}-slide-up`},inline:k1(u),other:{motionName:`${u}-zoom-big`}},T=i("menu",d||a.prefixCls),[I,A]=((e,t)=>Ml("Menu",(e=>{if(!1===t)return[];const{colorBgElevated:n,colorPrimary:r,colorTextLightSolid:o,controlHeightLG:a,fontSize:i,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:_,darkDangerItemActiveBg:v}=e,w=i/7*5,k=Rl(e,{menuArrowSize:w,menuHorizontalHeight:1.15*a,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:_,dangerItemActiveBg:v,dangerItemSelectedBg:f,menuSubMenuBg:u,horizontalItemSelectedColor:o,horizontalItemSelectedBg:r});return[E4(k),y4(k),x4(k),w4(k,"light"),w4(x,"dark"),_4(k),B2(k),E2(k,"slide-up"),E2(k,"slide-down"),z2(k,"zoom-big")]}),(e=>{const{colorPrimary:t,colorError:n,colorTextDisabled:r,colorErrorBg:o,colorText:a,colorTextDescription:i,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:_,controlHeightSM:v,fontSizeLG:w,colorTextLightSolid:k,colorErrorHover:x}=e,S=new hj(k).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:a,itemColor:a,colorItemTextHover:a,itemHoverColor:a,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:i,groupTitleColor:i,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:_,iconMarginInlineEnd:v-_,collapsedIconSize:w,groupTitleFontSize:_,darkItemDisabledColor:new hj(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=QJ(`${T}-${m}`,null==c?void 0:c.className,p);let F;if("function"==typeof g)F=g;else{const e=g||a.expandIcon;F=sc(e,{className:QJ(`${T}-submenu-expand-icon`,null===(r=null==e?void 0:e.props)||void 0===r?void 0:r.className)})}const M=a_.useMemo((()=>({prefixCls:T,inlineCollapsed:P||!1,direction:l,firstLevel:!0,theme:m,mode:j,disableMenuItemTitleTooltip:h})),[T,P,l,h,m]);return I(a_.createElement(b4.Provider,{value:null},a_.createElement(m4.Provider,{value:M},a_.createElement(qT,Object.assign({getPopupContainer:s,overflowedIndicator:a_.createElement(N1,null),overflowedIndicatorPopupClassName:QJ(T,`${T}-${m}`,C),mode:j,selectable:$,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:QJ(w,A)}),D))))})),O4=a_.forwardRef(((e,t)=>{const n=a_.useRef(null),r=a_.useContext(p4);return a_.useImperativeHandle(t,(()=>({menu:n.current,focus:e=>{var t;null===(t=n.current)||void 0===t||t.focus(e)}}))),a_.createElement(D4,Object.assign({ref:n},e,r))}));O4.Item=g4,O4.SubMenu=h4,O4.Divider=f4,O4.ItemGroup=zd;const j4=O4,$4=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),P4=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),N4=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),T4=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},P4(Rl(e,{inputBorderHoverColor:e.colorBorder})))}),I4=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:o,inputPaddingHorizontalLG:a}=e;return{padding:`${t}px ${a}px`,fontSize:n,lineHeight:r,borderRadius:o}},A4=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),R4=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:o,colorErrorOutline:a,colorWarningOutline:i,colorErrorBorderHover:s,colorWarningBorderHover:l}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},N4(Rl(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:a}))),[`${n}-prefix, ${n}-suffix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:l},"&:focus, &-focused":Object.assign({},N4(Rl(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:i}))),[`${n}-prefix, ${n}-suffix`]:{color:o}}}},F4=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}`},$4(e.colorTextPlaceholder)),{"&:hover":Object.assign({},P4(e)),"&:focus, &-focused":Object.assign({},N4(e)),"&-disabled, &[disabled]":Object.assign({},T4(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({},I4(e)),"&-sm":Object.assign({},A4(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),M4=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({},I4(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},A4(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}}}})}},L4=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({},EZ(e)),F4(e)),R4(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"}})}},z4=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`}}}},B4=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:a,colorIconHover:i,iconCls:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},F4(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},P4(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}}}),z4(e)),{[`${s}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:i}}}),R4(e,`${t}-affix-wrapper`))}},H4=e=>{const{componentCls:t,colorError:n,colorWarning:r,borderRadiusLG:o,borderRadiusSM:a}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},EZ(e)),M4(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:a}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},T4(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}}}})}},U4=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}}}}},W4=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"}}}}}},q4=Ml("Input",(e=>{const t=Vd(e);return[L4(t),W4(t),B4(t),H4(t),U4(t),Dc(t)]})),V4=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:a}=e,i=QJ({[`${t}-lg`]:"large"===o,[`${t}-sm`]:"small"===o}),s=QJ({[`${t}-circle`]:"circle"===a,[`${t}-square`]:"square"===a,[`${t}-round`]:"round"===a}),l=a_.useMemo((()=>"number"==typeof o?{width:o,height:o,lineHeight:`${o}px`}:{}),[o]);return a_.createElement("span",{className:QJ(t,i,s,n),style:Object.assign(Object.assign({},l),r)})},G4=new SO("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),X4=e=>({height:e,lineHeight:`${e}px`}),K4=e=>Object.assign({width:e},X4(e)),Y4=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:G4,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Q4=e=>Object.assign({width:5*e,minWidth:5*e},X4(e)),J4=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:a}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},K4(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},K4(o)),[`${t}${t}-sm`]:Object.assign({},K4(a))}},Z4=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:a,gradientFromColor:i}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:n},Q4(t)),[`${r}-lg`]:Object.assign({},Q4(o)),[`${r}-sm`]:Object.assign({},Q4(a))}},e3=e=>Object.assign({width:e},X4(e)),t3=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},e3(2*n)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},e3(n)),{maxWidth:4*n,maxHeight:4*n}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},n3=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},r3=e=>Object.assign({width:2*e,minWidth:2*e},X4(e)),o3=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:a,gradientFromColor:i}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:2*r,minWidth:2*r},r3(r))},n3(e,r,n)),{[`${n}-lg`]:Object.assign({},r3(o))}),n3(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},r3(a))}),n3(e,a,`${n}-sm`))},a3=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:a,skeletonInputCls:i,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:_}=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},K4(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},K4(c)),[`${n}-sm`]:Object.assign({},K4(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:_}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},o3(e)),J4(e)),Z4(e)),t3(e)),[`${t}${t}-block`]:{width:"100%",[`${a}`]:{width:"100%"},[`${i}`]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${r},\n ${o} > li,\n ${n},\n ${a},\n ${i},\n ${s}\n `]:Object.assign({},Y4(e))}}},i3=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[a3(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:a}=e,i=ki(Array(a)).map(((e,n)=>a_.createElement("li",{key:n,style:{width:t(n)}})));return a_.createElement("ul",{className:QJ(n,r),style:o},i)},l3=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return a_.createElement("h3",{className:QJ(t,n),style:Object.assign({width:r},o)})},c3=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:a,children:i,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:p,direction:f,skeleton:m}=a_.useContext(xZ),g=p("skeleton",t),[h,b]=i3(g);if(n||!("loading"in e)){const e=!!s,t=!!l,n=!!c;let i,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)),Gd(s));i=a_.createElement("div",{className:`${g}-header`},a_.createElement(V4,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)),Gd(l));r=a_.createElement(l3,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)),Gd(c));o=a_.createElement(s3,Object.assign({},n))}p=a_.createElement("div",{className:`${g}-content`},r,o)}const y=QJ(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(a_.createElement("div",{className:y,style:Object.assign(Object.assign({},null==m?void 0:m.style),a)},i,p))}return void 0!==i?i:null};c3.Button=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a=!1,size:i="default"}=e,{getPrefixCls:s}=a_.useContext(xZ),l=s("skeleton",t),[c,u]=i3(l),d=Qs(e,["prefixCls"]),p=QJ(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:a},n,r,u);return c(a_.createElement("div",{className:p},a_.createElement(V4,Object.assign({prefixCls:`${l}-button`,size:i},d))))},c3.Avatar=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:a="circle",size:i="default"}=e,{getPrefixCls:s}=a_.useContext(xZ),l=s("skeleton",t),[c,u]=i3(l),d=Qs(e,["prefixCls","className"]),p=QJ(l,`${l}-element`,{[`${l}-active`]:o},n,r,u);return c(a_.createElement("div",{className:p},a_.createElement(V4,Object.assign({prefixCls:`${l}-avatar`,shape:a,size:i},d))))},c3.Input=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a,size:i="default"}=e,{getPrefixCls:s}=a_.useContext(xZ),l=s("skeleton",t),[c,u]=i3(l),d=Qs(e,["prefixCls"]),p=QJ(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:a},n,r,u);return c(a_.createElement("div",{className:p},a_.createElement(V4,Object.assign({prefixCls:`${l}-input`,size:i},d))))},c3.Image=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a}=e,{getPrefixCls:i}=a_.useContext(xZ),s=i("skeleton",t),[l,c]=i3(s),u=QJ(s,`${s}-element`,{[`${s}-active`]:a},n,r,c);return l(a_.createElement("div",{className:u},a_.createElement("div",{className:QJ(`${s}-image`,n),style:o},a_.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},a_.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`})))))},c3.Node=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a,children:i}=e,{getPrefixCls:s}=a_.useContext(xZ),l=s("skeleton",t),[c,u]=i3(l),d=QJ(l,`${l}-element`,{[`${l}-active`]:a},u,n,r),p=null!=i?i:a_.createElement(O1,null);return c(a_.createElement("div",{className:d},a_.createElement("div",{className:QJ(`${l}-image`,n),style:o},p)))};const u3=c3,d3=a_.createContext(null);KT=a_.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.id,i=e.active,s=e.tabKey,l=e.children;return a_.createElement("div",{id:a&&"".concat(a,"-panel-").concat(s),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":a&&"".concat(a,"-tab-").concat(s),"aria-hidden":!i,style:o,className:QJ(n,i&&"".concat(n,"-active"),r),ref:t},l)})),YT=["key","forceRender","style","className"],QT={width:0,height:0,left:0,top:0},JT=.1,ZT=.01,eI=20,tI=Math.pow(.995,eI),nI={width:0,height:0,left:0,top:0,right:0},rI="TABS_DQ";const p3=a_.forwardRef(ep);oI=a_.forwardRef((function(e,t){var n,r,o=e.position,a=e.prefixCls,i=e.extra;return i?(r={},"object"!==xa(i)||a_.isValidElement(i)?r.right=i:r=i,"right"===o&&(n=r.right),"left"===o&&(n=r.left),n?a_.createElement("div",{className:"".concat(a,"-extra-content"),ref:t},n):null):null}));const f3=a_.memo(a_.forwardRef(tp),(function(e,t){return t.tabMoving}));aI=function(e){var t=e.current||{},n=t.offsetWidth,r=t.offsetHeight;return[void 0===n?0:n,void 0===r?0:r]},iI=function(e,t){return e[t?0:1]};const m3=a_.forwardRef(rp);sI=["renderTabBar"],lI=["label","key"],cI=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],uI=0,dI=a_.forwardRef(ap);const g3={motionAppear:!1,motionEnter:!0,motionLeave:!0};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{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}`}}}}},[E2(e,"slide-up"),E2(e,"slide-down")]]},b3=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:a,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${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}}}}}}},y3=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},EZ(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({},CZ),{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"}}})}})}},_3=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:a,verticalItemMargin:i}=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:a,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${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}}}}}},v3=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding: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}}}}}},w3=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:a,horizontalItemPadding:i,itemSelectedColor:s}=e,l=`${t}-tab`;return{[l]:{position:"relative",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},$Z(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:a}}}},k3=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"}}}}},x3=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:a,itemActiveColor:i,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},EZ(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:a},"&:active, &:focus:not(:focus-visible)":{color:i}},$Z(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),w3(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"}}}}}},S3=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[v3(t),k3(t),_3(t),y3(t),b3(t),x3(t),h3(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})));fI=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:a,hideAdd:i,centered:s,addIcon:l,popupClassName:c,children:u,items:d,animated:p,style:f}=e,m=fI(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style"]),{prefixCls:g,moreIcon:h=a_.createElement(N1,null)}=m,{direction:b,tabs:y,getPrefixCls:_,getPopupContainer:v}=a_.useContext(xZ),w=_("tabs",g),[k,x]=S3(w);let S;"editable-card"===t&&(S={onEdit:(e,t)=>{let{key:n,event:r}=t;null==a||a("add"===e?r:n,e)},removeIcon:a_.createElement(n0,null),addIcon:l||a_.createElement(M1,null),showAdd:!0!==i});const C=_(),E=function(e,t){return e||function(e){return e.filter((e=>e))}(Ls(t).map((e=>{if(a_.isValidElement(e)){const{key:t,props:n}=e,r=n||{},{tab:o}=r,a=pI(r,["tab"]);return Object.assign(Object.assign({key:String(t)},a),{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({},g3),{motionName:S1(e,"switch")})),n}(w,p),O=j0(o),j=Object.assign(Object.assign({},null==y?void 0:y.style),f);return k(a_.createElement(dI,Object.assign({direction:b,getPopupContainer:v,moreTransitionName:`${C}-slide-up`},m,{items:E,className:QJ({[`${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:QJ(c,x),style:j,editable:S,moreIcon:h,prefixCls:w,animated:D})))};C3.TabPane=()=>null;const E3=C3,D3=a_.createContext({}),O3=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"}}}},j3=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},$3=(e,t)=>((e,t)=>{const{componentCls:n,gridColumns:r}=e,o={};for(let a=r;a>=0;a--)0===a?(o[`${n}${t}-${a}`]={display:"none"},o[`${n}-push-${a}`]={insetInlineStart:"auto"},o[`${n}-pull-${a}`]={insetInlineEnd:"auto"},o[`${n}${t}-push-${a}`]={insetInlineStart:"auto"},o[`${n}${t}-pull-${a}`]={insetInlineEnd:"auto"},o[`${n}${t}-offset-${a}`]={marginInlineStart:0},o[`${n}${t}-order-${a}`]={order:0}):(o[`${n}${t}-${a}`]={display:"block",flex:`0 0 ${a/r*100}%`,maxWidth:a/r*100+"%"},o[`${n}${t}-push-${a}`]={insetInlineStart:a/r*100+"%"},o[`${n}${t}-pull-${a}`]={insetInlineEnd:a/r*100+"%"},o[`${n}${t}-offset-${a}`]={marginInlineStart:a/r*100+"%"},o[`${n}${t}-order-${a}`]={order:a});return o})(e,t),P3=Ml("Grid",(e=>[O3(e)])),N3=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[j3(t),$3(t,""),$3(t,"-xs"),Object.keys(n).map((e=>((e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},$3(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}=a_.useContext(xZ),{gutter:o,wrap:a,supportFlexGap:i}=a_.useContext(D3),{prefixCls:s,span:l,order:c,offset:u,push:d,pull:p,className:f,children:m,flex:g,style:h}=e,b=mI(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),y=n("col",s),[_,v]=N3(y);let w={};T3.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=QJ(y,{[`${y}-${l}`]:void 0!==l,[`${y}-order-${c}`]:c,[`${y}-offset-${u}`]:u,[`${y}-push-${d}`]:d,[`${y}-pull-${p}`]:p},f,w,v),x={};if(o&&o[0]>0){const e=o[0]/2;x.paddingLeft=e,x.paddingRight=e}if(o&&o[1]>0&&!i){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!==a||x.minWidth||(x.minWidth=0)),_(a_.createElement("div",Object.assign({},b,{style:Object.assign(Object.assign({},x),h),className:k,ref:t}),m))})),A3=()=>{const[e,t]=a_.useState(!1);return a_.useEffect((()=>{t((()=>{if(!X1())return!1;if(void 0!==K1)return K1;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),K1=1===e.scrollHeight,document.body.removeChild(t),K1})())}),[]),e};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{prefixCls:n,justify:r,align:o,className:a,style:i,children:s,gutter:l=0,wrap:c}=e,u=gI(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:d,direction:p}=a_.useContext(xZ),[f,m]=a_.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[g,h]=a_.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),b=ip(o,g),y=ip(r,g),_=A3(),v=a_.useRef(l),w=fd();a_.useEffect((()=>{const e=w.subscribe((e=>{h(e);const t=v.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]=P3(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,j=null!=C[1]&&C[1]>0?C[1]/-2:void 0;O&&(D.marginLeft=O,D.marginRight=O),_?[,D.rowGap]=C:j&&(D.marginTop=j,D.marginBottom=j);const[$,P]=C,N=a_.useMemo((()=>({gutter:[$,P],wrap:c,supportFlexGap:_})),[$,P,c,_]);return x(a_.createElement(D3.Provider,{value:N},a_.createElement("div",Object.assign({},u,{className:E,style:Object.assign(Object.assign({},D),i),ref:t}),s)))}));(hI=gJ.forwardRef((function(e,t){var n,r=e.prefixCls,o=e.forceRender,a=e.className,i=e.style,s=e.children,l=e.isActive,c=e.role,u=qi(gJ.useState(l||o),2),d=u[0],p=u[1];return gJ.useEffect((function(){(o||l)&&p(!0)}),[o,l]),d?gJ.createElement("div",{ref:t,className:QJ("".concat(r,"-content"),(n={},Ca(n,"".concat(r,"-content-active"),l),Ca(n,"".concat(r,"-content-inactive"),!l),n),a),style:i,role:c},gJ.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"],yI=gJ.forwardRef((function(e,t){var n,r,o,a,i=e.showArrow,s=void 0===i||i,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,_=e.expandIcon,v=e.openMotion,w=e.destroyInactivePanel,k=e.children,x=Ea(e,bI),S="disabled"===m,C="header"===m,E="icon"===m,D=null!=b&&"boolean"!=typeof b,O=function(){null==u||u(h)},j="function"==typeof _?_(e):gJ.createElement("i",{className:"arrow"});return j&&(j=gJ.createElement("div",{className:"".concat(f,"-expand-icon"),onClick:["header","icon"].includes(m)?O:void 0},j)),o=QJ((Ca(n={},"".concat(f,"-item"),!0),Ca(n,"".concat(f,"-item-active"),c),Ca(n,"".concat(f,"-item-disabled"),S),n),p),a={className:QJ((Ca(r={},"".concat(f,"-header"),!0),Ca(r,"headerClass",l),Ca(r,"".concat(f,"-header-collapsible-only"),C),Ca(r,"".concat(f,"-icon-collapsible-only"),E),r)),"aria-expanded":c,"aria-disabled":S,onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==y$.ENTER&&e.which!==y$.ENTER||O()}},C||E||(a.onClick=O,a.role=g?"tab":"button",a.tabIndex=S?-1:0),gJ.createElement("div",fi({},x,{ref:t,className:o}),gJ.createElement("div",a,s&&j,gJ.createElement("span",{className:"".concat(f,"-header-text"),onClick:"header"===m?O:void 0},y),D&&gJ.createElement("div",{className:"".concat(f,"-extra")},b)),gJ.createElement(zZ,fi({visible:c,leavedClassName:"".concat(f,"-content-hidden")},v,{forceRender:d,removeOnLeave:w}),(function(e,t){return gJ.createElement(hI,{ref:t,prefixCls:f,className:e.className,style:e.style,isActive:c,forceRender:d,role:g?"tabpanel":void 0},k)})))})),_I=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],vI=function(e,t){var n=t.prefixCls,r=t.accordion,o=t.collapsible,a=t.destroyInactivePanel,i=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=Ea(e,_I),y=String(null!=f?f:t),_=null!=m?m:o,v=null!=h?h:a;return u=r?s[0]===y:s.indexOf(y)>-1,gJ.createElement(yI,fi({},b,{prefixCls:n,key:y,panelKey:y,isActive:u,accordion:r,openMotion:l,expandIcon:c,header:p,collapsible:_,onItemClick:function(e){"disabled"!==_&&(i(e),null==g||g(e))},destroyInactivePanel:v}),d)}))},wI=function(e,t,n){var r,o,a,i,s,l,c,u,d,p,f,m,g,h,b,y,_,v;return e?(r=n.prefixCls,o=n.accordion,a=n.collapsible,i=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,v={key:d,panelKey:d,header:f,headerClass:m,isActive:y,prefixCls:r,destroyInactivePanel:null!=g?g:i,openMotion:c,accordion:o,children:e.props.children,onItemClick:function(e){"disabled"!==_&&(s(e),null==b||b(e))},expandIcon:u,collapsible:_=null!=h?h:a},"string"==typeof e.type?e:(Object.keys(v).forEach((function(e){void 0===v[e]&&delete v[e]})),gJ.cloneElement(e,v))):null};const F3=Object.assign(gJ.forwardRef((function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-collapse":r,a=e.destroyInactivePanel,i=void 0!==a&&a,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=QJ(o,e.className),y=qi(Al([],{value:f,onChange:function(e){return null==g?void 0:g(e)},defaultValue:m,postState:sp}),2),_=y[0],v=y[1];return $i(!c,"`children` will be removed in next major version. Please use `items` instead."),n=function(e,t,n){return Array.isArray(e)?vI(e,n):Ls(t).map((function(e,t){return wI(e,t,n)}))}(h,c,{prefixCls:o,accordion:l,openMotion:d,expandIcon:p,collapsible:u,destroyInactivePanel:i,onItemClick:function(e){return v((function(){return l?_[0]===e?[]:[e]:_.indexOf(e)>-1?_.filter((function(t){return t!==e})):[].concat(ki(_),[e])}))},activeKey:_}),gJ.createElement("div",{ref:t,className:b,style:s,role:l?"tablist":void 0},n)})),{Panel:yI}),M3=a_.forwardRef(((e,t)=>{const{getPrefixCls:n}=a_.useContext(xZ),{prefixCls:r,className:o,showArrow:a=!0}=e,i=n("collapse",r),s=QJ({[`${i}-no-arrow`]:!a},o);return a_.createElement(F3.Panel,Object.assign({ref:t},e,{prefixCls:i,className:s}))})),L3=e=>{const{componentCls:t,collapseContentBg:n,padding:r,collapseContentPaddingHorizontal:o,collapseHeaderBg:a,collapseHeaderPadding:i,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:_,paddingSM:v,paddingLG:w,paddingXS:k,motionDurationSlow:x,fontSizeIcon:S}=e,C=`${u}px ${d} ${p}`;return{[t]:Object.assign(Object.assign({},EZ(e)),{backgroundColor:a,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:i,paddingInlineStart:v,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:_,marginInlineStart:r-v},[`${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:v-k}},[`> ${t}-content > ${t}-content-box`]:{padding:v}}},"&-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:_}}}}})}},z3=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{[`> ${t}-item > ${t}-header ${t}-arrow svg`]:{transform:"rotate(180deg)"}}}},B3=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}}}},H3=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}}}}}},U3=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[L3(t),B3(t),H3(t),z3(t),B2(t)]})),W3=a_.forwardRef(((e,t)=>{const{getPrefixCls:n,direction:r,collapse:o}=a_.useContext(xZ),{prefixCls:a,className:i,rootClassName:s,style:l,bordered:c=!0,ghost:u,size:d,expandIconPosition:p="start",children:f,expandIcon:m}=e,g=j0((e=>{var t;return null!==(t=null!=d?d:e)&&void 0!==t?t:"middle"})),h=n("collapse",a),b=n(),[y,_]=U3(h),v=a_.useMemo((()=>"left"===p?"start":"right"===p?"end":p),[p]),w=QJ(`${h}-icon-position-${v}`,{[`${h}-borderless`]:!c,[`${h}-rtl`]:"rtl"===r,[`${h}-ghost`]:!!u,[`${h}-${g}`]:"middle"!==g},null==o?void 0:o.className,i,s,_),k=Object.assign(Object.assign({},k1(b)),{motionAppear:!1,leavedClassName:`${h}-content-hidden`}),x=a_.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:a}=e.props;return sc(e,Object.assign(Object.assign({},Qs(e.props,["disabled"])),{key:n,collapsible:null!=a?a:o?"disabled":void 0}))}return e})):null),[f]);return y(a_.createElement(F3,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):a_.createElement(H1,{rotate:t.isActive?90:void 0});return sc(n,(()=>({className:QJ(n.props.className,`${h}-arrow`)})))},prefixCls:h,className:w,style:Object.assign(Object.assign({},null==o?void 0:o.style),l)}),x))})),q3=Object.assign(W3,{Panel:M3}),V3=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o}=e;return{[t]:Object.assign(Object.assign({},EZ(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}}})}},G3=Ml("Divider",(e=>{const t=Rl(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[V3(t)]}),{sizePaddingEdgeHorizontal:0});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:t,direction:n,divider:r}=a_.useContext(xZ),{prefixCls:o,type:a="horizontal",orientation:i="center",orientationMargin:s,className:l,rootClassName:c,children:u,dashed:d,plain:p,style:f}=e,m=kI(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),g=t("divider",o),[h,b]=G3(g),y=!!u,_="left"===i&&null!=s,v="right"===i&&null!=s,w=QJ(g,null==r?void 0:r.className,b,`${g}-${a}`,{[`${g}-with-text`]:y,[`${g}-with-text${i.length>0?`-${i}`:i}`]:y,[`${g}-dashed`]:!!d,[`${g}-plain`]:!!p,[`${g}-rtl`]:"rtl"===n,[`${g}-no-default-orientation-margin-left`]:_,[`${g}-no-default-orientation-margin-right`]:v},l,c),k=a_.useMemo((()=>"number"==typeof s?s:/^\d+$/.test(s)?Number(s):s),[s]),x=Object.assign(Object.assign({},_&&{marginLeft:k}),v&&{marginRight:k});return h(a_.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},null==r?void 0:r.style),f)},m,{role:"separator"}),u&&"vertical"!==a&&a_.createElement("span",{className:`${g}-inner-text`,style:x},u)))};xI=function(){function e(t){var n,r,o,a;Oa(this,e),Ca(this,"origin",""),Ca(this,"negative",void 0),Ca(this,"integer",void 0),Ca(this,"decimal",void 0),Ca(this,"decimalLen",void 0),Ca(this,"empty",void 0),Ca(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]),a=o[1]||"0",this.decimal=BigInt(a),this.decimalLen=a.length):this.nan=!0))}return $a(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),a=n(this.alignDecimal(o),t.alignDecimal(o)).toString(),i=r(o),s=up(a),l=s.trimStr,c="".concat(s.negativeStr).concat(l.padStart(i+1,"0"));return new e("".concat(c.slice(0,-i),".").concat(c.slice(-i)))}},{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}(),SI=function(){function e(t){Oa(this,e),Ca(this,"origin",""),Ca(this,"number",void 0),Ca(this,"empty",void 0),cp(t)?this.empty=!0:(this.origin=String(t),this.number=Number(t))}return $a(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}(),CI=function(e){var t,n,r,o,a,i,s,l,c,u,d,p,f,m,g=e.inputElement,h=e.prefixCls,b=e.prefix,y=e.suffix,_=e.addonBefore,v=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,j=e.handleReset,$=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=a_.useRef(null),B=a_.cloneElement(g,{value:O,hidden:$,className:QJ(null===(t=g.props)||void 0===t?void 0:t.className,!yp(e)&&!bp(e)&&w)||null,style:Si(Si({},null===(n=g.props)||void 0===n?void 0:n.style),yp(e)||bp(e)?{}:k)});return yp(e)&&(o="".concat(h,"-affix-wrapper"),a=QJ(o,(Ca(r={},"".concat(o,"-disabled"),x),Ca(r,"".concat(o,"-focused"),C),Ca(r,"".concat(o,"-readonly"),S),Ca(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),i=(y||D)&&gJ.createElement("span",{className:QJ("".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"===xa(D)&&null!=D&&D.clearIcon?D.clearIcon:"โœ–",gJ.createElement("span",{onClick:j,onMouseDown:function(e){return e.preventDefault()},className:QJ(f,(d={},Ca(d,"".concat(f,"-hidden"),!p),Ca(d,"".concat(f,"-has-suffix"),!!y),d)),role:"button",tabIndex:-1},m)):null,y),B=gJ.createElement(R,fi({className:a,style:bp(e)?void 0:k,hidden:!bp(e)&&$,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&&gJ.createElement("span",{className:QJ("".concat(h,"-prefix"),null==N?void 0:N.prefix),style:null==I?void 0:I.prefix},b),a_.cloneElement(g,{value:O,hidden:null}),i)),bp(e)?(s="".concat(h,"-group"),l="".concat(s,"-addon"),c=QJ("".concat(h,"-wrapper"),s,null==P?void 0:P.wrapper),u=QJ("".concat(h,"-group-wrapper"),w,null==P?void 0:P.group),gJ.createElement(F,{className:u,style:k,hidden:$},gJ.createElement(M,{className:c},_&&gJ.createElement(L,{className:l},_),a_.cloneElement(B,{hidden:null}),v&&gJ.createElement(L,{className:l},v)))):B},EI=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],DI=a_.forwardRef((function(e,t){var n,r,o,a,i,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,_=e.className,v=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=Ea(e,EI),j=qi(Al(e.defaultValue,{value:e.value}),2),$=j[0],P=j[1],N=qi(a_.useState(!1),2),T=N[0],I=N[1],A=a_.useRef(null),R=function(e){A.current&&vp(A.current,e)};return a_.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}})),a_.useEffect((function(){I((function(e){return(!e||!b)&&e}))}),[b]),n=function(t){void 0===e.value&&P(t.target.value),A.current&&_p(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)},a=function(e){I(!1),null==p||p(e)},i=function(e){P(""),R(),A.current&&_p(A.current,e,u)},s=function(){var t=Qs(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return gJ.createElement("input",fi({autoComplete:c},t,{onChange:n,onFocus:o,onBlur:a,onKeyDown:r,className:QJ(h,Ca({},"".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(v)>0;return w||k?(t=ki(e=wp($)).length,n="object"===xa(k)?k.formatter({value:e,count:t,maxLength:v}):"".concat(t).concat(r?" / ".concat(v):""),gJ.createElement(gJ.Fragment,null,!!k&&gJ.createElement("span",{className:QJ("".concat(h,"-show-count-suffix"),Ca({},"".concat(h,"-show-count-has-suffix"),!!w),null==E?void 0:E.count),style:Si({},null==D?void 0:D.count)},n),w)):null},gJ.createElement(CI,fi({},O,{prefixCls:h,className:_,inputElement:s(),handleReset:i,value:wp($),focused:T,triggerFocus:R,suffix:l(),disabled:b,classes:C,classNames:E,styles:D}))})),OI=function(){var e=qi(a_.useState(!1),2),t=e[0],n=e[1];return UD((function(){n(h5())}),[]),t},jI=200,$I=600,PI=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],NI=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],TI=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},II=function(e){var t=gp(e);return t.isInvalidate()?null:t},AI=a_.forwardRef((function(e,t){function n(e,t){ke(_e(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}var r,o,a,i,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,q=e.keyboard,V=e.controls,G=void 0===V||V,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=Ea(e,PI),ae="".concat(N,"-input"),ie=a_.useRef(null),se=qi(a_.useState(!1),2),le=se[0],ce=se[1],ue=a_.useRef(!1),de=a_.useRef(!1),pe=a_.useRef(!1),fe=qi(a_.useState((function(){return gp(null!=z?z:L)})),2),me=fe[0],ge=fe[1],he=a_.useCallback((function(e,t){if(!t)return J>=0?J:Math.max(pp(e),pp(M))}),[J,M]),be=a_.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=a_.useRef(""),_e=a_.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]),ve=qi(a_.useState((function(){var e=null!=L?L:z;return me.isInvalidate()&&["string","number"].includes(xa(e))?Number.isNaN(e)?"":e:_e(me.toString(),!1)})),2),we=ve[0],ke=ve[1];return ye.current=we,o=a_.useMemo((function(){return II(R)}),[R,J]),a=a_.useMemo((function(){return II(A)}),[A,J]),i=a_.useMemo((function(){return!(!o||!me||me.isInvalidate())&&o.lessEquals(me)}),[o,me]),s=a_.useMemo((function(){return!(!a||!me||me.isInvalidate())&&me.lessEquals(a)}),[a,me]),E=ie.current,D=le,O=a_.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(kQ){}},function(){var e,t,n,r,o,a;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!==(a=e.indexOf(n[r-1],r-1))&&(o=a+1),E.setSelectionRange(o,o)}catch(kQ){$i(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(kQ.message))}}],c=qi(l,2),u=c[0],d=c[1],p=function(e){return o&&!e.lessEquals(o)?o:a&&!a.lessEquals(e)?a:null},f=function(e){return!p(e)},m=function(e,t){var r,o,a=e,i=f(a)||a.isEmpty();return a.isEmpty()||t||(a=p(a)||a,i=!0),H||B||!i?me:(r=a.toString(),(o=he(r,t))>=0&&(a=gp(hp(r,".",o)),f(a)||(a=gp(hp(r,".",o,!0)))),a.equals(me)||(void 0===z&&ge(a),null==ee||ee(a.isEmpty()?null:TI(K,a)),void 0===z&&n(a,t)),a)},j=a_.useRef(0),$=function(){cj.cancel(j.current)},a_.useEffect((function(){return $}),[]),g=function(e){$(),j.current=cj((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(ie.current.value)},_=function(e){h(e.target.value)},v=function(e){var t,n,r,o;e&&i||!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(TI(K,o),{offset:pe.current?xp(M):M,type:e?"up":"down"}),null===(t=ie.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!==q&&!de.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(v("Up"===t||"ArrowUp"===t),e.preventDefault())},S=function(){ue.current=!1,pe.current=!1},C=function(){w(!1),ce(!1),ue.current=!1},WD((function(){me.isInvalidate()||n(me,!1)}),[J]),WD((function(){var e,t=gp(z);ge(t),e=gp(be(we)),t.equals(e)&&ue.current&&!Q||n(t,ue.current)}),[z]),WD((function(){Q&&d()}),[we]),a_.createElement("div",{className:QJ(N,null==X?void 0:X.input,T,(r={},Ca(r,"".concat(N,"-focused"),le),Ca(r,"".concat(N,"-disabled"),B),Ca(r,"".concat(N,"-readonly"),H),Ca(r,"".concat(N,"-not-a-number"),me.isNaN()),Ca(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},G&&a_.createElement(kp,{prefixCls:N,upNode:U,downNode:W,upDisabled:i,downDisabled:s,onStep:v}),a_.createElement("div",{className:"".concat(ae,"-wrap")},a_.createElement("input",fi({autoComplete:"off",role:"spinbutton","aria-valuemin":A,"aria-valuemax":R,"aria-valuenow":me.isInvalidate()?null:me.toString(),step:M},oe,{ref:Bs(ie,t),className:ae,value:we,onChange:_,disabled:B,readOnly:H}))))})),(RI=a_.forwardRef((function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,a=e.value,i=e.prefix,s=e.suffix,l=e.addonBefore,c=e.addonAfter,u=e.classes,d=e.className,p=e.classNames,f=Ea(e,NI),m=a_.useRef(null);return a_.createElement(CI,{inputElement:a_.createElement(AI,fi({prefixCls:o,disabled:n,classNames:p,ref:Bs(m,t)},f)),className:d,triggerFocus:function(e){m.current&&vp(m.current,e)},prefixCls:o,value:a,disabled:n,style:r,prefix:i,suffix:s,addonAfter:c,addonBefore:l,classes:u,classNames:p,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})}))).displayName="InputNumber";const K3=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorBorder:o,borderRadius:a,fontSizeLG:i,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:_,controlWidth:v,handleVisible:w}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},EZ(e)),F4(e)),R4(e,t)),{display:"inline-block",width:v,margin:0,padding:0,border:`${n}px ${r} ${o}`,borderRadius:a,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:i,borderRadius:_,[`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({},P4(e)),"&-focused":Object.assign({},N4(e)),"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},EZ(e)),M4(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:_}},"&-sm":{[`${t}-group-addon`]:{borderRadius:y}},[`${t}-wrapper-disabled > ${t}-group-addon`]:Object.assign({},T4(e))}}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},EZ(e)),{width:"100%",padding:`${g}px ${m}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${p} linear`,appearance:"textfield",fontSize:"inherit"}),$4(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:a,borderEndEndRadius:a,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:a},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${o}`,borderEndEndRadius:a},"&-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}}}]},Y3=e=>{const{componentCls:t,inputPaddingVertical:n,inputPaddingHorizontal:r,inputAffixPadding:o,controlWidth:a,borderRadiusLG:i,borderRadiusSM:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},F4(e)),R4(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:a,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:i},"&-sm":{borderRadius:s},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},P4(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}}})}},Q3=Ml("InputNumber",(e=>{const t=Vd(e);return[K3(t),Y3(t),Dc(t)]}),(e=>({controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:"auto"})));FI=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}=a_.useContext(xZ),o=a_.useRef(null);a_.useImperativeHandle(t,(()=>o.current));const{className:a,rootClassName:i,size:s,disabled:l,prefixCls:c,addonBefore:u,addonAfter:d,prefix:p,bordered:f=!0,readOnly:m,status:g,controls:h}=e,b=FI(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),y=n("input-number",c),[_,v]=Q3(y),{compactSize:w,compactItemClassnames:k}=I0(y,r);let x=a_.createElement(V1,{className:`${y}-handler-up-inner`}),S=a_.createElement($1,{className:`${y}-handler-down-inner`});const C="boolean"==typeof h?h:void 0;"object"==typeof h&&(x=void 0===h.upIcon?x:a_.createElement("span",{className:`${y}-handler-up-inner`},h.upIcon),S=void 0===h.downIcon?S:a_.createElement("span",{className:`${y}-handler-down-inner`},h.downIcon));const{hasFeedback:E,status:D,isFormItemInput:O,feedbackIcon:j}=a_.useContext(e2),$=_5(D,g),P=j0((e=>{var t;return null!==(t=null!=s?s:w)&&void 0!==t?t:e})),N=a_.useContext(RZ),T=null!=l?l:N,I=QJ({[`${y}-lg`]:"large"===P,[`${y}-sm`]:"small"===P,[`${y}-rtl`]:"rtl"===r,[`${y}-borderless`]:!f,[`${y}-in-form-item`]:O},cd(y,$),k,v),A=`${y}-group`;return _(a_.createElement(RI,Object.assign({ref:o,disabled:T,className:QJ(a,i),upHandler:x,downHandler:S,prefixCls:y,readOnly:m,controls:C,prefix:p,suffix:E&&j,addonAfter:d&&a_.createElement(A0,null,a_.createElement(t2,{override:!0,status:!0},d)),addonBefore:u&&a_.createElement(A0,null,a_.createElement(t2,{override:!0,status:!0},u)),classNames:{input:I},classes:{affixWrapper:QJ(cd(`${y}-affix-wrapper`,$,E),{[`${y}-affix-wrapper-sm`]:"small"===P,[`${y}-affix-wrapper-lg`]:"large"===P,[`${y}-affix-wrapper-rtl`]:"rtl"===r,[`${y}-affix-wrapper-borderless`]:!f},v),wrapper:QJ({[`${A}-rtl`]:"rtl"===r,[`${y}-wrapper-disabled`]:T},v),group:QJ({[`${y}-group-wrapper-sm`]:"small"===P,[`${y}-group-wrapper-lg`]:"large"===P,[`${y}-group-wrapper-rtl`]:"rtl"===r},cd(`${y}-group-wrapper`,$,E),v)}},b)))})),Z3=J3;Z3._InternalPanelDoNotUseOrYouWillBeFired=e=>a_.createElement(XZ,{theme:{components:{InputNumber:{handleVisible:!0}}}},a_.createElement(J3,Object.assign({},e)));const e6=Z3;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{var n;const{prefixCls:r,bordered:o=!0,status:a,size:i,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:_}=e,v=MI(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:w,direction:k,input:x}=gJ.useContext(xZ),S=w("input",r),C=a_.useRef(null),[E,D]=q4(S),{compactSize:O,compactItemClassnames:j}=I0(S,k),$=j0((e=>{var t;return null!==(t=null!=i?i:O)&&void 0!==t?t:e})),P=gJ.useContext(RZ),N=null!=s?s:P,{status:T,hasFeedback:I,feedbackIcon:A}=a_.useContext(e2),R=_5(T,a),F=function(e){return!!(e.prefix||e.suffix||e.allowClear)}(e)||!!I,M=a_.useRef(F);a_.useEffect((()=>{M.current=F}),[F]);const L=Sp(C,!0),z=(I||u)&&gJ.createElement(gJ.Fragment,null,u,I&&A);let B;return"object"==typeof d&&(null==d?void 0:d.clearIcon)?B=d:d&&(B={clearIcon:gJ.createElement(e0,null)}),E(gJ.createElement(DI,Object.assign({ref:Bs(t,C),prefixCls:S,autoComplete:null==x?void 0:x.autoComplete},v,{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:QJ(m,b,j,null==x?void 0:x.className),onChange:e=>{L(),null==y||y(e)},addonAfter:p&&gJ.createElement(A0,null,gJ.createElement(t2,{override:!0,status:!0},p)),addonBefore:f&&gJ.createElement(A0,null,gJ.createElement(t2,{override:!0,status:!0},f)),classNames:Object.assign(Object.assign(Object.assign({},_),null==x?void 0:x.classNames),{input:QJ({[`${S}-sm`]:"small"===$,[`${S}-lg`]:"large"===$,[`${S}-rtl`]:"rtl"===k,[`${S}-borderless`]:!o},!F&&cd(S,R),null==_?void 0:_.input,null===(n=null==x?void 0:x.classNames)||void 0===n?void 0:n.input,D)}),classes:{affixWrapper:QJ({[`${S}-affix-wrapper-sm`]:"small"===$,[`${S}-affix-wrapper-lg`]:"large"===$,[`${S}-affix-wrapper-rtl`]:"rtl"===k,[`${S}-affix-wrapper-borderless`]:!o},cd(`${S}-affix-wrapper`,R,I),D),wrapper:QJ({[`${S}-group-rtl`]:"rtl"===k},D),group:QJ({[`${S}-group-wrapper-sm`]:"small"===$,[`${S}-group-wrapper-lg`]:"large"===$,[`${S}-group-wrapper-rtl`]:"rtl"===k,[`${S}-group-wrapper-disabled`]:N},cd(`${S}-group-wrapper`,R,I),D)}})))})),n6=t6;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);ra_.createElement(e?R1:I1,null),o6={click:"onClick",hover:"onMouseOver"},a6=a_.forwardRef(((e,t)=>{const{visibilityToggle:n=!0}=e,r="object"==typeof n&&void 0!==n.visible,[o,a]=a_.useState((()=>!!r&&n.visible)),i=a_.useRef(null);a_.useEffect((()=>{r&&a(n.visible)}),[r,n]);const s=Sp(i),l=()=>{const{disabled:t}=e;t||(o&&s(),a((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=LI(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:m}=a_.useContext(xZ),g=m("input",d),h=m("input-password",u),b=n&&(t=>{const{action:n="click",iconRender:r=r6}=e,a=o6[n]||"",i=r(o),s={[a]:l,className:`${t}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return a_.cloneElement(a_.isValidElement(i)?i:a_.createElement("span",null,i),s)})(h),y=QJ(h,c,{[`${h}-${p}`]:!!p}),_=Object.assign(Object.assign({},Qs(f,["suffix","iconRender","visibilityToggle"])),{type:o?"text":"password",className:y,prefixCls:g,suffix:b});return p&&(_.size=p),a_.createElement(n6,Object.assign({ref:Bs(t,i)},_))})),i6=a6;zI=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:a,suffix:i,enterButton:s=!1,addonAfter:l,loading:c,disabled:u,onSearch:d,onChange:p,onCompositionStart:f,onCompositionEnd:m}=e,g=zI(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:h,direction:b}=a_.useContext(xZ),y=a_.useRef(!1),_=h("input-search",n),v=h("input",r),{compactSize:w}=I0(_,b),k=j0((e=>{var t;return null!==(t=null!=a?a:w)&&void 0!==t?t:e})),x=a_.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?a_.createElement(W1,null):null,D=`${_}-button`;let O;const j=s||{},$=j.type&&!0===j.type.__ANT_BUTTON;O=$||"button"===j.type?sc(j,Object.assign({onMouseDown:S,onClick:e=>{var t,n;null===(n=null===(t=null==j?void 0:j.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),C(e)},key:"enterButton"},$?{className:D,size:k}:{})):a_.createElement(h1,{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=QJ(_,{[`${_}-rtl`]:"rtl"===b,[`${_}-${k}`]:!!k,[`${_}-with-button`]:!!s},o);return a_.createElement(n6,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:v,addonAfter:O,suffix:i,onChange:e=>{e&&e.target&&"click"===e.type&&d&&d(e.target.value,e),p&&p(e)},className:P,disabled:u}))})),l6=s6;BI=["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"],HI={},WI=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],qI=a_.forwardRef((function(e,t){var n,r,o,a,i,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,a=e.onResize,i=e.className,s=e.style,l=e.disabled,c=e.onChange,u=Ea(e,WI),p=(d=qi(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=a_.useRef(),a_.useImperativeHandle(t,(function(){return{textArea:g.current}})),h=qi(a_.useMemo((function(){return o&&"object"===xa(o)?[o.minRows,o.maxRows]:[]}),[o]),2),b=h[0],y=h[1],_=!!o,v=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(kQ){}},w=qi(a_.useState(2),2),k=w[0],x=w[1],C=(S=qi(a_.useState(),2))[0],E=S[1],D=function(){x(0)},UD((function(){_&&D()}),[r,b,y,_]),UD((function(){if(0===k)x(1);else if(1===k){var e=function(e,t,n,r){var o,a,i,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 UI||((UI=document.createElement("textarea")).setAttribute("tab-index","-1"),UI.setAttribute("aria-hidden","true"),document.body.appendChild(UI)),e.getAttribute("wrap")?UI.setAttribute("wrap",e.getAttribute("wrap")):UI.removeAttribute("wrap"),o=function(e,t){var n,r,o,a,i,s=arguments.length>1&&void 0!==t&&t,l=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");return s&&HI[l]?HI[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")),a=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),i={sizingStyle:BI.map((function(e){return"".concat(e,":").concat(n.getPropertyValue(e))})).join(";"),paddingSize:o,borderSize:a,boxSizing:r},s&&l&&(HI[l]=i),i)}(e,m),a=o.paddingSize,i=o.borderSize,s=o.boxSizing,UI.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")),UI.value=e.value||e.placeholder||"",l=void 0,c=void 0,d=UI.scrollHeight,"border-box"===s?d+=i:"content-box"===s&&(d-=a),null===g&&null===h||(UI.value=" ",p=UI.scrollHeight-a,null!==g&&(l=p*g,"border-box"===s&&(l=l+a+i),d=Math.max(l,d)),null!==h&&(c=p*h,"border-box"===s&&(c=c+a+i),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 v()}),[k]),O=a_.useRef(),j=function(){cj.cancel(O.current)},$=function(e){2===k&&(null==a||a(e),o&&(j(),O.current=cj((function(){D()}))))},a_.useEffect((function(){return j}),[]),P=_?C:null,N=Si(Si({},s),P),0!==k&&1!==k||(N.overflowY="hidden",N.overflowX="hidden"),a_.createElement(oj,{onResize:$,disabled:!(o||a)},a_.createElement("textarea",fi({},u,{ref:g,style:N,className:QJ(T,i,Ca({},"".concat(T,"-disabled"),l)),disabled:l,value:p,onChange:m})))})),VI=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"],GI=gJ.forwardRef((function(e,t){var n,r,o,a,i,s,l,c,u,d,p,f,m,g,h=e.defaultValue,b=e.value,y=e.onFocus,_=e.onBlur,v=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,j=e.showCount,$=e.className,P=e.style,N=e.disabled,T=e.hidden,I=e.classNames,A=e.styles,R=e.onResize,F=Ea(e,VI),M=qi(Al(h,{value:b,defaultValue:h}),2),L=M[0],z=M[1],B=a_.useRef(null),H=qi(gJ.useState(!1),2),U=H[0],W=H[1],q=qi(gJ.useState(!1),2),V=q[0],G=q[1],X=gJ.useRef(),K=gJ.useRef(0),Y=qi(gJ.useState(null),2),Q=Y[0],J=Y[1],Z=function(){var e;null===(e=B.current)||void 0===e||e.textArea.focus()};return a_.useImperativeHandle(t,(function(){return{resizableTextArea:B.current,focus:Z,blur:function(){var e;null===(e=B.current)||void 0===e||e.textArea.blur()}}})),a_.useEffect((function(){W((function(e){return!N&&e}))}),[N]),r=Number(k)>0,o=function(e){G(!0),X.current=L,K.current=e.currentTarget.selectionStart,null==x||x(e)},a=function(e){var t,n;G(!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),_p(e.currentTarget,e,v,t)),null==S||S(e)},i=function(e){var t=e.target.value;!V&&r&&(t=Ep(e.target.selectionStart>=k+1||e.target.selectionStart===t.length||!e.target.selectionStart,L,t,k)),z(t),_p(e.currentTarget,e,v,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==_||_(e)},u=function(e){var t;z(""),Z(),_p(null===(t=B.current)||void 0===t?void 0:t.textArea,e,v)},d=wp(L),!V&&r&&null==b&&(d=Cp(d,k)),p=C,j&&(m=ki(d).length,f="object"===xa(j)?j.formatter({value:d,count:m,maxLength:k}):"".concat(m).concat(r?" / ".concat(k):""),p=gJ.createElement(gJ.Fragment,null,p,gJ.createElement("span",{className:QJ("".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)},gJ.createElement(CI,{value:d,allowClear:w,handleReset:u,suffix:p,prefixCls:D,classes:{affixWrapper:QJ(null==O?void 0:O.affixWrapper,(n={},Ca(n,"".concat(D,"-show-count"),j),Ca(n,"".concat(D,"-textarea-allow-clear"),w),n))},disabled:N,focused:U,className:$,style:Si(Si({},P),Q?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof f?f:void 0}},hidden:T,inputElement:gJ.createElement(qI,fi({},F,{onKeyDown:s,onChange:i,onFocus:l,onBlur:c,onCompositionStart:o,onCompositionEnd:a,className:null==I?void 0:I.textarea,style:Si(Si({},null==A?void 0:A.textarea),{},{resize:null==P?void 0:P.resize}),disabled:N,prefixCls:D,onResize:g,ref:B}))})})),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,bordered:r=!0,size:o,disabled:a,status:i,allowClear:s,showCount:l,classNames:c}=e,u=XI(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:d,direction:p}=a_.useContext(xZ),f=j0(o),m=a_.useContext(RZ),g=null!=a?a:m,{status:h,hasFeedback:b,feedbackIcon:y}=a_.useContext(e2),_=_5(h,i),v=a_.useRef(null);a_.useImperativeHandle(t,(()=>{var e;return{resizableTextArea:null===(e=v.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=v.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=v.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:a_.createElement(e0,null)});const[x,S]=q4(w);return x(a_.createElement(GI,Object.assign({},u,{disabled:g,allowClear:k,classes:{affixWrapper:QJ(`${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`,_),S)},classNames:Object.assign(Object.assign({},c),{textarea:QJ({[`${w}-borderless`]:!r,[`${w}-sm`]:"small"===f,[`${w}-lg`]:"large"===f},cd(w,_),S,null==c?void 0:c.textarea)}),prefixCls:w,suffix:b&&a_.createElement("span",{className:`${w}-textarea-suffix`},y),showCount:l,ref:v})))})),u6=n6;u6.Group=e=>{const{getPrefixCls:t,direction:n}=a_.useContext(xZ),{prefixCls:r,className:o}=e,a=t("input-group",r),i=t("input"),[s,l]=q4(i),c=QJ(a,{[`${a}-lg`]:"large"===e.size,[`${a}-sm`]:"small"===e.size,[`${a}-compact`]:e.compact,[`${a}-rtl`]:"rtl"===n},l,o),u=a_.useContext(e2),d=a_.useMemo((()=>Object.assign(Object.assign({},u),{isFormItemInput:!1})),[u]);return s(a_.createElement("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},a_.createElement(e2.Provider,{value:d},e.children)))},u6.Search=l6,u6.TextArea=c6,u6.Password=i6;const d6=u6;KI=a_.createContext(null),YI=function(e){var t=e.className,n=e.style,r=e.children,o=e.containerRef,a={onMouseEnter:e.onMouseEnter,onMouseOver:e.onMouseOver,onMouseLeave:e.onMouseLeave,onClick:e.onClick,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp};return a_.createElement(a_.Fragment,null,a_.createElement("div",fi({className:QJ("".concat(e.prefixCls,"-content"),t),style:Si({},n),"aria-modal":"true",role:"dialog",ref:o},a),r))},QI={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},JI=a_.forwardRef(Op),ZI=function(e){var t,n,r,o,a,i,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,_=e.mask,v=void 0===_||_,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,j=e.onMouseLeave,$=e.onClick,P=e.onKeyDown,N=e.onKeyUp,T=qi(a_.useState(!1),2),I=T[0],A=T[1],R=qi(a_.useState(!1),2),F=R[0],M=R[1];return UD((function(){M(!0)}),[]),t=!!F&&l,n=a_.useRef(),r=a_.useRef(),UD((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?(a={onMouseEnter:D,onMouseOver:O,onMouseLeave:j,onClick:$,onKeyDown:P,onKeyUp:N},i=Si(Si({},e),{},{open:t,prefixCls:u,placement:p,autoFocus:m,keyboard:h,width:y,mask:v,maskClosable:k,inline:!1===x,afterOpenChange:o,ref:n},a),a_.createElement(B$,{open:t||S||I,autoDestroy:!1,getContainer:x,autoLock:v&&(t||I)},a_.createElement(JI,i))):null};const p6=e=>{const{prefixCls:t,title:n,footer:r,extra:o,closeIcon:a,closable:i,onClose:s,headerStyle:l,drawerStyle:c,bodyStyle:u,footerStyle:d,children:p}=e,f=a_.useCallback((e=>a_.createElement("button",{type:"button",onClick:s,"aria-label":"Close",className:`${t}-close`},e)),[s]),[m,g]=Mc(i,a,f,void 0,!0),h=a_.useMemo((()=>n||m?a_.createElement("div",{style:l,className:QJ(`${t}-header`,{[`${t}-header-close-only`]:m&&!n&&!o})},a_.createElement("div",{className:`${t}-header-title`},g,n&&a_.createElement("div",{className:`${t}-title`},n)),o&&a_.createElement("div",{className:`${t}-extra`},o)):null),[m,g,o,l,t,n]),b=a_.useMemo((()=>r?a_.createElement("div",{className:`${t}-footer`,style:d},r):null),[r,d,t]);return a_.createElement("div",{className:`${t}-wrapper-body`,style:c},h,a_.createElement("div",{className:`${t}-body`,style:u},p),b)},f6=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%)"}}}]}}}},m6=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:o,motionDurationSlow:a,motionDurationMid:i,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:_,footerPaddingInline:v}=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 ${a}`,"&-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 ${i}`,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:`${_}px ${v}px`,borderTop:`${d}px ${p} ${f}`},"&-rtl":{direction:"rtl"}}}},g6=Ml("Drawer",(e=>{const t=Rl(e,{});return[m6(t),f6(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})));eA=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:a=!0,push:i=h6,open:s,afterOpenChange:l,onClose:c,prefixCls:u,getContainer:d,style:p,className:f,visible:m,afterVisibleChange:g}=e,h=eA(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:b,getPrefixCls:y,direction:_,drawer:v}=a_.useContext(xZ),w=y("drawer",u),[k,x]=g6(w),S=void 0===d&&b?()=>b(document.body):d,C=QJ({"no-mask":!a,[`${w}-rtl`]:"rtl"===_},t,x),E=a_.useMemo((()=>null!=n?n:"large"===o?736:378),[n,o]),D=a_.useMemo((()=>null!=r?r:"large"===o?736:378),[r,o]),O={motionName:S1(w,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500};return k(a_.createElement(A0,null,a_.createElement(t2,{status:!0,override:!0},a_.createElement(ZI,Object.assign({prefixCls:w,onClose:c,maskMotion:O,motion:e=>({motionName:S1(w,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},h,{open:null!=s?s:m,mask:a,push:i,width:E,height:D,style:Object.assign(Object.assign({},null==v?void 0:v.style),p),className:QJ(null==v?void 0:v.className,f),rootClassName:C,getContainer:S,afterOpenChange:null!=l?l:g}),a_.createElement(p6,Object.assign({prefixCls:w},h,{onClose:c}))))))};b6._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,style:n,className:r,placement:o="right"}=e,a=eA(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=a_.useContext(xZ),s=i("drawer",t),[l,c]=g6(s),u=QJ(s,`${s}-pure`,`${s}-${o}`,c,r);return l(a_.createElement("div",{className:u,style:n},a_.createElement(p6,Object.assign({prefixCls:s},a))))};const y6=b6,_6=gJ.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),v6=_6.Provider,w6=e=>{let{className:t,direction:n,index:r,marginDirection:o,children:a,split:i,wrap:s,style:l}=e;const{horizontalSize:c,verticalSize:u,latestIndex:d,supportFlexGap:p}=a_.useContext(_6);let f={};return p||("vertical"===n?r{var n,r;const{getPrefixCls:o,space:a,direction:i}=a_.useContext(xZ),{size:s=(null==a?void 0:a.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,_=tA(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),v=A3(),[w,k]=a_.useMemo((()=>(Array.isArray(s)?s:[s,s]).map((e=>function(e){return"string"==typeof e?k6[e]:e||0}(e)))),[s]),x=Ls(d,{keepEmpty:!0}),S=void 0===l&&"horizontal"===p?"center":l,C=o("space",f),[E,D]=N0(C),O=QJ(C,null==a?void 0:a.className,D,`${C}-${p}`,{[`${C}-rtl`]:"rtl"===i,[`${C}-align-${S}`]:S},c,u),j=QJ(`${C}-item`,null!==(n=null==b?void 0:b.item)&&void 0!==n?n:null===(r=null==a?void 0:a.classNames)||void 0===r?void 0:r.item),$="rtl"===i?"marginLeft":"marginRight";let P=0;const N=x.map(((e,t)=>{var n,r;return null!=e&&(P=t),a_.createElement(w6,{className:j,key:e&&e.key||`${j}-${t}`,direction:p,index:t,marginDirection:$,split:m,wrap:h,style:null!==(n=null==y?void 0:y.item)&&void 0!==n?n:null===(r=null==a?void 0:a.styles)||void 0===r?void 0:r.item},e)})),T=a_.useMemo((()=>({horizontalSize:w,verticalSize:k,latestIndex:P,supportFlexGap:v})),[w,k,P,v]);if(0===x.length)return null;const I={};return h&&(I.flexWrap="wrap",v||(I.marginBottom=-k)),v&&(I.columnGap=w,I.rowGap=k),E(a_.createElement("div",Object.assign({ref:t,className:O,style:Object.assign(Object.assign(Object.assign({},I),null==a?void 0:a.style),g)},_),a_.createElement(v6,{value:T},N)))}));x6.Compact=e=>{const{getPrefixCls:t,direction:n}=a_.useContext(xZ),{size:r,direction:o,block:a,prefixCls:i,className:s,rootClassName:l,children:c}=e,u=N$(e,["size","direction","block","prefixCls","className","rootClassName","children"]),d=j0((e=>null!=r?r:e)),p=t("space-compact",i),[f,m]=N0(p),g=QJ(p,m,{[`${p}-rtl`]:"rtl"===n,[`${p}-block`]:a,[`${p}-vertical`]:"vertical"===o},s,l),h=a_.useContext(T0),b=Ls(c),y=a_.useMemo((()=>b.map(((e,t)=>a_.createElement(R0,{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(a_.createElement("div",Object.assign({className:g},u),y))};const S6=x6,C6=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)"}}}}},E6=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}}),D6=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},O6=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},EZ(e)),E6(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},D6(e,e.controlHeightSM)),"&-large":Object.assign({},D6(e,e.controlHeightLG))})}},j6=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:o}=e;return{[t]:Object.assign(Object.assign({},EZ(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:D2,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},$6=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"}}}},P6=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"}}}}},N6=e=>({padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),T6=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:N6(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label,\n ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},I6=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`]:N6(e),[`@media (max-width: ${e.screenXSMax}px)`]:[T6(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:N6(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:N6(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:N6(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:N6(e)}}}},A6=Ml("Form",((e,t)=>{let{rootPrefixCls:n}=t;const r=Rl(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[O6(r),j6(r),C6(r),$6(r),P6(r),I6(r),B2(r),D2]})),R6=[],F6=["parentNode"],M6="form_item";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 n=a_.useContext(RZ),{getPrefixCls:r,direction:o,form:a}=a_.useContext(xZ),{prefixCls:i,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:_,requiredMark:v,onFinishFailed:w,name:k,style:x}=e,S=nA(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style"]),C=j0(c),E=a_.useContext(ZJ),D=a_.useMemo((()=>void 0!==v?v:a&&void 0!==a.requiredMark?a.requiredMark:!b),[b,v,a]),O=null!=p?p:null==a?void 0:a.colon,j=r("form",i),[$,P]=A6(j),N=QJ(j,`${j}-${y}`,{[`${j}-hide-required-mark`]:!1===D,[`${j}-rtl`]:"rtl"===o,[`${j}-${C}`]:C},P,null==a?void 0:a.className,s,l),[T]=Ap(d),{__INTERNAL__:I}=T;I.name=k;const A=a_.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]);a_.useImperativeHandle(t,(()=>T));const R=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),T.scrollToField(t,n)}};return $(a_.createElement(AZ,{disabled:u},a_.createElement(MZ,{size:C},a_.createElement(J1,{validateMessages:E},a_.createElement(Y1.Provider,{value:A},a_.createElement(jP,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!==_)return void R(_,t);a&&void 0!==a.scrollToFirstError&&R(a.scrollToFirstError,t)}},form:T,style:Object.assign(Object.assign({},null==a?void 0:a.style),x),className:N})))))))},z6=a_.forwardRef(L6),B6=()=>{const{status:e,errors:t=[],warnings:n=[]}=a_.useContext(e2);return{status:e,errors:t,warnings:n}};B6.Context=e2;const H6=B6,U6=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:o,errors:a,warnings:i,_internalItemRender:s,extra:l,help:c,fieldId:u,marginBottom:d,onErrorVisibleChanged:p}=e,f=`${t}-item`,m=a_.useContext(Y1),g=r||m.wrapperCol||{},h=QJ(`${f}-control`,g.className),b=a_.useMemo((()=>Object.assign({},m)),[m]);delete b.labelCol,delete b.wrapperCol;const y=a_.createElement("div",{className:`${f}-control-input`},a_.createElement("div",{className:`${f}-control-input-content`},o)),_=a_.useMemo((()=>({prefixCls:t,status:n})),[t,n]),v=null!==d||a.length||i.length?a_.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},a_.createElement(Z1.Provider,{value:_},a_.createElement(Pp,{fieldId:u,errors:a,warnings:i,help:c,helpStatus:n,className:`${f}-explain-connected`,onVisibleChanged:p})),!!d&&a_.createElement("div",{style:{width:0,height:d}})):null,w={};u&&(w.id=`${u}_extra`);const k=l?a_.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:v,extra:k}):a_.createElement(a_.Fragment,null,y,v,k);return a_.createElement(Y1.Provider,{value:b},a_.createElement(I3,Object.assign({},g,{className:h}),x))};rA=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:a,colon:i,required:s,requiredMark:l,tooltip:c}=e;var u;const[d]=iZ("Form"),{vertical:p,labelAlign:f,labelCol:m,labelWrap:g,colon:h}=a_.useContext(Y1);if(!n)return null;const b=o||m||{},y=`${t}-item-label`,_=QJ(y,"left"===(a||f)&&`${y}-left`,b.className,{[`${y}-wrap`]:!!g});let v=n;const w=!0===i||!1!==h&&!1!==i;w&&!p&&"string"==typeof n&&""!==n.trim()&&(v=n.replace(/[:|๏ผš]\s*$/,""));const k=function(e){return e?"object"!=typeof e||a_.isValidElement(e)?{title:e}:e:null}(c);if(k){const{icon:e=a_.createElement(z1,null)}=k,n=rA(k,["icon"]),r=a_.createElement(c4,Object.assign({},n),a_.cloneElement(e,{className:`${t}-item-tooltip`,title:""}));v=a_.createElement(a_.Fragment,null,v,r)}"optional"!==l||s||(v=a_.createElement(a_.Fragment,null,v,a_.createElement("span",{className:`${t}-item-optional`,title:""},(null==d?void 0:d.optional)||(null===(u=rZ.Form)||void 0===u?void 0:u.optional))));const x=QJ({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:"optional"===l,[`${t}-item-no-colon`]:!w});return a_.createElement(I3,Object.assign({},b,{className:_}),a_.createElement("label",{htmlFor:r,className:x,title:"string"==typeof n?n:""},v))};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{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])))),G6=function(e){function t(t,n,a){return r&&!g?t:a_.createElement(Rp,Object.assign({key:"row"},e,{className:QJ(o,D),prefixCls:C,fieldId:n,isRequired:a,errors:A,warnings:R,meta:N,onSubItemMetaChange:I}),t)}const{name:n,noStyle:r,className:o,dependencies:a,prefixCls:i,shouldUpdate:s,rules:l,children:c,required:u,label:d,messageVariables:p,trigger:f="onChange",validateTrigger:m,hidden:g,help:h}=e,{getPrefixCls:b}=a_.useContext(xZ),{name:y}=a_.useContext(Y1),_=function(e){if("function"==typeof e)return e;const t=Ls(e);return t.length<=1?t[0]:t}(c),v="function"==typeof _,w=a_.useContext(Q1),{validateTrigger:k}=a_.useContext(K$),x=void 0!==m?m:k,S=function(e){return!(null==e)}(n),C=b("form",i),[E,D]=A6(C),O=a_.useContext(Y$),j=a_.useRef(),[$,P]=function(){const[e,t]=a_.useState({}),n=a_.useRef(null),r=a_.useRef([]),o=a_.useRef(!1);return a_.useEffect((()=>(o.current=!1,()=>{o.current=!0,cj.cancel(n.current),n.current=null})),[]),[e,function(e){o.current||(null===n.current&&(r.current=[],n.current=cj((()=>{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(ki(e.name.slice(0,-1)),ki(t)).join("__SPLIT__");return e.destroy?delete r[o]:r[o]=e,r}))},[A,R]=a_.useMemo((()=>{const e=ki(N.errors),t=ki(N.warnings);return Object.values($).forEach((n=>{e.push.apply(e,ki(n.errors||[])),t.push.apply(t,ki(n.warnings||[]))})),[e,t]}),[$,N.errors,N.warnings]),F=function(){const{itemRef:e}=a_.useContext(Y1),t=a_.useRef({});return function(n,r){const o=r&&"object"==typeof r&&r.ref,a=n.join("_");return t.current.name===a&&t.current.originRef===o||(t.current.name=a,t.current.originRef=o,t.current.ref=Bs(e(n),o)),t.current.ref}}();if(!S&&!v&&!a)return E(t(_));let M={};return"string"==typeof d?M.label=d:n&&(M.label=String(n)),p&&(M=Object.assign(Object.assign({},M),p)),E(a_.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=j.current||n;else if(void 0!==t){const[e,r]=t;n=[e].concat(ki(r)),j.current=n}w(e,n)}}}),((r,o,i)=>{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(i);return t&&t.required&&!t.warningOnly}return!1}))),m=Object.assign({},r);let g=null;if(Array.isArray(_)&&S)g=_;else if(v&&(!s&&!a||S));else if(!a||v||S)if(s0(_)){const t=Object.assign(Object.assign({},_.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(_)&&(t.ref=F(c,_)),new Set([].concat(ki(Np(f)),ki(Np(x)))).forEach((e=>{t[e]=function(){var t,n,r,o,a,i,s,l;for(i=arguments.length,s=new Array(i),l=0;l{var{prefixCls:t,children:n}=e,r=aA(e,["prefixCls","children"]);const{getPrefixCls:o}=a_.useContext(xZ),a=o("form",t),i=a_.useMemo((()=>({prefixCls:a,status:"error"})),[a]);return a_.createElement(vP,Object.assign({},r),((e,t,r)=>a_.createElement(Z1.Provider,{value:i},n(e.map((e=>Object.assign(Object.assign({},e),{fieldKey:e.key}))),t,{errors:r.errors,warnings:r.warnings}))))},X6.ErrorList=Pp,X6.useForm=Ap,X6.useFormInstance=function(){const{form:e}=a_.useContext(Y1);return e},X6.useWatch=gu,X6.Provider=J1,X6.create=()=>{};const K6=X6;let Y6=null,Q6=e=>e(),J6=[],Z6={};const e8=a_.forwardRef(((e,t)=>{const n=()=>{const{prefixCls:e,container:t,maxCount:n,duration:r,rtl:o,top:a}=function(){const{prefixCls:e,getContainer:t,duration:n,rtl:r,maxCount:o,top:a}=Z6;return{prefixCls:null!=e?e:VZ().getPrefixCls("message"),container:(null==t?void 0:t())||document.body,duration:n,rtl:r,maxCount:o,top:a}}();return{prefixCls:e,getContainer:()=>t,maxCount:n,duration:r,rtl:o,top:a}},[r,o]=a_.useState(n),[a,i]=uc(r),s=VZ(),l=s.getRootPrefixCls(),c=s.getIconPrefixCls(),u=s.getTheme(),d=()=>{o(n)};return a_.useEffect(d,[]),a_.useImperativeHandle(t,(()=>{const e=Object.assign({},a);return Object.keys(e).forEach((t=>{e[t]=function(){return d(),a[t].apply(a,arguments)}})),{instance:e,sync:d}})),a_.createElement(XZ,{prefixCls:l,iconPrefixCls:c,theme:u},i)})),t8={open:function(e){const t=cc((t=>{let n;const r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return J6.push(r),()=>{n?Q6((()=>{n()})):r.skipped=!0}}));return Fp(),t},destroy:function(e){J6.push({type:"destroy",key:e}),Fp()},config:function(e){Z6=Object.assign(Object.assign({},Z6),e),Q6((()=>{var e;null===(e=null==Y6?void 0:Y6.sync)||void 0===e||e.call(Y6)}))},useMessage:dc,_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,type:r,icon:o,content:a}=e,i=S$(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=a_.useContext(xZ),l=t||s("message"),[,c]=y0(l);return a_.createElement(_$,Object.assign({},i,{prefixCls:l,className:QJ(n,c,`${l}-notice-pure-panel`),eventKey:"pure",duration:null,content:a_.createElement(v0,{prefixCls:l,type:r,icon:o},a)}))}},n8=t8;["success","info","warning","error","loading"].forEach((e=>{n8[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 J6.push(o),()=>{r?Q6((()=>{r()})):o.skipped=!0}}));return Fp(),n}(e,n)}}));const r8=n8;iA=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:a,title:i,children:s}=e,l=iA(e,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:c}=a_.useContext(xZ),u=c(),d=t||c("modal"),[,p]=G2(d),f=`${d}-confirm`;let m={};return m=a?{closable:null!=o&&o,title:"",footer:"",children:a_.createElement(yu,Object.assign({},e,{confirmPrefixCls:f,rootPrefixCls:u,content:s}))}:{closable:null==o||o,title:i,footer:void 0===e.footer?a_.createElement(n2,Object.assign({},e)):e.footer,children:s},a_.createElement(W$,Object.assign({prefixCls:d,className:QJ(p,`${d}-pure-panel`,a&&f,a&&`${f}-${a}`,n)},l,{closeIcon:hu(d,r),closable:o},m))};const a8=o8;let i8=null,s8=e=>e(),l8=[],c8={};const u8=a_.forwardRef(((e,t)=>{const[n,r]=a_.useState(),[o,a]=a_.useState(),[i,s]=a_.useState(),[l,c]=a_.useState(),[u,d]=a_.useState(),[p,f]=a_.useState(),[m,g]=Du({prefixCls:n,getContainer:()=>o,maxCount:i,rtl:l,top:u,bottom:p}),h=VZ(),b=h.getRootPrefixCls(),y=h.getIconPrefixCls(),_=h.getTheme(),v=()=>{const{prefixCls:e,container:t,maxCount:n,rtl:o,top:i,bottom:l}=function(){const{prefixCls:e,getContainer:t,rtl:n,maxCount:r,top:o,bottom:a}=c8;return{prefixCls:null!=e?e:VZ().getPrefixCls("notification"),container:(null==t?void 0:t())||document.body,rtl:n,maxCount:r,top:o,bottom:a}}();r(e),a(t),s(n),c(o),d(i),f(l)};return a_.useEffect(v,[]),a_.useImperativeHandle(t,(()=>{const e=Object.assign({},m);return Object.keys(e).forEach((t=>{e[t]=function(){return v(),m[t].apply(m,arguments)}})),{instance:e,sync:v}})),a_.createElement(XZ,{prefixCls:b,iconPrefixCls:y,theme:_},g)})),d8={open:zp,destroy:function(e){l8.push({type:"destroy",key:e}),Lp()},config:function(e){c8=Object.assign(Object.assign({},c8),e),s8((()=>{var e;null===(e=null==i8?void 0:i8.sync)||void 0===e||e.call(i8)}))},useNotification:Ou,_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,icon:r,type:o,message:a,description:i,btn:s,closable:l=!0,closeIcon:c}=e,u=NP(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:d}=a_.useContext(xZ),p=t||d("notification"),f=`${p}-notice`,[,m]=a5(p);return a_.createElement(_$,Object.assign({},u,{prefixCls:p,className:QJ(n,m,`${f}-pure-panel`),eventKey:"pure",duration:null,closable:l,closeIcon:Eu(p,c),content:a_.createElement(s5,{prefixCls:f,icon:r,type:o,message:a,description:i,btn:s})}))}},p8=d8;["success","info","warning","error"].forEach((e=>{p8[e]=t=>zp(Object.assign(Object.assign({},t),{type:e}))}));const f8=p8;sA=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},lA=function(e){return void 0!==e?"".concat(e,"px"):void 0},cA=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],uA=function(e){var t=e.prefixCls,n=e.disabled,r=e.checked,o=e.label,a=e.title,i=e.value,s=e.onChange;return a_.createElement("label",{className:QJ(e.className,Ca({},"".concat(t,"-item-disabled"),n))},a_.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:n,checked:r,onChange:function(e){n||s(e,i)}}),a_.createElement("div",{className:"".concat(t,"-item-label"),title:a},o))},dA=a_.forwardRef((function(e,t){var n,r,o=e.prefixCls,a=void 0===o?"rc-segmented":o,i=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=Ea(e,cA),b=a_.useRef(null),y=a_.useMemo((function(){return Bs(b,t)}),[b,t]),_=a_.useMemo((function(){return function(e){return e.map((function(e){if("object"===xa(e)&&null!==e){var t=function(e){return void 0!==e.title?e.title:"object"!==xa(e.label)?null===(t=e.label)||void 0===t?void 0:t.toString():void 0;var t}(e);return Si(Si({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}}))}(s)}),[s]),v=qi(Al(null===(n=_[0])||void 0===n?void 0:n.value,{value:u,defaultValue:c}),2),w=v[0],k=v[1],x=qi(a_.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 a_.createElement("div",fi({},D,{className:QJ(a,(r={},Ca(r,"".concat(a,"-rtl"),"rtl"===i),Ca(r,"".concat(a,"-disabled"),l),r),f),ref:y}),a_.createElement("div",{className:"".concat(a,"-group")},a_.createElement(Bp,{prefixCls:a,value:w,containerRef:b,motionName:"".concat(a,"-").concat(g),direction:i,getValueIndex:function(e){return _.findIndex((function(t){return t.value===e}))},onMotionStart:function(){C(!0)},onMotionEnd:function(){C(!1)}}),_.map((function(e){return a_.createElement(uA,fi({},e,{key:e.value,prefixCls:a,className:QJ(e.className,"".concat(a,"-item"),Ca({},"".concat(a,"-item-selected"),e.value===w&&!S)),checked:e.value===w,onChange:E,disabled:!!l||!!e.disabled}))}))))})),dA.displayName="Segmented",dA.defaultProps={options:[]};const m8=Object.assign({overflow:"hidden"},CZ),g8=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},EZ(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`},m8),"&-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"}})}},h8=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[g8(o)]}),(e=>{const{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:o,colorFill:a}=e;return{itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:o,itemActiveBg:a}}));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,block:a,options:i=[],size:s="middle",style:l}=e,c=pA(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:u,direction:d,segmented:p}=a_.useContext(xZ),f=u("segmented",n),[m,g]=h8(f),h=j0(s),b=a_.useMemo((()=>i.map((e=>{if(function(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}(e)){const{icon:t,label:n}=e,r=pA(e,["icon","label"]);return Object.assign(Object.assign({},r),{label:a_.createElement(a_.Fragment,null,a_.createElement("span",{className:`${f}-item-icon`},t),n&&a_.createElement("span",null,n))})}return e}))),[i,f]),y=QJ(r,o,null==p?void 0:p.className,{[`${f}-block`]:a,[`${f}-sm`]:"small"===h,[`${f}-lg`]:"large"===h},g),_=Object.assign(Object.assign({},null==p?void 0:p.style),l);return m(a_.createElement(dA,Object.assign({},c,{className:y,style:_,options:b,ref:t,prefixCls:f,direction:d})))}));fA=a_.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"],gA=a_.forwardRef((function(e,t){var n,r,o=e.prefixCls,a=e.value,i=e.valueIndex,s=e.onStartMove,l=e.style,c=e.render,u=e.dragging,d=e.onOffsetChange,p=Ea(e,mA),f=a_.useContext(fA),m=f.min,g=f.max,h=f.direction,b=f.disabled,y=f.keyboard,_=f.range,v=f.tabIndex,w=f.ariaLabelForHandle,k=f.ariaLabelledByForHandle,x=f.ariaValueTextFormatterForHandle,S="".concat(o,"-handle"),C=function(e){b||s(e,i)},E=qp(h,a,m,g),D=a_.createElement("div",fi({ref:t,className:QJ(S,(n={},Ca(n,"".concat(S,"-").concat(i+1),_),Ca(n,"".concat(S,"-dragging"),u),n)),style:Si(Si({},E),l),onMouseDown:C,onTouchStart:C,onKeyDown:function(e){if(!b&&y){var t=null;switch(e.which||e.keyCode){case y$.LEFT:t="ltr"===h||"btt"===h?-1:1;break;case y$.RIGHT:t="ltr"===h||"btt"===h?1:-1;break;case y$.UP:t="ttb"!==h?1:-1;break;case y$.DOWN:t="ttb"!==h?-1:1;break;case y$.HOME:t="min";break;case y$.END:t="max";break;case y$.PAGE_UP:t=2;break;case y$.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),d(t,i))}},tabIndex:b?null:Vp(v,i),role:"slider","aria-valuemin":m,"aria-valuemax":g,"aria-valuenow":a,"aria-disabled":b,"aria-label":Vp(w,i),"aria-labelledby":Vp(k,i),"aria-valuetext":null===(r=Vp(x,i))||void 0===r?void 0:r(a)},p));return c&&(D=c(D,{index:i,prefixCls:o,value:a,dragging:u})),D})),hA=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],bA=a_.forwardRef((function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,a=e.onOffsetChange,i=e.values,s=e.handleRender,l=e.draggingIndex,c=Ea(e,hA),u=a_.useRef({});return a_.useImperativeHandle(t,(function(){return{focus:function(e){var t;null===(t=u.current[e])||void 0===t||t.focus()}}})),a_.createElement(a_.Fragment,null,i.map((function(e,t){return a_.createElement(gA,fi({ref:function(e){e?u.current[t]=e:delete u.current[t]},dragging:l===t,prefixCls:n,style:Vp(r,t),key:t,value:e,valueIndex:t,onStartMove:o,onOffsetChange:a,render:s},c))})))})),yA=a_.forwardRef((function(e,t){var n,r,o,a,i,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,j=e.disabled,$=void 0!==j&&j,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,q=e.count,V=e.onChange,G=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,ae=e.trackStyle,ie=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=a_.useRef(),_e=a_.useRef(),ve=a_.useMemo((function(){return te?ee?"ttb":"btt":ee?"rtl":"ltr"}),[ee,te]),we=a_.useMemo((function(){return isFinite(F)?F:0}),[F]),ke=a_.useMemo((function(){return isFinite(L)?L:100}),[L]),xe=a_.useMemo((function(){return null!==B&&B<=0?1:B}),[B]),Se=a_.useMemo((function(){return!0===J?xe:J>=0&&J}),[J,xe]),Ce=a_.useMemo((function(){return Object.keys(ue||{}).map((function(e){var t=ue[e],n={value:Number(e)};return t&&"object"===xa(t)&&!a_.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,a){var i=a_.useCallback((function(n){var r=isFinite(n);return r=Math.min(t,n),Math.max(e,r)}),[e,t]),s=a_.useCallback((function(r){var o,a,s,l;return null!==n?(o=e+Math.round((i(r)-e)/n)*n,a=function(e){return(String(e).split(".")[1]||"").length},s=Math.max(a(n),a(t),a(e)),l=Number(o.toFixed(s)),e<=l&&l<=t?l:null):null}),[n,e,t,i]),l=a_.useCallback((function(o){var a,l,c=i(o),u=r.map((function(e){return e.value}));return null!==n&&u.push(s(o)),u.push(e,t),a=u[0],l=t-e,u.forEach((function(e){var t=Math.abs(c-e);t<=l&&(a=e,l=t)})),a}),[e,t,r,n,i,s]),c=function o(a,i,l,c){var u,d,p,f,m,g,h,b,y=arguments.length>3&&void 0!==c?c:"unit";return"number"==typeof i?(p=(d=a[l])+i,f=[],r.forEach((function(e){f.push(e.value)})),f.push(e,t),f.push(s(d)),m=i>0?1:-1,f.push(s("unit"===y?d+m*n:p)),f=f.filter((function(e){return null!==e})).filter((function(e){return i<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=ki(a))[l]=u,o(b,i-m,l,y)):u):"min"===i?e:"max"===i?t:void 0},u=function(e,t,n,r){var o=e[n],a=c(e,t,n,arguments.length>3&&void 0!==r?r:"unit");return{value:a,changed:a!==o}},d=function(e){return null===a&&0===e||"number"==typeof a&&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)i=a||0,n>0&&S[n-1]!==C&&(S[n]=Math.max(S[n],S[n-1]+i)),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;)_=u(S,-1,b-1),S[b-1]=_.value,y=_.changed;for(v=0;v=0?q+1:2);o.length=0&&ye.current.focus(e)}c(null)}),[l=s[0]]),d=a_.useMemo((function(){return(!Z||null!==xe)&&Z}),[Z,xe]),p=function(e,t,n,o,a,i,s,l,c){var u,d,p,f,m,g=qi(a_.useState(null),2),h=g[0],b=g[1],y=qi(a_.useState(-1),2),_=y[0],v=y[1],w=qi(a_.useState(n),2),k=w[0],x=w[1],S=qi(a_.useState(n),2),C=S[0],E=S[1],D=a_.useRef(null),O=a_.useRef(null);return a_.useEffect((function(){-1===_&&x(n)}),[n,_]),a_.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=a_.useRef(d=function(e,t){var n,r,s,l,d,p,f,m;-1===e?(n=C[0],r=a-C[C.length-1],s=t*(a-o),s=Math.max(s,o-n),s=Math.min(s,r),l=i(n+s),s=l-n,d=C.map((function(e){return e+s})),u(d)):(p=(a-o)*t,(f=ki(k))[e]=C[e],m=c(f,p,e,"dist"),u(m.values,m.value))})).current=d,f=function(o,a){var i,s,l,c,u,d;o.stopPropagation(),i=n[a],v(a),b(i),E(n),s=Gp(o),l=s.pageX,c=s.pageY,u=function(n){var r,o,i,s,u,d,f;switch(n.preventDefault(),o=(r=Gp(n)).pageX-l,i=r.pageY-c,u=(s=e.current.getBoundingClientRect()).width,d=s.height,t){case"btt":f=-i/d;break;case"ttb":f=i/d;break;case"rtl":f=-o/u;break;default:f=o/u}p.current(a,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,v(-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=a_.useMemo((function(){var e=ki(n).sort((function(e,t){return e-t})),t=ki(k).sort((function(e,t){return e-t}));return e.every((function(e,n){return e===t[n]}))?k:n}),[n,k]),[_,h,m,f]}(_e,ve,Te,we,ke,Oe,o,0,je),f=qi(p,4),g=f[1],h=f[2],b=f[3],y=function(e,t){b(e,t),null==G||G(r(Ie.current))},a_.useEffect((function(){if(!_){var e=Te.lastIndexOf(g);ye.current.focus(e)}}),[_=-1!==(m=f[0])]),v=a_.useMemo((function(){return ki(h).sort((function(e,t){return e-t}))}),[h]),w=qi(a_.useMemo((function(){return W?[v[0],v[v.length-1]]:[we,v[0]]}),[v,W,we]),2),k=w[0],x=w[1],a_.useImperativeHandle(t,(function(){return{focus:function(){ye.current.focus(0)},blur:function(){var e=document.activeElement;_e.current.contains(e)&&(null==e||e.blur())}}})),a_.useEffect((function(){T&&ye.current.focus(0)}),[]),S=a_.useMemo((function(){return{min:we,max:ke,direction:ve,disabled:$,keyboard:N,step:xe,included:re,includedStart:k,includedEnd:x,range:W,tabIndex:me,ariaLabelForHandle:ge,ariaLabelledByForHandle:he,ariaValueTextFormatterForHandle:be}}),[we,ke,ve,$,N,xe,re,k,x,W,me,ge,he,be]),a_.createElement(fA.Provider,{value:S},a_.createElement("div",{ref:_e,className:QJ(E,D,(n={},Ca(n,"".concat(E,"-disabled"),$),Ca(n,"".concat(E,"-vertical"),te),Ca(n,"".concat(E,"-horizontal"),!te),Ca(n,"".concat(E,"-with-marks"),Ce.length),n)),style:O,onMouseDown:i},a_.createElement("div",{className:"".concat(E,"-rail"),style:se}),a_.createElement(Kp,{prefixCls:E,style:ae,values:v,startPoint:oe,onStartMove:d?y:null}),a_.createElement(Zp,{prefixCls:E,marks:Ce,dots:de,style:le,activeStyle:ce}),a_.createElement(bA,{ref:ye,prefixCls:E,style:ie,values:h,draggingIndex:m,onStartMove:y,onOffsetChange:u,onFocus:I,onBlur:A,handleRender:pe}),a_.createElement(Qp,{prefixCls:E,marks:Ce,onClick:a})))}));const y8=a_.forwardRef(((e,t)=>{function n(){cj.cancel(a.current),a.current=null}const{open:r}=e,o=a_.useRef(null),a=a_.useRef(null);return a_.useEffect((()=>(r?a.current=cj((()=>{var e;null===(e=o.current)||void 0===e||e.forceAlign(),a.current=null})):n(),n)),[r,e.title]),a_.createElement(c4,Object.assign({ref:Bs(o,t)},e))})),_8=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:o,marginFull:a,marginPart:i,colorFillContentHover:s}=e;return{[t]:Object.assign(Object.assign({},EZ(e)),{position:"relative",height:r,margin:`${i}px ${a}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${a}px ${i}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 hj(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"}})}},v8=(e,t)=>{const{componentCls:n,railSize:r,handleSize:o,dotSize:a}=e,i=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`]:{[i]:"100%",[s]:r},[`${n}-track`]:{[s]:r},[`${n}-handle`]:{[l]:(3*r-o)/2},[`${n}-mark`]:{insetInlineStart:0,top:0,[c]:o,[i]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[c]:r,[i]:"100%",[s]:r},[`${n}-dot`]:{position:"absolute",[l]:(r-a)/2}}},w8=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},v8(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},k8=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},v8(e,!1)),{height:"100%"})}},x8=Ml("Slider",(e=>{const t=Rl(e,{marginPart:(e.controlHeight-e.controlSize)/2,marginFull:e.controlSize/2,marginPartWithMark:e.controlHeightLG-e.controlSize});return[_8(t),w8(t),k8(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}}));_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"number"==typeof e?e.toString():"",C8=gJ.forwardRef(((e,t)=>{const{prefixCls:n,range:r,className:o,rootClassName:a,style:i,disabled:s,tooltipPrefixCls:l,tipFormatter:c,tooltipVisible:u,getTooltipPopupContainer:d,tooltipPlacement:p}=e,f=_A(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:m,slider:g,getPrefixCls:h,getPopupContainer:b}=gJ.useContext(xZ),y=gJ.useContext(RZ),_=null!=s?s:y,[v,w]=gJ.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]=x8(S),D=QJ(o,null==g?void 0:g.className,a,{[`${S}-rtl`]:"rtl"===m},E);"rtl"!==m||f.vertical||(f.reverse=!f.reverse);const[O,j]=gJ.useMemo((()=>r?"object"==typeof r?[!0,r.draggableTrack]:[!0,!1]:[!1]),[r]),$=Object.assign(Object.assign({},null==g?void 0:g.style),i);return C(gJ.createElement(yA,Object.assign({},f,{step:f.step,range:O,draggableTrack:j,className:D,style:$,disabled:_,ref:t,prefixCls:S,handleRender:(t,n)=>{var r;const{index:o,dragging:a}=n,{tooltip:i={},vertical:s}=e,f=Object.assign({},i),{open:m,placement:g,getPopupContainer:y,prefixCls:_,formatter:w}=f;let C;C=w||null===w?w:c||null===c?c:S8;const E=null!==(r=null!=m?m:u)&&void 0!==r?r:void 0===m&&!!C&&(v[o]||a),D=Object.assign(Object.assign({},t.props),{onMouseEnter:()=>k(o,!0),onMouseLeave:()=>k(o,!1)}),O=h("tooltip",null!=_?_:l);return gJ.createElement(y8,{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},gJ.cloneElement(t,D))}})))}));vA=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],wA=a_.forwardRef((function(e,t){function n(e,t){var n=y;return c||(_(n=e),null==m||m(n,t)),n}var r,o=e.prefixCls,a=void 0===o?"rc-switch":o,i=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=Ea(e,vA),b=qi(Al(!1,{value:s,defaultValue:l}),2),y=b[0],_=b[1],v=QJ(a,i,(Ca(r={},"".concat(a,"-checked"),y),Ca(r,"".concat(a,"-disabled"),c),r));return a_.createElement("button",fi({},h,{type:"button",role:"switch","aria-checked":y,disabled:c,className:v,ref:t,onKeyDown:function(e){e.which===y$.LEFT?n(!1,e):e.which===y$.RIGHT&&n(!0,e),null==g||g(e)},onClick:function(e){var t=n(!y,e);null==f||f(t,e)}}),u,a_.createElement("span",{className:"".concat(a,"-inner")},a_.createElement("span",{className:"".concat(a,"-inner-checked")},d),a_.createElement("span",{className:"".concat(a,"-inner-unchecked")},p)))})),wA.displayName="Switch";const E8=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}}}}}}},D8=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}}}},O8=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}}:{}}}},j8=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}}}}}},$8=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},EZ(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}}),$Z(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"}})}},P8=Ml("Switch",(e=>{const t=e.fontSize*e.lineHeight,n=e.controlHeight/2,r=t-4,o=n-4,a=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 hj("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:.75*e.fontSizeIcon,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[$8(a),j8(a),O8(a),D8(a),E8(a)]}));kA=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:a,className:i,rootClassName:s,style:l}=e,c=kA(e,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:u,direction:d,switch:p}=a_.useContext(xZ),f=a_.useContext(RZ),m=(null!=o?o:f)||a,g=u("switch",n),h=a_.createElement("div",{className:`${g}-handle`},a&&a_.createElement(h0,{className:`${g}-loading-icon`})),[b,y]=P8(g),_=j0(r),v=QJ(null==p?void 0:p.className,{[`${g}-small`]:"small"===_,[`${g}-loading`]:a,[`${g}-rtl`]:"rtl"===d},i,s,y),w=Object.assign(Object.assign({},null==p?void 0:p.style),l);return b(a_.createElement(O0,null,a_.createElement(wA,Object.assign({},c,{prefixCls:g,className:v,style:w,disabled:m,ref:t,loadingIcon:h}))))}));N8.__ANT_SWITCH=!0;const T8=N8,I8=(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"}}}},A8=e=>Ll(e,((t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:a,darkColor:i}=n;return{[`${e.componentCls}-${t}`]:{color:r,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})),R8=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o}=e,a=r-n,i=t-n;return{[o]:Object.assign(Object.assign({},EZ(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,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:i,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:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},F8=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[R8(o),A8(o),I8(o,"success","Success"),I8(o,"processing","Info"),I8(o,"error","Error"),I8(o,"warning","Warning")]}),(e=>({defaultBg:e.colorFillQuaternary,defaultColor:e.colorText})));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{prefixCls:n,className:r,rootClassName:o,style:a,children:i,icon:s,color:l,onClose:c,closeIcon:u,closable:d,bordered:p=!0}=e,f=SA(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:m,direction:g,tag:h}=a_.useContext(xZ),[b,y]=a_.useState(!0);a_.useEffect((()=>{"visible"in f&&y(f.visible)}),[f.visible]);const _=yd(l)||function(e){return i4.includes(e)}(l),v=Object.assign(Object.assign({backgroundColor:l&&!_?l:void 0},null==h?void 0:h.style),a),w=m("tag",n),[k,x]=F8(w),S=QJ(w,null==h?void 0:h.className,{[`${w}-${l}`]:_,[`${w}-has-color`]:l&&!_,[`${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?a_.createElement(n0,{className:`${w}-close-icon`,onClick:C}):a_.createElement("span",{className:`${w}-close-icon`,onClick:C},e)),null,!1),D="function"==typeof f.onClick||i&&"a"===i.type,O=s||null,j=O?a_.createElement(a_.Fragment,null,O,i&&a_.createElement("span",null,i)):i,$=a_.createElement("span",Object.assign({},f,{ref:t,className:S,style:v}),j,E);return k(D?a_.createElement(O0,null,$):$)},L8=a_.forwardRef(M8);L8.CheckableTag=e=>{const{prefixCls:t,className:n,checked:r,onChange:o,onClick:a}=e,i=xA(e,["prefixCls","className","checked","onChange","onClick"]),{getPrefixCls:s}=a_.useContext(xZ),l=s("tag",t),[c,u]=F8(l),d=QJ(l,`${l}-checkable`,{[`${l}-checkable-checked`]:r},n,u);return c(a_.createElement("span",Object.assign({},i,{className:d,onClick:e=>{null==o||o(!r),null==a||a(e)}})))};const z8=L8;CA=function(){return n4.useToken().token},OA=a_.createContext({appearance:"light",setAppearance:function(){},isDarkMode:!1,themeMode:"light",setThemeMode:function(){},browserPrefers:null!==(DA=(EA=function(e){return"undefined"!=typeof window?matchMedia&&matchMedia("(prefers-color-scheme: ".concat(e,")")):{matches:!1}})("dark"))&&void 0!==DA&&DA.matches?"dark":"light"}),jA=function(){return a_.useContext(OA)},$A=function(){var e=CA(),t=jA(),n=t.appearance,r=t.isDarkMode;return a_.useMemo((function(){return NO(PO({token:e,css:FE,appearance:n,isDarkMode:r}))}),[e,n,r])},PA=function(){var e=CA(),t=$A();return a_.useMemo((function(){return nf(nf({},e),{},{stylish:t})}),[e,t])},NA=function(e){return of(of({},e),{},{mobile:e.xs,tablet:e.md,laptop:e.lg,desktop:e.xxl})},TA=function(){var e=function(e){let t=!(arguments.length>0&&void 0!==e)||e;const n=a_.useRef({}),r=function(){const[,e]=a_.useReducer((e=>e+1),0);return e}(),o=fd();return a_.useEffect((()=>{const e=o.subscribe((e=>{n.current=e,t&&r()}));return()=>o.unsubscribe(e)}),[]),n.current}();return a_.useMemo((function(){return NA(e)}),[e])},IA=function(){var e=CA(),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 a_.useMemo((function(){return NA(t)}),[e])},AA=function(e,t){return Object.entries(e).map((function(e){var n=qi(e,2),r=n[0],o=n[1],a=o;return PE(o)||(a=FE(o)),t[r]?"".concat(t[r]," {").concat(a.styles,"}"):""})).join("")},RA=["stylish","appearance","isDarkMode","prefixCls"],FA=["prefixCls"],MA=function(e){var t=e.hashPriority,n=e.useTheme,r=e.EmotionContext;return function(e,o){var a=null==o?void 0:o.__BABEL_FILE_NAME__,i=!!a;return function(s){var l=n(),c=a_.useContext(r),u=RE(c.cache,{hashPriority:(null==o?void 0:o.hashPriority)||t,label:null==o?void 0:o.label}),d=u.cx,p=u.css,f=IA(),m=a_.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=Ea(l,RA),m=function(e){return AA(e,f)},Object.assign(m,f),t=e({token:u,stylish:n,appearance:r,isDarkMode:o,prefixCls:c,cx:d,css:FE,responsive:m},s)):t=e,"object"===xa(t)&&(t=PE(t)?p(t):Object.fromEntries(Object.entries(t).map((function(e){var t=qi(e,2),n=t[0],r=t[1],o=i?"".concat(a,"-").concat(n):void 0;return"object"===xa(r)?i?[n,p(r,"label:".concat(o))]:[n,p(r)]:[n,r]})))),t}),[s,l]);return a_.useMemo((function(){var e=l.prefixCls,t=Ea(l,FA);return{styles:m,cx:d,theme:t,prefixCls:e}}),[m,l])}}},LA=function(e){if(e.ThemeProvider)return e.ThemeProvider;var t=e.ThemeContext;return function(e){return p_.jsx(t.Provider,{value:e.theme,children:e.children})}},zA=SD,BA=wD,HA=function(e){if(!e.ThemeContext)throw"ThemeContext is required. Please check your config.";BA=e.ThemeContext,zA=LA(e)};const B8=a_.memo((function(e){var t,n=e.children,r=e.theme,o=e.prefixCls,a=e.getStaticInstance,i=e.staticInstanceConfig,s=jA(),l=s.appearance,c=s.isDarkMode,u=qi(r8.useMessage(null==i?void 0:i.message),2),d=u[0],p=u[1],f=qi(f8.useNotification(null==i?void 0:i.notification),2),m=f[0],g=f[1],h=qi(a8.useModal(),2),b=h[0],y=h[1];return a_.useEffect((function(){null==a||a({message:d,modal:b,notification:m})}),[]),t=a_.useMemo((function(){var e,t=c?n4.darkAlgorithm:n4.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(ki(e)):t})):{algorithm:t}}),[r,c]),p_.jsxs(XZ,{prefixCls:o,theme:t,children:[p,g,y,n]})}));UA=function(e){"function"==typeof a_.startTransition?a_.startTransition(e):e()},qA=function(e){var t=e.themeMode,n=e.setAppearance,r=e.setBrowserPrefers,o=function(){EA("dark").matches?n("dark"):n("light")},a=function(){EA("dark").matches?r("dark"):r("light")};return a_.useLayoutEffect((function(){if("auto"===t)return setTimeout(o,1),WA||(WA=EA("dark")),WA.addEventListener("change",o),function(){WA.removeEventListener("change",o)};UA((function(){n(t)}))}),[t]),a_.useLayoutEffect((function(){return WA||(WA=EA("dark")),WA.addEventListener("change",a),function(){WA.removeEventListener("change",a)}}),[]),null};const H8=a_.memo((function(e){var t,n=e.children,r=e.appearance,o=e.defaultAppearance,a=e.onAppearanceChange,i=e.themeMode,s=e.defaultThemeMode,l=e.onThemeModeChange,c=(0,e.useTheme)(),u=c.appearance,d=qi(cf("light",{value:i,defaultValue:null!=s?s:c.themeMode,onChange:function(e){return null==l?void 0:l(e)}}),2),p=d[0],f=d[1],m=qi(cf("light",{value:r,defaultValue:null!=o?o:u,onChange:function(e){return null==a?void 0:a(e)}}),2),g=m[0],h=m[1],b=qi(a_.useState(null!==(t=EA("dark"))&&void 0!==t&&t.matches?"dark":"light"),2),y=b[0],_=b[1],v=qi(a_.useState(!1),2),w=v[0],k=v[1];return a_.useEffect((function(){UA((function(){k(!0)}))}),[]),p_.jsxs(OA.Provider,{value:{themeMode:p,setThemeMode:f,appearance:g,setAppearance:h,isDarkMode:"dark"===g,browserPrefers:y},children:[w&&p_.jsx(qA,{themeMode:p,setAppearance:h,setBrowserPrefers:_}),n]})}));VA=["stylish"];const U8=function(e){var t=e.children,n=e.customToken,r=e.defaultCustomToken,o=e.customStylish,a=e.prefixCls,i=void 0===a?"ant":a,s=e.StyledThemeProvider,l=jA(),c=l.appearance,u=l.isDarkMode,d=PA(),p=d.stylish,f=Ea(d,VA),m=a_.useMemo((function(){return r?r instanceof Function?r({token:f,appearance:c,isDarkMode:u}):r:{}}),[r,f,c]),g=a_.useMemo((function(){return df(df({},m),n instanceof Function?n({token:f,appearance:c,isDarkMode:u}):n)}),[m,n,f,c]),h=a_.useMemo((function(){return o?o({token:df(df({},f),g),stylish:p,appearance:c,isDarkMode:u,css:FE}):{}}),[o,f,g,p,c]),b=a_.useMemo((function(){return df(df({},h),p)}),[h,p]),y=df(df(df(df({},f),g),{},{stylish:b},l),{},{prefixCls:i});return p_.jsx(s,{theme:y,children:t})};GA=function(e){var t=e.styledConfig?LA(e.styledConfig):void 0,n=e.StyleEngineContext;return a_.memo((function(r){var o=r.children,a=r.customToken,i=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=a_.useContext(n),_=y.prefixCls,v=y.StyledThemeContext,w=y.CustomThemeContext,k=a_.useContext(w),x=b?LA(b):t||zA,S=c||_;return p_.jsx(n.Provider,{value:{prefixCls:S,StyledThemeContext:(null==b?void 0:b.ThemeContext)||v||BA,CustomThemeContext:w},children:p_.jsx(H8,{themeMode:m,defaultThemeMode:g,onThemeModeChange:h,defaultAppearance:p,appearance:d,onAppearanceChange:f,useTheme:e.useTheme,children:p_.jsx(B8,{prefixCls:S,staticInstanceConfig:u,theme:s,getStaticInstance:l,children:p_.jsx(U8,{prefixCls:S,customToken:a,defaultCustomToken:k,customStylish:i,StyledThemeProvider:x,children:o})})})})}))},XA=function(e){return function(){var t=a_.useContext(e.StyleEngineContext),n=t.StyledThemeContext,r=t.CustomThemeContext,o=t.prefixCls,a=PA(),i=jA(),s=a_.useContext(r),l=a_.useContext(null!=n?n:BA)||{},c=a_.useMemo((function(){return ff(ff(ff(ff({},a),i),s),{},{prefixCls:o||"ant"})}),[a,i,o,s]);return l&&0!==Object.keys(l).length?l:c}},KA=new DE,"undefined"!=typeof global&&(global.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__=KA),JA=(PQ={key:"acss",speedy:!1},UQ=gf(gf({},PQ),{},{key:null!==(NQ=PQ.key)&&void 0!==NQ?NQ:"zcss",speedy:null!==(TQ=PQ.speedy)&&void 0!==TQ&&TQ}),WQ=wE({key:UQ.key,speedy:UQ.speedy,container:UQ.container}),qQ=ME(WQ),VQ=$O(qQ),WQ.cache=KA.add(WQ.cache),AQ=null===(IQ=UQ.styled)||void 0===IQ?void 0:IQ.ThemeContext,FQ=XA({StyleEngineContext:RQ=a_.createContext({CustomThemeContext:a_.createContext(UQ.customToken?UQ.customToken:{}),StyledThemeContext:AQ,prefixCls:null==UQ?void 0:UQ.prefixCls})}),MQ=MA({hashPriority:UQ.hashPriority,useTheme:FQ,EmotionContext:qQ}),LQ=ED(FQ),zQ=DD(MQ),BQ=GA({styledConfig:UQ.styled,StyleEngineContext:RQ,useTheme:FQ}),HQ=RE(WQ.cache,{hashPriority:UQ.hashPriority}),YA={createStyles:MQ,createGlobalStyle:LQ,createStylish:zQ,css:FE,cx:HQ.cx,keyframes:WQ.keyframes,injectGlobal:WQ.injectGlobal,styleManager:WQ,useTheme:FQ,StyleProvider:VQ,ThemeProvider:BQ}).createGlobalStyle,ZA=YA.css,eR=YA.cx,tR=YA.keyframes,nR=YA.ThemeProvider,rR=YA.StyleProvider,oR=YA.useTheme,sR=(QA=YA.createStyles)((function(e){var t=e.css,n=tR(aR||(aR=Da(["\n 0% {\n rotate: 0deg;\n }\n 100% {\n rotate: 360deg;\n }\n "])));return{spin:t(iR||(iR=Da(["\n animation: "," 1s linear infinite;\n "])),n)}})),lR=["icon","size","className","spin"],cR=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 W8=a_.memo((function(e){var t=e.icon,n=e.size,r=e.className,o=e.spin,a=Ea(e,lR),i=sR(),s=i.styles,l=i.cx,c=t,u=a_.useMemo((function(){return cR(n)}),[n]),d=u.fontSize,p=u.strokeWidth;return p_.jsx("span",bf(bf({className:l("anticon",o&&s.spin,r),role:"img"},a),{},{children:p_.jsx(c,{focusable:!1,height:d,size:d,strokeWidth:p,width:d})}))}));dR=QA((function(e,t){var n,r,o=e.token,a=e.isDarkMode,i=t.offset,s=(null!==(n=null==i?void 0:i.x)&&void 0!==n?n:0)+"px",l=(null!==(r=null==i?void 0:i.y)&&void 0!==r?r:0)+"px",c=t.outside?"0":".1",u=t.size+"px";return(0,e.css)(uR||(uR=Da(["\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,a?o.colorText:"#fff",a?"transparent":o.colorTextQuaternary)})),pR=["className","size"],fR=function(){var e=qi(a_.useState(),2),t=e[0],n=e[1],r=qi(a_.useState(!0),2),o=r[0],a=r[1],i=a_.useRef();return a_.useEffect((function(){var e,t,r;if(i.current&&i.current.parentElement)return t=function(t){var r=e.getBoundingClientRect();n({x:t.clientX-r.x,y:t.clientY-r.y}),a(!1)},r=function(){a(!0)},(e=i.current.parentElement).addEventListener("mousemove",t),e.addEventListener("mouseleave",r),function(){e.removeEventListener("mousemove",t),e.removeEventListener("mouseleave",r)}}),[]),[t,o,i]};const q8=a_.memo((function(e){var t=e.className,n=e.size,r=void 0===n?64:n,o=Ea(e,pR),a=qi(fR(),3),i=a[2],s=dR({offset:a[0],outside:a[1],size:r});return p_.jsx("div",function(e){var t,n;for(t=1;ta?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0,r=Array(a);++o .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)}})),eM=["items","openKeys","selectedKeys","opened","setOpened","className","headerHeight"];const o7=a_.memo((function(e){var t=e.items,n=e.openKeys,r=e.selectedKeys,o=e.opened,a=e.setOpened,i=e.className,s=e.headerHeight,l=void 0===s?64:s,c=Ea(e,eM),u=ZF(l),d=u.styles;return p_.jsxs(r7,tm(tm({className:(0,u.cx)(d.container,i),onClick:function(){a(!o)}},c),{},{children:[p_.jsx(G8,{icon:o?qJ:IJ,size:"site"}),p_.jsxs(y6,{bodyStyle:{padding:0},className:d.drawer,closeIcon:void 0,headerStyle:{display:"none"},open:o,placement:"left",rootClassName:d.drawerRoot,width:"100vw",children:[p_.jsx(j4,{className:d.menu,items:t,mode:"inline",openKeys:n,selectedKeys:r}),p_.jsx("div",{className:d.fillRect})]})]}))}));tM=function(){return tM=Object.assign||function(e){var t,n,r,o;for(n=1,r=arguments.length;n-1},AM=function(e,t){var n=this.__data__,r=PM(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},sm.prototype.clear=function(){this.__data__=[],this.size=0},sm.prototype.delete=NM,sm.prototype.get=TM,sm.prototype.has=IM,sm.prototype.set=AM,FM=RM=sm,MM=function(){this.__data__=new FM,this.size=0},LM=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},zM=function(e){return this.__data__.get(e)},BM=function(e){return this.__data__.has(e)},HM=_M,UM=oM,WM=function(e){if(!UM(e))return!1;var t=HM(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},mQ=/[^.]+$/.exec((qM=sM["__core-js_shared__"])&&qM.keys&&qM.keys.IE_PROTO||""),VM=mQ?"Symbol(src)_1."+mQ:"",GM=Function.prototype.toString,KM=WM,YM=function(e){return!!VM&&VM in e},QM=oM,JM=XM=function(e){if(null!=e){try{return GM.call(e)}catch(kQ){}try{return e+""}catch(kQ){}}return""},ZM=/[\\^$.*+?()[\]{}|]/g,eL=/^\[object .+?Constructor\]$/,tL=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(ZM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nL=function(e,t){return null==e?void 0:e[t]},rL=function(e){return!(!QM(e)||YM(e))&&(KM(e)?tL:eL).test(JM(e))},oL=nL,aL=function(e,t){var n=oL(e,t);return rL(n)?n:void 0},iL=aL(sM,"Map"),sL=aL(Object,"create"),cL=lL=sL,uL=lL,dL=Object.prototype.hasOwnProperty,pL=lL,fL=Object.prototype.hasOwnProperty,mL=lL,gL=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},hL=function(e){var t,n=this.__data__;return uL?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:dL.call(n,e)?n[e]:void 0},bL=function(e){var t=this.__data__;return pL?void 0!==t[e]:fL.call(t,e)},yL=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=mL&&void 0===t?"__lodash_hash_undefined__":t,this},lm.prototype.clear=function(){this.__data__=cL?cL(null):{},this.size=0},lm.prototype.delete=gL,lm.prototype.get=hL,lm.prototype.has=bL,lm.prototype.set=yL,_L=lm,vL=RM,wL=iL,kL=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},SL=xL=function(e,t){var n=e.__data__;return kL(t)?n["string"==typeof t?"string":"hash"]:n.map},CL=xL,EL=xL,DL=xL,OL=function(e){var t=SL(this,e).delete(e);return this.size-=t?1:0,t},jL=function(e){return CL(this,e).get(e)},$L=function(e){return EL(this,e).has(e)},PL=function(e,t){var n=DL(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},cm.prototype.clear=function(){this.size=0,this.__data__={hash:new _L,map:new(wL||vL),string:new _L}},cm.prototype.delete=OL,cm.prototype.get=jL,cm.prototype.has=$L,cm.prototype.set=PL,TL=RM,IL=iL,AL=NL=cm,RL=RM,FL=LM,ML=zM,LL=BM,zL=function(e,t){var n,r=this.__data__;if(r instanceof TL){if(n=r.__data__,!IL||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new AL(n)}return r.set(e,t),this.size=r.size,this},um.prototype.clear=MM,um.prototype.delete=FL,um.prototype.get=ML,um.prototype.has=LL,um.prototype.set=zL,BL=um,HL=NL,UL=function(e){return this.__data__.has(e)},dm.prototype.add=dm.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},dm.prototype.has=UL,VL=WL=dm,GL=function(e,t){for(var n=-1,r=null==e?0:e.length;++ng))return!1;if(i=a.get(e),s=a.get(t),i&&s)return i==t&&s==e;for(l=-1,c=!0,u=2&n?new VL:void 0,a.set(e,t),a.set(t,e);++l-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},Pz=vM,(Nz={})["[object Float32Array]"]=Nz["[object Float64Array]"]=Nz["[object Int8Array]"]=Nz["[object Int16Array]"]=Nz["[object Int32Array]"]=Nz["[object Uint8Array]"]=Nz["[object Uint8ClampedArray]"]=Nz["[object Uint16Array]"]=Nz["[object Uint32Array]"]=!0,Nz["[object Arguments]"]=Nz["[object Array]"]=Nz["[object ArrayBuffer]"]=Nz["[object Boolean]"]=Nz["[object DataView]"]=Nz["[object Date]"]=Nz["[object Error]"]=Nz["[object Function]"]=Nz["[object Map]"]=Nz["[object Number]"]=Nz["[object Object]"]=Nz["[object RegExp]"]=Nz["[object Set]"]=Nz["[object String]"]=Nz["[object WeakMap]"]=!1,Tz=function(e){return Pz(e)&&$z(e.length)&&!!Nz[jz(e)]},Iz=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&&aM.process,a=function(){try{return r&&r.require&&r.require("util").types||o&&o.binding&&o.binding("util")}catch(kQ){}}();e.exports=a}(Az={exports:{}},Az.exports),Rz=Tz,Lz=(Mz=(Fz=Az.exports)&&Fz.isTypedArray)?Iz(Mz):Rz,Bz=gz,Hz=xz,Uz=iz,Wz=Cz,qz=Dz,Vz=zz=Lz,Gz=Object.prototype.hasOwnProperty,Xz=function(e,t){var n,r=Uz(e),o=!r&&Hz(e),a=!r&&!o&&Wz(e),i=!r&&!o&&!a&&Vz(e),s=r||o||a||i,l=s?Bz(e.length,String):[],c=l.length;for(n in e)!t&&!Gz.call(e,n)||s&&("length"==n||a&&("offset"==n||"parent"==n)||i&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||qz(n,c))||l.push(n);return l},Kz=Object.prototype,Yz=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Kz)},GQ=Object.keys,XQ=Object,Qz=Yz,Jz=function(e){return GQ(XQ(e))},Zz=Object.prototype.hasOwnProperty,eB=function(e){var t,n;if(!Qz(e))return Jz(e);for(n in t=[],Object(e))Zz.call(e,n)&&"constructor"!=n&&t.push(n);return t},tB=WM,nB=Oz,rB=Xz,oB=eB,aB=function(e){return null!=e&&nB(e.length)&&!tB(e)},iB=function(e){return aB(e)?rB(e):oB(e)},sB=cz,lB=mz,cB=iB,uB=function(e){return sB(e,cB,lB)},dB=uB,pB=Object.prototype.hasOwnProperty,fB=function(e,t,n,r,o,a){var i,s,l,c,u,d,p,f,m,g,h,b=1&n,y=dB(e),_=y.length;if(_!=dB(t).length&&!b)return!1;for(i=_;i--;)if(s=y[i],!(b?s in t:pB.call(t,s)))return!1;if(l=a.get(e),c=a.get(t),l&&c)return l==t&&c==e;for(u=!0,a.set(e,t),a.set(t,e),d=b;++i<_;){if(p=e[s=y[i]],f=t[s],r&&(m=b?r(f,p,s,t,e,a):r(p,f,s,e,t,a)),!(void 0===m?p===f||o(p,f,n,r,a):m)){u=!1;break}d||(d="constructor"==s)}return u&&!d&&((g=e.constructor)==(h=t.constructor)||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof h&&h instanceof h||(u=!1)),a.delete(e),a.delete(t),u},mB=aL(sM,"DataView"),bB=iL,yB=aL(sM,"Promise"),_B=gB=aL(sM,"Set"),vB=aL(sM,"WeakMap"),wB=_M,xB="[object Map]",SB="[object Promise]",CB="[object Set]",EB="[object WeakMap]",DB="[object DataView]",OB=(kB=XM)(hB=mB),jB=kB(bB),$B=kB(yB),PB=kB(_B),NB=kB(vB),TB=wB,(hB&&TB(new hB(new ArrayBuffer(1)))!=DB||bB&&TB(new bB)!=xB||yB&&TB(yB.resolve())!=SB||_B&&TB(new _B)!=CB||vB&&TB(new vB)!=EB)&&(TB=function(e){var t=wB(e),n="[object Object]"==t?e.constructor:void 0,r=n?kB(n):"";if(r)switch(r){case OB:return DB;case jB:return xB;case $B:return SB;case PB:return CB;case NB:return EB}return t}),IB=BL,AB=KL,RB=az,FB=fB,MB=TB,LB=iz,zB=Cz,BB=zz,HB="[object Arguments]",UB="[object Array]",WB="[object Object]",qB=Object.prototype.hasOwnProperty,VB=function(e,t,n,r,o,a){var i,s,l,c,u,d,p,f=LB(e),m=LB(t),g=f?UB:MB(e),h=m?UB:MB(t);if(i=(g=g==HB?WB:g)==WB,s=(h=h==HB?WB:h)==WB,(l=g==h)&&zB(e)){if(!zB(t))return!1;f=!0,i=!1}return l&&!i?(a||(a=new IB),f||BB(e)?AB(e,t,n,r,o,a):RB(e,t,g,n,r,o,a)):1&n||(c=i&&qB.call(e,"__wrapped__"),u=s&&qB.call(t,"__wrapped__"),!c&&!u)?!!l&&(a||(a=new IB),FB(e,t,n,r,o,a)):(d=c?e.value():e,p=u?t.value():t,a||(a=new IB),o(d,p,n,r,a))},GB=VB,XB=vM,KB=function e(t,n,r,o,a){return t===n||(null==t||null==n||!XB(t)&&!XB(n)?t!=t&&n!=n:GB(t,n,r,o,e,a))},YB=function(e,t){return KB(e,t)},QB=s7(a_.useLayoutEffect);const c7=i7?QB:l7;JB={exports:{}},function(e){function t(n){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ZB={exports:{}}),eH=ZB.exports,function(e){function t(){function r(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}function o(e,t,n,r){var o=Object.create((t&&t.prototype instanceof i?t:i).prototype),a=new g(r||[]);return w(o,"_invoke",{value:d(e,n,a)}),o}function a(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function i(){}function s(){}function l(){}function c(e){["next","throw","return"].forEach((function(t){r(e,t,(function(e){return this._invoke(t,e)}))}))}function u(e,t){function r(o,i,s,l){var c,u,d=a(e[o],e,i);if("throw"!==d.type)return(u=(c=d.arg).value)&&"object"==n(u)&&v.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,l)}));l(d.arg)}var o;w(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(a,a):a()}})}function d(e,t,n){var r="suspendedStart";return function(o,i){var s,l,c;if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){if((s=n.delegate)&&(l=p(s,n))){if(l===E)continue;return l}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);if(r="executing","normal"===(c=a(e,t,n)).type){if(r=n.done?"completed":"suspendedYield",c.arg===E)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function p(e,t){var n,r,o=t.method,i=e.iterator[o];return void 0===i?(t.delegate=null,"throw"===o&&e.iterator.return&&(t.method="return",t.arg=void 0,p(e,t),"throw"===t.method)||"return"!==o&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+o+"' method")),E):"throw"===(n=a(i,e.iterator,t.arg)).type?(t.method="throw",t.arg=n.arg,t.delegate=null,E):(r=n.arg)?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,E):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,E)}function f(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 m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function g(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){var t,n,r;if(e){if(t=e[x])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(a=(o=this.tryEntries[r]).completion,"root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev)if(i=v.call(o,"catchLoc"),s=v.call(o,"finallyLoc"),i&&s){if(this.prev=0;--n)if((r=this.tryEntries[n]).tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev=0;--t)if((n=this.tryEntries[t]).finallyLoc===e)return this.complete(n.completion,n.afterLoc),m(n),E},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,m(n)),o;throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),E}},y}var n=eH.default;e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(JB),nH=tH=(0,JB.exports)();try{regeneratorRuntime=tH}catch(Vre){"object"==typeof globalThis?globalThis.regeneratorRuntime=tH:Function("r","regeneratorRuntime = r")(tH)}const u7=t(nH);"undefined"!=typeof globalThis?globalThis:void 0!=={}||("undefined"!=typeof global?global:"undefined"!=typeof self&&self),wQ=()=>{return e={770:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.setDefaultDebugCall=t.createOnigScanner=t.createOnigString=t.loadWASM=t.OnigScanner=t.OnigString=void 0;const o=r(n(418));let a=null,i=!1;class s{static _utf8ByteLength(e){let t=0;for(let n=0,r=e.length;n=55296&&o<=56319&&n+1=56320&&t<=57343&&(a=65536+(o-55296<<10)|t-56320,i=!0)}t+=a<=127?1:a<=2047?2:a<=65535?3:4,i&&n++}return t}constructor(e){const t=e.length,n=s._utf8ByteLength(e),r=n!==t,o=r?new Uint32Array(t+1):null;r&&(o[t]=n);const a=r?new Uint32Array(n+1):null;r&&(a[n]=t);const i=new Uint8Array(n);let l=0;for(let s=0;s=55296&&n<=56319&&s+1=56320&&t<=57343&&(c=65536+(n-55296<<10)|t-56320,u=!0)}r&&(o[s]=l,u&&(o[s+1]=l),c<=127?a[l+0]=s:c<=2047?(a[l+0]=s,a[l+1]=s):c<=65535?(a[l+0]=s,a[l+1]=s,a[l+2]=s):(a[l+0]=s,a[l+1]=s,a[l+2]=s,a[l+3]=s)),c<=127?i[l++]=c:c<=2047?(i[l++]=192|(1984&c)>>>6,i[l++]=128|(63&c)>>>0):c<=65535?(i[l++]=224|(61440&c)>>>12,i[l++]=128|(4032&c)>>>6,i[l++]=128|(63&c)>>>0):(i[l++]=240|(1835008&c)>>>18,i[l++]=128|(258048&c)>>>12,i[l++]=128|(4032&c)>>>6,i[l++]=128|(63&c)>>>0),u&&s++}this.utf16Length=t,this.utf8Length=n,this.utf16Value=e,this.utf8Value=i,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=a}createString(e){const t=e._omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}class l{constructor(e){if(this.id=++l.LAST_ID,!a)throw new Error("Must invoke loadWASM first.");this._onigBinding=a,this.content=e;const t=new s(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!l._sharedPtrInUse?(l._sharedPtr||(l._sharedPtr=a._omalloc(1e4)),l._sharedPtrInUse=!0,a.HEAPU8.set(t.utf8Value,l._sharedPtr),this.ptr=l._sharedPtr):this.ptr=t.createString(a)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===l._sharedPtr?l._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}t.OnigString=l,l.LAST_ID=0,l._sharedPtr=0,l._sharedPtrInUse=!1;class c{constructor(e){if(!a)throw new Error("Must invoke loadWASM first.");const t=[],n=[];for(let l=0,c=e.length;lWebAssembly.instantiateStreaming(e,t)}(r):function(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}(r):function(e){return t=>WebAssembly.instantiate(e,t)}(r)}var s;return d=new Promise(((e,t)=>{r=e,i=t})),function(e,t,n,r){(0,o.default)({print:t,instantiateWasm:(t,n)=>{if("undefined"==typeof performance){const e=()=>Date.now();t.env.emscripten_get_now=e,t.wasi_snapshot_preview1.emscripten_get_now=e}return e(t).then((e=>n(e.instance)),r),{}}}).then((e=>{a=e,n()}))}(t,n,r,i),d},t.createOnigString=function(e){return new l(e)},t.createOnigScanner=function(e){return new c(e)},t.setDefaultDebugCall=function(e){i=e}},418:e=>{var t=("undefined"!=typeof document&&document.currentScript&&document,function(e){function t(e,t,n){var r,o,a,i,s,l,c;for(r=t+n,o=t;e[o]&&!(o>=r);)++o;if(o-t>16&&e.buffer&&w)return w.decode(e.subarray(t,o));for(a="";t>10,56320|1023&c))):a+=String.fromCharCode((31&i)<<6|s)):a+=String.fromCharCode(i);return a}function n(e){y=e,I.HEAP8=new Int8Array(e),I.HEAP16=new Int16Array(e),I.HEAP32=new Int32Array(e),I.HEAPU8=_=new Uint8Array(e),I.HEAPU16=new Uint16Array(e),I.HEAPU32=v=new Uint32Array(e),I.HEAPF32=new Float32Array(e),I.HEAPF64=new Float64Array(e)}function r(e){I.onAbort&&I.onAbort(e),h(e="Aborted("+e+")"),b=!0,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw u(t),t}function o(e){return e.startsWith(j)}function a(e){for(;e.length>0;)e.shift()(I)}function i(e){try{return m.grow(e-y.byteLength+65535>>>16),n(m.buffer),1}catch(t){}}function s(e,n){var r=$[e];0===n||10===n?((1===e?g:h)(t(r,0)),r.length=0):r.push(n)}function l(){function e(){P||(P=!0,I.calledRun=!0,b||(a(x),c(I),I.onRuntimeInitialized&&I.onRuntimeInitialized(),function(){if(I.postRun)for("function"==typeof I.postRun&&(I.postRun=[I.postRun]);I.postRun.length;)e=I.postRun.shift(),S.unshift(e);var e;a(S)}()))}C>0||(function(){if(I.preRun)for("function"==typeof I.preRun&&(I.preRun=[I.preRun]);I.preRun.length;)e=I.preRun.shift(),k.unshift(e);var e;a(k)}(),C>0||(I.setStatus?(I.setStatus("Running..."),setTimeout((function(){setTimeout((function(){I.setStatus("")}),1),e()}),1)):e()))}var c,u,d,p,f,m,g,h,b,y,_,v,w,k,x,S,C,E,D,O,j,$,P,N,T,I=void 0!==(e=e||{})?e:{};if(I.ready=new Promise((function(e,t){c=e,u=t})),p=Object.assign({},I),d=function(e){let t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(t=read(e,"binary"),function(e){e||r(void 0)}("object"==typeof t),t)},"undefined"!=typeof scriptArgs&&scriptArgs,"undefined"!=typeof onig_print&&("undefined"==typeof console&&(console={}),console.log=onig_print,console.warn=console.error="undefined"!=typeof printErr?printErr:onig_print),g=I.print||void 0,h=I.printErr||void 0,Object.assign(I,p),p=null,I.wasmBinary&&(f=I.wasmBinary),"object"!=typeof WebAssembly&&r("no native wasm support detected"),b=!1,w="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,k=[],x=[],S=[],C=0,E=null,j="data:application/octet-stream;base64,",o(D="onig.wasm")||(T=D,D=I.locateFile?I.locateFile(T,""):""+T),O="undefined"!=typeof dateNow?dateNow:()=>performance.now(),$=[null,[],[]],N={emscripten_get_now:O,emscripten_memcpy_big:function(e,t,n){_.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){var t,n,r,o=_.length,a=2147483648;if((e>>>=0)>a)return!1;for(n=1;n<=4;n*=2)if(r=o*(1+.2/n),r=Math.min(r,e+100663296),i(Math.min(a,(t=Math.max(e,r))+(65536-t%65536)%65536)))return!0;return!1},fd_write:function(e,t,n,r){var o,a,i,l,c;for(o=0,a=0;a>2],l=v[t+4>>2],t+=8,c=0;c>2]=o,0}},function(){function e(e){I.asm=e.exports,n((m=I.asm.memory).buffer),function(e){x.unshift(e)}(I.asm.__wasm_call_ctors),function(){if(C--,I.monitorRunDependencies&&I.monitorRunDependencies(C),0==C&&E){var e=E;E=null,e()}}()}function t(t){e(t.instance)}function a(e){return Promise.resolve().then((function(){return function(e){try{if(e==D&&f)return new Uint8Array(f);if(d)return d(e);throw"both async and sync fetching of the wasm failed"}catch(t){r(t)}}(D)})).then((function(e){return WebAssembly.instantiate(e,i)})).then((function(e){return e})).then(e,(function(e){h("failed to asynchronously prepare wasm: "+e),r(e)}))}var i={env:N,wasi_snapshot_preview1:N};if(C++,I.monitorRunDependencies&&I.monitorRunDependencies(C),I.instantiateWasm)try{return I.instantiateWasm(i,e)}catch(s){h("Module.instantiateWasm callback failed with error: "+s),u(s)}(f||"function"!=typeof WebAssembly.instantiateStreaming||o(D)||"function"!=typeof fetch?a(t):fetch(D,{credentials:"same-origin"}).then((function(e){return WebAssembly.instantiateStreaming(e,i).then(t,(function(e){return h("wasm streaming compile failed: "+e),h("falling back to ArrayBuffer instantiation"),a(t)}))}))).catch(u)}(),I.___wasm_call_ctors=function(){return(I.___wasm_call_ctors=I.asm.__wasm_call_ctors).apply(null,arguments)},I.___errno_location=function(){return(I.___errno_location=I.asm.__errno_location).apply(null,arguments)},I._omalloc=function(){return(I._omalloc=I.asm.omalloc).apply(null,arguments)},I._ofree=function(){return(I._ofree=I.asm.ofree).apply(null,arguments)},I._getLastOnigError=function(){return(I._getLastOnigError=I.asm.getLastOnigError).apply(null,arguments)},I._createOnigScanner=function(){return(I._createOnigScanner=I.asm.createOnigScanner).apply(null,arguments)},I._freeOnigScanner=function(){return(I._freeOnigScanner=I.asm.freeOnigScanner).apply(null,arguments)},I._findNextOnigScannerMatch=function(){return(I._findNextOnigScannerMatch=I.asm.findNextOnigScannerMatch).apply(null,arguments)},I._findNextOnigScannerMatchDbg=function(){return(I._findNextOnigScannerMatchDbg=I.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},I.stackSave=function(){return(I.stackSave=I.asm.stackSave).apply(null,arguments)},I.stackRestore=function(){return(I.stackRestore=I.asm.stackRestore).apply(null,arguments)},I.stackAlloc=function(){return(I.stackAlloc=I.asm.stackAlloc).apply(null,arguments)},I.dynCall_jiji=function(){return(I.dynCall_jiji=I.asm.dynCall_jiji).apply(null,arguments)},I.UTF8ToString=function(e,n){return e?t(_,e,n):""},E=function e(){P||l(),P||(E=e)},I.preInit)for("function"==typeof I.preInit&&(I.preInit=[I.preInit]);I.preInit.length>0;)I.preInit.pop()();return l(),e.ready});e.exports=t}},t={},function n(r){var o,a=t[r];return void 0!==a?a.exports:(o=t[r]={exports:{}},e[r].call(o.exports,o,o.exports,n),o.exports)}(770);var e,t},(rH={exports:{}}).exports=wQ(),oH=rH.exports,(aH={exports:{}}).exports=(kQ={350:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UseOnigurumaFindOptions=t.DebugFlags=void 0,t.DebugFlags={InDebugMode:"undefined"!=typeof process&&!1},t.UseOnigurumaFindOptions=!1},36:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.toOptionalTokenType=t.EncodedTokenAttributes=void 0,(n=t.EncodedTokenAttributes||(t.EncodedTokenAttributes={})).toBinaryStr=function(e){let t=e.toString(2);for(;t.length<32;)t="0"+t;return t},n.print=function(e){n.getLanguageId(e),n.getTokenType(e),n.getFontStyle(e),n.getForeground(e),n.getBackground(e)},n.getLanguageId=function(e){return(255&e)>>>0},n.getTokenType=function(e){return(768&e)>>>8},n.containsBalancedBrackets=function(e){return 0!=(1024&e)},n.getFontStyle=function(e){return(30720&e)>>>11},n.getForeground=function(e){return(16744448&e)>>>15},n.getBackground=function(e){return(4278190080&e)>>>24},n.set=function(e,t,r,o,a,i,s){let l=n.getLanguageId(e),c=n.getTokenType(e),u=n.containsBalancedBrackets(e)?1:0,d=n.getFontStyle(e),p=n.getForeground(e),f=n.getBackground(e);return 0!==t&&(l=t),8!==r&&(c=r),null!==o&&(u=o?1:0),-1!==a&&(d=a),0!==i&&(p=i),0!==s&&(f=s),(l<<0|c<<8|u<<10|d<<11|p<<15|f<<24)>>>0},t.toOptionalTokenType=function(e){return e}},996:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BasicScopeAttributesProvider=t.BasicScopeAttributes=void 0;const r=n(878);class o{constructor(e,t){this.languageId=e,this.tokenType=t}}t.BasicScopeAttributes=o;class a{constructor(e,t){this._getBasicScopeAttributes=new r.CachedFn((e=>{const t=this._scopeToLanguage(e),n=this._toStandardTokenType(e);return new o(t,n)})),this._defaultAttributes=new o(e,8),this._embeddedLanguagesMatcher=new i(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return null===e?a._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(a.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}t.BasicScopeAttributesProvider=a,a._NULL_SCOPE_METADATA=new o(0,0),a.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class i{constructor(e){if(0===e.length)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map((([e,t])=>r.escapeRegExpCharacters(e)));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);return t?this.values.get(t[1]):void 0}}},947:(e,t,n)=>{function r(e,t,n,r,a){const i=c.createMatchers(t,o),s=d.RuleFactory.getCompiledRuleId(n,r,a.repository);for(const o of i)e.push({debugSelector:t,matcher:o.matcher,ruleId:s,grammar:a,priority:o.priority})}function o(e,t){if(t.length{for(let r=n;rn&&e.substr(0,n)===t&&"."===e[n]}function i(e,t){return(e=f.clone(e)).repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}Object.defineProperty(t,"__esModule",{value:!0}),t.LineTokens=t.BalancedBracketSelectors=t.StateStack=t.AttributedScopeStack=t.Grammar=t.createGrammar=void 0;const s=n(350),l=n(36),c=n(736),u=n(44),d=n(792),p=n(583),f=n(878),m=n(996),g=n(47);t.createGrammar=function(e,t,n,r,o,a,i,s){return new h(e,t,n,r,o,a,i,s)};class h{constructor(e,t,n,r,a,s,l,u){if(this._rootScopeName=e,this.balancedBracketSelectors=s,this._onigLib=u,this._basicScopeAttributesProvider=new m.BasicScopeAttributesProvider(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=i(t,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const i of Object.keys(a)){const e=c.createMatchers(i,o);for(const t of e)this._tokenTypeMatchers.push({matcher:t.matcher,type:a[i]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e=[],t=this._rootScopeName,n=(e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e))(t);if(n){const o=n.injections;if(o)for(let t in o)r(e,t,o[t],this,n);const a=this._grammarRepository.injections(t);a&&a.forEach((t=>{const n=this.getExternalGrammar(t);if(n){const t=n.injectionSelector;t&&r(e,t,n,this,n)}}))}return e.sort(((e,t)=>e.priority-t.priority)),e}getInjections(){if(null===this._injections&&(this._injections=this._collectInjections(),s.DebugFlags.InDebugMode&&this._injections.length>0))for(const e of this._injections);return this._injections}registerRule(e){const t=++this._lastRuleId,n=e(d.ruleIdFromNumber(t));return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[d.ruleIdToNumber(e)]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=i(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){let o;if(-1===this._rootId&&(this._rootId=d.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),t&&t!==y.NULL)o=!1,t.reset();else{o=!0;const e=this._basicScopeAttributesProvider.getDefaultAttributes(),n=this.themeProvider.getDefaults(),r=l.EncodedTokenAttributes.set(0,e.languageId,e.tokenType,null,n.fontStyle,n.foregroundId,n.backgroundId),a=this.getRule(this._rootId).getName(null,null);let i;i=a?b.createRootAndLookUpScopeName(a,r,this):b.createRoot("unknown",r),t=new y(null,this._rootId,-1,-1,!1,null,i,i)}const a=this.createOnigString(e+="\n"),i=a.content.length,s=new _(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=g._tokenizeString(this,a,o,0,t,s,!0,r);return u.disposeOnigString(a),{lineLength:i,lineTokens:s,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}t.Grammar=h;class b{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static createRoot(e,t){return new b(null,new p.ScopeStack(null,e),t)}static createRootAndLookUpScopeName(e,t,n){const r=n.getMetadataForScope(e),o=new p.ScopeStack(null,e),a=n.themeProvider.themeMatch(o),i=b.mergeAttributes(t,r,a);return new b(null,o,i)}get scopeName(){return this.scopePath.scopeName}equals(e){return b._equals(this,e)}static _equals(e,t){for(;;){if(e===t)return!0;if(!e&&!t)return!0;if(!e||!t)return!1;if(e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}}static mergeAttributes(e,t,n){let r=-1,o=0,a=0;return null!==n&&(r=n.fontStyle,o=n.foregroundId,a=n.backgroundId),l.EncodedTokenAttributes.set(e,t.languageId,t.tokenType,null,r,o,a)}pushAttributed(e,t){if(null===e)return this;if(-1===e.indexOf(" "))return b._pushAttributed(this,e,t);const n=e.split(/ /g);let r=this;for(const o of n)r=b._pushAttributed(r,o,t);return r}static _pushAttributed(e,t,n){const r=n.getMetadataForScope(t),o=e.scopePath.push(t),a=n.themeProvider.themeMatch(o),i=b.mergeAttributes(e.tokenAttributes,r,a);return new b(e,o,i)}getScopeNames(){return this.scopePath.getSegments()}}t.AttributedScopeStack=b;class y{constructor(e,t,n,r,o,a,i,s){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=o,this.endRule=a,this.nameScopesList=i,this.contentNameScopesList=s,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=r}equals(e){return null!==e&&y._equals(this,e)}static _equals(e,t){return e===t||!!this._structuralEquals(e,t)&&e.contentNameScopesList.equals(t.contentNameScopesList)}static _structuralEquals(e,t){for(;;){if(e===t)return!0;if(!e&&!t)return!0;if(!e||!t)return!1;if(e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){y._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,n,r,o,a,i){return new y(this,e,t,n,r,o,a,i)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new y(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}}t.StateStack=y,y.NULL=new y(null,0,0,0,!1,null,null,null),t.BalancedBracketSelectors=class{constructor(e,t){this.allowAny=!1,this.balancedBracketScopes=e.flatMap((e=>"*"===e?(this.allowAny=!0,[]):c.createMatchers(e,o).map((e=>e.matcher)))),this.unbalancedBracketScopes=t.flatMap((e=>c.createMatchers(e,o).map((e=>e.matcher))))}get matchesAlways(){return this.allowAny&&0===this.unbalancedBracketScopes.length}get matchesNever(){return 0===this.balancedBracketScopes.length&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}};class _{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=s.DebugFlags.InDebugMode?t:null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var n;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let r=e.tokenAttributes,o=!1;if((null==(n=this.balancedBracketSelectors)?void 0:n.matchesAlways)&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const t=e.getScopeNames();for(const e of this._tokenTypeOverrides)e.matcher(t)&&(r=l.EncodedTokenAttributes.set(r,0,l.toOptionalTokenType(e.type),null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(t))}if(o&&(r=l.EncodedTokenAttributes.set(r,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r)return void(this._lastTokenEndIndex=t);if(s.DebugFlags.InDebugMode){const t=e.getScopeNames();for(let e=0;e0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),0===this._tokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),0===this._binaryTokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,o=this._binaryTokens.length;r{function r(e,t,n,r){const i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=n.lookup(t);e instanceof c?a({baseGrammar:s,selfGrammar:i},r):o(e.ruleName,{baseGrammar:s,selfGrammar:i,repository:i.repository},r);const l=n.injections(e.scopeName);if(l)for(const o of l)r.add(new c(o))}function o(e,t,n){t.repository&&t.repository[e]&&i([t.repository[e]],t,n)}function a(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&i(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&i(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function i(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const e=r.repository?l.mergeObjects({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&i(r.patterns,{...t,repository:e},n);const d=r.include;if(!d)continue;const p=s(d);switch(p.kind){case 0:a({...t,selfGrammar:t.baseGrammar},n);break;case 1:a(t,n);break;case 2:o(p.ruleName,{...t,repository:e},n);break;case 3:case 4:const r=p.scopeName===t.selfGrammar.scopeName?t.selfGrammar:p.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(r){const i={baseGrammar:t.baseGrammar,selfGrammar:r,repository:e};4===p.kind?o(p.ruleName,i,n):a(i,n)}else n.add(4===p.kind?new u(p.scopeName,p.ruleName):new c(p.scopeName))}}}function s(e){if("$base"===e)return new p;if("$self"===e)return new f;const t=e.indexOf("#");if(-1===t)return new g(e);if(0===t)return new m(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new h(n,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.parseInclude=t.TopLevelRepositoryReference=t.TopLevelReference=t.RelativeReference=t.SelfReference=t.BaseReference=t.ScopeDependencyProcessor=t.ExternalReferenceCollector=t.TopLevelRepositoryRuleReference=t.TopLevelRuleReference=void 0;const l=n(878);class c{constructor(e){this.scopeName=e}toKey(){return this.scopeName}}t.TopLevelRuleReference=c;class u{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}}t.TopLevelRepositoryRuleReference=u;class d{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}}t.ExternalReferenceCollector=d,t.ScopeDependencyProcessor=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new c(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new d;for(const n of e)r(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof c){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName))continue;if(this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};class p{constructor(){this.kind=0}}t.BaseReference=p;class f{constructor(){this.kind=1}}t.SelfReference=f;class m{constructor(e){this.ruleName=e,this.kind=2}}t.RelativeReference=m;class g{constructor(e){this.scopeName=e,this.kind=3}}t.TopLevelReference=g;class h{constructor(e,t){this.scopeName=e,this.ruleName=t,this.kind=4}}t.TopLevelRepositoryReference=h,t.parseInclude=s},391:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(947),t)},47:(e,t,n)=>{function r(e,t,n,r,i,c,f,m){function g(){const a=function(e,t,n,r,a,i){const s=function(e,t,n,r,a,i){const s=a.getRule(e),{ruleScanner:c,findOptions:u}=o(s,e,a.endRule,n,r===i);l.DebugFlags.InDebugMode&&d.performanceNow();const p=c.findNextMatchSync(t,r,u);return l.DebugFlags.InDebugMode&&d.performanceNow(),p?{captureIndices:p.captureIndices,matchedRuleId:p.ruleId}:null}(e,t,n,r,a,i),c=e.getInjections();if(0===c.length)return s;const u=function(e,t,n,r,a,i,s){let l,c=Number.MAX_VALUE,u=null,d=0;const p=i.contentNameScopesList.getScopeNames();for(let f=0,m=e.length;f=c)&&(c=y,u=b.captureIndices,l=b.ruleId,d=i.priority,c===a))break}return u?{priorityMatch:-1===d,captureIndices:u,matchedRuleId:l}:null}(c,e,t,n,r,a,i);if(!u)return s;if(!s)return u;const p=s.captureIndices[0].start,f=u.captureIndices[0].start;return f0)&&p[0].end>r;if(f===u.endRuleId){const o=i.getRule(e);c.produce(i,p[0].start),i=i.withContentNameScopesList(i.nameScopesList),s(e,t,n,i,c,o.endCaptures,p),c.produce(i,p[0].end);const a=i;if(i=i.parent,y=a.getAnchorPos(),!m&&a.getEnterPos()===r)return c.produce(i=a,h),void(b=!0)}else{const o=e.getRule(f);c.produce(i,p[0].start);const a=i,l=o.getName(t.content,p),d=i.contentNameScopesList.pushAttributed(l,e);if(i=i.push(f,r,y,p[0].end===h,null,d,d),o instanceof u.BeginEndRule){const r=o;s(e,t,n,i,c,r.beginCaptures,p),c.produce(i,p[0].end),y=p[0].end;const l=r.getContentName(t.content,p),u=d.pushAttributed(l,e);if(i=i.withContentNameScopesList(u),r.endHasBackReferences&&(i=i.withEndRule(r.getEndWithResolvedBackReferences(t.content,p))),!m&&a.hasSameRuleAs(i))return i=i.pop(),c.produce(i,h),void(b=!0)}else if(o instanceof u.BeginWhileRule){const r=o;s(e,t,n,i,c,r.beginCaptures,p),c.produce(i,p[0].end),y=p[0].end;const l=r.getContentName(t.content,p),u=d.pushAttributed(l,e);if(i=i.withContentNameScopesList(u),r.whileHasBackReferences&&(i=i.withEndRule(r.getWhileWithResolvedBackReferences(t.content,p))),!m&&a.hasSameRuleAs(i))return i=i.pop(),c.produce(i,h),void(b=!0)}else if(s(e,t,n,i,c,o.captures,p),c.produce(i,p[0].end),i=i.pop(),!m)return i=i.safePop(),c.produce(i,h),void(b=!0)}p[0].end>r&&(r=p[0].end,n=!1)}const h=t.content.length;let b=!1,y=-1;if(f){const o=function(e,t,n,r,o,i){let l=o.beginRuleCapturedEOL?0:-1;const c=[];for(let a=o;a;a=a.pop()){const t=a.getRule(e);t instanceof u.BeginWhileRule&&c.push({rule:t,stack:a})}for(let d=c.pop();d;d=c.pop()){const{ruleScanner:c,findOptions:p}=a(d.rule,e,d.stack.endRule,n,r===l),f=c.findNextMatchSync(t,r,p);if(!f){o=d.stack.pop();break}if(f.ruleId!==u.whileRuleId){o=d.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(d.stack,f.captureIndices[0].start),s(e,t,n,d.stack,i,d.rule.whileCaptures,f.captureIndices),i.produce(d.stack,f.captureIndices[0].end),l=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}return{stack:o,linePos:r,anchorPosition:l,isFirstLine:n}}(e,t,n,r,i,c);i=o.stack,r=o.linePos,n=o.isFirstLine,y=o.anchorPosition}const _=Date.now();for(;!b;){if(0!==m&&Date.now()-_>m)return new p(i,!0);g()}return new p(i,!1)}function o(e,t,n,r,o){return l.UseOnigurumaFindOptions?{ruleScanner:e.compile(t,n),findOptions:i(r,o)}:{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function a(e,t,n,r,o){return l.UseOnigurumaFindOptions?{ruleScanner:e.compileWhile(t,n),findOptions:i(r,o)}:{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function i(e,t){let n=0;return e||(n|=1),t||(n|=4),n}function s(e,t,n,o,a,i,s){if(0===i.length)return;const l=t.content,u=Math.min(i.length,s.length),d=[],p=s[0].end;for(let m=0;mp)break;for(;d.length>0&&d[d.length-1].endPos<=u.start;)a.produceFromScopes(d[d.length-1].scopes,d[d.length-1].endPos),d.pop();if(d.length>0?a.produceFromScopes(d[d.length-1].scopes,u.start):a.produce(o,u.start),t.retokenizeCapturedWithRuleId){const i=t.getName(l,s),d=o.contentNameScopesList.pushAttributed(i,e),p=t.getContentName(l,s),f=d.pushAttributed(p,e),m=o.push(t.retokenizeCapturedWithRuleId,u.start,-1,!1,null,d,f),g=e.createOnigString(l.substring(0,u.end));r(e,g,n&&0===u.start,u.start,m,a,!1,0),c.disposeOnigString(g);continue}const g=t.getName(l,s);if(null!==g){const t=(d.length>0?d[d.length-1].scopes:o.contentNameScopesList).pushAttributed(g,e);d.push(new f(t,u.end))}}for(;d.length>0;)a.produceFromScopes(d[d.length-1].scopes,d[d.length-1].endPos),d.pop()}Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStackElement=t._tokenizeString=void 0;const l=n(350),c=n(44),u=n(792),d=n(878);class p{constructor(e,t){this.stack=e,this.stoppedEarly=t}}t._tokenizeString=r;class f{constructor(e,t){this.scopes=e,this.endPos=t}}t.LocalStackElement=f},974:(e,t)=>{function n(e,t){throw new Error("Near offset "+e.pos+": "+t+" ~~~"+e.source.substr(e.pos,50)+"~~~")}function r(e,t){t.value=null,t.type=0,t.offset=-1,t.len=-1,t.line=-1,t.char=-1;let r,o=e.source,a=e.pos,i=e.len,s=e.line,l=e.char;for(;;){if(a>=i)return!1;if(r=o.charCodeAt(a),32!==r&&9!==r&&13!==r){if(10!==r)break;a++,s++,l=0}else a++,l++}if(t.offset=a,t.line=s,t.char=l,34===r){for(t.type=1,a++,l++;;){if(a>=i)return!1;if(r=o.charCodeAt(a),a++,l++,92!==r){if(34===r)break}else a++,l++}t.value=o.substring(t.offset+1,a-1).replace(/\\u([0-9A-Fa-f]{4})/g,((e,t)=>String.fromCodePoint(parseInt(t,16)))).replace(/\\(.)/g,((t,r)=>{switch(r){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return"\n";case"r":return"\r";case"t":return"\t";default:n(e,"invalid escape sequence")}throw new Error("unreachable")}))}else if(91===r)t.type=2,a++,l++;else if(123===r)t.type=3,a++,l++;else if(93===r)t.type=4,a++,l++;else if(125===r)t.type=5,a++,l++;else if(58===r)t.type=6,a++,l++;else if(44===r)t.type=7,a++,l++;else if(110===r){if(t.type=8,a++,l++,r=o.charCodeAt(a),117!==r)return!1;if(a++,l++,r=o.charCodeAt(a),108!==r)return!1;if(a++,l++,r=o.charCodeAt(a),108!==r)return!1;a++,l++}else if(116===r){if(t.type=9,a++,l++,r=o.charCodeAt(a),114!==r)return!1;if(a++,l++,r=o.charCodeAt(a),117!==r)return!1;if(a++,l++,r=o.charCodeAt(a),101!==r)return!1;a++,l++}else if(102===r){if(t.type=10,a++,l++,r=o.charCodeAt(a),97!==r)return!1;if(a++,l++,r=o.charCodeAt(a),108!==r)return!1;if(a++,l++,r=o.charCodeAt(a),115!==r)return!1;if(a++,l++,r=o.charCodeAt(a),101!==r)return!1;a++,l++}else for(t.type=11;;){if(a>=i)return!1;if(r=o.charCodeAt(a),!(46===r||r>=48&&r<=57||101===r||69===r||45===r||43===r))break;a++,l++}return t.len=a-t.offset,null===t.value&&(t.value=o.substr(t.offset,t.len)),e.pos=a,e.line=s,e.char=l,!0}Object.defineProperty(t,"__esModule",{value:!0}),t.parseJSON=void 0,t.parseJSON=function(e,t,i){function s(){m.push(p),g.push(f)}function l(){p=m.pop(),f=g.pop()}function c(e){n(u,e)}let u=new o(e),d=new a,p=0,f=null,m=[],g=[];for(;r(u,d);){if(0===p){if(null!==f&&c("too many constructs in root"),3===d.type){f={},i&&(f.$vscodeTextmateLocation=d.toLocation(t)),s(),p=1;continue}if(2===d.type){f=[],s(),p=4;continue}c("unexpected token in root")}if(2===p){if(5===d.type){l();continue}if(7===d.type){p=3;continue}c("expected , or }")}if(1===p||3===p){if(1===p&&5===d.type){l();continue}if(1===d.type){let e=d.value;if(r(u,d)&&6===d.type||c("expected colon"),r(u,d)||c("expected value"),p=2,1===d.type){f[e]=d.value;continue}if(8===d.type){f[e]=null;continue}if(9===d.type){f[e]=!0;continue}if(10===d.type){f[e]=!1;continue}if(11===d.type){f[e]=parseFloat(d.value);continue}if(2===d.type){let t=[];f[e]=t,s(),p=4,f=t;continue}if(3===d.type){let n={};i&&(n.$vscodeTextmateLocation=d.toLocation(t)),f[e]=n,s(),p=1,f=n;continue}}c("unexpected token in dict")}if(5===p){if(4===d.type){l();continue}if(7===d.type){p=6;continue}c("expected , or ]")}if(4===p||6===p){if(4===p&&4===d.type){l();continue}if(p=5,1===d.type){f.push(d.value);continue}if(8===d.type){f.push(null);continue}if(9===d.type){f.push(!0);continue}if(10===d.type){f.push(!1);continue}if(11===d.type){f.push(parseFloat(d.value));continue}if(2===d.type){let e=[];f.push(e),s(),p=4,f=e;continue}if(3===d.type){let e={};i&&(e.$vscodeTextmateLocation=d.toLocation(t)),f.push(e),s(),p=1,f=e;continue}c("unexpected token in array")}c("unknown state")}return 0!==g.length&&c("unclosed constructs"),f};class o{constructor(e){this.source=e,this.pos=0,this.len=e.length,this.line=1,this.char=0}}class a{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(e){return{filename:e,line:this.line,char:this.char}}}},787:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.parseRawGrammar=t.INITIAL=t.Registry=void 0;const a=n(391),i=n(50),s=n(652),l=n(583),c=n(965);o(n(44),t),t.Registry=class{constructor(e){this._options=e,this._syncRegistry=new s.SyncRegistry(l.Theme.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(l.Theme.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new a.BalancedBracketSelectors(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}async _loadGrammar(e,t,n,r,o){const a=new c.ScopeDependencyProcessor(this._syncRegistry,e);for(;a.Q.length>0;)await Promise.all(a.Q.map((e=>this._loadSingleGrammar(e.scopeName)))),a.processQueue();return this._grammarForScopeName(e,t,n,r,o)}async _loadSingleGrammar(e){return this._ensureGrammarCache.has(e)||this._ensureGrammarCache.set(e,this._doLoadSingleGrammar(e)),this._ensureGrammarCache.get(e)}async _doLoadSingleGrammar(e){const t=await this._options.loadGrammar(e);if(t){const n="function"==typeof this._options.getInjections?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}async addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),await this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,o=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,o)}},t.INITIAL=a.StateStack.NULL,t.parseRawGrammar=i.parseRawGrammar},736:(e,t)=>{function n(e){return!!e&&!!e.match(/[\w\.:]+/)}Object.defineProperty(t,"__esModule",{value:!0}),t.createMatchers=void 0,t.createMatchers=function(e,t){function r(){if("-"===s){s=i.next();const e=r();return t=>!!e&&!e(t)}if("("===s){s=i.next();const e=function(){const e=[];let t=o();for(;t&&(e.push(t),"|"===s||","===s);){do{s=i.next()}while("|"===s||","===s);t=o()}return t=>e.some((e=>e(t)))}();return")"===s&&(s=i.next()),e}if(n(s)){const e=[];do{e.push(s),s=i.next()}while(n(s));return n=>t(e,n)}return null}function o(){const e=[];let t=r();for(;t;)e.push(t),t=r();return t=>e.every((e=>e(t)))}const a=[],i=function(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}(e);let s=i.next();for(;null!==s;){let e=0;if(2===s.length&&":"===s.charAt(1)){switch(s.charAt(0)){case"R":e=1;break;case"L":e=-1}s=i.next()}let t=o();if(a.push({matcher:t,priority:e}),","!==s)break;s=i.next()}return a}},44:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.disposeOnigString=void 0,t.disposeOnigString=function(e){"function"==typeof e.dispose&&e.dispose()}},50:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseRawGrammar=void 0;const r=n(69),o=n(350),a=n(974);t.parseRawGrammar=function(e,t=null){return null!==t&&/\.json$/.test(t)?(i=e,o.DebugFlags.InDebugMode?a.parseJSON(i,t,!0):JSON.parse(i)):(n=e,o.DebugFlags.InDebugMode?r.parseWithLocation(n,t,"$vscodeTextmateLocation"):r.parsePLIST(n));var n,i}},69:(e,t)=>{function n(e,t,n){function r(t){if(null===n)x+=t;else for(;t>0;)10===e.charCodeAt(x)?(x++,S++,C=0):(x++,C++),t--}function o(e){null===n?x=e:r(e-x)}function a(){for(;x");u()}function f(){return 1===E||2!==E?d("unexpected "):void u()}function m(e){if(1===E){if(null===$)return d("missing ");D[$]=e,$=null}else 2===E?D.push(e):D=e}function g(e){if(isNaN(e))return d("cannot parse float");if(1===E){if(null===$)return d("missing ");D[$]=e,$=null}else 2===E?D.push(e):D=e}function h(e){if(isNaN(e))return d("cannot parse integer");if(1===E){if(null===$)return d("missing ");D[$]=e,$=null}else 2===E?D.push(e):D=e}function b(e){if(1===E){if(null===$)return d("missing ");D[$]=e,$=null}else 2===E?D.push(e):D=e}function y(e){if(1===E){if(null===$)return d("missing ");D[$]=e,$=null}else 2===E?D.push(e):D=e}function _(e){if(1===E){if(null===$)return d("missing ");D[$]=e,$=null}else 2===E?D.push(e):D=e}function v(){let e=l(">"),t=!1;return 47===e.charCodeAt(e.length-1)&&(t=!0,e=e.substring(0,e.length-1)),{name:e.trim(),isClosed:t}}function w(e){if(e.isClosed)return"";let t=l(""),t.replace(/&#([0-9]+);/g,(function(e,t){return String.fromCodePoint(parseInt(t,10))})).replace(/&#x([0-9a-f]+);/g,(function(e,t){return String.fromCodePoint(parseInt(t,16))})).replace(/&|<|>|"|'/g,(function(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case""":return'"';case"'":return"'"}return e}))}const k=e.length;let x=0,S=1,C=0;k>0&&65279===e.charCodeAt(0)&&(x=1);let E=0,D=null,O=[],j=[],$=null;const P=function(){if(null===$)return d("missing ");let e={};null!==n&&(e[n]={filename:t,line:S,char:C}),D[$]=e,$=null,c(1,e)},N=function(){if(null===$)return d("missing ");let e=[];D[$]=e,$=null,c(2,e)},T=function(){let e={};null!==n&&(e[n]={filename:t,line:S,char:C}),D.push(e),c(1,e)},I=function(){let e=[];D.push(e),c(2,e)};for(;x=k));){const o=e.charCodeAt(x);if(r(1),60!==o)return d("expected <");if(x>=k)return d("unexpected end of input");const l=e.charCodeAt(x);if(63===l){r(1),s("?>");continue}if(33===l){if(r(1),i("--")){s("--\x3e");continue}s(">");continue}if(47===l){if(r(1),a(),i("plist")){s(">");continue}if(i("dict")){s(">"),p();continue}if(i("array")){s(">"),f();continue}return d("unexpected closed tag")}let u=v();switch(u.name){case"dict":1===E?P():2===E?T():(D={},null!==n&&(D[n]={filename:t,line:S,char:C}),c(1,D)),u.isClosed&&p();continue;case"array":1===E?N():2===E?I():(D=[],c(2,D)),u.isClosed&&f();continue;case"key":A=w(u),1!==E?d("unexpected "):null!==$?d("too many "):$=A;continue;case"string":m(w(u));continue;case"real":g(parseFloat(w(u)));continue;case"integer":h(parseInt(w(u),10));continue;case"date":b(new Date(w(u)));continue;case"data":y(w(u));continue;case"true":w(u),_(!0);continue;case"false":w(u),_(!1);continue}if(!/^plist/.test(u.name))return d("unexpected opened tag "+u.name)}var A;return D}Object.defineProperty(t,"__esModule",{value:!0}),t.parsePLIST=t.parseWithLocation=void 0,t.parseWithLocation=function(e,t,r){return n(e,t,r)},t.parsePLIST=function(e){return n(e,null,null)}},652:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SyncRegistry=void 0;const r=n(391);t.SyncRegistry=class{constructor(e,t){this._onigLibPromise=t,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=e}dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}async grammarForScopeName(e,t,n,o,a){if(!this._grammars.has(e)){let i=this._rawGrammars.get(e);if(!i)return null;this._grammars.set(e,r.createGrammar(e,i,t,n,o,a,this,await this._onigLibPromise))}return this._grammars.get(e)}}},792:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CompiledRule=t.RegExpSourceList=t.RegExpSource=t.RuleFactory=t.BeginWhileRule=t.BeginEndRule=t.IncludeOnlyRule=t.MatchRule=t.CaptureRule=t.Rule=t.ruleIdToNumber=t.ruleIdFromNumber=t.whileRuleId=t.endRuleId=void 0;const r=n(878),o=n(965),a=/\\(\d+)/,i=/\\(\d+)/g;t.endRuleId=-1,t.whileRuleId=-2,t.ruleIdFromNumber=function(e){return e},t.ruleIdToNumber=function(e){return e};class s{constructor(e,t,n,o){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=r.RegexSource.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=r.RegexSource.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${r.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return this._nameIsCapturing&&null!==this._name&&null!==e&&null!==t?r.RegexSource.replaceCaptures(this._name,e,t):this._name}getContentName(e,t){return this._contentNameIsCapturing&&null!==this._contentName?r.RegexSource.replaceCaptures(this._contentName,e,t):this._contentName}}t.Rule=s;class l extends s{constructor(e,t,n,r,o){super(e,t,n,r),this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}}t.CaptureRule=l;class c extends s{constructor(e,t,n,r,o){super(e,t,n,null),this._match=new m(r,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new g,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}t.MatchRule=c;class u extends s{constructor(e,t,n,r,o){super(e,t,n,r),this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new g,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}t.IncludeOnlyRule=u;class d extends s{constructor(e,t,n,r,o,a,i,s,l,c){super(e,t,n,r),this._begin=new m(o,this.id),this.beginCaptures=a,this._end=new m(i||"๏ฟฟ",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=s,this.applyEndPatternLast=l||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new g;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&this._cachedCompiledPatterns.setSource(this.applyEndPatternLast?this._cachedCompiledPatterns.length()-1:0,t),this._cachedCompiledPatterns}}t.BeginEndRule=d;class p extends s{constructor(e,n,r,o,a,i,s,l,c){super(e,n,r,o),this._begin=new m(a,this.id),this.beginCaptures=i,this.whileCaptures=l,this._while=new m(s,t.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new g;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new g,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"๏ฟฟ"),this._cachedCompiledWhilePatterns}}t.BeginWhileRule=p;class f{static createCaptureRule(e,t,n,r,o){return e.registerRule((e=>new l(t,e,n,r,o)))}static getCompiledRuleId(e,t,n){return e.id||t.registerRule((o=>{if(e.id=o,e.match)return new c(e.$vscodeTextmateLocation,e.id,e.name,e.match,f._compileCaptures(e.captures,t,n));if(void 0===e.begin){e.repository&&(n=r.mergeObjects({},n,e.repository));let o=e.patterns;return void 0===o&&e.include&&(o=[{include:e.include}]),new u(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,f._compilePatterns(o,t,n))}return e.while?new p(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,f._compileCaptures(e.beginCaptures||e.captures,t,n),e.while,f._compileCaptures(e.whileCaptures||e.captures,t,n),f._compilePatterns(e.patterns,t,n)):new d(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,f._compileCaptures(e.beginCaptures||e.captures,t,n),e.end,f._compileCaptures(e.endCaptures||e.captures,t,n),e.applyEndPatternLast,f._compilePatterns(e.patterns,t,n))})),e.id}static _compileCaptures(e,t,n){let r=[];if(e){let o=0;for(const t in e){if("$vscodeTextmateLocation"===t)continue;const e=parseInt(t,10);e>o&&(o=e)}for(let e=0;e<=o;e++)r[e]=null;for(const a in e){if("$vscodeTextmateLocation"===a)continue;const o=parseInt(a,10);let i=0;e[a].patterns&&(i=f.getCompiledRuleId(e[a],t,n)),r[o]=f.createCaptureRule(t,e[a].$vscodeTextmateLocation,e[a].name,e[a].contentName,i)}}return r}static _compilePatterns(e,t,n){let r=[];if(e)for(let a=0,i=e.length;ae.substring(t.start,t.end)));return i.lastIndex=0,this.source.replace(i,((e,t)=>r.escapeRegExpCharacters(n[parseInt(t,10)]||"")))}_buildAnchorCache(){let e,t,n,r,o=[],a=[],i=[],s=[];for(e=0,t=this.source.length;ee.source));this._cached=new h(e,t,this._items.map((e=>e.ruleId)))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map((e=>e.resolveAnchors(t,n)));return new h(e,r,this._items.map((e=>e.ruleId)))}}t.RegExpSourceList=g;class h{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){"function"==typeof this.scanner.dispose&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t{function r(e,t){return t===e||e.startsWith(t)&&"."===e[t.length]}function o(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o1&&(d=a.slice(0,a.length-1),d.reverse()),n[r++]=new c(i,d,o,s,l,u)}}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeTrieElement=t.ThemeTrieElementRule=t.ColorMap=t.fontStyleToString=t.ParsedThemeRule=t.parseTheme=t.StyleAttributes=t.ScopeStack=t.Theme=void 0;const a=n(878);class i{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n,this._cachedMatchRoot=new a.CachedFn((e=>this._root.match(e)))}static createFromRawTheme(e,t){return this.createFromParsedTheme(o(e),t)}static createFromParsedTheme(e,t){return function(e,t){e.sort(((e,t)=>{let n=a.strcmp(e.scope,t.scope);return 0!==n?n:(n=a.strArrCmp(e.parentScopes,t.parentScopes),0!==n?n:e.index-t.index)}));let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&""===e[0].scope;){let t=e.shift();-1!==t.fontStyle&&(n=t.fontStyle),null!==t.foreground&&(r=t.foreground),null!==t.background&&(o=t.background)}let s=new u(t),c=new l(n,s.getId(r),s.getId(o)),f=new p(new d(0,null,-1,0,0),[]);for(let a=0,i=e.length;afunction(e,t){if(null===t)return!0;let n=0,o=t[n];for(;e;){if(r(e.scopeName,o)){if(n++,n===t.length)return!0;o=t[n]}e=e.parent}return!1}(e.parent,t.parentScopes)));return t?new l(t.fontStyle,t.foreground,t.background):null}}t.Theme=i;class s{constructor(e,t){this.parent=e,this.scopeName=t}static from(...e){let t=null;for(let n=0;ne||(this.scopeDepth=e),-1!==t&&(this.fontStyle=t),0!==n&&(this.foreground=n),0!==r&&(this.background=r)}}t.ThemeTrieElementRule=d;class p{constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}static _sortBySpecificity(e){return 1===e.length||e.sort(this._cmpBySpecificity),e}static _cmpBySpecificity(e,t){if(e.scopeDepth===t.scopeDepth){const n=e.parentScopes,r=t.parentScopes;let o=null===n?0:n.length,a=null===r?0:r.length;if(o===a)for(let e=0;e{function n(e){return Array.isArray(e)?function(e){let t=[];for(let r=0,o=e.length;rt?1:0}Object.defineProperty(t,"__esModule",{value:!0}),t.performanceNow=t.CachedFn=t.escapeRegExpCharacters=t.isValidHexColor=t.strArrCmp=t.strcmp=t.RegexSource=t.basename=t.mergeObjects=t.clone=void 0,t.clone=function(e){return n(e)},t.mergeObjects=function(e,...t){return t.forEach((t=>{for(let n in t)e[n]=t[n]})),e},t.basename=function e(t){const n=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return 0===n?t:~n==t.length-1?e(t.substring(0,t.length-1)):t.substr(1+~n)};let o=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;t.RegexSource=class{static hasCaptures(e){return null!==e&&(o.lastIndex=0,o.test(e))}static replaceCaptures(e,t,n){return e.replace(o,((e,r,o,a)=>{let i=n[parseInt(r||o,10)];if(!i)return e;{let e=t.substring(i.start,i.end);for(;"."===e[0];)e=e.substring(1);switch(a){case"downcase":return e.toLowerCase();case"upcase":return e.toUpperCase();default:return e}}}))}},t.strcmp=r,t.strArrCmp=function(e,t){if(null===e&&null===t)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,o=t.length;if(n===o){for(let o=0;o(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e))(sH||{});class p7{static toBinaryStr(e){let t=e.toString(2);for(;t.length<32;)t="0"+t;return t}static printMetadata(e){p7.getLanguageId(e),p7.getTokenType(e),p7.getFontStyle(e),p7.getForeground(e),p7.getBackground(e)}static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static getFontStyle(e){return(14336&e)>>>11}static getForeground(e){return(8372224&e)>>>15}static getBackground(e){return(4286578688&e)>>>24}static containsBalancedBrackets(e){return 0!=(1024&e)}static set(e,t,n,r,o,a){let i=p7.getLanguageId(e),s=p7.getTokenType(e),l=p7.getFontStyle(e),c=p7.getForeground(e),u=p7.getBackground(e);return 0!==t&&(i=t),0!==n&&(s=8===n?0:n),-1!==r&&(l=r),0!==o&&(c=o),0!==a&&(u=a),(i<<0|s<<8|l<<11|(p7.containsBalancedBrackets(e)?1:0)<<10|c<<15|u<<24)>>>0}}(SQ=lH||(lH={}))[SQ.lineFeed=10]="lineFeed",SQ[SQ.carriageReturn=13]="carriageReturn",SQ[SQ.space=32]="space",SQ[SQ._0=48]="_0",SQ[SQ._1=49]="_1",SQ[SQ._2=50]="_2",SQ[SQ._3=51]="_3",SQ[SQ._4=52]="_4",SQ[SQ._5=53]="_5",SQ[SQ._6=54]="_6",SQ[SQ._7=55]="_7",SQ[SQ._8=56]="_8",SQ[SQ._9=57]="_9",SQ[SQ.a=97]="a",SQ[SQ.b=98]="b",SQ[SQ.c=99]="c",SQ[SQ.d=100]="d",SQ[SQ.e=101]="e",SQ[SQ.f=102]="f",SQ[SQ.g=103]="g",SQ[SQ.h=104]="h",SQ[SQ.i=105]="i",SQ[SQ.j=106]="j",SQ[SQ.k=107]="k",SQ[SQ.l=108]="l",SQ[SQ.m=109]="m",SQ[SQ.n=110]="n",SQ[SQ.o=111]="o",SQ[SQ.p=112]="p",SQ[SQ.q=113]="q",SQ[SQ.r=114]="r",SQ[SQ.s=115]="s",SQ[SQ.t=116]="t",SQ[SQ.u=117]="u",SQ[SQ.v=118]="v",SQ[SQ.w=119]="w",SQ[SQ.x=120]="x",SQ[SQ.y=121]="y",SQ[SQ.z=122]="z",SQ[SQ.A=65]="A",SQ[SQ.B=66]="B",SQ[SQ.C=67]="C",SQ[SQ.D=68]="D",SQ[SQ.E=69]="E",SQ[SQ.F=70]="F",SQ[SQ.G=71]="G",SQ[SQ.H=72]="H",SQ[SQ.I=73]="I",SQ[SQ.J=74]="J",SQ[SQ.K=75]="K",SQ[SQ.L=76]="L",SQ[SQ.M=77]="M",SQ[SQ.N=78]="N",SQ[SQ.O=79]="O",SQ[SQ.P=80]="P",SQ[SQ.Q=81]="Q",SQ[SQ.R=82]="R",SQ[SQ.S=83]="S",SQ[SQ.T=84]="T",SQ[SQ.U=85]="U",SQ[SQ.V=86]="V",SQ[SQ.W=87]="W",SQ[SQ.X=88]="X",SQ[SQ.Y=89]="Y",SQ[SQ.Z=90]="Z",SQ[SQ.asterisk=42]="asterisk",SQ[SQ.backslash=92]="backslash",SQ[SQ.closeBrace=125]="closeBrace",SQ[SQ.closeBracket=93]="closeBracket",SQ[SQ.colon=58]="colon",SQ[SQ.comma=44]="comma",SQ[SQ.dot=46]="dot",SQ[SQ.doubleQuote=34]="doubleQuote",SQ[SQ.minus=45]="minus",SQ[SQ.openBrace=123]="openBrace",SQ[SQ.openBracket=91]="openBracket",SQ[SQ.plus=43]="plus",SQ[SQ.slash=47]="slash",SQ[SQ.formFeed=12]="formFeed",SQ[SQ.tab=9]="tab",(cH||(cH={})).DEFAULT={allowTrailingComma:!1},(CQ=uH||(uH={}))[CQ.None=0]="None",CQ[CQ.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",CQ[CQ.UnexpectedEndOfString=2]="UnexpectedEndOfString",CQ[CQ.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",CQ[CQ.InvalidUnicode=4]="InvalidUnicode",CQ[CQ.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",CQ[CQ.InvalidCharacter=6]="InvalidCharacter",(EQ=dH||(dH={}))[EQ.OpenBraceToken=1]="OpenBraceToken",EQ[EQ.CloseBraceToken=2]="CloseBraceToken",EQ[EQ.OpenBracketToken=3]="OpenBracketToken",EQ[EQ.CloseBracketToken=4]="CloseBracketToken",EQ[EQ.CommaToken=5]="CommaToken",EQ[EQ.ColonToken=6]="ColonToken",EQ[EQ.NullKeyword=7]="NullKeyword",EQ[EQ.TrueKeyword=8]="TrueKeyword",EQ[EQ.FalseKeyword=9]="FalseKeyword",EQ[EQ.StringLiteral=10]="StringLiteral",EQ[EQ.NumericLiteral=11]="NumericLiteral",EQ[EQ.LineCommentTrivia=12]="LineCommentTrivia",EQ[EQ.BlockCommentTrivia=13]="BlockCommentTrivia",EQ[EQ.LineBreakTrivia=14]="LineBreakTrivia",EQ[EQ.Trivia=15]="Trivia",EQ[EQ.Unknown=16]="Unknown",EQ[EQ.EOF=17]="EOF";const f7=function(e,t=[],n=cH.DEFAULT){function r(e){Array.isArray(a)?a.push(e):null!==o&&(a[o]=e)}let o=null,a=[];const i=[];return function(e,t,n=cH.DEFAULT){function r(e){return e?()=>e(u.getTokenOffset(),u.getTokenLength(),u.getTokenStartLine(),u.getTokenStartCharacter()):()=>!0}function o(e){return e?()=>e(u.getTokenOffset(),u.getTokenLength(),u.getTokenStartLine(),u.getTokenStartCharacter(),(()=>d.slice())):()=>!0}function a(e){return e?t=>e(t,u.getTokenOffset(),u.getTokenLength(),u.getTokenStartLine(),u.getTokenStartCharacter()):()=>!0}function i(e){return e?t=>e(t,u.getTokenOffset(),u.getTokenLength(),u.getTokenStartLine(),u.getTokenStartCharacter(),(()=>d.slice())):()=>!0}function s(){for(;;){const e=u.scan();switch(u.getTokenError()){case 4:l(14);break;case 5:l(15);break;case 3:l(13);break;case 1:w||l(11);break;case 2:l(12);break;case 6:l(16)}switch(e){case 12:case 13:w?l(10):_();break;case 16:l(1);break;case 15:case 14:break;default:return e}}}function l(e,t=[],n=[]){if(v(e),t.length+n.length>0){let e=u.getToken();for(;17!==e;){if(-1!==t.indexOf(e)){s();break}if(-1!==n.indexOf(e))break;e=s()}}}function c(e){const t=u.getTokenValue();return e?b(t):(f(t),d.push(t)),s(),!0}const u=function(e,t=!1){function n(t,n){let r=0,o=0;for(;r=48&&t<=57)o=16*o+t-48;else if(t>=65&&t<=70)o=16*o+t-65+10;else{if(!(t>=97&&t<=102))break;o=16*o+t-97+10}i++,r++}return r=a)return l=a,c=17;let t=e.charCodeAt(i);if(ym(t)){do{i++,s+=String.fromCharCode(t),t=e.charCodeAt(i)}while(ym(t));return c=15}if(_m(t))return i++,s+=String.fromCharCode(t),13===t&&10===e.charCodeAt(i)&&(i++,s+="\n"),u++,p=i,c=14;switch(t){case 123:return i++,c=1;case 125:return i++,c=2;case 91:return i++,c=3;case 93:return i++,c=4;case 58:return i++,c=6;case 44:return i++,c=5;case 34:return i++,s=function(){let t="",r=i;for(;;){if(i>=a){t+=e.substring(r,i),m=2;break}const o=e.charCodeAt(i);if(34===o){t+=e.substring(r,i),i++;break}if(92!==o){if(o>=0&&o<=31){if(_m(o)){t+=e.substring(r,i),m=2;break}m=6}i++}else{if(t+=e.substring(r,i),i++,i>=a){m=2;break}switch(e.charCodeAt(i++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:const e=n(4,!0);e>=0?t+=String.fromCharCode(e):m=4;break;default:m=5}r=i}}return t}(),c=10;case 47:const r=i-1;if(47===e.charCodeAt(i+1)){for(i+=2;ii,scan:t?function(){let e;do{e=r()}while(e>=12&&e<=15);return e}:r,getToken:()=>c,getTokenValue:()=>s,getTokenOffset:()=>l,getTokenLength:()=>i-l,getTokenStartLine:()=>d,getTokenStartCharacter:()=>l-f,getTokenError:()=>m}}(e,!1),d=[],p=o(t.onObjectBegin),f=i(t.onObjectProperty),m=r(t.onObjectEnd),g=o(t.onArrayBegin),h=r(t.onArrayEnd),b=i(t.onLiteralValue),y=a(t.onSeparator),_=r(t.onComment),v=a(t.onError),w=n&&n.disallowComments,k=n&&n.allowTrailingComma;s(),17===u.getToken()?n.allowEmptyContent||l(4,[],[]):function e(){switch(u.getToken()){case 3:return function(){g(),s();let t=!0,n=!1;for(;4!==u.getToken()&&17!==u.getToken();){if(5===u.getToken()){if(n||l(4,[],[]),y(","),s(),4===u.getToken()&&k)break}else n&&l(6,[],[]);t?(d.push(0),t=!1):d[d.length-1]++,e()||l(4,[],[4,5]),n=!0}return h(),t||d.pop(),4!==u.getToken()?l(8,[4],[]):s(),!0}();case 1:return function(){p(),s();let t=!1;for(;2!==u.getToken()&&17!==u.getToken();){if(5===u.getToken()){if(t||l(4,[],[]),y(","),s(),2===u.getToken()&&k)break}else t&&l(6,[],[]);(10!==u.getToken()?(l(3,[],[2,5]),!1):(c(!1),6===u.getToken()?(y(":"),s(),e()||l(4,[],[2,5])):l(5,[],[2,5]),d.pop(),!0))||l(4,[],[2,5]),t=!0}return m(),2!==u.getToken()?l(7,[2],[]):s(),!0}();case 10:return c(!0);default:return function(){switch(u.getToken()){case 11:const e=u.getTokenValue();let t=Number(e);isNaN(t)&&(l(2),t=0),b(t);break;case 7:b(null);break;case 8:b(!0);break;case 9:b(!1);break;default:return!1}return s(),!0}()}}()?17!==u.getToken()&&l(9,[],[]):l(4,[],[])}(e,{onObjectBegin:()=>{const e={};r(e),i.push(a),a=e,o=null},onObjectProperty:e=>{o=e},onObjectEnd:()=>{a=i.pop()},onArrayBegin:()=>{const e=[];r(e),i.push(a),a=e,o=null},onArrayEnd:()=>{a=i.pop()},onLiteralValue:r,onError:(e,n,r)=>{t.push({error:e,offset:n,length:r})}},n),a[0]};(DQ=pH||(pH={}))[DQ.InvalidSymbol=1]="InvalidSymbol",DQ[DQ.InvalidNumberFormat=2]="InvalidNumberFormat",DQ[DQ.PropertyNameExpected=3]="PropertyNameExpected",DQ[DQ.ValueExpected=4]="ValueExpected",DQ[DQ.ColonExpected=5]="ColonExpected",DQ[DQ.CommaExpected=6]="CommaExpected",DQ[DQ.CloseBraceExpected=7]="CloseBraceExpected",DQ[DQ.CloseBracketExpected=8]="CloseBracketExpected",DQ[DQ.EndOfFileExpected=9]="EndOfFileExpected",DQ[DQ.InvalidCommentToken=10]="InvalidCommentToken",DQ[DQ.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",DQ[DQ.UnexpectedEndOfString=12]="UnexpectedEndOfString",DQ[DQ.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",DQ[DQ.InvalidUnicode=14]="InvalidUnicode",DQ[DQ.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",DQ[DQ.InvalidCharacter=16]="InvalidCharacter","process"in globalThis&&"undefined"!=typeof process&&void 0!==process.release&&process;let m7="";const g7="dist/";let h7=null;const b7={light:"#333333",dark:"#bbbbbb"},y7={light:"#fffffe",dark:"#1e1e1e"};class _7{constructor(e,t){this.languagesPath="languages/",this.languageMap={},this.scopeToLangMap={},this._onigLibPromise=e,this._onigLibName=t}get onigLib(){return this._onigLibPromise}getOnigLibName(){return this._onigLibName}getLangRegistration(e){return this.languageMap[e]}async loadGrammar(e){const t=this.scopeToLangMap[e];if(!t)return null;if(t.grammar)return t.grammar;const n=await async function(e){return await km(e)}(d7.includes(t)?`${this.languagesPath}${t.path}`:t.path);return t.grammar=n,n}addLanguage(e){this.languageMap[e.id]=e,e.aliases&&e.aliases.forEach((t=>{this.languageMap[t]=e})),this.scopeToLangMap[e.scopeName]=e}}fH=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],mH={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"},gH={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};const v7={pre:({className:e,style:t,children:n})=>`
${n}
`,code:({children:e})=>`${e}`,line:({className:e,children:t})=>`${t}`,token:({style:e,children:t})=>`${t}`},w7={"&":"&","<":"<",">":">",'"':""","'":"'"};class k7 extends iH.Registry{constructor(e){super(e),this._resolver=e,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=d7.reduce(((e,t)=>(e[t.id]=t,e)),{})}getTheme(e){return"string"==typeof e?this._resolvedThemes[e]:e}async loadTheme(e){return"string"==typeof e?(this._resolvedThemes[e]||(this._resolvedThemes[e]=await xm(`${this.themesPath}${e}.json`)),this._resolvedThemes[e]):((e=Sm(e)).name&&(this._resolvedThemes[e.name]=e),e)}async loadThemes(e){return await Promise.all(e.map((e=>this.loadTheme(e))))}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(e){return this._resolvedGrammars[e]}async loadLanguage(e){var t;const n={embeddedLanguages:null==(t=e.embeddedLangs)?void 0:t.reduce((async(e,t,n)=>{if(!this.getLoadedLanguages().includes(t)&&this._resolver.getLangRegistration(t))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(t).scopeName),e[this._resolver.getLangRegistration(t).scopeName]=n+2,e}),{}),balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]},r=await this.loadGrammarWithConfiguration(e.scopeName,1,n);this._resolvedGrammars[e.id]=r,e.aliases&&e.aliases.forEach((e=>{this._resolvedGrammars[e]=r}))}async loadLanguages(e){for(const n of e)this.resolveEmbeddedLanguages(n);const t=Array.from(this._langGraph.values());for(const n of t)this._resolver.addLanguage(n);for(const n of t)await this.loadLanguage(n)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(e){if(this._langGraph.has(e.id)||this._langGraph.set(e.id,e),e.embeddedLangs)for(const t of e.embeddedLangs)this._langGraph.set(t,this._langMap[t])}}!function(e){m7=e.endsWith("/")?e:e+"/"}("https://cdn.jsdelivr.net/npm/shiki-es@0.14.0/dist/assets/");const x7=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,a={setState:r,getState:o,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{n.clear()}};return t=e(r,o,a),a};hH={exports:{}},bH={},yH={exports:{}},_H={},vH=a_,wH="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},kH=vH.useState,xH=vH.useEffect,SH=vH.useLayoutEffect,CH=vH.useDebugValue,EH="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=kH({inst:{value:n,getSnapshot:t}}),o=r[0].inst,a=r[1];return SH((function(){o.value=n,o.getSnapshot=t,Rm(o)&&a({inst:o})}),[e,n,t]),xH((function(){return Rm(o)&&a({inst:o}),e((function(){Rm(o)&&a({inst:o})}))}),[e]),CH(n),n},_H.useSyncExternalStore=void 0!==vH.useSyncExternalStore?vH.useSyncExternalStore:EH,yH.exports=_H,DH=a_,OH="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},jH=yH.exports.useSyncExternalStore,$H=DH.useRef,PH=DH.useEffect,NH=DH.useMemo,TH=DH.useDebugValue,bH.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var a,i,s=$H(null);return null===s.current?s.current=a={hasValue:!1,value:null}:a=s.current,s=NH((function(){function e(e){var t,n;return l?(t=s,OH(i,e)?t:(n=r(e),void 0!==o&&o(t,n)?t:(i=e,s=n))):(l=!0,i=e,e=r(e),s=void 0!==o&&a.hasValue&&o(t=a.value,e)?t:e)}var i,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]),i=jH(e,s[0],s[1]),PH((function(){a.hasValue=!0,a.value=i}),[i]),TH(i),i},hH.exports=bH;const S7=t(hH.exports),{useSyncExternalStoreWithSelector:C7}=S7,E7=e=>{const t="function"==typeof e?(e=>e?x7(e):x7)(e):e,n=(e,n)=>function(e,t=e.getState,n){const r=C7(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return a_.useDebugValue(r),r}(t,e,n);return Object.assign(n,t),n},D7=e=>e?E7(e):E7;IH={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"]}},AH=function(e){var t=e?"dark":"light",n=IH.gray[t][11],r=IH.gray[t][7],o=e?IH.red[t][9]:IH.volcano[t][9],a=e?IH.gold[t][9]:IH.orange[t][9],i=e?IH.lime[t][9]:IH.green[t][9],s=e?IH.blue[t][9]:IH.geekblue[t][9];return{colors:{"editor.foreground":n},name:t,semanticHighlighting:!0,semanticTokenColors:{"annotation:dart":{foreground:i},enumMember:{foreground:s},macro:{foreground:i},"parameter.label:dart":{foreground:r},"property:dart":{foreground:i},tomlArrayKey:{foreground:o},"variable.constant":{foreground:i},"variable.defaultLibrary":{foreground:o},"variable:dart":{foreground:i}},tokenColors:[{scope:"meta.embedded",settings:{foreground:r}},{name:"unison punctuation",scope:"punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison",settings:{foreground:n}},{name:"haskell variable generic-type",scope:"variable.other.generic-type.haskell",settings:{foreground:s}},{name:"haskell storage type",scope:"storage.type.haskell",settings:{foreground:i}},{name:"support.variable.magic.python",scope:"support.variable.magic.python",settings:{foreground:n}},{name:"punctuation.separator.parameters.python",scope:"punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python",settings:{foreground:r}},{name:"variable.parameter.function.language.special.self.python",scope:"variable.parameter.function.language.special.self.python",settings:{foreground:o}},{name:"variable.parameter.function.language.special.cls.python",scope:"variable.parameter.function.language.special.cls.python",settings:{foreground:o}},{name:"storage.modifier.lifetime.rust",scope:"storage.modifier.lifetime.rust",settings:{foreground:r}},{name:"support.function.std.rust",scope:"support.function.std.rust",settings:{foreground:a}},{name:"entity.name.lifetime.rust",scope:"entity.name.lifetime.rust",settings:{foreground:o}},{name:"variable.language.rust",scope:"variable.language.rust",settings:{foreground:n}},{name:"support.constant.edge",scope:"support.constant.edge",settings:{foreground:s}},{name:"regexp constant character-class",scope:"constant.other.character-class.regexp",settings:{foreground:n}},{name:"keyword.operator",scope:["keyword.operator.word"],settings:{foreground:s}},{name:"regexp operator.quantifier",scope:"keyword.operator.quantifier.regexp",settings:{foreground:i}},{name:"Text",scope:"variable.parameter.function",settings:{foreground:r}},{name:"Comment Markup Link",scope:"comment markup.link",settings:{foreground:r}},{name:"markup diff",scope:"markup.changed.diff",settings:{foreground:o}},{name:"diff",scope:"meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff",settings:{foreground:a}},{name:"inserted.diff",scope:"markup.inserted.diff",settings:{foreground:i}},{name:"deleted.diff",scope:"markup.deleted.diff",settings:{foreground:n}},{name:"c++ function",scope:"meta.function.c,meta.function.cpp",settings:{foreground:n}},{name:"c++ block",scope:"punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c",settings:{foreground:r}},{name:"js/ts punctuation separator key-value",scope:"punctuation.separator.key-value",settings:{foreground:r}},{name:"js/ts import keyword",scope:"keyword.operator.expression.import",settings:{foreground:a}},{name:"math js/ts",scope:"support.constant.math",settings:{foreground:o}},{name:"math property js/ts",scope:"support.constant.property.math",settings:{foreground:i}},{name:"js/ts variable.other.constant",scope:"variable.other.constant",settings:{foreground:o}},{name:"java type",scope:["storage.type.annotation.java","storage.type.object.array.java"],settings:{foreground:o}},{name:"java source",scope:"source.java",settings:{foreground:n}},{name:"java modifier.import",scope:"punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java",settings:{foreground:r}},{name:"java modifier.import",scope:"meta.method.java",settings:{foreground:a}},{name:"java modifier.import",scope:"storage.modifier.import.java,storage.type.java,storage.type.generic.java",settings:{foreground:o}},{name:"java instanceof",scope:"keyword.operator.instanceof.java",settings:{foreground:s}},{name:"java variable.name",scope:"meta.definition.variable.name.java",settings:{foreground:n}},{name:"operator logical",scope:"keyword.operator.logical",settings:{foreground:s}},{name:"operator bitwise",scope:"keyword.operator.bitwise",settings:{foreground:s}},{name:"operator channel",scope:"keyword.operator.channel",settings:{foreground:s}},{name:"support.constant.property-value.scss",scope:"support.constant.property-value.scss,support.constant.property-value.css",settings:{foreground:i}},{name:"CSS/SCSS/LESS Operators",scope:"keyword.operator.css,keyword.operator.scss,keyword.operator.less",settings:{foreground:s}},{name:"css color standard name",scope:"support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss",settings:{foreground:i}},{name:"css comma",scope:"punctuation.separator.list.comma.css",settings:{foreground:r}},{name:"css attribute-name.id",scope:"support.constant.color.w3c-standard-color-name.css",settings:{foreground:i}},{name:"css property-name",scope:"support.type.vendored.property-name.css",settings:{foreground:s}},{name:"js/ts module",scope:"support.module.node,support.type.object.module,support.module.node",settings:{foreground:o}},{name:"entity.name.type.module",scope:"entity.name.type.module",settings:{foreground:o}},{name:"js variable readwrite",scope:"variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node",settings:{foreground:n}},{name:"js/ts json",scope:"support.constant.json",settings:{foreground:i}},{name:"js/ts Keyword",scope:["keyword.operator.expression.instanceof","keyword.operator.new","keyword.operator.ternary","keyword.operator.optional","keyword.operator.expression.keyof"],settings:{foreground:s}},{name:"js/ts console",scope:"support.type.object.console",settings:{foreground:n}},{name:"js/ts support.variable.property.process",scope:"support.variable.property.process",settings:{foreground:i}},{name:"js console function",scope:"entity.name.function,support.function.console",settings:{foreground:a}},{name:"keyword.operator.misc.rust",scope:"keyword.operator.misc.rust",settings:{foreground:r}},{name:"keyword.operator.sigil.rust",scope:"keyword.operator.sigil.rust",settings:{foreground:s}},{name:"operator",scope:"keyword.operator.delete",settings:{foreground:s}},{name:"js dom",scope:"support.type.object.dom",settings:{foreground:s}},{name:"js dom variable",scope:"support.variable.dom,support.variable.property.dom",settings:{foreground:n}},{name:"keyword.operator",scope:"keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational",settings:{foreground:s}},{name:"C operator assignment",scope:"keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp",settings:{foreground:s}},{name:"Punctuation",scope:"punctuation.separator.delimiter",settings:{foreground:r}},{name:"Other punctuation .c",scope:"punctuation.separator.c,punctuation.separator.cpp",settings:{foreground:s}},{name:"C type posix-reserved",scope:"support.type.posix-reserved.c,support.type.posix-reserved.cpp",settings:{foreground:s}},{name:"keyword.operator.sizeof.c",scope:"keyword.operator.sizeof.c,keyword.operator.sizeof.cpp",settings:{foreground:s}},{name:"python parameter",scope:"variable.parameter.function.language.python",settings:{foreground:i}},{name:"python type",scope:"support.type.python",settings:{foreground:s}},{name:"python logical",scope:"keyword.operator.logical.python",settings:{foreground:s}},{name:"pyCs",scope:"variable.parameter.function.python",settings:{foreground:i}},{name:"python block",scope:"punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python",settings:{foreground:r}},{name:"python function-call.generic",scope:"meta.function-call.generic.python",settings:{foreground:a}},{name:"python placeholder reset to normal string",scope:"constant.character.format.placeholder.other.python",settings:{foreground:i}},{name:"Operators",scope:"keyword.operator",settings:{foreground:r}},{name:"Compound Assignment Operators",scope:"keyword.operator.assignment.compound",settings:{foreground:s}},{name:"Compound Assignment Operators js/ts",scope:"keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts",settings:{foreground:s}},{name:"Keywords",scope:"keyword",settings:{foreground:s}},{name:"Namespaces",scope:"entity.name.namespace",settings:{foreground:o}},{name:"Variables",scope:"variable",settings:{foreground:n}},{name:"Variables",scope:"variable.c",settings:{foreground:r}},{name:"Language variables",scope:"variable.language",settings:{foreground:o}},{name:"Java Variables",scope:"token.variable.parameter.java",settings:{foreground:r}},{name:"Java Imports",scope:"import.storage.java",settings:{foreground:o}},{name:"Packages",scope:"token.package.keyword",settings:{foreground:s}},{name:"Packages",scope:"token.package",settings:{foreground:r}},{name:"Functions",scope:["entity.name.function","meta.require","support.function.any-method","variable.function"],settings:{foreground:a}},{name:"Classes",scope:"entity.name.type.namespace",settings:{foreground:o}},{name:"Classes",scope:"support.class, entity.name.type.class",settings:{foreground:o}},{name:"Class name",scope:"entity.name.class.identifier.namespace.type",settings:{foreground:o}},{name:"Class name",scope:["entity.name.class","variable.other.class.js","variable.other.class.ts"],settings:{foreground:o}},{name:"Class name php",scope:"variable.other.class.php",settings:{foreground:n}},{name:"Type Name",scope:"entity.name.type",settings:{foreground:o}},{name:"Keyword Control",scope:"keyword.control",settings:{foreground:s}},{name:"Control Elements",scope:"control.elements, keyword.operator.less",settings:{foreground:i}},{name:"Methods",scope:"keyword.other.special-method",settings:{foreground:a}},{name:"Storage",scope:"storage",settings:{foreground:s}},{name:"Storage JS TS",scope:"token.storage",settings:{foreground:s}},{name:"Source Js Keyword Operator Delete,source Js Keyword Operator In,source Js Keyword Operator Of,source Js Keyword Operator Instanceof,source Js Keyword Operator New,source Js Keyword Operator Typeof,source Js Keyword Operator Void",scope:"keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void",settings:{foreground:s}},{name:"Java Storage",scope:"token.storage.type.java",settings:{foreground:o}},{name:"Support",scope:"support.function",settings:{foreground:s}},{name:"Support type",scope:"support.type.property-name",settings:{foreground:r}},{name:"[VSCODE-CUSTOM] toml support",scope:"support.type.property-name.toml, support.type.property-name.table.toml, support.type.property-name.array.toml",settings:{foreground:n}},{name:"Support type",scope:"support.constant.property-value",settings:{foreground:r}},{name:"Support type",scope:"support.constant.font-name",settings:{foreground:i}},{name:"Meta tag",scope:"meta.tag",settings:{foreground:r}},{name:"Strings",scope:"string",settings:{foreground:i}},{name:"Constant other symbol",scope:"constant.other.symbol",settings:{foreground:s}},{name:"Integers",scope:"constant.numeric",settings:{foreground:i}},{name:"Constants",scope:"constant",settings:{foreground:i}},{name:"Constants",scope:"punctuation.definition.constant",settings:{foreground:i}},{name:"Tags",scope:"entity.name.tag",settings:{foreground:n}},{name:"Attributes",scope:"entity.other.attribute-name",settings:{foreground:i}},{name:"Attribute IDs",scope:"entity.other.attribute-name.id",settings:{foreground:a}},{name:"Attribute class",scope:"entity.other.attribute-name.class.css",settings:{foreground:i}},{name:"Selector",scope:"meta.selector",settings:{foreground:s}},{name:"Headings",scope:"markup.heading",settings:{fontStyle:"bold"}},{name:"FencedCode",scope:"punctuation.definition.markdown, fenced_code.block.language.markdown",settings:{foreground:o}},{name:"Headings",scope:"markup.heading punctuation.definition.heading, entity.name.section",settings:{foreground:a}},{name:"Units",scope:"keyword.other.unit",settings:{foreground:n}},{name:"Bold",scope:"markup.bold,todo.bold",settings:{foreground:i}},{name:"Bold",scope:"punctuation.definition.bold",settings:{foreground:o}},{name:"markup Italic",scope:"markup.italic, punctuation.definition.italic,todo.emphasis",settings:{foreground:s}},{name:"emphasis md",scope:"emphasis md",settings:{foreground:s}},{name:"[VSCODE-CUSTOM] Markdown headings",scope:"entity.name.section.markdown",settings:{foreground:n}},{name:"[VSCODE-CUSTOM] Markdown heading Punctuation Definition",scope:"punctuation.definition.heading.markdown",settings:{foreground:n}},{name:"punctuation.definition.list.begin.markdown",scope:"punctuation.definition.list.begin.markdown",settings:{foreground:o}},{name:"[VSCODE-CUSTOM] Markdown heading setext",scope:"markup.heading.setext",settings:{foreground:r}},{name:"[VSCODE-CUSTOM] Markdown Punctuation Definition Bold",scope:"punctuation.definition.bold.markdown",settings:{foreground:i}},{name:"[VSCODE-CUSTOM] Markdown Inline Raw",scope:"markup.inline.raw.markdown",settings:{foreground:i}},{name:"[VSCODE-CUSTOM] Markdown Inline Raw",scope:"markup.inline.raw.string.markdown",settings:{foreground:i}},{name:"[VSCODE-CUSTOM] Markdown Inline Raw punctuation",scope:"punctuation.definition.raw.markdown",settings:{foreground:o}},{name:"[VSCODE-CUSTOM] Markdown List Punctuation Definition",scope:"punctuation.definition.list.markdown",settings:{foreground:o}},{name:"[VSCODE-CUSTOM] Markdown Punctuation Definition String",scope:["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown","punctuation.definition.metadata.markdown"],settings:{foreground:n}},{name:"beginning.punctuation.definition.list.markdown",scope:["beginning.punctuation.definition.list.markdown"],settings:{foreground:n}},{name:"[VSCODE-CUSTOM] Markdown Punctuation Definition Link",scope:"punctuation.definition.metadata.markdown",settings:{foreground:n}},{name:"[VSCODE-CUSTOM] Markdown Underline Link/Image",scope:"markup.underline.link.markdown,markup.underline.link.image.markdown",settings:{foreground:s}},{name:"[VSCODE-CUSTOM] Markdown Link Title/Description",scope:"string.other.link.title.markdown,string.other.link.description.markdown",settings:{foreground:a}},{name:"[VSCODE-CUSTOM] Asciidoc Inline Raw",scope:"markup.raw.monospace.asciidoc",settings:{foreground:i}},{name:"[VSCODE-CUSTOM] Asciidoc Inline Raw Punctuation Definition",scope:"punctuation.definition.asciidoc",settings:{foreground:o}},{name:"[VSCODE-CUSTOM] Asciidoc List Punctuation Definition",scope:"markup.list.asciidoc",settings:{foreground:o}},{name:"[VSCODE-CUSTOM] Asciidoc underline link",scope:"markup.link.asciidoc,markup.other.url.asciidoc",settings:{foreground:s}},{name:"[VSCODE-CUSTOM] Asciidoc link name",scope:"string.unquoted.asciidoc,markup.other.url.asciidoc",settings:{foreground:a}},{name:"Regular Expressions",scope:"string.regexp",settings:{foreground:s}},{name:"Embedded",scope:"punctuation.section.embedded, variable.interpolation",settings:{foreground:n}},{name:"Embedded",scope:"punctuation.section.embedded.begin,punctuation.section.embedded.end",settings:{foreground:s}},{name:"illegal",scope:"invalid.illegal",settings:{foreground:n}},{name:"illegal",scope:"invalid.illegal.bad-ampersand.html",settings:{foreground:r}},{scope:"invalid.illegal.unrecognized-tag.html",settings:{foreground:n}},{name:"Broken",scope:"invalid.broken",settings:{foreground:n}},{name:"Deprecated",scope:"invalid.deprecated",settings:{foreground:n}},{name:"html Deprecated",scope:"invalid.deprecated.entity.other.attribute-name.html",settings:{foreground:i}},{name:"Unimplemented",scope:"invalid.unimplemented",settings:{foreground:n}},{name:"Source Json Meta Structure Dictionary Json > String Quoted Json",scope:"source.json meta.structure.dictionary.json > string.quoted.json",settings:{foreground:n}},{name:"Source Json Meta Structure Dictionary Json > String Quoted Json > Punctuation String",scope:"source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string",settings:{foreground:n}},{name:"Source Json Meta Structure Dictionary Json > Value Json > String Quoted Json,source Json Meta Structure Array Json > Value Json > String Quoted Json,source Json Meta Structure Dictionary Json > Value Json > String Quoted Json > Punctuation,source Json Meta Structure Array Json > Value Json > String Quoted Json > Punctuation",scope:"source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation",settings:{foreground:i}},{name:"Source Json Meta Structure Dictionary Json > Constant Language Json,source Json Meta Structure Array Json > Constant Language Json",scope:"source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json",settings:{foreground:s}},{name:"[VSCODE-CUSTOM] JSON Property Name",scope:"support.type.property-name.json",settings:{foreground:n}},{name:"[VSCODE-CUSTOM] JSON Punctuation for Property Name",scope:"support.type.property-name.json punctuation",settings:{foreground:n}},{name:"laravel blade tag",scope:"text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade",settings:{foreground:s}},{name:"laravel blade @",scope:"text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade",settings:{foreground:s}},{name:"use statement for other classes",scope:"support.other.namespace.use.php,support.other.namespace.use-as.php,entity.other.alias.php,meta.interface.php",settings:{foreground:o}},{name:"error suppression",scope:"keyword.operator.error-control.php",settings:{foreground:s}},{name:"php instanceof",scope:"keyword.operator.type.php",settings:{foreground:s}},{name:"style double quoted array index normal begin",scope:"punctuation.section.array.begin.php",settings:{foreground:r}},{name:"style double quoted array index normal end",scope:"punctuation.section.array.end.php",settings:{foreground:r}},{name:"php illegal.non-undefined-typehinted",scope:"invalid.illegal.non-undefined-typehinted.php",settings:{foreground:o}},{name:"php types",scope:"storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php",settings:{foreground:o}},{name:"php call-function",scope:"meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php",settings:{foreground:a}},{name:"php function-resets",scope:"punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php",settings:{foreground:r}},{name:"support php constants",scope:"support.constant.core.rust",settings:{foreground:i}},{name:"support php constants",scope:"support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php",settings:{foreground:i}},{name:"php goto",scope:"entity.name.goto-label.php,support.other.php",settings:{foreground:a}},{name:"php logical/bitwise operator",scope:"keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php",settings:{foreground:s}},{name:"php regexp operator",scope:"keyword.operator.regexp.php",settings:{foreground:s}},{name:"php comparison",scope:"keyword.operator.comparison.php",settings:{foreground:s}},{name:"php heredoc/nowdoc",scope:"keyword.operator.heredoc.php,keyword.operator.nowdoc.php",settings:{foreground:s}},{name:"python function decorator @",scope:"meta.function.decorator.python",settings:{foreground:a}},{name:"python function support",scope:"support.token.decorator.python,meta.function.decorator.identifier.python",settings:{foreground:s}},{name:"parameter function js/ts",scope:"function.parameter",settings:{foreground:r}},{name:"brace function",scope:"function.brace",settings:{foreground:r}},{name:"parameter function ruby cs",scope:"function.parameter.ruby, function.parameter.cs",settings:{foreground:r}},{name:"constant.language.symbol.ruby",scope:"constant.language.symbol.ruby",settings:{foreground:s}},{name:"constant.language.symbol.hashkey.ruby",scope:"constant.language.symbol.hashkey.ruby",settings:{foreground:s}},{name:"rgb-value",scope:"rgb-value",settings:{foreground:s}},{name:"rgb value",scope:"inline-color-decoration rgb-value",settings:{foreground:i}},{name:"rgb value less",scope:"less rgb-value",settings:{foreground:i}},{name:"sass selector",scope:"selector.sass",settings:{foreground:n}},{name:"ts primitive/builtin types",scope:"support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx",settings:{foreground:o}},{name:"block scope",scope:"block.scope.end,block.scope.begin",settings:{foreground:r}},{name:"cs storage type",scope:"storage.type.cs",settings:{foreground:o}},{name:"cs local variable",scope:"entity.name.variable.local.cs",settings:{foreground:n}},{scope:"token.info-token",settings:{foreground:a}},{scope:"token.warn-token",settings:{foreground:i}},{scope:"token.error-token",settings:{foreground:o}},{scope:"token.debug-token",settings:{foreground:s}},{name:"String interpolation",scope:["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded"],settings:{foreground:s}},{name:"Reset JavaScript string interpolation expression",scope:["meta.template.expression"],settings:{foreground:r}},{name:"Import module JS",scope:["keyword.operator.module"],settings:{foreground:s}},{name:"js Flowtype",scope:["support.type.type.flowtype"],settings:{foreground:a}},{name:"js Flow",scope:["support.type.primitive"],settings:{foreground:o}},{name:"js class prop",scope:["meta.property.object"],settings:{foreground:n}},{name:"js func parameter",scope:["variable.parameter.function.js"],settings:{foreground:n}},{name:"js template literals begin",scope:["keyword.other.template.begin"],settings:{foreground:i}},{name:"js template literals end",scope:["keyword.other.template.end"],settings:{foreground:i}},{name:"js template literals variable braces begin",scope:["keyword.other.substitution.begin"],settings:{foreground:i}},{name:"js template literals variable braces end",scope:["keyword.other.substitution.end"],settings:{foreground:i}},{name:"js operator.assignment",scope:["keyword.operator.assignment"],settings:{foreground:s}},{name:"go operator",scope:["keyword.operator.assignment.go"],settings:{foreground:o}},{name:"go operator",scope:["keyword.operator.arithmetic.go","keyword.operator.address.go"],settings:{foreground:s}},{name:"Go package name",scope:["entity.name.package.go"],settings:{foreground:o}},{name:"elm prelude",scope:["support.type.prelude.elm"],settings:{foreground:s}},{name:"elm constant",scope:["support.constant.elm"],settings:{foreground:i}},{name:"template literal",scope:["punctuation.quasi.element"],settings:{foreground:s}},{name:"html/pug (jade) escaped characters and entities",scope:["constant.character.entity"],settings:{foreground:n}},{name:"styling css pseudo-elements/classes to be able to differentiate from classes which are the same colour",scope:["entity.other.attribute-name.pseudo-element","entity.other.attribute-name.pseudo-class"],settings:{foreground:s}},{name:"Clojure globals",scope:["entity.global.clojure"],settings:{foreground:o}},{name:"Clojure symbols",scope:["meta.symbol.clojure"],settings:{foreground:n}},{name:"Clojure constants",scope:["constant.keyword.clojure"],settings:{foreground:s}},{name:"CoffeeScript Function Argument",scope:["meta.arguments.coffee","variable.parameter.function.coffee"],settings:{foreground:n}},{name:"Ini Default Text",scope:["source.ini"],settings:{foreground:i}},{name:"Makefile prerequisities",scope:["meta.scope.prerequisites.makefile"],settings:{foreground:n}},{name:"Makefile text colour",scope:["source.makefile"],settings:{foreground:o}},{name:"Groovy import names",scope:["storage.modifier.import.groovy"],settings:{foreground:o}},{name:"Groovy Methods",scope:["meta.method.groovy"],settings:{foreground:a}},{name:"Groovy Variables",scope:["meta.definition.variable.name.groovy"],settings:{foreground:n}},{name:"Groovy Inheritance",scope:["meta.definition.class.inherited.classes.groovy"],settings:{foreground:i}},{name:"HLSL Semantic",scope:["support.variable.semantic.hlsl"],settings:{foreground:o}},{name:"HLSL Types",scope:["support.type.texture.hlsl","support.type.sampler.hlsl","support.type.object.hlsl","support.type.object.rw.hlsl","support.type.fx.hlsl","support.type.object.hlsl"],settings:{foreground:s}},{name:"SQL Variables",scope:["text.variable","text.bracketed"],settings:{foreground:n}},{name:"types",scope:["support.type.swift","support.type.vb.asp"],settings:{foreground:o}},{name:"heading 1, keyword",scope:["entity.name.function.xi"],settings:{foreground:o}},{name:"heading 2, callable",scope:["entity.name.class.xi"],settings:{foreground:s}},{name:"heading 3, property",scope:["constant.character.character-class.regexp.xi"],settings:{foreground:n}},{name:"heading 4, type, class, interface",scope:["constant.regexp.xi"],settings:{foreground:s}},{name:"heading 5, enums, preprocessor, constant, decorator",scope:["keyword.control.xi"],settings:{foreground:s}},{name:"heading 6, number",scope:["invalid.xi"],settings:{foreground:r}},{name:"string",scope:["beginning.punctuation.definition.quote.markdown.xi"],settings:{foreground:i}},{name:"comments",scope:["beginning.punctuation.definition.list.markdown.xi"],settings:{foreground:r}},{name:"link",scope:["constant.character.xi"],settings:{foreground:a}},{name:"accent",scope:["accent.xi"],settings:{foreground:a}},{name:"wikiword",scope:["wikiword.xi"],settings:{foreground:i}},{name:"language operators like '+', '-' etc",scope:["constant.other.color.rgb-value.xi"],settings:{foreground:n}},{name:"elements to dim",scope:["punctuation.definition.tag.xi"],settings:{foreground:r}},{name:"C++/C#",scope:["entity.name.label.cs","entity.name.scope-resolution.function.call","entity.name.scope-resolution.function.definition"],settings:{foreground:o}},{name:"Markdown underscore-style headers",scope:["entity.name.label.cs","markup.heading.setext.1.markdown","markup.heading.setext.2.markdown"],settings:{foreground:n}},{name:"meta.brace.square",scope:[" meta.brace.square"],settings:{foreground:r}},{name:"Comments",scope:"comment, punctuation.definition.comment",settings:{fontStyle:"italic",foreground:r}},{name:"[VSCODE-CUSTOM] Markdown Quote",scope:"markup.quote.markdown",settings:{foreground:r}},{name:"punctuation.definition.block.sequence.item.yaml",scope:"punctuation.definition.block.sequence.item.yaml",settings:{foreground:r}},{scope:["constant.language.symbol.elixir","constant.language.symbol.double-quoted.elixir"],settings:{foreground:s}},{scope:["entity.name.variable.parameter.cs"],settings:{foreground:o}},{scope:["entity.name.variable.field.cs"],settings:{foreground:n}},{name:"Deleted",scope:"markup.deleted",settings:{foreground:n}},{name:"Inserted",scope:"markup.inserted",settings:{foreground:i}},{name:"Underline",scope:"markup.underline",settings:{fontStyle:"underline"}},{name:"punctuation.section.embedded.begin.php",scope:["punctuation.section.embedded.begin.php","punctuation.section.embedded.end.php"],settings:{foreground:o}},{name:"support.other.namespace.php",scope:["support.other.namespace.php"],settings:{foreground:r}},{name:"variable.other.object",scope:["variable.other.object"],settings:{foreground:o}},{name:"variable.other.constant.property",scope:["variable.other.constant.property"],settings:{foreground:n}},{name:"entity.other.inherited-class",scope:["entity.other.inherited-class"],settings:{foreground:o}},{name:"c variable readwrite",scope:"variable.other.readwrite.c",settings:{foreground:n}},{name:"php scope",scope:"entity.name.variable.parameter.php,punctuation.separator.colon.php,constant.other.php",settings:{foreground:r}},{name:"Assembly",scope:["constant.numeric.decimal.asm.x86_64"],settings:{foreground:s}},{scope:["support.other.parenthesis.regexp"],settings:{foreground:i}},{scope:["constant.character.escape"],settings:{foreground:s}},{scope:["string.regexp"],settings:{foreground:n}},{scope:["log.info"],settings:{foreground:i}},{scope:["log.warning"],settings:{foreground:o}},{scope:["log.error"],settings:{foreground:n}},{name:"js/ts italic",scope:"entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super",settings:{fontStyle:"italic"}},{name:"comment",scope:"comment.line.double-slash,comment.block.documentation",settings:{fontStyle:"italic"}},{name:"Python Keyword Control",scope:"keyword.control.import.python,keyword.control.flow.python,keyword.operator.logical.python",settings:{fontStyle:"italic"}},{name:"markup.italic.markdown",scope:"markup.italic.markdown",settings:{fontStyle:"italic"}}],type:t}},RH=["javascript","js","jsx","json","markdown","md","less","css","typescript","ts","tsx","diff","bash"],FH=D7((function(e,t){return{codeToHtml:function(e,n,r){var o=t().highlighter;if(!o)return"";try{return null==o?void 0:o.codeToHtml(e,{lang:n,theme:r?"dark":"light"})}catch(a){return e}},highlighter:void 0,initHighlighter:(n=mc(u7.mark((function n(r){return u7.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t().highlighter){n.next=5;break}return n.next=3,Am({langs:(null==r?void 0:r.langs)||RH,themes:(null==r?void 0:r.themes)||[AH(!0),AH(!1)]});case 3:e({highlighter:n.sent});case 5:case"end":return n.stop()}}),n)}))),function(e){return n.apply(this,arguments)})};var n})),BH=QA((function(e){var t=e.css,n=e.token,r=e.cx,o=e.stylish,a="".concat(e.prefixCls,"-highlighter");return{loading:r(o.blur,t(MH||(MH=Da(["\n position: absolute;\n z-index: 10;\n top: 0;\n right: 0;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n height: 34px;\n padding: 0 8px;\n\n font-family: ",";\n color: ",";\n\n border-radius: ",";\n "])),n.fontFamilyCode,n.colorTextTertiary,n.borderRadius)),prism:t(LH||(LH=Da(["\n pre {\n overflow: auto;\n font-family: "," !important;\n }\n "])),n.fontFamilyCode),shiki:r("".concat(a,"-shiki"),t(zH||(zH=Da(["\n margin: 0;\n padding: 0;\n\n .shiki {\n overflow-x: auto;\n margin: 0;\n padding: 0;\n background: none !important;\n }\n "]))))}}));const O7=a_.memo((function(e){var t=e.children,n=e.language,r=e.options,o=BH().styles,a=jA().isDarkMode,i=qi(FH((function(e){return[e.codeToHtml,!e.highlighter]}),ka),2),s=i[0],l=i[1];return a_.useEffect((function(){FH.getState().initHighlighter(r)}),[r]),p_.jsxs(p_.Fragment,{children:[l?p_.jsx("code",{children:t}):p_.jsx("div",{className:o.shiki,dangerouslySetInnerHTML:{__html:s(t,n,a)||""}}),l&&p_.jsxs(r7,{className:o.loading,gap:8,horizontal:!0,children:[p_.jsx(W8,{icon:TJ,spin:!0}),"Highlighting..."]})]})}));HH=globalThis&&globalThis.__extends||(OQ=function(e,t){return(OQ=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}OQ(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),UH=globalThis&&globalThis.__assign||function(){return UH=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),a=ZA(pU||(pU=Da(["\n position: absolute;\n z-index: 200;\n "])));return{bottomFloat:eR(a,ZA(fU||(fU=Da(["\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n "])))),bottomHandle:eR("".concat(PU,"-bottom-handle"),ZA(mU||(mU=Da(["\n ",";\n\n &::before {\n bottom: 50%;\n width: 100%;\n height: 2px;\n }\n "])),r)),container:eR(PU,ZA(gU||(gU=Da(["\n flex-shrink: 0;\n border: 0 solid ",";\n\n &:hover {\n .","-toggle {\n opacity: 1;\n }\n }\n "])),n.colorBorderSecondary,PU)),fixed:ZA(hU||(hU=Da(["\n position: relative;\n "]))),fullscreen:ZA(bU||(bU=Da(["\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:ZA(yU||(yU=Da(["\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s ",";\n "])),n.motionEaseOut),leftFloat:eR(a,ZA(_U||(_U=Da(["\n top: ","px;\n bottom: 0;\n left: 0;\n height: calc(100% - ","px);\n "])),t,t)),leftHandle:eR(ZA(vU||(vU=Da(["\n ",";\n\n &::before {\n left: 50%;\n width: 2px;\n height: 100%;\n }\n "])),r),"".concat(PU,"-left-handle")),panel:eR("".concat(PU,"-fixed"),ZA(wU||(wU=Da(["\n overflow: hidden;\n transition: all 0.2s ",";\n "])),n.motionEaseOut)),rightFloat:eR(a,ZA(kU||(kU=Da(["\n top: ","px;\n right: 0;\n bottom: 0;\n height: calc(100% - ","px);\n "])),t,t)),rightHandle:eR(ZA(xU||(xU=Da(["\n ",";\n &::before {\n right: 50%;\n width: 2px;\n height: 100%;\n }\n "])),r),"".concat(PU,"-right-handle")),toggleBottom:eR("".concat(PU,"-toggle"),"".concat(PU,"-toggle-bottom"),o,ZA(SU||(SU=Da(["\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,$U,40)),toggleLeft:eR("".concat(PU,"-toggle"),"".concat(PU,"-toggle-left"),o,ZA(CU||(CU=Da(["\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,$U,$U,40)),toggleRight:eR("".concat(PU,"-toggle"),"".concat(PU,"-toggle-right"),o,ZA(EU||(EU=Da(["\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,$U,$U,40)),toggleTop:eR("".concat(PU,"-toggle"),"".concat(PU,"-toggle-top"),o,ZA(DU||(DU=Da(["\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,$U,40,$U)),topFloat:eR(a,ZA(OU||(OU=Da(["\n top: ","px;\n right: 0;\n left: 0;\n width: 100%;\n "])),t)),topHandle:eR("".concat(PU,"-top-handle"),ZA(jU||(jU=Da(["\n ",";\n\n &::before {\n top: 50%;\n width: 100%;\n height: 2px;\n }\n "])),r))}})),TU=function(e){switch(e){case"bottom":return"top";case"top":return"bottom";case"right":return"left";case"left":return"right"}};const j7=a_.memo((function(e){var t,n,r,o,a,i,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,j=e.fullscreen,$=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,q=e.onSizeChange,V=e.onSizeDragging,G=e.expandable,X=void 0===G||G,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,ae=a_.useRef(),ie=(b=ae,_=(y={}).onEnter,v=y.onLeave,w=y.onChange,k=nm(function(e){var t,n,r,o;return void 0===e&&(e=!1),t=nm(function(e){var t,n;return void 0===e&&(e=!1),t=nm(a_.useState(e),2),n=t[1],[t[0],a_.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],a_.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,pm("mouseenter",(function(){null==_||_(),C(),null==w||w(!0)}),{target:b}),pm("mouseleave",(function(){null==v||v(),E(),null==w||w(!1)}),{target:b}),x),se="top"===F||"bottom"===F,le=NU(O),ce=le.styles,ue=le.cx,de=qi(cf(Q,{onChange:J,value:K}),2),pe=de[0],fe=de[1];return a_.useEffect((function(){N||(ie&&!pe?fe(!0):!ie&&pe&&fe(!1))}),[N,ie,pe]),n=(t=qi(a_.useState(!0),2))[0],r=t[1],a=(o=qi(a_.useState(!1),2))[0],i=o[1],l=a_.useMemo((function(){return s?Ca({},TU(F),ce["".concat(TU(F),"Handle")]):{}}),[s=!1!==M&&pe,F]),c=Mm(Ca({bottom:!1,bottomLeft:!1,bottomRight:!1,left:!1,right:!1,top:!1,topLeft:!1,topRight:!1},TU(F),!0),M),u=a_.useMemo((function(){return Mm(se?{height:180,width:"100%"}:{height:"100%",width:280},B)}),[se]),d=pe?{defaultSize:u,maxHeight:"number"==typeof $?Math.max($,0):$,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=a_.useMemo((function(){switch(F){case"top":return{Arrow:CJ,className:"Bottom"};case"bottom":return{Arrow:OJ,className:"Top"};case"right":return{Arrow:EJ,className:"Left"};case"left":return{Arrow:DJ,className:"Right"}}}),[ce,F])).Arrow,g=p_.jsx(r7,{className:ue(ce["toggle".concat(m=p.className)],oe.handle),style:{opacity:pe?N?void 0:0:ee?1:0},children:p_.jsx(r7,{onClick:function(){fe(!pe)},style:ne,children:p_.jsx("div",{className:ce.handlerIcon,style:{transform:"rotate(".concat(pe?180:0,"deg)")},children:p_.jsx(f,{size:16,strokeWidth:1.5})})})}),h=p_.jsx(cU,Mm(Mm({},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(){i(!0),r(!1)},onResizeStop:function(e,t,n,o){i(!1),r(!0),null==q||q(o,{height:n.style.height,width:n.style.width})},style:Mm({transition:a?"unset":void 0},L),children:A})),j?p_.jsx("div",{className:ue(ce.fullscreen,Z),children:A}):p_.jsxs("aside",{className:ue(ce.container,ce["fixed"===I?"fixed":"".concat(F,"Float")],Z),ref:ae,style:pe?Ca({},"border".concat(m,"Width"),1):{},children:[X&&n&&g,te?pe&&h:h]})}));MU=QA((function(e){var t=e.css,n=e.token;return{body:t(IU||(IU=Da(["\n overflow-x: hidden;\n overflow-y: auto;\n flex: 1;\n padding: 16px;\n "]))),container:t(AU||(AU=Da(["\n position: relative;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n "]))),footer:t(RU||(RU=Da(["\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(FU||(FU=Da(["\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)}})),LU=["className","children"];const $7=a_.memo((function(e){var t=e.className,n=e.children,r=Ea(e,LU),o=MU();return p_.jsx("div",zm(zm({className:(0,o.cx)(o.styles.body,t)},r),{},{children:n}))}));zU=["className","children"];const P7=a_.memo((function(e){var t=e.className,n=e.children,r=Ea(e,zU),o=MU();return p_.jsx("div",Hm(Hm({className:(0,o.cx)(o.styles.container,t)},r),{},{children:n}))}));BU=["className","children"];const N7=a_.memo((function(e){var t=e.className,n=e.children,r=Ea(e,BU),o=MU();return p_.jsx("div",Wm(Wm({className:(0,o.cx)(o.styles.footer,t)},r),{},{children:n}))}));HU=["pin","setPin","className","setExpand","title","position"];const T7=a_.memo((function(e){var t=e.pin,n=e.setPin,r=e.className,o=e.setExpand,a=e.title,i=e.position,s=void 0===i?"left":i,l=Ea(e,HU),c=MU(),u=c.cx,d=c.styles,p=p_.jsx(G8,{icon:MJ,onClick:function(){return o(!1)},size:{blockSize:24,fontSize:14}}),f=p_.jsx(G8,{active:t,icon:t?BJ:zJ,onClick:function(){return n(!t)},size:{blockSize:24,fontSize:14}});return p_.jsxs("div",Vm(Vm({className:u(d.header,r)},l),{},{children:["left"===s?p:f,a,"left"===s?f:p]}))}));UU=function e(t,n){var r,o,a,i;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=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,a[o]))return!1;for(o=r;0!=o--;)if(!e(t[i=a[o]],n[i]))return!1;return!0}return t!=t&&n!=n};const I7=t(UU),A7=new Map,R7=e=>{const t=A7.get(e);return t?Object.fromEntries(Object.entries(t.stores).map((([e,t])=>[e,t.getState()]))):{}},F7=(e,t)=>{let n;try{n=JSON.parse(e)}catch(kQ){}void 0!==n&&t(n)};WU=function(e){var t=document.createElement("link");return t.rel="stylesheet",t.href=e,t};const M7=a_.memo((function(e){var t=e.url;return a_.useEffect((function(){var e=WU(t);document.head.append(e)}),[]),!1}));qU=function(e){var t=e.prefixCls,n=e.icon,r=e.title,o=e.items,a=void 0===o?[]:o,i=e.style,s=e.className;return gJ.createElement("div",{className:QJ("".concat(t,"-column"),s),style:i},(r||n)&&gJ.createElement("h2",null,n&&gJ.createElement("span",{className:"".concat(t,"-column-icon")},n),r),a.map((function(e,n){var r=e.LinkComponent||"a";return gJ.createElement("div",{className:QJ("".concat(t,"-item"),e.className),style:e.style,key:n},gJ.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&&gJ.createElement("span",{className:"".concat(t,"-item-icon")},e.icon),e.title),e.description&&gJ.createElement(gJ.Fragment,null,gJ.createElement("span",{className:"".concat(t,"-item-separator")},"-"),gJ.createElement("span",{className:"".concat(t,"-item-description")},e.description)))})))},VU=["prefixCls","className","style","bottom","columns","maxColumnsPerRow","backgroundColor","columnLayout","theme"],GU=function(e){var t=e.prefixCls,n=void 0===t?"rc-footer":t,r=e.className,o=e.style,a=e.bottom,i=e.columns,s=e.maxColumnsPerRow,l=e.backgroundColor,c=e.columnLayout,u=e.theme,d=void 0===u?"dark":u,p=Ea(e,VU),f=QJ("".concat(n),r,Ca({},"".concat(n,"-").concat(d),!!d)),m="number"==typeof s&&s>0;return gJ.createElement("footer",Si(Si({},p),{},{className:f,style:Si(Si({},o),{},{backgroundColor:l})}),gJ.createElement("section",{className:"".concat(n,"-container")},i&&i.length>0&&gJ.createElement("section",{className:"".concat(n,"-columns"),style:{justifyContent:c,flexWrap:m?"wrap":void 0}},i.map((function(e,t){var r=e.title,o=e.icon,a=e.className,i=e.items,l=void 0===i?[]:i,c=Si({},e.style);return m&&(c.flex="0 0 ".concat(100/(s+1)+.1,"%")),gJ.createElement(qU,{key:t,prefixCls:n,title:r,icon:o,items:l,style:c,className:a})})))),a&&gJ.createElement("section",{className:"".concat(n,"-bottom")},gJ.createElement("div",{className:"".concat(n,"-bottom-container")},a)))},YU=QA((function(e,t){var n=e.css,r=e.responsive,o=e.token,a=t.isEmpty,i=t.contentMaxWidth,s="rc-footer";return{container:n(XU||(XU=Da(["\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(KU||(KU=Da(["\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,i,a?"0":"60px 0 20px",o.colorText,o.colorTextDescription,i,r.mobile,s)}}));const L7=a_.memo((function(e){var t=e.columns,n=e.bottom,r=e.theme,o=e.contentMaxWidth,a=YU({contentMaxWidth:void 0===o?960:o,isEmpty:!t||0===(null==t?void 0:t.length)}).styles;return p_.jsx("section",{className:a.container,children:p_.jsx(GU,{bottom:n,className:a.footer,columns:t,theme:r})})}));oW=QA((function(e,t){var n,r=e.css,o=e.cx,a=e.token,i=e.isDarkMode;return{footer:r(QU||(QU=Da(["\n display: flex;\n gap: 8px;\n justify-content: flex-end;\n "]))),formTitle:r(JU||(JU=Da(["\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 "])),a.colorTextDescription,a.fontFamilyCode),group:o(i&&r(ZU||(ZU=Da(["\n .ant-collapse-content {\n background: transparent;\n }\n\n .ant-collapse-header {\n background: ",";\n }\n "])),a.colorFillTertiary),r(eW||(eW=Da(["\n .ant-collapse-header {\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 "])))),item:r(tW||(tW=Da(["\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 "])),t&&r(nW||(nW=Da(["\n .ant-form-item-control {\n width: ",";\n }\n "])),(n=t,"number"==typeof n||xf(n)&&"[object Number]"==kf(n)?"".concat(t,"px"):t))),title:r(rW||(rW=Da(["\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 "])),a.colorPrimary)}})),aW=["className","children"];const z7=a_.memo((function(e){var t=e.className,n=e.children,r=Ea(e,aW),o=oW();return p_.jsx("div",Xm(Xm({className:(0,o.cx)(o.styles.footer,t)},r),{},{children:n}))}));iW=["className","icon","title","children","extra"];const B7=a_.memo((function(e){var t=e.className,n=e.icon,r=e.title,o=e.children,a=e.extra,i=Ea(e,iW),s=oW(),l=s.styles;return p_.jsx(q3,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)}})),fW=["className","itemMinWidth","footer","items","children"];const q7=a_.forwardRef((function(e,t){var n=e.className,r=e.itemMinWidth,o=e.footer,a=e.items,i=e.children,s=Ea(e,fW),l=pW();return p_.jsxs(K6,tg(tg({className:(0,l.cx)(l.styles.form,n),colon:!1,layout:"horizontal",ref:t},s),{},{children:[null==a?void 0:a.map((function(e,t){return p_.jsx(B7,{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 p_.jsx(W7,tg({divider:0!==t,minWidth:r},e),t)}))},t)})),i,o&&p_.jsx(z7,{children:o})]}))}));mW={};const V7=p_,G7=a_;hW=function({id:e,host:t,repo:n,repoId:r,category:o,categoryId:a,mapping:i,term:s,strict:l,reactionsEnabled:c,emitMetadata:u,inputPosition:d,theme:p,lang:f,loading:m}){const[g,h]=G7.useState(!1);return G7.useEffect((()=>{g||(Promise.resolve().then((()=>(gW||(gW=1,function(t){function n(e,t,r=e,o){var a,i,s,l;if(t===Y)return t;let c=void 0!==o?null===(a=r._$Co)||void 0===a?void 0:a[o]:r._$Cl;const u=L(t)?void 0:t._$litDirective$;return(null==c?void 0:c.constructor)!==u&&(null===(i=null==c?void 0:c._$AO)||void 0===i||i.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 a(e){void 0!==this._$AN?(me(this),this._$AM=e,ge(this)):this._$AM=e}function i(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 a=n;ae:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return(e=>new _("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 j=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(v(e))}else void 0!==e&&t.push(v(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 a=(void 0!==(null===(r=n.converter)||void 0===r?void 0:r.toAttribute)?n.converter:C).toAttribute(t,n.type);this._$El=e,null==a?this.removeAttribute(o):this.setAttribute(o,a),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),a="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]=a.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){}};j[O]=!0,j.elementProperties=new Map,j.elementStyles=[],j.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:j}),(null!==(s=w.reactiveElementVersions)&&void 0!==s?s:w.reactiveElementVersions=[]).push("1.6.2");const $=window,P=$.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,q=RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,G=/"/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,a=0;const i=e.length-1,s=this.parts,[l,c]=((e,t)=>{const n=e.length-1,r=[];let o,a=2===t?"":"",i=H;for(let l=0;l"===s[0]?(i=o??H,c=-1):void 0===s[1]?c=-2:(c=i.lastIndex-s[2].length,n=s[1],i=void 0===s[3]?q:'"'===s[3]?G:V):i===G||i===V?i=q:i===U||i===W?i=H:(i=q,o=void 0);const d=i===q&&e[l+1].startsWith("/>")?" ":"";a+=i===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=a+(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 a=Z.nextNode(),i=0,s=0,l=r[0];for(;void 0!==l;){if(i===l.index){let t;2===l.type?t=new te(a,a.nextSibling,this,e):1===l.type?t=new l.ctor(a,l.name,l.strings,this,e):6===l.type&&(t=new se(a,this,e)),this._$AV.push(t),l=r[++s]}i!==(null==l?void 0:l.index)&&(a=Z.nextNode(),i++)}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 a=this.strings;let i=!1;if(void 0===a)e=n(this,e,t,0),i=!L(e)||e!==this._$AH&&e!==Y,i&&(this._$AH=e);else{const o=e;let s,l;for(e=a[0],s=0;s{var r,o;const a=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:t;let i=a._$litPart$;if(void 0===i){const e=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:null;a._$litPart$=i=new te(t.insertBefore(M(),e),e,void 0,n??{})}return i._$AI(e),i})(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 a of o)null===(r=(n=a)._$AO)||void 0===r||r.call(n,t,!1),fe(a,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=i),null!==(n=(o=e)._$AQ)&&void 0!==n||(o._$AQ=a))};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 _e=new WeakMap,ve=(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=_e.get(n);void 0===r&&(r=new WeakMap,_e.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=_e.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,a=r>1?void 0:r?p(t,n):t,i=e.length-1;i>=0;i--)(o=e[i])&&(a=(r?o(t,n,a):o(a))||a);return r&&a&&d(t,n,a),a},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` +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=r1,this.updater=n||t1}function o(){}function i(e,t,n){this.props=e,this.context=t,this.refs=r1,this.updater=n||t1}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)Rv.call(t,r)&&!Fv.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!!s_.call(u_,e)||!s_.call(c_,e)&&(l_.test(e)?u_[e]=!0:(c_[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=C_&&e[C_]||e["@@iterator"])?e:null}function _(e){if(void 0===j_)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);j_=t&&t[1]||""}return"\n"+j_+e}function w(e,t){var n,r,o,i,a,s,l;if(!e||$_)return"";$_=!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{$_=!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 h_:return"Fragment";case g_:return"Portal";case y_:return"Profiler";case b_:return"StrictMode";case k_:return"Suspense";case x_:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case __:return(e.displayName||"Context")+".Consumer";case v_:return(e._context.displayName||"Context")+".Provider";case w_:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case S_:return null!==(t=e.displayName||null)?t:x(e.type)||"Memo";case E_: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===b_?"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 D(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function C(e){e._valueTracker||(e._valueTracker=function(e){var t,n,r=D(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=D(e)?e.checked?"true":"false":e.value),(e=r)===n||(t.setValue(e),0)))}function j(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 $(e,t){var n=t.checked;return O_({},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=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 z(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function N(e,t){z(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")?I(e,t.type,n):t.hasOwnProperty("defaultValue")&&I(e,t.type,E(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function T(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 I(e,t,n){"number"===t&&j(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function A(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-lw(t)]=n}function he(e,t){var n,r,o=e.entangledLanes|=t;for(e=e.entanglements;o;)(r=1<<(n=31-lw(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=j();t instanceof e.HTMLIFrameElement;){try{n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=j((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;icx||(e.current=lx[cx],lx[cx]=null,cx--)}function Nt(e,t){cx++,lx[cx]=e.current,e.current=t}function Tt(e,t){var n,r,o,i=e.type.contextTypes;if(!i)return ux;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 It(e){return null!=e.childContextTypes}function At(){zt(px),zt(dx)}function Rt(e,t,n){if(dx.current!==ux)throw Error(f(168));Nt(dx,t),Nt(px,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 O_({},n,o)}function Ft(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ux,fx=dx.current,Nt(dx,e),Nt(px,px.current),!0}function Lt(e,t,n){var r=e.stateNode;if(!r)throw Error(f(169));n?(e=Mt(e,t,fx),r.__reactInternalMemoizedMergedChildContext=e,zt(px),zt(dx),Nt(dx,e)):zt(px),Nt(px,n)}function Bt(e){null===mx?mx=[e]:mx.push(e)}function Ut(){var e,t,n,r;if(!hx&&null!==mx){hx=!0,e=0,t=fw;try{for(n=mx,fw=1;e>=a,o-=a,Sx=1<<32-lw(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),Ox&&Ht(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),Ox&&Ht(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 Ox&&Ht(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)})),Ox&&Ht(o,g),_}(l,c,u,g);Dn(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 jn(e){if(e===Bx)throw Error(f(174));return e}function $n(e,t){switch(Nt(Wx,t),Nt(Hx,e),Nt(Ux,Bx),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:U(null,"");break;default:t=U(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}zt(Ux),Nt(Ux,t)}function Pn(){zt(Ux),zt(Hx),zt(Wx)}function zn(e){var t,n;jn(Wx.current),(t=jn(Ux.current))!==(n=U(t,e.type))&&(Nt(Hx,e),Nt(Ux,n))}function Nn(e){Hx.current===e&&(zt(Ux),zt(Hx))}function Tn(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 In(){for(var e=0;er?r:4,e(!0),n=Xx.transition,Xx.transition={};try{e(!1),t()}finally{fw=r,Xx.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,Ck(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===Yx||null!==t&&t===Yx}function yr(e,t){eS=Zx=!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(){US||(US=!0,HS=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===WS?WS=new Set([this]):WS.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 sS).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 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 Dr(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 Cr(e,t,n,r){t.child=null===e?Lx(t,null,n,r):Fx(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=Fn(),null===e||cS?(Ox&&n&&Vt(t),t.flags|=1,Cr(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Gr(e,t,o))}function jr(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,$r(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 $r(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(Qe(i,r)&&e.ref===t.ref){if(cS=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,Gr(e,t,o);0!=(131072&e.flags)&&(cS=!0)}}return Nr(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},Nt(PS,$S),$S|=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,Nt(PS,$S),$S|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Nt(PS,$S),$S|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Nt(PS,$S),$S|=r;return Cr(e,t,o,n),t.child}function zr(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Nr(e,t,n,r,o){var i=It(n)?fx:dx.current;return i=Tt(t,i),sn(t,o),n=Mn(e,t,n,r,i,o),r=Fn(),null===e||cS?(Ox&&r&&Vt(t),t.flags|=1,Cr(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Gr(e,t,o))}function Tr(e,t,n,r,o){var i,a,s,l,c,u,d,p,f,m;return It(n)?(i=!0,Ft(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):Tt(t,c=It(n)?fx:dx.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||px.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):Tt(t,l=It(n)?fx:dx.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||px.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)),Ir(e,t,n,r,i,o)}function Ir(e,t,n,r,o,i){var a,s;return zr(e,t),a=0!=(128&t.flags),r||a?(r=t.stateNode,lS.current=t,s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render(),t.flags|=1,null!==e&&a?(t.child=Fx(t,e.child,null,i),t.child=Fx(t,null,s,i)):Cr(e,t,s,i),t.memoizedState=r.state,o&&Lt(t,n,!0),t.child):(o&&Lt(t,n,!1),Gr(e,t,i))}function Ar(e){var t=e.stateNode;t.pendingContext?Rt(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Rt(0,t.context,!1),$n(e,t.containerInfo)}function Rr(e,t,n,r,o){return en(),tn(o),t.flags|=256,Cr(e,t,n,r),t.child}function Mr(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fr(e,t,n){var r,o,i=t.pendingProps,a=Vx.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),Nt(Vx,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=uS,e):Lr(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)&&Fx(t,e.child,null,a),t.child.memoizedState=Mr(a),t.memoizedState=uS,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),cS||s){if(null!==(r=CS)){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 To(),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,Cx=Et(o.nextSibling),Dx=t,Ox=!0,jx=null,null!==e&&(wx[kx++]=Sx,wx[kx++]=Ex,wx[kx++]=xx,Sx=e.id,Ex=e.overflow,xx=t),(t=Lr(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=uS,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 Lr(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),Fx(t,e.child,null,n),(e=Lr(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ur(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),an(e.return,t,n)}function Hr(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(Cr(e,t,r.children,n),0!=(2&(r=Vx.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&&Ur(e,n,t);else if(19===e.tag)Ur(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(Nt(Vx,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===Tn(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Hr(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===Tn(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Hr(t,!0,n,null,i);break;case"together":Hr(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),TS|=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(!Ox)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 It(t.type)&&At(),Xr(t),null;case 3:return l=t.stateNode,Pn(),zt(px),zt(dx),In(),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!==jx&&(Eo(jx),jx=null))),pS(e,t),Xr(t),null;case 5:if(Nn(t),r=jn(Wx.current),n=t.type,null!==e&&null!=t.stateNode)fS(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=jn(Ux.current),Jt(t)){switch(n=t.type,o=t.memoizedProps,(l=t.stateNode)[nx]=t,l[rx]=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[nx]=t,e[rx]=l,dS(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;rLS&&(t.flags|=128,l=!0,qr(o,!1),t.lanes=4194304)}else{if(!l)if(null!==(e=Tn(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&&!Ox)return Xr(t),null}else 2*Z_()-o.renderingStartTime>LS&&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=Z_(),t.sibling=null,n=Vx.current,Nt(Vx,l?1&n|2:1&n),t):(Xr(t),null);case 22:case 23:return $o(),l=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==l&&(t.flags|=8192),l&&0!=(1&t.mode)?0!=(1073741824&$S)&&(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 It(t.type)&&At(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Pn(),zt(px),zt(dx),In(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Nn(t),null;case 13:if(zt(Vx),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 zt(Vx),null;case 4:return Pn(),null;case 10:return on(t.type._context),null;case 22:case 23:return $o(),null;default:return null}}function Qr(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Ho(e,t,r)}else n.current=null}function Jr(e,t,n){try{n()}catch(r){Ho(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[nx],delete t[rx],delete t[ix],delete t[ax],delete t[sx]),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(sw&&"function"==typeof sw.onCommitFiberUnmount)try{sw.onCommitFiberUnmount(aw,n)}catch(s){}switch(n.tag){case 5:hS||Qr(n,t);case 6:r=_S,o=wS,_S=null,so(e,t,n),wS=o,null!==(_S=r)&&(wS?(n=n.stateNode,8===(e=_S).nodeType?e.parentNode.removeChild(n):e.removeChild(n)):_S.removeChild(n.stateNode));break;case 18:null!==_S&&(wS?(n=n.stateNode,8===(e=_S).nodeType?St(e.parentNode,n):1===e.nodeType&&St(e,n),Ee(e)):St(_S,n.stateNode));break;case 4:r=_S,o=wS,_S=n.stateNode.containerInfo,wS=!0,so(e,t,n),_S=r,wS=o;break;case 0:case 11:case 14:case 15:if(!hS&&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(!hS&&(Qr(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ho(n,t,s)}so(e,t,n);break;case 21:so(e,t,n);break;case 22:1&n.mode?(hS=(r=hS)||null!==n.memoizedState,so(e,t,n),hS=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 bS),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=Z_()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*kS(r/1960))-r)){e.timeoutHandle=Qk(Lo.bind(null,e,MS,BS),r);break}Lo(e,MS,BS);break;default:throw Error(f(329))}}}return ko(e,Z_()),e.callbackNode===n?xo.bind(null,e):null}function So(e,t){var n=RS;return e.current.memoizedState.isDehydrated&&(Po(e,t).flags|=256),2!==(e=Io(e,t))&&(t=MS,MS=n,null!==t&&Eo(t)),e}function Eo(e){null===MS?MS=e:MS.push.apply(MS,e)}function Do(e,t){for(t&=~AS,e.suspendedLanes|=t&=~IS,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===GS)r=!1;else{if(e=GS,GS=null,qS=0,0!=(6&DS))throw Error(f(331));for(o=DS,DS|=4,yS=e.current;null!==yS;){if(a=(i=yS).child,0!=(16&yS.flags)&&null!==(s=i.deletions)){for(l=0;lZ_()-FS?Po(e,0):AS|=n),ko(e,t)}function Vo(e,t){0===t&&(0==(1&e.mode)?t=1:(t=pw,0==(130023424&(pw<<=1))&&(pw=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 K_(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 h_:return ei(n.children,o,i,t);case b_:a=8,o|=8;break;case y_:return(e=Yo(12,n,t,2|o)).elementType=y_,e.lanes=i,e;case k_:return(e=Yo(13,n,t,o)).elementType=k_,e.lanes=i,e;case x_:return(e=Yo(19,n,t,o)).elementType=x_,e.lanes=i,e;case D_:return ti(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case v_:a=10;break e;case __:a=9;break e;case w_:a=11;break e;case S_:a=14;break e;case E_: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=D_,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 ux;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(It(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(f(171))}return 1===e.tag&&It(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 Ci(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 ji(e,t){var n,r;for(n=0;n2||Vi(RD)>3?"":" "}function Yi(e,t){for(;--t&&Bi()&&!(RD<48||RD>102||RD>57&&RD<65||RD>70&&RD<97););return Wi(e,Hi()+(t<6&&32==Ui()&&32==Bi()))}function Qi(e){for(;Bi();)switch(RD){case e:return AD;case 34:case 39:34!==e&&39!==e&&Qi(RD);break;case 40:41===e&&Qi(e);break;case 92:Bi()}return AD}function Ji(e,t){for(;Bi()&&e+RD!==57&&(e+RD!==84||47!==Ui()););return"/*"+Wi(t,AD-1)+"*"+PD(47===e?e:Bi())}function Zi(e){for(;!Vi(Ui());)Bi();return Wi(e,AD)}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==Ti(x,d-1)){-1!=Ni(x+=zi(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(Hi()-1,7);continue;case 47:switch(Ui()){case 42:case 47:Mi(ra(Ji(Bi(),Hi()),t,n),l);break;default:x+="/"}break;case 123*g:s[c++]=Ai(x)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:h=0;case 59+u:-1==b&&(x=zi(x,/\f/g,"")),f>0&&Ai(x)-d&&Mi(f>32?oa(x+";",r,n,d-1):oa(zi(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===Ti(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+Ai(x),f=m;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==(RD=AD>0?Ti(MD,--AD):0,TD--,10===RD&&(TD=1,ND--),RD))continue;switch(x+=PD(y),y*g){case 38:b=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(Ai(x)-1)*b,b=1;break;case 64:45===Ui()&&(x+=Xi(Bi())),p=Ui(),u=d=Ai(v=x+=Zi(Hi())),y++;break;case 45:45===m&&2==Ai(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=Ri(y);for(d=0,p=0,f=0;d0?y[m]+" "+g:zi(g,/&\f/g,y[m])))&&(l[f++]=h);return Fi(e,t,n,0===o?ED:s,l,c,u)}function ra(e,t,n){return Fi(e,t,n,SD,PD(RD),Ii(e,2,-2),0)}function oa(e,t,n,r){return Fi(e,t,n,DD,Ii(e,0,r),Ii(e,r+1,-1),r)}function ia(e,t){var n,r="",o=Ri(e);for(n=0;n6)switch(Ti(e,t+1)){case 109:if(45!==Ti(e,t+4))break;case 102:return zi(e,/(.+:)(.+)-([^]+)/,"$1"+xD+"$2-$3$1"+kD+(108==Ti(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ni(e,"stretch")?la(zi(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ti(e,t+1))break;case 6444:switch(Ti(e,Ai(e)-3-(~Ni(e,"!important")&&10))){case 107:return zi(e,":",":"+xD)+e;case 101:return zi(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+xD+(45===Ti(e,14)?"inline-":"")+"box$3$1"+xD+"$2$3$1"+wD+"$2box$3")+e}break;case 5936:switch(Ti(e,t+11)){case 114:return xD+e+wD+zi(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return xD+e+wD+zi(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return xD+e+wD+zi(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return xD+e+wD+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 rC={name:n.name,styles:n.styles,next:rC},n.name;if(void 0!==n.styles){if(void 0!==(r=n.next))for(;void 0!==r;)rC={name:r.name,styles:r.styles,next:rC},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 Da(e,t,n){var r=Wv.useRef({});return"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t),r.current.value}function Ca(){}function Oa(){}function ja(e,t,n){t||mO[n]||(e(!1,n),mO[n]=!0)}function $a(e,t){ja(Ca,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($a(!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):SO}function Aa(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Ra(e){return Array.from((EO.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function Ma(e,t){var n,r,o,i,a,s,l,c,u,d,p=arguments.length>1&&void 0!==t?t:{};if(!Na())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(kO,a),s&&i&&l.setAttribute(xO,"".concat(i)),null!=n&&n.nonce&&(l.nonce=null==n?void 0:n.nonce),l.innerHTML=e,u=(c=Aa(p)).firstChild,r){if(s&&(d=Ra(c).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(kO)))return!1;var t=Number(e.getAttribute(xO)||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 Fa(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Ra(Aa(n)).find((function(t){return t.getAttribute(Ia(n))===e}))}function La(e,t){var n=arguments.length>1&&void 0!==t?t:{},r=Fa(e,n);r&&Aa(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=EO.get(e);r&&Ta(document,r)||(n=Ma("",t),EO.set(e,n.parentNode),e.removeChild(n))}(Aa(l),l),(r=Fa(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(Ia(l),t),s)}function Ua(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 Wa(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)||Ha()}function Va(e){var t=Array.isArray(e)?e:[e];return jO.has(t)||jO.set(t,new OO(t)),jO.get(t)}function Ga(e){var t="";return Object.keys(e).forEach((function(n){var r=e[n];t+=n,r instanceof OO?t+=r.id:r&&"object"===xi(r)?t+=Ga(r):t+=r})),t}function qa(e,t,n,r,o){var i,a,s=Wv.useContext(M1).cache,l=[e].concat(ka(t)),c=l.join("_"),u=function(e){s.update(l,(function(t){var r=Wa(t||[],2),o=r[0],i=[void 0===o?0:o,r[1]||n()];return e?e(i):i}))};return Wv.useMemo((function(){u()}),[c]),i=s.get(l),a=i[1],F1((function(){null==o||o(a)}),(function(e){return u((function(t){var n=Wa(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=Wa(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]}))}}),[c]),a}function Xa(e){return e.trim()}function Ka(e,t){return(e=t.exec(e))?e[0]:e}function Ya(e,t,n){return e.replace(t,n)}function Qa(e,t){return e.indexOf(t)}function Ja(e,t){return 0|e.charCodeAt(t)}function Za(e,t,n){return e.slice(t,n)}function es(e){return e.length}function ts(e){return e.length}function ns(e,t){return t.push(e),e}function rs(e,t){return e.filter((function(e){return!Ka(e,t)}))}function os(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:nj,column:rj,length:a,return:"",siblings:s}}function is(e,t){return tj(os("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function as(e){for(;e.root;)e=is(e.root,{children:[e]});ns(e,e.siblings)}function ss(){return aj=ij2||ds(aj)>3?"":" "}function ms(e,t){for(;--t&&ss()&&!(aj<48||aj>102||aj>57&&aj<65||aj>70&&aj<97););return us(e,cs()+(t<6&&32==ls()&&32==ss()))}function gs(e){for(;ss();)switch(aj){case e:return ij;case 34:case 39:34!==e&&39!==e&&gs(aj);break;case 40:41===e&&gs(e);break;case 92:ss()}return ij}function hs(e,t){for(;ss()&&e+aj!==57&&(e+aj!==84||47!==ls()););return"/*"+us(t,ij-1)+"*"+ej(47===e?e:ss())}function bs(e){for(;!ds(ls());)ss();return us(e,ij)}function ys(e){return function(e){return sj="",e}(vs("",null,null,null,[""],e=function(e){return nj=rj=1,oj=es(sj=e),ij=0,[]}(e),0,[0],e))}function vs(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=ss()){case 40:if(108!=m&&58==Ja(x,d-1)){-1!=Qa(x+=Ya(ps(y),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:x+=ps(y);break;case 9:case 10:case 13:case 32:x+=fs(m);break;case 92:x+=ms(cs()-1,7);continue;case 47:switch(ls()){case 42:case 47:ns(ws(hs(ss(),cs()),t,n,l),l);break;default:x+="/"}break;case 123*g:s[c++]=es(x)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:h=0;case 59+u:-1==b&&(x=Ya(x,/\f/g,"")),f>0&&es(x)-d&&ns(f>32?ks(x+";",r,n,d-1,l):ks(Ya(x," ","")+";",r,n,d-2,l),l);break;case 59:x+=";";default:if(ns(k=_s(x,t,n,c,u,o,s,v,_=[],w=[],d,i),i),123===y)if(0===u)vs(x,t,k,k,_,i,d,s,w);else switch(99===p&&110===Ja(x,3)?100:p){case 100:case 108:case 109:case 115:vs(e,k,k,r&&ns(_s(e,k,k,0,0,o,s,v,o,_=[],d,w),w),o,w,d,s,r?_:w);break;default:vs(x,k,k,k,[""],w,0,s,w)}}c=u=f=0,g=b=1,v=x="",d=a;break;case 58:d=1+es(x),f=m;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==(aj=ij>0?Ja(sj,--ij):0,rj--,10===aj&&(rj=1,nj--),aj))continue;switch(x+=ej(y),y*g){case 38:b=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(es(x)-1)*b,b=1;break;case 64:45===ls()&&(x+=ps(ss())),p=ls(),u=d=es(v=x+=bs(cs())),y++;break;case 45:45===m&&2==es(x)&&(g=0)}}return i}function _s(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:[""],_=ts(v);for(p=0,f=0,m=0;p0?v[g]+" "+h:Ya(h,/&\f/g,v[g])))&&(l[m++]=b);return os(e,t,n,0===o?XO:s,l,c,u,d)}function ws(e,t,n,r){return os(e,t,n,qO,ej(aj),Za(e,2,-2),0,r)}function ks(e,t,n,r,o){return os(e,t,n,KO,Za(e,0,r),Za(e,r+1,-1),r,o)}function xs(e,t,n){switch(function(e,t){return 45^Ja(e,0)?(((t<<2^Ja(e,0))<<2^Ja(e,1))<<2^Ja(e,2))<<2^Ja(e,3):0}(e,t)){case 5103:return GO+"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 GO+e+e;case 4789:return VO+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return GO+e+VO+e+WO+e+e;case 5936:switch(Ja(e,t+11)){case 114:return GO+e+WO+Ya(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return GO+e+WO+Ya(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return GO+e+WO+Ya(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return GO+e+WO+e+e;case 6165:return GO+e+WO+"flex-"+e+e;case 5187:return GO+e+Ya(e,/(\w+).+(:[^]+)/,GO+"box-$1$2"+WO+"flex-$1$2")+e;case 5443:return GO+e+WO+"flex-item-"+Ya(e,/flex-|-self/g,"")+(Ka(e,/flex-|baseline/)?"":WO+"grid-row-"+Ya(e,/flex-|-self/g,""))+e;case 4675:return GO+e+WO+"flex-line-pack"+Ya(e,/align-content|flex-|-self/g,"")+e;case 5548:return GO+e+WO+Ya(e,"shrink","negative")+e;case 5292:return GO+e+WO+Ya(e,"basis","preferred-size")+e;case 6060:return GO+"box-"+Ya(e,"-grow","")+GO+e+WO+Ya(e,"grow","positive")+e;case 4554:return GO+Ya(e,/([^-])(transform)/g,"$1"+GO+"$2")+e;case 6187:return Ya(Ya(Ya(e,/(zoom-|grab)/,GO+"$1"),/(image-set)/,GO+"$1"),e,"")+e;case 5495:case 3959:return Ya(e,/(image-set\([^]*)/,GO+"$1$`$1");case 4968:return Ya(Ya(e,/(.+:)(flex-)?(.*)/,GO+"box-pack:$3"+WO+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+GO+e+e;case 4200:if(!Ka(e,/flex-|baseline/))return WO+"grid-column-align"+Za(e,t)+e;break;case 2592:case 3360:return WO+Ya(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,Ka(e.props,/grid-\w+-end/)}))?~Qa(e+(n=n[t].value),"span")?e:WO+Ya(e,"-start","")+e+WO+"grid-row-span:"+(~Qa(n,"span")?Ka(n,/\d+/):+Ka(n,/\d+/)-+Ka(e,/\d+/))+";":WO+Ya(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return Ka(e.props,/grid-\w+-start/)}))?e:WO+Ya(Ya(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Ya(e,/(.+)-inline(.+)/,GO+"$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(es(e)-1-t>6)switch(Ja(e,t+1)){case 109:if(45!==Ja(e,t+4))break;case 102:return Ya(e,/(.+:)(.+)-([^]+)/,"$1"+GO+"$2-$3$1"+VO+(108==Ja(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Qa(e,"stretch")?xs(Ya(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Ya(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===Ja(e,t+6))return Ya(e,":",":"+GO)+e;break;case 6444:switch(Ja(e,45===Ja(e,14)?18:11)){case 120:return Ya(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+GO+(45===Ja(e,14)?"inline-":"")+"box$3$1"+GO+"$2$3$1"+WO+"$2box$3")+e;case 100:return Ya(e,":",":"+WO)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Ya(e,"scroll-","scroll-snap-")+e}return e}function Ss(e,t){var n,r="";for(n=0;n-1&&!e.return)switch(e.type){case KO:return void(e.return=xs(e.value,e.length,n));case QO:return Ss([is(e,{value:Ya(e.value,"@","@"+GO)})],r);case XO:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(Ka(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":as(is(e,{props:[Ya(t,/:(read-\w+)/,":"+VO+"$1")]})),as(is(e,{props:[t]})),tj(e,{props:rs(n,r)});break;case"::placeholder":as(is(e,{props:[Ya(t,/:(plac\w+)/,":"+GO+"input-$1")]})),as(is(e,{props:[Ya(t,/:(plac\w+)/,":"+VO+"$1")]})),as(is(e,{props:[Ya(t,/:(plac\w+)/,WO+"input-$1")]})),as(is(e,{props:[t]})),tj(e,{props:rs(n,r)})}return""}))}}function Cs(e){return Ss(ys(e),Es).replace(/\{%%%\:[^;];}/g,";")}function Os(){return null}function js(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=e.clientOnly,x=e.order,S=void 0===x?0:x,E=Wv.useContext(M1),D=E.autoClear;return n=E.defaultCache,r=E.hashPriority,o=E.container,i=E.ssrInline,a=E.transformers,s=E.linters,l=E.cache,u=[c=b._tokenKey].concat(ka(y)),d=pj,p=qa("style",u,(function(){var e,n,o,i,l,d,p,f,m=u.join("|");return function(e){var t,n,r;return uj||(uj={},Na()&&((t=document.createElement("div")).className=lj,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=Wa(e.split(":"),2);uj[t[0]]=t[1]})),(n=document.querySelector("style[".concat(lj,"]")))&&(dj=!1,null===(r=n.parentNode)||void 0===r||r.removeChild(n)),document.body.removeChild(t))),!!uj[e]}(m)&&(e=function(e){var t,n=uj[e],r=null;return n&&Na()&&(dj?r=cj:(t=document.querySelector("style[".concat(yO,'="').concat(uj[e],'"]')))?r=t.innerHTML:delete uj[e]),[r,n]}(m),o=(n=Wa(e,2))[0])?[o,c,n[1],{},k,S]:(i=t(),d=(l=Wa(mj(i,{hashId:v,hashPriority:r,layer:_,path:y.join("-"),transformers:a,linters:s}),2))[1],p=Cs(l[0]),f=function(e,t){return Ea("".concat(e.join("%")).concat(t))}(u,p),[p,c,f,d,k,S])}),(function(e,t){var n=Wa(e,3);(t||D)&&pj&&La(n[2],{mark:yO})}),(function(e){var t,n,r,i,a,s=Wa(e,4),u=s[0];t=s[2],n=s[3],d&&u!==cj&&(r={mark:yO,prepend:"queue",attachTo:o,priority:S},(i="function"==typeof w?w():w)&&(r.csp={nonce:i}),(a=Ba(u,t,r))[vO]=l.instanceId,a.setAttribute(bO,c),Object.keys(n).forEach((function(e){Ba(Cs(n[e]),"_effect-".concat(e),r)})))})),f=Wa(p,3),m=f[0],g=f[1],h=f[2],function(e){var t,r;return t=i&&!d&&n?Wv.createElement("style",fa({},(Ei(r={},bO,g),Ei(r,yO,h),r),{dangerouslySetInnerHTML:{__html:m}})):Wv.createElement(Os,null),Wv.createElement(Wv.Fragment,null,t,e)}}function $s(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 zs(e){var t,n;for(t=1;t1&&void 0!==t?t:{},r=[];return o1.Children.forEach(e,(function(e){(null!=e||n.keepEmpty)&&(Array.isArray(e)?r=r.concat(Fs(e)):GC.isFragment(e)&&e.props?r=r.concat(Fs(e.props.children,n)):r.push(e))})),r}function Ls(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 cl(e){return e<=1?"".concat(100*Number(e),"%"):e}function ul(e){return 1===e.length?"0"+e:String(e)}function dl(e,t,n){var r,o,i,a,s,l;if(e=al(e,255),t=al(t,255),n=al(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 fl(e,t,n){var r,o,i,a,s,l;if(e=al(e,255),t=al(t,255),n=al(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)-o$*t:Math.round(e.h)+o$*t:n?Math.round(e.h)+o$*t:Math.round(e.h)-o$*t)<0?r+=360:r>=360&&(r-=360),r}function kl(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-i$*t:t===u$?e.s+i$:e.s+a$*t)>1&&(r=1),n&&t===c$&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function xl(e,t,n){var r;return(r=n?e.v+s$*t:e.v-l$*t)>1&&(r=1),Number(r.toFixed(2))}function Sl(e,t){var n,r,o,i,a,s,l=arguments.length>1&&void 0!==t?t:{},c=[],u=bl(e);for(n=c$;n>0;n-=1)o=_l(bl({h:wl(r=vl(u),n,!0),s:kl(r,n,!0),v:xl(r,n,!0)})),c.push(o);for(c.push(_l(u)),i=1;i<=u$;i+=1)s=_l(bl({h:wl(a=vl(u),i),s:kl(a,i),v:xl(a,i)})),c.push(s);return"dark"===l.theme?d$.map((function(e){var t,n,r,o=e.index,i=e.opacity;return _l((t=bl(l.backgroundColor||"#141414"),{r:((n=bl(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 r$("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}function Dl(e){const t=Object.keys(n2).map((t=>{const n=Sl(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:s2,generateNeutralColorPalettes:l2})),c2(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)),t2(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},o2(r))}(e))}function Cl(e){return e>=0&&e<=255}function Ol(e,t){const{r:n,g:r,b:o,a:i}=new r$(e).toRgb();if(i<1)return e;const{r:a,g:s,b:l}=new r$(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(Cl(e)&&Cl(t)&&Cl(i))return new r$({r:e,g:t,b:i,a:Math.round(100*c)/100}).toRgbString()}return new r$({r:n,g:r,b:o,a:1}).toRgbString()}function jl(e){const{override:t}=e,n=h$(e,["override"]),r=Object.assign({},t);Object.keys(r2).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 r$("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new r$("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new r$("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 $l(){const{token:e,hashed:t,theme:n,components:r}=o1.useContext(p2),o=`${e2}-${t||""}`,i=n||u2,[a,s]=function(e,t,n){var r=arguments.length>2&&void 0!==n?n:{},o=Wv.useContext(M1).cache.instanceId,i=r.salt,a=void 0===i?"":i,s=r.override,l=void 0===s?MO:s,c=r.formatToken,u=r.getComputedToken,d=Wv.useMemo((function(){return Object.assign.apply(Object,[{}].concat(ka(t)))}),[t]),p=Wv.useMemo((function(){return Ga(d)}),[d]),f=Wv.useMemo((function(){return Ga(l)}),[l]),m=qa("token",[a,e.id,p,f],(function(){var t,n=u?u(d,l,e):UO(d,l,e,c),r=function(e,t){return Ea("".concat(t,"_").concat(Ga(e)))}(n,a);return n._tokenKey=r,function(e){LO.set(e,(LO.get(e)||0)+1)}(r),t="".concat(FO,"-").concat(Ea(r)),n._hashId=t,[n,t]}),(function(e){!function(e,t){var n,r;LO.set(e,(LO.get(e)||0)-1),r=(n=Array.from(LO.keys())).filter((function(e){return(LO.get(e)||0)<=0})),n.length-r.length>BO&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(bO,'="').concat(e,'"]')).forEach((function(e){var n;e[vO]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),LO.delete(e)}))}(e[0]._tokenKey,o)}));return m}(i,[r2,e],{salt:o,override:Object.assign({override:e},r),getComputedToken:f2});return[i,a,t?s:""]}function Pl(e){var t,n=Wv.useRef();return n.current=e,t=Wv.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]})}))})),S2=!0,r}function Al(){}function Rl(e,t,n,r){return o=>{const[i,a,s]=$l(),{getPrefixCls:l,iconPrefixCls:c,csp:u}=Wv.useContext(g2),d=l(),p={theme:i,token:a,hashId:s,nonce:()=>null==u?void 0:u.nonce,clientOnly:null==r?void 0:r.clientOnly,order:-999};return js(Object.assign(Object.assign({},p),{clientOnly:!1,path:["Shared",d]}),(()=>[{"&":v2(a)}])),[js(Object.assign(Object.assign({},p),{path:[e,o,c]}),(()=>{const{token:i,flush:l}=function(e){let t,n=e,r=Al;return x2&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(S2&&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(Il(i,null!=u?u:{})):n,f=Object.assign(Object.assign({},p),u),m=Il(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:_2(a,o),g]})),s]}}function Ml(e,t){return Z1.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 Fl(e){var t=e.children,n=Di(e,y$);return Wv.createElement(v$.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 Bl(e){var t,n,r,o,i;if(T$[e])return T$[e];if(t=P$[e])for(r=(n=Object.keys(t)).length,o=0;o0&&void 0!==e?e:[]).map(Wl)}function Gl(e){const{children:t}=e,[,n]=$l(),{motion:r}=n,o=Wv.useRef(!1);return o.current=o.current||!1===r,o.current?Wv.createElement(Fl,{motion:r},t):t}function ql(){return I2||"ant"}function Xl(){return A2||m2}function Kl(e){return CP.test(e)}function Yl(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&NP.call(e)==eP}(e))return AP?AP.call(e):"";var t=e+"";return"0"==t&&1/e==-Z$?"-0":t}(e)}function Ql(e){var t=(arguments.length>0&&void 0!==e?e:{}).mark;return t?t.startsWith("data-")?t:"data-".concat(t):KP}function Jl(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Zl(e){return Array.from((YP.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function ec(e,t){var n,r,o,i,a,s,l,c,u,d,p=arguments.length>1&&void 0!==t?t:{};if(!(0,VP.default)())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(qP,a),s&&i&&l.setAttribute(XP,"".concat(i)),null!=n&&n.nonce&&(l.nonce=null==n?void 0:n.nonce),l.innerHTML=e,u=(c=Jl(p)).firstChild,r){if(s&&(d=Zl(c).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(qP)))return!1;var t=Number(e.getAttribute(XP)||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 tc(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Zl(Jl(n)).find((function(t){return t.getAttribute(Ql(n))===e}))}function nc(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function rc(e){return nc(e)!==(null==e?void 0:e.ownerDocument)}function oc(){}function ic(){}function ac(){tz={}}function sc(e,t,n){t||tz[n]||(e(!1,n),tz[n]=!0)}function lc(e,t){sc(oc,e,t)}function cc(e,t){sc(ic,e,t)}function uc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dc(e){var t,n,r;for(t=1;t0&&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):(delete e[n],e[B2(n)]=r),e}),{})}function mc(e,t,n){return o1.createElement(e.tag,n?dc({key:t},fc(e.attrs),n):dc({key:t},fc(e.attrs)),(e.children||[]).map((function(n,r){return mc(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function gc(e){return Sl(e)[0]}function hc(e){return e?Array.isArray(e)?e:[e]:[]}function bc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yc(e){var t,n,r;for(t=1;te.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);n1&&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||jc(t,hz))||n.data&&jc(t,bz)||n.attr&&gz.includes(t))&&(r[t]=e[t])})),r}function Pc(e){return e&&K2(e)&&e.type===Wv.Fragment}function zc(e,t){return function(e,t,n){return K2(e)?Wv.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}(e,e,t)}function Nc(e){var t=arguments.length>0&&void 0!==e?e:{},n=t.getContainer,r=void 0===n?kz:n,o=t.motion,i=t.prefixCls,a=t.maxCount,s=t.className,l=t.style,c=t.onAllRemoved,u=Di(t,wz),d=Wa(Wv.useState(),2),p=d[0],f=d[1],m=Wv.useRef(),g=Wv.createElement(_z,{container:p,ref:m,prefixCls:i,motion:o,maxCount:a,className:s,style:l,onAllRemoved:c}),h=Wa(Wv.useState([]),2),b=h[0],y=h[1],v=Wv.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 Ac(e){const t=Wv.useRef(null);return[Wv.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=Cz(n,["content","icon","type","key","className","style","onClose"]);let h=d;return null==h&&(u3+=1,h=`antd-message-${u3}`),Ic((t=>(r(Object.assign(Object.assign({},g),{key:h,content:Wv.createElement(s3,{prefixCls:o,type:u,icon:c},l),placement:"top",className:L1(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}),[]),Wv.createElement(c3,Object.assign({key:"message-holder"},e,{ref:t}))]}function Rc(e){return Ac(e)}function Mc(){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 Lc(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 Bc(e){var t=Oz.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===xi(t)&&(t.usingClientEntryPoint=e)}function Uc(e,t){zz?function(e,t){Bc(!0);var n=t[Nz]||zz(t);Bc(!1),n.render(e),t[Nz]=n}(e,t):function(e,t){$z(e,t)}(e,t)}function Hc(e){return Wc.apply(this,arguments)}function Wc(){return(Wc=Lc(Mc().mark((function e(t){return Mc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[Nz])||void 0===e||e.unmount(),delete t[Nz]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Vc(e){Pz(e)}function Gc(e){return qc.apply(this,arguments)}function qc(){return(qc=Lc(Mc().mark((function e(t){return Mc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===zz){e.next=2;break}return e.abrupt("return",Hc(t));case 2:Vc(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Xc(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 Kc(e){return Number.isNaN(e)?0:e}function Yc(e){return"text"===e||"link"===e}function Qc(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 Jc(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 Zc(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({},Qc(e,o,n)),Jc(r,o,n))}}function eu(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function tu(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},eu(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 nu(e){return"danger"===e?{danger:!0}:{type:e}}function ru(e){return!(!e||!e.then)}function ou(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===Fz&&((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),Fz=o-i),Fz):s}function iu(e){var t=Wa(Wv.useState("ssr-id"),2),n=t[0],r=t[1],o=Sa({},i1).useId,i=null==o?void 0:o();return Wv.useEffect((function(){if(!o){var e=Wz;Wz+=1,r("rc_unique_".concat(e))}}),[]),e||i||n}function au(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function su(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 lu(e){var t=e.prefixCls,n=e.style,r=e.maskProps;return Wv.createElement(z2,{key:"mask",visible:e.visible,motionName:e.motionName,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,o){var i=e.className;return Wv.createElement("div",fa({ref:o,style:Sa(Sa({},e.style),n),className:L1("".concat(t,"-mask"),i)},r))}))}function cu(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,E=e.maskClosable,D=void 0===E||E,C=e.maskStyle,O=e.maskProps,j=e.rootClassName,$=Wv.useRef(),P=Wv.useRef(),z=Wv.useRef(),N=Wa(Wv.useState(a),2),T=N[0],I=N[1],A=iu(),R=Wv.useRef(!1),M=Wv.useRef(),F=null;return D&&(F=function(e){R.current?R.current=!1:P.current===e.target&&t(e)}),Wv.useEffect((function(){a&&(I(!0),Ta(P.current,document.activeElement)||($.current=document.activeElement))}),[a]),Wv.useEffect((function(){return function(){clearTimeout(M.current)}}),[]),Wv.createElement("div",fa({className:L1("".concat(r,"-root"),j)},$c(e,{data:!0})),Wv.createElement(lu,{prefixCls:r,visible:k&&a,motionName:au(r,x,S),style:Sa({zIndex:o},C),maskProps:O}),Wv.createElement("div",fa({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===yz.ESC)return e.stopPropagation(),void t(e);a&&e.keyCode===yz.TAB&&z.current.changeActive(!e.shiftKey)},className:L1("".concat(r,"-wrap"),p),ref:P,onClick:F,style:Sa(Sa({zIndex:o},d),{},{display:T?null:"none"})},f),Wv.createElement(qz,fa({},e,{onMouseDown:function(){clearTimeout(M.current),R.current=!0},onMouseUp:function(){M.current=setTimeout((function(){R.current=!1}))},ref:z,closable:_,ariaId:A,prefixCls:r,visible:a&&T,onClose:t,onVisibleChanged:function(e){if(e)Ta(P.current,document.activeElement)||null===(t=z.current)||void 0===t||t.focus();else{if(I(!1),k&&$.current&&u){try{$.current.focus({preventScroll:!0})}catch(d0){}$.current=null}T&&(null==h||h())}var t;null==g||g(e)},motionName:au(r,b,y)}))))}function uu(e,t,n,r,o){let i=arguments.length>3&&void 0!==r?r:o1.createElement(G2,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 du(e){return null==e?[]:Array.isArray(e)?e:[e]}function pu(){return pu=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 vu(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 _u(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 Au(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}function Ru(e){var t=e.name,n=Di(e,NN),r=Wv.useContext(Qz),o=Wv.useContext(Jz),i=void 0!==t?$u(t):void 0,a="keep";return n.isListField||(a="_".concat((i||[]).join("_"))),Wv.createElement(IN,fa({key:a,name:i,isListField:!!o},n,{fieldContext:r}))}function Mu(e){var t=e.name,n=e.initialValue,r=e.children,o=e.rules,i=e.validateTrigger,a=e.isListField,s=Wv.useContext(Qz),l=Wv.useContext(Jz),c=Wv.useRef({keys:[],id:0}).current,u=Wv.useMemo((function(){var e=$u(s.prefixName)||[];return[].concat(ka(e),ka($u(t)))}),[s.prefixName,t]),d=Wv.useMemo((function(){return Sa(Sa({},s),{},{prefixName:u})}),[s,u]),p=Wv.useMemo((function(){return{getKey:function(e){var t=u.length;return[c.keys[e[t]],e.slice(t+1)]}}}),[u]);return"function"!=typeof r?($a(!1,"Form.List only accepts function as children."),null):Wv.createElement(Jz.Provider,{value:p},Wv.createElement(Qz.Provider,{value:d},Wv.createElement(Ru,{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(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=Iu(c.keys,e,t),o(Iu(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 Fu(e){return e.map((function(e){return"".concat(xi(e),":").concat(e)})).join(AN)}function Lu(e){var t,n=Wv.useRef(),r=Wa(Wv.useState({}),2)[1];return n.current||(e?n.current=e:(t=new FN((function(){r({})})),n.current=t.getForm())),[n.current]}function Bu(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}function Uu(){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=il(),{getPrefixCls:i,getIconPrefixCls:l,getTheme:c}=M2(),u=i(void 0,b4),d=r||`${u}-modal`,p=l(),f=c();let m=a;!1===m&&(m=void 0),Uc(Wv.createElement(g4,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),h4.push(r),{destroy:r,update:function(e){a="function"==typeof e?e(a):Object.assign(Object.assign({},a),e),n(a)}}}function qu(e){return Object.assign(Object.assign({},e),{type:"warning"})}function Xu(e){return Object.assign(Object.assign({},e),{type:"info"})}function Ku(e){return Object.assign(Object.assign({},e),{type:"success"})}function Yu(e){return Object.assign(Object.assign({},e),{type:"error"})}function Qu(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Ju(){const e=Wv.useRef(null),[t,n]=Wv.useState([]);Wv.useEffect((()=>{t.length&&(ka(t).forEach((e=>{e()})),n([]))}),[t]);const r=Wv.useCallback((t=>function(r){var o;_4+=1;const i=Wv.createRef();let a;const s=new Promise((e=>{a=e}));let l,c=!1;const u=Wv.createElement(v4,{key:`modal-${_4}`,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&&h4.push(l),{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])))},then:e=>(c=!0,s.then(e))}}),[]);return[Wv.useMemo((()=>({info:r(Xu),success:r(Ku),error:r(Yu),warning:r(qu),confirm:r(Qu)})),[]),Wv.createElement(w4,{key:"modal-holder",ref:e})]}function Zu(e,t){return null===t||!1===t?null:t||Wv.createElement("span",{className:`${e}-close-x`},Wv.createElement(G2,{className:`${e}-close-icon`}))}function ed(e){const t=Wv.useRef(null);return[Wv.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=KN(n,["message","description","icon","type","btn","className","style","role","closeIcon"]),v=Zu(l,b);return o(Object.assign(Object.assign({placement:null!==(r=null==e?void 0:e.placement)&&void 0!==r?r:C4},y),{content:Wv.createElement(D4,{prefixCls:l,icon:d,type:p,message:c,description:u,btn:f,role:h}),className:L1(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}),[]),Wv.createElement(O4,Object.assign({key:"notification-holder"},e,{ref:t}))]}function td(e){return ed(e)}function nd(e){var t=arguments.length>0&&void 0!==e?e:250,n=Wv.useRef(null),r=Wv.useRef(null);return Wv.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 rd(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=Di(e,QN),x=d&&!y;return Wv.useEffect((function(){return function(){n(null)}}),[]),r=u&&c!==JN?u(c):b,l||(o={opacity:x?0:1,height:x?0:JN,overflowY:x?"hidden":JN,order:d?v:JN,pointerEvents:x?"none":JN,position:x?"absolute":JN}),i={},x&&(i["aria-hidden"]=!0),a=Wv.createElement(w,fa({className:L1(!l&&s,g),style:Sa(Sa({},o),h)},i,k,{ref:t}),r),d&&(a=Wv.createElement(Vj,{onResize:function(e){n(e.offsetWidth)},disabled:p},a)),a}function od(e,t){var n=Wa(Wv.useState(t),2),r=n[1];return[n[0],Pl((function(t){e((function(){r(t)}))}))]}function id(e){return"+ ".concat(e.length," ...")}function ad(e,t){function n(e,t,n){(re!==e||void 0!==t&&t!==ee)&&(oe(e),n||(le(eD,ge=Wv.useMemo((function(){var e=b;return pe?e=null===M&&I?b:b.slice(0,Math.min(b.length,L/k)):"number"==typeof D&&(e=b.slice(0,D)),e}),[b,k,M,D,pe]),he=Wv.useMemo((function(){return b.slice(pe?ie+1:ge.length)}),[b,ge,pe,ie]),be=Wv.useCallback((function(e,t){var n;return"function"==typeof _?_(e):null!==(n=_&&(null==e?void 0:e[_]))&&void 0!==n?n:t}),[_]),ye=Wv.useCallback(y||function(e){return e},[y]);return TO((function(){var e,t,r,i,a;if(L&&"number"==typeof ue&&ge){if(e=Q,r=(t=ge.length)-1,!t)return void n(0,null);for(i=0;iL){n(i-1,e-a-Q+X);break}}j&&o(0)+Q>L&&te(null)}}),[L,U,X,Q,be,ge]),a={},null!==ee&&pe&&(a={position:"absolute",left:ee,top:0}),s={prefixCls:ce,responsive:pe,component:z,invalidate:fe},l=v?function(e,t){var n=be(e,t);return Wv.createElement(eT.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 Wv.createElement(ZN,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=Wv.createElement(eT.Provider,{value:Sa(Sa({},s),u)},O(he))):(d=C||id,c=Wv.createElement(ZN,fa({},s,u),"function"==typeof d?d(he):d)),p=Wv.createElement(P,fa({className:L1(!fe&&g,E),style:S,ref:t},T),ge.map(l),me?c:null,j&&Wv.createElement(ZN,fa({},s,{responsive:de,responsiveDisabled:!pe,order:ie,className:"".concat(ce,"-suffix"),registerSize:function(e,t){J(t)},display:!0,style:a}),j)),de&&(p=Wv.createElement(Vj,{onResize:function(e,t){F(t.clientWidth)},disabled:!pe},p)),p}function sd(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function ld(e){return["string","number"].includes(xi(e))}function cd(e){var t=void 0;return e&&(ld(e.title)?t=e.title.toString():ld(e.label)&&(t=e.label.toString())),t}function ud(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}function dd(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function pd(e){return function(e){return dd(e)!==(null==e?void 0:e.ownerDocument)}(e)?dd(e):null}function fd(e){return e?Array.isArray(e)?e:[e]:[]}function md(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 gd(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function hd(e){return e.ownerDocument.defaultView}function bd(e){for(var t,n=[],r=null==e?void 0:e.parentElement,o=["hidden","scroll","clip","auto"];r;)[(t=hd(r).getComputedStyle(r)).overflowX,t.overflowY,t.overflow].some((function(e){return o.includes(e)}))&&n.push(r),r=r.parentElement;return n}function yd(e,t){var n=arguments.length>1&&void 0!==t?t:1;return Number.isNaN(e)?n:e}function vd(e){return yd(parseFloat(e),0)}function _d(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,E,D,C,O,j,$,P,z;e instanceof HTMLBodyElement||(r=(t=hd(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=vd(i),g=vd(a),_=(p-f-(h=vd(s))-(b=vd(l)))*(y=yd(Math.round(c.width/p*1e3)/1e3)),w=(u-d-m-g)*(v=yd(Math.round(c.height/u*1e3)/1e3)),k=m*v,x=g*v,S=h*y,E=b*y,D=0,C=0,"clip"===r&&(D=(O=vd(o))*y,C=O*v),P=(j=c.x+S-D)+c.width+2*D-S-E-_,z=($=c.y+k-C)+c.height+2*C-k-x-w,n.left=Math.max(n.left,j),n.top=Math.max(n.top,$),n.right=Math.min(n.right,P),n.bottom=Math.min(n.bottom,z))})),n}function wd(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 kd(e,t){var n=Wa(t||[],2),r=n[1];return[wd(e.width,n[0]),wd(e.height,r)]}function xd(e){var t=arguments.length>0&&void 0!==e?e:"";return[t[0],t[1]]}function Sd(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 Ed(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 Dd(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=Wv.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),Wv.createElement("div",{ref:b,className:L1("".concat(s,"-arrow"),d),style:t},p)):null}function Cd(e){var t=e.prefixCls,n=e.zIndex;return e.mask?Wv.createElement(z2,fa({},e.motion,{motionAppear:!0,visible:e.open,removeOnLeave:!0}),(function(e){var r=e.className;return Wv.createElement("div",{style:{zIndex:n},className:L1("".concat(t,"-mask"),r)})})):null}function Od(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 jd(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 $d(e){var t=Sa({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return $a(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function Pd(e){return"tags"===e||"multiple"===e}function zd(e,t){var n=arguments.length>1&&void 0!==t&&t;return Fs(e).map((function(e,t){if(!Wv.isValidElement(e)||!e.type)return null;var r=e.type.isSelectOptGroup,o=e.key,i=e.props,a=i.children,s=Di(i,TT);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},Di(n,NT))}(e):Sa(Sa({key:"__RC_SELECT_GRP__".concat(null===o?t:o,"__"),label:o},s),{},{options:zd(a)})})).filter((function(e){return e}))}function Nd(e){var t,n=Wv.useRef();return n.current=e,t=Wv.useCallback((function(){return n.current.apply(n,arguments)}),[]),t}function Td(e){return"touches"in e?e.touches[0].pageY:e.pageY}function Id(e){var t=e.children,n=e.setRef,r=Wv.useCallback((function(e){n(e)}),[]);return Wv.cloneElement(t,{ref:r})}function Ad(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,E=e.prefixCls,D=void 0===E?"rc-virtual-list":E,C=e.className,O=e.height,j=e.itemHeight,$=e.fullHeight,P=void 0===$||$,z=e.style,N=e.data,T=e.children,I=e.itemKey,A=e.virtual,R=e.direction,M=e.component,F=void 0===M?"div":M,L=e.onScroll,B=e.onVisibleChange,U=e.innerProps,H=Di(e,UT),W=!(!1===A||!O||!j),V=W&&N&&j*N.length>O,G=Wa(Wv.useState(0),2),q=G[0],X=G[1],K=Wa(Wv.useState(!1),2),Y=K[0],Q=K[1],J=L1(D,Ei({},"".concat(D,"-rtl"),"rtl"===R),C),Z=N||HT,ee=Wv.useRef(),te=Wv.useRef(),ne=Wv.useRef(),re=Wv.useCallback((function(e){return"function"==typeof I?I(e):null==e?void 0:e[I]}),[I]),oe={getKey:re},ie=Wv.useRef({start:0,end:Z.length}),ae=Wv.useRef(),se=function(e,t){var n=Wa(Wv.useState(e),2),r=n[0],o=n[1],i=Wa(Wv.useState(null),2),a=i[0],s=i[1];return Wv.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/j)),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=Wv.useRef(f=c-O)).current=f,b=R4(g=q<=0,h=q>=f),y=function(e,t,r){var o=Wv.useRef(0),i=Wv.useRef(null),a=Wv.useRef(null),s=Wv.useRef(!1),l=R4(t,r);return[function(t){if(e){Yj.cancel(i.current);var r=t.deltaY;o.current+=r,a.current=r,l(r)||(LT||t.preventDefault(),i.current=Yj((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=Wa(y,2),_=v[0],w=v[1],function(e,t,n){var r=Wv.useRef(!1),o=Wv.useRef(0),i=Wv.useRef(null),a=Wv.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*=BT,!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))};TO((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)})),TO((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=Wv.useRef();return function(l){var c,u,d,p,f;null!=l?(Yj.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,E,D;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(E=null,b){case"top":E=v-p;break;case"bottom":E=_-m+p;break;default:v<(D=e.current.scrollTop)?h="top":_>D+m&&(h="bottom")}null!==E&&E!==e.current.scrollTop&&a(E)}s.current=Yj((function(){g&&i(),l(d-1,h)}),2)}}(3))):null===(f=ne.current)||void 0===f||f.delayHidden()}}(ee,Z,s,j,re,a,n),Wv.useImperativeHandle(t,(function(){return{scrollTo:k}})),TO((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 Wv.createElement(Id,{key:s,setRef:function(t){return r(e,t)}},i)}))}(Z,u,d,i,T,oe),S=null,O&&(S=Sa(Ei({},P?"height":"maxHeight",O),WT),W&&(S.overflowY="hidden",Y&&(S.pointerEvents="none"))),Wv.createElement("div",fa({style:Sa(Sa({},z),{},{position:"relative"}),className:J},H),Wv.createElement(F,{className:"".concat(D,"-holder"),style:S,ref:ee,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==q&&n(t),null==L||L(e)}},Wv.createElement(RT,{prefixCls:D,height:c,offset:p,onInnerResize:a,ref:te,innerProps:U},x)),W&&Wv.createElement(MT,{ref:ne,prefixCls:D,scrollTop:q,height:O,scrollHeight:c,count:Z.length,direction:R,onScroll:function(e){n(e)},onStartMove:function(){Q(!0)},onStopMove:function(){Q(!1)}}))}function Rd(e){return"string"==typeof e||"number"==typeof e}function Md(e,t,n){return L1({[`${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 Fd(e,t){const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,i=e.controlHeightSM,[a]=Y4(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 Ld(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({},y2(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 Bd(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[Ld(e),Ld(Il(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}}}},Ld(Il(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}function Ud(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vd(){const[,e]=$l(),t=f6(m6(e));return o1.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 Gd(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,i=e.className,a=e.style;return Wv.createElement("div",{className:L1("".concat(n,"-content"),i),style:a},Wv.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof t?t():t))}function qd(e){const t=h6,{contentRadius:n,limitVerticalRadius:r}=e,o=n>12?n+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:r?t:o}}function Xd(e,t){return e?t:{}}function Kd(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}=qd({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"},h2(r,o,i,s,a)),{"&:before":{background:s}})]},Xd(!!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}}})),Xd(!!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}}})),Xd(!!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}})),Xd(!!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?Z1.includes(e):[].concat(ka(C6),ka(Z1)).includes(e)}function Qd(e,t){const n=Yd(t),r=L1({[`${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 Jd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zd(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===_?kI:_,k=e.getPopupContainer,x=e.showAction,S=e.hideAction,E=e.overlayClassName,D=e.overlayStyle,C=e.visible,O=e.trigger,j=void 0===O?["hover"]:O,$=e.autoFocus,P=e.overlay,z=e.children,N=e.onVisibleChange,T=Di(e,xI),I=Wa(o1.useState(),2),A=I[1],R="visible"in e?C:I[0],M=o1.useRef(null),F=o1.useRef(null),L=o1.useRef(null);return o1.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=Wv.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 bI:s();break;case yI:var t=!1;a.current||(t=l()),t?e.preventDefault():s()}};Wv.useEffect((function(){return t?(window.addEventListener("keydown",c),o&&Yj(l,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}}),[t])}({visible:R,triggerRef:L,onVisibleChange:r=function(e){A(e),null==N||N(e)},autoFocus:$,overlayRef:F}),o=function(t){var n=e.onOverlayClick;A(!1),n&&n(t)},i=function(){return o1.createElement(vI,{ref:F,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=o1.cloneElement(z,{className:L1(null===(n=z.props)||void 0===n?void 0:n.className,R&&(u=e.openClassName,void 0!==u?u:"".concat(m,"-open"))),ref:Hs(z)?Bs(L,z.ref):void 0}),(c=S)||-1===j.indexOf("contextMenu")||(c=["click"]),o1.createElement(A4,fa({builtinPlacements:w},T,{prefixCls:m,ref:M,popupClassName:L1(E,Ei({},"".concat(m,"-show-arrow"),p)),popupStyle:D,action:j,showAction:x,hideAction:c,popupPlacement:v,popupAlign:b,popupTransitionName:g,popupAnimation:h,popupVisible:R,stretch:s()?"minWidth":"",popup:a(),onPopupVisibleChange:r,onPopupClick:o,getPopupContainer:k}),l)}function ep(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function tp(e){return ep(Wv.useContext(SI),e)}function np(e){var t=e.children,n=e.locked,r=Di(e,EI),o=Wv.useContext(DI),i=Da((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 Wv.createElement(DI.Provider,{value:i},t)}function rp(){return Wv.useContext(OI)}function op(e){var t=Wv.useContext(jI);return Wv.useMemo((function(){return void 0!==e?[].concat(ka(t),[e]):t}),[t,e])}function ip(e,t){var n,r,o,i,a,s=arguments.length>1&&void 0!==t&&t;return!!d3(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 ap(e,t){var n=function(e,t){var n=arguments.length>1&&void 0!==t&&t,r=ka(e.querySelectorAll("*")).filter((function(e){return ip(e,n)}));return ip(e,n)&&r.unshift(e),r}(e,!0);return n.filter((function(e){return t.has(e)}))}function sp(e,t,n,r){var o,i,a,s=arguments.length>3&&void 0!==r?r:1;return e?(i=(o=ap(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 lp(e){var t,n=Wv.useRef(e);return n.current=e,t=Wv.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:Wv.createElement(np,{mode:d,locked:!y.current},Wv.createElement(z2,fa({visible:o},i,{forceRender:m,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),(function(e){return Wv.createElement(tA,{id:s,className:e.className,style:e.style},u)})))}function yp(e){var t=e.eventKey,n=e.children,r=op(t),o=mp(n,r),i=rp();return Wv.useEffect((function(){if(i)return i.registerPath(t,r),function(){i.unregisterPath(t,r)}}),[r]),Wv.createElement(jI.Provider,{value:r},i?o:Wv.createElement(lA,e,o))}function vp(e){var t=e.children,n=Di(e,uA),r=mp(t,op(n.eventKey));return rp()?r:Wv.createElement(dA,Qs(n,["warnKey"]),r)}function _p(e){var t=e.className,n=e.style,r=Wv.useContext(DI).prefixCls;return rp()?null:Wv.createElement("li",{className:L1("".concat(r,"-item-divider"),t),style:n})}function wp(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=Di(n,pA),l=null!=i?i:"tmp-".concat(t),o||"group"===a?Wv.createElement("group"===a?vp:yp,fa({key:l},s,{title:r}),wp(o)):"divider"===a?Wv.createElement(_p,fa({key:l},s)):Wv.createElement(T6,fa({key:l},s),r)):null})).filter((function(e){return e}))}function kp(e,t,n){var r=e;return t&&(r=wp(t)),mp(r,n)}function xp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sp(e){return(e||[]).map(((e,t)=>{if(e&&"object"==typeof e){const n=e,{label:r,children:o,key:i,type:a}=n,s=vA(n,["label","children","key","type"]),l=null!=i?i:`tmp-${t}`;return o||"group"===a?Wv.createElement("group"===a?vp:F6,Object.assign({key:l},s,{title:r}),Sp(o)):"divider"===a?Wv.createElement(A6,Object.assign({key:l},s)):Wv.createElement(M6,Object.assign({key:l},s),r)}return null})).filter((e=>e))}function Ep(e){return Wv.useMemo((()=>e?Sp(e):e),[e])}function Dp(e){return Il(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 Cp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Op(e){return e&&"object"==typeof e?e:{}}function jp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $p(e){var t=e.id,n=e.activeKey,r=e.animated,o=e.tabPosition,i=e.destroyInactiveTabPane,a=Wv.useContext(R8),s=a.prefixCls,l=a.tabs,c=r.tabPane,u="".concat(s,"-tabpane");return Wv.createElement("div",{className:L1("".concat(s,"-content-holder"))},Wv.createElement("div",{className:L1("".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=Di(e,DA),p=o===n;return Wv.createElement(z2,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 Wv.createElement(EA,fa({},d,{prefixCls:u,id:t,tabKey:o,animated:c,active:p,style:Sa(Sa({},s),r),className:L1(l,i),ref:n}))}))}))))}function Pp(e,t){var n=Wv.useRef(e),r=Wa(Wv.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 zp(e){var t=Wa(Wv.useState(0),2),n=t[0],r=t[1],o=Wv.useRef(0),i=Wv.useRef();return i.current=e,IO((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 Np(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}function Tp(e){return String(e).replace(/"/g,NA)}function Ip(e,t,n,r){return!(!n||r||!1===e||void 0===e&&(!1===t||null===t))}function Ap(e,t){var n=e.editable,r=e.locale,o=e.style;return n&&!1!==n.showAdd?Wv.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 Rp(e,t){function n(e){var t,n,r=l.filter((function(e){return!e.disabled})),o=r.findIndex((function(e){return e.key===C}))||0,i=r.length;for(t=0;tLe?Le:e}function r(){u(Date.now())}function o(){window.clearTimeout(s.current)}function i(){Yj.cancel(C.current)}var a,s,l,c,u,d,p,f,m,g,h,b,y,v,_,w,k,x,S,E,D,C,O,j,$,P,z,N,T,I,A,R,M,F=Wv.useContext(R8),L=F.prefixCls,B=F.tabs,U=e.className,H=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=Wv.useRef(),re=Wv.useRef(),oe=Wv.useRef(),ie=Wv.useRef(),ae=Wv.useRef(),se=Wv.useRef(),le=Wv.useRef(),ce="top"===Q||"bottom"===Q,ue=Wa(Pp(0,(function(e,t){ce&&te&&te({direction:e>t?"left":"right"})})),2),de=ue[0],pe=ue[1],fe=Wa(Pp(0,(function(e,t){!ce&&te&&te({direction:e>t?"top":"bottom"})})),2),me=fe[0],ge=fe[1],he=Wa(Wv.useState([0,0]),2),be=he[0],ye=he[1],ve=Wa(Wv.useState([0,0]),2),_e=ve[0],we=ve[1],ke=Wa(Wv.useState([0,0]),2),xe=ke[0],Se=ke[1],Ee=Wa(Wv.useState([0,0]),2),De=Ee[0],Ce=Ee[1],Oe=(T=new Map,I=Wv.useRef([]),A=Wa(Wv.useState({}),2)[1],R=Wv.useRef("function"==typeof T?T():T),M=zp((function(){var e=R.current;I.current.forEach((function(t){e=t(e)})),I.current=[],R.current=e,A({})})),[R.current,function(e){I.current.push(e),M()}]),je=Wa(Oe,2),$e=je[1],Pe=function(e,t,n){return Wv.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)||CA,u=c.left+c.width;for(r=0;ra?(o=n,g.current="x"):(o=r,g.current="y"),t(-o,-o)&&e.preventDefault()}},Wv.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!!Ae&&(ce?i(pe,e):i(ge,t),o(),r(),!0)})),Wv.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),Wv.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)||zA)[l]=r?[0,0]:[a,r]}),[e,t,r,o,i,c,d,u.map((function(e){return e.key})).join("_"),p])}(Pe,Re,ce?de:me,Ne,Te,Ie,Sa(Sa({},e),{},{tabs:B})),f=(p=Wa(d,2))[0],m=p[1],g=Pl((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+Re&&(t=o.right+o.width-Re):o.left<-de?t=-o.left:o.left+o.width>-de+Re&&(t=-(o.left+o.width-Re)),ge(0),pe(n(t))):(r=me,o.top<-me?r=-o.top:o.top+o.height>-me+Re&&(r=-(o.top+o.height-Re)),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 Wv.createElement(Mp,{id:W,prefixCls:L,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 $e((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(Tp(r),'"]'));o&&e.set(r,{width:o.offsetWidth,height:o.offsetHeight,left:o.offsetLeft,top:o.offsetTop})})),e}))},Wv.useEffect((function(){y()}),[B.map((function(e){return e.key})).join("_")]),v=zp((function(){var e,t,n,r=IA(ne),o=IA(re),i=IA(oe);ye([r[0]-o[0]-i[0],r[1]-o[1]-i[1]]),e=IA(le),Se(e),t=IA(se),Ce(t),n=IA(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=Wa(Wv.useState(),2))[0],E=x[1],D=Pe.get(G),C=Wv.useRef(),Wv.useEffect((function(){var e={};return D&&(ce?(q?e.right=D.right:e.left=D.left,e.width=D.width):(e.top=D.top,e.height=D.height)),i(),C.current=Yj((function(){E(e)})),i}),[D,ce,q]),Wv.useEffect((function(){g()}),[G,Fe,Le,Np(D),Np(Pe),ce]),Wv.useEffect((function(){v()}),[q]),O=!!k.length,j="".concat(L,"-nav-wrap"),ce?q?(P=de>0,$=de!==Le):($=de<0,P=de!==Fe):(z=me<0,N=me!==Fe),Wv.createElement(Vj,{onResize:v},Wv.createElement("div",{ref:Us(t,ne),role:"tablist",className:L1("".concat(L,"-nav"),U),style:H,onKeyDown:function(){r()}},Wv.createElement(TA,{ref:re,position:"left",extra:X,prefixCls:L}),Wv.createElement("div",{className:L1(j,(a={},Ei(a,"".concat(j,"-ping-left"),$),Ei(a,"".concat(j,"-ping-right"),P),Ei(a,"".concat(j,"-ping-top"),z),Ei(a,"".concat(j,"-ping-bottom"),N),a)),ref:ie},Wv.createElement(Vj,{onResize:v},Wv.createElement("div",{ref:ae,className:"".concat(L,"-nav-list"),style:{transform:"translate(".concat(de,"px, ").concat(me,"px)"),transition:c?"none":void 0}},b,Wv.createElement(M8,{ref:le,prefixCls:L,locale:Y,editable:K,style:Sa(Sa({},0===b.length?void 0:h),{},{visibility:O?"hidden":null})}),Wv.createElement("div",{className:L1("".concat(L,"-ink-bar"),Ei({},"".concat(L,"-ink-bar-animated"),V.inkBar)),style:S})))),Wv.createElement(F8,fa({},e,{removeAriaLabel:null==Y?void 0:Y.removeAriaLabel,ref:se,prefixCls:L,tabs:k,className:!O&&Me,tabMoving:!!c})),Wv.createElement(TA,{ref:oe,position:"right",extra:X,prefixCls:L})))}function Lp(e){var t=e.renderTabBar,n=Di(e,RA),r=Wv.useContext(R8).tabs;return t?t(Sa(Sa({},n),{},{panes:r.map((function(e){var t=e.label,n=e.key,r=Di(e,MA);return Wv.createElement(EA,fa({tab:t,key:n,tabKey:n},r))}))}),L8):Wv.createElement(L8,n)}function Bp(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,E=void 0===S?"top":S,D=e.tabBarGutter,C=e.tabBarStyle,O=e.tabBarExtraContent,j=e.locale,$=e.moreIcon,P=e.moreTransitionName,z=e.destroyInactiveTabPane,N=e.renderTabBar,T=e.onChange,I=e.onTabClick,A=e.onTabScroll,R=e.getPopupContainer,M=e.popupClassName,F=Di(e,FA),L=Wv.useMemo((function(){return(y||[]).filter((function(e){return e&&"object"===xi(e)&&"key"in e}))}),[y]),B="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}:Sa({inkBar:!0},"object"===xi(n)?n:{})).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(x),H=Wa(Wv.useState(!1),2),W=H[0],V=H[1];return Wv.useEffect((function(){V(I4())}),[]),r=Wa(Tl((function(){var e;return null===(e=L[0])||void 0===e?void 0:e.key}),{value:_,defaultValue:w}),2),o=r[0],i=r[1],a=Wa(Wv.useState((function(){return L.findIndex((function(e){return e.key===o}))})),2),s=a[0],l=a[1],Wv.useEffect((function(){var e,t=L.findIndex((function(e){return e.key===o}));-1===t&&(t=Math.max(0,Math.min(s,L.length-1)),i(null===(e=L[t])||void 0===e?void 0:e.key)),l(t)}),[L.map((function(e){return e.key})).join("_"),o,s]),u=(c=Wa(Tl(null,{value:m}),2))[0],d=c[1],Wv.useEffect((function(){m||(d("rc-tabs-".concat(LA)),LA+=1)}),[]),f=Sa(Sa({},p={id:u,activeKey:o,animated:U,tabPosition:E,rtl:B,mobile:W}),{},{editable:k,locale:j,moreIcon:$,moreTransitionName:P,tabBarGutter:D,onTabClick:function(e,t){null==I||I(e,t);var n=e!==o;i(e),n&&(null==T||T(e))},onTabScroll:A,extra:O,style:C,panes:null,getPopupContainer:R,popupClassName:M}),Wv.createElement(R8.Provider,{value:{tabs:L,prefixCls:h}},Wv.createElement("div",fa({ref:t,id:m,className:L1(h,"".concat(h,"-").concat(E),(n={},Ei(n,"".concat(h,"-mobile"),W),Ei(n,"".concat(h,"-editable"),k),Ei(n,"".concat(h,"-rtl"),B),n),b)},F),void 0,Wv.createElement(Lp,fa({},f,{renderTabBar:N})),Wv.createElement($p,fa({destroyInactiveTabPane:z},p,{animated:U}))))}function Up(e,t){const[n,r]=Wv.useState("string"==typeof e?e:"");return Wv.useEffect((()=>{(()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;nNumber.MAX_SAFE_INTEGER)return String(Vp()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e3&&void 0!==r&&r;return""===e?"":(i=(o=qp(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?Zp(Jp(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 ef(e){return!(!e.addonBefore&&!e.addonAfter)}function tf(e){return!!(e.prefix||e.suffix||e.allowClear)}function nf(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 rf(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 of(e){return null==e?"":String(e)}function af(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=Wv.useRef(),g=Wv.useRef([]),h=Wv.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,sR)}),lR)},Wv.useEffect((function(){return function(){t(),g.current.forEach((function(e){return Yj.cancel(e)}))}}),[]),aR()?null:(r="".concat(l,"-handler"),o=L1(r,"".concat(r,"-up"),Ei({},"".concat(r,"-up-disabled"),d)),i=L1(r,"".concat(r,"-down"),Ei({},"".concat(r,"-down-disabled"),p)),s={unselectable:"on",role:"button",onMouseUp:a=function(){return g.current.push(Yj(t))},onMouseLeave:a},Wv.createElement("div",{className:"".concat(r,"-wrap")},Wv.createElement("span",fa({},s,{onMouseDown:function(e){n(e,!0)},"aria-label":"Increase Value","aria-disabled":d,className:o}),c||Wv.createElement("span",{unselectable:"on",className:"".concat(l,"-handler-up-inner")})),Wv.createElement("span",fa({},s,{onMouseDown:function(e){n(e,!1)},"aria-label":"Decrease Value","aria-disabled":p,className:i}),u||Wv.createElement("span",{unselectable:"on",className:"".concat(l,"-handler-down-inner")}))))}function sf(e){var t="number"==typeof e?Yp(e):qp(e).fullStr;return t.includes(".")?qp(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}function lf(e,t){const n=Wv.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 Wv.useEffect((()=>(t&&r(),()=>n.current.forEach((e=>{e&&clearTimeout(e)})))),[]),r}function cf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function df(e,t){return ka(e||"").slice(0,t).join("")}function pf(e,t,n,r){var o=n;return e?o=df(n,r):ka(t||"").lengthr&&(o=t),o}function ff(e){return"string"==typeof e&&String(Number(e))===e?($a(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}function mf(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,E=e.autoFocus,D=e.keyboard,C=e.rootClassName,O=e.rootStyle,j=e.zIndex,$=e.className,P=e.style,z=e.motion,N=e.width,T=e.height,I=e.children,A=e.contentWrapperStyle,R=e.mask,M=e.maskClosable,F=e.maskMotion,L=e.maskClassName,B=e.maskStyle,U=e.afterOpenChange,H=e.onClose,W=e.onMouseEnter,V=e.onMouseOver,G=e.onMouseLeave,q=e.onClick,X=e.onKeyDown,K=e.onKeyUp,Y=Wv.useRef(),Q=Wv.useRef(),J=Wv.useRef();if(Wv.useImperativeHandle(t,(function(){return Y.current})),a=function(e){var t,n,r=e.keyCode,o=e.shiftKey;switch(r){case yz.TAB:r===yz.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 yz.ESC:H&&D&&(e.stopPropagation(),H(e))}},Wv.useEffect((function(){var e;_&&E&&(null===(e=Y.current)||void 0===e||e.focus({preventScroll:!0}))}),[_]),l=(s=Wa(Wv.useState(!1),2))[0],c=s[1],u=Wv.useContext(PR),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=Wv.useMemo((function(){return{pushDistance:d,push:function(){c(!0)},pull:function(){c(!1)}}}),[d]),Wv.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)}),[_]),Wv.useEffect((function(){return function(){var e;null==u||null===(e=u.pull)||void 0===e||e.call(u)}}),[]),f=R&&Wv.createElement(z2,fa({key:"mask"},F,{visible:_}),(function(e,t){var n=e.className,r=e.style;return Wv.createElement("div",{className:L1("".concat(v,"-mask"),n,L),style:Sa(Sa({},r),B),onClick:M&&_?H:void 0,ref:t})})),m="function"==typeof z?z(w):z,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=ff(N):g.height=ff(T),h={onMouseEnter:W,onMouseOver:V,onMouseLeave:G,onClick:q,onKeyDown:X,onKeyUp:K},b=Wv.createElement(z2,fa({key:"panel"},m,{visible:_,forceRender:S,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 Wv.createElement("div",fa({className:L1("".concat(v,"-content-wrapper"),r),style:Sa(Sa(Sa({},g),o),A)},$c(e,{data:!0})),Wv.createElement(zR,fa({containerRef:n,prefixCls:v,className:$,style:P},h),I))})),y=Sa({},O),j&&(y.zIndex=j),Wv.createElement(PR.Provider,{value:p},Wv.createElement("div",{className:L1(v,"".concat(v,"-").concat(w),C,(i={},Ei(i,"".concat(v,"-open"),_),Ei(i,"".concat(v,"-inline"),k),i)),style:y,tabIndex:-1,ref:Y,onKeyDown:a},f,Wv.createElement("div",{tabIndex:0,ref:Q,style:NR,"aria-hidden":"true","data-sentinel":"start"}),b,Wv.createElement("div",{tabIndex:0,ref:J,style:NR,"aria-hidden":"true","data-sentinel":"end"})))}function gf(e){const[t,n]=Wv.useState(e);return Wv.useEffect((()=>{const t=setTimeout((()=>{n(e)}),e.length?0:10);return()=>{clearTimeout(t)}}),[e]),t}function hf(e,t,n,r){return{key:"string"==typeof e?e:`${t}-${arguments.length>3&&void 0!==r?r:0}`,error:e,errorStatus:n}}function bf(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function yf(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:m7.includes(n)?`${g7}_${n}`:n}function vf(e){return bf(e).join("_")}function _f(e){const[t]=Lu(),n=Wv.useRef({}),r=Wv.useMemo((()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{const r=vf(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=yf(bf(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(t3(e,t));var n;const r="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:o,top:i,left:a}of t3(e,n3(t)))o.scroll({top:i,left:a,behavior:r})}(i,Object.assign({scrollMode:"if-needed",block:"nearest"},n))},getFieldInstance:e=>{const t=vf(e);return n.current[t]}})),[e,t]);return[r]}function wf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kf(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=UR(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),y=`${t}-item`,{requiredMark:v}=Wv.useContext(g5),_=Wv.useRef(null),w=gf(a),k=gf(s),x=null!=i,S=!!(x||a.length||s.length),E=!!_.current&&d3(_.current),[D,C]=Wv.useState(null);TO((()=>{if(S&&_.current){const e=getComputedStyle(_.current);C(parseInt(e.marginBottom,10))}}),[S,E]);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}(),j=Wv.useMemo((()=>{let e;if(u){const t=O&&x7[O];e=t?Wv.createElement("span",{className:L1(`${y}-feedback-icon`,`${y}-feedback-icon-${O}`)},Wv.createElement(t,null)):null}return{status:O,errors:a,warnings:s,hasFeedback:u,feedbackIcon:e,isFormItemInput:!0}}),[O,u]),$=L1(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 Wv.createElement("div",{className:$,style:o,ref:_},Wv.createElement(l9,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"])),Wv.createElement(k7,Object.assign({htmlFor:f},e,{requiredMark:v,required:null!=m?m:g,prefixCls:t})),Wv.createElement(_7,Object.assign({},e,c,{errors:w,warnings:k,prefixCls:t,status:O,help:i,marginBottom:D,onErrorVisibleChanged:e=>{e||C(null)}}),Wv.createElement(h5.Provider,{value:h},Wv.createElement(v5.Provider,{value:j},p)))),!!D&&Wv.createElement("div",{className:`${y}-margin-offset`,style:{marginBottom:-D}}))}function xf(){if(!O7){const e=document.createDocumentFragment(),t={fragment:e};return O7=t,void j7((()=>{Uc(Wv.createElement(z7,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,xf())}))}}),e)}))}O7.instance&&($7.forEach((e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":j7((()=>{const t=O7.instance.open(Object.assign(Object.assign({},P7),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)}));break;case"destroy":j7((()=>{null==O7||O7.instance.destroy(e.key)}));break;default:j7((()=>{var n;const r=(n=O7.instance)[t].apply(n,ka(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)}))}})),$7=[])}function Sf(e){return Gu(qu(e))}function Ef(){if(!M7){const e=document.createDocumentFragment(),t={fragment:e};return M7=t,void F7((()=>{Uc(Wv.createElement(U7,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Ef())}))}}),e)}))}M7.instance&&(L7.forEach((e=>{switch(e.type){case"open":F7((()=>{M7.instance.open(Object.assign(Object.assign({},B7),e.config))}));break;case"destroy":F7((()=>{null==M7||M7.instance.destroy(e.key)}))}})),L7=[])}function Df(e){L7.push({type:"open",config:e}),Ef()}function Cf(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=Wv.useRef(null),p=Wa(Wv.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=Wa(Wv.useState(null),2),b=h[0],y=h[1],v=Wa(Wv.useState(null),2),_=v[0],w=v[1];return TO((function(){var e,t,n,r;f!==i&&(e=g(f),t=g(i),n=VR(e),r=VR(t),m(i),y(n),w(r),e&&t?l():c())}),[i]),t=Wv.useMemo((function(){return GR("rtl"===u?-(null==b?void 0:b.right):null==b?void 0:b.left)}),[u,b]),n=Wv.useMemo((function(){return GR("rtl"===u?-(null==_?void 0:_.right):null==_?void 0:_.left)}),[u,_]),b&&_?Wv.createElement(z2,{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":GR(null==b?void 0:b.width),"--thumb-active-left":n,"--thumb-active-width":GR(null==_?void 0:_.width)}),s={ref:Bs(d,o),style:a,className:L1("".concat(r,"-thumb"),i)};return Wv.createElement("div",s)})):null}function Of(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function jf(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}function $f(e,t,n){return(e-t)/(n-t)}function Pf(e,t,n,r){var o=$f(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 zf(e,t){return Array.isArray(e)?e[t]:e}function Nf(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function Tf(e){var t=e.prefixCls,n=e.style,r=e.start,o=e.end,i=e.index,a=e.onStartMove,s=Wv.useContext(QR),l=s.direction,c=s.min,u=s.max,d=s.disabled,p=s.range,f="".concat(t,"-track"),m=$f(r,c,u),g=$f(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 Wv.createElement("div",{className:L1(f,p&&"".concat(f,"-").concat(i+1)),style:Sa(Sa({},b),n),onMouseDown:h,onTouchStart:h})}function If(e){var t=e.prefixCls,n=e.style,r=e.values,o=e.startPoint,i=e.onStartMove,a=Wv.useContext(QR),s=a.included,l=a.range,c=a.min,u=Wv.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 wm(e){var t,n,r,o,i,a,s,l,c,u,d;if("string"!=typeof e)throw new sL(3);if(t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return lL[t]?"#"+lL[t]:e}(e),t.match(cL))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(uL))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(dL))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(pL))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=fL.exec(t))return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};if(i=mL.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=gL.exec(t)){if(s="rgb("+_m(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",!(l=fL.exec(s)))throw new sL(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}if(c=hL.exec(t.substring(0,50))){if(u="rgb("+_m(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",!(d=fL.exec(u)))throw new sL(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 sL(5)}function km(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function xm(e){return km(Math.round(255*e))}function Sm(e,t,n){return bL("#"+xm(e)+xm(t)+xm(n))}function Em(e,t,n){return _m(e,t,n,Sm)}function Dm(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return bL("#"+km(e)+km(t)+km(n));if("object"==typeof e&&void 0===t&&void 0===n)return bL("#"+km(e.red)+km(e.green)+km(e.blue));throw new sL(6)}function Cm(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=wm(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?Dm(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?Dm(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new sL(7)}function Om(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):Om(e,t,r)}}function jm(e){return Om(e,e.length,[])}function $m(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?Em(e.hue,e.saturation,e.lightness):"rgba("+_m(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new sL(2)}(e);if(_L(e))return function(e){if("object"==typeof e)return Em(e.hue,e.saturation,e.lightness);throw new sL(1)}(e);throw new sL(8)}(fa({},n,{hue:n.hue+parseFloat(e)}))}function Pm(e){var t,n;return"transparent"===e?0:(t=wm(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 zm(e,t,n,r){var o,i,a,s,l;return void 0===t&&(t=xL),void 0===n&&(n=SL),void 0===r&&(r=!0),i=(o=Pm(e)>.179)?t:n,!r||(a=i,s=Pm(e),l=Pm(a),parseFloat((s>l?(s+.05)/(l+.05):(l+.05)/(s+.05)).toFixed(2))>=4.5)?i:o?xL:SL}function Nm(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 Tm(e){var t,n;for(t=1;t0)&&!(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 Um(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=48&&e<=57}function ag(e){return`${Gee}${e}`}async function sg(e){const t=[],n=await async function(e){const t=ag(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then((e=>e.text()))}(e);let r;try{r=JSON.parse(n)}catch(d0){if(r=Vee(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return r}async function lg(e){const t=cg(await sg(e));if(t.include){const n=await lg(ng(...tg(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 cg(e){const t={name:e.name,type:e.type||"dark",...e,...ug(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 ug(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?Kee.light:Kee.dark),a||(a="light"===e.type?Yee.light:Yee.dark),{fg:i,bg:a}}function dg(e,t){let n=[];for(let r=0,o=t.length;r=0&&i>=0;)pg(t[o],r[i])&&o--,i--;return-1===o}function mg(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 bg(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)nV[r]&&t.push({type:"setDecoration",value:nV[r]});else if(r<=29){const e=nV[r-20];e&&t.push({type:"resetDecoration",value:e})}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:tV[r-30]}});else if(38===r){const n=hg(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:tV[r-40]}});else if(48===r){const n=hg(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:tV[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:tV[r-100+8]}})}return t}function yg(e,t={}){function n(e="",t={},n){const r=i[e]||Jee[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&KW.Italic&&i.push("font-style: italic"),e.fontStyle&KW.Bold&&i.push("font-weight: bold"),e.fontStyle&KW.Underline&&i.push("text-decoration: underline"),n("token",{style:i.join("; "),tokens:r,token:e,index:o},[(a=e.content,a.replace(/[&<>"']/g,(e=>Zee[e])))]);var a}))))))])}function vg(e){return"string"==typeof e?Hee.find((t=>{var n;return t.id===e||(null==(n=t.aliases)?void 0:n.includes(e))})):e}async function _g(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=XW.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=gg(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=bg(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=KW.None;return t.decorations.has("bold")&&(o|=KW.Bold),t.decorations.has("italic")&&(o|=KW.Italic),t.decorations.has("underline")&&(o|=KW.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=Hee,r=e.themes||[],o=(null==(t=e.paths)?void 0:t.wasm)?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":qee;return e.langs&&(n=e.langs.map(vg)),e.theme&&r.unshift(e.theme),r.length||(r=["nord"]),{_languages:n,_themes:r,_wasmPath:o}}(e),c=new Qee(async function(e){if(!Xee){let t;t=GW.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(ag(ng(...tg(e),"onig.wasm")))}),Xee=t.then((()=>({createOnigScanner:e=>GW.createOnigScanner(e),createOnigString:e=>GW.createOnigString(e)})))}return Xee}(l),"vscode-oniguruma"),u=new ete(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=vg(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}}}function wg(e){var t,n=e.getSnapshot;e=e.value;try{return t=n(),!cV(e,t)}catch(r){return!0}}function kg(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 xg(e){var t,n;for(t=1;t=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 oh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n52;t=t/52|0)n=MX(t%52)+n;return(MX(t%52)+n).replace(RX,"$1-$2")}function mh(e){return"string"==typeof e&&!0}function gh(e){return("type"in(t=e)&&t.type.$$typeof)===HX?qX:"$$typeof"in e?XX[e.$$typeof]:VX;var t}function hh(e,t,n){var r,o,i,a,s,l,c;if("string"!=typeof t)for(eK&&(r=ZX(t))&&r!==eK&&hh(e,r,n),o=YX(t),QX&&(o=o.concat(QX(t))),i=gh(e),a=gh(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}function Eh(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=Eh(e.children,t)),e}))}function Dh(){return Wv.useContext(kK)}function Ch(e){var t,n,r;for(t="",n=0;n>>0)}("6.0.6"+f+$K[f])),d?"".concat(d,"-").concat(p):p):v;return void 0===t.displayName&&function(e){mh(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e),r=t.displayName&&t.componentId?"".concat(ph(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 OK(n,r,m?g.componentStyle:void 0),c=o1.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=o1.useContext(jK),h=Dh(),b=e.shouldForwardProp||h.shouldForwardProp,y=function(e,t,n){var r,o,i,a,s;for(o=HL(HL({},t),{className:void 0,theme:n}),i=0;i{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,Mte(e,r))}function Mh(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}=Wv.useContext(Vte)||{},s=o||i||Ute;if(s&&!s.reportNamespaces&&(s.reportNamespaces=new Gte),!s){Ih("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&&Ih("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const l={...Hte,...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):(Ih("i18n.languages were undefined or empty",t.languages),!0)}(e,s,l))),[f,m]=Wv.useState(n);let g=d.join();r.lng&&(g=`${r.lng}${g}`);const h=(e=>{const t=Wv.useRef();return Wv.useEffect((()=>{t.current=e}),[e,void 0]),t.current})(g),b=Wv.useRef(!0);Wv.useEffect((()=>{function e(){b.current&&m(n)}const{bindI18n:t,bindI18nStore:o}=l;return b.current=!0,p||c||(r.lng?Rh(s,r.lng,d,(()=>{b.current&&m(n)})):Ah(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=Wv.useRef(!0);Wv.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?Rh(s,r.lng,d,(()=>e())):Ah(s,d,(()=>e()))}))}function Fh(e){var t,n,r=this;if(r instanceof Fh||(r=new Fh),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=>!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],D(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=>E(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],"")),E=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?s.GTE0PRE:s.GTE0],"")),D=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(),C=(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 hY}function Uh(){if(vY)return yY;vY=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(">")))}}yY=t;const n=LK,{safeRe:r,t:o}=FK,i=uY,a=MK,s=UK,l=Bh();return yY}function Hh(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(Wh(d)),function(e,t,n){Hh(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){Hh(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){Hh("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(p),o=p(r)}if(e.dispatch(Wh(d,o)),null!=(i=m.getSource(r).beginDrag(f,r)))return function(e){Hh(Gh(e),"Item must be an object.")}(i),m.pinSource(r),a=m.getSourceType(r),{type:AY,payload:{itemType:a,item:i,sourceId:r,clientOffset:d||null,sourceClientOffset:o||null,isSourcePublic:!!u}}}else e.dispatch(BY)}}function Xh(e){return function(){if(e.getMonitor().isDragging())return{type:RY}}}function Kh(e,t){return null===t?null===e:Array.isArray(e)?e.some((function(e){return e===t})):e===t}function Yh(e){return function(t,n){var r,o,i,a=(arguments.length>1&&void 0!==n?n:{}).clientOffset;return function(e){Hh(Array.isArray(e),"Expected targetIds to be an array.")}(t),function(e,t,n){var r,o;for(Hh(t.isDragging(),"Cannot call hover while not dragging."),Hh(!t.didDrop(),"Cannot call hover after drop."),r=0;r=0;r--)Kh(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:MY,payload:{targetIds:r,clientOffset:a||null}}}}function Qh(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 Jh(e){var t,n;for(t=1;t0&&void 0!==t?t:{},o=e.getMonitor(),i=e.getRegistry();!function(e){Hh(e.isDragging(),"Cannot call drop while not dragging."),Hh(!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){Hh(void 0===e||Gh(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:FY,payload:{dropResult:Jh(Jh({},r),a)}};e.dispatch(s)}))}}function tb(e){return function(){var t,n=e.getMonitor(),r=e.getRegistry();return function(e){Hh(e.isDragging(),"Cannot call endDrag while not dragging.")}(n),null!=(t=n.getSourceId())&&(r.getSource(t,!0).endDrag(n,t),r.unpinSource()),{type:LY}}}function nb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rb(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 ob(e,t,n,r){function o(){p===d&&(p=d.slice())}function i(){if(f)throw new Error(rb(3));return u}function a(e){if("function"!=typeof e)throw new Error(rb(4));if(f)throw new Error(rb(5));var t=!0;return o(),p.push(e),function(){if(t){if(f)throw new Error(rb(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(rb(7));if(void 0===e.type)throw new Error(rb(8));if(f)throw new Error(rb(9));try{f=!0,u=c(u,e)}finally{f=!1}for(t=d=p,n=0;n0&&void 0!==e?e:qY,i=arguments.length>1?t:void 0,a=i.payload;switch(i.type){case IY:case AY:return{initialSourceClientOffset:a.sourceClientOffset,initialClientOffset:a.clientOffset,clientOffset:a.clientOffset};case MY:return r=a.clientOffset,!(n=o.clientOffset)&&!r||n&&r&&n.x===r.x&&n.y===r.y?o:ab(ab({},o),{},{clientOffset:a.clientOffset});case LY:case FY:return qY;default:return o}}function cb(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;t0&&void 0!==e?e:JY,i=arguments.length>1?t:void 0,a=i.payload;switch(i.type){case AY:return ub(ub({},o),{},{itemType:a.itemType,item:a.item,sourceId:a.sourceId,isSourcePublic:a.isSourcePublic,dropResult:null,didDrop:!1});case RY:return ub(ub({},o),{},{isSourcePublic:!0});case MY:return ub(ub({},o),{},{targetIds:a.targetIds});case QY:return-1===o.targetIds.indexOf(a.targetId)?o:ub(ub({},o),{},{targetIds:(n=o.targetIds,r=a.targetId,n.filter((function(e){return e!==r})))});case FY:return ub(ub({},o),{},{dropResult:a.dropResult,didDrop:!0,targetIds:[]});case LY:return ub(ub({},o),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return o}}function fb(e,t){var n=arguments.length>0&&void 0!==e?e:0;switch((arguments.length>1?t:void 0).type){case XY:case KY:return n+1;case YY:case QY:return n-1;default:return n}}function mb(e,t){var n,r,o,i,a,s,l,c,u,d=arguments.length>1?t:void 0;switch(d.type){case MY:break;case XY:case KY:case QY:case YY:return ZY;default:return eQ}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:GY;if(e.length!==t.length)return!1;for(r=0;r0&&void 0!==e?e:0)+1}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 bb(e){var t,n;for(t=1;t0&&void 0!==e?e:{},i=arguments.length>1?t:void 0;return{dirtyHandlerIds:mb(o.dirtyHandlerIds,{type:i.type,payload:bb(bb({},i.payload),{},{prevTargetIds:(n=o,r=[],"dragOperation.targetIds".split(".").reduce((function(e,t){return e&&e[t]?e[t]:r||null}),n))})}),dragOffset:lb(o.dragOffset,i),refCount:fb(o.refCount,i),dragOperation:pb(o.dragOperation,i),stateId:gb(o.stateId)}}function _b(e,t){return{x:e.x-t.x,y:e.y-t.y}}function wb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kb(e){return(kb="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 xb(e,t){t&&Array.isArray(e)?e.forEach((function(e){return xb(e,!1)})):Hh("string"==typeof e||"symbol"===kb(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 Sb(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}const n=setTimeout(t,0),r=setInterval(t,50)}}function Eb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Db(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__,ob(vb,arguments.length>3&&void 0!==r&&r&&o&&o({name:"dnd-core",instanceId:"dnd-core"}))),l=new tQ(s,new rQ(s)),c=new UY(s,l),u=e(c,i,a);return c.receiveBackend(u),c}function $b(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 Wv.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 Hh("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"),Wv.cloneElement(e,n?{ref:function(e){Ib(n,e),Ib(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 Ib(e,t){"function"==typeof e?e(t):e.current=t}function Ab(e){return(Ab="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 Rb(e){return null!==e&&"object"===Ab(e)&&Object.prototype.hasOwnProperty.call(e,"current")}function Mb(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 Fy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ly(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 By(e){var t,n;for(t=1;tNumber(e)-Number(t))).map((t=>e[t])):e}function ov(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function iv(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 av(e){const t=(e=ov(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function sv(e,t){ev((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&&nv(n,e).includes(e.arrayFormatSeparator);n=i?nv(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>nv(t,e))):null===n?n:nv(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?nv(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>nv(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]=Jy(e,"=");void 0===i&&(i=e),a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:nv(a,t),n(nv(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]=iv(n,t);else r[o]=iv(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)?rv(n):n,e}),Object.create(null))}function lv(e,t){if(!e)return"";ev((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const n=n=>t.skipNull&&Goe(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,[tv(t,e),"[",o,"]"].join("")]:[...n,[tv(t,e),"[",tv(o,e),"]=",tv(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[tv(t,e),"[]"].join("")]:[...n,[tv(t,e),"[]=",tv(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,[tv(t,e),":list="].join("")]:[...n,[tv(t,e),":list=",tv(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?[[tv(n,e),t,tv(o,e)].join("")]:[[r,tv(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,tv(t,e)]:[...n,[tv(t,e),"=",tv(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?tv(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?tv(n,t)+"[]":o.reduce(r(n),[]).join("&"):tv(n,t)+"="+tv(o,t)})).filter((e=>e.length>0)).join("&")}function cv(e,t){var n;t={decode:!0,...t};let[r,o]=Jy(e,"#");return void 0===r&&(r=e),{url:(null==(n=null==r?void 0:r.split("?"))?void 0:n[0])??"",query:sv(av(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:nv(o,t)}:{}}}function uv(e,t){t={encode:!0,strict:!0,[Xoe]:!0,...t};const n=ov(e.url).split("?")[0]||"";let r=lv({...sv(av(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[Xoe]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${o}`}function dv(e,t,n){n={parseFragmentIdentifier:!0,[Xoe]:!1,...n};const{url:r,query:o,fragmentIdentifier:i}=cv(e,n);return uv({url:r,query:Zy(o,t),fragmentIdentifier:i},n)}function pv(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}function fv(e){return null==e?"":""+e}function mv(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 gv(e,t,n){const{obj:r,k:o}=mv(e,t,Object);r[o]=n}function hv(e,t){const{obj:n,k:r}=mv(e,t);if(n)return n[r]}function bv(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]):bv(e[r],t[r],n):e[r]=t[r]);return e}function yv(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function vv(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>SZ[e])):e}function _v(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?_v(s,l,r):void 0}i=i[o[a]]}return i}function wv(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}function kv(e){return e.charAt(0).toUpperCase()+e.slice(1)}function xv(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=hv(e,n);return void 0!==r?r:hv(t,n)}(e,t,n);return!s&&a&&"string"==typeof n&&(s=_v(e,n,i),void 0===s&&(s=_v(t,n,i))),s}function Sv(e){const t={};return function(n,r,o){const i=r+JSON.stringify(o);let a=t[i];return a||(a=e(wv(r),o),t[i]=a),a(n)}}function Ev(){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 Dv(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 Cv(){}function Ov(e){return(Ov="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 jv(e){return CZ.call(OZ.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}function $v(){return"function"==typeof XMLHttpRequest||"object"===("undefined"==typeof XMLHttpRequest?"undefined":Ov(XMLHttpRequest))}function Pv(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 zv(e){return(zv="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 Nv(e){return(Nv="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 Tv(e){var t=function(e){var t,n;if("object"!==Nv(e)||null===e)return e;if(void 0!==(t=e[Symbol.toPrimitive])){if("object"!==Nv(n=t.call(e,"string")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Nv(t)?t:String(t)}var Iv,Av,Rv,Mv,Fv,Lv,Bv,Uv,Hv,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_,E_,D_,C_,O_,j_,$_,P_,z_,N_,T_,I_,A_,R_,M_,F_,L_,B_,U_,H_,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,Ew,Dw,Cw,Ow,jw,$w,Pw,zw,Nw,Tw,Iw,Aw,Rw,Mw,Fw,Lw,Bw,Uw,Hw,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,Ek,Dk,Ck,Ok,jk,$k,Pk,zk,Nk,Tk,Ik,Ak,Rk,Mk,Fk,Lk,Bk,Uk,Hk,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,Ex,Dx,Cx,Ox,jx,$x,Px,zx,Nx,Tx,Ix,Ax,Rx,Mx,Fx,Lx,Bx,Ux,Hx,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,ES,DS,CS,OS,jS,$S,PS,zS,NS,TS,IS,AS,RS,MS,FS,LS,BS,US,HS,WS,VS,GS,qS,XS,KS,YS,QS,JS,ZS,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,EE,DE,CE,OE,jE,$E,PE,zE,NE,TE,IE,AE,RE,ME,FE,LE,BE,UE,HE,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,ED,DD,CD,OD,jD,$D,PD,zD,ND,TD,ID,AD,RD,MD,FD,LD,BD,UD,HD,WD,VD,GD,qD,XD,KD,YD,QD,JD,ZD,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,EC,DC,CC,OC,jC,$C,PC,zC,NC,TC,IC,AC,RC,MC,FC,LC,BC,UC,HC,WC,VC,GC,qC,XC,KC,YC,QC,JC,ZC,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,EO,DO,CO,OO,jO,$O,PO,zO,NO,TO,IO,AO,RO,MO,FO,LO,BO,UO,HO,WO,VO,GO,qO,XO,KO,YO,QO,JO,ZO,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,Ej,Dj,Cj,Oj,jj,$j,Pj,zj,Nj,Tj,Ij,Aj,Rj,Mj,Fj,Lj,Bj,Uj,Hj,Wj,Vj,Gj,qj,Xj,Kj,Yj,Qj,Jj,Zj,e$,t$,n$,r$,o$,i$,a$,s$,l$,c$,u$,d$,p$,f$,m$,g$,h$,b$,y$,v$,_$,w$,k$,x$,S$,E$,D$,C$,O$,j$,$$,P$,z$,N$,T$,I$,A$,R$,M$,F$,L$,B$,U$,H$,W$,V$,G$,q$,X$,K$,Y$,Q$,J$,Z$,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,EP,DP,CP,OP,jP,$P,PP,zP,NP,TP,IP,AP,RP,MP,FP,LP,BP,UP,HP,WP,VP,GP,qP,XP,KP,YP,QP,JP,ZP,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,Ez,Dz,Cz,Oz,jz,$z,Pz,zz,Nz,Tz,Iz,Az,Rz,Mz,Fz,Lz,Bz,Uz,Hz,Wz,Vz,Gz,qz,Xz,Kz,Yz,Qz,Jz,Zz,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,EN,DN,CN,ON,jN,$N,PN,zN,NN,TN,IN,AN,RN,MN,FN,LN,BN,UN,HN,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,ET,DT,CT,OT,jT,$T,PT,zT,NT,TT,IT,AT,RT,MT,FT,LT,BT,UT,HT,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,EI,DI,CI,OI,jI,$I,PI,zI,NI,TI,II,AI,RI,MI,FI,LI,BI,UI,HI,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,EA,DA,CA,OA,jA,$A,PA,zA,NA,TA,IA,AA,RA,MA,FA,LA,BA,UA,HA,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,ER,DR,CR,OR,jR,$R,PR,zR,NR,TR,IR,AR,RR,MR,FR,LR,BR,UR,HR,WR,VR,GR,qR,XR,KR,YR,QR,JR,ZR,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,EM,DM,CM,OM,jM,$M,PM,zM,NM,TM,IM,AM,RM,MM,FM,LM,BM,UM,HM,WM,VM,GM,qM,XM,KM,YM,QM,JM,ZM,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,EF,DF,CF,OF,jF,$F,PF,zF,NF,TF,IF,AF,RF,MF,FF,LF,BF,UF,HF,WF,VF,GF,qF,XF,KF,YF,QF,JF,ZF,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,EL,DL,CL,OL,jL,$L,PL,zL,NL,TL,IL,AL,RL,ML,FL,LL,BL,UL,HL,WL,VL,GL,qL,XL,KL,YL,QL,JL,ZL,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,EB,DB,CB,OB,jB,$B,PB,zB,NB,TB,IB,AB,RB,MB,FB,LB,BB,UB,HB,WB,VB,GB,qB,XB,KB,YB,QB,JB,ZB,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,EU,DU,CU,OU,jU,$U,PU,zU,NU,TU,IU,AU,RU,MU,FU,LU,BU,UU,HU,WU,VU,GU,qU,XU,KU,YU,QU,JU,ZU,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,EH,DH,CH,OH,jH,$H,PH,zH,NH,TH,IH,AH,RH,MH,FH,LH,BH,UH,HH,WH,VH,GH,qH,XH,KH,YH,QH,JH,ZH,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,EW,DW,CW,OW,jW,$W,PW,zW,NW,TW,IW,AW,RW,MW,FW,LW,BW,UW,HW,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,EV,DV,CV,OV,jV,$V,PV,zV,NV,TV,IV,AV,RV,MV,FV,LV,BV,UV,HV,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,EG,DG,CG,OG,jG,$G,PG,zG,NG,TG,IG,AG,RG,MG,FG,LG,BG,UG,HG,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,Eq,Dq,Cq,Oq,jq,$q,Pq,zq,Nq,Tq,Iq,Aq,Rq,Mq,Fq,Lq,Bq,Uq,Hq,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,EX,DX,CX,OX,jX,$X,PX,zX,NX,TX,IX,AX,RX,MX,FX,LX,BX,UX,HX,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,EK,DK,CK,OK,jK,$K,PK,zK,NK,TK,IK,AK,RK,MK,FK,LK,BK,UK,HK,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,EY,DY,CY,OY,jY,$Y,PY,zY,NY,TY,IY,AY,RY,MY,FY,LY,BY,UY,HY,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,EQ,DQ,CQ,OQ,jQ,$Q,PQ,zQ,NQ,TQ,IQ,AQ,RQ,MQ,FQ,LQ,BQ,UQ,HQ,WQ,VQ,GQ,qQ,XQ,KQ,YQ,QQ,JQ,ZQ,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,EJ,DJ,CJ,OJ,jJ,$J,PJ,zJ,NJ,TJ,IJ,AJ,RJ,MJ,FJ,LJ,BJ,UJ,HJ,WJ,VJ,GJ,qJ,XJ,KJ,YJ,QJ,JJ,ZJ,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,EZ,DZ,CZ,OZ,jZ,$Z,PZ,zZ,NZ,TZ,IZ,AZ,RZ,MZ,FZ,LZ,BZ,UZ,HZ,WZ,VZ,GZ,qZ,XZ,KZ,YZ,QZ,JZ,ZZ,e0,t0,n0,r0,o0,i0,a0,s0,l0,c0,u0,d0,p0,f0,m0,g0,h0,b0,y0,v0,_0,w0,k0,x0,S0,E0,D0,C0,O0,j0,$0,P0,z0,N0,T0,I0,A0,R0,M0="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},F0={exports:{}},L0={},B0={exports:{}},U0={},H0=Symbol.for("react.element"),W0=Symbol.for("react.portal"),V0=Symbol.for("react.fragment"),G0=Symbol.for("react.strict_mode"),q0=Symbol.for("react.profiler"),X0=Symbol.for("react.provider"),K0=Symbol.for("react.context"),Y0=Symbol.for("react.forward_ref"),Q0=Symbol.for("react.suspense"),J0=Symbol.for("react.memo"),Z0=Symbol.for("react.lazy"),e1=Symbol.iterator,t1={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},n1=Object.assign,r1={};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,n1(Iv,r.prototype),Iv.isPureReactComponent=!0,Av=Array.isArray,Rv=Object.prototype.hasOwnProperty,Fv={key:!0,ref:!0,__self:!0,__source:!0},Lv=/\/+/g,Hv={ReactCurrentDispatcher:Bv={current:null},ReactCurrentBatchConfig:Uv={transition:null},ReactCurrentOwner:Mv={current:null}},U0.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}},U0.Component=r,U0.Fragment=V0,U0.Profiler=q0,U0.PureComponent=i,U0.StrictMode=G0,U0.Suspense=Q0,U0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Hv,U0.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=n1({},e.props),o=e.key,i=e.ref,a=e._owner,null!=t)for(l in void 0!==t.ref&&(i=t.ref,a=Mv.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)Rv.call(t,l)&&!Fv.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()-$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}}}}(t_={}),e_.exports=t_,n_=Wv,r_=e_.exports,o_=new Set,i_={},a_=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s_=Object.prototype.hasOwnProperty,l_=/^[: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]*$/,c_={},u_={},d_={},"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){d_[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];d_[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){d_[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){d_[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){d_[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){d_[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){d_[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){d_[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){d_[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)})),p_=/[\-:]([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(p_,b);d_[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(p_,b);d_[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(p_,b);d_[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){d_[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),d_.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){d_[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)})),f_=n_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,m_=Symbol.for("react.element"),g_=Symbol.for("react.portal"),h_=Symbol.for("react.fragment"),b_=Symbol.for("react.strict_mode"),y_=Symbol.for("react.profiler"),v_=Symbol.for("react.provider"),__=Symbol.for("react.context"),w_=Symbol.for("react.forward_ref"),k_=Symbol.for("react.suspense"),x_=Symbol.for("react.suspense_list"),S_=Symbol.for("react.memo"),E_=Symbol.for("react.lazy"),D_=Symbol.for("react.offscreen"),C_=Symbol.iterator,O_=Object.assign,$_=!1,P_=Array.isArray,WZ=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((z_=z_||document.createElement("div")).innerHTML=""+t.valueOf().toString()+"",t=z_.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},N_="undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t){MSApp.execUnsafeLocalFunction((function(){return WZ(e,t)}))}:WZ,T_={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(T_).forEach((function(e){I_.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),T_[t]=T_[e]}))})),A_=O_({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}),R_=null,M_=null,F_=null,L_=null,B_=!1,U_=!1,a_)try{H_={},Object.defineProperty(H_,"passive",{get:function(){U_=!0}}),window.addEventListener("test",H_,H_),window.removeEventListener("test",H_,H_)}catch(WZ){U_=!1}W_=!1,V_=null,G_=!1,q_=null,X_={onError:function(e){W_=!0,V_=e}},K_=r_.unstable_scheduleCallback,Y_=r_.unstable_cancelCallback,Q_=r_.unstable_shouldYield,J_=r_.unstable_requestPaint,Z_=r_.unstable_now,ew=r_.unstable_getCurrentPriorityLevel,tw=r_.unstable_ImmediatePriority,nw=r_.unstable_UserBlockingPriority,rw=r_.unstable_NormalPriority,ow=r_.unstable_LowPriority,iw=r_.unstable_IdlePriority,aw=null,sw=null,lw=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(cw(e)/uw|0)|0},cw=Math.log,uw=Math.LN2,dw=64,pw=4194304,fw=0,vw=!1,_w=[],ww=null,kw=null,xw=null,Sw=new Map,Ew=new Map,Dw=[],Cw="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(" "),Ow=f_.ReactCurrentBatchConfig,jw=!0,$w=null,Pw=null,zw=null,Nw=null,Tw={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Iw=Ie(Tw),Aw=O_({},Tw,{view:0,detail:0}),Rw=Ie(Aw),Bw=O_({},Aw,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Re,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!==Lw&&(Lw&&"mousemove"===e.type?(Mw=e.screenX-Lw.screenX,Fw=e.screenY-Lw.screenY):Fw=Mw=0,Lw=e),Mw)},movementY:function(e){return"movementY"in e?e.movementY:Fw}}),Uw=Ie(Bw),Hw=O_({},Bw,{dataTransfer:0}),Ww=Ie(Hw),Vw=O_({},Aw,{relatedTarget:0}),Gw=Ie(Vw),qw=O_({},Tw,{animationName:0,elapsedTime:0,pseudoElement:0}),Xw=Ie(qw),Kw=O_({},Tw,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Yw=Ie(Kw),Qw=O_({},Tw,{data:0}),Jw=Ie(Qw),Zw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ek={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"},tk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},nk=O_({},Aw,{key:function(e){if(e.key){var t=Zw[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ze(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ek[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Re,charCode:function(e){return"keypress"===e.type?ze(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ze(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),rk=Ie(nk),ok=O_({},Bw,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ik=Ie(ok),ak=O_({},Aw,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Re}),sk=Ie(ak),lk=O_({},Tw,{propertyName:0,elapsedTime:0,pseudoElement:0}),ck=Ie(lk),uk=O_({},Bw,{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}),dk=Ie(uk),pk=[9,13,27,32],fk=a_&&"CompositionEvent"in window,mk=null,a_&&"documentMode"in document&&(mk=document.documentMode),gk=a_&&"TextEvent"in window&&!mk,hk=a_&&(!fk||mk&&8=mk),bk=String.fromCharCode(32),yk=!1,vk=!1,_k={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},wk=null,kk=null,xk=!1,a_&&(a_?((Ek="oninput"in document)||((Dk=document.createElement("div")).setAttribute("oninput","return;"),Ek="function"==typeof Dk.oninput),Sk=Ek):Sk=!1,xk=Sk&&(!document.documentMode||9=document.documentMode,jk=null,$k=null,Pk=null,zk=!1,Nk={animationend:it("Animation","AnimationEnd"),animationiteration:it("Animation","AnimationIteration"),animationstart:it("Animation","AnimationStart"),transitionend:it("Transition","TransitionEnd")},Tk={},Ik={},a_&&(Ik=document.createElement("div").style,"AnimationEvent"in window||(delete Nk.animationend.animation,delete Nk.animationiteration.animation,delete Nk.animationstart.animation),"TransitionEvent"in window||delete Nk.transitionend.transition),Ak=at("animationend"),Rk=at("animationiteration"),Mk=at("animationstart"),Fk=at("transitionend"),Lk=new Map,Bk="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(Uk=0;Uk=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},ME=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},FE=function(e,t){return!1===(!(arguments.length>1&&void 0!==t)||t)?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},LE=function(e){var t,n=VE(e,kE.TITLE),r=VE(e,"titleTemplate");return r&&n?r.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n})):(t=VE(e,"defaultTitle"),n||t||void 0)},BE=function(e){return VE(e,"onChangeClientState")||function(){}},UE=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return IE({},e,t)}),{})},HE=function(e,t){return t.filter((function(e){return void 0!==e[kE.BASE]})).map((function(e){return e[kE.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},GE=function(e){return{baseTag:HE([SE,"target"],e),bodyAttributes:UE(_E,e),defer:VE(e,"defer"),encode:VE(e,"encodeSpecialCharacters"),htmlAttributes:UE(wE,e),linkTags:WE(kE.LINK,[CE,SE],e),metaTags:WE(kE.META,["name","charset","http-equiv","property",DE],e),noscriptTags:WE(kE.NOSCRIPT,[EE],e),onChangeClientState:BE(e),scriptTags:WE(kE.SCRIPT,["src",EE],e),styleTags:WE(kE.STYLE,[xE],e),title:LE(e),titleAttributes:UE("titleAttributes",e)}},GZ=Date.now(),qE=function(e){var t=Date.now();t-GZ>16?(GZ=t,e(t)):setTimeout((function(){qE(e)}),0)},XE=function(e){return clearTimeout(e)},KE="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||qE:global.requestAnimationFrame||qE,YE="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||XE:global.cancelAnimationFrame||XE,QE=function(){return console&&"function"==typeof console.warn&&void 0},JE=null,ZE=function(e){JE&&YE(JE),e.defer?JE=KE((function(){eD(e,(function(){JE=null}))})):(eD(e),JE=null)},eD=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;rD(kE.BODY,e.bodyAttributes),rD(kE.HTML,a),nD(f,m),n={baseTag:oD(kE.BASE,i),linkTags:oD(kE.LINK,s),metaTags:oD(kE.META,l),noscriptTags:oD(kE.NOSCRIPT,c),scriptTags:oD(kE.SCRIPT,d),styleTags:oD(kE.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)},tD=function(e){return Array.isArray(e)?e.join(""):e},nD=function(e,t){void 0!==e&&document.title!==e&&(document.title=tD(e)),rD(kE.TITLE,t)},rD=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(PE))?n.split(","):[],o=[].concat(r),i=Object.keys(t),a=0;a=0;u--)d.removeAttribute(o[u]);r.length===o.length?d.removeAttribute(PE):d.getAttribute(PE)!==i.join(",")&&d.setAttribute(PE,i.join(","))}},oD=function(e,t){var n=document.head||document.querySelector(kE.HEAD),r=n.querySelectorAll(e+"["+PE+"]"),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===EE?r.innerHTML=t.innerHTML:n===xE?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(n,void 0===t[n]?"":t[n]));r.setAttribute(PE,"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}},iD=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}),"")},aD=function(e,t,n,r){var o=iD(n),i=tD(t);return o?"<"+e+" "+PE+'="true" '+o+">"+FE(i,r)+"":"<"+e+" "+PE+'="true">'+FE(i,r)+""},sD=function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===EE||e===xE)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+FE(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===$E.indexOf(e);return t+"<"+e+" "+PE+'="true" '+o+(a?"/>":">"+i+"")}),"")},lD=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[OE[n]||n]=e[n],t}),n)},cD=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[jE[n]||n]=e[n],t}),n)},uD=function(e,t,n){var r,o=((r={key:t})[PE]=!0,r),i=lD(n,o);return[o1.createElement(kE.TITLE,i,t)]},dD=function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[PE]=!0,r);return Object.keys(t).forEach((function(e){var n=OE[e]||e;n===EE||n===xE?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),o1.createElement(e,o)}))},pD=function(e,t,n){switch(e){case kE.TITLE:return{toComponent:function(){return uD(0,t.title,t.titleAttributes)},toString:function(){return aD(e,t.title,t.titleAttributes,n)}};case _E:case wE:return{toComponent:function(){return lD(t)},toString:function(){return iD(t)}};default:return{toComponent:function(){return dD(e,t)},toString:function(){return sD(e,t,n)}}}},mD=function(e){var t,n;return n=t=function(t){function n(){return NE(this,n),ME(this,t.apply(this,arguments))}return AE(n,t),n.prototype.shouldComponentUpdate=function(e){return!u1(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case kE.SCRIPT:case kE.NOSCRIPT:return{innerHTML:t};case kE.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 IE({},r,((t={})[n.type]=[].concat(r[n.type]||[],[IE({},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 kE.TITLE:return IE({},o,((t={})[r.type]=a,t.titleAttributes=IE({},i),t));case kE.BODY:return IE({},o,{bodyAttributes:IE({},i)});case kE.HTML:return IE({},o,{htmlAttributes:IE({},i)})}return IE({},o,((n={})[r.type]=IE({},i),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=IE({},t);return Object.keys(e).forEach((function(t){var r;n=IE({},n,((r={})[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return o1.Children.forEach(e,(function(e){var o,i,a,s;if(e&&e.props)switch(i=(o=e.props).children,a=RE(o,["children"]),s=cD(a),n.warnOnInvalidChildren(e,i),e.type){case kE.LINK:case kE.META:case kE.NOSCRIPT:case kE.SCRIPT:case kE.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=RE(t,["children"]),o=IE({},r);return n&&(o=this.mapChildrenToProps(n,o)),o1.createElement(e,o)},TE(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(o1.Component),t.propTypes={base:l1.object,bodyAttributes:l1.object,children:l1.oneOfType([l1.arrayOf(l1.node),l1.node]),defaultTitle:l1.string,defer:l1.bool,encodeSpecialCharacters:l1.bool,htmlAttributes:l1.object,link:l1.arrayOf(l1.object),meta:l1.arrayOf(l1.object),noscript:l1.arrayOf(l1.object),onChangeClientState:l1.func,script:l1.arrayOf(l1.object),style:l1.arrayOf(l1.object),title:l1.string,titleAttributes:l1.object,titleTemplate:l1.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=fD({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n},gD=function(){return null},hD=c1(GE,ZE,fD=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:pD(kE.BASE,e.baseTag,n),bodyAttributes:pD(_E,t,n),htmlAttributes:pD(wE,r,n),link:pD(kE.LINK,o,n),meta:pD(kE.META,i,n),noscript:pD(kE.NOSCRIPT,a,n),script:pD(kE.SCRIPT,s,n),style:pD(kE.STYLE,l,n),title:pD(kE.TITLE,{title:u,titleAttributes:d},n)}})(gD),(bD=mD(hD)).renderStatic=bD.rewind,yD={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"},vD=(e,t)=>{const n=Wv.forwardRef((({color:n="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:i,children:a,...s},l)=>{return Wv.createElement("svg",{ref:l,...yD,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])=>Wv.createElement(e,t))),...(Array.isArray(a)?a:[a])||[]]);var c}));return n.displayName=`${e}`,n};const p1=vD("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"}]]),f1=vD("Bug",[["rect",{width:"8",height:"14",x:"8",y:"6",rx:"4",key:"hq8nra"}],["path",{d:"m19 7-3 2",key:"fmg8ec"}],["path",{d:"m5 7 3 2",key:"dkxqes"}],["path",{d:"m19 19-3-2",key:"1hbhi4"}],["path",{d:"m5 19 3-2",key:"dvt2ee"}],["path",{d:"M20 13h-4",key:"1agfp2"}],["path",{d:"M4 13h4",key:"1bwh8b"}],["path",{d:"m10 4 1 2",key:"1pot59"}],["path",{d:"m14 4-1 2",key:"m8sn0o"}]]),m1=vD("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),g1=vD("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),h1=vD("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),b1=vD("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),y1=vD("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"}]]),v1=vD("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"}]]),_1=vD("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"}]]),w1=vD("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"}]]),k1=vD("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),x1=vD("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"}]]),S1=vD("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),E1=vD("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"}]]),D1=vD("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"}]]),C1=vD("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"}]]),O1=vD("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"}]]),j1=vD("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"}]]),$1=vD("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"}]]),P1=vD("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"}]]),z1=vD("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"}]]),N1=vD("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"}]]),T1=vD("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),I1=vD("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"}]]),A1=vD("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"}]]);_D=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 DD:e.return=la(e.value,e.length);break;case OD:return ia([Li(e,{value:zi(e.value,"@","@"+xD)})],r);case ED: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([Li(e,{props:[zi(t,/:(read-\w+)/,":"+kD+"$1")]})],r);case"::placeholder":return ia([Li(e,{props:[zi(t,/:(plac\w+)/,":"+xD+"input-$1")]}),Li(e,{props:[zi(t,/:(plac\w+)/,":"+kD+"$1")]}),Li(e,{props:[zi(t,/:(plac\w+)/,wD+"input-$1")]})],r)}return""}))}},qD=[GD],XD=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||qD,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:rC}},iC=function(e,t,n){var r=e.key+"-"+t.name;!1!==n||void 0!==e.registered[r]||(e.registered[r]=t.styles)},aC=function(e,t,n){var r,o;if(iC(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)}},sC=function(e){var t,n,r,o,i=XD(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=Wa(e,2)[1];return a.internalGet(t)[1]1&&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||fj in e)}(_)){let e=function(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;HO[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!=_&&_[fj]&&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=Wa(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===zO&&(e="@layer ".concat($O," { .").concat($O,' { content: "').concat(PO,'"!important; } }'),t=function(e){e.className=$O},zO=!!Na()&&(Ba(e,$O),(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(PO),null===(r=o.parentNode)||void 0===r||r.removeChild(o),La($O),i)),zO}()&&(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]},gj=function(){function e(t,n){Oi(this,e),Ei(this,"name",void 0),Ei(this,"style",void 0),Ei(this,"_keyframe",!0),this.name=t,this.style=n}return $i(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}(),$s(["borderTop","borderBottom"]),$s(["borderTop"]),$s(["borderBottom"]),$s(["borderLeft","borderRight"]),$s(["borderLeft"]),$s(["borderRight"]),hj=["children","prefix","speedy","getStyleManager","container","nonce","insertionPoint","stylisPlugins","linters"],bj=function(e){return Wv.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=Di(t,hj),f=Wv.useContext(e),m=null!=o?o:f.sheet.key,g=null!=s?s:f.sheet.container,h=null!=i?i:f.sheet.isSpeedy,b=Wv.useMemo((function(){var e,t=sC({speedy:null!=h&&h,key:m,container:g,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}),[m,h,g,l,c,u]);return Wv.useEffect((function(){null==a||a(b)}),[b]),n=Qv.jsx(e.Provider,{value:b,children:r}),Boolean(Object.keys(p).length)||g?Qv.jsx(wO,zs(zs({linters:d,container:g},p),{},{children:n})):n}))},yj=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}})}},vj=function(e){return Object.fromEntries(Object.entries(e).map((function(e){var t=Wa(e,2);return[t[0],t[1].styles]})))},qZ=_j={exports:{}},function(){function e(){var n,r,o,i,a,s=[];for(n=0;n0},e.prototype.connect_=function(){xj&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Cj?(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(){xj&&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;Dj.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}(),jj=function(e,t){var n,r,o;for(n=0,r=Object.keys(t);n0},e}(),Aj="undefined"!=typeof WeakMap?new WeakMap:new kj,Rj=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=Oj.getInstance(),r=new Ij(t,n,this),Aj.set(this,r)},["observe","unobserve","disconnect"].forEach((function(e){Rj.prototype[e]=function(){var t;return(t=Aj.get(this))[e].apply(t,arguments)}})),Mj=void 0!==Sj.ResizeObserver?Sj.ResizeObserver:Rj,Fj=new Map,Lj=new Mj((function(e){e.forEach((function(e){var t,n=e.target;null===(t=Fj.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))})),Bj=function(){function e(){return Oi(this,e),t.apply(this,arguments)}Ts(e,Wv.Component);var t=Ms(e);return $i(e,[{key:"render",value:function(){return this.props.children}}]),e}(),Uj=Wv.createContext(null),Hj=Wv.forwardRef(Ks),Wj="rc-observer-key",(Vj=Wv.forwardRef(Ys)).Collection=function(e){var t=e.children,n=e.onBatchResize,r=Wv.useRef(0),o=Wv.useRef([]),i=Wv.useContext(Uj),a=Wv.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 Wv.createElement(Uj.Provider,{value:a},t)},Gj=function(e){return+setTimeout(e,16)},qj=function(e){return clearTimeout(e)},"undefined"!=typeof window&&"requestAnimationFrame"in window&&(Gj=function(e){return window.requestAnimationFrame(e)},qj=function(e){return window.cancelAnimationFrame(e)}),Xj=0,Kj=new Map,Yj=function(e,t){var n;return n=Xj+=1,function t(r){if(0===r)Js(n),e();else{var o=Gj((function(){t(r-1)}));Kj.set(n,o)}}(arguments.length>1&&void 0!==t?t:1),n},Yj.cancel=function(e){var t=Kj.get(e);return Js(t),qj(t)};const B1=Wv.createContext({});Qj="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;const U1=Wv.createContext(void 0),H1={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},W1={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({},H1)},V1="${label} is not a valid ${type}",G1={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:W1,TimePicker:H1,Calendar:W1,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:V1,method:V1,array:V1,object:V1,number:V1,date:V1,boolean:V1,integer:V1,float:V1,regexp:V1,email:V1,url:V1,hex:V1},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 q1=Object.assign({},G1.Modal),X1=[];const K1=()=>X1.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),G1.Modal),Y1=Wv.createContext(void 0),Q1=(e,t)=>{const n=Wv.useContext(Y1);return[Wv.useMemo((()=>{var r;const o=t||G1[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]),Wv.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?G1.locale:e}),[n])]},J1=e=>{const{locale:t={},children:n}=e;Wv.useEffect((()=>{const e=function(e){if(e){const t=Object.assign({},e);return X1.push(t),q1=K1(),()=>{X1=X1.filter((e=>e!==t)),q1=K1()}}q1=Object.assign({},G1.Modal)}(t&&t.Modal);return e}),[t]);const r=Wv.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return Wv.createElement(Y1.Provider,{value:r},n)},Z1=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],e2="5.8.1";Jj={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"},Zj="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),e$="[\\s|\\(]+(".concat(Zj,")[,|\\s]+(").concat(Zj,")[,|\\s]+(").concat(Zj,")\\s*\\)?"),t$="[\\s|\\(]+(".concat(Zj,")[,|\\s]+(").concat(Zj,")[,|\\s]+(").concat(Zj,")[,|\\s]+(").concat(Zj,")\\s*\\)?"),n$={CSS_UNIT:new RegExp(Zj),rgb:new RegExp("rgb"+e$),rgba:new RegExp("rgba"+t$),hsl:new RegExp("hsl"+e$),hsla:new RegExp("hsla"+t$),hsv:new RegExp("hsv"+e$),hsva:new RegExp("hsva"+t$),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})$/},r$=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=bl(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=ll(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=fl(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=fl(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=dl(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=dl(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),ml(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=[ul(Math.round(e).toString(16)),ul(Math.round(t).toString(16)),ul(Math.round(n).toString(16)),ul((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*al(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*al(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="#"+ml(this.r,this.g,this.b,!1),t=0,n=Object.entries(Jj);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=sl(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=sl(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=sl(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=sl(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}},n2={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"},r2=Object.assign(Object.assign({},n2),{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}),o2=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}},i2=(e,t)=>new r$(e).setAlpha(t).toRgbString(),a2=(e,t)=>new r$(e).darken(t).toHexString(),s2=e=>{const t=Sl(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]}},l2=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:i2(r,.88),colorTextSecondary:i2(r,.65),colorTextTertiary:i2(r,.45),colorTextQuaternary:i2(r,.25),colorFill:i2(r,.15),colorFillSecondary:i2(r,.06),colorFillTertiary:i2(r,.04),colorFillQuaternary:i2(r,.02),colorBgLayout:a2(n,4),colorBgContainer:a2(n,0),colorBgElevated:a2(n,0),colorBgSpotlight:i2(r,.85),colorBorder:a2(n,15),colorBorderSecondary:a2(n,6)}},c2=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]}},u2=Va(Dl),d2={token:r2,hashed:!0},p2=o1.createContext(d2);h$=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=b$(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=jl(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=b$(n,["theme"]);let i=o;r&&(i=f2(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a},m2="anticon",g2=Wv.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:m2}),h2=(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"}}},b2={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},y2=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),v2=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"}}}),_2=(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"}}}}},w2=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),k2=e=>({"&:focus-visible":Object.assign({},w2(e))}),x2="undefined"!=typeof CSSINJS_STATISTIC;let S2=!0;const E2=`-ant-${Date.now()}-${Math.random()}`,D2=Wv.createContext(!1),C2=e=>{let{children:t,disabled:n}=e;const r=Wv.useContext(D2);return Wv.createElement(D2.Provider,{value:null!=n?n:r},t)},O2=D2,j2=Wv.createContext(void 0),$2=e=>{let{children:t,size:n}=e;const r=Wv.useContext(j2);return Wv.createElement(j2.Provider,{value:n||r},t)},P2=j2;y$=["children"],v$=Wv.createContext({}),_$=function(){function e(){return Oi(this,e),t.apply(this,arguments)}Ts(e,Wv.Component);var t=Ms(e);return $i(e,[{key:"render",value:function(){return this.props.children}}]),e}(),w$="none",k$="appear",x$="enter",S$="leave",E$="none",D$="prepare",C$="start",O$="active",j$="end",$$="prepared",XZ=Na(),KZ="undefined"!=typeof window?window:{},YZ={animationend:Ll("Animation","AnimationEnd"),transitionend:Ll("Transition","TransitionEnd")},XZ&&("AnimationEvent"in KZ||delete YZ.animationend.animation,"TransitionEvent"in KZ||delete YZ.transitionend.transition),P$=YZ,z$={},Na()&&(N$=document.createElement("div"),z$=N$.style),T$={},I$=Bl("animationend"),A$=Bl("transitionend"),R$=!(!I$||!A$),M$=I$||"animationend",F$=A$||"transitionend",L$=Na()?Wv.useLayoutEffect:Wv.useEffect,B$=[D$,C$,O$,j$],U$=[D$,$$];const z2=(ZZ=QZ=R$,"object"===xi(QZ)&&(ZZ=QZ.transitionSupport),(JZ=Wv.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||!ZZ||!1===t)}(e,Wv.useContext(v$).motion),y=Wv.useRef(),v=Wv.useRef(),_=function(e,t,n,r){function o(){return n()}function i(){I(w$,!0),M(null,!0)}function a(e){var t,n,r=o();e&&!e.deadline&&e.target!==r||(t=B.current,T===k$&&t?n=null==D?void 0:D(r,e):T===x$&&t?n=null==C?void 0:C(r,e):T===S$&&t&&(n=null==O?void 0:O(r,e)),T!==w$&&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,E=r.onLeaveActive,D=r.onAppearEnd,C=r.onEnterEnd,O=r.onLeaveEnd,j=r.onVisibleChanged,$=Wa(zl(),2),P=$[0],z=$[1],N=Wa(zl(w$),2),T=N[0],I=N[1],A=Wa(zl(null),2),R=A[0],M=A[1],F=Wv.useRef(!1),L=Wv.useRef(null),B=Wv.useRef(!1),U=Wa(function(e){function t(e){e&&(e.removeEventListener(F$,n),e.removeEventListener(M$,n))}var n,r=Wv.useRef(),o=Wv.useRef(e);return o.current=e,n=Wv.useCallback((function(e){o.current(e)}),[]),Wv.useEffect((function(){return function(){t(r.current)}}),[]),[function(e){r.current&&r.current!==e&&t(r.current),e&&e!==r.current&&(e.addEventListener(F$,n),e.addEventListener(M$,n),r.current=e)},t]}(a),1)[0],H=function(e){var t,n,r;switch(e){case k$:return Ei(t={},D$,b),Ei(t,C$,_),Ei(t,O$,x),t;case x$:return Ei(n={},D$,y),Ei(n,C$,w),Ei(n,O$,S),n;case S$:return Ei(r={},D$,v),Ei(r,C$,k),Ei(r,O$,E),r;default:return{}}},W=Wv.useMemo((function(){return H(T)}),[T]),V=function(e,t,n){var r=Wa(zl(E$),2),o=r[0],i=r[1],a=function(){function e(){Yj.cancel(t.current)}var t=Wv.useRef(null);return Wv.useEffect((function(){return function(){e()}}),[]),[function n(r,o){var i,a=arguments.length>1&&void 0!==o?o:2;e(),i=Yj((function(){a<=1?r({isCanceled:function(){return i!==t.current}}):n(r,a-1)})),t.current=i},e]}(),s=Wa(a,2),l=s[0],c=s[1],u=t?U$:B$;return L$((function(){var e,t,r;o!==E$&&o!==j$&&(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]),Wv.useEffect((function(){return function(){c()}}),[]),[function(){i(D$,!0)},o]}(T,!e,(function(e){var t,n;return e===D$?!!(t=W[D$])&&t(o()):(X in W&&M((null===(n=W[X])||void 0===n?void 0:n.call(W,o(),null))||null),X===O$&&(U(o()),g>0&&(clearTimeout(L.current),L.current=setTimeout((function(){a({deadline:!0})}),g))),X===$$&&i(),!0)})),G=Wa(V,2),q=G[0],X=G[1],K=Hl(X);return B.current=K,L$((function(){var n,r,o;z(t),n=F.current,F.current=!0,!n&&t&&p&&(r=k$),n&&t&&u&&(r=x$),(n&&!t&&m||!n&&h&&!t&&m)&&(r=S$),o=H(r),r&&(e||o[D$])?(I(r),q()):I(w$)}),[t]),Wv.useEffect((function(){(T===k$&&!p||T===x$&&!u||T===S$&&!m)&&I(w$)}),[p,u,m]),Wv.useEffect((function(){return function(){F.current=!1,clearTimeout(L.current)}}),[]),s=Wv.useRef(!1),Wv.useEffect((function(){P&&(s.current=!0),void 0!==P&&T===w$&&((s.current||P)&&(null==j||j(P)),s.current=!0)}),[P,T]),l=R,W[D$]&&X===C$&&(l=Sa({transition:"none"},l)),[T,X,l,null!=P?P:t]}(b,c,(function(){try{return y.current instanceof HTMLElement?y.current:Vs(v.current)}catch(d0){return null}}),e),w=Wa(_,4),k=w[0],x=w[1],S=w[2],E=w[3],D=Wv.useRef(E);return E&&(D.current=!0),n=Wv.useCallback((function(e){y.current=e,Ls(t,e)}),[t]),o=Sa(Sa({},h),{},{visible:c}),f?k===w$?r=E?f(Sa({},o),n):!d&&D.current&&g?f(Sa(Sa({},o),{},{className:g}),n):p||!d&&!g?f(Sa(Sa({},o),{},{style:{display:"none"}}),n):null:(x===D$?a="prepare":Hl(x)?a="active":x===C$&&(a="start"),s=Ul(m,"".concat(k,"-").concat(a)),r=f(Sa(Sa({},o),{},{className:L1(Ul(m,k),(i={},Ei(i,s,s&&a),Ei(i,m,"string"==typeof m),i)),style:S}),n)):r=null,Wv.isValidElement(r)&&Hs(r)&&(r.ref||(r=Wv.cloneElement(r,{ref:n}))),Wv.createElement(_$,{ref:v},r)}))).displayName="CSSMotion",JZ);H$="add",W$="keep",V$="remove",G$="removed",q$=["component","children","onVisibleChanged","onAllRemoved"],X$=["status"],K$=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const N2=function(e,t){var n=arguments.length>1&&void 0!==t?t:z2,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=Vl(arguments.length>0&&void 0!==e?e:[]),l=Vl(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!==V$}))).forEach((function(t){t.key===e&&(t.status=W$)}))})),o}(n,r);return{keyEntities:o.filter((function(e){var t=n.find((function(t){return e.key===t.key}));return!t||t.status!==G$||e.status!==V$}))}}}]),e}();return Ei(r,"defaultProps",{component:"div"}),r}(R$);Y$=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?`${ql()}-${e}`:ql()),getIconPrefixCls:Xl,getRootPrefixCls:()=>I2||ql(),getTheme:()=>R2}),F2=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:E,collapse:D,typography:C,checkbox:O,descriptions:j,divider:$,drawer:P,skeleton:z,steps:N,image:T,layout:I,list:A,mentions:R,modal:M,progress:F,result:L,slider:B,breadcrumb:U,menu:H,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,wave:de}=e,pe=Wv.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]),fe=b||h.iconPrefixCls||m2,me=fe!==h.iconPrefixCls,ge=n||h.csp,he=((e,t)=>{const[n,r]=$l();return js({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"}})}]))})(fe,ge),be=function(e,t){const n=e||{},r=!1!==n.inherit&&t?t:d2;return Da((()=>{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),ye={csp:ge,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:s||g,direction:c,space:u,virtual:d,popupMatchSelectWidth:null!=f?f:p,popupOverflow:m,getPrefixCls:pe,iconPrefixCls:fe,theme:be,segmented:_,statistic:w,spin:k,calendar:x,carousel:S,cascader:E,collapse:D,typography:C,checkbox:O,descriptions:j,divider:$,drawer:P,skeleton:z,steps:N,image:T,input:V,layout:I,list:A,mentions:R,modal:M,progress:F,result:L,slider:B,breadcrumb:U,menu:H,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,wave:de},ve=Object.assign({},h);Object.keys(ye).forEach((e=>{void 0!==ye[e]&&(ve[e]=ye[e])})),T2.forEach((t=>{const n=e[t];n&&(ve[t]=n)}));const _e=Da((()=>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=Wv.useMemo((()=>({prefixCls:fe,csp:ge})),[fe,ge]);let ke=me?he(t):t;const xe=Wv.useMemo((()=>{var e,t,n,r;return ol((null===(e=G1.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=_e.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=_e.form)||void 0===r?void 0:r.validateMessages)||{},(null==a?void 0:a.validateMessages)||{})}),[_e,null==a?void 0:a.validateMessages]);Object.keys(xe).length>0&&(ke=Wv.createElement(U1.Provider,{value:xe},t)),s&&(ke=Wv.createElement(J1,{locale:s,_ANT_MARK__:"internalMark"},ke)),(fe||ge)&&(ke=Wv.createElement(B1.Provider,{value:we},ke)),l&&(ke=Wv.createElement($2,{size:l},ke)),ke=Wv.createElement(Gl,null,ke);const Se=Wv.useMemo((()=>{const e=be||{},{algorithm:t,token:n,components:r}=e,o=Y$(e,["algorithm","token","components"]),i=t&&(!Array.isArray(t)||t.length>0)?Va(t):u2,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=Va(r.algorithm)),delete r.algorithm),a[t]=r})),Object.assign(Object.assign({},o),{theme:i,token:Object.assign(Object.assign({},r2),n),components:a})}),[be]);return y&&(ke=Wv.createElement(p2.Provider,{value:Se},ke)),void 0!==v&&(ke=Wv.createElement(C2,{disabled:v},ke)),Wv.createElement(g2.Provider,{value:_e},ke)},L2=e=>{const t=Wv.useContext(g2),n=Wv.useContext(Y1);return Wv.createElement(F2,Object.assign({parentContext:t,legacyLocale:n},e))};L2.ConfigContext=g2,L2.SizeContext=P2,L2.config=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r}=e;void 0!==t&&(I2=t),void 0!==n&&(A2=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 r$(e),i=Sl(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 r$(t.primaryColor),i=Sl(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 r$(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);Na()&&Ba(n,`${E2}-dynamic-theme`)}(ql(),r):R2=r)},L2.useConfig=function(){return{componentDisabled:Wv.useContext(O2),componentSize:Wv.useContext(P2)}},Object.defineProperty(L2,"SizeContext",{get:()=>P2}),Q$={},Object.defineProperty(Q$,"__esModule",{value:!0}),J$=Q$.default={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"},Z$=1/0,eP="[object Symbol]",tP=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,nP=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,oP="["+(rP="\\ud800-\\udfff")+"]",iP="[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]",lP="[\\u2700-\\u27bf]",gP="(?:"+"[a-z\\xdf-\\xf6\\xf8-\\xff]"+"|"+(cP="[^"+rP+"\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000"+(sP="\\d+")+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]")+")",hP="(?:"+(mP="[A-Z\\xc0-\\xd6\\xd8-\\xde]")+"|"+cP+")",bP="(?:"+"['โ€™]"+"(?:d|ll|m|re|s|t|ve))?",yP="(?:['โ€™](?:D|LL|M|RE|S|T|VE))?",_P="[\\ufe0e\\ufe0f]?"+(vP="(?:"+(aP="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]")+"|"+(uP="\\ud83c[\\udffb-\\udfff]")+")?")+"(?:\\u200d(?:"+[dP="[^"+rP+"]",pP="(?:\\ud83c[\\udde6-\\uddff]){2}",fP="[\\ud800-\\udbff][\\udc00-\\udfff]"].join("|")+")[\\ufe0e\\ufe0f]?"+vP+")*",wP="(?:"+[lP,pP,fP].join("|")+")"+_P,kP="(?:"+[dP+aP+"?",aP,pP,fP,oP].join("|")+")",xP=RegExp("['โ€™]","g"),SP=RegExp(aP,"g"),EP=RegExp(uP+"(?="+uP+")|"+kP+_P,"g"),DP=RegExp([mP+"?[a-z\\xdf-\\xf6\\xf8-\\xff]+"+bP+"(?="+[iP,mP,"$"].join("|")+")",hP+"+"+yP+"(?="+[iP,mP+gP,"$"].join("|")+")",mP+"?"+gP+"+"+bP,mP+"+"+yP,sP,wP].join("|"),"g"),CP=RegExp("[\\u200d"+rP+"\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),OP=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,jP={"ร€":"A","ร":"A","ร‚":"A","รƒ":"A","ร„":"A","ร…":"A","ร ":"a","รก":"a","รข":"a","รฃ":"a","รค":"a","รฅ":"a","ร‡":"C","รง":"c","ร":"D","รฐ":"d","รˆ":"E","ร‰":"E","รŠ":"E","ร‹":"E","รจ":"e","รฉ":"e","รช":"e","รซ":"e","รŒ":"I","ร":"I","รŽ":"I","ร":"I","รฌ":"i","รญ":"i","รฎ":"i","รฏ":"i","ร‘":"N","รฑ":"n","ร’":"O","ร“":"O","ร”":"O","ร•":"O","ร–":"O","ร˜":"O","รฒ":"o","รณ":"o","รด":"o","รต":"o","รถ":"o","รธ":"o","ร™":"U","รš":"U","ร›":"U","รœ":"U","รน":"u","รบ":"u","รป":"u","รผ":"u","ร":"Y","รฝ":"y","รฟ":"y","ร†":"Ae","รฆ":"ae","รž":"Th","รพ":"th","รŸ":"ss","ฤ€":"A","ฤ‚":"A","ฤ„":"A","ฤ":"a","ฤƒ":"a","ฤ…":"a","ฤ†":"C","ฤˆ":"C","ฤŠ":"C","ฤŒ":"C","ฤ‡":"c","ฤ‰":"c","ฤ‹":"c","ฤ":"c","ฤŽ":"D","ฤ":"D","ฤ":"d","ฤ‘":"d","ฤ’":"E","ฤ”":"E","ฤ–":"E","ฤ˜":"E","ฤš":"E","ฤ“":"e","ฤ•":"e","ฤ—":"e","ฤ™":"e","ฤ›":"e","ฤœ":"G","ฤž":"G","ฤ ":"G","ฤข":"G","ฤ":"g","ฤŸ":"g","ฤก":"g","ฤฃ":"g","ฤค":"H","ฤฆ":"H","ฤฅ":"h","ฤง":"h","ฤจ":"I","ฤช":"I","ฤฌ":"I","ฤฎ":"I","ฤฐ":"I","ฤฉ":"i","ฤซ":"i","ฤญ":"i","ฤฏ":"i","ฤฑ":"i","ฤด":"J","ฤต":"j","ฤถ":"K","ฤท":"k","ฤธ":"k","ฤน":"L","ฤป":"L","ฤฝ":"L","ฤฟ":"L","ล":"L","ฤบ":"l","ฤผ":"l","ฤพ":"l","ล€":"l","ล‚":"l","ลƒ":"N","ล…":"N","ล‡":"N","ลŠ":"N","ล„":"n","ล†":"n","ลˆ":"n","ล‹":"n","ลŒ":"O","ลŽ":"O","ล":"O","ล":"o","ล":"o","ล‘":"o","ล”":"R","ล–":"R","ล˜":"R","ล•":"r","ล—":"r","ล™":"r","ลš":"S","ลœ":"S","ลž":"S","ล ":"S","ล›":"s","ล":"s","ลŸ":"s","ลก":"s","ลข":"T","ลค":"T","ลฆ":"T","ลฃ":"t","ลฅ":"t","ลง":"t","ลจ":"U","ลช":"U","ลฌ":"U","ลฎ":"U","ลฐ":"U","ลฒ":"U","ลฉ":"u","ลซ":"u","ลญ":"u","ลฏ":"u","ลฑ":"u","ลณ":"u","ลด":"W","ลต":"w","ลถ":"Y","ลท":"y","ลธ":"Y","ลน":"Z","ลป":"Z","ลฝ":"Z","ลบ":"z","ลผ":"z","ลพ":"z","ฤฒ":"IJ","ฤณ":"ij","ล’":"Oe","ล“":"oe","ล‰":"'n","ลฟ":"ss"},$P="object"==typeof self&&self&&self.Object===Object&&self,PP="object"==typeof M0&&M0&&M0.Object===Object&&M0||$P||Function("return this")(),e0=jP,zP=function(e){return null==e0?void 0:e0[e]},NP=Object.prototype.toString,AP=(IP=(TP=PP.Symbol)?TP.prototype:void 0)?IP.toString:void 0,t0=function(e,t,n){return t=t.toLowerCase(),e+(n?RP(Yl(t).toLowerCase()):t)},RP=function(e){var t,n,r,o,i,a;return n=(t=Kl(e=Yl(e))?function(e){return Kl(e)?function(e){return e.match(EP)||[]}(e):function(e){return e.split("")}(e)}(e):void 0)?t[0]:e.charAt(0),r=t?(o=t,1,a=o.length,i=void 0===i?a:i,function(e,t,n){var r,o=-1,i=e.length;for(t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0,r=Array(i);++o1&&void 0!==t?t:{},r=tc(e,n);r&&Jl(n).removeChild(r)},WP=MP.updateCSS=function(e,t,n){var r,o,i,a,s,l=arguments.length>2&&void 0!==n?n:{};return function(e,t){var n,r=YP.get(e);r&&(0,GP.default)(document,r)||(n=ec("",t),YP.set(e,n.parentNode),e.removeChild(n))}(Jl(l),l),(r=tc(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=ec(e,l)).setAttribute(Ql(l),t),s)},VP=HP(BP),GP=HP(UP),qP="data-rc-order",XP="data-rc-priority",KP="rc-util-key",YP=new Map,QP={},Object.defineProperty(QP,"__esModule",{value:!0}),JP=QP.getShadowRoot=function(e){return rc(e)?nc(e):null},QP.inShadow=rc,ZP={},Object.defineProperty(ZP,"__esModule",{value:!0}),ZP.call=sc,ez=ZP.default=void 0,ZP.note=ic,ZP.noteOnce=cc,ZP.preMessage=void 0,ZP.resetWarned=ac,ZP.warning=oc,ZP.warningOnce=lc,tz={},ZP.preMessage=nz=function(){},lc.preMessage=nz,lc.resetWarned=ac,lc.noteOnce=cc,ez=ZP.default=lc,rz=function(e){var t=Wv.useContext(B1),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)),Wv.useEffect((function(){var t=JP(e.current);WP(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:t})}),[])},oz={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},(iz=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=function(e,t){var n,r,o,i;if(null==e)return{};if(n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(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}(e,["icon","className","onClick","style","primaryColor","secondaryColor"]),d=Wv.useRef(),p=oz;return l&&(p={primaryColor:l,secondaryColor:c||gc(l)}),rz(d),n=pc(o),r="icon should be icon definiton, but got ".concat(o),ez(n,"[@ant-design/icons] ".concat(r)),pc(o)?((t=o)&&"function"==typeof t.icon&&(t=vc(yc({},t),{icon:t.icon(p.primaryColor,p.secondaryColor)})),mc(t.icon,"svg-".concat(t.name),vc(yc({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",iz.getTwoToneColors=function(){return yc({},oz)},iz.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;oz.primaryColor=t,oz.secondaryColor=n||gc(t),oz.calculated=!!n};const U2=iz;wc(g$.primary),(az=Wv.forwardRef((function(e,t){var n,r,o,i,a,s,l=e.className,c=e.icon,u=e.spin,d=e.rotate,p=e.tabIndex,f=e.onClick,m=e.twoToneColor,g=function(e,t){var n,r,o,i;if(null==e)return{};if(n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(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}(e,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),h=Wv.useContext(B1),b=h.prefixCls,y=void 0===b?"anticon":b,v=L1(h.rootClassName,y,(xc(n={},"".concat(y,"-").concat(c.name),!!c.name),xc(n,"".concat(y,"-spin"),!!u||"loading"===c.name),n),l),_=p;return void 0===_&&f&&(_=-1),r=d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0,i=(s=hc(m),2,o=function(e){if(Array.isArray(e))return e}(s)||function(e){var t,n,r,o,i,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){t=[],n=!0,r=!1;try{for(a=a.call(e);!(n=(o=a.next()).done)&&(t.push(o.value),2!==t.length);n=!0);}catch(s){r=!0,i=s}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}return t}}(s)||function(e){if(e){if("string"==typeof e)return kc(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?kc(e,2):void 0}}(s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],a=o[1],Wv.createElement("span",function(e,t){var n,r,o;return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(n=Object(t),o=Object.keys(n),Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(n),o.push.apply(o,r)),o).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}(function(e){var t,n,r;for(t=1;t