diff --git a/assets/TextArea-9c0cedf0.js b/assets/TextArea-9c0cedf0.js new file mode 100644 index 0000000..dea135d --- /dev/null +++ b/assets/TextArea-9c0cedf0.js @@ -0,0 +1,122 @@ +import{y as ae,a8 as ls,r as s,$ as Fa,a0 as Na,N as On,M as Pn,z as Ta,K as Jn,t as k,P as Ur,v as at,l as ie,G as M,a9 as us,a7 as qa,aa as Ga,E as W,ab as Xa,u as Yi,C as Vt,ac as Ya,ad as cs,ae as ds,af as fs,I as St,h as vs,ag as Zi,ah as Qi,H as xe,ai as ms,c as G,aj as Ji,ak as gs,L as Xn,_ as ee,p as et,al as Za,Q as Rr,am as Bn,a3 as Zt,an as Yt,a5 as ge,a2 as _a,w as Tt,ao as aa,x as Aa,o as eo,a4 as hs,U as Or,X as ps,S as bs,ap as ys,Y as Cs,V as ws,T as Qa,a6 as ia,W as Ss,D as to}from"./index-ae76f54c.js";function sn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return ae.Children.forEach(e,function(a){a==null&&!t.keepEmpty||(Array.isArray(a)?n=n.concat(sn(a)):ls.isFragment(a)&&a.props?n=n.concat(sn(a.props.children,t)):n.push(a))}),n}var oa=s.createContext(null);function $s(e){var t=e.children,n=e.onBatchResize,a=s.useRef(0),r=s.useRef([]),i=s.useContext(oa),o=s.useCallback(function(l,u,c){a.current+=1;var d=a.current;r.current.push({size:l,element:u,data:c}),Promise.resolve().then(function(){d===a.current&&(n==null||n(r.current),r.current=[])}),i==null||i(l,u,c)},[n,i]);return s.createElement(oa.Provider,{value:o},t)}var no=function(){if(typeof Map<"u")return Map;function e(t,n){var a=-1;return t.some(function(r,i){return r[0]===n?(a=i,!0):!1}),a}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 a=e(this.__entries__,n),r=this.__entries__[a];return r&&r[1]},t.prototype.set=function(n,a){var r=e(this.__entries__,n);~r?this.__entries__[r][1]=a:this.__entries__.push([n,a])},t.prototype.delete=function(n){var a=this.__entries__,r=e(a,n);~r&&a.splice(r,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,a){a===void 0&&(a=null);for(var r=0,i=this.__entries__;r0},e.prototype.connect_=function(){!sa||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ps?(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(){!sa||!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,a=n===void 0?"":n,r=Os.some(function(i){return!!~a.indexOf(i)});r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),ro=function(e,t){for(var n=0,a=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof In(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new ks(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 In(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(a){return new Ds(a.target,a.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}(),io=typeof WeakMap<"u"?new WeakMap:new no,oo=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=Ms.getInstance(),a=new js(t,n,this);io.set(this,a)}return e}();["observe","unobserve","disconnect"].forEach(function(e){oo.prototype[e]=function(){var t;return(t=io.get(this))[e].apply(t,arguments)}});var Bs=function(){return typeof pr.ResizeObserver<"u"?pr.ResizeObserver:oo}(),Qt=new Map;function Vs(e){e.forEach(function(t){var n,a=t.target;(n=Qt.get(a))===null||n===void 0||n.forEach(function(r){return r(a)})})}var so=new Bs(Vs);function Hs(e,t){Qt.has(e)||(Qt.set(e,new Set),so.observe(e)),Qt.get(e).add(t)}function Ws(e,t){Qt.has(e)&&(Qt.get(e).delete(t),Qt.get(e).size||(so.unobserve(e),Qt.delete(e)))}var Ks=function(e){Fa(n,e);var t=Na(n);function n(){return On(this,n),t.apply(this,arguments)}return Pn(n,[{key:"render",value:function(){return this.props.children}}]),n}(s.Component);function Us(e,t){var n=e.children,a=e.disabled,r=s.useRef(null),i=s.useRef(null),o=s.useContext(oa),l=typeof n=="function",u=l?n(r):n,c=s.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!l&&s.isValidElement(u)&&Ta(u),f=d?u.ref:null,g=Jn(f,r),w=function(){var m;return Ur(r.current)||(r.current&&at(r.current)==="object"?Ur((m=r.current)===null||m===void 0?void 0:m.nativeElement):null)||Ur(i.current)};s.useImperativeHandle(t,function(){return w()});var b=s.useRef(e);b.current=e;var h=s.useCallback(function(v){var m=b.current,y=m.onResize,p=m.data,C=v.getBoundingClientRect(),x=C.width,E=C.height,$=v.offsetWidth,R=v.offsetHeight,P=Math.floor(x),N=Math.floor(E);if(c.current.width!==P||c.current.height!==N||c.current.offsetWidth!==$||c.current.offsetHeight!==R){var T={width:P,height:N,offsetWidth:$,offsetHeight:R};c.current=T;var z=$===Math.round(x)?x:$,F=R===Math.round(E)?E:R,_=k(k({},T),{},{offsetWidth:z,offsetHeight:F});o==null||o(_,v,p),y&&Promise.resolve().then(function(){y(_,v)})}},[]);return s.useEffect(function(){var v=w();return v&&!a&&Hs(v,h),function(){return Ws(v,h)}},[r.current,a]),s.createElement(Ks,{ref:i},d?s.cloneElement(u,{ref:g}):u)}var qs=s.forwardRef(Us),Gs="rc-observer-key";function Xs(e,t){var n=e.children,a=typeof n=="function"?[n]:sn(n);return a.map(function(r,i){var o=(r==null?void 0:r.key)||"".concat(Gs,"-").concat(i);return s.createElement(qs,ie({},e,{key:o,ref:i===0?t:void 0}),r)})}var Mn=s.forwardRef(Xs);Mn.Collection=$s;function ln(e,t){var n=k({},e);return Array.isArray(t)&&t.forEach(function(a){delete n[a]}),n}var Be=function(){function e(t,n){On(this,e),M(this,"name",void 0),M(this,"style",void 0),M(this,"_keyframe",!0),this.name=t,this.style=n}return Pn(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}();const Ys=(e,t)=>{const n=s.useContext(us),a=s.useMemo(()=>{var i;const o=t||qa[e],l=(i=n==null?void 0:n[e])!==null&&i!==void 0?i:{};return Object.assign(Object.assign({},typeof o=="function"?o():o),l||{})},[e,t,n]),r=s.useMemo(()=>{const i=n==null?void 0:n.locale;return n!=null&&n.exist&&!i?qa.locale:i},[n]);return[a,r]},Gf=Ys,yr=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function wt(e){var t=s.useRef();t.current=e;var n=s.useCallback(function(){for(var a,r=arguments.length,i=new Array(r),o=0;o({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),Zs=(e,t,n,a,r)=>{const i=e/2,o=0,l=i,u=n*1/Math.sqrt(2),c=i-n*(1-1/Math.sqrt(2)),d=i-t*(1/Math.sqrt(2)),f=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),g=2*i-d,w=f,b=2*i-u,h=c,v=2*i-o,m=l,y=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),p=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:a,clipPath:{_multi_value_:!0,value:[`polygon(${p}px 100%, 50% ${p}px, ${2*i-p}px 100%, ${p}px 100%)`,`path('M ${o} ${l} A ${n} ${n} 0 0 0 ${u} ${c} L ${d} ${f} A ${t} ${t} 0 0 1 ${g} ${w} L ${b} ${h} A ${n} ${n} 0 0 0 ${v} ${m} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:y,height:y,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}},lo=typeof CSSINJS_STATISTIC<"u";let la=!0;function pt(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(r).forEach(o=>{Object.defineProperty(a,o,{configurable:!0,enumerable:!0,get:()=>r[o]})})}),la=!0,a}const ei={};function Qs(){}function Js(e){let t,n=e,a=Qs;return lo&&(t=new Set,n=new Proxy(e,{get(r,i){return la&&t.add(i),r[i]}}),a=(r,i)=>{var o;ei[r]={global:Array.from(t),component:Object.assign(Object.assign({},(o=ei[r])===null||o===void 0?void 0:o.component),i)}}),{token:n,keys:t,flush:a}}function er(e,t,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const r=Array.isArray(e)?e:[e,e],[i]=r,o=r.join("-");return l=>{const[u,c,d]=Yi(),{getPrefixCls:f,iconPrefixCls:g,csp:w}=s.useContext(Vt),b=f(),h={theme:u,token:c,hashId:d,nonce:()=>w==null?void 0:w.nonce,clientOnly:a.clientOnly,order:a.order||-999};return Ya(Object.assign(Object.assign({},h),{clientOnly:!1,path:["Shared",b]}),()=>[{"&":cs(c)}]),ds(g,w),[Ya(Object.assign(Object.assign({},h),{path:[o,l,g]}),()=>{const{token:v,flush:m}=Js(c),y=Object.assign({},c[i]);if(a.deprecatedTokens){const{deprecatedTokens:R}=a;R.forEach(P=>{let[N,T]=P;var z;(y!=null&&y[N]||y!=null&&y[T])&&((z=y[T])!==null&&z!==void 0||(y[T]=y==null?void 0:y[N]))})}const p=typeof n=="function"?n(pt(v,y??{})):n,C=Object.assign(Object.assign({},p),y),x=`.${l}`,E=pt(v,{componentCls:x,prefixCls:l,iconCls:`.${g}`,antCls:`.${b}`},C),$=t(E,{hashId:d,prefixCls:l,rootPrefixCls:b,iconPrefixCls:g,overrideComponentToken:y});return m(i,C),[a.resetStyle===!1?null:fs(c,l),$]}),d]}}const Yf=(e,t,n,a)=>{const r=er(e,t,n,Object.assign({resetStyle:!1,order:-998},a));return o=>{let{prefixCls:l}=o;return r(l),null}};function el(e,t){return yr.reduce((n,a)=>{const r=e[`${a}1`],i=e[`${a}3`],o=e[`${a}6`],l=e[`${a}7`];return Object.assign(Object.assign({},n),t(a,{lightColor:r,lightBorderColor:i,darkColor:o,textColor:l}))},{})}function uo(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function tl(e){return uo(e)instanceof ShadowRoot}function Cr(e){return tl(e)?uo(e):null}function nl(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function rl(e,t){St(e,"[@ant-design/icons] ".concat(t))}function ti(e){return at(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(at(e.icon)==="object"||typeof e.icon=="function")}function ni(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var a=e[n];switch(n){case"class":t.className=a,delete t.class;break;default:delete t[n],t[nl(n)]=a}return t},{})}function ua(e,t,n){return n?ae.createElement(e.tag,k(k({key:t},ni(e.attrs)),n),(e.children||[]).map(function(a,r){return ua(a,"".concat(t,"-").concat(e.tag,"-").concat(r))})):ae.createElement(e.tag,k({key:t},ni(e.attrs)),(e.children||[]).map(function(a,r){return ua(a,"".concat(t,"-").concat(e.tag,"-").concat(r))}))}function co(e){return vs(e)[0]}function fo(e){return e?Array.isArray(e)?e:[e]:[]}var al=` +.anticon { + display: inline-block; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,il=function(t){var n=s.useContext(Zi),a=n.csp,r=n.prefixCls,i=al;r&&(i=i.replace(/anticon/g,r)),s.useEffect(function(){var o=t.current,l=Cr(o);Qi(i,"@ant-design-icons",{prepend:!0,csp:a,attachTo:l})},[])},ol=["icon","className","onClick","style","primaryColor","secondaryColor"],Wn={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function sl(e){var t=e.primaryColor,n=e.secondaryColor;Wn.primaryColor=t,Wn.secondaryColor=n||co(t),Wn.calculated=!!n}function ll(){return k({},Wn)}var Mr=function(t){var n=t.icon,a=t.className,r=t.onClick,i=t.style,o=t.primaryColor,l=t.secondaryColor,u=xe(t,ol),c=s.useRef(),d=Wn;if(o&&(d={primaryColor:o,secondaryColor:l||co(o)}),il(c),rl(ti(n),"icon should be icon definiton, but got ".concat(n)),!ti(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=k(k({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),ua(f.icon,"svg-".concat(f.name),k(k({className:a,onClick:r,style:i,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},u),{},{ref:c}))};Mr.displayName="IconReact";Mr.getTwoToneColors=ll;Mr.setTwoToneColors=sl;const za=Mr;function vo(e){var t=fo(e),n=W(t,2),a=n[0],r=n[1];return za.setTwoToneColors({primaryColor:a,secondaryColor:r})}function ul(){var e=za.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var cl=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];vo(ms.primary);var Fr=s.forwardRef(function(e,t){var n,a=e.className,r=e.icon,i=e.spin,o=e.rotate,l=e.tabIndex,u=e.onClick,c=e.twoToneColor,d=xe(e,cl),f=s.useContext(Zi),g=f.prefixCls,w=g===void 0?"anticon":g,b=f.rootClassName,h=G(b,w,(n={},M(n,"".concat(w,"-").concat(r.name),!!r.name),M(n,"".concat(w,"-spin"),!!i||r.name==="loading"),n),a),v=l;v===void 0&&u&&(v=-1);var m=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,y=fo(c),p=W(y,2),C=p[0],x=p[1];return s.createElement("span",ie({role:"img","aria-label":r.name},d,{ref:t,tabIndex:v,onClick:u,className:h}),s.createElement(za,{icon:r,primaryColor:C,secondaryColor:x,style:m}))});Fr.displayName="AntdIcon";Fr.getTwoToneColor=ul;Fr.setTwoToneColor=vo;const Fn=Fr;var dl={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const fl=dl;var vl=function(t,n){return s.createElement(Fn,ie({},t,{ref:n,icon:fl}))};const mo=s.forwardRef(vl),{isValidElement:en}=Ji;function ml(e){return e&&en(e)&&e.type===s.Fragment}function gl(e,t,n){return en(e)?s.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Nr(e,t){return gl(e,e,t)}var U={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>=U.F1&&n<=U.F12)return!1;switch(n){case U.ALT:case U.CAPS_LOCK:case U.CONTEXT_MENU:case U.CTRL:case U.DOWN:case U.END:case U.ESC:case U.HOME:case U.INSERT:case U.LEFT:case U.MAC_FF_META:case U.META:case U.NUMLOCK:case U.NUM_CENTER:case U.PAGE_DOWN:case U.PAGE_UP:case U.PAUSE:case U.PRINT_SCREEN:case U.RIGHT:case U.SHIFT:case U.UP:case U.WIN_KEY:case U.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=U.ZERO&&t<=U.NINE||t>=U.NUM_ZERO&&t<=U.NUM_MULTIPLY||t>=U.A&&t<=U.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case U.SPACE:case U.QUESTION_MARK:case U.NUM_PLUS:case U.NUM_MINUS:case U.NUM_PERIOD:case U.NUM_DIVISION:case U.SEMICOLON:case U.DASH:case U.EQUALS:case U.COMMA:case U.PERIOD:case U.SLASH:case U.APOSTROPHE:case U.SINGLE_QUOTE:case U.OPEN_SQUARE_BRACKET:case U.BACKSLASH:case U.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};function $t(){$t=function(){return t};var e,t={},n=Object.prototype,a=n.hasOwnProperty,r=Object.defineProperty||function(I,S,O){I[S]=O.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(I,S,O){return Object.defineProperty(I,S,{value:O,enumerable:!0,configurable:!0,writable:!0}),I[S]}try{c({},"")}catch{c=function(O,A,D){return O[A]=D}}function d(I,S,O,A){var D=S&&S.prototype instanceof m?S:m,j=Object.create(D.prototype),B=new _(A||[]);return r(j,"_invoke",{value:N(I,O,B)}),j}function f(I,S,O){try{return{type:"normal",arg:I.call(S,O)}}catch(A){return{type:"throw",arg:A}}}t.wrap=d;var g="suspendedStart",w="suspendedYield",b="executing",h="completed",v={};function m(){}function y(){}function p(){}var C={};c(C,o,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(V([])));E&&E!==n&&a.call(E,o)&&(C=E);var $=p.prototype=m.prototype=Object.create(C);function R(I){["next","throw","return"].forEach(function(S){c(I,S,function(O){return this._invoke(S,O)})})}function P(I,S){function O(D,j,B,H){var L=f(I[D],I,j);if(L.type!=="throw"){var X=L.arg,q=X.value;return q&&at(q)=="object"&&a.call(q,"__await")?S.resolve(q.__await).then(function(Y){O("next",Y,B,H)},function(Y){O("throw",Y,B,H)}):S.resolve(q).then(function(Y){X.value=Y,B(X)},function(Y){return O("throw",Y,B,H)})}H(L.arg)}var A;r(this,"_invoke",{value:function(j,B){function H(){return new S(function(L,X){O(j,B,L,X)})}return A=A?A.then(H,H):H()}})}function N(I,S,O){var A=g;return function(D,j){if(A===b)throw new Error("Generator is already running");if(A===h){if(D==="throw")throw j;return{value:e,done:!0}}for(O.method=D,O.arg=j;;){var B=O.delegate;if(B){var H=T(B,O);if(H){if(H===v)continue;return H}}if(O.method==="next")O.sent=O._sent=O.arg;else if(O.method==="throw"){if(A===g)throw A=h,O.arg;O.dispatchException(O.arg)}else O.method==="return"&&O.abrupt("return",O.arg);A=b;var L=f(I,S,O);if(L.type==="normal"){if(A=O.done?h:w,L.arg===v)continue;return{value:L.arg,done:O.done}}L.type==="throw"&&(A=h,O.method="throw",O.arg=L.arg)}}}function T(I,S){var O=S.method,A=I.iterator[O];if(A===e)return S.delegate=null,O==="throw"&&I.iterator.return&&(S.method="return",S.arg=e,T(I,S),S.method==="throw")||O!=="return"&&(S.method="throw",S.arg=new TypeError("The iterator does not provide a '"+O+"' method")),v;var D=f(A,I.iterator,S.arg);if(D.type==="throw")return S.method="throw",S.arg=D.arg,S.delegate=null,v;var j=D.arg;return j?j.done?(S[I.resultName]=j.value,S.next=I.nextLoc,S.method!=="return"&&(S.method="next",S.arg=e),S.delegate=null,v):j:(S.method="throw",S.arg=new TypeError("iterator result is not an object"),S.delegate=null,v)}function z(I){var S={tryLoc:I[0]};1 in I&&(S.catchLoc=I[1]),2 in I&&(S.finallyLoc=I[2],S.afterLoc=I[3]),this.tryEntries.push(S)}function F(I){var S=I.completion||{};S.type="normal",delete S.arg,I.completion=S}function _(I){this.tryEntries=[{tryLoc:"root"}],I.forEach(z,this),this.reset(!0)}function V(I){if(I||I===""){var S=I[o];if(S)return S.call(I);if(typeof I.next=="function")return I;if(!isNaN(I.length)){var O=-1,A=function D(){for(;++O=0;--D){var j=this.tryEntries[D],B=j.completion;if(j.tryLoc==="root")return A("end");if(j.tryLoc<=this.prev){var H=a.call(j,"catchLoc"),L=a.call(j,"finallyLoc");if(H&&L){if(this.prev=0;--A){var D=this.tryEntries[A];if(D.tryLoc<=this.prev&&a.call(D,"finallyLoc")&&this.prev=0;--O){var A=this.tryEntries[O];if(A.finallyLoc===S)return this.complete(A.completion,A.afterLoc),F(A),v}},catch:function(S){for(var O=this.tryEntries.length-1;O>=0;--O){var A=this.tryEntries[O];if(A.tryLoc===S){var D=A.completion;if(D.type==="throw"){var j=D.arg;F(A)}return j}}throw new Error("illegal catch attempt")},delegateYield:function(S,O,A){return this.delegate={iterator:V(S),resultName:O,nextLoc:A},this.method==="next"&&(this.arg=e),v}},t}function ri(e,t,n,a,r,i,o){try{var l=e[i](o),u=l.value}catch(c){n(c);return}l.done?t(u):Promise.resolve(u).then(a,r)}function tr(e){return function(){var t=this,n=arguments;return new Promise(function(a,r){var i=e.apply(t,n);function o(u){ri(i,a,r,o,l,"next",u)}function l(u){ri(i,a,r,o,l,"throw",u)}o(void 0)})}}const Gr=()=>({height:0,opacity:0}),ai=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},hl=e=>({height:e?e.offsetHeight:0}),Xr=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",pl=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:Gr,onEnterStart:Gr,onAppearActive:ai,onEnterActive:ai,onLeaveStart:hl,onLeaveActive:Gr,onAppearEnd:Xr,onEnterEnd:Xr,onLeaveEnd:Xr,motionDeadline:500}},bl=(e,t,n)=>n!==void 0?n:`${e}-${t}`,yl=pl,go=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,a=t.height;if(n||a)return!0}if(e.getBoundingClientRect){var r=e.getBoundingClientRect(),i=r.width,o=r.height;if(i||o)return!0}}return!1},Cl=e=>{const t=ae.useContext(gs);return ae.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},La=Cl,wl=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Sl=wl,$l=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"}}}},xl=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},El=er("Space",e=>{const t=pt(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[$l(t),xl(t),Sl(t)]},()=>({}),{resetStyle:!1});var ho=globalThis&&globalThis.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{const n=s.useContext(Tr),a=s.useMemo(()=>{if(!n)return"";const{compactDirection:r,isFirstItem:i,isLastItem:o}=n,l=r==="vertical"?"-vertical-":"-";return G(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:i,[`${e}-compact${l}last-item`]:o,[`${e}-compact${l}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:a}},wr=e=>{let{children:t}=e;return s.createElement(Tr.Provider,{value:null},t)},Rl=e=>{var{children:t}=e,n=ho(e,["children"]);return s.createElement(Tr.Provider,{value:n},t)},Zf=e=>{const{getPrefixCls:t,direction:n}=s.useContext(Vt),{size:a,direction:r,block:i,prefixCls:o,className:l,rootClassName:u,children:c}=e,d=ho(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=La(p=>a??p),g=t("space-compact",o),[w,b]=El(g),h=G(g,b,{[`${g}-rtl`]:n==="rtl",[`${g}-block`]:i,[`${g}-vertical`]:r==="vertical"},l,u),v=s.useContext(Tr),m=sn(c),y=s.useMemo(()=>m.map((p,C)=>{const x=p&&p.key||`${g}-item-${C}`;return s.createElement(Rl,{key:x,compactSize:f,compactDirection:r,isFirstItem:C===0&&(!v||(v==null?void 0:v.isFirstItem)),isLastItem:C===m.length-1&&(!v||(v==null?void 0:v.isLastItem))},p)}),[a,m,v]);return m.length===0?null:w(s.createElement("div",Object.assign({className:h},d),y))};function Ol(e,t,n){const{focusElCls:a,focus:r,borderElCls:i}=n,o=i?"> *":"",l=["hover",r?"focus":null,"active"].filter(Boolean).map(u=>`&:${u} ${o}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},a?{[`&${a}`]:{zIndex:2}}:{}),{[`&[disabled] ${o}`]:{zIndex:0}})}}function Pl(e,t,n){const{borderElCls:a}=n,r=a?`> ${a}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Ml(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,a=`${n}-compact`;return{[a]:Object.assign(Object.assign({},Ol(e,a,t)),Pl(n,a,t))}}var po=s.createContext(null),ii=[];function Fl(e,t){var n=s.useState(function(){if(!Xn())return null;var b=document.createElement("div");return b}),a=W(n,1),r=a[0],i=s.useRef(!1),o=s.useContext(po),l=s.useState(ii),u=W(l,2),c=u[0],d=u[1],f=o||(i.current?void 0:function(b){d(function(h){var v=[b].concat(ee(h));return v})});function g(){r.parentElement||document.body.appendChild(r),i.current=!0}function w(){var b;(b=r.parentElement)===null||b===void 0||b.removeChild(r),i.current=!1}return et(function(){return e?o?o(g):g():w(),w},[e]),et(function(){c.length&&(c.forEach(function(b){return b()}),d(ii))},[c]),[r,f]}var Yr;function Nl(e){if(typeof document>"u")return 0;if(e||Yr===void 0){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),a=n.style;a.position="absolute",a.top="0",a.left="0",a.pointerEvents="none",a.visibility="hidden",a.width="200px",a.height="150px",a.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var r=t.offsetWidth;n.style.overflow="scroll";var i=t.offsetWidth;r===i&&(i=n.clientWidth),document.body.removeChild(n),Yr=r-i}return Yr}function oi(e){var t=e.match(/^(.*)px$/),n=Number(t==null?void 0:t[1]);return Number.isNaN(n)?Nl():n}function Tl(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,a=t.height;return{width:oi(n),height:oi(a)}}function _l(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Al="rc-util-locker-".concat(Date.now()),si=0;function zl(e){var t=!!e,n=s.useState(function(){return si+=1,"".concat(Al,"_").concat(si)}),a=W(n,1),r=a[0];et(function(){if(t){var i=Tl(document.body).width,o=_l();Qi(` +html body { + overflow-y: hidden; + `.concat(o?"width: calc(100% - ".concat(i,"px);"):"",` +}`),r)}else Za(r);return function(){Za(r)}},[t,r])}var li=!1;function Ll(e){return typeof e=="boolean"&&(li=e),li}var ui=function(t){return t===!1?!1:!Xn()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},bo=s.forwardRef(function(e,t){var n=e.open,a=e.autoLock,r=e.getContainer;e.debug;var i=e.autoDestroy,o=i===void 0?!0:i,l=e.children,u=s.useState(n),c=W(u,2),d=c[0],f=c[1],g=d||n;s.useEffect(function(){(o||n)&&f(n)},[n,o]);var w=s.useState(function(){return ui(r)}),b=W(w,2),h=b[0],v=b[1];s.useEffect(function(){var T=ui(r);v(T??null)});var m=Fl(g&&!h),y=W(m,2),p=y[0],C=y[1],x=h??p;zl(a&&n&&Xn()&&(x===p||x===document.body));var E=null;if(l&&Ta(l)&&t){var $=l;E=$.ref}var R=Jn(E,t);if(!g||!Xn()||h===void 0)return null;var P=x===!1||Ll(),N=l;return t&&(N=s.cloneElement(l,{ref:R})),s.createElement(po.Provider,{value:C},P?N:Rr.createPortal(N,x))});function kl(){var e=k({},Ji);return e.useId}var ci=0,di=kl();const Dl=di?function(t){var n=di();return t||n}:function(t){var n=s.useState("ssr-id"),a=W(n,2),r=a[0],i=a[1];return s.useEffect(function(){var o=ci;ci+=1,i("rc_unique_".concat(o))},[]),t||r};var yo=function(t){if(Xn()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],a=window.document.documentElement;return n.some(function(r){return r in a.style})}return!1},jl=function(t,n){if(!yo(t))return!1;var a=document.createElement("div"),r=a.style[t];return a.style[t]=n,a.style[t]!==r};function Qf(e,t){return!Array.isArray(e)&&t!==void 0?jl(e,t):yo(e)}var an="RC_FORM_INTERNAL_HOOKS",Ce=function(){St(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Rn=s.createContext({getFieldValue:Ce,getFieldsValue:Ce,getFieldError:Ce,getFieldWarning:Ce,getFieldsError:Ce,isFieldsTouched:Ce,isFieldTouched:Ce,isFieldValidating:Ce,isFieldsValidating:Ce,resetFields:Ce,setFields:Ce,setFieldValue:Ce,setFieldsValue:Ce,validateFields:Ce,submit:Ce,getInternalHooks:function(){return Ce(),{dispatch:Ce,initEntityValue:Ce,registerField:Ce,useSubscribe:Ce,setInitialValues:Ce,destroyForm:Ce,setCallbacks:Ce,registerWatch:Ce,getFields:Ce,setValidateMessages:Ce,setPreserve:Ce,getInitialValue:Ce}}}),Sr=s.createContext(null);function ca(e){return e==null?[]:Array.isArray(e)?e:[e]}function Bl(e){return e&&!!e._init}function on(){return on=Object.assign?Object.assign.bind():function(e){for(var t=1;t"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 mr(e,t,n){return Hl()?mr=Reflect.construct.bind():mr=function(r,i,o){var l=[null];l.push.apply(l,i);var u=Function.bind.apply(r,l),c=new u;return o&&Yn(c,o.prototype),c},mr.apply(null,arguments)}function Wl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function fa(e){var t=typeof Map=="function"?new Map:void 0;return fa=function(a){if(a===null||!Wl(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(a))return t.get(a);t.set(a,r)}function r(){return mr(a,arguments,da(this).constructor)}return r.prototype=Object.create(a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Yn(r,a)},fa(e)}var Kl=/%[sdj%]/g,Ul=function(){};typeof process<"u"&&process.env;function va(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var a=n.field;t[a]=t[a]||[],t[a].push(n)}),t}function ut(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a=i)return l;switch(l){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}break;default:return l}});return o}return e}function ql(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function He(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||ql(t)&&typeof e=="string"&&!e)}function Gl(e,t,n){var a=[],r=0,i=e.length;function o(l){a.push.apply(a,l||[]),r++,r===i&&n(a)}e.forEach(function(l){t(l,o)})}function fi(e,t,n){var a=0,r=e.length;function i(o){if(o&&o.length){n(o);return}var l=a;a=a+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Vn={integer:function(t){return Vn.number(t)&&parseInt(t,10)===t},float:function(t){return Vn.number(t)&&!Vn.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Vn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(hi.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(eu())},hex:function(t){return typeof t=="string"&&!!t.match(hi.hex)}},tu=function(t,n,a,r,i){if(t.required&&n===void 0){Co(t,n,a,r,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;o.indexOf(l)>-1?Vn[l](n)||r.push(ut(i.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&r.push(ut(i.messages.types[l],t.fullField,t.type))},nu=function(t,n,a,r,i){var o=typeof t.len=="number",l=typeof t.min=="number",u=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,g=typeof n=="number",w=typeof n=="string",b=Array.isArray(n);if(g?f="number":w?f="string":b&&(f="array"),!f)return!1;b&&(d=n.length),w&&(d=n.replace(c,"_").length),o?d!==t.len&&r.push(ut(i.messages[f].len,t.fullField,t.len)):l&&!u&&dt.max?r.push(ut(i.messages[f].max,t.fullField,t.max)):l&&u&&(dt.max)&&r.push(ut(i.messages[f].range,t.fullField,t.min,t.max))},pn="enum",ru=function(t,n,a,r,i){t[pn]=Array.isArray(t[pn])?t[pn]:[],t[pn].indexOf(n)===-1&&r.push(ut(i.messages[pn],t.fullField,t[pn].join(", ")))},au=function(t,n,a,r,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||r.push(ut(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(n)||r.push(ut(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},ue={required:Co,whitespace:Jl,type:tu,range:nu,enum:ru,pattern:au},iu=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(He(n,"string")&&!t.required)return a();ue.required(t,n,r,o,i,"string"),He(n,"string")||(ue.type(t,n,r,o,i),ue.range(t,n,r,o,i),ue.pattern(t,n,r,o,i),t.whitespace===!0&&ue.whitespace(t,n,r,o,i))}a(o)},ou=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(He(n)&&!t.required)return a();ue.required(t,n,r,o,i),n!==void 0&&ue.type(t,n,r,o,i)}a(o)},su=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),He(n)&&!t.required)return a();ue.required(t,n,r,o,i),n!==void 0&&(ue.type(t,n,r,o,i),ue.range(t,n,r,o,i))}a(o)},lu=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(He(n)&&!t.required)return a();ue.required(t,n,r,o,i),n!==void 0&&ue.type(t,n,r,o,i)}a(o)},uu=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(He(n)&&!t.required)return a();ue.required(t,n,r,o,i),He(n)||ue.type(t,n,r,o,i)}a(o)},cu=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(He(n)&&!t.required)return a();ue.required(t,n,r,o,i),n!==void 0&&(ue.type(t,n,r,o,i),ue.range(t,n,r,o,i))}a(o)},du=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(He(n)&&!t.required)return a();ue.required(t,n,r,o,i),n!==void 0&&(ue.type(t,n,r,o,i),ue.range(t,n,r,o,i))}a(o)},fu=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return a();ue.required(t,n,r,o,i,"array"),n!=null&&(ue.type(t,n,r,o,i),ue.range(t,n,r,o,i))}a(o)},vu=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(He(n)&&!t.required)return a();ue.required(t,n,r,o,i),n!==void 0&&ue.type(t,n,r,o,i)}a(o)},mu="enum",gu=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(He(n)&&!t.required)return a();ue.required(t,n,r,o,i),n!==void 0&&ue[mu](t,n,r,o,i)}a(o)},hu=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(He(n,"string")&&!t.required)return a();ue.required(t,n,r,o,i),He(n,"string")||ue.pattern(t,n,r,o,i)}a(o)},pu=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(He(n,"date")&&!t.required)return a();if(ue.required(t,n,r,o,i),!He(n,"date")){var u;n instanceof Date?u=n:u=new Date(n),ue.type(t,u,r,o,i),u&&ue.range(t,u.getTime(),r,o,i)}}a(o)},bu=function(t,n,a,r,i){var o=[],l=Array.isArray(n)?"array":typeof n;ue.required(t,n,r,o,i,l),a(o)},Zr=function(t,n,a,r,i){var o=t.type,l=[],u=t.required||!t.required&&r.hasOwnProperty(t.field);if(u){if(He(n,o)&&!t.required)return a();ue.required(t,n,r,l,i,o),He(n,o)||ue.type(t,n,r,l,i)}a(l)},yu=function(t,n,a,r,i){var o=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(He(n)&&!t.required)return a();ue.required(t,n,r,o,i)}a(o)},Kn={string:iu,method:ou,number:su,boolean:lu,regexp:uu,integer:cu,float:du,array:fu,object:vu,enum:gu,pattern:hu,date:pu,url:Zr,hex:Zr,email:Zr,required:bu,any:yu};function ma(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ga=ma(),nr=function(){function e(n){this.rules=null,this._messages=ga,this.define(n)}var t=e.prototype;return t.define=function(a){var r=this;if(!a)throw new Error("Cannot configure a schema with no rules");if(typeof a!="object"||Array.isArray(a))throw new Error("Rules must be an object");this.rules={},Object.keys(a).forEach(function(i){var o=a[i];r.rules[i]=Array.isArray(o)?o:[o]})},t.messages=function(a){return a&&(this._messages=gi(ma(),a)),this._messages},t.validate=function(a,r,i){var o=this;r===void 0&&(r={}),i===void 0&&(i=function(){});var l=a,u=r,c=i;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,l),Promise.resolve(l);function d(h){var v=[],m={};function y(C){if(Array.isArray(C)){var x;v=(x=v).concat.apply(x,C)}else v.push(C)}for(var p=0;p2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(a){return So(t,a,n)})}function So(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(a,r){return e[r]===a})}function xu(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||at(e)!=="object"||at(t)!=="object")return!1;var n=Object.keys(e),a=Object.keys(t),r=new Set([].concat(n,a));return ee(r).every(function(i){var o=e[i],l=t[i];return typeof o=="function"&&typeof l=="function"?!0:o===l})}function Eu(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&at(t.target)==="object"&&e in t.target?t.target[e]:t}function Ci(e,t,n){var a=e.length;if(t<0||t>=a||n<0||n>=a)return e;var r=e[t],i=t-n;return i>0?[].concat(ee(e.slice(0,n)),[r],ee(e.slice(n,t)),ee(e.slice(t+1,a))):i<0?[].concat(ee(e.slice(0,t)),ee(e.slice(t+1,n+1)),[r],ee(e.slice(n+1,a))):e}var Iu=["name"],mt=[];function wi(e,t,n,a,r,i){return typeof e=="function"?e(t,n,"source"in i?{source:i.source}:{}):a!==r}var ka=function(e){Fa(n,e);var t=Na(n);function n(a){var r;if(On(this,n),r=t.call(this,a),M(ge(r),"state",{resetCount:0}),M(ge(r),"cancelRegisterFunc",null),M(ge(r),"mounted",!1),M(ge(r),"touched",!1),M(ge(r),"dirty",!1),M(ge(r),"validatePromise",void 0),M(ge(r),"prevValidating",void 0),M(ge(r),"errors",mt),M(ge(r),"warnings",mt),M(ge(r),"cancelRegister",function(){var u=r.props,c=u.preserve,d=u.isListField,f=u.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(d,c,je(f)),r.cancelRegisterFunc=null}),M(ge(r),"getNamePath",function(){var u=r.props,c=u.name,d=u.fieldContext,f=d.prefixName,g=f===void 0?[]:f;return c!==void 0?[].concat(ee(g),ee(c)):[]}),M(ge(r),"getRules",function(){var u=r.props,c=u.rules,d=c===void 0?[]:c,f=u.fieldContext;return d.map(function(g){return typeof g=="function"?g(f):g})}),M(ge(r),"refresh",function(){r.mounted&&r.setState(function(u){var c=u.resetCount;return{resetCount:c+1}})}),M(ge(r),"metaCache",null),M(ge(r),"triggerMetaEvent",function(u){var c=r.props.onMetaChange;if(c){var d=k(k({},r.getMeta()),{},{destroy:u});_a(r.metaCache,d)||c(d),r.metaCache=d}else r.metaCache=null}),M(ge(r),"onStoreChange",function(u,c,d){var f=r.props,g=f.shouldUpdate,w=f.dependencies,b=w===void 0?[]:w,h=f.onReset,v=d.store,m=r.getNamePath(),y=r.getValue(u),p=r.getValue(v),C=c&&En(c,m);switch(d.type==="valueUpdate"&&d.source==="external"&&y!==p&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=mt,r.warnings=mt,r.triggerMetaEvent()),d.type){case"reset":if(!c||C){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=mt,r.warnings=mt,r.triggerMetaEvent(),h==null||h(),r.refresh();return}break;case"remove":{if(g){r.reRender();return}break}case"setField":{var x=d.data;if(C){"touched"in x&&(r.touched=x.touched),"validating"in x&&!("originRCField"in x)&&(r.validatePromise=x.validating?Promise.resolve([]):null),"errors"in x&&(r.errors=x.errors||mt),"warnings"in x&&(r.warnings=x.warnings||mt),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}else if("value"in x&&En(c,m,!0)){r.reRender();return}if(g&&!m.length&&wi(g,u,v,y,p,d)){r.reRender();return}break}case"dependenciesUpdate":{var E=b.map(je);if(E.some(function($){return En(d.relatedFields,$)})){r.reRender();return}break}default:if(C||(!b.length||m.length||g)&&wi(g,u,v,y,p,d)){r.reRender();return}break}g===!0&&r.reRender()}),M(ge(r),"validateRules",function(u){var c=r.getNamePath(),d=r.getValue(),f=u||{},g=f.triggerName,w=f.validateOnly,b=w===void 0?!1:w,h=Promise.resolve().then(tr($t().mark(function v(){var m,y,p,C,x,E,$;return $t().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(r.mounted){P.next=2;break}return P.abrupt("return",[]);case 2:if(m=r.props,y=m.validateFirst,p=y===void 0?!1:y,C=m.messageVariables,x=m.validateDebounce,E=r.getRules(),g&&(E=E.filter(function(N){return N}).filter(function(N){var T=N.validateTrigger;if(!T)return!0;var z=ca(T);return z.includes(g)})),!(x&&g)){P.next=10;break}return P.next=8,new Promise(function(N){setTimeout(N,x)});case 8:if(r.validatePromise===h){P.next=10;break}return P.abrupt("return",[]);case 10:return $=wu(c,d,E,u,p,C),$.catch(function(N){return N}).then(function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mt;if(r.validatePromise===h){var T;r.validatePromise=null;var z=[],F=[];(T=N.forEach)===null||T===void 0||T.call(N,function(_){var V=_.rule.warningOnly,I=_.errors,S=I===void 0?mt:I;V?F.push.apply(F,ee(S)):z.push.apply(z,ee(S))}),r.errors=z,r.warnings=F,r.triggerMetaEvent(),r.reRender()}}),P.abrupt("return",$);case 13:case"end":return P.stop()}},v)})));return b||(r.validatePromise=h,r.dirty=!0,r.errors=mt,r.warnings=mt,r.triggerMetaEvent(),r.reRender()),h}),M(ge(r),"isFieldValidating",function(){return!!r.validatePromise}),M(ge(r),"isFieldTouched",function(){return r.touched}),M(ge(r),"isFieldDirty",function(){if(r.dirty||r.props.initialValue!==void 0)return!0;var u=r.props.fieldContext,c=u.getInternalHooks(an),d=c.getInitialValue;return d(r.getNamePath())!==void 0}),M(ge(r),"getErrors",function(){return r.errors}),M(ge(r),"getWarnings",function(){return r.warnings}),M(ge(r),"isListField",function(){return r.props.isListField}),M(ge(r),"isList",function(){return r.props.isList}),M(ge(r),"isPreserve",function(){return r.props.preserve}),M(ge(r),"getMeta",function(){r.prevValidating=r.isFieldValidating();var u={touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:r.validatePromise===null};return u}),M(ge(r),"getOnlyChild",function(u){if(typeof u=="function"){var c=r.getMeta();return k(k({},r.getOnlyChild(u(r.getControlled(),c,r.props.fieldContext))),{},{isFunction:!0})}var d=sn(u);return d.length!==1||!s.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),M(ge(r),"getValue",function(u){var c=r.props.fieldContext.getFieldsValue,d=r.getNamePath();return Zt(u||c(!0),d)}),M(ge(r),"getControlled",function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=r.props,d=c.trigger,f=c.validateTrigger,g=c.getValueFromEvent,w=c.normalize,b=c.valuePropName,h=c.getValueProps,v=c.fieldContext,m=f!==void 0?f:v.validateTrigger,y=r.getNamePath(),p=v.getInternalHooks,C=v.getFieldsValue,x=p(an),E=x.dispatch,$=r.getValue(),R=h||function(z){return M({},b,z)},P=u[d],N=k(k({},u),R($));N[d]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var z,F=arguments.length,_=new Array(F),V=0;V=0&&N<=T.length?(d.keys=[].concat(ee(d.keys.slice(0,N)),[d.id],ee(d.keys.slice(N))),p([].concat(ee(T.slice(0,N)),[P],ee(T.slice(N))))):(d.keys=[].concat(ee(d.keys),[d.id]),p([].concat(ee(T),[P]))),d.id+=1},remove:function(P){var N=x(),T=new Set(Array.isArray(P)?P:[P]);T.size<=0||(d.keys=d.keys.filter(function(z,F){return!T.has(F)}),p(N.filter(function(z,F){return!T.has(F)})))},move:function(P,N){if(P!==N){var T=x();P<0||P>=T.length||N<0||N>=T.length||(d.keys=Ci(d.keys,P,N),p(Ci(T,P,N)))}}},$=y||[];return Array.isArray($)||($=[]),a($.map(function(R,P){var N=d.keys[P];return N===void 0&&(d.keys[P]=d.id,N=d.keys[P],d.id+=1),{name:P,key:N,isListField:!0}}),E,v)})))}function Ou(e){var t=!1,n=e.length,a=[];return e.length?new Promise(function(r,i){e.forEach(function(o,l){o.catch(function(u){return t=!0,u}).then(function(u){n-=1,a[l]=u,!(n>0)&&(t&&i(a),r(a))})})}):Promise.resolve([])}var xo="__@field_split__";function Qr(e){return e.map(function(t){return"".concat(at(t),":").concat(t)}).join(xo)}var bn=function(){function e(){On(this,e),M(this,"kvs",new Map)}return Pn(e,[{key:"set",value:function(n,a){this.kvs.set(Qr(n),a)}},{key:"get",value:function(n){return this.kvs.get(Qr(n))}},{key:"update",value:function(n,a){var r=this.get(n),i=a(r);i?this.set(n,i):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(Qr(n))}},{key:"map",value:function(n){return ee(this.kvs.entries()).map(function(a){var r=W(a,2),i=r[0],o=r[1],l=i.split(xo);return n({key:l.map(function(u){var c=u.match(/^([^:]*):(.*)$/),d=W(c,3),f=d[1],g=d[2];return f==="number"?Number(g):g}),value:o})})}},{key:"toJSON",value:function(){var n={};return this.map(function(a){var r=a.key,i=a.value;return n[r.join(".")]=i,null}),n}}]),e}(),Pu=["name"],Mu=Pn(function e(t){var n=this;On(this,e),M(this,"formHooked",!1),M(this,"forceRootUpdate",void 0),M(this,"subscribable",!0),M(this,"store",{}),M(this,"fieldEntities",[]),M(this,"initialValues",{}),M(this,"callbacks",{}),M(this,"validateMessages",null),M(this,"preserve",null),M(this,"lastValidatePromise",null),M(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),M(this,"getInternalHooks",function(a){return a===an?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(St(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),M(this,"useSubscribe",function(a){n.subscribable=a}),M(this,"prevWithoutPreserves",null),M(this,"setInitialValues",function(a,r){if(n.initialValues=a||{},r){var i,o=Bn(a,n.store);(i=n.prevWithoutPreserves)===null||i===void 0||i.map(function(l){var u=l.key;o=Yt(o,u,Zt(a,u))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),M(this,"destroyForm",function(){var a=new bn;n.getFieldEntities(!0).forEach(function(r){n.isMergedPreserve(r.isPreserve())||a.set(r.getNamePath(),!0)}),n.prevWithoutPreserves=a}),M(this,"getInitialValue",function(a){var r=Zt(n.initialValues,a);return a.length?Bn(r):r}),M(this,"setCallbacks",function(a){n.callbacks=a}),M(this,"setValidateMessages",function(a){n.validateMessages=a}),M(this,"setPreserve",function(a){n.preserve=a}),M(this,"watchList",[]),M(this,"registerWatch",function(a){return n.watchList.push(a),function(){n.watchList=n.watchList.filter(function(r){return r!==a})}}),M(this,"notifyWatch",function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var r=n.getFieldsValue(),i=n.getFieldsValue(!0);n.watchList.forEach(function(o){o(r,i,a)})}}),M(this,"timeoutId",null),M(this,"warningUnhooked",function(){}),M(this,"updateStore",function(a){n.store=a}),M(this,"getFieldEntities",function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return a?n.fieldEntities.filter(function(r){return r.getNamePath().length}):n.fieldEntities}),M(this,"getFieldsMap",function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=new bn;return n.getFieldEntities(a).forEach(function(i){var o=i.getNamePath();r.set(o,i)}),r}),M(this,"getFieldEntitiesForNamePathList",function(a){if(!a)return n.getFieldEntities(!0);var r=n.getFieldsMap(!0);return a.map(function(i){var o=je(i);return r.get(o)||{INVALIDATE_NAME_PATH:je(i)}})}),M(this,"getFieldsValue",function(a,r){n.warningUnhooked();var i,o,l;if(a===!0||Array.isArray(a)?(i=a,o=r):a&&at(a)==="object"&&(l=a.strict,o=a.filter),i===!0&&!o)return n.store;var u=n.getFieldEntitiesForNamePathList(Array.isArray(i)?i:null),c=[];return u.forEach(function(d){var f,g,w="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(l){var b,h;if((b=(h=d).isList)!==null&&b!==void 0&&b.call(h))return}else if(!i&&(f=(g=d).isListField)!==null&&f!==void 0&&f.call(g))return;if(!o)c.push(w);else{var v="getMeta"in d?d.getMeta():null;o(v)&&c.push(w)}}),yi(n.store,c.map(je))}),M(this,"getFieldValue",function(a){n.warningUnhooked();var r=je(a);return Zt(n.store,r)}),M(this,"getFieldsError",function(a){n.warningUnhooked();var r=n.getFieldEntitiesForNamePathList(a);return r.map(function(i,o){return i&&!("INVALIDATE_NAME_PATH"in i)?{name:i.getNamePath(),errors:i.getErrors(),warnings:i.getWarnings()}:{name:je(a[o]),errors:[],warnings:[]}})}),M(this,"getFieldError",function(a){n.warningUnhooked();var r=je(a),i=n.getFieldsError([r])[0];return i.errors}),M(this,"getFieldWarning",function(a){n.warningUnhooked();var r=je(a),i=n.getFieldsError([r])[0];return i.warnings}),M(this,"isFieldsTouched",function(){n.warningUnhooked();for(var a=arguments.length,r=new Array(a),i=0;i0&&arguments[0]!==void 0?arguments[0]:{},r=new bn,i=n.getFieldEntities(!0);i.forEach(function(u){var c=u.props.initialValue,d=u.getNamePath();if(c!==void 0){var f=r.get(d)||new Set;f.add({entity:u,value:c}),r.set(d,f)}});var o=function(c){c.forEach(function(d){var f=d.props.initialValue;if(f!==void 0){var g=d.getNamePath(),w=n.getInitialValue(g);if(w!==void 0)St(!1,"Form already set 'initialValues' with path '".concat(g.join("."),"'. Field can not overwrite it."));else{var b=r.get(g);if(b&&b.size>1)St(!1,"Multiple Field with path '".concat(g.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(b){var h=n.getFieldValue(g),v=d.isListField();!v&&(!a.skipExist||h===void 0)&&n.updateStore(Yt(n.store,g,ee(b)[0].value))}}}})},l;a.entities?l=a.entities:a.namePathList?(l=[],a.namePathList.forEach(function(u){var c=r.get(u);if(c){var d;(d=l).push.apply(d,ee(ee(c).map(function(f){return f.entity})))}})):l=i,o(l)}),M(this,"resetFields",function(a){n.warningUnhooked();var r=n.store;if(!a){n.updateStore(Bn(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(r,null,{type:"reset"}),n.notifyWatch();return}var i=a.map(je);i.forEach(function(o){var l=n.getInitialValue(o);n.updateStore(Yt(n.store,o,l))}),n.resetWithFieldInitialValue({namePathList:i}),n.notifyObservers(r,i,{type:"reset"}),n.notifyWatch(i)}),M(this,"setFields",function(a){n.warningUnhooked();var r=n.store,i=[];a.forEach(function(o){var l=o.name,u=xe(o,Pu),c=je(l);i.push(c),"value"in u&&n.updateStore(Yt(n.store,c,u.value)),n.notifyObservers(r,[c],{type:"setField",data:o})}),n.notifyWatch(i)}),M(this,"getFields",function(){var a=n.getFieldEntities(!0),r=a.map(function(i){var o=i.getNamePath(),l=i.getMeta(),u=k(k({},l),{},{name:o,value:n.getFieldValue(o)});return Object.defineProperty(u,"originRCField",{value:!0}),u});return r}),M(this,"initEntityValue",function(a){var r=a.props.initialValue;if(r!==void 0){var i=a.getNamePath(),o=Zt(n.store,i);o===void 0&&n.updateStore(Yt(n.store,i,r))}}),M(this,"isMergedPreserve",function(a){var r=a!==void 0?a:n.preserve;return r??!0}),M(this,"registerField",function(a){n.fieldEntities.push(a);var r=a.getNamePath();if(n.notifyWatch([r]),a.props.initialValue!==void 0){var i=n.store;n.resetWithFieldInitialValue({entities:[a],skipExist:!0}),n.notifyObservers(i,[a.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(o,l){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==a}),!n.isMergedPreserve(l)&&(!o||u.length>1)){var c=o?void 0:n.getInitialValue(r);if(r.length&&n.getFieldValue(r)!==c&&n.fieldEntities.every(function(f){return!So(f.getNamePath(),r)})){var d=n.store;n.updateStore(Yt(d,r,c,!0)),n.notifyObservers(d,[r],{type:"remove"}),n.triggerDependenciesUpdate(d,r)}}n.notifyWatch([r])}}),M(this,"dispatch",function(a){switch(a.type){case"updateValue":{var r=a.namePath,i=a.value;n.updateValue(r,i);break}case"validateField":{var o=a.namePath,l=a.triggerName;n.validateFields([o],{triggerName:l});break}}}),M(this,"notifyObservers",function(a,r,i){if(n.subscribable){var o=k(k({},i),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var u=l.onStoreChange;u(a,r,o)})}else n.forceRootUpdate()}),M(this,"triggerDependenciesUpdate",function(a,r){var i=n.getDependencyChildrenFields(r);return i.length&&n.validateFields(i),n.notifyObservers(a,i,{type:"dependenciesUpdate",relatedFields:[r].concat(ee(i))}),i}),M(this,"updateValue",function(a,r){var i=je(a),o=n.store;n.updateStore(Yt(n.store,i,r)),n.notifyObservers(o,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]);var l=n.triggerDependenciesUpdate(o,i),u=n.callbacks.onValuesChange;if(u){var c=yi(n.store,[i]);u(c,n.getFieldsValue())}n.triggerOnFieldsChange([i].concat(ee(l)))}),M(this,"setFieldsValue",function(a){n.warningUnhooked();var r=n.store;if(a){var i=Bn(n.store,a);n.updateStore(i)}n.notifyObservers(r,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),M(this,"setFieldValue",function(a,r){n.setFields([{name:a,value:r}])}),M(this,"getDependencyChildrenFields",function(a){var r=new Set,i=[],o=new bn;n.getFieldEntities().forEach(function(u){var c=u.props.dependencies;(c||[]).forEach(function(d){var f=je(d);o.update(f,function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return g.add(u),g})})});var l=function u(c){var d=o.get(c)||new Set;d.forEach(function(f){if(!r.has(f)){r.add(f);var g=f.getNamePath();f.isFieldDirty()&&g.length&&(i.push(g),u(g))}})};return l(a),i}),M(this,"triggerOnFieldsChange",function(a,r){var i=n.callbacks.onFieldsChange;if(i){var o=n.getFields();if(r){var l=new bn;r.forEach(function(c){var d=c.name,f=c.errors;l.set(d,f)}),o.forEach(function(c){c.errors=l.get(c.name)||c.errors})}var u=o.filter(function(c){var d=c.name;return En(a,d)});u.length&&i(u,o)}}),M(this,"validateFields",function(a,r){var i;n.warningUnhooked();var o,l;Array.isArray(a)||typeof a=="string"||typeof r=="string"?(o=a,l=r):l=a;var u=!!o,c=u?o.map(je):[],d=[],f=String(Date.now()),g=new Set,w=(i=l)===null||i===void 0?void 0:i.recursive;n.getFieldEntities(!0).forEach(function(m){if(u||c.push(m.getNamePath()),!(!m.props.rules||!m.props.rules.length)){var y=m.getNamePath();if(g.add(y.join(f)),!u||En(c,y,w)){var p=m.validateRules(k({validateMessages:k(k({},wo),n.validateMessages)},l));d.push(p.then(function(){return{name:y,errors:[],warnings:[]}}).catch(function(C){var x,E=[],$=[];return(x=C.forEach)===null||x===void 0||x.call(C,function(R){var P=R.rule.warningOnly,N=R.errors;P?$.push.apply($,ee(N)):E.push.apply(E,ee(N))}),E.length?Promise.reject({name:y,errors:E,warnings:$}):{name:y,errors:E,warnings:$}}))}}});var b=Ou(d);n.lastValidatePromise=b,b.catch(function(m){return m}).then(function(m){var y=m.map(function(p){var C=p.name;return C});n.notifyObservers(n.store,y,{type:"validateFinish"}),n.triggerOnFieldsChange(y,m)});var h=b.then(function(){return n.lastValidatePromise===b?Promise.resolve(n.getFieldsValue(c)):Promise.reject([])}).catch(function(m){var y=m.filter(function(p){return p&&p.errors.length});return Promise.reject({values:n.getFieldsValue(c),errorFields:y,outOfDate:n.lastValidatePromise!==b})});h.catch(function(m){return m});var v=c.filter(function(m){return g.has(m.join(f))});return n.triggerOnFieldsChange(v),h}),M(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(a){var r=n.callbacks.onFinish;if(r)try{r(a)}catch(i){console.error(i)}}).catch(function(a){var r=n.callbacks.onFinishFailed;r&&r(a)})}),this.forceRootUpdate=t});function Eo(e){var t=s.useRef(),n=s.useState({}),a=W(n,2),r=a[1];if(!t.current)if(e)t.current=e;else{var i=function(){r({})},o=new Mu(i);t.current=o.getForm()}return[t.current]}var Ca=s.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Fu=function(t){var n=t.validateMessages,a=t.onFormChange,r=t.onFormFinish,i=t.children,o=s.useContext(Ca),l=s.useRef({});return s.createElement(Ca.Provider,{value:k(k({},o),{},{validateMessages:k(k({},o.validateMessages),n),triggerFormChange:function(c,d){a&&a(c,{changedFields:d,forms:l.current}),o.triggerFormChange(c,d)},triggerFormFinish:function(c,d){r&&r(c,{values:d,forms:l.current}),o.triggerFormFinish(c,d)},registerForm:function(c,d){c&&(l.current=k(k({},l.current),{},M({},c,d))),o.registerForm(c,d)},unregisterForm:function(c){var d=k({},l.current);delete d[c],l.current=d,o.unregisterForm(c)}})},i)},Nu=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Tu=function(t,n){var a=t.name,r=t.initialValues,i=t.fields,o=t.form,l=t.preserve,u=t.children,c=t.component,d=c===void 0?"form":c,f=t.validateMessages,g=t.validateTrigger,w=g===void 0?"onChange":g,b=t.onValuesChange,h=t.onFieldsChange,v=t.onFinish,m=t.onFinishFailed,y=xe(t,Nu),p=s.useContext(Ca),C=Eo(o),x=W(C,1),E=x[0],$=E.getInternalHooks(an),R=$.useSubscribe,P=$.setInitialValues,N=$.setCallbacks,T=$.setValidateMessages,z=$.setPreserve,F=$.destroyForm;s.useImperativeHandle(n,function(){return E}),s.useEffect(function(){return p.registerForm(a,E),function(){p.unregisterForm(a)}},[p,E,a]),T(k(k({},p.validateMessages),f)),N({onValuesChange:b,onFieldsChange:function(B){if(p.triggerFormChange(a,B),h){for(var H=arguments.length,L=new Array(H>1?H-1:0),X=1;X{let{children:t,status:n,override:a}=e;const r=s.useContext($r),i=s.useMemo(()=>{const o=Object.assign({},r);return a&&delete o.isFormItemInput,n&&(delete o.status,delete o.hasFeedback,delete o.feedbackIcon),o},[n,a,r]);return s.createElement($r.Provider,{value:i},t)},zu=e=>({animationDuration:e,animationFillMode:"both"}),Lu=e=>({animationDuration:e,animationFillMode:"both"}),Io=function(e,t,n,a){const i=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + ${i}${e}-enter, + ${i}${e}-appear + `]:Object.assign(Object.assign({},zu(a)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},Lu(a)),{animationPlayState:"paused"}),[` + ${i}${e}-enter${e}-enter-active, + ${i}${e}-appear${e}-appear-active + `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},ku=new Be("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Du=new Be("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),ju=new Be("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Bu=new Be("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Vu=new Be("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Hu=new Be("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Wu=new Be("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Ku=new Be("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Uu={"slide-up":{inKeyframes:ku,outKeyframes:Du},"slide-down":{inKeyframes:ju,outKeyframes:Bu},"slide-left":{inKeyframes:Vu,outKeyframes:Hu},"slide-right":{inKeyframes:Wu,outKeyframes:Ku}},xi=(e,t)=>{const{antCls:n}=e,a=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=Uu[t];return[Io(a,r,i,e.motionDurationMid),{[` + ${a}-enter, + ${a}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${a}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},qu=new Be("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Gu=new Be("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Ei=new Be("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Ii=new Be("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Xu=new Be("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Yu=new Be("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Zu=new Be("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),Qu=new Be("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),Ju=new Be("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),ec=new Be("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),tc=new Be("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),nc=new Be("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),rc={zoom:{inKeyframes:qu,outKeyframes:Gu},"zoom-big":{inKeyframes:Ei,outKeyframes:Ii},"zoom-big-fast":{inKeyframes:Ei,outKeyframes:Ii},"zoom-left":{inKeyframes:Zu,outKeyframes:Qu},"zoom-right":{inKeyframes:Ju,outKeyframes:ec},"zoom-up":{inKeyframes:Xu,outKeyframes:Yu},"zoom-down":{inKeyframes:tc,outKeyframes:nc}},Ro=(e,t)=>{const{antCls:n}=e,a=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=rc[t];return[Io(a,r,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + ${a}-enter, + ${a}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${a}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},ac=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),ic=ac,oc=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 sc=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],yn=void 0;function lc(e,t){var n=e.prefixCls,a=e.invalidate,r=e.item,i=e.renderItem,o=e.responsive,l=e.responsiveDisabled,u=e.registerSize,c=e.itemKey,d=e.className,f=e.style,g=e.children,w=e.display,b=e.order,h=e.component,v=h===void 0?"div":h,m=xe(e,sc),y=o&&!w;function p(R){u(c,R)}s.useEffect(function(){return function(){p(null)}},[]);var C=i&&r!==yn?i(r):g,x;a||(x={opacity:y?0:1,height:y?0:yn,overflowY:y?"hidden":yn,order:o?b:yn,pointerEvents:y?"none":yn,position:y?"absolute":yn});var E={};y&&(E["aria-hidden"]=!0);var $=s.createElement(v,ie({className:G(!a&&n,d),style:k(k({},x),f)},E,m,{ref:t}),C);return o&&($=s.createElement(Mn,{onResize:function(P){var N=P.offsetWidth;p(N)},disabled:l},$)),$}var Un=s.forwardRef(lc);Un.displayName="Item";function uc(e){if(typeof MessageChannel>"u")Tt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function cc(){var e=s.useRef(null),t=function(a){e.current||(e.current=[],uc(function(){Rr.unstable_batchedUpdates(function(){e.current.forEach(function(r){r()}),e.current=null})})),e.current.push(a)};return t}function Ln(e,t){var n=s.useState(t),a=W(n,2),r=a[0],i=a[1],o=wt(function(l){e(function(){i(l)})});return[r,o]}var xr=ae.createContext(null),dc=["component"],fc=["className"],vc=["className"],mc=function(t,n){var a=s.useContext(xr);if(!a){var r=t.component,i=r===void 0?"div":r,o=xe(t,dc);return s.createElement(i,ie({},o,{ref:n}))}var l=a.className,u=xe(a,fc),c=t.className,d=xe(t,vc);return s.createElement(xr.Provider,{value:null},s.createElement(Un,ie({ref:n,className:G(l,c)},u,d)))},Oo=s.forwardRef(mc);Oo.displayName="RawItem";var gc=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Po="responsive",Mo="invalidate";function hc(e){return"+ ".concat(e.length," ...")}function pc(e,t){var n=e.prefixCls,a=n===void 0?"rc-overflow":n,r=e.data,i=r===void 0?[]:r,o=e.renderItem,l=e.renderRawItem,u=e.itemKey,c=e.itemWidth,d=c===void 0?10:c,f=e.ssr,g=e.style,w=e.className,b=e.maxCount,h=e.renderRest,v=e.renderRawRest,m=e.suffix,y=e.component,p=y===void 0?"div":y,C=e.itemComponent,x=e.onVisibleChange,E=xe(e,gc),$=f==="full",R=cc(),P=Ln(R,null),N=W(P,2),T=N[0],z=N[1],F=T||0,_=Ln(R,new Map),V=W(_,2),I=V[0],S=V[1],O=Ln(R,0),A=W(O,2),D=A[0],j=A[1],B=Ln(R,0),H=W(B,2),L=H[0],X=H[1],q=Ln(R,0),Y=W(q,2),J=Y[0],oe=Y[1],ce=s.useState(null),me=W(ce,2),Pe=me[0],ke=me[1],Re=s.useState(null),Me=W(Re,2),Ee=Me[0],Fe=Me[1],Q=s.useMemo(function(){return Ee===null&&$?Number.MAX_SAFE_INTEGER:Ee||0},[Ee,T]),fe=s.useState(!1),we=W(fe,2),de=we[0],tt=we[1],We="".concat(a,"-item"),Oe=Math.max(D,L),te=b===Po,Z=i.length&&te,Ne=b===Mo,De=Z||typeof b=="number"&&i.length>b,Te=s.useMemo(function(){var ne=i;return Z?T===null&&$?ne=i:ne=i.slice(0,Math.min(i.length,F/d)):typeof b=="number"&&(ne=i.slice(0,b)),ne},[i,d,T,b,Z]),nt=s.useMemo(function(){return Z?i.slice(Q+1):i.slice(Te.length)},[i,Te,Z,Q]),he=s.useCallback(function(ne,le){var Se;return typeof u=="function"?u(ne):(Se=u&&(ne==null?void 0:ne[u]))!==null&&Se!==void 0?Se:le},[u]),ct=s.useCallback(o||function(ne){return ne},[o]);function Ze(ne,le,Se){Ee===ne&&(le===void 0||le===Pe)||(Fe(ne),Se||(tt(neF){Ze(Ie-1,ne-st-J+L);break}}m&&qe(0)+J>F&&ke(null)}},[F,I,L,J,he,Te]);var Ke=de&&!!nt.length,Et={};Pe!==null&&Z&&(Et={position:"absolute",left:Pe,top:0});var Qe={prefixCls:We,responsive:Z,component:C,invalidate:Ne},ot=l?function(ne,le){var Se=he(ne,le);return s.createElement(xr.Provider,{key:Se,value:k(k({},Qe),{},{order:le,item:ne,itemKey:Se,registerSize:be,display:le<=Q})},l(ne,le))}:function(ne,le){var Se=he(ne,le);return s.createElement(Un,ie({},Qe,{order:le,key:Se,item:ne,renderItem:ct,itemKey:Se,registerSize:be,display:le<=Q}))},ye,se={order:Ke?Q:Number.MAX_SAFE_INTEGER,className:"".concat(We,"-rest"),registerSize:Ae,display:Ke};if(v)v&&(ye=s.createElement(xr.Provider,{value:k(k({},Qe),se)},v(nt)));else{var Ge=h||hc;ye=s.createElement(Un,ie({},Qe,se),typeof Ge=="function"?Ge(nt):Ge)}var _e=s.createElement(p,ie({className:G(!Ne&&a,w),style:g,ref:t},E),Te.map(ot),De?ye:null,m&&s.createElement(Un,ie({},Qe,{responsive:te,responsiveDisabled:!Z,order:Q,className:"".concat(We,"-suffix"),registerSize:tn,display:!0,style:Et}),m));return te&&(_e=s.createElement(Mn,{onResize:it,disabled:!Z},_e)),_e}var Bt=s.forwardRef(pc);Bt.displayName="Overflow";Bt.Item=Oo;Bt.RESPONSIVE=Po;Bt.INVALIDATE=Mo;var Ri=s.createContext(null);function Oi(e){return e?Array.isArray(e)?e:[e]:[]}function bc(e,t,n,a){return s.useMemo(function(){var r=Oi(n??t),i=Oi(a??t),o=new Set(r),l=new Set(i);return e&&(o.has("hover")&&(o.delete("hover"),o.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[o,l]},[e,t,n,a])}function yc(){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 Cc(e,t,n,a){for(var r=n.points,i=Object.keys(e),o=0;o1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function kn(e){return Zn(parseFloat(e),0)}function Mi(e,t){var n=k({},e);return(t||[]).forEach(function(a){if(!(a instanceof HTMLBodyElement||a instanceof HTMLHtmlElement)){var r=ar(a).getComputedStyle(a),i=r.overflow,o=r.overflowClipMargin,l=r.borderTopWidth,u=r.borderBottomWidth,c=r.borderLeftWidth,d=r.borderRightWidth,f=a.getBoundingClientRect(),g=a.offsetHeight,w=a.clientHeight,b=a.offsetWidth,h=a.clientWidth,v=kn(l),m=kn(u),y=kn(c),p=kn(d),C=Zn(Math.round(f.width/b*1e3)/1e3),x=Zn(Math.round(f.height/g*1e3)/1e3),E=(b-h-y-p)*C,$=(g-w-v-m)*x,R=v*x,P=m*x,N=y*C,T=p*C,z=0,F=0;if(i==="clip"){var _=kn(o);z=_*C,F=_*x}var V=f.x+N-z,I=f.y+R-F,S=V+f.width+2*z-N-T-E,O=I+f.height+2*F-R-P-$;n.left=Math.max(n.left,V),n.top=Math.max(n.top,I),n.right=Math.min(n.right,S),n.bottom=Math.min(n.bottom,O)}}),n}function Fi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),a=n.match(/^(.*)\%$/);return a?e*(parseFloat(a[1])/100):parseFloat(n)}function Ni(e,t){var n=t||[],a=W(n,2),r=a[0],i=a[1];return[Fi(e.width,r),Fi(e.height,i)]}function Ti(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function Cn(e,t){var n=t[0],a=t[1],r,i;return n==="t"?i=e.y:n==="b"?i=e.y+e.height:i=e.y+e.height/2,a==="l"?r=e.x:a==="r"?r=e.x+e.width:r=e.x+e.width/2,{x:r,y:i}}function Xt(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(a,r){return r===t?n[a]||"c":a}).join("")}function wc(e,t,n,a,r,i,o){var l=s.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:r[a]||{}}),u=W(l,2),c=u[0],d=u[1],f=s.useRef(0),g=s.useMemo(function(){return t?wa(t):[]},[t]),w=s.useRef({}),b=function(){w.current={}};e||b();var h=wt(function(){if(t&&n&&e){let vt=function(lr,rn){var Gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe,zn=A.x+lr,hn=A.y+rn,ur=zn+J,Br=hn+Y,Vr=Math.max(zn,Gt.left),Hr=Math.max(hn,Gt.top),Wr=Math.min(ur,Gt.right),K=Math.min(Br,Gt.bottom);return Math.max(0,(Wr-Vr)*(K-Hr))},jt=function(){Xe=A.y+se,Rt=Xe+Y,Ot=A.x+ye,At=Ot+J};var y,p,C=t,x=C.ownerDocument,E=ar(C),$=E.getComputedStyle(C),R=$.width,P=$.height,N=$.position,T=C.style.left,z=C.style.top,F=C.style.right,_=C.style.bottom,V=k(k({},r[a]),i),I=x.createElement("div");(y=C.parentElement)===null||y===void 0||y.appendChild(I),I.style.left="".concat(C.offsetLeft,"px"),I.style.top="".concat(C.offsetTop,"px"),I.style.position=N,I.style.height="".concat(C.offsetHeight,"px"),I.style.width="".concat(C.offsetWidth,"px"),C.style.left="0",C.style.top="0",C.style.right="auto",C.style.bottom="auto";var S;if(Array.isArray(n))S={x:n[0],y:n[1],width:0,height:0};else{var O=n.getBoundingClientRect();S={x:O.x,y:O.y,width:O.width,height:O.height}}var A=C.getBoundingClientRect(),D=x.documentElement,j=D.clientWidth,B=D.clientHeight,H=D.scrollWidth,L=D.scrollHeight,X=D.scrollTop,q=D.scrollLeft,Y=A.height,J=A.width,oe=S.height,ce=S.width,me={left:0,top:0,right:j,bottom:B},Pe={left:-q,top:-X,right:H-q,bottom:L-X},ke=V.htmlRegion,Re="visible",Me="visibleFirst";ke!=="scroll"&&ke!==Me&&(ke=Re);var Ee=ke===Me,Fe=Mi(Pe,g),Q=Mi(me,g),fe=ke===Re?Q:Fe,we=Ee?Q:fe;C.style.left="auto",C.style.top="auto",C.style.right="0",C.style.bottom="0";var de=C.getBoundingClientRect();C.style.left=T,C.style.top=z,C.style.right=F,C.style.bottom=_,(p=C.parentElement)===null||p===void 0||p.removeChild(I);var tt=Zn(Math.round(J/parseFloat(R)*1e3)/1e3),We=Zn(Math.round(Y/parseFloat(P)*1e3)/1e3);if(tt===0||We===0||aa(n)&&!go(n))return;var Oe=V.offset,te=V.targetOffset,Z=Ni(A,Oe),Ne=W(Z,2),De=Ne[0],Te=Ne[1],nt=Ni(S,te),he=W(nt,2),ct=he[0],Ze=he[1];S.x-=ct,S.y-=Ze;var it=V.points||[],be=W(it,2),Ae=be[0],tn=be[1],qe=Ti(tn),Ke=Ti(Ae),Et=Cn(S,qe),Qe=Cn(A,Ke),ot=k({},V),ye=Et.x-Qe.x+De,se=Et.y-Qe.y+Te,Ge=vt(ye,se),_e=vt(ye,se,Q),ne=Cn(S,["t","l"]),le=Cn(A,["t","l"]),Se=Cn(S,["b","r"]),Ie=Cn(A,["b","r"]),st=V.overflow||{},un=st.adjustX,Ht=st.adjustY,It=st.shiftX,cn=st.shiftY,_t=function(rn){return typeof rn=="boolean"?rn:rn>=0},Xe,Rt,Ot,At;jt();var Wt=_t(Ht),dn=Ke[0]===qe[0];if(Wt&&Ke[0]==="t"&&(Rt>we.bottom||w.current.bt)){var dt=se;dn?dt-=Y-oe:dt=ne.y-Ie.y-Te;var fn=vt(ye,dt),rt=vt(ye,dt,Q);fn>Ge||fn===Ge&&(!Ee||rt>=_e)?(w.current.bt=!0,se=dt,Te=-Te,ot.points=[Xt(Ke,0),Xt(qe,0)]):w.current.bt=!1}if(Wt&&Ke[0]==="b"&&(XeGe||vn===Ge&&(!Ee||mn>=_e)?(w.current.tb=!0,se=zt,Te=-Te,ot.points=[Xt(Ke,0),Xt(qe,0)]):w.current.tb=!1}var Pt=_t(un),Kt=Ke[1]===qe[1];if(Pt&&Ke[1]==="l"&&(At>we.right||w.current.rl)){var Lt=ye;Kt?Lt-=J-ce:Lt=ne.x-Ie.x-De;var gn=vt(Lt,se),Tn=vt(Lt,se,Q);gn>Ge||gn===Ge&&(!Ee||Tn>=_e)?(w.current.rl=!0,ye=Lt,De=-De,ot.points=[Xt(Ke,1),Xt(qe,1)]):w.current.rl=!1}if(Pt&&Ke[1]==="r"&&(OtGe||ft===Ge&&(!Ee||nn>=_e)?(w.current.lr=!0,ye=Mt,De=-De,ot.points=[Xt(Ke,1),Xt(qe,1)]):w.current.lr=!1}jt();var kt=It===!0?0:It;typeof kt=="number"&&(OtQ.right&&(ye-=At-Q.right-De,S.x>Q.right-kt&&(ye+=S.x-Q.right+kt)));var Ft=cn===!0?0:cn;typeof Ft=="number"&&(XeQ.bottom&&(se-=Rt-Q.bottom-Te,S.y>Q.bottom-Ft&&(se+=S.y-Q.bottom+Ft)));var bt=A.x+ye,Dt=bt+J,Ut=A.y+se,qt=Ut+Y,yt=S.x,_n=yt+ce,$e=S.y,ve=$e+oe,pe=Math.max(bt,yt),Ue=Math.min(Dt,_n),Ye=(pe+Ue)/2,Ct=Ye-bt,Nt=Math.max(Ut,$e),An=Math.min(qt,ve),kr=(Nt+An)/2,sr=kr-Ut;o==null||o(t,ot);var Dr=de.right-A.x-(ye+A.width),jr=de.bottom-A.y-(se+A.height);d({ready:!0,offsetX:ye/tt,offsetY:se/We,offsetR:Dr/tt,offsetB:jr/We,arrowX:Ct/tt,arrowY:sr/We,scaleX:tt,scaleY:We,align:ot})}}),v=function(){f.current+=1;var p=f.current;Promise.resolve().then(function(){f.current===p&&h()})},m=function(){d(function(p){return k(k({},p),{},{ready:!1})})};return et(m,[a]),et(function(){e||m()},[e]),[c.ready,c.offsetX,c.offsetY,c.offsetR,c.offsetB,c.arrowX,c.arrowY,c.scaleX,c.scaleY,c.align,v]}function Sc(e,t,n,a,r){et(function(){if(e&&t&&n){let f=function(){a(),r()};var i=t,o=n,l=wa(i),u=wa(o),c=ar(o),d=new Set([c].concat(ee(l),ee(u)));return d.forEach(function(g){g.addEventListener("scroll",f,{passive:!0})}),c.addEventListener("resize",f,{passive:!0}),a(),function(){d.forEach(function(g){g.removeEventListener("scroll",f),c.removeEventListener("resize",f)})}}},[e,t,n])}function $c(e,t,n,a,r,i,o,l){var u=s.useRef(e),c=s.useRef(!1);u.current!==e&&(c.current=!0,u.current=e),s.useEffect(function(){var d=Tt(function(){c.current=!1});return function(){Tt.cancel(d)}},[e]),s.useEffect(function(){if(t&&a&&(!r||i)){var d=function(){var E=!1,$=function(N){var T=N.target;E=o(T)},R=function(N){var T=N.target;!c.current&&u.current&&!E&&!o(T)&&l(!1)};return[$,R]},f=d(),g=W(f,2),w=g[0],b=g[1],h=d(),v=W(h,2),m=v[0],y=v[1],p=ar(a);p.addEventListener("mousedown",w,!0),p.addEventListener("click",b,!0),p.addEventListener("contextmenu",b,!0);var C=Cr(n);return C&&(C.addEventListener("mousedown",m,!0),C.addEventListener("click",y,!0),C.addEventListener("contextmenu",y,!0)),function(){p.removeEventListener("mousedown",w,!0),p.removeEventListener("click",b,!0),p.removeEventListener("contextmenu",b,!0),C&&(C.removeEventListener("mousedown",m,!0),C.removeEventListener("click",y,!0),C.removeEventListener("contextmenu",y,!0))}}},[t,n,a,r,i])}function xc(e){var t=e.prefixCls,n=e.align,a=e.arrow,r=e.arrowPos,i=a||{},o=i.className,l=i.content,u=r.x,c=u===void 0?0:u,d=r.y,f=d===void 0?0:d,g=s.useRef();if(!n||!n.points)return null;var w={position:"absolute"};if(n.autoArrow!==!1){var b=n.points[0],h=n.points[1],v=b[0],m=b[1],y=h[0],p=h[1];v===y||!["t","b"].includes(v)?w.top=f:v==="t"?w.top=0:w.bottom=0,m===p||!["l","r"].includes(m)?w.left=c:m==="l"?w.left=0:w.right=0}return s.createElement("div",{ref:g,className:G("".concat(t,"-arrow"),o),style:w},l)}function Ec(e){var t=e.prefixCls,n=e.open,a=e.zIndex,r=e.mask,i=e.motion;return r?s.createElement(Aa,ie({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(o){var l=o.className;return s.createElement("div",{style:{zIndex:a},className:G("".concat(t,"-mask"),l)})}):null}var Ic=s.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),Rc=s.forwardRef(function(e,t){var n=e.popup,a=e.className,r=e.prefixCls,i=e.style,o=e.target,l=e.onVisibleChanged,u=e.open,c=e.keepDom,d=e.fresh,f=e.onClick,g=e.mask,w=e.arrow,b=e.arrowPos,h=e.align,v=e.motion,m=e.maskMotion,y=e.forceRender,p=e.getPopupContainer,C=e.autoDestroy,x=e.portal,E=e.zIndex,$=e.onMouseEnter,R=e.onMouseLeave,P=e.onPointerEnter,N=e.ready,T=e.offsetX,z=e.offsetY,F=e.offsetR,_=e.offsetB,V=e.onAlign,I=e.onPrepare,S=e.stretch,O=e.targetWidth,A=e.targetHeight,D=typeof n=="function"?n():n,j=u||c,B=(p==null?void 0:p.length)>0,H=s.useState(!p||!B),L=W(H,2),X=L[0],q=L[1];if(et(function(){!X&&B&&o&&q(!0)},[X,B,o]),!X)return null;var Y="auto",J={left:"-1000vw",top:"-1000vh",right:Y,bottom:Y};if(N||!u){var oe,ce=h.points,me=h.dynamicInset||((oe=h._experimental)===null||oe===void 0?void 0:oe.dynamicInset),Pe=me&&ce[0][1]==="r",ke=me&&ce[0][0]==="b";Pe?(J.right=F,J.left=Y):(J.left=T,J.right=Y),ke?(J.bottom=_,J.top=Y):(J.top=z,J.bottom=Y)}var Re={};return S&&(S.includes("height")&&A?Re.height=A:S.includes("minHeight")&&A&&(Re.minHeight=A),S.includes("width")&&O?Re.width=O:S.includes("minWidth")&&O&&(Re.minWidth=O)),u||(Re.pointerEvents="none"),s.createElement(x,{open:y||j,getContainer:p&&function(){return p(o)},autoDestroy:C},s.createElement(Ec,{prefixCls:r,open:u,zIndex:E,mask:g,motion:m}),s.createElement(Mn,{onResize:V,disabled:!u},function(Me){return s.createElement(Aa,ie({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:y,leavedClassName:"".concat(r,"-hidden")},v,{onAppearPrepare:I,onEnterPrepare:I,visible:u,onVisibleChanged:function(Fe){var Q;v==null||(Q=v.onVisibleChanged)===null||Q===void 0||Q.call(v,Fe),l(Fe)}}),function(Ee,Fe){var Q=Ee.className,fe=Ee.style,we=G(r,Q,a);return s.createElement("div",{ref:eo(Me,t,Fe),className:we,style:k(k(k(k({"--arrow-x":"".concat(b.x||0,"px"),"--arrow-y":"".concat(b.y||0,"px")},J),Re),fe),{},{boxSizing:"border-box",zIndex:E},i),onMouseEnter:$,onMouseLeave:R,onPointerEnter:P,onClick:f},w&&s.createElement(xc,{prefixCls:r,arrow:w,arrowPos:b,align:h}),s.createElement(Ic,{cache:!u&&!d},D))})}))}),Oc=s.forwardRef(function(e,t){var n=e.children,a=e.getTriggerDOMNode,r=Ta(n),i=s.useCallback(function(l){hs(t,a?a(l):l)},[a]),o=Jn(i,n.ref);return r?s.cloneElement(n,{ref:o}):n}),Pc=["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 Mc(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bo,t=s.forwardRef(function(n,a){var r=n.prefixCls,i=r===void 0?"rc-trigger-popup":r,o=n.children,l=n.action,u=l===void 0?"hover":l,c=n.showAction,d=n.hideAction,f=n.popupVisible,g=n.defaultPopupVisible,w=n.onPopupVisibleChange,b=n.afterPopupVisibleChange,h=n.mouseEnterDelay,v=n.mouseLeaveDelay,m=v===void 0?.1:v,y=n.focusDelay,p=n.blurDelay,C=n.mask,x=n.maskClosable,E=x===void 0?!0:x,$=n.getPopupContainer,R=n.forceRender,P=n.autoDestroy,N=n.destroyPopupOnHide,T=n.popup,z=n.popupClassName,F=n.popupStyle,_=n.popupPlacement,V=n.builtinPlacements,I=V===void 0?{}:V,S=n.popupAlign,O=n.zIndex,A=n.stretch,D=n.getPopupClassNameFromAlign,j=n.fresh,B=n.alignPoint,H=n.onPopupClick,L=n.onPopupAlign,X=n.arrow,q=n.popupMotion,Y=n.maskMotion,J=n.popupTransitionName,oe=n.popupAnimation,ce=n.maskTransitionName,me=n.maskAnimation,Pe=n.className,ke=n.getTriggerDOMNode,Re=xe(n,Pc),Me=P||N||!1,Ee=s.useState(!1),Fe=W(Ee,2),Q=Fe[0],fe=Fe[1];et(function(){fe(oc())},[]);var we=s.useRef({}),de=s.useContext(Ri),tt=s.useMemo(function(){return{registerSubPopup:function(re,ze){we.current[re]=ze,de==null||de.registerSubPopup(re,ze)}}},[de]),We=Dl(),Oe=s.useState(null),te=W(Oe,2),Z=te[0],Ne=te[1],De=wt(function(K){aa(K)&&Z!==K&&Ne(K),de==null||de.registerSubPopup(We,K)}),Te=s.useState(null),nt=W(Te,2),he=nt[0],ct=nt[1],Ze=wt(function(K){aa(K)&&he!==K&&ct(K)}),it=s.Children.only(o),be=(it==null?void 0:it.props)||{},Ae={},tn=wt(function(K){var re,ze,Ve=he;return(Ve==null?void 0:Ve.contains(K))||((re=Cr(Ve))===null||re===void 0?void 0:re.host)===K||K===Ve||(Z==null?void 0:Z.contains(K))||((ze=Cr(Z))===null||ze===void 0?void 0:ze.host)===K||K===Z||Object.values(we.current).some(function(Le){return(Le==null?void 0:Le.contains(K))||K===Le})}),qe=Pi(i,q,oe,J),Ke=Pi(i,Y,me,ce),Et=s.useState(g||!1),Qe=W(Et,2),ot=Qe[0],ye=Qe[1],se=f??ot,Ge=wt(function(K){f===void 0&&ye(K)});et(function(){ye(f||!1)},[f]);var _e=s.useRef(se);_e.current=se;var ne=wt(function(K){Rr.flushSync(function(){se!==K&&(Ge(K),w==null||w(K))})}),le=s.useRef(),Se=function(){clearTimeout(le.current)},Ie=function(re){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Se(),ze===0?ne(re):le.current=setTimeout(function(){ne(re)},ze*1e3)};s.useEffect(function(){return Se},[]);var st=s.useState(!1),un=W(st,2),Ht=un[0],It=un[1];et(function(K){(!K||se)&&It(!0)},[se]);var cn=s.useState(null),_t=W(cn,2),Xe=_t[0],Rt=_t[1],Ot=s.useState([0,0]),At=W(Ot,2),Wt=At[0],dn=At[1],dt=function(re){dn([re.clientX,re.clientY])},fn=wc(se,Z,B?Wt:he,_,I,S,L),rt=W(fn,11),zt=rt[0],vn=rt[1],mn=rt[2],Pt=rt[3],Kt=rt[4],Lt=rt[5],gn=rt[6],Tn=rt[7],Mt=rt[8],ft=rt[9],nn=rt[10],kt=bc(Q,u,c,d),Ft=W(kt,2),bt=Ft[0],Dt=Ft[1],Ut=bt.has("click"),qt=Dt.has("click")||Dt.has("contextMenu"),yt=wt(function(){Ht||nn()}),_n=function(){_e.current&&B&&qt&&Ie(!1)};Sc(se,he,Z,yt,_n),et(function(){yt()},[Wt,_]),et(function(){se&&!(I!=null&&I[_])&&yt()},[JSON.stringify(S)]);var $e=s.useMemo(function(){var K=Cc(I,i,ft,B);return G(K,D==null?void 0:D(ft))},[ft,D,I,i,B]);s.useImperativeHandle(a,function(){return{forceAlign:yt}});var ve=s.useState(0),pe=W(ve,2),Ue=pe[0],Ye=pe[1],Ct=s.useState(0),Nt=W(Ct,2),An=Nt[0],kr=Nt[1],sr=function(){if(A&&he){var re=he.getBoundingClientRect();Ye(re.width),kr(re.height)}},Dr=function(){sr(),yt()},jr=function(re){It(!1),nn(),b==null||b(re)},vt=function(){return new Promise(function(re){sr(),Rt(function(){return re})})};et(function(){Xe&&(nn(),Xe(),Rt(null))},[Xe]);function jt(K,re,ze,Ve){Ae[K]=function(Le){var cr;Ve==null||Ve(Le),Ie(re,ze);for(var Kr=arguments.length,Ua=new Array(Kr>1?Kr-1:0),dr=1;dr1?ze-1:0),Le=1;Le1?ze-1:0),Le=1;Let||e;var Fc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const Nc=Fc;var Tc=function(t,n){return s.createElement(Fn,ie({},t,{ref:n,icon:Nc}))};const Jf=s.forwardRef(Tc);function To(e){var t=e.children,n=e.prefixCls,a=e.id,r=e.overlayInnerStyle,i=e.className,o=e.style;return s.createElement("div",{className:G("".concat(n,"-content"),i),style:o},s.createElement("div",{className:"".concat(n,"-inner"),id:a,role:"tooltip",style:r},typeof t=="function"?t():t))}var wn={shiftX:64,adjustY:1},Sn={adjustX:1,shiftY:!0},gt=[0,0],_c={left:{points:["cr","cl"],overflow:Sn,offset:[-4,0],targetOffset:gt},right:{points:["cl","cr"],overflow:Sn,offset:[4,0],targetOffset:gt},top:{points:["bc","tc"],overflow:wn,offset:[0,-4],targetOffset:gt},bottom:{points:["tc","bc"],overflow:wn,offset:[0,4],targetOffset:gt},topLeft:{points:["bl","tl"],overflow:wn,offset:[0,-4],targetOffset:gt},leftTop:{points:["tr","tl"],overflow:Sn,offset:[-4,0],targetOffset:gt},topRight:{points:["br","tr"],overflow:wn,offset:[0,-4],targetOffset:gt},rightTop:{points:["tl","tr"],overflow:Sn,offset:[4,0],targetOffset:gt},bottomRight:{points:["tr","br"],overflow:wn,offset:[0,4],targetOffset:gt},rightBottom:{points:["bl","br"],overflow:Sn,offset:[4,0],targetOffset:gt},bottomLeft:{points:["tl","bl"],overflow:wn,offset:[0,4],targetOffset:gt},leftBottom:{points:["br","bl"],overflow:Sn,offset:[-4,0],targetOffset:gt}},Ac=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],zc=function(t,n){var a=t.overlayClassName,r=t.trigger,i=r===void 0?["hover"]:r,o=t.mouseEnterDelay,l=o===void 0?0:o,u=t.mouseLeaveDelay,c=u===void 0?.1:u,d=t.overlayStyle,f=t.prefixCls,g=f===void 0?"rc-tooltip":f,w=t.children,b=t.onVisibleChange,h=t.afterVisibleChange,v=t.transitionName,m=t.animation,y=t.motion,p=t.placement,C=p===void 0?"right":p,x=t.align,E=x===void 0?{}:x,$=t.destroyTooltipOnHide,R=$===void 0?!1:$,P=t.defaultVisible,N=t.getTooltipContainer,T=t.overlayInnerStyle;t.arrowContent;var z=t.overlay,F=t.id,_=t.showArrow,V=_===void 0?!0:_,I=xe(t,Ac),S=s.useRef(null);s.useImperativeHandle(n,function(){return S.current});var O=k({},I);"visible"in t&&(O.popupVisible=t.visible);var A=function(){return s.createElement(To,{key:"content",prefixCls:g,id:F,overlayInnerStyle:T},z)};return s.createElement(Fo,ie({popupClassName:a,prefixCls:g,popup:A,action:i,builtinPlacements:_c,popupPlacement:C,ref:S,popupAlign:E,getPopupContainer:N,onPopupVisibleChange:b,afterPopupVisibleChange:h,popupTransitionName:v,popupAnimation:m,popupMotion:y,defaultPopupVisible:P,autoDestroy:R,mouseLeaveDelay:c,popupStyle:d,mouseEnterDelay:l,arrow:V},O),w)};const Lc=s.forwardRef(zc),_o=8;function Ao(e){const t=_o,{contentRadius:n,limitVerticalRadius:a}=e,r=n>12?n+2:12;return{dropdownArrowOffset:r,dropdownArrowOffsetVertical:a?t:r}}function vr(e,t){return e?t:{}}function kc(e,t){const{componentCls:n,sizePopupArrow:a,borderRadiusXS:r,borderRadiusOuter:i,boxShadowPopoverArrow:o}=e,{colorBg:l,contentRadius:u=e.borderRadiusLG,limitVerticalRadius:c,arrowDistance:d=0,arrowPlacement:f={left:!0,right:!0,top:!0,bottom:!0}}=t,{dropdownArrowOffsetVertical:g,dropdownArrowOffset:w}=Ao({contentRadius:u,limitVerticalRadius:c});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},Zs(a,r,i,l,o)),{"&:before":{background:l}})]},vr(!!f.top,{[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:d,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:w}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:w}}})),vr(!!f.bottom,{[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:d,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:w}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:w}}})),vr(!!f.left,{[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:d},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:g},[`&-placement-leftBottom ${n}-arrow`]:{bottom:g}})),vr(!!f.right,{[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:d},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:g},[`&-placement-rightBottom ${n}-arrow`]:{bottom:g}}))}}function Dc(e,t,n,a){if(a===!1)return{adjustX:!1,adjustY:!1};const r=a&&typeof a=="object"?a:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.dropdownArrowOffset*2+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.dropdownArrowOffsetVertical*2+n,i.shiftX=!0,i.adjustX=!0;break}const o=Object.assign(Object.assign({},i),r);return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}const _i={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},jc={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Bc=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function Vc(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:a,offset:r,borderRadius:i,visibleFirst:o}=e,l=t/2,u={};return Object.keys(_i).forEach(c=>{const d=a&&jc[c]||_i[c],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(u[c]=f,Bc.has(c)&&(f.autoArrow=!1),c){case"top":case"topLeft":case"topRight":f.offset[1]=-l-r;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=l+r;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-l-r;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=l+r;break}const g=Ao({contentRadius:i,limitVerticalRadius:!0});if(a)switch(c){case"topLeft":case"bottomLeft":f.offset[0]=-g.dropdownArrowOffset-l;break;case"topRight":case"bottomRight":f.offset[0]=g.dropdownArrowOffset+l;break;case"leftTop":case"rightTop":f.offset[1]=-g.dropdownArrowOffset-l;break;case"leftBottom":case"rightBottom":f.offset[1]=g.dropdownArrowOffset+l;break}f.overflow=Dc(c,g,t,n),o&&(f.htmlRegion="visibleFirst")}),u}const Hc=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:a,tooltipBg:r,tooltipBorderRadius:i,zIndexPopup:o,controlHeight:l,boxShadowSecondary:u,paddingSM:c,paddingXS:d,tooltipRadiusOuter:f}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Or(e)),{position:"absolute",zIndex:o,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${c/2}px ${d}px`,color:a,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:i,boxShadow:u,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(i,_o)}},[`${t}-content`]:{position:"relative"}}),el(e,(g,w)=>{let{darkColor:b}=w;return{[`&${t}-${g}`]:{[`${t}-inner`]:{backgroundColor:b},[`${t}-arrow`]:{"--antd-arrow-background-color":b}}}})),{"&-rtl":{direction:"rtl"}})},kc(pt(e,{borderRadiusOuter:f}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},zo=(e,t)=>er("Tooltip",a=>{if(t===!1)return[];const{borderRadius:r,colorTextLightSolid:i,colorBgDefault:o,borderRadiusOuter:l}=a,u=pt(a,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:r,tooltipBg:o,tooltipRadiusOuter:l>4?4:l});return[Hc(u),Ro(a,"zoom-big-fast")]},a=>{let{zIndexPopupBase:r,colorBgSpotlight:i}=a;return{zIndexPopup:r+70,colorBgDefault:i}},{resetStyle:!1})(e),Wc=yr.map(e=>`${e}-inverse`);function Kc(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(ee(Wc),ee(yr)).includes(e):yr.includes(e)}function Lo(e,t){const n=Kc(t),a=G({[`${e}-${t}`]:t&&n}),r={},i={};return t&&!n&&(r.background=t,i["--antd-arrow-background-color"]=t),{className:a,overlayStyle:r,arrowStyle:i}}const Uc=e=>{const{prefixCls:t,className:n,placement:a="top",title:r,color:i,overlayInnerStyle:o}=e,{getPrefixCls:l}=s.useContext(Vt),u=l("tooltip",t),[c,d]=zo(u,!0),f=Lo(u,i),g=f.arrowStyle,w=Object.assign(Object.assign({},o),f.overlayStyle),b=G(d,u,`${u}-pure`,`${u}-placement-${a}`,n,f.className);return c(s.createElement("div",{className:b,style:g},s.createElement("div",{className:`${u}-arrow`}),s.createElement(To,Object.assign({},e,{className:d,prefixCls:u,overlayInnerStyle:w}),r)))},qc=Uc;var Gc=globalThis&&globalThis.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{var n,a;const{prefixCls:r,openClassName:i,getTooltipContainer:o,overlayClassName:l,color:u,overlayInnerStyle:c,children:d,afterOpenChange:f,afterVisibleChange:g,destroyTooltipOnHide:w,arrow:b=!0,title:h,overlay:v,builtinPlacements:m,arrowPointAtCenter:y=!1,autoAdjustOverflow:p=!0}=e,C=!!b,[,x]=Yi(),{getPopupContainer:E,getPrefixCls:$,direction:R}=s.useContext(Vt),P=ps(),N=s.useRef(null),T=()=>{var fe;(fe=N.current)===null||fe===void 0||fe.forceAlign()};s.useImperativeHandle(t,()=>({forceAlign:T,forcePopupAlign:()=>{P.deprecated(!1,"forcePopupAlign","forceAlign"),T()}}));const[z,F]=Jt(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(a=e.defaultOpen)!==null&&a!==void 0?a:e.defaultVisible}),_=!h&&!v&&h!==0,V=fe=>{var we,de;F(_?!1:fe),_||((we=e.onOpenChange)===null||we===void 0||we.call(e,fe),(de=e.onVisibleChange)===null||de===void 0||de.call(e,fe))},I=s.useMemo(()=>{var fe,we;let de=y;return typeof b=="object"&&(de=(we=(fe=b.pointAtCenter)!==null&&fe!==void 0?fe:b.arrowPointAtCenter)!==null&&we!==void 0?we:y),m||Vc({arrowPointAtCenter:de,autoAdjustOverflow:p,arrowWidth:C?x.sizePopupArrow:0,borderRadius:x.borderRadius,offset:x.marginXXS,visibleFirst:!0})},[y,b,m,x]),S=s.useMemo(()=>h===0?h:v||h||"",[v,h]),O=s.createElement(wr,null,typeof S=="function"?S():S),{getPopupContainer:A,placement:D="top",mouseEnterDelay:j=.1,mouseLeaveDelay:B=.1,overlayStyle:H,rootClassName:L}=e,X=Gc(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),q=$("tooltip",r),Y=$(),J=e["data-popover-inject"];let oe=z;!("open"in e)&&!("visible"in e)&&_&&(oe=!1);const ce=en(d)&&!ml(d)?d:s.createElement("span",null,d),me=ce.props,Pe=!me.className||typeof me.className=="string"?G(me.className,i||`${q}-open`):me.className,[ke,Re]=zo(q,!J),Me=Lo(q,u),Ee=Me.arrowStyle,Fe=Object.assign(Object.assign({},c),Me.overlayStyle),Q=G(l,{[`${q}-rtl`]:R==="rtl"},Me.className,L,Re);return ke(s.createElement(Lc,Object.assign({},X,{showArrow:C,placement:D,mouseEnterDelay:j,mouseLeaveDelay:B,prefixCls:q,overlayClassName:Q,overlayStyle:Object.assign(Object.assign({},Ee),H),getTooltipContainer:A||o||E,ref:N,builtinPlacements:I,overlay:O,visible:oe,onVisibleChange:V,afterVisibleChange:f??g,overlayInnerStyle:Fe,arrowContent:s.createElement("span",{className:`${q}-arrow-content`}),motion:{motionName:bl(Y,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!w}),oe?Nr(ce,{className:Pe}):ce))});ko._InternalPanelDoNotUseOrYouWillBeFired=qc;const Xc=ko;var Yc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const Zc=Yc;var Qc=function(t,n){return s.createElement(Fn,ie({},t,{ref:n,icon:Zc}))};const Ai=s.forwardRef(Qc);var Do=s.createContext(null);function Da(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function jo(e){var t=s.useContext(Do);return Da(t,e)}var Jc=["children","locked"],xt=s.createContext(null);function ed(e,t){var n=k({},e);return Object.keys(t).forEach(function(a){var r=t[a];r!==void 0&&(n[a]=r)}),n}function Qn(e){var t=e.children,n=e.locked,a=xe(e,Jc),r=s.useContext(xt),i=bs(function(){return ed(r,a)},[r,a],function(o,l){return!n&&(o[0]!==l[0]||!_a(o[1],l[1],!0))});return s.createElement(xt.Provider,{value:i},t)}var td=[],Bo=s.createContext(null);function _r(){return s.useContext(Bo)}var Vo=s.createContext(td);function Nn(e){var t=s.useContext(Vo);return s.useMemo(function(){return e!==void 0?[].concat(ee(t),[e]):t},[t,e])}var Ho=s.createContext(null),ja=s.createContext({});function zi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(go(e)){var n=e.nodeName.toLowerCase(),a=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),r=e.getAttribute("tabindex"),i=Number(r),o=null;return r&&!Number.isNaN(i)?o=i:a&&o===null&&(o=0),a&&e.disabled&&(o=null),o!==null&&(o>=0||t&&o<0)}return!1}function nd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=ee(e.querySelectorAll("*")).filter(function(a){return zi(a,t)});return zi(e,t)&&n.unshift(e),n}var Sa=U.LEFT,$a=U.RIGHT,xa=U.UP,gr=U.DOWN,hr=U.ENTER,Wo=U.ESC,Dn=U.HOME,jn=U.END,Li=[xa,gr,Sa,$a];function rd(e,t,n,a){var r,i,o,l,u="prev",c="next",d="children",f="parent";if(e==="inline"&&a===hr)return{inlineTrigger:!0};var g=(r={},M(r,xa,u),M(r,gr,c),r),w=(i={},M(i,Sa,n?c:u),M(i,$a,n?u:c),M(i,gr,d),M(i,hr,d),i),b=(o={},M(o,xa,u),M(o,gr,c),M(o,hr,d),M(o,Wo,f),M(o,Sa,n?d:f),M(o,$a,n?f:d),o),h={inline:g,horizontal:w,vertical:b,inlineSub:g,horizontalSub:b,verticalSub:b},v=(l=h["".concat(e).concat(t?"":"Sub")])===null||l===void 0?void 0:l[a];switch(v){case u:return{offset:-1,sibling:!0};case c:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function ad(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function id(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function Ko(e,t){var n=nd(e,!0);return n.filter(function(a){return t.has(a)})}function ki(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var r=Ko(e,t),i=r.length,o=r.findIndex(function(l){return n===l});return a<0?o===-1?o=i-1:o-=1:a>0&&(o+=1),o=(o+i)%i,r[o]}function od(e,t,n,a,r,i,o,l,u,c){var d=s.useRef(),f=s.useRef();f.current=t;var g=function(){Tt.cancel(d.current)};return s.useEffect(function(){return function(){g()}},[]),function(w){var b=w.which;if([].concat(Li,[hr,Wo,Dn,jn]).includes(b)){var h,v,m,y=function(){h=new Set,v=new Map,m=new Map;var V=i();return V.forEach(function(I){var S=document.querySelector("[data-menu-id='".concat(Da(a,I),"']"));S&&(h.add(S),m.set(S,I),v.set(I,S))}),h};y();var p=v.get(t),C=id(p,h),x=m.get(C),E=rd(e,o(x,!0).length===1,n,b);if(!E&&b!==Dn&&b!==jn)return;(Li.includes(b)||[Dn,jn].includes(b))&&w.preventDefault();var $=function(V){if(V){var I=V,S=V.querySelector("a");S!=null&&S.getAttribute("href")&&(I=S);var O=m.get(V);l(O),g(),d.current=Tt(function(){f.current===O&&I.focus()})}};if([Dn,jn].includes(b)||E.sibling||!C){var R;!C||e==="inline"?R=r.current:R=ad(C);var P,N=Ko(R,h);b===Dn?P=N[0]:b===jn?P=N[N.length-1]:P=ki(R,h,C,E.offset),$(P)}else if(E.inlineTrigger)u(x);else if(E.offset>0)u(x,!0),g(),d.current=Tt(function(){y();var _=C.getAttribute("aria-controls"),V=document.getElementById(_),I=ki(V,h);$(I)},5);else if(E.offset<0){var T=o(x,!0),z=T[T.length-2],F=v.get(z);u(z,!1),$(F)}}c==null||c(w)}}function sd(e){Promise.resolve().then(e)}var Ba="__RC_UTIL_PATH_SPLIT__",Di=function(t){return t.join(Ba)},ld=function(t){return t.split(Ba)},Ea="rc-menu-more";function ud(){var e=s.useState({}),t=W(e,2),n=t[1],a=s.useRef(new Map),r=s.useRef(new Map),i=s.useState([]),o=W(i,2),l=o[0],u=o[1],c=s.useRef(0),d=s.useRef(!1),f=function(){d.current||n({})},g=s.useCallback(function(p,C){var x=Di(C);r.current.set(x,p),a.current.set(p,x),c.current+=1;var E=c.current;sd(function(){E===c.current&&f()})},[]),w=s.useCallback(function(p,C){var x=Di(C);r.current.delete(x),a.current.delete(p)},[]),b=s.useCallback(function(p){u(p)},[]),h=s.useCallback(function(p,C){var x=a.current.get(p)||"",E=ld(x);return C&&l.includes(E[0])&&E.unshift(Ea),E},[l]),v=s.useCallback(function(p,C){return p.some(function(x){var E=h(x,!0);return E.includes(C)})},[h]),m=function(){var C=ee(a.current.keys());return l.length&&C.push(Ea),C},y=s.useCallback(function(p){var C="".concat(a.current.get(p)).concat(Ba),x=new Set;return ee(r.current.keys()).forEach(function(E){E.startsWith(C)&&x.add(r.current.get(E))}),x},[]);return s.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:g,unregisterPath:w,refreshOverflowKeys:b,isSubPathKey:v,getKeyPath:h,getKeys:m,getSubPathKeys:y}}function Hn(e){var t=s.useRef(e);t.current=e;var n=s.useCallback(function(){for(var a,r=arguments.length,i=new Array(r),o=0;o1&&(y.motionAppear=!1);var p=y.onVisibleChanged;return y.onVisibleChanged=function(C){return!g.current&&!C&&v(!0),p==null?void 0:p(C)},h?null:s.createElement(Qn,{mode:i,locked:!g.current},s.createElement(Aa,ie({visible:m},y,{forceRender:u,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),function(C){var x=C.className,E=C.style;return s.createElement(Va,{id:t,className:x,style:E},r)}))}var Id=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Rd=["active"],Od=function(t){var n,a=t.style,r=t.className,i=t.title,o=t.eventKey;t.warnKey;var l=t.disabled,u=t.internalPopupClose,c=t.children,d=t.itemIcon,f=t.expandIcon,g=t.popupClassName,w=t.popupOffset,b=t.popupStyle,h=t.onClick,v=t.onMouseEnter,m=t.onMouseLeave,y=t.onTitleClick,p=t.onTitleMouseEnter,C=t.onTitleMouseLeave,x=xe(t,Id),E=jo(o),$=s.useContext(xt),R=$.prefixCls,P=$.mode,N=$.openKeys,T=$.disabled,z=$.overflowDisabled,F=$.activeKey,_=$.selectedKeys,V=$.itemIcon,I=$.expandIcon,S=$.onItemClick,O=$.onOpenChange,A=$.onActive,D=s.useContext(ja),j=D._internalRenderSubMenuItem,B=s.useContext(Ho),H=B.isSubPathKey,L=Nn(),X="".concat(R,"-submenu"),q=T||l,Y=s.useRef(),J=s.useRef(),oe=d??V,ce=f??I,me=N.includes(o),Pe=!z&&me,ke=H(_,o),Re=Uo(o,q,p,C),Me=Re.active,Ee=xe(Re,Rd),Fe=s.useState(!1),Q=W(Fe,2),fe=Q[0],we=Q[1],de=function(Ae){q||we(Ae)},tt=function(Ae){de(!0),v==null||v({key:o,domEvent:Ae})},We=function(Ae){de(!1),m==null||m({key:o,domEvent:Ae})},Oe=s.useMemo(function(){return Me||(P!=="inline"?fe||H([F],o):!1)},[P,Me,F,fe,o,H]),te=qo(L.length),Z=function(Ae){q||(y==null||y({key:o,domEvent:Ae}),P==="inline"&&O(o,!me))},Ne=Hn(function(be){h==null||h(Er(be)),S(be)}),De=function(Ae){P!=="inline"&&O(o,Ae)},Te=function(){A(o)},nt=E&&"".concat(E,"-popup"),he=s.createElement("div",ie({role:"menuitem",style:te,className:"".concat(X,"-title"),tabIndex:q?null:-1,ref:Y,title:typeof i=="string"?i:null,"data-menu-id":z&&E?null:E,"aria-expanded":Pe,"aria-haspopup":!0,"aria-controls":nt,"aria-disabled":q,onClick:Z,onFocus:Te},Ee),i,s.createElement(Go,{icon:P!=="horizontal"?ce:void 0,props:k(k({},t),{},{isOpen:Pe,isSubMenu:!0})},s.createElement("i",{className:"".concat(X,"-arrow")}))),ct=s.useRef(P);if(P!=="inline"&&L.length>1?ct.current="vertical":ct.current=P,!z){var Ze=ct.current;he=s.createElement(xd,{mode:Ze,prefixCls:X,visible:!u&&Pe&&P!=="inline",popupClassName:g,popupOffset:w,popupStyle:b,popup:s.createElement(Qn,{mode:Ze==="horizontal"?"vertical":Ze},s.createElement(Va,{id:nt,ref:J},c)),disabled:q,onVisibleChange:De},he)}var it=s.createElement(Bt.Item,ie({role:"none"},x,{component:"li",style:a,className:G(X,"".concat(X,"-").concat(P),r,(n={},M(n,"".concat(X,"-open"),Pe),M(n,"".concat(X,"-active"),Oe),M(n,"".concat(X,"-selected"),ke),M(n,"".concat(X,"-disabled"),q),n)),onMouseEnter:tt,onMouseLeave:We}),he,!z&&s.createElement(Ed,{id:nt,open:Pe,keyPath:L},c));return j&&(it=j(it,t,{selected:ke,active:Oe,open:Pe,disabled:q})),s.createElement(Qn,{onItemClick:Ne,mode:P==="horizontal"?"vertical":P,itemIcon:oe,expandIcon:ce},it)};function zr(e){var t=e.eventKey,n=e.children,a=Nn(t),r=Ha(n,a),i=_r();s.useEffect(function(){if(i)return i.registerPath(t,a),function(){i.unregisterPath(t,a)}},[a]);var o;return i?o=r:o=s.createElement(Od,e,r),s.createElement(Vo.Provider,{value:a},o)}var Pd=["className","title","eventKey","children"],Md=["children"],Fd=function(t){var n=t.className,a=t.title;t.eventKey;var r=t.children,i=xe(t,Pd),o=s.useContext(xt),l=o.prefixCls,u="".concat(l,"-item-group");return s.createElement("li",ie({role:"presentation"},i,{onClick:function(d){return d.stopPropagation()},className:G(u,n)}),s.createElement("div",{role:"presentation",className:"".concat(u,"-title"),title:typeof a=="string"?a:void 0},a),s.createElement("ul",{role:"group",className:"".concat(u,"-list")},r))};function Lr(e){var t=e.children,n=xe(e,Md),a=Nn(n.eventKey),r=Ha(t,a),i=_r();return i?r:s.createElement(Fd,ln(n,["warnKey"]),r)}function Wa(e){var t=e.className,n=e.style,a=s.useContext(xt),r=a.prefixCls,i=_r();return i?null:s.createElement("li",{role:"separator",className:G("".concat(r,"-item-divider"),t),style:n})}var Nd=["label","children","key","type"];function Ia(e){return(e||[]).map(function(t,n){if(t&&at(t)==="object"){var a=t,r=a.label,i=a.children,o=a.key,l=a.type,u=xe(a,Nd),c=o??"tmp-".concat(n);return i||l==="group"?l==="group"?s.createElement(Lr,ie({key:c},u,{title:r}),Ia(i)):s.createElement(zr,ie({key:c},u,{title:r}),Ia(i)):l==="divider"?s.createElement(Wa,ie({key:c},u)):s.createElement(Ar,ie({key:c},u),r)}return null}).filter(function(t){return t})}function Td(e,t,n){var a=e;return t&&(a=Ia(t)),Ha(a,n)}var _d=["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"],$n=[],Ad=s.forwardRef(function(e,t){var n,a,r=e,i=r.prefixCls,o=i===void 0?"rc-menu":i,l=r.rootClassName,u=r.style,c=r.className,d=r.tabIndex,f=d===void 0?0:d,g=r.items,w=r.children,b=r.direction,h=r.id,v=r.mode,m=v===void 0?"vertical":v,y=r.inlineCollapsed,p=r.disabled,C=r.disabledOverflow,x=r.subMenuOpenDelay,E=x===void 0?.1:x,$=r.subMenuCloseDelay,R=$===void 0?.1:$,P=r.forceSubMenuRender,N=r.defaultOpenKeys,T=r.openKeys,z=r.activeKey,F=r.defaultActiveFirst,_=r.selectable,V=_===void 0?!0:_,I=r.multiple,S=I===void 0?!1:I,O=r.defaultSelectedKeys,A=r.selectedKeys,D=r.onSelect,j=r.onDeselect,B=r.inlineIndent,H=B===void 0?24:B,L=r.motion,X=r.defaultMotions,q=r.triggerSubMenuAction,Y=q===void 0?"hover":q,J=r.builtinPlacements,oe=r.itemIcon,ce=r.expandIcon,me=r.overflowedIndicator,Pe=me===void 0?"...":me,ke=r.overflowedIndicatorPopupClassName,Re=r.getPopupContainer,Me=r.onClick,Ee=r.onOpenChange,Fe=r.onKeyDown;r.openAnimation,r.openTransitionName;var Q=r._internalRenderMenuItem,fe=r._internalRenderSubMenuItem,we=xe(r,_d),de=s.useMemo(function(){return Td(w,g,$n)},[w,g]),tt=s.useState(!1),We=W(tt,2),Oe=We[0],te=We[1],Z=s.useRef(),Ne=dd(h),De=b==="rtl",Te=Jt(N,{value:T,postState:function(ve){return ve||$n}}),nt=W(Te,2),he=nt[0],ct=nt[1],Ze=function(ve){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Ue(){ct(ve),Ee==null||Ee(ve)}pe?Rr.flushSync(Ue):Ue()},it=s.useState(he),be=W(it,2),Ae=be[0],tn=be[1],qe=s.useRef(!1),Ke=s.useMemo(function(){return(m==="inline"||m==="vertical")&&y?["vertical",y]:[m,!1]},[m,y]),Et=W(Ke,2),Qe=Et[0],ot=Et[1],ye=Qe==="inline",se=s.useState(Qe),Ge=W(se,2),_e=Ge[0],ne=Ge[1],le=s.useState(ot),Se=W(le,2),Ie=Se[0],st=Se[1];s.useEffect(function(){ne(Qe),st(ot),qe.current&&(ye?ct(Ae):Ze($n))},[Qe,ot]);var un=s.useState(0),Ht=W(un,2),It=Ht[0],cn=Ht[1],_t=It>=de.length-1||_e!=="horizontal"||C;s.useEffect(function(){ye&&tn(he)},[he]),s.useEffect(function(){return qe.current=!0,function(){qe.current=!1}},[]);var Xe=ud(),Rt=Xe.registerPath,Ot=Xe.unregisterPath,At=Xe.refreshOverflowKeys,Wt=Xe.isSubPathKey,dn=Xe.getKeyPath,dt=Xe.getKeys,fn=Xe.getSubPathKeys,rt=s.useMemo(function(){return{registerPath:Rt,unregisterPath:Ot}},[Rt,Ot]),zt=s.useMemo(function(){return{isSubPathKey:Wt}},[Wt]);s.useEffect(function(){At(_t?$n:de.slice(It+1).map(function($e){return $e.key}))},[It,_t]);var vn=Jt(z||F&&((n=de[0])===null||n===void 0?void 0:n.key),{value:z}),mn=W(vn,2),Pt=mn[0],Kt=mn[1],Lt=Hn(function($e){Kt($e)}),gn=Hn(function(){Kt(void 0)});s.useImperativeHandle(t,function(){return{list:Z.current,focus:function(ve){var pe,Ue=Pt??((pe=de.find(function(An){return!An.props.disabled}))===null||pe===void 0?void 0:pe.key);if(Ue){var Ye,Ct,Nt;(Ye=Z.current)===null||Ye===void 0||(Ct=Ye.querySelector("li[data-menu-id='".concat(Da(Ne,Ue),"']")))===null||Ct===void 0||(Nt=Ct.focus)===null||Nt===void 0||Nt.call(Ct,ve)}}}});var Tn=Jt(O||[],{value:A,postState:function(ve){return Array.isArray(ve)?ve:ve==null?$n:[ve]}}),Mt=W(Tn,2),ft=Mt[0],nn=Mt[1],kt=function(ve){if(V){var pe=ve.key,Ue=ft.includes(pe),Ye;S?Ue?Ye=ft.filter(function(Nt){return Nt!==pe}):Ye=[].concat(ee(ft),[pe]):Ye=[pe],nn(Ye);var Ct=k(k({},ve),{},{selectedKeys:Ye});Ue?j==null||j(Ct):D==null||D(Ct)}!S&&he.length&&_e!=="inline"&&Ze($n)},Ft=Hn(function($e){Me==null||Me(Er($e)),kt($e)}),bt=Hn(function($e,ve){var pe=he.filter(function(Ye){return Ye!==$e});if(ve)pe.push($e);else if(_e!=="inline"){var Ue=fn($e);pe=pe.filter(function(Ye){return!Ue.has(Ye)})}_a(he,pe,!0)||Ze(pe,!0)}),Dt=function(ve,pe){var Ue=pe??!he.includes(ve);bt(ve,Ue)},Ut=od(_e,Pt,De,Ne,Z,dt,dn,Kt,Dt,Fe);s.useEffect(function(){te(!0)},[]);var qt=s.useMemo(function(){return{_internalRenderMenuItem:Q,_internalRenderSubMenuItem:fe}},[Q,fe]),yt=_e!=="horizontal"||C?de:de.map(function($e,ve){return s.createElement(Qn,{key:$e.key,overflowDisabled:ve>It},$e)}),_n=s.createElement(Bt,ie({id:h,ref:Z,prefixCls:"".concat(o,"-overflow"),component:"ul",itemComponent:Ar,className:G(o,"".concat(o,"-root"),"".concat(o,"-").concat(_e),c,(a={},M(a,"".concat(o,"-inline-collapsed"),Ie),M(a,"".concat(o,"-rtl"),De),a),l),dir:b,style:u,role:"menu",tabIndex:f,data:yt,renderRawItem:function(ve){return ve},renderRawRest:function(ve){var pe=ve.length,Ue=pe?de.slice(-pe):null;return s.createElement(zr,{eventKey:Ea,title:Pe,disabled:_t,internalPopupClose:pe===0,popupClassName:ke},Ue)},maxCount:_e!=="horizontal"||C?Bt.INVALIDATE:Bt.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(ve){cn(ve)},onKeyDown:Ut},we));return s.createElement(ja.Provider,{value:qt},s.createElement(Do.Provider,{value:Ne},s.createElement(Qn,{prefixCls:o,rootClassName:l,mode:_e,openKeys:he,rtl:De,disabled:p,motion:Oe?L:null,defaultMotions:Oe?X:null,activeKey:Pt,onActive:Lt,onInactive:gn,selectedKeys:ft,inlineIndent:H,subMenuOpenDelay:E,subMenuCloseDelay:R,forceSubMenuRender:P,builtinPlacements:J,triggerSubMenuAction:Y,getPopupContainer:Re,itemIcon:oe,expandIcon:ce,onItemClick:Ft,onOpenChange:bt},s.createElement(Ho.Provider,{value:zt},_n),s.createElement("div",{style:{display:"none"},"aria-hidden":!0},s.createElement(Bo.Provider,{value:rt},de)))))}),ir=Ad;ir.Item=Ar;ir.SubMenu=zr;ir.ItemGroup=Lr;ir.Divider=Wa;var zd={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const Ld=zd;var kd=function(t,n){return s.createElement(Fn,ie({},t,{ref:n,icon:Ld}))};const Dd=s.forwardRef(kd);var jd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const Bd=jd;var Vd=function(t,n){return s.createElement(Fn,ie({},t,{ref:n,icon:Bd}))};const Bi=s.forwardRef(Vd),Hd=e=>!isNaN(parseFloat(e))&&isFinite(e),Wd=Hd,Kd=s.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var Ud=globalThis&&globalThis.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Gd=s.forwardRef((e,t)=>{const{prefixCls:n,className:a,trigger:r,children:i,defaultCollapsed:o=!1,theme:l="dark",style:u={},collapsible:c=!1,reverseArrow:d=!1,width:f=200,collapsedWidth:g=80,zeroWidthTriggerStyle:w,breakpoint:b,onCollapse:h,onBreakpoint:v}=e,m=Ud(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:y}=s.useContext(Kd),[p,C]=s.useState("collapsed"in e?e.collapsed:o),[x,E]=s.useState(!1);s.useEffect(()=>{"collapsed"in e&&C(e.collapsed)},[e.collapsed]);const $=(F,_)=>{"collapsed"in e||C(F),h==null||h(F,_)},R=s.useRef();R.current=F=>{E(F.matches),v==null||v(F.matches),p!==F.matches&&$(F.matches,"responsive")},s.useEffect(()=>{function F(V){return R.current(V)}let _;if(typeof window<"u"){const{matchMedia:V}=window;if(V&&b&&b in Vi){_=V(`(max-width: ${Vi[b]})`);try{_.addEventListener("change",F)}catch{_.addListener(F)}F(_)}}return()=>{try{_==null||_.removeEventListener("change",F)}catch{_==null||_.removeListener(F)}}},[b]),s.useEffect(()=>{const F=qd("ant-sider-");return y.addSider(F),()=>y.removeSider(F)},[]);const P=()=>{$(!p,"clickTrigger")},{getPrefixCls:N}=s.useContext(Vt),T=()=>{const F=N("layout-sider",n),_=ln(m,["collapsed"]),V=p?g:f,I=Wd(V)?`${V}px`:String(V),S=parseFloat(String(g||0))===0?s.createElement("span",{onClick:P,className:G(`${F}-zero-width-trigger`,`${F}-zero-width-trigger-${d?"right":"left"}`),style:w},r||s.createElement(Dd,null)):null,D={expanded:d?s.createElement(Ai,null):s.createElement(Bi,null),collapsed:d?s.createElement(Bi,null):s.createElement(Ai,null)}[p?"collapsed":"expanded"],j=r!==null?S||s.createElement("div",{className:`${F}-trigger`,onClick:P,style:{width:I}},r||D):null,B=Object.assign(Object.assign({},u),{flex:`0 0 ${I}`,maxWidth:I,minWidth:I,width:I}),H=G(F,`${F}-${l}`,{[`${F}-collapsed`]:!!p,[`${F}-has-trigger`]:c&&r!==null&&!S,[`${F}-below`]:!!x,[`${F}-zero-width`]:parseFloat(I)===0},a);return s.createElement("aside",Object.assign({className:H},_,{style:B,ref:t}),s.createElement("div",{className:`${F}-children`},i),c||x&&S?j:null)},z=s.useMemo(()=>({siderCollapsed:p}),[p]);return s.createElement(Ka.Provider,{value:z},T())}),ev=Gd;var Xd=globalThis&&globalThis.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,className:n,dashed:a}=e,r=Xd(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=s.useContext(Vt),o=i("menu",t),l=G({[`${o}-item-divider-dashed`]:!!a},n);return s.createElement(Wa,Object.assign({className:l},r))},Yo=Yd,Zd=s.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ir=Zd,Qd=e=>{var t;const{className:n,children:a,icon:r,title:i,danger:o}=e,{prefixCls:l,firstLevel:u,direction:c,disableMenuItemTitleTooltip:d,inlineCollapsed:f}=s.useContext(Ir),g=y=>{const p=s.createElement("span",{className:`${l}-title-content`},a);return(!r||en(a)&&a.type==="span")&&a&&y&&u&&typeof a=="string"?s.createElement("div",{className:`${l}-inline-collapsed-noicon`},a.charAt(0)):p},{siderCollapsed:w}=s.useContext(Ka);let b=i;typeof i>"u"?b=u?a:"":i===!1&&(b="");const h={title:b};!w&&!f&&(h.title=null,h.open=!1);const v=sn(a).length;let m=s.createElement(Ar,Object.assign({},ln(e,["title","icon","danger"]),{className:G({[`${l}-item-danger`]:o,[`${l}-item-only-child`]:(r?v+1:v)===1},n),title:typeof i=="string"?i:void 0}),Nr(r,{className:G(en(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),g(f));return d||(m=s.createElement(Xc,Object.assign({},h,{placement:c==="rtl"?"left":"right",overlayClassName:`${l}-inline-collapsed-tooltip`}),m)),m},Zo=Qd,Jd=e=>{var t;const{popupClassName:n,icon:a,title:r,theme:i}=e,o=s.useContext(Ir),{prefixCls:l,inlineCollapsed:u,theme:c}=o,d=Nn();let f;if(!a)f=u&&!d.length&&r&&typeof r=="string"?s.createElement("div",{className:`${l}-inline-collapsed-noicon`},r.charAt(0)):s.createElement("span",{className:`${l}-title-content`},r);else{const w=en(r)&&r.type==="span";f=s.createElement(s.Fragment,null,Nr(a,{className:G(en(a)?(t=a.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),w?r:s.createElement("span",{className:`${l}-title-content`},r))}const g=s.useMemo(()=>Object.assign(Object.assign({},o),{firstLevel:!1}),[o]);return s.createElement(Ir.Provider,{value:g},s.createElement(zr,Object.assign({},ln(e,["icon"]),{title:f,popupClassName:G(l,n,`${l}-${i||c}`)})))},Qo=Jd;var ef={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 tf=ef;var nf=function(t,n){return s.createElement(Fn,ie({},t,{ref:n,icon:tf}))};const rf=s.forwardRef(nf);var af=globalThis&&globalThis.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{if(t&&typeof t=="object"){const a=t,{label:r,children:i,key:o,type:l}=a,u=af(a,["label","children","key","type"]),c=o??`tmp-${n}`;return i||l==="group"?l==="group"?s.createElement(Lr,Object.assign({key:c},u,{title:r}),Ra(i)):s.createElement(Qo,Object.assign({key:c},u,{title:r}),Ra(i)):l==="divider"?s.createElement(Yo,Object.assign({key:c},u)):s.createElement(Zo,Object.assign({key:c},u),r)}return null}).filter(t=>t)}function of(e){return s.useMemo(()=>e&&Ra(e),[e])}var sf=globalThis&&globalThis.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{const{children:n}=e,a=sf(e,["children"]),r=s.useContext(Oa),i=s.useMemo(()=>Object.assign(Object.assign({},r),a),[r,a.prefixCls,a.mode,a.selectable]),o=ys(n),l=Jn(t,o?n.ref:null);return s.createElement(Oa.Provider,{value:i},s.createElement(wr,null,o?s.cloneElement(n,{ref:l}):n))}),Hi=Oa,lf=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:a,colorSplit:r,lineWidth:i,lineType:o,itemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:a,border:0,borderBottom:`${i}px ${o} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover, + > ${t}-item-active, + > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},uf=lf,cf=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},df=cf,Wi=e=>Object.assign({},Cs(e)),ff=(e,t)=>{const{componentCls:n,itemColor:a,itemSelectedColor:r,groupTitleColor:i,itemBg:o,subMenuItemBg:l,itemSelectedBg:u,activeBarHeight:c,activeBarWidth:d,activeBarBorderWidth:f,motionDurationSlow:g,motionEaseInOut:w,motionEaseOut:b,itemPaddingInline:h,motionDurationMid:v,itemHoverColor:m,lineType:y,colorSplit:p,itemDisabledColor:C,dangerItemColor:x,dangerItemHoverColor:E,dangerItemSelectedColor:$,dangerItemActiveBg:R,dangerItemSelectedBg:P,itemHoverBg:N,itemActiveBg:T,menuSubMenuBg:z,horizontalItemSelectedColor:F,horizontalItemSelectedBg:_,horizontalItemBorderRadius:V,horizontalItemHoverBg:I,popupBg:S}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:a,background:o,[`&${n}-root:focus-visible`]:Object.assign({},Wi(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:r}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${C} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:m}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:T}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:T}}},[`${n}-item-danger`]:{color:x,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:E}},[`&${n}-item:active`]:{background:R}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:r,[`&${n}-item-danger`]:{color:$},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:u,[`&${n}-item-danger`]:{backgroundColor:P}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},Wi(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:z},[`&${n}-popup > ${n}`]:{backgroundColor:S},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:-f,marginBottom:0,borderRadius:V,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${c}px solid transparent`,transition:`border-color ${g} ${w}`,content:'""'},"&:hover, &-active, &-open":{background:I,"&::after":{borderBottomWidth:c,borderBottomColor:F}},"&-selected":{color:F,backgroundColor:_,"&:hover":{backgroundColor:_},"&::after":{borderBottomWidth:c,borderBottomColor:F}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${f}px ${y} ${p}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item, ${n}-submenu-title`]:f&&d?{width:`calc(100% + ${f}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${d}px solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${v} ${b}`,`opacity ${v} ${b}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:$}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${v} ${w}`,`opacity ${v} ${w}`].join(",")}}}}}},Ki=ff,Ui=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:a,padding:r,menuArrowSize:i,marginXS:o,itemMarginBlock:l}=e,u=r+i+o;return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:r,overflow:"hidden",textOverflow:"ellipsis",marginInline:a,marginBlock:l,width:`calc(100% - ${a*2}px)`},[`> ${t}-item, + > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title, + ${t}-submenu-title`]:{paddingInlineEnd:u}}},vf=e=>{const{componentCls:t,iconCls:n,itemHeight:a,colorTextLightSolid:r,dropdownWidth:i,controlHeightLG:o,motionDurationMid:l,motionEaseOut:u,paddingXL:c,itemMarginInline:d,fontSizeLG:f,motionDurationSlow:g,paddingXS:w,boxShadowSecondary:b,collapsedWidth:h,collapsedIconSize:v}=e,m={height:a,lineHeight:`${a}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},Ui(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},Ui(e)),{boxShadow:b})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${o*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${g}`,`background ${g}`,`padding ${l} ${u}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:m,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:m}},{[`${t}-inline-collapsed`]:{width:h,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:f,textAlign:"center"}}},[`> ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, + > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${f/2}px - ${d}px)`,textOverflow:"clip",[` + ${t}-submenu-arrow, + ${t}-submenu-expand-icon + `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:v,lineHeight:`${a}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:Object.assign(Object.assign({},ws),{paddingInline:w})}}]},mf=vf,qi=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:a,motionEaseInOut:r,motionEaseOut:i,iconCls:o,iconSize:l,iconMarginInlineEnd:u}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding ${n} ${r}`].join(","),[`${t}-item-icon, ${o}`]:{minWidth:l,fontSize:l,transition:[`font-size ${a} ${i}`,`margin ${n} ${r}`,`color ${n}`].join(","),"+ span":{marginInlineStart:u,opacity:1,transition:[`opacity ${n} ${r}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},Ss()),[`&${t}-item-only-child`]:{[`> ${o}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Gi=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:a,borderRadius:r,menuArrowSize:i,menuArrowOffset:o}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${a}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:i*.6,height:i*.15,backgroundColor:"currentcolor",borderRadius:r,transition:[`background ${n} ${a}`,`transform ${n} ${a}`,`top ${n} ${a}`,`color ${n} ${a}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${o})`},"&::after":{transform:`rotate(-45deg) translateY(${o})`}}}}},gf=e=>{const{antCls:t,componentCls:n,fontSize:a,motionDurationSlow:r,motionDurationMid:i,motionEaseInOut:o,paddingXS:l,padding:u,colorSplit:c,lineWidth:d,zIndexPopup:f,borderRadiusLG:g,subMenuItemBorderRadius:w,menuArrowSize:b,menuArrowOffset:h,lineType:v,menuPanelMaskInset:m,groupTitleLineHeight:y,groupTitleFontSize:p}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},ia()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Or(e)),ia()),{marginBottom:0,paddingInlineStart:0,fontSize:a,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${l}px ${u}px`,fontSize:p,lineHeight:y,transition:`all ${r}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${r} ${o}`,`background ${r} ${o}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${r} ${o}`,`background ${r} ${o}`,`padding ${i} ${o}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${r} ${o}`,`padding ${r} ${o}`].join(",")},[`${n}-title-content`]:{transition:`color ${r}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:v,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),qi(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${a*2}px ${u}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,borderRadius:g,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${m}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:m},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:g},qi(e)),Gi(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:w},[`${n}-submenu-title::after`]:{transition:`transform ${r} ${o}`}})}}),Gi(e)),{[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${h})`},"&::after":{transform:`rotate(45deg) translateX(-${h})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${b*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${h})`},"&::before":{transform:`rotate(45deg) translateX(${h})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},hf=(e,t)=>er("Menu",a=>{if(t===!1)return[];const{colorBgElevated:r,colorPrimary:i,colorTextLightSolid:o,controlHeightLG:l,fontSize:u,darkItemColor:c,darkDangerItemColor:d,darkItemBg:f,darkSubMenuItemBg:g,darkItemSelectedColor:w,darkItemSelectedBg:b,darkDangerItemSelectedBg:h,darkItemHoverBg:v,darkGroupTitleColor:m,darkItemHoverColor:y,darkItemDisabledColor:p,darkDangerItemHoverColor:C,darkDangerItemSelectedColor:x,darkDangerItemActiveBg:E}=a,$=u/7*5,R=pt(a,{menuArrowSize:$,menuHorizontalHeight:l*1.15,menuArrowOffset:`${$*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:r}),P=pt(R,{itemColor:c,itemHoverColor:y,groupTitleColor:m,itemSelectedColor:w,itemBg:f,popupBg:f,subMenuItemBg:g,itemActiveBg:"transparent",itemSelectedBg:b,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:v,itemDisabledColor:p,dangerItemColor:d,dangerItemHoverColor:C,dangerItemSelectedColor:x,dangerItemActiveBg:E,dangerItemSelectedBg:h,menuSubMenuBg:g,horizontalItemSelectedColor:o,horizontalItemSelectedBg:i});return[gf(R),uf(R),mf(R),Ki(R,"light"),Ki(P,"dark"),df(R),ic(R),xi(R,"slide-up"),xi(R,"slide-down"),Ro(R,"zoom-big")]},a=>{const{colorPrimary:r,colorError:i,colorTextDisabled:o,colorErrorBg:l,colorText:u,colorTextDescription:c,colorBgContainer:d,colorFillAlter:f,colorFillContent:g,lineWidth:w,lineWidthBold:b,controlItemBgActive:h,colorBgTextHover:v,controlHeightLG:m,lineHeight:y,colorBgElevated:p,marginXXS:C,padding:x,fontSize:E,controlHeightSM:$,fontSizeLG:R,colorTextLightSolid:P,colorErrorHover:N}=a,T=new Qa(P).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:a.zIndexPopupBase+50,radiusItem:a.borderRadiusLG,itemBorderRadius:a.borderRadiusLG,radiusSubMenuItem:a.borderRadiusSM,subMenuItemBorderRadius:a.borderRadiusSM,colorItemText:u,itemColor:u,colorItemTextHover:u,itemHoverColor:u,colorItemTextHoverHorizontal:r,horizontalItemHoverColor:r,colorGroupTitle:c,groupTitleColor:c,colorItemTextSelected:r,itemSelectedColor:r,colorItemTextSelectedHorizontal:r,horizontalItemSelectedColor:r,colorItemBg:d,itemBg:d,colorItemBgHover:v,itemHoverBg:v,colorItemBgActive:g,itemActiveBg:h,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:h,itemSelectedBg:h,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:b,activeBarHeight:b,colorActiveBarBorderSize:w,activeBarBorderWidth:w,colorItemTextDisabled:o,itemDisabledColor:o,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:l,dangerItemActiveBg:l,colorDangerItemBgSelected:l,dangerItemSelectedBg:l,itemMarginInline:a.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:m,groupTitleLineHeight:y,collapsedWidth:m*2,popupBg:p,itemMarginBlock:C,itemPaddingInline:x,horizontalLineHeight:`${m*1.15}px`,iconSize:E,iconMarginInlineEnd:$-E,collapsedIconSize:R,groupTitleFontSize:E,darkItemDisabledColor:new Qa(P).setAlpha(.25).toRgbString(),darkItemColor:T,darkDangerItemColor:i,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:P,darkItemSelectedBg:r,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:T,darkItemHoverColor:P,darkDangerItemHoverColor:N,darkDangerItemSelectedColor:P,darkDangerItemActiveBg:i}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(e);var pf=globalThis&&globalThis.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{var n,a;const r=s.useContext(Hi),i=r||{},{getPrefixCls:o,getPopupContainer:l,direction:u,menu:c}=s.useContext(Vt),d=o(),{prefixCls:f,className:g,style:w,theme:b="light",expandIcon:h,_internalDisableMenuItemTitleTooltip:v,inlineCollapsed:m,siderCollapsed:y,items:p,children:C,rootClassName:x,mode:E,selectable:$,onClick:R,overflowedIndicatorPopupClassName:P}=e,N=pf(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),T=ln(N,["collapsedWidth"]),z=of(p)||C;(n=i.validator)===null||n===void 0||n.call(i,{mode:E});const F=wt(function(){var L;R==null||R.apply(void 0,arguments),(L=i.onClick)===null||L===void 0||L.call(i)}),_=i.mode||E,V=$??i.selectable,I=s.useMemo(()=>y!==void 0?y:m,[m,y]),S={horizontal:{motionName:`${d}-slide-up`},inline:yl(d),other:{motionName:`${d}-zoom-big`}},O=o("menu",f||i.prefixCls),[A,D]=hf(O,!r),j=G(`${O}-${b}`,c==null?void 0:c.className,g);let B;if(typeof h=="function")B=h;else if(h===null||h===!1)B=null;else if(i.expandIcon===null||i.expandIcon===!1)B=null;else{const L=h??i.expandIcon;B=Nr(L,{className:G(`${O}-submenu-expand-icon`,en(L)?(a=L.props)===null||a===void 0?void 0:a.className:"")})}const H=s.useMemo(()=>({prefixCls:O,inlineCollapsed:I||!1,direction:u,firstLevel:!0,theme:b,mode:_,disableMenuItemTitleTooltip:v}),[O,I,u,v,b]);return A(s.createElement(Hi.Provider,{value:null},s.createElement(Ir.Provider,{value:H},s.createElement(ir,Object.assign({getPopupContainer:l,overflowedIndicator:s.createElement(rf,null),overflowedIndicatorPopupClassName:G(O,`${O}-${b}`,P),mode:_,selectable:V,onClick:F},T,{inlineCollapsed:I,style:Object.assign(Object.assign({},c==null?void 0:c.style),w),className:j,prefixCls:O,direction:u,defaultMotions:S,expandIcon:B,ref:t,rootClassName:G(x,D)}),z))))}),yf=bf,or=s.forwardRef((e,t)=>{const n=s.useRef(null),a=s.useContext(Ka);return s.useImperativeHandle(t,()=>({menu:n.current,focus:r=>{var i;(i=n.current)===null||i===void 0||i.focus(r)}})),s.createElement(yf,Object.assign({ref:n},e,a))});or.Item=Zo;or.SubMenu=Qo;or.Divider=Yo;or.ItemGroup=Lr;const nv=or,Cf=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Jo=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Pa=e=>({borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0,backgroundColor:e.activeBg}),es=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},Jo(pt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),ts=e=>{const{paddingBlockLG:t,fontSizeLG:n,lineHeightLG:a,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:n,lineHeight:a,borderRadius:r}},ns=e=>({padding:`${e.paddingBlockSM}px ${e.paddingInlineSM}px`,borderRadius:e.borderRadiusSM}),rs=(e,t)=>{const{componentCls:n,colorError:a,colorWarning:r,errorActiveShadow:i,warningActiveShadow:o,colorErrorBorderHover:l,colorWarningBorderHover:u}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:a,"&:hover":{borderColor:l},"&:focus, &:focus-within":Object.assign({},Pa(pt(e,{activeBorderColor:a,activeShadow:i}))),[`${n}-prefix, ${n}-suffix`]:{color:a}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:u},"&:focus, &:focus-within":Object.assign({},Pa(pt(e,{activeBorderColor:r,activeShadow:o}))),[`${n}-prefix, ${n}-suffix`]:{color:r}}}},as=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.paddingBlock}px ${e.paddingInline}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},Cf(e.colorTextPlaceholder)),{"&:hover":Object.assign({},Jo(e)),"&:focus, &:focus-within":Object.assign({},Pa(e)),"&-disabled, &[disabled]":Object.assign({},es(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},ts(e)),"&-sm":Object.assign({},ns(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),wf=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},ts(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},ns(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.paddingInline}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.addonBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.paddingBlock+1}px -${e.paddingInline}px`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.paddingInline}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},ia()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + & > ${t}-affix-wrapper, + & > ${t}-number-affix-wrapper, + & > ${n}-picker-range + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, + & > ${n}-select-auto-complete ${t}, + & > ${n}-cascader-picker ${t}, + & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${n}-select:first-child > ${n}-select-selector, + & > ${n}-select-auto-complete:first-child ${t}, + & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${n}-select:last-child > ${n}-select-selector, + & > ${n}-cascader-picker:last-child ${t}, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},Sf=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:a}=e,r=16,i=(n-a*2-r)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Or(e)),as(e)),rs(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},$f=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},xf=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:a,motionDurationSlow:r,colorIcon:i,colorIconHover:o,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},as(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:a},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),$f(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${r}`,"&:hover":{color:o}}}),rs(e,`${t}-affix-wrapper`))}},Ef=e=>{const{componentCls:t,colorError:n,colorWarning:a,borderRadiusLG:r,borderRadiusSM:i}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Or(e)),wf(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:i}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon`]:{color:a,borderColor:a}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},es(e))},[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},If=e=>{const{componentCls:t,antCls:n}=e,a=`${t}-search`;return{[a]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${a}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${a}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${a}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${a}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${a}-button`]:{height:e.controlHeightLG},[`&-small ${a}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + > ${t}, + ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},Rf=e=>{const{componentCls:t,paddingLG:n}=e,a=`${t}-textarea`;return{[a]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${a}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${a}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function Of(e){return pt(e,{inputAffixPadding:e.paddingXXS})}const Pf=e=>{const{controlHeight:t,fontSize:n,lineHeight:a,lineWidth:r,controlHeightSM:i,controlHeightLG:o,fontSizeLG:l,lineHeightLG:u,paddingSM:c,controlPaddingHorizontalSM:d,controlPaddingHorizontal:f,colorFillAlter:g,colorPrimaryHover:w,colorPrimary:b,controlOutlineWidth:h,controlOutline:v,colorErrorOutline:m,colorWarningOutline:y}=e;return{paddingBlock:Math.max(Math.round((t-n*a)/2*10)/10-r,0),paddingBlockSM:Math.max(Math.round((i-n*a)/2*10)/10-r,0),paddingBlockLG:Math.ceil((o-l*u)/2*10)/10-r,paddingInline:c-r,paddingInlineSM:d-r,paddingInlineLG:f-r,addonBg:g,activeBorderColor:b,hoverBorderColor:w,activeShadow:`0 0 0 ${h}px ${v}`,errorActiveShadow:`0 0 0 ${h}px ${m}`,warningActiveShadow:`0 0 0 ${h}px ${y}`,hoverBg:"",activeBg:""}},is=er("Input",e=>{const t=pt(e,Of(e));return[Sf(t),Rf(t),xf(t),Ef(t),If(t),Ml(t)]},Pf);function xn(e){return!!(e.addonBefore||e.addonAfter)}function Jr(e){return!!(e.prefix||e.suffix||e.allowClear)}function Gn(e,t,n,a){if(n){var r=t;if(t.type==="click"){var i=e.cloneNode(!0);r=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",n(r);return}if(a!==void 0){r=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=a,n(r);return}n(r)}}function Mf(e,t){if(e){e.focus(t);var n=t||{},a=n.cursor;if(a){var r=e.value.length;switch(a){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}function Ma(e){return typeof e>"u"||e===null?"":String(e)}var os=function(t){var n,a,r=t.inputElement,i=t.prefixCls,o=t.prefix,l=t.suffix,u=t.addonBefore,c=t.addonAfter,d=t.className,f=t.style,g=t.disabled,w=t.readOnly,b=t.focused,h=t.triggerFocus,v=t.allowClear,m=t.value,y=t.handleReset,p=t.hidden,C=t.classes,x=t.classNames,E=t.dataAttrs,$=t.styles,R=t.components,P=(R==null?void 0:R.affixWrapper)||"span",N=(R==null?void 0:R.groupWrapper)||"span",T=(R==null?void 0:R.wrapper)||"span",z=(R==null?void 0:R.groupAddon)||"span",F=s.useRef(null),_=function(q){var Y;(Y=F.current)!==null&&Y!==void 0&&Y.contains(q.target)&&(h==null||h())},V=function(){var q;if(!v)return null;var Y=!g&&!w&&m,J="".concat(i,"-clear-icon"),oe=at(v)==="object"&&v!==null&&v!==void 0&&v.clearIcon?v.clearIcon:"✖";return ae.createElement("span",{onClick:y,onMouseDown:function(me){return me.preventDefault()},className:G(J,(q={},M(q,"".concat(J,"-hidden"),!Y),M(q,"".concat(J,"-has-suffix"),!!l),q)),role:"button",tabIndex:-1},oe)},I=s.cloneElement(r,{value:m,hidden:p,className:G((n=r.props)===null||n===void 0?void 0:n.className,!Jr(t)&&!xn(t)&&d)||null,style:k(k({},(a=r.props)===null||a===void 0?void 0:a.style),!Jr(t)&&!xn(t)?f:{})});if(Jr(t)){var S,O="".concat(i,"-affix-wrapper"),A=G(O,(S={},M(S,"".concat(O,"-disabled"),g),M(S,"".concat(O,"-focused"),b),M(S,"".concat(O,"-readonly"),w),M(S,"".concat(O,"-input-with-clear-btn"),l&&v&&m),S),!xn(t)&&d,C==null?void 0:C.affixWrapper,x==null?void 0:x.affixWrapper),D=(l||v)&&ae.createElement("span",{className:G("".concat(i,"-suffix"),x==null?void 0:x.suffix),style:$==null?void 0:$.suffix},V(),l);I=ae.createElement(P,ie({className:A,style:k(k({},xn(t)?void 0:f),$==null?void 0:$.affixWrapper),hidden:!xn(t)&&p,onClick:_},E==null?void 0:E.affixWrapper,{ref:F}),o&&ae.createElement("span",{className:G("".concat(i,"-prefix"),x==null?void 0:x.prefix),style:$==null?void 0:$.prefix},o),s.cloneElement(r,{value:m,hidden:null}),D)}if(xn(t)){var j="".concat(i,"-group"),B="".concat(j,"-addon"),H=G("".concat(i,"-wrapper"),j,C==null?void 0:C.wrapper),L=G("".concat(i,"-group-wrapper"),d,C==null?void 0:C.group);return ae.createElement(N,{className:L,style:f,hidden:p},ae.createElement(T,{className:H},u&&ae.createElement(z,{className:B},u),s.cloneElement(I,{hidden:null}),c&&ae.createElement(z,{className:B},c)))}return I},Ff=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],Nf=s.forwardRef(function(e,t){var n=e.autoComplete,a=e.onChange,r=e.onFocus,i=e.onBlur,o=e.onPressEnter,l=e.onKeyDown,u=e.prefixCls,c=u===void 0?"rc-input":u,d=e.disabled,f=e.htmlSize,g=e.className,w=e.maxLength,b=e.suffix,h=e.showCount,v=e.type,m=v===void 0?"text":v,y=e.classes,p=e.classNames,C=e.styles,x=xe(e,Ff),E=Jt(e.defaultValue,{value:e.value}),$=W(E,2),R=$[0],P=$[1],N=s.useState(!1),T=W(N,2),z=T[0],F=T[1],_=s.useRef(null),V=function(L){_.current&&Mf(_.current,L)};s.useImperativeHandle(t,function(){return{focus:V,blur:function(){var L;(L=_.current)===null||L===void 0||L.blur()},setSelectionRange:function(L,X,q){var Y;(Y=_.current)===null||Y===void 0||Y.setSelectionRange(L,X,q)},select:function(){var L;(L=_.current)===null||L===void 0||L.select()},input:_.current}}),s.useEffect(function(){F(function(H){return H&&d?!1:H})},[d]);var I=function(L){e.value===void 0&&P(L.target.value),_.current&&Gn(_.current,L,a)},S=function(L){o&&L.key==="Enter"&&o(L),l==null||l(L)},O=function(L){F(!0),r==null||r(L)},A=function(L){F(!1),i==null||i(L)},D=function(L){P(""),V(),_.current&&Gn(_.current,L,a)},j=function(){var L=ln(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return ae.createElement("input",ie({autoComplete:n},L,{onChange:I,onFocus:O,onBlur:A,onKeyDown:S,className:G(c,M({},"".concat(c,"-disabled"),d),p==null?void 0:p.input),style:C==null?void 0:C.input,ref:_,size:f,type:m}))},B=function(){var L=Number(w)>0;if(b||h){var X=Ma(R),q=ee(X).length,Y=at(h)==="object"?h.formatter({value:X,count:q,maxLength:w}):"".concat(q).concat(L?" / ".concat(w):"");return ae.createElement(ae.Fragment,null,!!h&&ae.createElement("span",{className:G("".concat(c,"-show-count-suffix"),M({},"".concat(c,"-show-count-has-suffix"),!!b),p==null?void 0:p.count),style:k({},C==null?void 0:C.count)},Y),b)}return null};return ae.createElement(os,ie({},x,{prefixCls:c,className:g,inputElement:j(),handleReset:D,value:Ma(R),focused:z,triggerFocus:V,suffix:B(),disabled:d,classes:y,classNames:p,styles:C}))});function Tf(e,t){const n=s.useRef([]),a=()=>{n.current.push(setTimeout(()=>{var r,i,o,l;!((r=e.current)===null||r===void 0)&&r.input&&((i=e.current)===null||i===void 0?void 0:i.input.getAttribute("type"))==="password"&&(!((o=e.current)===null||o===void 0)&&o.input.hasAttribute("value"))&&((l=e.current)===null||l===void 0||l.input.removeAttribute("value"))}))};return s.useEffect(()=>(t&&a(),()=>n.current.forEach(r=>{r&&clearTimeout(r)})),[]),a}function _f(e){return!!(e.prefix||e.suffix||e.allowClear)}var Af=globalThis&&globalThis.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{var n;const{prefixCls:a,bordered:r=!0,status:i,size:o,disabled:l,onBlur:u,onFocus:c,suffix:d,allowClear:f,addonAfter:g,addonBefore:w,className:b,style:h,styles:v,rootClassName:m,onChange:y,classNames:p}=e,C=Af(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:x,direction:E,input:$}=ae.useContext(Vt),R=x("input",a),P=s.useRef(null),[N,T]=is(R),{compactSize:z,compactItemClassnames:F}=Il(R,E),_=La(J=>{var oe;return(oe=o??z)!==null&&oe!==void 0?oe:J}),V=ae.useContext(to),I=l??V,{status:S,hasFeedback:O,feedbackIcon:A}=s.useContext($r),D=No(S,i),j=_f(e)||!!O;s.useRef(j);const B=Tf(P,!0),H=J=>{B(),u==null||u(J)},L=J=>{B(),c==null||c(J)},X=J=>{B(),y==null||y(J)},q=(O||d)&&ae.createElement(ae.Fragment,null,d,O&&A);let Y;return typeof f=="object"&&(f!=null&&f.clearIcon)?Y=f:f&&(Y={clearIcon:ae.createElement(mo,null)}),N(ae.createElement(Nf,Object.assign({ref:eo(t,P),prefixCls:R,autoComplete:$==null?void 0:$.autoComplete},C,{disabled:I,onBlur:H,onFocus:L,style:Object.assign(Object.assign({},$==null?void 0:$.style),h),styles:Object.assign(Object.assign({},$==null?void 0:$.styles),v),suffix:q,allowClear:Y,className:G(b,m,F,$==null?void 0:$.className),onChange:X,addonAfter:g&&ae.createElement(wr,null,ae.createElement($i,{override:!0,status:!0},g)),addonBefore:w&&ae.createElement(wr,null,ae.createElement($i,{override:!0,status:!0},w)),classNames:Object.assign(Object.assign(Object.assign({},p),$==null?void 0:$.classNames),{input:G({[`${R}-sm`]:_==="small",[`${R}-lg`]:_==="large",[`${R}-rtl`]:E==="rtl",[`${R}-borderless`]:!r},!j&&qn(R,D),p==null?void 0:p.input,(n=$==null?void 0:$.classNames)===null||n===void 0?void 0:n.input,T)}),classes:{affixWrapper:G({[`${R}-affix-wrapper-sm`]:_==="small",[`${R}-affix-wrapper-lg`]:_==="large",[`${R}-affix-wrapper-rtl`]:E==="rtl",[`${R}-affix-wrapper-borderless`]:!r},qn(`${R}-affix-wrapper`,D,O),T),wrapper:G({[`${R}-group-rtl`]:E==="rtl"},T),group:G({[`${R}-group-wrapper-sm`]:_==="small",[`${R}-group-wrapper-lg`]:_==="large",[`${R}-group-wrapper-rtl`]:E==="rtl",[`${R}-group-wrapper-disabled`]:I},qn(`${R}-group-wrapper`,D,O),T)}})))});var Lf=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,kf=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],ea={},ht;function Df(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&ea[n])return ea[n];var a=window.getComputedStyle(e),r=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),i=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),o=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),l=kf.map(function(c){return"".concat(c,":").concat(a.getPropertyValue(c))}).join(";"),u={sizingStyle:l,paddingSize:i,borderSize:o,boxSizing:r};return t&&n&&(ea[n]=u),u}function jf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ht||(ht=document.createElement("textarea"),ht.setAttribute("tab-index","-1"),ht.setAttribute("aria-hidden","true"),document.body.appendChild(ht)),e.getAttribute("wrap")?ht.setAttribute("wrap",e.getAttribute("wrap")):ht.removeAttribute("wrap");var r=Df(e,t),i=r.paddingSize,o=r.borderSize,l=r.boxSizing,u=r.sizingStyle;ht.setAttribute("style","".concat(u,";").concat(Lf)),ht.value=e.value||e.placeholder||"";var c=void 0,d=void 0,f,g=ht.scrollHeight;if(l==="border-box"?g+=o:l==="content-box"&&(g-=i),n!==null||a!==null){ht.value=" ";var w=ht.scrollHeight-i;n!==null&&(c=w*n,l==="border-box"&&(c=c+i+o),g=Math.max(c,g)),a!==null&&(d=w*a,l==="border-box"&&(d=d+i+o),f=g>d?"":"hidden",g=Math.min(d,g))}var b={height:g,overflowY:f,resize:"none"};return c&&(b.minHeight=c),d&&(b.maxHeight=d),b}var Bf=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],ta=0,na=1,ra=2,Vf=s.forwardRef(function(e,t){var n=e,a=n.prefixCls;n.onPressEnter;var r=n.defaultValue,i=n.value,o=n.autoSize,l=n.onResize,u=n.className,c=n.style,d=n.disabled,f=n.onChange;n.onInternalAutoSize;var g=xe(n,Bf),w=Jt(r,{value:i,postState:function(L){return L??""}}),b=W(w,2),h=b[0],v=b[1],m=function(L){v(L.target.value),f==null||f(L)},y=s.useRef();s.useImperativeHandle(t,function(){return{textArea:y.current}});var p=s.useMemo(function(){return o&&at(o)==="object"?[o.minRows,o.maxRows]:[]},[o]),C=W(p,2),x=C[0],E=C[1],$=!!o,R=function(){try{if(document.activeElement===y.current){var L=y.current,X=L.selectionStart,q=L.selectionEnd,Y=L.scrollTop;y.current.setSelectionRange(X,q),y.current.scrollTop=Y}}catch{}},P=s.useState(ra),N=W(P,2),T=N[0],z=N[1],F=s.useState(),_=W(F,2),V=_[0],I=_[1],S=function(){z(ta)};et(function(){$&&S()},[i,x,E,$]),et(function(){if(T===ta)z(na);else if(T===na){var H=jf(y.current,!1,x,E);z(ra),I(H)}else R()},[T]);var O=s.useRef(),A=function(){Tt.cancel(O.current)},D=function(L){T===ra&&(l==null||l(L),o&&(A(),O.current=Tt(function(){S()})))};s.useEffect(function(){return A},[]);var j=$?V:null,B=k(k({},c),j);return(T===ta||T===na)&&(B.overflowY="hidden",B.overflowX="hidden"),s.createElement(Mn,{onResize:D,disabled:!(o||l)},s.createElement("textarea",ie({},g,{ref:y,style:B,className:G(a,u,M({},"".concat(a,"-disabled"),d)),disabled:d,value:h,onChange:m})))}),Hf=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function ss(e,t){return ee(e||"").slice(0,t).join("")}function Xi(e,t,n,a){var r=n;return e?r=ss(n,a):ee(t||"").lengtha&&(r=t),r}var Wf=ae.forwardRef(function(e,t){var n,a=e.defaultValue,r=e.value,i=e.onFocus,o=e.onBlur,l=e.onChange,u=e.allowClear,c=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,g=e.suffix,w=e.prefixCls,b=w===void 0?"rc-textarea":w,h=e.classes,v=e.showCount,m=e.className,y=e.style,p=e.disabled,C=e.hidden,x=e.classNames,E=e.styles,$=e.onResize,R=xe(e,Hf),P=Jt(a,{value:r,defaultValue:a}),N=W(P,2),T=N[0],z=N[1],F=s.useRef(null),_=ae.useState(!1),V=W(_,2),I=V[0],S=V[1],O=ae.useState(!1),A=W(O,2),D=A[0],j=A[1],B=ae.useRef(),H=ae.useRef(0),L=ae.useState(null),X=W(L,2),q=X[0],Y=X[1],J=function(){var te;(te=F.current)===null||te===void 0||te.textArea.focus()};s.useImperativeHandle(t,function(){return{resizableTextArea:F.current,focus:J,blur:function(){var te;(te=F.current)===null||te===void 0||te.textArea.blur()}}}),s.useEffect(function(){S(function(Oe){return!p&&Oe})},[p]);var oe=Number(c)>0,ce=function(te){j(!0),B.current=T,H.current=te.currentTarget.selectionStart,d==null||d(te)},me=function(te){j(!1);var Z=te.currentTarget.value;if(oe){var Ne,De=H.current>=c+1||H.current===((Ne=B.current)===null||Ne===void 0?void 0:Ne.length);Z=Xi(De,B.current,Z,c)}Z!==T&&(z(Z),Gn(te.currentTarget,te,l,Z)),f==null||f(te)},Pe=function(te){var Z=te.target.value;if(!D&&oe){var Ne=te.target.selectionStart>=c+1||te.target.selectionStart===Z.length||!te.target.selectionStart;Z=Xi(Ne,T,Z,c)}z(Z),Gn(te.currentTarget,te,l,Z)},ke=function(te){var Z=R.onPressEnter,Ne=R.onKeyDown;te.key==="Enter"&&Z&&Z(te),Ne==null||Ne(te)},Re=function(te){S(!0),i==null||i(te)},Me=function(te){S(!1),o==null||o(te)},Ee=function(te){var Z;z(""),J(),Gn((Z=F.current)===null||Z===void 0?void 0:Z.textArea,te,l)},Fe=Ma(T);!D&&oe&&r==null&&(Fe=ss(Fe,c));var Q=g,fe;if(v){var we=ee(Fe).length;at(v)==="object"?fe=v.formatter({value:Fe,count:we,maxLength:c}):fe="".concat(we).concat(oe?" / ".concat(c):""),Q=ae.createElement(ae.Fragment,null,Q,ae.createElement("span",{className:G("".concat(b,"-data-count"),x==null?void 0:x.count),style:E==null?void 0:E.count},fe))}var de=function(te){var Z;$==null||$(te),(Z=F.current)!==null&&Z!==void 0&&Z.textArea.style.height&&Y(!0)},tt=!R.autoSize&&!v&&!u,We=ae.createElement(os,{value:Fe,allowClear:u,handleReset:Ee,suffix:Q,prefixCls:b,classes:{affixWrapper:G(h==null?void 0:h.affixWrapper,(n={},M(n,"".concat(b,"-show-count"),v),M(n,"".concat(b,"-textarea-allow-clear"),u),n))},disabled:p,focused:I,className:m,style:k(k({},y),q&&!tt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof fe=="string"?fe:void 0}},hidden:C,inputElement:ae.createElement(Vf,ie({},R,{onKeyDown:ke,onChange:Pe,onFocus:Re,onBlur:Me,onCompositionStart:ce,onCompositionEnd:me,className:x==null?void 0:x.textarea,style:k(k({},E==null?void 0:E.textarea),{},{resize:y==null?void 0:y.resize}),disabled:p,prefixCls:b,onResize:de,ref:F}))});return We}),Kf=globalThis&&globalThis.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,bordered:a=!0,size:r,disabled:i,status:o,allowClear:l,showCount:u,classNames:c,rootClassName:d,className:f}=e,g=Kf(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:w,direction:b}=s.useContext(Vt),h=La(r),v=s.useContext(to),m=i??v,{status:y,hasFeedback:p,feedbackIcon:C}=s.useContext($r),x=No(y,o),E=s.useRef(null);s.useImperativeHandle(t,()=>{var T;return{resizableTextArea:(T=E.current)===null||T===void 0?void 0:T.resizableTextArea,focus:z=>{var F,_;zf((_=(F=E.current)===null||F===void 0?void 0:F.resizableTextArea)===null||_===void 0?void 0:_.textArea,z)},blur:()=>{var z;return(z=E.current)===null||z===void 0?void 0:z.blur()}}});const $=w("input",n);let R;typeof l=="object"&&(l!=null&&l.clearIcon)?R=l:l&&(R={clearIcon:s.createElement(mo,null)});const[P,N]=is($);return P(s.createElement(Wf,Object.assign({},g,{disabled:m,allowClear:R,className:G(f,d),classes:{affixWrapper:G(`${$}-textarea-affix-wrapper`,{[`${$}-affix-wrapper-rtl`]:b==="rtl",[`${$}-affix-wrapper-borderless`]:!a,[`${$}-affix-wrapper-sm`]:h==="small",[`${$}-affix-wrapper-lg`]:h==="large",[`${$}-textarea-show-count`]:u},qn(`${$}-affix-wrapper`,x),N)},classNames:Object.assign(Object.assign({},c),{textarea:G({[`${$}-borderless`]:!a,[`${$}-sm`]:h==="small",[`${$}-lg`]:h==="large"},qn($,x),N,c==null?void 0:c.textarea)}),prefixCls:$,suffix:p&&s.createElement("span",{className:`${$}-textarea-suffix`},C),showCount:u,ref:E})))}),av=Uf;export{rf as $,Fn as A,xi as B,Jf as C,mo as D,$r as E,Bt as F,qn as G,bl as H,No as I,Ao as J,U as K,Kd as L,nv as M,kc as N,Ro as O,Vc as P,tv as Q,Mn as R,ev as S,av as T,Ai as U,is as V,Tf as W,rv as X,Zf as Y,El as Z,tr as _,Xf as a,Of as a0,Pf as a1,ns as a2,as as a3,Bi as a4,en as a5,Nl as a6,Tl as a7,ic as a8,yl as a9,Xc as b,Nr as c,Jt as d,$t as e,wt as f,er as g,go as h,Qf as i,ml as j,Yf as k,Ml as l,pt as m,Il as n,ln as o,La as p,Be as q,Io as r,Fo as s,sn as t,Gf as u,oc as v,ku as w,ju as x,Du as y,Bu as z}; diff --git a/assets/index-54323d82.js b/assets/index-54323d82.js new file mode 100644 index 0000000..850d3e6 --- /dev/null +++ b/assets/index-54323d82.js @@ -0,0 +1,134 @@ +import{r as a,l as ue,t as A,w as ut,R as Ol,v as ft,x as so,c as X,C as Xe,u as ln,y as ee,z as Rn,o as qt,A as Jn,D as sr,B as Nl,E as se,F as Rl,G as U,H as it,I as Ht,J as Pl,_ as we,K as Tl,p as Ot,L as Ba,M as zn,N as Kn,P as Dl,Q as Fr,S as co,T as Lt,U as bt,V as Qn,W as La,X as cr,Y as nn,Z as Bo,$ as dr,a0 as ur,a1 as Ml,a2 as Pn,a3 as Ha,a4 as Lo,a5 as Xt,a6 as zl,a7 as Kl,q as Bl}from"./index-ae76f54c.js";import{A as ct,_ as _a,e as Zn,g as Nt,f as rn,c as _t,h as ka,j as Ll,m as at,k as Hl,l as ja,n as fr,p as Cn,o as jt,q as Rt,r as _l,d as Yt,F as kl,K as xe,s as Aa,v as jl,t as pr,R as Bn,u as Fa,w as Wa,x as Va,y as Ga,z as Xa,B as er,D as Al,C as Fl,E as Tn,G as Wl,H as Vl,I as Gl,J as Xl,N as Ul,O as Yl,P as ql,M as Ua,Q as Ya,U as Wr,V as Jl,W as Ql,X as uo,T as Zl,Y as es,Z as ts,$ as ns,a0 as rs,a1 as os,a2 as as,a3 as is,a4 as Ho,a5 as tr,a6 as _o,a7 as ko,i as ls,a8 as ss,a9 as cs,b as ds,a as us}from"./TextArea-9c0cedf0.js";var fs={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 ps=fs;var ms=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:ps}))};const gs=a.forwardRef(ms);var vs=`accept acceptCharset accessKey action allowFullScreen allowTransparency + alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge + charSet checked classID className colSpan cols content contentEditable contextMenu + controls coords crossOrigin data dateTime default defer dir disabled download draggable + encType form formAction formEncType formMethod formNoValidate formTarget frameBorder + headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity + is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media + mediaGroup method min minLength multiple muted name noValidate nonce open + optimum pattern placeholder poster preload radioGroup readOnly rel required + reversed role rowSpan rows sandbox scope scoped scrolling seamless selected + shape size sizes span spellCheck src srcDoc srcLang srcSet start step style + summary tabIndex target title type useMap value width wmode wrap`,hs=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown + onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick + onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown + onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel + onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough + onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata + onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,bs="".concat(vs," ").concat(hs).split(/[\s\n]+/),ys="aria-",Cs="data-";function jo(e,t){return e.indexOf(t)===0}function Dt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r;t===!1?r={aria:!0,data:!0,attr:!0}:t===!0?r={aria:!0}:r=A({},t);var n={};return Object.keys(e).forEach(function(o){(r.aria&&(o==="role"||jo(o,ys))||r.data&&jo(o,Cs)||r.attr&&bs.includes(o))&&(n[o]=e[o])}),n}function Vr(e){return e!=null&&e===e.window}function Ss(e,t){var r,n;if(typeof window>"u")return 0;const o=t?"scrollTop":"scrollLeft";let i=0;return Vr(e)?i=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?i=e.documentElement[o]:(e instanceof HTMLElement||e)&&(i=e[o]),e&&!Vr(e)&&typeof i!="number"&&(i=(n=((r=e.ownerDocument)!==null&&r!==void 0?r:e).documentElement)===null||n===void 0?void 0:n[o]),i}function xs(e,t,r,n){const o=r-t;return e/=n/2,e<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}function ws(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:r=()=>window,callback:n,duration:o=450}=t,i=r(),c=Ss(i,!0),l=Date.now(),s=()=>{const u=Date.now()-l,f=xs(u>o?o:u,c,e,o);Vr(i)?i.scrollTo(window.pageXOffset,f):i instanceof Document||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=f:i.scrollTop=f,u=18&&(mr=Ln.createRoot)}catch{}function Ao(e){var t=Ln.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&ft(t)==="object"&&(t.usingClientEntryPoint=e)}var nr="__rc_react_root__";function Ts(e,t){Ao(!0);var r=t[nr]||mr(t);Ao(!1),r.render(e),t[nr]=r}function Ds(e,t){Ns(e,t)}function Ms(e,t){if(mr){Ts(e,t);return}Ds(e,t)}function zs(e){return Gr.apply(this,arguments)}function Gr(){return Gr=_a(Zn().mark(function e(t){return Zn().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Promise.resolve().then(function(){var o;(o=t[nr])===null||o===void 0||o.unmount(),delete t[nr]}));case 1:case"end":return n.stop()}},e)})),Gr.apply(this,arguments)}function Ks(e){Rs(e)}function Bs(e){return Xr.apply(this,arguments)}function Xr(){return Xr=_a(Zn().mark(function e(t){return Zn().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(mr===void 0){n.next=2;break}return n.abrupt("return",zs(t));case 2:Ks(t);case 3:case"end":return n.stop()}},e)})),Xr.apply(this,arguments)}const Ls=e=>{const{componentCls:t,colorPrimary:r}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${r})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${e.motionEaseInOut}`,`opacity 0.35s ${e.motionEaseInOut}`].join(",")}}}}},Hs=Nt("Wave",e=>[Ls(e)]);function _s(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function Rr(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&_s(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function ks(e){const{borderTopColor:t,borderColor:r,backgroundColor:n}=getComputedStyle(e);return Rr(t)?t:Rr(r)?r:Rr(n)?n:null}const gr="ant-wave-target";function Pr(e){return Number.isNaN(e)?0:e}const js=e=>{const{className:t,target:r,component:n}=e,o=a.useRef(null),[i,c]=a.useState(null),[l,s]=a.useState([]),[d,u]=a.useState(0),[f,m]=a.useState(0),[p,g]=a.useState(0),[b,h]=a.useState(0),[v,y]=a.useState(!1),C={left:d,top:f,width:p,height:b,borderRadius:l.map(x=>`${x}px`).join(" ")};i&&(C["--wave-color"]=i);function w(){const x=getComputedStyle(r);c(ks(r));const N=x.position==="static",{borderLeftWidth:O,borderTopWidth:S}=x;u(N?r.offsetLeft:Pr(-parseFloat(O))),m(N?r.offsetTop:Pr(-parseFloat(S))),g(r.offsetWidth),h(r.offsetHeight);const{borderTopLeftRadius:R,borderTopRightRadius:T,borderBottomLeftRadius:E,borderBottomRightRadius:I}=x;s([R,T,I,E].map(P=>Pr(parseFloat(P))))}if(a.useEffect(()=>{if(r){const x=ut(()=>{w(),y(!0)});let N;return typeof ResizeObserver<"u"&&(N=new ResizeObserver(w),N.observe(r)),()=>{ut.cancel(x),N==null||N.disconnect()}}},[]),!v)return null;const $=(n==="Checkbox"||n==="Radio")&&(r==null?void 0:r.classList.contains(gr));return a.createElement(so,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(x,N)=>{var O;if(N.deadline||N.propertyName==="opacity"){const S=(O=o.current)===null||O===void 0?void 0:O.parentElement;Bs(S).then(()=>{S==null||S.remove()})}return!1}},x=>{let{className:N}=x;return a.createElement("div",{ref:o,className:X(t,{"wave-quick":$},N),style:C})})},As=(e,t)=>{var r;const{component:n}=t;if(n==="Checkbox"&&!(!((r=e.querySelector("input"))===null||r===void 0)&&r.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",e==null||e.insertBefore(o,e==null?void 0:e.firstChild),Ms(a.createElement(js,Object.assign({},t,{target:e})),o)},Fs=As;function Ws(e,t,r){const{wave:n}=a.useContext(Xe),[,o,i]=ln(),c=rn(d=>{const u=e.current;if(n!=null&&n.disabled||!u)return;const f=u.querySelector(`.${gr}`)||u,{showEffect:m}=n||{};(m||Fs)(f,{className:t,token:o,component:r,event:d,hashId:i})}),l=a.useRef();return d=>{ut.cancel(l.current),l.current=ut(()=>{c(d)})}}const Vs=e=>{const{children:t,disabled:r,component:n}=e,{getPrefixCls:o}=a.useContext(Xe),i=a.useRef(null),c=o("wave"),[,l]=Hs(c),s=Ws(i,X(c,l),n);if(ee.useEffect(()=>{const u=i.current;if(!u||u.nodeType!==1||r)return;const f=m=>{!ka(m.target)||!u.getAttribute||u.getAttribute("disabled")||u.disabled||u.className.includes("disabled")||u.className.includes("-leave")||s(m)};return u.addEventListener("click",f,!0),()=>{u.removeEventListener("click",f,!0)}},[r]),!ee.isValidElement(t))return t??null;const d=Rn(t)?qt(t.ref,i):i;return _t(t,{ref:d})},po=Vs;var Gs=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:r}=a.useContext(Xe),{prefixCls:n,size:o,className:i}=e,c=Gs(e,["prefixCls","size","className"]),l=t("btn-group",n),[,,s]=ln();let d="";switch(o){case"large":d="lg";break;case"small":d="sm";break}const u=X(l,{[`${l}-${d}`]:d,[`${l}-rtl`]:r==="rtl"},i,s);return a.createElement(qa.Provider,{value:o},a.createElement("div",Object.assign({},c,{className:u})))},Us=Xs,Fo=/^[\u4e00-\u9fa5]{2}$/,Ur=Fo.test.bind(Fo);function Wo(e){return typeof e=="string"}function Tr(e){return e==="text"||e==="link"}function Ys(e,t){if(e==null)return;const r=t?" ":"";return typeof e!="string"&&typeof e!="number"&&Wo(e.type)&&Ur(e.props.children)?_t(e,{children:e.props.children.split("").join(r)}):Wo(e)?Ur(e)?ee.createElement("span",null,e.split("").join(r)):ee.createElement("span",null,e):Ll(e)?ee.createElement("span",null,e):e}function qs(e,t){let r=!1;const n=[];return ee.Children.forEach(e,o=>{const i=typeof o,c=i==="string"||i==="number";if(r&&c){const l=n.length-1,s=n[l];n[l]=`${s}${o}`}else n.push(o);r=c}),ee.Children.map(n,o=>Ys(o,t))}const Js=a.forwardRef((e,t)=>{const{className:r,style:n,children:o,prefixCls:i}=e,c=X(`${i}-icon`,r);return ee.createElement("span",{ref:t,className:c,style:n},o)}),Ja=Js,Vo=a.forwardRef((e,t)=>{let{prefixCls:r,className:n,style:o,iconClassName:i}=e;const c=X(`${r}-loading-icon`,n);return ee.createElement(Ja,{prefixCls:r,className:c,style:o,ref:t},ee.createElement(fo,{className:i}))}),Dr=()=>({width:0,opacity:0,transform:"scale(0)"}),Mr=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Qs=e=>{const{prefixCls:t,loading:r,existIcon:n,className:o,style:i}=e,c=!!r;return n?ee.createElement(Vo,{prefixCls:t,className:o,style:i}):ee.createElement(so,{visible:c,motionName:`${t}-loading-icon-motion`,motionLeave:c,removeOnLeave:!0,onAppearStart:Dr,onAppearActive:Mr,onEnterStart:Dr,onEnterActive:Mr,onLeaveStart:Mr,onLeaveActive:Dr},(l,s)=>{let{className:d,style:u}=l;return ee.createElement(Vo,{prefixCls:t,className:o,style:Object.assign(Object.assign({},i),u),ref:s,iconClassName:d})})},Zs=Qs,Go=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),ec=e=>{const{componentCls:t,fontSize:r,lineWidth:n,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-n,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:r}},Go(`${t}-primary`,o),Go(`${t}-danger`,i)]}},tc=ec,nc=e=>{const{componentCls:t,iconCls:r,fontWeight:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:n,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${r} + span, > span + ${r}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},Jn(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${r})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},kt=(e,t,r)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":r}}),rc=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),oc=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),ac=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),Dn=(e,t,r,n,o,i,c,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:r||void 0,backgroundColor:t,borderColor:n||void 0,boxShadow:"none"},kt(e,Object.assign({backgroundColor:t},c),Object.assign({backgroundColor:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),mo=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},ac(e))}),Qa=e=>Object.assign({},mo(e)),rr=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),Za=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Qa(e)),{backgroundColor:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),kt(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),Dn(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},kt(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Dn(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),mo(e))}),ic=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Qa(e)),{color:e.primaryColor,backgroundColor:e.colorPrimary,boxShadow:e.primaryShadow}),kt(e.componentCls,{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),Dn(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},kt(e.componentCls,{backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),Dn(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),mo(e))}),lc=e=>Object.assign(Object.assign({},Za(e)),{borderStyle:"dashed"}),sc=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},kt(e.componentCls,{color:e.colorLinkHover,backgroundColor:e.linkHoverBg},{color:e.colorLinkActive})),rr(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},kt(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),rr(e))}),cc=e=>Object.assign(Object.assign(Object.assign({},kt(e.componentCls,{color:e.colorText,backgroundColor:e.textHoverBg},{color:e.colorText,backgroundColor:e.colorBgTextActive})),rr(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},rr(e)),kt(e.componentCls,{color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),dc=e=>{const{componentCls:t}=e;return{[`${t}-default`]:Za(e),[`${t}-primary`]:ic(e),[`${t}-dashed`]:lc(e),[`${t}-link`]:sc(e),[`${t}-text`]:cc(e),[`${t}-ghost`]:Dn(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},go=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:r,controlHeight:n,fontSize:o,lineHeight:i,lineWidth:c,borderRadius:l,buttonPaddingHorizontal:s,iconCls:d}=e,u=Math.max(0,(n-o*i)/2-c),f=`${r}-icon-only`;return[{[`${r}${t}`]:{fontSize:o,height:n,padding:`${u}px ${s}px`,borderRadius:l,[`&${f}`]:{width:n,paddingInlineStart:0,paddingInlineEnd:0,[`&${r}-round`]:{width:"auto"},[d]:{fontSize:e.buttonIconOnlyFontSize}},[`&${r}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${r}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${r}${r}-circle${t}`]:rc(e)},{[`${r}${r}-round${t}`]:oc(e)}]},uc=e=>go(at(e,{fontSize:e.contentFontSize})),fc=e=>{const t=at(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return go(t,`${e.componentCls}-sm`)},pc=e=>{const t=at(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return go(t,`${e.componentCls}-lg`)},mc=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},ei=e=>{const{paddingInline:t,onlyIconSize:r}=e;return at(e,{buttonPaddingHorizontal:t,buttonIconOnlyFontSize:r})},ti=e=>({fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,contentFontSize:e.fontSize,contentFontSizeSM:e.fontSize,contentFontSizeLG:e.fontSizeLG}),gc=Nt("Button",e=>{const t=ei(e);return[nc(t),fc(t),uc(t),pc(t),mc(t),dc(t),tc(t)]},ti);function vc(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function hc(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function bc(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},vc(e,t)),hc(e.componentCls,t))}}const yc=Hl(["Button","compact"],e=>{const t=ei(e);return[ja(t),bc(t)]},ti);var Cc=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;const{loading:o=!1,prefixCls:i,type:c="default",danger:l,shape:s="default",size:d,styles:u,disabled:f,className:m,rootClassName:p,children:g,icon:b,ghost:h=!1,block:v=!1,htmlType:y="button",classNames:C,style:w={}}=e,$=Cc(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:x,autoInsertSpaceInButton:N,direction:O,button:S}=a.useContext(Xe),R=x("btn",i),[T,E]=gc(R),I=a.useContext(sr),P=f??I,B=a.useContext(qa),M=a.useMemo(()=>Sc(o),[o]),[D,z]=a.useState(M.loading),[L,_]=a.useState(!1),J=qt(t,a.createRef()),ae=a.Children.count(g)===1&&!b&&!Tr(c);a.useEffect(()=>{let ne=null;M.delay>0?ne=setTimeout(()=>{ne=null,z(!0)},M.delay):z(M.loading);function ce(){ne&&(clearTimeout(ne),ne=null)}return ce},[M]),a.useEffect(()=>{if(!J||!J.current||N===!1)return;const ne=J.current.textContent;ae&&Ur(ne)?L||_(!0):L&&_(!1)},[J]);const Y=ne=>{const{onClick:ce}=e;if(D||P){ne.preventDefault();return}ce==null||ce(ne)},q=N!==!1,{compactSize:de,compactItemClassnames:V}=fr(R,O),j={large:"lg",small:"sm",middle:void 0},Q=Cn(ne=>{var ce,$e;return($e=(ce=d??de)!==null&&ce!==void 0?ce:B)!==null&&$e!==void 0?$e:ne}),Z=Q&&j[Q]||"",G=D?"loading":b,W=jt($,["navigate"]),K=X(R,E,{[`${R}-${s}`]:s!=="default"&&s,[`${R}-${c}`]:c,[`${R}-${Z}`]:Z,[`${R}-icon-only`]:!g&&g!==0&&!!G,[`${R}-background-ghost`]:h&&!Tr(c),[`${R}-loading`]:D,[`${R}-two-chinese-chars`]:L&&q&&!D,[`${R}-block`]:v,[`${R}-dangerous`]:!!l,[`${R}-rtl`]:O==="rtl"},V,m,p,S==null?void 0:S.className),k=Object.assign(Object.assign({},S==null?void 0:S.style),w),H=X(C==null?void 0:C.icon,(r=S==null?void 0:S.classNames)===null||r===void 0?void 0:r.icon),re=Object.assign(Object.assign({},(u==null?void 0:u.icon)||{}),((n=S==null?void 0:S.styles)===null||n===void 0?void 0:n.icon)||{}),te=b&&!D?ee.createElement(Ja,{prefixCls:R,className:H,style:re},b):ee.createElement(Zs,{existIcon:!!b,prefixCls:R,loading:!!D}),fe=g||g===0?qs(g,ae&&q):null;if(W.href!==void 0)return T(ee.createElement("a",Object.assign({},W,{className:X(K,{[`${R}-disabled`]:P}),style:k,onClick:Y,ref:J}),te,fe));let le=ee.createElement("button",Object.assign({},$,{type:y,className:K,style:k,onClick:Y,disabled:P,ref:J}),te,fe,V&&ee.createElement(yc,{key:"compact",prefixCls:R}));return Tr(c)||(le=ee.createElement(po,{component:"Button",disabled:!!D},le)),T(le)},vo=a.forwardRef(xc);vo.Group=Us;vo.__ANT_BUTTON=!0;const Mn=vo,wc=new Rt("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),$c=new Rt("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Ec=new Rt("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ic=new Rt("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Oc=new Rt("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Nc=new Rt("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Rc=new Rt("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Pc=new Rt("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Tc={"move-up":{inKeyframes:Rc,outKeyframes:Pc},"move-down":{inKeyframes:wc,outKeyframes:$c},"move-left":{inKeyframes:Ec,outKeyframes:Ic},"move-right":{inKeyframes:Oc,outKeyframes:Nc}},or=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:o,outKeyframes:i}=Tc[t];return[_l(n,o,i,e.motionDurationMid),{[` + ${n}-enter, + ${n}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function Dc(e){return function(r){return a.createElement(Nl,{theme:{token:{motion:!1,zIndexPopupBase:0}}},a.createElement(e,Object.assign({},r)))}}function ni(e,t,r,n){function o(i){const{prefixCls:c,style:l}=i,s=a.useRef(null),[d,u]=a.useState(0),[f,m]=a.useState(0),[p,g]=Yt(!1,{value:i.open}),{getPrefixCls:b}=a.useContext(Xe),h=b(t||"select",c);a.useEffect(()=>{if(g(!0),typeof ResizeObserver<"u"){const y=new ResizeObserver(w=>{const $=w[0].target;u($.offsetHeight+8),m($.offsetWidth)}),C=setInterval(()=>{var w;const $=r?`.${r(h)}`:`.${h}-dropdown`,x=(w=s.current)===null||w===void 0?void 0:w.querySelector($);x&&(clearInterval(C),y.observe(x))},10);return()=>{clearInterval(C),y.disconnect()}}},[]);let v=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},l),{margin:0}),open:p,visible:p,getPopupContainer:()=>s.current});return n&&(v=n(v)),a.createElement("div",{ref:s,style:{paddingBottom:d,position:"relative",minWidth:f}},a.createElement(e,Object.assign({},v)))}return Dc(o)}var vr=function(t){var r=t.className,n=t.customizeIcon,o=t.customizeIconProps,i=t.onMouseDown,c=t.onClick,l=t.children,s;return typeof n=="function"?s=n(o):s=n,a.createElement("span",{className:r,onMouseDown:function(u){u.preventDefault(),i&&i(u)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:c,"aria-hidden":!0},s!==void 0?s:a.createElement("span",{className:X(r.split(/\s+/).map(function(d){return"".concat(d,"-icon")}))},l))};function Mc(e,t,r,n,o){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,c=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,s=ee.useMemo(function(){if(ft(n)==="object")return n.clearIcon;if(o)return o},[n,o]),d=ee.useMemo(function(){return!!(!i&&n&&(r.length||c)&&!(l==="combobox"&&c===""))},[n,i,r.length,c,l]);return{allowClear:d,clearIcon:ee.createElement(vr,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:s},"×")}}var ri=a.createContext(null);function zc(){return a.useContext(ri)}function Kc(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=a.useState(!1),r=se(t,2),n=r[0],o=r[1],i=a.useRef(null),c=function(){window.clearTimeout(i.current)};a.useEffect(function(){return c},[]);var l=function(d,u){c(),i.current=window.setTimeout(function(){o(d),u&&u()},e)};return[n,l,c]}function oi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=a.useRef(null),r=a.useRef(null);a.useEffect(function(){return function(){window.clearTimeout(r.current)}},[]);function n(o){(o||t.current===null)&&(t.current=o),window.clearTimeout(r.current),r.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},n]}function Bc(e,t,r,n){var o=a.useRef(null);o.current={open:t,triggerOpen:r,customizedTrigger:n},a.useEffect(function(){function i(c){var l;if(!((l=o.current)!==null&&l!==void 0&&l.customizedTrigger)){var s=c.target;s.shadowRoot&&c.composed&&(s=c.composedPath()[0]||s),o.current.open&&e().filter(function(d){return d}).every(function(d){return!d.contains(s)&&d!==s})&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",i),function(){return window.removeEventListener("mousedown",i)}},[])}var Lc=function(t,r){var n,o,i=t.prefixCls,c=t.id,l=t.inputElement,s=t.disabled,d=t.tabIndex,u=t.autoFocus,f=t.autoComplete,m=t.editable,p=t.activeDescendantId,g=t.value,b=t.maxLength,h=t.onKeyDown,v=t.onMouseDown,y=t.onChange,C=t.onPaste,w=t.onCompositionStart,$=t.onCompositionEnd,x=t.open,N=t.attrs,O=l||a.createElement("input",null),S=O,R=S.ref,T=S.props,E=T.onKeyDown,I=T.onChange,P=T.onMouseDown,B=T.onCompositionStart,M=T.onCompositionEnd,D=T.style;return Rl(!("maxLength"in O.props)),O=a.cloneElement(O,A(A(A({type:"search"},T),{},{id:c,ref:qt(r,R),disabled:s,tabIndex:d,autoComplete:f||"off",autoFocus:u,className:X("".concat(i,"-selection-search-input"),(n=O)===null||n===void 0||(o=n.props)===null||o===void 0?void 0:o.className),role:"combobox","aria-expanded":x||!1,"aria-haspopup":"listbox","aria-owns":"".concat(c,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(c,"_list"),"aria-activedescendant":x?p:void 0},N),{},{value:m?g:"",maxLength:b,readOnly:!m,unselectable:m?null:"on",style:A(A({},D),{},{opacity:m?null:0}),onKeyDown:function(L){h(L),E&&E(L)},onMouseDown:function(L){v(L),P&&P(L)},onChange:function(L){y(L),I&&I(L)},onCompositionStart:function(L){w(L),B&&B(L)},onCompositionEnd:function(L){$(L),M&&M(L)},onPaste:C})),O},ho=a.forwardRef(Lc);ho.displayName="Input";function ai(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var Hc=typeof window<"u"&&window.document&&window.document.documentElement,_c=Hc;function kc(e){return e!=null}function jc(e){return!e&&e!==0}function Xo(e){return["string","number"].includes(ft(e))}function ii(e){var t=void 0;return e&&(Xo(e.title)?t=e.title.toString():Xo(e.label)&&(t=e.label.toString())),t}function Ac(e,t){_c?a.useLayoutEffect(e,t):a.useEffect(e,t)}function Fc(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var Uo=function(t){t.preventDefault(),t.stopPropagation()},Wc=function(t){var r=t.id,n=t.prefixCls,o=t.values,i=t.open,c=t.searchValue,l=t.autoClearSearchValue,s=t.inputRef,d=t.placeholder,u=t.disabled,f=t.mode,m=t.showSearch,p=t.autoFocus,g=t.autoComplete,b=t.activeDescendantId,h=t.tabIndex,v=t.removeIcon,y=t.maxTagCount,C=t.maxTagTextLength,w=t.maxTagPlaceholder,$=w===void 0?function(K){return"+ ".concat(K.length," ...")}:w,x=t.tagRender,N=t.onToggleOpen,O=t.onRemove,S=t.onInputChange,R=t.onInputPaste,T=t.onInputKeyDown,E=t.onInputMouseDown,I=t.onInputCompositionStart,P=t.onInputCompositionEnd,B=a.useRef(null),M=a.useState(0),D=se(M,2),z=D[0],L=D[1],_=a.useState(!1),F=se(_,2),J=F[0],ae=F[1],Y="".concat(n,"-selection"),q=i||f==="multiple"&&l===!1||f==="tags"?c:"",de=f==="tags"||f==="multiple"&&l===!1||m&&(i||J);Ac(function(){L(B.current.scrollWidth)},[q]);function V(K,k,H,re,te){return a.createElement("span",{className:X("".concat(Y,"-item"),U({},"".concat(Y,"-item-disabled"),H)),title:ii(K)},a.createElement("span",{className:"".concat(Y,"-item-content")},k),re&&a.createElement(vr,{className:"".concat(Y,"-item-remove"),onMouseDown:Uo,onClick:te,customizeIcon:v},"×"))}function j(K,k,H,re,te){var fe=function(ne){Uo(ne),N(!i)};return a.createElement("span",{onMouseDown:fe},x({label:k,value:K,disabled:H,closable:re,onClose:te}))}function Q(K){var k=K.disabled,H=K.label,re=K.value,te=!u&&!k,fe=H;if(typeof C=="number"&&(typeof H=="string"||typeof H=="number")){var le=String(fe);le.length>C&&(fe="".concat(le.slice(0,C),"..."))}var ne=function($e){$e&&$e.stopPropagation(),O(K)};return typeof x=="function"?j(re,fe,k,te,ne):V(K,fe,k,te,ne)}function Z(K){var k=typeof $=="function"?$(K):$;return V({title:k},k,!1)}var G=a.createElement("div",{className:"".concat(Y,"-search"),style:{width:z},onFocus:function(){ae(!0)},onBlur:function(){ae(!1)}},a.createElement(ho,{ref:s,open:i,prefixCls:n,id:r,inputElement:null,disabled:u,autoFocus:p,autoComplete:g,editable:de,activeDescendantId:b,value:q,onKeyDown:T,onMouseDown:E,onChange:S,onPaste:R,onCompositionStart:I,onCompositionEnd:P,tabIndex:h,attrs:Dt(t,!0)}),a.createElement("span",{ref:B,className:"".concat(Y,"-search-mirror"),"aria-hidden":!0},q," ")),W=a.createElement(kl,{prefixCls:"".concat(Y,"-overflow"),data:o,renderItem:Q,renderRest:Z,suffix:G,itemKey:Fc,maxCount:y});return a.createElement(a.Fragment,null,W,!o.length&&!q&&a.createElement("span",{className:"".concat(Y,"-placeholder")},d))},Vc=function(t){var r=t.inputElement,n=t.prefixCls,o=t.id,i=t.inputRef,c=t.disabled,l=t.autoFocus,s=t.autoComplete,d=t.activeDescendantId,u=t.mode,f=t.open,m=t.values,p=t.placeholder,g=t.tabIndex,b=t.showSearch,h=t.searchValue,v=t.activeValue,y=t.maxLength,C=t.onInputKeyDown,w=t.onInputMouseDown,$=t.onInputChange,x=t.onInputPaste,N=t.onInputCompositionStart,O=t.onInputCompositionEnd,S=t.title,R=a.useState(!1),T=se(R,2),E=T[0],I=T[1],P=u==="combobox",B=P||b,M=m[0],D=h||"";P&&v&&!E&&(D=v),a.useEffect(function(){P&&I(!1)},[P,v]);var z=u!=="combobox"&&!f&&!b?!1:!!D,L=S===void 0?ii(M):S,_=function(){if(M)return null;var J=z?{visibility:"hidden"}:void 0;return a.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:J},p)};return a.createElement(a.Fragment,null,a.createElement("span",{className:"".concat(n,"-selection-search")},a.createElement(ho,{ref:i,prefixCls:n,id:o,open:f,inputElement:r,disabled:c,autoFocus:l,autoComplete:s,editable:B,activeDescendantId:d,value:D,onKeyDown:C,onMouseDown:w,onChange:function(J){I(!0),$(J)},onPaste:x,onCompositionStart:N,onCompositionEnd:O,tabIndex:g,attrs:Dt(t,!0),maxLength:P?y:void 0})),!P&&M?a.createElement("span",{className:"".concat(n,"-selection-item"),title:L,style:z?{visibility:"hidden"}:void 0},M.label):null,_())};function Gc(e){return![xe.ESC,xe.SHIFT,xe.BACKSPACE,xe.TAB,xe.WIN_KEY,xe.ALT,xe.META,xe.WIN_KEY_RIGHT,xe.CTRL,xe.SEMICOLON,xe.EQUALS,xe.CAPS_LOCK,xe.CONTEXT_MENU,xe.F1,xe.F2,xe.F3,xe.F4,xe.F5,xe.F6,xe.F7,xe.F8,xe.F9,xe.F10,xe.F11,xe.F12].includes(e)}var Xc=function(t,r){var n=a.useRef(null),o=a.useRef(!1),i=t.prefixCls,c=t.open,l=t.mode,s=t.showSearch,d=t.tokenWithEnter,u=t.autoClearSearchValue,f=t.onSearch,m=t.onSearchSubmit,p=t.onToggleOpen,g=t.onInputKeyDown,b=t.domRef;a.useImperativeHandle(r,function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}});var h=oi(0),v=se(h,2),y=v[0],C=v[1],w=function(D){var z=D.which;(z===xe.UP||z===xe.DOWN)&&D.preventDefault(),g&&g(D),z===xe.ENTER&&l==="tags"&&!o.current&&!c&&(m==null||m(D.target.value)),Gc(z)&&p(!0)},$=function(){C(!0)},x=a.useRef(null),N=function(D){f(D,!0,o.current)!==!1&&p(!0)},O=function(){o.current=!0},S=function(D){o.current=!1,l!=="combobox"&&N(D.target.value)},R=function(D){var z=D.target.value;if(d&&x.current&&/[\r\n]/.test(x.current)){var L=x.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");z=z.replace(L,x.current)}x.current=null,N(z)},T=function(D){var z=D.clipboardData,L=z.getData("text");x.current=L},E=function(D){var z=D.target;if(z!==n.current){var L=document.body.style.msTouchAction!==void 0;L?setTimeout(function(){n.current.focus()}):n.current.focus()}},I=function(D){var z=y();D.target!==n.current&&!z&&l!=="combobox"&&D.preventDefault(),(l!=="combobox"&&(!s||!z)||!c)&&(c&&u!==!1&&f("",!0,!1),p())},P={inputRef:n,onInputKeyDown:w,onInputMouseDown:$,onInputChange:R,onInputPaste:T,onInputCompositionStart:O,onInputCompositionEnd:S},B=l==="multiple"||l==="tags"?a.createElement(Wc,ue({},t,P)):a.createElement(Vc,ue({},t,P));return a.createElement("div",{ref:b,className:"".concat(i,"-selector"),onClick:E,onMouseDown:I},B)},li=a.forwardRef(Xc);li.displayName="Selector";var Uc=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Yc=function(t){var r=t===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:r,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:r,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:r,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:r,adjustY:1},htmlRegion:"scroll"}}},qc=function(t,r){var n=t.prefixCls;t.disabled;var o=t.visible,i=t.children,c=t.popupElement,l=t.animation,s=t.transitionName,d=t.dropdownStyle,u=t.dropdownClassName,f=t.direction,m=f===void 0?"ltr":f,p=t.placement,g=t.builtinPlacements,b=t.dropdownMatchSelectWidth,h=t.dropdownRender,v=t.dropdownAlign,y=t.getPopupContainer,C=t.empty,w=t.getTriggerDOMNode,$=t.onPopupVisibleChange,x=t.onPopupMouseEnter,N=it(t,Uc),O="".concat(n,"-dropdown"),S=c;h&&(S=h(c));var R=a.useMemo(function(){return g||Yc(b)},[g,b]),T=l?"".concat(O,"-").concat(l):s,E=typeof b=="number",I=a.useMemo(function(){return E?null:b===!1?"minWidth":"width"},[b,E]),P=d;E&&(P=A(A({},P),{},{width:b}));var B=a.useRef(null);return a.useImperativeHandle(r,function(){return{getPopupElement:function(){return B.current}}}),a.createElement(Aa,ue({},N,{showAction:$?["click"]:[],hideAction:$?["click"]:[],popupPlacement:p||(m==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:R,prefixCls:O,popupTransitionName:T,popup:a.createElement("div",{ref:B,onMouseEnter:x},S),stretch:I,popupAlign:v,popupVisible:o,getPopupContainer:y,popupClassName:X(u,U({},"".concat(O,"-empty"),C)),popupStyle:P,getTriggerDOMNode:w,onPopupVisibleChange:$}),i)},si=a.forwardRef(qc);si.displayName="SelectTrigger";function Yo(e,t){var r=e.key,n;return"value"in e&&(n=e.value),r??(n!==void 0?n:"rc-index-key-".concat(t))}function ci(e,t){var r=e||{},n=r.label,o=r.value,i=r.options,c=r.groupLabel,l=n||(t?"children":"label");return{label:l,value:o||"value",options:i||"options",groupLabel:c||l}}function Jc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fieldNames,n=t.childrenAsData,o=[],i=ci(r,!1),c=i.label,l=i.value,s=i.options,d=i.groupLabel;function u(f,m){f.forEach(function(p){if(m||!(s in p)){var g=p[l];o.push({key:Yo(p,o.length),groupOption:m,data:p,label:p[c],value:g})}else{var b=p[d];b===void 0&&n&&(b=p.label),o.push({key:Yo(p,o.length),group:!0,data:p,label:b}),u(p[s],!0)}})}return u(e,!1),o}function Yr(e){var t=A({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Ht(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function Qc(e,t){if(!t||!t.length)return null;var r=!1;function n(i,c){var l=Pl(c),s=l[0],d=l.slice(1);if(!s)return[i];var u=i.split(s);return r=r||u.length>1,u.reduce(function(f,m){return[].concat(we(f),we(n(m,d)))},[]).filter(function(f){return f})}var o=n(e,t);return r?o:null}var Zc=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],ed=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function qr(e){return e==="tags"||e==="multiple"}var td=a.forwardRef(function(e,t){var r,n,o=e.id,i=e.prefixCls,c=e.className,l=e.showSearch,s=e.tagRender,d=e.direction,u=e.omitDomProps,f=e.displayValues,m=e.onDisplayValuesChange,p=e.emptyOptions,g=e.notFoundContent,b=g===void 0?"Not Found":g,h=e.onClear,v=e.mode,y=e.disabled,C=e.loading,w=e.getInputElement,$=e.getRawInputElement,x=e.open,N=e.defaultOpen,O=e.onDropdownVisibleChange,S=e.activeValue,R=e.onActiveValueChange,T=e.activeDescendantId,E=e.searchValue,I=e.autoClearSearchValue,P=e.onSearch,B=e.onSearchSplit,M=e.tokenSeparators,D=e.allowClear,z=e.suffixIcon,L=e.clearIcon,_=e.OptionList,F=e.animation,J=e.transitionName,ae=e.dropdownStyle,Y=e.dropdownClassName,q=e.dropdownMatchSelectWidth,de=e.dropdownRender,V=e.dropdownAlign,j=e.placement,Q=e.builtinPlacements,Z=e.getPopupContainer,G=e.showAction,W=G===void 0?[]:G,K=e.onFocus,k=e.onBlur,H=e.onKeyUp,re=e.onKeyDown,te=e.onMouseDown,fe=it(e,Zc),le=qr(v),ne=(l!==void 0?l:le)||v==="combobox",ce=A({},fe);ed.forEach(function(De){delete ce[De]}),u==null||u.forEach(function(De){delete ce[De]});var $e=a.useState(!1),Te=se($e,2),Ie=Te[0],pe=Te[1];a.useEffect(function(){pe(jl())},[]);var Ke=a.useRef(null),Me=a.useRef(null),he=a.useRef(null),Se=a.useRef(null),Oe=a.useRef(null),Re=a.useRef(!1),Ae=Kc(),Ce=se(Ae,3),Ue=Ce[0],je=Ce[1],et=Ce[2];a.useImperativeHandle(t,function(){var De,Ne;return{focus:(De=Se.current)===null||De===void 0?void 0:De.focus,blur:(Ne=Se.current)===null||Ne===void 0?void 0:Ne.blur,scrollTo:function(dt){var Ze;return(Ze=Oe.current)===null||Ze===void 0?void 0:Ze.scrollTo(dt)}}});var Ye=a.useMemo(function(){var De;if(v!=="combobox")return E;var Ne=(De=f[0])===null||De===void 0?void 0:De.value;return typeof Ne=="string"||typeof Ne=="number"?String(Ne):""},[E,v,f]),tt=v==="combobox"&&typeof w=="function"&&w()||null,nt=typeof $=="function"&&$(),pt=Tl(Me,nt==null||(r=nt.props)===null||r===void 0?void 0:r.ref),rt=a.useState(!1),Ve=se(rt,2),Je=Ve[0],ke=Ve[1];Ot(function(){ke(!0)},[]);var He=Yt(!1,{defaultValue:N,value:x}),lt=se(He,2),gt=lt[0],ge=lt[1],ie=Je?gt:!1,be=!b&&p;(y||be&&ie&&v==="combobox")&&(ie=!1);var Ee=be?!1:ie,oe=a.useCallback(function(De){var Ne=De!==void 0?De:!ie;y||(ge(Ne),ie!==Ne&&(O==null||O(Ne)))},[y,ie,ge,O]),ve=a.useMemo(function(){return(M||[]).some(function(De){return[` +`,`\r +`].includes(De)})},[M]),_e=function(Ne,st,dt){var Ze=!0,mt=Ne;R==null||R(null);var ht=dt?null:Qc(Ne,M);return v!=="combobox"&&ht&&(mt="",B==null||B(ht),oe(!1),Ze=!1),P&&Ye!==mt&&P(mt,{source:st?"typing":"effect"}),Ze},Pe=function(Ne){!Ne||!Ne.trim()||P(Ne,{source:"submit"})};a.useEffect(function(){!ie&&!le&&v!=="combobox"&&_e("",!1,!1)},[ie]),a.useEffect(function(){gt&&y&&ge(!1),y&&!Re.current&&je(!1)},[y]);var Fe=oi(),Be=se(Fe,2),Ge=Be[0],vt=Be[1],wt=function(Ne){var st=Ge(),dt=Ne.which;if(dt===xe.ENTER&&(v!=="combobox"&&Ne.preventDefault(),ie||oe(!0)),vt(!!Ye),dt===xe.BACKSPACE&&!st&&le&&!Ye&&f.length){for(var Ze=we(f),mt=null,ht=Ze.length-1;ht>=0;ht-=1){var Ft=Ze[ht];if(!Ft.disabled){Ze.splice(ht,1),mt=Ft;break}}mt&&m(Ze,{type:"remove",values:[mt]})}for(var $t=arguments.length,zt=new Array($t>1?$t-1:0),Pt=1;Pt<$t;Pt++)zt[Pt-1]=arguments[Pt];if(ie&&Oe.current){var ze;(ze=Oe.current).onKeyDown.apply(ze,[Ne].concat(zt))}re==null||re.apply(void 0,[Ne].concat(zt))},Jt=function(Ne){for(var st=arguments.length,dt=new Array(st>1?st-1:0),Ze=1;Ze1?ht-1:0),$t=1;$t1&&arguments[1]!==void 0?arguments[1]:!1;return pr(e).map(function(r,n){if(!a.isValidElement(r)||!r.type)return null;var o=r,i=o.type.isSelectOptGroup,c=o.key,l=o.props,s=l.children,d=it(l,sd);return t||!i?cd(r):A(A({key:"__RC_SELECT_GRP__".concat(c===null?n:c,"__"),label:c},d),{},{options:di(s)})}).filter(function(r){return r})}function dd(e,t,r,n,o){return a.useMemo(function(){var i=e,c=!e;c&&(i=di(t));var l=new Map,s=new Map,d=function(m,p,g){g&&typeof g=="string"&&m.set(p[g],p)};function u(f){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p=0;p0,ae=a.useMemo(function(){if(i===0||_===0)return 0;var W=i/_;return W*F},[i,_,F]),Y=function(K){K.stopPropagation(),K.preventDefault()},q=a.useRef({top:ae,dragging:v,pageY:$,startTop:S});q.current={top:ae,dragging:v,pageY:$,startTop:S};var de=function(K){y(!0),x(Qo(K,u)),R(q.current.top),l(),K.stopPropagation(),K.preventDefault()};a.useEffect(function(){var W=function(re){re.preventDefault()},K=E.current,k=I.current;return K.addEventListener("touchstart",W),k.addEventListener("touchstart",de),function(){K.removeEventListener("touchstart",W),k.removeEventListener("touchstart",de)}},[]);var V=a.useRef();V.current=_;var j=a.useRef();j.current=F,a.useEffect(function(){if(v){var W,K=function(re){var te=q.current,fe=te.dragging,le=te.pageY,ne=te.startTop;if(ut.cancel(W),fe){var ce=Qo(re,u)-le,$e=ne;!T&&u?$e-=ce:$e+=ce;var Te=V.current,Ie=j.current,pe=Ie?$e/Ie:0,Ke=Math.ceil(pe*Te);Ke=Math.max(Ke,0),Ke=Math.min(Ke,Te),W=ut(function(){d(Ke,u)})}},k=function(){y(!1),s()};return window.addEventListener("mousemove",K),window.addEventListener("touchmove",K),window.addEventListener("mouseup",k),window.addEventListener("touchend",k),function(){window.removeEventListener("mousemove",K),window.removeEventListener("touchmove",K),window.removeEventListener("mouseup",k),window.removeEventListener("touchend",k),ut.cancel(W)}}},[v]),a.useEffect(function(){L()},[i]),a.useImperativeHandle(t,function(){return{delayHidden:L}});var Q="".concat(n,"-scrollbar"),Z={position:"absolute",visibility:M&&J?null:"hidden"},G={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return u?(Z.height=8,Z.left=0,Z.right=0,Z.bottom=0,G.height="100%",G.width=f,T?G.left=ae:G.right=ae):(Z.width=8,Z.top=0,Z.bottom=0,T?Z.right=0:Z.left=0,G.width="100%",G.height=f,G.top=ae),a.createElement("div",{ref:E,className:X(Q,(r={},U(r,"".concat(Q,"-horizontal"),u),U(r,"".concat(Q,"-vertical"),!u),U(r,"".concat(Q,"-visible"),M),r)),style:A(A({},Z),p),onMouseDown:Y,onMouseMove:L},a.createElement("div",{ref:I,className:X("".concat(Q,"-thumb"),U({},"".concat(Q,"-thumb-moving"),v)),style:A(A({},G),g),onMouseDown:de}))});function ud(e){var t=e.children,r=e.setRef,n=a.useCallback(function(o){r(o)},[]);return a.cloneElement(t,{ref:n})}function fd(e,t,r,n,o,i,c){var l=c.getKey;return e.slice(t,r+1).map(function(s,d){var u=t+d,f=i(s,u,{style:{width:n}}),m=l(s);return a.createElement(ud,{key:m,setRef:function(g){return o(s,g)}},f)})}var pd=function(){function e(){Kn(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return zn(e,[{key:"set",value:function(r,n){this.maps[r]=n,this.id+=1}},{key:"get",value:function(r){return this.maps[r]}}]),e}();function md(e,t,r){var n=a.useState(0),o=se(n,2),i=o[0],c=o[1],l=a.useRef(new Map),s=a.useRef(new pd),d=a.useRef();function u(){ut.cancel(d.current)}function f(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;u();var g=function(){l.current.forEach(function(h,v){if(h&&h.offsetParent){var y=Dl(h),C=y.offsetHeight;s.current.get(v)!==C&&s.current.set(v,y.offsetHeight)}}),c(function(h){return h+1})};p?g():d.current=ut(g)}function m(p,g){var b=e(p),h=l.current.get(b);g?(l.current.set(b,g),f()):l.current.delete(b),!h!=!g&&(g?t==null||t(p):r==null||r(p))}return a.useEffect(function(){return u},[]),[m,f,s.current,i]}var gd=10;function vd(e,t,r,n,o,i,c,l){var s=a.useRef(),d=a.useState(null),u=se(d,2),f=u[0],m=u[1];return Ot(function(){if(f&&f.times=0;P-=1){var B=o(t[P]),M=r.get(B);if(M===void 0){y=!0;break}if(I-=M,I<=0)break}switch($){case"top":w=N-h;break;case"bottom":w=O-v+h;break;default:{var D=e.current.scrollTop,z=D+v;Nz&&(C="bottom")}}w!==null&&c(w),w!==f.lastTop&&(y=!0)}y&&m(function(L){return A(A({},L),{},{times:L.times+1,targetAlign:C,lastTop:w})})}},[f,e.current]),function(p){if(p==null){l();return}if(ut.cancel(s.current),typeof p=="number")c(p);else if(p&&ft(p)==="object"){var g,b=p.align;"index"in p?g=p.index:g=t.findIndex(function(y){return o(y)===p.key});var h=p.offset,v=h===void 0?0:h;m({times:0,index:g,offset:v,originAlign:b})}}}function hd(e,t,r){var n=e.length,o=t.length,i,c;if(n===0&&o===0)return null;n"u"?"undefined":ft(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const fi=function(e,t){var r=a.useRef(!1),n=a.useRef(null);function o(){clearTimeout(n.current),r.current=!0,n.current=setTimeout(function(){r.current=!1},50)}var i=a.useRef({top:e,bottom:t});return i.current.top=e,i.current.bottom=t,function(c){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=c<0&&i.current.top||c>0&&i.current.bottom;return l&&s?(clearTimeout(n.current),r.current=!1):(!s||r.current)&&o(),!r.current&&s}};function yd(e,t,r,n,o){var i=a.useRef(0),c=a.useRef(null),l=a.useRef(null),s=a.useRef(!1),d=fi(t,r);function u(h,v){ut.cancel(c.current),i.current+=v,l.current=v,!d(v)&&(ea||h.preventDefault(),c.current=ut(function(){var y=s.current?10:1;o(i.current*y),i.current=0}))}function f(h,v){o(v,!0),ea||h.preventDefault()}var m=a.useRef(null),p=a.useRef(null);function g(h){if(e){ut.cancel(p.current),p.current=ut(function(){m.current=null},2);var v=h.deltaX,y=h.deltaY,C=h.shiftKey,w=v,$=y;(m.current==="sx"||!m.current&&C&&y&&!v)&&(w=y,$=0,m.current="sx");var x=Math.abs(w),N=Math.abs($);m.current===null&&(m.current=n&&x>N?"x":"y"),m.current==="y"?u(h,$):f(h,w)}}function b(h){e&&(s.current=h.detail===l.current)}return[g,b]}var Cd=14/15;function Sd(e,t,r){var n=a.useRef(!1),o=a.useRef(0),i=a.useRef(null),c=a.useRef(null),l,s=function(m){if(n.current){var p=Math.ceil(m.touches[0].pageY),g=o.current-p;o.current=p,r(g)&&m.preventDefault(),clearInterval(c.current),c.current=setInterval(function(){g*=Cd,(!r(g,!0)||Math.abs(g)<=.1)&&clearInterval(c.current)},16)}},d=function(){n.current=!1,l()},u=function(m){l(),m.touches.length===1&&!n.current&&(n.current=!0,o.current=Math.ceil(m.touches[0].pageY),i.current=m.target,i.current.addEventListener("touchmove",s),i.current.addEventListener("touchend",d))};l=function(){i.current&&(i.current.removeEventListener("touchmove",s),i.current.removeEventListener("touchend",d))},Ot(function(){return e&&t.current.addEventListener("touchstart",u),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",u),l(),clearInterval(c.current)}},[e])}var xd=20;function ta(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e/t*100;return isNaN(r)&&(r=0),r=Math.max(r,xd),r=Math.min(r,e/2),Math.floor(r)}function wd(e,t,r,n){var o=a.useMemo(function(){return[new Map,[]]},[e,r.id,n]),i=se(o,2),c=i[0],l=i[1],s=function(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u,m=c.get(u),p=c.get(f);if(m===void 0||p===void 0)for(var g=e.length,b=l.length;bi||!!b),T=g==="rtl",E=X(n,U({},"".concat(n,"-rtl"),T),o),I=u||Ed,P=a.useRef(),B=a.useRef(),M=a.useState(0),D=se(M,2),z=D[0],L=D[1],_=a.useState(0),F=se(_,2),J=F[0],ae=F[1],Y=a.useState(!1),q=se(Y,2),de=q[0],V=q[1],j=function(){V(!0)},Q=function(){V(!1)},Z=a.useCallback(function(ye){return typeof m=="function"?m(ye):ye==null?void 0:ye[m]},[m]),G={getKey:Z};function W(ye){L(function(me){var Le;typeof ye=="function"?Le=ye(me):Le=ye;var qe=pt(Le);return P.current.scrollTop=qe,qe})}var K=a.useRef({start:0,end:I.length}),k=a.useRef(),H=bd(I,Z),re=se(H,1),te=re[0];k.current=te;var fe=md(Z,null,null),le=se(fe,4),ne=le[0],ce=le[1],$e=le[2],Te=le[3],Ie=a.useMemo(function(){if(!S)return{scrollHeight:void 0,start:0,end:I.length-1,offset:void 0};if(!R){var ye;return{scrollHeight:((ye=B.current)===null||ye===void 0?void 0:ye.offsetHeight)||0,start:0,end:I.length-1,offset:void 0}}for(var me=0,Le,qe,Qe,cn=I.length,Mt=0;Mt=z&&Le===void 0&&(Le=Mt,qe=me),Et>z+i&&Qe===void 0&&(Qe=Mt),me=Et}return Le===void 0&&(Le=0,qe=0,Qe=Math.ceil(i/c)),Qe===void 0&&(Qe=I.length-1),Qe=Math.min(Qe+1,I.length-1),{scrollHeight:me,start:Le,end:Qe,offset:qe}},[R,S,z,I,Te,i]),pe=Ie.scrollHeight,Ke=Ie.start,Me=Ie.end,he=Ie.offset;K.current.start=Ke,K.current.end=Me;var Se=a.useState({width:0,height:i}),Oe=se(Se,2),Re=Oe[0],Ae=Oe[1],Ce=function(me){Ae({width:me.width||me.offsetWidth,height:me.height||me.offsetHeight})},Ue=a.useRef(),je=a.useRef(),et=a.useMemo(function(){return ta(Re.width,b)},[Re.width,b]),Ye=a.useMemo(function(){return ta(Re.height,pe)},[Re.height,pe]),tt=pe-i,nt=a.useRef(tt);nt.current=tt;function pt(ye){var me=ye;return Number.isNaN(nt.current)||(me=Math.min(me,nt.current)),me=Math.max(me,0),me}var rt=z<=0,Ve=z>=tt,Je=fi(rt,Ve),ke=function(){return{x:T?-J:J,y:z}},He=a.useRef(ke()),lt=rn(function(){if(C){var ye=ke();(He.current.x!==ye.x||He.current.y!==ye.y)&&(C(ye),He.current=ye)}});function gt(ye,me){var Le=ye;me?(Fr.flushSync(function(){ae(Le)}),lt()):W(Le)}function ge(ye){var me=ye.currentTarget.scrollTop;me!==z&&W(me),y==null||y(ye),lt()}var ie=function(me){var Le=me,qe=b-Re.width;return Le=Math.max(Le,0),Le=Math.min(Le,qe),Le},be=rn(function(ye,me){me?(Fr.flushSync(function(){ae(function(Le){var qe=Le+(T?-ye:ye);return ie(qe)})}),lt()):W(function(Le){var qe=Le+ye;return qe})}),Ee=yd(S,rt,Ve,!!b,be),oe=se(Ee,2),ve=oe[0],_e=oe[1];Sd(S,P,function(ye,me){return Je(ye,me)?!1:(ve({preventDefault:function(){},deltaY:ye}),!0)}),Ot(function(){function ye(Le){S&&Le.preventDefault()}var me=P.current;return me.addEventListener("wheel",ve),me.addEventListener("DOMMouseScroll",_e),me.addEventListener("MozMousePixelScroll",ye),function(){me.removeEventListener("wheel",ve),me.removeEventListener("DOMMouseScroll",_e),me.removeEventListener("MozMousePixelScroll",ye)}},[S]),Ot(function(){b&&ae(function(ye){return ie(ye)})},[Re.width,b]);var Pe=function(){var me,Le;(me=Ue.current)===null||me===void 0||me.delayHidden(),(Le=je.current)===null||Le===void 0||Le.delayHidden()},Fe=vd(P,I,$e,c,Z,function(){return ce(!0)},W,Pe);a.useImperativeHandle(t,function(){return{getScrollInfo:ke,scrollTo:function(me){function Le(qe){return qe&&ft(qe)==="object"&&("left"in qe||"top"in qe)}Le(me)?(me.left!==void 0&&ae(ie(me.left)),Fe(me.top)):Fe(me)}}}),Ot(function(){if(w){var ye=I.slice(Ke,Me+1);w(ye,I)}},[Ke,Me,I]);var Be=wd(I,Z,$e,c),Ge=x==null?void 0:x({start:Ke,end:Me,virtual:R,offsetX:J,offsetY:he,rtl:T,getSize:Be}),vt=fd(I,Ke,Me,b,ne,f,G),wt=null;i&&(wt=A(U({},s?"height":"maxHeight",i),Id),S&&(wt.overflowY="hidden",b&&(wt.overflowX="hidden"),de&&(wt.pointerEvents="none")));var Jt={};return T&&(Jt.dir="rtl"),a.createElement("div",ue({style:A(A({},d),{},{position:"relative"}),className:E},Jt,O),a.createElement(Bn,{onResize:Ce},a.createElement(v,{className:"".concat(n,"-holder"),style:wt,ref:P,onScroll:ge,onMouseEnter:Pe},a.createElement(ui,{prefixCls:n,height:pe,offsetX:J,offsetY:he,scrollWidth:b,onInnerResize:ce,ref:B,innerProps:$,rtl:T,extra:Ge},vt))),R&&pe>i&&a.createElement(Zo,{ref:Ue,prefixCls:n,scrollOffset:z,scrollRange:pe,rtl:T,onScroll:gt,onStartMove:j,onStopMove:Q,spinSize:Ye,containerSize:Re.height,style:N==null?void 0:N.verticalScrollBar,thumbStyle:N==null?void 0:N.verticalScrollBarThumb}),R&&b&&a.createElement(Zo,{ref:je,prefixCls:n,scrollOffset:J,scrollRange:b,rtl:T,onScroll:gt,onStartMove:j,onStopMove:Q,spinSize:et,containerSize:Re.width,horizontal:!0,style:N==null?void 0:N.horizontalScrollBar,thumbStyle:N==null?void 0:N.horizontalScrollBarThumb}))}var hr=a.forwardRef(Od);hr.displayName="List";var pi=a.createContext(null);function Nd(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Rd=["disabled","title","children","style","className"];function na(e){return typeof e=="string"||typeof e=="number"}var Pd=function(t,r){var n=zc(),o=n.prefixCls,i=n.id,c=n.open,l=n.multiple,s=n.mode,d=n.searchValue,u=n.toggleOpen,f=n.notFoundContent,m=n.onPopupScroll,p=a.useContext(pi),g=p.flattenOptions,b=p.onActiveValue,h=p.defaultActiveFirstOption,v=p.onSelect,y=p.menuItemSelectedIcon,C=p.rawValues,w=p.fieldNames,$=p.virtual,x=p.direction,N=p.listHeight,O=p.listItemHeight,S="".concat(o,"-item"),R=co(function(){return g},[c,g],function(V,j){return j[0]&&V[1]!==j[1]}),T=a.useRef(null),E=function(j){j.preventDefault()},I=function(j){T.current&&T.current.scrollTo(typeof j=="number"?{index:j}:j)},P=function(j){for(var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Z=R.length,G=0;G1&&arguments[1]!==void 0?arguments[1]:!1;z(j);var Z={source:Q?"keyboard":"mouse"},G=R[j];if(!G){b(null,-1,Z);return}b(G.value,j,Z)};a.useEffect(function(){L(h!==!1?P(0):-1)},[R.length,d]);var _=a.useCallback(function(V){return C.has(V)&&s!=="combobox"},[s,we(C).toString(),C.size]);a.useEffect(function(){var V=setTimeout(function(){if(!l&&c&&C.size===1){var Q=Array.from(C)[0],Z=R.findIndex(function(G){var W=G.data;return W.value===Q});Z!==-1&&(L(Z),I(Z))}});if(c){var j;(j=T.current)===null||j===void 0||j.scrollTo(void 0)}return function(){return clearTimeout(V)}},[c,d]);var F=function(j){j!==void 0&&v(j,{selected:!C.has(j)}),l||u(!1)};if(a.useImperativeHandle(r,function(){return{onKeyDown:function(j){var Q=j.which,Z=j.ctrlKey;switch(Q){case xe.N:case xe.P:case xe.UP:case xe.DOWN:{var G=0;if(Q===xe.UP?G=-1:Q===xe.DOWN?G=1:Nd()&&Z&&(Q===xe.N?G=1:Q===xe.P&&(G=-1)),G!==0){var W=P(D+G,G);I(W),L(W,!0)}break}case xe.ENTER:{var K=R[D];K&&!K.data.disabled?F(K.value):F(void 0),c&&j.preventDefault();break}case xe.ESC:u(!1),c&&j.stopPropagation()}},onKeyUp:function(){},scrollTo:function(j){I(j)}}}),R.length===0)return a.createElement("div",{role:"listbox",id:"".concat(i,"_list"),className:"".concat(S,"-empty"),onMouseDown:E},f);var J=Object.keys(w).map(function(V){return w[V]}),ae=function(j){return j.label};function Y(V,j){var Q=V.group;return{role:Q?"presentation":"option",id:"".concat(i,"_list_").concat(j)}}var q=function(j){var Q=R[j];if(!Q)return null;var Z=Q.data||{},G=Z.value,W=Q.group,K=Dt(Z,!0),k=ae(Q);return Q?a.createElement("div",ue({"aria-label":typeof k=="string"&&!W?k:null},K,{key:j},Y(Q,j),{"aria-selected":_(G)}),G):null},de={role:"listbox",id:"".concat(i,"_list")};return a.createElement(a.Fragment,null,$&&a.createElement("div",ue({},de,{style:{height:0,width:0,overflow:"hidden"}}),q(D-1),q(D),q(D+1)),a.createElement(hr,{itemKey:"key",ref:T,data:R,height:N,itemHeight:O,fullHeight:!1,onMouseDown:E,onScroll:m,virtual:$,direction:x,innerProps:$?null:de},function(V,j){var Q,Z=V.group,G=V.groupOption,W=V.data,K=V.label,k=V.value,H=W.key;if(Z){var re,te=(re=W.title)!==null&&re!==void 0?re:na(K)?K.toString():void 0;return a.createElement("div",{className:X(S,"".concat(S,"-group")),title:te},K!==void 0?K:H)}var fe=W.disabled,le=W.title;W.children;var ne=W.style,ce=W.className,$e=it(W,Rd),Te=jt($e,J),Ie=_(k),pe="".concat(S,"-option"),Ke=X(S,pe,ce,(Q={},U(Q,"".concat(pe,"-grouped"),G),U(Q,"".concat(pe,"-active"),D===j&&!fe),U(Q,"".concat(pe,"-disabled"),fe),U(Q,"".concat(pe,"-selected"),Ie),Q)),Me=ae(V),he=!y||typeof y=="function"||Ie,Se=typeof Me=="number"?Me:Me||k,Oe=na(Se)?Se.toString():void 0;return le!==void 0&&(Oe=le),a.createElement("div",ue({},Dt(Te),$?{}:Y(V,j),{"aria-selected":Ie,className:Ke,title:Oe,onMouseMove:function(){D===j||fe||L(j)},onClick:function(){fe||F(k)},style:ne}),a.createElement("div",{className:"".concat(pe,"-content")},Se),a.isValidElement(y)||Ie,he&&a.createElement(vr,{className:"".concat(S,"-option-state"),customizeIcon:y,customizeIconProps:{value:k,disabled:fe,isSelected:Ie}},Ie?"✓":null))}))},mi=a.forwardRef(Pd);mi.displayName="OptionList";var Td=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Dd=["inputValue"];function Md(e){return!e||ft(e)!=="object"}var zd=a.forwardRef(function(e,t){var r=e.id,n=e.mode,o=e.prefixCls,i=o===void 0?"rc-select":o,c=e.backfill,l=e.fieldNames,s=e.inputValue,d=e.searchValue,u=e.onSearch,f=e.autoClearSearchValue,m=f===void 0?!0:f,p=e.onSelect,g=e.onDeselect,b=e.dropdownMatchSelectWidth,h=b===void 0?!0:b,v=e.filterOption,y=e.filterSort,C=e.optionFilterProp,w=e.optionLabelProp,$=e.options,x=e.children,N=e.defaultActiveFirstOption,O=e.menuItemSelectedIcon,S=e.virtual,R=e.direction,T=e.listHeight,E=T===void 0?200:T,I=e.listItemHeight,P=I===void 0?20:I,B=e.value,M=e.defaultValue,D=e.labelInValue,z=e.onChange,L=it(e,Td),_=id(r),F=qr(n),J=!!(!$&&x),ae=a.useMemo(function(){return v===void 0&&n==="combobox"?!1:v},[v,n]),Y=a.useMemo(function(){return ci(l,J)},[JSON.stringify(l),J]),q=Yt("",{value:d!==void 0?d:s,postState:function(ie){return ie||""}}),de=se(q,2),V=de[0],j=de[1],Q=dd($,x,Y,C,w),Z=Q.valueOptions,G=Q.labelOptions,W=Q.options,K=a.useCallback(function(ge){var ie=ai(ge);return ie.map(function(be){var Ee,oe,ve,_e,Pe;if(Md(be))Ee=be;else{var Fe;ve=be.key,oe=be.label,Ee=(Fe=be.value)!==null&&Fe!==void 0?Fe:ve}var Be=Z.get(Ee);if(Be){var Ge;oe===void 0&&(oe=Be==null?void 0:Be[w||Y.label]),ve===void 0&&(ve=(Ge=Be==null?void 0:Be.key)!==null&&Ge!==void 0?Ge:Ee),_e=Be==null?void 0:Be.disabled,Pe=Be==null?void 0:Be.title}return{label:oe,value:Ee,key:ve,disabled:_e,title:Pe}})},[Y,w,Z]),k=Yt(M,{value:B}),H=se(k,2),re=H[0],te=H[1],fe=a.useMemo(function(){var ge,ie=K(re);return n==="combobox"&&jc((ge=ie[0])===null||ge===void 0?void 0:ge.value)?[]:ie},[re,K,n]),le=nd(fe,Z),ne=se(le,2),ce=ne[0],$e=ne[1],Te=a.useMemo(function(){if(!n&&ce.length===1){var ge=ce[0];if(ge.value===null&&(ge.label===null||ge.label===void 0))return[]}return ce.map(function(ie){var be;return A(A({},ie),{},{label:(be=ie.label)!==null&&be!==void 0?be:ie.value})})},[n,ce]),Ie=a.useMemo(function(){return new Set(ce.map(function(ge){return ge.value}))},[ce]);a.useEffect(function(){if(n==="combobox"){var ge,ie=(ge=ce[0])===null||ge===void 0?void 0:ge.value;j(kc(ie)?String(ie):"")}},[ce]);var pe=Jo(function(ge,ie){var be,Ee=ie??ge;return be={},U(be,Y.value,ge),U(be,Y.label,Ee),be}),Ke=a.useMemo(function(){if(n!=="tags")return W;var ge=we(W),ie=function(Ee){return Z.has(Ee)};return we(ce).sort(function(be,Ee){return be.value2&&arguments[2]!==void 0?arguments[2]:{},Ee=be.source,oe=Ee===void 0?"keyboard":Ee;nt(ie),c&&n==="combobox"&&ge!==null&&oe==="keyboard"&&je(String(ge))},[c,n]),Ve=function(ie,be,Ee){var oe=function(){var ye,me=$e(ie);return[D?{label:me==null?void 0:me[Y.label],value:ie,key:(ye=me==null?void 0:me.key)!==null&&ye!==void 0?ye:ie}:ie,Yr(me)]};if(be&&p){var ve=oe(),_e=se(ve,2),Pe=_e[0],Fe=_e[1];p(Pe,Fe)}else if(!be&&g&&Ee!=="clear"){var Be=oe(),Ge=se(Be,2),vt=Ge[0],wt=Ge[1];g(vt,wt)}},Je=Jo(function(ge,ie){var be,Ee=F?ie.selected:!0;Ee?be=F?[].concat(we(ce),[ge]):[ge]:be=ce.filter(function(oe){return oe.value!==ge}),Re(be),Ve(ge,Ee),n==="combobox"?je(""):(!qr||m)&&(j(""),je(""))}),ke=function(ie,be){Re(ie);var Ee=be.type,oe=be.values;(Ee==="remove"||Ee==="clear")&&oe.forEach(function(ve){Ve(ve.value,!1,Ee)})},He=function(ie,be){if(j(ie),je(null),be.source==="submit"){var Ee=(ie||"").trim();if(Ee){var oe=Array.from(new Set([].concat(we(Ie),[Ee])));Re(oe),Ve(Ee,!0),j("")}return}be.source!=="blur"&&(n==="combobox"&&Re(ie),u==null||u(ie))},lt=function(ie){var be=ie;n!=="tags"&&(be=ie.map(function(oe){var ve=G.get(oe);return ve==null?void 0:ve.value}).filter(function(oe){return oe!==void 0}));var Ee=Array.from(new Set([].concat(we(Ie),we(be))));Re(Ee),Ee.forEach(function(oe){Ve(oe,!0)})},gt=a.useMemo(function(){var ge=S!==!1&&h!==!1;return A(A({},Q),{},{flattenOptions:Oe,onActiveValue:rt,defaultActiveFirstOption:pt,onSelect:Je,menuItemSelectedIcon:O,rawValues:Ie,fieldNames:Y,virtual:ge,direction:R,listHeight:E,listItemHeight:P,childrenAsData:J})},[Q,Oe,rt,pt,Je,O,Ie,Y,S,h,E,P,J]);return a.createElement(pi.Provider,{value:gt},a.createElement(td,ue({},L,{id:_,prefixCls:i,ref:t,omitDomProps:Dd,mode:n,displayValues:Te,onDisplayValuesChange:ke,direction:R,searchValue:V,onSearch:He,autoClearSearchValue:m,onSearchSplit:lt,dropdownMatchSelectWidth:h,OptionList:mi,emptyOptions:!Oe.length,activeValue:Ue,activeDescendantId:"".concat(_,"_list_").concat(tt)})))}),Co=zd;Co.Option=yo;Co.OptGroup=bo;const Kd=()=>{const[,e]=ln(),r=new Lt(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return a.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(24 31.67)"},a.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),a.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),a.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),a.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),a.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),a.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),a.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},a.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),a.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Bd=Kd,Ld=()=>{const[,e]=ln(),{colorFill:t,colorFillTertiary:r,colorFillQuaternary:n,colorBgContainer:o}=e,{borderColor:i,shadowColor:c,contentColor:l}=a.useMemo(()=>({borderColor:new Lt(t).onBackground(o).toHexShortString(),shadowColor:new Lt(r).onBackground(o).toHexShortString(),contentColor:new Lt(n).onBackground(o).toHexShortString()}),[t,r,n,o]);return a.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},a.createElement("ellipse",{fill:c,cx:"32",cy:"33",rx:"32",ry:"7"}),a.createElement("g",{fillRule:"nonzero",stroke:i},a.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),a.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:l}))))},Hd=Ld,_d=e=>{const{componentCls:t,margin:r,marginXS:n,marginXL:o,fontSize:i,lineHeight:c}=e;return{[t]:{marginInline:n,fontSize:i,lineHeight:c,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:n,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:r},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:n,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},kd=Nt("Empty",e=>{const{componentCls:t,controlHeightLG:r}=e,n=at(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r*2.5,emptyImgHeightMD:r,emptyImgHeightSM:r*.875});return[_d(n)]});var jd=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{className:t,rootClassName:r,prefixCls:n,image:o=gi,description:i,children:c,imageStyle:l,style:s}=e,d=jd(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:u,direction:f,empty:m}=a.useContext(Xe),p=u("empty",n),[g,b]=kd(p),[h]=Fa("Empty"),v=typeof i<"u"?i:h==null?void 0:h.description,y=typeof v=="string"?v:"empty";let C=null;return typeof o=="string"?C=a.createElement("img",{alt:y,src:o}):C=o,g(a.createElement("div",Object.assign({className:X(b,p,m==null?void 0:m.className,{[`${p}-normal`]:o===vi,[`${p}-rtl`]:f==="rtl"},t,r),style:Object.assign(Object.assign({},m==null?void 0:m.style),s)},d),a.createElement("div",{className:`${p}-image`,style:l},C),v&&a.createElement("div",{className:`${p}-description`},v),c&&a.createElement("div",{className:`${p}-footer`},c)))};So.PRESENTED_IMAGE_DEFAULT=gi;So.PRESENTED_IMAGE_SIMPLE=vi;const tn=So,Ad=e=>{const{componentName:t}=e,{getPrefixCls:r}=a.useContext(Xe),n=r("empty");switch(t){case"Table":case"List":return ee.createElement(tn,{image:tn.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ee.createElement(tn,{image:tn.PRESENTED_IMAGE_SIMPLE,className:`${n}-small`});default:return ee.createElement(tn,null)}},hi=Ad,Fd=e=>{const{optionHeight:t,optionFontSize:r,optionLineHeight:n,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:r,lineHeight:n,boxSizing:"border-box"}},Wd=e=>{const{antCls:t,componentCls:r}=e,n=`${r}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,c=`&${t}-slide-up-leave${t}-slide-up-leave-active`,l=`${r}-dropdown-placement-`;return[{[`${r}-dropdown`]:Object.assign(Object.assign({},bt(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` + ${o}${l}bottomLeft, + ${i}${l}bottomLeft + `]:{animationName:Wa},[` + ${o}${l}topLeft, + ${i}${l}topLeft, + ${o}${l}topRight, + ${i}${l}topRight + `]:{animationName:Va},[`${c}${l}bottomLeft`]:{animationName:Ga},[` + ${c}${l}topLeft, + ${c}${l}topRight + `]:{animationName:Xa},"&-hidden":{display:"none"},[`${n}`]:Object.assign(Object.assign({},Fd(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Qn),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${n}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${n}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${n}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${n}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},er(e,"slide-up"),er(e,"slide-down"),or(e,"move-up"),or(e,"move-down")]},Vd=Wd,pn=2,bi=e=>{let{multipleSelectItemHeight:t,selectHeight:r,lineWidth:n}=e;const o=(r-t)/2-n,i=Math.ceil(o/2);return[o,i]};function Kr(e,t){const{componentCls:r,iconCls:n}=e,o=`${r}-selection-overflow`,i=e.multipleSelectItemHeight,[c]=bi(e),l=t?`${r}-${t}`:"";return{[`${r}-multiple${l}`]:{fontSize:e.fontSize,[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${r}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",padding:`${c-pn}px ${pn*2}px`,borderRadius:e.borderRadius,[`${r}-show-search&`]:{cursor:"text"},[`${r}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${pn}px 0`,lineHeight:`${i}px`,visibility:"hidden",content:'"\\a0"'}},[` + &${r}-show-arrow ${r}-selector, + &${r}-allow-clear ${r}-selector + `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${r}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:pn,marginBottom:pn,lineHeight:`${i-e.lineWidth*2}px`,background:e.multipleItemBg,border:`${e.lineWidth}px ${e.lineType} ${e.multipleItemBorderColor}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,marginInlineEnd:pn*2,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${r}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},La()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${r}-selection-search`]:{marginInlineStart:0}},[`${o}-item-suffix`]:{height:"100%"},[`${r}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-c,"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${r}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}const Gd=e=>{const{componentCls:t}=e,r=at(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),n=at(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),[,o]=bi(e);return[Kr(e),Kr(r,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.controlPaddingHorizontalSM-e.lineWidth},[`${t}-selection-search`]:{marginInlineStart:o}}},Kr(n,"lg")]},Xd=Gd;function Br(e,t){const{componentCls:r,inputPaddingHorizontalBase:n,borderRadius:o}=e,i=e.controlHeight-e.lineWidth*2,c=Math.ceil(e.fontSize*1.25),l=t?`${r}-${t}`:"";return{[`${r}-single${l}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${r}-selector`]:Object.assign(Object.assign({},bt(e,!0)),{display:"flex",borderRadius:o,[`${r}-selection-search`]:{position:"absolute",top:0,insetInlineStart:n,insetInlineEnd:n,bottom:0,"&-input":{width:"100%"}},[` + ${r}-selection-item, + ${r}-selection-placeholder + `]:{padding:0,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${r}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${r}-selection-item:empty:after`,`${r}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${r}-show-arrow ${r}-selection-item, + &${r}-show-arrow ${r}-selection-placeholder + `]:{paddingInlineEnd:c},[`&${r}-open ${r}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${r}-customize-input)`]:{[`${r}-selector`]:{width:"100%",height:"100%",padding:`0 ${n}px`,[`${r}-selection-search-input`]:{height:i},"&:after":{lineHeight:`${i}px`}}},[`&${r}-customize-input`]:{[`${r}-selector`]:{"&:after":{display:"none"},[`${r}-selection-search`]:{position:"static",width:"100%"},[`${r}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${n}px`,"&:after":{display:"none"}}}}}}}function Ud(e){const{componentCls:t}=e,r=e.controlPaddingHorizontalSM-e.lineWidth;return[Br(e),Br(at(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:r,insetInlineEnd:r},[`${t}-selector`]:{padding:`0 ${r}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:r+e.fontSize*1.5},[` + &${t}-show-arrow ${t}-selection-item, + &${t}-show-arrow ${t}-selection-placeholder + `]:{paddingInlineEnd:e.fontSize*1.5}}}},Br(at(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const Yd=e=>{const{componentCls:t,selectorBg:r}=e;return{position:"relative",backgroundColor:r,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},Lr=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:n,borderHoverColor:o,antCls:i,borderActiveColor:c,outlineColor:l,controlOutlineWidth:s}=t,d=r?{[`${n}-selector`]:{borderColor:c}}:{};return{[e]:{[`&:not(${n}-disabled):not(${n}-customize-input):not(${i}-pagination-size-changer)`]:Object.assign(Object.assign({},d),{[`&:hover ${n}-selector`]:{borderColor:o},[`${n}-focused& ${n}-selector`]:{borderColor:c,boxShadow:`0 0 0 ${s}px ${l}`,outline:0}})}}},qd=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Jd=e=>{const{antCls:t,componentCls:r,inputPaddingHorizontalBase:n,iconCls:o}=e;return{[r]:Object.assign(Object.assign({},bt(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${r}-customize-input) ${r}-selector`]:Object.assign(Object.assign({},Yd(e)),qd(e)),[`${r}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},Qn),{[`> ${t}-typography`]:{display:"inline"}}),[`${r}-selection-placeholder`]:Object.assign(Object.assign({},Qn),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${r}-arrow`]:Object.assign(Object.assign({},La()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${r}-suffix)`]:{pointerEvents:"auto"}},[`${r}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${r}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.clearBg,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${r}-clear`]:{opacity:1}}}),[`${r}-has-feedback`]:{[`${r}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXS}}}},Qd=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},Jd(e),Ud(e),Xd(e),Vd(e),{[`${t}-rtl`]:{direction:"rtl"}},Lr(t,at(e,{borderHoverColor:e.colorPrimaryHover,borderActiveColor:e.colorPrimary,outlineColor:e.controlOutline})),Lr(`${t}-status-error`,at(e,{borderHoverColor:e.colorErrorHover,borderActiveColor:e.colorError,outlineColor:e.colorErrorOutline}),!0),Lr(`${t}-status-warning`,at(e,{borderHoverColor:e.colorWarningHover,borderActiveColor:e.colorWarning,outlineColor:e.colorWarningOutline}),!0),ja(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},Zd=Nt("Select",(e,t)=>{let{rootPrefixCls:r}=t;const n=at(e,{rootPrefixCls:r,inputPaddingHorizontalBase:e.paddingSM-1,multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Qd(n)]},e=>{const{fontSize:t,lineHeight:r,controlHeight:n,controlPaddingHorizontal:o,zIndexPopupBase:i,colorText:c,fontWeightStrong:l,controlItemBgActive:s,controlItemBgHover:d,colorBgContainer:u,colorFillSecondary:f,controlHeightLG:m,controlHeightSM:p,colorBgContainerDisabled:g,colorTextDisabled:b}=e;return{zIndexPopup:i+50,optionSelectedColor:c,optionSelectedFontWeight:l,optionSelectedBg:s,optionActiveBg:d,optionPadding:`${(n-t*r)/2}px ${o}px`,optionFontSize:t,optionLineHeight:r,optionHeight:n,selectorBg:u,clearBg:u,singleItemHeightLG:m,multipleItemBg:f,multipleItemBorderColor:"transparent",multipleItemHeight:p,multipleItemHeightLG:n,multipleSelectorBgDisabled:g,multipleItemColorDisabled:b,multipleItemBorderColorDisabled:"transparent"}}),eu=e=>{const r={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},r),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},r),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},r),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},r),{points:["br","tr"],offset:[0,-4]})}};function tu(e,t){return e||eu(t)}function nu(e,t){return t!==void 0?t:e!==null}var ru={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const ou=ru;var au=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:ou}))};const yi=a.forwardRef(au);var iu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const lu=iu;var su=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:lu}))};const xo=a.forwardRef(su);function cu(e){let{suffixIcon:t,clearIcon:r,menuItemSelectedIcon:n,removeIcon:o,loading:i,multiple:c,hasFeedback:l,prefixCls:s,showSuffixIcon:d,feedbackIcon:u,showArrow:f,componentName:m}=e;const p=r??a.createElement(Al,null),g=y=>t===null&&!l&&!f?null:a.createElement(a.Fragment,null,d!==!1&&y,l&&u);let b=null;if(t!==void 0)b=g(t);else if(i)b=g(a.createElement(fo,{spin:!0}));else{const y=`${s}-suffix`;b=C=>{let{open:w,showSearch:$}=C;return g(w&&$?a.createElement(xo,{className:y}):a.createElement(yi,{className:y}))}}let h=null;n!==void 0?h=n:c?h=a.createElement(Fl,null):h=null;let v=null;return o!==void 0?v=o:v=a.createElement(gs,null),{clearIcon:p,suffixIcon:b,itemIcon:h,removeIcon:v}}var du=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,{prefixCls:n,bordered:o=!0,className:i,rootClassName:c,getPopupContainer:l,popupClassName:s,dropdownClassName:d,listHeight:u=256,placement:f,listItemHeight:m=24,size:p,disabled:g,notFoundContent:b,status:h,builtinPlacements:v,dropdownMatchSelectWidth:y,popupMatchSelectWidth:C,direction:w,style:$,allowClear:x}=e,N=du(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:O,getPrefixCls:S,renderEmpty:R,direction:T,virtual:E,popupMatchSelectWidth:I,popupOverflow:P,select:B}=a.useContext(Xe),M=S("select",n),D=S(),z=w??T,{compactSize:L,compactItemClassnames:_}=fr(M,z),[F,J]=Zd(M),ae=a.useMemo(()=>{const{mode:Ke}=N;if(Ke!=="combobox")return Ke===Ci?"combobox":Ke},[N.mode]),Y=ae==="multiple"||ae==="tags",q=nu(N.suffixIcon,N.showArrow),de=(r=C??y)!==null&&r!==void 0?r:I,{status:V,hasFeedback:j,isFormItemInput:Q,feedbackIcon:Z}=a.useContext(Tn),G=Gl(V,h);let W;b!==void 0?W=b:ae==="combobox"?W=null:W=(R==null?void 0:R("Select"))||a.createElement(hi,{componentName:"Select"});const{suffixIcon:K,itemIcon:k,removeIcon:H,clearIcon:re}=cu(Object.assign(Object.assign({},N),{multiple:Y,hasFeedback:j,feedbackIcon:Z,showSuffixIcon:q,prefixCls:M,showArrow:N.showArrow,componentName:"Select"})),te=x===!0?{clearIcon:re}:x,fe=jt(N,["suffixIcon","itemIcon"]),le=X(s||d,{[`${M}-dropdown-${z}`]:z==="rtl"},c,J),ne=Cn(Ke=>{var Me;return(Me=p??L)!==null&&Me!==void 0?Me:Ke}),ce=a.useContext(sr),$e=g??ce,Te=X({[`${M}-lg`]:ne==="large",[`${M}-sm`]:ne==="small",[`${M}-rtl`]:z==="rtl",[`${M}-borderless`]:!o,[`${M}-in-form-item`]:Q},Wl(M,G,j),_,B==null?void 0:B.className,i,c,J),Ie=a.useMemo(()=>f!==void 0?f:z==="rtl"?"bottomRight":"bottomLeft",[f,z]),pe=tu(v,P);return F(a.createElement(Co,Object.assign({ref:t,virtual:E,showSearch:B==null?void 0:B.showSearch},fe,{style:Object.assign(Object.assign({},B==null?void 0:B.style),$),dropdownMatchSelectWidth:de,builtinPlacements:pe,transitionName:Vl(D,"slide-up",N.transitionName),listHeight:u,listItemHeight:m,mode:ae,prefixCls:M,placement:Ie,direction:z,suffixIcon:K,menuItemSelectedIcon:k,removeIcon:H,allowClear:te,notFoundContent:W,className:Te,getPopupContainer:l||O,dropdownClassName:le,disabled:$e})))},Sn=a.forwardRef(uu),fu=ni(Sn);Sn.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ci;Sn.Option=yo;Sn.OptGroup=bo;Sn._InternalPanelDoNotUseOrYouWillBeFired=fu;const br=Sn,pu=["xxl","xl","lg","md","sm","xs"],mu=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),gu=e=>{const t=e,r=[].concat(pu).reverse();return r.forEach((n,o)=>{const i=n.toUpperCase(),c=`screen${i}Min`,l=`screen${i}`;if(!(t[c]<=t[l]))throw new Error(`${c}<=${l} fails : !(${t[c]}<=${t[l]})`);if(o{const r=new Map;let n=-1,o={};return{matchHandlers:{},dispatch(i){return o=i,r.forEach(c=>c(o)),r.size>=1},subscribe(i){return r.size||this.register(),n+=1,r.set(n,i),i(o),n},unsubscribe(i){r.delete(i),r.size||this.unregister()},unregister(){Object.keys(t).forEach(i=>{const c=t[i],l=this.matchHandlers[c];l==null||l.mql.removeListener(l==null?void 0:l.listener)}),r.clear()},register(){Object.keys(t).forEach(i=>{const c=t[i],l=d=>{let{matches:u}=d;this.dispatch(Object.assign(Object.assign({},o),{[i]:u}))},s=window.matchMedia(c);s.addListener(l),this.matchHandlers[c]={mql:s,listener:l},l(s)})},responsiveMap:t}},[e])}function Si(){const[,e]=a.useReducer(t=>t+1,0);return e}function xi(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=a.useRef({}),r=Si(),n=vu();return Ot(()=>{const o=n.subscribe(i=>{t.current=i,e&&r()});return()=>n.unsubscribe(o)},[]),t.current}var hu=xe.ESC,bu=xe.TAB;function yu(e){var t=e.visible,r=e.triggerRef,n=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,c=a.useRef(!1),l=function(){if(t){var f,m;(f=r.current)===null||f===void 0||(m=f.focus)===null||m===void 0||m.call(f),n==null||n(!1)}},s=function(){var f;return(f=i.current)!==null&&f!==void 0&&f.focus?(i.current.focus(),c.current=!0,!0):!1},d=function(f){switch(f.keyCode){case hu:l();break;case bu:{var m=!1;c.current||(m=s()),m?f.preventDefault():l();break}}};a.useEffect(function(){return t?(window.addEventListener("keydown",d),o&&ut(s,3),function(){window.removeEventListener("keydown",d),c.current=!1}):function(){c.current=!1}},[t])}var Cu=a.forwardRef(function(e,t){var r=e.overlay,n=e.arrow,o=e.prefixCls,i=a.useMemo(function(){var l;return typeof r=="function"?l=r():l=r,l},[r]),c=qt(t,i==null?void 0:i.ref);return ee.createElement(ee.Fragment,null,n&&ee.createElement("div",{className:"".concat(o,"-arrow")}),ee.cloneElement(i,{ref:Rn(i)?c:void 0}))}),mn={adjustX:1,adjustY:1},gn=[0,0],Su={topLeft:{points:["bl","tl"],overflow:mn,offset:[0,-4],targetOffset:gn},top:{points:["bc","tc"],overflow:mn,offset:[0,-4],targetOffset:gn},topRight:{points:["br","tr"],overflow:mn,offset:[0,-4],targetOffset:gn},bottomLeft:{points:["tl","bl"],overflow:mn,offset:[0,4],targetOffset:gn},bottom:{points:["tc","bc"],overflow:mn,offset:[0,4],targetOffset:gn},bottomRight:{points:["tr","br"],overflow:mn,offset:[0,4],targetOffset:gn}},xu=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function wu(e,t){var r,n=e.arrow,o=n===void 0?!1:n,i=e.prefixCls,c=i===void 0?"rc-dropdown":i,l=e.transitionName,s=e.animation,d=e.align,u=e.placement,f=u===void 0?"bottomLeft":u,m=e.placements,p=m===void 0?Su:m,g=e.getPopupContainer,b=e.showAction,h=e.hideAction,v=e.overlayClassName,y=e.overlayStyle,C=e.visible,w=e.trigger,$=w===void 0?["hover"]:w,x=e.autoFocus,N=e.overlay,O=e.children,S=e.onVisibleChange,R=it(e,xu),T=ee.useState(),E=se(T,2),I=E[0],P=E[1],B="visible"in e?C:I,M=ee.useRef(null),D=ee.useRef(null),z=ee.useRef(null);ee.useImperativeHandle(t,function(){return M.current});var L=function(j){P(j),S==null||S(j)};yu({visible:B,triggerRef:z,onVisibleChange:L,autoFocus:x,overlayRef:D});var _=function(j){var Q=e.onOverlayClick;P(!1),Q&&Q(j)},F=function(){return ee.createElement(Cu,{ref:D,overlay:N,prefixCls:c,arrow:o})},J=function(){return typeof N=="function"?F:F()},ae=function(){var j=e.minOverlayWidthMatchTrigger,Q=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?j:!Q},Y=function(){var j=e.openClassName;return j!==void 0?j:"".concat(c,"-open")},q=ee.cloneElement(O,{className:X((r=O.props)===null||r===void 0?void 0:r.className,B&&Y()),ref:Rn(O)?qt(z,O.ref):void 0}),de=h;return!de&&$.indexOf("contextMenu")!==-1&&(de=["click"]),ee.createElement(Aa,ue({builtinPlacements:p},R,{prefixCls:c,ref:M,popupClassName:X(v,U({},"".concat(c,"-show-arrow"),o)),popupStyle:y,action:$,showAction:b,hideAction:de,popupPlacement:f,popupAlign:d,popupTransitionName:l,popupAnimation:s,popupVisible:B,stretch:ae()?"minWidth":"",popup:J(),onPopupVisibleChange:L,onPopupClick:_,getPopupContainer:g}),q)}const $u=ee.forwardRef(wu),Eu=e=>{const{componentCls:t,menuCls:r,colorError:n,colorTextLightSolid:o}=e,i=`${r}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${r} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:n,"&:hover":{color:o,backgroundColor:n}}}}}},Iu=Eu,Ou=e=>{const{componentCls:t,menuCls:r,zIndexPopup:n,dropdownArrowDistance:o,sizePopupArrow:i,antCls:c,iconCls:l,motionDurationMid:s,dropdownPaddingVertical:d,fontSize:u,dropdownEdgeChildPadding:f,colorTextDisabled:m,fontSizeIcon:p,controlPaddingHorizontal:g,colorBgElevated:b}=e;return[{[t]:Object.assign(Object.assign({},bt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:n,display:"block","&::before":{position:"absolute",insetBlock:-o+i/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${c}-btn`]:{[`& > ${l}-down, & > ${c}-btn-icon > ${l}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${c}-btn > ${l}-down`]:{fontSize:p},[`${l}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${c}-slide-down-enter${c}-slide-down-enter-active${t}-placement-bottomLeft, + &${c}-slide-down-appear${c}-slide-down-appear-active${t}-placement-bottomLeft, + &${c}-slide-down-enter${c}-slide-down-enter-active${t}-placement-bottom, + &${c}-slide-down-appear${c}-slide-down-appear-active${t}-placement-bottom, + &${c}-slide-down-enter${c}-slide-down-enter-active${t}-placement-bottomRight, + &${c}-slide-down-appear${c}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Wa},[`&${c}-slide-up-enter${c}-slide-up-enter-active${t}-placement-topLeft, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-placement-topLeft, + &${c}-slide-up-enter${c}-slide-up-enter-active${t}-placement-top, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-placement-top, + &${c}-slide-up-enter${c}-slide-up-enter-active${t}-placement-topRight, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Va},[`&${c}-slide-down-leave${c}-slide-down-leave-active${t}-placement-bottomLeft, + &${c}-slide-down-leave${c}-slide-down-leave-active${t}-placement-bottom, + &${c}-slide-down-leave${c}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Ga},[`&${c}-slide-up-leave${c}-slide-up-leave-active${t}-placement-topLeft, + &${c}-slide-up-leave${c}-slide-up-leave-active${t}-placement-top, + &${c}-slide-up-leave${c}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Xa}})},Ul(e,{colorBg:b,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${r}`]:{position:"relative",margin:0},[`${r}-submenu-popup`]:{position:"absolute",zIndex:n,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{[r]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:b,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Jn(e)),{[`${r}-item-group-title`]:{padding:`${d}px ${g}px`,color:e.colorTextDescription,transition:`all ${s}`},[`${r}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${r}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${r}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${r}-item, ${r}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${d}px ${g}px`,color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Jn(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:b,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:p,fontStyle:"normal"}}}),[`${r}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${r}-submenu-title`]:{paddingInlineEnd:g+e.fontSizeSM},[`${r}-submenu-vertical`]:{position:"relative"},[`${r}-submenu${r}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:b,cursor:"not-allowed"}},[`${r}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[er(e,"slide-up"),er(e,"slide-down"),or(e,"move-up"),or(e,"move-down"),Yl(e,"zoom-big")]]},wi=Nt("Dropdown",(e,t)=>{let{rootPrefixCls:r}=t;const{marginXXS:n,sizePopupArrow:o,controlHeight:i,fontSize:c,lineHeight:l,paddingXXS:s,componentCls:d,borderRadiusLG:u}=e,f=(i-c*l)/2,{dropdownArrowOffset:m}=Xl({contentRadius:u}),p=at(e,{menuCls:`${d}-menu`,rootPrefixCls:r,dropdownArrowDistance:o/2+n,dropdownArrowOffset:m,dropdownPaddingVertical:f,dropdownEdgeChildPadding:s});return[Ou(p),Iu(p)]},e=>({zIndexPopup:e.zIndexPopupBase+50})),wo=e=>{const{menu:t,arrow:r,prefixCls:n,children:o,trigger:i,disabled:c,dropdownRender:l,getPopupContainer:s,overlayClassName:d,rootClassName:u,open:f,onOpenChange:m,visible:p,onVisibleChange:g,mouseEnterDelay:b=.15,mouseLeaveDelay:h=.1,autoAdjustOverflow:v=!0,placement:y="",overlay:C,transitionName:w}=e,{getPopupContainer:$,getPrefixCls:x,direction:N}=a.useContext(Xe);cr();const O=a.useMemo(()=>{const q=x();return w!==void 0?w:y.includes("top")?`${q}-slide-down`:`${q}-slide-up`},[x,y,w]),S=a.useMemo(()=>y?y.includes("Center")?y.slice(0,y.indexOf("Center")):y:N==="rtl"?"bottomRight":"bottomLeft",[y,N]),R=x("dropdown",n),[T,E]=wi(R),[,I]=ln(),P=a.Children.only(o),B=_t(P,{className:X(`${R}-trigger`,{[`${R}-rtl`]:N==="rtl"},P.props.className),disabled:c}),M=c?[]:i;let D;M&&M.includes("contextMenu")&&(D=!0);const[z,L]=Yt(!1,{value:f??p}),_=rn(q=>{m==null||m(q),g==null||g(q),L(q)}),F=X(d,u,E,{[`${R}-rtl`]:N==="rtl"}),J=ql({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:v,offset:I.marginXXS,arrowWidth:r?I.sizePopupArrow:0,borderRadius:I.borderRadius}),ae=a.useCallback(()=>{L(!1)},[]),Y=()=>{let q;return t!=null&&t.items?q=a.createElement(Ua,Object.assign({},t)):typeof C=="function"?q=C():q=C,l&&(q=l(q)),q=a.Children.only(typeof q=="string"?a.createElement("span",null,q):q),a.createElement(Ya,{prefixCls:`${R}-menu`,expandIcon:a.createElement("span",{className:`${R}-menu-submenu-arrow`},a.createElement(Wr,{className:`${R}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ae,validator:de=>{}},q)};return T(a.createElement($u,Object.assign({alignPoint:D},jt(e,["rootClassName"]),{mouseEnterDelay:b,mouseLeaveDelay:h,visible:z,builtinPlacements:J,arrow:!!r,overlayClassName:F,prefixCls:R,getPopupContainer:s||$,transitionName:O,trigger:M,overlay:Y,placement:S,onVisibleChange:_}),B))};function Nu(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Ru=ni(wo,"dropdown",e=>e,Nu),Pu=e=>a.createElement(Ru,Object.assign({},e),a.createElement("span",null));wo._InternalPanelDoNotUseOrYouWillBeFired=Pu;const $i=wo,Ei=a.createContext(null),Tu=Ei.Provider,Ii=a.createContext(null),Du=Ii.Provider;var Mu=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],Oi=a.forwardRef(function(e,t){var r,n=e.prefixCls,o=n===void 0?"rc-checkbox":n,i=e.className,c=e.style,l=e.checked,s=e.disabled,d=e.defaultChecked,u=d===void 0?!1:d,f=e.type,m=f===void 0?"checkbox":f,p=e.title,g=e.onChange,b=it(e,Mu),h=a.useRef(null),v=Yt(u,{value:l}),y=se(v,2),C=y[0],w=y[1];a.useImperativeHandle(t,function(){return{focus:function(){var O;(O=h.current)===null||O===void 0||O.focus()},blur:function(){var O;(O=h.current)===null||O===void 0||O.blur()},input:h.current}});var $=X(o,i,(r={},U(r,"".concat(o,"-checked"),C),U(r,"".concat(o,"-disabled"),s),r)),x=function(O){s||("checked"in e||w(O.target.checked),g==null||g({target:A(A({},e),{},{type:m,checked:O.target.checked}),stopPropagation:function(){O.stopPropagation()},preventDefault:function(){O.preventDefault()},nativeEvent:O.nativeEvent}))};return a.createElement("span",{className:$,title:p,style:c},a.createElement("input",ue({},b,{className:"".concat(o,"-input"),ref:h,onChange:x,disabled:s,checked:!!C,type:m})),a.createElement("span",{className:"".concat(o,"-inner")}))});const zu=e=>{const{componentCls:t,antCls:r}=e,n=`${t}-group`;return{[n]:Object.assign(Object.assign({},bt(e)),{display:"inline-block",fontSize:0,[`&${n}-rtl`]:{direction:"rtl"},[`${r}-badge ${r}-badge-count`]:{zIndex:1},[`> ${r}-badge:not(:first-child) > ${r}-button-wrapper`]:{borderInlineStart:"none"}})}},Ku=e=>{const{componentCls:t,wrapperMarginInlineEnd:r,colorPrimary:n,radioSize:o,motionDurationSlow:i,motionDurationMid:c,motionEaseInOutCirc:l,colorBgContainer:s,colorBorder:d,lineWidth:u,dotSize:f,colorBgContainerDisabled:m,colorTextDisabled:p,paddingXS:g,dotColorDisabled:b,lineType:h,radioDotDisabledSize:v,wireframe:y,colorWhite:C}=e,w=`${t}-inner`;return{[`${t}-wrapper`]:Object.assign(Object.assign({},bt(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:r,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${u}px ${h} ${n}`,borderRadius:"50%",visibility:"hidden",content:'""'},[t]:Object.assign(Object.assign({},bt(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, + &:hover ${w}`]:{borderColor:n},[`${t}-input:focus-visible + ${w}`]:Object.assign({},nn(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:o,height:o,marginBlockStart:o/-2,marginInlineStart:o/-2,backgroundColor:y?n:C,borderBlockStart:0,borderInlineStart:0,borderRadius:o,transform:"scale(0)",opacity:0,transition:`all ${i} ${l}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:o,height:o,backgroundColor:s,borderColor:d,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${c}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[w]:{borderColor:n,backgroundColor:y?s:n,"&::after":{transform:`scale(${f/o})`,opacity:1,transition:`all ${i} ${l}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[w]:{backgroundColor:m,borderColor:d,cursor:"not-allowed","&::after":{backgroundColor:b}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:p,cursor:"not-allowed"},[`&${t}-checked`]:{[w]:{"&::after":{transform:`scale(${v/o})`}}}},[`span${t} + *`]:{paddingInlineStart:g,paddingInlineEnd:g}})}},Bu=e=>{const{buttonColor:t,controlHeight:r,componentCls:n,lineWidth:o,lineType:i,colorBorder:c,motionDurationSlow:l,motionDurationMid:s,buttonPaddingInline:d,fontSize:u,buttonBg:f,fontSizeLG:m,controlHeightLG:p,controlHeightSM:g,paddingXS:b,borderRadius:h,borderRadiusSM:v,borderRadiusLG:y,buttonCheckedBg:C,buttonSolidCheckedColor:w,colorTextDisabled:$,colorBgContainerDisabled:x,buttonCheckedBgDisabled:N,buttonCheckedColorDisabled:O,colorPrimary:S,colorPrimaryHover:R,colorPrimaryActive:T,buttonSolidCheckedBg:E,buttonSolidCheckedHoverBg:I,buttonSolidCheckedActiveBg:P}=e;return{[`${n}-button-wrapper`]:{position:"relative",display:"inline-block",height:r,margin:0,paddingInline:d,paddingBlock:0,color:t,fontSize:u,lineHeight:`${r-o*2}px`,background:f,border:`${o}px ${i} ${c}`,borderBlockStartWidth:o+.02,borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${n}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-o,insetInlineStart:-o,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:c,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${o}px ${i} ${c}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${n}-group-large &`]:{height:p,fontSize:m,lineHeight:`${p-o*2}px`,"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},[`${n}-group-small &`]:{height:g,paddingInline:b-o,paddingBlock:0,lineHeight:`${g-o*2}px`,"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},"&:hover":{position:"relative",color:S},"&:has(:focus-visible)":Object.assign({},nn(e)),[`${n}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${n}-button-wrapper-disabled)`]:{zIndex:1,color:S,background:C,borderColor:S,"&::before":{backgroundColor:S},"&:first-child":{borderColor:S},"&:hover":{color:R,borderColor:R,"&::before":{backgroundColor:R}},"&:active":{color:T,borderColor:T,"&::before":{backgroundColor:T}}},[`${n}-group-solid &-checked:not(${n}-button-wrapper-disabled)`]:{color:w,background:E,borderColor:E,"&:hover":{color:w,background:I,borderColor:I},"&:active":{color:w,background:P,borderColor:P}},"&-disabled":{color:$,backgroundColor:x,borderColor:c,cursor:"not-allowed","&:first-child, &:hover":{color:$,backgroundColor:x,borderColor:c}},[`&-disabled${n}-button-wrapper-checked`]:{color:O,backgroundColor:N,borderColor:c,boxShadow:"none"}}}},ra=e=>e-4*2,Ni=Nt("Radio",e=>{const{controlOutline:t,controlOutlineWidth:r,radioSize:n}=e,o=`0 0 0 ${r}px ${t}`,i=o,c=ra(n),l=at(e,{radioDotDisabledSize:c,radioFocusShadow:o,radioButtonFocusShadow:i});return[zu(l),Ku(l),Bu(l)]},e=>{const{wireframe:t,padding:r,marginXS:n,lineWidth:o,fontSizeLG:i,colorText:c,colorBgContainer:l,colorTextDisabled:s,controlItemBgActiveDisabled:d,colorTextLightSolid:u,colorPrimary:f,colorPrimaryHover:m,colorPrimaryActive:p}=e,g=4,b=i,h=t?ra(b):b-(g+o)*2;return{radioSize:b,dotSize:h,dotColorDisabled:s,buttonSolidCheckedColor:u,buttonSolidCheckedBg:f,buttonSolidCheckedHoverBg:m,buttonSolidCheckedActiveBg:p,buttonBg:l,buttonCheckedBg:l,buttonColor:c,buttonCheckedBgDisabled:d,buttonCheckedColorDisabled:s,buttonPaddingInline:r-o,wrapperMarginInlineEnd:n}});var Lu=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;const o=a.useContext(Ei),i=a.useContext(Ii),{getPrefixCls:c,direction:l,radio:s}=a.useContext(Xe),d=a.useRef(null),u=qt(t,d),{isFormItemInput:f}=a.useContext(Tn),m=T=>{var E,I;(E=e.onChange)===null||E===void 0||E.call(e,T),(I=o==null?void 0:o.onChange)===null||I===void 0||I.call(o,T)},{prefixCls:p,className:g,rootClassName:b,children:h,style:v}=e,y=Lu(e,["prefixCls","className","rootClassName","children","style"]),C=c("radio",p),w=((o==null?void 0:o.optionType)||i)==="button",$=w?`${C}-button`:C,[x,N]=Ni(C),O=Object.assign({},y),S=a.useContext(sr);o&&(O.name=o.name,O.onChange=m,O.checked=e.value===o.value,O.disabled=(r=O.disabled)!==null&&r!==void 0?r:o.disabled),O.disabled=(n=O.disabled)!==null&&n!==void 0?n:S;const R=X(`${$}-wrapper`,{[`${$}-wrapper-checked`]:O.checked,[`${$}-wrapper-disabled`]:O.disabled,[`${$}-wrapper-rtl`]:l==="rtl",[`${$}-wrapper-in-form-item`]:f},s==null?void 0:s.className,g,b,N);return x(a.createElement(po,{component:"Radio",disabled:O.disabled},a.createElement("label",{className:R,style:Object.assign(Object.assign({},s==null?void 0:s.style),v),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},a.createElement(Oi,Object.assign({},O,{className:X(O.className,!w&&gr),type:"radio",prefixCls:$,ref:u})),h!==void 0?a.createElement("span",null,h):null)))},_u=a.forwardRef(Hu),ar=_u,ku=a.forwardRef((e,t)=>{const{getPrefixCls:r,direction:n}=a.useContext(Xe),[o,i]=Yt(e.defaultValue,{value:e.value}),c=E=>{const I=o,P=E.target.value;"value"in e||i(P);const{onChange:B}=e;B&&P!==I&&B(E)},{prefixCls:l,className:s,rootClassName:d,options:u,buttonStyle:f="outline",disabled:m,children:p,size:g,style:b,id:h,onMouseEnter:v,onMouseLeave:y,onFocus:C,onBlur:w}=e,$=r("radio",l),x=`${$}-group`,[N,O]=Ni($);let S=p;u&&u.length>0&&(S=u.map(E=>typeof E=="string"||typeof E=="number"?a.createElement(ar,{key:E.toString(),prefixCls:$,disabled:m,value:E,checked:o===E},E):a.createElement(ar,{key:`radio-group-value-options-${E.value}`,prefixCls:$,disabled:E.disabled||m,value:E.value,checked:o===E.value,title:E.title,style:E.style,id:E.id},E.label)));const R=Cn(g),T=X(x,`${x}-${f}`,{[`${x}-${R}`]:R,[`${x}-rtl`]:n==="rtl"},s,d,O);return N(a.createElement("div",Object.assign({},Dt(e,{aria:!0,data:!0}),{className:T,style:b,onMouseEnter:v,onMouseLeave:y,onFocus:C,onBlur:w,id:h,ref:t}),a.createElement(Tu,{value:{onChange:c,value:o,disabled:e.disabled,name:e.name,optionType:e.optionType}},S)))}),ju=a.memo(ku);var Au=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:r}=a.useContext(Xe),{prefixCls:n}=e,o=Au(e,["prefixCls"]),i=r("radio",n);return a.createElement(Du,{value:"button"},a.createElement(ar,Object.assign({prefixCls:i},o,{type:"radio",ref:t})))},Wu=a.forwardRef(Fu),yr=ar;yr.Button=Wu;yr.Group=ju;yr.__ANT_RADIO=!0;const Ri=yr;function Vu(e,t,r){var n=r||{},o=n.noTrailing,i=o===void 0?!1:o,c=n.noLeading,l=c===void 0?!1:c,s=n.debounceMode,d=s===void 0?void 0:s,u,f=!1,m=0;function p(){u&&clearTimeout(u)}function g(h){var v=h||{},y=v.upcomingOnly,C=y===void 0?!1:y;p(),f=!C}function b(){for(var h=arguments.length,v=new Array(h),y=0;ye?l?(m=Date.now(),i||(u=setTimeout(d?x:$,e))):$():i!==!0&&(u=setTimeout(d?x:$,d===void 0?e-w:e))}return b.cancel=g,b}function Gu(e,t,r){var n=r||{},o=n.atBegin,i=o===void 0?!1:o;return Vu(e,t,{debounceMode:i!==!1})}function xt(e,t){return e[t]}var Xu=["children"];function Pi(e,t){return"".concat(e,"-").concat(t)}function Uu(e){return e&&e.type&&e.type.isTreeNode}function Hn(e,t){return e??t}function bn(e){var t=e||{},r=t.title,n=t._title,o=t.key,i=t.children,c=r||"title";return{title:c,_title:n||[c],key:o||"key",children:i||"children"}}function Ti(e){function t(r){var n=pr(r);return n.map(function(o){if(!Uu(o))return Ht(!o,"Tree/TreeNode can only accept TreeNode as children."),null;var i=o.key,c=o.props,l=c.children,s=it(c,Xu),d=A({key:i},s),u=t(l);return u.length&&(d.children=u),d}).filter(function(o){return o})}return t(e)}function Hr(e,t,r){var n=bn(r),o=n._title,i=n.key,c=n.children,l=new Set(t===!0?[]:t),s=[];function d(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return u.map(function(m,p){for(var g=Pi(f?f.pos:"0",p),b=Hn(m[i],g),h,v=0;v1&&arguments[1]!==void 0?arguments[1]:{},r=t.initWrapper,n=t.processEntity,o=t.onProcessFinished,i=t.externalGetKey,c=t.childrenPropName,l=t.fieldNames,s=arguments.length>2?arguments[2]:void 0,d=i||s,u={},f={},m={posEntities:u,keyEntities:f};return r&&(m=r(m)||m),Yu(e,function(p){var g=p.node,b=p.index,h=p.pos,v=p.key,y=p.parentPos,C=p.level,w=p.nodes,$={node:g,nodes:w,index:b,key:v,pos:h,level:C},x=Hn(v,h);u[h]=$,f[x]=$,$.parent=u[y],$.parent&&($.parent.children=$.parent.children||[],$.parent.children.push($)),n&&n($,m)},{externalGetKey:d,childrenPropName:c,fieldNames:l}),o&&o(m),m}function On(e,t){var r=t.expandedKeys,n=t.selectedKeys,o=t.loadedKeys,i=t.loadingKeys,c=t.checkedKeys,l=t.halfCheckedKeys,s=t.dragOverNodeKey,d=t.dropPosition,u=t.keyEntities,f=xt(u,e),m={eventKey:e,expanded:r.indexOf(e)!==-1,selected:n.indexOf(e)!==-1,loaded:o.indexOf(e)!==-1,loading:i.indexOf(e)!==-1,checked:c.indexOf(e)!==-1,halfChecked:l.indexOf(e)!==-1,pos:String(f?f.pos:""),dragOver:s===e&&d===0,dragOverGapTop:s===e&&d===-1,dragOverGapBottom:s===e&&d===1};return m}function ot(e){var t=e.data,r=e.expanded,n=e.selected,o=e.checked,i=e.loaded,c=e.loading,l=e.halfChecked,s=e.dragOver,d=e.dragOverGapTop,u=e.dragOverGapBottom,f=e.pos,m=e.active,p=e.eventKey,g=A(A({},t),{},{expanded:r,selected:n,checked:o,loaded:i,loading:c,halfChecked:l,dragOver:s,dragOverGapTop:d,dragOverGapBottom:u,pos:f,active:m,key:p});return"props"in g||Object.defineProperty(g,"props",{get:function(){return Ht(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}function Di(e,t){var r=new Set;return e.forEach(function(n){t.has(n)||r.add(n)}),r}function qu(e){var t=e||{},r=t.disabled,n=t.disableCheckbox,o=t.checkable;return!!(r||n)||o===!1}function Ju(e,t,r,n){for(var o=new Set(e),i=new Set,c=0;c<=r;c+=1){var l=t.get(c)||new Set;l.forEach(function(f){var m=f.key,p=f.node,g=f.children,b=g===void 0?[]:g;o.has(m)&&!n(p)&&b.filter(function(h){return!n(h.node)}).forEach(function(h){o.add(h.key)})})}for(var s=new Set,d=r;d>=0;d-=1){var u=t.get(d)||new Set;u.forEach(function(f){var m=f.parent,p=f.node;if(!(n(p)||!f.parent||s.has(f.parent.key))){if(n(f.parent.node)){s.add(m.key);return}var g=!0,b=!1;(m.children||[]).filter(function(h){return!n(h.node)}).forEach(function(h){var v=h.key,y=o.has(v);g&&!y&&(g=!1),!b&&(y||i.has(v))&&(b=!0)}),g&&o.add(m.key),b&&i.add(m.key),s.add(m.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(Di(i,o))}}function Qu(e,t,r,n,o){for(var i=new Set(e),c=new Set(t),l=0;l<=n;l+=1){var s=r.get(l)||new Set;s.forEach(function(m){var p=m.key,g=m.node,b=m.children,h=b===void 0?[]:b;!i.has(p)&&!c.has(p)&&!o(g)&&h.filter(function(v){return!o(v.node)}).forEach(function(v){i.delete(v.key)})})}c=new Set;for(var d=new Set,u=n;u>=0;u-=1){var f=r.get(u)||new Set;f.forEach(function(m){var p=m.parent,g=m.node;if(!(o(g)||!m.parent||d.has(m.parent.key))){if(o(m.parent.node)){d.add(p.key);return}var b=!0,h=!1;(p.children||[]).filter(function(v){return!o(v.node)}).forEach(function(v){var y=v.key,C=i.has(y);b&&!C&&(b=!1),!h&&(C||c.has(y))&&(h=!0)}),b||i.delete(p.key),h&&c.add(p.key),d.add(p.key)}})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(Di(c,i))}}function vn(e,t,r,n){var o=[],i;n?i=n:i=qu;var c=new Set(e.filter(function(u){var f=!!xt(r,u);return f||o.push(u),f})),l=new Map,s=0;Object.keys(r).forEach(function(u){var f=r[u],m=f.level,p=l.get(m);p||(p=new Set,l.set(m,p)),p.add(f),s=Math.max(s,m)}),Ht(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var d;return t===!0?d=Ju(c,l,s,i):d=Qu(c,t.halfCheckedKeys,l,s,i),d}const Zu=e=>{const{checkboxCls:t}=e,r=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},bt(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[r]:Object.assign(Object.assign({},bt(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${r}`]:{marginInlineStart:0},[`&${r}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},bt(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},nn(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` + ${r}:not(${r}-disabled), + ${t}:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${r}:not(${r}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` + ${r}-checked:not(${r}-disabled), + ${t}-checked:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${r}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function Mi(e,t){const r=at(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[Zu(r)]}const zi=Nt("Checkbox",(e,t)=>{let{prefixCls:r}=t;return[Mi(r,e)]}),ef=ee.createContext(null),Ki=ef;var tf=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r;const{prefixCls:n,className:o,rootClassName:i,children:c,indeterminate:l=!1,style:s,onMouseEnter:d,onMouseLeave:u,skipGroup:f=!1,disabled:m}=e,p=tf(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:g,direction:b,checkbox:h}=a.useContext(Xe),v=a.useContext(Ki),{isFormItemInput:y}=a.useContext(Tn),C=a.useContext(sr),w=(r=(v==null?void 0:v.disabled)||m)!==null&&r!==void 0?r:C,$=a.useRef(p.value);a.useEffect(()=>{v==null||v.registerValue(p.value)},[]),a.useEffect(()=>{if(!f)return p.value!==$.current&&(v==null||v.cancelValue($.current),v==null||v.registerValue(p.value),$.current=p.value),()=>v==null?void 0:v.cancelValue(p.value)},[p.value]);const x=g("checkbox",n),[N,O]=zi(x),S=Object.assign({},p);v&&!f&&(S.onChange=function(){p.onChange&&p.onChange.apply(p,arguments),v.toggleOption&&v.toggleOption({label:c,value:p.value})},S.name=v.name,S.checked=v.value.includes(p.value));const R=X(`${x}-wrapper`,{[`${x}-rtl`]:b==="rtl",[`${x}-wrapper-checked`]:S.checked,[`${x}-wrapper-disabled`]:w,[`${x}-wrapper-in-form-item`]:y},h==null?void 0:h.className,o,i,O),T=X({[`${x}-indeterminate`]:l},gr,O),E=l?"mixed":void 0;return N(a.createElement(po,{component:"Checkbox",disabled:w},a.createElement("label",{className:R,style:Object.assign(Object.assign({},h==null?void 0:h.style),s),onMouseEnter:d,onMouseLeave:u},a.createElement(Oi,Object.assign({"aria-checked":E},S,{prefixCls:x,className:T,disabled:w,ref:t})),c!==void 0&&a.createElement("span",null,c))))},rf=a.forwardRef(nf),Bi=rf;var of=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{defaultValue:r,children:n,options:o=[],prefixCls:i,className:c,rootClassName:l,style:s,onChange:d}=e,u=of(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:f,direction:m}=a.useContext(Xe),[p,g]=a.useState(u.value||r||[]),[b,h]=a.useState([]);a.useEffect(()=>{"value"in u&&g(u.value||[])},[u.value]);const v=a.useMemo(()=>o.map(I=>typeof I=="string"||typeof I=="number"?{label:I,value:I}:I),[o]),y=I=>{h(P=>P.filter(B=>B!==I))},C=I=>{h(P=>[].concat(we(P),[I]))},w=I=>{const P=p.indexOf(I.value),B=we(p);P===-1?B.push(I.value):B.splice(P,1),"value"in u||g(B),d==null||d(B.filter(M=>b.includes(M)).sort((M,D)=>{const z=v.findIndex(_=>_.value===M),L=v.findIndex(_=>_.value===D);return z-L}))},$=f("checkbox",i),x=`${$}-group`,[N,O]=zi($),S=jt(u,["value","disabled"]),R=o.length?v.map(I=>a.createElement(Bi,{prefixCls:$,key:I.value.toString(),disabled:"disabled"in I?I.disabled:u.disabled,value:I.value,checked:p.includes(I.value),onChange:I.onChange,className:`${x}-item`,style:I.style,title:I.title,id:I.id},I.label)):n,T={toggleOption:w,value:p,disabled:u.disabled,name:u.name,registerValue:C,cancelValue:y},E=X(x,{[`${x}-rtl`]:m==="rtl"},c,l,O);return N(a.createElement("div",Object.assign({className:E,style:s},S,{ref:t}),a.createElement(Ki.Provider,{value:T},R)))},lf=a.forwardRef(af),sf=a.memo(lf),Eo=Bi;Eo.Group=sf;Eo.__ANT_CHECKBOX=!0;const ir=Eo,cf=e=>{const{getPrefixCls:t,direction:r}=a.useContext(Xe),{prefixCls:n,className:o}=e,i=t("input-group",n),c=t("input"),[l,s]=Jl(c),d=X(i,{[`${i}-lg`]:e.size==="large",[`${i}-sm`]:e.size==="small",[`${i}-compact`]:e.compact,[`${i}-rtl`]:r==="rtl"},s,o),u=a.useContext(Tn),f=a.useMemo(()=>Object.assign(Object.assign({},u),{isFormItemInput:!1}),[u]);return l(a.createElement("span",{className:d,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},a.createElement(Tn.Provider,{value:f},e.children)))},df=cf;var uf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};const ff=uf;var pf=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:ff}))};const mf=a.forwardRef(pf);var gf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const vf=gf;var hf=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:vf}))};const bf=a.forwardRef(hf);var yf=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);oe?a.createElement(bf,null):a.createElement(mf,null),Sf={click:"onClick",hover:"onMouseOver"},xf=a.forwardRef((e,t)=>{const{visibilityToggle:r=!0}=e,n=typeof r=="object"&&r.visible!==void 0,[o,i]=a.useState(()=>n?r.visible:!1),c=a.useRef(null);a.useEffect(()=>{n&&i(r.visible)},[n,r]);const l=Ql(c),s=()=>{const{disabled:$}=e;$||(o&&l(),i(x=>{var N;const O=!x;return typeof r=="object"&&((N=r.onVisibleChange)===null||N===void 0||N.call(r,O)),O}))},d=$=>{const{action:x="click",iconRender:N=Cf}=e,O=Sf[x]||"",S=N(o),R={[O]:s,className:`${$}-icon`,key:"passwordIcon",onMouseDown:T=>{T.preventDefault()},onMouseUp:T=>{T.preventDefault()}};return a.cloneElement(a.isValidElement(S)?S:a.createElement("span",null,S),R)},{className:u,prefixCls:f,inputPrefixCls:m,size:p}=e,g=yf(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:b}=a.useContext(Xe),h=b("input",m),v=b("input-password",f),y=r&&d(v),C=X(v,u,{[`${v}-${p}`]:!!p}),w=Object.assign(Object.assign({},jt(g,["suffix","iconRender","visibilityToggle"])),{type:o?"text":"password",className:C,prefixCls:h,suffix:y});return p&&(w.size=p),a.createElement(uo,Object.assign({ref:qt(t,c)},w))}),wf=xf;var $f=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,inputPrefixCls:n,className:o,size:i,suffix:c,enterButton:l=!1,addonAfter:s,loading:d,disabled:u,onSearch:f,onChange:m,onCompositionStart:p,onCompositionEnd:g}=e,b=$f(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:h,direction:v}=a.useContext(Xe),y=a.useRef(!1),C=h("input-search",r),w=h("input",n),{compactSize:$}=fr(C,v),x=Cn(_=>{var F;return(F=i??$)!==null&&F!==void 0?F:_}),N=a.useRef(null),O=_=>{_&&_.target&&_.type==="click"&&f&&f(_.target.value,_,{source:"clear"}),m&&m(_)},S=_=>{var F;document.activeElement===((F=N.current)===null||F===void 0?void 0:F.input)&&_.preventDefault()},R=_=>{var F,J;f&&f((J=(F=N.current)===null||F===void 0?void 0:F.input)===null||J===void 0?void 0:J.value,_,{source:"input"})},T=_=>{y.current||d||R(_)},E=typeof l=="boolean"?a.createElement(xo,null):null,I=`${C}-button`;let P;const B=l||{},M=B.type&&B.type.__ANT_BUTTON===!0;M||B.type==="button"?P=_t(B,Object.assign({onMouseDown:S,onClick:_=>{var F,J;(J=(F=B==null?void 0:B.props)===null||F===void 0?void 0:F.onClick)===null||J===void 0||J.call(F,_),R(_)},key:"enterButton"},M?{className:I,size:x}:{})):P=a.createElement(Mn,{className:I,type:l?"primary":void 0,size:x,disabled:u,key:"enterButton",onMouseDown:S,onClick:R,loading:d,icon:E},l),s&&(P=[P,_t(s,{key:"addonAfter"})]);const D=X(C,{[`${C}-rtl`]:v==="rtl",[`${C}-${x}`]:!!x,[`${C}-with-button`]:!!l},o),z=_=>{y.current=!0,p==null||p(_)},L=_=>{y.current=!1,g==null||g(_)};return a.createElement(uo,Object.assign({ref:qt(N,t),onPressEnter:T},b,{size:x,onCompositionStart:z,onCompositionEnd:L,prefixCls:w,addonAfter:P,suffix:c,onChange:O,className:D,disabled:u}))}),If=Ef,_n=uo;_n.Group=df;_n.Search=If;_n.TextArea=Zl;_n.Password=wf;const Of=_n;function oa(e){return["small","middle","large"].includes(e)}function aa(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const Li=ee.createContext({latestIndex:0}),Nf=Li.Provider,Rf=e=>{let{className:t,index:r,children:n,split:o,style:i}=e;const{latestIndex:c}=a.useContext(Li);return n==null?null:a.createElement(a.Fragment,null,a.createElement("div",{className:t,style:i},n),r{var r,n;const{getPrefixCls:o,space:i,direction:c}=a.useContext(Xe),{size:l=(i==null?void 0:i.size)||"small",align:s,className:d,rootClassName:u,children:f,direction:m="horizontal",prefixCls:p,split:g,style:b,wrap:h=!1,classNames:v,styles:y}=e,C=Tf(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[w,$]=Array.isArray(l)?l:[l,l],x=oa($),N=oa(w),O=aa($),S=aa(w),R=pr(f,{keepEmpty:!0}),T=s===void 0&&m==="horizontal"?"center":s,E=o("space",p),[I,P]=ts(E),B=X(E,i==null?void 0:i.className,P,`${E}-${m}`,{[`${E}-rtl`]:c==="rtl",[`${E}-align-${T}`]:T,[`${E}-gap-row-${$}`]:x,[`${E}-gap-col-${w}`]:N},d,u),M=X(`${E}-item`,(r=v==null?void 0:v.item)!==null&&r!==void 0?r:(n=i==null?void 0:i.classNames)===null||n===void 0?void 0:n.item);let D=0;const z=R.map((F,J)=>{var ae,Y;F!=null&&(D=J);const q=F&&F.key||`${M}-${J}`;return a.createElement(Pf,{className:M,key:q,index:J,split:g,style:(ae=y==null?void 0:y.item)!==null&&ae!==void 0?ae:(Y=i==null?void 0:i.styles)===null||Y===void 0?void 0:Y.item},F)}),L=a.useMemo(()=>({latestIndex:D}),[D]);if(R.length===0)return null;const _={};return h&&(_.flexWrap="wrap"),!N&&S&&(_.columnGap=w),!x&&O&&(_.rowGap=$),I(a.createElement("div",Object.assign({ref:t,className:B,style:Object.assign(Object.assign(Object.assign({},_),i==null?void 0:i.style),b)},C),a.createElement(Nf,{value:L},z)))}),Hi=Df;Hi.Compact=es;const Mf=Hi;var zf=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{getPopupContainer:t,getPrefixCls:r,direction:n}=a.useContext(Xe),{prefixCls:o,type:i="default",danger:c,disabled:l,loading:s,onClick:d,htmlType:u,children:f,className:m,menu:p,arrow:g,autoFocus:b,overlay:h,trigger:v,align:y,open:C,onOpenChange:w,placement:$,getPopupContainer:x,href:N,icon:O=a.createElement(ns,null),title:S,buttonsRender:R=Z=>Z,mouseEnterDelay:T,mouseLeaveDelay:E,overlayClassName:I,overlayStyle:P,destroyPopupOnHide:B,dropdownRender:M}=e,D=zf(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),z=r("dropdown",o),L=`${z}-button`,[_,F]=wi(z),J={menu:p,arrow:g,autoFocus:b,align:y,disabled:l,trigger:l?[]:v,onOpenChange:w,getPopupContainer:x||t,mouseEnterDelay:T,mouseLeaveDelay:E,overlayClassName:I,overlayStyle:P,destroyPopupOnHide:B,dropdownRender:M},{compactSize:ae,compactItemClassnames:Y}=fr(z,n),q=X(L,Y,m,F);"overlay"in e&&(J.overlay=h),"open"in e&&(J.open=C),"placement"in e?J.placement=$:J.placement=n==="rtl"?"bottomLeft":"bottomRight";const de=a.createElement(Mn,{type:i,danger:c,disabled:l,loading:s,onClick:d,htmlType:u,href:N,title:S},f),V=a.createElement(Mn,{type:i,danger:c,icon:O}),[j,Q]=R([de,V]);return _(a.createElement(Mf.Compact,Object.assign({className:q,size:ae,block:!0},D),j,a.createElement($i,Object.assign({},J),Q)))};_i.__ANT_BUTTON=!0;const Kf=_i,ki=$i;ki.Button=Kf;const ji=ki;function ia(e){var t=e.getBoundingClientRect(),r=document.documentElement;return{left:t.left+(window.pageXOffset||r.scrollLeft)-(r.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||r.scrollTop)-(r.clientTop||document.body.clientTop||0)}}function Xn(e,t,r,n){var o=Bo.unstable_batchedUpdates?function(c){Bo.unstable_batchedUpdates(r,c)}:r;return e!=null&&e.addEventListener&&e.addEventListener(t,o,n),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,o,n)}}}function Bf(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const o=r[n];o!==void 0&&(e[n]=o)})}return e}var Lf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const Hf=Lf;var _f=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:Hf}))};const la=a.forwardRef(_f);var kf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};const jf=kf;var Af=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:jf}))};const sa=a.forwardRef(Af);var en={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40};const Ff={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"};var Ai=function(e){dr(r,e);var t=ur(r);function r(){var n;Kn(this,r);for(var o=arguments.length,i=new Array(o),c=0;c=0||l.relatedTarget.className.indexOf("".concat(f,"-item"))>=0))&&u(n.getValidValue()))},n.go=function(l){var s=n.state.goInputText;s!==""&&(l.keyCode===en.ENTER||l.type==="click")&&(n.setState({goInputText:""}),n.props.quickGo(n.getValidValue()))},n}return zn(r,[{key:"getPageSizeOptions",value:function(){var o=this.props,i=o.pageSize,c=o.pageSizeOptions;return c.some(function(l){return l.toString()===i.toString()})?c:c.concat([i.toString()]).sort(function(l,s){var d=Number.isNaN(Number(l))?0:Number(l),u=Number.isNaN(Number(s))?0:Number(s);return d-u})}},{key:"render",value:function(){var o=this,i=this.props,c=i.pageSize,l=i.locale,s=i.rootPrefixCls,d=i.changeSize,u=i.quickGo,f=i.goButton,m=i.selectComponentClass,p=i.buildOptionText,g=i.selectPrefixCls,b=i.disabled,h=this.state.goInputText,v="".concat(s,"-options"),y=m,C=null,w=null,$=null;if(!d&&!u)return null;var x=this.getPageSizeOptions();if(d&&y){var N=x.map(function(O,S){return ee.createElement(y.Option,{key:S,value:O.toString()},(p||o.buildOptionText)(O))});C=ee.createElement(y,{disabled:b,prefixCls:g,showSearch:!1,className:"".concat(v,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(c||x[0]).toString(),onChange:this.changeSize,getPopupContainer:function(S){return S.parentNode},"aria-label":l.page_size,defaultOpen:!1},N)}return u&&(f&&($=typeof f=="boolean"?ee.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:b,className:"".concat(v,"-quick-jumper-button")},l.jump_to_confirm):ee.createElement("span",{onClick:this.go,onKeyUp:this.go},f)),w=ee.createElement("div",{className:"".concat(v,"-quick-jumper")},l.jump_to,ee.createElement("input",{disabled:b,type:"text",value:h,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":l.page}),l.page,$)),ee.createElement("li",{className:"".concat(v)},C,w)}}]),r}(ee.Component);Ai.defaultProps={pageSizeOptions:["10","20","50","100"]};var In=function(t){var r,n=t.rootPrefixCls,o=t.page,i=t.active,c=t.className,l=t.showTitle,s=t.onClick,d=t.onKeyPress,u=t.itemRender,f="".concat(n,"-item"),m=X(f,"".concat(f,"-").concat(o),(r={},U(r,"".concat(f,"-active"),i),U(r,"".concat(f,"-disabled"),!o),U(r,t.className,c),r)),p=function(){s(o)},g=function(v){d(v,s,o)},b=u(o,"page",ee.createElement("a",{rel:"nofollow"},o));return b?ee.createElement("li",{title:l?o.toString():null,className:m,onClick:p,onKeyPress:g,tabIndex:0},b):null};function Jr(){}function ca(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}var Wf=function(t,r,n){return n};function Vt(e,t,r){var n=typeof e>"u"?t.pageSize:e;return Math.floor((r.total-1)/n)+1}var Fi=function(e){dr(r,e);var t=ur(r);function r(n){var o;Kn(this,r),o=t.call(this,n),o.paginationNode=ee.createRef(),o.getJumpPrevPage=function(){return Math.max(1,o.state.current-(o.props.showLessItems?3:5))},o.getJumpNextPage=function(){return Math.min(Vt(void 0,o.state,o.props),o.state.current+(o.props.showLessItems?3:5))},o.getItemIcon=function(d,u){var f=o.props.prefixCls,m=d||ee.createElement("button",{type:"button","aria-label":u,className:"".concat(f,"-item-link")});return typeof d=="function"&&(m=ee.createElement(d,A({},o.props))),m},o.isValid=function(d){var u=o.props.total;return ca(d)&&d!==o.state.current&&ca(u)&&u>0},o.shouldDisplayQuickJumper=function(){var d=o.props,u=d.showQuickJumper,f=d.total,m=o.state.pageSize;return f<=m?!1:u},o.handleKeyDown=function(d){(d.keyCode===en.ARROW_UP||d.keyCode===en.ARROW_DOWN)&&d.preventDefault()},o.handleKeyUp=function(d){var u=o.getValidValue(d),f=o.state.currentInputValue;u!==f&&o.setState({currentInputValue:u}),d.keyCode===en.ENTER?o.handleChange(u):d.keyCode===en.ARROW_UP?o.handleChange(u-1):d.keyCode===en.ARROW_DOWN&&o.handleChange(u+1)},o.handleBlur=function(d){var u=o.getValidValue(d);o.handleChange(u)},o.changePageSize=function(d){var u=o.state.current,f=Vt(d,o.state,o.props);u=u>f?f:u,f===0&&(u=o.state.current),typeof d=="number"&&("pageSize"in o.props||o.setState({pageSize:d}),"current"in o.props||o.setState({current:u,currentInputValue:u})),o.props.onShowSizeChange(u,d),"onChange"in o.props&&o.props.onChange&&o.props.onChange(u,d)},o.handleChange=function(d){var u=o.props,f=u.disabled,m=u.onChange,p=o.state,g=p.pageSize,b=p.current,h=p.currentInputValue;if(o.isValid(d)&&!f){var v=Vt(void 0,o.state,o.props),y=d;return d>v?y=v:d<1&&(y=1),"current"in o.props||o.setState({current:y}),y!==h&&o.setState({currentInputValue:y}),m(y,g),y}return b},o.prev=function(){o.hasPrev()&&o.handleChange(o.state.current-1)},o.next=function(){o.hasNext()&&o.handleChange(o.state.current+1)},o.jumpPrev=function(){o.handleChange(o.getJumpPrevPage())},o.jumpNext=function(){o.handleChange(o.getJumpNextPage())},o.hasPrev=function(){return o.state.current>1},o.hasNext=function(){return o.state.current2?f-2:0),p=2;p=c?s=c:s=Number(i),s}},{key:"getShowSizeChanger",value:function(){var o=this.props,i=o.showSizeChanger,c=o.total,l=o.totalBoundaryShowSizeChanger;return typeof i<"u"?i:c>l}},{key:"render",value:function(){var o=this.props,i=o.prefixCls,c=o.className,l=o.style,s=o.disabled,d=o.hideOnSinglePage,u=o.total,f=o.locale,m=o.showQuickJumper,p=o.showLessItems,g=o.showTitle,b=o.showTotal,h=o.simple,v=o.itemRender,y=o.showPrevNextJumpers,C=o.jumpPrevIcon,w=o.jumpNextIcon,$=o.selectComponentClass,x=o.selectPrefixCls,N=o.pageSizeOptions,O=this.state,S=O.current,R=O.pageSize,T=O.currentInputValue;if(d===!0&&u<=R)return null;var E=Vt(void 0,this.state,this.props),I=[],P=null,B=null,M=null,D=null,z=null,L=m&&m.goButton,_=p?1:2,F=S-1>0?S-1:0,J=S+1u?u:S*R]));if(h){L&&(typeof L=="boolean"?z=ee.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},f.jump_to_confirm):z=ee.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},L),z=ee.createElement("li",{title:g?"".concat(f.jump_to).concat(S,"/").concat(E):null,className:"".concat(i,"-simple-pager")},z));var q=this.renderPrev(F);return ee.createElement("ul",ue({className:X(i,"".concat(i,"-simple"),U({},"".concat(i,"-disabled"),s),c),style:l,ref:this.paginationNode},ae),Y,q?ee.createElement("li",{title:g?f.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:X("".concat(i,"-prev"),U({},"".concat(i,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},q):null,ee.createElement("li",{title:g?"".concat(S,"/").concat(E):null,className:"".concat(i,"-simple-pager")},ee.createElement("input",{type:"text",value:T,disabled:s,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ee.createElement("span",{className:"".concat(i,"-slash")},"/"),E),ee.createElement("li",{title:g?f.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:X("".concat(i,"-next"),U({},"".concat(i,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(J)),z)}if(E<=3+_*2){var de={locale:f,rootPrefixCls:i,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:g,itemRender:v};E||I.push(ee.createElement(In,ue({},de,{key:"noPager",page:1,className:"".concat(i,"-item-disabled")})));for(var V=1;V<=E;V+=1){var j=S===V;I.push(ee.createElement(In,ue({},de,{key:V,page:V,active:j})))}}else{var Q=p?f.prev_3:f.prev_5,Z=p?f.next_3:f.next_5,G=v(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(C,"prev page")),W=v(this.getJumpNextPage(),"jump-next",this.getItemIcon(w,"next page"));y&&(P=G?ee.createElement("li",{title:g?Q:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:X("".concat(i,"-jump-prev"),U({},"".concat(i,"-jump-prev-custom-icon"),!!C))},G):null,B=W?ee.createElement("li",{title:g?Z:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:X("".concat(i,"-jump-next"),U({},"".concat(i,"-jump-next-custom-icon"),!!w))},W):null),D=ee.createElement(In,{locale:f,last:!0,rootPrefixCls:i,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:E,page:E,active:!1,showTitle:g,itemRender:v}),M=ee.createElement(In,{locale:f,rootPrefixCls:i,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:g,itemRender:v});var K=Math.max(1,S-_),k=Math.min(S+_,E);S-1<=_&&(k=1+_*2),E-S<=_&&(K=E-_*2);for(var H=K;H<=k;H+=1){var re=S===H;I.push(ee.createElement(In,{locale:f,rootPrefixCls:i,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:H,page:H,active:re,showTitle:g,itemRender:v}))}S-1>=_*2&&S!==1+2&&(I[0]=a.cloneElement(I[0],{className:"".concat(i,"-item-after-jump-prev")}),I.unshift(P)),E-S>=_*2&&S!==E-2&&(I[I.length-1]=a.cloneElement(I[I.length-1],{className:"".concat(i,"-item-before-jump-next")}),I.push(B)),K!==1&&I.unshift(M),k!==E&&I.push(D)}var te=!this.hasPrev()||!E,fe=!this.hasNext()||!E,le=this.renderPrev(F),ne=this.renderNext(J);return ee.createElement("ul",ue({className:X(i,c,U({},"".concat(i,"-disabled"),s)),style:l,ref:this.paginationNode},ae),Y,le?ee.createElement("li",{title:g?f.prev_page:null,onClick:this.prev,tabIndex:te?null:0,onKeyPress:this.runIfEnterPrev,className:X("".concat(i,"-prev"),U({},"".concat(i,"-disabled"),te)),"aria-disabled":te},le):null,I,ne?ee.createElement("li",{title:g?f.next_page:null,onClick:this.next,tabIndex:fe?null:0,onKeyPress:this.runIfEnterNext,className:X("".concat(i,"-next"),U({},"".concat(i,"-disabled"),fe)),"aria-disabled":fe},ne):null,ee.createElement(Ai,{disabled:s,locale:f,rootPrefixCls:i,selectComponentClass:$,selectPrefixCls:x,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:S,pageSize:R,pageSizeOptions:N,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:L}))}}],[{key:"getDerivedStateFromProps",value:function(o,i){var c={};if("current"in o&&(c.current=o.current,o.current!==i.current&&(c.currentInputValue=c.current)),"pageSize"in o&&o.pageSize!==i.pageSize){var l=i.current,s=Vt(o.pageSize,i,o);l=l>s?s:l,"current"in o||(c.current=l,c.currentInputValue=l),c.pageSize=o.pageSize}return c}}]),r}(ee.Component);Fi.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Jr,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Jr,locale:Ff,style:{},itemRender:Wf,totalBoundaryShowSizeChanger:50};const Wi=e=>a.createElement(br,Object.assign({},e,{showSearch:!0,size:"small"})),Vi=e=>a.createElement(br,Object.assign({},e,{showSearch:!0,size:"middle"}));Wi.Option=br.Option;Vi.Option=br.Option;const Vf=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Gf=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM-2}px`},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + &${t}-mini ${t}-prev ${t}-item-link, + &${t}-mini ${t}-next ${t}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,input:Object.assign(Object.assign({},as(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},Xf=e=>{const{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},Uf=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + ${t}-prev, + ${t}-jump-prev, + ${t}-jump-next + `]:{marginInlineEnd:e.marginXS},[` + ${t}-prev, + ${t}-next, + ${t}-jump-prev, + ${t}-jump-next + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},is(e)),{width:e.controlHeightLG*1.25,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},Yf=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:`${e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},qf=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},bt(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.itemSize-2}px`,verticalAlign:"middle"}}),Yf(e)),Uf(e)),Xf(e)),Gf(e)),Vf(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},Jf=e=>{const{componentCls:t}=e;return{[`${t}${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},Qf=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},Jn(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},nn(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},nn(e))}}}},Zf=Nt("Pagination",e=>{const t=at(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:e.controlHeightLG*1.1,paginationItemPaddingInline:e.marginXXS*1.5,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},rs(e),os(e));return[qf(t),Qf(t),e.wireframe&&Jf(t)]},e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0}));var ep=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,selectPrefixCls:r,className:n,rootClassName:o,style:i,size:c,locale:l,selectComponentClass:s,responsive:d,showSizeChanger:u}=e,f=ep(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:m}=xi(d),{getPrefixCls:p,direction:g,pagination:b={}}=a.useContext(Xe),h=p("pagination",t),[v,y]=Zf(h),C=u??b.showSizeChanger,w=a.useMemo(()=>{const E=a.createElement("span",{className:`${h}-item-ellipsis`},"•••"),I=a.createElement("button",{className:`${h}-item-link`,type:"button",tabIndex:-1},g==="rtl"?a.createElement(Wr,null):a.createElement(Ho,null)),P=a.createElement("button",{className:`${h}-item-link`,type:"button",tabIndex:-1},g==="rtl"?a.createElement(Ho,null):a.createElement(Wr,null)),B=a.createElement("a",{className:`${h}-item-link`},a.createElement("div",{className:`${h}-item-container`},g==="rtl"?a.createElement(sa,{className:`${h}-item-link-icon`}):a.createElement(la,{className:`${h}-item-link-icon`}),E)),M=a.createElement("a",{className:`${h}-item-link`},a.createElement("div",{className:`${h}-item-container`},g==="rtl"?a.createElement(la,{className:`${h}-item-link-icon`}):a.createElement(sa,{className:`${h}-item-link-icon`}),E));return{prevIcon:I,nextIcon:P,jumpPrevIcon:B,jumpNextIcon:M}},[g,h]),[$]=Fa("Pagination",Ml),x=Object.assign(Object.assign({},$),l),N=Cn(c),O=N==="small"||!!(m&&!N&&d),S=p("select",r),R=X({[`${h}-mini`]:O,[`${h}-rtl`]:g==="rtl"},b==null?void 0:b.className,n,o,y),T=Object.assign(Object.assign({},b==null?void 0:b.style),i);return v(a.createElement(Fi,Object.assign({},w,f,{style:T,prefixCls:h,selectPrefixCls:S,className:R,selectComponentClass:s||(O?Wi:Vi),locale:x,showSizeChanger:C})))},np=tp,rp=new Rt("antSpinMove",{to:{opacity:1}}),op=new Rt("antRotate",{to:{transform:"rotate(405deg)"}}),ap=e=>({[`${e.componentCls}`]:Object.assign(Object.assign({},bt(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.dotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.dotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`,fontSize:e.fontSize},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.dotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.dotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.dotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.dotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.dotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.dotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.dotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.dotSize-e.marginXXS/2)/2,height:(e.dotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:rp,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:op,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.dotSizeSM,i:{width:(e.dotSizeSM-e.marginXXS/2)/2,height:(e.dotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.dotSizeLG,i:{width:(e.dotSizeLG-e.marginXXS)/2,height:(e.dotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})}),ip=Nt("Spin",e=>{const t=at(e,{spinDotDefault:e.colorTextDescription});return[ap(t)]},e=>({contentHeight:400,dotSize:e.controlHeightLG/2,dotSizeSM:e.controlHeightLG*.35,dotSizeLG:e.controlHeight}));var lp=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{spinPrefixCls:t,spinning:r=!0,delay:n=0,className:o,rootClassName:i,size:c="default",tip:l,wrapperClassName:s,style:d,children:u,hashId:f}=e,m=lp(e,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[p,g]=a.useState(()=>r&&!cp(r,n));a.useEffect(()=>{if(r){const N=Gu(n,()=>{g(!0)});return N(),()=>{var O;(O=N==null?void 0:N.cancel)===null||O===void 0||O.call(N)}}g(!1)},[n,r]);const b=a.useMemo(()=>typeof u<"u",[u]),{direction:h,spin:v}=a.useContext(Xe),y=X(t,v==null?void 0:v.className,{[`${t}-sm`]:c==="small",[`${t}-lg`]:c==="large",[`${t}-spinning`]:p,[`${t}-show-text`]:!!l,[`${t}-rtl`]:h==="rtl"},o,i,f),C=X(`${t}-container`,{[`${t}-blur`]:p}),w=jt(m,["indicator","prefixCls"]),$=Object.assign(Object.assign({},v==null?void 0:v.style),d),x=a.createElement("div",Object.assign({},w,{style:$,className:y,"aria-live":"polite","aria-busy":p}),sp(t,e),l&&b?a.createElement("div",{className:`${t}-text`},l):null);return b?a.createElement("div",Object.assign({},w,{className:X(`${t}-nested-loading`,s,f)}),p&&a.createElement("div",{key:"loading"},x),a.createElement("div",{className:C,key:"container"},u)):x},Gi=e=>{const{prefixCls:t}=e,{getPrefixCls:r}=a.useContext(Xe),n=r("spin",t),[o,i]=ip(n),c=Object.assign(Object.assign({},e),{spinPrefixCls:n,hashId:i});return o(a.createElement(dp,Object.assign({},c)))};Gi.setDefaultIndicator=e=>{Yn=e};const up=Gi;var Ut={},kn="rc-table-internal-hook";function Io(e){var t=a.createContext(void 0),r=function(o){var i=o.value,c=o.children,l=a.useRef(i);l.current=i;var s=a.useState(function(){return{getValue:function(){return l.current},listeners:new Set}}),d=se(s,1),u=d[0];return Ot(function(){Fr.unstable_batchedUpdates(function(){u.listeners.forEach(function(f){f(i)})})},[i]),a.createElement(t.Provider,{value:u},c)};return{Context:t,Provider:r,defaultValue:e}}function yt(e,t){var r=rn(typeof t=="function"?t:function(f){if(t===void 0)return f;if(!Array.isArray(t))return f[t];var m={};return t.forEach(function(p){m[p]=f[p]}),m}),n=a.useContext(e==null?void 0:e.Context),o=n||{},i=o.listeners,c=o.getValue,l=a.useRef();l.current=r(n?c():e==null?void 0:e.defaultValue);var s=a.useState({}),d=se(s,2),u=d[1];return Ot(function(){if(!n)return;function f(m){var p=r(m);Pn(l.current,p,!0)||u({})}return i.add(f),function(){i.delete(f)}},[n]),l.current}function fp(){var e=a.createContext(null);function t(){return a.useContext(e)}function r(o,i){var c=Rn(o),l=function(d,u){var f=c?{ref:u}:{},m=a.useRef(0),p=a.useRef(d),g=t();return g!==null?a.createElement(o,ue({},d,f)):((!i||i(p.current,d))&&(m.current+=1),p.current=d,a.createElement(e.Provider,{value:m.current},a.createElement(o,ue({},d,f))))};return c?a.forwardRef(l):l}function n(o,i){var c=Rn(o),l=function(d,u){var f=c?{ref:u}:{};return t(),a.createElement(o,ue({},d,f))};return c?a.memo(a.forwardRef(l),i):a.memo(l,i)}return{makeImmutable:r,responseImmutable:n,useImmutableMark:t}}var Oo=fp(),Xi=Oo.makeImmutable,xn=Oo.responseImmutable,pp=Oo.useImmutableMark,St=Io();function mp(e,t){var r=a.useRef(0);r.current+=1;var n=a.useRef(e),o=[];Object.keys(e||{}).map(function(c){var l;(e==null?void 0:e[c])!==((l=n.current)===null||l===void 0?void 0:l[c])&&o.push(c)}),n.current=e;var i=a.useRef([]);return o.length&&(i.current=o),a.useDebugValue(r.current),a.useDebugValue(i.current.join(", ")),t&&console.log("".concat(t,":"),r.current,i.current),r.current}var gp=a.memo(function(){var e=mp();return a.createElement("h1",null,"Render Times: ",e)});gp.displayName="RenderBlock";var Ui=a.createContext({renderWithProps:!1}),vp="RC_TABLE_KEY";function hp(e){return e==null?[]:Array.isArray(e)?e:[e]}function Cr(e){var t=[],r={};return e.forEach(function(n){for(var o=n||{},i=o.key,c=o.dataIndex,l=i||hp(c).join("-")||vp;r[l];)l="".concat(l,"_next");r[l]=!0,t.push(l)}),t}function Qr(e){return e!=null}function bp(e){return e&&ft(e)==="object"&&!Array.isArray(e)&&!a.isValidElement(e)}function yp(e,t,r,n,o,i){var c=a.useContext(Ui),l=pp(),s=co(function(){if(Qr(n))return[n];var d=t==null||t===""?[]:Array.isArray(t)?t:[t],u=Ha(e,d),f=u,m=void 0;if(o){var p=o(u,e,r);bp(p)?(f=p.children,m=p.props,c.renderWithProps=!0):f=p}return[f,m]},[l,e,n,t,o,r],function(d,u){if(i){var f=se(d,2),m=f[1],p=se(u,2),g=p[1];return i(g,m)}return c.renderWithProps?!0:!Pn(d,u,!0)});return s}function Cp(e,t,r,n){var o=e+t-1;return e<=n&&o>=r}function Sp(e,t){return yt(St,function(r){var n=Cp(e,t||1,r.hoverStartRow,r.hoverEndRow);return[n,r.onHover]})}var xp=function(t){var r=t.ellipsis,n=t.rowType,o=t.children,i,c=r===!0?{showTitle:!0}:r;return c&&(c.showTitle||n==="header")&&(typeof o=="string"||typeof o=="number"?i=o.toString():a.isValidElement(o)&&typeof o.props.children=="string"&&(i=o.props.children)),i};function wp(e){var t,r,n,o,i,c,l,s,d=e.component,u=e.children,f=e.ellipsis,m=e.scope,p=e.prefixCls,g=e.className,b=e.align,h=e.record,v=e.render,y=e.dataIndex,C=e.renderIndex,w=e.shouldCellUpdate,$=e.index,x=e.rowType,N=e.colSpan,O=e.rowSpan,S=e.fixLeft,R=e.fixRight,T=e.firstFixLeft,E=e.lastFixLeft,I=e.firstFixRight,P=e.lastFixRight,B=e.appendNode,M=e.additionalProps,D=M===void 0?{}:M,z=e.isSticky,L="".concat(p,"-cell"),_=yt(St,["supportSticky","allColumnsFixedLeft"]),F=_.supportSticky,J=_.allColumnsFixedLeft,ae=yp(h,y,C,u,v,w),Y=se(ae,2),q=Y[0],de=Y[1],V={},j=typeof S=="number"&&F,Q=typeof R=="number"&&F;j&&(V.position="sticky",V.left=S),Q&&(V.position="sticky",V.right=R);var Z=(t=(r=(n=de==null?void 0:de.colSpan)!==null&&n!==void 0?n:D.colSpan)!==null&&r!==void 0?r:N)!==null&&t!==void 0?t:1,G=(o=(i=(c=de==null?void 0:de.rowSpan)!==null&&c!==void 0?c:D.rowSpan)!==null&&i!==void 0?i:O)!==null&&o!==void 0?o:1,W=Sp($,G),K=se(W,2),k=K[0],H=K[1],re=function(Ie){var pe;h&&H($,$+G-1),D==null||(pe=D.onMouseEnter)===null||pe===void 0||pe.call(D,Ie)},te=function(Ie){var pe;h&&H(-1,-1),D==null||(pe=D.onMouseLeave)===null||pe===void 0||pe.call(D,Ie)};if(Z===0||G===0)return null;var fe=(l=D.title)!==null&&l!==void 0?l:xp({rowType:x,ellipsis:f,children:q}),le=X(L,g,(s={},U(s,"".concat(L,"-fix-left"),j&&F),U(s,"".concat(L,"-fix-left-first"),T&&F),U(s,"".concat(L,"-fix-left-last"),E&&F),U(s,"".concat(L,"-fix-left-all"),E&&J&&F),U(s,"".concat(L,"-fix-right"),Q&&F),U(s,"".concat(L,"-fix-right-first"),I&&F),U(s,"".concat(L,"-fix-right-last"),P&&F),U(s,"".concat(L,"-ellipsis"),f),U(s,"".concat(L,"-with-append"),B),U(s,"".concat(L,"-fix-sticky"),(j||Q)&&z&&F),U(s,"".concat(L,"-row-hover"),!de&&k),s),D.className,de==null?void 0:de.className),ne={};b&&(ne.textAlign=b);var ce=A(A(A(A({},V),D.style),ne),de==null?void 0:de.style),$e=q;return ft($e)==="object"&&!Array.isArray($e)&&!a.isValidElement($e)&&($e=null),f&&(E||I)&&($e=a.createElement("span",{className:"".concat(L,"-content")},$e)),a.createElement(d,ue({},de,D,{className:le,style:ce,title:fe,scope:m,onMouseEnter:re,onMouseLeave:te,colSpan:Z!==1?Z:null,rowSpan:G!==1?G:null}),B,$e)}const sn=a.memo(wp);function No(e,t,r,n,o,i){var c=r[e]||{},l=r[t]||{},s,d;c.fixed==="left"?s=n.left[o==="rtl"?t:e]:l.fixed==="right"&&(d=n.right[o==="rtl"?e:t]);var u=!1,f=!1,m=!1,p=!1,g=r[t+1],b=r[e-1],h=!(i!=null&&i.children);if(o==="rtl"){if(s!==void 0){var v=b&&b.fixed==="left";p=!v&&h}else if(d!==void 0){var y=g&&g.fixed==="right";m=!y&&h}}else if(s!==void 0){var C=g&&g.fixed==="left";u=!C&&h}else if(d!==void 0){var w=b&&b.fixed==="right";f=!w&&h}return{fixLeft:s,fixRight:d,lastFixLeft:u,firstFixRight:f,lastFixRight:m,firstFixLeft:p,isSticky:n.isSticky}}var Yi=a.createContext({});function $p(e){var t=e.className,r=e.index,n=e.children,o=e.colSpan,i=o===void 0?1:o,c=e.rowSpan,l=e.align,s=yt(St,["prefixCls","direction"]),d=s.prefixCls,u=s.direction,f=a.useContext(Yi),m=f.scrollColumnIndex,p=f.stickyOffsets,g=f.flattenColumns,b=f.columns,h=r+i-1,v=h+1===m?i+1:i,y=No(r,r+v-1,g,p,u,b==null?void 0:b[r]);return a.createElement(sn,ue({className:t,index:r,component:"td",prefixCls:d,record:null,dataIndex:null,align:l,colSpan:v,rowSpan:c,render:function(){return n}},y))}var Ep=["children"];function Ip(e){var t=e.children,r=it(e,Ep);return a.createElement("tr",r,t)}function Sr(e){var t=e.children;return t}Sr.Row=Ip;Sr.Cell=$p;function Op(e){var t=e.children,r=e.stickyOffsets,n=e.flattenColumns,o=e.columns,i=yt(St,"prefixCls"),c=n.length-1,l=n[c],s=a.useMemo(function(){return{stickyOffsets:r,flattenColumns:n,scrollColumnIndex:l!=null&&l.scrollbar?c:null,columns:o}},[l,n,c,r,o]);return a.createElement(Yi.Provider,{value:s},a.createElement("tfoot",{className:"".concat(i,"-summary")},t))}const Un=xn(Op);var qi=Sr;function Ji(e,t,r,n,o,i,c){e.push({record:t,indent:r,index:c});var l=i(t),s=o==null?void 0:o.has(l);if(t&&Array.isArray(t[n])&&s)for(var d=0;d1?T-1:0),I=1;I=0;l-=1){var s=t[l],d=r&&r[l],u=d&&d[Nn];if(s||u||c){var f=u||{};f.columnType;var m=it(f,zp);o.unshift(a.createElement("col",ue({key:l,style:{width:s}},m))),c=!0}}return a.createElement("colgroup",null,o)}var Kp=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Bp(e,t){return a.useMemo(function(){for(var r=[],n=0;n1?"colgroup":"col":null,ellipsis:h.ellipsis,align:h.align,component:h.title?i:c,prefixCls:u,key:p[b]},v,{additionalProps:y,rowType:"header"}))}))}il.displayName="HeaderRow";function Lp(e){var t=[];function r(c,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[s]=t[s]||[];var d=l,u=c.filter(Boolean).map(function(f){var m={key:f.key,className:f.className||"",children:f.title,column:f,colStart:d},p=1,g=f.children;return g&&g.length>0&&(p=r(g,d,s+1).reduce(function(b,h){return b+h},0),m.hasSubColumns=!0),"colSpan"in f&&(p=f.colSpan),"rowSpan"in f&&(m.rowSpan=f.rowSpan),m.colSpan=p,m.colEnd=m.colStart+p-1,t[s].push(m),d+=p,p});return u}r(e,0);for(var n=t.length,o=function(l){t[l].forEach(function(s){!("rowSpan"in s)&&!s.hasSubColumns&&(s.rowSpan=n-l)})},i=0;i1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function _p(e,t,r){return a.useMemo(function(){if(t&&t>0){var n=0,o=0;e.forEach(function(m){var p=fa(t,m.width);p?n+=p:o+=1});var i=Math.max(t-n,o),c=o,l=i/o,s=0,d=e.map(function(m){var p=A({},m),g=fa(t,p.width);if(g)p.width=g;else{var b=Math.floor(l);p.width=c===1?i:b,i-=b,c-=1}return s+=p.width,p}),u=Math.max(t,r);if(s1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(r){return r&&ft(r)==="object"}).reduce(function(r,n,o){var i=n.fixed,c=i===!0?"left":i,l="".concat(t,"-").concat(o),s=n.children;return s&&s.length>0?[].concat(we(r),we(Zr(s,l).map(function(d){return A({fixed:c},d)}))):[].concat(we(r),[A(A({key:l},n),{},{fixed:c})])},[])}function Ap(e){return e.map(function(t){var r=t.fixed,n=it(t,jp),o=r;return r==="left"?o="right":r==="right"&&(o="left"),A({fixed:o},n)})}function Fp(e,t){var r=e.prefixCls,n=e.columns,o=e.children,i=e.expandable,c=e.expandedKeys,l=e.columnTitle,s=e.getRowKey,d=e.onTriggerExpand,u=e.expandIcon,f=e.rowExpandable,m=e.expandIconColumnIndex,p=e.direction,g=e.expandRowByClick,b=e.columnWidth,h=e.fixed,v=e.scrollWidth,y=e.clientWidth,C=a.useMemo(function(){return n||Ro(o)},[n,o]),w=a.useMemo(function(){if(i){var T,E=C.slice();if(!E.includes(Ut)){var I=m||0;I>=0&&E.splice(I,0,Ut)}var P=E.indexOf(Ut);E=E.filter(function(z,L){return z!==Ut||L===P});var B=C[P],M;(h==="left"||h)&&!m?M="left":(h==="right"||h)&&m===C.length?M="right":M=B?B.fixed:null;var D=(T={},U(T,Nn,{className:"".concat(r,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),U(T,"title",l),U(T,"fixed",M),U(T,"className","".concat(r,"-row-expand-icon-cell")),U(T,"width",b),U(T,"render",function(L,_,F){var J=s(_,F),ae=c.has(J),Y=f?f(_):!0,q=u({prefixCls:r,expanded:ae,expandable:Y,record:_,onExpand:d});return g?a.createElement("span",{onClick:function(V){return V.stopPropagation()}},q):q}),T);return E.map(function(z){return z===Ut?D:z})}return C.filter(function(z){return z!==Ut})},[i,C,s,c,u,p]),$=a.useMemo(function(){var T=w;return t&&(T=t(T)),T.length||(T=[{render:function(){return null}}]),T},[t,w,p]),x=a.useMemo(function(){return p==="rtl"?Ap(Zr($)):Zr($)},[$,p,v]),N=_p(x,v,y),O=se(N,2),S=O[0],R=O[1];return[$,S,R]}function Wp(e){var t,r=e.prefixCls,n=e.record,o=e.onExpand,i=e.expanded,c=e.expandable,l="".concat(r,"-row-expand-icon");if(!c)return a.createElement("span",{className:X(l,"".concat(r,"-row-spaced"))});var s=function(u){o(n,u),u.stopPropagation()};return a.createElement("span",{className:X(l,(t={},U(t,"".concat(r,"-row-expanded"),i),U(t,"".concat(r,"-row-collapsed"),!i),t)),onClick:s})}function Vp(e,t,r){var n=[];function o(i){(i||[]).forEach(function(c,l){n.push(t(c,l)),o(c[r])})}return o(e),n}function Gp(e,t,r){var n=Mp(e),o=n.expandIcon,i=n.expandedRowKeys,c=n.defaultExpandedRowKeys,l=n.defaultExpandAllRows,s=n.expandedRowRender,d=n.onExpand,u=n.onExpandedRowsChange,f=n.childrenColumnName,m=o||Wp,p=f||"children",g=a.useMemo(function(){return s?"row":e.expandable&&e.internalHooks===kn&&e.expandable.__PARENT_RENDER_ICON__||t.some(function($){return $&&ft($)==="object"&&$[p]})?"nest":!1},[!!s,t]),b=a.useState(function(){return c||(l?Vp(t,r,p):[])}),h=se(b,2),v=h[0],y=h[1],C=a.useMemo(function(){return new Set(i||v||[])},[i,v]),w=a.useCallback(function($){var x=r($,t.indexOf($)),N,O=C.has(x);O?(C.delete(x),N=we(C)):N=[].concat(we(C),[x]),y(N),d&&d(!O,$),u&&u(N)},[r,C,t,d,u]);return[n,g,C,m,p,w]}function Xp(e,t,r,n){var o=e.map(function(i,c){return No(c,c,e,t,r,n==null?void 0:n[c])});return co(function(){return o},[o],function(i,c){return!Pn(i,c)})}function ll(e){var t=a.useRef(e),r=a.useState({}),n=se(r,2),o=n[1],i=a.useRef(null),c=a.useRef([]);function l(s){c.current.push(s);var d=Promise.resolve();i.current=d,d.then(function(){if(i.current===d){var u=c.current,f=t.current;c.current=[],u.forEach(function(m){t.current=m(t.current)}),i.current=null,f!==t.current&&o({})}})}return a.useEffect(function(){return function(){i.current=null}},[]),[t.current,l]}function Up(e){var t=a.useRef(e||null),r=a.useRef();function n(){window.clearTimeout(r.current)}function o(c){t.current=c,n(),r.current=window.setTimeout(function(){t.current=null,r.current=void 0},100)}function i(){return t.current}return a.useEffect(function(){return n},[]),[o,i]}function Yp(){var e=a.useState(-1),t=se(e,2),r=t[0],n=t[1],o=a.useState(-1),i=se(o,2),c=i[0],l=i[1],s=a.useCallback(function(d,u){n(d),l(u)},[]);return[r,c,s]}var pa=Ba()?window:null;function qp(e,t){var r=ft(e)==="object"?e:{},n=r.offsetHeader,o=n===void 0?0:n,i=r.offsetSummary,c=i===void 0?0:i,l=r.offsetScroll,s=l===void 0?0:l,d=r.getContainer,u=d===void 0?function(){return pa}:d,f=u()||pa;return a.useMemo(function(){var m=!!e;return{isSticky:m,stickyClassName:m?"".concat(t,"-sticky-holder"):"",offsetHeader:o,offsetSummary:c,offsetScroll:s,container:f}},[s,o,c,t,f])}function Jp(e,t,r){var n=a.useMemo(function(){for(var o=[],i=[],c=0,l=0,s=0;s=f&&(D=f-m),c({scrollLeft:D/f*(u+2)}),y.current.x=I.pageX},R=function(){if(i.current){var I=ia(i.current).top,P=I+i.current.offsetHeight,B=s===window?document.documentElement.scrollTop+window.innerHeight:ia(s).top+s.clientHeight;P-_o()<=B||I>=B-l?v(function(M){return A(A({},M),{},{isHiddenScrollBar:!0})}):v(function(M){return A(A({},M),{},{isHiddenScrollBar:!1})})}},T=function(I){v(function(P){return A(A({},P),{},{scrollLeft:I/u*f||0})})};return a.useImperativeHandle(r,function(){return{setScrollLeft:T}}),a.useEffect(function(){var E=Xn(document.body,"mouseup",N,!1),I=Xn(document.body,"mousemove",S,!1);return R(),function(){E.remove(),I.remove()}},[m,$]),a.useEffect(function(){var E=Xn(s,"scroll",R,!1),I=Xn(window,"resize",R,!1);return function(){E.remove(),I.remove()}},[s]),a.useEffect(function(){h.isHiddenScrollBar||v(function(E){var I=i.current;return I?A(A({},E),{},{scrollLeft:I.scrollLeft/I.scrollWidth*I.clientWidth}):E})},[h.isHiddenScrollBar]),u<=f||!m||h.isHiddenScrollBar?null:a.createElement("div",{style:{height:_o(),width:f,bottom:l},className:"".concat(d,"-sticky-scroll")},a.createElement("div",{onMouseDown:O,ref:p,className:X("".concat(d,"-sticky-scroll-bar"),U({},"".concat(d,"-sticky-scroll-bar-active"),$)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(h.scrollLeft,"px, 0, 0)")}}))};const Zp=a.forwardRef(Qp);function em(e){return null}function tm(e){return null}var sl="rc-table",nm=[],rm={};function om(){return"No Data"}function am(e){var t,r=A({rowKey:"key",prefixCls:sl,emptyText:om},e),n=r.prefixCls,o=r.className,i=r.rowClassName,c=r.style,l=r.data,s=r.rowKey,d=r.scroll,u=r.tableLayout,f=r.direction,m=r.title,p=r.footer,g=r.summary,b=r.caption,h=r.id,v=r.showHeader,y=r.components,C=r.emptyText,w=r.onRow,$=r.onHeaderRow,x=r.internalHooks,N=r.transformColumns,O=r.internalRefs,S=r.tailor,R=r.getContainerWidth,T=r.sticky,E=l||nm,I=!!E.length,P=x===kn,B=a.useCallback(function(ze,We){return Ha(y,ze)||We},[y]),M=a.useMemo(function(){return typeof s=="function"?s:function(ze){var We=ze&&ze[s];return We}},[s]),D=B(["body"]),z=Yp(),L=se(z,3),_=L[0],F=L[1],J=L[2],ae=Gp(r,E,M),Y=se(ae,6),q=Y[0],de=Y[1],V=Y[2],j=Y[3],Q=Y[4],Z=Y[5],G=d==null?void 0:d.x,W=a.useState(0),K=se(W,2),k=K[0],H=K[1],re=Fp(A(A(A({},r),q),{},{expandable:!!q.expandedRowRender,columnTitle:q.columnTitle,expandedKeys:V,getRowKey:M,onTriggerExpand:Z,expandIcon:j,expandIconColumnIndex:q.expandIconColumnIndex,direction:f,scrollWidth:P&&S&&typeof G=="number"?G:null,clientWidth:k}),P?N:null),te=se(re,3),fe=te[0],le=te[1],ne=te[2],ce=ne??G,$e=a.useMemo(function(){return{columns:fe,flattenColumns:le}},[fe,le]),Te=a.useRef(),Ie=a.useRef(),pe=a.useRef(),Ke=a.useRef(),Me=a.useRef(),he=a.useState(!1),Se=se(he,2),Oe=Se[0],Re=Se[1],Ae=a.useState(!1),Ce=se(Ae,2),Ue=Ce[0],je=Ce[1],et=ll(new Map),Ye=se(et,2),tt=Ye[0],nt=Ye[1],pt=Cr(le),rt=pt.map(function(ze){return tt.get(ze)}),Ve=a.useMemo(function(){return rt},[rt.join("_")]),Je=Jp(Ve,le.length,f),ke=d&&Qr(d.y),He=d&&Qr(ce)||!!q.fixed,lt=He&&le.some(function(ze){var We=ze.fixed;return We}),gt=a.useRef(),ge=qp(T,n),ie=ge.isSticky,be=ge.offsetHeader,Ee=ge.offsetSummary,oe=ge.offsetScroll,ve=ge.stickyClassName,_e=ge.container,Pe=a.useMemo(function(){return g==null?void 0:g(E)},[g,E]),Fe=(ke||ie)&&a.isValidElement(Pe)&&Pe.type===Sr&&Pe.props.fixed,Be,Ge,vt;ke&&(Ge={overflowY:"scroll",maxHeight:d.y}),He&&(Be={overflowX:"auto"},ke||(Ge={overflowY:"hidden"}),vt={width:ce===!0?"auto":ce,minWidth:"100%"});var wt=a.useCallback(function(ze,We){ka(Te.current)&&nt(function(It){if(It.get(ze)!==We){var Ct=new Map(It);return Ct.set(ze,We),Ct}return It})},[]),Jt=Up(null),ye=se(Jt,2),me=ye[0],Le=ye[1];function qe(ze,We){We&&(typeof We=="function"?We(ze):We.scrollLeft!==ze&&(We.scrollLeft=ze,We.scrollLeft!==ze&&setTimeout(function(){We.scrollLeft=ze},0)))}var Qe=rn(function(ze){var We=ze.currentTarget,It=ze.scrollLeft,Ct=f==="rtl",Wt=typeof It=="number"?It:We.scrollLeft,Ko=We||rm;if(!Le()||Le()===Ko){var Er;me(Ko),qe(Wt,Ie.current),qe(Wt,pe.current),qe(Wt,Me.current),qe(Wt,(Er=gt.current)===null||Er===void 0?void 0:Er.setScrollLeft)}var Ir=We||Ie.current;if(Ir){var Or=Ir.scrollWidth,Nr=Ir.clientWidth;if(Or===Nr){Re(!1),je(!1);return}Ct?(Re(-Wt0)):(Re(Wt>0),je(Wt1?b-I:0,B=A(A(A({},N),s),{},{flex:"0 0 ".concat(I,"px"),width:"".concat(I,"px"),marginRight:P,pointerEvents:"auto"}),M=a.useMemo(function(){return u?T<=1:S===0||T===0||T>1},[T,S,u]);M?B.visibility="hidden":u&&(B.height=f==null?void 0:f(T));var D=M?function(){return null}:m,z={};return(T===0||S===0)&&(z.rowSpan=1,z.colSpan=1),a.createElement(sn,ue({className:X(g,d),ellipsis:r.ellipsis,align:r.align,scope:r.rowScope,component:"div",prefixCls:t.prefixCls,key:C,record:l,index:i,renderIndex:c,dataIndex:p,render:D,shouldCellUpdate:r.shouldCellUpdate},w,{appendNode:$,additionalProps:A(A({},x),{},{style:B},z)}))}var sm=["data","index","className","rowKey","style","extra","getHeight"],cm=a.forwardRef(function(e,t){var r=e.data,n=e.index,o=e.className,i=e.rowKey,c=e.style,l=e.extra,s=e.getHeight,d=it(e,sm),u=r.record,f=r.indent,m=r.index,p=yt(St,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),g=p.scrollX,b=p.flattenColumns,h=p.prefixCls,v=p.fixColumn,y=p.componentWidth,C=Zi(u,i,n,f),w=C.rowSupportExpand,$=C.expanded,x=C.rowProps,N=C.expandedRowRender,O=C.expandedRowClassName,S;if(w&&$){var R=N(u,n,f+1,$),T=O==null?void 0:O(u,n,f),E={};v&&(E={style:U({},"--virtual-width","".concat(y,"px"))});var I="".concat(h,"-expanded-row-cell");S=a.createElement("div",{className:X("".concat(h,"-expanded-row"),"".concat(h,"-expanded-row-level-").concat(f+1),T)},a.createElement(sn,{component:"div",prefixCls:h,className:X(I,U({},"".concat(I,"-fixed"),v)),additionalProps:E},R))}var P=A(A({},c),{},{width:g});l&&(P.position="absolute",P.pointerEvents="none");var B=a.createElement("div",ue({},x,d,{ref:w?null:t,className:X(o,"".concat(h,"-row"),x==null?void 0:x.className,U({},"".concat(h,"-row-extra"),l)),style:A(A({},P),x==null?void 0:x.style)}),b.map(function(M,D){return a.createElement(lm,{key:D,rowInfo:C,column:M,colIndex:D,indent:f,index:n,renderIndex:m,record:u,inverse:l,getHeight:s})}));return w?a.createElement("div",{ref:t},B,S):B}),ga=xn(cm),dm=a.forwardRef(function(e,t){var r=e.data,n=e.onScroll,o=yt(St,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),i=o.flattenColumns,c=o.onColumnResize,l=o.getRowKey,s=o.expandedKeys,d=o.prefixCls,u=o.childrenColumnName,f=o.emptyNode,m=o.scrollX,p=yt(dl),g=p.sticky,b=p.scrollY,h=p.listItemHeight,v=a.useRef(),y=Qi(r,u,s,l),C=a.useMemo(function(){var T=0;return i.map(function(E){var I=E.width,P=E.key;return T+=I,[P,I,T]})},[i]),w=a.useMemo(function(){return C.map(function(T){return T[2]})},[C]);a.useEffect(function(){C.forEach(function(T){var E=se(T,2),I=E[0],P=E[1];c(I,P)})},[C]),a.useImperativeHandle(t,function(){var T={};return Object.defineProperty(T,"scrollLeft",{get:function(){var I;return((I=v.current)===null||I===void 0?void 0:I.getScrollInfo().x)||0},set:function(I){var P;(P=v.current)===null||P===void 0||P.scrollTo({left:I})}}),T});var $=function(E,I){var P,B=(P=y[I])===null||P===void 0?void 0:P.record,M=E.onCell;if(M){var D,z=M(B,I);return(D=z==null?void 0:z.rowSpan)!==null&&D!==void 0?D:1}return 1},x=function(E){var I=E.start,P=E.end,B=E.getSize,M=E.offsetY;if(P<0)return null;for(var D=i.filter(function(W){return $(W,I)===0}),z=I,L=function(K){if(D=D.filter(function(k){return $(k,K)===0}),!D.length)return z=K,"break"},_=I;_>=0;_-=1){var F=L(_);if(F==="break")break}for(var J=i.filter(function(W){return $(W,P)!==1}),ae=P,Y=function(K){if(J=J.filter(function(k){return $(k,K)!==1}),!J.length)return ae=Math.max(K-1,P),"break"},q=P;q1})&&V.push(K)},Q=z;Q<=ae;Q+=1)var Z=j(Q);var G=V.map(function(W){var K=y[W],k=l(K.record,W),H=function(fe){var le=W+fe-1,ne=l(y[le].record,le),ce=B(k,ne);return ce.bottom-ce.top},re=B(k);return a.createElement(ga,{key:W,data:K,rowKey:k,index:W,style:{top:-M+re.top},extra:!0,getHeight:H})});return G},N=a.useMemo(function(){return{columnsOffset:w}},[w]),O="".concat(d,"-tbody"),S;if(y.length){var R={};g&&(R.position="sticky",R.bottom=0,ft(g)==="object"&&g.offsetScroll&&(R.bottom=g.offsetScroll)),S=a.createElement(hr,{fullHeight:!1,ref:v,styles:{horizontalScrollBar:R},className:X(O,"".concat(O,"-virtual")),height:b,itemHeight:h||24,data:y,itemKey:function(E){return l(E.record)},scrollWidth:m,onVirtualScroll:function(E){var I=E.x;n({scrollLeft:I})},extraRender:x},function(T,E,I){var P=l(T.record,E);return a.createElement(ga,ue({data:T,rowKey:P,index:E},I))})}else S=a.createElement("div",{className:X("".concat(d,"-placeholder"))},a.createElement(sn,{component:"div",prefixCls:d},f));return a.createElement(ul.Provider,{value:N},S)}),um=xn(dm),fm=function(t,r){var n=r.ref,o=r.onScroll;return a.createElement(um,{ref:n,data:t,onScroll:o})};function pm(e){var t=e.columns,r=e.scroll,n=e.sticky,o=e.prefixCls,i=o===void 0?sl:o,c=e.className,l=e.listItemHeight,s=r||{},d=s.x,u=s.y;typeof d!="number"&&(d=1),typeof u!="number"&&(u=500);var f=a.useMemo(function(){return{sticky:n,scrollY:u,listItemHeight:l}},[n,u,l]);return a.createElement(dl.Provider,{value:f},a.createElement(wn,ue({},e,{className:X(c,"".concat(i,"-virtual")),scroll:A(A({},r),{},{x:d}),components:{body:fm},columns:t,internalHooks:kn,tailor:!0})))}function fl(e){return Xi(pm,e)}fl();function mm(e){return null}function gm(e){return null}function vm(e){return function(r){let{prefixCls:n,onExpand:o,record:i,expanded:c,expandable:l}=r;const s=`${n}-row-expand-icon`;return a.createElement("button",{type:"button",onClick:d=>{o(i,d),d.stopPropagation()},className:X(s,{[`${s}-spaced`]:!l,[`${s}-expanded`]:l&&c,[`${s}-collapsed`]:l&&!c}),"aria-label":c?e.collapse:e.expand,"aria-expanded":c})}}function hm(e){return(r,n)=>{const o=r.querySelector(`.${e}-container`);let i=n;if(o){const c=getComputedStyle(o),l=parseInt(c.borderLeftWidth,10),s=parseInt(c.borderRightWidth,10);i=n-l-s}return i}}function on(e,t){return"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function jn(e,t){return t?`${t}-${e}`:`${e}`}function xr(e,t){return typeof e=="function"?e(t):e}function bm(e,t){const r=xr(e,t);return Object.prototype.toString.call(r)==="[object Object]"?"":r}var ym={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};const Cm=ym;var Sm=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:Cm}))};const xm=a.forwardRef(Sm);function wm(e){const t=a.useRef(e),r=Si();return[()=>t.current,n=>{t.current=n,r()}]}var Po=a.createContext(null);function $m(e){var t=e.dropPosition,r=e.dropLevelOffset,n=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:o.top=0,o.left=-r*n;break;case 1:o.bottom=0,o.left=-r*n;break;case 0:o.bottom=0,o.left=n;break}return a.createElement("div",{style:o})}function pl(e){if(e==null)throw new TypeError("Cannot destructure "+e)}var Em=function(t){for(var r=t.prefixCls,n=t.level,o=t.isStart,i=t.isEnd,c="".concat(r,"-indent-unit"),l=[],s=0;s0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=e.length,n=t.length;if(Math.abs(r-n)!==1)return{add:!1,key:null};function o(i,c){var l=new Map;i.forEach(function(d){l.set(d,!0)});var s=c.filter(function(d){return!l.has(d)});return s.length===1?s[0]:null}return r ").concat(t);return t}var vl=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.data;e.selectable,e.checkable;var o=e.expandedKeys,i=e.selectedKeys,c=e.checkedKeys,l=e.loadedKeys,s=e.loadingKeys,d=e.halfCheckedKeys,u=e.keyEntities,f=e.disabled,m=e.dragging,p=e.dragOverNodeKey,g=e.dropPosition,b=e.motion,h=e.height,v=e.itemHeight,y=e.virtual,C=e.focusable,w=e.activeItem,$=e.focused,x=e.tabIndex,N=e.onKeyDown,O=e.onFocus,S=e.onBlur,R=e.onActiveChange,T=e.onListChangeStart,E=e.onListChangeEnd,I=it(e,zm),P=a.useRef(null),B=a.useRef(null);a.useImperativeHandle(t,function(){return{scrollTo:function(ce){P.current.scrollTo(ce)},getIndentWidth:function(){return B.current.offsetWidth}}});var M=a.useState(o),D=se(M,2),z=D[0],L=D[1],_=a.useState(n),F=se(_,2),J=F[0],ae=F[1],Y=a.useState(n),q=se(Y,2),de=q[0],V=q[1],j=a.useState([]),Q=se(j,2),Z=Q[0],G=Q[1],W=a.useState(null),K=se(W,2),k=K[0],H=K[1],re=a.useRef(n);re.current=n;function te(){var ne=re.current;ae(ne),V(ne),G([]),H(null),E()}Ot(function(){L(o);var ne=Mm(z,o);if(ne.key!==null)if(ne.add){var ce=J.findIndex(function(Me){var he=Me.key;return he===ne.key}),$e=Sa(ba(J,n,ne.key),y,h,v),Te=J.slice();Te.splice(ce+1,0,Ca),V(Te),G($e),H("show")}else{var Ie=n.findIndex(function(Me){var he=Me.key;return he===ne.key}),pe=Sa(ba(n,J,ne.key),y,h,v),Ke=n.slice();Ke.splice(Ie+1,0,Ca),V(Ke),G(pe),H("hide")}else J!==n&&(ae(n),V(n))},[o,n]),a.useEffect(function(){m||te()},[m]);var fe=b?de:n,le={expandedKeys:o,selectedKeys:i,loadedKeys:l,loadingKeys:s,checkedKeys:c,halfCheckedKeys:d,dragOverNodeKey:p,dropPosition:g,keyEntities:u};return a.createElement(a.Fragment,null,$&&w&&a.createElement("span",{style:ya,"aria-live":"assertive"},Bm(w)),a.createElement("div",null,a.createElement("input",{style:ya,disabled:C===!1||f,tabIndex:C!==!1?x:null,onKeyDown:N,onFocus:O,onBlur:S,value:"",onChange:Km,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(r,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(r,"-indent")},a.createElement("div",{ref:B,className:"".concat(r,"-indent-unit")}))),a.createElement(hr,ue({},I,{data:fe,itemKey:xa,height:h,fullHeight:!1,virtual:y,itemHeight:v,prefixCls:"".concat(r,"-list"),ref:P,onVisibleChange:function(ce,$e){var Te=new Set(ce),Ie=$e.filter(function(pe){return!Te.has(pe)});Ie.some(function(pe){return xa(pe)===an})&&te()}}),function(ne){var ce=ne.pos,$e=ue({},(pl(ne.data),ne.data)),Te=ne.title,Ie=ne.key,pe=ne.isStart,Ke=ne.isEnd,Me=Hn(Ie,ce);delete $e.key,delete $e.children;var he=On(Me,le);return a.createElement(Dm,ue({},$e,he,{title:Te,active:!!w&&Ie===w.key,pos:ce,data:ne.data,isStart:pe,isEnd:Ke,motion:b,motionNodes:Ie===an?Z:null,motionType:k,onMotionStart:T,onMotionEnd:te,treeNodeRequiredProps:le,onMouseMove:function(){R(null)}}))}))});vl.displayName="NodeList";function Tt(e,t){if(!e)return[];var r=e.slice(),n=r.indexOf(t);return n>=0&&r.splice(n,1),r}function Kt(e,t){var r=(e||[]).slice();return r.indexOf(t)===-1&&r.push(t),r}function To(e){return e.split("-")}function Lm(e,t){var r=[],n=xt(t,e);function o(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];i.forEach(function(c){var l=c.key,s=c.children;r.push(l),o(s)})}return o(n.children),r}function Hm(e){if(e.parent){var t=To(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function _m(e){var t=To(e.pos);return Number(t[t.length-1])===0}function wa(e,t,r,n,o,i,c,l,s,d){var u,f=e.clientX,m=e.clientY,p=e.target.getBoundingClientRect(),g=p.top,b=p.height,h=(d==="rtl"?-1:1)*(((o==null?void 0:o.x)||0)-f),v=(h-12)/n,y=xt(l,r.props.eventKey);if(m-1.5?i({dragNode:E,dropNode:I,dropPosition:1})?S=1:P=!1:i({dragNode:E,dropNode:I,dropPosition:0})?S=0:i({dragNode:E,dropNode:I,dropPosition:1})?S=1:P=!1:i({dragNode:E,dropNode:I,dropPosition:1})?S=1:P=!1,{dropPosition:S,dropLevelOffset:R,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:O,dropContainerKey:S===0?null:((u=y.parent)===null||u===void 0?void 0:u.key)||null,dropAllowed:P}}function $a(e,t){if(e){var r=t.multiple;return r?e.slice():e.length?[e[0]]:e}}function _r(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(ft(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return Ht(!1,"`checkedKeys` is not an array or an object"),null;return t}function to(e,t){var r=new Set;function n(o){if(!r.has(o)){var i=xt(t,o);if(i){r.add(o);var c=i.parent,l=i.node;l.disabled||c&&n(c.key)}}}return(e||[]).forEach(function(o){n(o)}),we(r)}var km=10,Do=function(e){dr(r,e);var t=ur(r);function r(){var n;Kn(this,r);for(var o=arguments.length,i=new Array(o),c=0;c2&&arguments[2]!==void 0?arguments[2]:!1,f=n.state,m=f.dragChildrenKeys,p=f.dropPosition,g=f.dropTargetKey,b=f.dropTargetPos,h=f.dropAllowed;if(h){var v=n.props.onDrop;if(n.setState({dragOverNodeKey:null}),n.cleanDragState(),g!==null){var y=A(A({},On(g,n.getTreeNodeRequiredProps())),{},{active:((d=n.getActiveItem())===null||d===void 0?void 0:d.key)===g,data:xt(n.state.keyEntities,g).node}),C=m.indexOf(g)!==-1;Ht(!C,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var w=To(b),$={event:l,node:ot(y),dragNode:n.dragNode?ot(n.dragNode.props):null,dragNodesKeys:[n.dragNode.props.eventKey].concat(m),dropToGap:p!==0,dropPosition:p+Number(w[w.length-1])};u||v==null||v($),n.dragNode=null}}},n.cleanDragState=function(){var l=n.state.draggingNodeKey;l!==null&&n.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),n.dragStartMousePosition=null,n.currentMouseOverDroppableNodeKey=null},n.triggerExpandActionExpand=function(l,s){var d=n.state,u=d.expandedKeys,f=d.flattenNodes,m=s.expanded,p=s.key,g=s.isLeaf;if(!(g||l.shiftKey||l.metaKey||l.ctrlKey)){var b=f.filter(function(v){return v.key===p})[0],h=ot(A(A({},On(p,n.getTreeNodeRequiredProps())),{},{data:b.data}));n.setExpandedKeys(m?Tt(u,p):Kt(u,p)),n.onNodeExpand(l,h)}},n.onNodeClick=function(l,s){var d=n.props,u=d.onClick,f=d.expandAction;f==="click"&&n.triggerExpandActionExpand(l,s),u==null||u(l,s)},n.onNodeDoubleClick=function(l,s){var d=n.props,u=d.onDoubleClick,f=d.expandAction;f==="doubleClick"&&n.triggerExpandActionExpand(l,s),u==null||u(l,s)},n.onNodeSelect=function(l,s){var d=n.state.selectedKeys,u=n.state,f=u.keyEntities,m=u.fieldNames,p=n.props,g=p.onSelect,b=p.multiple,h=s.selected,v=s[m.key],y=!h;y?b?d=Kt(d,v):d=[v]:d=Tt(d,v);var C=d.map(function(w){var $=xt(f,w);return $?$.node:null}).filter(function(w){return w});n.setUncontrolledState({selectedKeys:d}),g==null||g(d,{event:"select",selected:y,node:s,selectedNodes:C,nativeEvent:l.nativeEvent})},n.onNodeCheck=function(l,s,d){var u=n.state,f=u.keyEntities,m=u.checkedKeys,p=u.halfCheckedKeys,g=n.props,b=g.checkStrictly,h=g.onCheck,v=s.key,y,C={event:"check",node:s,checked:d,nativeEvent:l.nativeEvent};if(b){var w=d?Kt(m,v):Tt(m,v),$=Tt(p,v);y={checked:w,halfChecked:$},C.checkedNodes=w.map(function(T){return xt(f,T)}).filter(function(T){return T}).map(function(T){return T.node}),n.setUncontrolledState({checkedKeys:w})}else{var x=vn([].concat(we(m),[v]),!0,f),N=x.checkedKeys,O=x.halfCheckedKeys;if(!d){var S=new Set(N);S.delete(v);var R=vn(Array.from(S),{checked:!1,halfCheckedKeys:O},f);N=R.checkedKeys,O=R.halfCheckedKeys}y=N,C.checkedNodes=[],C.checkedNodesPositions=[],C.halfCheckedKeys=O,N.forEach(function(T){var E=xt(f,T);if(E){var I=E.node,P=E.pos;C.checkedNodes.push(I),C.checkedNodesPositions.push({node:I,pos:P})}}),n.setUncontrolledState({checkedKeys:N},!1,{halfCheckedKeys:O})}h==null||h(y,C)},n.onNodeLoad=function(l){var s=l.key,d=new Promise(function(u,f){n.setState(function(m){var p=m.loadedKeys,g=p===void 0?[]:p,b=m.loadingKeys,h=b===void 0?[]:b,v=n.props,y=v.loadData,C=v.onLoad;if(!y||g.indexOf(s)!==-1||h.indexOf(s)!==-1)return null;var w=y(l);return w.then(function(){var $=n.state.loadedKeys,x=Kt($,s);C==null||C(x,{event:"load",node:l}),n.setUncontrolledState({loadedKeys:x}),n.setState(function(N){return{loadingKeys:Tt(N.loadingKeys,s)}}),u()}).catch(function($){if(n.setState(function(N){return{loadingKeys:Tt(N.loadingKeys,s)}}),n.loadingRetryTimes[s]=(n.loadingRetryTimes[s]||0)+1,n.loadingRetryTimes[s]>=km){var x=n.state.loadedKeys;Ht(!1,"Retry for `loadData` many times but still failed. No more retry."),n.setUncontrolledState({loadedKeys:Kt(x,s)}),u()}f($)}),{loadingKeys:Kt(h,s)}})});return d.catch(function(){}),d},n.onNodeMouseEnter=function(l,s){var d=n.props.onMouseEnter;d==null||d({event:l,node:s})},n.onNodeMouseLeave=function(l,s){var d=n.props.onMouseLeave;d==null||d({event:l,node:s})},n.onNodeContextMenu=function(l,s){var d=n.props.onRightClick;d&&(l.preventDefault(),d({event:l,node:s}))},n.onFocus=function(){var l=n.props.onFocus;n.setState({focused:!0});for(var s=arguments.length,d=new Array(s),u=0;u1&&arguments[1]!==void 0?arguments[1]:!1,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!n.destroyed){var u=!1,f=!0,m={};Object.keys(l).forEach(function(p){if(p in n.props){f=!1;return}u=!0,m[p]=l[p]}),u&&(!s||f)&&n.setState(A(A({},m),d))}},n.scrollTo=function(l){n.listRef.current.scrollTo(l)},n}return zn(r,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var o=this.props.activeKey;o!==void 0&&o!==this.state.activeKey&&(this.setState({activeKey:o}),o!==null&&this.scrollTo({key:o}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var o,i=this.state,c=i.focused,l=i.flattenNodes,s=i.keyEntities,d=i.draggingNodeKey,u=i.activeKey,f=i.dropLevelOffset,m=i.dropContainerKey,p=i.dropTargetKey,g=i.dropPosition,b=i.dragOverNodeKey,h=i.indent,v=this.props,y=v.prefixCls,C=v.className,w=v.style,$=v.showLine,x=v.focusable,N=v.tabIndex,O=N===void 0?0:N,S=v.selectable,R=v.showIcon,T=v.icon,E=v.switcherIcon,I=v.draggable,P=v.checkable,B=v.checkStrictly,M=v.disabled,D=v.motion,z=v.loadData,L=v.filterTreeNode,_=v.height,F=v.itemHeight,J=v.virtual,ae=v.titleRender,Y=v.dropIndicatorRender,q=v.onContextMenu,de=v.onScroll,V=v.direction,j=v.rootClassName,Q=v.rootStyle,Z=Dt(this.props,{aria:!0,data:!0}),G;return I&&(ft(I)==="object"?G=I:typeof I=="function"?G={nodeDraggable:I}:G={}),a.createElement(Po.Provider,{value:{prefixCls:y,selectable:S,showIcon:R,icon:T,switcherIcon:E,draggable:G,draggingNodeKey:d,checkable:P,checkStrictly:B,disabled:M,keyEntities:s,dropLevelOffset:f,dropContainerKey:m,dropTargetKey:p,dropPosition:g,dragOverNodeKey:b,indent:h,direction:V,dropIndicatorRender:Y,loadData:z,filterTreeNode:L,titleRender:ae,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:X(y,C,j,(o={},U(o,"".concat(y,"-show-line"),$),U(o,"".concat(y,"-focused"),c),U(o,"".concat(y,"-active-focused"),u!==null),o)),style:Q},a.createElement(vl,ue({ref:this.listRef,prefixCls:y,style:w,data:l,disabled:M,selectable:S,checkable:!!P,motion:D,dragging:d!==null,height:_,itemHeight:F,virtual:J,focusable:x,focused:c,tabIndex:O,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:q,onScroll:de},this.getTreeNodeRequiredProps(),Z))))}}],[{key:"getDerivedStateFromProps",value:function(o,i){var c=i.prevProps,l={prevProps:o};function s(x){return!c&&x in o||c&&c[x]!==o[x]}var d,u=i.fieldNames;if(s("fieldNames")&&(u=bn(o.fieldNames),l.fieldNames=u),s("treeData")?d=o.treeData:s("children")&&(Ht(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),d=Ti(o.children)),d){l.treeData=d;var f=$o(d,{fieldNames:u});l.keyEntities=A(U({},an,gl),f.keyEntities)}var m=l.keyEntities||i.keyEntities;if(s("expandedKeys")||c&&s("autoExpandParent"))l.expandedKeys=o.autoExpandParent||!c&&o.defaultExpandParent?to(o.expandedKeys,m):o.expandedKeys;else if(!c&&o.defaultExpandAll){var p=A({},m);delete p[an],l.expandedKeys=Object.keys(p).map(function(x){return p[x].key})}else!c&&o.defaultExpandedKeys&&(l.expandedKeys=o.autoExpandParent||o.defaultExpandParent?to(o.defaultExpandedKeys,m):o.defaultExpandedKeys);if(l.expandedKeys||delete l.expandedKeys,d||l.expandedKeys){var g=Hr(d||i.treeData,l.expandedKeys||i.expandedKeys,u);l.flattenNodes=g}if(o.selectable&&(s("selectedKeys")?l.selectedKeys=$a(o.selectedKeys,o):!c&&o.defaultSelectedKeys&&(l.selectedKeys=$a(o.defaultSelectedKeys,o))),o.checkable){var b;if(s("checkedKeys")?b=_r(o.checkedKeys)||{}:!c&&o.defaultCheckedKeys?b=_r(o.defaultCheckedKeys)||{}:d&&(b=_r(o.checkedKeys)||{checkedKeys:i.checkedKeys,halfCheckedKeys:i.halfCheckedKeys}),b){var h=b,v=h.checkedKeys,y=v===void 0?[]:v,C=h.halfCheckedKeys,w=C===void 0?[]:C;if(!o.checkStrictly){var $=vn(y,!0,m);y=$.checkedKeys,w=$.halfCheckedKeys}l.checkedKeys=y,l.halfCheckedKeys=w}}return s("loadedKeys")&&(l.loadedKeys=o.loadedKeys),l}}]),r}(a.Component);Do.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:$m,allowDrop:function(){return!0},expandAction:!1};Do.TreeNode=yn;var jm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const Am=jm;var Fm=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:Am}))};const hl=a.forwardRef(Fm);var Wm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};const Vm=Wm;var Gm=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:Vm}))};const Xm=a.forwardRef(Gm);var Um={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};const Ym=Um;var qm=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:Ym}))};const Jm=a.forwardRef(qm);var Qm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"};const Zm=Qm;var eg=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:Zm}))};const tg=a.forwardRef(eg),ng=new Rt("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),rg=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),og=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ag=(e,t)=>{const{treeCls:r,treeNodeCls:n,treeNodePadding:o,titleHeight:i,nodeSelectedBg:c,nodeHoverBg:l}=t,s=t.paddingXS;return{[r]:Object.assign(Object.assign({},bt(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${r}-rtl`]:{[`${r}-switcher`]:{"&_close":{[`${r}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${r}-active-focused)`]:Object.assign({},nn(t)),[`${r}-list-holder-inner`]:{alignItems:"flex-start"},[`&${r}-block-node`]:{[`${r}-list-holder-inner`]:{alignItems:"stretch",[`${r}-node-content-wrapper`]:{flex:"auto"},[`${n}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:ng,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${n}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${o}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${r}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${r}-node-content-wrapper`]:Object.assign({},nn(t)),[`&:not(${n}-disabled).filter-node ${r}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${r}-draggable-icon`]:{flexShrink:0,width:i,lineHeight:`${i}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${n}:hover &`]:{opacity:.45}},[`&${n}-disabled`]:{[`${r}-draggable-icon`]:{visibility:"hidden"}}}},[`${r}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${r}-draggable-icon`]:{visibility:"hidden"},[`${r}-switcher`]:Object.assign(Object.assign({},rg(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:`${i}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${r}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-o,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:i/2*.8,height:i/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${r}-checkbox`]:{top:"initial",marginInlineEnd:s,alignSelf:"flex-start",marginTop:t.marginXXS},[`${r}-node-content-wrapper, ${r}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${i}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:l},[`&${r}-node-selected`]:{backgroundColor:c},[`${r}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:`${i}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${r}-unselectable ${r}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${r}-node-content-wrapper`]:Object.assign({lineHeight:`${i}px`,userSelect:"none"},og(e,t)),[`${n}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${r}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-o,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${r}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${n}-leaf-last`]:{[`${r}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${i/2}px !important`}}}}})}},ig=e=>{const{treeCls:t,treeNodeCls:r,treeNodePadding:n,directoryNodeSelectedBg:o,directoryNodeSelectedColor:i}=e;return{[`${t}${t}-directory`]:{[r]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:n,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:i,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:o},[`${t}-switcher`]:{color:i},[`${t}-node-content-wrapper`]:{color:i,background:"transparent"}}}}}},lg=(e,t)=>{const r=`.${e}`,n=`${r}-treenode`,o=t.paddingXS/2,i=at(t,{treeCls:r,treeNodeCls:n,treeNodePadding:o});return[ag(e,i),ig(i)]},sg=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},cg=Nt("Tree",(e,t)=>{let{prefixCls:r}=t;return[{[e.componentCls]:Mi(`${r}-checkbox`,e)},lg(r,e),ss(e)]},e=>{const{colorTextLightSolid:t,colorPrimary:r}=e;return Object.assign(Object.assign({},sg(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:r})}),Ea=4;function dg(e){const{dropPosition:t,dropLevelOffset:r,prefixCls:n,indent:o,direction:i="ltr"}=e,c=i==="ltr"?"left":"right",l=i==="ltr"?"right":"left",s={[c]:-r*o+Ea,[l]:0};switch(t){case-1:s.top=-3;break;case 1:s.bottom=-3;break;default:s.bottom=-3,s[c]=o+Ea;break}return ee.createElement("div",{style:s,className:`${n}-drop-indicator`})}var ug={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};const fg=ug;var pg=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:fg}))};const mg=a.forwardRef(pg);var gg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};const vg=gg;var hg=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:vg}))};const bg=a.forwardRef(hg);var yg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};const Cg=yg;var Sg=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:Cg}))};const xg=a.forwardRef(Sg),wg=e=>{const{prefixCls:t,switcherIcon:r,treeNodeProps:n,showLine:o}=e,{isLeaf:i,expanded:c,loading:l}=n;if(l)return a.createElement(fo,{className:`${t}-switcher-loading-icon`});let s;if(o&&typeof o=="object"&&(s=o.showLeafIcon),i){if(!o)return null;if(typeof s!="boolean"&&s){const f=typeof s=="function"?s(n):s,m=`${t}-switcher-line-custom-icon`;return tr(f)?_t(f,{className:X(f.props.className||"",m)}):f}return s?a.createElement(hl,{className:`${t}-switcher-line-icon`}):a.createElement("span",{className:`${t}-switcher-leaf-line`})}const d=`${t}-switcher-icon`,u=typeof r=="function"?r(n):r;return tr(u)?_t(u,{className:X(u.props.className||"",d)}):u!==void 0?u:o?c?a.createElement(bg,{className:`${t}-switcher-line-icon`}):a.createElement(xg,{className:`${t}-switcher-line-icon`}):a.createElement(mg,{className:d})},$g=wg,Eg=ee.forwardRef((e,t)=>{const{getPrefixCls:r,direction:n,virtual:o,tree:i}=ee.useContext(Xe),{prefixCls:c,className:l,showIcon:s=!1,showLine:d,switcherIcon:u,blockNode:f=!1,children:m,checkable:p=!1,selectable:g=!0,draggable:b,motion:h,style:v}=e,y=r("tree",c),C=r(),w=h??Object.assign(Object.assign({},cs(C)),{motionAppear:!1}),$=Object.assign(Object.assign({},e),{checkable:p,selectable:g,showIcon:s,motion:w,blockNode:f,showLine:!!d,dropIndicatorRender:dg}),[x,N]=cg(y),O=ee.useMemo(()=>{if(!b)return!1;let R={};switch(typeof b){case"function":R.nodeDraggable=b;break;case"object":R=Object.assign({},b);break}return R.icon!==!1&&(R.icon=R.icon||ee.createElement(tg,null)),R},[b]),S=R=>ee.createElement($g,{prefixCls:y,switcherIcon:u,treeNodeProps:R,showLine:d});return x(ee.createElement(Do,Object.assign({itemHeight:20,ref:t,virtual:o},$,{style:Object.assign(Object.assign({},i==null?void 0:i.style),v),prefixCls:y,className:X({[`${y}-icon-hide`]:!s,[`${y}-block-node`]:f,[`${y}-unselectable`]:!g,[`${y}-rtl`]:n==="rtl"},i==null?void 0:i.className,l,N),direction:n,checkable:p&&ee.createElement("span",{className:`${y}-checkbox-inner`}),selectable:g,switcherIcon:S,draggable:O}),m))}),bl=Eg;var Bt;(function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"})(Bt||(Bt={}));function Mo(e,t,r){const{key:n,children:o}=r;function i(c){const l=c[n],s=c[o];t(l,c)!==!1&&Mo(s||[],t,r)}e.forEach(i)}function Ig(e){let{treeData:t,expandedKeys:r,startKey:n,endKey:o,fieldNames:i}=e;const c=[];let l=Bt.None;if(n&&n===o)return[n];if(!n||!o)return[];function s(d){return d===n||d===o}return Mo(t,d=>{if(l===Bt.End)return!1;if(s(d)){if(c.push(d),l===Bt.None)l=Bt.Start;else if(l===Bt.Start)return l=Bt.End,!1}else l===Bt.Start&&c.push(d);return r.includes(d)},bn(i)),c}function kr(e,t,r){const n=we(t),o=[];return Mo(e,(i,c)=>{const l=n.indexOf(i);return l!==-1&&(o.push(c),n.splice(l,1)),!!n.length},bn(r)),o}var Ia=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{defaultExpandAll:r,defaultExpandParent:n,defaultExpandedKeys:o}=e,i=Ia(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const c=a.useRef(),l=a.useRef(),s=()=>{const{keyEntities:O}=$o(Oa(i));let S;return r?S=Object.keys(O):n?S=to(i.expandedKeys||o||[],O):S=i.expandedKeys||o,S},[d,u]=a.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[f,m]=a.useState(()=>s());a.useEffect(()=>{"selectedKeys"in i&&u(i.selectedKeys)},[i.selectedKeys]),a.useEffect(()=>{"expandedKeys"in i&&m(i.expandedKeys)},[i.expandedKeys]);const p=(O,S)=>{var R;return"expandedKeys"in i||m(O),(R=i.onExpand)===null||R===void 0?void 0:R.call(i,O,S)},g=(O,S)=>{var R;const{multiple:T,fieldNames:E}=i,{node:I,nativeEvent:P}=S,{key:B=""}=I,M=Oa(i),D=Object.assign(Object.assign({},S),{selected:!0}),z=(P==null?void 0:P.ctrlKey)||(P==null?void 0:P.metaKey),L=P==null?void 0:P.shiftKey;let _;T&&z?(_=O,c.current=B,l.current=_,D.selectedNodes=kr(M,_,E)):T&&L?(_=Array.from(new Set([].concat(we(l.current||[]),we(Ig({treeData:M,expandedKeys:f,startKey:B,endKey:c.current,fieldNames:E}))))),D.selectedNodes=kr(M,_,E)):(_=[B],c.current=B,l.current=_,D.selectedNodes=kr(M,_,E)),(R=i.onSelect)===null||R===void 0||R.call(i,_,D),"selectedKeys"in i||u(_)},{getPrefixCls:b,direction:h}=a.useContext(Xe),{prefixCls:v,className:y,showIcon:C=!0,expandAction:w="click"}=i,$=Ia(i,["prefixCls","className","showIcon","expandAction"]),x=b("tree",v),N=X(`${x}-directory`,{[`${x}-directory-rtl`]:h==="rtl"},y);return a.createElement(bl,Object.assign({icon:Og,ref:t,blockNode:!0},$,{showIcon:C,expandAction:w,prefixCls:x,className:N,expandedKeys:f,selectedKeys:d,onSelect:g,onExpand:p}))},Rg=a.forwardRef(Ng),Pg=Rg,zo=bl;zo.DirectoryTree=Pg;zo.TreeNode=yn;const Tg=zo;function Na(e){let{value:t,onChange:r,filterSearch:n,tablePrefixCls:o,locale:i}=e;return n?a.createElement("div",{className:`${o}-filter-dropdown-search`},a.createElement(Of,{prefix:a.createElement(xo,null),placeholder:i.filterSearchPlaceholder,onChange:r,value:t,htmlSize:1,className:`${o}-filter-dropdown-search-input`})):null}const Dg=e=>{const{keyCode:t}=e;t===xe.ENTER&&e.stopPropagation()},Mg=a.forwardRef((e,t)=>a.createElement("div",{className:e.className,onClick:r=>r.stopPropagation(),onKeyDown:Dg,ref:t},e.children)),zg=Mg;function hn(e){let t=[];return(e||[]).forEach(r=>{let{value:n,children:o}=r;t.push(n),o&&(t=[].concat(we(t),we(hn(o))))}),t}function Kg(e){return e.some(t=>{let{children:r}=t;return r})}function yl(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function Cl(e){let{filters:t,prefixCls:r,filteredKeys:n,filterMultiple:o,searchValue:i,filterSearch:c}=e;return t.map((l,s)=>{const d=String(l.value);if(l.children)return{key:d||s,label:l.text,popupClassName:`${r}-dropdown-submenu`,children:Cl({filters:l.children,prefixCls:r,filteredKeys:n,filterMultiple:o,searchValue:i,filterSearch:c})};const u=o?ir:Ri,f={key:l.value!==void 0?d:s,label:a.createElement(a.Fragment,null,a.createElement(u,{checked:n.includes(d)}),a.createElement("span",null,l.text))};return i.trim()?typeof c=="function"?c(i,l)?f:null:yl(i,l.text)?f:null:f})}function jr(e){return e||[]}function Bg(e){var t,r;const{tablePrefixCls:n,prefixCls:o,column:i,dropdownPrefixCls:c,columnKey:l,filterMultiple:s,filterMode:d="menu",filterSearch:u=!1,filterState:f,triggerFilter:m,locale:p,children:g,getPopupContainer:b}=e,{filterDropdownOpen:h,onFilterDropdownOpenChange:v,filterResetToDefaultFilteredValue:y,defaultFilteredValue:C,filterDropdownVisible:w,onFilterDropdownVisibleChange:$}=i,[x,N]=a.useState(!1),O=!!(f&&(!((t=f.filteredKeys)===null||t===void 0)&&t.length||f.forceFiltered)),S=H=>{N(H),v==null||v(H),$==null||$(H)},R=(r=h??w)!==null&&r!==void 0?r:x,T=f==null?void 0:f.filteredKeys,[E,I]=wm(jr(T)),P=H=>{let{selectedKeys:re}=H;I(re)},B=(H,re)=>{let{node:te,checked:fe}=re;P(s?{selectedKeys:H}:{selectedKeys:fe&&te.key?[te.key]:[]})};a.useEffect(()=>{x&&P({selectedKeys:jr(T)})},[T]);const[M,D]=a.useState([]),z=H=>{D(H)},[L,_]=a.useState(""),F=H=>{const{value:re}=H.target;_(re)};a.useEffect(()=>{x||_("")},[x]);const J=H=>{const re=H&&H.length?H:null;if(re===null&&(!f||!f.filteredKeys)||Pn(re,f==null?void 0:f.filteredKeys,!0))return null;m({column:i,key:l,filteredKeys:re})},ae=()=>{S(!1),J(E())},Y=function(){let{confirm:H,closeDropdown:re}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};H&&J([]),re&&S(!1),_(""),I(y?(C||[]).map(te=>String(te)):[])},q=function(){let{closeDropdown:H}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};H&&S(!1),J(E())},de=H=>{H&&T!==void 0&&I(jr(T)),S(H),!H&&!i.filterDropdown&&ae()},V=X({[`${c}-menu-without-submenu`]:!Kg(i.filters||[])}),j=H=>{if(H.target.checked){const re=hn(i==null?void 0:i.filters).map(te=>String(te));I(re)}else I([])},Q=H=>{let{filters:re}=H;return(re||[]).map((te,fe)=>{const le=String(te.value),ne={title:te.text,key:te.value!==void 0?le:String(fe)};return te.children&&(ne.children=Q({filters:te.children})),ne})},Z=H=>{var re;return Object.assign(Object.assign({},H),{text:H.title,value:H.key,children:((re=H.children)===null||re===void 0?void 0:re.map(te=>Z(te)))||[]})};let G;if(typeof i.filterDropdown=="function")G=i.filterDropdown({prefixCls:`${c}-custom`,setSelectedKeys:H=>P({selectedKeys:H}),selectedKeys:E(),confirm:q,clearFilters:Y,filters:i.filters,visible:R,close:()=>{S(!1)}});else if(i.filterDropdown)G=i.filterDropdown;else{const H=E()||[],re=()=>(i.filters||[]).length===0?a.createElement(tn,{image:tn.PRESENTED_IMAGE_SIMPLE,description:p.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):d==="tree"?a.createElement(a.Fragment,null,a.createElement(Na,{filterSearch:u,value:L,onChange:F,tablePrefixCls:n,locale:p}),a.createElement("div",{className:`${n}-filter-dropdown-tree`},s?a.createElement(ir,{checked:H.length===hn(i.filters).length,indeterminate:H.length>0&&H.lengthtypeof u=="function"?u(L,Z(fe)):yl(L,fe.title):void 0}))):a.createElement(a.Fragment,null,a.createElement(Na,{filterSearch:u,value:L,onChange:F,tablePrefixCls:n,locale:p}),a.createElement(Ua,{selectable:!0,multiple:s,prefixCls:`${c}-menu`,className:V,onSelect:P,onDeselect:P,selectedKeys:H,getPopupContainer:b,openKeys:M,onOpenChange:z,items:Cl({filters:i.filters||[],filterSearch:u,prefixCls:o,filteredKeys:E(),filterMultiple:s,searchValue:L})})),te=()=>y?Pn((C||[]).map(fe=>String(fe)),H,!0):H.length===0;G=a.createElement(a.Fragment,null,re(),a.createElement("div",{className:`${o}-dropdown-btns`},a.createElement(Mn,{type:"link",size:"small",disabled:te(),onClick:()=>Y()},p.filterReset),a.createElement(Mn,{type:"primary",size:"small",onClick:ae},p.filterConfirm)))}i.filterDropdown&&(G=a.createElement(Ya,{selectable:void 0},G));const W=()=>a.createElement(zg,{className:`${o}-dropdown`},G);let K;typeof i.filterIcon=="function"?K=i.filterIcon(O):i.filterIcon?K=i.filterIcon:K=a.createElement(xm,null);const{direction:k}=a.useContext(Xe);return a.createElement("div",{className:`${o}-column`},a.createElement("span",{className:`${n}-column-title`},g),a.createElement(ji,{dropdownRender:W,trigger:["click"],open:R,onOpenChange:de,getPopupContainer:b,placement:k==="rtl"?"bottomLeft":"bottomRight"},a.createElement("span",{role:"button",tabIndex:-1,className:X(`${o}-trigger`,{active:O}),onClick:H=>{H.stopPropagation()}},K)))}function no(e,t,r){let n=[];return(e||[]).forEach((o,i)=>{var c;const l=jn(i,r);if(o.filters||"filterDropdown"in o||"onFilter"in o)if("filteredValue"in o){let s=o.filteredValue;"filterDropdown"in o||(s=(c=s==null?void 0:s.map(String))!==null&&c!==void 0?c:s),n.push({column:o,key:on(o,l),filteredKeys:s,forceFiltered:o.filtered})}else n.push({column:o,key:on(o,l),filteredKeys:t&&o.defaultFilteredValue?o.defaultFilteredValue:void 0,forceFiltered:o.filtered});"children"in o&&(n=[].concat(we(n),we(no(o.children,t,l))))}),n}function Sl(e,t,r,n,o,i,c,l){return r.map((s,d)=>{const u=jn(d,l),{filterMultiple:f=!0,filterMode:m,filterSearch:p}=s;let g=s;if(g.filters||g.filterDropdown){const b=on(g,u),h=n.find(v=>{let{key:y}=v;return b===y});g=Object.assign(Object.assign({},g),{title:v=>a.createElement(Bg,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:g,columnKey:b,filterState:h,filterMultiple:f,filterMode:m,filterSearch:p,triggerFilter:i,locale:o,getPopupContainer:c},xr(s.title,v))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:Sl(e,t,g.children,n,o,i,c,u)})),g})}function Ra(e){const t={};return e.forEach(r=>{let{key:n,filteredKeys:o,column:i}=r;const c=n,{filters:l,filterDropdown:s}=i;if(s)t[c]=o||null;else if(Array.isArray(o)){const d=hn(l);t[c]=d.filter(u=>o.includes(String(u)))}else t[c]=null}),t}function Pa(e,t){return t.reduce((r,n)=>{const{column:{onFilter:o,filters:i},filteredKeys:c}=n;return o&&c&&c.length?r.filter(l=>c.some(s=>{const d=hn(i),u=d.findIndex(m=>String(m)===String(s)),f=u!==-1?d[u]:s;return o(f,l)})):r},e)}const xl=e=>e.flatMap(t=>"children"in t?[t].concat(we(xl(t.children||[]))):[t]);function Lg(e){let{prefixCls:t,dropdownPrefixCls:r,mergedColumns:n,onFilterChange:o,getPopupContainer:i,locale:c}=e;cr();const l=a.useMemo(()=>xl(n||[]),[n]),[s,d]=a.useState(()=>no(l,!0)),u=a.useMemo(()=>{const g=no(l,!1);if(g.length===0)return g;let b=!0;if(g.forEach(h=>{let{filteredKeys:v}=h;v!==void 0&&(b=!1)}),b){const h=(l||[]).map((v,y)=>on(v,jn(y)));return s.filter(v=>{let{key:y}=v;return h.includes(y)}).map(v=>{const y=l[h.findIndex(C=>C===v.key)];return Object.assign(Object.assign({},v),{column:Object.assign(Object.assign({},v.column),y),forceFiltered:y.filtered})})}return g},[l,s]),f=a.useMemo(()=>Ra(u),[u]),m=g=>{const b=u.filter(h=>{let{key:v}=h;return v!==g.key});b.push(g),d(b),o(Ra(b),b)};return[g=>Sl(t,r,g,u,c,m,i),u,f]}function Hg(e,t,r){const n=a.useRef({});function o(i){if(!n.current||n.current.data!==e||n.current.childrenColumnName!==t||n.current.getRowKey!==r){let l=function(s){s.forEach((d,u)=>{const f=r(d,u);c.set(f,d),d&&typeof d=="object"&&t in d&&l(d[t]||[])})};const c=new Map;l(e),n.current={data:e,childrenColumnName:t,kvMap:c,getRowKey:r}}return n.current.kvMap.get(i)}return[o]}var _g=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const i=e[o];typeof i!="function"&&(r[o]=i)}),r}function jg(e,t,r){const n=r&&typeof r=="object"?r:{},{total:o=0}=n,i=_g(n,["total"]),[c,l]=a.useState(()=>({current:"defaultCurrent"in i?i.defaultCurrent:1,pageSize:"defaultPageSize"in i?i.defaultPageSize:wl})),s=Bf(c,i,{total:o>0?o:e}),d=Math.ceil((o||e)/s.pageSize);s.current>d&&(s.current=d||1);const u=(m,p)=>{l({current:m??1,pageSize:p||s.pageSize})},f=(m,p)=>{var g;r&&((g=r.onChange)===null||g===void 0||g.call(r,m,p)),u(m,p),t(m,p||(s==null?void 0:s.pageSize))};return r===!1?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:f}),u]}const Gt={},ro="SELECT_ALL",oo="SELECT_INVERT",ao="SELECT_NONE",Ta=[],$l=(e,t)=>{let r=[];return(t||[]).forEach(n=>{r.push(n),n&&typeof n=="object"&&e in n&&(r=[].concat(we(r),we($l(e,n[e]))))}),r},Ag=(e,t)=>{const{preserveSelectedRowKeys:r,selectedRowKeys:n,defaultSelectedRowKeys:o,getCheckboxProps:i,onChange:c,onSelect:l,onSelectAll:s,onSelectInvert:d,onSelectNone:u,onSelectMultiple:f,columnWidth:m,type:p,selections:g,fixed:b,renderCell:h,hideSelectAll:v,checkStrictly:y=!0}=t||{},{prefixCls:C,data:w,pageData:$,getRecordByKey:x,getRowKey:N,expandType:O,childrenColumnName:S,locale:R,getPopupContainer:T}=e,E=cr(),[I,P]=Yt(n||o||Ta,{value:n}),B=a.useRef(new Map),M=a.useCallback(G=>{if(r){const W=new Map;G.forEach(K=>{let k=x(K);!k&&B.current.has(K)&&(k=B.current.get(K)),W.set(K,k)}),B.current=W}},[x,r]);a.useEffect(()=>{M(I)},[I]);const{keyEntities:D}=a.useMemo(()=>{if(y)return{keyEntities:null};let G=w;if(r){const W=new Set(w.map((k,H)=>N(k,H))),K=Array.from(B.current).reduce((k,H)=>{let[re,te]=H;return W.has(re)?k:k.concat(te)},[]);G=[].concat(we(G),we(K))}return $o(G,{externalGetKey:N,childrenPropName:S})},[w,N,y,S,r]),z=a.useMemo(()=>$l(S,$),[S,$]),L=a.useMemo(()=>{const G=new Map;return z.forEach((W,K)=>{const k=N(W,K),H=(i?i(W):null)||{};G.set(k,H)}),G},[z,N,i]),_=a.useCallback(G=>{var W;return!!(!((W=L.get(N(G)))===null||W===void 0)&&W.disabled)},[L,N]),[F,J]=a.useMemo(()=>{if(y)return[I||[],[]];const{checkedKeys:G,halfCheckedKeys:W}=vn(I,!0,D,_);return[G||[],W]},[I,y,D,_]),ae=a.useMemo(()=>{const G=p==="radio"?F.slice(0,1):F;return new Set(G)},[F,p]),Y=a.useMemo(()=>p==="radio"?new Set:new Set(J),[J,p]),[q,de]=a.useState(null);a.useEffect(()=>{t||P(Ta)},[!!t]);const V=a.useCallback((G,W)=>{let K,k;M(G),r?(K=G,k=G.map(H=>B.current.get(H))):(K=[],k=[],G.forEach(H=>{const re=x(H);re!==void 0&&(K.push(H),k.push(re))})),P(K),c==null||c(K,k,{type:W})},[P,x,c,r]),j=a.useCallback((G,W,K,k)=>{if(l){const H=K.map(re=>x(re));l(x(G),W,H,k)}V(K,"single")},[l,x,V]),Q=a.useMemo(()=>!g||v?null:(g===!0?[ro,oo,ao]:g).map(W=>W===ro?{key:"all",text:R.selectionAll,onSelect(){V(w.map((K,k)=>N(K,k)).filter(K=>{const k=L.get(K);return!(k!=null&&k.disabled)||ae.has(K)}),"all")}}:W===oo?{key:"invert",text:R.selectInvert,onSelect(){const K=new Set(ae);$.forEach((H,re)=>{const te=N(H,re),fe=L.get(te);fe!=null&&fe.disabled||(K.has(te)?K.delete(te):K.add(te))});const k=Array.from(K);d&&(E.deprecated(!1,"onSelectInvert","onChange"),d(k)),V(k,"invert")}}:W===ao?{key:"none",text:R.selectNone,onSelect(){u==null||u(),V(Array.from(ae).filter(K=>{const k=L.get(K);return k==null?void 0:k.disabled}),"none")}}:W).map(W=>Object.assign(Object.assign({},W),{onSelect:function(){for(var K,k,H=arguments.length,re=new Array(H),te=0;te{var W;if(!t)return G.filter(he=>he!==Gt);let K=we(G);const k=new Set(ae),H=z.map(N).filter(he=>!L.get(he).disabled),re=H.every(he=>k.has(he)),te=H.some(he=>k.has(he)),fe=()=>{const he=[];re?H.forEach(Oe=>{k.delete(Oe),he.push(Oe)}):H.forEach(Oe=>{k.has(Oe)||(k.add(Oe),he.push(Oe))});const Se=Array.from(k);s==null||s(!re,Se.map(Oe=>x(Oe)),he.map(Oe=>x(Oe))),V(Se,"all"),de(null)};let le;if(p!=="radio"){let he;if(Q){const Ce={getPopupContainer:T,items:Q.map((Ue,je)=>{const{key:et,text:Ye,onSelect:tt}=Ue;return{key:et??je,onClick:()=>{tt==null||tt(H)},label:Ye}})};he=a.createElement("div",{className:`${C}-selection-extra`},a.createElement(ji,{menu:Ce,getPopupContainer:T},a.createElement("span",null,a.createElement(yi,null))))}const Se=z.map((Ce,Ue)=>{const je=N(Ce,Ue),et=L.get(je)||{};return Object.assign({checked:k.has(je)},et)}).filter(Ce=>{let{disabled:Ue}=Ce;return Ue}),Oe=!!Se.length&&Se.length===z.length,Re=Oe&&Se.every(Ce=>{let{checked:Ue}=Ce;return Ue}),Ae=Oe&&Se.some(Ce=>{let{checked:Ue}=Ce;return Ue});le=!v&&a.createElement("div",{className:`${C}-selection`},a.createElement(ir,{checked:Oe?Re:!!z.length&&re,indeterminate:Oe?!Re&&Ae:!re&&te,onChange:fe,disabled:z.length===0||Oe,"aria-label":he?"Custom selection":"Select all",skipGroup:!0}),he)}let ne;p==="radio"?ne=(he,Se,Oe)=>{const Re=N(Se,Oe),Ae=k.has(Re);return{node:a.createElement(Ri,Object.assign({},L.get(Re),{checked:Ae,onClick:Ce=>Ce.stopPropagation(),onChange:Ce=>{k.has(Re)||j(Re,!0,[Re],Ce.nativeEvent)}})),checked:Ae}}:ne=(he,Se,Oe)=>{var Re;const Ae=N(Se,Oe),Ce=k.has(Ae),Ue=Y.has(Ae),je=L.get(Ae);let et;return O==="nest"?et=Ue:et=(Re=je==null?void 0:je.indeterminate)!==null&&Re!==void 0?Re:Ue,{node:a.createElement(ir,Object.assign({},je,{indeterminate:et,checked:Ce,skipGroup:!0,onClick:Ye=>Ye.stopPropagation(),onChange:Ye=>{let{nativeEvent:tt}=Ye;const{shiftKey:nt}=tt;let pt=-1,rt=-1;if(nt&&y){const Ve=new Set([q,Ae]);H.some((Je,ke)=>{if(Ve.has(Je))if(pt===-1)pt=ke;else return rt=ke,!0;return!1})}if(rt!==-1&&pt!==rt&&y){const Ve=H.slice(pt,rt+1),Je=[];Ce?Ve.forEach(He=>{k.has(He)&&(Je.push(He),k.delete(He))}):Ve.forEach(He=>{k.has(He)||(Je.push(He),k.add(He))});const ke=Array.from(k);f==null||f(!Ce,ke.map(He=>x(He)),Je.map(He=>x(He))),V(ke,"multiple")}else{const Ve=F;if(y){const Je=Ce?Tt(Ve,Ae):Kt(Ve,Ae);j(Ae,!Ce,Je,tt)}else{const Je=vn([].concat(we(Ve),[Ae]),!0,D,_),{checkedKeys:ke,halfCheckedKeys:He}=Je;let lt=ke;if(Ce){const gt=new Set(ke);gt.delete(Ae),lt=vn(Array.from(gt),{checked:!1,halfCheckedKeys:He},D,_).checkedKeys}j(Ae,!Ce,lt,tt)}}de(Ce?null:Ae)}})),checked:Ce}};const ce=(he,Se,Oe)=>{const{node:Re,checked:Ae}=ne(he,Se,Oe);return h?h(Ae,Se,Oe,Re):Re};if(!K.includes(Gt))if(K.findIndex(he=>{var Se;return((Se=he[Nn])===null||Se===void 0?void 0:Se.columnType)==="EXPAND_COLUMN"})===0){const[he,...Se]=K;K=[he,Gt].concat(we(Se))}else K=[Gt].concat(we(K));const $e=K.indexOf(Gt);K=K.filter((he,Se)=>he!==Gt||Se===$e);const Te=K[$e-1],Ie=K[$e+1];let pe=b;pe===void 0&&((Ie==null?void 0:Ie.fixed)!==void 0?pe=Ie.fixed:(Te==null?void 0:Te.fixed)!==void 0&&(pe=Te.fixed)),pe&&Te&&((W=Te[Nn])===null||W===void 0?void 0:W.columnType)==="EXPAND_COLUMN"&&Te.fixed===void 0&&(Te.fixed=pe);const Ke=X(`${C}-selection-col`,{[`${C}-selection-col-with-dropdown`]:g&&p==="checkbox"}),Me={fixed:pe,width:m,className:`${C}-selection-column`,title:t.columnTitle||le,render:ce,onCell:t.onCell,[Nn]:{className:Ke}};return K.map(he=>he===Gt?Me:he)},[N,z,t,F,ae,Y,m,Q,O,q,L,f,j,_]),ae]};var Fg={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};const Wg=Fg;var Vg=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:Wg}))};const Gg=a.forwardRef(Vg);var Xg={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};const Ug=Xg;var Yg=function(t,r){return a.createElement(ct,ue({},t,{ref:r,icon:Ug}))};const qg=a.forwardRef(Yg),qn="ascend",Ar="descend";function lr(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function Da(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function Jg(e,t){return t?e[e.indexOf(t)+1]:e[0]}function io(e,t,r){let n=[];function o(i,c){n.push({column:i,key:on(i,c),multiplePriority:lr(i),sortOrder:i.sortOrder})}return(e||[]).forEach((i,c)=>{const l=jn(c,r);i.children?("sortOrder"in i&&o(i,l),n=[].concat(we(n),we(io(i.children,t,l)))):i.sorter&&("sortOrder"in i?o(i,l):t&&i.defaultSortOrder&&n.push({column:i,key:on(i,l),multiplePriority:lr(i),sortOrder:i.defaultSortOrder}))}),n}function El(e,t,r,n,o,i,c,l){return(t||[]).map((s,d)=>{const u=jn(d,l);let f=s;if(f.sorter){const m=f.sortDirections||o,p=f.showSorterTooltip===void 0?c:f.showSorterTooltip,g=on(f,u),b=r.find(O=>{let{key:S}=O;return S===g}),h=b?b.sortOrder:null,v=Jg(m,h);let y;if(s.sortIcon)y=s.sortIcon({sortOrder:h});else{const O=m.includes(qn)&&a.createElement(qg,{className:X(`${e}-column-sorter-up`,{active:h===qn})}),S=m.includes(Ar)&&a.createElement(Gg,{className:X(`${e}-column-sorter-down`,{active:h===Ar})});y=a.createElement("span",{className:X(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(O&&S)})},a.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},O,S))}const{cancelSort:C,triggerAsc:w,triggerDesc:$}=i||{};let x=C;v===Ar?x=$:v===qn&&(x=w);const N=typeof p=="object"?Object.assign({title:x},p):{title:x};f=Object.assign(Object.assign({},f),{className:X(f.className,{[`${e}-column-sort`]:h}),title:O=>{const S=a.createElement("div",{className:`${e}-column-sorters`},a.createElement("span",{className:`${e}-column-title`},xr(s.title,O)),y);return p?a.createElement(ds,Object.assign({},N),S):S},onHeaderCell:O=>{const S=s.onHeaderCell&&s.onHeaderCell(O)||{},R=S.onClick,T=S.onKeyDown;S.onClick=P=>{n({column:s,key:g,sortOrder:v,multiplePriority:lr(s)}),R==null||R(P)},S.onKeyDown=P=>{P.keyCode===xe.ENTER&&(n({column:s,key:g,sortOrder:v,multiplePriority:lr(s)}),T==null||T(P))};const E=bm(s.title,{}),I=E==null?void 0:E.toString();return h?S["aria-sort"]=h==="ascend"?"ascending":"descending":S["aria-label"]=I||"",S.className=X(S.className,`${e}-column-has-sorters`),S.tabIndex=0,s.ellipsis&&(S.title=(E??"").toString()),S}})}return"children"in f&&(f=Object.assign(Object.assign({},f),{children:El(e,f.children,r,n,o,i,c,u)})),f})}function Ma(e){const{column:t,sortOrder:r}=e;return{column:t,order:r,field:t.dataIndex,columnKey:t.key}}function za(e){const t=e.filter(r=>{let{sortOrder:n}=r;return n}).map(Ma);return t.length===0&&e.length?Object.assign(Object.assign({},Ma(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function lo(e,t,r){const n=t.slice().sort((c,l)=>l.multiplePriority-c.multiplePriority),o=e.slice(),i=n.filter(c=>{let{column:{sorter:l},sortOrder:s}=c;return Da(l)&&s});return i.length?o.sort((c,l)=>{for(let s=0;s{const l=c[r];return l?Object.assign(Object.assign({},c),{[r]:lo(l,t,r)}):c}):o}function Qg(e){let{prefixCls:t,mergedColumns:r,onSorterChange:n,sortDirections:o,tableLocale:i,showSorterTooltip:c}=e;const[l,s]=a.useState(io(r,!0)),d=a.useMemo(()=>{let g=!0;const b=io(r,!1);if(!b.length)return l;const h=[];function v(C){g?h.push(C):h.push(Object.assign(Object.assign({},C),{sortOrder:null}))}let y=null;return b.forEach(C=>{y===null?(v(C),C.sortOrder&&(C.multiplePriority===!1?g=!1:y=!0)):(y&&C.multiplePriority!==!1||(g=!1),v(C))}),h},[r,l]),u=a.useMemo(()=>{const g=d.map(b=>{let{column:h,sortOrder:v}=b;return{column:h,order:v}});return{sortColumns:g,sortColumn:g[0]&&g[0].column,sortOrder:g[0]&&g[0].order}},[d]);function f(g){let b;g.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?b=[g]:b=[].concat(we(d.filter(h=>{let{key:v}=h;return v!==g.key})),[g]),s(b),n(za(b),b)}return[g=>El(t,g,d,f,o,i,c),d,u,()=>za(d)]}function Il(e,t){return e.map(r=>{const n=Object.assign({},r);return n.title=xr(r.title,t),"children"in n&&(n.children=Il(n.children,t)),n})}function Zg(e){return[a.useCallback(r=>Il(r,e),[e])]}const ev=cl((e,t)=>{const{_renderTimes:r}=e,{_renderTimes:n}=t;return r!==n}),tv=fl((e,t)=>{const{_renderTimes:r}=e,{_renderTimes:n}=t;return r!==n}),nv=e=>{const{componentCls:t}=e,r=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,n=(o,i,c)=>({[`&${t}-${o}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`-${i}px -${c+e.lineWidth}px`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:r,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:r,borderTop:r,[` + > ${t}-content, + > ${t}-header, + > ${t}-body, + > ${t}-summary + `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:r},"> thead":{"> tr:not(:last-child) > th":{borderBottom:r},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:r}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`-${e.tablePaddingVertical}px -${e.tablePaddingHorizontal+e.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:e.lineWidth,bottom:0,borderInlineEnd:r,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` + > tr${t}-expanded-row, + > tr${t}-placeholder + `]:{"> th, > td":{borderInlineEnd:0}}}}}},n("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),n("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:r,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${e.lineWidth}px 0 ${e.lineWidth}px ${e.tableHeaderBg}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:r}}}},rv=nv,ov=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},Qn),{wordBreak:"keep-all",[` + &${t}-cell-fix-left-last, + &${t}-cell-fix-right-first + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},av=ov,iv=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},lv=iv,sv=e=>{const{componentCls:t,antCls:r,controlInteractiveSize:n,motionDurationSlow:o,lineWidth:i,paddingXS:c,lineType:l,tableBorderColor:s,tableExpandIconBg:d,tableExpandColumnWidth:u,borderRadius:f,fontSize:m,fontSizeSM:p,lineHeight:g,tablePaddingVertical:b,tablePaddingHorizontal:h,tableExpandedRowBg:v,paddingXXS:y}=e,C=n/2-i,w=C*2+i*3,$=`${i}px ${l} ${s}`,x=y-i;return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},us(e)),{position:"relative",float:"left",boxSizing:"border-box",width:w,height:w,padding:0,color:"inherit",lineHeight:`${w}px`,background:d,border:$,borderRadius:f,transform:`scale(${n/w})`,transition:`all ${o}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${o} ease-out`,content:'""'},"&::before":{top:C,insetInlineEnd:x,insetInlineStart:x,height:i},"&::after":{top:x,bottom:x,insetInlineStart:C,width:i,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:(m*g-i*3)/2-Math.ceil((p*1.4-i*3)/2),marginInlineEnd:c},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:v}},[`${r}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`-${b}px -${h}px`,padding:`${b}px ${h}px`}}}},cv=sv,dv=e=>{const{componentCls:t,antCls:r,iconCls:n,tableFilterDropdownWidth:o,tableFilterDropdownSearchWidth:i,paddingXXS:c,paddingXS:l,colorText:s,lineWidth:d,lineType:u,tableBorderColor:f,tableHeaderIconColor:m,fontSizeSM:p,tablePaddingHorizontal:g,borderRadius:b,motionDurationSlow:h,colorTextDescription:v,colorPrimary:y,tableHeaderFilterActiveBg:C,colorTextDisabled:w,tableFilterDropdownBg:$,tableFilterDropdownHeight:x,controlItemBgHover:N,controlItemBgActive:O,boxShadowSecondary:S,filterDropdownMenuBg:R}=e,T=`${r}-dropdown`,E=`${t}-filter-dropdown`,I=`${r}-tree`,P=`${d}px ${u} ${f}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-c,marginInline:`${c}px ${-g/2}px`,padding:`0 ${c}px`,color:m,fontSize:p,borderRadius:b,cursor:"pointer",transition:`all ${h}`,"&:hover":{color:v,background:C},"&.active":{color:y}}}},{[`${r}-dropdown`]:{[E]:Object.assign(Object.assign({},bt(e)),{minWidth:o,backgroundColor:$,borderRadius:b,boxShadow:S,overflow:"hidden",[`${T}-menu`]:{maxHeight:x,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:R,"&:empty::after":{display:"block",padding:`${l}px 0`,color:w,fontSize:p,textAlign:"center",content:'"Not Found"'}},[`${E}-tree`]:{paddingBlock:`${l}px 0`,paddingInline:l,[I]:{padding:0},[`${I}-treenode ${I}-node-content-wrapper:hover`]:{backgroundColor:N},[`${I}-treenode-checkbox-checked ${I}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:O}}},[`${E}-search`]:{padding:l,borderBottom:P,"&-input":{input:{minWidth:i},[n]:{color:w}}},[`${E}-checkall`]:{width:"100%",marginBottom:c,marginInlineStart:c},[`${E}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${l-d}px ${l}px`,overflow:"hidden",borderTop:P}})}},{[`${r}-dropdown ${E}, ${E}-submenu`]:{[`${r}-checkbox-wrapper + span`]:{paddingInlineStart:l,color:s},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},uv=dv,fv=e=>{const{componentCls:t,lineWidth:r,colorSplit:n,motionDurationSlow:o,zIndexTableFixed:i,tableBg:c,zIndexTableSticky:l}=e,s=n;return{[`${t}-wrapper`]:{[` + ${t}-cell-fix-left, + ${t}-cell-fix-right + `]:{position:"sticky !important",zIndex:i,background:c},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-r,width:30,transform:"translateX(100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:-r,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:l+1,width:30,transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${s}`}},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${s}`}},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${s}`}}}}},pv=fv,mv=e=>{const{componentCls:t,antCls:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${r}-pagination`]:{margin:`${e.margin}px 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},gv=mv,vv=e=>{const{componentCls:t,tableRadius:r}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${r}px ${r}px 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:r,borderStartEndRadius:r,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:r},"> *:last-child":{borderStartEndRadius:r}}},"&-footer":{borderRadius:`0 0 ${r}px ${r}px`}}}}},hv=vv,bv=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},yv=bv,Cv=e=>{const{componentCls:t,antCls:r,iconCls:n,fontSizeIcon:o,padding:i,paddingXS:c,tableHeaderIconColor:l,tableHeaderIconColorHover:s,tableSelectionColumnWidth:d,tableSelectedRowBg:u,tableSelectedRowHoverBg:f,tableRowHoverBg:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:d,[`&${t}-selection-col-with-dropdown`]:{width:d+o+i/4}},[`${t}-bordered ${t}-selection-col`]:{width:d+c*2,[`&${t}-selection-col-with-dropdown`]:{width:d+o+i/4+c*2}},[` + table tr th${t}-selection-column, + table tr td${t}-selection-column, + ${t}-selection-column + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${r}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${e.tablePaddingHorizontal/4}px`,[n]:{color:l,fontSize:o,verticalAlign:"baseline","&:hover":{color:s}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:u,"&-row-hover":{background:f}}},[`> ${t}-cell-row-hover`]:{background:m}}}}}},Sv=Cv,xv=e=>{const{componentCls:t}=e,r=(n,o,i,c)=>({[`${t}${t}-${n}`]:{fontSize:c,[` + ${t}-title, + ${t}-footer, + ${t}-cell, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${o}px ${i}px`},[`${t}-filter-trigger`]:{marginInlineEnd:`-${i/2}px`},[`${t}-expanded-row-fixed`]:{margin:`-${o}px -${i}px`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:`-${o}px`,marginInline:`${e.tableExpandColumnWidth-i}px -${i}px`}},[`${t}-selection-extra`]:{paddingInlineStart:`${i/4}px`}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},r("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),r("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},wv=xv,$v=e=>{const{componentCls:t,marginXXS:r,fontSizeIcon:n,tableHeaderIconColor:o,tableHeaderIconColorHover:i}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` + &${t}-cell-fix-left:hover, + &${t}-cell-fix-right:hover + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:r,color:o,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:n,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:i}}}},Ev=$v,Iv=e=>{const{componentCls:t,opacityLoading:r,tableScrollThumbBg:n,tableScrollThumbBgHover:o,tableScrollThumbSize:i,tableScrollBg:c,zIndexTableSticky:l,stickyScrollBarBorderRadius:s}=e,d=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:l,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${i}px !important`,zIndex:l,display:"flex",alignItems:"center",background:c,borderTop:d,opacity:r,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:i,backgroundColor:n,borderRadius:s,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:o}}}}}}},Ov=Iv,Nv=e=>{const{componentCls:t,lineWidth:r,tableBorderColor:n}=e,o=`${r}px ${e.lineType} ${n}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:o}}},[`div${t}-summary`]:{boxShadow:`0 -${r}px 0 ${n}`}}}},Ka=Nv,Rv=e=>{const{componentCls:t,motionDurationMid:r}=e,n=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,o=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:n,transition:`background ${r}`},[`${t}-expanded-row`]:{[`${o}${o}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${e.lineWidth}px)`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:n,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:n,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-e.lineWidth,borderInlineStart:n}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:n,borderBottom:n}}}}}},Pv=Rv,Tv=e=>{const{componentCls:t,fontWeightStrong:r,tablePaddingVertical:n,tablePaddingHorizontal:o,lineWidth:i,lineType:c,tableBorderColor:l,tableFontSize:s,tableBg:d,tableRadius:u,tableHeaderTextColor:f,motionDurationMid:m,tableHeaderBg:p,tableHeaderCellSplitColor:g,tableFooterTextColor:b,tableFooterBg:h}=e,v=`${i}px ${c} ${l}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},zl()),{[t]:Object.assign(Object.assign({},bt(e)),{fontSize:s,background:d,borderRadius:`${u}px ${u}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${u}px ${u}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${t}-cell, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${n}px ${o}px`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${n}px ${o}px`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:f,fontWeight:r,textAlign:"start",background:p,borderBottom:v,transition:`background ${m} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:g,transform:"translateY(-50%)",transition:`background-color ${m}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${m}, border-color ${m}`,borderBottom:v,[` + > ${t}-wrapper:only-child, + > ${t}-expanded-row-fixed > ${t}-wrapper:only-child + `]:{[t]:{marginBlock:`-${n}px`,marginInline:`${e.tableExpandColumnWidth-o}px -${o}px`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:r,textAlign:"start",background:p,borderBottom:v,transition:`background ${m} ease`}}},[`${t}-footer`]:{padding:`${n}px ${o}px`,color:b,background:h}})}},Dv=Nt("Table",e=>{const{colorTextHeading:t,colorSplit:r,colorIcon:n,colorIconHover:o,opacityLoading:i,colorBgContainer:c,controlInteractiveSize:l,headerBg:s,headerColor:d,headerSortActiveBg:u,headerSortHoverBg:f,bodySortBg:m,rowHoverBg:p,rowSelectedBg:g,rowSelectedHoverBg:b,rowExpandedBg:h,cellPaddingBlock:v,cellPaddingInline:y,cellPaddingBlockMD:C,cellPaddingInlineMD:w,cellPaddingBlockSM:$,cellPaddingInlineSM:x,borderColor:N,footerBg:O,footerColor:S,headerBorderRadius:R,cellFontSize:T,cellFontSizeMD:E,cellFontSizeSM:I,headerSplitColor:P,fixedHeaderSortActiveBg:B,headerFilterHoverBg:M,filterDropdownBg:D,expandIconBg:z,selectionColumnWidth:L,stickyScrollBarBg:_}=e,F=new Lt(n),J=new Lt(o),ae=2,Y=at(e,{tableFontSize:T,tableBg:c,tableRadius:R,tablePaddingVertical:v,tablePaddingHorizontal:y,tablePaddingVerticalMiddle:C,tablePaddingHorizontalMiddle:w,tablePaddingVerticalSmall:$,tablePaddingHorizontalSmall:x,tableBorderColor:N,tableHeaderTextColor:d,tableHeaderBg:s,tableFooterTextColor:S,tableFooterBg:O,tableHeaderCellSplitColor:P,tableHeaderSortBg:u,tableHeaderSortHoverBg:f,tableHeaderIconColor:F.clone().setAlpha(F.getAlpha()*i).toRgbString(),tableHeaderIconColorHover:J.clone().setAlpha(J.getAlpha()*i).toRgbString(),tableBodySortBg:m,tableFixedHeaderSortActiveBg:B,tableHeaderFilterActiveBg:M,tableFilterDropdownBg:D,tableRowHoverBg:p,tableSelectedRowBg:g,tableSelectedRowHoverBg:b,zIndexTableFixed:ae,zIndexTableSticky:ae+1,tableFontSizeMiddle:E,tableFontSizeSmall:I,tableSelectionColumnWidth:L,tableExpandIconBg:z,tableExpandColumnWidth:l+2*e.padding,tableExpandedRowBg:h,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:_,tableScrollThumbBgHover:t,tableScrollBg:r});return[Tv(Y),gv(Y),Ka(Y),Ev(Y),uv(Y),rv(Y),hv(Y),cv(Y),Ka(Y),lv(Y),Sv(Y),pv(Y),Ov(Y),av(Y),wv(Y),yv(Y),Pv(Y)]},e=>{const{colorFillAlter:t,colorBgContainer:r,colorTextHeading:n,colorFillSecondary:o,colorFillContent:i,controlItemBgActive:c,controlItemBgActiveHover:l,padding:s,paddingSM:d,paddingXS:u,colorBorderSecondary:f,borderRadiusLG:m,fontSize:p,controlHeight:g,colorTextPlaceholder:b}=e,h=new Lt(o).onBackground(r).toHexShortString(),v=new Lt(i).onBackground(r).toHexShortString(),y=new Lt(t).onBackground(r).toHexShortString();return{headerBg:y,headerColor:n,headerSortActiveBg:h,headerSortHoverBg:v,bodySortBg:y,rowHoverBg:y,rowSelectedBg:c,rowSelectedHoverBg:l,rowExpandedBg:t,cellPaddingBlock:s,cellPaddingInline:s,cellPaddingBlockMD:d,cellPaddingInlineMD:u,cellPaddingBlockSM:u,cellPaddingInlineSM:u,borderColor:f,headerBorderRadius:m,footerBg:y,footerColor:n,cellFontSize:p,cellFontSizeMD:p,cellFontSizeSM:p,headerSplitColor:f,fixedHeaderSortActiveBg:h,headerFilterHoverBg:i,filterDropdownMenuBg:r,filterDropdownBg:r,expandIconBg:r,selectionColumnWidth:g,stickyScrollBarBg:b,stickyScrollBarBorderRadius:100}}),Mv=[],zv=(e,t)=>{const{prefixCls:r,className:n,rootClassName:o,style:i,size:c,bordered:l,dropdownPrefixCls:s,dataSource:d,pagination:u,rowSelection:f,rowKey:m="key",rowClassName:p,columns:g,children:b,childrenColumnName:h,onChange:v,getPopupContainer:y,loading:C,expandIcon:w,expandable:$,expandedRowRender:x,expandIconColumnIndex:N,indentSize:O,scroll:S,sortDirections:R,locale:T,showSorterTooltip:E=!0,virtual:I}=e;cr();const P=a.useMemo(()=>g||Ro(b),[g,b]),B=a.useMemo(()=>P.some(oe=>oe.responsive),[P]),M=xi(B),D=a.useMemo(()=>{const oe=new Set(Object.keys(M).filter(ve=>M[ve]));return P.filter(ve=>!ve.responsive||ve.responsive.some(_e=>oe.has(_e)))},[P,M]),z=jt(e,["className","style","columns"]),{locale:L=Kl,direction:_,table:F,renderEmpty:J,getPrefixCls:ae,getPopupContainer:Y}=a.useContext(Xe),q=Cn(c),de=Object.assign(Object.assign({},L.Table),T),V=d||Mv,j=ae("table",r),Q=ae("dropdown",s),Z=Object.assign({childrenColumnName:h,expandIconColumnIndex:N},$),{childrenColumnName:G="children"}=Z,W=a.useMemo(()=>V.some(oe=>oe==null?void 0:oe[G])?"nest":x||$&&$.expandedRowRender?"row":null,[V]),K={body:a.useRef()},k=hm(j),H=a.useMemo(()=>typeof m=="function"?m:oe=>oe==null?void 0:oe[m],[m]),[re]=Hg(V,G,H),te={},fe=function(oe,ve){let _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Pe,Fe,Be;const Ge=Object.assign(Object.assign({},te),oe);_e&&((Pe=te.resetPagination)===null||Pe===void 0||Pe.call(te),!((Fe=Ge.pagination)===null||Fe===void 0)&&Fe.current&&(Ge.pagination.current=1),u&&u.onChange&&u.onChange(1,(Be=Ge.pagination)===null||Be===void 0?void 0:Be.pageSize)),S&&S.scrollToFirstRowOnChange!==!1&&K.body.current&&ws(0,{getContainer:()=>K.body.current}),v==null||v(Ge.pagination,Ge.filters,Ge.sorter,{currentDataSource:Pa(lo(V,Ge.sorterStates,G),Ge.filterStates),action:ve})},le=(oe,ve)=>{fe({sorter:oe,sorterStates:ve},"sort",!1)},[ne,ce,$e,Te]=Qg({prefixCls:j,mergedColumns:D,onSorterChange:le,sortDirections:R||["ascend","descend"],tableLocale:de,showSorterTooltip:E}),Ie=a.useMemo(()=>lo(V,ce,G),[V,ce]);te.sorter=Te(),te.sorterStates=ce;const pe=(oe,ve)=>{fe({filters:oe,filterStates:ve},"filter",!0)},[Ke,Me,he]=Lg({prefixCls:j,locale:de,dropdownPrefixCls:Q,mergedColumns:D,onFilterChange:pe,getPopupContainer:y||Y}),Se=Pa(Ie,Me);te.filters=he,te.filterStates=Me;const Oe=a.useMemo(()=>{const oe={};return Object.keys(he).forEach(ve=>{he[ve]!==null&&(oe[ve]=he[ve])}),Object.assign(Object.assign({},$e),{filters:oe})},[$e,he]),[Re]=Zg(Oe),Ae=(oe,ve)=>{fe({pagination:Object.assign(Object.assign({},te.pagination),{current:oe,pageSize:ve})},"paginate")},[Ce,Ue]=jg(Se.length,Ae,u);te.pagination=u===!1?{}:kg(Ce,u),te.resetPagination=Ue;const je=a.useMemo(()=>{if(u===!1||!Ce.pageSize)return Se;const{current:oe=1,total:ve,pageSize:_e=wl}=Ce;return Se.length_e?Se.slice((oe-1)*_e,oe*_e):Se:Se.slice((oe-1)*_e,oe*_e)},[!!u,Se,Ce&&Ce.current,Ce&&Ce.pageSize,Ce&&Ce.total]),[et,Ye]=Ag({prefixCls:j,data:Se,pageData:je,getRowKey:H,getRecordByKey:re,expandType:W,childrenColumnName:G,locale:de,getPopupContainer:y||Y},f),tt=(oe,ve,_e)=>{let Pe;return typeof p=="function"?Pe=X(p(oe,ve,_e)):Pe=X(p),X({[`${j}-row-selected`]:Ye.has(H(oe,ve))},Pe)};Z.__PARENT_RENDER_ICON__=Z.expandIcon,Z.expandIcon=Z.expandIcon||w||vm(de),W==="nest"&&Z.expandIconColumnIndex===void 0?Z.expandIconColumnIndex=f?1:0:Z.expandIconColumnIndex>0&&f&&(Z.expandIconColumnIndex-=1),typeof Z.indentSize!="number"&&(Z.indentSize=typeof O=="number"?O:15);const nt=a.useCallback(oe=>Re(et(Ke(ne(oe)))),[ne,Ke,et]);let pt,rt;if(u!==!1&&(Ce!=null&&Ce.total)){let oe;Ce.size?oe=Ce.size:oe=q==="small"||q==="middle"?"small":void 0;const ve=Fe=>a.createElement(np,Object.assign({},Ce,{className:X(`${j}-pagination ${j}-pagination-${Fe}`,Ce.className),size:oe})),_e=_==="rtl"?"left":"right",{position:Pe}=Ce;if(Pe!==null&&Array.isArray(Pe)){const Fe=Pe.find(vt=>vt.includes("top")),Be=Pe.find(vt=>vt.includes("bottom")),Ge=Pe.every(vt=>`${vt}`=="none");!Fe&&!Be&&!Ge&&(rt=ve(_e)),Fe&&(pt=ve(Fe.toLowerCase().replace("top",""))),Be&&(rt=ve(Be.toLowerCase().replace("bottom","")))}else rt=ve(_e)}let Ve;typeof C=="boolean"?Ve={spinning:C}:typeof C=="object"&&(Ve=Object.assign({spinning:!0},C));const[Je,ke]=Dv(j),[,He]=ln(),lt=X(`${j}-wrapper`,F==null?void 0:F.className,{[`${j}-wrapper-rtl`]:_==="rtl"},n,o,ke),gt=Object.assign(Object.assign({},F==null?void 0:F.style),i),ge=T&&T.emptyText||(J==null?void 0:J("Table"))||a.createElement(hi,{componentName:"Table"}),ie=I?tv:ev,be={},Ee=a.useMemo(()=>{const{fontSize:oe,lineHeight:ve,padding:_e,paddingXS:Pe,paddingSM:Fe}=He,Be=Math.floor(oe*ve);switch(q){case"large":return _e*2+Be;case"small":return Pe*2+Be;default:return Fe*2+Be}},[He,q]);return I&&(be.listItemHeight=Ee),Je(a.createElement("div",{ref:t,className:lt,style:gt},a.createElement(up,Object.assign({spinning:!1},Ve),pt,a.createElement(ie,Object.assign({},be,z,{columns:D,direction:_,expandable:Z,prefixCls:j,className:X({[`${j}-middle`]:q==="middle",[`${j}-small`]:q==="small",[`${j}-bordered`]:l,[`${j}-empty`]:V.length===0}),data:je,rowKey:H,rowClassName:tt,emptyText:ge,internalHooks:kn,internalRefs:K,transformColumns:nt,getContainerWidth:k})),rt)))},Kv=a.forwardRef(zv),Bv=(e,t)=>{const r=a.useRef(0);return r.current+=1,a.createElement(Kv,Object.assign({},e,{ref:t,_renderTimes:r.current}))},At=a.forwardRef(Bv);At.SELECTION_COLUMN=Gt;At.EXPAND_COLUMN=Ut;At.SELECTION_ALL=ro;At.SELECTION_INVERT=oo;At.SELECTION_NONE=ao;At.Column=mm;At.ColumnGroup=gm;At.Summary=qi;const Lv=At,kv=()=>Bl.jsx(Lv,{});export{kv as default}; diff --git a/assets/index-6b9cd325.js b/assets/index-6b9cd325.js new file mode 100644 index 0000000..ecac447 --- /dev/null +++ b/assets/index-6b9cd325.js @@ -0,0 +1,16 @@ +import{r as i,C as Q,c as G,_ as xt,a as ke,s as St,g as Ct,d as ae,f as Et,b as Ot,e as wt,T as _e,h as De,i as Tt,j as $t,k as Ne,u as jt,l as be,m as Lt,n as Rt,o as Me,p as se,q as A,O as kt}from"./index-ae76f54c.js";import{t as he,S as Ae,g as We,o as ve,L as Nt,K as le,A as xe,a as Fe,T as Bt,c as zt,b as ye,u as It,d as Pt,i as Be,R as Ht,C as _t,M as Dt}from"./TextArea-9c0cedf0.js";function Mt(e,t,o){return typeof o=="boolean"?o:e.length?!0:he(t).some(r=>r.type===Ae)}const At=e=>{const{componentCls:t,bodyBg:o,lightSiderBg:n,lightTriggerBg:r,lightTriggerColor:a}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:a,background:r},[`${t}-sider-zero-width-trigger`]:{color:a,background:r,border:`1px solid ${o}`,borderInlineStart:0}}}},Wt=At,Ft=e=>{const{antCls:t,componentCls:o,colorText:n,triggerColor:r,footerBg:a,triggerBg:g,headerHeight:c,headerPadding:l,headerColor:f,footerPadding:d,triggerHeight:m,zeroTriggerHeight:T,zeroTriggerWidth:S,motionDurationMid:b,motionDurationSlow:y,fontSize:x,borderRadius:j,bodyBg:R,headerBg:p,siderBg:v}=e;return{[o]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:R,"&, *":{boxSizing:"border-box"},[`&${o}-has-sider`]:{flexDirection:"row",[`> ${o}, > ${o}-content`]:{width:0}},[`${o}-header, &${o}-footer`]:{flex:"0 0 auto"},[`${o}-sider`]:{position:"relative",minWidth:0,background:v,transition:`all ${b}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:m},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:m,color:r,lineHeight:`${m}px`,textAlign:"center",background:g,cursor:"pointer",transition:`all ${b}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:c,insetInlineEnd:-S,zIndex:1,width:S,height:T,color:r,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:v,borderStartStartRadius:0,borderStartEndRadius:j,borderEndEndRadius:j,borderEndStartRadius:0,cursor:"pointer",transition:`background ${y} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${y}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-S,borderStartStartRadius:j,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:j}}}}},Wt(e)),{"&-rtl":{direction:"rtl"}}),[`${o}-header`]:{height:c,padding:l,color:f,lineHeight:`${c}px`,background:p,[`${t}-menu`]:{lineHeight:"inherit"}},[`${o}-footer`]:{padding:d,color:n,fontSize:x,background:a},[`${o}-content`]:{flex:"auto",minHeight:0}}},Xe=We("Layout",e=>[Ft(e)],e=>{const{colorBgLayout:t,controlHeight:o,controlHeightLG:n,colorText:r,controlHeightSM:a,marginXXS:g,colorTextLightSolid:c,colorBgContainer:l}=e,f=n*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:o*2,headerPadding:`0 ${f}px`,headerColor:r,footerPadding:`${a}px ${f}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+g*2,triggerBg:"#002140",triggerColor:c,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:r}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var Ke=globalThis&&globalThis.__rest||function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);ri.forwardRef((g,c)=>i.createElement(r,Object.assign({ref:c,suffixCls:t,tagName:o},g)))}const Se=i.forwardRef((e,t)=>{const{prefixCls:o,suffixCls:n,className:r,tagName:a}=e,g=Ke(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:c}=i.useContext(Q),l=c("layout",o),[f,d]=Xe(l),m=n?`${l}-${n}`:l;return f(i.createElement(a,Object.assign({className:G(o||m,r,d),ref:t},g)))}),Xt=i.forwardRef((e,t)=>{const{direction:o}=i.useContext(Q),[n,r]=i.useState([]),{prefixCls:a,className:g,rootClassName:c,children:l,hasSider:f,tagName:d,style:m}=e,T=Ke(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),S=ve(T,["suffixCls"]),{getPrefixCls:b,layout:y}=i.useContext(Q),x=b("layout",a),j=Mt(n,l,f),[R,p]=Xe(x),v=G(x,{[`${x}-has-sider`]:j,[`${x}-rtl`]:o==="rtl"},y==null?void 0:y.className,g,c,p),k=i.useMemo(()=>({siderHook:{addSider:C=>{r(z=>[].concat(xt(z),[C]))},removeSider:C=>{r(z=>z.filter(I=>I!==C))}}}),[]);return R(i.createElement(Nt.Provider,{value:k},i.createElement(d,Object.assign({ref:t,className:v,style:Object.assign(Object.assign({},y==null?void 0:y.style),m)},S),l)))}),Kt=ce({tagName:"div",displayName:"Layout"})(Xt),Ut=ce({suffixCls:"header",tagName:"header",displayName:"Header"})(Se),Vt=ce({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Se),Gt=ce({suffixCls:"content",tagName:"main",displayName:"Content"})(Se),qt=Kt,Y=qt;Y.Header=Ut;Y.Footer=Vt;Y.Content=Gt;Y.Sider=Ae;const Ce=Y,Jt=e=>{const t=e!=null&&e.algorithm?ke(e.algorithm):ke(ae),o=Object.assign(Object.assign({},St),e==null?void 0:e.token);return Ct(o,{override:e==null?void 0:e.token},t,Et)},Qt=Jt;function Yt(e){const{sizeUnit:t,sizeStep:o}=e,n=o-2;return{sizeXXL:t*(n+10),sizeXL:t*(n+6),sizeLG:t*(n+2),sizeMD:t*(n+2),sizeMS:t*(n+1),size:t*n,sizeSM:t*n,sizeXS:t*(n-1),sizeXXS:t*(n-1)}}const Zt=(e,t)=>{const o=t??ae(e),n=o.fontSizeSM,r=o.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o),Yt(t??e)),Ot(n)),{controlHeight:r}),wt(Object.assign(Object.assign({},o),{controlHeight:r})))},en=Zt,M=(e,t)=>new _e(e).setAlpha(t).toRgbString(),V=(e,t)=>new _e(e).lighten(t).toHexString(),tn=e=>{const t=De(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},nn=(e,t)=>{const o=e||"#000",n=t||"#fff";return{colorBgBase:o,colorTextBase:n,colorText:M(n,.85),colorTextSecondary:M(n,.65),colorTextTertiary:M(n,.45),colorTextQuaternary:M(n,.25),colorFill:M(n,.18),colorFillSecondary:M(n,.12),colorFillTertiary:M(n,.08),colorFillQuaternary:M(n,.04),colorBgElevated:V(o,12),colorBgContainer:V(o,8),colorBgLayout:V(o,0),colorBgSpotlight:V(o,26),colorBgBlur:M(n,.04),colorBorder:V(o,26),colorBorderSecondary:V(o,19)}},on=(e,t)=>{const o=Object.keys(Tt).map(r=>{const a=De(e[r],{theme:"dark"});return new Array(10).fill(1).reduce((g,c,l)=>(g[`${r}-${l+1}`]=a[l],g[`${r}${l+1}`]=a[l],g),{})}).reduce((r,a)=>(r=Object.assign(Object.assign({},r),a),r),{}),n=t??ae(e);return Object.assign(Object.assign(Object.assign({},n),o),$t(e,{generateColorPalettes:tn,generateNeutralColorPalettes:nn}))},rn=on;function sn(){const[e,t,o]=jt();return{theme:e,token:t,hashId:o}}const Ue={defaultConfig:Ne,defaultSeed:Ne.token,useToken:sn,defaultAlgorithm:ae,darkAlgorithm:rn,compactAlgorithm:en,getDesignToken:Qt};var ln=globalThis&&globalThis.__rest||function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{const o=f=>{const{keyCode:d}=f;d===le.ENTER&&f.preventDefault()},n=f=>{const{keyCode:d}=f,{onClick:m}=e;d===le.ENTER&&m&&m()},{style:r,noStyle:a,disabled:g}=e,c=ln(e,["style","noStyle","disabled"]);let l={};return a||(l=Object.assign({},an)),g&&(l.pointerEvents="none"),l=Object.assign(Object.assign({},l),r),i.createElement("div",Object.assign({role:"button",tabIndex:0,ref:t},c,{onKeyDown:o,onKeyUp:n,style:l}))}),ze=cn;var dn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};const un=dn;var gn=function(t,o){return i.createElement(xe,be({},t,{ref:o,icon:un}))};const fn=i.forwardRef(gn);var pn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};const mn=pn;var yn=function(t,o){return i.createElement(xe,be({},t,{ref:o,icon:mn}))};const bn=i.forwardRef(yn);var hn=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,o=[],n=0;n"u"){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var m=Ie[t.format]||Ie.default;window.clipboardData.setData(m,e)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,e);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(c),a.selectNodeContents(c),g.addRange(a);var f=document.execCommand("copy");if(!f)throw new Error("copy command was unsuccessful");l=!0}catch(d){o&&console.error("unable to copy using execCommand: ",d),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(m){o&&console.error("unable to copy using clipboardData: ",m),o&&console.error("falling back to prompt"),n=Sn("message"in t?t.message:xn),window.prompt(n,e)}}finally{g&&(typeof g.removeRange=="function"?g.removeRange(a):g.removeAllRanges()),c&&document.body.removeChild(c),r()}return l}var En=Cn;const On=Lt(En);var wn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};const Tn=wn;var $n=function(t,o){return i.createElement(xe,be({},t,{ref:o,icon:Tn}))};const jn=i.forwardRef($n),Ln=(e,t,o,n)=>{const{titleMarginBottom:r,fontWeightStrong:a}=n;return{marginBottom:r,color:o,fontWeight:a,fontSize:e,lineHeight:t}},Rn=e=>{const t=[1,2,3,4,5],o={};return t.forEach(n=>{o[` + h${n}&, + div&-h${n}, + div&-h${n} > textarea, + h${n} + `]=Ln(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),o},kn=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},Fe(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},Nn=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:Rt[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),Bn=e=>{const{componentCls:t,paddingSM:o}=e,n=o;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:-e.paddingSM,marginTop:-n,marginBottom:`calc(1em - ${n}px)`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.marginXS+2,insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},zn=e=>({"&-copy-success":{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}}}),In=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Pn=e=>{const{componentCls:t,titleMarginTop:o}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},Rn(e)),{[` + & + h1${t}, + & + h2${t}, + & + h3${t}, + & + h4${t}, + & + h5${t} + `]:{marginTop:o},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:o}}}),Nn(e)),kn(e)),{[` + ${t}-expand, + ${t}-edit, + ${t}-copy + `]:Object.assign(Object.assign({},Fe(e)),{marginInlineStart:e.marginXXS})}),Bn(e)),zn(e)),In()),{"&-rtl":{direction:"rtl"}})}},Ve=We("Typography",e=>[Pn(e)],()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),Hn=e=>{const{prefixCls:t,"aria-label":o,className:n,style:r,direction:a,maxLength:g,autoSize:c=!0,value:l,onSave:f,onCancel:d,onEnd:m,component:T,enterIcon:S=i.createElement(jn,null)}=e,b=i.useRef(null),y=i.useRef(!1),x=i.useRef(),[j,R]=i.useState(l);i.useEffect(()=>{R(l)},[l]),i.useEffect(()=>{if(b.current&&b.current.resizableTextArea){const{textArea:$}=b.current.resizableTextArea;$.focus();const{length:O}=$.value;$.setSelectionRange(O,O)}},[]);const p=$=>{let{target:O}=$;R(O.value.replace(/[\n\r]/g,""))},v=()=>{y.current=!0},k=()=>{y.current=!1},C=$=>{let{keyCode:O}=$;y.current||(x.current=O)},z=()=>{f(j.trim())},I=$=>{let{keyCode:O,ctrlKey:q,altKey:J,metaKey:W,shiftKey:K}=$;x.current===O&&!y.current&&!q&&!J&&!W&&!K&&(O===le.ENTER?(z(),m==null||m()):O===le.ESC&&d())},h=()=>{z()},E=T?`${t}-${T}`:"",[P,N]=Ve(t),D=G(t,`${t}-edit-content`,{[`${t}-rtl`]:a==="rtl"},n,E,N);return P(i.createElement("div",{className:D,style:r},i.createElement(Bt,{ref:b,maxLength:g,value:j,onChange:p,onKeyDown:C,onKeyUp:I,onCompositionStart:v,onCompositionEnd:k,onBlur:h,"aria-label":o,rows:1,autoSize:c}),S!==null?zt(S,{className:`${t}-edit-content-confirm`}):null))},_n=Hn;var Dn=globalThis&&globalThis.__rest||function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:o,component:n="article",className:r,rootClassName:a,setContentRef:g,children:c,direction:l,style:f}=e,d=Dn(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:m,direction:T,typography:S}=i.useContext(Q),b=l??T;let y=t;g&&(y=Me(t,g));const x=m("typography",o),[j,R]=Ve(x),p=G(x,S==null?void 0:S.className,{[`${x}-rtl`]:b==="rtl"},r,a,R),v=Object.assign(Object.assign({},S==null?void 0:S.style),f);return j(i.createElement(n,Object.assign({className:p,style:v,ref:y},d),c))}),Ge=Mn;function ge(e,t){return i.useMemo(()=>{const o=!!e;return[o,Object.assign(Object.assign({},t),o&&typeof e=="object"?e:null)]},[e])}const An=(e,t)=>{const o=i.useRef(!1);i.useEffect(()=>{o.current?e():o.current=!0},t)},Wn=An;function qe(e){const t=typeof e;return t==="string"||t==="number"}function Fn(e){let t=0;return e.forEach(o=>{qe(o)?t+=String(o).length:t+=1}),t}function fe(e,t){let o=0;const n=[];for(let r=0;rt){const f=t-o;return n.push(String(a).slice(0,f)),n}n.push(a),o=l}return e}const Xn=0,re=1,Pe=2,pe=3,me=4,Kn=e=>{let{enabledMeasure:t,children:o,text:n,width:r,fontSize:a,rows:g,onEllipsis:c}=e;const[[l,f,d],m]=i.useState([0,0,0]),[T,S]=i.useState(0),[b,y]=i.useState(Xn),[x,j]=i.useState(0),R=i.useRef(null),p=i.useRef(null),v=i.useMemo(()=>he(n),[n]),k=i.useMemo(()=>Fn(v),[v]),C=i.useMemo(()=>!t||b!==pe?T&&b!==me&&t?o(fe(v,T),T{t&&r&&a&&k&&(y(re),m([0,Math.ceil(k/2),k]))},[t,r,a,n,k,g]),se(()=>{var E;b===re&&j(((E=R.current)===null||E===void 0?void 0:E.offsetHeight)||0)},[b]),se(()=>{var E,P;if(x){if(b===re){const N=((E=p.current)===null||E===void 0?void 0:E.offsetHeight)||0,D=g*x;N<=D?(y(me),c(!1)):y(Pe)}else if(b===Pe)if(l!==d){const N=((P=p.current)===null||P===void 0?void 0:P.offsetHeight)||0,D=g*x;let $=l,O=d;l===d-1?O=l:N<=D?$=f:O=f;const q=Math.ceil(($+O)/2);m([$,q,O])}else y(pe),S(f),c(!0)}},[b,l,d,g,x]);const z={width:r,whiteSpace:"normal",margin:0,padding:0},I=(E,P,N)=>i.createElement("span",{"aria-hidden":!0,ref:P,style:Object.assign({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:Math.ceil(a/2)*2},N)},E),h=(E,P)=>{const N=fe(v,E);return I(o(N,!0),P,z)};return i.createElement(i.Fragment,null,C,t&&b!==pe&&b!==me&&i.createElement(i.Fragment,null,I("lg",R,{wordBreak:"keep-all",whiteSpace:"nowrap"}),b===re?I(o(v,!1),p,z):h(f,p)))},Un=Kn,Vn=e=>{let{enabledEllipsis:t,isEllipsis:o,children:n,tooltipProps:r}=e;return!(r!=null&&r.title)||!t?n:i.createElement(ye,Object.assign({open:o?void 0:!1},r),n)},Gn=Vn;var qn=globalThis&&globalThis.__rest||function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{var o,n,r;const{prefixCls:a,className:g,style:c,type:l,disabled:f,children:d,ellipsis:m,editable:T,copyable:S,component:b,title:y}=e,x=qn(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:j,direction:R}=i.useContext(Q),[p]=It("Text"),v=i.useRef(null),k=i.useRef(null),C=j("typography",a),z=ve(x,["mark","code","delete","underline","strong","keyboard","italic"]),[I,h]=ge(T),[E,P]=Pt(!1,{value:h.editing}),{triggerType:N=["icon"]}=h,D=s=>{var u;s&&((u=h.onStart)===null||u===void 0||u.call(h)),P(s)};Wn(()=>{var s;E||(s=k.current)===null||s===void 0||s.focus()},[E]);const $=s=>{s==null||s.preventDefault(),D(!0)},O=s=>{var u;(u=h.onChange)===null||u===void 0||u.call(h,s),D(!1)},q=()=>{var s;(s=h.onCancel)===null||s===void 0||s.call(h),D(!1)},[J,W]=ge(S),[K,Ee]=i.useState(!1),ue=i.useRef(null),Oe={};W.format&&(Oe.format=W.format);const we=()=>{ue.current&&clearTimeout(ue.current)},Je=s=>{var u;s==null||s.preventDefault(),s==null||s.stopPropagation(),On(W.text||String(d)||"",Oe),Ee(!0),we(),ue.current=setTimeout(()=>{Ee(!1)},3e3),(u=W.onCopy)===null||u===void 0||u.call(W,s)};i.useEffect(()=>we,[]);const[Te,Qe]=i.useState(!1),[$e,Ye]=i.useState(!1),[Ze,et]=i.useState(!1),[je,tt]=i.useState(!1),[Le,nt]=i.useState(!1),[ot,rt]=i.useState(!0),[F,w]=ge(m,{expandable:!1}),H=F&&!Ze,{rows:U=1}=w,ee=i.useMemo(()=>!H||w.suffix!==void 0||w.onEllipsis||w.expandable||I||J,[H,w,I,J]);se(()=>{F&&!ee&&(Qe(Be("webkitLineClamp")),Ye(Be("textOverflow")))},[ee,F]);const _=i.useMemo(()=>ee?!1:U===1?$e:Te,[ee,$e,Te]),Re=H&&(_?Le:je),it=H&&U===1&&_,te=H&&U>1&&_,st=s=>{var u;et(!0),(u=w.onExpand)===null||u===void 0||u.call(w,s)},[lt,at]=i.useState(0),[ct,dt]=i.useState(0),ut=(s,u)=>{let{offsetWidth:L}=s;var B;at(L),dt(parseInt((B=window.getComputedStyle)===null||B===void 0?void 0:B.call(window,u).fontSize,10)||0)},gt=s=>{var u;tt(s),je!==s&&((u=w.onEllipsis)===null||u===void 0||u.call(w,s))};i.useEffect(()=>{const s=v.current;if(F&&_&&s){const u=te?s.offsetHeight{const s=v.current;if(typeof IntersectionObserver>"u"||!s||!_||!H)return;const u=new IntersectionObserver(()=>{rt(!!s.offsetParent)});return u.observe(s),()=>{u.disconnect()}},[_,H]);let X={};w.tooltip===!0?X={title:(o=h.text)!==null&&o!==void 0?o:d}:i.isValidElement(w.tooltip)?X={title:w.tooltip}:typeof w.tooltip=="object"?X=Object.assign({title:(n=h.text)!==null&&n!==void 0?n:d},w.tooltip):X={title:w.tooltip};const ne=i.useMemo(()=>{const s=u=>["string","number"].includes(typeof u);if(!(!F||_)){if(s(h.text))return h.text;if(s(d))return d;if(s(y))return y;if(s(X.title))return X.title}},[F,_,y,X.title,Re]);if(E)return i.createElement(_n,{value:(r=h.text)!==null&&r!==void 0?r:typeof d=="string"?d:"",onSave:O,onCancel:q,onEnd:h.onEnd,prefixCls:C,className:g,style:c,direction:R,component:b,maxLength:h.maxLength,autoSize:h.autoSize,enterIcon:h.enterIcon});const ft=()=>{const{expandable:s,symbol:u}=w;if(!s)return null;let L;return u?L=u:L=p==null?void 0:p.expand,i.createElement("a",{key:"expand",className:`${C}-expand`,onClick:st,"aria-label":p==null?void 0:p.expand},L)},pt=()=>{if(!I)return;const{icon:s,tooltip:u}=h,L=he(u)[0]||(p==null?void 0:p.edit),B=typeof L=="string"?L:"";return N.includes("icon")?i.createElement(ye,{key:"edit",title:u===!1?"":L},i.createElement(ze,{ref:k,className:`${C}-edit`,onClick:$,"aria-label":B},s||i.createElement(bn,{role:"button"}))):null},mt=()=>{if(!J)return;const{tooltips:s,icon:u}=W,L=He(s),B=He(u),oe=K?ie(L[1],p==null?void 0:p.copied):ie(L[0],p==null?void 0:p.copy),ht=K?p==null?void 0:p.copied:p==null?void 0:p.copy,vt=typeof oe=="string"?oe:ht;return i.createElement(ye,{key:"copy",title:oe},i.createElement(ze,{className:G(`${C}-copy`,K&&`${C}-copy-success`),onClick:Je,"aria-label":vt},K?ie(B[1],i.createElement(_t,null),!0):ie(B[0],i.createElement(fn,null),!0)))},yt=s=>[s&&ft(),pt(),mt()],bt=s=>[s&&i.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Qn),w.suffix,yt(s)];return i.createElement(Ht,{onResize:ut,disabled:!H||_},s=>i.createElement(Gn,{tooltipProps:X,enabledEllipsis:H,isEllipsis:Re},i.createElement(Ge,Object.assign({className:G({[`${C}-${l}`]:l,[`${C}-disabled`]:f,[`${C}-ellipsis`]:F,[`${C}-single-line`]:H&&U===1,[`${C}-ellipsis-single-line`]:it,[`${C}-ellipsis-multiple-line`]:te},g),prefixCls:a,style:Object.assign(Object.assign({},c),{WebkitLineClamp:te?U:void 0}),component:b,ref:Me(s,v,t),direction:R,onClick:N.includes("text")?$:void 0,"aria-label":ne==null?void 0:ne.toString(),title:y},z),i.createElement(Un,{enabledMeasure:H&&!_,text:d,rows:U,width:lt,fontSize:ct,onEllipsis:gt},(u,L)=>{let B=u;return u.length&&L&&ne&&(B=i.createElement("span",{key:"show-content","aria-hidden":!0},B)),Jn(e,i.createElement(i.Fragment,null,B,bt(L)))}))))}),de=Yn;var Zn=globalThis&&globalThis.__rest||function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{var{ellipsis:o,rel:n}=e,r=Zn(e,["ellipsis","rel"]);const a=Object.assign(Object.assign({},r),{rel:n===void 0&&r.target==="_blank"?"noopener noreferrer":n});return delete a.navigate,i.createElement(de,Object.assign({},a,{ref:t,ellipsis:!!o,component:"a"}))}),to=eo,no=i.forwardRef((e,t)=>i.createElement(de,Object.assign({ref:t},e,{component:"div"}))),oo=no;var ro=globalThis&&globalThis.__rest||function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{var{ellipsis:o}=e,n=ro(e,["ellipsis"]);const r=i.useMemo(()=>o&&typeof o=="object"?ve(o,["expandable","rows"]):o,[o]);return i.createElement(de,Object.assign({ref:t},n,{ellipsis:r,component:"span"}))},so=i.forwardRef(io);var lo=globalThis&&globalThis.__rest||function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{const{level:o=1}=e,n=lo(e,["level"]);let r;return ao.includes(o)?r=`h${o}`:r="h1",i.createElement(de,Object.assign({ref:t},n,{component:r}))}),uo=co,Z=Ge;Z.Text=so;Z.Link=to;Z.Title=uo;Z.Paragraph=oo;const go=Z,fo=()=>{const{token:e}=Ue.useToken();return A.jsxs(Ce.Header,{style:{background:e.colorBgContainer,paddingLeft:e.paddingXL,paddingRight:e.paddingXL,display:"flex",alignItems:"center"},children:[A.jsx(go.Title,{style:{margin:0,marginRight:e.marginLG},level:5,children:"Eva"}),A.jsx(Dt,{mode:"horizontal",items:[{key:"tests",label:"Tests"}],defaultSelectedKeys:["tests"],style:{width:"auto",minWidth:200}})]})},po=()=>{const{token:e}=Ue.useToken();return A.jsx(Ce.Content,{style:{padding:e.paddingXL},children:A.jsx(i.Suspense,{children:A.jsx(kt,{})})})},mo=()=>A.jsxs(Ce,{style:{width:"100vw",height:"100vh"},children:[A.jsx(fo,{}),A.jsx(po,{})]}),ho=mo;export{ho as default}; diff --git a/assets/index-9a201a63.css b/assets/index-9a201a63.css new file mode 100644 index 0000000..d3b467e --- /dev/null +++ b/assets/index-9a201a63.css @@ -0,0 +1 @@ +body{margin:0;font-family:Roboto,sans-serif;font-size:14px} diff --git a/assets/index-ae76f54c.js b/assets/index-ae76f54c.js new file mode 100644 index 0000000..f3e2492 --- /dev/null +++ b/assets/index-ae76f54c.js @@ -0,0 +1,121 @@ +function Hf(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Au(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Uf={exports:{}},Hi={},Wf={exports:{}},j={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var co=Symbol.for("react.element"),Ov=Symbol.for("react.portal"),Mv=Symbol.for("react.fragment"),Lv=Symbol.for("react.strict_mode"),Av=Symbol.for("react.profiler"),Nv=Symbol.for("react.provider"),zv=Symbol.for("react.context"),Iv=Symbol.for("react.forward_ref"),jv=Symbol.for("react.suspense"),Fv=Symbol.for("react.memo"),Dv=Symbol.for("react.lazy"),Ks=Symbol.iterator;function bv(e){return e===null||typeof e!="object"?null:(e=Ks&&e[Ks]||e["@@iterator"],typeof e=="function"?e:null)}var Vf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qf=Object.assign,Kf={};function fr(e,t,n){this.props=e,this.context=t,this.refs=Kf,this.updater=n||Vf}fr.prototype.isReactComponent={};fr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};fr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Xf(){}Xf.prototype=fr.prototype;function Nu(e,t,n){this.props=e,this.context=t,this.refs=Kf,this.updater=n||Vf}var zu=Nu.prototype=new Xf;zu.constructor=Nu;Qf(zu,fr.prototype);zu.isPureReactComponent=!0;var Xs=Array.isArray,Gf=Object.prototype.hasOwnProperty,Iu={current:null},Yf={key:!0,ref:!0,__self:!0,__source:!0};function Zf(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)Gf.call(t,r)&&!Yf.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,U=T[z];if(0>>1;zo(It,M))Weo(jt,It)?(T[z]=jt,T[We]=M,z=We):(T[z]=It,T[Ue]=M,z=Ue);else if(Weo(jt,M))T[z]=jt,T[We]=M,z=We;else break e}}return O}function o(T,O){var M=T.sortIndex-O.sortIndex;return M!==0?M:T.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var u=[],s=[],f=1,d=null,h=3,m=!1,y=!1,g=!1,P=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(T){for(var O=n(s);O!==null;){if(O.callback===null)r(s);else if(O.startTime<=T)r(s),O.sortIndex=O.expirationTime,t(u,O);else break;O=n(s)}}function S(T){if(g=!1,v(T),!y)if(n(u)!==null)y=!0,W(k);else{var O=n(s);O!==null&&ue(S,O.startTime-T)}}function k(T,O){y=!1,g&&(g=!1,p(_),_=-1),m=!0;var M=h;try{for(v(O),d=n(u);d!==null&&(!(d.expirationTime>O)||T&&!I());){var z=d.callback;if(typeof z=="function"){d.callback=null,h=d.priorityLevel;var U=z(d.expirationTime<=O);O=e.unstable_now(),typeof U=="function"?d.callback=U:d===n(u)&&r(u),v(O)}else r(u);d=n(u)}if(d!==null)var et=!0;else{var Ue=n(s);Ue!==null&&ue(S,Ue.startTime-O),et=!1}return et}finally{d=null,h=M,m=!1}}var E=!1,x=null,_=-1,A=5,L=-1;function I(){return!(e.unstable_now()-LT||125z?(T.sortIndex=M,t(s,T),n(u)===null&&T===n(s)&&(g?(p(_),_=-1):g=!0,ue(S,M-z))):(T.sortIndex=U,t(u,T),y||m||(y=!0,W(k))),T},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(T){var O=h;return function(){var M=h;h=O;try{return T.apply(this,arguments)}finally{h=M}}}})(td);ed.exports=td;var Yv=ed.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var nd=w,$e=Yv;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),va=Object.prototype.hasOwnProperty,Zv=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ys={},Zs={};function qv(e){return va.call(Zs,e)?!0:va.call(Ys,e)?!1:Zv.test(e)?Zs[e]=!0:(Ys[e]=!0,!1)}function Jv(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function em(e,t,n,r){if(t===null||typeof t>"u"||Jv(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Re(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var Se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Se[e]=new Re(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Se[t]=new Re(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Se[e]=new Re(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Se[e]=new Re(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Se[e]=new Re(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Se[e]=new Re(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Se[e]=new Re(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Se[e]=new Re(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Se[e]=new Re(e,5,!1,e.toLowerCase(),null,!1,!1)});var Du=/[\-:]([a-z])/g;function bu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Du,bu);Se[t]=new Re(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Du,bu);Se[t]=new Re(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Du,bu);Se[t]=new Re(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Se[e]=new Re(e,1,!1,e.toLowerCase(),null,!1,!1)});Se.xlinkHref=new Re("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Se[e]=new Re(e,1,!1,e.toLowerCase(),null,!0,!0)});function $u(e,t,n,r){var o=Se.hasOwnProperty(t)?Se[t]:null;(o!==null?o.type!==0:r||!(2a||o[l]!==i[a]){var u=` +`+o[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=a);break}}}finally{Al=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Or(e):""}function tm(e){switch(e.tag){case 5:return Or(e.type);case 16:return Or("Lazy");case 13:return Or("Suspense");case 19:return Or("SuspenseList");case 0:case 2:case 15:return e=Nl(e.type,!1),e;case 11:return e=Nl(e.type.render,!1),e;case 1:return e=Nl(e.type,!0),e;default:return""}}function Sa(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case zn:return"Fragment";case Nn:return"Portal";case ma:return"Profiler";case Bu:return"StrictMode";case ga:return"Suspense";case ya:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case id:return(e.displayName||"Context")+".Consumer";case od:return(e._context.displayName||"Context")+".Provider";case Hu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Uu:return t=e.displayName||null,t!==null?t:Sa(e.type)||"Memo";case Dt:t=e._payload,e=e._init;try{return Sa(e(t))}catch{}}return null}function nm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Sa(t);case 8:return t===Bu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function en(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ad(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function rm(e){var t=ad(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Po(e){e._valueTracker||(e._valueTracker=rm(e))}function ud(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ad(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function pi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function wa(e,t){var n=t.checked;return q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Js(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=en(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function sd(e,t){t=t.checked,t!=null&&$u(e,"checked",t,!1)}function xa(e,t){sd(e,t);var n=en(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ka(e,t.type,n):t.hasOwnProperty("defaultValue")&&ka(e,t.type,en(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ec(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ka(e,t,n){(t!=="number"||pi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Mr=Array.isArray;function Gn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=To.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Vr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},om=["Webkit","ms","Moz","O"];Object.keys(Nr).forEach(function(e){om.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nr[t]=Nr[e]})});function pd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nr.hasOwnProperty(e)&&Nr[e]?(""+t).trim():t+"px"}function hd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=pd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var im=q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Pa(e,t){if(t){if(im[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function Ta(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _a=null;function Wu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ra=null,Yn=null,Zn=null;function rc(e){if(e=ho(e)){if(typeof Ra!="function")throw Error(C(280));var t=e.stateNode;t&&(t=Xi(t),Ra(e.stateNode,e.type,t))}}function vd(e){Yn?Zn?Zn.push(e):Zn=[e]:Yn=e}function md(){if(Yn){var e=Yn,t=Zn;if(Zn=Yn=null,rc(e),t)for(e=0;e>>=0,e===0?32:31-(mm(e)/gm|0)|0}var _o=64,Ro=4194304;function Lr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function gi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~o;a!==0?r=Lr(a):(i&=l,i!==0&&(r=Lr(i)))}else l=n&~o,l!==0?r=Lr(l):i!==0&&(r=Lr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function fo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-at(t),e[t]=n}function xm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Ir),dc=String.fromCharCode(32),pc=!1;function jd(e,t){switch(e){case"keyup":return Gm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var In=!1;function Zm(e,t){switch(e){case"compositionend":return Fd(t);case"keypress":return t.which!==32?null:(pc=!0,dc);case"textInput":return e=t.data,e===dc&&pc?null:e;default:return null}}function qm(e,t){if(In)return e==="compositionend"||!qu&&jd(e,t)?(e=zd(),Jo=Gu=Ht=null,In=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=gc(n)}}function Bd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Bd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Hd(){for(var e=window,t=pi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=pi(e.document)}return t}function Ju(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function a0(e){var t=Hd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Bd(n.ownerDocument.documentElement,n)){if(r!==null&&Ju(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=yc(n,i);var l=yc(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,jn=null,za=null,Fr=null,Ia=!1;function Sc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ia||jn==null||jn!==pi(r)||(r=jn,"selectionStart"in r&&Ju(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fr&&Zr(Fr,r)||(Fr=r,r=wi(za,"onSelect"),0bn||(e.current=Ba[bn],Ba[bn]=null,bn--)}function Q(e,t){bn++,Ba[bn]=e.current,e.current=t}var tn={},Ce=rn(tn),Le=rn(!1),xn=tn;function rr(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ae(e){return e=e.childContextTypes,e!=null}function ki(){X(Le),X(Ce)}function Tc(e,t,n){if(Ce.current!==tn)throw Error(C(168));Q(Ce,t),Q(Le,n)}function Zd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(C(108,nm(e)||"Unknown",o));return q({},n,r)}function Ei(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,xn=Ce.current,Q(Ce,e),Q(Le,Le.current),!0}function _c(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=Zd(e,t,xn),r.__reactInternalMemoizedMergedChildContext=e,X(Le),X(Ce),Q(Ce,e)):X(Le),Q(Le,n)}var Pt=null,Gi=!1,Kl=!1;function qd(e){Pt===null?Pt=[e]:Pt.push(e)}function S0(e){Gi=!0,qd(e)}function on(){if(!Kl&&Pt!==null){Kl=!0;var e=0,t=B;try{var n=Pt;for(B=1;e>=l,o-=l,_t=1<<32-at(t)+o|n<_?(A=x,x=null):A=x.sibling;var L=h(p,x,v[_],S);if(L===null){x===null&&(x=A);break}e&&x&&L.alternate===null&&t(p,x),c=i(L,c,_),E===null?k=L:E.sibling=L,E=L,x=A}if(_===v.length)return n(p,x),G&&un(p,_),k;if(x===null){for(;__?(A=x,x=null):A=x.sibling;var I=h(p,x,L.value,S);if(I===null){x===null&&(x=A);break}e&&x&&I.alternate===null&&t(p,x),c=i(I,c,_),E===null?k=I:E.sibling=I,E=I,x=A}if(L.done)return n(p,x),G&&un(p,_),k;if(x===null){for(;!L.done;_++,L=v.next())L=d(p,L.value,S),L!==null&&(c=i(L,c,_),E===null?k=L:E.sibling=L,E=L);return G&&un(p,_),k}for(x=r(p,x);!L.done;_++,L=v.next())L=m(x,p,_,L.value,S),L!==null&&(e&&L.alternate!==null&&x.delete(L.key===null?_:L.key),c=i(L,c,_),E===null?k=L:E.sibling=L,E=L);return e&&x.forEach(function(D){return t(p,D)}),G&&un(p,_),k}function P(p,c,v,S){if(typeof v=="object"&&v!==null&&v.type===zn&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Co:e:{for(var k=v.key,E=c;E!==null;){if(E.key===k){if(k=v.type,k===zn){if(E.tag===7){n(p,E.sibling),c=o(E,v.props.children),c.return=p,p=c;break e}}else if(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Dt&&zc(k)===E.type){n(p,E.sibling),c=o(E,v.props),c.ref=Pr(p,E,v),c.return=p,p=c;break e}n(p,E);break}else t(p,E);E=E.sibling}v.type===zn?(c=gn(v.props.children,p.mode,S,v.key),c.return=p,p=c):(S=ai(v.type,v.key,v.props,null,p.mode,S),S.ref=Pr(p,c,v),S.return=p,p=S)}return l(p);case Nn:e:{for(E=v.key;c!==null;){if(c.key===E)if(c.tag===4&&c.stateNode.containerInfo===v.containerInfo&&c.stateNode.implementation===v.implementation){n(p,c.sibling),c=o(c,v.children||[]),c.return=p,p=c;break e}else{n(p,c);break}else t(p,c);c=c.sibling}c=ta(v,p.mode,S),c.return=p,p=c}return l(p);case Dt:return E=v._init,P(p,c,E(v._payload),S)}if(Mr(v))return y(p,c,v,S);if(wr(v))return g(p,c,v,S);Io(p,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,c!==null&&c.tag===6?(n(p,c.sibling),c=o(c,v),c.return=p,p=c):(n(p,c),c=ea(v,p.mode,S),c.return=p,p=c),l(p)):n(p,c)}return P}var ir=lp(!0),ap=lp(!1),vo={},yt=rn(vo),to=rn(vo),no=rn(vo);function hn(e){if(e===vo)throw Error(C(174));return e}function us(e,t){switch(Q(no,t),Q(to,e),Q(yt,vo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ca(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ca(t,e)}X(yt),Q(yt,t)}function lr(){X(yt),X(to),X(no)}function up(e){hn(no.current);var t=hn(yt.current),n=Ca(t,e.type);t!==n&&(Q(to,e),Q(yt,n))}function ss(e){to.current===e&&(X(yt),X(to))}var Y=rn(0);function Oi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Xl=[];function cs(){for(var e=0;en?n:4,e(!0);var r=Gl.transition;Gl.transition={};try{e(!1),t()}finally{B=n,Gl.transition=r}}function Cp(){return Ze().memoizedState}function E0(e,t,n){var r=qt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Pp(e))Tp(t,n);else if(n=np(e,t,n,r),n!==null){var o=Te();ut(n,e,r,o),_p(n,t,r)}}function C0(e,t,n){var r=qt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Pp(e))Tp(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,a=i(l,n);if(o.hasEagerState=!0,o.eagerState=a,ct(a,l)){var u=t.interleaved;u===null?(o.next=o,ls(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=np(e,t,o,r),n!==null&&(o=Te(),ut(n,e,r,o),_p(n,t,r))}}function Pp(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function Tp(e,t){Dr=Mi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _p(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qu(e,n)}}var Li={readContext:Ye,useCallback:xe,useContext:xe,useEffect:xe,useImperativeHandle:xe,useInsertionEffect:xe,useLayoutEffect:xe,useMemo:xe,useReducer:xe,useRef:xe,useState:xe,useDebugValue:xe,useDeferredValue:xe,useTransition:xe,useMutableSource:xe,useSyncExternalStore:xe,useId:xe,unstable_isNewReconciler:!1},P0={readContext:Ye,useCallback:function(e,t){return vt().memoizedState=[e,t===void 0?null:t],e},useContext:Ye,useEffect:jc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ri(4194308,4,Sp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ri(4194308,4,e,t)},useInsertionEffect:function(e,t){return ri(4,2,e,t)},useMemo:function(e,t){var n=vt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=E0.bind(null,Z,e),[r.memoizedState,e]},useRef:function(e){var t=vt();return e={current:e},t.memoizedState=e},useState:Ic,useDebugValue:vs,useDeferredValue:function(e){return vt().memoizedState=e},useTransition:function(){var e=Ic(!1),t=e[0];return e=k0.bind(null,e[1]),vt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Z,o=vt();if(G){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),de===null)throw Error(C(349));En&30||fp(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,jc(pp.bind(null,r,i,e),[e]),r.flags|=2048,io(9,dp.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=vt(),t=de.identifierPrefix;if(G){var n=Rt,r=_t;n=(r&~(1<<32-at(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ro++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[mt]=t,e[eo]=r,jp(e,t,!1,!1),t.stateNode=e;e:{switch(l=Ta(n,r),n){case"dialog":K("cancel",e),K("close",e),o=r;break;case"iframe":case"object":case"embed":K("load",e),o=r;break;case"video":case"audio":for(o=0;our&&(t.flags|=128,r=!0,Tr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Oi(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Tr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!G)return ke(t),null}else 2*ne()-i.renderingStartTime>ur&&n!==1073741824&&(t.flags|=128,r=!0,Tr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ne(),t.sibling=null,n=Y.current,Q(Y,r?n&1|2:n&1),t):(ke(t),null);case 22:case 23:return xs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?je&1073741824&&(ke(t),t.subtreeFlags&6&&(t.flags|=8192)):ke(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function N0(e,t){switch(ts(t),t.tag){case 1:return Ae(t.type)&&ki(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return lr(),X(Le),X(Ce),cs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ss(t),null;case 13:if(X(Y),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));or()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return X(Y),null;case 4:return lr(),null;case 10:return is(t.type._context),null;case 22:case 23:return xs(),null;case 24:return null;default:return null}}var Fo=!1,Ee=!1,z0=typeof WeakSet=="function"?WeakSet:Set,R=null;function Un(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){J(e,t,r)}else n.current=null}function Ja(e,t,n){try{n()}catch(r){J(e,t,r)}}var Vc=!1;function I0(e,t){if(ja=yi,e=Hd(),Ju(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,a=-1,u=-1,s=0,f=0,d=e,h=null;t:for(;;){for(var m;d!==n||o!==0&&d.nodeType!==3||(a=l+o),d!==i||r!==0&&d.nodeType!==3||(u=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(m=d.firstChild)!==null;)h=d,d=m;for(;;){if(d===e)break t;if(h===n&&++s===o&&(a=l),h===i&&++f===r&&(u=l),(m=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=m}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fa={focusedElem:e,selectionRange:n},yi=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var g=y.memoizedProps,P=y.memoizedState,p=t.stateNode,c=p.getSnapshotBeforeUpdate(t.elementType===t.type?g:rt(t.type,g),P);p.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(S){J(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=Vc,Vc=!1,y}function br(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Ja(t,n,i)}o=o.next}while(o!==r)}}function qi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function eu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function bp(e){var t=e.alternate;t!==null&&(e.alternate=null,bp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[mt],delete t[eo],delete t[$a],delete t[g0],delete t[y0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function $p(e){return e.tag===5||e.tag===3||e.tag===4}function Qc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$p(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function tu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=xi));else if(r!==4&&(e=e.child,e!==null))for(tu(e,t,n),e=e.sibling;e!==null;)tu(e,t,n),e=e.sibling}function nu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(nu(e,t,n),e=e.sibling;e!==null;)nu(e,t,n),e=e.sibling}var me=null,ot=!1;function Ft(e,t,n){for(n=n.child;n!==null;)Bp(e,t,n),n=n.sibling}function Bp(e,t,n){if(gt&&typeof gt.onCommitFiberUnmount=="function")try{gt.onCommitFiberUnmount(Wi,n)}catch{}switch(n.tag){case 5:Ee||Un(n,t);case 6:var r=me,o=ot;me=null,Ft(e,t,n),me=r,ot=o,me!==null&&(ot?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(ot?(e=me,n=n.stateNode,e.nodeType===8?Ql(e.parentNode,n):e.nodeType===1&&Ql(e,n),Gr(e)):Ql(me,n.stateNode));break;case 4:r=me,o=ot,me=n.stateNode.containerInfo,ot=!0,Ft(e,t,n),me=r,ot=o;break;case 0:case 11:case 14:case 15:if(!Ee&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Ja(n,t,l),o=o.next}while(o!==r)}Ft(e,t,n);break;case 1:if(!Ee&&(Un(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){J(n,t,a)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(Ee=(r=Ee)||n.memoizedState!==null,Ft(e,t,n),Ee=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function Kc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new z0),t.forEach(function(r){var o=W0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function tt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*F0(r/1960))-r,10e?16:e,Ut===null)var r=!1;else{if(e=Ut,Ut=null,zi=0,F&6)throw Error(C(331));var o=F;for(F|=4,R=e.current;R!==null;){var i=R,l=i.child;if(R.flags&16){var a=i.deletions;if(a!==null){for(var u=0;une()-Ss?mn(e,0):ys|=n),Ne(e,t)}function Gp(e,t){t===0&&(e.mode&1?(t=Ro,Ro<<=1,!(Ro&130023424)&&(Ro=4194304)):t=1);var n=Te();e=At(e,t),e!==null&&(fo(e,t,n),Ne(e,n))}function U0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Gp(e,n)}function W0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),Gp(e,n)}var Yp;Yp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Le.current)Me=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Me=!1,L0(e,t,n);Me=!!(e.flags&131072)}else Me=!1,G&&t.flags&1048576&&Jd(t,Pi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;oi(e,t),e=t.pendingProps;var o=rr(t,Ce.current);Jn(t,n),o=ds(null,t,r,e,o,n);var i=ps();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ae(r)?(i=!0,Ei(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,as(t),o.updater=Yi,t.stateNode=o,o._reactInternals=t,Qa(t,r,e,n),t=Ga(null,t,r,!0,i,n)):(t.tag=0,G&&i&&es(t),Pe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(oi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Q0(r),e=rt(r,e),o){case 0:t=Xa(null,t,r,e,n);break e;case 1:t=Hc(null,t,r,e,n);break e;case 11:t=$c(null,t,r,e,n);break e;case 14:t=Bc(null,t,r,rt(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:rt(r,o),Xa(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:rt(r,o),Hc(e,t,r,o,n);case 3:e:{if(Np(t),e===null)throw Error(C(387));r=t.pendingProps,i=t.memoizedState,o=i.element,rp(e,t),Ri(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ar(Error(C(423)),t),t=Uc(e,t,r,n,o);break e}else if(r!==o){o=ar(Error(C(424)),t),t=Uc(e,t,r,n,o);break e}else for(Fe=Gt(t.stateNode.containerInfo.firstChild),be=t,G=!0,lt=null,n=ap(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(or(),r===o){t=Nt(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return up(t),e===null&&Ua(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Da(r,o)?l=null:i!==null&&Da(r,i)&&(t.flags|=32),Ap(e,t),Pe(e,t,l,n),t.child;case 6:return e===null&&Ua(t),null;case 13:return zp(e,t,n);case 4:return us(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ir(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:rt(r,o),$c(e,t,r,o,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Q(Ti,r._currentValue),r._currentValue=l,i!==null)if(ct(i.value,l)){if(i.children===o.children&&!Le.current){t=Nt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){l=i.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Ot(-1,n&-n),u.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?u.next=u:(u.next=f.next,f.next=u),s.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Wa(i.return,n,t),a.lanes|=n;break}u=u.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(C(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Wa(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Pe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Jn(t,n),o=Ye(o),r=r(o),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,o=rt(r,t.pendingProps),o=rt(r.type,o),Bc(e,t,r,o,n);case 15:return Mp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:rt(r,o),oi(e,t),t.tag=1,Ae(r)?(e=!0,Ei(t)):e=!1,Jn(t,n),ip(t,r,o),Qa(t,r,o,n),Ga(null,t,r,!0,e,n);case 19:return Ip(e,t,n);case 22:return Lp(e,t,n)}throw Error(C(156,t.tag))};function Zp(e,t){return Ed(e,t)}function V0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xe(e,t,n,r){return new V0(e,t,n,r)}function Es(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Q0(e){if(typeof e=="function")return Es(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Hu)return 11;if(e===Uu)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=Xe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ai(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Es(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case zn:return gn(n.children,o,i,t);case Bu:l=8,o|=8;break;case ma:return e=Xe(12,n,t,o|2),e.elementType=ma,e.lanes=i,e;case ga:return e=Xe(13,n,t,o),e.elementType=ga,e.lanes=i,e;case ya:return e=Xe(19,n,t,o),e.elementType=ya,e.lanes=i,e;case ld:return el(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case od:l=10;break e;case id:l=9;break e;case Hu:l=11;break e;case Uu:l=14;break e;case Dt:l=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=Xe(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function gn(e,t,n,r){return e=Xe(7,e,r,t),e.lanes=n,e}function el(e,t,n,r){return e=Xe(22,e,r,t),e.elementType=ld,e.lanes=n,e.stateNode={isHidden:!1},e}function ea(e,t,n){return e=Xe(6,e,null,t),e.lanes=n,e}function ta(e,t,n){return t=Xe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function K0(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Il(0),this.expirationTimes=Il(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Il(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Cs(e,t,n,r,o,i,l,a,u){return e=new K0(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Xe(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},as(i),e}function X0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(th)}catch(e){console.error(e)}}th(),Jf.exports=Be;var Rs=Jf.exports;const nh=Au(Rs),ew=Hf({__proto__:null,default:nh},[Rs]);var tf=Rs;ha.createRoot=tf.createRoot,ha.hydrateRoot=tf.hydrateRoot;/** + * @remix-run/router v1.10.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Fi(){return Fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Os(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function eg(){return Math.random().toString(36).substr(2,8)}function rf(e,t){return{usr:e.state,key:e.key,idx:t}}function au(e,t,n,r){return n===void 0&&(n=null),Fi({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?il(t):t,{state:n,key:t&&t.key||r||eg()})}function rh(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function il(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function tg(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,l=o.history,a=Wt.Pop,u=null,s=f();s==null&&(s=0,l.replaceState(Fi({},l.state,{idx:s}),""));function f(){return(l.state||{idx:null}).idx}function d(){a=Wt.Pop;let P=f(),p=P==null?null:P-s;s=P,u&&u({action:a,location:g.location,delta:p})}function h(P,p){a=Wt.Push;let c=au(g.location,P,p);n&&n(c,P),s=f()+1;let v=rf(c,s),S=g.createHref(c);try{l.pushState(v,"",S)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;o.location.assign(S)}i&&u&&u({action:a,location:g.location,delta:1})}function m(P,p){a=Wt.Replace;let c=au(g.location,P,p);n&&n(c,P),s=f();let v=rf(c,s),S=g.createHref(c);l.replaceState(v,"",S),i&&u&&u({action:a,location:g.location,delta:0})}function y(P){let p=o.location.origin!=="null"?o.location.origin:o.location.href,c=typeof P=="string"?P:rh(P);return ft(p,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,p)}let g={get action(){return a},get location(){return e(o,l)},listen(P){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(nf,d),u=P,()=>{o.removeEventListener(nf,d),u=null}},createHref(P){return t(o,P)},createURL:y,encodeLocation(P){let p=y(P);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:h,replace:m,go(P){return l.go(P)}};return g}var of;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(of||(of={}));function ng(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?il(t):t,o=lh(r.pathname||"/",n);if(o==null)return null;let i=oh(e);rg(i);let l=null;for(let a=0;l==null&&a{let u={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};u.relativePath.startsWith("/")&&(ft(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let s=tr([r,u.relativePath]),f=n.concat(u);i.children&&i.children.length>0&&(ft(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),oh(i.children,t,f,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:cg(s,i.index),routesMeta:f})};return e.forEach((i,l)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,l);else for(let u of ih(i.path))o(i,l,u)}),t}function ih(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let l=ih(r.join("/")),a=[];return a.push(...l.map(u=>u===""?i:[i,u].join("/"))),o&&a.push(...l),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function rg(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:fg(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const og=/^:\w+$/,ig=3,lg=2,ag=1,ug=10,sg=-2,lf=e=>e==="*";function cg(e,t){let n=e.split("/"),r=n.length;return n.some(lf)&&(r+=sg),t&&(r+=lg),n.filter(o=>!lf(o)).reduce((o,i)=>o+(og.test(i)?ig:i===""?ag:ug),r)}function fg(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function dg(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let l=0;l{if(f==="*"){let h=a[d]||"";l=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}return s[f]=mg(a[d]||"",f),s},{}),pathname:i,pathnameBase:l,pattern:e}}function hg(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Os(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(l,a)=>(r.push(a),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function vg(e){try{return decodeURI(e)}catch(t){return Os(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function mg(e,t){try{return decodeURIComponent(e)}catch(n){return Os(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function lh(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const tr=e=>e.join("/").replace(/\/\/+/g,"/"),gg=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function yg(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const ah=["post","put","patch","delete"];new Set(ah);const Sg=["get",...ah];new Set(Sg);/** + * React Router v6.17.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function uu(){return uu=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},g,{params:Object.assign({},l,g.params),pathname:tr([a,r.encodeLocation?r.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?a:tr([a,r.encodeLocation?r.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),o,n);return t&&y?w.createElement(ll.Provider,{value:{location:uu({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:Wt.Pop}},y):y}function _g(){let e=Ig(),t=yg(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,i)}const Rg=w.createElement(_g,null);class Og extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?w.createElement(mo.Provider,{value:this.props.routeContext},w.createElement(sh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Mg(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(wg);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(mo.Provider,{value:t},r)}function Lg(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let i=e,l=(r=n)==null?void 0:r.errors;if(l!=null){let a=i.findIndex(u=>u.route.id&&(l==null?void 0:l[u.route.id]));a>=0||ft(!1),i=i.slice(0,Math.min(i.length,a+1))}return i.reduceRight((a,u,s)=>{let f=u.route.id?l==null?void 0:l[u.route.id]:null,d=null;n&&(d=u.route.errorElement||Rg);let h=t.concat(i.slice(0,s+1)),m=()=>{let y;return f?y=d:u.route.Component?y=w.createElement(u.route.Component,null):u.route.element?y=u.route.element:y=a,w.createElement(Mg,{match:u,routeContext:{outlet:a,matches:h,isDataRoute:n!=null},children:y})};return n&&(u.route.ErrorBoundary||u.route.errorElement||s===0)?w.createElement(Og,{location:n.location,revalidation:n.revalidation,component:d,error:f,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var su=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(su||{});function Ag(e){let t=w.useContext(xg);return t||ft(!1),t}function Ng(e){let t=w.useContext(mo);return t||ft(!1),t}function zg(e){let t=Ng(),n=t.matches[t.matches.length-1];return n.route.id||ft(!1),n.route.id}function Ig(){var e;let t=w.useContext(sh),n=Ag(su.UseRouteError),r=zg(su.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function tw(e){return Cg(e.context)}function jg(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Wt.Pop,navigator:i,static:l=!1}=e;Ms()&&ft(!1);let a=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:a,navigator:i,static:l}),[a,i,l]);typeof r=="string"&&(r=il(r));let{pathname:s="/",search:f="",hash:d="",state:h=null,key:m="default"}=r,y=w.useMemo(()=>{let g=lh(s,a);return g==null?null:{location:{pathname:g,search:f,hash:d,state:h,key:m},navigationType:o}},[a,s,f,d,h,m,o]);return y==null?null:w.createElement(uh.Provider,{value:u},w.createElement(ll.Provider,{children:n,value:y}))}new Promise(()=>{});/** + * React Router DOM v6.17.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */const Fg="startTransition",af=Fu[Fg];function Dg(e){let{basename:t,children:n,future:r,window:o}=e,i=w.useRef();i.current==null&&(i.current=J0({window:o,v5Compat:!0}));let l=i.current,[a,u]=w.useState({action:l.action,location:l.location}),{v7_startTransition:s}=r||{},f=w.useCallback(d=>{s&&af?af(()=>u(d)):u(d)},[u,s]);return w.useLayoutEffect(()=>l.listen(f),[l,f]),w.createElement(jg,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:l})}var uf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(uf||(uf={}));var sf;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(sf||(sf={}));var ch={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],o=0;o"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 du(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jg(e,t){if(t&&(pe(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return du(e)}function Sh(e){var t=qg();return function(){var r=bi(e),o;if(t){var i=bi(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Jg(this,o)}}function pu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;df+=1;var r=df;function o(i){if(i===0)Eh(r),t();else{var l=xh(function(){o(i-1)});Is.set(r,l)}}return o(n),r};hu.cancel=function(e){var t=Is.get(e);return Eh(t),kh(t)};function js(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=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(o){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 ny(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function vu(e,t){if(e==null)return{};var n=ny(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ry(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(i,l){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,u=r.has(i);if(gl(!u,"Warning: There may be circular references"),u)return!1;if(i===l)return!0;if(n&&a>1)return!1;r.add(i);var s=a+1;if(Array.isArray(i)){if(!Array.isArray(l)||i.length!==l.length)return!1;for(var f=0;f0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):ay}function yl(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function uy(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Ph(e){return Array.from((gu.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Th(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!St())return null;var n=t.csp,r=t.prepend,o=t.priority,i=o===void 0?0:o,l=uy(r),a=l==="prependQueue",u=document.createElement("style");u.setAttribute(hf,l),a&&i&&u.setAttribute(vf,"".concat(i)),n!=null&&n.nonce&&(u.nonce=n==null?void 0:n.nonce),u.innerHTML=e;var s=yl(t),f=s.firstChild;if(r){if(a){var d=Ph(s).filter(function(h){if(!["prepend","prependQueue"].includes(h.getAttribute(hf)))return!1;var m=Number(h.getAttribute(vf)||0);return i>=m});if(d.length)return s.insertBefore(u,d[d.length-1].nextSibling),u}s.insertBefore(u,f)}else s.appendChild(u);return u}function _h(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=yl(t);return Ph(n).find(function(r){return r.getAttribute(Ch(t))===e})}function Rh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=_h(e,t);if(n){var r=yl(t);r.removeChild(n)}}function sy(e,t){var n=gu.get(e);if(!n||!ly(document,n)){var r=Th("",t),o=r.parentNode;gu.set(e,o),e.removeChild(r)}}function $i(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=yl(n);sy(r,n);var o=_h(t,n);if(o){var i,l;if((i=n.csp)!==null&&i!==void 0&&i.nonce&&o.nonce!==((l=n.csp)===null||l===void 0?void 0:l.nonce)){var a;o.nonce=(a=n.csp)===null||a===void 0?void 0:a.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var u=Th(e,n);return u.setAttribute(Ch(n),t),u}function Oh(e){if(Array.isArray(e))return e}function cy(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,l,a=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);u=!0);}catch(f){s=!0,o=f}finally{try{if(!u&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw o}}return a}}function Mh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ee(e,t){return Oh(e)||cy(e,t)||zs(e,t)||Mh()}function fy(e,t){if(e.length!==t.length)return!1;for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:!1,l={map:this.cache};return n.forEach(function(a){if(!l)l=void 0;else{var u,s;l=(u=l)===null||u===void 0||(s=u.map)===null||s===void 0?void 0:s.get(a)}}),(r=l)!==null&&r!==void 0&&r.value&&i&&(l.value[1]=this.cacheCallTimes++),(o=l)===null||o===void 0?void 0:o.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 o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(s,f){var d=ee(s,2),h=d[1];return o.internalGet(f)[1]0,void 0),mf+=1}return yo(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,o){return o(n,r)},void 0)}}]),e}(),na=new Ds;function yu(e){var t=Array.isArray(e)?e:[e];return na.has(t)||na.set(t,new Lh(t)),na.get(t)}var dy=new WeakMap,ra={};function py(e,t){for(var n=dy,r=0;rOy&&r.forEach(function(o){Ry(o,t),fn.delete(o)})}var Ly=function(t,n,r,o){var i=r.getDerivativeToken(t),l=$($({},i),n);return o&&(l=o(l)),l};function Ay(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=w.useContext(Fs),o=r.cache.instanceId,i=n.salt,l=i===void 0?"":i,a=n.override,u=a===void 0?Py:a,s=n.formatToken,f=n.getComputedToken,d=py(function(){return Object.assign.apply(Object,[{}].concat(Rn(t)))},t),h=Bi(d),m=Bi(u),y=zh("token",[l,e.id,h,m],function(){var g=f?f(d,u,e):Ly(d,u,e,s),P=hy(g,l);g._tokenKey=P,_y(P);var p="".concat(Ty,"-").concat(js(P));return g._hashId=p,[g,p]},function(g){My(g[0]._tokenKey,o)});return y}var Ny={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},Ih="comm",jh="rule",Fh="decl",zy="@import",Iy="@keyframes",jy="@layer",Fy=Math.abs,bs=String.fromCharCode;function Dh(e){return e.trim()}function ui(e,t,n){return e.replace(t,n)}function Dy(e,t){return e.indexOf(t)}function ao(e,t){return e.charCodeAt(t)|0}function uo(e,t,n){return e.slice(t,n)}function Tt(e){return e.length}function by(e){return e.length}function $o(e,t){return t.push(e),e}var Sl=1,sr=1,bh=0,qe=0,re=0,hr="";function $s(e,t,n,r,o,i,l,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Sl,column:sr,length:l,return:"",siblings:a}}function $y(){return re}function By(){return re=qe>0?ao(hr,--qe):0,sr--,re===10&&(sr=1,Sl--),re}function st(){return re=qe2||Su(re)>3?"":" "}function Vy(e,t){for(;--t&&st()&&!(re<48||re>102||re>57&&re<65||re>70&&re<97););return wl(e,si()+(t<6&&Sn()==32&&st()==32))}function wu(e){for(;st();)switch(re){case e:return qe;case 34:case 39:e!==34&&e!==39&&wu(re);break;case 40:e===41&&wu(e);break;case 92:st();break}return qe}function Qy(e,t){for(;st()&&e+re!==47+10;)if(e+re===42+42&&Sn()===47)break;return"/*"+wl(t,qe-1)+"*"+bs(e===47?e:st())}function Ky(e){for(;!Su(Sn());)st();return wl(e,qe)}function Xy(e){return Uy(ci("",null,null,null,[""],e=Hy(e),0,[0],e))}function ci(e,t,n,r,o,i,l,a,u){for(var s=0,f=0,d=l,h=0,m=0,y=0,g=1,P=1,p=1,c=0,v="",S=o,k=i,E=r,x=v;P;)switch(y=c,c=st()){case 40:if(y!=108&&ao(x,d-1)==58){Dy(x+=ui(ia(c),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:x+=ia(c);break;case 9:case 10:case 13:case 32:x+=Wy(y);break;case 92:x+=Vy(si()-1,7);continue;case 47:switch(Sn()){case 42:case 47:$o(Gy(Qy(st(),si()),t,n,u),u);break;default:x+="/"}break;case 123*g:a[s++]=Tt(x)*p;case 125*g:case 59:case 0:switch(c){case 0:case 125:P=0;case 59+f:p==-1&&(x=ui(x,/\f/g,"")),m>0&&Tt(x)-d&&$o(m>32?xf(x+";",r,n,d-1,u):xf(ui(x," ","")+";",r,n,d-2,u),u);break;case 59:x+=";";default:if($o(E=wf(x,t,n,s,f,o,a,v,S=[],k=[],d,i),i),c===123)if(f===0)ci(x,t,E,E,S,i,d,a,k);else switch(h===99&&ao(x,3)===110?100:h){case 100:case 108:case 109:case 115:ci(e,E,E,r&&$o(wf(e,E,E,0,0,o,a,v,o,S=[],d,k),k),o,k,d,a,r?S:k);break;default:ci(x,E,E,E,[""],k,0,a,k)}}s=f=m=0,g=p=1,v=x="",d=l;break;case 58:d=1+Tt(x),m=y;default:if(g<1){if(c==123)--g;else if(c==125&&g++==0&&By()==125)continue}switch(x+=bs(c),c*g){case 38:p=f>0?1:(x+="\f",-1);break;case 44:a[s++]=(Tt(x)-1)*p,p=1;break;case 64:Sn()===45&&(x+=ia(st())),h=Sn(),f=d=Tt(v=x+=Ky(si())),c++;break;case 45:y===45&&Tt(x)==2&&(g=0)}}return i}function wf(e,t,n,r,o,i,l,a,u,s,f,d){for(var h=o-1,m=o===0?i:[""],y=by(m),g=0,P=0,p=0;g0?m[c]+" "+v:ui(v,/&\f/g,m[c])))&&(u[p++]=S);return $s(e,t,n,o===0?jh:a,u,s,f,d)}function Gy(e,t,n,r){return $s(e,t,n,Ih,bs($y()),uo(e,2,-2),0,r)}function xf(e,t,n,r,o){return $s(e,t,n,Fh,uo(e,0,r),uo(e,r+1,-1),r,o)}function xu(e,t){for(var n="",r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,i=r.injectHash,l=r.parentSelectors,a=n.hashId,u=n.layer;n.path;var s=n.hashPriority,f=n.transformers,d=f===void 0?[]:f;n.linters;var h="",m={};function y(v){var S=v.getName(a);if(!m[S]){var k=e(v.style,n,{root:!1,parentSelectors:l}),E=ee(k,1),x=E[0];m[S]="@keyframes ".concat(v.getName(a)).concat(x)}}function g(v){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return v.forEach(function(k){Array.isArray(k)?g(k,S):k&&S.push(k)}),S}var P=g(Array.isArray(t)?t:[t]);if(P.forEach(function(v){var S=typeof v=="string"&&!o?{}:v;if(typeof S=="string")h+="".concat(S,` +`);else if(S._keyframe)y(S);else{var k=d.reduce(function(E,x){var _;return(x==null||(_=x.visit)===null||_===void 0?void 0:_.call(x,E))||E},S);Object.keys(k).forEach(function(E){var x=k[E];if(pe(x)==="object"&&x&&(E!=="animationName"||!x._keyframe)&&!t1(x)){var _=!1,A=E.trim(),L=!1;(o||i)&&a?A.startsWith("@")?_=!0:A=n1(E,a,s):o&&!a&&(A==="&"||A==="")&&(A="",L=!0);var I=e(x,n,{root:L,injectHash:_,parentSelectors:[].concat(Rn(l),[A])}),D=ee(I,2),N=D[0],te=D[1];m=$($({},m),te),h+="".concat(A).concat(N)}else{let ue=function(T,O){var M=T.replace(/[A-Z]/g,function(U){return"-".concat(U.toLowerCase())}),z=O;!Ny[T]&&typeof z=="number"&&z!==0&&(z="".concat(z,"px")),T==="animationName"&&O!==null&&O!==void 0&&O._keyframe&&(y(O),z=O.getName(a)),h+="".concat(M,":").concat(z,";")};var b,W=(b=x==null?void 0:x.value)!==null&&b!==void 0?b:x;pe(x)==="object"&&x!==null&&x!==void 0&&x[Hh]&&Array.isArray(W)?W.forEach(function(T){ue(E,T)}):ue(E,W)}})}}),!o)h="{".concat(h,"}");else if(u&&my()){var p=u.split(","),c=p[p.length-1].trim();h="@layer ".concat(c," {").concat(h,"}"),p.length>1&&(h="@layer ".concat(u,"{%%%:%}").concat(h))}return[h,m]};function o1(e,t){return js("".concat(e.join("%")).concat(t))}function i1(){return null}function l1(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,l=e.nonce,a=e.clientOnly,u=e.order,s=u===void 0?0:u,f=w.useContext(Fs),d=f.autoClear;f.mock;var h=f.defaultCache,m=f.hashPriority,y=f.container,g=f.ssrInline,P=f.transformers,p=f.linters,c=f.cache,v=n._tokenKey,S=[v].concat(Rn(r)),k=Ef,E=zh("style",S,function(){var I=S.join("|");if(qy(I)){var D=Jy(I),N=ee(D,2),te=N[0],b=N[1];if(te)return[te,v,b,{},a,s]}var W=t(),ue=r1(W,{hashId:o,hashPriority:m,layer:i,path:r.join("-"),transformers:P,linters:p}),T=ee(ue,2),O=T[0],M=T[1],z=Cf(O),U=o1(S,z);return[z,v,U,M,a,s]},function(I,D){var N=ee(I,3),te=N[2];(D||d)&&Ef&&Rh(te,{mark:yn})},function(I){var D=ee(I,4),N=D[0];D[1];var te=D[2],b=D[3];if(k&&N!==$h){var W={mark:yn,prepend:"queue",attachTo:y,priority:s},ue=typeof l=="function"?l():l;ue&&(W.csp={nonce:ue});var T=$i(N,te,W);T[Vn]=c.instanceId,T.setAttribute(mu,v),Object.keys(b).forEach(function(O){$i(Cf(b[O]),"_effect-".concat(O),W)})}}),x=ee(E,3),_=x[0],A=x[1],L=x[2];return function(I){var D;if(!g||k||!h)D=w.createElement(i1,null);else{var N;D=w.createElement("style",Di({},(N={},V(N,mu,A),V(N,yn,L),N),{dangerouslySetInnerHTML:{__html:_}}))}return w.createElement(w.Fragment,null,D,I)}}function Ln(e){return e.notSplit=!0,e}Ln(["borderTop","borderBottom"]),Ln(["borderTop"]),Ln(["borderBottom"]),Ln(["borderLeft","borderRight"]),Ln(["borderLeft"]),Ln(["borderRight"]);var a1=w.createContext({});const u1=a1;function s1(e){return Oh(e)||wh(e)||zs(e)||Mh()}function ku(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!ku(e,t.slice(0,-1))?e:Uh(e,t,n,r)}function c1(e){return pe(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Pf(e){return Array.isArray(e)?[]:{}}var f1=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function d1(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=p1,e},v1=w.createContext(void 0),m1={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 g1={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 y1={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Wh=y1,S1={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"]},g1),timePickerLocale:Object.assign({},Wh)},Tf=S1,ze="${label} is not a valid ${type}",w1={locale:"en",Pagination:m1,DatePicker:Tf,TimePicker:Wh,Calendar:Tf,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:ze,method:ze,array:ze,object:ze,number:ze,date:ze,boolean:ze,integer:ze,float:ze,regexp:ze,email:ze,url:ze,hex:ze},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"}},xl=w1;Object.assign({},xl.Modal);let fi=[];const _f=()=>fi.reduce((e,t)=>Object.assign(Object.assign({},e),t),xl.Modal);function x1(e){if(e){const t=Object.assign({},e);return fi.push(t),_f(),()=>{fi=fi.filter(n=>n!==t),_f()}}Object.assign({},xl.Modal)}const k1=w.createContext(void 0),Vh=k1,E1="internalMark",C1=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;w.useEffect(()=>x1(t&&t.Modal),[t]);const o=w.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return w.createElement(Vh.Provider,{value:o},n)},P1=C1;function ye(e,t){T1(e)&&(e="100%");var n=_1(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 Bo(e){return Math.min(1,Math.max(0,e))}function T1(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function _1(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Qh(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Ho(e){return e<=1?"".concat(Number(e)*100,"%"):e}function vn(e){return e.length===1?"0"+e:String(e)}function R1(e,t,n){return{r:ye(e,255)*255,g:ye(t,255)*255,b:ye(n,255)*255}}function Rf(e,t,n){e=ye(e,255),t=ye(t,255),n=ye(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,l=0,a=(r+o)/2;if(r===o)l=0,i=0;else{var u=r-o;switch(l=a>.5?u/(2-r-o):u/(r+o),r){case e:i=(t-n)/u+(t1&&(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 O1(e,t,n){var r,o,i;if(e=ye(e,360),t=ye(t,100),n=ye(n,100),t===0)o=n,i=n,r=n;else{var l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;r=aa(a,l,e+1/3),o=aa(a,l,e),i=aa(a,l,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function Eu(e,t,n){e=ye(e,255),t=ye(t,255),n=ye(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,l=r,a=r-o,u=r===0?0:a/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/a+(t>16,g:(e&65280)>>8,b:e&255}}var Pu={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 An(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,l=!1,a=!1;return typeof e=="string"&&(e=j1(e)),typeof e=="object"&&(kt(e.r)&&kt(e.g)&&kt(e.b)?(t=R1(e.r,e.g,e.b),l=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):kt(e.h)&&kt(e.s)&&kt(e.v)?(r=Ho(e.s),o=Ho(e.v),t=M1(e.h,r,o),l=!0,a="hsv"):kt(e.h)&&kt(e.s)&&kt(e.l)&&(r=Ho(e.s),i=Ho(e.l),t=O1(e.h,r,i),l=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Qh(n),{ok:l,format:e.format||a,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 z1="[-\\+]?\\d+%?",I1="[-\\+]?\\d*\\.\\d+%?",Vt="(?:".concat(I1,")|(?:").concat(z1,")"),ua="[\\s|\\(]+(".concat(Vt,")[,|\\s]+(").concat(Vt,")[,|\\s]+(").concat(Vt,")\\s*\\)?"),sa="[\\s|\\(]+(".concat(Vt,")[,|\\s]+(").concat(Vt,")[,|\\s]+(").concat(Vt,")[,|\\s]+(").concat(Vt,")\\s*\\)?"),nt={CSS_UNIT:new RegExp(Vt),rgb:new RegExp("rgb"+ua),rgba:new RegExp("rgba"+sa),hsl:new RegExp("hsl"+ua),hsla:new RegExp("hsla"+sa),hsv:new RegExp("hsv"+ua),hsva:new RegExp("hsva"+sa),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 j1(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Pu[e])e=Pu[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=nt.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=nt.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=nt.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=nt.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=nt.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=nt.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=nt.hex8.exec(e),n?{r:Ie(n[1]),g:Ie(n[2]),b:Ie(n[3]),a:Of(n[4]),format:t?"name":"hex8"}:(n=nt.hex6.exec(e),n?{r:Ie(n[1]),g:Ie(n[2]),b:Ie(n[3]),format:t?"name":"hex"}:(n=nt.hex4.exec(e),n?{r:Ie(n[1]+n[1]),g:Ie(n[2]+n[2]),b:Ie(n[3]+n[3]),a:Of(n[4]+n[4]),format:t?"name":"hex8"}:(n=nt.hex3.exec(e),n?{r:Ie(n[1]+n[1]),g:Ie(n[2]+n[2]),b:Ie(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function kt(e){return!!nt.CSS_UNIT.exec(String(e))}var De=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=N1(t)),this.originalInput=t;var o=An(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,o,i=t.r/255,l=t.g/255,a=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),l<=.03928?r=l/12.92:r=Math.pow((l+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Qh(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=Eu(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=Eu(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Rf(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=Rf(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Cu(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),L1(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(ye(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(ye(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="#"+Cu(this.r,this.g,this.b,!1),n=0,r=Object.entries(Pu);n=0,i=!n&&o&&(t.startsWith("hex")||t==="name");return i?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=Bo(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=Bo(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=Bo(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=Bo(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(),o=new e(t).toRgb(),i=n/100,l={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(l)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,l=[],a=1/t;t--;)l.push(new e({h:r,s:o,v:i})),i=(i+a)%1;return l},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,l=1;l=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-Uo*t:Math.round(e.h)+Uo*t:r=n?Math.round(e.h)+Uo*t:Math.round(e.h)-Uo*t,r<0?r+=360:r>=360&&(r-=360),r}function Nf(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-Mf*t:t===Xh?r=e.s+Mf:r=e.s+F1*t,r>1&&(r=1),n&&t===Kh&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function zf(e,t,n){var r;return n?r=e.v+D1*t:r=e.v-b1*t,r>1&&(r=1),Number(r.toFixed(2))}function cr(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=An(e),o=Kh;o>0;o-=1){var i=Lf(r),l=Wo(An({h:Af(i,o,!0),s:Nf(i,o,!0),v:zf(i,o,!0)}));n.push(l)}n.push(Wo(r));for(var a=1;a<=Xh;a+=1){var u=Lf(r),s=Wo(An({h:Af(u,a),s:Nf(u,a),v:zf(u,a)}));n.push(s)}return t.theme==="dark"?$1.map(function(f){var d=f.index,h=f.opacity,m=Wo(B1(An(t.backgroundColor||"#141414"),An(n[d]),h*100));return m}):n}var ca={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"},Ur={},fa={};Object.keys(ca).forEach(function(e){Ur[e]=cr(ca[e]),Ur[e].primary=Ur[e][5],fa[e]=cr(ca[e],{theme:"dark",backgroundColor:"#141414"}),fa[e].primary=fa[e][5]});var lw=Ur.gold,aw=Ur.blue;const H1=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},U1=H1;function W1(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 Gh={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"},so=Object.assign(Object.assign({},Gh),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', +'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function V1(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:l,colorInfo:a,colorPrimary:u,colorBgBase:s,colorTextBase:f}=e,d=n(u),h=n(o),m=n(i),y=n(l),g=n(a),P=r(s,f),p=e.colorLink||e.colorInfo,c=n(p);return Object.assign(Object.assign({},P),{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:h[1],colorSuccessBgHover:h[2],colorSuccessBorder:h[3],colorSuccessBorderHover:h[4],colorSuccessHover:h[4],colorSuccess:h[6],colorSuccessActive:h[7],colorSuccessTextHover:h[8],colorSuccessText:h[9],colorSuccessTextActive:h[10],colorErrorBg:y[1],colorErrorBgHover:y[2],colorErrorBorder:y[3],colorErrorBorderHover:y[4],colorErrorHover:y[5],colorError:y[6],colorErrorActive:y[7],colorErrorTextHover:y[8],colorErrorText:y[9],colorErrorTextActive:y[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg: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:c[4],colorLink:c[6],colorLinkActive:c[7],colorBgMask:new De("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Q1=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},K1=Q1;function X1(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=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:o+1},K1(r))}const Et=(e,t)=>new De(e).setAlpha(t).toRgbString(),Rr=(e,t)=>new De(e).darken(t).toHexString(),G1=e=>{const t=cr(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]}},Y1=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Et(r,.88),colorTextSecondary:Et(r,.65),colorTextTertiary:Et(r,.45),colorTextQuaternary:Et(r,.25),colorFill:Et(r,.15),colorFillSecondary:Et(r,.06),colorFillTertiary:Et(r,.04),colorFillQuaternary:Et(r,.02),colorBgLayout:Rr(n,4),colorBgContainer:Rr(n,0),colorBgElevated:Rr(n,0),colorBgSpotlight:Et(r,.85),colorBgBlur:"transparent",colorBorder:Rr(n,15),colorBorderSecondary:Rr(n,6)}};function Z1(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,i=e*Math.pow(2.71828,o/5),l=r>1?Math.floor(i):Math.ceil(i);return Math.floor(l/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const q1=e=>{const t=Z1(e),n=t.map(o=>o.size),r=t.map(o=>o.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]}},J1=q1;function eS(e){const t=Object.keys(Gh).map(n=>{const r=cr(e[n]);return new Array(10).fill(1).reduce((o,i,l)=>(o[`${n}-${l+1}`]=r[l],o[`${n}${l+1}`]=r[l],o),{})}).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),V1(e,{generateColorPalettes:G1,generateNeutralColorPalettes:Y1})),J1(e.fontSize)),W1(e)),U1(e)),X1(e))}const Yh=yu(eS),Zh={token:so,override:{override:so},hashed:!0},qh=Ui.createContext(Zh),Jh="anticon",tS=(e,t)=>t||(e?`ant-${e}`:"ant"),Bs=w.createContext({getPrefixCls:tS,iconPrefixCls:Jh}),nS=`-ant-${Date.now()}-${Math.random()}`;function rS(e,t){const n={},r=(l,a)=>{let u=l.clone();return u=(a==null?void 0:a(u))||u,u.toRgbString()},o=(l,a)=>{const u=new De(l),s=cr(u.toRgbString());n[`${a}-color`]=r(u),n[`${a}-color-disabled`]=s[1],n[`${a}-color-hover`]=s[4],n[`${a}-color-active`]=s[6],n[`${a}-color-outline`]=u.clone().setAlpha(.2).toRgbString(),n[`${a}-color-deprecated-bg`]=s[0],n[`${a}-color-deprecated-border`]=s[2]};if(t.primaryColor){o(t.primaryColor,"primary");const l=new De(t.primaryColor),a=cr(l.toRgbString());a.forEach((s,f)=>{n[`primary-${f+1}`]=s}),n["primary-color-deprecated-l-35"]=r(l,s=>s.lighten(35)),n["primary-color-deprecated-l-20"]=r(l,s=>s.lighten(20)),n["primary-color-deprecated-t-20"]=r(l,s=>s.tint(20)),n["primary-color-deprecated-t-50"]=r(l,s=>s.tint(50)),n["primary-color-deprecated-f-12"]=r(l,s=>s.setAlpha(s.getAlpha()*.12));const u=new De(a[0]);n["primary-color-active-deprecated-f-30"]=r(u,s=>s.setAlpha(s.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(u,s=>s.darken(2))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),` + :root { + ${Object.keys(n).map(l=>`--${e}-${l}: ${n[l]};`).join(` +`)} + } + `.trim()}function oS(e,t){const n=rS(e,t);St()&&$i(n,`${nS}-dynamic-theme`)}const Tu=w.createContext(!1),iS=e=>{let{children:t,disabled:n}=e;const r=w.useContext(Tu);return w.createElement(Tu.Provider,{value:n??r},t)},lS=Tu,_u=w.createContext(void 0),aS=e=>{let{children:t,size:n}=e;const r=w.useContext(_u);return w.createElement(_u.Provider,{value:n||r},t)},Hs=_u;function uS(){const e=w.useContext(lS),t=w.useContext(Hs);return{componentDisabled:e,componentSize:t}}const sS="5.10.2";function da(e){return e>=0&&e<=255}function Vo(e,t){const{r:n,g:r,b:o,a:i}=new De(e).toRgb();if(i<1)return e;const{r:l,g:a,b:u}=new De(t).toRgb();for(let s=.01;s<=1;s+=.01){const f=Math.round((n-l*(1-s))/s),d=Math.round((r-a*(1-s))/s),h=Math.round((o-u*(1-s))/s);if(da(f)&&da(d)&&da(h))return new De({r:f,g:d,b:h,a:Math.round(s*100)/100}).toRgbString()}return new De({r:n,g:r,b:o,a:1}).toRgbString()}var cS=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 o=0,r=Object.getOwnPropertySymbols(e);o{delete r[h]});const o=Object.assign(Object.assign({},n),r),i=480,l=576,a=768,u=992,s=1200,f=1600;if(o.motion===!1){const h="0s";o.motionDurationFast=h,o.motionDurationMid=h,o.motionDurationSlow=h}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Vo(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Vo(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Vo(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Vo(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowSecondary:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:i,screenXSMin:i,screenXSMax:l-1,screenSM:l,screenSMMin:l,screenSMMax:a-1,screenMD:a,screenMDMin:a,screenMDMax:u-1,screenLG:u,screenLGMin:u,screenLGMax:s-1,screenXL:s,screenXLMin:s,screenXLMax:f-1,screenXXL:f,screenXXLMin:f,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` + 0 1px 2px -2px ${new De("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new De("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new De("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerDown:` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var If=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 o=0,r=Object.getOwnPropertySymbols(e);o{const r=n.getDerivativeToken(e),{override:o}=t,i=If(t,["override"]);let l=Object.assign(Object.assign({},r),{override:o});return l=ev(l),i&&Object.entries(i).forEach(a=>{let[u,s]=a;const{theme:f}=s,d=If(s,["theme"]);let h=d;f&&(h=tv(Object.assign(Object.assign({},l),d),{override:d},f)),l[u]=h}),l};function nv(){const{token:e,hashed:t,theme:n,override:r}=Ui.useContext(qh),o=`${sS}-${t||""}`,i=n||Yh,[l,a]=Ay(i,[so,e],{salt:o,override:r,getComputedToken:tv,formatToken:ev});return[i,l,t?a:""]}function di(e){var t=w.useRef(!1),n=w.useState(e),r=ee(n,2),o=r[0],i=r[1];w.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function l(a,u){u&&t.current||i(a)}return[o,l]}const uw={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},sw=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}},fS=()=>({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"}}),cw=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),fw=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"}}}),dw=(e,t)=>{const{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},dS=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),pw=e=>({"&:focus-visible":Object.assign({},dS(e))}),pS=(e,t)=>{const[n,r]=nv();return l1({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},fS()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},hS=pS;function vS(e,t){const n=e||{},r=n.inherit===!1||!t?Zh:t;return Ns(()=>{if(!e)return t;const o=Object.assign({},r.components);return Object.keys(e.components||{}).forEach(i=>{o[i]=Object.assign(Object.assign({},o[i]),e.components[i])}),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:o})},[n,r],(o,i)=>o.some((l,a)=>{const u=i[a];return!ry(l,u,!0)}))}var mS=["children"],rv=w.createContext({});function gS(e){var t=e.children,n=vu(e,mS);return w.createElement(rv.Provider,{value:n},t)}var yS=function(e){yh(n,e);var t=Sh(n);function n(){return go(this,n),t.apply(this,arguments)}return yo(n,[{key:"render",value:function(){return this.props.children}}]),n}(w.Component),cn="none",Qo="appear",Ko="enter",Xo="leave",jf="none",it="prepare",Qn="start",Kn="active",Us="end",ov="prepared";function Ff(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 SS(e,t){var n={animationend:Ff("Animation","AnimationEnd"),transitionend:Ff("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var wS=SS(St(),typeof window<"u"?window:{}),iv={};if(St()){var xS=document.createElement("div");iv=xS.style}var Go={};function lv(e){if(Go[e])return Go[e];var t=wS[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&arguments[1]!==void 0?arguments[1]:2;t();var i=hu(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i}return w.useEffect(function(){return function(){t()}},[]),[n,t]};var CS=[it,Qn,Kn,Us],PS=[it,ov],fv=!1,TS=!0;function dv(e){return e===Kn||e===Us}const _S=function(e,t,n){var r=di(jf),o=ee(r,2),i=o[0],l=o[1],a=ES(),u=ee(a,2),s=u[0],f=u[1];function d(){l(it,!0)}var h=t?PS:CS;return cv(function(){if(i!==jf&&i!==Us){var m=h.indexOf(i),y=h[m+1],g=n(i);g===fv?l(y,!0):y&&s(function(P){function p(){P.isCanceled()||l(y,!0)}g===!0?p():Promise.resolve(g).then(p)})}},[e,i]),w.useEffect(function(){return function(){f()}},[]),[d,i]};function RS(e,t,n,r){var o=r.motionEnter,i=o===void 0?!0:o,l=r.motionAppear,a=l===void 0?!0:l,u=r.motionLeave,s=u===void 0?!0:u,f=r.motionDeadline,d=r.motionLeaveImmediately,h=r.onAppearPrepare,m=r.onEnterPrepare,y=r.onLeavePrepare,g=r.onAppearStart,P=r.onEnterStart,p=r.onLeaveStart,c=r.onAppearActive,v=r.onEnterActive,S=r.onLeaveActive,k=r.onAppearEnd,E=r.onEnterEnd,x=r.onLeaveEnd,_=r.onVisibleChanged,A=di(),L=ee(A,2),I=L[0],D=L[1],N=di(cn),te=ee(N,2),b=te[0],W=te[1],ue=di(null),T=ee(ue,2),O=T[0],M=T[1],z=w.useRef(!1),U=w.useRef(null);function et(){return n()}var Ue=w.useRef(!1);function It(){W(cn,!0),M(null,!0)}function We(we){var se=et();if(!(we&&!we.deadline&&we.target!==se)){var ce=Ue.current,Ve;b===Qo&&ce?Ve=k==null?void 0:k(se,we):b===Ko&&ce?Ve=E==null?void 0:E(se,we):b===Xo&&ce&&(Ve=x==null?void 0:x(se,we)),b!==cn&&ce&&Ve!==!1&&It()}}var jt=kS(We),kl=ee(jt,1),El=kl[0],So=function(se){var ce,Ve,an;switch(se){case Qo:return ce={},V(ce,it,h),V(ce,Qn,g),V(ce,Kn,c),ce;case Ko:return Ve={},V(Ve,it,m),V(Ve,Qn,P),V(Ve,Kn,v),Ve;case Xo:return an={},V(an,it,y),V(an,Qn,p),V(an,Kn,S),an;default:return{}}},ln=w.useMemo(function(){return So(b)},[b]),Cl=_S(b,!e,function(we){if(we===it){var se=ln[it];return se?se(et()):fv}if(wt in ln){var ce;M(((ce=ln[wt])===null||ce===void 0?void 0:ce.call(ln,et(),null))||null)}return wt===Kn&&(El(et()),f>0&&(clearTimeout(U.current),U.current=setTimeout(function(){We({deadline:!0})},f))),wt===ov&&It(),TS}),wo=ee(Cl,2),Pl=wo[0],wt=wo[1],Tl=dv(wt);Ue.current=Tl,cv(function(){D(t);var we=z.current;z.current=!0;var se;!we&&t&&a&&(se=Qo),we&&t&&i&&(se=Ko),(we&&!t&&s||!we&&d&&!t&&s)&&(se=Xo);var ce=So(se);se&&(e||ce[it])?(W(se),Pl()):W(cn)},[t]),w.useEffect(function(){(b===Qo&&!a||b===Ko&&!i||b===Xo&&!s)&&W(cn)},[a,i,s]),w.useEffect(function(){return function(){z.current=!1,clearTimeout(U.current)}},[]);var mr=w.useRef(!1);w.useEffect(function(){I&&(mr.current=!0),I!==void 0&&b===cn&&((mr.current||I)&&(_==null||_(I)),mr.current=!0)},[I,b]);var gr=O;return ln[it]&&wt===Qn&&(gr=$({transition:"none"},gr)),[b,wt,gr,I??t]}function OS(e){var t=e;pe(e)==="object"&&(t=e.transitionSupport);function n(o,i){return!!(o.motionName&&t&&i!==!1)}var r=w.forwardRef(function(o,i){var l=o.visible,a=l===void 0?!0:l,u=o.removeOnLeave,s=u===void 0?!0:u,f=o.forceRender,d=o.children,h=o.motionName,m=o.leavedClassName,y=o.eventProps,g=w.useContext(rv),P=g.motion,p=n(o,P),c=w.useRef(),v=w.useRef();function S(){try{return c.current instanceof HTMLElement?c.current:Yg(v.current)}catch{return null}}var k=RS(p,a,S,o),E=ee(k,4),x=E[0],_=E[1],A=E[2],L=E[3],I=w.useRef(L);L&&(I.current=!0);var D=w.useCallback(function(M){c.current=M,mh(i,M)},[i]),N,te=$($({},y),{},{visible:a});if(!d)N=null;else if(x===cn)L?N=d($({},te),D):!s&&I.current&&m?N=d($($({},te),{},{className:m}),D):f||!s&&!m?N=d($($({},te),{},{style:{display:"none"}}),D):N=null;else{var b,W;_===it?W="prepare":dv(_)?W="active":_===Qn&&(W="start");var ue=$f(h,"".concat(x,"-").concat(W));N=d($($({},te),{},{className:$g($f(h,x),(b={},V(b,ue,ue&&W),V(b,h,typeof h=="string"),b)),style:A}),D)}if(w.isValidElement(N)&&gh(N)){var T=N,O=T.ref;O||(N=w.cloneElement(N,{ref:D}))}return w.createElement(yS,{ref:v},N)});return r.displayName="CSSMotion",r}const MS=OS(sv);var Ru="add",Ou="keep",Mu="remove",pa="removed";function LS(e){var t;return e&&pe(e)==="object"&&"key"in e?t=e:t={key:e},$($({},t),{},{key:String(t.key)})}function Lu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(LS)}function AS(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,o=t.length,i=Lu(e),l=Lu(t);i.forEach(function(s){for(var f=!1,d=r;d1});return u.forEach(function(s){n=n.filter(function(f){var d=f.key,h=f.status;return d!==s||h!==Mu}),n.forEach(function(f){f.key===s&&(f.status=Ou)})}),n}var NS=["component","children","onVisibleChanged","onAllRemoved"],zS=["status"],IS=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function jS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:MS,n=function(r){yh(i,r);var o=Sh(i);function i(){var l;go(this,i);for(var a=arguments.length,u=new Array(a),s=0;snull;var bS=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 o=0,r=Object.getOwnPropertySymbols(e);ot.endsWith("Color"))}const WS=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r}=e;t!==void 0&&(pv=t),r&&US(r)&&oS(HS(),r)},VS=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:l,locale:a,componentSize:u,direction:s,space:f,virtual:d,dropdownMatchSelectWidth:h,popupMatchSelectWidth:m,popupOverflow:y,legacyLocale:g,parentContext:P,iconPrefixCls:p,theme:c,componentDisabled:v,segmented:S,statistic:k,spin:E,calendar:x,carousel:_,cascader:A,collapse:L,typography:I,checkbox:D,descriptions:N,divider:te,drawer:b,skeleton:W,steps:ue,image:T,layout:O,list:M,mentions:z,modal:U,progress:et,result:Ue,slider:It,breadcrumb:We,menu:jt,pagination:kl,input:El,empty:So,badge:ln,radio:Cl,rate:wo,switch:Pl,transfer:wt,avatar:Tl,message:mr,tag:gr,table:we,card:se,tabs:ce,timeline:Ve,timePicker:an,upload:vv,notification:mv,tree:gv,colorPicker:yv,datePicker:Sv,flex:wv,wave:xv,warning:kv}=e,Ev=w.useCallback((ie,ve)=>{const{prefixCls:dt}=e;if(ve)return ve;const pt=dt||P.getPrefixCls("");return ie?`${pt}-${ie}`:pt},[P.getPrefixCls,e.prefixCls]),yr=p||P.iconPrefixCls||Jh,Sr=n||P.csp;hS(yr,Sr);const _l=vS(c,P.theme),Rl={csp:Sr,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:a||g,direction:s,space:f,virtual:d,popupMatchSelectWidth:m??h,popupOverflow:y,getPrefixCls:Ev,iconPrefixCls:yr,theme:_l,segmented:S,statistic:k,spin:E,calendar:x,carousel:_,cascader:A,collapse:L,typography:I,checkbox:D,descriptions:N,divider:te,drawer:b,skeleton:W,steps:ue,image:T,input:El,layout:O,list:M,mentions:z,modal:U,progress:et,result:Ue,slider:It,breadcrumb:We,menu:jt,pagination:kl,empty:So,badge:ln,radio:Cl,rate:wo,switch:Pl,transfer:wt,avatar:Tl,message:mr,tag:gr,table:we,card:se,tabs:ce,timeline:Ve,timePicker:an,upload:vv,notification:mv,tree:gv,colorPicker:yv,datePicker:Sv,flex:wv,wave:xv,warning:kv},xo=Object.assign({},P);Object.keys(Rl).forEach(ie=>{Rl[ie]!==void 0&&(xo[ie]=Rl[ie])}),$S.forEach(ie=>{const ve=e[ie];ve&&(xo[ie]=ve)});const On=Ns(()=>xo,xo,(ie,ve)=>{const dt=Object.keys(ie),pt=Object.keys(ve);return dt.length!==pt.length||dt.some(ko=>ie[ko]!==ve[ko])}),Cv=w.useMemo(()=>({prefixCls:yr,csp:Sr}),[yr,Sr]);let he=w.createElement(w.Fragment,null,w.createElement(DS,{dropdownMatchSelectWidth:h}),t);const Ws=w.useMemo(()=>{var ie,ve,dt,pt;return d1(((ie=xl.Form)===null||ie===void 0?void 0:ie.defaultValidateMessages)||{},((dt=(ve=On.locale)===null||ve===void 0?void 0:ve.Form)===null||dt===void 0?void 0:dt.defaultValidateMessages)||{},((pt=On.form)===null||pt===void 0?void 0:pt.validateMessages)||{},(l==null?void 0:l.validateMessages)||{})},[On,l==null?void 0:l.validateMessages]);Object.keys(Ws).length>0&&(he=w.createElement(v1.Provider,{value:Ws},he)),a&&(he=w.createElement(P1,{locale:a,_ANT_MARK__:E1},he)),(yr||Sr)&&(he=w.createElement(u1.Provider,{value:Cv},he)),u&&(he=w.createElement(aS,{size:u},he)),he=w.createElement(FS,null,he);const Pv=w.useMemo(()=>{const ie=_l||{},{algorithm:ve,token:dt,components:pt}=ie,ko=bS(ie,["algorithm","token","components"]),Vs=ve&&(!Array.isArray(ve)||ve.length>0)?yu(ve):Yh,Ol={};Object.entries(pt||{}).forEach(Tv=>{let[_v,Rv]=Tv;const xt=Object.assign({},Rv);"algorithm"in xt&&(xt.algorithm===!0?xt.theme=Vs:(Array.isArray(xt.algorithm)||typeof xt.algorithm=="function")&&(xt.theme=yu(xt.algorithm)),delete xt.algorithm),Ol[_v]=xt});const Qs=Object.assign(Object.assign({},so),dt);return Object.assign(Object.assign({},ko),{theme:Vs,token:Qs,components:Ol,override:Object.assign({override:Qs},Ol)})},[_l]);return c&&(he=w.createElement(qh.Provider,{value:Pv},he)),On.warning&&(he=w.createElement(h1.Provider,{value:On.warning},he)),v!==void 0&&(he=w.createElement(iS,{disabled:v},he)),w.createElement(Bs.Provider,{value:On},he)},vr=e=>{const t=w.useContext(Bs),n=w.useContext(Vh);return w.createElement(VS,Object.assign({parentContext:t,legacyLocale:n},e))};vr.ConfigContext=Bs;vr.SizeContext=Hs;vr.config=WS;vr.useConfig=uS;Object.defineProperty(vr,"SizeContext",{get:()=>Hs});const QS=vr,KS=e=>Xn.jsx(QS,{children:e.children}),XS="modulepreload",GS=function(e){return"/"+e},Bf={},hv=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=GS(i),i in Bf)return;Bf[i]=!0;const l=i.endsWith(".css"),a=l?'[rel="stylesheet"]':"";if(!!r)for(let f=o.length-1;f>=0;f--){const d=o[f];if(d.href===i&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const s=document.createElement("link");if(s.rel=l?"stylesheet":XS,l||(s.as="script",s.crossOrigin=""),s.href=i,document.head.appendChild(s),l)return new Promise((f,d)=>{s.addEventListener("load",f),s.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i})},YS=w.lazy(()=>hv(()=>import("./index-6b9cd325.js"),["assets/index-6b9cd325.js","assets/TextArea-9c0cedf0.js"])),ZS=w.lazy(()=>hv(()=>import("./index-54323d82.js"),["assets/index-54323d82.js","assets/TextArea-9c0cedf0.js"])),qS=()=>Pg([{path:"/",element:Xn.jsx(YS,{}),children:[{path:"/",element:Xn.jsx(ZS,{})}]}]),JS=ha.createRoot(document.getElementById("root"));JS.render(Xn.jsx(KS,{children:Xn.jsx(Dg,{children:Xn.jsx(qS,{})})}));export{yh as $,pw as A,QS as B,Bs as C,lS as D,ee as E,Wg as F,V as G,vu as H,gl as I,s1 as J,nw as K,St as L,yo as M,go as N,tw as O,Yg as P,Rs as Q,ew as R,Ns as S,De as T,sw as U,uw as V,fS as W,iw as X,dS as Y,nh as Z,Rn as _,yu as a,Sh as a0,m1 as a1,ry as a2,ku as a3,mh as a4,du as a5,cw as a6,xl as a7,ph as a8,Vh as a9,di as aa,ow as ab,l1 as ac,fw as ad,hS as ae,dw as af,u1 as ag,$i as ah,aw as ai,Fu as aj,Hs as ak,Rh as al,d1 as am,la as an,Gg as ao,rw as ap,J1 as b,$g as c,eS as d,U1 as e,ev as f,Ly as g,cr as h,Gh as i,V1 as j,Zh as k,Di as l,Au as m,lw as n,Zg as o,Nh as p,Xn as q,w as r,so as s,$ as t,nv as u,pe as v,hu as w,MS as x,Ui as y,gh as z}; diff --git a/favicon.svg b/favicon.svg new file mode 100644 index 0000000..5d58c15 --- /dev/null +++ b/favicon.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/font.css b/font.css new file mode 100644 index 0000000..0d69e27 --- /dev/null +++ b/font.css @@ -0,0 +1,156 @@ +/* roboto-100 - latin_cyrillic */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 100; + src: url('../fonts/roboto-v29-latin_cyrillic-100.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-100.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-100.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-100.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-100.svg#Roboto') format('svg'); /* Legacy iOS */ + } + /* roboto-300 - latin_cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + src: url('../fonts/roboto-v29-latin_cyrillic-300.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-300.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-300.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-300.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-300.svg#Roboto') format('svg'); /* Legacy iOS */ + } + /* roboto-100italic - latin_cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: italic; + font-weight: 100; + src: url('../fonts/roboto-v29-latin_cyrillic-100italic.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-100italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-100italic.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-100italic.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-100italic.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-100italic.svg#Roboto') format('svg'); /* Legacy iOS */ + } + /* roboto-300italic - latin_cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: italic; + font-weight: 300; + src: url('../fonts/roboto-v29-latin_cyrillic-300italic.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-300italic.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-300italic.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-300italic.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-300italic.svg#Roboto') format('svg'); /* Legacy iOS */ + } + /* roboto-regular - latin_cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + src: url('../fonts/roboto-v29-latin_cyrillic-regular.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-regular.svg#Roboto') format('svg'); /* Legacy iOS */ + } + /* roboto-italic - latin_cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: italic; + font-weight: 400; + src: url('../fonts/roboto-v29-latin_cyrillic-italic.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-italic.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-italic.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-italic.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-italic.svg#Roboto') format('svg'); /* Legacy iOS */ + } + /* roboto-500 - latin_cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + src: url('../fonts/roboto-v29-latin_cyrillic-500.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-500.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-500.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-500.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-500.svg#Roboto') format('svg'); /* Legacy iOS */ + } + /* roboto-500italic - latin_cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: italic; + font-weight: 500; + src: url('../fonts/roboto-v29-latin_cyrillic-500italic.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-500italic.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-500italic.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-500italic.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-500italic.svg#Roboto') format('svg'); /* Legacy iOS */ + } + /* roboto-700italic - latin_cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: italic; + font-weight: 700; + src: url('../fonts/roboto-v29-latin_cyrillic-700italic.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-700italic.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-700italic.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-700italic.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-700italic.svg#Roboto') format('svg'); /* Legacy iOS */ + } + /* roboto-700 - latin_cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 700; + src: url('../fonts/roboto-v29-latin_cyrillic-700.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-700.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-700.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-700.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-700.svg#Roboto') format('svg'); /* Legacy iOS */ + } + /* roboto-900 - latin_cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 900; + src: url('../fonts/roboto-v29-latin_cyrillic-900.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-900.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-900.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-900.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-900.svg#Roboto') format('svg'); /* Legacy iOS */ + } + /* roboto-900italic - latin_cyrillic */ + @font-face { + font-family: 'Roboto'; + font-style: italic; + font-weight: 900; + src: url('../fonts/roboto-v29-latin_cyrillic-900italic.eot'); /* IE9 Compat Modes */ + src: local(''), + url('../fonts/roboto-v29-latin_cyrillic-900italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v29-latin_cyrillic-900italic.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-900italic.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v29-latin_cyrillic-900italic.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v29-latin_cyrillic-900italic.svg#Roboto') format('svg'); /* Legacy iOS */ + } \ No newline at end of file diff --git a/fonts/roboto-v29-latin-100.eot b/fonts/roboto-v29-latin-100.eot new file mode 100644 index 0000000..7741f6e Binary files /dev/null and b/fonts/roboto-v29-latin-100.eot differ diff --git a/fonts/roboto-v29-latin-100.svg b/fonts/roboto-v29-latin-100.svg new file mode 100644 index 0000000..e8c8fc8 --- /dev/null +++ b/fonts/roboto-v29-latin-100.svg @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-100.ttf b/fonts/roboto-v29-latin-100.ttf new file mode 100644 index 0000000..729bdd6 Binary files /dev/null and b/fonts/roboto-v29-latin-100.ttf differ diff --git a/fonts/roboto-v29-latin-100.woff b/fonts/roboto-v29-latin-100.woff new file mode 100644 index 0000000..8983756 Binary files /dev/null and b/fonts/roboto-v29-latin-100.woff differ diff --git a/fonts/roboto-v29-latin-100.woff2 b/fonts/roboto-v29-latin-100.woff2 new file mode 100644 index 0000000..187d90f Binary files /dev/null and b/fonts/roboto-v29-latin-100.woff2 differ diff --git a/fonts/roboto-v29-latin-100italic.eot b/fonts/roboto-v29-latin-100italic.eot new file mode 100644 index 0000000..74bbe5a Binary files /dev/null and b/fonts/roboto-v29-latin-100italic.eot differ diff --git a/fonts/roboto-v29-latin-100italic.svg b/fonts/roboto-v29-latin-100italic.svg new file mode 100644 index 0000000..c51ce87 --- /dev/null +++ b/fonts/roboto-v29-latin-100italic.svg @@ -0,0 +1,332 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-100italic.ttf b/fonts/roboto-v29-latin-100italic.ttf new file mode 100644 index 0000000..8c6caf5 Binary files /dev/null and b/fonts/roboto-v29-latin-100italic.ttf differ diff --git a/fonts/roboto-v29-latin-100italic.woff b/fonts/roboto-v29-latin-100italic.woff new file mode 100644 index 0000000..c298589 Binary files /dev/null and b/fonts/roboto-v29-latin-100italic.woff differ diff --git a/fonts/roboto-v29-latin-100italic.woff2 b/fonts/roboto-v29-latin-100italic.woff2 new file mode 100644 index 0000000..b3912ac Binary files /dev/null and b/fonts/roboto-v29-latin-100italic.woff2 differ diff --git a/fonts/roboto-v29-latin-300.eot b/fonts/roboto-v29-latin-300.eot new file mode 100644 index 0000000..d37d5fa Binary files /dev/null and b/fonts/roboto-v29-latin-300.eot differ diff --git a/fonts/roboto-v29-latin-300.svg b/fonts/roboto-v29-latin-300.svg new file mode 100644 index 0000000..4ded944 --- /dev/null +++ b/fonts/roboto-v29-latin-300.svg @@ -0,0 +1,312 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-300.ttf b/fonts/roboto-v29-latin-300.ttf new file mode 100644 index 0000000..37ccbcc Binary files /dev/null and b/fonts/roboto-v29-latin-300.ttf differ diff --git a/fonts/roboto-v29-latin-300.woff b/fonts/roboto-v29-latin-300.woff new file mode 100644 index 0000000..5565042 Binary files /dev/null and b/fonts/roboto-v29-latin-300.woff differ diff --git a/fonts/roboto-v29-latin-300.woff2 b/fonts/roboto-v29-latin-300.woff2 new file mode 100644 index 0000000..46445bf Binary files /dev/null and b/fonts/roboto-v29-latin-300.woff2 differ diff --git a/fonts/roboto-v29-latin-300italic.eot b/fonts/roboto-v29-latin-300italic.eot new file mode 100644 index 0000000..9f89c84 Binary files /dev/null and b/fonts/roboto-v29-latin-300italic.eot differ diff --git a/fonts/roboto-v29-latin-300italic.svg b/fonts/roboto-v29-latin-300italic.svg new file mode 100644 index 0000000..758402b --- /dev/null +++ b/fonts/roboto-v29-latin-300italic.svg @@ -0,0 +1,329 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-300italic.ttf b/fonts/roboto-v29-latin-300italic.ttf new file mode 100644 index 0000000..9b8b739 Binary files /dev/null and b/fonts/roboto-v29-latin-300italic.ttf differ diff --git a/fonts/roboto-v29-latin-300italic.woff b/fonts/roboto-v29-latin-300italic.woff new file mode 100644 index 0000000..6bf71d9 Binary files /dev/null and b/fonts/roboto-v29-latin-300italic.woff differ diff --git a/fonts/roboto-v29-latin-300italic.woff2 b/fonts/roboto-v29-latin-300italic.woff2 new file mode 100644 index 0000000..7ddae77 Binary files /dev/null and b/fonts/roboto-v29-latin-300italic.woff2 differ diff --git a/fonts/roboto-v29-latin-500.eot b/fonts/roboto-v29-latin-500.eot new file mode 100644 index 0000000..fb2a160 Binary files /dev/null and b/fonts/roboto-v29-latin-500.eot differ diff --git a/fonts/roboto-v29-latin-500.svg b/fonts/roboto-v29-latin-500.svg new file mode 100644 index 0000000..67eecf4 --- /dev/null +++ b/fonts/roboto-v29-latin-500.svg @@ -0,0 +1,305 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-500.ttf b/fonts/roboto-v29-latin-500.ttf new file mode 100644 index 0000000..d154a80 Binary files /dev/null and b/fonts/roboto-v29-latin-500.ttf differ diff --git a/fonts/roboto-v29-latin-500.woff b/fonts/roboto-v29-latin-500.woff new file mode 100644 index 0000000..c9eb5ca Binary files /dev/null and b/fonts/roboto-v29-latin-500.woff differ diff --git a/fonts/roboto-v29-latin-500.woff2 b/fonts/roboto-v29-latin-500.woff2 new file mode 100644 index 0000000..ce795fa Binary files /dev/null and b/fonts/roboto-v29-latin-500.woff2 differ diff --git a/fonts/roboto-v29-latin-500italic.eot b/fonts/roboto-v29-latin-500italic.eot new file mode 100644 index 0000000..e14fad8 Binary files /dev/null and b/fonts/roboto-v29-latin-500italic.eot differ diff --git a/fonts/roboto-v29-latin-500italic.svg b/fonts/roboto-v29-latin-500italic.svg new file mode 100644 index 0000000..bed50dc --- /dev/null +++ b/fonts/roboto-v29-latin-500italic.svg @@ -0,0 +1,326 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-500italic.ttf b/fonts/roboto-v29-latin-500italic.ttf new file mode 100644 index 0000000..f642959 Binary files /dev/null and b/fonts/roboto-v29-latin-500italic.ttf differ diff --git a/fonts/roboto-v29-latin-500italic.woff b/fonts/roboto-v29-latin-500italic.woff new file mode 100644 index 0000000..35d2715 Binary files /dev/null and b/fonts/roboto-v29-latin-500italic.woff differ diff --git a/fonts/roboto-v29-latin-500italic.woff2 b/fonts/roboto-v29-latin-500italic.woff2 new file mode 100644 index 0000000..04f45a1 Binary files /dev/null and b/fonts/roboto-v29-latin-500italic.woff2 differ diff --git a/fonts/roboto-v29-latin-700.eot b/fonts/roboto-v29-latin-700.eot new file mode 100644 index 0000000..3e2d316 Binary files /dev/null and b/fonts/roboto-v29-latin-700.eot differ diff --git a/fonts/roboto-v29-latin-700.svg b/fonts/roboto-v29-latin-700.svg new file mode 100644 index 0000000..11db87d --- /dev/null +++ b/fonts/roboto-v29-latin-700.svg @@ -0,0 +1,309 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-700.ttf b/fonts/roboto-v29-latin-700.ttf new file mode 100644 index 0000000..489236c Binary files /dev/null and b/fonts/roboto-v29-latin-700.ttf differ diff --git a/fonts/roboto-v29-latin-700.woff b/fonts/roboto-v29-latin-700.woff new file mode 100644 index 0000000..a5d98fc Binary files /dev/null and b/fonts/roboto-v29-latin-700.woff differ diff --git a/fonts/roboto-v29-latin-700.woff2 b/fonts/roboto-v29-latin-700.woff2 new file mode 100644 index 0000000..01d05fa Binary files /dev/null and b/fonts/roboto-v29-latin-700.woff2 differ diff --git a/fonts/roboto-v29-latin-700italic.eot b/fonts/roboto-v29-latin-700italic.eot new file mode 100644 index 0000000..213bea8 Binary files /dev/null and b/fonts/roboto-v29-latin-700italic.eot differ diff --git a/fonts/roboto-v29-latin-700italic.svg b/fonts/roboto-v29-latin-700italic.svg new file mode 100644 index 0000000..050bee0 --- /dev/null +++ b/fonts/roboto-v29-latin-700italic.svg @@ -0,0 +1,325 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-700italic.ttf b/fonts/roboto-v29-latin-700italic.ttf new file mode 100644 index 0000000..567ca6c Binary files /dev/null and b/fonts/roboto-v29-latin-700italic.ttf differ diff --git a/fonts/roboto-v29-latin-700italic.woff b/fonts/roboto-v29-latin-700italic.woff new file mode 100644 index 0000000..a449c44 Binary files /dev/null and b/fonts/roboto-v29-latin-700italic.woff differ diff --git a/fonts/roboto-v29-latin-700italic.woff2 b/fonts/roboto-v29-latin-700italic.woff2 new file mode 100644 index 0000000..2554ab8 Binary files /dev/null and b/fonts/roboto-v29-latin-700italic.woff2 differ diff --git a/fonts/roboto-v29-latin-900.eot b/fonts/roboto-v29-latin-900.eot new file mode 100644 index 0000000..da9a215 Binary files /dev/null and b/fonts/roboto-v29-latin-900.eot differ diff --git a/fonts/roboto-v29-latin-900.svg b/fonts/roboto-v29-latin-900.svg new file mode 100644 index 0000000..9efdf4e --- /dev/null +++ b/fonts/roboto-v29-latin-900.svg @@ -0,0 +1,302 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-900.ttf b/fonts/roboto-v29-latin-900.ttf new file mode 100644 index 0000000..e762f3f Binary files /dev/null and b/fonts/roboto-v29-latin-900.ttf differ diff --git a/fonts/roboto-v29-latin-900.woff b/fonts/roboto-v29-latin-900.woff new file mode 100644 index 0000000..c3933ba Binary files /dev/null and b/fonts/roboto-v29-latin-900.woff differ diff --git a/fonts/roboto-v29-latin-900.woff2 b/fonts/roboto-v29-latin-900.woff2 new file mode 100644 index 0000000..06437ae Binary files /dev/null and b/fonts/roboto-v29-latin-900.woff2 differ diff --git a/fonts/roboto-v29-latin-900italic.eot b/fonts/roboto-v29-latin-900italic.eot new file mode 100644 index 0000000..d5d3576 Binary files /dev/null and b/fonts/roboto-v29-latin-900italic.eot differ diff --git a/fonts/roboto-v29-latin-900italic.svg b/fonts/roboto-v29-latin-900italic.svg new file mode 100644 index 0000000..f8f5ab3 --- /dev/null +++ b/fonts/roboto-v29-latin-900italic.svg @@ -0,0 +1,324 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-900italic.ttf b/fonts/roboto-v29-latin-900italic.ttf new file mode 100644 index 0000000..fd994fd Binary files /dev/null and b/fonts/roboto-v29-latin-900italic.ttf differ diff --git a/fonts/roboto-v29-latin-900italic.woff b/fonts/roboto-v29-latin-900italic.woff new file mode 100644 index 0000000..40c71e9 Binary files /dev/null and b/fonts/roboto-v29-latin-900italic.woff differ diff --git a/fonts/roboto-v29-latin-900italic.woff2 b/fonts/roboto-v29-latin-900italic.woff2 new file mode 100644 index 0000000..57776a1 Binary files /dev/null and b/fonts/roboto-v29-latin-900italic.woff2 differ diff --git a/fonts/roboto-v29-latin-italic.eot b/fonts/roboto-v29-latin-italic.eot new file mode 100644 index 0000000..d1a5344 Binary files /dev/null and b/fonts/roboto-v29-latin-italic.eot differ diff --git a/fonts/roboto-v29-latin-italic.svg b/fonts/roboto-v29-latin-italic.svg new file mode 100644 index 0000000..4d59797 --- /dev/null +++ b/fonts/roboto-v29-latin-italic.svg @@ -0,0 +1,323 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-italic.ttf b/fonts/roboto-v29-latin-italic.ttf new file mode 100644 index 0000000..8b35810 Binary files /dev/null and b/fonts/roboto-v29-latin-italic.ttf differ diff --git a/fonts/roboto-v29-latin-italic.woff b/fonts/roboto-v29-latin-italic.woff new file mode 100644 index 0000000..c8bc602 Binary files /dev/null and b/fonts/roboto-v29-latin-italic.woff differ diff --git a/fonts/roboto-v29-latin-italic.woff2 b/fonts/roboto-v29-latin-italic.woff2 new file mode 100644 index 0000000..05508b0 Binary files /dev/null and b/fonts/roboto-v29-latin-italic.woff2 differ diff --git a/fonts/roboto-v29-latin-regular.eot b/fonts/roboto-v29-latin-regular.eot new file mode 100644 index 0000000..6dd5e3a Binary files /dev/null and b/fonts/roboto-v29-latin-regular.eot differ diff --git a/fonts/roboto-v29-latin-regular.svg b/fonts/roboto-v29-latin-regular.svg new file mode 100644 index 0000000..627f5a3 --- /dev/null +++ b/fonts/roboto-v29-latin-regular.svg @@ -0,0 +1,308 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin-regular.ttf b/fonts/roboto-v29-latin-regular.ttf new file mode 100644 index 0000000..637971a Binary files /dev/null and b/fonts/roboto-v29-latin-regular.ttf differ diff --git a/fonts/roboto-v29-latin-regular.woff b/fonts/roboto-v29-latin-regular.woff new file mode 100644 index 0000000..86b3863 Binary files /dev/null and b/fonts/roboto-v29-latin-regular.woff differ diff --git a/fonts/roboto-v29-latin-regular.woff2 b/fonts/roboto-v29-latin-regular.woff2 new file mode 100644 index 0000000..ebe1795 Binary files /dev/null and b/fonts/roboto-v29-latin-regular.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-100.eot b/fonts/roboto-v29-latin_cyrillic-100.eot new file mode 100644 index 0000000..896598f Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-100.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-100.svg b/fonts/roboto-v29-latin_cyrillic-100.svg new file mode 100644 index 0000000..e8c8fc8 --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-100.svg @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-100.ttf b/fonts/roboto-v29-latin_cyrillic-100.ttf new file mode 100644 index 0000000..12b3a40 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-100.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-100.woff b/fonts/roboto-v29-latin_cyrillic-100.woff new file mode 100644 index 0000000..5824ed8 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-100.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-100.woff2 b/fonts/roboto-v29-latin_cyrillic-100.woff2 new file mode 100644 index 0000000..b4520b6 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-100.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-100italic.eot b/fonts/roboto-v29-latin_cyrillic-100italic.eot new file mode 100644 index 0000000..60cbce4 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-100italic.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-100italic.svg b/fonts/roboto-v29-latin_cyrillic-100italic.svg new file mode 100644 index 0000000..c51ce87 --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-100italic.svg @@ -0,0 +1,332 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-100italic.ttf b/fonts/roboto-v29-latin_cyrillic-100italic.ttf new file mode 100644 index 0000000..5f33b1a Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-100italic.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-100italic.woff b/fonts/roboto-v29-latin_cyrillic-100italic.woff new file mode 100644 index 0000000..3735a02 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-100italic.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-100italic.woff2 b/fonts/roboto-v29-latin_cyrillic-100italic.woff2 new file mode 100644 index 0000000..293febc Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-100italic.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-300.eot b/fonts/roboto-v29-latin_cyrillic-300.eot new file mode 100644 index 0000000..7486e4f Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-300.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-300.svg b/fonts/roboto-v29-latin_cyrillic-300.svg new file mode 100644 index 0000000..4ded944 --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-300.svg @@ -0,0 +1,312 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-300.ttf b/fonts/roboto-v29-latin_cyrillic-300.ttf new file mode 100644 index 0000000..3cbd203 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-300.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-300.woff b/fonts/roboto-v29-latin_cyrillic-300.woff new file mode 100644 index 0000000..4d0ebd6 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-300.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-300.woff2 b/fonts/roboto-v29-latin_cyrillic-300.woff2 new file mode 100644 index 0000000..4d51c8e Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-300.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-300italic.eot b/fonts/roboto-v29-latin_cyrillic-300italic.eot new file mode 100644 index 0000000..00f174d Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-300italic.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-300italic.svg b/fonts/roboto-v29-latin_cyrillic-300italic.svg new file mode 100644 index 0000000..758402b --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-300italic.svg @@ -0,0 +1,329 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-300italic.ttf b/fonts/roboto-v29-latin_cyrillic-300italic.ttf new file mode 100644 index 0000000..a03be1c Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-300italic.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-300italic.woff b/fonts/roboto-v29-latin_cyrillic-300italic.woff new file mode 100644 index 0000000..025803c Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-300italic.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-300italic.woff2 b/fonts/roboto-v29-latin_cyrillic-300italic.woff2 new file mode 100644 index 0000000..aa73785 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-300italic.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-500.eot b/fonts/roboto-v29-latin_cyrillic-500.eot new file mode 100644 index 0000000..f42cc63 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-500.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-500.svg b/fonts/roboto-v29-latin_cyrillic-500.svg new file mode 100644 index 0000000..67eecf4 --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-500.svg @@ -0,0 +1,305 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-500.ttf b/fonts/roboto-v29-latin_cyrillic-500.ttf new file mode 100644 index 0000000..a2b79ec Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-500.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-500.woff b/fonts/roboto-v29-latin_cyrillic-500.woff new file mode 100644 index 0000000..cb8ce53 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-500.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-500.woff2 b/fonts/roboto-v29-latin_cyrillic-500.woff2 new file mode 100644 index 0000000..a2b6946 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-500.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-500italic.eot b/fonts/roboto-v29-latin_cyrillic-500italic.eot new file mode 100644 index 0000000..8213af1 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-500italic.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-500italic.svg b/fonts/roboto-v29-latin_cyrillic-500italic.svg new file mode 100644 index 0000000..bed50dc --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-500italic.svg @@ -0,0 +1,326 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-500italic.ttf b/fonts/roboto-v29-latin_cyrillic-500italic.ttf new file mode 100644 index 0000000..1be1efc Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-500italic.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-500italic.woff b/fonts/roboto-v29-latin_cyrillic-500italic.woff new file mode 100644 index 0000000..c08485c Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-500italic.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-500italic.woff2 b/fonts/roboto-v29-latin_cyrillic-500italic.woff2 new file mode 100644 index 0000000..2fccb5c Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-500italic.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-700.eot b/fonts/roboto-v29-latin_cyrillic-700.eot new file mode 100644 index 0000000..88e17b9 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-700.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-700.svg b/fonts/roboto-v29-latin_cyrillic-700.svg new file mode 100644 index 0000000..11db87d --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-700.svg @@ -0,0 +1,309 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-700.ttf b/fonts/roboto-v29-latin_cyrillic-700.ttf new file mode 100644 index 0000000..6ccf941 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-700.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-700.woff b/fonts/roboto-v29-latin_cyrillic-700.woff new file mode 100644 index 0000000..6208290 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-700.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-700.woff2 b/fonts/roboto-v29-latin_cyrillic-700.woff2 new file mode 100644 index 0000000..ce41abc Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-700.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-700italic.eot b/fonts/roboto-v29-latin_cyrillic-700italic.eot new file mode 100644 index 0000000..9b9038d Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-700italic.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-700italic.svg b/fonts/roboto-v29-latin_cyrillic-700italic.svg new file mode 100644 index 0000000..050bee0 --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-700italic.svg @@ -0,0 +1,325 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-700italic.ttf b/fonts/roboto-v29-latin_cyrillic-700italic.ttf new file mode 100644 index 0000000..cd17f30 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-700italic.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-700italic.woff b/fonts/roboto-v29-latin_cyrillic-700italic.woff new file mode 100644 index 0000000..b9317e4 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-700italic.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-700italic.woff2 b/fonts/roboto-v29-latin_cyrillic-700italic.woff2 new file mode 100644 index 0000000..afcbce9 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-700italic.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-900.eot b/fonts/roboto-v29-latin_cyrillic-900.eot new file mode 100644 index 0000000..aa5df69 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-900.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-900.svg b/fonts/roboto-v29-latin_cyrillic-900.svg new file mode 100644 index 0000000..9efdf4e --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-900.svg @@ -0,0 +1,302 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-900.ttf b/fonts/roboto-v29-latin_cyrillic-900.ttf new file mode 100644 index 0000000..a92ea3e Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-900.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-900.woff b/fonts/roboto-v29-latin_cyrillic-900.woff new file mode 100644 index 0000000..6679779 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-900.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-900.woff2 b/fonts/roboto-v29-latin_cyrillic-900.woff2 new file mode 100644 index 0000000..b9235f9 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-900.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-900italic.eot b/fonts/roboto-v29-latin_cyrillic-900italic.eot new file mode 100644 index 0000000..34ca706 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-900italic.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-900italic.svg b/fonts/roboto-v29-latin_cyrillic-900italic.svg new file mode 100644 index 0000000..f8f5ab3 --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-900italic.svg @@ -0,0 +1,324 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-900italic.ttf b/fonts/roboto-v29-latin_cyrillic-900italic.ttf new file mode 100644 index 0000000..92ab6ab Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-900italic.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-900italic.woff b/fonts/roboto-v29-latin_cyrillic-900italic.woff new file mode 100644 index 0000000..9719100 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-900italic.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-900italic.woff2 b/fonts/roboto-v29-latin_cyrillic-900italic.woff2 new file mode 100644 index 0000000..80777b0 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-900italic.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-italic.eot b/fonts/roboto-v29-latin_cyrillic-italic.eot new file mode 100644 index 0000000..1053c5e Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-italic.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-italic.svg b/fonts/roboto-v29-latin_cyrillic-italic.svg new file mode 100644 index 0000000..4d59797 --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-italic.svg @@ -0,0 +1,323 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-italic.ttf b/fonts/roboto-v29-latin_cyrillic-italic.ttf new file mode 100644 index 0000000..eb5d71e Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-italic.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-italic.woff b/fonts/roboto-v29-latin_cyrillic-italic.woff new file mode 100644 index 0000000..b2217d5 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-italic.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-italic.woff2 b/fonts/roboto-v29-latin_cyrillic-italic.woff2 new file mode 100644 index 0000000..6065cf6 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-italic.woff2 differ diff --git a/fonts/roboto-v29-latin_cyrillic-regular.eot b/fonts/roboto-v29-latin_cyrillic-regular.eot new file mode 100644 index 0000000..8b7e034 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-regular.eot differ diff --git a/fonts/roboto-v29-latin_cyrillic-regular.svg b/fonts/roboto-v29-latin_cyrillic-regular.svg new file mode 100644 index 0000000..627f5a3 --- /dev/null +++ b/fonts/roboto-v29-latin_cyrillic-regular.svg @@ -0,0 +1,308 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/roboto-v29-latin_cyrillic-regular.ttf b/fonts/roboto-v29-latin_cyrillic-regular.ttf new file mode 100644 index 0000000..5b3dbb3 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-regular.ttf differ diff --git a/fonts/roboto-v29-latin_cyrillic-regular.woff b/fonts/roboto-v29-latin_cyrillic-regular.woff new file mode 100644 index 0000000..43b5893 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-regular.woff differ diff --git a/fonts/roboto-v29-latin_cyrillic-regular.woff2 b/fonts/roboto-v29-latin_cyrillic-regular.woff2 new file mode 100644 index 0000000..eb547c4 Binary files /dev/null and b/fonts/roboto-v29-latin_cyrillic-regular.woff2 differ diff --git a/icons/car.svg b/icons/car.svg new file mode 100644 index 0000000..5d58c15 --- /dev/null +++ b/icons/car.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/icons/heart.svg b/icons/heart.svg new file mode 100644 index 0000000..6c76de0 --- /dev/null +++ b/icons/heart.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/icons/horse.svg b/icons/horse.svg new file mode 100644 index 0000000..017f2f1 --- /dev/null +++ b/icons/horse.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/icons/profit.svg b/icons/profit.svg new file mode 100644 index 0000000..d18b333 --- /dev/null +++ b/icons/profit.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..43ce9c2 --- /dev/null +++ b/index.html @@ -0,0 +1,23 @@ + + + + + + + + + + + + Eva + + + + +
+ + + diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..a2bcb66 --- /dev/null +++ b/manifest.json @@ -0,0 +1,9 @@ +{ + "short_name": "Eva", + "name": "Eva", + "icons": [], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: