@akinon/ui-steps 0.0.2 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs DELETED
@@ -1,131 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const kc=require("react/jsx-runtime"),F=require("react"),Ha=require("react-dom");function Dc(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=Dc(F);function Lc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ba={exports:{}};/*!
2
- Copyright (c) 2018 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],o=0;o<arguments.length;o++){var i=arguments[o];if(i){var a=typeof i;if(a==="string"||a==="number")n.push(i);else if(Array.isArray(i)){if(i.length){var s=r.apply(null,i);s&&n.push(s)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){n.push(i.toString());continue}for(var c in i)t.call(i,c)&&i[c]&&n.push(c)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Ba);var jc=Ba.exports;const Ce=Lc(jc);function Ge(){return Ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ge.apply(this,arguments)}var wo={exports:{}},ne={};/**
6
- * @license React
7
- * react-is.production.min.js
8
- *
9
- * Copyright (c) Facebook, Inc. and its affiliates.
10
- *
11
- * This source code is licensed under the MIT license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- */var Mi;function zc(){if(Mi)return ne;Mi=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),p;p=Symbol.for("react.module.reference");function h(v){if(typeof v=="object"&&v!==null){var S=v.$$typeof;switch(S){case e:switch(v=v.type,v){case r:case o:case n:case l:case d:return v;default:switch(v=v&&v.$$typeof,v){case s:case a:case c:case m:case f:case i:return v;default:return S}}case t:return S}}}return ne.ContextConsumer=a,ne.ContextProvider=i,ne.Element=e,ne.ForwardRef=c,ne.Fragment=r,ne.Lazy=m,ne.Memo=f,ne.Portal=t,ne.Profiler=o,ne.StrictMode=n,ne.Suspense=l,ne.SuspenseList=d,ne.isAsyncMode=function(){return!1},ne.isConcurrentMode=function(){return!1},ne.isContextConsumer=function(v){return h(v)===a},ne.isContextProvider=function(v){return h(v)===i},ne.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},ne.isForwardRef=function(v){return h(v)===c},ne.isFragment=function(v){return h(v)===r},ne.isLazy=function(v){return h(v)===m},ne.isMemo=function(v){return h(v)===f},ne.isPortal=function(v){return h(v)===t},ne.isProfiler=function(v){return h(v)===o},ne.isStrictMode=function(v){return h(v)===n},ne.isSuspense=function(v){return h(v)===l},ne.isSuspenseList=function(v){return h(v)===d},ne.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===o||v===n||v===l||v===d||v===g||typeof v=="object"&&v!==null&&(v.$$typeof===m||v.$$typeof===f||v.$$typeof===i||v.$$typeof===a||v.$$typeof===c||v.$$typeof===p||v.getModuleId!==void 0)},ne.typeOf=h,ne}var oe={};/**
14
- * @license React
15
- * react-is.development.js
16
- *
17
- * Copyright (c) Facebook, Inc. and its affiliates.
18
- *
19
- * This source code is licensed under the MIT license found in the
20
- * LICENSE file in the root directory of this source tree.
21
- */var _i;function Hc(){return _i||(_i=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),p=!1,h=!1,v=!1,S=!1,b=!1,C;C=Symbol.for("react.module.reference");function y(N){return!!(typeof N=="string"||typeof N=="function"||N===r||N===o||b||N===n||N===l||N===d||S||N===g||p||h||v||typeof N=="object"&&N!==null&&(N.$$typeof===m||N.$$typeof===f||N.$$typeof===i||N.$$typeof===a||N.$$typeof===c||N.$$typeof===C||N.getModuleId!==void 0))}function E(N){if(typeof N=="object"&&N!==null){var de=N.$$typeof;switch(de){case e:var be=N.type;switch(be){case r:case o:case n:case l:case d:return be;default:var we=be&&be.$$typeof;switch(we){case s:case a:case c:case m:case f:case i:return we;default:return de}}case t:return de}}}var x=a,w=i,P=e,D=c,$=r,I=m,M=f,O=t,_=o,T=n,R=l,A=d,B=!1,j=!1;function K(N){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ee(N){return j||(j=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function G(N){return E(N)===a}function ae(N){return E(N)===i}function J(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function Q(N){return E(N)===c}function ie(N){return E(N)===r}function U(N){return E(N)===m}function Y(N){return E(N)===f}function ce(N){return E(N)===t}function pe(N){return E(N)===o}function me(N){return E(N)===n}function Ie(N){return E(N)===l}function Oe(N){return E(N)===d}oe.ContextConsumer=x,oe.ContextProvider=w,oe.Element=P,oe.ForwardRef=D,oe.Fragment=$,oe.Lazy=I,oe.Memo=M,oe.Portal=O,oe.Profiler=_,oe.StrictMode=T,oe.Suspense=R,oe.SuspenseList=A,oe.isAsyncMode=K,oe.isConcurrentMode=ee,oe.isContextConsumer=G,oe.isContextProvider=ae,oe.isElement=J,oe.isForwardRef=Q,oe.isFragment=ie,oe.isLazy=U,oe.isMemo=Y,oe.isPortal=ce,oe.isProfiler=pe,oe.isStrictMode=me,oe.isSuspense=Ie,oe.isSuspenseList=Oe,oe.isValidElementType=y,oe.typeOf=E}()),oe}process.env.NODE_ENV==="production"?wo.exports=zc():wo.exports=Hc();var Wa=wo.exports;function wn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[];return F.Children.forEach(e,function(n){n==null&&!t.keepEmpty||(Array.isArray(n)?r=r.concat(wn(n)):Wa.isFragment(n)&&n.props?r=r.concat(wn(n.props.children,t)):r.push(n))}),r}var Eo={},ti=[],Bc=function(t){ti.push(t)};function vr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ti.reduce(function(n,o){return o(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function Wc(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ti.reduce(function(n,o){return o(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function Fa(){Eo={}}function Va(e,t,r){!t&&!Eo[r]&&(e(!1,r),Eo[r]=!0)}function $t(e,t){Va(vr,e,t)}function Fc(e,t){Va(Wc,e,t)}$t.preMessage=Bc;$t.resetWarned=Fa;$t.noteOnce=Fc;function fe(e){"@babel/helpers - typeof";return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fe(e)}function Vc(e,t){if(fe(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(fe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ua(e){var t=Vc(e,"string");return fe(t)==="symbol"?t:String(t)}function X(e,t,r){return t=Ua(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ri(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ri(Object(r),!0).forEach(function(n){X(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ri(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function En(e){return e instanceof HTMLElement||e instanceof SVGElement}function hn(e){return En(e)?e:e instanceof F.Component?Ha.findDOMNode(e):null}function ri(e,t,r){var n=u.useRef({});return(!("value"in n.current)||r(n.current.condition,t))&&(n.current.value=e(),n.current.condition=t),n.current.value}function ni(e,t){typeof e=="function"?e(t):fe(e)==="object"&&e&&"current"in e&&(e.current=t)}function Xa(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.filter(function(o){return o});return n.length<=1?n[0]:function(o){t.forEach(function(i){ni(i,o)})}}function oi(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ri(function(){return Xa.apply(void 0,t)},t,function(n,o){return n.length!==o.length||n.every(function(i,a){return i!==o[a]})})}function Rn(e){var t,r,n=Wa.isMemo(e)?e.type.type:e.type;return!(typeof n=="function"&&!((t=n.prototype)!==null&&t!==void 0&&t.render)||typeof e=="function"&&!((r=e.prototype)!==null&&r!==void 0&&r.render))}var xo=u.createContext(null);function Uc(e){var t=e.children,r=e.onBatchResize,n=u.useRef(0),o=u.useRef([]),i=u.useContext(xo),a=u.useCallback(function(s,c,l){n.current+=1;var d=n.current;o.current.push({size:s,element:c,data:l}),Promise.resolve().then(function(){d===n.current&&(r==null||r(o.current),o.current=[])}),i==null||i(s,c,l)},[r,i]);return u.createElement(xo.Provider,{value:a},t)}var Ka=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(o,i){return o[0]===r?(n=i,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(r,n){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,o=e(n,r);~o&&n.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var o=0,i=this.__entries__;o<i.length;o++){var a=i[o];r.call(n,a[1],a[0])}},t}()}(),$o=typeof window<"u"&&typeof document<"u"&&window.document===document,xn=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Xc=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(xn):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),Kc=2;function Gc(e,t){var r=!1,n=!1,o=0;function i(){r&&(r=!1,e()),n&&s()}function a(){Xc(i)}function s(){var c=Date.now();if(r){if(c-o<Kc)return;n=!0}else r=!0,n=!1,setTimeout(a,t);o=c}return s}var qc=20,Yc=["top","right","bottom","left","width","height","size","weight"],Qc=typeof MutationObserver<"u",Zc=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Gc(this.refresh.bind(this),qc)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,n=r.indexOf(t);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!$o||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Qc?(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(){!$o||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,o=Yc.some(function(i){return!!~n.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Ga=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},mr=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||xn},qa=Nn(0,0,0,0);function $n(e){return parseFloat(e)||0}function Ni(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(n,o){var i=e["border-"+o+"-width"];return n+$n(i)},0)}function Jc(e){for(var t=["top","right","bottom","left"],r={},n=0,o=t;n<o.length;n++){var i=o[n],a=e["padding-"+i];r[i]=$n(a)}return r}function el(e){var t=e.getBBox();return Nn(0,0,t.width,t.height)}function tl(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return qa;var n=mr(e).getComputedStyle(e),o=Jc(n),i=o.left+o.right,a=o.top+o.bottom,s=$n(n.width),c=$n(n.height);if(n.boxSizing==="border-box"&&(Math.round(s+i)!==t&&(s-=Ni(n,"left","right")+i),Math.round(c+a)!==r&&(c-=Ni(n,"top","bottom")+a)),!nl(e)){var l=Math.round(s+i)-t,d=Math.round(c+a)-r;Math.abs(l)!==1&&(s-=l),Math.abs(d)!==1&&(c-=d)}return Nn(o.left,o.top,s,c)}var rl=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof mr(e).SVGGraphicsElement}:function(e){return e instanceof mr(e).SVGElement&&typeof e.getBBox=="function"}}();function nl(e){return e===mr(e).document.documentElement}function ol(e){return $o?rl(e)?el(e):tl(e):qa}function il(e){var t=e.x,r=e.y,n=e.width,o=e.height,i=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(i.prototype);return Ga(a,{x:t,y:r,width:n,height:o,top:r,right:t+n,bottom:o+r,left:t}),a}function Nn(e,t,r,n){return{x:e,y:t,width:r,height:n}}var al=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Nn(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=ol(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),sl=function(){function e(t,r){var n=il(r);Ga(this,{target:t,contentRect:n})}return e}(),cl=function(){function e(t,r,n){if(this.activeObservations_=[],this.observations_=new Ka,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=n}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof mr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new al(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof mr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new sl(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Ya=typeof WeakMap<"u"?new WeakMap:new Ka,Qa=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Zc.getInstance(),n=new cl(t,r,this);Ya.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Qa.prototype[e]=function(){var t;return(t=Ya.get(this))[e].apply(t,arguments)}});var ll=function(){return typeof xn.ResizeObserver<"u"?xn.ResizeObserver:Qa}(),ht=new Map;function Za(e){e.forEach(function(t){var r,n=t.target;(r=ht.get(n))===null||r===void 0||r.forEach(function(o){return o(n)})})}var Ja=new ll(Za);process.env.NODE_ENV;process.env.NODE_ENV;function ul(e,t){ht.has(e)||(ht.set(e,new Set),Ja.observe(e)),ht.get(e).add(t)}function fl(e,t){ht.has(e)&&(ht.get(e).delete(t),ht.get(e).size||(Ja.unobserve(e),ht.delete(e)))}function Ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ai(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ua(n.key),n)}}function Xt(e,t,r){return t&&Ai(e.prototype,t),r&&Ai(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Oo(e,t){return Oo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Oo(e,t)}function ii(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oo(e,t)}function On(e){return On=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},On(e)}function dl(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function To(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vl(e,t){if(t&&(fe(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return To(e)}function ai(e){var t=dl();return function(){var n=On(e),o;if(t){var i=On(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vl(this,o)}}var ml=function(e){ii(r,e);var t=ai(r);function r(){return Ut(this,r),t.apply(this,arguments)}return Xt(r,[{key:"render",value:function(){return this.props.children}}]),r}(u.Component);function gl(e,t){var r=e.children,n=e.disabled,o=u.useRef(null),i=u.useRef(null),a=u.useContext(xo),s=typeof r=="function",c=s?r(o):r,l=u.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!s&&u.isValidElement(c)&&Rn(c),f=d?c.ref:null,m=oi(f,o),g=function(){var S;return hn(o.current)||(o.current&&fe(o.current)==="object"?hn((S=o.current)===null||S===void 0?void 0:S.nativeElement):null)||hn(i.current)};u.useImperativeHandle(t,function(){return g()});var p=u.useRef(e);p.current=e;var h=u.useCallback(function(v){var S=p.current,b=S.onResize,C=S.data,y=v.getBoundingClientRect(),E=y.width,x=y.height,w=v.offsetWidth,P=v.offsetHeight,D=Math.floor(E),$=Math.floor(x);if(l.current.width!==D||l.current.height!==$||l.current.offsetWidth!==w||l.current.offsetHeight!==P){var I={width:D,height:$,offsetWidth:w,offsetHeight:P};l.current=I;var M=w===Math.round(E)?E:w,O=P===Math.round(x)?x:P,_=L(L({},I),{},{offsetWidth:M,offsetHeight:O});a==null||a(_,v,C),b&&Promise.resolve().then(function(){b(_,v)})}},[]);return u.useEffect(function(){var v=g();return v&&!n&&ul(v,h),function(){return fl(v,h)}},[o.current,n]),u.createElement(ml,{ref:i},d?u.cloneElement(c,{ref:m}):c)}var es=u.forwardRef(gl);process.env.NODE_ENV!=="production"&&(es.displayName="SingleObserver");var hl="rc-observer-key";function pl(e,t){var r=e.children,n=typeof r=="function"?[r]:wn(r);return process.env.NODE_ENV!=="production"&&(n.length>1?vr(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):n.length===0&&vr(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),n.map(function(o,i){var a=(o==null?void 0:o.key)||"".concat(hl,"-").concat(i);return u.createElement(es,Ge({},e,{key:a,ref:i===0?t:void 0}),o)})}var An=u.forwardRef(pl);process.env.NODE_ENV!=="production"&&(An.displayName="ResizeObserver");An.Collection=Uc;function bl(e,t){var r=L({},e);return Array.isArray(t)&&t.forEach(function(n){delete r[n]}),r}function Po(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function yl(e){if(Array.isArray(e))return Po(e)}function ts(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function si(e,t){if(e){if(typeof e=="string")return Po(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Po(e,t)}}function Sl(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
22
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qe(e){return yl(e)||ts(e)||si(e)||Sl()}var rs=function(t){return+setTimeout(t,16)},ns=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(rs=function(t){return window.requestAnimationFrame(t)},ns=function(t){return window.cancelAnimationFrame(t)});var Ii=0,ci=new Map;function os(e){ci.delete(e)}var Ar=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ii+=1;var n=Ii;function o(i){if(i===0)os(n),t();else{var a=rs(function(){o(i-1)});ci.set(n,a)}}return o(r),n};Ar.cancel=function(e){var t=ci.get(e);return os(t),ns(t)};function li(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Cl(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function xt(e,t){if(e==null)return{};var r=Cl(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function wl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=new Set;function o(i,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=n.has(i);if($t(!c,"Warning: There may be circular references"),c)return!1;if(i===a)return!0;if(r&&s>1)return!1;n.add(i);var l=s+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var d=0;d<i.length;d++)if(!o(i[d],a[d],l))return!1;return!0}if(i&&a&&fe(i)==="object"&&fe(a)==="object"){var f=Object.keys(i);return f.length!==Object.keys(a).length?!1:f.every(function(m){return o(i[m],a[m],l)})}return!1}return o(e,t)}var ki="%",El=function(){function e(t){Ut(this,e),X(this,"instanceId",void 0),X(this,"cache",new Map),this.instanceId=t}return Xt(e,[{key:"get",value:function(r){return this.cache.get(r.join(ki))||null}},{key:"update",value:function(r,n){var o=r.join(ki),i=this.cache.get(o),a=n(i);a===null?this.cache.delete(o):this.cache.set(o,a)}}]),e}(),Mo="data-token-hash",jt="data-css-hash",xl="data-cache-path",sr="__cssinjs_instance__";function $l(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(jt,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(o){o[sr]=o[sr]||e,o[sr]===e&&document.head.insertBefore(o,r)});var n={};Array.from(document.querySelectorAll("style[".concat(jt,"]"))).forEach(function(o){var i=o.getAttribute(jt);if(n[i]){if(o[sr]===e){var a;(a=o.parentNode)===null||a===void 0||a.removeChild(o)}}else n[i]=!0})}return new El(e)}var Ol=u.createContext({hashPriority:"low",cache:$l(),defaultCache:!0});const ui=Ol;function Ne(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Tl(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var Di="data-rc-order",Li="data-rc-priority",Pl="rc-util-key",_o=new Map;function is(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Pl}function In(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Ml(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function as(e){return Array.from((_o.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function ss(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ne())return null;var r=t.csp,n=t.prepend,o=t.priority,i=o===void 0?0:o,a=Ml(n),s=a==="prependQueue",c=document.createElement("style");c.setAttribute(Di,a),s&&i&&c.setAttribute(Li,"".concat(i)),r!=null&&r.nonce&&(c.nonce=r==null?void 0:r.nonce),c.innerHTML=e;var l=In(t),d=l.firstChild;if(n){if(s){var f=as(l).filter(function(m){if(!["prepend","prependQueue"].includes(m.getAttribute(Di)))return!1;var g=Number(m.getAttribute(Li)||0);return i>=g});if(f.length)return l.insertBefore(c,f[f.length-1].nextSibling),c}l.insertBefore(c,d)}else l.appendChild(c);return c}function cs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=In(t);return as(r).find(function(n){return n.getAttribute(is(t))===e})}function Tn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=cs(e,t);if(r){var n=In(t);n.removeChild(r)}}function _l(e,t){var r=_o.get(e);if(!r||!Tl(document,r)){var n=ss("",t),o=n.parentNode;_o.set(e,o),e.removeChild(n)}}function Ir(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=In(r);_l(n,r);var o=cs(t,r);if(o){var i,a;if((i=r.csp)!==null&&i!==void 0&&i.nonce&&o.nonce!==((a=r.csp)===null||a===void 0?void 0:a.nonce)){var s;o.nonce=(s=r.csp)===null||s===void 0?void 0:s.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var c=ss(e,r);return c.setAttribute(is(r),t),c}function ls(e){if(Array.isArray(e))return e}function Rl(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(d){l=!0,o=d}finally{try{if(!c&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}function us(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
23
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z(e,t){return ls(e)||Rl(e,t)||si(e,t)||us()}function Nl(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var fi=function(){function e(){Ut(this,e),X(this,"cache",void 0),X(this,"keys",void 0),X(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Xt(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(r){var n,o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return r.forEach(function(s){if(!a)a=void 0;else{var c,l;a=(c=a)===null||c===void 0||(l=c.map)===null||l===void 0?void 0:l.get(s)}}),(n=a)!==null&&n!==void 0&&n.value&&i&&(a.value[1]=this.cacheCallTimes++),(o=a)===null||o===void 0?void 0:o.value}},{key:"get",value:function(r){var n;return(n=this.internalGet(r,!0))===null||n===void 0?void 0:n[0]}},{key:"has",value:function(r){return!!this.internalGet(r)}},{key:"set",value:function(r,n){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(l,d){var f=z(l,2),m=f[1];return o.internalGet(d)[1]<m?[d,o.internalGet(d)[1]]:l},[this.keys[0],this.cacheCallTimes]),a=z(i,1),s=a[0];this.delete(s)}this.keys.push(r)}var c=this.cache;r.forEach(function(l,d){if(d===r.length-1)c.set(l,{value:[n,o.cacheCallTimes++]});else{var f=c.get(l);f?f.map||(f.map=new Map):c.set(l,{map:new Map}),c=c.get(l).map}})}},{key:"deleteByPath",value:function(r,n){var o=r.get(n[0]);if(n.length===1){var i;return o.map?r.set(n[0],{map:o.map}):r.delete(n[0]),(i=o.value)===null||i===void 0?void 0:i[0]}var a=this.deleteByPath(o.map,n.slice(1));return(!o.map||o.map.size===0)&&!o.value&&r.delete(n[0]),a}},{key:"delete",value:function(r){if(this.has(r))return this.keys=this.keys.filter(function(n){return!Nl(n,r)}),this.deleteByPath(this.cache,r)}}]),e}();X(fi,"MAX_CACHE_SIZE",20);X(fi,"MAX_CACHE_OFFSET",5);var ji=0,fs=function(){function e(t){Ut(this,e),X(this,"derivatives",void 0),X(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=ji,t.length===0&&vr(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),ji+=1}return Xt(e,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(n,o){return o(r,n)},void 0)}}]),e}(),ao=new fi;function Ro(e){var t=Array.isArray(e)?e:[e];return ao.has(t)||ao.set(t,new fs(t)),ao.get(t)}var Al=new WeakMap,so={};function Il(e,t){for(var r=Al,n=0;n<t.length;n+=1){var o=t[n];r.has(o)||r.set(o,new WeakMap),r=r.get(o)}return r.has(so)||r.set(so,e()),r.get(so)}var zi=new WeakMap;function Pn(e){var t=zi.get(e)||"";return t||(Object.keys(e).forEach(function(r){var n=e[r];t+=r,n instanceof fs?t+=n.id:n&&fe(n)==="object"?t+=Pn(n):t+=n}),zi.set(e,t)),t}function kl(e,t){return li("".concat(t,"_").concat(Pn(e)))}var Rr="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),ds="_bAmBoO_";function Dl(e,t,r){if(Ne()){var n,o;Ir(e,Rr);var i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",t==null||t(i),document.body.appendChild(i),process.env.NODE_ENV!=="production"&&(i.innerHTML="Test",i.style.zIndex="9999999");var a=r?r(i):(n=getComputedStyle(i).content)===null||n===void 0?void 0:n.includes(ds);return(o=i.parentNode)===null||o===void 0||o.removeChild(i),Tn(Rr),a}return!1}var co=void 0;function Ll(){return co===void 0&&(co=Dl("@layer ".concat(Rr," { .").concat(Rr,' { content: "').concat(ds,'"!important; } }'),function(e){e.className=Rr})),co}var Hi=process.env.NODE_ENV!=="test"&&Ne()?u.useLayoutEffect:u.useEffect,Re=function(t,r){var n=u.useRef(!0);Hi(function(){return t(n.current)},r),Hi(function(){return n.current=!1,function(){n.current=!0}},[])},Bi=function(t,r){Re(function(n){if(!n)return t()},r)},jl=L({},u),Wi=jl.useInsertionEffect,zl=function(t,r,n){u.useMemo(t,n),Re(function(){return r(!0)},n)},Hl=Wi?function(e,t,r){return Wi(function(){return e(),t()},r)}:zl;const Bl=Hl;var Wl=L({},u),Fl=Wl.useInsertionEffect,Vl=function(t){var r=[],n=!1;function o(i){if(n){process.env.NODE_ENV!=="production"&&vr(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}r.push(i)}return u.useEffect(function(){return n=!1,function(){n=!0,r.length&&r.forEach(function(i){return i()})}},t),o},Ul=function(){return function(t){t()}},Xl=typeof Fl<"u"?Vl:Ul;const Kl=Xl;function Gl(){return!1}var No=!1;function ql(){return No}const Yl=process.env.NODE_ENV==="production"?Gl:ql;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var lo=window;if(typeof lo.webpackHotUpdate=="function"){var Ql=lo.webpackHotUpdate;lo.webpackHotUpdate=function(){return No=!0,setTimeout(function(){No=!1},0),Ql.apply(void 0,arguments)}}}function vs(e,t,r,n,o){var i=u.useContext(ui),a=i.cache,s=[e].concat(qe(t)),c=s.join("_"),l=Kl([c]),d=Yl(),f=function(h){a.update(s,function(v){var S=v||[],b=z(S,2),C=b[0],y=C===void 0?0:C,E=b[1],x=E;process.env.NODE_ENV!=="production"&&E&&d&&(n==null||n(x,d),x=null);var w=x||r(),P=[y,w];return h?h(P):P})};u.useMemo(function(){f()},[c]);var m=a.get(s);process.env.NODE_ENV!=="production"&&!m&&(f(),m=a.get(s));var g=m[1];return Bl(function(){o==null||o(g)},function(p){return f(function(h){var v=z(h,2),S=v[0],b=v[1];return p&&S===0&&(o==null||o(g)),[S+1,b]}),function(){a.update(s,function(h){var v=h||[],S=z(v,2),b=S[0],C=b===void 0?0:b,y=S[1],E=C-1;return E===0?(l(function(){return n==null?void 0:n(y,!1)}),null):[C-1,y]})}},[c]),g}var Zl={},Jl=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",Dt=new Map;function eu(e){Dt.set(e,(Dt.get(e)||0)+1)}function tu(e,t){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(Mo,'="').concat(e,'"]'));r.forEach(function(n){if(n[sr]===t){var o;(o=n.parentNode)===null||o===void 0||o.removeChild(n)}})}}var ru=0;function nu(e,t){Dt.set(e,(Dt.get(e)||0)-1);var r=Array.from(Dt.keys()),n=r.filter(function(o){var i=Dt.get(o)||0;return i<=0});r.length-n.length>ru&&n.forEach(function(o){tu(o,t),Dt.delete(o)})}var ou=function(t,r,n,o){var i=n.getDerivativeToken(t),a=L(L({},i),r);return o&&(a=o(a)),a};function iu(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=F.useContext(ui),o=n.cache.instanceId,i=r.salt,a=i===void 0?"":i,s=r.override,c=s===void 0?Zl:s,l=r.formatToken,d=r.getComputedToken,f=Il(function(){return Object.assign.apply(Object,[{}].concat(qe(t)))},t),m=Pn(f),g=Pn(c),p=vs("token",[a,e.id,m,g],function(){var h=d?d(f,c,e):ou(f,c,e,l),v=kl(h,a);h._tokenKey=v,eu(v);var S="".concat(Jl,"-").concat(li(v));return h._hashId=S,[h,S]},function(h){nu(h[0]._tokenKey,o)});return p}var au={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ms="comm",gs="rule",hs="decl",su="@import",cu="@keyframes",lu="@layer",uu=Math.abs,di=String.fromCharCode;function ps(e){return e.trim()}function pn(e,t,r){return e.replace(t,r)}function fu(e,t){return e.indexOf(t)}function kr(e,t){return e.charCodeAt(t)|0}function Dr(e,t,r){return e.slice(t,r)}function mt(e){return e.length}function du(e){return e.length}function nn(e,t){return t.push(e),e}var kn=1,gr=1,bs=0,et=0,Ee=0,pr="";function vi(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:kn,column:gr,length:a,return:"",siblings:s}}function vu(){return Ee}function mu(){return Ee=et>0?kr(pr,--et):0,gr--,Ee===10&&(gr=1,kn--),Ee}function it(){return Ee=et<bs?kr(pr,et++):0,gr++,Ee===10&&(gr=1,kn++),Ee}function zt(){return kr(pr,et)}function bn(){return et}function Dn(e,t){return Dr(pr,e,t)}function Ao(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function gu(e){return kn=gr=1,bs=mt(pr=e),et=0,[]}function hu(e){return pr="",e}function uo(e){return ps(Dn(et-1,Io(e===91?e+2:e===40?e+1:e)))}function pu(e){for(;(Ee=zt())&&Ee<33;)it();return Ao(e)>2||Ao(Ee)>3?"":" "}function bu(e,t){for(;--t&&it()&&!(Ee<48||Ee>102||Ee>57&&Ee<65||Ee>70&&Ee<97););return Dn(e,bn()+(t<6&&zt()==32&&it()==32))}function Io(e){for(;it();)switch(Ee){case e:return et;case 34:case 39:e!==34&&e!==39&&Io(Ee);break;case 40:e===41&&Io(e);break;case 92:it();break}return et}function yu(e,t){for(;it()&&e+Ee!==47+10;)if(e+Ee===42+42&&zt()===47)break;return"/*"+Dn(t,et-1)+"*"+di(e===47?e:it())}function Su(e){for(;!Ao(zt());)it();return Dn(e,et)}function Cu(e){return hu(yn("",null,null,null,[""],e=gu(e),0,[0],e))}function yn(e,t,r,n,o,i,a,s,c){for(var l=0,d=0,f=a,m=0,g=0,p=0,h=1,v=1,S=1,b=0,C="",y=o,E=i,x=n,w=C;v;)switch(p=b,b=it()){case 40:if(p!=108&&kr(w,f-1)==58){fu(w+=pn(uo(b),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:w+=uo(b);break;case 9:case 10:case 13:case 32:w+=pu(p);break;case 92:w+=bu(bn()-1,7);continue;case 47:switch(zt()){case 42:case 47:nn(wu(yu(it(),bn()),t,r,c),c);break;default:w+="/"}break;case 123*h:s[l++]=mt(w)*S;case 125*h:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+d:S==-1&&(w=pn(w,/\f/g,"")),g>0&&mt(w)-f&&nn(g>32?Vi(w+";",n,r,f-1,c):Vi(pn(w," ","")+";",n,r,f-2,c),c);break;case 59:w+=";";default:if(nn(x=Fi(w,t,r,l,d,o,s,C,y=[],E=[],f,i),i),b===123)if(d===0)yn(w,t,x,x,y,i,f,s,E);else switch(m===99&&kr(w,3)===110?100:m){case 100:case 108:case 109:case 115:yn(e,x,x,n&&nn(Fi(e,x,x,0,0,o,s,C,o,y=[],f,E),E),o,E,f,s,n?y:E);break;default:yn(w,x,x,x,[""],E,0,s,E)}}l=d=g=0,h=S=1,C=w="",f=a;break;case 58:f=1+mt(w),g=p;default:if(h<1){if(b==123)--h;else if(b==125&&h++==0&&mu()==125)continue}switch(w+=di(b),b*h){case 38:S=d>0?1:(w+="\f",-1);break;case 44:s[l++]=(mt(w)-1)*S,S=1;break;case 64:zt()===45&&(w+=uo(it())),m=zt(),d=f=mt(C=w+=Su(bn())),b++;break;case 45:p===45&&mt(w)==2&&(h=0)}}return i}function Fi(e,t,r,n,o,i,a,s,c,l,d,f){for(var m=o-1,g=o===0?i:[""],p=du(g),h=0,v=0,S=0;h<n;++h)for(var b=0,C=Dr(e,m+1,m=uu(v=a[h])),y=e;b<p;++b)(y=ps(v>0?g[b]+" "+C:pn(C,/&\f/g,g[b])))&&(c[S++]=y);return vi(e,t,r,o===0?gs:s,c,l,d,f)}function wu(e,t,r,n){return vi(e,t,r,ms,di(vu()),Dr(e,2,-2),0,n)}function Vi(e,t,r,n,o){return vi(e,t,r,hs,Dr(e,0,n),Dr(e,n+1,-1),n,o)}function ko(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Eu(e,t,r,n){switch(e.type){case lu:if(e.children.length)break;case su:case hs:return e.return=e.return||e.value;case ms:return"";case cu:return e.return=e.value+"{"+ko(e.children,n)+"}";case gs:if(!mt(e.value=e.props.join(",")))return""}return mt(r=ko(e.children,n))?e.return=e.value+"{"+r+"}":""}function ys(e,t){var r=t.path,n=t.parentSelectors;$t(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(n.length?" Selector: ".concat(n.join(" | ")):""))}var xu=function(t,r,n){if(t==="content"){var o=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,i=["normal","none","initial","inherit","unset"];(typeof r!="string"||i.indexOf(r)===-1&&!o.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'"))&&ys("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(r,"\"'`."),n)}},$u=function(t,r,n){t==="animation"&&n.hashId&&r!=="none"&&ys("You seem to be using hashed animation '".concat(r,"', in which case 'animationName' with Keyframe as value is recommended."),n)},Ui="data-ant-cssinjs-cache-path",Ss="_FILE_STYLE__",Ht,Cs=!0;function Ou(){if(!Ht&&(Ht={},Ne())){var e=document.createElement("div");e.className=Ui,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(o){var i=o.split(":"),a=z(i,2),s=a[0],c=a[1];Ht[s]=c});var r=document.querySelector("style[".concat(Ui,"]"));if(r){var n;Cs=!1,(n=r.parentNode)===null||n===void 0||n.removeChild(r)}document.body.removeChild(e)}}function Tu(e){return Ou(),!!Ht[e]}function Pu(e){var t=Ht[e],r=null;if(t&&Ne())if(Cs)r=Ss;else{var n=document.querySelector("style[".concat(jt,'="').concat(Ht[e],'"]'));n?r=n.innerHTML:delete Ht[e]}return[r,t]}var Xi=Ne(),ws="_skip_check_",Es="_multi_value_";function Ki(e){var t=ko(Cu(e),Eu);return t.replace(/\{%%%\:[^;];}/g,";")}function Mu(e){return fe(e)==="object"&&e&&(ws in e||Es in e)}function _u(e,t,r){if(!t)return e;var n=".".concat(t),o=r==="low"?":where(".concat(n,")"):n,i=e.split(",").map(function(a){var s,c=a.trim().split(/\s+/),l=c[0]||"",d=((s=l.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return l="".concat(d).concat(o).concat(l.slice(d.length)),[l].concat(qe(c.slice(1))).join(" ")});return i.join(",")}var Ru=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=n.root,i=n.injectHash,a=n.parentSelectors,s=r.hashId,c=r.layer,l=r.path,d=r.hashPriority,f=r.transformers,m=f===void 0?[]:f,g=r.linters,p=g===void 0?[]:g,h="",v={};function S(x){var w=x.getName(s);if(!v[w]){var P=e(x.style,r,{root:!1,parentSelectors:a}),D=z(P,1),$=D[0];v[w]="@keyframes ".concat(x.getName(s)).concat($)}}function b(x){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return x.forEach(function(P){Array.isArray(P)?b(P,w):P&&w.push(P)}),w}var C=b(Array.isArray(t)?t:[t]);if(C.forEach(function(x){var w=typeof x=="string"&&!o?{}:x;if(typeof w=="string")h+="".concat(w,`
24
- `);else if(w._keyframe)S(w);else{var P=m.reduce(function(D,$){var I;return($==null||(I=$.visit)===null||I===void 0?void 0:I.call($,D))||D},w);Object.keys(P).forEach(function(D){var $=P[D];if(fe($)==="object"&&$&&(D!=="animationName"||!$._keyframe)&&!Mu($)){var I=!1,M=D.trim(),O=!1;(o||i)&&s?M.startsWith("@")?I=!0:M=_u(D,s,d):o&&!s&&(M==="&"||M==="")&&(M="",O=!0);var _=e($,r,{root:O,injectHash:I,parentSelectors:[].concat(qe(a),[M])}),T=z(_,2),R=T[0],A=T[1];v=L(L({},v),A),h+="".concat(M).concat(R)}else{let K=function(ee,G){process.env.NODE_ENV!=="production"&&(fe($)!=="object"||!($!=null&&$[ws]))&&[xu,$u].concat(qe(p)).forEach(function(Q){return Q(ee,G,{path:l,hashId:s,parentSelectors:a})});var ae=ee.replace(/[A-Z]/g,function(Q){return"-".concat(Q.toLowerCase())}),J=G;!au[ee]&&typeof J=="number"&&J!==0&&(J="".concat(J,"px")),ee==="animationName"&&G!==null&&G!==void 0&&G._keyframe&&(S(G),J=G.getName(s)),h+="".concat(ae,":").concat(J,";")};var B,j=(B=$==null?void 0:$.value)!==null&&B!==void 0?B:$;fe($)==="object"&&$!==null&&$!==void 0&&$[Es]&&Array.isArray(j)?j.forEach(function(ee){K(D,ee)}):K(D,j)}})}}),!o)h="{".concat(h,"}");else if(c&&Ll()){var y=c.split(","),E=y[y.length-1].trim();h="@layer ".concat(E," {").concat(h,"}"),y.length>1&&(h="@layer ".concat(c,"{%%%:%}").concat(h))}return[h,v]};function Nu(e,t){return li("".concat(e.join("%")).concat(t))}function Au(){return null}function Do(e,t){var r=e.token,n=e.path,o=e.hashId,i=e.layer,a=e.nonce,s=e.clientOnly,c=e.order,l=c===void 0?0:c,d=u.useContext(ui),f=d.autoClear,m=d.mock,g=d.defaultCache,p=d.hashPriority,h=d.container,v=d.ssrInline,S=d.transformers,b=d.linters,C=d.cache,y=r._tokenKey,E=[y].concat(qe(n)),x=Xi;process.env.NODE_ENV!=="production"&&m!==void 0&&(x=m==="client");var w=vs("style",E,function(){var M=E.join("|");if(Tu(M)){var O=Pu(M),_=z(O,2),T=_[0],R=_[1];if(T)return[T,y,R,{},s,l]}var A=t(),B=Ru(A,{hashId:o,hashPriority:p,layer:i,path:n.join("-"),transformers:S,linters:b}),j=z(B,2),K=j[0],ee=j[1],G=Ki(K),ae=Nu(E,G);return[G,y,ae,ee,s,l]},function(M,O){var _=z(M,3),T=_[2];(O||f)&&Xi&&Tn(T,{mark:jt})},function(M){var O=z(M,4),_=O[0];O[1];var T=O[2],R=O[3];if(x&&_!==Ss){var A={mark:jt,prepend:"queue",attachTo:h,priority:l},B=typeof a=="function"?a():a;B&&(A.csp={nonce:B});var j=Ir(_,T,A);j[sr]=C.instanceId,j.setAttribute(Mo,y),process.env.NODE_ENV!=="production"&&j.setAttribute(xl,E.join("|")),Object.keys(R).forEach(function(K){Ir(Ki(R[K]),"_effect-".concat(K),A)})}}),P=z(w,3),D=P[0],$=P[1],I=P[2];return function(M){var O;if(!v||x||!g)O=u.createElement(Au,null);else{var _;O=u.createElement("style",Ge({},(_={},X(_,Mo,$),X(_,jt,I),_),{dangerouslySetInnerHTML:{__html:D}}))}return u.createElement(u.Fragment,null,O,M)}}var Ye=function(){function e(t,r){Ut(this,e),X(this,"name",void 0),X(this,"style",void 0),X(this,"_keyframe",!0),this.name=t,this.style=r}return Xt(e,[{key:"getName",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return r?"".concat(r,"-").concat(this.name):this.name}}]),e}();function rr(e){return e.notSplit=!0,e}rr(["borderTop","borderBottom"]),rr(["borderTop"]),rr(["borderBottom"]),rr(["borderLeft","borderRight"]),rr(["borderLeft"]),rr(["borderRight"]);var Iu=F.createContext({});const mi=Iu;function ku(e){return ls(e)||ts(e)||si(e)||us()}function Lo(e,t){for(var r=e,n=0;n<t.length;n+=1){if(r==null)return;r=r[t[n]]}return r}function xs(e,t,r,n){if(!t.length)return r;var o=ku(t),i=o[0],a=o.slice(1),s;return!e&&typeof i=="number"?s=[]:Array.isArray(e)?s=qe(e):s=L({},e),n&&r===void 0&&a.length===1?delete s[i][a[0]]:s[i]=xs(s[i],a,r,n),s}function fo(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&n&&r===void 0&&!Lo(e,t.slice(0,-1))?e:xs(e,t,r,n)}function Du(e){return fe(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Gi(e){return Array.isArray(e)?[]:{}}var Lu=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function ju(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Gi(t[0]);return t.forEach(function(o){function i(a,s){var c=new Set(s),l=Lo(o,a),d=Array.isArray(l);if(d||Du(l)){if(!c.has(l)){c.add(l);var f=Lo(n,a);d?n=fo(n,a,[]):(!f||fe(f)!=="object")&&(n=fo(n,a,Gi(l))),Lu(l).forEach(function(m){i([].concat(qe(a),[m]),c)})}}else n=fo(n,a,l)}i([])}),n}function $s(){}let vt=null;function zu(){vt=null,Fa()}let gi=$s;process.env.NODE_ENV!=="production"&&(gi=(e,t,r)=>{$t(e,`[antd: ${t}] ${r}`),process.env.NODE_ENV==="test"&&zu()});const Os=u.createContext({}),br=process.env.NODE_ENV!=="production"?e=>{const{strict:t}=u.useContext(Os),r=(n,o,i)=>{if(!n)if(t===!1&&o==="deprecated"){const a=vt;vt||(vt={}),vt[e]=vt[e]||[],vt[e].includes(i||"")||vt[e].push(i||""),a||console.warn("[antd] There exists deprecated usage in your code:",vt)}else process.env.NODE_ENV!=="production"&&gi(n,e,i)};return r.deprecated=(n,o,i,a)=>{r(n,"deprecated",`\`${o}\` is deprecated. Please use \`${i}\` instead.${a?` ${a}`:""}`)},r}:()=>{const e=()=>{};return e.deprecated=$s,e},Ln=gi,Hu=F.createContext(void 0),Bu={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"};var Wu={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"};const Fu={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Ts=Fu,Vu={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"]},Wu),timePickerLocale:Object.assign({},Ts)},qi=Vu,Ue="${label} is not a valid ${type}",Uu={locale:"en",Pagination:Bu,DatePicker:qi,TimePicker:Ts,Calendar:qi,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:Ue,method:Ue,array:Ue,object:Ue,number:Ue,date:Ue,boolean:Ue,integer:Ue,float:Ue,regexp:Ue,email:Ue,url:Ue,hex:Ue},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"}},jn=Uu;Object.assign({},jn.Modal);let Sn=[];const Yi=()=>Sn.reduce((e,t)=>Object.assign(Object.assign({},e),t),jn.Modal);function Xu(e){if(e){const t=Object.assign({},e);return Sn.push(t),Yi(),()=>{Sn=Sn.filter(r=>r!==t),Yi()}}Object.assign({},jn.Modal)}const Ku=F.createContext(void 0),Ps=Ku,Ms="internalMark",_s=e=>{const{locale:t={},children:r,_ANT_MARK__:n}=e;if(process.env.NODE_ENV!=="production"){const i=br("LocaleProvider");process.env.NODE_ENV!=="production"&&i(n===Ms,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}u.useEffect(()=>Xu(t&&t.Modal),[t]);const o=u.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return u.createElement(Ps.Provider,{value:o},r)};process.env.NODE_ENV!=="production"&&(_s.displayName="LocaleProvider");const Gu=_s;function _e(e,t){qu(e)&&(e="100%");var r=Yu(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function on(e){return Math.min(1,Math.max(0,e))}function qu(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Yu(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Rs(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function an(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Lt(e){return e.length===1?"0"+e:String(e)}function Qu(e,t,r){return{r:_e(e,255)*255,g:_e(t,255)*255,b:_e(r,255)*255}}function Qi(e,t,r){e=_e(e,255),t=_e(t,255),r=_e(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),i=0,a=0,s=(n+o)/2;if(n===o)a=0,i=0;else{var c=n-o;switch(a=s>.5?c/(2-n-o):c/(n+o),n){case e:i=(t-r)/c+(t<r?6:0);break;case t:i=(r-e)/c+2;break;case r:i=(e-t)/c+4;break}i/=6}return{h:i,s:a,l:s}}function vo(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Zu(e,t,r){var n,o,i;if(e=_e(e,360),t=_e(t,100),r=_e(r,100),t===0)o=r,i=r,n=r;else{var a=r<.5?r*(1+t):r+t-r*t,s=2*r-a;n=vo(s,a,e+1/3),o=vo(s,a,e),i=vo(s,a,e-1/3)}return{r:n*255,g:o*255,b:i*255}}function jo(e,t,r){e=_e(e,255),t=_e(t,255),r=_e(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),i=0,a=n,s=n-o,c=n===0?0:s/n;if(n===o)i=0;else{switch(n){case e:i=(t-r)/s+(t<r?6:0);break;case t:i=(r-e)/s+2;break;case r:i=(e-t)/s+4;break}i/=6}return{h:i,s:c,v:a}}function Ju(e,t,r){e=_e(e,360)*6,t=_e(t,100),r=_e(r,100);var n=Math.floor(e),o=e-n,i=r*(1-t),a=r*(1-o*t),s=r*(1-(1-o)*t),c=n%6,l=[r,a,i,i,s,r][c],d=[s,r,r,a,i,i][c],f=[i,i,s,r,r,a][c];return{r:l*255,g:d*255,b:f*255}}function zo(e,t,r,n){var o=[Lt(Math.round(e).toString(16)),Lt(Math.round(t).toString(16)),Lt(Math.round(r).toString(16))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function ef(e,t,r,n,o){var i=[Lt(Math.round(e).toString(16)),Lt(Math.round(t).toString(16)),Lt(Math.round(r).toString(16)),Lt(tf(n))];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("")}function tf(e){return Math.round(parseFloat(e)*255).toString(16)}function Zi(e){return Xe(e)/255}function Xe(e){return parseInt(e,16)}function rf(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Ho={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ar(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,i=null,a=!1,s=!1;return typeof e=="string"&&(e=af(e)),typeof e=="object"&&(ft(e.r)&&ft(e.g)&&ft(e.b)?(t=Qu(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ft(e.h)&&ft(e.s)&&ft(e.v)?(n=an(e.s),o=an(e.v),t=Ju(e.h,n,o),a=!0,s="hsv"):ft(e.h)&&ft(e.s)&&ft(e.l)&&(n=an(e.s),i=an(e.l),t=Zu(e.h,n,i),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=Rs(r),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var nf="[-\\+]?\\d+%?",of="[-\\+]?\\d*\\.\\d+%?",wt="(?:".concat(of,")|(?:").concat(nf,")"),mo="[\\s|\\(]+(".concat(wt,")[,|\\s]+(").concat(wt,")[,|\\s]+(").concat(wt,")\\s*\\)?"),go="[\\s|\\(]+(".concat(wt,")[,|\\s]+(").concat(wt,")[,|\\s]+(").concat(wt,")[,|\\s]+(").concat(wt,")\\s*\\)?"),nt={CSS_UNIT:new RegExp(wt),rgb:new RegExp("rgb"+mo),rgba:new RegExp("rgba"+go),hsl:new RegExp("hsl"+mo),hsla:new RegExp("hsla"+go),hsv:new RegExp("hsv"+mo),hsva:new RegExp("hsva"+go),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function af(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Ho[e])e=Ho[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=nt.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=nt.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=nt.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=nt.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=nt.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=nt.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=nt.hex8.exec(e),r?{r:Xe(r[1]),g:Xe(r[2]),b:Xe(r[3]),a:Zi(r[4]),format:t?"name":"hex8"}:(r=nt.hex6.exec(e),r?{r:Xe(r[1]),g:Xe(r[2]),b:Xe(r[3]),format:t?"name":"hex"}:(r=nt.hex4.exec(e),r?{r:Xe(r[1]+r[1]),g:Xe(r[2]+r[2]),b:Xe(r[3]+r[3]),a:Zi(r[4]+r[4]),format:t?"name":"hex8"}:(r=nt.hex3.exec(e),r?{r:Xe(r[1]+r[1]),g:Xe(r[2]+r[2]),b:Xe(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function ft(e){return!!nt.CSS_UNIT.exec(String(e))}var Ke=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=rf(t)),this.originalInput=t;var o=ar(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:o.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,o,i=t.r/255,a=t.g/255,s=t.b/255;return i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),s<=.03928?o=s/12.92:o=Math.pow((s+.055)/1.055,2.4),.2126*r+.7152*n+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Rs(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=jo(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=jo(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Qi(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Qi(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),zo(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),ef(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(_e(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(_e(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+zo(this.r,this.g,this.b,!1),r=0,n=Object.entries(Ho);r<n.length;r++){var o=n[r],i=o[0],a=o[1];if(t===a)return i}return!1},e.prototype.toString=function(t){var r=!!t;t=t??this.format;var n=!1,o=this.a<1&&this.a>=0,i=!r&&o&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=on(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=on(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=on(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=on(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),i=r/100,a={r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a};return new e(a)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),o=360/r,i=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(new e(n));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,i=r.v,a=[],s=1/t;t--;)a.push(new e({h:n,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,o=[this],i=360/t,a=1;a<t;a++)o.push(new e({h:(n+a*i)%360,s:r.s,l:r.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),sn=2,Ji=.16,sf=.05,cf=.05,lf=.15,Ns=5,As=4,uf=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function ea(e){var t=e.r,r=e.g,n=e.b,o=jo(t,r,n);return{h:o.h*360,s:o.s,v:o.v}}function cn(e){var t=e.r,r=e.g,n=e.b;return"#".concat(zo(t,r,n,!1))}function ff(e,t,r){var n=r/100,o={r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b};return o}function ta(e,t,r){var n;return Math.round(e.h)>=60&&Math.round(e.h)<=240?n=r?Math.round(e.h)-sn*t:Math.round(e.h)+sn*t:n=r?Math.round(e.h)+sn*t:Math.round(e.h)-sn*t,n<0?n+=360:n>=360&&(n-=360),n}function ra(e,t,r){if(e.h===0&&e.s===0)return e.s;var n;return r?n=e.s-Ji*t:t===As?n=e.s+Ji:n=e.s+sf*t,n>1&&(n=1),r&&t===Ns&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function na(e,t,r){var n;return r?n=e.v+cf*t:n=e.v-lf*t,n>1&&(n=1),Number(n.toFixed(2))}function Wt(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=ar(e),o=Ns;o>0;o-=1){var i=ea(n),a=cn(ar({h:ta(i,o,!0),s:ra(i,o,!0),v:na(i,o,!0)}));r.push(a)}r.push(cn(n));for(var s=1;s<=As;s+=1){var c=ea(n),l=cn(ar({h:ta(c,s),s:ra(c,s),v:na(c,s)}));r.push(l)}return t.theme==="dark"?uf.map(function(d){var f=d.index,m=d.opacity,g=cn(ff(ar(t.backgroundColor||"#141414"),ar(r[f]),m*100));return g}):r}var fr={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Cn={},ho={};Object.keys(fr).forEach(function(e){Cn[e]=Wt(fr[e]),Cn[e].primary=Cn[e][5],ho[e]=Wt(fr[e],{theme:"dark",backgroundColor:"#141414"}),ho[e].primary=ho[e][5]});var df=Cn.blue;const vf=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},mf=vf;function gf(e){const{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}const Is={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"},hf=Object.assign(Object.assign({},Is),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
25
- 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
26
- '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}),Lr=hf;function pf(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:n}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:s,colorPrimary:c,colorBgBase:l,colorTextBase:d}=e,f=r(c),m=r(o),g=r(i),p=r(a),h=r(s),v=n(l,d),S=e.colorLink||e.colorInfo,b=r(S);return Object.assign(Object.assign({},v),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:p[1],colorErrorBgHover:p[2],colorErrorBorder:p[3],colorErrorBorderHover:p[4],colorErrorHover:p[5],colorError:p[6],colorErrorActive:p[7],colorErrorTextHover:p[8],colorErrorText:p[9],colorErrorTextActive:p[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new Ke("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const bf=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}},yf=bf;function Sf(e){const{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:o+1},yf(n))}const dt=(e,t)=>new Ke(e).setAlpha(t).toRgbString(),Pr=(e,t)=>new Ke(e).darken(t).toHexString(),Cf=e=>{const t=Wt(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]}},wf=(e,t)=>{const r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:dt(n,.88),colorTextSecondary:dt(n,.65),colorTextTertiary:dt(n,.45),colorTextQuaternary:dt(n,.25),colorFill:dt(n,.15),colorFillSecondary:dt(n,.06),colorFillTertiary:dt(n,.04),colorFillQuaternary:dt(n,.02),colorBgLayout:Pr(r,4),colorBgContainer:Pr(r,0),colorBgElevated:Pr(r,0),colorBgSpotlight:dt(n,.85),colorBgBlur:"transparent",colorBorder:Pr(r,15),colorBorderSecondary:Pr(r,6)}};function Ef(e){const t=new Array(10).fill(null).map((r,n)=>{const o=n-1,i=e*Math.pow(2.71828,o/5),a=n>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(r=>{const n=r+8;return{size:r,lineHeight:n/r}})}const xf=e=>{const t=Ef(e),r=t.map(o=>o.size),n=t.map(o=>o.lineHeight);return{fontSizeSM:r[0],fontSize:r[1],fontSizeLG:r[2],fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:n[1],lineHeightLG:n[2],lineHeightSM:n[0],lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},$f=xf;function Of(e){const t=Object.keys(Is).map(r=>{const n=Wt(e[r]);return new Array(10).fill(1).reduce((o,i,a)=>(o[`${r}-${a+1}`]=n[a],o[`${r}${a+1}`]=n[a],o),{})}).reduce((r,n)=>(r=Object.assign(Object.assign({},r),n),r),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),pf(e,{generateColorPalettes:Cf,generateNeutralColorPalettes:wf})),$f(e.fontSize)),gf(e)),mf(e)),Sf(e))}const ks=Ro(Of),Ds={token:Lr,override:{override:Lr},hashed:!0},Ls=F.createContext(Ds),js="anticon",Tf=(e,t)=>t||(e?`ant-${e}`:"ant"),Ot=u.createContext({getPrefixCls:Tf,iconPrefixCls:js}),Pf=`-ant-${Date.now()}-${Math.random()}`;function Mf(e,t){const r={},n=(a,s)=>{let c=a.clone();return c=(s==null?void 0:s(c))||c,c.toRgbString()},o=(a,s)=>{const c=new Ke(a),l=Wt(c.toRgbString());r[`${s}-color`]=n(c),r[`${s}-color-disabled`]=l[1],r[`${s}-color-hover`]=l[4],r[`${s}-color-active`]=l[6],r[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),r[`${s}-color-deprecated-bg`]=l[0],r[`${s}-color-deprecated-border`]=l[2]};if(t.primaryColor){o(t.primaryColor,"primary");const a=new Ke(t.primaryColor),s=Wt(a.toRgbString());s.forEach((l,d)=>{r[`primary-${d+1}`]=l}),r["primary-color-deprecated-l-35"]=n(a,l=>l.lighten(35)),r["primary-color-deprecated-l-20"]=n(a,l=>l.lighten(20)),r["primary-color-deprecated-t-20"]=n(a,l=>l.tint(20)),r["primary-color-deprecated-t-50"]=n(a,l=>l.tint(50)),r["primary-color-deprecated-f-12"]=n(a,l=>l.setAlpha(l.getAlpha()*.12));const c=new Ke(s[0]);r["primary-color-active-deprecated-f-30"]=n(c,l=>l.setAlpha(l.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(c,l=>l.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"),`
27
- :root {
28
- ${Object.keys(r).map(a=>`--${e}-${a}: ${r[a]};`).join(`
29
- `)}
30
- }
31
- `.trim()}function _f(e,t){const r=Mf(e,t);Ne()?Ir(r,`${Pf}-dynamic-theme`):process.env.NODE_ENV!=="production"&&Ln(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const Bo=u.createContext(!1),Rf=e=>{let{children:t,disabled:r}=e;const n=u.useContext(Bo);return u.createElement(Bo.Provider,{value:r??n},t)},Nf=Bo,Wo=u.createContext(void 0),Af=e=>{let{children:t,size:r}=e;const n=u.useContext(Wo);return u.createElement(Wo.Provider,{value:r||n},t)},zn=Wo;function If(){const e=F.useContext(Nf),t=F.useContext(zn);return{componentDisabled:e,componentSize:t}}const Mn=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],kf="5.11.0";function po(e){return e>=0&&e<=255}function ln(e,t){const{r,g:n,b:o,a:i}=new Ke(e).toRgb();if(i<1)return e;const{r:a,g:s,b:c}=new Ke(t).toRgb();for(let l=.01;l<=1;l+=.01){const d=Math.round((r-a*(1-l))/l),f=Math.round((n-s*(1-l))/l),m=Math.round((o-c*(1-l))/l);if(po(d)&&po(f)&&po(m))return new Ke({r:d,g:f,b:m,a:Math.round(l*100)/100}).toRgbString()}return new Ke({r,g:n,b:o,a:1}).toRgbString()}var Df=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function zs(e){const{override:t}=e,r=Df(e,["override"]),n=Object.assign({},t);Object.keys(Lr).forEach(m=>{delete n[m]});const o=Object.assign(Object.assign({},r),n),i=480,a=576,s=768,c=992,l=1200,d=1600;if(o.motion===!1){const m="0s";o.motionDurationFast=m,o.motionDurationMid=m,o.motionDurationSlow=m}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:ln(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:ln(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:ln(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:ln(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:`
32
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
33
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
34
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
35
- `,boxShadowSecondary:`
36
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
37
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
38
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
39
- `,boxShadowTertiary:`
40
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
41
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
42
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
43
- `,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
44
- 0 1px 2px -2px ${new Ke("rgba(0, 0, 0, 0.16)").toRgbString()},
45
- 0 3px 6px 0 ${new Ke("rgba(0, 0, 0, 0.12)").toRgbString()},
46
- 0 5px 12px 4px ${new Ke("rgba(0, 0, 0, 0.09)").toRgbString()}
47
- `,boxShadowDrawerRight:`
48
- -6px 0 16px 0 rgba(0, 0, 0, 0.08),
49
- -3px 0 6px -4px rgba(0, 0, 0, 0.12),
50
- -9px 0 28px 8px rgba(0, 0, 0, 0.05)
51
- `,boxShadowDrawerLeft:`
52
- 6px 0 16px 0 rgba(0, 0, 0, 0.08),
53
- 3px 0 6px -4px rgba(0, 0, 0, 0.12),
54
- 9px 0 28px 8px rgba(0, 0, 0, 0.05)
55
- `,boxShadowDrawerUp:`
56
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
57
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
58
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
59
- `,boxShadowDrawerDown:`
60
- 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
61
- 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
62
- 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
63
- `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),n)}var oa=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const Hs=(e,t,r)=>{const n=r.getDerivativeToken(e),{override:o}=t,i=oa(t,["override"]);let a=Object.assign(Object.assign({},n),{override:o});return a=zs(a),i&&Object.entries(i).forEach(s=>{let[c,l]=s;const{theme:d}=l,f=oa(l,["theme"]);let m=f;d&&(m=Hs(Object.assign(Object.assign({},a),f),{override:f},d)),a[c]=m}),a};function yr(){const{token:e,hashed:t,theme:r,override:n}=F.useContext(Ls),o=`${kf}-${t||""}`,i=r||ks,[a,s]=iu(i,[Lr,e],{salt:o,override:n,getComputedToken:Hs,formatToken:zs});return[i,a,t?s:""]}function gt(e){var t=u.useRef();t.current=e;var r=u.useCallback(function(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(n=t.current)===null||n===void 0?void 0:n.call.apply(n,[t].concat(i))},[]);return r}function dr(e){var t=u.useRef(!1),r=u.useState(e),n=z(r,2),o=n[0],i=n[1];u.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function a(s,c){c&&t.current||i(s)}return[o,a]}function bo(e){return e!==void 0}function Lf(e,t){var r=t||{},n=r.defaultValue,o=r.value,i=r.onChange,a=r.postState,s=dr(function(){return bo(o)?o:bo(n)?typeof n=="function"?n():n:typeof e=="function"?e():e}),c=z(s,2),l=c[0],d=c[1],f=o!==void 0?o:l,m=a?a(f):f,g=gt(i),p=dr([f]),h=z(p,2),v=h[0],S=h[1];Bi(function(){var C=v[0];l!==C&&g(l,C)},[v]),Bi(function(){bo(o)||d(o)},[o]);var b=gt(function(C,y){d(C,y),S([f],y)});return[m,b]}const jf=(e,t,r,n,o)=>{const i=e/2,a=0,s=i,c=r*1/Math.sqrt(2),l=i-r*(1-1/Math.sqrt(2)),d=i-t*(1/Math.sqrt(2)),f=r*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),m=2*i-d,g=f,p=2*i-c,h=l,v=2*i-a,S=s,b=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),C=r*(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:n,clipPath:{_multi_value_:!0,value:[`polygon(${C}px 100%, 50% ${C}px, ${2*i-C}px 100%, ${C}px 100%)`,`path('M ${a} ${s} A ${r} ${r} 0 0 0 ${c} ${l} L ${d} ${f} A ${t} ${t} 0 0 1 ${m} ${g} L ${p} ${h} A ${r} ${r} 0 0 0 ${v} ${S} 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"}}},zf={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},hi=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},Hf=()=>({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"}}),Bf=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"}}}),Wf=(e,t)=>{const{fontFamily:r,fontSize:n}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:r,fontSize:n,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Ff=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Bs=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u";let Fo=!0;function hr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!Bs)return Object.assign.apply(Object,[{}].concat(t));Fo=!1;const n={};return t.forEach(o=>{Object.keys(o).forEach(a=>{Object.defineProperty(n,a,{configurable:!0,enumerable:!0,get:()=>o[a]})})}),Fo=!0,n}const ia={};function Vf(){}function Uf(e){let t,r=e,n=Vf;return Bs&&typeof Proxy<"u"&&(t=new Set,r=new Proxy(e,{get(o,i){return Fo&&t.add(i),o[i]}}),n=(o,i)=>{var a;ia[o]={global:Array.from(t),component:Object.assign(Object.assign({},(a=ia[o])===null||a===void 0?void 0:a.component),i)}}),{token:r,keys:t,flush:n}}const Xf=(e,t)=>{const[r,n]=yr();return Do({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Hf()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},Ws=Xf;function pi(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=Array.isArray(e)?e:[e,e],[i]=o,a=o.join("-");return s=>{const[c,l,d]=yr(),{getPrefixCls:f,iconPrefixCls:m,csp:g}=F.useContext(Ot),p=f(),h={theme:c,token:l,hashId:d,nonce:()=>g==null?void 0:g.nonce,clientOnly:n.clientOnly,order:n.order||-999};return Do(Object.assign(Object.assign({},h),{clientOnly:!1,path:["Shared",p]}),()=>[{"&":Bf(l)}]),Ws(m,g),[Do(Object.assign(Object.assign({},h),{path:[a,s,m]}),()=>{const{token:v,flush:S}=Uf(l),b=Object.assign({},l[i]);if(n.deprecatedTokens){const{deprecatedTokens:P}=n;P.forEach(D=>{let[$,I]=D;var M;process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&$t(!(b!=null&&b[$]),`The token '${String($)}' of ${i} had deprecated, use '${String(I)}' instead.`),(b!=null&&b[$]||b!=null&&b[I])&&((M=b[I])!==null&&M!==void 0||(b[I]=b==null?void 0:b[$]))})}const C=typeof r=="function"?r(hr(v,b??{})):r,y=Object.assign(Object.assign({},C),b),E=`.${s}`,x=hr(v,{componentCls:E,prefixCls:s,iconCls:`.${m}`,antCls:`.${p}`},y),w=t(x,{hashId:d,prefixCls:s,rootPrefixCls:p,iconPrefixCls:m,overrideComponentToken:b});return S(i,y),[n.resetStyle===!1?null:Wf(l,s),w]}),d]}}function Kf(e,t){return Mn.reduce((r,n)=>{const o=e[`${n}1`],i=e[`${n}3`],a=e[`${n}6`],s=e[`${n}7`];return Object.assign(Object.assign({},r),t(n,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))},{})}function Gf(e,t){const r=e||{},n=r.inherit===!1||!t?Ds:t;return ri(()=>{if(!e)return t;const o=Object.assign({},n.components);return Object.keys(e.components||{}).forEach(i=>{o[i]=Object.assign(Object.assign({},o[i]),e.components[i])}),Object.assign(Object.assign(Object.assign({},n),r),{token:Object.assign(Object.assign({},n.token),r.token),components:o})},[r,n],(o,i)=>o.some((a,s)=>{const c=i[s];return!wl(a,c,!0)}))}var qf=["children"],Fs=u.createContext({});function Yf(e){var t=e.children,r=xt(e,qf);return u.createElement(Fs.Provider,{value:r},t)}var Qf=function(e){ii(r,e);var t=ai(r);function r(){return Ut(this,r),t.apply(this,arguments)}return Xt(r,[{key:"render",value:function(){return this.props.children}}]),r}(u.Component),kt="none",un="appear",fn="enter",dn="leave",aa="none",ot="prepare",cr="start",lr="active",bi="end",Vs="prepared";function sa(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit".concat(e)]="webkit".concat(t),r["Moz".concat(e)]="moz".concat(t),r["ms".concat(e)]="MS".concat(t),r["O".concat(e)]="o".concat(t.toLowerCase()),r}function Zf(e,t){var r={animationend:sa("Animation","AnimationEnd"),transitionend:sa("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete r.animationend.animation,"TransitionEvent"in t||delete r.transitionend.transition),r}var Jf=Zf(Ne(),typeof window<"u"?window:{}),Us={};if(Ne()){var ed=document.createElement("div");Us=ed.style}var vn={};function Xs(e){if(vn[e])return vn[e];var t=Jf[e];if(t)for(var r=Object.keys(t),n=r.length,o=0;o<n;o+=1){var i=r[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in Us)return vn[e]=t[i],vn[e]}return""}var Ks=Xs("animationend"),Gs=Xs("transitionend"),qs=!!(Ks&&Gs),ca=Ks||"animationend",la=Gs||"transitionend";function ua(e,t){if(!e)return null;if(fe(e)==="object"){var r=t.replace(/-\w/g,function(n){return n[1].toUpperCase()});return e[r]}return"".concat(e,"-").concat(t)}const td=function(e){var t=F.useRef(),r=F.useRef(e);r.current=e;var n=u.useCallback(function(a){r.current(a)},[]);function o(a){a&&(a.removeEventListener(la,n),a.removeEventListener(ca,n))}function i(a){t.current&&t.current!==a&&o(t.current),a&&a!==t.current&&(a.addEventListener(la,n),a.addEventListener(ca,n),t.current=a)}return u.useEffect(function(){return function(){o(t.current)}},[]),[i,o]};var Ys=Ne()?F.useLayoutEffect:F.useEffect;const rd=function(){var e=u.useRef(null);function t(){Ar.cancel(e.current)}function r(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var i=Ar(function(){o<=1?n({isCanceled:function(){return i!==e.current}}):r(n,o-1)});e.current=i}return u.useEffect(function(){return function(){t()}},[]),[r,t]};var nd=[ot,cr,lr,bi],od=[ot,Vs],Qs=!1,id=!0;function Zs(e){return e===lr||e===bi}const ad=function(e,t,r){var n=dr(aa),o=z(n,2),i=o[0],a=o[1],s=rd(),c=z(s,2),l=c[0],d=c[1];function f(){a(ot,!0)}var m=t?od:nd;return Ys(function(){if(i!==aa&&i!==bi){var g=m.indexOf(i),p=m[g+1],h=r(i);h===Qs?a(p,!0):p&&l(function(v){function S(){v.isCanceled()||a(p,!0)}h===!0?S():Promise.resolve(h).then(S)})}},[e,i]),u.useEffect(function(){return function(){d()}},[]),[f,i]};function sd(e,t,r,n){var o=n.motionEnter,i=o===void 0?!0:o,a=n.motionAppear,s=a===void 0?!0:a,c=n.motionLeave,l=c===void 0?!0:c,d=n.motionDeadline,f=n.motionLeaveImmediately,m=n.onAppearPrepare,g=n.onEnterPrepare,p=n.onLeavePrepare,h=n.onAppearStart,v=n.onEnterStart,S=n.onLeaveStart,b=n.onAppearActive,C=n.onEnterActive,y=n.onLeaveActive,E=n.onAppearEnd,x=n.onEnterEnd,w=n.onLeaveEnd,P=n.onVisibleChanged,D=dr(),$=z(D,2),I=$[0],M=$[1],O=dr(kt),_=z(O,2),T=_[0],R=_[1],A=dr(null),B=z(A,2),j=B[0],K=B[1],ee=F.useRef(!1),G=F.useRef(null);function ae(){return r()}var J=F.useRef(!1);function Q(){R(kt,!0),K(null,!0)}function ie(ue){var re=ae();if(!(ue&&!ue.deadline&&ue.target!==re)){var te=J.current,Z;T===un&&te?Z=E==null?void 0:E(re,ue):T===fn&&te?Z=x==null?void 0:x(re,ue):T===dn&&te&&(Z=w==null?void 0:w(re,ue)),T!==kt&&te&&Z!==!1&&Q()}}var U=td(ie),Y=z(U,1),ce=Y[0],pe=function(re){var te,Z,le;switch(re){case un:return te={},X(te,ot,m),X(te,cr,h),X(te,lr,b),te;case fn:return Z={},X(Z,ot,g),X(Z,cr,v),X(Z,lr,C),Z;case dn:return le={},X(le,ot,p),X(le,cr,S),X(le,lr,y),le;default:return{}}},me=u.useMemo(function(){return pe(T)},[T]),Ie=ad(T,!e,function(ue){if(ue===ot){var re=me[ot];return re?re(ae()):Qs}if(de in me){var te;K(((te=me[de])===null||te===void 0?void 0:te.call(me,ae(),null))||null)}return de===lr&&(ce(ae()),d>0&&(clearTimeout(G.current),G.current=setTimeout(function(){ie({deadline:!0})},d))),de===Vs&&Q(),id}),Oe=z(Ie,2),N=Oe[0],de=Oe[1],be=Zs(de);J.current=be,Ys(function(){M(t);var ue=ee.current;ee.current=!0;var re;!ue&&t&&s&&(re=un),ue&&t&&i&&(re=fn),(ue&&!t&&l||!ue&&f&&!t&&l)&&(re=dn);var te=pe(re);re&&(e||te[ot])?(R(re),N()):R(kt)},[t]),F.useEffect(function(){(T===un&&!s||T===fn&&!i||T===dn&&!l)&&R(kt)},[s,i,l]),F.useEffect(function(){return function(){ee.current=!1,clearTimeout(G.current)}},[]);var we=u.useRef(!1);F.useEffect(function(){I&&(we.current=!0),I!==void 0&&T===kt&&((we.current||I)&&(P==null||P(I)),we.current=!0)},[I,T]);var q=j;return me[ot]&&de===cr&&(q=L({transition:"none"},q)),[T,de,q,I??t]}function cd(e){var t=e;fe(e)==="object"&&(t=e.transitionSupport);function r(o,i){return!!(o.motionName&&t&&i!==!1)}var n=u.forwardRef(function(o,i){var a=o.visible,s=a===void 0?!0:a,c=o.removeOnLeave,l=c===void 0?!0:c,d=o.forceRender,f=o.children,m=o.motionName,g=o.leavedClassName,p=o.eventProps,h=u.useContext(Fs),v=h.motion,S=r(o,v),b=F.useRef(),C=F.useRef();function y(){try{return b.current instanceof HTMLElement?b.current:hn(C.current)}catch{return null}}var E=sd(S,s,y,o),x=z(E,4),w=x[0],P=x[1],D=x[2],$=x[3],I=u.useRef($);$&&(I.current=!0);var M=u.useCallback(function(K){b.current=K,ni(i,K)},[i]),O,_=L(L({},p),{},{visible:s});if(!f)O=null;else if(w===kt)$?O=f(L({},_),M):!l&&I.current&&g?O=f(L(L({},_),{},{className:g}),M):d||!l&&!g?O=f(L(L({},_),{},{style:{display:"none"}}),M):O=null;else{var T,R;P===ot?R="prepare":Zs(P)?R="active":P===cr&&(R="start");var A=ua(m,"".concat(w,"-").concat(R));O=f(L(L({},_),{},{className:Ce(ua(m,w),(T={},X(T,A,A&&R),X(T,m,typeof m=="string"),T)),style:D}),M)}if(u.isValidElement(O)&&Rn(O)){var B=O,j=B.ref;j||(O=u.cloneElement(O,{ref:M}))}return u.createElement(Qf,{ref:C},O)});return n.displayName="CSSMotion",n}const yi=cd(qs);var Vo="add",Uo="keep",Xo="remove",yo="removed";function ld(e){var t;return e&&fe(e)==="object"&&"key"in e?t=e:t={key:e},L(L({},t),{},{key:String(t.key)})}function Ko(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(ld)}function ud(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=[],n=0,o=t.length,i=Ko(e),a=Ko(t);i.forEach(function(l){for(var d=!1,f=n;f<o;f+=1){var m=a[f];if(m.key===l.key){n<f&&(r=r.concat(a.slice(n,f).map(function(g){return L(L({},g),{},{status:Vo})})),n=f),r.push(L(L({},m),{},{status:Uo})),n+=1,d=!0;break}}d||r.push(L(L({},l),{},{status:Xo}))}),n<o&&(r=r.concat(a.slice(n).map(function(l){return L(L({},l),{},{status:Vo})})));var s={};r.forEach(function(l){var d=l.key;s[d]=(s[d]||0)+1});var c=Object.keys(s).filter(function(l){return s[l]>1});return c.forEach(function(l){r=r.filter(function(d){var f=d.key,m=d.status;return f!==l||m!==Xo}),r.forEach(function(d){d.key===l&&(d.status=Uo)})}),r}var fd=["component","children","onVisibleChanged","onAllRemoved"],dd=["status"],vd=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function md(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yi,r=function(n){ii(i,n);var o=ai(i);function i(){var a;Ut(this,i);for(var s=arguments.length,c=new Array(s),l=0;l<s;l++)c[l]=arguments[l];return a=o.call.apply(o,[this].concat(c)),X(To(a),"state",{keyEntities:[]}),X(To(a),"removeKey",function(d){var f=a.state.keyEntities,m=f.map(function(g){return g.key!==d?g:L(L({},g),{},{status:yo})});return a.setState({keyEntities:m}),m.filter(function(g){var p=g.status;return p!==yo}).length}),a}return Xt(i,[{key:"render",value:function(){var s=this,c=this.state.keyEntities,l=this.props,d=l.component,f=l.children,m=l.onVisibleChanged,g=l.onAllRemoved,p=xt(l,fd),h=d||u.Fragment,v={};return vd.forEach(function(S){v[S]=p[S],delete p[S]}),delete p.keys,u.createElement(h,p,c.map(function(S,b){var C=S.status,y=xt(S,dd),E=C===Vo||C===Uo;return u.createElement(t,Ge({},v,{key:y.key,visible:E,eventProps:y,onVisibleChanged:function(w){if(m==null||m(w,{key:y.key}),!w){var P=s.removeKey(y.key);P===0&&g&&g()}}}),function(x,w){return f(L(L({},x),{},{index:b}),w)})}))}}],[{key:"getDerivedStateFromProps",value:function(s,c){var l=s.keys,d=c.keyEntities,f=Ko(l),m=ud(d,f);return{keyEntities:m.filter(function(g){var p=d.find(function(h){var v=h.key;return g.key===v});return!(p&&p.status===yo&&g.status===Xo)})}}}]),i}(u.Component);return X(r,"defaultProps",{component:"div"}),r}md(qs);function gd(e){const{children:t}=e,[,r]=yr(),{motion:n}=r,o=u.useRef(!1);return o.current=o.current||n===!1,o.current?u.createElement(Yf,{motion:n},t):t}const Js=u.memo(e=>{let{dropdownMatchSelectWidth:t}=e;return br("ConfigProvider").deprecated(t===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null});process.env.NODE_ENV!=="production"&&(Js.displayName="PropWarning");const hd=process.env.NODE_ENV!=="production"?Js:()=>null;var pd=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let Go=!1;process.env.NODE_ENV;const bd=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],yd="ant";let ec;function Sd(){return ec||yd}function Cd(e){return Object.keys(e).some(t=>t.endsWith("Color"))}const wd=e=>{let{prefixCls:t,iconPrefixCls:r,theme:n}=e;t!==void 0&&(ec=t),n&&Cd(n)&&(process.env.NODE_ENV!=="production"&&Ln(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),_f(Sd(),n))},Ed=e=>{const{children:t,csp:r,autoInsertSpaceInButton:n,alert:o,anchor:i,form:a,locale:s,componentSize:c,direction:l,space:d,virtual:f,dropdownMatchSelectWidth:m,popupMatchSelectWidth:g,popupOverflow:p,legacyLocale:h,parentContext:v,iconPrefixCls:S,theme:b,componentDisabled:C,segmented:y,statistic:E,spin:x,calendar:w,carousel:P,cascader:D,collapse:$,typography:I,checkbox:M,descriptions:O,divider:_,drawer:T,skeleton:R,steps:A,image:B,layout:j,list:K,mentions:ee,modal:G,progress:ae,result:J,slider:Q,breadcrumb:ie,menu:U,pagination:Y,input:ce,empty:pe,badge:me,radio:Ie,rate:Oe,switch:N,transfer:de,avatar:be,message:we,tag:q,table:ue,card:re,tabs:te,timeline:Z,timePicker:le,upload:ke,notification:Kt,tree:je,colorPicker:Gt,datePicker:ze,rangePicker:He,flex:qt,wave:Be,dropdown:Cr,warning:Yt}=e,wr=u.useCallback((V,ve)=>{const{prefixCls:xe}=e;if(ve)return ve;const Me=xe||v.getPrefixCls("");return V?`${Me}-${V}`:Me},[v.getPrefixCls,e.prefixCls]),We=S||v.iconPrefixCls||js,Te=r||v.csp;Ws(We,Te);const Fe=Gf(b,v.theme);process.env.NODE_ENV!=="production"&&(Go=Go||!!Fe);const Ve={csp:Te,autoInsertSpaceInButton:n,alert:o,anchor:i,locale:s||h,direction:l,space:d,virtual:f,popupMatchSelectWidth:g??m,popupOverflow:p,getPrefixCls:wr,iconPrefixCls:We,theme:Fe,segmented:y,statistic:E,spin:x,calendar:w,carousel:P,cascader:D,collapse:$,typography:I,checkbox:M,descriptions:O,divider:_,drawer:T,skeleton:R,steps:A,image:B,input:ce,layout:j,list:K,mentions:ee,modal:G,progress:ae,result:J,slider:Q,breadcrumb:ie,menu:U,pagination:Y,empty:pe,badge:me,radio:Ie,rate:Oe,switch:N,transfer:de,avatar:be,message:we,tag:q,table:ue,card:re,tabs:te,timeline:Z,timePicker:le,upload:ke,notification:Kt,tree:je,colorPicker:Gt,datePicker:ze,rangePicker:He,flex:qt,wave:Be,dropdown:Cr,warning:Yt},Pe=Object.assign({},v);Object.keys(Ve).forEach(V=>{Ve[V]!==void 0&&(Pe[V]=Ve[V])}),bd.forEach(V=>{const ve=e[V];ve&&(Pe[V]=ve)});const tt=ri(()=>Pe,Pe,(V,ve)=>{const xe=Object.keys(V),Me=Object.keys(ve);return xe.length!==Me.length||xe.some(at=>V[at]!==ve[at])}),Qt=u.useMemo(()=>({prefixCls:We,csp:Te}),[We,Te]);let se=u.createElement(u.Fragment,null,u.createElement(hd,{dropdownMatchSelectWidth:m}),t);const ge=u.useMemo(()=>{var V,ve,xe,Me;return ju(((V=jn.Form)===null||V===void 0?void 0:V.defaultValidateMessages)||{},((xe=(ve=tt.locale)===null||ve===void 0?void 0:ve.Form)===null||xe===void 0?void 0:xe.defaultValidateMessages)||{},((Me=tt.form)===null||Me===void 0?void 0:Me.validateMessages)||{},(a==null?void 0:a.validateMessages)||{})},[tt,a==null?void 0:a.validateMessages]);Object.keys(ge).length>0&&(se=u.createElement(Hu.Provider,{value:ge},se)),s&&(se=u.createElement(Gu,{locale:s,_ANT_MARK__:Ms},se)),(We||Te)&&(se=u.createElement(mi.Provider,{value:Qt},se)),c&&(se=u.createElement(Af,{size:c},se)),se=u.createElement(gd,null,se);const he=u.useMemo(()=>{const V=Fe||{},{algorithm:ve,token:xe,components:Me}=V,at=pd(V,["algorithm","token","components"]),pt=ve&&(!Array.isArray(ve)||ve.length>0)?Ro(ve):ks,rt={};Object.entries(Me||{}).forEach(Er=>{let[Tt,bt]=Er;const Ae=Object.assign({},bt);"algorithm"in Ae&&(Ae.algorithm===!0?Ae.theme=pt:(Array.isArray(Ae.algorithm)||typeof Ae.algorithm=="function")&&(Ae.theme=Ro(Ae.algorithm)),delete Ae.algorithm),rt[Tt]=Ae});const De=Object.assign(Object.assign({},Lr),xe);return Object.assign(Object.assign({},at),{theme:pt,token:De,components:rt,override:Object.assign({override:De},rt)})},[Fe]);return b&&(se=u.createElement(Ls.Provider,{value:he},se)),tt.warning&&(se=u.createElement(Os.Provider,{value:tt.warning},se)),C!==void 0&&(se=u.createElement(Rf,{disabled:C},se)),u.createElement(Ot.Provider,{value:tt},se)},Sr=e=>{const t=u.useContext(Ot),r=u.useContext(Ps);return u.createElement(Ed,Object.assign({parentContext:t,legacyLocale:r},e))};Sr.ConfigContext=Ot;Sr.SizeContext=zn;Sr.config=wd;Sr.useConfig=If;Object.defineProperty(Sr,"SizeContext",{get:()=>(process.env.NODE_ENV!=="production"&&Ln(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),zn)});process.env.NODE_ENV!=="production"&&(Sr.displayName="ConfigProvider");function Ft(){return Ft=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ft.apply(this,arguments)}var xd={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"};const $d=xd;function Od(e){if(Array.isArray(e))return e}function Td(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(d){l=!0,o=d}finally{try{if(!c&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}function fa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Pd(e,t){if(e){if(typeof e=="string")return fa(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fa(e,t)}}function Md(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
64
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tc(e,t){return Od(e)||Td(e,t)||Pd(e,t)||Md()}function Vt(e){"@babel/helpers - typeof";return Vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vt(e)}function _d(e,t){if(Vt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Vt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Rd(e){var t=_d(e,"string");return Vt(t)==="symbol"?t:String(t)}function qo(e,t,r){return t=Rd(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nd(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function rc(e,t){if(e==null)return{};var r=Nd(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function da(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Et(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?da(Object(r),!0).forEach(function(n){qo(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):da(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ad(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Id(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var va="data-rc-order",ma="data-rc-priority",kd="rc-util-key",Yo=new Map;function nc(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):kd}function Si(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Dd(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function oc(e){return Array.from((Yo.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function ic(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ad())return null;var r=t.csp,n=t.prepend,o=t.priority,i=o===void 0?0:o,a=Dd(n),s=a==="prependQueue",c=document.createElement("style");c.setAttribute(va,a),s&&i&&c.setAttribute(ma,"".concat(i)),r!=null&&r.nonce&&(c.nonce=r==null?void 0:r.nonce),c.innerHTML=e;var l=Si(t),d=l.firstChild;if(n){if(s){var f=oc(l).filter(function(m){if(!["prepend","prependQueue"].includes(m.getAttribute(va)))return!1;var g=Number(m.getAttribute(ma)||0);return i>=g});if(f.length)return l.insertBefore(c,f[f.length-1].nextSibling),c}l.insertBefore(c,d)}else l.appendChild(c);return c}function Ld(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Si(t);return oc(r).find(function(n){return n.getAttribute(nc(t))===e})}function jd(e,t){var r=Yo.get(e);if(!r||!Id(document,r)){var n=ic("",t),o=n.parentNode;Yo.set(e,o),e.removeChild(n)}}function zd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=Si(r);jd(n,r);var o=Ld(t,r);if(o){var i,a;if((i=r.csp)!==null&&i!==void 0&&i.nonce&&o.nonce!==((a=r.csp)===null||a===void 0?void 0:a.nonce)){var s;o.nonce=(s=r.csp)===null||s===void 0?void 0:s.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var c=ic(e,r);return c.setAttribute(nc(r),t),c}function ac(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Hd(e){return ac(e)instanceof ShadowRoot}function Bd(e){return Hd(e)?ac(e):null}var Qo={},Ci=[],Wd=function(t){Ci.push(t)};function Fd(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=Ci.reduce(function(n,o){return o(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function Vd(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=Ci.reduce(function(n,o){return o(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function Ud(){Qo={}}function sc(e,t,r){!t&&!Qo[r]&&(e(!1,r),Qo[r]=!0)}function Hn(e,t){sc(Fd,e,t)}function Xd(e,t){sc(Vd,e,t)}Hn.preMessage=Wd;Hn.resetWarned=Ud;Hn.noteOnce=Xd;function Kd(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function Gd(e,t){Hn(e,"[@ant-design/icons] ".concat(t))}function ga(e){return Vt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(Vt(e.icon)==="object"||typeof e.icon=="function")}function ha(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];switch(r){case"class":t.className=n,delete t.class;break;default:delete t[r],t[Kd(r)]=n}return t},{})}function Zo(e,t,r){return r?F.createElement(e.tag,Et(Et({key:t},ha(e.attrs)),r),(e.children||[]).map(function(n,o){return Zo(n,"".concat(t,"-").concat(e.tag,"-").concat(o))})):F.createElement(e.tag,Et({key:t},ha(e.attrs)),(e.children||[]).map(function(n,o){return Zo(n,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function cc(e){return Wt(e)[0]}function lc(e){return e?Array.isArray(e)?e:[e]:[]}var qd=`
65
- .anticon {
66
- display: inline-block;
67
- color: inherit;
68
- font-style: normal;
69
- line-height: 0;
70
- text-align: center;
71
- text-transform: none;
72
- vertical-align: -0.125em;
73
- text-rendering: optimizeLegibility;
74
- -webkit-font-smoothing: antialiased;
75
- -moz-osx-font-smoothing: grayscale;
76
- }
77
-
78
- .anticon > * {
79
- line-height: 1;
80
- }
81
-
82
- .anticon svg {
83
- display: inline-block;
84
- }
85
-
86
- .anticon::before {
87
- display: none;
88
- }
89
-
90
- .anticon .anticon-icon {
91
- display: block;
92
- }
93
-
94
- .anticon[tabindex] {
95
- cursor: pointer;
96
- }
97
-
98
- .anticon-spin::before,
99
- .anticon-spin {
100
- display: inline-block;
101
- -webkit-animation: loadingCircle 1s infinite linear;
102
- animation: loadingCircle 1s infinite linear;
103
- }
104
-
105
- @-webkit-keyframes loadingCircle {
106
- 100% {
107
- -webkit-transform: rotate(360deg);
108
- transform: rotate(360deg);
109
- }
110
- }
111
-
112
- @keyframes loadingCircle {
113
- 100% {
114
- -webkit-transform: rotate(360deg);
115
- transform: rotate(360deg);
116
- }
117
- }
118
- `,Yd=function(t){var r=F.useContext(mi),n=r.csp,o=r.prefixCls,i=qd;o&&(i=i.replace(/anticon/g,o)),F.useEffect(function(){var a=t.current,s=Bd(a);zd(i,"@ant-design-icons",{prepend:!0,csp:n,attachTo:s})},[])},Qd=["icon","className","onClick","style","primaryColor","secondaryColor"],Nr={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Zd(e){var t=e.primaryColor,r=e.secondaryColor;Nr.primaryColor=t,Nr.secondaryColor=r||cc(t),Nr.calculated=!!r}function Jd(){return Et({},Nr)}var Bn=function(t){var r=t.icon,n=t.className,o=t.onClick,i=t.style,a=t.primaryColor,s=t.secondaryColor,c=rc(t,Qd),l=u.useRef(),d=Nr;if(a&&(d={primaryColor:a,secondaryColor:s||cc(a)}),Yd(l),Gd(ga(r),"icon should be icon definiton, but got ".concat(r)),!ga(r))return null;var f=r;return f&&typeof f.icon=="function"&&(f=Et(Et({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),Zo(f.icon,"svg-".concat(f.name),Et(Et({className:n,onClick:o,style:i,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:l}))};Bn.displayName="IconReact";Bn.getTwoToneColors=Jd;Bn.setTwoToneColors=Zd;const wi=Bn;function uc(e){var t=lc(e),r=tc(t,2),n=r[0],o=r[1];return wi.setTwoToneColors({primaryColor:n,secondaryColor:o})}function ev(){var e=wi.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var tv=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];uc(df.primary);var Wn=u.forwardRef(function(e,t){var r,n=e.className,o=e.icon,i=e.spin,a=e.rotate,s=e.tabIndex,c=e.onClick,l=e.twoToneColor,d=rc(e,tv),f=u.useContext(mi),m=f.prefixCls,g=m===void 0?"anticon":m,p=f.rootClassName,h=Ce(p,g,(r={},qo(r,"".concat(g,"-").concat(o.name),!!o.name),qo(r,"".concat(g,"-spin"),!!i||o.name==="loading"),r),n),v=s;v===void 0&&c&&(v=-1);var S=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,b=lc(l),C=tc(b,2),y=C[0],E=C[1];return u.createElement("span",Ft({role:"img","aria-label":o.name},d,{ref:t,tabIndex:v,onClick:c,className:h}),u.createElement(wi,{icon:o,primaryColor:y,secondaryColor:E,style:S}))});Wn.displayName="AntdIcon";Wn.getTwoToneColor=ev;Wn.setTwoToneColor=uc;const Fn=Wn;var fc=function(t,r){return u.createElement(Fn,Ft({},t,{ref:r,icon:$d}))};process.env.NODE_ENV!=="production"&&(fc.displayName="CheckCircleFilled");const rv=u.forwardRef(fc);var nv={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const ov=nv;var dc=function(t,r){return u.createElement(Fn,Ft({},t,{ref:r,icon:ov}))};process.env.NODE_ENV!=="production"&&(dc.displayName="CloseCircleFilled");const iv=u.forwardRef(dc);var av={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};const sv=av;var vc=function(t,r){return u.createElement(Fn,Ft({},t,{ref:r,icon:sv}))};process.env.NODE_ENV!=="production"&&(vc.displayName="CloseOutlined");const mc=u.forwardRef(vc),{isValidElement:Ei}=u;function cv(e){return e&&Ei(e)&&e.type===u.Fragment}function lv(e,t,r){return Ei(e)?u.cloneElement(e,typeof r=="function"?r(e.props||{}):r):t}function uv(e,t){return lv(e,e,t)}var H={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var r=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||r>=H.F1&&r<=H.F12)return!1;switch(r){case H.ALT:case H.CAPS_LOCK:case H.CONTEXT_MENU:case H.CTRL:case H.DOWN:case H.END:case H.ESC:case H.HOME:case H.INSERT:case H.LEFT:case H.MAC_FF_META:case H.META:case H.NUMLOCK:case H.NUM_CENTER:case H.PAGE_DOWN:case H.PAGE_UP:case H.PAUSE:case H.PRINT_SCREEN:case H.RIGHT:case H.SHIFT:case H.UP:case H.WIN_KEY:case H.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=H.ZERO&&t<=H.NINE||t>=H.NUM_ZERO&&t<=H.NUM_MULTIPLY||t>=H.A&&t<=H.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case H.SPACE:case H.QUESTION_MARK:case H.NUM_PLUS:case H.NUM_MINUS:case H.NUM_PERIOD:case H.NUM_DIVISION:case H.SEMICOLON:case H.DASH:case H.EQUALS:case H.COMMA:case H.PERIOD:case H.SLASH:case H.APOSTROPHE:case H.SINGLE_QUOTE:case H.OPEN_SQUARE_BRACKET:case H.BACKSLASH:case H.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const fv=(e,t,r)=>r!==void 0?r:`${e}-${t}`,dv=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),r=t.width,n=t.height;if(r||n)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1},vv=e=>{const t=F.useContext(zn);return F.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},mv=vv;globalThis&&globalThis.__rest;const gv=u.createContext(null),hv=e=>{let{children:t}=e;return u.createElement(gv.Provider,{value:null},t)};var gc=u.createContext(null),pa=[];function pv(e,t){var r=u.useState(function(){if(!Ne())return null;var p=document.createElement("div");return process.env.NODE_ENV!=="production"&&t&&p.setAttribute("data-debug",t),p}),n=z(r,1),o=n[0],i=u.useRef(!1),a=u.useContext(gc),s=u.useState(pa),c=z(s,2),l=c[0],d=c[1],f=a||(i.current?void 0:function(p){d(function(h){var v=[p].concat(qe(h));return v})});function m(){o.parentElement||document.body.appendChild(o),i.current=!0}function g(){var p;(p=o.parentElement)===null||p===void 0||p.removeChild(o),i.current=!1}return Re(function(){return e?a?a(m):m():g(),g},[e]),Re(function(){l.length&&(l.forEach(function(p){return p()}),d(pa))},[l]),[o,f]}var So;function bv(e){if(typeof document>"u")return 0;if(e||So===void 0){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var r=document.createElement("div"),n=r.style;n.position="absolute",n.top="0",n.left="0",n.pointerEvents="none",n.visibility="hidden",n.width="200px",n.height="150px",n.overflow="hidden",r.appendChild(t),document.body.appendChild(r);var o=t.offsetWidth;r.style.overflow="scroll";var i=t.offsetWidth;o===i&&(i=r.clientWidth),document.body.removeChild(r),So=o-i}return So}function ba(e){var t=e.match(/^(.*)px$/),r=Number(t==null?void 0:t[1]);return Number.isNaN(r)?bv():r}function yv(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),r=t.width,n=t.height;return{width:ba(r),height:ba(n)}}function Sv(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Cv="rc-util-locker-".concat(Date.now()),ya=0;function wv(e){var t=!!e,r=u.useState(function(){return ya+=1,"".concat(Cv,"_").concat(ya)}),n=z(r,1),o=n[0];Re(function(){if(t){var i=yv(document.body).width,a=Sv();Ir(`
119
- html body {
120
- overflow-y: hidden;
121
- `.concat(a?"width: calc(100% - ".concat(i,"px);"):"",`
122
- }`),o)}else Tn(o);return function(){Tn(o)}},[t,o])}var Sa=!1;function Ev(e){return typeof e=="boolean"&&(Sa=e),Sa}var Ca=function(t){return t===!1?!1:!Ne()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},xi=u.forwardRef(function(e,t){var r=e.open,n=e.autoLock,o=e.getContainer,i=e.debug,a=e.autoDestroy,s=a===void 0?!0:a,c=e.children,l=u.useState(r),d=z(l,2),f=d[0],m=d[1],g=f||r;process.env.NODE_ENV!=="production"&&$t(Ne()||!r,"Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."),u.useEffect(function(){(s||r)&&m(r)},[r,s]);var p=u.useState(function(){return Ca(o)}),h=z(p,2),v=h[0],S=h[1];u.useEffect(function(){var M=Ca(o);S(M??null)});var b=pv(g&&!v,i),C=z(b,2),y=C[0],E=C[1],x=v??y;wv(n&&r&&Ne()&&(x===y||x===document.body));var w=null;if(c&&Rn(c)&&t){var P=c;w=P.ref}var D=oi(w,t);if(!g||!Ne()||v===void 0)return null;var $=x===!1||Ev(),I=c;return t&&(I=u.cloneElement(c,{ref:D})),u.createElement(gc.Provider,{value:E},$?I:Ha.createPortal(I,x))});process.env.NODE_ENV!=="production"&&(xi.displayName="Portal");function xv(){var e=L({},u);return e.useId}var wa=0,Ea=xv();const $v=Ea?function(t){var r=Ea();return t||(process.env.NODE_ENV==="test"?"test-id":r)}:function(t){var r=u.useState("ssr-id"),n=z(r,2),o=n[0],i=n[1];return u.useEffect(function(){var a=wa;wa+=1,i("rc_unique_".concat(a))},[]),t||(process.env.NODE_ENV==="test"?"test-id":o)},Ov=F.createContext(void 0),hc=Ov,Tv=e=>({animationDuration:e,animationFillMode:"both"}),Pv=e=>({animationDuration:e,animationFillMode:"both"}),Mv=function(e,t,r,n){const i=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
123
- ${i}${e}-enter,
124
- ${i}${e}-appear
125
- `]:Object.assign(Object.assign({},Tv(n)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},Pv(n)),{animationPlayState:"paused"}),[`
126
- ${i}${e}-enter${e}-enter-active,
127
- ${i}${e}-appear${e}-appear-active
128
- `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:r,animationPlayState:"running",pointerEvents:"none"}}},_v=new Ye("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Rv=new Ye("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),xa=new Ye("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),$a=new Ye("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Nv=new Ye("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Av=new Ye("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Iv=new Ye("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),kv=new Ye("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),Dv=new Ye("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),Lv=new Ye("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),jv=new Ye("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),zv=new Ye("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Hv={zoom:{inKeyframes:_v,outKeyframes:Rv},"zoom-big":{inKeyframes:xa,outKeyframes:$a},"zoom-big-fast":{inKeyframes:xa,outKeyframes:$a},"zoom-left":{inKeyframes:Iv,outKeyframes:kv},"zoom-right":{inKeyframes:Dv,outKeyframes:Lv},"zoom-up":{inKeyframes:Nv,outKeyframes:Av},"zoom-down":{inKeyframes:jv,outKeyframes:zv}},Bv=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:o,outKeyframes:i}=Hv[t];return[Mv(n,o,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
129
- ${n}-enter,
130
- ${n}-appear
131
- `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},pc={Modal:0,Drawer:0,Popover:70,Popconfirm:70,Tooltip:70,Tour:70},Wv={SelectLike:50,Dropdown:50,ColorPicker:30,DatePicker:50,Menu:50};function Fv(e){return e in pc}function Vv(e,t){const[,r]=yr(),n=F.useContext(hc),o=Fv(e);let i=n??0;return o?i+=r.zIndexPopupBase+pc[e]:i+=Wv[e],[n===void 0?t:i,i]}const Uv=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};function bc(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Xv(e){return bc(e)instanceof ShadowRoot}function Jo(e){return Xv(e)?bc(e):null}function Kv(e){var t=e.prefixCls,r=e.align,n=e.arrow,o=e.arrowPos,i=n||{},a=i.className,s=i.content,c=o.x,l=c===void 0?0:c,d=o.y,f=d===void 0?0:d,m=u.useRef();if(!r||!r.points)return null;var g={position:"absolute"};if(r.autoArrow!==!1){var p=r.points[0],h=r.points[1],v=p[0],S=p[1],b=h[0],C=h[1];v===b||!["t","b"].includes(v)?g.top=f:v==="t"?g.top=0:g.bottom=0,S===C||!["l","r"].includes(S)?g.left=l:S==="l"?g.left=0:g.right=0}return u.createElement("div",{ref:m,className:Ce("".concat(t,"-arrow"),a),style:g},s)}function Gv(e){var t=e.prefixCls,r=e.open,n=e.zIndex,o=e.mask,i=e.motion;return o?u.createElement(yi,Ge({},i,{motionAppear:!0,visible:r,removeOnLeave:!0}),function(a){var s=a.className;return u.createElement("div",{style:{zIndex:n},className:Ce("".concat(t,"-mask"),s)})}):null}var yc=u.memo(function(e){var t=e.children;return t},function(e,t){return t.cache});process.env.NODE_ENV!=="production"&&(yc.displayName="PopupContent");var Sc=u.forwardRef(function(e,t){var r=e.popup,n=e.className,o=e.prefixCls,i=e.style,a=e.target,s=e.onVisibleChanged,c=e.open,l=e.keepDom,d=e.fresh,f=e.onClick,m=e.mask,g=e.arrow,p=e.arrowPos,h=e.align,v=e.motion,S=e.maskMotion,b=e.forceRender,C=e.getPopupContainer,y=e.autoDestroy,E=e.portal,x=e.zIndex,w=e.onMouseEnter,P=e.onMouseLeave,D=e.onPointerEnter,$=e.ready,I=e.offsetX,M=e.offsetY,O=e.offsetR,_=e.offsetB,T=e.onAlign,R=e.onPrepare,A=e.stretch,B=e.targetWidth,j=e.targetHeight,K=typeof r=="function"?r():r,ee=c||l,G=(C==null?void 0:C.length)>0,ae=u.useState(!C||!G),J=z(ae,2),Q=J[0],ie=J[1];if(Re(function(){!Q&&G&&a&&ie(!0)},[Q,G,a]),!Q)return null;var U="auto",Y={left:"-1000vw",top:"-1000vh",right:U,bottom:U};if($||!c){var ce,pe=h.points,me=h.dynamicInset||((ce=h._experimental)===null||ce===void 0?void 0:ce.dynamicInset),Ie=me&&pe[0][1]==="r",Oe=me&&pe[0][0]==="b";Ie?(Y.right=O,Y.left=U):(Y.left=I,Y.right=U),Oe?(Y.bottom=_,Y.top=U):(Y.top=M,Y.bottom=U)}var N={};return A&&(A.includes("height")&&j?N.height=j:A.includes("minHeight")&&j&&(N.minHeight=j),A.includes("width")&&B?N.width=B:A.includes("minWidth")&&B&&(N.minWidth=B)),c||(N.pointerEvents="none"),u.createElement(E,{open:b||ee,getContainer:C&&function(){return C(a)},autoDestroy:y},u.createElement(Gv,{prefixCls:o,open:c,zIndex:x,mask:m,motion:S}),u.createElement(An,{onResize:T,disabled:!c},function(de){return u.createElement(yi,Ge({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:b,leavedClassName:"".concat(o,"-hidden")},v,{onAppearPrepare:R,onEnterPrepare:R,visible:c,onVisibleChanged:function(we){var q;v==null||(q=v.onVisibleChanged)===null||q===void 0||q.call(v,we),s(we)}}),function(be,we){var q=be.className,ue=be.style,re=Ce(o,q,n);return u.createElement("div",{ref:Xa(de,t,we),className:re,style:L(L(L(L({"--arrow-x":"".concat(p.x||0,"px"),"--arrow-y":"".concat(p.y||0,"px")},Y),N),ue),{},{boxSizing:"border-box",zIndex:x},i),onMouseEnter:w,onMouseLeave:P,onPointerEnter:D,onClick:f},g&&u.createElement(Kv,{prefixCls:o,arrow:g,arrowPos:p,align:h}),u.createElement(yc,{cache:!c&&!d},K))})}))});process.env.NODE_ENV!=="production"&&(Sc.displayName="Popup");var Cc=u.forwardRef(function(e,t){var r=e.children,n=e.getTriggerDOMNode,o=Rn(r),i=u.useCallback(function(s){ni(t,n?n(s):s)},[n]),a=oi(i,r.ref);return o?u.cloneElement(r,{ref:a}):r});process.env.NODE_ENV!=="production"&&(Cc.displayName="TriggerWrapper");var Oa=u.createContext(null);function Ta(e){return e?Array.isArray(e)?e:[e]:[]}function qv(e,t,r,n){return u.useMemo(function(){var o=Ta(r??t),i=Ta(n??t),a=new Set(o),s=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]},[e,t,r,n])}function Yv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return r?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function Qv(e,t,r,n){for(var o=r.points,i=Object.keys(e),a=0;a<i.length;a+=1){var s,c=i[a];if(Yv((s=e[c])===null||s===void 0?void 0:s.points,o,n))return"".concat(t,"-placement-").concat(c)}return""}function Pa(e,t,r,n){return t||(r?{motionName:"".concat(e,"-").concat(r)}:n?{motionName:n}:null)}function zr(e){return e.ownerDocument.defaultView}function ei(e){for(var t=[],r=e==null?void 0:e.parentElement,n=["hidden","scroll","clip","auto"];r;){var o=zr(r).getComputedStyle(r),i=o.overflowX,a=o.overflowY,s=o.overflow;[i,a,s].some(function(c){return n.includes(c)})&&t.push(r),r=r.parentElement}return t}function jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Mr(e){return jr(parseFloat(e),0)}function Ma(e,t){var r=L({},e);return(t||[]).forEach(function(n){if(!(n instanceof HTMLBodyElement||n instanceof HTMLHtmlElement)){var o=zr(n).getComputedStyle(n),i=o.overflow,a=o.overflowClipMargin,s=o.borderTopWidth,c=o.borderBottomWidth,l=o.borderLeftWidth,d=o.borderRightWidth,f=n.getBoundingClientRect(),m=n.offsetHeight,g=n.clientHeight,p=n.offsetWidth,h=n.clientWidth,v=Mr(s),S=Mr(c),b=Mr(l),C=Mr(d),y=jr(Math.round(f.width/p*1e3)/1e3),E=jr(Math.round(f.height/m*1e3)/1e3),x=(p-h-b-C)*y,w=(m-g-v-S)*E,P=v*E,D=S*E,$=b*y,I=C*y,M=0,O=0;if(i==="clip"){var _=Mr(a);M=_*y,O=_*E}var T=f.x+$-M,R=f.y+P-O,A=T+f.width+2*M-$-I-x,B=R+f.height+2*O-P-D-w;r.left=Math.max(r.left,T),r.top=Math.max(r.top,R),r.right=Math.min(r.right,A),r.bottom=Math.min(r.bottom,B)}}),r}function _a(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r="".concat(t),n=r.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(r)}function Ra(e,t){var r=t||[],n=z(r,2),o=n[0],i=n[1];return[_a(e.width,o),_a(e.height,i)]}function Na(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function nr(e,t){var r=t[0],n=t[1],o,i;return r==="t"?i=e.y:r==="b"?i=e.y+e.height:i=e.y+e.height/2,n==="l"?o=e.x:n==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:i}}function Ct(e,t){var r={t:"b",b:"t",l:"r",r:"l"};return e.map(function(n,o){return o===t?r[n]||"c":n}).join("")}function Zv(e,t,r,n,o,i,a){var s=u.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[n]||{}}),c=z(s,2),l=c[0],d=c[1],f=u.useRef(0),m=u.useMemo(function(){return t?ei(t):[]},[t]),g=u.useRef({}),p=function(){g.current={}};e||p();var h=gt(function(){if(t&&r&&e){let Qe=function(Qr,Ze){var er=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue,Zr=j.x+Qr,tr=j.y+Ze,Jr=Zr+Y,Tr=tr+U,en=Math.max(Zr,er.left),ro=Math.max(tr,er.top),no=Math.min(Jr,er.right),oo=Math.min(Tr,er.bottom);return Math.max(0,(no-en)*(oo-ro))},Yr=function(){Pt=j.y+he,Mt=Pt+U,ct=j.x+ge,_t=ct+Y};var b,C,y=t,E=y.ownerDocument,x=zr(y),w=x.getComputedStyle(y),P=w.width,D=w.height,$=w.position,I=y.style.left,M=y.style.top,O=y.style.right,_=y.style.bottom,T=L(L({},o[n]),i),R=E.createElement("div");(b=y.parentElement)===null||b===void 0||b.appendChild(R),R.style.left="".concat(y.offsetLeft,"px"),R.style.top="".concat(y.offsetTop,"px"),R.style.position=$,R.style.height="".concat(y.offsetHeight,"px"),R.style.width="".concat(y.offsetWidth,"px"),y.style.left="0",y.style.top="0",y.style.right="auto",y.style.bottom="auto";var A;if(Array.isArray(r))A={x:r[0],y:r[1],width:0,height:0};else{var B=r.getBoundingClientRect();A={x:B.x,y:B.y,width:B.width,height:B.height}}var j=y.getBoundingClientRect(),K=E.documentElement,ee=K.clientWidth,G=K.clientHeight,ae=K.scrollWidth,J=K.scrollHeight,Q=K.scrollTop,ie=K.scrollLeft,U=j.height,Y=j.width,ce=A.height,pe=A.width,me={left:0,top:0,right:ee,bottom:G},Ie={left:-ie,top:-Q,right:ae-ie,bottom:J-Q},Oe=T.htmlRegion,N="visible",de="visibleFirst";Oe!=="scroll"&&Oe!==de&&(Oe=N);var be=Oe===de,we=Ma(Ie,m),q=Ma(me,m),ue=Oe===N?q:we,re=be?q:ue;y.style.left="auto",y.style.top="auto",y.style.right="0",y.style.bottom="0";var te=y.getBoundingClientRect();y.style.left=I,y.style.top=M,y.style.right=O,y.style.bottom=_,(C=y.parentElement)===null||C===void 0||C.removeChild(R);var Z=jr(Math.round(Y/parseFloat(P)*1e3)/1e3),le=jr(Math.round(U/parseFloat(D)*1e3)/1e3);if(Z===0||le===0||En(r)&&!dv(r))return;var ke=T.offset,Kt=T.targetOffset,je=Ra(j,ke),Gt=z(je,2),ze=Gt[0],He=Gt[1],qt=Ra(A,Kt),Be=z(qt,2),Cr=Be[0],Yt=Be[1];A.x-=Cr,A.y-=Yt;var wr=T.points||[],We=z(wr,2),Te=We[0],Fe=We[1],Ve=Na(Fe),Pe=Na(Te),tt=nr(A,Ve),Qt=nr(j,Pe),se=L({},T),ge=tt.x-Qt.x+ze,he=tt.y-Qt.y+He,V=Qe(ge,he),ve=Qe(ge,he,q),xe=nr(A,["t","l"]),Me=nr(j,["t","l"]),at=nr(A,["b","r"]),pt=nr(j,["b","r"]),rt=T.overflow||{},De=rt.adjustX,Er=rt.adjustY,Tt=rt.shiftX,bt=rt.shiftY,Ae=function(Ze){return typeof Ze=="boolean"?Ze:Ze>=0},Pt,Mt,ct,_t;Yr();var Hr=Ae(Er),xr=Pe[0]===Ve[0];if(Hr&&Pe[0]==="t"&&(Mt>re.bottom||g.current.bt)){var yt=he;xr?yt-=U-ce:yt=xe.y-pt.y-He;var Br=Qe(ge,yt),Zt=Qe(ge,yt,q);Br>V||Br===V&&(!be||Zt>=ve)?(g.current.bt=!0,he=yt,He=-He,se.points=[Ct(Pe,0),Ct(Ve,0)]):g.current.bt=!1}if(Hr&&Pe[0]==="b"&&(Pt<re.top||g.current.tb)){var Rt=he;xr?Rt+=U-ce:Rt=at.y-Me.y-He;var Le=Qe(ge,Rt),Un=Qe(ge,Rt,q);Le>V||Le===V&&(!be||Un>=ve)?(g.current.tb=!0,he=Rt,He=-He,se.points=[Ct(Pe,0),Ct(Ve,0)]):g.current.tb=!1}var Wr=Ae(De),Fr=Pe[1]===Ve[1];if(Wr&&Pe[1]==="l"&&(_t>re.right||g.current.rl)){var Nt=ge;Fr?Nt-=Y-pe:Nt=xe.x-pt.x-ze;var Vr=Qe(Nt,he),Xn=Qe(Nt,he,q);Vr>V||Vr===V&&(!be||Xn>=ve)?(g.current.rl=!0,ge=Nt,ze=-ze,se.points=[Ct(Pe,1),Ct(Ve,1)]):g.current.rl=!1}if(Wr&&Pe[1]==="r"&&(ct<re.left||g.current.lr)){var At=ge;Fr?At+=Y-pe:At=at.x-Me.x-ze;var Ur=Qe(At,he),Kn=Qe(At,he,q);Ur>V||Ur===V&&(!be||Kn>=ve)?(g.current.lr=!0,ge=At,ze=-ze,se.points=[Ct(Pe,1),Ct(Ve,1)]):g.current.lr=!1}Yr();var st=Tt===!0?0:Tt;typeof st=="number"&&(ct<q.left&&(ge-=ct-q.left-ze,A.x+pe<q.left+st&&(ge+=A.x-q.left+pe-st)),_t>q.right&&(ge-=_t-q.right-ze,A.x>q.right-st&&(ge+=A.x-q.right+st)));var lt=bt===!0?0:bt;typeof lt=="number"&&(Pt<q.top&&(he-=Pt-q.top-He,A.y+ce<q.top+lt&&(he+=A.y-q.top+ce-lt)),Mt>q.bottom&&(he-=Mt-q.bottom-He,A.y>q.bottom-lt&&(he+=A.y-q.bottom+lt)));var $r=j.x+ge,Xr=$r+Y,St=j.y+he,It=St+U,Or=A.x,Jt=Or+pe,ut=A.y,Gn=ut+ce,qn=Math.max($r,Or),Yn=Math.min(Xr,Jt),Kr=(qn+Yn)/2,Qn=Kr-$r,Zn=Math.max(St,ut),Jn=Math.min(It,Gn),Gr=(Zn+Jn)/2,eo=Gr-St;a==null||a(t,se);var to=te.right-j.x-(ge+j.width),qr=te.bottom-j.y-(he+j.height);d({ready:!0,offsetX:ge/Z,offsetY:he/le,offsetR:to/Z,offsetB:qr/le,arrowX:Qn/Z,arrowY:eo/le,scaleX:Z,scaleY:le,align:se})}}),v=function(){f.current+=1;var C=f.current;Promise.resolve().then(function(){f.current===C&&h()})},S=function(){d(function(C){return L(L({},C),{},{ready:!1})})};return Re(S,[n]),Re(function(){e||S()},[e]),[l.ready,l.offsetX,l.offsetY,l.offsetR,l.offsetB,l.arrowX,l.arrowY,l.scaleX,l.scaleY,l.align,v]}function Jv(e,t,r,n,o){Re(function(){if(e&&t&&r){let f=function(){n(),o()};var i=t,a=r,s=ei(i),c=ei(a),l=zr(a),d=new Set([l].concat(qe(s),qe(c)));return d.forEach(function(m){m.addEventListener("scroll",f,{passive:!0})}),l.addEventListener("resize",f,{passive:!0}),n(),function(){d.forEach(function(m){m.removeEventListener("scroll",f),l.removeEventListener("resize",f)})}}},[e,t,r])}function em(e,t,r,n,o,i,a,s){var c=u.useRef(e),l=u.useRef(!1);c.current!==e&&(l.current=!0,c.current=e),u.useEffect(function(){var d=Ar(function(){l.current=!1});return function(){Ar.cancel(d)}},[e]),u.useEffect(function(){if(t&&n&&(!o||i)){var d=function(){var $=!1,I=function(_){var T=_.target;$=a(T)},M=function(_){var T=_.target;!l.current&&c.current&&!$&&!a(T)&&s(!1)};return[I,M]},f=d(),m=z(f,2),g=m[0],p=m[1],h=d(),v=z(h,2),S=v[0],b=v[1],C=zr(n);C.addEventListener("mousedown",g,!0),C.addEventListener("click",p,!0),C.addEventListener("contextmenu",p,!0);var y=Jo(r);if(y&&(y.addEventListener("mousedown",S,!0),y.addEventListener("click",b,!0),y.addEventListener("contextmenu",b,!0)),process.env.NODE_ENV!=="production"){var E,x,w=r==null||(E=r.getRootNode)===null||E===void 0?void 0:E.call(r),P=(x=n.getRootNode)===null||x===void 0?void 0:x.call(n);vr(w===P,"trigger element and popup element should in same shadow root.")}return function(){C.removeEventListener("mousedown",g,!0),C.removeEventListener("click",p,!0),C.removeEventListener("contextmenu",p,!0),y&&(y.removeEventListener("mousedown",S,!0),y.removeEventListener("click",b,!0),y.removeEventListener("contextmenu",b,!0))}}},[t,r,n,o,i])}var tm=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function rm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:xi,t=u.forwardRef(function(r,n){var o=r.prefixCls,i=o===void 0?"rc-trigger-popup":o,a=r.children,s=r.action,c=s===void 0?"hover":s,l=r.showAction,d=r.hideAction,f=r.popupVisible,m=r.defaultPopupVisible,g=r.onPopupVisibleChange,p=r.afterPopupVisibleChange,h=r.mouseEnterDelay,v=r.mouseLeaveDelay,S=v===void 0?.1:v,b=r.focusDelay,C=r.blurDelay,y=r.mask,E=r.maskClosable,x=E===void 0?!0:E,w=r.getPopupContainer,P=r.forceRender,D=r.autoDestroy,$=r.destroyPopupOnHide,I=r.popup,M=r.popupClassName,O=r.popupStyle,_=r.popupPlacement,T=r.builtinPlacements,R=T===void 0?{}:T,A=r.popupAlign,B=r.zIndex,j=r.stretch,K=r.getPopupClassNameFromAlign,ee=r.fresh,G=r.alignPoint,ae=r.onPopupClick,J=r.onPopupAlign,Q=r.arrow,ie=r.popupMotion,U=r.maskMotion,Y=r.popupTransitionName,ce=r.popupAnimation,pe=r.maskTransitionName,me=r.maskAnimation,Ie=r.className,Oe=r.getTriggerDOMNode,N=xt(r,tm),de=D||$||!1,be=u.useState(!1),we=z(be,2),q=we[0],ue=we[1];Re(function(){ue(Uv())},[]);var re=u.useRef({}),te=u.useContext(Oa),Z=u.useMemo(function(){return{registerSubPopup:function(W,ye){re.current[W]=ye,te==null||te.registerSubPopup(W,ye)}}},[te]),le=$v(),ke=u.useState(null),Kt=z(ke,2),je=Kt[0],Gt=Kt[1],ze=gt(function(k){En(k)&&je!==k&&Gt(k),te==null||te.registerSubPopup(le,k)}),He=u.useState(null),qt=z(He,2),Be=qt[0],Cr=qt[1],Yt=u.useRef(null),wr=gt(function(k){En(k)&&Be!==k&&(Cr(k),Yt.current=k)}),We=u.Children.only(a),Te=(We==null?void 0:We.props)||{},Fe={},Ve=gt(function(k){var W,ye,$e=Be;return($e==null?void 0:$e.contains(k))||((W=Jo($e))===null||W===void 0?void 0:W.host)===k||k===$e||(je==null?void 0:je.contains(k))||((ye=Jo(je))===null||ye===void 0?void 0:ye.host)===k||k===je||Object.values(re.current).some(function(Se){return(Se==null?void 0:Se.contains(k))||k===Se})}),Pe=Pa(i,ie,ce,Y),tt=Pa(i,U,me,pe),Qt=u.useState(m||!1),se=z(Qt,2),ge=se[0],he=se[1],V=f??ge,ve=gt(function(k){f===void 0&&he(k)});Re(function(){he(f||!1)},[f]);var xe=u.useRef(V);xe.current=V;var Me=u.useRef([]);Me.current=[];var at=gt(function(k){var W;ve(k),((W=Me.current[Me.current.length-1])!==null&&W!==void 0?W:V)!==k&&(Me.current.push(k),g==null||g(k))}),pt=u.useRef(),rt=function(){clearTimeout(pt.current)},De=function(W){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;rt(),ye===0?at(W):pt.current=setTimeout(function(){at(W)},ye*1e3)};u.useEffect(function(){return rt},[]);var Er=u.useState(!1),Tt=z(Er,2),bt=Tt[0],Ae=Tt[1];Re(function(k){(!k||V)&&Ae(!0)},[V]);var Pt=u.useState(null),Mt=z(Pt,2),ct=Mt[0],_t=Mt[1],Hr=u.useState([0,0]),xr=z(Hr,2),yt=xr[0],Br=xr[1],Zt=function(W){Br([W.clientX,W.clientY])},Rt=Zv(V,je,G?yt:Be,_,R,A,J),Le=z(Rt,11),Un=Le[0],Wr=Le[1],Fr=Le[2],Nt=Le[3],Vr=Le[4],Xn=Le[5],At=Le[6],Ur=Le[7],Kn=Le[8],st=Le[9],lt=Le[10],$r=qv(q,c,l,d),Xr=z($r,2),St=Xr[0],It=Xr[1],Or=St.has("click"),Jt=It.has("click")||It.has("contextMenu"),ut=gt(function(){bt||lt()}),Gn=function(){xe.current&&G&&Jt&&De(!1)};Jv(V,Be,je,ut,Gn),Re(function(){ut()},[yt,_]),Re(function(){V&&!(R!=null&&R[_])&&ut()},[JSON.stringify(A)]);var qn=u.useMemo(function(){var k=Qv(R,i,st,G);return Ce(k,K==null?void 0:K(st))},[st,K,R,i,G]);u.useImperativeHandle(n,function(){return{nativeElement:Yt.current,forceAlign:ut}});var Yn=u.useState(0),Kr=z(Yn,2),Qn=Kr[0],Zn=Kr[1],Jn=u.useState(0),Gr=z(Jn,2),eo=Gr[0],to=Gr[1],qr=function(){if(j&&Be){var W=Be.getBoundingClientRect();Zn(W.width),to(W.height)}},Qe=function(){qr(),ut()},Yr=function(W){Ae(!1),lt(),p==null||p(W)},Qr=function(){return new Promise(function(W){qr(),_t(function(){return W})})};Re(function(){ct&&(lt(),ct(),_t(null))},[ct]);function Ze(k,W,ye,$e){Fe[k]=function(Se){var tn;$e==null||$e(Se),De(W,ye);for(var io=arguments.length,Pi=new Array(io>1?io-1:0),rn=1;rn<io;rn++)Pi[rn-1]=arguments[rn];(tn=Te[k])===null||tn===void 0||tn.call.apply(tn,[Te,Se].concat(Pi))}}(Or||Jt)&&(Fe.onClick=function(k){var W;xe.current&&Jt?De(!1):!xe.current&&Or&&(Zt(k),De(!0));for(var ye=arguments.length,$e=new Array(ye>1?ye-1:0),Se=1;Se<ye;Se++)$e[Se-1]=arguments[Se];(W=Te.onClick)===null||W===void 0||W.call.apply(W,[Te,k].concat($e))}),em(V,Jt,Be,je,y,x,Ve,De);var er=St.has("hover"),Zr=It.has("hover"),tr,Jr;er&&(Ze("onMouseEnter",!0,h,function(k){Zt(k)}),Ze("onPointerEnter",!0,h,function(k){Zt(k)}),tr=function(){(V||bt)&&De(!0,h)},G&&(Fe.onMouseMove=function(k){var W;(W=Te.onMouseMove)===null||W===void 0||W.call(Te,k)})),Zr&&(Ze("onMouseLeave",!1,S),Ze("onPointerLeave",!1,S),Jr=function(){De(!1,S)}),St.has("focus")&&Ze("onFocus",!0,b),It.has("focus")&&Ze("onBlur",!1,C),St.has("contextMenu")&&(Fe.onContextMenu=function(k){var W;xe.current&&It.has("contextMenu")?De(!1):(Zt(k),De(!0)),k.preventDefault();for(var ye=arguments.length,$e=new Array(ye>1?ye-1:0),Se=1;Se<ye;Se++)$e[Se-1]=arguments[Se];(W=Te.onContextMenu)===null||W===void 0||W.call.apply(W,[Te,k].concat($e))}),Ie&&(Fe.className=Ce(Te.className,Ie));var Tr=L(L({},Te),Fe),en={},ro=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];ro.forEach(function(k){N[k]&&(en[k]=function(){for(var W,ye=arguments.length,$e=new Array(ye),Se=0;Se<ye;Se++)$e[Se]=arguments[Se];(W=Tr[k])===null||W===void 0||W.call.apply(W,[Tr].concat($e)),N[k].apply(N,$e)})});var no=u.cloneElement(We,L(L({},Tr),en)),oo={x:Xn,y:At},Ic=Q?L({},Q!==!0?Q:{}):null;return u.createElement(u.Fragment,null,u.createElement(An,{disabled:!V,ref:wr,onResize:Qe},u.createElement(Cc,{getTriggerDOMNode:Oe},no)),u.createElement(Oa.Provider,{value:Z},u.createElement(Sc,{portal:e,ref:ze,prefixCls:i,popup:I,className:Ce(M,qn),style:O,target:Be,onMouseEnter:tr,onMouseLeave:Jr,onPointerEnter:tr,zIndex:B,open:V,keepDom:bt,fresh:ee,onClick:ae,mask:y,motion:Pe,maskMotion:tt,onVisibleChanged:Yr,onPrepare:Qr,forceRender:P,autoDestroy:de,getPopupContainer:w,align:st,arrow:Ic,arrowPos:oo,ready:Un,offsetX:Wr,offsetY:Fr,offsetR:Nt,offsetB:Vr,onAlign:ut,stretch:j,targetWidth:Qn/Ur,targetHeight:eo/Kn})))});return process.env.NODE_ENV!=="production"&&(t.displayName="Trigger"),t}const nm=rm(xi);var om={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const im=om;var wc=function(t,r){return u.createElement(Fn,Ft({},t,{ref:r,icon:im}))};process.env.NODE_ENV!=="production"&&(wc.displayName="CheckOutlined");const Ec=u.forwardRef(wc),am=["xxl","xl","lg","md","sm","xs"],sm=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)`}),cm=e=>{const t=e,r=[].concat(am).reverse();return r.forEach((n,o)=>{const i=n.toUpperCase(),a=`screen${i}Min`,s=`screen${i}`;if(!(t[a]<=t[s]))throw new Error(`${a}<=${s} fails : !(${t[a]}<=${t[s]})`);if(o<r.length-1){const c=`screen${i}Max`;if(!(t[s]<=t[c]))throw new Error(`${s}<=${c} fails : !(${t[s]}<=${t[c]})`);const d=`screen${r[o+1].toUpperCase()}Min`;if(!(t[c]<=t[d]))throw new Error(`${c}<=${d} fails : !(${t[c]}<=${t[d]})`)}}),e};function lm(){const[,e]=yr(),t=sm(cm(e));return F.useMemo(()=>{const r=new Map;let n=-1,o={};return{matchHandlers:{},dispatch(i){return o=i,r.forEach(a=>a(o)),r.size>=1},subscribe(i){return r.size||this.register(),n+=1,r.set(n,i),i(o),n},unsubscribe(i){r.delete(i),r.size||this.unregister()},unregister(){Object.keys(t).forEach(i=>{const a=t[i],s=this.matchHandlers[a];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),r.clear()},register(){Object.keys(t).forEach(i=>{const a=t[i],s=l=>{let{matches:d}=l;this.dispatch(Object.assign(Object.assign({},o),{[i]:d}))},c=window.matchMedia(a);c.addListener(s),this.matchHandlers[a]={mql:c,listener:s},s(c)})},responsiveMap:t}},[e])}function um(){const[,e]=u.useReducer(t=>t+1,0);return e}function fm(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=F.useRef({}),r=um(),n=lm();return Re(()=>{const o=n.subscribe(i=>{t.current=i,e&&r()});return()=>n.unsubscribe(o)},[]),t.current}function xc(e){var t=e.children,r=e.prefixCls,n=e.id,o=e.overlayInnerStyle,i=e.className,a=e.style;return u.createElement("div",{className:Ce("".concat(r,"-content"),i),style:a},u.createElement("div",{className:"".concat(r,"-inner"),id:n,role:"tooltip",style:o},typeof t=="function"?t():t))}var or={shiftX:64,adjustY:1},ir={adjustX:1,shiftY:!0},Je=[0,0],dm={left:{points:["cr","cl"],overflow:ir,offset:[-4,0],targetOffset:Je},right:{points:["cl","cr"],overflow:ir,offset:[4,0],targetOffset:Je},top:{points:["bc","tc"],overflow:or,offset:[0,-4],targetOffset:Je},bottom:{points:["tc","bc"],overflow:or,offset:[0,4],targetOffset:Je},topLeft:{points:["bl","tl"],overflow:or,offset:[0,-4],targetOffset:Je},leftTop:{points:["tr","tl"],overflow:ir,offset:[-4,0],targetOffset:Je},topRight:{points:["br","tr"],overflow:or,offset:[0,-4],targetOffset:Je},rightTop:{points:["tl","tr"],overflow:ir,offset:[4,0],targetOffset:Je},bottomRight:{points:["tr","br"],overflow:or,offset:[0,4],targetOffset:Je},rightBottom:{points:["bl","br"],overflow:ir,offset:[4,0],targetOffset:Je},bottomLeft:{points:["tl","bl"],overflow:or,offset:[0,4],targetOffset:Je},leftBottom:{points:["br","bl"],overflow:ir,offset:[-4,0],targetOffset:Je}},vm=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],mm=function(t,r){var n=t.overlayClassName,o=t.trigger,i=o===void 0?["hover"]:o,a=t.mouseEnterDelay,s=a===void 0?0:a,c=t.mouseLeaveDelay,l=c===void 0?.1:c,d=t.overlayStyle,f=t.prefixCls,m=f===void 0?"rc-tooltip":f,g=t.children,p=t.onVisibleChange,h=t.afterVisibleChange,v=t.transitionName,S=t.animation,b=t.motion,C=t.placement,y=C===void 0?"right":C,E=t.align,x=E===void 0?{}:E,w=t.destroyTooltipOnHide,P=w===void 0?!1:w,D=t.defaultVisible,$=t.getTooltipContainer,I=t.overlayInnerStyle;t.arrowContent;var M=t.overlay,O=t.id,_=t.showArrow,T=_===void 0?!0:_,R=xt(t,vm),A=F.useRef(null);F.useImperativeHandle(r,function(){return A.current});var B=L({},R);"visible"in t&&(B.popupVisible=t.visible);var j=function(){return u.createElement(xc,{key:"content",prefixCls:m,id:O,overlayInnerStyle:I},M)};return u.createElement(nm,Ge({popupClassName:n,prefixCls:m,popup:j,action:i,builtinPlacements:dm,popupPlacement:y,ref:A,popupAlign:x,getPopupContainer:$,onPopupVisibleChange:p,afterPopupVisibleChange:h,popupTransitionName:v,popupAnimation:S,popupMotion:b,defaultPopupVisible:D,autoDestroy:P,mouseLeaveDelay:l,popupStyle:d,mouseEnterDelay:s,arrow:T},B),g)};const gm=F.forwardRef(mm),$c=8;function Oc(e){const t=$c,{contentRadius:r,limitVerticalRadius:n}=e,o=r>12?r+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:n?t:o}}function mn(e,t){return e?t:{}}function hm(e,t){const{componentCls:r,sizePopupArrow:n,borderRadiusXS:o,borderRadiusOuter:i,boxShadowPopoverArrow:a}=e,{colorBg:s,contentRadius:c=e.borderRadiusLG,limitVerticalRadius:l,arrowDistance:d=0,arrowPlacement:f={left:!0,right:!0,top:!0,bottom:!0}}=t,{dropdownArrowOffsetVertical:m,dropdownArrowOffset:g}=Oc({contentRadius:c,limitVerticalRadius:l});return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},jf(n,o,i,s,a)),{"&:before":{background:s}})]},mn(!!f.top,{[[`&-placement-top ${r}-arrow`,`&-placement-topLeft ${r}-arrow`,`&-placement-topRight ${r}-arrow`].join(",")]:{bottom:d,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${r}-arrow`]:{left:{_skip_check_:!0,value:g}},[`&-placement-topRight ${r}-arrow`]:{right:{_skip_check_:!0,value:g}}})),mn(!!f.bottom,{[[`&-placement-bottom ${r}-arrow`,`&-placement-bottomLeft ${r}-arrow`,`&-placement-bottomRight ${r}-arrow`].join(",")]:{top:d,transform:"translateY(-100%)"},[`&-placement-bottom ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${r}-arrow`]:{left:{_skip_check_:!0,value:g}},[`&-placement-bottomRight ${r}-arrow`]:{right:{_skip_check_:!0,value:g}}})),mn(!!f.left,{[[`&-placement-left ${r}-arrow`,`&-placement-leftTop ${r}-arrow`,`&-placement-leftBottom ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:d},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${r}-arrow`]:{top:m},[`&-placement-leftBottom ${r}-arrow`]:{bottom:m}})),mn(!!f.right,{[[`&-placement-right ${r}-arrow`,`&-placement-rightTop ${r}-arrow`,`&-placement-rightBottom ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:d},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${r}-arrow`]:{top:m},[`&-placement-rightBottom ${r}-arrow`]:{bottom:m}}))}}function pm(e,t,r,n){if(n===!1)return{adjustX:!1,adjustY:!1};const o=n&&typeof n=="object"?n:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.dropdownArrowOffset*2+r,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.dropdownArrowOffsetVertical*2+r,i.shiftX=!0,i.adjustX=!0;break}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}const Aa={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},bm={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},ym=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function Sm(e){const{arrowWidth:t,autoAdjustOverflow:r,arrowPointAtCenter:n,offset:o,borderRadius:i,visibleFirst:a}=e,s=t/2,c={};return Object.keys(Aa).forEach(l=>{const d=n&&bm[l]||Aa[l],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(c[l]=f,ym.has(l)&&(f.autoArrow=!1),l){case"top":case"topLeft":case"topRight":f.offset[1]=-s-o;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=s+o;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-s-o;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=s+o;break}const m=Oc({contentRadius:i,limitVerticalRadius:!0});if(n)switch(l){case"topLeft":case"bottomLeft":f.offset[0]=-m.dropdownArrowOffset-s;break;case"topRight":case"bottomRight":f.offset[0]=m.dropdownArrowOffset+s;break;case"leftTop":case"rightTop":f.offset[1]=-m.dropdownArrowOffset-s;break;case"leftBottom":case"rightBottom":f.offset[1]=m.dropdownArrowOffset+s;break}f.overflow=pm(l,m,t,r),a&&(f.htmlRegion="visibleFirst")}),c}const Cm=e=>{const{componentCls:t,tooltipMaxWidth:r,tooltipColor:n,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:c,paddingSM:l,paddingXS:d,tooltipRadiusOuter:f}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},hi(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:r,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:`${l/2}px ${d}px`,color:n,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(i,$c)}},[`${t}-content`]:{position:"relative"}}),Kf(e,(m,g)=>{let{darkColor:p}=g;return{[`&${t}-${m}`]:{[`${t}-inner`]:{backgroundColor:p},[`${t}-arrow`]:{"--antd-arrow-background-color":p}}}})),{"&-rtl":{direction:"rtl"}})},hm(hr(e,{borderRadiusOuter:f}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Tc=(e,t)=>pi("Tooltip",n=>{if(t===!1)return[];const{borderRadius:o,colorTextLightSolid:i,colorBgDefault:a,borderRadiusOuter:s}=n,c=hr(n,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:o,tooltipBg:a,tooltipRadiusOuter:s>4?4:s});return[Cm(c),Bv(n,"zoom-big-fast")]},n=>{let{zIndexPopupBase:o,colorBgSpotlight:i}=n;return{zIndexPopup:o+70,colorBgDefault:i}},{resetStyle:!1})(e),wm=Mn.map(e=>`${e}-inverse`);function Em(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(qe(wm),qe(Mn)).includes(e):Mn.includes(e)}function Pc(e,t){const r=Em(t),n=Ce({[`${e}-${t}`]:t&&r}),o={},i={};return t&&!r&&(o.background=t,i["--antd-arrow-background-color"]=t),{className:n,overlayStyle:o,arrowStyle:i}}const xm=e=>{const{prefixCls:t,className:r,placement:n="top",title:o,color:i,overlayInnerStyle:a}=e,{getPrefixCls:s}=u.useContext(Ot),c=s("tooltip",t),[l,d]=Tc(c,!0),f=Pc(c,i),m=f.arrowStyle,g=Object.assign(Object.assign({},a),f.overlayStyle),p=Ce(d,c,`${c}-pure`,`${c}-placement-${n}`,r,f.className);return l(u.createElement("div",{className:p,style:m},u.createElement("div",{className:`${c}-arrow`}),u.createElement(xc,Object.assign({},e,{className:d,prefixCls:c,overlayInnerStyle:g}),o)))},$m=xm;var Om=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const $i=u.forwardRef((e,t)=>{var r,n;const{prefixCls:o,openClassName:i,getTooltipContainer:a,overlayClassName:s,color:c,overlayInnerStyle:l,children:d,afterOpenChange:f,afterVisibleChange:m,destroyTooltipOnHide:g,arrow:p=!0,title:h,overlay:v,builtinPlacements:S,arrowPointAtCenter:b=!1,autoAdjustOverflow:C=!0}=e,y=!!p,[,E]=yr(),{getPopupContainer:x,getPrefixCls:w,direction:P}=u.useContext(Ot),D=br("Tooltip"),$=u.useRef(null),I=()=>{var Z;(Z=$.current)===null||Z===void 0||Z.forceAlign()};u.useImperativeHandle(t,()=>({forceAlign:I,forcePopupAlign:()=>{D.deprecated(!1,"forcePopupAlign","forceAlign"),I()}})),process.env.NODE_ENV!=="production"&&([["visible","open"],["defaultVisible","defaultOpen"],["onVisibleChange","onOpenChange"],["afterVisibleChange","afterOpenChange"],["arrowPointAtCenter","arrow={{ pointAtCenter: true }}"]].forEach(Z=>{let[le,ke]=Z;D.deprecated(!(le in e),le,ke)}),process.env.NODE_ENV!=="production"&&D(!g||typeof g=="boolean","usage","`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."),process.env.NODE_ENV!=="production"&&D(!p||typeof p=="boolean"||!("arrowPointAtCenter"in p),"deprecated","`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));const[M,O]=Lf(!1,{value:(r=e.open)!==null&&r!==void 0?r:e.visible,defaultValue:(n=e.defaultOpen)!==null&&n!==void 0?n:e.defaultVisible}),_=!h&&!v&&h!==0,T=Z=>{var le,ke;O(_?!1:Z),_||((le=e.onOpenChange)===null||le===void 0||le.call(e,Z),(ke=e.onVisibleChange)===null||ke===void 0||ke.call(e,Z))},R=u.useMemo(()=>{var Z,le;let ke=b;return typeof p=="object"&&(ke=(le=(Z=p.pointAtCenter)!==null&&Z!==void 0?Z:p.arrowPointAtCenter)!==null&&le!==void 0?le:b),S||Sm({arrowPointAtCenter:ke,autoAdjustOverflow:C,arrowWidth:y?E.sizePopupArrow:0,borderRadius:E.borderRadius,offset:E.marginXXS,visibleFirst:!0})},[b,p,S,E]),A=u.useMemo(()=>h===0?h:v||h||"",[v,h]),B=u.createElement(hv,null,typeof A=="function"?A():A),{getPopupContainer:j,placement:K="top",mouseEnterDelay:ee=.1,mouseLeaveDelay:G=.1,overlayStyle:ae,rootClassName:J}=e,Q=Om(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ie=w("tooltip",o),U=w(),Y=e["data-popover-inject"];let ce=M;!("open"in e)&&!("visible"in e)&&_&&(ce=!1);const pe=Ei(d)&&!cv(d)?d:u.createElement("span",null,d),me=pe.props,Ie=!me.className||typeof me.className=="string"?Ce(me.className,i||`${ie}-open`):me.className,[Oe,N]=Tc(ie,!Y),de=Pc(ie,c),be=de.arrowStyle,we=Object.assign(Object.assign({},l),de.overlayStyle),q=Ce(s,{[`${ie}-rtl`]:P==="rtl"},de.className,J,N),[ue,re]=Vv("Tooltip",Q.zIndex),te=u.createElement(gm,Object.assign({},Q,{zIndex:Y?Q.zIndex:ue,showArrow:y,placement:K,mouseEnterDelay:ee,mouseLeaveDelay:G,prefixCls:ie,overlayClassName:q,overlayStyle:Object.assign(Object.assign({},be),ae),getTooltipContainer:j||a||x,ref:$,builtinPlacements:R,overlay:B,visible:ce,onVisibleChange:T,afterVisibleChange:f??m,overlayInnerStyle:we,arrowContent:u.createElement("span",{className:`${ie}-arrow-content`}),motion:{motionName:fv(U,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!g}),ce?uv(pe,{className:Ie}):pe);return Oe(u.createElement(hc.Provider,{value:re},te))});process.env.NODE_ENV!=="production"&&($i.displayName="Tooltip");$i._InternalPanelDoNotUseOrYouWillBeFired=$m;const Mc=$i;var Tm={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Pm=function(){var t=F.useRef([]),r=F.useRef(null);return F.useEffect(function(){var n=Date.now(),o=!1;t.current.forEach(function(i){if(i){o=!0;var a=i.style;a.transitionDuration=".3s, .3s, .3s, .06s",r.current&&n-r.current<100&&(a.transitionDuration="0s, 0s")}}),o&&(r.current=Date.now())}),t.current};process.env.NODE_ENV;var Ia=0,Mm=process.env.NODE_ENV!=="test"&&Ne();function _m(){var e;return Mm?(e=Ia,Ia+=1):e="TEST_OR_SSR",e}const Rm=function(e){var t=u.useState(),r=z(t,2),n=r[0],o=r[1];return u.useEffect(function(){o("rc_progress_".concat(_m()))},[]),e||n};var ka=function(t){var r=t.bg,n=t.children;return u.createElement("div",{style:{width:"100%",height:"100%",background:r}},n)};function Da(e,t){return Object.keys(e).map(function(r){var n=parseFloat(r),o="".concat(Math.floor(n*t),"%");return"".concat(e[r]," ").concat(o)})}var _c=u.forwardRef(function(e,t){var r=e.prefixCls,n=e.color,o=e.gradientId,i=e.radius,a=e.style,s=e.ptg,c=e.strokeLinecap,l=e.strokeWidth,d=e.size,f=e.gapDegree,m=n&&fe(n)==="object",g=m?"#FFF":void 0,p=d/2,h=u.createElement("circle",{className:"".concat(r,"-circle-path"),r:i,cx:p,cy:p,stroke:g,strokeLinecap:c,strokeWidth:l,opacity:s===0?0:1,style:a,ref:t});if(!m)return h;var v="".concat(o,"-conic"),S=f?"".concat(180+f/2,"deg"):"0deg",b=Da(n,(360-f)/360),C=Da(n,1),y="conic-gradient(from ".concat(S,", ").concat(b.join(", "),")"),E="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(C.join(", "),")");return u.createElement(u.Fragment,null,u.createElement("mask",{id:v},h),u.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(v,")")},u.createElement(ka,{bg:E},u.createElement(ka,{bg:y}))))});process.env.NODE_ENV!=="production"&&(_c.displayName="PtgCircle");var _r=100,Co=function(t,r,n,o,i,a,s,c,l,d){var f=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,m=n/100*360*((360-a)/360),g=a===0?0:{bottom:0,top:180,left:90,right:-90}[s],p=(100-o)/100*r;l==="round"&&o!==100&&(p+=d/2,p>=r&&(p=r-.01));var h=_r/2;return{stroke:typeof c=="string"?c:void 0,strokeDasharray:"".concat(r,"px ").concat(t),strokeDashoffset:p+f,transform:"rotate(".concat(i+m+g,"deg)"),transformOrigin:"".concat(h,"px ").concat(h,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Nm=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function La(e){var t=e??[];return Array.isArray(t)?t:[t]}var Rc=function(t){var r=L(L({},Tm),t),n=r.id,o=r.prefixCls,i=r.steps,a=r.strokeWidth,s=r.trailWidth,c=r.gapDegree,l=c===void 0?0:c,d=r.gapPosition,f=r.trailColor,m=r.strokeLinecap,g=r.style,p=r.className,h=r.strokeColor,v=r.percent,S=xt(r,Nm),b=_r/2,C=Rm(n),y="".concat(C,"-gradient"),E=b-a/2,x=Math.PI*2*E,w=l>0?90+l/2:-90,P=x*((360-l)/360),D=fe(i)==="object"?i:{count:i,space:2},$=D.count,I=D.space,M=La(v),O=La(h),_=O.find(function(ee){return ee&&fe(ee)==="object"}),T=_&&fe(_)==="object",R=T?"butt":m,A=Co(x,P,0,100,w,l,d,f,R,a),B=Pm(),j=function(){var G=0;return M.map(function(ae,J){var Q=O[J]||O[O.length-1],ie=Co(x,P,G,ae,w,l,d,Q,R,a);return G+=ae,u.createElement(_c,{key:J,color:Q,ptg:ae,radius:E,prefixCls:o,gradientId:y,style:ie,strokeLinecap:R,strokeWidth:a,gapDegree:l,ref:function(Y){B[J]=Y},size:_r})}).reverse()},K=function(){var G=Math.round($*(M[0]/100)),ae=100/$,J=0;return new Array($).fill(null).map(function(Q,ie){var U=ie<=G-1?O[0]:f,Y=U&&fe(U)==="object"?"url(#".concat(y,")"):void 0,ce=Co(x,P,J,ae,w,l,d,U,"butt",a,I);return J+=(P-ce.strokeDashoffset+I)*100/P,u.createElement("circle",{key:ie,className:"".concat(o,"-circle-path"),r:E,cx:b,cy:b,stroke:Y,strokeWidth:a,opacity:1,style:ce,ref:function(me){B[ie]=me}})})};return u.createElement("svg",Ge({className:Ce("".concat(o,"-circle"),p),viewBox:"0 0 ".concat(_r," ").concat(_r),style:g,id:n,role:"presentation"},S),!$&&u.createElement("circle",{className:"".concat(o,"-circle-trail"),r:E,cx:b,cy:b,stroke:f,strokeLinecap:R,strokeWidth:s||a,style:A}),$?K():j())};process.env.NODE_ENV!=="production"&&(Rc.displayName="Circle");function Bt(e){return!e||e<0?0:e>100?100:e}function _n(e){let{success:t,successPercent:r}=e,n=r;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}const Am=e=>{let{percent:t,success:r,successPercent:n}=e;const o=Bt(_n({success:r,successPercent:n}));return[o,Bt(Bt(t)-o)]},Im=e=>{let{success:t={},strokeColor:r}=e;const{strokeColor:n}=t;return[n||fr.green,r||null]},Vn=(e,t,r)=>{var n,o,i,a;let s=-1,c=-1;if(t==="step"){const l=r.steps,d=r.strokeWidth;typeof e=="string"||typeof e>"u"?(s=e==="small"?2:14,c=d??8):typeof e=="number"?[s,c]=[e,e]:[s=14,c=8]=e,s*=l}else if(t==="line"){const l=r==null?void 0:r.strokeWidth;typeof e=="string"||typeof e>"u"?c=l||(e==="small"?6:8):typeof e=="number"?[s,c]=[e,e]:[s=-1,c=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[s,c]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,c]=[e,e]:(s=(o=(n=e[0])!==null&&n!==void 0?n:e[1])!==null&&o!==void 0?o:120,c=(a=(i=e[0])!==null&&i!==void 0?i:e[1])!==null&&a!==void 0?a:120));return[s,c]},km=3,Dm=e=>km/e*100,Lm=e=>{const{prefixCls:t,trailColor:r=null,strokeLinecap:n="round",gapPosition:o,gapDegree:i,width:a=120,type:s,children:c,success:l,size:d=a}=e,[f,m]=Vn(d,"circle");let{strokeWidth:g}=e;g===void 0&&(g=Math.max(Dm(f),6));const p={width:f,height:m,fontSize:f*.15+6},h=u.useMemo(()=>{if(i||i===0)return i;if(s==="dashboard")return 75},[i,s]),v=o||s==="dashboard"&&"bottom"||void 0,S=Object.prototype.toString.call(e.strokeColor)==="[object Object]",b=Im({success:l,strokeColor:e.strokeColor}),C=Ce(`${t}-inner`,{[`${t}-circle-gradient`]:S}),y=u.createElement(Rc,{percent:Am(e),strokeWidth:g,trailWidth:g,strokeColor:b,strokeLinecap:n,trailColor:r,prefixCls:t,gapDegree:h,gapPosition:v});return u.createElement("div",{className:C,style:p},f<=20?u.createElement(Mc,{title:c},u.createElement("span",null,y)):u.createElement(u.Fragment,null,y,c))},jm=Lm;var zm=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const Hm=e=>{let t=[];return Object.keys(e).forEach(r=>{const n=parseFloat(r.replace(/%/g,""));isNaN(n)||t.push({key:n,value:e[r]})}),t=t.sort((r,n)=>r.key-n.key),t.map(r=>{let{key:n,value:o}=r;return`${o} ${n}%`}).join(", ")},Bm=(e,t)=>{const{from:r=fr.blue,to:n=fr.blue,direction:o=t==="rtl"?"to left":"to right"}=e,i=zm(e,["from","to","direction"]);if(Object.keys(i).length!==0){const a=Hm(i);return{backgroundImage:`linear-gradient(${o}, ${a})`}}return{backgroundImage:`linear-gradient(${o}, ${r}, ${n})`}},Wm=e=>{const{prefixCls:t,direction:r,percent:n,size:o,strokeWidth:i,strokeColor:a,strokeLinecap:s="round",children:c,trailColor:l=null,success:d}=e,f=a&&typeof a!="string"?Bm(a,r):{backgroundColor:a},m=s==="square"||s==="butt"?0:void 0,g={backgroundColor:l||void 0,borderRadius:m},p=o??[-1,i||(o==="small"?6:8)],[h,v]=Vn(p,"line",{strokeWidth:i});process.env.NODE_ENV!=="production"&&br("Progress").deprecated(!("strokeWidth"in e),"strokeWidth","size");const S=Object.assign({width:`${Bt(n)}%`,height:v,borderRadius:m},f),b=_n(e),C={width:`${Bt(b)}%`,height:v,borderRadius:m,backgroundColor:d==null?void 0:d.strokeColor},y={width:h<0?"100%":h,height:v};return u.createElement(u.Fragment,null,u.createElement("div",{className:`${t}-outer`,style:y},u.createElement("div",{className:`${t}-inner`,style:g},u.createElement("div",{className:`${t}-bg`,style:S}),b!==void 0?u.createElement("div",{className:`${t}-success-bg`,style:C}):null)),c)},Fm=Wm,Vm=e=>{const{size:t,steps:r,percent:n=0,strokeWidth:o=8,strokeColor:i,trailColor:a=null,prefixCls:s,children:c}=e,l=Math.round(r*(n/100)),f=t??[t==="small"?2:14,o],[m,g]=Vn(f,"step",{steps:r,strokeWidth:o}),p=m/r,h=new Array(r);for(let v=0;v<r;v++){const S=Array.isArray(i)?i[v]:i;h[v]=u.createElement("div",{key:v,className:Ce(`${s}-steps-item`,{[`${s}-steps-item-active`]:v<=l-1}),style:{backgroundColor:v<=l-1?S:a,width:p,height:g}})}return u.createElement("div",{className:`${s}-steps-outer`},h,c)},Um=Vm,ja=e=>{const t=e?"100%":"-100%";return new Ye(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Xm=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},hi(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:ja(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:ja(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},Km=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},Gm=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},qm=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}},Ym=pi("Progress",e=>{const t=e.marginXXS/2,r=hr(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[Xm(r),Km(r),Gm(r),qm(r)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"}));var Qm=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const Zm=["normal","exception","active","success"],Nc=u.forwardRef((e,t)=>{const{prefixCls:r,className:n,rootClassName:o,steps:i,strokeColor:a,percent:s=0,size:c="default",showInfo:l=!0,type:d="line",status:f,format:m,style:g}=e,p=Qm(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),h=u.useMemo(()=>{var M,O;const _=_n(e);return parseInt(_!==void 0?(M=_??0)===null||M===void 0?void 0:M.toString():(O=s??0)===null||O===void 0?void 0:O.toString(),10)},[s,e.success,e.successPercent]),v=u.useMemo(()=>!Zm.includes(f)&&h>=100?"success":f||"normal",[f,h]),{getPrefixCls:S,direction:b,progress:C}=u.useContext(Ot),y=S("progress",r),[E,x]=Ym(y),w=u.useMemo(()=>{if(!l)return null;const M=_n(e);let O;const _=m||(R=>`${R}%`),T=d==="line";return m||v!=="exception"&&v!=="success"?O=_(Bt(s),Bt(M)):v==="exception"?O=T?u.createElement(iv,null):u.createElement(mc,null):v==="success"&&(O=T?u.createElement(rv,null):u.createElement(Ec,null)),u.createElement("span",{className:`${y}-text`,title:typeof O=="string"?O:void 0},O)},[l,s,h,v,d,y,m]);if(process.env.NODE_ENV!=="production"){const M=br("Progress");M.deprecated(!("successPercent"in e),"successPercent","success.percent"),M.deprecated(!("width"in e),"width","size"),(d==="circle"||d==="dashboard")&&Array.isArray(c)&&process.env.NODE_ENV!=="production"&&M(!1,"usage",'Type "circle" and "dashboard" do not accept array as `size`, please use number or preset size instead.'),e.success&&"progress"in e.success&&M.deprecated(!1,"success.progress","success.percent")}const P=Array.isArray(a)?a[0]:a,D=typeof a=="string"||Array.isArray(a)?a:void 0;let $;d==="line"?$=i?u.createElement(Um,Object.assign({},e,{strokeColor:D,prefixCls:y,steps:i}),w):u.createElement(Fm,Object.assign({},e,{strokeColor:P,prefixCls:y,direction:b}),w):(d==="circle"||d==="dashboard")&&($=u.createElement(jm,Object.assign({},e,{strokeColor:P,prefixCls:y,progressStatus:v}),w));const I=Ce(y,`${y}-status-${v}`,`${y}-${d==="dashboard"&&"circle"||i&&"steps"||d}`,{[`${y}-inline-circle`]:d==="circle"&&Vn(c,"circle")[0]<=20,[`${y}-show-info`]:l,[`${y}-${c}`]:typeof c=="string",[`${y}-rtl`]:b==="rtl"},C==null?void 0:C.className,n,o,x);return E(u.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},C==null?void 0:C.style),g),className:I,role:"progressbar","aria-valuenow":h},bl(p,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),$))});process.env.NODE_ENV!=="production"&&(Nc.displayName="Progress");const Jm=Nc;var eg=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function za(e){return typeof e=="string"}function Ac(e){var t,r=e.className,n=e.prefixCls,o=e.style,i=e.active,a=e.status,s=e.iconPrefix,c=e.icon;e.wrapperStyle;var l=e.stepNumber,d=e.disabled,f=e.description,m=e.title,g=e.subTitle,p=e.progressDot,h=e.stepIcon,v=e.tailContent,S=e.icons,b=e.stepIndex,C=e.onStepClick,y=e.onClick,E=e.render,x=xt(e,eg),w=!!C&&!d,P={};w&&(P.role="button",P.tabIndex=0,P.onClick=function(_){y==null||y(_),C(b)},P.onKeyDown=function(_){var T=_.which;(T===H.ENTER||T===H.SPACE)&&C(b)});var D=function(){var T,R,A=Ce("".concat(n,"-icon"),"".concat(s,"icon"),(T={},X(T,"".concat(s,"icon-").concat(c),c&&za(c)),X(T,"".concat(s,"icon-check"),!c&&a==="finish"&&(S&&!S.finish||!S)),X(T,"".concat(s,"icon-cross"),!c&&a==="error"&&(S&&!S.error||!S)),T)),B=u.createElement("span",{className:"".concat(n,"-icon-dot")});return p?typeof p=="function"?R=u.createElement("span",{className:"".concat(n,"-icon")},p(B,{index:l-1,status:a,title:m,description:f})):R=u.createElement("span",{className:"".concat(n,"-icon")},B):c&&!za(c)?R=u.createElement("span",{className:"".concat(n,"-icon")},c):S&&S.finish&&a==="finish"?R=u.createElement("span",{className:"".concat(n,"-icon")},S.finish):S&&S.error&&a==="error"?R=u.createElement("span",{className:"".concat(n,"-icon")},S.error):c||a==="finish"||a==="error"?R=u.createElement("span",{className:A}):R=u.createElement("span",{className:"".concat(n,"-icon")},l),h&&(R=h({index:l-1,status:a,title:m,description:f,node:R})),R},$=a||"wait",I=Ce("".concat(n,"-item"),"".concat(n,"-item-").concat($),r,(t={},X(t,"".concat(n,"-item-custom"),c),X(t,"".concat(n,"-item-active"),i),X(t,"".concat(n,"-item-disabled"),d===!0),t)),M=L({},o),O=u.createElement("div",Ge({},x,{className:I,style:M}),u.createElement("div",Ge({onClick:y},P,{className:"".concat(n,"-item-container")}),u.createElement("div",{className:"".concat(n,"-item-tail")},v),u.createElement("div",{className:"".concat(n,"-item-icon")},D()),u.createElement("div",{className:"".concat(n,"-item-content")},u.createElement("div",{className:"".concat(n,"-item-title")},m,g&&u.createElement("div",{title:typeof g=="string"?g:void 0,className:"".concat(n,"-item-subtitle")},g)),f&&u.createElement("div",{className:"".concat(n,"-item-description")},f))));return E&&(O=E(O)||null),O}var tg=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function Oi(e){var t,r=e.prefixCls,n=r===void 0?"rc-steps":r,o=e.style,i=o===void 0?{}:o,a=e.className;e.children;var s=e.direction,c=s===void 0?"horizontal":s,l=e.type,d=l===void 0?"default":l,f=e.labelPlacement,m=f===void 0?"horizontal":f,g=e.iconPrefix,p=g===void 0?"rc":g,h=e.status,v=h===void 0?"process":h,S=e.size,b=e.current,C=b===void 0?0:b,y=e.progressDot,E=y===void 0?!1:y,x=e.stepIcon,w=e.initial,P=w===void 0?0:w,D=e.icons,$=e.onChange,I=e.itemRender,M=e.items,O=M===void 0?[]:M,_=xt(e,tg),T=d==="navigation",R=d==="inline",A=R||E,B=R?"horizontal":c,j=R?void 0:S,K=A?"vertical":m,ee=Ce(n,"".concat(n,"-").concat(B),a,(t={},X(t,"".concat(n,"-").concat(j),j),X(t,"".concat(n,"-label-").concat(K),B==="horizontal"),X(t,"".concat(n,"-dot"),!!A),X(t,"".concat(n,"-navigation"),T),X(t,"".concat(n,"-inline"),R),t)),G=function(Q){$&&C!==Q&&$(Q)},ae=function(Q,ie){var U=L({},Q),Y=P+ie;return v==="error"&&ie===C-1&&(U.className="".concat(n,"-next-error")),U.status||(Y===C?U.status=v:Y<C?U.status="finish":U.status="wait"),R&&(U.icon=void 0,U.subTitle=void 0),!U.render&&I&&(U.render=function(ce){return I(U,ce)}),F.createElement(Ac,Ge({},U,{active:Y===C,stepNumber:Y+1,stepIndex:Y,key:Y,prefixCls:n,iconPrefix:p,wrapperStyle:i,progressDot:A,stepIcon:x,icons:D,onStepClick:$&&G}))};return F.createElement("div",Ge({className:ee,style:i},_),O.filter(function(J){return J}).map(ae))}Oi.Step=Ac;const rg=e=>{const{componentCls:t,customIconTop:r,customIconSize:n,customIconFontSize:o}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:r,width:n,height:n,fontSize:o,lineHeight:`${o}px`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},ng=rg,og=e=>{const{componentCls:t,inlineDotSize:r,inlineTitleColor:n,inlineTailColor:o}=e,i=e.paddingXS+e.lineWidth,a={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:n}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${i}px ${e.paddingXXS}px 0`,margin:`0 ${e.marginXXS/2}px`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:r,height:r,marginInlineStart:`calc(50% - ${r/2}px)`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.fontSizeSM/4}},"&-content":{width:"auto",marginTop:e.marginXS-e.lineWidth},"&-title":{color:n,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.marginXXS/2},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:i+r/2,transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${e.lineWidth}px ${e.lineType} ${o}`}},a),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${e.lineWidth}px ${e.lineType} ${o}`}},a),"&-error":a,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:r,height:r,marginInlineStart:`calc(50% - ${r/2}px)`,top:0}},a),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:n}}}}}},ig=og,ag=e=>{const{componentCls:t,iconSize:r,lineHeight:n,iconSizeSM:o}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:r/2+e.controlHeightLG,padding:`${e.paddingXXS}px ${e.paddingLG}px`},"&-content":{display:"block",width:(r/2+e.controlHeightLG)*2,marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:n}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.controlHeightLG+(r-o)/2}}}}}},sg=ag,cg=e=>{const{componentCls:t,navContentMaxWidth:r,navArrowColor:n,stepsNavActiveColor:o,motionDurationSlow:i}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:-e.marginSM}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:-e.margin,paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${i}`,[`${t}-item-content`]:{maxWidth:r},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},zf),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${e.paddingSM/2}px)`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${e.lineWidth}px ${e.lineType} ${n}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${n}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:o,transition:`width ${i}, inset-inline-start ${i}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.lineWidth*3,height:`calc(100% - ${e.marginLG}px)`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.controlHeight*.25,height:e.controlHeight*.25,marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},lg=cg,ug=e=>{const{antCls:t,componentCls:r}=e;return{[`&${r}-with-progress`]:{[`${r}-item`]:{paddingTop:e.paddingXXS,[`&-process ${r}-item-container ${r}-item-icon ${r}-icon`]:{color:e.processIconColor}},[`&${r}-vertical > ${r}-item `]:{paddingInlineStart:e.paddingXXS,[`> ${r}-item-container > ${r}-item-tail`]:{top:e.marginXXS,insetInlineStart:e.iconSize/2-e.lineWidth+e.paddingXXS}},[`&, &${r}-small`]:{[`&${r}-horizontal ${r}-item:first-child`]:{paddingBottom:e.paddingXXS,paddingInlineStart:e.paddingXXS}},[`&${r}-small${r}-vertical > ${r}-item > ${r}-item-container > ${r}-item-tail`]:{insetInlineStart:e.iconSizeSM/2-e.lineWidth+e.paddingXXS},[`&${r}-label-vertical`]:{[`${r}-item ${r}-item-tail`]:{top:e.margin-2*e.lineWidth}},[`${r}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetBlockStart:(e.iconSize-e.stepsProgressSize-e.lineWidth*2)/2,insetInlineStart:(e.iconSize-e.stepsProgressSize-e.lineWidth*2)/2}}}}},fg=ug,dg=e=>{const{componentCls:t,descriptionMaxWidth:r,lineHeight:n,dotCurrentSize:o,dotSize:i,motionDurationSlow:a}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:n},"&-tail":{top:Math.floor((e.dotSize-e.lineWidth*3)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${r/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${e.marginSM*2}px)`,height:e.lineWidth*3,marginInlineStart:e.marginSM}},"&-icon":{width:i,height:i,marginInlineStart:(e.descriptionMaxWidth-i)/2,paddingInlineEnd:0,lineHeight:`${i}px`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${a}`,"&::after":{position:"absolute",top:-e.marginSM,insetInlineStart:(i-e.controlHeightLG*1.5)/2,width:e.controlHeightLG*1.5,height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:r},[`&-process ${t}-item-icon`]:{position:"relative",top:(i-o)/2,width:o,height:o,lineHeight:`${o}px`,background:"none",marginInlineStart:(e.descriptionMaxWidth-o)/2},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeight-i)/2,marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeight-o)/2,top:0,insetInlineStart:(i-o)/2,marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeight-i)/2,insetInlineStart:0,margin:0,padding:`${i+e.paddingXS}px 0 ${e.paddingXS}px`,"&::after":{marginInlineStart:(i-e.lineWidth)/2}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeightSM-i)/2},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeightSM-o)/2},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeightSM-i)/2}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},vg=dg,mg=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},gg=mg,hg=e=>{const{componentCls:t,iconSizeSM:r,fontSizeSM:n,fontSize:o,colorTextDescription:i}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:r,height:r,marginTop:0,marginBottom:0,marginInline:`0 ${e.marginXS}px`,fontSize:n,lineHeight:`${r}px`,textAlign:"center",borderRadius:r},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:o,lineHeight:`${r}px`,"&::after":{top:r/2}},[`${t}-item-description`]:{color:i,fontSize:o},[`${t}-item-tail`]:{top:r/2-e.paddingXXS},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:r,lineHeight:`${r}px`,transform:"none"}}}}},pg=hg,bg=e=>{const{componentCls:t,iconSizeSM:r,iconSize:n}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.controlHeight*1.5,overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${n}px`},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:n/2-e.lineWidth,width:e.lineWidth,height:"100%",padding:`${n+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:r/2-e.lineWidth,padding:`${r+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`},[`${t}-item-title`]:{lineHeight:`${r}px`}}}}},yg=bg;var ur;(function(e){e.wait="wait",e.process="process",e.finish="finish",e.error="error"})(ur||(ur={}));const gn=(e,t)=>{const r=`${t.componentCls}-item`,n=`${e}IconColor`,o=`${e}TitleColor`,i=`${e}DescriptionColor`,a=`${e}TailColor`,s=`${e}IconBgColor`,c=`${e}IconBorderColor`,l=`${e}DotColor`;return{[`${r}-${e} ${r}-icon`]:{backgroundColor:t[s],borderColor:t[c],[`> ${t.componentCls}-icon`]:{color:t[n],[`${t.componentCls}-icon-dot`]:{background:t[l]}}},[`${r}-${e}${r}-custom ${r}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[l]}},[`${r}-${e} > ${r}-container > ${r}-content > ${r}-title`]:{color:t[o],"&::after":{backgroundColor:t[a]}},[`${r}-${e} > ${r}-container > ${r}-content > ${r}-description`]:{color:t[i]},[`${r}-${e} > ${r}-container > ${r}-tail::after`]:{backgroundColor:t[a]}}},Sg=e=>{const{componentCls:t,motionDurationSlow:r}=e,n=`${t}-item`,o=`${n}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${n}-container > ${n}-tail, > ${n}-container > ${n}-content > ${n}-title::after`]:{display:"none"}}},[`${n}-container`]:{outline:"none","&:focus-visible":{[o]:Object.assign({},Ff(e))}},[`${o}, ${n}-content`]:{display:"inline-block",verticalAlign:"top"},[o]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:`${e.iconSize}px`,textAlign:"center",borderRadius:e.iconSize,border:`${e.lineWidth}px ${e.lineType} transparent`,transition:`background-color ${r}, border-color ${r}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${n}-tail`]:{position:"absolute",top:e.iconSize/2-e.paddingXXS,insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${r}`,content:'""'}},[`${n}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:`${e.titleLineHeight}px`,"&::after":{position:"absolute",top:e.titleLineHeight/2,insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${n}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${n}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},gn(ur.wait,e)),gn(ur.process,e)),{[`${n}-process > ${n}-container > ${n}-title`]:{fontWeight:e.fontWeightStrong}}),gn(ur.finish,e)),gn(ur.error,e)),{[`${n}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${n}-disabled`]:{cursor:"not-allowed"}})},Cg=e=>{const{componentCls:t,motionDurationSlow:r}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${r}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},wg=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},hi(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),Sg(e)),Cg(e)),ng(e)),pg(e)),yg(e)),sg(e)),vg(e)),lg(e)),gg(e)),fg(e)),ig(e))}},Eg=pi("Steps",e=>{const{wireframe:t,colorTextDisabled:r,controlHeightLG:n,colorTextLightSolid:o,colorText:i,colorPrimary:a,colorTextLabel:s,colorTextDescription:c,colorTextQuaternary:l,colorFillContent:d,controlItemBgActive:f,colorError:m,colorBgContainer:g,colorBorderSecondary:p,colorSplit:h}=e,v=hr(e,{processIconColor:o,processTitleColor:i,processDescriptionColor:i,processIconBgColor:a,processIconBorderColor:a,processDotColor:a,processTailColor:h,waitIconColor:t?r:s,waitTitleColor:c,waitDescriptionColor:c,waitTailColor:h,waitIconBgColor:t?g:d,waitIconBorderColor:t?r:"transparent",waitDotColor:r,finishIconColor:a,finishTitleColor:i,finishDescriptionColor:c,finishTailColor:a,finishIconBgColor:t?g:f,finishIconBorderColor:t?a:f,finishDotColor:a,errorIconColor:o,errorTitleColor:m,errorDescriptionColor:m,errorTailColor:h,errorIconBgColor:m,errorIconBorderColor:m,errorDotColor:m,stepsNavActiveColor:a,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:l,inlineTailColor:p});return[wg(v)]},e=>{const{colorTextDisabled:t,fontSize:r,controlHeightSM:n,controlHeight:o,controlHeightLG:i,fontSizeHeading3:a}=e;return{titleLineHeight:o,customIconSize:o,customIconTop:0,customIconFontSize:n,iconSize:o,iconTop:-.5,iconFontSize:r,iconSizeSM:a,dotSize:o/4,dotCurrentSize:i/4,navArrowColor:t,navContentMaxWidth:"auto",descriptionMaxWidth:140}});function xg(e){return e.filter(t=>t)}function $g(e,t){if(process.env.NODE_ENV==="test"&&br("Menu").deprecated(!t,"Step","items"),e)return e;const r=wn(t).map(n=>{if(u.isValidElement(n)){const{props:o}=n;return Object.assign({},o)}return null});return xg(r)}var Og=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const Ti=e=>{const{percent:t,size:r,className:n,rootClassName:o,direction:i,items:a,responsive:s=!0,current:c=0,children:l,style:d}=e,f=Og(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:m}=fm(s),{getPrefixCls:g,direction:p,steps:h}=u.useContext(Ot),v=u.useMemo(()=>s&&m?"vertical":i,[m,i]),S=mv(r),b=g("steps",e.prefixCls),[C,y]=Eg(b),E=e.type==="inline",x=g("",e.iconPrefix),w=$g(a,l),P=E?void 0:t,D=Object.assign(Object.assign({},h==null?void 0:h.style),d),$=Ce(h==null?void 0:h.className,{[`${b}-rtl`]:p==="rtl",[`${b}-with-progress`]:P!==void 0},n,o,y),I={finish:u.createElement(Ec,{className:`${b}-finish-icon`}),error:u.createElement(mc,{className:`${b}-error-icon`})},M=_=>{let{node:T,status:R}=_;if(R==="process"&&P!==void 0){const A=S==="small"?32:40;return u.createElement("div",{className:`${b}-progress-icon`},u.createElement(Jm,{type:"circle",percent:P,size:A,strokeWidth:4,format:()=>null}),T)}return T},O=(_,T)=>_.description?u.createElement(Mc,{title:_.description},T):T;return C(u.createElement(Oi,Object.assign({icons:I},f,{style:D,current:c,size:S,items:w,itemRender:E?O:void 0,stepIcon:M,direction:v,prefixCls:b,iconPrefix:x,className:$})))};Ti.Step=Oi.Step;process.env.NODE_ENV!=="production"&&(Ti.displayName="Steps");const Tg=Ti,Pg=({size:e="default",...t})=>kc.jsx(Tg,{size:e,...t});exports.Steps=Pg;