@akinon/ui-card 0.0.1
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 +150 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10403 -0
- package/package.json +42 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".nav-cards{padding-left:2rem;padding-right:2rem;display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem;grid-template-rows:auto}.nav-card{cursor:pointer;display:flex;border-radius:.5rem;overflow:hidden;height:127px}.nav-card .nav-card__icon{padding:2rem;font-size:2rem;width:80px;display:flex;justify-content:center;align-items:center}.nav-card .nav-card__icon i{font-size:40px}.nav-card .nav-card__content{background-color:var(--color-neutral-100);color:var(--color-neutral-950);padding-left:1rem;display:flex;flex-direction:column;justify-content:center;flex:1 1 auto}.nav-card .nav-card__title{font-size:1.2rem;font-weight:500;margin-bottom:.5rem}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const sn=require("react/jsx-runtime"),T=require("react"),ia=require("react-dom");function Bl(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const s=Bl(T);function Fl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var As={exports:{}};/*!
|
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
|
4
|
+
Licensed under the MIT License (MIT), see
|
|
5
|
+
http://jedwatson.github.io/classnames
|
|
6
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],a=0;a<arguments.length;a++){var o=arguments[a];if(o){var i=typeof o;if(i==="string"||i==="number")r.push(o);else if(Array.isArray(o)){if(o.length){var c=n.apply(null,o);c&&r.push(c)}}else if(i==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){r.push(o.toString());continue}for(var l in o)t.call(o,l)&&o[l]&&r.push(l)}}}return r.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(As);var Wl=As.exports;const ne=Fl(Wl);function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge.apply(this,arguments)}var eo={exports:{}},Ne={};/**
|
|
7
|
+
* @license React
|
|
8
|
+
* react-is.production.min.js
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the MIT license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/var pi;function Kl(){if(pi)return Ne;pi=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),p;p=Symbol.for("react.module.reference");function g(m){if(typeof m=="object"&&m!==null){var C=m.$$typeof;switch(C){case e:switch(m=m.type,m){case n:case a:case r:case u:case f:return m;default:switch(m=m&&m.$$typeof,m){case c:case i:case l:case v:case d:case o:return m;default:return C}}case t:return C}}}return Ne.ContextConsumer=i,Ne.ContextProvider=o,Ne.Element=e,Ne.ForwardRef=l,Ne.Fragment=n,Ne.Lazy=v,Ne.Memo=d,Ne.Portal=t,Ne.Profiler=a,Ne.StrictMode=r,Ne.Suspense=u,Ne.SuspenseList=f,Ne.isAsyncMode=function(){return!1},Ne.isConcurrentMode=function(){return!1},Ne.isContextConsumer=function(m){return g(m)===i},Ne.isContextProvider=function(m){return g(m)===o},Ne.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===e},Ne.isForwardRef=function(m){return g(m)===l},Ne.isFragment=function(m){return g(m)===n},Ne.isLazy=function(m){return g(m)===v},Ne.isMemo=function(m){return g(m)===d},Ne.isPortal=function(m){return g(m)===t},Ne.isProfiler=function(m){return g(m)===a},Ne.isStrictMode=function(m){return g(m)===r},Ne.isSuspense=function(m){return g(m)===u},Ne.isSuspenseList=function(m){return g(m)===f},Ne.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===a||m===r||m===u||m===f||m===h||typeof m=="object"&&m!==null&&(m.$$typeof===v||m.$$typeof===d||m.$$typeof===o||m.$$typeof===i||m.$$typeof===l||m.$$typeof===p||m.getModuleId!==void 0)},Ne.typeOf=g,Ne}var _e={};/**
|
|
15
|
+
* @license React
|
|
16
|
+
* react-is.development.js
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
19
|
+
*
|
|
20
|
+
* This source code is licensed under the MIT license found in the
|
|
21
|
+
* LICENSE file in the root directory of this source tree.
|
|
22
|
+
*/var bi;function Vl(){return bi||(bi=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),p=!1,g=!1,m=!1,C=!1,b=!1,S;S=Symbol.for("react.module.reference");function y(D){return!!(typeof D=="string"||typeof D=="function"||D===n||D===a||b||D===r||D===u||D===f||C||D===h||p||g||m||typeof D=="object"&&D!==null&&(D.$$typeof===v||D.$$typeof===d||D.$$typeof===o||D.$$typeof===i||D.$$typeof===l||D.$$typeof===S||D.getModuleId!==void 0))}function w(D){if(typeof D=="object"&&D!==null){var pe=D.$$typeof;switch(pe){case e:var X=D.type;switch(X){case n:case a:case r:case u:case f:return X;default:var we=X&&X.$$typeof;switch(we){case c:case i:case l:case v:case d:case o:return we;default:return pe}}case t:return pe}}}var E=i,x=o,P=e,_=l,$=n,I=v,M=d,R=t,A=a,O=r,z=u,L=f,V=!1,j=!1;function U(D){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function se(D){return j||(j=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function H(D){return w(D)===i}function Y(D){return w(D)===o}function J(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function re(D){return w(D)===l}function te(D){return w(D)===n}function Q(D){return w(D)===v}function G(D){return w(D)===d}function oe(D){return w(D)===t}function ae(D){return w(D)===a}function ce(D){return w(D)===r}function Me(D){return w(D)===u}function xe(D){return w(D)===f}_e.ContextConsumer=E,_e.ContextProvider=x,_e.Element=P,_e.ForwardRef=_,_e.Fragment=$,_e.Lazy=I,_e.Memo=M,_e.Portal=R,_e.Profiler=A,_e.StrictMode=O,_e.Suspense=z,_e.SuspenseList=L,_e.isAsyncMode=U,_e.isConcurrentMode=se,_e.isContextConsumer=H,_e.isContextProvider=Y,_e.isElement=J,_e.isForwardRef=re,_e.isFragment=te,_e.isLazy=Q,_e.isMemo=G,_e.isPortal=oe,_e.isProfiler=ae,_e.isStrictMode=ce,_e.isSuspense=Me,_e.isSuspenseList=xe,_e.isValidElementType=y,_e.typeOf=w}()),_e}process.env.NODE_ENV==="production"?eo.exports=Kl():eo.exports=Vl();var ks=eo.exports;function dr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return T.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(dr(r)):ks.isFragment(r)&&r.props?n=n.concat(dr(r.props.children,t)):n.push(r))}),n}var to={},Bo=[],Ul=function(t){Bo.push(t)};function Vn(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var n=Bo.reduce(function(r,a){return a(r??"","warning")},t);n&&console.error("Warning: ".concat(n))}}function Gl(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var n=Bo.reduce(function(r,a){return a(r??"","note")},t);n&&console.warn("Note: ".concat(n))}}function Ls(){to={}}function Ds(e,t,n){!t&&!to[n]&&(e(!1,n),to[n]=!0)}function St(e,t){Ds(Vn,e,t)}function ql(e,t){Ds(Gl,e,t)}St.preMessage=Ul;St.resetWarned=Ls;St.noteOnce=ql;function Ge(e){"@babel/helpers - typeof";return Ge=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},Ge(e)}function Xl(e,t){if(Ge(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ge(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function zs(e){var t=Xl(e,"string");return Ge(t)==="symbol"?t:String(t)}function W(e,t,n){return t=zs(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yi(Object(n),!0).forEach(function(r){W(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yi(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Zr(e){return e instanceof HTMLElement||e instanceof SVGElement}function Wr(e){return Zr(e)?e:e instanceof T.Component?ia.findDOMNode(e):null}function sa(e,t,n){var r=s.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}function Fo(e,t){typeof e=="function"?e(t):Ge(e)==="object"&&e&&"current"in e&&(e.current=t)}function ca(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(a){return a});return r.length<=1?r[0]:function(a){t.forEach(function(o){Fo(o,a)})}}function yr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return sa(function(){return ca.apply(void 0,t)},t,function(r,a){return r.length!==a.length||r.every(function(o,i){return o!==a[i]})})}function qn(e){var t,n,r=ks.isMemo(e)?e.type.type:e.type;return!(typeof r=="function"&&!((t=r.prototype)!==null&&t!==void 0&&t.render)||typeof e=="function"&&!((n=e.prototype)!==null&&n!==void 0&&n.render))}var no=s.createContext(null);function Yl(e){var t=e.children,n=e.onBatchResize,r=s.useRef(0),a=s.useRef([]),o=s.useContext(no),i=s.useCallback(function(c,l,u){r.current+=1;var f=r.current;a.current.push({size:c,element:l,data:u}),Promise.resolve().then(function(){f===r.current&&(n==null||n(a.current),a.current=[])}),o==null||o(c,l,u)},[n,o]);return s.createElement(no.Provider,{value:i},t)}var js=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(a,o){return a[0]===n?(r=o,!0):!1}),r}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(n){var r=e(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},t.prototype.set=function(n,r){var a=e(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,a=e(r,n);~a&&r.splice(a,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,o=this.__entries__;a<o.length;a++){var i=o[a];n.call(r,i[1],i[0])}},t}()}(),ro=typeof window<"u"&&typeof document<"u"&&window.document===document,Jr=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")()}(),Ql=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Jr):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),Zl=2;function Jl(e,t){var n=!1,r=!1,a=0;function o(){n&&(n=!1,e()),r&&c()}function i(){Ql(o)}function c(){var l=Date.now();if(n){if(l-a<Zl)return;r=!0}else n=!0,r=!1,setTimeout(i,t);a=l}return c}var eu=20,tu=["top","right","bottom","left","width","height","size","weight"],nu=typeof MutationObserver<"u",ru=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Jl(this.refresh.bind(this),eu)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,r=n.indexOf(t);~r&&n.splice(r,1),!n.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(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!ro||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),nu?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!ro||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,a=tu.some(function(o){return!!~r.indexOf(o)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Hs=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},Un=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||Jr},Bs=la(0,0,0,0);function ea(e){return parseFloat(e)||0}function Si(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(r,a){var o=e["border-"+a+"-width"];return r+ea(o)},0)}function au(e){for(var t=["top","right","bottom","left"],n={},r=0,a=t;r<a.length;r++){var o=a[r],i=e["padding-"+o];n[o]=ea(i)}return n}function ou(e){var t=e.getBBox();return la(0,0,t.width,t.height)}function iu(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Bs;var r=Un(e).getComputedStyle(e),a=au(r),o=a.left+a.right,i=a.top+a.bottom,c=ea(r.width),l=ea(r.height);if(r.boxSizing==="border-box"&&(Math.round(c+o)!==t&&(c-=Si(r,"left","right")+o),Math.round(l+i)!==n&&(l-=Si(r,"top","bottom")+i)),!cu(e)){var u=Math.round(c+o)-t,f=Math.round(l+i)-n;Math.abs(u)!==1&&(c-=u),Math.abs(f)!==1&&(l-=f)}return la(a.left,a.top,c,l)}var su=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof Un(e).SVGGraphicsElement}:function(e){return e instanceof Un(e).SVGElement&&typeof e.getBBox=="function"}}();function cu(e){return e===Un(e).document.documentElement}function lu(e){return ro?su(e)?ou(e):iu(e):Bs}function uu(e){var t=e.x,n=e.y,r=e.width,a=e.height,o=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,i=Object.create(o.prototype);return Hs(i,{x:t,y:n,width:r,height:a,top:n,right:t+r,bottom:a+n,left:t}),i}function la(e,t,n,r){return{x:e,y:t,width:n,height:r}}var du=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=la(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=lu(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}(),fu=function(){function e(t,n){var r=uu(n);Hs(this,{target:t,contentRect:r})}return e}(),vu=function(){function e(t,n,r){if(this.activeObservations_=[],this.observations_=new js,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r}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 Un(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new du(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 Un(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new fu(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Fs=typeof WeakMap<"u"?new WeakMap:new js,Ws=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=ru.getInstance(),r=new vu(t,n,this);Fs.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Ws.prototype[e]=function(){var t;return(t=Fs.get(this))[e].apply(t,arguments)}});var mu=function(){return typeof Jr.ResizeObserver<"u"?Jr.ResizeObserver:Ws}(),en=new Map;function Ks(e){e.forEach(function(t){var n,r=t.target;(n=en.get(r))===null||n===void 0||n.forEach(function(a){return a(r)})})}var Vs=new mu(Ks);process.env.NODE_ENV;process.env.NODE_ENV;function hu(e,t){en.has(e)||(en.set(e,new Set),Vs.observe(e)),en.get(e).add(t)}function gu(e,t){en.has(e)&&(en.get(e).delete(t),en.get(e).size||(Vs.unobserve(e),en.delete(e)))}function un(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ci(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,zs(r.key),r)}}function dn(e,t,n){return t&&Ci(e.prototype,t),n&&Ci(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ao(e,t){return ao=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},ao(e,t)}function ua(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&&ao(e,t)}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(e)}function pu(){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 oo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bu(e,t){if(t&&(Ge(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return oo(e)}function da(e){var t=pu();return function(){var r=ta(e),a;if(t){var o=ta(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return bu(this,a)}}var yu=function(e){ua(n,e);var t=da(n);function n(){return un(this,n),t.apply(this,arguments)}return dn(n,[{key:"render",value:function(){return this.props.children}}]),n}(s.Component);function Su(e,t){var n=e.children,r=e.disabled,a=s.useRef(null),o=s.useRef(null),i=s.useContext(no),c=typeof n=="function",l=c?n(a):n,u=s.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),f=!c&&s.isValidElement(l)&&qn(l),d=f?l.ref:null,v=yr(d,a),h=function(){var C;return Wr(a.current)||(a.current&&Ge(a.current)==="object"?Wr((C=a.current)===null||C===void 0?void 0:C.nativeElement):null)||Wr(o.current)};s.useImperativeHandle(t,function(){return h()});var p=s.useRef(e);p.current=e;var g=s.useCallback(function(m){var C=p.current,b=C.onResize,S=C.data,y=m.getBoundingClientRect(),w=y.width,E=y.height,x=m.offsetWidth,P=m.offsetHeight,_=Math.floor(w),$=Math.floor(E);if(u.current.width!==_||u.current.height!==$||u.current.offsetWidth!==x||u.current.offsetHeight!==P){var I={width:_,height:$,offsetWidth:x,offsetHeight:P};u.current=I;var M=x===Math.round(w)?w:x,R=P===Math.round(E)?E:P,A=k(k({},I),{},{offsetWidth:M,offsetHeight:R});i==null||i(A,m,S),b&&Promise.resolve().then(function(){b(A,m)})}},[]);return s.useEffect(function(){var m=h();return m&&!r&&hu(m,g),function(){return gu(m,g)}},[a.current,r]),s.createElement(yu,{ref:o},f?s.cloneElement(l,{ref:v}):l)}var Us=s.forwardRef(Su);process.env.NODE_ENV!=="production"&&(Us.displayName="SingleObserver");var Cu="rc-observer-key";function Eu(e,t){var n=e.children,r=typeof n=="function"?[n]:dr(n);return process.env.NODE_ENV!=="production"&&(r.length>1?Vn(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):r.length===0&&Vn(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),r.map(function(a,o){var i=(a==null?void 0:a.key)||"".concat(Cu,"-").concat(o);return s.createElement(Us,ge({},e,{key:i,ref:o===0?t:void 0}),a)})}var tn=s.forwardRef(Eu);process.env.NODE_ENV!=="production"&&(tn.displayName="ResizeObserver");tn.Collection=Yl;function Xn(e,t){var n=k({},e);return Array.isArray(t)&&t.forEach(function(r){delete n[r]}),n}function io(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xu(e){if(Array.isArray(e))return io(e)}function Gs(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Wo(e,t){if(e){if(typeof e=="string")return io(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return io(e,t)}}function wu(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
23
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Je(e){return xu(e)||Gs(e)||Wo(e)||wu()}var qs=function(t){return+setTimeout(t,16)},Xs=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(qs=function(t){return window.requestAnimationFrame(t)},Xs=function(t){return window.cancelAnimationFrame(t)});var Ei=0,Ko=new Map;function Ys(e){Ko.delete(e)}var wt=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ei+=1;var r=Ei;function a(o){if(o===0)Ys(r),t();else{var i=qs(function(){a(o-1)});Ko.set(r,i)}}return a(n),r};wt.cancel=function(e){var t=Ko.get(e);return Ys(t),Xs(t)};function Vo(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function $u(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function je(e,t){if(e==null)return{};var n=$u(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Uo(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function a(o,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(o);if(St(!l,"Warning: There may be circular references"),l)return!1;if(o===i)return!0;if(n&&c>1)return!1;r.add(o);var u=c+1;if(Array.isArray(o)){if(!Array.isArray(i)||o.length!==i.length)return!1;for(var f=0;f<o.length;f++)if(!a(o[f],i[f],u))return!1;return!0}if(o&&i&&Ge(o)==="object"&&Ge(i)==="object"){var d=Object.keys(o);return d.length!==Object.keys(i).length?!1:d.every(function(v){return a(o[v],i[v],u)})}return!1}return a(e,t)}var xi="%",Ru=function(){function e(t){un(this,e),W(this,"instanceId",void 0),W(this,"cache",new Map),this.instanceId=t}return dn(e,[{key:"get",value:function(n){return this.cache.get(n.join(xi))||null}},{key:"update",value:function(n,r){var a=n.join(xi),o=this.cache.get(a),i=r(o);i===null?this.cache.delete(a):this.cache.set(a,i)}}]),e}(),so="data-token-hash",yn="data-css-hash",Pu="data-cache-path",jn="__cssinjs_instance__";function Mu(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(yn,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(a){a[jn]=a[jn]||e,a[jn]===e&&document.head.insertBefore(a,n)});var r={};Array.from(document.querySelectorAll("style[".concat(yn,"]"))).forEach(function(a){var o=a.getAttribute(yn);if(r[o]){if(a[jn]===e){var i;(i=a.parentNode)===null||i===void 0||i.removeChild(a)}}else r[o]=!0})}return new Ru(e)}var Tu=s.createContext({hashPriority:"low",cache:Mu(),defaultCache:!0});const Go=Tu;function yt(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Ou(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var wi="data-rc-order",$i="data-rc-priority",Nu="rc-util-key",co=new Map;function Qs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Nu}function fa(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function _u(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Zs(e){return Array.from((co.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Js(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!yt())return null;var n=t.csp,r=t.prepend,a=t.priority,o=a===void 0?0:a,i=_u(r),c=i==="prependQueue",l=document.createElement("style");l.setAttribute(wi,i),c&&o&&l.setAttribute($i,"".concat(o)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var u=fa(t),f=u.firstChild;if(r){if(c){var d=Zs(u).filter(function(v){if(!["prepend","prependQueue"].includes(v.getAttribute(wi)))return!1;var h=Number(v.getAttribute($i)||0);return o>=h});if(d.length)return u.insertBefore(l,d[d.length-1].nextSibling),l}u.insertBefore(l,f)}else u.appendChild(l);return l}function ec(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=fa(t);return Zs(n).find(function(r){return r.getAttribute(Qs(t))===e})}function na(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=ec(e,t);if(n){var r=fa(t);r.removeChild(n)}}function Iu(e,t){var n=co.get(e);if(!n||!Ou(document,n)){var r=Js("",t),a=r.parentNode;co.set(e,a),e.removeChild(r)}}function fr(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=fa(n);Iu(r,n);var a=ec(t,n);if(a){var o,i;if((o=n.csp)!==null&&o!==void 0&&o.nonce&&a.nonce!==((i=n.csp)===null||i===void 0?void 0:i.nonce)){var c;a.nonce=(c=n.csp)===null||c===void 0?void 0:c.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var l=Js(e,n);return l.setAttribute(Qs(n),t),l}function tc(e){if(Array.isArray(e))return e}function Au(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,i,c=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(f){u=!0,a=f}finally{try{if(!l&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return c}}function nc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
24
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N(e,t){return tc(e)||Au(e,t)||Wo(e,t)||nc()}function ku(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var qo=function(){function e(){un(this,e),W(this,"cache",void 0),W(this,"keys",void 0),W(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return dn(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(n){var r,a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return n.forEach(function(c){if(!i)i=void 0;else{var l,u;i=(l=i)===null||l===void 0||(u=l.map)===null||u===void 0?void 0:u.get(c)}}),(r=i)!==null&&r!==void 0&&r.value&&o&&(i.value[1]=this.cacheCallTimes++),(a=i)===null||a===void 0?void 0:a.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var a=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(u,f){var d=N(u,2),v=d[1];return a.internalGet(f)[1]<v?[f,a.internalGet(f)[1]]:u},[this.keys[0],this.cacheCallTimes]),i=N(o,1),c=i[0];this.delete(c)}this.keys.push(n)}var l=this.cache;n.forEach(function(u,f){if(f===n.length-1)l.set(u,{value:[r,a.cacheCallTimes++]});else{var d=l.get(u);d?d.map||(d.map=new Map):l.set(u,{map:new Map}),l=l.get(u).map}})}},{key:"deleteByPath",value:function(n,r){var a=n.get(r[0]);if(r.length===1){var o;return a.map?n.set(r[0],{map:a.map}):n.delete(r[0]),(o=a.value)===null||o===void 0?void 0:o[0]}var i=this.deleteByPath(a.map,r.slice(1));return(!a.map||a.map.size===0)&&!a.value&&n.delete(r[0]),i}},{key:"delete",value:function(n){if(this.has(n))return this.keys=this.keys.filter(function(r){return!ku(r,n)}),this.deleteByPath(this.cache,n)}}]),e}();W(qo,"MAX_CACHE_SIZE",20);W(qo,"MAX_CACHE_OFFSET",5);var Ri=0,rc=function(){function e(t){un(this,e),W(this,"derivatives",void 0),W(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=Ri,t.length===0&&Vn(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),Ri+=1}return dn(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,a){return a(n,r)},void 0)}}]),e}(),ka=new qo;function lo(e){var t=Array.isArray(e)?e:[e];return ka.has(t)||ka.set(t,new rc(t)),ka.get(t)}var Lu=new WeakMap,La={};function Du(e,t){for(var n=Lu,r=0;r<t.length;r+=1){var a=t[r];n.has(a)||n.set(a,new WeakMap),n=n.get(a)}return n.has(La)||n.set(La,e()),n.get(La)}var Pi=new WeakMap;function ra(e){var t=Pi.get(e)||"";return t||(Object.keys(e).forEach(function(n){var r=e[n];t+=n,r instanceof rc?t+=r.id:r&&Ge(r)==="object"?t+=ra(r):t+=r}),Pi.set(e,t)),t}function zu(e,t){return Vo("".concat(t,"_").concat(ra(e)))}var cr="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),ac="_bAmBoO_";function ju(e,t,n){if(yt()){var r,a;fr(e,cr);var o=document.createElement("div");o.style.position="fixed",o.style.left="0",o.style.top="0",t==null||t(o),document.body.appendChild(o),process.env.NODE_ENV!=="production"&&(o.innerHTML="Test",o.style.zIndex="9999999");var i=n?n(o):(r=getComputedStyle(o).content)===null||r===void 0?void 0:r.includes(ac);return(a=o.parentNode)===null||a===void 0||a.removeChild(o),na(cr),i}return!1}var Da=void 0;function Hu(){return Da===void 0&&(Da=ju("@layer ".concat(cr," { .").concat(cr,' { content: "').concat(ac,'"!important; } }'),function(e){e.className=cr})),Da}var Mi=process.env.NODE_ENV!=="test"&&yt()?s.useLayoutEffect:s.useEffect,gt=function(t,n){var r=s.useRef(!0);Mi(function(){return t(r.current)},n),Mi(function(){return r.current=!1,function(){r.current=!0}},[])},uo=function(t,n){gt(function(r){if(!r)return t()},n)},Bu=k({},s),Ti=Bu.useInsertionEffect,Fu=function(t,n,r){s.useMemo(t,r),gt(function(){return n(!0)},r)},Wu=Ti?function(e,t,n){return Ti(function(){return e(),t()},n)}:Fu;const Ku=Wu;var Vu=k({},s),Uu=Vu.useInsertionEffect,Gu=function(t){var n=[],r=!1;function a(o){if(r){process.env.NODE_ENV!=="production"&&Vn(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}n.push(o)}return s.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(o){return o()})}},t),a},qu=function(){return function(t){t()}},Xu=typeof Uu<"u"?Gu:qu;const Yu=Xu;function Qu(){return!1}var fo=!1;function Zu(){return fo}const Ju=process.env.NODE_ENV==="production"?Qu:Zu;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var za=window;if(typeof za.webpackHotUpdate=="function"){var ed=za.webpackHotUpdate;za.webpackHotUpdate=function(){return fo=!0,setTimeout(function(){fo=!1},0),ed.apply(void 0,arguments)}}}function oc(e,t,n,r,a){var o=s.useContext(Go),i=o.cache,c=[e].concat(Je(t)),l=c.join("_"),u=Yu([l]),f=Ju(),d=function(g){i.update(c,function(m){var C=m||[],b=N(C,2),S=b[0],y=S===void 0?0:S,w=b[1],E=w;process.env.NODE_ENV!=="production"&&w&&f&&(r==null||r(E,f),E=null);var x=E||n(),P=[y,x];return g?g(P):P})};s.useMemo(function(){d()},[l]);var v=i.get(c);process.env.NODE_ENV!=="production"&&!v&&(d(),v=i.get(c));var h=v[1];return Ku(function(){a==null||a(h)},function(p){return d(function(g){var m=N(g,2),C=m[0],b=m[1];return p&&C===0&&(a==null||a(h)),[C+1,b]}),function(){i.update(c,function(g){var m=g||[],C=N(m,2),b=C[0],S=b===void 0?0:b,y=C[1],w=S-1;return w===0?(u(function(){return r==null?void 0:r(y,!1)}),null):[S-1,y]})}},[l]),h}var td={},nd=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",pn=new Map;function rd(e){pn.set(e,(pn.get(e)||0)+1)}function ad(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(so,'="').concat(e,'"]'));n.forEach(function(r){if(r[jn]===t){var a;(a=r.parentNode)===null||a===void 0||a.removeChild(r)}})}}var od=0;function id(e,t){pn.set(e,(pn.get(e)||0)-1);var n=Array.from(pn.keys()),r=n.filter(function(a){var o=pn.get(a)||0;return o<=0});n.length-r.length>od&&r.forEach(function(a){ad(a,t),pn.delete(a)})}var sd=function(t,n,r,a){var o=r.getDerivativeToken(t),i=k(k({},o),n);return a&&(i=a(i)),i};function cd(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=T.useContext(Go),a=r.cache.instanceId,o=n.salt,i=o===void 0?"":o,c=n.override,l=c===void 0?td:c,u=n.formatToken,f=n.getComputedToken,d=Du(function(){return Object.assign.apply(Object,[{}].concat(Je(t)))},t),v=ra(d),h=ra(l),p=oc("token",[i,e.id,v,h],function(){var g=f?f(d,l,e):sd(d,l,e,u),m=zu(g,i);g._tokenKey=m,rd(m);var C="".concat(nd,"-").concat(Vo(m));return g._hashId=C,[g,C]},function(g){id(g[0]._tokenKey,a)});return p}var ld={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},ic="comm",sc="rule",cc="decl",ud="@import",dd="@keyframes",fd="@layer",vd=Math.abs,Xo=String.fromCharCode;function lc(e){return e.trim()}function Kr(e,t,n){return e.replace(t,n)}function md(e,t){return e.indexOf(t)}function vr(e,t){return e.charCodeAt(t)|0}function mr(e,t,n){return e.slice(t,n)}function Jt(e){return e.length}function hd(e){return e.length}function _r(e,t){return t.push(e),e}var va=1,Gn=1,uc=0,It=0,tt=0,Yn="";function Yo(e,t,n,r,a,o,i,c){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:va,column:Gn,length:i,return:"",siblings:c}}function gd(){return tt}function pd(){return tt=It>0?vr(Yn,--It):0,Gn--,tt===10&&(Gn=1,va--),tt}function Ft(){return tt=It<uc?vr(Yn,It++):0,Gn++,tt===10&&(Gn=1,va++),tt}function Sn(){return vr(Yn,It)}function Vr(){return It}function ma(e,t){return mr(Yn,e,t)}function vo(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 bd(e){return va=Gn=1,uc=Jt(Yn=e),It=0,[]}function yd(e){return Yn="",e}function ja(e){return lc(ma(It-1,mo(e===91?e+2:e===40?e+1:e)))}function Sd(e){for(;(tt=Sn())&&tt<33;)Ft();return vo(e)>2||vo(tt)>3?"":" "}function Cd(e,t){for(;--t&&Ft()&&!(tt<48||tt>102||tt>57&&tt<65||tt>70&&tt<97););return ma(e,Vr()+(t<6&&Sn()==32&&Ft()==32))}function mo(e){for(;Ft();)switch(tt){case e:return It;case 34:case 39:e!==34&&e!==39&&mo(tt);break;case 40:e===41&&mo(e);break;case 92:Ft();break}return It}function Ed(e,t){for(;Ft()&&e+tt!==47+10;)if(e+tt===42+42&&Sn()===47)break;return"/*"+ma(t,It-1)+"*"+Xo(e===47?e:Ft())}function xd(e){for(;!vo(Sn());)Ft();return ma(e,It)}function wd(e){return yd(Ur("",null,null,null,[""],e=bd(e),0,[0],e))}function Ur(e,t,n,r,a,o,i,c,l){for(var u=0,f=0,d=i,v=0,h=0,p=0,g=1,m=1,C=1,b=0,S="",y=a,w=o,E=r,x=S;m;)switch(p=b,b=Ft()){case 40:if(p!=108&&vr(x,d-1)==58){md(x+=Kr(ja(b),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:x+=ja(b);break;case 9:case 10:case 13:case 32:x+=Sd(p);break;case 92:x+=Cd(Vr()-1,7);continue;case 47:switch(Sn()){case 42:case 47:_r($d(Ed(Ft(),Vr()),t,n,l),l);break;default:x+="/"}break;case 123*g:c[u++]=Jt(x)*C;case 125*g:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+f:C==-1&&(x=Kr(x,/\f/g,"")),h>0&&Jt(x)-d&&_r(h>32?Ni(x+";",r,n,d-1,l):Ni(Kr(x," ","")+";",r,n,d-2,l),l);break;case 59:x+=";";default:if(_r(E=Oi(x,t,n,u,f,a,c,S,y=[],w=[],d,o),o),b===123)if(f===0)Ur(x,t,E,E,y,o,d,c,w);else switch(v===99&&vr(x,3)===110?100:v){case 100:case 108:case 109:case 115:Ur(e,E,E,r&&_r(Oi(e,E,E,0,0,a,c,S,a,y=[],d,w),w),a,w,d,c,r?y:w);break;default:Ur(x,E,E,E,[""],w,0,c,w)}}u=f=h=0,g=C=1,S=x="",d=i;break;case 58:d=1+Jt(x),h=p;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&pd()==125)continue}switch(x+=Xo(b),b*g){case 38:C=f>0?1:(x+="\f",-1);break;case 44:c[u++]=(Jt(x)-1)*C,C=1;break;case 64:Sn()===45&&(x+=ja(Ft())),v=Sn(),f=d=Jt(S=x+=xd(Vr())),b++;break;case 45:p===45&&Jt(x)==2&&(g=0)}}return o}function Oi(e,t,n,r,a,o,i,c,l,u,f,d){for(var v=a-1,h=a===0?o:[""],p=hd(h),g=0,m=0,C=0;g<r;++g)for(var b=0,S=mr(e,v+1,v=vd(m=i[g])),y=e;b<p;++b)(y=lc(m>0?h[b]+" "+S:Kr(S,/&\f/g,h[b])))&&(l[C++]=y);return Yo(e,t,n,a===0?sc:c,l,u,f,d)}function $d(e,t,n,r){return Yo(e,t,n,ic,Xo(gd()),mr(e,2,-2),0,r)}function Ni(e,t,n,r,a){return Yo(e,t,n,cc,mr(e,0,r),mr(e,r+1,-1),r,a)}function ho(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Rd(e,t,n,r){switch(e.type){case fd:if(e.children.length)break;case ud:case cc:return e.return=e.return||e.value;case ic:return"";case dd:return e.return=e.value+"{"+ho(e.children,r)+"}";case sc:if(!Jt(e.value=e.props.join(",")))return""}return Jt(n=ho(e.children,r))?e.return=e.value+"{"+n+"}":""}function dc(e,t){var n=t.path,r=t.parentSelectors;St(!1,"[Ant Design CSS-in-JS] ".concat(n?"Error in ".concat(n,": "):"").concat(e).concat(r.length?" Selector: ".concat(r.join(" | ")):""))}var Pd=function(t,n,r){if(t==="content"){var a=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,o=["normal","none","initial","inherit","unset"];(typeof n!="string"||o.indexOf(n)===-1&&!a.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'"))&&dc("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(n,"\"'`."),r)}},Md=function(t,n,r){t==="animation"&&r.hashId&&n!=="none"&&dc("You seem to be using hashed animation '".concat(n,"', in which case 'animationName' with Keyframe as value is recommended."),r)},_i="data-ant-cssinjs-cache-path",fc="_FILE_STYLE__",Cn,vc=!0;function Td(){if(!Cn&&(Cn={},yt())){var e=document.createElement("div");e.className=_i,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(a){var o=a.split(":"),i=N(o,2),c=i[0],l=i[1];Cn[c]=l});var n=document.querySelector("style[".concat(_i,"]"));if(n){var r;vc=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function Od(e){return Td(),!!Cn[e]}function Nd(e){var t=Cn[e],n=null;if(t&&yt())if(vc)n=fc;else{var r=document.querySelector("style[".concat(yn,'="').concat(Cn[e],'"]'));r?n=r.innerHTML:delete Cn[e]}return[n,t]}var Ii=yt(),mc="_skip_check_",hc="_multi_value_";function Ai(e){var t=ho(wd(e),Rd);return t.replace(/\{%%%\:[^;];}/g,";")}function _d(e){return Ge(e)==="object"&&e&&(mc in e||hc in e)}function Id(e,t,n){if(!t)return e;var r=".".concat(t),a=n==="low"?":where(".concat(r,")"):r,o=e.split(",").map(function(i){var c,l=i.trim().split(/\s+/),u=l[0]||"",f=((c=u.match(/^\w+/))===null||c===void 0?void 0:c[0])||"";return u="".concat(f).concat(a).concat(u.slice(f.length)),[u].concat(Je(l.slice(1))).join(" ")});return o.join(",")}var Ad=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,o=r.injectHash,i=r.parentSelectors,c=n.hashId,l=n.layer,u=n.path,f=n.hashPriority,d=n.transformers,v=d===void 0?[]:d,h=n.linters,p=h===void 0?[]:h,g="",m={};function C(E){var x=E.getName(c);if(!m[x]){var P=e(E.style,n,{root:!1,parentSelectors:i}),_=N(P,1),$=_[0];m[x]="@keyframes ".concat(E.getName(c)).concat($)}}function b(E){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return E.forEach(function(P){Array.isArray(P)?b(P,x):P&&x.push(P)}),x}var S=b(Array.isArray(t)?t:[t]);if(S.forEach(function(E){var x=typeof E=="string"&&!a?{}:E;if(typeof x=="string")g+="".concat(x,`
|
|
25
|
+
`);else if(x._keyframe)C(x);else{var P=v.reduce(function(_,$){var I;return($==null||(I=$.visit)===null||I===void 0?void 0:I.call($,_))||_},x);Object.keys(P).forEach(function(_){var $=P[_];if(Ge($)==="object"&&$&&(_!=="animationName"||!$._keyframe)&&!_d($)){var I=!1,M=_.trim(),R=!1;(a||o)&&c?M.startsWith("@")?I=!0:M=Id(_,c,f):a&&!c&&(M==="&"||M==="")&&(M="",R=!0);var A=e($,n,{root:R,injectHash:I,parentSelectors:[].concat(Je(i),[M])}),O=N(A,2),z=O[0],L=O[1];m=k(k({},m),L),g+="".concat(M).concat(z)}else{let U=function(se,H){process.env.NODE_ENV!=="production"&&(Ge($)!=="object"||!($!=null&&$[mc]))&&[Pd,Md].concat(Je(p)).forEach(function(re){return re(se,H,{path:u,hashId:c,parentSelectors:i})});var Y=se.replace(/[A-Z]/g,function(re){return"-".concat(re.toLowerCase())}),J=H;!ld[se]&&typeof J=="number"&&J!==0&&(J="".concat(J,"px")),se==="animationName"&&H!==null&&H!==void 0&&H._keyframe&&(C(H),J=H.getName(c)),g+="".concat(Y,":").concat(J,";")};var V,j=(V=$==null?void 0:$.value)!==null&&V!==void 0?V:$;Ge($)==="object"&&$!==null&&$!==void 0&&$[hc]&&Array.isArray(j)?j.forEach(function(se){U(_,se)}):U(_,j)}})}}),!a)g="{".concat(g,"}");else if(l&&Hu()){var y=l.split(","),w=y[y.length-1].trim();g="@layer ".concat(w," {").concat(g,"}"),y.length>1&&(g="@layer ".concat(l,"{%%%:%}").concat(g))}return[g,m]};function kd(e,t){return Vo("".concat(e.join("%")).concat(t))}function Ld(){return null}function go(e,t){var n=e.token,r=e.path,a=e.hashId,o=e.layer,i=e.nonce,c=e.clientOnly,l=e.order,u=l===void 0?0:l,f=s.useContext(Go),d=f.autoClear,v=f.mock,h=f.defaultCache,p=f.hashPriority,g=f.container,m=f.ssrInline,C=f.transformers,b=f.linters,S=f.cache,y=n._tokenKey,w=[y].concat(Je(r)),E=Ii;process.env.NODE_ENV!=="production"&&v!==void 0&&(E=v==="client");var x=oc("style",w,function(){var M=w.join("|");if(Od(M)){var R=Nd(M),A=N(R,2),O=A[0],z=A[1];if(O)return[O,y,z,{},c,u]}var L=t(),V=Ad(L,{hashId:a,hashPriority:p,layer:o,path:r.join("-"),transformers:C,linters:b}),j=N(V,2),U=j[0],se=j[1],H=Ai(U),Y=kd(w,H);return[H,y,Y,se,c,u]},function(M,R){var A=N(M,3),O=A[2];(R||d)&&Ii&&na(O,{mark:yn})},function(M){var R=N(M,4),A=R[0];R[1];var O=R[2],z=R[3];if(E&&A!==fc){var L={mark:yn,prepend:"queue",attachTo:g,priority:u},V=typeof i=="function"?i():i;V&&(L.csp={nonce:V});var j=fr(A,O,L);j[jn]=S.instanceId,j.setAttribute(so,y),process.env.NODE_ENV!=="production"&&j.setAttribute(Pu,w.join("|")),Object.keys(z).forEach(function(U){fr(Ai(z[U]),"_effect-".concat(U),L)})}}),P=N(x,3),_=P[0],$=P[1],I=P[2];return function(M){var R;if(!m||E||!h)R=s.createElement(Ld,null);else{var A;R=s.createElement("style",ge({},(A={},W(A,so,$),W(A,yn,I),A),{dangerouslySetInnerHTML:{__html:_}}))}return s.createElement(s.Fragment,null,R,M)}}var rn=function(){function e(t,n){un(this,e),W(this,"name",void 0),W(this,"style",void 0),W(this,"_keyframe",!0),this.name=t,this.style=n}return dn(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Nn(e){return e.notSplit=!0,e}Nn(["borderTop","borderBottom"]),Nn(["borderTop"]),Nn(["borderBottom"]),Nn(["borderLeft","borderRight"]),Nn(["borderLeft"]),Nn(["borderRight"]);var Dd=T.createContext({});const Qo=Dd;function zd(e){return tc(e)||Gs(e)||Wo(e)||nc()}function po(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function gc(e,t,n,r){if(!t.length)return n;var a=zd(t),o=a[0],i=a.slice(1),c;return!e&&typeof o=="number"?c=[]:Array.isArray(e)?c=Je(e):c=k({},e),r&&n===void 0&&i.length===1?delete c[o][i[0]]:c[o]=gc(c[o],i,n,r),c}function Ha(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!po(e,t.slice(0,-1))?e:gc(e,t,n,r)}function jd(e){return Ge(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function ki(e){return Array.isArray(e)?[]:{}}var Hd=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Bd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=ki(t[0]);return t.forEach(function(a){function o(i,c){var l=new Set(c),u=po(a,i),f=Array.isArray(u);if(f||jd(u)){if(!l.has(u)){l.add(u);var d=po(r,i);f?r=Ha(r,i,[]):(!d||Ge(d)!=="object")&&(r=Ha(r,i,ki(u))),Hd(u).forEach(function(v){o([].concat(Je(i),[v]),l)})}}else r=Ha(r,i,u)}o([])}),r}function pc(){}let Zt=null;function Fd(){Zt=null,Ls()}let Zo=pc;process.env.NODE_ENV!=="production"&&(Zo=(e,t,n)=>{St(e,`[antd: ${t}] ${n}`),process.env.NODE_ENV==="test"&&Fd()});const bc=s.createContext({}),ha=process.env.NODE_ENV!=="production"?e=>{const{strict:t}=s.useContext(bc),n=(r,a,o)=>{if(!r)if(t===!1&&a==="deprecated"){const i=Zt;Zt||(Zt={}),Zt[e]=Zt[e]||[],Zt[e].includes(o||"")||Zt[e].push(o||""),i||console.warn("[antd] There exists deprecated usage in your code:",Zt)}else process.env.NODE_ENV!=="production"&&Zo(r,e,o)};return n.deprecated=(r,a,o,i)=>{n(r,"deprecated",`\`${a}\` is deprecated. Please use \`${o}\` instead.${i?` ${i}`:""}`)},n}:()=>{const e=()=>{};return e.deprecated=pc,e},ga=Zo,Wd=T.createContext(void 0),Kd={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 Vd={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 Ud={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},yc=Ud,Gd={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"]},Vd),timePickerLocale:Object.assign({},yc)},Li=Gd,Pt="${label} is not a valid ${type}",qd={locale:"en",Pagination:Kd,DatePicker:Li,TimePicker:yc,Calendar:Li,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:Pt,method:Pt,array:Pt,object:Pt,number:Pt,date:Pt,boolean:Pt,integer:Pt,float:Pt,regexp:Pt,email:Pt,url:Pt,hex:Pt},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"}},pa=qd;Object.assign({},pa.Modal);let Gr=[];const Di=()=>Gr.reduce((e,t)=>Object.assign(Object.assign({},e),t),pa.Modal);function Xd(e){if(e){const t=Object.assign({},e);return Gr.push(t),Di(),()=>{Gr=Gr.filter(n=>n!==t),Di()}}Object.assign({},pa.Modal)}const Yd=T.createContext(void 0),Sc=Yd,Cc="internalMark",Ec=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;if(process.env.NODE_ENV!=="production"){const o=ha("LocaleProvider");process.env.NODE_ENV!=="production"&&o(r===Cc,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}s.useEffect(()=>Xd(t&&t.Modal),[t]);const a=s.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return s.createElement(Sc.Provider,{value:a},n)};process.env.NODE_ENV!=="production"&&(Ec.displayName="LocaleProvider");const Qd=Ec;function ft(e,t){Zd(e)&&(e="100%");var n=Jd(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Ir(e){return Math.min(1,Math.max(0,e))}function Zd(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Jd(e){return typeof e=="string"&&e.indexOf("%")!==-1}function xc(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Ar(e){return e<=1?"".concat(Number(e)*100,"%"):e}function bn(e){return e.length===1?"0"+e:String(e)}function ef(e,t,n){return{r:ft(e,255)*255,g:ft(t,255)*255,b:ft(n,255)*255}}function zi(e,t,n){e=ft(e,255),t=ft(t,255),n=ft(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=0,c=(r+a)/2;if(r===a)i=0,o=0;else{var l=r-a;switch(i=c>.5?l/(2-r-a):l/(r+a),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4;break}o/=6}return{h:o,s:i,l:c}}function Ba(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function tf(e,t,n){var r,a,o;if(e=ft(e,360),t=ft(t,100),n=ft(n,100),t===0)a=n,o=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,c=2*n-i;r=Ba(c,i,e+1/3),a=Ba(c,i,e),o=Ba(c,i,e-1/3)}return{r:r*255,g:a*255,b:o*255}}function bo(e,t,n){e=ft(e,255),t=ft(t,255),n=ft(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=r,c=r-a,l=r===0?0:c/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/c+(t<n?6:0);break;case t:o=(n-e)/c+2;break;case n:o=(e-t)/c+4;break}o/=6}return{h:o,s:l,v:i}}function nf(e,t,n){e=ft(e,360)*6,t=ft(t,100),n=ft(n,100);var r=Math.floor(e),a=e-r,o=n*(1-t),i=n*(1-a*t),c=n*(1-(1-a)*t),l=r%6,u=[n,i,o,o,c,n][l],f=[c,n,n,i,o,o][l],d=[o,o,c,n,n,i][l];return{r:u*255,g:f*255,b:d*255}}function yo(e,t,n,r){var a=[bn(Math.round(e).toString(16)),bn(Math.round(t).toString(16)),bn(Math.round(n).toString(16))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function rf(e,t,n,r,a){var o=[bn(Math.round(e).toString(16)),bn(Math.round(t).toString(16)),bn(Math.round(n).toString(16)),bn(af(r))];return a&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function af(e){return Math.round(parseFloat(e)*255).toString(16)}function ji(e){return Mt(e)/255}function Mt(e){return parseInt(e,16)}function of(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var So={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 zn(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,c=!1;return typeof e=="string"&&(e=lf(e)),typeof e=="object"&&(Yt(e.r)&&Yt(e.g)&&Yt(e.b)?(t=ef(e.r,e.g,e.b),i=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Yt(e.h)&&Yt(e.s)&&Yt(e.v)?(r=Ar(e.s),a=Ar(e.v),t=nf(e.h,r,a),i=!0,c="hsv"):Yt(e.h)&&Yt(e.s)&&Yt(e.l)&&(r=Ar(e.s),o=Ar(e.l),t=tf(e.h,r,o),i=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=xc(n),{ok:i,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var sf="[-\\+]?\\d+%?",cf="[-\\+]?\\d*\\.\\d+%?",cn="(?:".concat(cf,")|(?:").concat(sf,")"),Fa="[\\s|\\(]+(".concat(cn,")[,|\\s]+(").concat(cn,")[,|\\s]+(").concat(cn,")\\s*\\)?"),Wa="[\\s|\\(]+(".concat(cn,")[,|\\s]+(").concat(cn,")[,|\\s]+(").concat(cn,")[,|\\s]+(").concat(cn,")\\s*\\)?"),jt={CSS_UNIT:new RegExp(cn),rgb:new RegExp("rgb"+Fa),rgba:new RegExp("rgba"+Wa),hsl:new RegExp("hsl"+Fa),hsla:new RegExp("hsla"+Wa),hsv:new RegExp("hsv"+Fa),hsva:new RegExp("hsva"+Wa),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 lf(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(So[e])e=So[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=jt.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=jt.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=jt.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=jt.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=jt.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=jt.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=jt.hex8.exec(e),n?{r:Mt(n[1]),g:Mt(n[2]),b:Mt(n[3]),a:ji(n[4]),format:t?"name":"hex8"}:(n=jt.hex6.exec(e),n?{r:Mt(n[1]),g:Mt(n[2]),b:Mt(n[3]),format:t?"name":"hex"}:(n=jt.hex4.exec(e),n?{r:Mt(n[1]+n[1]),g:Mt(n[2]+n[2]),b:Mt(n[3]+n[3]),a:ji(n[4]+n[4]),format:t?"name":"hex8"}:(n=jt.hex3.exec(e),n?{r:Mt(n[1]+n[1]),g:Mt(n[2]+n[2]),b:Mt(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Yt(e){return!!jt.CSS_UNIT.exec(String(e))}var Tt=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=of(t)),this.originalInput=t;var a=zn(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,a,o=t.r/255,i=t.g/255,c=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),c<=.03928?a=c/12.92:a=Math.pow((c+.055)/1.055,2.4),.2126*n+.7152*r+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=xc(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=bo(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=bo(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=zi(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=zi(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),yo(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),rf(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(ft(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(ft(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+yo(this.r,this.g,this.b,!1),n=0,r=Object.entries(So);n<r.length;n++){var a=r[n],o=a[0],i=a[1];if(t===i)return o}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,a=this.a<1&&this.a>=0,o=!n&&a&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Ir(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Ir(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Ir(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Ir(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),o=n/100,i={r:(a.r-r.r)*o+r.r,g:(a.g-r.g)*o+r.g,b:(a.b-r.b)*o+r.b,a:(a.a-r.a)*o+r.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,o=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,a=n.s,o=n.v,i=[],c=1/t;t--;)i.push(new e({h:r,s:a,v:o})),o=(o+c)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,a=[this],o=360/t,i=1;i<t;i++)a.push(new e({h:(r+i*o)%360,s:n.s,l:n.l}));return a},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),kr=2,Hi=.16,uf=.05,df=.05,ff=.15,wc=5,$c=4,vf=[{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 Bi(e){var t=e.r,n=e.g,r=e.b,a=bo(t,n,r);return{h:a.h*360,s:a.s,v:a.v}}function Lr(e){var t=e.r,n=e.g,r=e.b;return"#".concat(yo(t,n,r,!1))}function mf(e,t,n){var r=n/100,a={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return a}function Fi(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-kr*t:Math.round(e.h)+kr*t:r=n?Math.round(e.h)+kr*t:Math.round(e.h)-kr*t,r<0?r+=360:r>=360&&(r-=360),r}function Wi(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-Hi*t:t===$c?r=e.s+Hi:r=e.s+uf*t,r>1&&(r=1),n&&t===wc&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function Ki(e,t,n){var r;return n?r=e.v+df*t:r=e.v-ff*t,r>1&&(r=1),Number(r.toFixed(2))}function En(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=zn(e),a=wc;a>0;a-=1){var o=Bi(r),i=Lr(zn({h:Fi(o,a,!0),s:Wi(o,a,!0),v:Ki(o,a,!0)}));n.push(i)}n.push(Lr(r));for(var c=1;c<=$c;c+=1){var l=Bi(r),u=Lr(zn({h:Fi(l,c),s:Wi(l,c),v:Ki(l,c)}));n.push(u)}return t.theme==="dark"?vf.map(function(f){var d=f.index,v=f.opacity,h=Lr(mf(zn(t.backgroundColor||"#141414"),zn(n[d]),v*100));return h}):n}var Ka={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"},qr={},Va={};Object.keys(Ka).forEach(function(e){qr[e]=En(Ka[e]),qr[e].primary=qr[e][5],Va[e]=En(Ka[e],{theme:"dark",backgroundColor:"#141414"}),Va[e].primary=Va[e][5]});var hf=qr.blue;const gf=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},pf=gf;function bf(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Rc={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"},yf=Object.assign(Object.assign({},Rc),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
26
|
+
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
27
|
+
'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}),hr=yf;function Sf(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:a,colorWarning:o,colorError:i,colorInfo:c,colorPrimary:l,colorBgBase:u,colorTextBase:f}=e,d=n(l),v=n(a),h=n(o),p=n(i),g=n(c),m=r(u,f),C=e.colorLink||e.colorInfo,b=n(C);return Object.assign(Object.assign({},m),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:v[1],colorSuccessBgHover:v[2],colorSuccessBorder:v[3],colorSuccessBorderHover:v[4],colorSuccessHover:v[4],colorSuccess:v[6],colorSuccessActive:v[7],colorSuccessTextHover:v[8],colorSuccessText:v[9],colorSuccessTextActive:v[10],colorErrorBg: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:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new Tt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Cf=e=>{let t=e,n=e,r=e,a=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?a=4:e>=8&&(a=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:a}},Ef=Cf;function xf(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:a}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:a+1},Ef(r))}const Qt=(e,t)=>new Tt(e).setAlpha(t).toRgbString(),nr=(e,t)=>new Tt(e).darken(t).toHexString(),wf=e=>{const t=En(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]}},$f=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Qt(r,.88),colorTextSecondary:Qt(r,.65),colorTextTertiary:Qt(r,.45),colorTextQuaternary:Qt(r,.25),colorFill:Qt(r,.15),colorFillSecondary:Qt(r,.06),colorFillTertiary:Qt(r,.04),colorFillQuaternary:Qt(r,.02),colorBgLayout:nr(n,4),colorBgContainer:nr(n,0),colorBgElevated:nr(n,0),colorBgSpotlight:Qt(r,.85),colorBgBlur:"transparent",colorBorder:nr(n,15),colorBorderSecondary:nr(n,6)}};function Rf(e){const t=new Array(10).fill(null).map((n,r)=>{const a=r-1,o=e*Math.pow(2.71828,a/5),i=r>1?Math.floor(o):Math.ceil(o);return Math.floor(i/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const Pf=e=>{const t=Rf(e),n=t.map(a=>a.size),r=t.map(a=>a.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},Mf=Pf;function Tf(e){const t=Object.keys(Rc).map(n=>{const r=En(e[n]);return new Array(10).fill(1).reduce((a,o,i)=>(a[`${n}-${i+1}`]=r[i],a[`${n}${i+1}`]=r[i],a),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),Sf(e,{generateColorPalettes:wf,generateNeutralColorPalettes:$f})),Mf(e.fontSize)),bf(e)),pf(e)),xf(e))}const Pc=lo(Tf),Mc={token:hr,override:{override:hr},hashed:!0},Tc=T.createContext(Mc),Oc="anticon",Of=(e,t)=>t||(e?`ant-${e}`:"ant"),$t=s.createContext({getPrefixCls:Of,iconPrefixCls:Oc}),Nf=`-ant-${Date.now()}-${Math.random()}`;function _f(e,t){const n={},r=(i,c)=>{let l=i.clone();return l=(c==null?void 0:c(l))||l,l.toRgbString()},a=(i,c)=>{const l=new Tt(i),u=En(l.toRgbString());n[`${c}-color`]=r(l),n[`${c}-color-disabled`]=u[1],n[`${c}-color-hover`]=u[4],n[`${c}-color-active`]=u[6],n[`${c}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),n[`${c}-color-deprecated-bg`]=u[0],n[`${c}-color-deprecated-border`]=u[2]};if(t.primaryColor){a(t.primaryColor,"primary");const i=new Tt(t.primaryColor),c=En(i.toRgbString());c.forEach((u,f)=>{n[`primary-${f+1}`]=u}),n["primary-color-deprecated-l-35"]=r(i,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(i,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(i,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(i,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(i,u=>u.setAlpha(u.getAlpha()*.12));const l=new Tt(c[0]);n["primary-color-active-deprecated-f-30"]=r(l,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(l,u=>u.darken(2))}return t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info"),`
|
|
28
|
+
:root {
|
|
29
|
+
${Object.keys(n).map(i=>`--${e}-${i}: ${n[i]};`).join(`
|
|
30
|
+
`)}
|
|
31
|
+
}
|
|
32
|
+
`.trim()}function If(e,t){const n=_f(e,t);yt()?fr(n,`${Nf}-dynamic-theme`):process.env.NODE_ENV!=="production"&&ga(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const Co=s.createContext(!1),Af=e=>{let{children:t,disabled:n}=e;const r=s.useContext(Co);return s.createElement(Co.Provider,{value:n??r},t)},kf=Co,Eo=s.createContext(void 0),Lf=e=>{let{children:t,size:n}=e;const r=s.useContext(Eo);return s.createElement(Eo.Provider,{value:n||r},t)},ba=Eo;function Df(){const e=T.useContext(kf),t=T.useContext(ba);return{componentDisabled:e,componentSize:t}}const zf="5.11.0";function Ua(e){return e>=0&&e<=255}function Dr(e,t){const{r:n,g:r,b:a,a:o}=new Tt(e).toRgb();if(o<1)return e;const{r:i,g:c,b:l}=new Tt(t).toRgb();for(let u=.01;u<=1;u+=.01){const f=Math.round((n-i*(1-u))/u),d=Math.round((r-c*(1-u))/u),v=Math.round((a-l*(1-u))/u);if(Ua(f)&&Ua(d)&&Ua(v))return new Tt({r:f,g:d,b:v,a:Math.round(u*100)/100}).toRgbString()}return new Tt({r:n,g:r,b:a,a:1}).toRgbString()}var jf=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function Nc(e){const{override:t}=e,n=jf(e,["override"]),r=Object.assign({},t);Object.keys(hr).forEach(v=>{delete r[v]});const a=Object.assign(Object.assign({},n),r),o=480,i=576,c=768,l=992,u=1200,f=1600;if(a.motion===!1){const v="0s";a.motionDurationFast=v,a.motionDurationMid=v,a.motionDurationSlow=v}return Object.assign(Object.assign(Object.assign({},a),{colorFillContent:a.colorFillSecondary,colorFillContentHover:a.colorFill,colorFillAlter:a.colorFillQuaternary,colorBgContainerDisabled:a.colorFillTertiary,colorBorderBg:a.colorBgContainer,colorSplit:Dr(a.colorBorderSecondary,a.colorBgContainer),colorTextPlaceholder:a.colorTextQuaternary,colorTextDisabled:a.colorTextQuaternary,colorTextHeading:a.colorText,colorTextLabel:a.colorTextSecondary,colorTextDescription:a.colorTextTertiary,colorTextLightSolid:a.colorWhite,colorHighlight:a.colorError,colorBgTextHover:a.colorFillSecondary,colorBgTextActive:a.colorFill,colorIcon:a.colorTextTertiary,colorIconHover:a.colorText,colorErrorOutline:Dr(a.colorErrorBg,a.colorBgContainer),colorWarningOutline:Dr(a.colorWarningBg,a.colorBgContainer),fontSizeIcon:a.fontSizeSM,lineWidthFocus:a.lineWidth*4,lineWidth:a.lineWidth,controlOutlineWidth:a.lineWidth*2,controlInteractiveSize:a.controlHeight/2,controlItemBgHover:a.colorFillTertiary,controlItemBgActive:a.colorPrimaryBg,controlItemBgActiveHover:a.colorPrimaryBgHover,controlItemBgActiveDisabled:a.colorFill,controlTmpOutline:a.colorFillQuaternary,controlOutline:Dr(a.colorPrimaryBg,a.colorBgContainer),lineType:a.lineType,borderRadius:a.borderRadius,borderRadiusXS:a.borderRadiusXS,borderRadiusSM:a.borderRadiusSM,borderRadiusLG:a.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:a.sizeXXS,paddingXS:a.sizeXS,paddingSM:a.sizeSM,padding:a.size,paddingMD:a.sizeMD,paddingLG:a.sizeLG,paddingXL:a.sizeXL,paddingContentHorizontalLG:a.sizeLG,paddingContentVerticalLG:a.sizeMS,paddingContentHorizontal:a.sizeMS,paddingContentVertical:a.sizeSM,paddingContentHorizontalSM:a.size,paddingContentVerticalSM:a.sizeXS,marginXXS:a.sizeXXS,marginXS:a.sizeXS,marginSM:a.sizeSM,margin:a.size,marginMD:a.sizeMD,marginLG:a.sizeLG,marginXL:a.sizeXL,marginXXL:a.sizeXXL,boxShadow:`
|
|
33
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
34
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
35
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
36
|
+
`,boxShadowSecondary:`
|
|
37
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
38
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
39
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
40
|
+
`,boxShadowTertiary:`
|
|
41
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
42
|
+
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
43
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
44
|
+
`,screenXS:o,screenXSMin:o,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:f-1,screenXXL:f,screenXXLMin:f,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
45
|
+
0 1px 2px -2px ${new Tt("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
46
|
+
0 3px 6px 0 ${new Tt("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
47
|
+
0 5px 12px 4px ${new Tt("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
48
|
+
`,boxShadowDrawerRight:`
|
|
49
|
+
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
50
|
+
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
51
|
+
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
52
|
+
`,boxShadowDrawerLeft:`
|
|
53
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
54
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
55
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
56
|
+
`,boxShadowDrawerUp:`
|
|
57
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
58
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
59
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
60
|
+
`,boxShadowDrawerDown:`
|
|
61
|
+
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
62
|
+
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
63
|
+
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
64
|
+
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var Vi=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const _c=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:a}=t,o=Vi(t,["override"]);let i=Object.assign(Object.assign({},r),{override:a});return i=Nc(i),o&&Object.entries(o).forEach(c=>{let[l,u]=c;const{theme:f}=u,d=Vi(u,["theme"]);let v=d;f&&(v=_c(Object.assign(Object.assign({},i),d),{override:d},f)),i[l]=v}),i};function Jo(){const{token:e,hashed:t,theme:n,override:r}=T.useContext(Tc),a=`${zf}-${t||""}`,o=n||Pc,[i,c]=cd(o,[hr,e],{salt:a,override:r,getComputedToken:_c,formatToken:Nc});return[o,i,t?c:""]}function Bt(e){var t=s.useRef();t.current=e;var n=s.useCallback(function(){for(var r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(o))},[]);return n}function Fn(e){var t=s.useRef(!1),n=s.useState(e),r=N(n,2),a=r[0],o=r[1];s.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(c,l){l&&t.current||o(c)}return[a,i]}function Ga(e){return e!==void 0}function Wn(e,t){var n=t||{},r=n.defaultValue,a=n.value,o=n.onChange,i=n.postState,c=Fn(function(){return Ga(a)?a:Ga(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),l=N(c,2),u=l[0],f=l[1],d=a!==void 0?a:u,v=i?i(d):d,h=Bt(o),p=Fn([d]),g=N(p,2),m=g[0],C=g[1];uo(function(){var S=m[0];u!==S&&h(u,S)},[m]),uo(function(){Ga(a)||f(a)},[a]);var b=Bt(function(S,y){f(S,y),C([d],y)});return[v,b]}const ei={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},ti=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"}}),ya=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),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"}}}),Ff=(e,t)=>{const{fontFamily:n,fontSize:r}=e,a=`[class^="${t}"], [class*=" ${t}"]`;return{[a]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[a]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Wf=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Ic=e=>({"&:focus-visible":Object.assign({},Wf(e))}),Ac=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u";let xo=!0;function gr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!Ac)return Object.assign.apply(Object,[{}].concat(t));xo=!1;const r={};return t.forEach(a=>{Object.keys(a).forEach(i=>{Object.defineProperty(r,i,{configurable:!0,enumerable:!0,get:()=>a[i]})})}),xo=!0,r}const Ui={};function Kf(){}function Vf(e){let t,n=e,r=Kf;return Ac&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(a,o){return xo&&t.add(o),a[o]}}),r=(a,o)=>{var i;Ui[a]={global:Array.from(t),component:Object.assign(Object.assign({},(i=Ui[a])===null||i===void 0?void 0:i.component),o)}}),{token:n,keys:t,flush:r}}const Uf=(e,t)=>{const[n,r]=Jo();return go({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Hf()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},kc=Uf;function ni(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=Array.isArray(e)?e:[e,e],[o]=a,i=a.join("-");return c=>{const[l,u,f]=Jo(),{getPrefixCls:d,iconPrefixCls:v,csp:h}=T.useContext($t),p=d(),g={theme:l,token:u,hashId:f,nonce:()=>h==null?void 0:h.nonce,clientOnly:r.clientOnly,order:r.order||-999};return go(Object.assign(Object.assign({},g),{clientOnly:!1,path:["Shared",p]}),()=>[{"&":Bf(u)}]),kc(v,h),[go(Object.assign(Object.assign({},g),{path:[i,c,v]}),()=>{const{token:m,flush:C}=Vf(u),b=Object.assign({},u[o]);if(r.deprecatedTokens){const{deprecatedTokens:P}=r;P.forEach(_=>{let[$,I]=_;var M;process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&St(!(b!=null&&b[$]),`The token '${String($)}' of ${o} 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 S=typeof n=="function"?n(gr(m,b??{})):n,y=Object.assign(Object.assign({},S),b),w=`.${c}`,E=gr(m,{componentCls:w,prefixCls:c,iconCls:`.${v}`,antCls:`.${p}`},y),x=t(E,{hashId:f,prefixCls:c,rootPrefixCls:p,iconPrefixCls:v,overrideComponentToken:b});return C(o,y),[r.resetStyle===!1?null:Ff(u,c),x]}),f]}}function Gf(e,t){const n=e||{},r=n.inherit===!1||!t?Mc:t;return sa(()=>{if(!e)return t;const a=Object.assign({},r.components);return Object.keys(e.components||{}).forEach(o=>{a[o]=Object.assign(Object.assign({},a[o]),e.components[o])}),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:a})},[n,r],(a,o)=>a.some((i,c)=>{const l=o[c];return!Uo(i,l,!0)}))}var qf=["children"],Lc=s.createContext({});function Xf(e){var t=e.children,n=je(e,qf);return s.createElement(Lc.Provider,{value:n},t)}var Yf=function(e){ua(n,e);var t=da(n);function n(){return un(this,n),t.apply(this,arguments)}return dn(n,[{key:"render",value:function(){return this.props.children}}]),n}(s.Component),gn="none",zr="appear",jr="enter",Hr="leave",Gi="none",Ht="prepare",Hn="start",Bn="active",ri="end",Dc="prepared";function qi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function Qf(e,t){var n={animationend:qi("Animation","AnimationEnd"),transitionend:qi("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var Zf=Qf(yt(),typeof window<"u"?window:{}),zc={};if(yt()){var Jf=document.createElement("div");zc=Jf.style}var Br={};function jc(e){if(Br[e])return Br[e];var t=Zf[e];if(t)for(var n=Object.keys(t),r=n.length,a=0;a<r;a+=1){var o=n[a];if(Object.prototype.hasOwnProperty.call(t,o)&&o in zc)return Br[e]=t[o],Br[e]}return""}var Hc=jc("animationend"),Bc=jc("transitionend"),Fc=!!(Hc&&Bc),Xi=Hc||"animationend",Yi=Bc||"transitionend";function Qi(e,t){if(!e)return null;if(Ge(e)==="object"){var n=t.replace(/-\w/g,function(r){return r[1].toUpperCase()});return e[n]}return"".concat(e,"-").concat(t)}const ev=function(e){var t=T.useRef(),n=T.useRef(e);n.current=e;var r=s.useCallback(function(i){n.current(i)},[]);function a(i){i&&(i.removeEventListener(Yi,r),i.removeEventListener(Xi,r))}function o(i){t.current&&t.current!==i&&a(t.current),i&&i!==t.current&&(i.addEventListener(Yi,r),i.addEventListener(Xi,r),t.current=i)}return s.useEffect(function(){return function(){a(t.current)}},[]),[o,a]};var Wc=yt()?T.useLayoutEffect:T.useEffect;const tv=function(){var e=s.useRef(null);function t(){wt.cancel(e.current)}function n(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var o=wt(function(){a<=1?r({isCanceled:function(){return o!==e.current}}):n(r,a-1)});e.current=o}return s.useEffect(function(){return function(){t()}},[]),[n,t]};var nv=[Ht,Hn,Bn,ri],rv=[Ht,Dc],Kc=!1,av=!0;function Vc(e){return e===Bn||e===ri}const ov=function(e,t,n){var r=Fn(Gi),a=N(r,2),o=a[0],i=a[1],c=tv(),l=N(c,2),u=l[0],f=l[1];function d(){i(Ht,!0)}var v=t?rv:nv;return Wc(function(){if(o!==Gi&&o!==ri){var h=v.indexOf(o),p=v[h+1],g=n(o);g===Kc?i(p,!0):p&&u(function(m){function C(){m.isCanceled()||i(p,!0)}g===!0?C():Promise.resolve(g).then(C)})}},[e,o]),s.useEffect(function(){return function(){f()}},[]),[d,o]};function iv(e,t,n,r){var a=r.motionEnter,o=a===void 0?!0:a,i=r.motionAppear,c=i===void 0?!0:i,l=r.motionLeave,u=l===void 0?!0:l,f=r.motionDeadline,d=r.motionLeaveImmediately,v=r.onAppearPrepare,h=r.onEnterPrepare,p=r.onLeavePrepare,g=r.onAppearStart,m=r.onEnterStart,C=r.onLeaveStart,b=r.onAppearActive,S=r.onEnterActive,y=r.onLeaveActive,w=r.onAppearEnd,E=r.onEnterEnd,x=r.onLeaveEnd,P=r.onVisibleChanged,_=Fn(),$=N(_,2),I=$[0],M=$[1],R=Fn(gn),A=N(R,2),O=A[0],z=A[1],L=Fn(null),V=N(L,2),j=V[0],U=V[1],se=T.useRef(!1),H=T.useRef(null);function Y(){return n()}var J=T.useRef(!1);function re(){z(gn,!0),U(null,!0)}function te($e){var de=Y();if(!($e&&!$e.deadline&&$e.target!==de)){var le=J.current,Te;O===zr&&le?Te=w==null?void 0:w(de,$e):O===jr&&le?Te=E==null?void 0:E(de,$e):O===Hr&&le&&(Te=x==null?void 0:x(de,$e)),O!==gn&&le&&Te!==!1&&re()}}var Q=ev(te),G=N(Q,1),oe=G[0],ae=function(de){var le,Te,fe;switch(de){case zr:return le={},W(le,Ht,v),W(le,Hn,g),W(le,Bn,b),le;case jr:return Te={},W(Te,Ht,h),W(Te,Hn,m),W(Te,Bn,S),Te;case Hr:return fe={},W(fe,Ht,p),W(fe,Hn,C),W(fe,Bn,y),fe;default:return{}}},ce=s.useMemo(function(){return ae(O)},[O]),Me=ov(O,!e,function($e){if($e===Ht){var de=ce[Ht];return de?de(Y()):Kc}if(pe in ce){var le;U(((le=ce[pe])===null||le===void 0?void 0:le.call(ce,Y(),null))||null)}return pe===Bn&&(oe(Y()),f>0&&(clearTimeout(H.current),H.current=setTimeout(function(){te({deadline:!0})},f))),pe===Dc&&re(),av}),xe=N(Me,2),D=xe[0],pe=xe[1],X=Vc(pe);J.current=X,Wc(function(){M(t);var $e=se.current;se.current=!0;var de;!$e&&t&&c&&(de=zr),$e&&t&&o&&(de=jr),($e&&!t&&u||!$e&&d&&!t&&u)&&(de=Hr);var le=ae(de);de&&(e||le[Ht])?(z(de),D()):z(gn)},[t]),T.useEffect(function(){(O===zr&&!c||O===jr&&!o||O===Hr&&!u)&&z(gn)},[c,o,u]),T.useEffect(function(){return function(){se.current=!1,clearTimeout(H.current)}},[]);var we=s.useRef(!1);T.useEffect(function(){I&&(we.current=!0),I!==void 0&&O===gn&&((we.current||I)&&(P==null||P(I)),we.current=!0)},[I,O]);var Z=j;return ce[Ht]&&pe===Hn&&(Z=k({transition:"none"},Z)),[O,pe,Z,I??t]}function sv(e){var t=e;Ge(e)==="object"&&(t=e.transitionSupport);function n(a,o){return!!(a.motionName&&t&&o!==!1)}var r=s.forwardRef(function(a,o){var i=a.visible,c=i===void 0?!0:i,l=a.removeOnLeave,u=l===void 0?!0:l,f=a.forceRender,d=a.children,v=a.motionName,h=a.leavedClassName,p=a.eventProps,g=s.useContext(Lc),m=g.motion,C=n(a,m),b=T.useRef(),S=T.useRef();function y(){try{return b.current instanceof HTMLElement?b.current:Wr(S.current)}catch{return null}}var w=iv(C,c,y,a),E=N(w,4),x=E[0],P=E[1],_=E[2],$=E[3],I=s.useRef($);$&&(I.current=!0);var M=s.useCallback(function(U){b.current=U,Fo(o,U)},[o]),R,A=k(k({},p),{},{visible:c});if(!d)R=null;else if(x===gn)$?R=d(k({},A),M):!u&&I.current&&h?R=d(k(k({},A),{},{className:h}),M):f||!u&&!h?R=d(k(k({},A),{},{style:{display:"none"}}),M):R=null;else{var O,z;P===Ht?z="prepare":Vc(P)?z="active":P===Hn&&(z="start");var L=Qi(v,"".concat(x,"-").concat(z));R=d(k(k({},A),{},{className:ne(Qi(v,x),(O={},W(O,L,L&&z),W(O,v,typeof v=="string"),O)),style:_}),M)}if(s.isValidElement(R)&&qn(R)){var V=R,j=V.ref;j||(R=s.cloneElement(R,{ref:M}))}return s.createElement(Yf,{ref:S},R)});return r.displayName="CSSMotion",r}const Sr=sv(Fc);var wo="add",$o="keep",Ro="remove",qa="removed";function cv(e){var t;return e&&Ge(e)==="object"&&"key"in e?t=e:t={key:e},k(k({},t),{},{key:String(t.key)})}function Po(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(cv)}function lv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,a=t.length,o=Po(e),i=Po(t);o.forEach(function(u){for(var f=!1,d=r;d<a;d+=1){var v=i[d];if(v.key===u.key){r<d&&(n=n.concat(i.slice(r,d).map(function(h){return k(k({},h),{},{status:wo})})),r=d),n.push(k(k({},v),{},{status:$o})),r+=1,f=!0;break}}f||n.push(k(k({},u),{},{status:Ro}))}),r<a&&(n=n.concat(i.slice(r).map(function(u){return k(k({},u),{},{status:wo})})));var c={};n.forEach(function(u){var f=u.key;c[f]=(c[f]||0)+1});var l=Object.keys(c).filter(function(u){return c[u]>1});return l.forEach(function(u){n=n.filter(function(f){var d=f.key,v=f.status;return d!==u||v!==Ro}),n.forEach(function(f){f.key===u&&(f.status=$o)})}),n}var uv=["component","children","onVisibleChanged","onAllRemoved"],dv=["status"],fv=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function vv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sr,n=function(r){ua(o,r);var a=da(o);function o(){var i;un(this,o);for(var c=arguments.length,l=new Array(c),u=0;u<c;u++)l[u]=arguments[u];return i=a.call.apply(a,[this].concat(l)),W(oo(i),"state",{keyEntities:[]}),W(oo(i),"removeKey",function(f){var d=i.state.keyEntities,v=d.map(function(h){return h.key!==f?h:k(k({},h),{},{status:qa})});return i.setState({keyEntities:v}),v.filter(function(h){var p=h.status;return p!==qa}).length}),i}return dn(o,[{key:"render",value:function(){var c=this,l=this.state.keyEntities,u=this.props,f=u.component,d=u.children,v=u.onVisibleChanged,h=u.onAllRemoved,p=je(u,uv),g=f||s.Fragment,m={};return fv.forEach(function(C){m[C]=p[C],delete p[C]}),delete p.keys,s.createElement(g,p,l.map(function(C,b){var S=C.status,y=je(C,dv),w=S===wo||S===$o;return s.createElement(t,ge({},m,{key:y.key,visible:w,eventProps:y,onVisibleChanged:function(x){if(v==null||v(x,{key:y.key}),!x){var P=c.removeKey(y.key);P===0&&h&&h()}}}),function(E,x){return d(k(k({},E),{},{index:b}),x)})}))}}],[{key:"getDerivedStateFromProps",value:function(c,l){var u=c.keys,f=l.keyEntities,d=Po(u),v=lv(f,d);return{keyEntities:v.filter(function(h){var p=f.find(function(g){var m=g.key;return h.key===m});return!(p&&p.status===qa&&h.status===Ro)})}}}]),o}(s.Component);return W(n,"defaultProps",{component:"div"}),n}vv(Fc);function mv(e){const{children:t}=e,[,n]=Jo(),{motion:r}=n,a=s.useRef(!1);return a.current=a.current||r===!1,a.current?s.createElement(Xf,{motion:r},t):t}const Uc=s.memo(e=>{let{dropdownMatchSelectWidth:t}=e;return ha("ConfigProvider").deprecated(t===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null});process.env.NODE_ENV!=="production"&&(Uc.displayName="PropWarning");const hv=process.env.NODE_ENV!=="production"?Uc:()=>null;var gv=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let Mo=!1;process.env.NODE_ENV;const pv=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],bv="ant";let Gc;function yv(){return Gc||bv}function Sv(e){return Object.keys(e).some(t=>t.endsWith("Color"))}const Cv=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r}=e;t!==void 0&&(Gc=t),r&&Sv(r)&&(process.env.NODE_ENV!=="production"&&ga(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),If(yv(),r))},Ev=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:a,anchor:o,form:i,locale:c,componentSize:l,direction:u,space:f,virtual:d,dropdownMatchSelectWidth:v,popupMatchSelectWidth:h,popupOverflow:p,legacyLocale:g,parentContext:m,iconPrefixCls:C,theme:b,componentDisabled:S,segmented:y,statistic:w,spin:E,calendar:x,carousel:P,cascader:_,collapse:$,typography:I,checkbox:M,descriptions:R,divider:A,drawer:O,skeleton:z,steps:L,image:V,layout:j,list:U,mentions:se,modal:H,progress:Y,result:J,slider:re,breadcrumb:te,menu:Q,pagination:G,input:oe,empty:ae,badge:ce,radio:Me,rate:xe,switch:D,transfer:pe,avatar:X,message:we,tag:Z,table:$e,card:de,tabs:le,timeline:Te,timePicker:fe,upload:vt,notification:nt,tree:Oe,colorPicker:Fe,datePicker:We,rangePicker:ve,flex:Ke,wave:ke,dropdown:st,warning:De}=e,ct=s.useCallback((ee,Se)=>{const{prefixCls:F}=e;if(Se)return Se;const q=F||m.getPrefixCls("");return ee?`${q}-${ee}`:q},[m.getPrefixCls,e.prefixCls]),Ie=C||m.iconPrefixCls||Oc,be=n||m.csp;kc(Ie,be);const Re=Gf(b,m.theme);process.env.NODE_ENV!=="production"&&(Mo=Mo||!!Re);const qe={csp:be,autoInsertSpaceInButton:r,alert:a,anchor:o,locale:c||g,direction:u,space:f,virtual:d,popupMatchSelectWidth:h??v,popupOverflow:p,getPrefixCls:ct,iconPrefixCls:Ie,theme:Re,segmented:y,statistic:w,spin:E,calendar:x,carousel:P,cascader:_,collapse:$,typography:I,checkbox:M,descriptions:R,divider:A,drawer:O,skeleton:z,steps:L,image:V,input:oe,layout:j,list:U,mentions:se,modal:H,progress:Y,result:J,slider:re,breadcrumb:te,menu:Q,pagination:G,empty:ae,badge:ce,radio:Me,rate:xe,switch:D,transfer:pe,avatar:X,message:we,tag:Z,table:$e,card:de,tabs:le,timeline:Te,timePicker:fe,upload:vt,notification:nt,tree:Oe,colorPicker:Fe,datePicker:We,rangePicker:ve,flex:Ke,wave:ke,dropdown:st,warning:De},He=Object.assign({},m);Object.keys(qe).forEach(ee=>{qe[ee]!==void 0&&(He[ee]=qe[ee])}),pv.forEach(ee=>{const Se=e[ee];Se&&(He[ee]=Se)});const Ze=sa(()=>He,He,(ee,Se)=>{const F=Object.keys(ee),q=Object.keys(Se);return F.length!==q.length||F.some(Ce=>ee[Ce]!==Se[Ce])}),mt=s.useMemo(()=>({prefixCls:Ie,csp:be}),[Ie,be]);let ye=s.createElement(s.Fragment,null,s.createElement(hv,{dropdownMatchSelectWidth:v}),t);const me=s.useMemo(()=>{var ee,Se,F,q;return Bd(((ee=pa.Form)===null||ee===void 0?void 0:ee.defaultValidateMessages)||{},((F=(Se=Ze.locale)===null||Se===void 0?void 0:Se.Form)===null||F===void 0?void 0:F.defaultValidateMessages)||{},((q=Ze.form)===null||q===void 0?void 0:q.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[Ze,i==null?void 0:i.validateMessages]);Object.keys(me).length>0&&(ye=s.createElement(Wd.Provider,{value:me},ye)),c&&(ye=s.createElement(Qd,{locale:c,_ANT_MARK__:Cc},ye)),(Ie||be)&&(ye=s.createElement(Qo.Provider,{value:mt},ye)),l&&(ye=s.createElement(Lf,{size:l},ye)),ye=s.createElement(mv,null,ye);const he=s.useMemo(()=>{const ee=Re||{},{algorithm:Se,token:F,components:q}=ee,Ce=gv(ee,["algorithm","token","components"]),Ve=Se&&(!Array.isArray(Se)||Se.length>0)?lo(Se):Pc,Xe={};Object.entries(q||{}).forEach(Ut=>{let[Ot,lt]=Ut;const Ue=Object.assign({},lt);"algorithm"in Ue&&(Ue.algorithm===!0?Ue.theme=Ve:(Array.isArray(Ue.algorithm)||typeof Ue.algorithm=="function")&&(Ue.theme=lo(Ue.algorithm)),delete Ue.algorithm),Xe[Ot]=Ue});const ot=Object.assign(Object.assign({},hr),F);return Object.assign(Object.assign({},Ce),{theme:Ve,token:ot,components:Xe,override:Object.assign({override:ot},Xe)})},[Re]);return b&&(ye=s.createElement(Tc.Provider,{value:he},ye)),Ze.warning&&(ye=s.createElement(bc.Provider,{value:Ze.warning},ye)),S!==void 0&&(ye=s.createElement(Af,{disabled:S},ye)),s.createElement($t.Provider,{value:Ze},ye)},Qn=e=>{const t=s.useContext($t),n=s.useContext(Sc);return s.createElement(Ev,Object.assign({parentContext:t,legacyLocale:n},e))};Qn.ConfigContext=$t;Qn.SizeContext=ba;Qn.config=Cv;Qn.useConfig=Df;Object.defineProperty(Qn,"SizeContext",{get:()=>(process.env.NODE_ENV!=="production"&&ga(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),ba)});process.env.NODE_ENV!=="production"&&(Qn.displayName="ConfigProvider");function xn(){return xn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xn.apply(this,arguments)}function xv(e){if(Array.isArray(e))return e}function wv(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,i,c=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(f){u=!0,a=f}finally{try{if(!l&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return c}}function Zi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $v(e,t){if(e){if(typeof e=="string")return Zi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zi(e,t)}}function Rv(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
65
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qc(e,t){return xv(e)||wv(e,t)||$v(e,t)||Rv()}function wn(e){"@babel/helpers - typeof";return wn=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},wn(e)}function Pv(e,t){if(wn(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(wn(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Mv(e){var t=Pv(e,"string");return wn(t)==="symbol"?t:String(t)}function To(e,t,n){return t=Mv(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tv(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function Xc(e,t){if(e==null)return{};var n=Tv(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ji(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ln(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ji(Object(n),!0).forEach(function(r){To(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ji(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ov(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Nv(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var es="data-rc-order",ts="data-rc-priority",_v="rc-util-key",Oo=new Map;function Yc(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):_v}function ai(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Iv(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Qc(e){return Array.from((Oo.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Zc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ov())return null;var n=t.csp,r=t.prepend,a=t.priority,o=a===void 0?0:a,i=Iv(r),c=i==="prependQueue",l=document.createElement("style");l.setAttribute(es,i),c&&o&&l.setAttribute(ts,"".concat(o)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var u=ai(t),f=u.firstChild;if(r){if(c){var d=Qc(u).filter(function(v){if(!["prepend","prependQueue"].includes(v.getAttribute(es)))return!1;var h=Number(v.getAttribute(ts)||0);return o>=h});if(d.length)return u.insertBefore(l,d[d.length-1].nextSibling),l}u.insertBefore(l,f)}else u.appendChild(l);return l}function Av(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=ai(t);return Qc(n).find(function(r){return r.getAttribute(Yc(t))===e})}function kv(e,t){var n=Oo.get(e);if(!n||!Nv(document,n)){var r=Zc("",t),a=r.parentNode;Oo.set(e,a),e.removeChild(r)}}function Lv(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=ai(n);kv(r,n);var a=Av(t,n);if(a){var o,i;if((o=n.csp)!==null&&o!==void 0&&o.nonce&&a.nonce!==((i=n.csp)===null||i===void 0?void 0:i.nonce)){var c;a.nonce=(c=n.csp)===null||c===void 0?void 0:c.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var l=Zc(e,n);return l.setAttribute(Yc(n),t),l}function Jc(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Dv(e){return Jc(e)instanceof ShadowRoot}function zv(e){return Dv(e)?Jc(e):null}var No={},oi=[],jv=function(t){oi.push(t)};function Hv(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var n=oi.reduce(function(r,a){return a(r??"","warning")},t);n&&console.error("Warning: ".concat(n))}}function Bv(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var n=oi.reduce(function(r,a){return a(r??"","note")},t);n&&console.warn("Note: ".concat(n))}}function Fv(){No={}}function el(e,t,n){!t&&!No[n]&&(e(!1,n),No[n]=!0)}function Sa(e,t){el(Hv,e,t)}function Wv(e,t){el(Bv,e,t)}Sa.preMessage=jv;Sa.resetWarned=Fv;Sa.noteOnce=Wv;function Kv(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function Vv(e,t){Sa(e,"[@ant-design/icons] ".concat(t))}function ns(e){return wn(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(wn(e.icon)==="object"||typeof e.icon=="function")}function rs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[Kv(n)]=r}return t},{})}function _o(e,t,n){return n?T.createElement(e.tag,ln(ln({key:t},rs(e.attrs)),n),(e.children||[]).map(function(r,a){return _o(r,"".concat(t,"-").concat(e.tag,"-").concat(a))})):T.createElement(e.tag,ln({key:t},rs(e.attrs)),(e.children||[]).map(function(r,a){return _o(r,"".concat(t,"-").concat(e.tag,"-").concat(a))}))}function tl(e){return En(e)[0]}function nl(e){return e?Array.isArray(e)?e:[e]:[]}var Uv=`
|
|
66
|
+
.anticon {
|
|
67
|
+
display: inline-block;
|
|
68
|
+
color: inherit;
|
|
69
|
+
font-style: normal;
|
|
70
|
+
line-height: 0;
|
|
71
|
+
text-align: center;
|
|
72
|
+
text-transform: none;
|
|
73
|
+
vertical-align: -0.125em;
|
|
74
|
+
text-rendering: optimizeLegibility;
|
|
75
|
+
-webkit-font-smoothing: antialiased;
|
|
76
|
+
-moz-osx-font-smoothing: grayscale;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.anticon > * {
|
|
80
|
+
line-height: 1;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.anticon svg {
|
|
84
|
+
display: inline-block;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.anticon::before {
|
|
88
|
+
display: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.anticon .anticon-icon {
|
|
92
|
+
display: block;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.anticon[tabindex] {
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.anticon-spin::before,
|
|
100
|
+
.anticon-spin {
|
|
101
|
+
display: inline-block;
|
|
102
|
+
-webkit-animation: loadingCircle 1s infinite linear;
|
|
103
|
+
animation: loadingCircle 1s infinite linear;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@-webkit-keyframes loadingCircle {
|
|
107
|
+
100% {
|
|
108
|
+
-webkit-transform: rotate(360deg);
|
|
109
|
+
transform: rotate(360deg);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@keyframes loadingCircle {
|
|
114
|
+
100% {
|
|
115
|
+
-webkit-transform: rotate(360deg);
|
|
116
|
+
transform: rotate(360deg);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
`,Gv=function(t){var n=T.useContext(Qo),r=n.csp,a=n.prefixCls,o=Uv;a&&(o=o.replace(/anticon/g,a)),T.useEffect(function(){var i=t.current,c=zv(i);Lv(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:c})},[])},qv=["icon","className","onClick","style","primaryColor","secondaryColor"],lr={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Xv(e){var t=e.primaryColor,n=e.secondaryColor;lr.primaryColor=t,lr.secondaryColor=n||tl(t),lr.calculated=!!n}function Yv(){return ln({},lr)}var Ca=function(t){var n=t.icon,r=t.className,a=t.onClick,o=t.style,i=t.primaryColor,c=t.secondaryColor,l=Xc(t,qv),u=s.useRef(),f=lr;if(i&&(f={primaryColor:i,secondaryColor:c||tl(i)}),Gv(u),Vv(ns(n),"icon should be icon definiton, but got ".concat(n)),!ns(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=ln(ln({},d),{},{icon:d.icon(f.primaryColor,f.secondaryColor)})),_o(d.icon,"svg-".concat(d.name),ln(ln({className:r,onClick:a,style:o,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:u}))};Ca.displayName="IconReact";Ca.getTwoToneColors=Yv;Ca.setTwoToneColors=Xv;const ii=Ca;function rl(e){var t=nl(e),n=qc(t,2),r=n[0],a=n[1];return ii.setTwoToneColors({primaryColor:r,secondaryColor:a})}function Qv(){var e=ii.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Zv=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];rl(hf.primary);var Ea=s.forwardRef(function(e,t){var n,r=e.className,a=e.icon,o=e.spin,i=e.rotate,c=e.tabIndex,l=e.onClick,u=e.twoToneColor,f=Xc(e,Zv),d=s.useContext(Qo),v=d.prefixCls,h=v===void 0?"anticon":v,p=d.rootClassName,g=ne(p,h,(n={},To(n,"".concat(h,"-").concat(a.name),!!a.name),To(n,"".concat(h,"-spin"),!!o||a.name==="loading"),n),r),m=c;m===void 0&&l&&(m=-1);var C=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,b=nl(u),S=qc(b,2),y=S[0],w=S[1];return s.createElement("span",xn({role:"img","aria-label":a.name},f,{ref:t,tabIndex:m,onClick:l,className:g}),s.createElement(ii,{icon:a,primaryColor:y,secondaryColor:w,style:C}))});Ea.displayName="AntdIcon";Ea.getTwoToneColor=Qv;Ea.setTwoToneColor=rl;const xa=Ea;var Jv={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 em=Jv;var al=function(t,n){return s.createElement(xa,xn({},t,{ref:n,icon:em}))};process.env.NODE_ENV!=="production"&&(al.displayName="CloseOutlined");const tm=s.forwardRef(al);var B={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=B.F1&&n<=B.F12)return!1;switch(n){case B.ALT:case B.CAPS_LOCK:case B.CONTEXT_MENU:case B.CTRL:case B.DOWN:case B.END:case B.ESC:case B.HOME:case B.INSERT:case B.LEFT:case B.MAC_FF_META:case B.META:case B.NUMLOCK:case B.NUM_CENTER:case B.PAGE_DOWN:case B.PAGE_UP:case B.PAUSE:case B.PRINT_SCREEN:case B.RIGHT:case B.SHIFT:case B.UP:case B.WIN_KEY:case B.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=B.ZERO&&t<=B.NINE||t>=B.NUM_ZERO&&t<=B.NUM_MULTIPLY||t>=B.A&&t<=B.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case B.SPACE:case B.QUESTION_MARK:case B.NUM_PLUS:case B.NUM_MINUS:case B.NUM_PERIOD:case B.NUM_DIVISION:case B.SEMICOLON:case B.DASH:case B.EQUALS:case B.COMMA:case B.PERIOD:case B.SLASH:case B.APOSTROPHE:case B.SINGLE_QUOTE:case B.OPEN_SQUARE_BRACKET:case B.BACKSLASH:case B.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const nm=(e,t,n)=>n!==void 0?n:`${e}-${t}`,ol=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),o=a.width,i=a.height;if(o||i)return!0}}return!1},rm=e=>{const t=T.useContext(ba);return T.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},il=rm;var sl=s.createContext(null),as=[];function am(e,t){var n=s.useState(function(){if(!yt())return null;var p=document.createElement("div");return process.env.NODE_ENV!=="production"&&t&&p.setAttribute("data-debug",t),p}),r=N(n,1),a=r[0],o=s.useRef(!1),i=s.useContext(sl),c=s.useState(as),l=N(c,2),u=l[0],f=l[1],d=i||(o.current?void 0:function(p){f(function(g){var m=[p].concat(Je(g));return m})});function v(){a.parentElement||document.body.appendChild(a),o.current=!0}function h(){var p;(p=a.parentElement)===null||p===void 0||p.removeChild(a),o.current=!1}return gt(function(){return e?i?i(v):v():h(),h},[e]),gt(function(){u.length&&(u.forEach(function(p){return p()}),f(as))},[u]),[a,d]}var Xa;function om(e){if(typeof document>"u")return 0;if(e||Xa===void 0){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var a=t.offsetWidth;n.style.overflow="scroll";var o=t.offsetWidth;a===o&&(o=n.clientWidth),document.body.removeChild(n),Xa=a-o}return Xa}function os(e){var t=e.match(/^(.*)px$/),n=Number(t==null?void 0:t[1]);return Number.isNaN(n)?om():n}function im(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:os(n),height:os(r)}}function sm(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var cm="rc-util-locker-".concat(Date.now()),is=0;function lm(e){var t=!!e,n=s.useState(function(){return is+=1,"".concat(cm,"_").concat(is)}),r=N(n,1),a=r[0];gt(function(){if(t){var o=im(document.body).width,i=sm();fr(`
|
|
120
|
+
html body {
|
|
121
|
+
overflow-y: hidden;
|
|
122
|
+
`.concat(i?"width: calc(100% - ".concat(o,"px);"):"",`
|
|
123
|
+
}`),a)}else na(a);return function(){na(a)}},[t,a])}var ss=!1;function um(e){return typeof e=="boolean"&&(ss=e),ss}var cs=function(t){return t===!1?!1:!yt()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},si=s.forwardRef(function(e,t){var n=e.open,r=e.autoLock,a=e.getContainer,o=e.debug,i=e.autoDestroy,c=i===void 0?!0:i,l=e.children,u=s.useState(n),f=N(u,2),d=f[0],v=f[1],h=d||n;process.env.NODE_ENV!=="production"&&St(yt()||!n,"Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."),s.useEffect(function(){(c||n)&&v(n)},[n,c]);var p=s.useState(function(){return cs(a)}),g=N(p,2),m=g[0],C=g[1];s.useEffect(function(){var M=cs(a);C(M??null)});var b=am(h&&!m,o),S=N(b,2),y=S[0],w=S[1],E=m??y;lm(r&&n&&yt()&&(E===y||E===document.body));var x=null;if(l&&qn(l)&&t){var P=l;x=P.ref}var _=yr(x,t);if(!h||!yt()||m===void 0)return null;var $=E===!1||um(),I=l;return t&&(I=s.cloneElement(l,{ref:_})),s.createElement(sl.Provider,{value:w},$?I:ia.createPortal(I,E))});process.env.NODE_ENV!=="production"&&(si.displayName="Portal");function dm(){var e=k({},s);return e.useId}var ls=0,us=dm();const fm=us?function(t){var n=us();return t||(process.env.NODE_ENV==="test"?"test-id":n)}:function(t){var n=s.useState("ssr-id"),r=N(n,2),a=r[0],o=r[1];return s.useEffect(function(){var i=ls;ls+=1,o("rc_unique_".concat(i))},[]),t||(process.env.NODE_ENV==="test"?"test-id":a)},vm=e=>({animationDuration:e,animationFillMode:"both"}),mm=e=>({animationDuration:e,animationFillMode:"both"}),hm=function(e,t,n,r){const o=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
|
|
124
|
+
${o}${e}-enter,
|
|
125
|
+
${o}${e}-appear
|
|
126
|
+
`]:Object.assign(Object.assign({},vm(r)),{animationPlayState:"paused"}),[`${o}${e}-leave`]:Object.assign(Object.assign({},mm(r)),{animationPlayState:"paused"}),[`
|
|
127
|
+
${o}${e}-enter${e}-enter-active,
|
|
128
|
+
${o}${e}-appear${e}-appear-active
|
|
129
|
+
`]:{animationName:t,animationPlayState:"running"},[`${o}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},gm=new rn("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),pm=new rn("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),bm=new rn("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ym=new rn("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Sm=new rn("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Cm=new rn("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Em=new rn("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),xm=new rn("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),wm={"slide-up":{inKeyframes:gm,outKeyframes:pm},"slide-down":{inKeyframes:bm,outKeyframes:ym},"slide-left":{inKeyframes:Sm,outKeyframes:Cm},"slide-right":{inKeyframes:Em,outKeyframes:xm}},ds=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:o}=wm[t];return[hm(r,a,o,e.motionDurationMid),{[`
|
|
130
|
+
${r}-enter,
|
|
131
|
+
${r}-appear
|
|
132
|
+
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},cl=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var $m=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],_n=void 0;function Rm(e,t){var n=e.prefixCls,r=e.invalidate,a=e.item,o=e.renderItem,i=e.responsive,c=e.responsiveDisabled,l=e.registerSize,u=e.itemKey,f=e.className,d=e.style,v=e.children,h=e.display,p=e.order,g=e.component,m=g===void 0?"div":g,C=je(e,$m),b=i&&!h;function S(P){l(u,P)}s.useEffect(function(){return function(){S(null)}},[]);var y=o&&a!==_n?o(a):v,w;r||(w={opacity:b?0:1,height:b?0:_n,overflowY:b?"hidden":_n,order:i?p:_n,pointerEvents:b?"none":_n,position:b?"absolute":_n});var E={};b&&(E["aria-hidden"]=!0);var x=s.createElement(m,ge({className:ne(!r&&n,f),style:k(k({},w),d)},E,C,{ref:t}),y);return i&&(x=s.createElement(tn,{onResize:function(_){var $=_.offsetWidth;S($)},disabled:c},x)),x}var ur=s.forwardRef(Rm);ur.displayName="Item";function Pm(e){if(typeof MessageChannel>"u")wt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function Mm(){var e=s.useRef(null),t=function(r){e.current||(e.current=[],Pm(function(){ia.unstable_batchedUpdates(function(){e.current.forEach(function(a){a()}),e.current=null})})),e.current.push(r)};return t}function rr(e,t){var n=s.useState(t),r=N(n,2),a=r[0],o=r[1],i=Bt(function(c){e(function(){o(c)})});return[a,i]}var aa=T.createContext(null),Tm=["component"],Om=["className"],Nm=["className"],_m=function(t,n){var r=s.useContext(aa);if(!r){var a=t.component,o=a===void 0?"div":a,i=je(t,Tm);return s.createElement(o,ge({},i,{ref:n}))}var c=r.className,l=je(r,Om),u=t.className,f=je(t,Nm);return s.createElement(aa.Provider,{value:null},s.createElement(ur,ge({ref:n,className:ne(c,u)},l,f)))},ll=s.forwardRef(_m);ll.displayName="RawItem";var Im=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ul="responsive",dl="invalidate";function Am(e){return"+ ".concat(e.length," ...")}function km(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,a=e.data,o=a===void 0?[]:a,i=e.renderItem,c=e.renderRawItem,l=e.itemKey,u=e.itemWidth,f=u===void 0?10:u,d=e.ssr,v=e.style,h=e.className,p=e.maxCount,g=e.renderRest,m=e.renderRawRest,C=e.suffix,b=e.component,S=b===void 0?"div":b,y=e.itemComponent,w=e.onVisibleChange,E=je(e,Im),x=d==="full",P=Mm(),_=rr(P,null),$=N(_,2),I=$[0],M=$[1],R=I||0,A=rr(P,new Map),O=N(A,2),z=O[0],L=O[1],V=rr(P,0),j=N(V,2),U=j[0],se=j[1],H=rr(P,0),Y=N(H,2),J=Y[0],re=Y[1],te=rr(P,0),Q=N(te,2),G=Q[0],oe=Q[1],ae=T.useState(null),ce=N(ae,2),Me=ce[0],xe=ce[1],D=T.useState(null),pe=N(D,2),X=pe[0],we=pe[1],Z=s.useMemo(function(){return X===null&&x?Number.MAX_SAFE_INTEGER:X||0},[X,I]),$e=T.useState(!1),de=N($e,2),le=de[0],Te=de[1],fe="".concat(r,"-item"),vt=Math.max(U,J),nt=p===ul,Oe=o.length&&nt,Fe=p===dl,We=Oe||typeof p=="number"&&o.length>p,ve=T.useMemo(function(){var F=o;return Oe?I===null&&x?F=o:F=o.slice(0,Math.min(o.length,R/f)):typeof p=="number"&&(F=o.slice(0,p)),F},[o,f,I,p,Oe]),Ke=T.useMemo(function(){return Oe?o.slice(Z+1):o.slice(ve.length)},[o,ve,Oe,Z]),ke=T.useCallback(function(F,q){var Ce;return typeof l=="function"?l(F):(Ce=l&&(F==null?void 0:F[l]))!==null&&Ce!==void 0?Ce:q},[l]),st=T.useCallback(i||function(F){return F},[i]);function De(F,q,Ce){X===F&&(q===void 0||q===Me)||(we(F),Ce||(Te(F<o.length-1),w==null||w(F)),q!==void 0&&xe(q))}function ct(F,q){M(q.clientWidth)}function Ie(F,q){L(function(Ce){var Ve=new Map(Ce);return q===null?Ve.delete(F):Ve.set(F,q),Ve})}function be(F,q){re(q),se(J)}function Re(F,q){oe(q)}function qe(F){return z.get(ke(ve[F],F))}gt(function(){if(R&&typeof vt=="number"&&ve){var F=G,q=ve.length,Ce=q-1;if(!q){De(0,null);return}for(var Ve=0;Ve<q;Ve+=1){var Xe=qe(Ve);if(x&&(Xe=Xe||0),Xe===void 0){De(Ve-1,void 0,!0);break}if(F+=Xe,Ce===0&&F<=R||Ve===Ce-1&&F+qe(Ce)<=R){De(Ce,null);break}else if(F+vt>R){De(Ve-1,F-Xe-G+J);break}}C&&qe(0)+G>R&&xe(null)}},[R,z,J,G,ke,ve]);var He=le&&!!Ke.length,Ze={};Me!==null&&Oe&&(Ze={position:"absolute",left:Me,top:0});var mt={prefixCls:fe,responsive:Oe,component:y,invalidate:Fe},ye=c?function(F,q){var Ce=ke(F,q);return s.createElement(aa.Provider,{key:Ce,value:k(k({},mt),{},{order:q,item:F,itemKey:Ce,registerSize:Ie,display:q<=Z})},c(F,q))}:function(F,q){var Ce=ke(F,q);return s.createElement(ur,ge({},mt,{order:q,key:Ce,item:F,renderItem:st,itemKey:Ce,registerSize:Ie,display:q<=Z}))},me,he={order:He?Z:Number.MAX_SAFE_INTEGER,className:"".concat(fe,"-rest"),registerSize:be,display:He};if(m)m&&(me=s.createElement(aa.Provider,{value:k(k({},mt),he)},m(Ke)));else{var ee=g||Am;me=s.createElement(ur,ge({},mt,he),typeof ee=="function"?ee(Ke):ee)}var Se=s.createElement(S,ge({className:ne(!Fe&&r,h),style:v,ref:t},E),ve.map(ye),We?me:null,C&&s.createElement(ur,ge({},mt,{responsive:nt,responsiveDisabled:!Oe,order:Z,className:"".concat(fe,"-suffix"),registerSize:Re,display:!0,style:Ze}),C));return nt&&(Se=s.createElement(tn,{onResize:ct,disabled:!Oe},Se)),Se}var nn=s.forwardRef(km);nn.displayName="Overflow";nn.Item=ll;nn.RESPONSIVE=ul;nn.INVALIDATE=dl;function fl(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Lm(e){return fl(e)instanceof ShadowRoot}function Io(e){return Lm(e)?fl(e):null}function Dm(e){var t=e.prefixCls,n=e.align,r=e.arrow,a=e.arrowPos,o=r||{},i=o.className,c=o.content,l=a.x,u=l===void 0?0:l,f=a.y,d=f===void 0?0:f,v=s.useRef();if(!n||!n.points)return null;var h={position:"absolute"};if(n.autoArrow!==!1){var p=n.points[0],g=n.points[1],m=p[0],C=p[1],b=g[0],S=g[1];m===b||!["t","b"].includes(m)?h.top=d:m==="t"?h.top=0:h.bottom=0,C===S||!["l","r"].includes(C)?h.left=u:C==="l"?h.left=0:h.right=0}return s.createElement("div",{ref:v,className:ne("".concat(t,"-arrow"),i),style:h},c)}function zm(e){var t=e.prefixCls,n=e.open,r=e.zIndex,a=e.mask,o=e.motion;return a?s.createElement(Sr,ge({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(i){var c=i.className;return s.createElement("div",{style:{zIndex:r},className:ne("".concat(t,"-mask"),c)})}):null}var vl=s.memo(function(e){var t=e.children;return t},function(e,t){return t.cache});process.env.NODE_ENV!=="production"&&(vl.displayName="PopupContent");var ml=s.forwardRef(function(e,t){var n=e.popup,r=e.className,a=e.prefixCls,o=e.style,i=e.target,c=e.onVisibleChanged,l=e.open,u=e.keepDom,f=e.fresh,d=e.onClick,v=e.mask,h=e.arrow,p=e.arrowPos,g=e.align,m=e.motion,C=e.maskMotion,b=e.forceRender,S=e.getPopupContainer,y=e.autoDestroy,w=e.portal,E=e.zIndex,x=e.onMouseEnter,P=e.onMouseLeave,_=e.onPointerEnter,$=e.ready,I=e.offsetX,M=e.offsetY,R=e.offsetR,A=e.offsetB,O=e.onAlign,z=e.onPrepare,L=e.stretch,V=e.targetWidth,j=e.targetHeight,U=typeof n=="function"?n():n,se=l||u,H=(S==null?void 0:S.length)>0,Y=s.useState(!S||!H),J=N(Y,2),re=J[0],te=J[1];if(gt(function(){!re&&H&&i&&te(!0)},[re,H,i]),!re)return null;var Q="auto",G={left:"-1000vw",top:"-1000vh",right:Q,bottom:Q};if($||!l){var oe,ae=g.points,ce=g.dynamicInset||((oe=g._experimental)===null||oe===void 0?void 0:oe.dynamicInset),Me=ce&&ae[0][1]==="r",xe=ce&&ae[0][0]==="b";Me?(G.right=R,G.left=Q):(G.left=I,G.right=Q),xe?(G.bottom=A,G.top=Q):(G.top=M,G.bottom=Q)}var D={};return L&&(L.includes("height")&&j?D.height=j:L.includes("minHeight")&&j&&(D.minHeight=j),L.includes("width")&&V?D.width=V:L.includes("minWidth")&&V&&(D.minWidth=V)),l||(D.pointerEvents="none"),s.createElement(w,{open:b||se,getContainer:S&&function(){return S(i)},autoDestroy:y},s.createElement(zm,{prefixCls:a,open:l,zIndex:E,mask:v,motion:C}),s.createElement(tn,{onResize:O,disabled:!l},function(pe){return s.createElement(Sr,ge({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:b,leavedClassName:"".concat(a,"-hidden")},m,{onAppearPrepare:z,onEnterPrepare:z,visible:l,onVisibleChanged:function(we){var Z;m==null||(Z=m.onVisibleChanged)===null||Z===void 0||Z.call(m,we),c(we)}}),function(X,we){var Z=X.className,$e=X.style,de=ne(a,Z,r);return s.createElement("div",{ref:ca(pe,t,we),className:de,style:k(k(k(k({"--arrow-x":"".concat(p.x||0,"px"),"--arrow-y":"".concat(p.y||0,"px")},G),D),$e),{},{boxSizing:"border-box",zIndex:E},o),onMouseEnter:x,onMouseLeave:P,onPointerEnter:_,onClick:d},h&&s.createElement(Dm,{prefixCls:a,arrow:h,arrowPos:p,align:g}),s.createElement(vl,{cache:!l&&!f},U))})}))});process.env.NODE_ENV!=="production"&&(ml.displayName="Popup");var hl=s.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,a=qn(n),o=s.useCallback(function(c){Fo(t,r?r(c):c)},[r]),i=yr(o,n.ref);return a?s.cloneElement(n,{ref:i}):n});process.env.NODE_ENV!=="production"&&(hl.displayName="TriggerWrapper");var fs=s.createContext(null);function vs(e){return e?Array.isArray(e)?e:[e]:[]}function jm(e,t,n,r){return s.useMemo(function(){var a=vs(n??t),o=vs(r??t),i=new Set(a),c=new Set(o);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),c.has("hover")&&(c.delete("hover"),c.add("click"))),[i,c]},[e,t,n,r])}function Hm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function Bm(e,t,n,r){for(var a=n.points,o=Object.keys(e),i=0;i<o.length;i+=1){var c,l=o[i];if(Hm((c=e[l])===null||c===void 0?void 0:c.points,a,r))return"".concat(t,"-placement-").concat(l)}return""}function ms(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function Cr(e){return e.ownerDocument.defaultView}function Ao(e){for(var t=[],n=e==null?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var a=Cr(n).getComputedStyle(n),o=a.overflowX,i=a.overflowY,c=a.overflow;[o,i,c].some(function(l){return r.includes(l)})&&t.push(n),n=n.parentElement}return t}function pr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function ar(e){return pr(parseFloat(e),0)}function hs(e,t){var n=k({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var a=Cr(r).getComputedStyle(r),o=a.overflow,i=a.overflowClipMargin,c=a.borderTopWidth,l=a.borderBottomWidth,u=a.borderLeftWidth,f=a.borderRightWidth,d=r.getBoundingClientRect(),v=r.offsetHeight,h=r.clientHeight,p=r.offsetWidth,g=r.clientWidth,m=ar(c),C=ar(l),b=ar(u),S=ar(f),y=pr(Math.round(d.width/p*1e3)/1e3),w=pr(Math.round(d.height/v*1e3)/1e3),E=(p-g-b-S)*y,x=(v-h-m-C)*w,P=m*w,_=C*w,$=b*y,I=S*y,M=0,R=0;if(o==="clip"){var A=ar(i);M=A*y,R=A*w}var O=d.x+$-M,z=d.y+P-R,L=O+d.width+2*M-$-I-E,V=z+d.height+2*R-P-_-x;n.left=Math.max(n.left,O),n.top=Math.max(n.top,z),n.right=Math.min(n.right,L),n.bottom=Math.min(n.bottom,V)}}),n}function gs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function ps(e,t){var n=t||[],r=N(n,2),a=r[0],o=r[1];return[gs(e.width,a),gs(e.height,o)]}function bs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function In(e,t){var n=t[0],r=t[1],a,o;return n==="t"?o=e.y:n==="b"?o=e.y+e.height:o=e.y+e.height/2,r==="l"?a=e.x:r==="r"?a=e.x+e.width:a=e.x+e.width/2,{x:a,y:o}}function on(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,a){return a===t?n[r]||"c":r}).join("")}function Fm(e,t,n,r,a,o,i){var c=s.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[r]||{}}),l=N(c,2),u=l[0],f=l[1],d=s.useRef(0),v=s.useMemo(function(){return t?Ao(t):[]},[t]),h=s.useRef({}),p=function(){h.current={}};e||p();var g=Bt(function(){if(t&&n&&e){let Nt=function(Rr,_t){var Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$e,Pr=j.x+Rr,On=j.y+_t,Mr=Pr+G,tr=On+Q,Tr=Math.max(Pr,Tn.left),Na=Math.max(On,Tn.top),_a=Math.min(Mr,Tn.right),Ia=Math.min(tr,Tn.bottom);return Math.max(0,(_a-Tr)*(Ia-Na))},$r=function(){Rt=j.y+he,Ct=Rt+Q,et=j.x+me,Ee=et+G};var b,S,y=t,w=y.ownerDocument,E=Cr(y),x=E.getComputedStyle(y),P=x.width,_=x.height,$=x.position,I=y.style.left,M=y.style.top,R=y.style.right,A=y.style.bottom,O=k(k({},a[r]),o),z=w.createElement("div");(b=y.parentElement)===null||b===void 0||b.appendChild(z),z.style.left="".concat(y.offsetLeft,"px"),z.style.top="".concat(y.offsetTop,"px"),z.style.position=$,z.style.height="".concat(y.offsetHeight,"px"),z.style.width="".concat(y.offsetWidth,"px"),y.style.left="0",y.style.top="0",y.style.right="auto",y.style.bottom="auto";var L;if(Array.isArray(n))L={x:n[0],y:n[1],width:0,height:0};else{var V=n.getBoundingClientRect();L={x:V.x,y:V.y,width:V.width,height:V.height}}var j=y.getBoundingClientRect(),U=w.documentElement,se=U.clientWidth,H=U.clientHeight,Y=U.scrollWidth,J=U.scrollHeight,re=U.scrollTop,te=U.scrollLeft,Q=j.height,G=j.width,oe=L.height,ae=L.width,ce={left:0,top:0,right:se,bottom:H},Me={left:-te,top:-re,right:Y-te,bottom:J-re},xe=O.htmlRegion,D="visible",pe="visibleFirst";xe!=="scroll"&&xe!==pe&&(xe=D);var X=xe===pe,we=hs(Me,v),Z=hs(ce,v),$e=xe===D?Z:we,de=X?Z:$e;y.style.left="auto",y.style.top="auto",y.style.right="0",y.style.bottom="0";var le=y.getBoundingClientRect();y.style.left=I,y.style.top=M,y.style.right=R,y.style.bottom=A,(S=y.parentElement)===null||S===void 0||S.removeChild(z);var Te=pr(Math.round(G/parseFloat(P)*1e3)/1e3),fe=pr(Math.round(Q/parseFloat(_)*1e3)/1e3);if(Te===0||fe===0||Zr(n)&&!ol(n))return;var vt=O.offset,nt=O.targetOffset,Oe=ps(j,vt),Fe=N(Oe,2),We=Fe[0],ve=Fe[1],Ke=ps(L,nt),ke=N(Ke,2),st=ke[0],De=ke[1];L.x-=st,L.y-=De;var ct=O.points||[],Ie=N(ct,2),be=Ie[0],Re=Ie[1],qe=bs(Re),He=bs(be),Ze=In(L,qe),mt=In(j,He),ye=k({},O),me=Ze.x-mt.x+We,he=Ze.y-mt.y+ve,ee=Nt(me,he),Se=Nt(me,he,Z),F=In(L,["t","l"]),q=In(j,["t","l"]),Ce=In(L,["b","r"]),Ve=In(j,["b","r"]),Xe=O.overflow||{},ot=Xe.adjustX,Ut=Xe.adjustY,Ot=Xe.shiftX,lt=Xe.shiftY,Ue=function(_t){return typeof _t=="boolean"?_t:_t>=0},Rt,Ct,et,Ee;$r();var ue=Ue(Ut),Le=He[0]===qe[0];if(ue&&He[0]==="t"&&(Ct>de.bottom||h.current.bt)){var Be=he;Le?Be-=Q-oe:Be=F.y-Ve.y-ve;var Et=Nt(me,Be),ut=Nt(me,Be,Z);Et>ee||Et===ee&&(!X||ut>=Se)?(h.current.bt=!0,he=Be,ve=-ve,ye.points=[on(He,0),on(qe,0)]):h.current.bt=!1}if(ue&&He[0]==="b"&&(Rt<de.top||h.current.tb)){var xt=he;Le?xt+=Q-oe:xt=Ce.y-q.y-ve;var rt=Nt(me,xt),fn=Nt(me,xt,Z);rt>ee||rt===ee&&(!X||fn>=Se)?(h.current.tb=!0,he=xt,ve=-ve,ye.points=[on(He,0),on(qe,0)]):h.current.tb=!1}var At=Ue(ot),Gt=He[1]===qe[1];if(At&&He[1]==="l"&&(Ee>de.right||h.current.rl)){var pt=me;Gt?pt-=G-ae:pt=F.x-Ve.x-We;var Kt=Nt(pt,he),vn=Nt(pt,he,Z);Kt>ee||Kt===ee&&(!X||vn>=Se)?(h.current.rl=!0,me=pt,We=-We,ye.points=[on(He,1),on(qe,1)]):h.current.rl=!1}if(At&&He[1]==="r"&&(et<de.left||h.current.lr)){var qt=me;Gt?qt+=G-ae:qt=Ce.x-q.x-We;var Rn=Nt(qt,he),Pn=Nt(qt,he,Z);Rn>ee||Rn===ee&&(!X||Pn>=Se)?(h.current.lr=!0,me=qt,We=-We,ye.points=[on(He,1),on(qe,1)]):h.current.lr=!1}$r();var bt=Ot===!0?0:Ot;typeof bt=="number"&&(et<Z.left&&(me-=et-Z.left-We,L.x+ae<Z.left+bt&&(me+=L.x-Z.left+ae-bt)),Ee>Z.right&&(me-=Ee-Z.right-We,L.x>Z.right-bt&&(me+=L.x-Z.right+bt)));var kt=lt===!0?0:lt;typeof kt=="number"&&(Rt<Z.top&&(he-=Rt-Z.top-ve,L.y+oe<Z.top+kt&&(he+=L.y-Z.top+oe-kt)),Ct>Z.bottom&&(he-=Ct-Z.bottom-ve,L.y>Z.bottom-kt&&(he+=L.y-Z.bottom+kt)));var mn=j.x+me,Mn=mn+G,Lt=j.y+he,Xt=Lt+Q,hn=L.x,an=hn+ae,Dt=L.y,Jn=Dt+oe,ze=Math.max(mn,hn),Pe=Math.min(Mn,an),Ae=(ze+Pe)/2,it=Ae-mn,dt=Math.max(Lt,Dt),zt=Math.min(Xt,Jn),Vt=(dt+zt)/2,er=Vt-Lt;i==null||i(t,ye);var Oa=le.right-j.x-(me+j.width),wr=le.bottom-j.y-(he+j.height);f({ready:!0,offsetX:me/Te,offsetY:he/fe,offsetR:Oa/Te,offsetB:wr/fe,arrowX:it/Te,arrowY:er/fe,scaleX:Te,scaleY:fe,align:ye})}}),m=function(){d.current+=1;var S=d.current;Promise.resolve().then(function(){d.current===S&&g()})},C=function(){f(function(S){return k(k({},S),{},{ready:!1})})};return gt(C,[r]),gt(function(){e||C()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,m]}function Wm(e,t,n,r,a){gt(function(){if(e&&t&&n){let d=function(){r(),a()};var o=t,i=n,c=Ao(o),l=Ao(i),u=Cr(i),f=new Set([u].concat(Je(c),Je(l)));return f.forEach(function(v){v.addEventListener("scroll",d,{passive:!0})}),u.addEventListener("resize",d,{passive:!0}),r(),function(){f.forEach(function(v){v.removeEventListener("scroll",d),u.removeEventListener("resize",d)})}}},[e,t,n])}function Km(e,t,n,r,a,o,i,c){var l=s.useRef(e),u=s.useRef(!1);l.current!==e&&(u.current=!0,l.current=e),s.useEffect(function(){var f=wt(function(){u.current=!1});return function(){wt.cancel(f)}},[e]),s.useEffect(function(){if(t&&r&&(!a||o)){var f=function(){var $=!1,I=function(A){var O=A.target;$=i(O)},M=function(A){var O=A.target;!u.current&&l.current&&!$&&!i(O)&&c(!1)};return[I,M]},d=f(),v=N(d,2),h=v[0],p=v[1],g=f(),m=N(g,2),C=m[0],b=m[1],S=Cr(r);S.addEventListener("mousedown",h,!0),S.addEventListener("click",p,!0),S.addEventListener("contextmenu",p,!0);var y=Io(n);if(y&&(y.addEventListener("mousedown",C,!0),y.addEventListener("click",b,!0),y.addEventListener("contextmenu",b,!0)),process.env.NODE_ENV!=="production"){var w,E,x=n==null||(w=n.getRootNode)===null||w===void 0?void 0:w.call(n),P=(E=r.getRootNode)===null||E===void 0?void 0:E.call(r);Vn(x===P,"trigger element and popup element should in same shadow root.")}return function(){S.removeEventListener("mousedown",h,!0),S.removeEventListener("click",p,!0),S.removeEventListener("contextmenu",p,!0),y&&(y.removeEventListener("mousedown",C,!0),y.removeEventListener("click",b,!0),y.removeEventListener("contextmenu",b,!0))}}},[t,n,r,a,o])}var Vm=["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 Um(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:si,t=s.forwardRef(function(n,r){var a=n.prefixCls,o=a===void 0?"rc-trigger-popup":a,i=n.children,c=n.action,l=c===void 0?"hover":c,u=n.showAction,f=n.hideAction,d=n.popupVisible,v=n.defaultPopupVisible,h=n.onPopupVisibleChange,p=n.afterPopupVisibleChange,g=n.mouseEnterDelay,m=n.mouseLeaveDelay,C=m===void 0?.1:m,b=n.focusDelay,S=n.blurDelay,y=n.mask,w=n.maskClosable,E=w===void 0?!0:w,x=n.getPopupContainer,P=n.forceRender,_=n.autoDestroy,$=n.destroyPopupOnHide,I=n.popup,M=n.popupClassName,R=n.popupStyle,A=n.popupPlacement,O=n.builtinPlacements,z=O===void 0?{}:O,L=n.popupAlign,V=n.zIndex,j=n.stretch,U=n.getPopupClassNameFromAlign,se=n.fresh,H=n.alignPoint,Y=n.onPopupClick,J=n.onPopupAlign,re=n.arrow,te=n.popupMotion,Q=n.maskMotion,G=n.popupTransitionName,oe=n.popupAnimation,ae=n.maskTransitionName,ce=n.maskAnimation,Me=n.className,xe=n.getTriggerDOMNode,D=je(n,Vm),pe=_||$||!1,X=s.useState(!1),we=N(X,2),Z=we[0],$e=we[1];gt(function(){$e(cl())},[]);var de=s.useRef({}),le=s.useContext(fs),Te=s.useMemo(function(){return{registerSubPopup:function(ie,Ye){de.current[ie]=Ye,le==null||le.registerSubPopup(ie,Ye)}}},[le]),fe=fm(),vt=s.useState(null),nt=N(vt,2),Oe=nt[0],Fe=nt[1],We=Bt(function(K){Zr(K)&&Oe!==K&&Fe(K),le==null||le.registerSubPopup(fe,K)}),ve=s.useState(null),Ke=N(ve,2),ke=Ke[0],st=Ke[1],De=s.useRef(null),ct=Bt(function(K){Zr(K)&&ke!==K&&(st(K),De.current=K)}),Ie=s.Children.only(i),be=(Ie==null?void 0:Ie.props)||{},Re={},qe=Bt(function(K){var ie,Ye,at=ke;return(at==null?void 0:at.contains(K))||((ie=Io(at))===null||ie===void 0?void 0:ie.host)===K||K===at||(Oe==null?void 0:Oe.contains(K))||((Ye=Io(Oe))===null||Ye===void 0?void 0:Ye.host)===K||K===Oe||Object.values(de.current).some(function(Qe){return(Qe==null?void 0:Qe.contains(K))||K===Qe})}),He=ms(o,te,oe,G),Ze=ms(o,Q,ce,ae),mt=s.useState(v||!1),ye=N(mt,2),me=ye[0],he=ye[1],ee=d??me,Se=Bt(function(K){d===void 0&&he(K)});gt(function(){he(d||!1)},[d]);var F=s.useRef(ee);F.current=ee;var q=s.useRef([]);q.current=[];var Ce=Bt(function(K){var ie;Se(K),((ie=q.current[q.current.length-1])!==null&&ie!==void 0?ie:ee)!==K&&(q.current.push(K),h==null||h(K))}),Ve=s.useRef(),Xe=function(){clearTimeout(Ve.current)},ot=function(ie){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Xe(),Ye===0?Ce(ie):Ve.current=setTimeout(function(){Ce(ie)},Ye*1e3)};s.useEffect(function(){return Xe},[]);var Ut=s.useState(!1),Ot=N(Ut,2),lt=Ot[0],Ue=Ot[1];gt(function(K){(!K||ee)&&Ue(!0)},[ee]);var Rt=s.useState(null),Ct=N(Rt,2),et=Ct[0],Ee=Ct[1],ue=s.useState([0,0]),Le=N(ue,2),Be=Le[0],Et=Le[1],ut=function(ie){Et([ie.clientX,ie.clientY])},xt=Fm(ee,Oe,H?Be:ke,A,z,L,J),rt=N(xt,11),fn=rt[0],At=rt[1],Gt=rt[2],pt=rt[3],Kt=rt[4],vn=rt[5],qt=rt[6],Rn=rt[7],Pn=rt[8],bt=rt[9],kt=rt[10],mn=jm(Z,l,u,f),Mn=N(mn,2),Lt=Mn[0],Xt=Mn[1],hn=Lt.has("click"),an=Xt.has("click")||Xt.has("contextMenu"),Dt=Bt(function(){lt||kt()}),Jn=function(){F.current&&H&&an&&ot(!1)};Wm(ee,ke,Oe,Dt,Jn),gt(function(){Dt()},[Be,A]),gt(function(){ee&&!(z!=null&&z[A])&&Dt()},[JSON.stringify(L)]);var ze=s.useMemo(function(){var K=Bm(z,o,bt,H);return ne(K,U==null?void 0:U(bt))},[bt,U,z,o,H]);s.useImperativeHandle(r,function(){return{nativeElement:De.current,forceAlign:Dt}});var Pe=s.useState(0),Ae=N(Pe,2),it=Ae[0],dt=Ae[1],zt=s.useState(0),Vt=N(zt,2),er=Vt[0],Oa=Vt[1],wr=function(){if(j&&ke){var ie=ke.getBoundingClientRect();dt(ie.width),Oa(ie.height)}},Nt=function(){wr(),Dt()},$r=function(ie){Ue(!1),kt(),p==null||p(ie)},Rr=function(){return new Promise(function(ie){wr(),Ee(function(){return ie})})};gt(function(){et&&(kt(),et(),Ee(null))},[et]);function _t(K,ie,Ye,at){Re[K]=function(Qe){var Or;at==null||at(Qe),ot(ie,Ye);for(var Aa=arguments.length,gi=new Array(Aa>1?Aa-1:0),Nr=1;Nr<Aa;Nr++)gi[Nr-1]=arguments[Nr];(Or=be[K])===null||Or===void 0||Or.call.apply(Or,[be,Qe].concat(gi))}}(hn||an)&&(Re.onClick=function(K){var ie;F.current&&an?ot(!1):!F.current&&hn&&(ut(K),ot(!0));for(var Ye=arguments.length,at=new Array(Ye>1?Ye-1:0),Qe=1;Qe<Ye;Qe++)at[Qe-1]=arguments[Qe];(ie=be.onClick)===null||ie===void 0||ie.call.apply(ie,[be,K].concat(at))}),Km(ee,an,ke,Oe,y,E,qe,ot);var Tn=Lt.has("hover"),Pr=Xt.has("hover"),On,Mr;Tn&&(_t("onMouseEnter",!0,g,function(K){ut(K)}),_t("onPointerEnter",!0,g,function(K){ut(K)}),On=function(){(ee||lt)&&ot(!0,g)},H&&(Re.onMouseMove=function(K){var ie;(ie=be.onMouseMove)===null||ie===void 0||ie.call(be,K)})),Pr&&(_t("onMouseLeave",!1,C),_t("onPointerLeave",!1,C),Mr=function(){ot(!1,C)}),Lt.has("focus")&&_t("onFocus",!0,b),Xt.has("focus")&&_t("onBlur",!1,S),Lt.has("contextMenu")&&(Re.onContextMenu=function(K){var ie;F.current&&Xt.has("contextMenu")?ot(!1):(ut(K),ot(!0)),K.preventDefault();for(var Ye=arguments.length,at=new Array(Ye>1?Ye-1:0),Qe=1;Qe<Ye;Qe++)at[Qe-1]=arguments[Qe];(ie=be.onContextMenu)===null||ie===void 0||ie.call.apply(ie,[be,K].concat(at))}),Me&&(Re.className=ne(be.className,Me));var tr=k(k({},be),Re),Tr={},Na=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Na.forEach(function(K){D[K]&&(Tr[K]=function(){for(var ie,Ye=arguments.length,at=new Array(Ye),Qe=0;Qe<Ye;Qe++)at[Qe]=arguments[Qe];(ie=tr[K])===null||ie===void 0||ie.call.apply(ie,[tr].concat(at)),D[K].apply(D,at)})});var _a=s.cloneElement(Ie,k(k({},tr),Tr)),Ia={x:vn,y:qt},Hl=re?k({},re!==!0?re:{}):null;return s.createElement(s.Fragment,null,s.createElement(tn,{disabled:!ee,ref:ct,onResize:Nt},s.createElement(hl,{getTriggerDOMNode:xe},_a)),s.createElement(fs.Provider,{value:Te},s.createElement(ml,{portal:e,ref:We,prefixCls:o,popup:I,className:ne(M,ze),style:R,target:ke,onMouseEnter:On,onMouseLeave:Mr,onPointerEnter:On,zIndex:V,open:ee,keepDom:lt,fresh:se,onClick:Y,mask:y,motion:He,maskMotion:Ze,onVisibleChanged:$r,onPrepare:Rr,forceRender:P,autoDestroy:pe,getPopupContainer:x,align:bt,arrow:Hl,arrowPos:Ia,ready:fn,offsetX:At,offsetY:Gt,offsetR:pt,offsetB:Kt,onAlign:Dt,stretch:j,targetWidth:it/Rn,targetHeight:er/Pn})))});return process.env.NODE_ENV!=="production"&&(t.displayName="Trigger"),t}const gl=Um(si);var Gm=B.ESC,qm=B.TAB;function Xm(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,a=e.autoFocus,o=e.overlayRef,i=s.useRef(!1),c=function(){if(t){var d,v;(d=n.current)===null||d===void 0||(v=d.focus)===null||v===void 0||v.call(d),r==null||r(!1)}},l=function(){var d;return(d=o.current)!==null&&d!==void 0&&d.focus?(o.current.focus(),i.current=!0,!0):!1},u=function(d){switch(d.keyCode){case Gm:c();break;case qm:{var v=!1;i.current||(v=l()),v?d.preventDefault():c();break}}};s.useEffect(function(){return t?(window.addEventListener("keydown",u),a&&wt(l,3),function(){window.removeEventListener("keydown",u),i.current=!1}):function(){i.current=!1}},[t])}var Ym=T.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,a=e.prefixCls,o=T.useMemo(function(){var c;return typeof n=="function"?c=n():c=n,c},[n]),i=ca(t,o==null?void 0:o.ref);return T.createElement(T.Fragment,null,r&&T.createElement("div",{className:"".concat(a,"-arrow")}),T.cloneElement(o,{ref:qn(o)?i:void 0}))}),An={adjustX:1,adjustY:1},kn=[0,0],Qm={topLeft:{points:["bl","tl"],overflow:An,offset:[0,-4],targetOffset:kn},top:{points:["bc","tc"],overflow:An,offset:[0,-4],targetOffset:kn},topRight:{points:["br","tr"],overflow:An,offset:[0,-4],targetOffset:kn},bottomLeft:{points:["tl","bl"],overflow:An,offset:[0,4],targetOffset:kn},bottom:{points:["tc","bc"],overflow:An,offset:[0,4],targetOffset:kn},bottomRight:{points:["tr","br"],overflow:An,offset:[0,4],targetOffset:kn}},Zm=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Jm(e,t){var n,r=e.arrow,a=r===void 0?!1:r,o=e.prefixCls,i=o===void 0?"rc-dropdown":o,c=e.transitionName,l=e.animation,u=e.align,f=e.placement,d=f===void 0?"bottomLeft":f,v=e.placements,h=v===void 0?Qm:v,p=e.getPopupContainer,g=e.showAction,m=e.hideAction,C=e.overlayClassName,b=e.overlayStyle,S=e.visible,y=e.trigger,w=y===void 0?["hover"]:y,E=e.autoFocus,x=e.overlay,P=e.children,_=e.onVisibleChange,$=je(e,Zm),I=T.useState(),M=N(I,2),R=M[0],A=M[1],O="visible"in e?S:R,z=T.useRef(null),L=T.useRef(null),V=T.useRef(null);T.useImperativeHandle(t,function(){return z.current});var j=function(G){A(G),_==null||_(G)};Xm({visible:O,triggerRef:V,onVisibleChange:j,autoFocus:E,overlayRef:L});var U=function(G){var oe=e.onOverlayClick;A(!1),oe&&oe(G)},se=function(){return T.createElement(Ym,{ref:L,overlay:x,prefixCls:i,arrow:a})},H=function(){return typeof x=="function"?se:se()},Y=function(){var G=e.minOverlayWidthMatchTrigger,oe=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?G:!oe},J=function(){var G=e.openClassName;return G!==void 0?G:"".concat(i,"-open")},re=T.cloneElement(P,{className:ne((n=P.props)===null||n===void 0?void 0:n.className,O&&J()),ref:qn(P)?ca(V,P.ref):void 0}),te=m;return!te&&w.indexOf("contextMenu")!==-1&&(te=["click"]),T.createElement(gl,ge({builtinPlacements:h},$,{prefixCls:i,ref:z,popupClassName:ne(C,W({},"".concat(i,"-show-arrow"),a)),popupStyle:b,action:w,showAction:g,hideAction:te,popupPlacement:d,popupAlign:u,popupTransitionName:c,popupAnimation:l,popupVisible:O,stretch:Y()?"minWidth":"",popup:H(),onPopupVisibleChange:j,onPopupClick:U,getPopupContainer:p}),re)}const eh=T.forwardRef(Jm);var pl=s.createContext(null);function ci(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function bl(e){var t=s.useContext(pl);return ci(t,e)}var th=["children","locked"],Wt=s.createContext(null);function nh(e,t){var n=k({},e);return Object.keys(t).forEach(function(r){var a=t[r];a!==void 0&&(n[r]=a)}),n}function br(e){var t=e.children,n=e.locked,r=je(e,th),a=s.useContext(Wt),o=sa(function(){return nh(a,r)},[a,r],function(i,c){return!n&&(i[0]!==c[0]||!Uo(i[1],c[1],!0))});return s.createElement(Wt.Provider,{value:o},t)}var rh=[],yl=s.createContext(null);function wa(){return s.useContext(yl)}var Sl=s.createContext(rh);function Er(e){var t=s.useContext(Sl);return s.useMemo(function(){return e!==void 0?[].concat(Je(t),[e]):t},[t,e])}var Cl=s.createContext(null),li=s.createContext({});function ys(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(ol(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),o=Number(a),i=null;return a&&!Number.isNaN(o)?i=o:r&&i===null&&(i=0),r&&e.disabled&&(i=null),i!==null&&(i>=0||t&&i<0)}return!1}function ah(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Je(e.querySelectorAll("*")).filter(function(r){return ys(r,t)});return ys(e,t)&&n.unshift(e),n}var ko=B.LEFT,Lo=B.RIGHT,Do=B.UP,Xr=B.DOWN,Yr=B.ENTER,El=B.ESC,or=B.HOME,ir=B.END,Ss=[Do,Xr,ko,Lo];function oh(e,t,n,r){var a,o,i,c,l="prev",u="next",f="children",d="parent";if(e==="inline"&&r===Yr)return{inlineTrigger:!0};var v=(a={},W(a,Do,l),W(a,Xr,u),a),h=(o={},W(o,ko,n?u:l),W(o,Lo,n?l:u),W(o,Xr,f),W(o,Yr,f),o),p=(i={},W(i,Do,l),W(i,Xr,u),W(i,Yr,f),W(i,El,d),W(i,ko,n?f:d),W(i,Lo,n?d:f),i),g={inline:v,horizontal:h,vertical:p,inlineSub:v,horizontalSub:p,verticalSub:p},m=(c=g["".concat(e).concat(t?"":"Sub")])===null||c===void 0?void 0:c[r];switch(m){case l:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}function ih(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function sh(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function xl(e,t){var n=ah(e,!0);return n.filter(function(r){return t.has(r)})}function Cs(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var a=xl(e,t),o=a.length,i=a.findIndex(function(c){return n===c});return r<0?i===-1?i=o-1:i-=1:r>0&&(i+=1),i=(i+o)%o,a[i]}function ch(e,t,n,r,a,o,i,c,l,u){var f=s.useRef(),d=s.useRef();d.current=t;var v=function(){wt.cancel(f.current)};return s.useEffect(function(){return function(){v()}},[]),function(h){var p=h.which;if([].concat(Ss,[Yr,El,or,ir]).includes(p)){var g,m,C,b=function(){g=new Set,m=new Map,C=new Map;var O=o();return O.forEach(function(z){var L=document.querySelector("[data-menu-id='".concat(ci(r,z),"']"));L&&(g.add(L),C.set(L,z),m.set(z,L))}),g};b();var S=m.get(t),y=sh(S,g),w=C.get(y),E=oh(e,i(w,!0).length===1,n,p);if(!E&&p!==or&&p!==ir)return;(Ss.includes(p)||[or,ir].includes(p))&&h.preventDefault();var x=function(O){if(O){var z=O,L=O.querySelector("a");L!=null&&L.getAttribute("href")&&(z=L);var V=C.get(O);c(V),v(),f.current=wt(function(){d.current===V&&z.focus()})}};if([or,ir].includes(p)||E.sibling||!y){var P;!y||e==="inline"?P=a.current:P=ih(y);var _,$=xl(P,g);p===or?_=$[0]:p===ir?_=$[$.length-1]:_=Cs(P,g,y,E.offset),x(_)}else if(E.inlineTrigger)l(w);else if(E.offset>0)l(w,!0),v(),f.current=wt(function(){b();var A=y.getAttribute("aria-controls"),O=document.getElementById(A),z=Cs(O,g);x(z)},5);else if(E.offset<0){var I=i(w,!0),M=I[I.length-2],R=m.get(M);l(M,!1),x(R)}}u==null||u(h)}}function lh(e){Promise.resolve().then(e)}var ui="__RC_UTIL_PATH_SPLIT__",Es=function(t){return t.join(ui)},uh=function(t){return t.split(ui)},zo="rc-menu-more";function dh(){var e=s.useState({}),t=N(e,2),n=t[1],r=T.useRef(new Map),a=T.useRef(new Map),o=s.useState([]),i=N(o,2),c=i[0],l=i[1],u=T.useRef(0),f=T.useRef(!1),d=function(){f.current||n({})},v=T.useCallback(function(S,y){process.env.NODE_ENV!=="production"&&St(!r.current.has(S),"Duplicated key '".concat(S,"' used in Menu by path [").concat(y.join(" > "),"]"));var w=Es(y);a.current.set(w,S),r.current.set(S,w),u.current+=1;var E=u.current;lh(function(){E===u.current&&d()})},[]),h=T.useCallback(function(S,y){var w=Es(y);a.current.delete(w),r.current.delete(S)},[]),p=T.useCallback(function(S){l(S)},[]),g=T.useCallback(function(S,y){var w=r.current.get(S)||"",E=uh(w);return y&&c.includes(E[0])&&E.unshift(zo),E},[c]),m=T.useCallback(function(S,y){return S.some(function(w){var E=g(w,!0);return E.includes(y)})},[g]),C=function(){var y=Je(r.current.keys());return c.length&&y.push(zo),y},b=T.useCallback(function(S){var y="".concat(r.current.get(S)).concat(ui),w=new Set;return Je(a.current.keys()).forEach(function(E){E.startsWith(y)&&w.add(a.current.get(E))}),w},[]);return s.useEffect(function(){return function(){f.current=!0}},[]),{registerPath:v,unregisterPath:h,refreshOverflowKeys:p,isSubPathKey:m,getKeyPath:g,getKeys:C,getSubPathKeys:b}}function sr(e){var t=s.useRef(e);t.current=e;var n=s.useCallback(function(){for(var r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(o))},[]);return e?n:void 0}var fh=Math.random().toFixed(5).toString().slice(2),xs=0;function vh(e){var t=Wn(e,{value:e}),n=N(t,2),r=n[0],a=n[1];return s.useEffect(function(){xs+=1;var o=process.env.NODE_ENV==="test"?"test":"".concat(fh,"-").concat(xs);a("rc-menu-uuid-".concat(o))},[]),r}function wl(e,t,n,r){var a=s.useContext(Wt),o=a.activeKey,i=a.onActive,c=a.onInactive,l={active:o===e};return t||(l.onMouseEnter=function(u){n==null||n({key:e,domEvent:u}),i(e)},l.onMouseLeave=function(u){r==null||r({key:e,domEvent:u}),c(e)}),l}function $l(e){var t=s.useContext(Wt),n=t.mode,r=t.rtl,a=t.inlineIndent;if(n!=="inline")return null;var o=e;return r?{paddingRight:o*a}:{paddingLeft:o*a}}function Rl(e){var t=e.icon,n=e.props,r=e.children,a;return t===null||t===!1?null:(typeof t=="function"?a=s.createElement(t,k({},n)):typeof t!="boolean"&&(a=t),a||r||null)}var mh=["item"];function oa(e){var t=e.item,n=je(e,mh);return Object.defineProperty(n,"item",{get:function(){return St(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var hh=["title","attribute","elementRef"],gh=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ph=["active"],bh=function(e){ua(n,e);var t=da(n);function n(){return un(this,n),t.apply(this,arguments)}return dn(n,[{key:"render",value:function(){var a=this.props,o=a.title,i=a.attribute,c=a.elementRef,l=je(a,hh),u=Xn(l,["eventKey","popupClassName","popupOffset","onTitleClick"]);return St(!i,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),s.createElement(nn.Item,ge({},i,{title:typeof o=="string"?o:void 0},u,{ref:c}))}}]),n}(s.Component),yh=s.forwardRef(function(e,t){var n,r=e.style,a=e.className,o=e.eventKey,i=e.warnKey,c=e.disabled,l=e.itemIcon,u=e.children,f=e.role,d=e.onMouseEnter,v=e.onMouseLeave,h=e.onClick,p=e.onKeyDown,g=e.onFocus,m=je(e,gh),C=bl(o),b=s.useContext(Wt),S=b.prefixCls,y=b.onItemClick,w=b.disabled,E=b.overflowDisabled,x=b.itemIcon,P=b.selectedKeys,_=b.onActive,$=s.useContext(li),I=$._internalRenderMenuItem,M="".concat(S,"-item"),R=s.useRef(),A=s.useRef(),O=w||c,z=yr(t,A),L=Er(o);process.env.NODE_ENV!=="production"&&i&&St(!1,"MenuItem should not leave undefined `key`.");var V=function(ce){return{key:o,keyPath:Je(L).reverse(),item:R.current,domEvent:ce}},j=l||x,U=wl(o,O,d,v),se=U.active,H=je(U,ph),Y=P.includes(o),J=$l(L.length),re=function(ce){if(!O){var Me=V(ce);h==null||h(oa(Me)),y(Me)}},te=function(ce){if(p==null||p(ce),ce.which===B.ENTER){var Me=V(ce);h==null||h(oa(Me)),y(Me)}},Q=function(ce){_(o),g==null||g(ce)},G={};e.role==="option"&&(G["aria-selected"]=Y);var oe=s.createElement(bh,ge({ref:R,elementRef:z,role:f===null?"none":f||"menuitem",tabIndex:c?null:-1,"data-menu-id":E&&C?null:C},m,H,G,{component:"li","aria-disabled":c,style:k(k({},J),r),className:ne(M,(n={},W(n,"".concat(M,"-active"),se),W(n,"".concat(M,"-selected"),Y),W(n,"".concat(M,"-disabled"),O),n),a),onClick:re,onKeyDown:te,onFocus:Q}),u,s.createElement(Rl,{props:k(k({},e),{},{isSelected:Y}),icon:j}));return I&&(oe=I(oe,e,{selected:Y})),oe});function Sh(e,t){var n=e.eventKey,r=wa(),a=Er(n);return s.useEffect(function(){if(r)return r.registerPath(n,a),function(){r.unregisterPath(n,a)}},[a]),r?null:s.createElement(yh,ge({},e,{ref:t}))}const $a=s.forwardRef(Sh);var Ch=["className","children"],Eh=function(t,n){var r=t.className,a=t.children,o=je(t,Ch),i=s.useContext(Wt),c=i.prefixCls,l=i.mode,u=i.rtl;return s.createElement("ul",ge({className:ne(c,u&&"".concat(c,"-rtl"),"".concat(c,"-sub"),"".concat(c,"-").concat(l==="inline"?"inline":"vertical"),r),role:"menu"},o,{"data-menu-list":!0,ref:n}),a)},di=s.forwardRef(Eh);di.displayName="SubMenuList";function fi(e,t){return dr(e).map(function(n,r){if(s.isValidElement(n)){var a,o,i=n.key,c=(a=(o=n.props)===null||o===void 0?void 0:o.eventKey)!==null&&a!==void 0?a:i,l=c==null;l&&(c="tmp_key-".concat([].concat(Je(t),[r]).join("-")));var u={key:c,eventKey:c};return process.env.NODE_ENV!=="production"&&l&&(u.warnKey=!0),s.cloneElement(n,u)}return n})}var ht={adjustX:1,adjustY:1},xh={topLeft:{points:["bl","tl"],overflow:ht},topRight:{points:["br","tr"],overflow:ht},bottomLeft:{points:["tl","bl"],overflow:ht},bottomRight:{points:["tr","br"],overflow:ht},leftTop:{points:["tr","tl"],overflow:ht},leftBottom:{points:["br","bl"],overflow:ht},rightTop:{points:["tl","tr"],overflow:ht},rightBottom:{points:["bl","br"],overflow:ht}},wh={topLeft:{points:["bl","tl"],overflow:ht},topRight:{points:["br","tr"],overflow:ht},bottomLeft:{points:["tl","bl"],overflow:ht},bottomRight:{points:["tr","br"],overflow:ht},rightTop:{points:["tr","tl"],overflow:ht},rightBottom:{points:["br","bl"],overflow:ht},leftTop:{points:["tl","tr"],overflow:ht},leftBottom:{points:["bl","br"],overflow:ht}};function Pl(e,t,n){if(t)return t;if(n)return n[e]||n.other}var $h={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Rh(e){var t=e.prefixCls,n=e.visible,r=e.children,a=e.popup,o=e.popupStyle,i=e.popupClassName,c=e.popupOffset,l=e.disabled,u=e.mode,f=e.onVisibleChange,d=s.useContext(Wt),v=d.getPopupContainer,h=d.rtl,p=d.subMenuOpenDelay,g=d.subMenuCloseDelay,m=d.builtinPlacements,C=d.triggerSubMenuAction,b=d.forceSubMenuRender,S=d.rootClassName,y=d.motion,w=d.defaultMotions,E=s.useState(!1),x=N(E,2),P=x[0],_=x[1],$=k(h?k({},wh):k({},xh),m),I=$h[u],M=Pl(u,y,w),R=s.useRef(M);u!=="inline"&&(R.current=M);var A=k(k({},R.current),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),O=s.useRef();return s.useEffect(function(){return O.current=wt(function(){_(n)}),function(){wt.cancel(O.current)}},[n]),s.createElement(gl,{prefixCls:t,popupClassName:ne("".concat(t,"-popup"),W({},"".concat(t,"-rtl"),h),i,S),stretch:u==="horizontal"?"minWidth":null,getPopupContainer:v,builtinPlacements:$,popupPlacement:I,popupVisible:P,popup:a,popupStyle:o,popupAlign:c&&{offset:c},action:l?[]:[C],mouseEnterDelay:p,mouseLeaveDelay:g,onPopupVisibleChange:f,forceRender:b,popupMotion:A,fresh:!0},r)}function Ph(e){var t=e.id,n=e.open,r=e.keyPath,a=e.children,o="inline",i=s.useContext(Wt),c=i.prefixCls,l=i.forceSubMenuRender,u=i.motion,f=i.defaultMotions,d=i.mode,v=s.useRef(!1);v.current=d===o;var h=s.useState(!v.current),p=N(h,2),g=p[0],m=p[1],C=v.current?n:!1;s.useEffect(function(){v.current&&m(!1)},[d]);var b=k({},Pl(o,u,f));r.length>1&&(b.motionAppear=!1);var S=b.onVisibleChanged;return b.onVisibleChanged=function(y){return!v.current&&!y&&m(!0),S==null?void 0:S(y)},g?null:s.createElement(br,{mode:o,locked:!v.current},s.createElement(Sr,ge({visible:C},b,{forceRender:l,removeOnLeave:!1,leavedClassName:"".concat(c,"-hidden")}),function(y){var w=y.className,E=y.style;return s.createElement(di,{id:t,className:w,style:E},a)}))}var Mh=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Th=["active"],Oh=function(t){var n,r=t.style,a=t.className,o=t.title,i=t.eventKey,c=t.warnKey,l=t.disabled,u=t.internalPopupClose,f=t.children,d=t.itemIcon,v=t.expandIcon,h=t.popupClassName,p=t.popupOffset,g=t.popupStyle,m=t.onClick,C=t.onMouseEnter,b=t.onMouseLeave,S=t.onTitleClick,y=t.onTitleMouseEnter,w=t.onTitleMouseLeave,E=je(t,Mh),x=bl(i),P=s.useContext(Wt),_=P.prefixCls,$=P.mode,I=P.openKeys,M=P.disabled,R=P.overflowDisabled,A=P.activeKey,O=P.selectedKeys,z=P.itemIcon,L=P.expandIcon,V=P.onItemClick,j=P.onOpenChange,U=P.onActive,se=s.useContext(li),H=se._internalRenderSubMenuItem,Y=s.useContext(Cl),J=Y.isSubPathKey,re=Er(),te="".concat(_,"-submenu"),Q=M||l,G=s.useRef(),oe=s.useRef();process.env.NODE_ENV!=="production"&&c&&St(!1,"SubMenu should not leave undefined `key`.");var ae=d??z,ce=v??L,Me=I.includes(i),xe=!R&&Me,D=J(O,i),pe=wl(i,Q,y,w),X=pe.active,we=je(pe,Th),Z=s.useState(!1),$e=N(Z,2),de=$e[0],le=$e[1],Te=function(Re){Q||le(Re)},fe=function(Re){Te(!0),C==null||C({key:i,domEvent:Re})},vt=function(Re){Te(!1),b==null||b({key:i,domEvent:Re})},nt=s.useMemo(function(){return X||($!=="inline"?de||J([A],i):!1)},[$,X,A,de,i,J]),Oe=$l(re.length),Fe=function(Re){Q||(S==null||S({key:i,domEvent:Re}),$==="inline"&&j(i,!Me))},We=sr(function(be){m==null||m(oa(be)),V(be)}),ve=function(Re){$!=="inline"&&j(i,Re)},Ke=function(){U(i)},ke=x&&"".concat(x,"-popup"),st=s.createElement("div",ge({role:"menuitem",style:Oe,className:"".concat(te,"-title"),tabIndex:Q?null:-1,ref:G,title:typeof o=="string"?o:null,"data-menu-id":R&&x?null:x,"aria-expanded":xe,"aria-haspopup":!0,"aria-controls":ke,"aria-disabled":Q,onClick:Fe,onFocus:Ke},we),o,s.createElement(Rl,{icon:$!=="horizontal"?ce:void 0,props:k(k({},t),{},{isOpen:xe,isSubMenu:!0})},s.createElement("i",{className:"".concat(te,"-arrow")}))),De=s.useRef($);if($!=="inline"&&re.length>1?De.current="vertical":De.current=$,!R){var ct=De.current;st=s.createElement(Rh,{mode:ct,prefixCls:te,visible:!u&&xe&&$!=="inline",popupClassName:h,popupOffset:p,popupStyle:g,popup:s.createElement(br,{mode:ct==="horizontal"?"vertical":ct},s.createElement(di,{id:ke,ref:oe},f)),disabled:Q,onVisibleChange:ve},st)}var Ie=s.createElement(nn.Item,ge({role:"none"},E,{component:"li",style:r,className:ne(te,"".concat(te,"-").concat($),a,(n={},W(n,"".concat(te,"-open"),xe),W(n,"".concat(te,"-active"),nt),W(n,"".concat(te,"-selected"),D),W(n,"".concat(te,"-disabled"),Q),n)),onMouseEnter:fe,onMouseLeave:vt}),st,!R&&s.createElement(Ph,{id:ke,open:xe,keyPath:re},f));return H&&(Ie=H(Ie,t,{selected:D,active:nt,open:xe,disabled:Q})),s.createElement(br,{onItemClick:We,mode:$==="horizontal"?"vertical":$,itemIcon:ae,expandIcon:ce},Ie)};function vi(e){var t=e.eventKey,n=e.children,r=Er(t),a=fi(n,r),o=wa();s.useEffect(function(){if(o)return o.registerPath(t,r),function(){o.unregisterPath(t,r)}},[r]);var i;return o?i=a:i=s.createElement(Oh,e,a),s.createElement(Sl.Provider,{value:r},i)}var Nh=["className","title","eventKey","children"],_h=["children"],Ih=function(t){var n=t.className,r=t.title;t.eventKey;var a=t.children,o=je(t,Nh),i=s.useContext(Wt),c=i.prefixCls,l="".concat(c,"-item-group");return s.createElement("li",ge({role:"presentation"},o,{onClick:function(f){return f.stopPropagation()},className:ne(l,n)}),s.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:typeof r=="string"?r:void 0},r),s.createElement("ul",{role:"group",className:"".concat(l,"-list")},a))};function Ml(e){var t=e.children,n=je(e,_h),r=Er(n.eventKey),a=fi(t,r),o=wa();return o?a:s.createElement(Ih,Xn(n,["warnKey"]),a)}function Tl(e){var t=e.className,n=e.style,r=s.useContext(Wt),a=r.prefixCls,o=wa();return o?null:s.createElement("li",{role:"separator",className:ne("".concat(a,"-item-divider"),t),style:n})}var Ah=["label","children","key","type"];function jo(e){return(e||[]).map(function(t,n){if(t&&Ge(t)==="object"){var r=t,a=r.label,o=r.children,i=r.key,c=r.type,l=je(r,Ah),u=i??"tmp-".concat(n);return o||c==="group"?c==="group"?s.createElement(Ml,ge({key:u},l,{title:a}),jo(o)):s.createElement(vi,ge({key:u},l,{title:a}),jo(o)):c==="divider"?s.createElement(Tl,ge({key:u},l)):s.createElement($a,ge({key:u},l),a)}return null}).filter(function(t){return t})}function kh(e,t,n){var r=e;return t&&(r=jo(t)),fi(r,n)}var Lh=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Ln=[],Dh=s.forwardRef(function(e,t){var n,r,a=e,o=a.prefixCls,i=o===void 0?"rc-menu":o,c=a.rootClassName,l=a.style,u=a.className,f=a.tabIndex,d=f===void 0?0:f,v=a.items,h=a.children,p=a.direction,g=a.id,m=a.mode,C=m===void 0?"vertical":m,b=a.inlineCollapsed,S=a.disabled,y=a.disabledOverflow,w=a.subMenuOpenDelay,E=w===void 0?.1:w,x=a.subMenuCloseDelay,P=x===void 0?.1:x,_=a.forceSubMenuRender,$=a.defaultOpenKeys,I=a.openKeys,M=a.activeKey,R=a.defaultActiveFirst,A=a.selectable,O=A===void 0?!0:A,z=a.multiple,L=z===void 0?!1:z,V=a.defaultSelectedKeys,j=a.selectedKeys,U=a.onSelect,se=a.onDeselect,H=a.inlineIndent,Y=H===void 0?24:H,J=a.motion,re=a.defaultMotions,te=a.triggerSubMenuAction,Q=te===void 0?"hover":te,G=a.builtinPlacements,oe=a.itemIcon,ae=a.expandIcon,ce=a.overflowedIndicator,Me=ce===void 0?"...":ce,xe=a.overflowedIndicatorPopupClassName,D=a.getPopupContainer,pe=a.onClick,X=a.onOpenChange,we=a.onKeyDown,Z=a.openAnimation,$e=a.openTransitionName,de=a._internalRenderMenuItem,le=a._internalRenderSubMenuItem,Te=je(a,Lh),fe=s.useMemo(function(){return kh(h,v,Ln)},[h,v]),vt=s.useState(!1),nt=N(vt,2),Oe=nt[0],Fe=nt[1],We=s.useRef(),ve=vh(g),Ke=p==="rtl";process.env.NODE_ENV!=="production"&&St(!Z&&!$e,"`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.");var ke=Wn($,{value:I,postState:function(Pe){return Pe||Ln}}),st=N(ke,2),De=st[0],ct=st[1],Ie=function(Pe){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function it(){ct(Pe),X==null||X(Pe)}Ae?ia.flushSync(it):it()},be=s.useState(De),Re=N(be,2),qe=Re[0],He=Re[1],Ze=s.useRef(!1),mt=s.useMemo(function(){return(C==="inline"||C==="vertical")&&b?["vertical",b]:[C,!1]},[C,b]),ye=N(mt,2),me=ye[0],he=ye[1],ee=me==="inline",Se=s.useState(me),F=N(Se,2),q=F[0],Ce=F[1],Ve=s.useState(he),Xe=N(Ve,2),ot=Xe[0],Ut=Xe[1];s.useEffect(function(){Ce(me),Ut(he),Ze.current&&(ee?ct(qe):Ie(Ln))},[me,he]);var Ot=s.useState(0),lt=N(Ot,2),Ue=lt[0],Rt=lt[1],Ct=Ue>=fe.length-1||q!=="horizontal"||y;s.useEffect(function(){ee&&He(De)},[De]),s.useEffect(function(){return Ze.current=!0,function(){Ze.current=!1}},[]);var et=dh(),Ee=et.registerPath,ue=et.unregisterPath,Le=et.refreshOverflowKeys,Be=et.isSubPathKey,Et=et.getKeyPath,ut=et.getKeys,xt=et.getSubPathKeys,rt=s.useMemo(function(){return{registerPath:Ee,unregisterPath:ue}},[Ee,ue]),fn=s.useMemo(function(){return{isSubPathKey:Be}},[Be]);s.useEffect(function(){Le(Ct?Ln:fe.slice(Ue+1).map(function(ze){return ze.key}))},[Ue,Ct]);var At=Wn(M||R&&((n=fe[0])===null||n===void 0?void 0:n.key),{value:M}),Gt=N(At,2),pt=Gt[0],Kt=Gt[1],vn=sr(function(ze){Kt(ze)}),qt=sr(function(){Kt(void 0)});T.useImperativeHandle(t,function(){return{list:We.current,focus:function(Pe){var Ae,it=pt??((Ae=fe.find(function(er){return!er.props.disabled}))===null||Ae===void 0?void 0:Ae.key);if(it){var dt,zt,Vt;(dt=We.current)===null||dt===void 0||(zt=dt.querySelector("li[data-menu-id='".concat(ci(ve,it),"']")))===null||zt===void 0||(Vt=zt.focus)===null||Vt===void 0||Vt.call(zt,Pe)}}}});var Rn=Wn(V||[],{value:j,postState:function(Pe){return Array.isArray(Pe)?Pe:Pe==null?Ln:[Pe]}}),Pn=N(Rn,2),bt=Pn[0],kt=Pn[1],mn=function(Pe){if(O){var Ae=Pe.key,it=bt.includes(Ae),dt;L?it?dt=bt.filter(function(Vt){return Vt!==Ae}):dt=[].concat(Je(bt),[Ae]):dt=[Ae],kt(dt);var zt=k(k({},Pe),{},{selectedKeys:dt});it?se==null||se(zt):U==null||U(zt)}!L&&De.length&&q!=="inline"&&Ie(Ln)},Mn=sr(function(ze){pe==null||pe(oa(ze)),mn(ze)}),Lt=sr(function(ze,Pe){var Ae=De.filter(function(dt){return dt!==ze});if(Pe)Ae.push(ze);else if(q!=="inline"){var it=xt(ze);Ae=Ae.filter(function(dt){return!it.has(dt)})}Uo(De,Ae,!0)||Ie(Ae,!0)}),Xt=function(Pe,Ae){var it=Ae??!De.includes(Pe);Lt(Pe,it)},hn=ch(q,pt,Ke,ve,We,ut,Et,Kt,Xt,we);s.useEffect(function(){Fe(!0)},[]);var an=s.useMemo(function(){return{_internalRenderMenuItem:de,_internalRenderSubMenuItem:le}},[de,le]),Dt=q!=="horizontal"||y?fe:fe.map(function(ze,Pe){return s.createElement(br,{key:ze.key,overflowDisabled:Pe>Ue},ze)}),Jn=s.createElement(nn,ge({id:g,ref:We,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:$a,className:ne(i,"".concat(i,"-root"),"".concat(i,"-").concat(q),u,(r={},W(r,"".concat(i,"-inline-collapsed"),ot),W(r,"".concat(i,"-rtl"),Ke),r),c),dir:p,style:l,role:"menu",tabIndex:d,data:Dt,renderRawItem:function(Pe){return Pe},renderRawRest:function(Pe){var Ae=Pe.length,it=Ae?fe.slice(-Ae):null;return s.createElement(vi,{eventKey:zo,title:Me,disabled:Ct,internalPopupClose:Ae===0,popupClassName:xe},it)},maxCount:q!=="horizontal"||y?nn.INVALIDATE:nn.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Pe){Rt(Pe)},onKeyDown:hn},Te));return s.createElement(li.Provider,{value:an},s.createElement(pl.Provider,{value:ve},s.createElement(br,{prefixCls:i,rootClassName:c,mode:q,openKeys:De,rtl:Ke,disabled:S,motion:Oe?J:null,defaultMotions:Oe?re:null,activeKey:pt,onActive:vn,onInactive:qt,selectedKeys:bt,inlineIndent:Y,subMenuOpenDelay:E,subMenuCloseDelay:P,forceSubMenuRender:_,builtinPlacements:G,triggerSubMenuAction:Q,getPopupContainer:D,itemIcon:oe,expandIcon:ae,onItemClick:Mn,onOpenChange:Lt},s.createElement(Cl.Provider,{value:fn},Jn),s.createElement("div",{style:{display:"none"},"aria-hidden":!0},s.createElement(yl.Provider,{value:rt},fe)))))}),xr=Dh;xr.Item=$a;xr.SubMenu=vi;xr.ItemGroup=Ml;xr.Divider=Tl;var zh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const jh=zh;var Ol=function(t,n){return s.createElement(xa,xn({},t,{ref:n,icon:jh}))};process.env.NODE_ENV!=="production"&&(Ol.displayName="EllipsisOutlined");const Hh=s.forwardRef(Ol),Bh=e=>{const{prefixCls:t,className:n,style:r,size:a,shape:o}=e,i=ne({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),c=ne({[`${t}-circle`]:o==="circle",[`${t}-square`]:o==="square",[`${t}-round`]:o==="round"}),l=s.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return s.createElement("span",{className:ne(t,i,c,n),style:Object.assign(Object.assign({},l),r)})},Ra=Bh,Fh=new rn("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Pa=e=>({height:e,lineHeight:`${e}px`}),Kn=e=>Object.assign({width:e},Pa(e)),Wh=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Fh,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Ya=e=>Object.assign({width:e*5,minWidth:e*5},Pa(e)),Kh=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:o}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},Kn(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},Kn(a)),[`${t}${t}-sm`]:Object.assign({},Kn(o))}},Vh=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:o,gradientFromColor:i}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:n},Ya(t)),[`${r}-lg`]:Object.assign({},Ya(a)),[`${r}-sm`]:Object.assign({},Ya(o))}},ws=e=>Object.assign({width:e},Pa(e)),Uh=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:a}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:a},ws(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},ws(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Qa=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},Za=e=>Object.assign({width:e*2,minWidth:e*2},Pa(e)),Gh=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:o,gradientFromColor:i}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:r*2,minWidth:r*2},Za(r))},Qa(e,r,n)),{[`${n}-lg`]:Object.assign({},Za(a))}),Qa(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},Za(o))}),Qa(e,o,`${n}-sm`))},qh=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:o,skeletonInputCls:i,skeletonImageCls:c,controlHeight:l,controlHeightLG:u,controlHeightSM:f,gradientFromColor:d,padding:v,marginSM:h,borderRadius:p,titleHeight:g,blockRadius:m,paragraphLiHeight:C,controlHeightXS:b,paragraphMarginTop:S}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:v,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},Kn(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},Kn(u)),[`${n}-sm`]:Object.assign({},Kn(f))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:g,background:d,borderRadius:m,[`+ ${a}`]:{marginBlockStart:f}},[`${a}`]:{padding:0,"> li":{width:"100%",height:C,listStyle:"none",background:d,borderRadius:m,"+ li":{marginBlockStart:b}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:p}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:h,[`+ ${a}`]:{marginBlockStart:S}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Gh(e)),Kh(e)),Vh(e)),Uh(e)),[`${t}${t}-block`]:{width:"100%",[`${o}`]:{width:"100%"},[`${i}`]:{width:"100%"}},[`${t}${t}-active`]:{[`
|
|
133
|
+
${r},
|
|
134
|
+
${a} > li,
|
|
135
|
+
${n},
|
|
136
|
+
${o},
|
|
137
|
+
${i},
|
|
138
|
+
${c}
|
|
139
|
+
`]:Object.assign({},Wh(e))}}},Zn=ni("Skeleton",e=>{const{componentCls:t}=e,n=gr(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[qh(n)]},e=>{const{colorFillContent:t,colorFill:n}=e,r=t,a=n;return{color:r,colorGradientEnd:a,gradientFromColor:r,gradientToColor:a,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Xh=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,shape:o="circle",size:i="default"}=e,{getPrefixCls:c}=s.useContext($t),l=c("skeleton",t),[u,f]=Zn(l),d=Xn(e,["prefixCls","className"]),v=ne(l,`${l}-element`,{[`${l}-active`]:a},n,r,f);return u(s.createElement("div",{className:v},s.createElement(Ra,Object.assign({prefixCls:`${l}-avatar`,shape:o,size:i},d))))},Yh=Xh,Qh=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:o=!1,size:i="default"}=e,{getPrefixCls:c}=s.useContext($t),l=c("skeleton",t),[u,f]=Zn(l),d=Xn(e,["prefixCls"]),v=ne(l,`${l}-element`,{[`${l}-active`]:a,[`${l}-block`]:o},n,r,f);return u(s.createElement("div",{className:v},s.createElement(Ra,Object.assign({prefixCls:`${l}-button`,size:i},d))))},Zh=Qh,Jh="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",eg=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:o}=e,{getPrefixCls:i}=s.useContext($t),c=i("skeleton",t),[l,u]=Zn(c),f=ne(c,`${c}-element`,{[`${c}-active`]:o},n,r,u);return l(s.createElement("div",{className:f},s.createElement("div",{className:ne(`${c}-image`,n),style:a},s.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${c}-image-svg`},s.createElement("path",{d:Jh,className:`${c}-image-path`})))))},tg=eg,ng=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:o,size:i="default"}=e,{getPrefixCls:c}=s.useContext($t),l=c("skeleton",t),[u,f]=Zn(l),d=Xn(e,["prefixCls"]),v=ne(l,`${l}-element`,{[`${l}-active`]:a,[`${l}-block`]:o},n,r,f);return u(s.createElement("div",{className:v},s.createElement(Ra,Object.assign({prefixCls:`${l}-input`,size:i},d))))},rg=ng;var ag={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};const og=ag;var Nl=function(t,n){return s.createElement(xa,xn({},t,{ref:n,icon:og}))};process.env.NODE_ENV!=="production"&&(Nl.displayName="DotChartOutlined");const ig=s.forwardRef(Nl),sg=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:o,children:i}=e,{getPrefixCls:c}=s.useContext($t),l=c("skeleton",t),[u,f]=Zn(l),d=ne(l,`${l}-element`,{[`${l}-active`]:o},f,n,r),v=i??s.createElement(ig,null);return u(s.createElement("div",{className:d},s.createElement("div",{className:ne(`${l}-image`,n),style:a},v)))},cg=sg,lg=e=>{const t=c=>{const{width:l,rows:u=2}=e;if(Array.isArray(l))return l[c];if(u-1===c)return l},{prefixCls:n,className:r,style:a,rows:o}=e,i=Je(Array(o)).map((c,l)=>s.createElement("li",{key:l,style:{width:t(l)}}));return s.createElement("ul",{className:ne(n,r),style:a},i)},ug=lg,dg=e=>{let{prefixCls:t,className:n,width:r,style:a}=e;return s.createElement("h3",{className:ne(t,n),style:Object.assign({width:r},a)})},fg=dg;function Ja(e){return e&&typeof e=="object"?e:{}}function vg(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function mg(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function hg(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const $n=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:a,style:o,children:i,avatar:c=!1,title:l=!0,paragraph:u=!0,active:f,round:d}=e,{getPrefixCls:v,direction:h,skeleton:p}=s.useContext($t),g=v("skeleton",t),[m,C]=Zn(g);if(n||!("loading"in e)){const b=!!c,S=!!l,y=!!u;let w;if(b){const P=Object.assign(Object.assign({prefixCls:`${g}-avatar`},vg(S,y)),Ja(c));w=s.createElement("div",{className:`${g}-header`},s.createElement(Ra,Object.assign({},P)))}let E;if(S||y){let P;if(S){const $=Object.assign(Object.assign({prefixCls:`${g}-title`},mg(b,y)),Ja(l));P=s.createElement(fg,Object.assign({},$))}let _;if(y){const $=Object.assign(Object.assign({prefixCls:`${g}-paragraph`},hg(b,S)),Ja(u));_=s.createElement(ug,Object.assign({},$))}E=s.createElement("div",{className:`${g}-content`},P,_)}const x=ne(g,{[`${g}-with-avatar`]:b,[`${g}-active`]:f,[`${g}-rtl`]:h==="rtl",[`${g}-round`]:d},p==null?void 0:p.className,r,a,C);return m(s.createElement("div",{className:x,style:Object.assign(Object.assign({},p==null?void 0:p.style),o)},w,E))}return typeof i<"u"?i:null};$n.Button=Zh;$n.Avatar=Yh;$n.Input=rg;$n.Image=tg;$n.Node=cg;process.env.NODE_ENV!=="production"&&($n.displayName="Skeleton");const gg=$n;var pg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const bg=pg;var _l=function(t,n){return s.createElement(xa,xn({},t,{ref:n,icon:bg}))};process.env.NODE_ENV!=="production"&&(_l.displayName="PlusOutlined");const yg=s.forwardRef(_l),Ma=T.createContext(null);var mi=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.id,i=e.active,c=e.tabKey,l=e.children;return s.createElement("div",{id:o&&"".concat(o,"-panel-").concat(c),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(c),"aria-hidden":!i,style:a,className:ne(n,i&&"".concat(n,"-active"),r),ref:t},l)});process.env.NODE_ENV!=="production"&&(mi.displayName="TabPane");var Sg=["key","forceRender","style","className","destroyInactiveTabPane"];function Cg(e){var t=e.id,n=e.activeKey,r=e.animated,a=e.tabPosition,o=e.destroyInactiveTabPane,i=s.useContext(Ma),c=i.prefixCls,l=i.tabs,u=r.tabPane,f="".concat(c,"-tabpane");return s.createElement("div",{className:ne("".concat(c,"-content-holder"))},s.createElement("div",{className:ne("".concat(c,"-content"),"".concat(c,"-content-").concat(a),W({},"".concat(c,"-content-animated"),u))},l.map(function(d){var v=d.key,h=d.forceRender,p=d.style,g=d.className,m=d.destroyInactiveTabPane,C=je(d,Sg),b=v===n;return s.createElement(Sr,ge({key:v,visible:b,forceRender:h,removeOnLeave:!!(o||m),leavedClassName:"".concat(f,"-hidden")},r.tabPaneMotion),function(S,y){var w=S.style,E=S.className;return s.createElement(mi,ge({},C,{prefixCls:f,id:t,tabKey:v,animated:u,active:b,style:k(k({},p),w),className:ne(g,E),ref:y}))})})))}var Eg=function(t){var n=t.activeTabOffset,r=t.horizontal,a=t.rtl,o=t.indicatorSize,i=T.useState(),c=N(i,2),l=c[0],u=c[1],f=T.useRef(),d=function(p){return typeof o=="function"?o(p):typeof o=="number"?o:p};function v(){wt.cancel(f.current)}return T.useEffect(function(){var h={};return n&&(r?(a?(h.right=n.right+n.width/2,h.transform="translateX(50%)"):(h.left=n.left+n.width/2,h.transform="translateX(-50%)"),h.width=d(n.width)):(h.top=n.top+n.height/2,h.transform="translateY(-50%)",h.height=d(n.height))),v(),f.current=wt(function(){u(h)}),v},[n,r,a,o]),{style:l}},$s={width:0,height:0,left:0,top:0};function xg(e,t,n){return T.useMemo(function(){for(var r,a=new Map,o=t.get((r=e[0])===null||r===void 0?void 0:r.key)||$s,i=o.left+o.width,c=0;c<e.length;c+=1){var l=e[c].key,u=t.get(l);if(!u){var f;u=t.get((f=e[c-1])===null||f===void 0?void 0:f.key)||$s}var d=a.get(l)||k({},u);d.right=i-d.left-d.width,a.set(l,d)}return a},[e.map(function(r){return r.key}).join("_"),t,n])}function Rs(e,t){var n=s.useRef(e),r=s.useState({}),a=N(r,2),o=a[1];function i(c){var l=typeof c=="function"?c(n.current):c;l!==n.current&&t(l,n.current),n.current=l,o({})}return[n.current,i]}var wg=.1,Ps=.01,Qr=20,Ms=Math.pow(.995,Qr);function $g(e,t){var n=T.useState(),r=N(n,2),a=r[0],o=r[1],i=T.useState(0),c=N(i,2),l=c[0],u=c[1],f=T.useState(0),d=N(f,2),v=d[0],h=d[1],p=T.useState(),g=N(p,2),m=g[0],C=g[1],b=T.useRef();function S(_){var $=_.touches[0],I=$.screenX,M=$.screenY;o({x:I,y:M}),window.clearInterval(b.current)}function y(_){if(a){_.preventDefault();var $=_.touches[0],I=$.screenX,M=$.screenY;o({x:I,y:M});var R=I-a.x,A=M-a.y;t(R,A);var O=Date.now();u(O),h(O-l),C({x:R,y:A})}}function w(){if(a&&(o(null),C(null),m)){var _=m.x/v,$=m.y/v,I=Math.abs(_),M=Math.abs($);if(Math.max(I,M)<wg)return;var R=_,A=$;b.current=window.setInterval(function(){if(Math.abs(R)<Ps&&Math.abs(A)<Ps){window.clearInterval(b.current);return}R*=Ms,A*=Ms,t(R*Qr,A*Qr)},Qr)}}var E=T.useRef();function x(_){var $=_.deltaX,I=_.deltaY,M=0,R=Math.abs($),A=Math.abs(I);R===A?M=E.current==="x"?$:I:R>A?(M=$,E.current="x"):(M=I,E.current="y"),t(-M,-M)&&_.preventDefault()}var P=T.useRef(null);P.current={onTouchStart:S,onTouchMove:y,onTouchEnd:w,onWheel:x},s.useEffect(function(){function _(R){P.current.onTouchStart(R)}function $(R){P.current.onTouchMove(R)}function I(R){P.current.onTouchEnd(R)}function M(R){P.current.onWheel(R)}return document.addEventListener("touchmove",$,{passive:!1}),document.addEventListener("touchend",I,{passive:!1}),e.current.addEventListener("touchstart",_,{passive:!1}),e.current.addEventListener("wheel",M),function(){document.removeEventListener("touchmove",$),document.removeEventListener("touchend",I)}},[])}function Il(e){var t=T.useState(0),n=N(t,2),r=n[0],a=n[1],o=T.useRef(0),i=T.useRef();return i.current=e,uo(function(){var c;(c=i.current)===null||c===void 0||c.call(i)},[r]),function(){o.current===r&&(o.current+=1,a(o.current))}}function Rg(e){var t=T.useRef([]),n=T.useState({}),r=N(n,2),a=r[1],o=T.useRef(typeof e=="function"?e():e),i=Il(function(){var l=o.current;t.current.forEach(function(u){l=u(l)}),t.current=[],o.current=l,a({})});function c(l){t.current.push(l),i()}return[o.current,c]}var Ts={width:0,height:0,left:0,top:0,right:0};function Pg(e,t,n,r,a,o,i){var c=i.tabs,l=i.tabPosition,u=i.rtl,f,d,v;return["top","bottom"].includes(l)?(f="width",d=u?"right":"left",v=Math.abs(n)):(f="height",d="top",v=-n),T.useMemo(function(){if(!c.length)return[0,0];for(var h=c.length,p=h,g=0;g<h;g+=1){var m=e.get(c[g].key)||Ts;if(m[d]+m[f]>v+t){p=g-1;break}}for(var C=0,b=h-1;b>=0;b-=1){var S=e.get(c[b].key)||Ts;if(S[d]<v){C=b+1;break}}return C>=p?[0,0]:[C,p]},[e,t,r,a,o,v,l,c.map(function(h){return h.key}).join("_"),u])}function Os(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var Mg="TABS_DQ";function Al(e){return String(e).replace(/"/g,Mg)}function kl(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}function Tg(e,t){var n=e.prefixCls,r=e.editable,a=e.locale,o=e.style;return!r||r.showAdd===!1?null:s.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(a==null?void 0:a.addAriaLabel)||"Add tab",onClick:function(c){r.onEdit("add",{event:c})}},r.addIcon||"+")}const Ll=s.forwardRef(Tg);var Ho=s.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,a=e.extra;if(!a)return null;var o,i={};return Ge(a)==="object"&&!s.isValidElement(a)?i=a:i.right=a,n==="right"&&(o=i.right),n==="left"&&(o=i.left),o?s.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},o):null});process.env.NODE_ENV!=="production"&&(Ho.displayName="ExtraContent");function Og(e,t){var n=e.prefixCls,r=e.id,a=e.tabs,o=e.locale,i=e.mobile,c=e.moreIcon,l=c===void 0?"More":c,u=e.moreTransitionName,f=e.style,d=e.className,v=e.editable,h=e.tabBarGutter,p=e.rtl,g=e.removeAriaLabel,m=e.onTabClick,C=e.getPopupContainer,b=e.popupClassName,S=T.useState(!1),y=N(S,2),w=y[0],E=y[1],x=T.useState(null),P=N(x,2),_=P[0],$=P[1],I="".concat(r,"-more-popup"),M="".concat(n,"-dropdown"),R=_!==null?"".concat(I,"-").concat(_):null,A=o==null?void 0:o.dropdownAriaLabel;function O(H,Y){H.preventDefault(),H.stopPropagation(),v.onEdit("remove",{key:Y,event:H})}var z=s.createElement(xr,{onClick:function(Y){var J=Y.key,re=Y.domEvent;m(J,re),E(!1)},prefixCls:"".concat(M,"-menu"),id:I,tabIndex:-1,role:"listbox","aria-activedescendant":R,selectedKeys:[_],"aria-label":A!==void 0?A:"expanded dropdown"},a.map(function(H){var Y=H.closable,J=H.disabled,re=H.closeIcon,te=H.key,Q=H.label,G=kl(Y,re,v,J);return s.createElement($a,{key:te,id:"".concat(I,"-").concat(te),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(te),disabled:J},s.createElement("span",null,Q),G&&s.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:0,className:"".concat(M,"-menu-item-remove"),onClick:function(ae){ae.stopPropagation(),O(ae,te)}},re||v.removeIcon||"×"))}));function L(H){for(var Y=a.filter(function(G){return!G.disabled}),J=Y.findIndex(function(G){return G.key===_})||0,re=Y.length,te=0;te<re;te+=1){J=(J+H+re)%re;var Q=Y[J];if(!Q.disabled){$(Q.key);return}}}function V(H){var Y=H.which;if(!w){[B.DOWN,B.SPACE,B.ENTER].includes(Y)&&(E(!0),H.preventDefault());return}switch(Y){case B.UP:L(-1),H.preventDefault();break;case B.DOWN:L(1),H.preventDefault();break;case B.ESC:E(!1);break;case B.SPACE:case B.ENTER:_!==null&&m(_,H);break}}T.useEffect(function(){var H=document.getElementById(R);H&&H.scrollIntoView&&H.scrollIntoView(!1)},[_]),T.useEffect(function(){w||$(null)},[w]);var j=W({},p?"marginRight":"marginLeft",h);a.length||(j.visibility="hidden",j.order=1);var U=ne(W({},"".concat(M,"-rtl"),p)),se=i?null:s.createElement(eh,{prefixCls:M,overlay:z,trigger:["hover"],visible:a.length?w:!1,transitionName:u,onVisibleChange:E,overlayClassName:ne(U,b),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:C},s.createElement("button",{type:"button",className:"".concat(n,"-nav-more"),style:j,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":I,id:"".concat(r,"-more"),"aria-expanded":w,onKeyDown:V},l));return s.createElement("div",{className:ne("".concat(n,"-nav-operations"),d),style:f,ref:t},se,s.createElement(Ll,{prefixCls:n,locale:o,editable:v}))}const Ng=s.memo(s.forwardRef(Og),function(e,t){return t.tabMoving});function _g(e){var t,n=e.prefixCls,r=e.id,a=e.active,o=e.tab,i=o.key,c=o.label,l=o.disabled,u=o.closeIcon,f=e.closable,d=e.renderWrapper,v=e.removeAriaLabel,h=e.editable,p=e.onClick,g=e.onFocus,m=e.style,C="".concat(n,"-tab"),b=kl(f,u,h,l);function S(E){l||p(E)}function y(E){E.preventDefault(),E.stopPropagation(),h.onEdit("remove",{key:i,event:E})}var w=s.createElement("div",{key:i,"data-node-key":Al(i),className:ne(C,(t={},W(t,"".concat(C,"-with-remove"),b),W(t,"".concat(C,"-active"),a),W(t,"".concat(C,"-disabled"),l),t)),style:m,onClick:S},s.createElement("div",{role:"tab","aria-selected":a,id:r&&"".concat(r,"-tab-").concat(i),className:"".concat(C,"-btn"),"aria-controls":r&&"".concat(r,"-panel-").concat(i),"aria-disabled":l,tabIndex:l?null:0,onClick:function(x){x.stopPropagation(),S(x)},onKeyDown:function(x){[B.SPACE,B.ENTER].includes(x.which)&&(x.preventDefault(),S(x))},onFocus:g},c),b&&s.createElement("button",{type:"button","aria-label":v||"remove",tabIndex:0,className:"".concat(C,"-remove"),onClick:function(x){x.stopPropagation(),y(x)}},u||h.removeIcon||"×"));return d?d(w):w}var Ig=function(t,n){var r=t.offsetWidth,a=t.offsetHeight,o=t.offsetTop,i=t.offsetLeft,c=t.getBoundingClientRect(),l=c.width,u=c.height,f=c.x,d=c.y;return Math.abs(l-r)<1?[l,u,f-n.x,d-n.y]:[r,a,i,o]},Dn=function(t){var n=t.current||{},r=n.offsetWidth,a=r===void 0?0:r,o=n.offsetHeight,i=o===void 0?0:o;if(t.current){var c=t.current.getBoundingClientRect(),l=c.width,u=c.height;if(Math.abs(l-a)<1)return[l,u]}return[a,i]},Fr=function(t,n){return t[n?0:1]};function Ag(e,t){var n,r=s.useContext(Ma),a=r.prefixCls,o=r.tabs,i=e.className,c=e.style,l=e.id,u=e.animated,f=e.activeKey,d=e.rtl,v=e.extra,h=e.editable,p=e.locale,g=e.tabPosition,m=e.tabBarGutter,C=e.children,b=e.onTabClick,S=e.onTabScroll,y=e.indicatorSize,w=T.useRef(),E=T.useRef(),x=T.useRef(),P=T.useRef(),_=T.useRef(),$=T.useRef(),I=T.useRef(),M=g==="top"||g==="bottom",R=Rs(0,function(Ee,ue){M&&S&&S({direction:Ee>ue?"left":"right"})}),A=N(R,2),O=A[0],z=A[1],L=Rs(0,function(Ee,ue){!M&&S&&S({direction:Ee>ue?"top":"bottom"})}),V=N(L,2),j=V[0],U=V[1],se=T.useState([0,0]),H=N(se,2),Y=H[0],J=H[1],re=T.useState([0,0]),te=N(re,2),Q=te[0],G=te[1],oe=T.useState([0,0]),ae=N(oe,2),ce=ae[0],Me=ae[1],xe=T.useState([0,0]),D=N(xe,2),pe=D[0],X=D[1],we=Rg(new Map),Z=N(we,2),$e=Z[0],de=Z[1],le=xg(o,$e,Q[0]),Te=Fr(Y,M),fe=Fr(Q,M),vt=Fr(ce,M),nt=Fr(pe,M),Oe=Te<fe+vt,Fe=Oe?Te-nt:Te-vt,We="".concat(a,"-nav-operations-hidden"),ve=0,Ke=0;M&&d?(ve=0,Ke=Math.max(0,fe-Fe)):(ve=Math.min(0,Fe-fe),Ke=0);function ke(Ee){return Ee<ve?ve:Ee>Ke?Ke:Ee}var st=T.useRef(),De=T.useState(),ct=N(De,2),Ie=ct[0],be=ct[1];function Re(){be(Date.now())}function qe(){window.clearTimeout(st.current)}$g(P,function(Ee,ue){function Le(Be,Et){Be(function(ut){var xt=ke(ut+Et);return xt})}return Oe?(M?Le(z,Ee):Le(U,ue),qe(),Re(),!0):!1}),T.useEffect(function(){return qe(),Ie&&(st.current=window.setTimeout(function(){be(0)},100)),qe},[Ie]);var He=Pg(le,Fe,M?O:j,fe,vt,nt,k(k({},e),{},{tabs:o})),Ze=N(He,2),mt=Ze[0],ye=Ze[1],me=Bt(function(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f,ue=le.get(Ee)||{width:0,height:0,left:0,right:0,top:0};if(M){var Le=O;d?ue.right<O?Le=ue.right:ue.right+ue.width>O+Fe&&(Le=ue.right+ue.width-Fe):ue.left<-O?Le=-ue.left:ue.left+ue.width>-O+Fe&&(Le=-(ue.left+ue.width-Fe)),U(0),z(ke(Le))}else{var Be=j;ue.top<-j?Be=-ue.top:ue.top+ue.height>-j+Fe&&(Be=-(ue.top+ue.height-Fe)),z(0),U(ke(Be))}}),he={};g==="top"||g==="bottom"?he[d?"marginRight":"marginLeft"]=m:he.marginTop=m;var ee=o.map(function(Ee,ue){var Le=Ee.key;return s.createElement(_g,{id:l,prefixCls:a,key:Le,tab:Ee,style:ue===0?void 0:he,closable:Ee.closable,editable:h,active:Le===f,renderWrapper:C,removeAriaLabel:p==null?void 0:p.removeAriaLabel,onClick:function(Et){b(Le,Et)},onFocus:function(){me(Le),Re(),P.current&&(d||(P.current.scrollLeft=0),P.current.scrollTop=0)}})}),Se=function(){return de(function(){var ue,Le=new Map,Be=(ue=_.current)===null||ue===void 0?void 0:ue.getBoundingClientRect();return o.forEach(function(Et){var ut,xt=Et.key,rt=(ut=_.current)===null||ut===void 0?void 0:ut.querySelector('[data-node-key="'.concat(Al(xt),'"]'));if(rt){var fn=Ig(rt,Be),At=N(fn,4),Gt=At[0],pt=At[1],Kt=At[2],vn=At[3];Le.set(xt,{width:Gt,height:pt,left:Kt,top:vn})}}),Le})};T.useEffect(function(){Se()},[o.map(function(Ee){return Ee.key}).join("_")]);var F=Il(function(){var Ee=Dn(w),ue=Dn(E),Le=Dn(x);J([Ee[0]-ue[0]-Le[0],Ee[1]-ue[1]-Le[1]]);var Be=Dn(I);Me(Be);var Et=Dn($);X(Et);var ut=Dn(_);G([ut[0]-Be[0],ut[1]-Be[1]]),Se()}),q=o.slice(0,mt),Ce=o.slice(ye+1),Ve=[].concat(Je(q),Je(Ce)),Xe=le.get(f),ot=Eg({activeTabOffset:Xe,horizontal:M,rtl:d,indicatorSize:y}),Ut=ot.style;T.useEffect(function(){me()},[f,ve,Ke,Os(Xe),Os(le),M]),T.useEffect(function(){F()},[d]);var Ot=!!Ve.length,lt="".concat(a,"-nav-wrap"),Ue,Rt,Ct,et;return M?d?(Rt=O>0,Ue=O!==Ke):(Ue=O<0,Rt=O!==ve):(Ct=j<0,et=j!==ve),s.createElement(tn,{onResize:F},s.createElement("div",{ref:yr(t,w),role:"tablist",className:ne("".concat(a,"-nav"),i),style:c,onKeyDown:function(){Re()}},s.createElement(Ho,{ref:E,position:"left",extra:v,prefixCls:a}),s.createElement(tn,{onResize:F},s.createElement("div",{className:ne(lt,(n={},W(n,"".concat(lt,"-ping-left"),Ue),W(n,"".concat(lt,"-ping-right"),Rt),W(n,"".concat(lt,"-ping-top"),Ct),W(n,"".concat(lt,"-ping-bottom"),et),n)),ref:P},s.createElement(tn,{onResize:F},s.createElement("div",{ref:_,className:"".concat(a,"-nav-list"),style:{transform:"translate(".concat(O,"px, ").concat(j,"px)"),transition:Ie?"none":void 0}},ee,s.createElement(Ll,{ref:I,prefixCls:a,locale:p,editable:h,style:k(k({},ee.length===0?void 0:he),{},{visibility:Ot?"hidden":null})}),s.createElement("div",{className:ne("".concat(a,"-ink-bar"),W({},"".concat(a,"-ink-bar-animated"),u.inkBar)),style:Ut}))))),s.createElement(Ng,ge({},e,{removeAriaLabel:p==null?void 0:p.removeAriaLabel,ref:$,prefixCls:a,tabs:Ve,className:!Ot&&We,tabMoving:!!Ie})),s.createElement(Ho,{ref:x,position:"right",extra:v,prefixCls:a})))}const Ns=s.forwardRef(Ag);var kg=["renderTabBar"],Lg=["label","key"];function Dg(e){var t=e.renderTabBar,n=je(e,kg),r=s.useContext(Ma),a=r.tabs;if(t){var o=k(k({},n),{},{panes:a.map(function(i){var c=i.label,l=i.key,u=je(i,Lg);return s.createElement(mi,ge({tab:c,key:l,tabKey:l},u))})});return t(o,Ns)}return s.createElement(Ns,n)}function zg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=k({inkBar:!0},Ge(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(process.env.NODE_ENV!=="production"&&St(!1,"`animated.tabPane` is true but `animated.tabPaneMotion` is not provided. Motion will not work."),t.tabPane=!1),t}var jg=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],_s=0;function Hg(e,t){var n,r=e.id,a=e.prefixCls,o=a===void 0?"rc-tabs":a,i=e.className,c=e.items,l=e.direction,u=e.activeKey,f=e.defaultActiveKey,d=e.editable,v=e.animated,h=e.tabPosition,p=h===void 0?"top":h,g=e.tabBarGutter,m=e.tabBarStyle,C=e.tabBarExtraContent,b=e.locale,S=e.moreIcon,y=e.moreTransitionName,w=e.destroyInactiveTabPane,E=e.renderTabBar,x=e.onChange,P=e.onTabClick,_=e.onTabScroll,$=e.getPopupContainer,I=e.popupClassName,M=e.indicatorSize,R=je(e,jg),A=s.useMemo(function(){return(c||[]).filter(function(X){return X&&Ge(X)==="object"&&"key"in X})},[c]),O=l==="rtl",z=zg(v),L=T.useState(!1),V=N(L,2),j=V[0],U=V[1];T.useEffect(function(){U(cl())},[]);var se=Wn(function(){var X;return(X=A[0])===null||X===void 0?void 0:X.key},{value:u,defaultValue:f}),H=N(se,2),Y=H[0],J=H[1],re=T.useState(function(){return A.findIndex(function(X){return X.key===Y})}),te=N(re,2),Q=te[0],G=te[1];T.useEffect(function(){var X=A.findIndex(function(Z){return Z.key===Y});if(X===-1){var we;X=Math.max(0,Math.min(Q,A.length-1)),J((we=A[X])===null||we===void 0?void 0:we.key)}G(X)},[A.map(function(X){return X.key}).join("_"),Y,Q]);var oe=Wn(null,{value:r}),ae=N(oe,2),ce=ae[0],Me=ae[1];T.useEffect(function(){r||(Me("rc-tabs-".concat(process.env.NODE_ENV==="test"?"test":_s)),_s+=1)},[]);function xe(X,we){P==null||P(X,we);var Z=X!==Y;J(X),Z&&(x==null||x(X))}var D={id:ce,activeKey:Y,animated:z,tabPosition:p,rtl:O,mobile:j},pe=k(k({},D),{},{editable:d,locale:b,moreIcon:S,moreTransitionName:y,tabBarGutter:g,onTabClick:xe,onTabScroll:_,extra:C,style:m,panes:null,getPopupContainer:$,popupClassName:I,indicatorSize:M});return s.createElement(Ma.Provider,{value:{tabs:A,prefixCls:o}},s.createElement("div",ge({ref:t,id:r,className:ne(o,"".concat(o,"-").concat(p),(n={},W(n,"".concat(o,"-mobile"),j),W(n,"".concat(o,"-editable"),d),W(n,"".concat(o,"-rtl"),O),n),i)},R),s.createElement(Dg,ge({},pe,{renderTabBar:E})),s.createElement(Cg,ge({destroyInactiveTabPane:w},D,{animated:z}))))}var Dl=s.forwardRef(Hg);process.env.NODE_ENV!=="production"&&(Dl.displayName="Tabs");const Bg={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Fg(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},Bg),{motionName:nm(e,"switch")})),n}var Wg=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function Kg(e){return e.filter(t=>t)}function Vg(e,t){if(process.env.NODE_ENV!=="production"&&ha("Tabs").deprecated(!t,"Tabs.TabPane","items"),e)return e;const n=dr(t).map(r=>{if(s.isValidElement(r)){const{key:a,props:o}=r,i=o||{},{tab:c}=i,l=Wg(i,["tab"]);return Object.assign(Object.assign({key:String(a)},l),{label:c})}return null});return Kg(n)}const Ug=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[ds(e,"slide-up"),ds(e,"slide-down")]]},Gg=Ug,qg=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:a,colorBorderSecondary:o,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${a}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${a}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},Xg=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},ti(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${r}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ei),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Yg=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:a,verticalItemPadding:o,verticalItemMargin:i}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:a,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},
|
|
140
|
+
right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,
|
|
141
|
+
> div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:o,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Qg=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:a,horizontalItemPaddingLG:o}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},Zg=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:a,tabsHorizontalItemMargin:o,horizontalItemPadding:i,itemSelectedColor:c,itemColor:l}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Ic(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${u}-active ${u}-btn`]:{color:c,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${a}`]:{margin:0},[a]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:o}}}},Jg=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:a}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:a},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},ep=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:a,itemHoverColor:o,itemActiveColor:i,colorBorderSecondary:c}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},ti(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,marginLeft:{_skip_check_:!0,value:a},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${c}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:i}},Ic(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),Zg(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},tp=ni("Tabs",e=>{const t=gr(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[Qg(t),Jg(t),Yg(t),Xg(t),qg(t),ep(t),Gg(t)]},e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:"",cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),zl=()=>null;process.env.NODE_ENV!=="production"&&(zl.displayName="DeprecatedTabPane");const np=zl;var rp=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const hi=e=>{const{type:t,className:n,rootClassName:r,size:a,onEdit:o,hideAdd:i,centered:c,addIcon:l,popupClassName:u,children:f,items:d,animated:v,style:h,indicatorSize:p}=e,g=rp(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:m,moreIcon:C=s.createElement(Hh,null)}=g,{direction:b,tabs:S,getPrefixCls:y,getPopupContainer:w}=s.useContext($t),E=y("tabs",m),[x,P]=tp(E);let _;t==="editable-card"&&(_={onEdit:(O,z)=>{let{key:L,event:V}=z;o==null||o(O==="add"?V:L,O)},removeIcon:s.createElement(tm,null),addIcon:l||s.createElement(yg,null),showAdd:i!==!0});const $=y();if(process.env.NODE_ENV!=="production"){const O=ha("Tabs");process.env.NODE_ENV!=="production"&&O(!("onPrevClick"in e)&&!("onNextClick"in e),"breaking","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead.")}const I=Vg(d,f),M=Fg(E,v),R=il(a),A=Object.assign(Object.assign({},S==null?void 0:S.style),h);return x(s.createElement(Dl,Object.assign({direction:b,getPopupContainer:w,moreTransitionName:`${$}-slide-up`},g,{items:I,className:ne({[`${E}-${R}`]:R,[`${E}-card`]:["card","editable-card"].includes(t),[`${E}-editable-card`]:t==="editable-card",[`${E}-centered`]:c},S==null?void 0:S.className,n,r,P),popupClassName:ne(u,P),style:A,editable:_,moreIcon:C,prefixCls:E,animated:M,indicatorSize:p??(S==null?void 0:S.indicatorSize)})))};hi.TabPane=np;process.env.NODE_ENV!=="production"&&(hi.displayName="Tabs");const ap=hi;var op=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const ip=e=>{var{prefixCls:t,className:n,hoverable:r=!0}=e,a=op(e,["prefixCls","className","hoverable"]);const{getPrefixCls:o}=s.useContext($t),i=o("card",t),c=ne(`${i}-grid`,n,{[`${i}-grid-hoverable`]:r});return s.createElement("div",Object.assign({},a,{className:c}))},jl=ip,sp=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:a,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${a}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},ya()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},ei),{[`
|
|
142
|
+
> ${n}-typography,
|
|
143
|
+
> ${n}-typography-edit-content
|
|
144
|
+
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:o,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},cp=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
|
|
145
|
+
${a}px 0 0 0 ${n},
|
|
146
|
+
0 ${a}px 0 0 ${n},
|
|
147
|
+
${a}px ${a}px 0 0 ${n},
|
|
148
|
+
${a}px 0 0 0 ${n} inset,
|
|
149
|
+
0 ${a}px 0 0 ${n} inset;
|
|
150
|
+
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},lp=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:o,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${e.lineWidth}px ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},ya()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:`${a*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${o}`}}})},up=e=>Object.assign(Object.assign({margin:`-${e.marginXXS}px 0`,display:"flex"},ya()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},ei),"&-description":{color:e.colorTextDescription}}),dp=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},fp=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},vp=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:a,colorBorderSecondary:o,boxShadowTertiary:i,cardPaddingBase:c,extraColor:l}=e;return{[n]:Object.assign(Object.assign({},ti(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:i},[`${n}-head`]:sp(e),[`${n}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:c,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},ya()),[`${n}-grid`]:cp(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${n}-actions`]:lp(e),[`${n}-meta`]:up(e)}),[`${n}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${o}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:a}}},[`${n}-type-inner`]:dp(e),[`${n}-loading`]:fp(e),[`${n}-rtl`]:{direction:"rtl"}}},mp=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${n}px`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},hp=ni("Card",e=>{const t=gr(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[vp(t),mp(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}));var Is=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function gp(e){return e.map((t,n)=>s.createElement("li",{style:{width:`${100/e.length}%`},key:`action-${n}`},s.createElement("span",null,t)))}const pp=s.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:o,extra:i,headStyle:c={},bodyStyle:l={},title:u,loading:f,bordered:d=!0,size:v,type:h,cover:p,actions:g,tabList:m,children:C,activeTabKey:b,defaultActiveTabKey:S,tabBarExtraContent:y,hoverable:w,tabProps:E={}}=e,x=Is(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:P,direction:_,card:$}=s.useContext($t),I=oe=>{var ae;(ae=e.onTabChange)===null||ae===void 0||ae.call(e,oe)},M=s.useMemo(()=>{let oe=!1;return s.Children.forEach(C,ae=>{ae&&ae.type&&ae.type===jl&&(oe=!0)}),oe},[C]),R=P("card",n),[A,O]=hp(R),z=s.createElement(gg,{loading:!0,active:!0,paragraph:{rows:4},title:!1},C),L=b!==void 0,V=Object.assign(Object.assign({},E),{[L?"activeKey":"defaultActiveKey"]:L?b:S,tabBarExtraContent:y});let j;const U=il(v),se=!U||U==="default"?"large":U,H=m?s.createElement(ap,Object.assign({size:se},V,{className:`${R}-head-tabs`,onChange:I,items:m.map(oe=>{var{tab:ae}=oe,ce=Is(oe,["tab"]);return Object.assign({label:ae},ce)})})):null;(u||i||H)&&(j=s.createElement("div",{className:`${R}-head`,style:c},s.createElement("div",{className:`${R}-head-wrapper`},u&&s.createElement("div",{className:`${R}-head-title`},u),i&&s.createElement("div",{className:`${R}-extra`},i)),H));const Y=p?s.createElement("div",{className:`${R}-cover`},p):null,J=s.createElement("div",{className:`${R}-body`,style:l},f?z:C),re=g&&g.length?s.createElement("ul",{className:`${R}-actions`},gp(g)):null,te=Xn(x,["onTabChange"]),Q=ne(R,$==null?void 0:$.className,{[`${R}-loading`]:f,[`${R}-bordered`]:d,[`${R}-hoverable`]:w,[`${R}-contain-grid`]:M,[`${R}-contain-tabs`]:m&&m.length,[`${R}-${U}`]:U,[`${R}-type-${h}`]:!!h,[`${R}-rtl`]:_==="rtl"},r,a,O),G=Object.assign(Object.assign({},$==null?void 0:$.style),o);return A(s.createElement("div",Object.assign({ref:t},te,{className:Q,style:G}),j,Y,J,re))}),bp=pp;var yp=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const Sp=e=>{const{prefixCls:t,className:n,avatar:r,title:a,description:o}=e,i=yp(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:c}=s.useContext($t),l=c("card",t),u=ne(`${l}-meta`,n),f=r?s.createElement("div",{className:`${l}-meta-avatar`},r):null,d=a?s.createElement("div",{className:`${l}-meta-title`},a):null,v=o?s.createElement("div",{className:`${l}-meta-description`},o):null,h=d||v?s.createElement("div",{className:`${l}-meta-detail`},d,v):null;return s.createElement("div",Object.assign({},i,{className:u}),f,h)},Cp=Sp,Ta=bp;Ta.Grid=jl;Ta.Meta=Cp;process.env.NODE_ENV!=="production"&&(Ta.displayName="Card");const Ep=Ta,xp=({children:e,...t})=>sn.jsx(Ep,{...t,children:e}),wp=e=>sn.jsx("div",{className:"nav-cards",children:e.items.map(({title:t,text:n,iconColor:r,icon:a,onClick:o},i)=>sn.jsxs("div",{className:"nav-card",onClick:o,children:[sn.jsx("div",{className:"nav-card__icon",style:{backgroundColor:r},children:sn.jsx("i",{className:a})}),sn.jsxs("div",{className:"nav-card__content",children:[sn.jsx("div",{className:"nav-card__title",children:t}),sn.jsx("div",{className:"nav-card__text",children:n})]})]},i))});exports.Card=xp;exports.NavCards=wp;
|