1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7149],{46622:function(t,e,n){n.d(e,{Z:function(){return i}});var a=n(22988),o=n(2265),c={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"},r=n(25636),i=o.forwardRef(function(t,e){return o.createElement(r.Z,(0,a.Z)({},t,{ref:e,icon:c}))})},56115:function(t,e,n){n.d(e,{Z:function(){return i}});var a=n(22988),o=n(2265),c={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"},r=n(25636),i=o.forwardRef(function(t,e){return o.createElement(r.Z,(0,a.Z)({},t,{ref:e,icon:c}))})},77149:function(t,e,n){n.d(e,{default:function(){return tw}});var a=n(2265),o=n(46622),c=n(47964),r=n(56115),i=n(56800),l=n.n(i),d=n(22988),s=n(12475),u=n(42897),f=n(39428),v=n(8620),b=n(83627),p=n(36946),m=n(59147),h=(0,a.createContext)(null),g=n(57111),k=n(38085),y=n(68126),x=n(17492),_=n(80333),w=function(t){var e=t.activeTabOffset,n=t.horizontal,o=t.rtl,c=t.indicator,r=void 0===c?{}:c,i=r.size,l=r.align,d=void 0===l?"center":l,s=(0,a.useState)(),u=(0,f.Z)(s,2),v=u[0],b=u[1],p=(0,a.useRef)(),m=a.useCallback(function(t){return"function"==typeof i?i(t):"number"==typeof i?i:t},[i]);function h(){_.Z.cancel(p.current)}return(0,a.useEffect)(function(){var t={};if(e){if(n){t.width=m(e.width);var a=o?"right":"left";"start"===d&&(t[a]=e[a]),"center"===d&&(t[a]=e[a]+e.width/2,t.transform=o?"translateX(50%)":"translateX(-50%)"),"end"===d&&(t[a]=e[a]+e.width,t.transform="translateX(-100%)")}else t.height=m(e.height),"start"===d&&(t.top=e.top),"center"===d&&(t.top=e.top+e.height/2,t.transform="translateY(-50%)"),"end"===d&&(t.top=e.top+e.height,t.transform="translateY(-100%)")}return h(),p.current=(0,_.Z)(function(){b(t)}),h},[e,n,o,d,m]),{style:v}},S={width:0,height:0,left:0,top:0};function E(t,e){var n=a.useRef(t),o=a.useState({}),c=(0,f.Z)(o,2)[1];return[n.current,function(t){var a="function"==typeof t?t(n.current):t;a!==n.current&&e(a,n.current),n.current=a,c({})}]}var Z=n(89534);function C(t){var e=(0,a.useState)(0),n=(0,f.Z)(e,2),o=n[0],c=n[1],r=(0,a.useRef)(0),i=(0,a.useRef)();return i.current=t,(0,Z.o)(function(){var t;null===(t=i.current)||void 0===t||t.call(i)},[o]),function(){r.current===o&&(r.current+=1,c(r.current))}}var R={width:0,height:0,left:0,top:0,right:0};function P(t){var e;return t instanceof Map?(e={},t.forEach(function(t,n){e[n]=t})):e=t,JSON.stringify(e)}function T(t){return String(t).replace(/"/g,"TABS_DQ")}function I(t,e,n,a){return!!n&&!a&&!1!==t&&(void 0!==t||!1!==e&&null!==e)}var L=a.forwardRef(function(t,e){var n=t.prefixCls,o=t.editable,c=t.locale,r=t.style;return o&&!1!==o.showAdd?a.createElement("button",{ref:e,type:"button",className:"".concat(n,"-nav-add"),style:r,"aria-label":(null==c?void 0:c.addAriaLabel)||"Add tab",onClick:function(t){o.onEdit("add",{event:t})}},o.addIcon||"+"):null}),M=a.forwardRef(function(t,e){var n,o=t.position,c=t.prefixCls,r=t.extra;if(!r)return null;var i={};return"object"!==(0,v.Z)(r)||a.isValidElement(r)?i.right=r:i=r,"right"===o&&(n=i.right),"left"===o&&(n=i.left),n?a.createElement("div",{className:"".concat(c,"-extra-content"),ref:e},n):null}),N=n(61307),z=n(68229),B=n(40882),O=a.forwardRef(function(t,e){var n=t.prefixCls,o=t.id,c=t.tabs,r=t.locale,i=t.mobile,u=t.more,v=void 0===u?{}:u,b=t.style,p=t.className,m=t.editable,h=t.tabBarGutter,g=t.rtl,k=t.removeAriaLabel,y=t.onTabClick,x=t.getPopupContainer,_=t.popupClassName,w=(0,a.useState)(!1),S=(0,f.Z)(w,2),E=S[0],Z=S[1],C=(0,a.useState)(null),R=(0,f.Z)(C,2),P=R[0],T=R[1],M=v.icon,O="".concat(o,"-more-popup"),D="".concat(n,"-dropdown"),j=null!==P?"".concat(O,"-").concat(P):null,G=null==r?void 0:r.dropdownAriaLabel,W=a.createElement(z.ZP,{onClick:function(t){y(t.key,t.domEvent),Z(!1)},prefixCls:"".concat(D,"-menu"),id:O,tabIndex:-1,role:"listbox","aria-activedescendant":j,selectedKeys:[P],"aria-label":void 0!==G?G:"expanded dropdown"},c.map(function(t){var e=t.closable,n=t.disabled,c=t.closeIcon,r=t.key,i=t.label,l=I(e,c,m,n);return a.createElement(z.sN,{key:r,id:"".concat(O,"-").concat(r),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(r),disabled:n},a.createElement("span",null,i),l&&a.createElement("button",{type:"button","aria-label":k||"remove",tabIndex:0,className:"".concat(D,"-menu-item-remove"),onClick:function(t){t.stopPropagation(),t.preventDefault(),t.stopPropagation(),m.onEdit("remove",{key:r,event:t})}},c||m.removeIcon||"\xd7"))}));function X(t){for(var e=c.filter(function(t){return!t.disabled}),n=e.findIndex(function(t){return t.key===P})||0,a=e.length,o=0;o<a;o+=1){var r=e[n=(n+t+a)%a];if(!r.disabled){T(r.key);return}}}(0,a.useEffect)(function(){var t=document.getElementById(j);t&&t.scrollIntoView&&t.scrollIntoView(!1)},[P]),(0,a.useEffect)(function(){E||T(null)},[E]);var A=(0,s.Z)({},g?"marginRight":"marginLeft",h);c.length||(A.visibility="hidden",A.order=1);var H=l()((0,s.Z)({}
1,"".concat(D,"-rtl"),g)),q=i?null:a.createElement(N.Z,(0,d.Z)({prefixCls:D,overlay:W,visible:!!c.length&&E,onVisibleChange:Z,overlayClassName:l()(H,_),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:x},v),a.createElement("button",{type:"button",className:"".concat(n,"-nav-more"),style:A,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":O,id:"".concat(o,"-more"),"aria-expanded":E,onKeyDown:function(t){var e=t.which;if(!E){[B.Z.DOWN,B.Z.SPACE,B.Z.ENTER].includes(e)&&(Z(!0),t.preventDefault());return}switch(e){case B.Z.UP:X(-1),t.preventDefault();break;case B.Z.DOWN:X(1),t.preventDefault();break;case B.Z.ESC:Z(!1);break;case B.Z.SPACE:case B.Z.ENTER:null!==P&&y(P,t)}}},void 0===M?"More":M));return a.createElement("div",{className:l()("".concat(n,"-nav-operations"),p),style:b,ref:e},q,a.createElement(L,{prefixCls:n,locale:r,editable:m}))}),D=a.memo(O,function(t,e){return e.tabMoving}),j=function(t){var e=t.prefixCls,n=t.id,o=t.active,c=t.tab,r=c.key,i=c.label,d=c.disabled,u=c.closeIcon,f=c.icon,v=t.closable,b=t.renderWrapper,p=t.removeAriaLabel,m=t.editable,h=t.onClick,g=t.onFocus,k=t.style,y="".concat(e,"-tab"),x=I(v,u,m,d);function _(t){d||h(t)}var w=a.useMemo(function(){return f&&"string"==typeof i?a.createElement("span",null,i):i},[i,f]),S=a.createElement("div",{key:r,"data-node-key":T(r),className:l()(y,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(y,"-with-remove"),x),"".concat(y,"-active"),o),"".concat(y,"-disabled"),d)),style:k,onClick:_},a.createElement("div",{role:"tab","aria-selected":o,id:n&&"".concat(n,"-tab-").concat(r),className:"".concat(y,"-btn"),"aria-controls":n&&"".concat(n,"-panel-").concat(r),"aria-disabled":d,tabIndex:d?null:0,onClick:function(t){t.stopPropagation(),_(t)},onKeyDown:function(t){[B.Z.SPACE,B.Z.ENTER].includes(t.which)&&(t.preventDefault(),_(t))},onFocus:g},f&&a.createElement("span",{className:"".concat(y,"-icon")},f),i&&w),x&&a.createElement("button",{type:"button","aria-label":p||"remove",tabIndex:0,className:"".concat(y,"-remove"),onClick:function(t){t.stopPropagation(),t.preventDefault(),t.stopPropagation(),m.onEdit("remove",{key:r,event:t})}},u||m.removeIcon||"\xd7"));return b?b(S):S},G=function(t,e){var n=t.offsetWidth,a=t.offsetHeight,o=t.offsetTop,c=t.offsetLeft,r=t.getBoundingClientRect(),i=r.width,l=r.height,d=r.x,s=r.y;return 1>Math.abs(i-n)?[i,l,d-e.x,s-e.y]:[n,a,c,o]},W=function(t){var e=t.current||{},n=e.offsetWidth,a=void 0===n?0:n,o=e.offsetHeight;if(t.current){var c=t.current.getBoundingClientRect(),r=c.width,i=c.height;if(1>Math.abs(r-a))return[r,i]}return[a,void 0===o?0:o]},X=function(t,e){return t[e?0:1]},A=a.forwardRef(function(t,e){var n,o,c,r,i,v,b,p,m,_,Z,I,N,z,B,O,A,H,q,K,F,V,Y,Q,J,U,$,tt,te,tn,ta,to,tc,tr,ti,tl,td,ts,tu,tf=t.className,tv=t.style,tb=t.id,tp=t.animated,tm=t.activeKey,th=t.rtl,tg=t.extra,tk=t.editable,ty=t.locale,tx=t.tabPosition,t_=t.tabBarGutter,tw=t.children,tS=t.onTabClick,tE=t.onTabScroll,tZ=t.indicator,tC=a.useContext(h),tR=tC.prefixCls,tP=tC.tabs,tT=(0,a.useRef)(null),tI=(0,a.useRef)(null),tL=(0,a.useRef)(null),tM=(0,a.useRef)(null),tN=(0,a.useRef)(null),tz=(0,a.useRef)(null),tB=(0,a.useRef)(null),tO="top"===tx||"bottom"===tx,tD=E(0,function(t,e){tO&&tE&&tE({direction:t>
1e?"left":"right"})}),tj=(0,f.Z)(tD,2),tG=tj[0],tW=tj[1],tX=E(0,function(t,e){!tO&&tE&&tE({direction:t>e?"top":"bottom"})}),tA=(0,f.Z)(tX,2),tH=tA[0],tq=tA[1],tK=(0,a.useState)([0,0]),tF=(0,f.Z)(tK,2),tV=tF[0],tY=tF[1],tQ=(0,a.useState)([0,0]),tJ=(0,f.Z)(tQ,2),tU=tJ[0],t$=tJ[1],t0=(0,a.useState)([0,0]),t1=(0,f.Z)(t0,2),t2=t1[0],t6=t1[1],t8=(0,a.useState)([0,0]),t5=(0,f.Z)(t8,2),t7=t5[0],t4=t5[1],t9=(n=new Map,o=(0,a.useRef)([]),c=(0,a.useState)({}),r=(0,f.Z)(c,2)[1],i=(0,a.useRef)("function"==typeof n?n():n),v=C(function(){var t=i.current;o.current.forEach(function(e){t=e(t)}),o.current=[],i.current=t,r({})}),[i.current,function(t){o.current.push(t),v()}]),t3=(0,f.Z)(t9,2),et=t3[0],ee=t3[1],en=(b=tU[0],(0,a.useMemo)(function(){for(var t=new Map,e=et.get(null===(o=tP[0])||void 0===o?void 0:o.key)||S,n=e.left+e.width,a=0;a<tP.length;a+=1){var o,c,r=tP[a].key,i=et.get(r);i||(i=et.get(null===(c=tP[a-1])||void 0===c?void 0:c.key)||S);var l=t.get(r)||(0,u.Z)({},i);l.right=n-l.left-l.width,t.set(r,l)}return t},[tP.map(function(t){return t.key}).join("_"),et,b])),ea=X(tV,tO),eo=X(tU,tO),ec=X(t2,tO),er=X(t7,tO),ei=ea<eo+ec,el=ei?ea-er:ea-ec,ed="".concat(tR,"-nav-operations-hidden"),es=0,eu=0;function ef(t){return t<es?es:t>eu?eu:t}tO&&th?(es=0,eu=Math.max(0,eo-el)):(es=Math.min(0,el-eo),eu=0);var ev=(0,a.useRef)(null),eb=(0,a.useState)(),ep=(0,f.Z)(eb,2),em=ep[0],eh=ep[1];function eg(){eh(Date.now())}function ek(){ev.current&&clearTimeout(ev.current)}p=function(t,e){function n(t,e){t(function(t){return ef(t+e)})}return!!ei&&(tO?n(tW,t):n(tq,e),ek(),eg(),!0)},m=(0,a.useState)(),Z=(_=(0,f.Z)(m,2))[0],I=_[1],N=(0,a.useState)(0),B=(z=(0,f.Z)(N,2))[0],O=z[1],A=(0,a.useState)(0),q=(H=(0,f.Z)(A,2))[0],K=H[1],F=(0,a.useState)(),Y=(V=(0,f.Z)(F,2))[0],Q=V[1],J=(0,a.useRef)(),U=(0,a.useRef)(),($=(0,a.useRef)(null)).current={onTouchStart:function(t){var e=t.touches[0];I({x:e.screenX,y:e.screenY}),window.clearInterval(J.current)},onTouchMove:function(t){if(Z){t.preventDefault();var e=t.touches[0],n=e.screenX,a=e.screenY;I({x:n,y:a});var o=n-Z.x,c=a-Z.y;p(o,c);var r=Date.now();O(r),K(r-B),Q({x:o,y:c})}},onTouchEnd:function(){if(Z&&(I(null),Q(null),Y)){var t=Y.x/q,e=Y.y/q;if(!(.1>Math.max(Math.abs(t),Math.abs(e)))){var n=t,a=e;J.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(a)){window.clearInterval(J.current);return}n*=.9046104802746175,a*=.9046104802746175,p(20*n,20*a)},20)}}},onWheel:function(t){var e=t.deltaX,n=t.deltaY,a=0,o=Math.abs(e),c=Math.abs(n);o===c?a="x"===U.current?e:n:o>c?(a=e,U.current="x"):(a=n,U.current="y"),p(-a,-a)&&t.preventDefault()}},a.useEffect(function(){function t(t){$.current.onTouchMove(t)}function e(t){$.current.onTouchEnd(t)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",e,{passive:!0}),tM.current.addEventListener("touchstart",function(t){$.current.onTouchStart(t)},{passive:!0}),tM.current.addEventListener("wheel",function(t){$.current.onWheel(t)},{passive:!1}),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",e)}},[]),(0,a.useEffect)(function(){return ek(),em&&(ev.current=setTimeout(function(){eh(0)},100)),ek},[em]);var ey=(tt=tO?tG:tH,tc=(te=(0,u.Z)((0,u.Z)({},t),{},{tabs:tP})).tabs,tr=te.tabPosition,ti=te.rtl,["top","bottom"].includes(tr)?(tn="width",ta=ti?"right":"left",to=Math.abs(tt)):(tn="height",ta="top",to=-tt),(0,a.useMemo)(function(){if(!tc.length)return[0,0];for(var t=tc.length,e=t,n=0;n<t;n+=1){var a=en.get(tc[n].key)||R;if(a[ta]+a[tn]>to+el){e=n-1;break}}for(var o=0,c=t-1;c>=0;c-=1)if((en.get(tc[c].key)||R)[ta]<to){o=c+1;break}return o>=e?[0,0]:[o,e]},[en,el,eo,ec,er,to,tr,tc.map(function(t){return t.key}).join("_"),ti])),ex=(0,f.Z)(ey,2),e_=ex[0],ew=ex[1],eS=(0,y.Z)(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tm,e=en.get(t)||{width:0,height:0,left:0,right:0,top:0};if(tO){var n=tG;th?e.right<tG?n=e.right:e.right+e.width>tG+el&&(n=e.right+e.width-el):e.left<-tG?n=-e.left:e.left+e.width>-tG+el&&(n=-(e.left+e.width-el)),tq(0),tW(ef(n))}else{var a=tH;e.top<-tH?a=-e.top:e.top+e.height>-tH+el&&(a=-(e.top+e.height-el)),tW(0),tq(ef(a))}}),eE={};"top"===tx||"bottom"===tx?eE[th?"marginRight":"marginLeft"]=t_:eE.marginTop=t_;var eZ=tP.map(function(t,e){var n=t.key;return a.createElement(j,{id:tb,prefixCls:tR,key:n,tab:t,style:0===e?void 0:eE,closable:t.closable,editable:tk,active:n===tm,renderWrapper:tw,removeAriaLabel:null==ty?void 0:ty.removeAriaLabel,onClick:function(t){tS(n,t)},onFocus:function(){eS(n),eg(),tM.current&&(th||(tM.current.scrollLeft=0),tM.current.scrollTop=0)}})}),eC=function(){return ee(function(){var t,e=new Map,n=null===(t=tN.current)||void 0===t?void 0:t.getBoundingClientRect();return tP.forEach(function(t){var a,o=t.key,c=null===(a=tN.current)||void 0===a?void 0:a.querySelector('[data-node-key="'.concat(T(o),'"]'));if(c){var r=G(c,n),i=(0,f.Z)(r,4),l=i[0],d=i[1],s=i[2],u=i[3];e.set(o,{width:l,height:d,left:s,top:u})}}),e})};(0,a.useEffect)(function(){eC()},[tP.map(function(t){return t.key}).join("_")]);var eR=C(function(){var t=W(tT),e=W(tI),n=W(tL);tY([t[0]-e[0]-n[0],t[1]-e[1]-n[1]]);var a=W(tB);t6(a),t4(W(tz));var o=W(tN);t$([o[0]-a[0],o[1]-a[1]]),eC()}),eP=tP.slice(0,e_),eT=tP.slice(ew+1),eI=[].concat((0,g.Z)(eP),(0,g.Z)(eT)),eL=en.get(tm),eM=w({activeTabOffset:eL,horizontal:tO,indicator:tZ,rtl:th}).style;(0,a.useEffect)(function(){eS()},[tm,es,eu,P(eL),P(en),tO]),(0,a.useEffect)(function(){eR()},[th]);var eN=!!eI.length,ez="".concat(tR,"-nav-wrap");return tO?th?(td=tG>0,tl=tG!==eu):(tl=tG<0,td=tG!==es):(ts=tH<0,tu=tH!==es),a.createElement(k.Z,{onResize:eR},a.createElement("div",{ref:(0,x.x1)(e,tT),role:"tablist",className:l()("".concat(tR,"-nav"),tf),style:tv,onKeyDown:function(){eg()}},a.createElement(M,{ref:tI,position:"left",extra:tg,prefixCls:tR}),a.createElement(k.Z,{onResize:eR},a.createElement("div",{className:l()(ez,(0,s.Z)((0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(ez,"-ping-left"),tl),"".concat(ez,"-ping-right"),td),"".concat(ez,"-ping-top"),ts),"".concat(ez,"-ping-bottom"),tu)),ref:tM},a.createElement(k.Z,{onResize:eR},a.createElement("div",{ref:tN,className:"".concat(tR,"-nav-list"),style:{transform:"translate(".concat(tG,"px, ").concat(tH,"px)"),transition:em?"none":void 0}},eZ,a.createElement(L,{ref:tB,prefixCls:tR,locale:ty,editable:tk,style:(0,u.Z)((0,u.Z)({},0===eZ.length?void 0:eE),{},{visibility:eN?"hidden":null})}),a.createElement("div",{className:l()("".concat(tR,"-ink-bar"),(0,s.Z)({},"".concat(tR,"-ink-bar-animated"),tp.inkBar)),style:eM}))))),a.createElement(D,(0,d.Z)({},t,{removeAriaLabel:null==ty?void 0:ty.removeAriaLabel,ref:tz,prefixCls:tR,tabs:eI,className:!eN&&ed,tabMoving:!!em})),a.createElement(M,{ref:tL,position:"right",extra:tg,prefixCls:tR})))}),H=a.forwardRef(function(t,e){var n=t.prefixCls,o=t.className,c=t.style,r=t.id,i=t.active,d=t.tabKey,s=t.children;return a.createElement("div",{id:r&&"".concat(r,"-panel-").concat(d),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":r&&"".concat(r,"-tab-").concat(d),"aria-hidden":!i,style:c,className:l()(n,i&&"".concat(n,"-active"),o),ref:e},s)}),q=["renderTabBar"],K=["label","key"],F=function(t){var e=t.renderTabBar,n=(0,b.Z)(t,q),o=a.useContext(h).tabs;return e?e((0,u.Z)((0,u.Z)({},n),{},{panes:o.map(function(t){var e=t.label,n=t.key,o=(0,b.Z)(t,K);return a.createElement(H,(0,d.Z)({tab:e,key:n,tabKey:n},o))})}),A):a.createElement(A,n)},V=n(97842),Y=["key","forceRender","style","className","destroyInactiveTabPane"],Q=function(t){var e=t.i
1d,n=t.activeKey,o=t.animated,c=t.tabPosition,r=t.destroyInactiveTabPane,i=a.useContext(h),f=i.prefixCls,v=i.tabs,p=o.tabPane,m="".concat(f,"-tabpane");return a.createElement("div",{className:l()("".concat(f,"-content-holder"))},a.createElement("div",{className:l()("".concat(f,"-content"),"".concat(f,"-content-").concat(c),(0,s.Z)({},"".concat(f,"-content-animated"),p))},v.map(function(t){var c=t.key,i=t.forceRender,s=t.style,f=t.className,v=t.destroyInactiveTabPane,h=(0,b.Z)(t,Y),g=c===n;return a.createElement(V.ZP,(0,d.Z)({key:c,visible:g,forceRender:i,removeOnLeave:!!(r||v),leavedClassName:"".concat(m,"-hidden")},o.tabPaneMotion),function(t,n){var o=t.style,r=t.className;return a.createElement(H,(0,d.Z)({},h,{prefixCls:m,id:e,tabKey:c,animated:p,active:g,style:(0,u.Z)((0,u.Z)({},s),o),className:l()(f,r),ref:n}))})})))};n(67638);var J=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],U=0,$=a.forwardRef(function(t,e){var n=t.id,o=t.prefixCls,c=void 0===o?"rc-tabs":o,r=t.className,i=t.items,g=t.direction,k=t.activeKey,y=t.defaultActiveKey,x=t.editable,_=t.animated,w=t.tabPosition,S=void 0===w?"top":w,E=t.tabBarGutter,Z=t.tabBarStyle,C=t.tabBarExtraContent,R=t.locale,P=t.more,T=t.destroyInactiveTabPane,I=t.renderTabBar,L=t.onChange,M=t.onTabClick,N=t.onTabScroll,z=t.getPopupContainer,B=t.popupClassName,O=t.indicator,D=(0,b.Z)(t,J),j=a.useMemo(function(){return(i||[]).filter(function(t){return t&&"object"===(0,v.Z)(t)&&"key"in t})},[i]),G="rtl"===g,W=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(t=!1===e?{inkBar:!1,tabPane:!1}:!0===e?{inkBar:!0,tabPane:!1}:(0,u.Z)({inkBar:!0},"object"===(0,v.Z)(e)?e:{})).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(_),X=(0,a.useState)(!1),A=(0,f.Z)(X,2),H=A[0],q=A[1];(0,a.useEffect)(function(){q((0,m.Z)())},[]);var K=(0,p.Z)(function(){var t;return null===(t=j[0])||void 0===t?void 0:t.key},{value:k,defaultValue:y}),V=(0,f.Z)(K,2),Y=V[0],$=V[1],tt=(0,a.useState)(function(){return j.findIndex(function(t){return t.key===Y})}),te=(0,f.Z)(tt,2),tn=te[0],ta=te[1];(0,a.useEffect)(function(){var t,e=j.findIndex(function(t){return t.key===Y});-1===e&&(e=Math.max(0,Math.min(tn,j.length-1)),$(null===(t=j[e])||void 0===t?void 0:t.key)),ta(e)},[j.map(function(t){return t.key}).join("_"),Y,tn]);var to=(0,p.Z)(null,{value:n}),tc=(0,f.Z)(to,2),tr=tc[0],ti=tc[1];(0,a.useEffect)(function(){n||(ti("rc-tabs-".concat(U)),U+=1)},[]);var tl={id:tr,activeKey:Y,animated:W,tabPosition:S,rtl:G,mobile:H},td=(0,u.Z)((0,u.Z)({},tl),{},{editable:x,locale:R,more:P,tabBarGutter:E,onTabClick:function(t,e){null==M||M(t,e);var n=t!==Y;$(t),n&&(null==L||L(t))},onTabScroll:N,extra:C,style:Z,panes:null,getPopupContainer:z,popupClassName:B,indicator:O});return a.createElement(h.Provider,{value:{tabs:j,prefixCls:c}},a.createElement("div",(0,d.Z)({ref:e,id:n,className:l()(c,"".concat(c,"-").concat(S),(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(c,"-mobile"),H),"".concat(c,"-editable"),x),"".concat(c,"-rtl"),G),r)},D),a.createElement(F,(0,d.Z)({},td,{renderTabBar:I})),a.createElement(Q,(0,d.Z)({destroyInactiveTabPane:T},tl,{animated:W}))))}),tt=n(38750),te=n(68059),tn=n(91531),ta=n(61865);let to={motionAppear:!1,motionEnter:!0,motionLeave:!0};var tc=n(68753),tr=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);o<a.length;o++)0>e.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n},ti=n(37540),tl=n(98170),td=n(2330),ts=n(35413),tu=n(51380),tf=t=>{let{componentCls:e,motionDurationSlow:n}=t;return[{[e]:{["".concat(e,"-switch")]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0}
1,"&-active":{opacity:1,transition:"opacity ".concat(n)}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:"opacity ".concat(n)}}}}},[(0,tu.oN)(t,"slide-up"),(0,tu.oN)(t,"slide-down")]]};let tv=t=>{let{componentCls:e,tabsCardPadding:n,cardBg:a,cardGutter:o,colorBorderSecondary:c,itemSelectedColor:r}=t;return{["".concat(e,"-card")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{margin:0,padding:n,background:a,border:"".concat((0,ti.bf)(t.lineWidth)," ").concat(t.lineType," ").concat(c),transition:"all ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOut)},["".concat(e,"-tab-active")]:{color:r,background:t.colorBgContainer},["".concat(e,"-ink-bar")]:{visibility:"hidden"}},["&".concat(e,"-top, &").concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginLeft:{_skip_check_:!0,value:(0,ti.bf)(o)}}}},["&".concat(e,"-top")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:"".concat((0,ti.bf)(t.borderRadiusLG)," ").concat((0,ti.bf)(t.borderRadiusLG)," 0 0")},["".concat(e,"-tab-active")]:{borderBottomColor:t.colorBgContainer}}},["&".concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:"0 0 ".concat((0,ti.bf)(t.borderRadiusLG)," ").concat((0,ti.bf)(t.borderRadiusLG))},["".concat(e,"-tab-active")]:{borderTopColor:t.colorBgContainer}}},["&".concat(e,"-left, &").concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginTop:(0,ti.bf)(o)}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"".concat((0,ti.bf)(t.borderRadiusLG)," 0 0 ").concat((0,ti.bf)(t.borderRadiusLG))}},["".concat(e,"-tab-active")]:{borderRightColor:{_skip_check_:!0,value:t.colorBg
1Container}}}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"0 ".concat((0,ti.bf)(t.borderRadiusLG)," ").concat((0,ti.bf)(t.borderRadiusLG)," 0")}},["".concat(e,"-tab-active")]:{borderLeftColor:{_skip_check_:!0,value:t.colorBgContainer}}}}}}},tb=t=>{let{componentCls:e,itemHoverColor:n,dropdownEdgeChildVerticalPadding:a}=t;return{["".concat(e,"-dropdown")]:Object.assign(Object.assign({},(0,tl.Wf)(t)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:t.zIndexPopup,display:"block","&-hidden":{display:"none"},["".concat(e,"-dropdown-menu")]:{maxHeight:t.tabsDropdownHeight,margin:0,padding:"".concat((0,ti.bf)(a)," 0"),overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:t.colorBgContainer,backgroundClip:"padding-box",borderRadius:t.borderRadiusLG,outline:"none",boxShadow:t.boxShadowSecondary,"&-item":Object.assign(Object.assign({},tl.vS),{display:"flex",alignItems:"center",minWidth:t.tabsDropdownWidth,margin:0,padding:"".concat((0,ti.bf)(t.paddingXXS)," ").concat((0,ti.bf)(t.paddingSM)),color:t.colorText,fontWeight:"normal",fontSize:t.fontSize,lineHeight:t.lineHeight,cursor:"pointer",transition:"all ".concat(t.motionDurationSlow),"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:t.marginSM},color:t.colorTextDescription,fontSize:t.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:t.controlItemBgHover},"&-disabled":{"&, &:hover":{color:t.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},tp=t=>{let{componentCls:e,margin:n,colorBorderSecondary:a,horizontalMargin:o,verticalItemPadding:c,verticalItemMargin:r,calc:i}=t;return{["".concat(e,"-top, ").concat(e,"-bottom")]:{flexDirection:"column",["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:"".concat((0,ti.bf)(t.lineWidth)," ").concat(t.lineType," ").concat(a),content:"''"},["".concat(e,"-ink-bar")]:{height:t.lineWidthBold,"&-animated":{transition:"width ".concat(t.motionDurationSlow,", left ").concat(t.motionDurationSlow,",\n right ").concat(t.motionDurationSlow)}},["".concat(e,"-nav-wrap")]:{"&::before, &::after":{top:0,bottom:0,width:t.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:t.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:t.boxShadowTabsOverflowRight},["&".concat(e,"-nav-wrap-ping-left::before")]:{opacity:1},["&".concat(e,"-nav-wrap-ping-right::after")]:{opacity:1}}}},["".concat(e,"-top")]:{["> ".concat(e,"-nav,\n > div > ").concat(e,"-nav")]:{"&::before":{bottom:0},["".concat(e,"-ink-bar")]:{bottom:0}}},["".concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},["".concat(e,"-ink-bar")]:{top:0}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{order:0}},["".concat(e,"-left, ").concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{flexDirection:"column",minWidth:i(t.controlHeight).mul(1.25).equal(),["".concat(e,"-tab")]:{padding:c,textAlign:"center"},["".concat(e,"-tab + ").concat(e,"-tab")]:{margin:r},["".concat(e,"-nav-wrap")]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:t.controlHeight}
1,"&::before":{top:0,boxShadow:t.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:t.boxShadowTabsOverflowBottom},["&".concat(e,"-nav-wrap-ping-top::before")]:{opacity:1},["&".concat(e,"-nav-wrap-ping-bottom::after")]:{opacity:1}},["".concat(e,"-ink-bar")]:{width:t.lineWidthBold,"&-animated":{transition:"height ".concat(t.motionDurationSlow,", top ").concat(t.motionDurationSlow)}},["".concat(e,"-nav-list, ").concat(e,"-nav-operations")]:{flex:"1 0 auto",flexDirection:"column"}}},["".concat(e,"-left")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-ink-bar")]:{right:{_skip_check_:!0,value:0}}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{marginLeft:{_skip_check_:!0,value:(0,ti.bf)(i(t.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:"".concat((0,ti.bf)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)},["> ".concat(e,"-content > ").concat(e,"-tabpane")]:{paddingLeft:{_skip_check_:!0,value:t.paddingLG}}}},["".concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{order:1,["".concat(e,"-ink-bar")]:{left:{_skip_check_:!0,value:0}}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{order:0,marginRight:{_skip_check_:!0,value:i(t.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:"".concat((0,ti.bf)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)},["> ".concat(e,"-content > ").concat(e,"-tabpane")]:{paddingRight:{_skip_check_:!0,value:t.paddingLG}}}}}},tm=t=>{let{componentCls:e,cardPaddingSM:n,cardPaddingLG:a,horizontalItemPaddingSM:o,horizontalItemPaddingLG:c}=t;return{[e]:{"&-small":{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:o,fontSize:t.titleFontSizeSM}}},"&-large":{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:c,fontSize:t.titleFontSizeLG}}}},["".concat(e,"-card")]:{["&".concat(e,"-small")]:{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:n}},["&".concat(e,"-bottom")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:"0 0 ".concat((0,ti.bf)(t.borderRadius)," ").concat((0,ti.bf)(t.borderRadius))}},["&".concat(e,"-top")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:"".concat((0,ti.bf)(t.borderRadius)," ").concat((0,ti.bf)(t.borderRadius)," 0 0")}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"0 ".concat((0,ti.bf)(t.borderRadius)," ").concat((0,ti.bf)(t.borderRadius)," 0")}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"".concat((0,ti.bf)(t.borderRadius)," 0 0 ").concat((0,ti.bf)(t.borderRadius))}}}},["&".concat(e,"-large")]:{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:a}}}}}},th=t=>{let{componentCls:e,itemActiveColor:n,itemHoverColor:a,iconCls:o,tabsHorizontalItemMargin:c,horizontalItemPadding:r,itemSelectedColor:i,itemColor:l}=t,d="".concat(e,"-tab");return{[d]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:r,fontSize:t.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,tl.Qy)(t)),"&-btn":{outline:"none",transition:"all ".concat(t.motionDurationSlow),["".concat(d,"-icon:not(:last-child)")]:{marginInlineEnd:t.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:t.calc(t.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:t.marginXS},color:t.colorTextDescription,fontSize:t.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:"all ".concat(t.motionDurationSlow),"&:hover":{color:t.colorTextHeading}},"&:hover":{color:a},["&".concat(d,"-active ").concat(d,"-btn")]:{color:i,textShadow:t.tabsActiveTextShadow},["&".concat(d,"-disabled")]:{color:t.colorTextDisabled,cursor:"not-allowed"},["&".concat(d,"-disabled ").concat(d,"-btn, &").concat(d,"-disabled ").concat(e,"-remove")]:{"&:focus, &:active":{color:t.colorTextDisabled}},["& ".concat(d,"-remove ").concat(o)]:{margin:0},["".concat(o,":not(:last-child)")]:{marginRight:{_skip_check_:!0,value:t.marginSM}}},["".concat(d," + ").concat(d)]:{margin:{_skip_check_:!0,value:c}}}},tg=t=>{let{componentCls:e,tabsHorizontalItemMarginRTL:n,iconCls:a,cardGutter:o,calc:c}=t;return{["".concat(e,"-rtl")]:{direction:"rtl",["".concat(e,"-nav")]:{["".concat(e,"-tab")]:{margin:{_skip_check_:!0,value:n},["".concat(e,"-tab:last-of-type")]:{marginLeft:{_skip_check_:!0,value:0}},[a]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,ti.bf)(t.marginSM)}},["".concat(e,"-tab-remove")]:{marginRight:{_skip_check_:!0,value:(0,ti.bf)(t.marginXS)},marginLeft:{_skip_check_:!0,value:(0,ti.bf)(c(t.marginXXS).mul(-1).equal())},[a]:{margin:0}}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav")]:{order:1},["> ".concat(e,"-content-holder")]:{order:0}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav")]:{order:0},["> ".concat(e,"-content-holder")]:{order:1}},["&".concat(e,"-card").concat(e,"-top, &").concat(e,"-card").concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},["".concat(e,"-dropdown-rtl")]:{direction:"rtl"}
1,["".concat(e,"-menu-item")]:{["".concat(e,"-dropdown-rtl")]:{textAlign:{_skip_check_:!0,value:"right"}}}}},tk=t=>{let{componentCls:e,tabsCardPadding:n,cardHeight:a,cardGutter:o,itemHoverColor:c,itemActiveColor:r,colorBorderSecondary:i}=t;return{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,tl.Wf)(t)),{display:"flex",["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{position:"relative",display:"flex",flex:"none",alignItems:"center",["".concat(e,"-nav-wrap")]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:"opacity ".concat(t.motionDurationSlow),content:"''",pointerEvents:"none"}},["".concat(e,"-nav-list")]:{position:"relative",display:"flex",transition:"opacity ".concat(t.motionDurationSlow)},["".concat(e,"-nav-operations")]:{display:"flex",alignSelf:"stretch"},["".concat(e,"-nav-operations-hidden")]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},["".concat(e,"-nav-more")]:{position:"relative",padding:n,background:"transparent",border:0,color:t.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:t.calc(t.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},["".concat(e,"-nav-add")]:Object.assign({minWidth:a,minHeight:a,marginLeft:{_skip_check_:!0,value:o},padding:"0 ".concat((0,ti.bf)(t.paddingXS)),background:"transparent",border:"".concat((0,ti.bf)(t.lineWidth)," ").concat(t.lineType," ").concat(i),borderRadius:"".concat((0,ti.bf)(t.borderRadiusLG)," ").concat((0,ti.bf)(t.borderRadiusLG)," 0 0"),outline:"none",cursor:"pointer",color:t.colorText,transition:"all ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOut),"&:hover":{color:c},"&:active, &:focus:not(:focus-visible)":{color:r}},(0,tl.Qy)(t))},["".concat(e,"-extra-content")]:{flex:"none"},["".concat(e,"-ink-bar")]:{position:"absolute",background:t.inkBarColor,pointerEvents:"none"}}),th(t)),{["".concat(e,"-content")]:{position:"relative",width:"100%"},["".concat(e,"-content-holder")]:{flex:"auto",minWidth:0,minHeight:0},["".concat(e,"-tabpane")]:{outline:"none","&-hidden":{display:"none"}}}),["".concat(e,"-centered")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-nav-wrap")]:{["&:not([class*='".concat(e,"-nav-wrap-ping'])")]:{justifyContent:"center"}}}}}};var ty=(0,td.I$)("Tabs",t=>{let e=(0,ts.IX)(t,{tabsCardPadding:t.cardPadding,dropdownEdgeChildVerticalPadding:t.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:"0 0 0 ".concat((0,ti.bf)(t.horizontalItemGutter)),tabsHorizontalItemMarginRTL:"0 0 0 ".concat((0,ti.bf)(t.horizontalItemGutter))});return[tm(e),tg(e),tp(e),tb(e),tv(e),tk(e),tf(e)]},t=>{let e=t.controlHeightLG;return{zIndexPopup:t.zIndexPopupBase+50,cardBg:t.colorFillAlter,cardHeight:e,cardPadding:"".concat((e-Math.round(t.fontSize*t.lineHeight))/2-t.lineWidth,"px ").concat(t.padding,"px"),cardPaddingSM:"".concat(1.5*t.paddingXXS,"px ").concat(t.padding,"px"),cardPaddingLG:"".concat(t.paddingXS,"px ").concat(t.padding,"px ").concat(1.5*t.paddingXXS,"px"),titleFontSize:t.fontSize,titleFontSizeLG:t.fontSizeLG,titleFontSizeSM:t.fontSize,inkBarColor:t.colorPrimary,horizontalMargin:"0 0 ".concat(t.margin,"px 0"),horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:"".concat(t.paddingSM,"px 0"),horizontalItemPaddingSM:"".concat(t.paddingXS,"px 0"),horizontalItemPaddingLG:"".concat(t.padding,"px 0"),verticalItemPadding:"".concat(t.paddingXS,"px ").concat(t.paddingLG,"px"),verticalItemMargin:"".concat(t.margin,"px 0 0 0"),itemColor:t.colorText,itemSelectedColor:t.colorPrimary,itemHoverColor:t.colorPrimaryHover,itemActiveColor:t.colorPrimaryActive,cardGutter:t.marginXXS/2}}),tx=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);o<a.length;o++)0>e.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let t_=t=>{var e,n,i,d,s,u,f,v,b,p,m;let h;let{type:g,className:k,rootClassName:y,size:x,onEdit:_,hideAdd:w,centered:S,addIcon:E,removeIcon:Z,moreIcon:C,more:R,popupClassName:P,children:T,items:I,animated:L,style:M,indicatorSize:N,indicator:z}=t,B=tx(t,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:O}=B,{direction:D,tabs:j,getPrefixCls:G,getPopupContainer:W}=a.useContext(tt.E_),X=G("tabs",O),A=(0,te.Z)(X),[H,q,K]=ty(X,A);"editable-card"===g&&(h={onEdit:(t,e)=>{let{key:n,event:a}=e;null==_||_("add"===t?a:n,t)},removeIcon:null!==(e=null!=Z?Z:null==j?void 0:j.removeIcon)&&void 0!==e?e:a.createElement(o.Z,null),addIcon:(null!=E?E:null==j?void 0:j.addIcon)||a.createElement(r.Z,null),showAdd:!0!==w});let F=G(),V=(0,tn.Z)(x),Y=I||(0,tc.Z)(T).map(t=>{if(a.isValidElement(t)){let{key:e,props:n}=t,a=n||{},{tab:o}=a,c=tr(a,["tab"]);return Object.assign(Object.assign({key:String(e)},c),{label:o})}return null}).filter(t=>t),Q=function(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(e=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(e.tabPaneMotion=Object.assign(Object.assign({},to),{motionName:(0,ta.m)(t,"switch")})),e}(X,L),J=Object.assign(Object.assign({},null==j?void 0:j.style),M),U={align:null!==(n=null==z?void 0:z.align)&&void 0!==n?n:null===(i=null==j?void 0:j.indicator)||void 0===i?void 0:i.align,size:null!==(f=null!==(s=null!==(d=null==z?void 0:z.size)&&void 0!==d?d:N)&&void 0!==s?s:null===(u=null==j?void 0:j.indicator)||void 0===u?void 0:u.size)&&void 0!==f?f:null==j?void 0:j.indicatorSize};return H(a.createElement($,Object.assign({direction:D,getPopupContainer:W},B,{items:Y,className:l()({["".concat(X,"-").concat(V)]:V,["".concat(X,"-card")]:["card","editable-card"].includes(g),["".concat(X,"-editable-card")]:"editable-card"===g,["".concat(X,"-centered")]:S},null==j?void 0:j.className,k,y,q,K,A),popupClassName:l()(P,q,K,A),style:J,editable:h,more:Object.assign({icon:null!==(m=null!==(p=null!==(b=null===(v=null==j?void 0:j.more)||void 0===v?void 0:v.icon)&&void 0!==b?b:null==j?void 0:j.moreIcon)&&void 0!==p?p:C)&&void 0!==m?m:a.createElement(c.Z,null),transitionName:"".concat(F,"-slide-up")},R),prefixCls:X,animated:Q,indicator:U}
1)))};t_.TabPane=()=>null;var tw=t_}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.