(this["webpackJsonpocpp-cs"]=this["webpackJsonpocpp-cs"]||[]).push([[4],{783:function(e,t,a){"use strict";var n=a(3),c=a(0),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},o=a(13),i=function(e,t){return c.createElement(o.a,Object(n.a)(Object(n.a)({},e),{},{ref:t,icon:r}))};i.displayName="PlusOutlined";t.a=c.forwardRef(i)},793:function(e,t,a){"use strict";var n=a(6),c=a(5),r=a(127),o=a(308),i=a(783),l=a(8),s=a.n(l),u=a(3),b=a(7),d=a(14),f=a(18),v=a(0),m=a(307),p=a(75),O=a(57),j=Object(v.createContext)(null);var h=v.forwardRef((function(e,t){var a=e.prefixCls,n=e.className,c=e.style,r=e.id,o=e.active,i=e.tabKey,l=e.children;return v.createElement("div",{id:r&&"".concat(r,"-panel-").concat(i),role:"tabpanel",tabIndex:o?0:-1,"aria-labelledby":r&&"".concat(r,"-tab-").concat(i),"aria-hidden":!o,style:c,className:s()(a,o&&"".concat(a,"-active"),n),ref:t},l)})),y=["key","forceRender","style","className"];function g(e){var t=e.id,a=e.activeKey,r=e.animated,o=e.tabPosition,i=e.destroyInactiveTabPane,l=v.useContext(j),b=l.prefixCls,d=l.tabs,m=r.tabPane,p="".concat(b,"-tabpane");return v.createElement("div",{className:s()("".concat(b,"-content-holder"))},v.createElement("div",{className:s()("".concat(b,"-content"),"".concat(b,"-content-").concat(o),Object(n.a)({},"".concat(b,"-content-animated"),m))},d.map((function(e){var n=e.key,o=e.forceRender,l=e.style,b=e.className,d=Object(f.a)(e,y),j=n===a;return v.createElement(O.b,Object(c.a)({key:n,visible:j,forceRender:o,removeOnLeave:!!i,leavedClassName:"".concat(p,"-hidden")},r.tabPaneMotion),(function(e,a){var r=e.style,o=e.className;return v.createElement(h,Object(c.a)({},d,{prefixCls:p,id:t,tabKey:n,animated:m,active:j,style:Object(u.a)(Object(u.a)({},l),r),className:s()(b,o),ref:a}))}))}))))}var E=a(12),x=a(128),C=a(145),N=a(45),w=a(43),k={width:0,height:0,left:0,top:0};function P(e,t){var a=v.useRef(e),n=v.useState({}),c=Object(b.a)(n,2)[1];return[a.current,function(e){var n="function"===typeof e?e(a.current):e;n!==a.current&&t(n,a.current),a.current=n,c({})}]}var S=.1,T=.01,I=20,M=Math.pow(.995,I);var R=a(59);function B(e){var t=Object(v.useState)(0),a=Object(b.a)(t,2),n=a[0],c=a[1],r=Object(v.useRef)(0),o=Object(v.useRef)();return o.current=e,Object(R.b)((function(){var e;null===(e=o.current)||void 0===e||e.call(o)}),[n]),function(){r.current===n&&(r.current+=1,c(r.current))}}var z={width:0,height:0,left:0,top:0,right:0};function A(e){var t;return e instanceof Map?(t={},e.forEach((function(e,a){t[a]=e}))):t=e,JSON.stringify(t)}var L="TABS_DQ";function q(e){return String(e).replace(/"/g,L)}function K(e,t){var a=e.prefixCls,n=e.editable,c=e.locale,r=e.style;return n&&!1!==n.showAdd?v.createElement("button",{ref:t,type:"button",className:"".concat(a,"-nav-add"),style:r,"aria-label":(null===c||void 0===c?void 0:c.addAriaLabel)||"Add tab",onClick:function(e){n.onEdit("add",{event:e})}},n.addIcon||"+"):null}var D=v.forwardRef(K);var V=v.forwardRef((function(e,t){var a,n=e.position,c=e.prefixCls,r=e.extra;if(!r)return null;var o={};return"object"!==Object(d.a)(r)||v.isValidElement(r)?o.right=r:o=r,"right"===n&&(a=o.right),"left"===n&&(a=o.left),a?v.createElement("div",{className:"".concat(c,"-extra-content"),ref:t},a):null})),W=a(794),G=a(98),H=a(66);function _(e,t){var a=e.prefixCls,c=e.id,r=e.tabs,o=e.locale,i=e.mobile,l=e.moreIcon,u=void 0===l?"More":l,d=e.moreTransitionName,f=e.style,m=e.className,p=e.editable,O=e.tabBarGutter,j=e.rtl,h=e.removeAriaLabel,y=e.onTabClick,g=e.getPopupContainer,E=e.popupClassName,x=Object(v.useState)(!1),C=Object(b.a)(x,2),N=C[0],w=C[1],k=Object(v.useState)(null),P=Object(b.a)(k,2),S=P[0],T=P[1],I="".concat(c,"-more-popup"),M="".concat(a,"-dropdown"),R=null!==S?"".concat(I,"-").concat(S):null,B=null===o||void 0===o?void 0:o.dropdownAriaLabel;var z=v.createElement(G.g,{onClick:function(e){var t=e.key,a=e.domEvent;y(t,a),w(!1)},prefixCls:"".concat(M,"-menu"),id:I,tabIndex:-1,role:"listbox","aria-activedescendant":R,selectedKeys:[S],"aria-label":void 0!==B?B:"expanded dropdown"},r.map((function(e){var t=p&&!1!==e.closable&&!e.disabled;return v.createElement(G.d,{key:e.key,id:"".concat(I,"-").concat(e.key),role:"option","aria-controls":c&&"".concat(c,"-panel-").concat(e.key),disabled:e.disabled},v.createElement("span",null,e.label),t&&v.createElement("button",{type:"button","aria-label":h||"remove",tabIndex:0,className:"".concat(M,"-menu-item-remove"),onClick:function(t){var a,n;t.stopPropagation(),a=t,n=e.key,a.preventDefault(),a.stopPropagation(),p.onEdit("remove",{key:n,event:a})}},e.closeIcon||p.removeIcon||"\xd7"))})));function A(e){for(var t=r.filter((function(e){return!e.disabled})),a=t.findIndex((function(e){return e.key===S}))||0,n=t.length,c=0;c<n;c+=1){var o=t[a=(a+e+n)%n];if(!o.disabled)return void T(o.key)}}Object(v.useEffect)((function(){var e=document.getElementById(R);e&&e.scrollIntoView&&e.scrollIntoView(!1)}),[S]),Object(v.useEffect)((function(){N||T(null)}),[N]);var L=Object(n.a)({},j?"marginRight":"marginLeft",O);r.length||(L.visibility="hidden",L.order=1);var q=s()(Object(n.a)({},"".concat(M,"-rtl"),j)),K=i?null:v.createElement(W.a,{prefixCls:M,overlay:z,trigger:["hover"],visible:!!r.length&&N,transitionName:d,onVisibleChange:w,overlayClassName:s()(q,E),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:g},v.createElement("button",{type:"button",className:"".concat(a,"-nav-more"),style:L,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":I,id:"".concat(c,"-more"),"aria-expanded":N,onKeyDown:function(e){var t=e.which;if(N)switch(t){case H.a.UP:A(-1),e.preventDefault();break;case H.a.DOWN:A(1),e.preventDefault();break;case H.a.ESC:w(!1);break;case H.a.SPACE:case H.a.ENTER:null!==S&&y(S,e)}else[H.a.DOWN,H.a.SPACE,H.a.ENTER].includes(t)&&(w(!0),e.preventDefault())}},u));return v.createElement("div",{className:s()("".concat(a,"-nav-operations"),m),style:f,ref:t},K,v.createElement(D,{prefixCls:a,locale:o,editable:p}))}var F=v.memo(v.forwardRef(_),(function(e,t){return t.tabMoving}));var J=function(e){var t,a=e.prefixCls,c=e.id,r=e.active,o=e.tab,i=o.key,l=o.label,u=o.disabled,b=o.closeIcon,d=e.closable,f=e.renderWrapper,m=e.removeAriaLabel,p=e.editable,O=e.onClick,j=e.onFocus,h=e.style,y="".concat(a,"-tab"),g=p&&!1!==d&&!u;function E(e){u||O(e)}var x=v.createElement("div",{key:i,"data-node-key":q(i),className:s()(y,(t={},Object(n.a)(t,"".concat(y,"-with-remove"),g),Object(n.a)(t,"".concat(y,"-active"),r),Object(n.a)(t,"".concat(y,"-disabled"),u),t)),style:h,onClick:E},v.createElement("div",{role:"tab","aria-selected":r,id:c&&"".concat(c,"-tab-").concat(i),className:"".concat(y,"-btn"),"aria-controls":c&&"".concat(c,"-panel-").concat(i),"aria-disabled":u,tabIndex:u?null:0,onClick:function(e){e.stopPropagation(),E(e)},onKeyDown:function(e){[H.a.SPACE,H.a.ENTER].includes(e.which)&&(e.preventDefault(),E(e))},onFocus:j},l),g&&v.createElement("button",{type:"button","aria-label":m||"remove",tabIndex:0,className:"".concat(y,"-remove"),onClick:function(e){var t;e.stopPropagation(),(t=e).preventDefault(),t.stopPropagation(),p.onEdit("remove",{key:i,event:t})}},b||p.removeIcon||"\xd7"));return f?f(x):x},X=function(e){var t=e.current||{},a=t.offsetWidth,n=void 0===a?0:a,c=t.offsetHeight;return[n,void 0===c?0:c]},Y=function(e,t){return e[t?0:1]};function Q(e,t){var a,r=v.useContext(j),o=r.prefixCls,i=r.tabs,l=e.className,d=e.style,f=e.id,m=e.animated,p=e.activeKey,O=e.rtl,h=e.extra,y=e.editable,g=e.locale,R=e.tabPosition,L=e.tabBarGutter,K=e.children,W=e.onTabClick,G=e.onTabScroll,H=Object(v.useRef)(),_=Object(v.useRef)(),Q=Object(v.useRef)(),U=Object(v.useRef)(),Z=Object(v.useRef)(),$=Object(v.useRef)(),ee=Object(v.useRef)(),te="top"===R||"bottom"===R,ae=P(0,(function(e,t){te&&G&&G({direction:e>t?"left":"right"})})),ne=Object(b.a)(ae,2),ce=ne[0],re=ne[1],oe=P(0,(function(e,t){!te&&G&&G({direction:e>t?"top":"bottom"})})),ie=Object(b.a)(oe,2),le=ie[0],se=ie[1],ue=Object(v.useState)([0,0]),be=Object(b.a)(ue,2),de=be[0],fe=be[1],ve=Object(v.useState)([0,0]),me=Object(b.a)(ve,2),pe=me[0],Oe=me[1],je=Object(v.useState)([0,0]),he=Object(b.a)(je,2),ye=he[0],ge=he[1],Ee=Object(v.useState)([0,0]),xe=Object(b.a)(Ee,2),Ce=xe[0],Ne=xe[1],we=function(e){var t=Object(v.useRef)([]),a=Object(v.useState)({}),n=Object(b.a)(a,2)[1],c=Object(v.useRef)("function"===typeof e?e():e),r=B((function(){var e=c.current;t.current.forEach((function(t){e=t(e)})),t.current=[],c.current=e,n({})}));return[c.current,function(e){t.current.push(e),r()}]}(new Map),ke=Object(b.a)(we,2),Pe=ke[0],Se=ke[1],Te=function(e,t,a){return Object(v.useMemo)((function(){for(var a,n=new Map,c=t.get(null===(a=e[0])||void 0===a?void 0:a.key)||k,r=c.left+c.width,o=0;o<e.length;o+=1){var i,l=e[o].key,s=t.get(l);s||(s=t.get(null===(i=e[o-1])||void 0===i?void 0:i.key)||k);var b=n.get(l)||Object(u.a)({},s);b.right=r-b.left-b.width,n.set(l,b)}return n}),[e.map((function(e){return e.key})).join("_"),t,a])}(i,Pe,pe[0]),Ie=Y(de,te),Me=Y(pe,te),Re=Y(ye,te),Be=Y(Ce,te),ze=Ie<Me+Re,Ae=ze?Ie-Be:Ie-Re,Le="".concat(o,"-nav-operations-hidden"),qe=0,Ke=0;function De(e){return e<qe?qe:e>Ke?Ke:e}te&&O?(qe=0,Ke=Math.max(0,Me-Ae)):(qe=Math.min(0,Ae-Me),Ke=0);var Ve=Object(v.useRef)(),We=Object(v.useState)(),Ge=Object(b.a)(We,2),He=Ge[0],_e=Ge[1];function Fe(){_e(Date.now())}function Je(){window.clearTimeout(Ve.current)}!function(e,t){var a=Object(v.useState)(),n=Object(b.a)(a,2),c=n[0],r=n[1],o=Object(v.useState)(0),i=Object(b.a)(o,2),l=i[0],s=i[1],u=Object(v.useState)(0),d=Object(b.a)(u,2),f=d[0],m=d[1],p=Object(v.useState)(),O=Object(b.a)(p,2),j=O[0],h=O[1],y=Object(v.useRef)(),g=Object(v.useRef)(),E=Object(v.useRef)(null);E.current={onTouchStart:function(e){var t=e.touches[0],a=t.screenX,n=t.screenY;r({x:a,y:n}),window.clearInterval(y.current)},onTouchMove:function(e){if(c){e.preventDefault();var a=e.touches[0],n=a.screenX,o=a.screenY;r({x:n,y:o});var i=n-c.x,u=o-c.y;t(i,u);var b=Date.now();s(b),m(b-l),h({x:i,y:u})}},onTouchEnd:function(){if(c&&(r(null),h(null),j)){var e=j.x/f,a=j.y/f,n=Math.abs(e),o=Math.abs(a);if(Math.max(n,o)<S)return;var i=e,l=a;y.current=window.setInterval((function(){Math.abs(i)<T&&Math.abs(l)<T?window.clearInterval(y.current):t((i*=M)*I,(l*=M)*I)}),I)}},onWheel:function(e){var a=e.deltaX,n=e.deltaY,c=0,r=Math.abs(a),o=Math.abs(n);r===o?c="x"===g.current?a:n:r>o?(c=a,g.current="x"):(c=n,g.current="y"),t(-c,-c)&&e.preventDefault()}},v.useEffect((function(){function t(e){E.current.onTouchMove(e)}function a(e){E.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",a,{passive:!1}),e.current.addEventListener("touchstart",(function(e){E.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){E.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",a)}}),[])}(U,(function(e,t){function a(e,t){e((function(e){return De(e+t)}))}return!!ze&&(te?a(re,e):a(se,t),Je(),Fe(),!0)})),Object(v.useEffect)((function(){return Je(),He&&(Ve.current=window.setTimeout((function(){_e(0)}),100)),Je}),[He]);var Xe=function(e,t,a,n,c,r,o){var i,l,s,u=o.tabs,b=o.tabPosition,d=o.rtl;return["top","bottom"].includes(b)?(i="width",l=d?"right":"left",s=Math.abs(a)):(i="height",l="top",s=-a),Object(v.useMemo)((function(){if(!u.length)return[0,0];for(var a=u.length,n=a,c=0;c<a;c+=1){var r=e.get(u[c].key)||z;if(r[l]+r[i]>s+t){n=c-1;break}}for(var o=0,b=a-1;b>=0;b-=1)if((e.get(u[b].key)||z)[l]<s){o=b+1;break}return[o,n]}),[e,t,n,c,r,s,b,u.map((function(e){return e.key})).join("_"),d])}(Te,Ae,te?ce:le,Me,Re,Be,Object(u.a)(Object(u.a)({},e),{},{tabs:i})),Ye=Object(b.a)(Xe,2),Qe=Ye[0],Ue=Ye[1],Ze=Object(C.a)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=Te.get(e)||{width:0,height:0,left:0,right:0,top:0};if(te){var a=ce;O?t.right<ce?a=t.right:t.right+t.width>ce+Ae&&(a=t.right+t.width-Ae):t.left<-ce?a=-t.left:t.left+t.width>-ce+Ae&&(a=-(t.left+t.width-Ae)),se(0),re(De(a))}else{var n=le;t.top<-le?n=-t.top:t.top+t.height>-le+Ae&&(n=-(t.top+t.height-Ae)),re(0),se(De(n))}})),$e={};"top"===R||"bottom"===R?$e[O?"marginRight":"marginLeft"]=L:$e.marginTop=L;var et=i.map((function(e,t){var a=e.key;return v.createElement(J,{id:f,prefixCls:o,key:a,tab:e,style:0===t?void 0:$e,closable:e.closable,editable:y,active:a===p,renderWrapper:K,removeAriaLabel:null===g||void 0===g?void 0:g.removeAriaLabel,onClick:function(e){W(a,e)},onFocus:function(){Ze(a),Fe(),U.current&&(O||(U.current.scrollLeft=0),U.current.scrollTop=0)}})})),tt=function(){return Se((function(){var e=new Map;return i.forEach((function(t){var a,n=t.key,c=null===(a=Z.current)||void 0===a?void 0:a.querySelector('[data-node-key="'.concat(q(n),'"]'));c&&e.set(n,{width:c.offsetWidth,height:c.offsetHeight,left:c.offsetLeft,top:c.offsetTop})})),e}))};Object(v.useEffect)((function(){tt()}),[i.map((function(e){return e.key})).join("_")]);var at=B((function(){var e=X(H),t=X(_),a=X(Q);fe([e[0]-t[0]-a[0],e[1]-t[1]-a[1]]);var n=X(ee);ge(n);var c=X($);Ne(c);var r=X(Z);Oe([r[0]-n[0],r[1]-n[1]]),tt()})),nt=i.slice(0,Qe),ct=i.slice(Ue+1),rt=[].concat(Object(E.a)(nt),Object(E.a)(ct)),ot=Object(v.useState)(),it=Object(b.a)(ot,2),lt=it[0],st=it[1],ut=Te.get(p),bt=Object(v.useRef)();function dt(){N.a.cancel(bt.current)}Object(v.useEffect)((function(){var e={};return ut&&(te?(O?e.right=ut.right:e.left=ut.left,e.width=ut.width):(e.top=ut.top,e.height=ut.height)),dt(),bt.current=Object(N.a)((function(){st(e)})),dt}),[ut,te,O]),Object(v.useEffect)((function(){Ze()}),[p,qe,Ke,A(ut),A(Te),te]),Object(v.useEffect)((function(){at()}),[O]);var ft,vt,mt,pt,Ot=!!rt.length,jt="".concat(o,"-nav-wrap");return te?O?(vt=ce>0,ft=ce!==Ke):(ft=ce<0,vt=ce!==qe):(mt=le<0,pt=le!==qe),v.createElement(x.a,{onResize:at},v.createElement("div",{ref:Object(w.d)(t,H),role:"tablist",className:s()("".concat(o,"-nav"),l),style:d,onKeyDown:function(){Fe()}},v.createElement(V,{ref:_,position:"left",extra:h,prefixCls:o}),v.createElement("div",{className:s()(jt,(a={},Object(n.a)(a,"".concat(jt,"-ping-left"),ft),Object(n.a)(a,"".concat(jt,"-ping-right"),vt),Object(n.a)(a,"".concat(jt,"-ping-top"),mt),Object(n.a)(a,"".concat(jt,"-ping-bottom"),pt),a)),ref:U},v.createElement(x.a,{onResize:at},v.createElement("div",{ref:Z,className:"".concat(o,"-nav-list"),style:{transform:"translate(".concat(ce,"px, ").concat(le,"px)"),transition:He?"none":void 0}},et,v.createElement(D,{ref:ee,prefixCls:o,locale:g,editable:y,style:Object(u.a)(Object(u.a)({},0===et.length?void 0:$e),{},{visibility:Ot?"hidden":null})}),v.createElement("div",{className:s()("".concat(o,"-ink-bar"),Object(n.a)({},"".concat(o,"-ink-bar-animated"),m.inkBar)),style:lt})))),v.createElement(F,Object(c.a)({},e,{removeAriaLabel:null===g||void 0===g?void 0:g.removeAriaLabel,ref:$,prefixCls:o,tabs:rt,className:!Ot&&Le,tabMoving:!!He})),v.createElement(V,{ref:Q,position:"right",extra:h,prefixCls:o})))}var U=v.forwardRef(Q),Z=["renderTabBar"],$=["label","key"];function ee(e){var t=e.renderTabBar,a=Object(f.a)(e,Z),n=v.useContext(j).tabs;return t?t(Object(u.a)(Object(u.a)({},a),{},{panes:n.map((function(e){var t=e.label,a=e.key,n=Object(f.a)(e,$);return v.createElement(h,Object(c.a)({tab:t,key:a,tabKey:a},n))}))}),U):v.createElement(U,a)}a(42);var te=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],ae=0;function ne(e,t){var a,r=e.id,o=e.prefixCls,i=void 0===o?"rc-tabs":o,l=e.className,O=e.items,h=e.direction,y=e.activeKey,E=e.defaultActiveKey,x=e.editable,C=e.animated,N=e.tabPosition,w=void 0===N?"top":N,k=e.tabBarGutter,P=e.tabBarStyle,S=e.tabBarExtraContent,T=e.locale,I=e.moreIcon,M=e.moreTransitionName,R=e.destroyInactiveTabPane,B=e.renderTabBar,z=e.onChange,A=e.onTabClick,L=e.onTabScroll,q=e.getPopupContainer,K=e.popupClassName,D=Object(f.a)(e,te),V=v.useMemo((function(){return(O||[]).filter((function(e){return e&&"object"===Object(d.a)(e)&&"key"in e}))}),[O]),W="rtl"===h,G=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:Object(u.a)({inkBar:!0},"object"===Object(d.a)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(C),H=Object(v.useState)(!1),_=Object(b.a)(H,2),F=_[0],J=_[1];Object(v.useEffect)((function(){J(Object(m.a)())}),[]);var X=Object(p.a)((function(){var e;return null===(e=V[0])||void 0===e?void 0:e.key}),{value:y,defaultValue:E}),Y=Object(b.a)(X,2),Q=Y[0],U=Y[1],Z=Object(v.useState)((function(){return V.findIndex((function(e){return e.key===Q}))})),$=Object(b.a)(Z,2),ne=$[0],ce=$[1];Object(v.useEffect)((function(){var e,t=V.findIndex((function(e){return e.key===Q}));-1===t&&(t=Math.max(0,Math.min(ne,V.length-1)),U(null===(e=V[t])||void 0===e?void 0:e.key));ce(t)}),[V.map((function(e){return e.key})).join("_"),Q,ne]);var re=Object(p.a)(null,{value:r}),oe=Object(b.a)(re,2),ie=oe[0],le=oe[1];Object(v.useEffect)((function(){r||(le("rc-tabs-".concat(ae)),ae+=1)}),[]);var se={id:ie,activeKey:Q,animated:G,tabPosition:w,rtl:W,mobile:F},ue=Object(u.a)(Object(u.a)({},se),{},{editable:x,locale:T,moreIcon:I,moreTransitionName:M,tabBarGutter:k,onTabClick:function(e,t){null===A||void 0===A||A(e,t);var a=e!==Q;U(e),a&&(null===z||void 0===z||z(e))},onTabScroll:L,extra:S,style:P,panes:null,getPopupContainer:q,popupClassName:K});return v.createElement(j.Provider,{value:{tabs:V,prefixCls:i}},v.createElement("div",Object(c.a)({ref:t,id:r,className:s()(i,"".concat(i,"-").concat(w),(a={},Object(n.a)(a,"".concat(i,"-mobile"),F),Object(n.a)(a,"".concat(i,"-editable"),x),Object(n.a)(a,"".concat(i,"-rtl"),W),a),l)},D),undefined,v.createElement(ee,Object(c.a)({},ue,{renderTabBar:B})),v.createElement(g,Object(c.a)({destroyInactiveTabPane:R},se,{animated:G}))))}var ce=v.forwardRef(ne),re=a(101),oe=a(84),ie=a(67),le={motionAppear:!1,motionEnter:!0,motionLeave:!0};var se=a(95),ue=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(n=Object.getOwnPropertySymbols(e);c<n.length;c++)t.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(e,n[c])&&(a[n[c]]=e[n[c]])}return a};var be=function(){return null},de=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(n=Object.getOwnPropertySymbols(e);c<n.length;c++)t.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(e,n[c])&&(a[n[c]]=e[n[c]])}return a};function fe(e){var t,a=e.type,l=e.className,u=e.size,b=e.onEdit,f=e.hideAdd,m=e.centered,p=e.addIcon,O=e.children,j=e.items,h=e.animated,y=de(e,["type","className","size","onEdit","hideAdd","centered","addIcon","children","items","animated"]),g=y.prefixCls,E=y.moreIcon,x=void 0===E?v.createElement(o.a,null):E,C=v.useContext(re.b),N=C.getPrefixCls,w=C.direction,k=C.getPopupContainer,P=N("tabs",g);"editable-card"===a&&(t={onEdit:function(e,t){var a=t.key,n=t.event;null===b||void 0===b||b("add"===e?n:a,e)},removeIcon:v.createElement(r.a,null),addIcon:p||v.createElement(i.a,null),showAdd:!0!==f});var S=N(),T=function(e,t){return e||function(e){return e.filter((function(e){return e}))}(Object(se.a)(t).map((function(e){if(v.isValidElement(e)){var t=e.key,a=e.props||{},n=a.tab,r=ue(a,["tab"]);return Object(c.a)(Object(c.a)({key:String(t)},r),{label:n})}return null})))}(j,O),I=function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===a?{inkBar:!1,tabPane:!1}:!0===a?{inkBar:!0,tabPane:!0}:Object(c.a)({inkBar:!0},"object"===Object(d.a)(a)?a:{})).tabPane&&(t.tabPaneMotion=Object(c.a)(Object(c.a)({},le),{motionName:Object(ie.c)(e,"switch")})),t}(P,h);return v.createElement(oe.b.Consumer,null,(function(e){var r,o=void 0!==u?u:e;return v.createElement(ce,Object(c.a)({direction:w,getPopupContainer:k,moreTransitionName:"".concat(S,"-slide-up")},y,{items:T,className:s()((r={},Object(n.a)(r,"".concat(P,"-").concat(o),o),Object(n.a)(r,"".concat(P,"-card"),["card","editable-card"].includes(a)),Object(n.a)(r,"".concat(P,"-editable-card"),"editable-card"===a),Object(n.a)(r,"".concat(P,"-centered"),m),r),l),editable:t,moreIcon:x,prefixCls:P,animated:I}))}))}fe.TabPane=be;t.a=fe},844:function(e,t,a){"use strict";var n=a(6),c=a(5),r=a(8),o=a.n(r),i=a(55),l=a(0),s=a(101),u=a(84),b=a(14),d=function(e){var t,a,r=e.prefixCls,i=e.className,s=e.style,u=e.size,b=e.shape,d=o()((t={},Object(n.a)(t,"".concat(r,"-lg"),"large"===u),Object(n.a)(t,"".concat(r,"-sm"),"small"===u),t)),f=o()((a={},Object(n.a)(a,"".concat(r,"-circle"),"circle"===b),Object(n.a)(a,"".concat(r,"-square"),"square"===b),Object(n.a)(a,"".concat(r,"-round"),"round"===b),a)),v=l.useMemo((function(){return"number"===typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}}),[u]);return l.createElement("span",{className:o()(r,d,f,i),style:Object(c.a)(Object(c.a)({},v),s)})},f=function(e){var t=e.prefixCls,a=e.className,r=e.active,u=e.shape,b=void 0===u?"circle":u,f=e.size,v=void 0===f?"default":f,m=(0,l.useContext(s.b).getPrefixCls)("skeleton",t),p=Object(i.a)(e,["prefixCls","className"]),O=o()(m,"".concat(m,"-element"),Object(n.a)({},"".concat(m,"-active"),r),a);return l.createElement("div",{className:O},l.createElement(d,Object(c.a)({prefixCls:"".concat(m,"-avatar"),shape:b,size:v},p)))},v=function(e){var t,a=e.prefixCls,r=e.className,u=e.active,b=e.block,f=void 0!==b&&b,v=e.size,m=void 0===v?"default":v,p=(0,l.useContext(s.b).getPrefixCls)("skeleton",a),O=Object(i.a)(e,["prefixCls"]),j=o()(p,"".concat(p,"-element"),(t={},Object(n.a)(t,"".concat(p,"-active"),u),Object(n.a)(t,"".concat(p,"-block"),f),t),r);return l.createElement("div",{className:j},l.createElement(d,Object(c.a)({prefixCls:"".concat(p,"-button"),size:m},O)))},m=a(3),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},O=a(13),j=function(e,t){return l.createElement(O.a,Object(m.a)(Object(m.a)({},e),{},{ref:t,icon:p}))};j.displayName="DotChartOutlined";var h=l.forwardRef(j),y=function(e){var t=e.prefixCls,a=e.className,c=e.style,r=e.active,i=e.children,u=(0,l.useContext(s.b).getPrefixCls)("skeleton",t),b=o()(u,"".concat(u,"-element"),Object(n.a)({},"".concat(u,"-active"),r),a),d=null!==i&&void 0!==i?i:l.createElement(h,null);return l.createElement("div",{className:b},l.createElement("div",{className:o()("".concat(u,"-image"),a),style:c},d))},g=function(e){var t=e.prefixCls,a=e.className,c=e.style,r=e.active,i=(0,l.useContext(s.b).getPrefixCls)("skeleton",t),u=o()(i,"".concat(i,"-element"),Object(n.a)({},"".concat(i,"-active"),r),a);return l.createElement("div",{className:u},l.createElement("div",{className:o()("".concat(i,"-image"),a),style:c},l.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(i,"-image-svg")},l.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(i,"-image-path")}))))},E=function(e){var t,a=e.prefixCls,r=e.className,u=e.active,b=e.block,f=e.size,v=void 0===f?"default":f,m=(0,l.useContext(s.b).getPrefixCls)("skeleton",a),p=Object(i.a)(e,["prefixCls"]),O=o()(m,"".concat(m,"-element"),(t={},Object(n.a)(t,"".concat(m,"-active"),u),Object(n.a)(t,"".concat(m,"-block"),b),t),r);return l.createElement("div",{className:O},l.createElement(d,Object(c.a)({prefixCls:"".concat(m,"-input"),size:v},p)))},x=a(12),C=function(e){var t=function(t){var a=e.width,n=e.rows,c=void 0===n?2:n;return Array.isArray(a)?a[t]:c-1===t?a:void 0},a=e.prefixCls,n=e.className,c=e.style,r=e.rows,i=Object(x.a)(Array(r)).map((function(e,a){return l.createElement("li",{key:a,style:{width:t(a)}})}));return l.createElement("ul",{className:o()(a,n),style:c},i)},N=function(e){var t=e.prefixCls,a=e.className,n=e.width,r=e.style;return l.createElement("h3",{className:o()(t,a),style:Object(c.a)({width:n},r)})};function w(e){return e&&"object"===Object(b.a)(e)?e:{}}var k=function(e){var t=e.prefixCls,a=e.loading,r=e.className,i=e.style,u=e.children,b=e.avatar,f=void 0!==b&&b,v=e.title,m=void 0===v||v,p=e.paragraph,O=void 0===p||p,j=e.active,h=e.round,y=l.useContext(s.b),g=y.getPrefixCls,E=y.direction,x=g("skeleton",t);if(a||!("loading"in e)){var k,P,S,T=!!f,I=!!m,M=!!O;if(T){var R=Object(c.a)(Object(c.a)({prefixCls:"".concat(x,"-avatar")},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(I,M)),w(f));P=l.createElement("div",{className:"".concat(x,"-header")},l.createElement(d,Object(c.a)({},R)))}if(I||M){var B,z;if(I){var A=Object(c.a)(Object(c.a)({prefixCls:"".concat(x,"-title")},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(T,M)),w(m));B=l.createElement(N,Object(c.a)({},A))}if(M){var L=Object(c.a)(Object(c.a)({prefixCls:"".concat(x,"-paragraph")},function(e,t){var a={};return e&&t||(a.width="61%"),a.rows=!e&&t?3:2,a}(T,I)),w(O));z=l.createElement(C,Object(c.a)({},L))}S=l.createElement("div",{className:"".concat(x,"-content")},B,z)}var q=o()(x,(k={},Object(n.a)(k,"".concat(x,"-with-avatar"),T),Object(n.a)(k,"".concat(x,"-active"),j),Object(n.a)(k,"".concat(x,"-rtl"),"rtl"===E),Object(n.a)(k,"".concat(x,"-round"),h),k),r);return l.createElement("div",{className:q,style:i},P,S)}return"undefined"!==typeof u?u:null};k.Button=v,k.Avatar=f,k.Input=E,k.Image=g,k.Node=y;var P=k,S=a(793),T=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(n=Object.getOwnPropertySymbols(e);c<n.length;c++)t.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(e,n[c])&&(a[n[c]]=e[n[c]])}return a},I=function(e){var t=e.prefixCls,a=e.className,r=e.hoverable,i=void 0===r||r,u=T(e,["prefixCls","className","hoverable"]);return l.createElement(s.a,null,(function(e){var r=(0,e.getPrefixCls)("card",t),s=o()("".concat(r,"-grid"),a,Object(n.a)({},"".concat(r,"-grid-hoverable"),i));return l.createElement("div",Object(c.a)({},u,{className:s}))}))},M=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(n=Object.getOwnPropertySymbols(e);c<n.length;c++)t.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(e,n[c])&&(a[n[c]]=e[n[c]])}return a};var R=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(n=Object.getOwnPropertySymbols(e);c<n.length;c++)t.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(e,n[c])&&(a[n[c]]=e[n[c]])}return a},B=function(e){return l.createElement(s.a,null,(function(t){var a=t.getPrefixCls,n=e.prefixCls,r=e.className,i=e.avatar,s=e.title,u=e.description,b=R(e,["prefixCls","className","avatar","title","description"]),d=a("card",n),f=o()("".concat(d,"-meta"),r),v=i?l.createElement("div",{className:"".concat(d,"-meta-avatar")},i):null,m=s?l.createElement("div",{className:"".concat(d,"-meta-title")},s):null,p=u?l.createElement("div",{className:"".concat(d,"-meta-description")},u):null,O=m||p?l.createElement("div",{className:"".concat(d,"-meta-detail")},m,p):null;return l.createElement("div",Object(c.a)({},b,{className:f}),v,O)}))},z=l.forwardRef((function(e,t){var a,r,b,d=l.useContext(s.b),f=d.getPrefixCls,v=d.direction,m=l.useContext(u.b),p=e.prefixCls,O=e.className,j=e.extra,h=e.headStyle,y=void 0===h?{}:h,g=e.bodyStyle,E=void 0===g?{}:g,x=e.title,C=e.loading,N=e.bordered,w=void 0===N||N,k=e.size,T=e.type,R=e.cover,B=e.actions,z=e.tabList,A=e.children,L=e.activeTabKey,q=e.defaultActiveTabKey,K=e.tabBarExtraContent,D=e.hoverable,V=e.tabProps,W=void 0===V?{}:V,G=M(e,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),H=f("card",p),_=l.createElement(P,{loading:!0,active:!0,paragraph:{rows:4},title:!1},A),F=void 0!==L,J=Object(c.a)(Object(c.a)({},W),(a={},Object(n.a)(a,F?"activeKey":"defaultActiveKey",F?L:q),Object(n.a)(a,"tabBarExtraContent",K),a)),X=z&&z.length?l.createElement(S.a,Object(c.a)({size:"large"},J,{className:"".concat(H,"-head-tabs"),onChange:function(t){var a;null===(a=e.onTabChange)||void 0===a||a.call(e,t)},items:z.map((function(e){var t;return{label:e.tab,key:e.key,disabled:null!==(t=e.disabled)&&void 0!==t&&t}}))})):null;(x||j||X)&&(b=l.createElement("div",{className:"".concat(H,"-head"),style:y},l.createElement("div",{className:"".concat(H,"-head-wrapper")},x&&l.createElement("div",{className:"".concat(H,"-head-title")},x),j&&l.createElement("div",{className:"".concat(H,"-extra")},j)),X));var Y=R?l.createElement("div",{className:"".concat(H,"-cover")},R):null,Q=l.createElement("div",{className:"".concat(H,"-body"),style:E},C?_:A),U=B&&B.length?l.createElement("ul",{className:"".concat(H,"-actions")},function(e){return e.map((function(t,a){return l.createElement("li",{style:{width:"".concat(100/e.length,"%")},key:"action-".concat(a)},l.createElement("span",null,t))}))}(B)):null,Z=Object(i.a)(G,["onTabChange"]),$=k||m,ee=o()(H,(r={},Object(n.a)(r,"".concat(H,"-loading"),C),Object(n.a)(r,"".concat(H,"-bordered"),w),Object(n.a)(r,"".concat(H,"-hoverable"),D),Object(n.a)(r,"".concat(H,"-contain-grid"),function(){var t;return l.Children.forEach(e.children,(function(e){e&&e.type&&e.type===I&&(t=!0)})),t}()),Object(n.a)(r,"".concat(H,"-contain-tabs"),z&&z.length),Object(n.a)(r,"".concat(H,"-").concat($),$),Object(n.a)(r,"".concat(H,"-type-").concat(T),!!T),Object(n.a)(r,"".concat(H,"-rtl"),"rtl"===v),r),O);return l.createElement("div",Object(c.a)({ref:t},Z,{className:ee}),b,Y,Q,U)}));z.Grid=I,z.Meta=B;t.a=z}}]);
//# sourceMappingURL=4.528db73f.chunk.js.map