PageSourceSearch

https://www.newrecargas.com/_next/static/chunks/a227d4e028e2a3a4.js

js newrecargas.com collected 2026-10-02 01:37:48 UTC 55,931 bytes, 12 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26240,79806,21369,46885,84163,e=>{"use strict";e.i(47167);var t=e.i(71645),n=e.i(43794),a=e.i(69122),o=e.i(42064),r=e.i(17455),i=e.i(85793),l=e.i(64517),c=e.i(67384),d=e.i(31067);let s={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"};var u=e.i(9583),f=t.forwardRef(function(e,n){return t.createElement(u.default,(0,d.default)({},e,{ref:n,icon:s}))}),b=e.i(11577),p=e.i(9428),v=e.i(92221),g=e.i(10160),m=e.i(3923),h=e.i(14949),$=e.i(14761);let y=(0,t.createContext)(null);var k=e.i(8211),S=e.i(30073),x=e.i(75066),C=e.i(11935),w=e.i(63188);let E=function(e){var n=e.activeTabOffset,a=e.horizontal,o=e.rtl,r=e.indicator,i=void 0===r?{}:r,l=i.size,c=i.align,d=void 0===c?"center":c,s=(0,t.useState)(),u=(0,v.default)(s,2),f=u[0],b=u[1],p=(0,t.useRef)(),g=t.default.useCallback(function(e){return"function"==typeof l?l(e):"number"==typeof l?l:e},[l]);function m(){w.default.cancel(p.current)}return(0,t.useEffect)(function(){var e={};if(n)if(a){e.width=g(n.width);var t=o?"right":"left";"start"===d&&(e[t]=n[t]),"center"===d&&(e[t]=n[t]+n.width/2,e.transform=o?"translateX(50%)":"translateX(-50%)"),"end"===d&&(e[t]=n[t]+n.width,e.transform="translateX(-100%)")}else e.height=g(n.height),"start"===d&&(e.top=n.top),"center"===d&&(e.top=n.top+n.height/2,e.transform="translateY(-50%)"),"end"===d&&(e.top=n.top+n.height,e.transform="translateY(-100%)");return m(),p.current=(0,w.default)(function(){f&&e&&Object.keys(e).every(function(t){var n=e[t],a=f[t];return"number"==typeof n&&"number"==typeof a?Math.round(n)===Math.round(a):n===a})||b(e)}),m},[JSON.stringify(n),a,o,d,g]),{style:f}};var O={width:0,height:0,left:0,top:0};function _(e,n){var a=t.useRef(e),o=t.useState({}),r=(0,v.default)(o,2)[1];return[a.current,function(e){var t="function"==typeof e?e(a.current):e;t!==a.current&&n(t,a.current),a.current=t,r({})}]}var P=e.i(74428);function R(e){var n=(0,t.useState)(0),a=(0,v.default)(n,2),o=a[0],r=a[1],i=(0,t.useRef)(0),l=(0,t.useRef)();return l.current=e,(0,P.useLayoutUpdateEffect)(function(){var e;null==(e=l.current)||e.call(l)},[o]),function(){i.current===o&&(i.current+=1,r(i.current))}}var T={width:0,height:0,left:0,top:0,right:0};function j(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}function I(e){return String(e).replace(/"/g,"TABS_DQ")}function z(e,t,n,a){return!!n&&!a&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}var M=t.forwardRef(function(e,n){var a=e.prefixCls,o=e.editable,r=e.locale,i=e.style;return o&&!1!==o.showAdd?t.createElement("button",{ref:n,type:"button",className:"".concat(a,"-nav-add"),style:i,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}),L=t.forwardRef(function(e,n){var a,o=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var l={};return"object"!==(0,g.default)(i)||t.isValidElement(i)?l.right=i:l=i,"right"===o&&(a=l.right),"left"===o&&(a=l.left),a?t.createElement("div",{className:"".concat(r,"-extra-content"),ref:n},a):null}),B=e.i(78081),N=e.i(75565),H=e.i(52741);e.s(["MenuItem",()=>H.default],79806);var H=H,D=e.i(4948),G=t.forwardRef(function(e,a){var o=e.prefixCls,r=e.id,i=e.tabs,l=e.locale,c=e.mobile,s=e.more,u=void 0===s?{}:s,f=e.style,p=e.className,g=e.editable,m=e.tabBarGutter,h=e.rtl,$=e.removeAriaLabel,y=e.onTabClick,k=e.getPopupContainer,S=e.popupClassName,x=(0,t.useState)(!1),C=(0,v.default)(x,2),w=C[0],E=C[1],O=(0,t.useState)(null),_=(0,v.default)(O,2),P=_[0],R=_[1],T=u.icon,j="".concat(r,"-more-popup"),I="".concat(o,"-dropdown"),L=null!==P?"".concat(j,"-").concat(P):null,G=null==l?void 0:l.dropdownAriaLabel,W=t.createElement(N.default,{onClick:function(e){y(e.key,e.domEvent),E(!1)},prefixCls:"".concat(I,"-menu"),id:j,tabIndex:-1,role:"listbox","aria-activedescendant":L,selectedKeys:[P],"aria-label":void 0!==G?G:"expanded dropdown"},i.map(function(e){var n=e.closable,a=e.disabled,o=e.closeIcon,i=e.key,l=e.label,c=z(n,o,g,a);return t.createElement(H.default,{key:i,id:"".concat(j,"-").concat(i),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(i),disabled:a},t.createElement("span",null,l),c&&t.createElement("button",{type:"button","aria-label":$||"remove",tabIndex:0,className:"".concat(I,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),g.onEdit("remove",{key:i,event:e})}},o||g.removeIcon||"×"))}));function A(e){for(var t=i.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===P})||0,a=t.length,o=0;o<a;o+=1){var r=t[n=(n+e+a)%a];if(!r.disabled)return void R(r.key)}}(0,t.useEffect)(function(){var e=document.getElementById(L);e&&e.scrollIntoView&&e.scrollIntoView(!1)},[P]),(0,t.useEffect)(function(){w||R(null)},[w]);var X=(0,b.default)({},h?"marginRight":"marginLeft",m);i.length||(X.visibility="hidden",X.order=1);var F=(0,n.default)((0,b.default)({},"".concat(I,"-rtl"),h)),q=c?null:t.createElement(B.default,(0,d.default)({prefixCls:I,overlay:W,visible:!!i.length&&w,onVisibleChange:E,overlayClassName:(0,n.default)(F,S),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:k},u),t.createElement("button",{type:"button",className:"".concat(o,"-nav-more"),style:X,"aria-haspopup":"listbox","aria-controls":j,id:"".concat(r,"-more"),"aria-expanded":w,onKeyDown:function(e){var t=e.which;if(!w){[D.default.DOWN,D.default.SPACE,D.default.ENTER].includes(t)&&(E(!0),e.preventDefault());return}switch(t){case D.default.UP:A(-1),e.preventDefault();break;case D.default.DOWN:A(1),e.preventDefault();break;case D.default.ESC:E(!1);break;case D.default.SPACE:case D.default.ENTER:null!==P&&y(P,e)}}},void 0===T?"More":T));return t.createElement("div",{className:(0,n.default)("".concat(o,"-nav-operations"),p),style:f,ref:a},q,t.createElement(M,{prefixCls:o,locale:l,editable:g}))});let W=t.memo(G,function(e,t){return t.tabMoving}),A=function(e){var a=e.prefixCls,o=e.id,r=e.active,i=e.focus,l=e.tab,c=l.key,d=l.label,s=l.disabled,u=l.closeIcon,f=l.icon,p=e.closable,v=e.renderWrapper,g=e.removeAriaLabel,m=e.editable,h=e.onClick,$=e.onFocus,y=e.onBlur,k=e.onKeyDown,S=e.onMouseDown,x=e.onMouseUp,C=e.style,w=e.tabCount,E=e.currentPosition,O="".concat(a,"-tab"),_=z(p,u,m,s);function P(e){s||h(e)}var R=t.useMemo(function(){return f&&"string"==typeof d?t.createElement("span",null,d):d},[d,f]),T=t.useRef(null);t.useEffect(function(){i&&T.current&&T.current.focus()},[i]);var j=t.createElement("div",{key:c,"data-node-key":I(c),className:(0,n.default)(O,(0,b.default)((0,b.default)((0,b.default)((0,b.default)({},"".concat(O,"-with-remove"),_),"".concat(O,"-active"),r),"".concat(O,"-disabled"),s),"".concat(O,"-focus"),i)),style:C,onClick:P},t.createElement("div",{ref:T,role:"tab","aria-selected":r,id:o&&"".concat(o,"-tab-").concat(c),className:"".concat(O,"-btn"),"aria-controls":o&&"".concat(o,"-panel-").concat(c),"aria-disabled":s,tabIndex:s?null:r?0:-1,onClick:function(e){e.stopPropagation(),P(e)},onKeyDown:k,onMouseDown:S,onMouseUp:x,onFocus:$,onBlur:y},i&&t.createElement("div",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}
1},"Tab ".concat(E," of ").concat(w)),f&&t.createElement("span",{className:"".concat(O,"-icon")},f),d&&R),_&&t.createElement("button",{type:"button",role:"tab","aria-label":g||"remove",tabIndex:r?0:-1,className:"".concat(O,"-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),m.onEdit("remove",{key:c,event:e})}},u||m.removeIcon||"×"));return v?v(j):j};var X=function(e,t){var n=e.offsetWidth,a=e.offsetHeight,o=e.offsetTop,r=e.offsetLeft,i=e.getBoundingClientRect(),l=i.width,c=i.height,d=i.left,s=i.top;return 1>Math.abs(l-n)?[l,c,d-t.left,s-t.top]:[n,a,r,o]},F=function(e){var t=e.current||{},n=t.offsetWidth,a=void 0===n?0:n,o=t.offsetHeight;if(e.current){var r=e.current.getBoundingClientRect(),i=r.width,l=r.height;if(1>Math.abs(i-a))return[i,l]}return[a,void 0===o?0:o]},q=function(e,t){return e[+!t]},K=t.forwardRef(function(e,a){var o,r,i,l,c,s,u,f,g,m,h,$,w,P,B,N,H,D,G,K,V,U,Y,J,Q,Z,ee,et,en,ea,eo,er,ei,el,ec,ed,es,eu,ef,eb=e.className,ep=e.style,ev=e.id,eg=e.animated,em=e.activeKey,eh=e.rtl,e$=e.extra,ey=e.editable,ek=e.locale,eS=e.tabPosition,ex=e.tabBarGutter,eC=e.children,ew=e.onTabClick,eE=e.onTabScroll,eO=e.indicator,e_=t.useContext(y),eP=e_.prefixCls,eR=e_.tabs,eT=(0,t.useRef)(null),ej=(0,t.useRef)(null),eI=(0,t.useRef)(null),ez=(0,t.useRef)(null),eM=(0,t.useRef)(null),eL=(0,t.useRef)(null),eB=(0,t.useRef)(null),eN="top"===eS||"bottom"===eS,eH=_(0,function(e,t){eN&&eE&&eE({direction:e>t?"left":"right"})}),eD=(0,v.default)(eH,2),eG=eD[0],eW=eD[1],eA=_(0,function(e,t){!eN&&eE&&eE({direction:e>t?"top":"bottom"})}),eX=(0,v.default)(eA,2),eF=eX[0],eq=eX[1],eK=(0,t.useState)([0,0]),eV=(0,v.default)(eK,2),eU=eV[0],eY=eV[1],eJ=(0,t.useState)([0,0]),eQ=(0,v.default)(eJ,2),eZ=eQ[0],e0=eQ[1],e1=(0,t.useState)([0,0]),e2=(0,v.default)(e1,2),e8=e2[0],e4=e2[1],e6=(0,t.useState)([0,0]),e3=(0,v.default)(e6,2),e7=e3[0],e5=e3[1],e9=(o=new Map,r=(0,t.useRef)([]),i=(0,t.useState)({}),l=(0,v.default)(i,2)[1],c=(0,t.useRef)("function"==typeof o?o():o),s=R(function(){var e=c.current;r.current.forEach(function(t){e=t(e)}),r.current=[],c.current=e,l({})}),[c.current,function(e){r.current.push(e),s()}]),te=(0,v.default)(e9,2),tt=te[0],tn=te[1],ta=(u=eZ[0],(0,t.useMemo)(function(){for(var e=new Map,t=tt.get(null==(o=eR[0])?void 0:o.key)||O,n=t.left+t.width,a=0;a<eR.length;a+=1){var o,r,i=eR[a].key,l=tt.get(i);l||(l=tt.get(null==(r=eR[a-1])?void 0:r.key)||O);var c=e.get(i)||(0,p.default)({},l);c.right=n-c.left-c.width,e.set(i,c)}return e},[eR.map(function(e){return e.key}).join("_"),tt,u])),to=q(eU,eN),tr=q(eZ,eN),ti=q(e8,eN),tl=q(e7,eN),tc=Math.floor(to)<Math.floor(tr+ti),td=tc?to-tl:to-ti,ts="".concat(eP,"-nav-operations-hidden"),tu=0,tf=0;function tb(e){return e<tu?tu:e>tf?tf:e}eN&&eh?(tu=0,tf=Math.max(0,tr-td)):(tu=Math.min(0,td-tr),tf=0);var tp=(0,t.useRef)(null),tv=(0,t.useState)(),tg=(0,v.default)(tv,2),tm=tg[0],th=tg[1];function t$(){th(Date.now())}function ty(){tp.current&&clearTimeout(tp.current)}f=function(e,t){function n(e,t){e(function(e){return tb(e+t)})}return!!tc&&(eN?n(eW,e):n(eq,t),ty(),t$(),!0)},g=(0,t.useState)(),h=(m=(0,v.default)(g,2))[0],$=m[1],w=(0,t.useState)(0),B=(P=(0,v.default)(w,2))[0],N=P[1],H=(0,t.useState)(0),G=(D=(0,v.default)(H,2))[0],K=D[1],V=(0,t.useState)(),Y=(U=(0,v.default)(V,2))[0],J=U[1],Q=(0,t.useRef)(),Z=(0,t.useRef)(),(ee=(0,t.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];$({x:t.screenX,y:t.screenY}),window.clearInterval(Q.current)},onTouchMove:function(e){if(h){var t=e.touches[0],n=t.screenX,a=t.screenY;$({x:n,y:a});var o=n-h.x,r=a-h.y;f(o,r);var i=Date.now();N(i),K(i-B),J({x:o,y:r})}},onTouchEnd:function(){if(h&&($(null),J(null),Y)){var e=Y.x/G,t=Y.y/G;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,a=t;Q.current=window.setInterval(function(){.01>Math.abs(n)&&.01>Math.abs(a)?window.clearInterval(Q.current):(n*=.9046104802746175,a*=.9046104802746175,f(20*n,20*a))},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,a=0,o=Math.abs(t),r=Math.abs(n);o===r?a="x"===Z.current?t:n:o>r?(a=t,Z.current="x"):(a=n,Z.current="y"),f(-a,-a)&&e.preventDefault()}},t.useEffect(function(){function e(e){ee.current.onTouchMove(e)}function t(e){ee.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!0}),ez.current.addEventListener("touchstart",function(e){ee.current.onTouchStart(e)},{passive:!0}),ez.current.addEventListener("wheel",function(e){ee.current.onWheel(e)},{passive:!1}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),(0,t.useEffect)(function(){return ty(),tm&&(tp.current=setTimeout(function(){th(0)},100)),ty},[tm]);var tk=(et=eN?eG:eF,ei=(en=(0,p.default)((0,p.default)({},e),{},{tabs:eR})).tabs,el=en.tabPosition,ec=en.rtl,["top","bottom"].includes(el)?(ea="width",eo=ec?"right":"left",er=Math.abs(et)):(ea="height",eo="top",er=-et),(0,t.useMemo)(function(){if(!ei.length)return[0,0];for(var e=ei.length,t=e,n=0;n<e;n+=1){var a=ta.get(ei[n].key)||T;if(Math.floor(a[eo]+a[ea])>Math.floor(er+td)){t=n-1;break}}for(var o=0,r=e-1;r>=0;r-=1)if((ta.get(ei[r].key)||T)[eo]<er){o=r+1;break}return o>t?[0,-1]:[o,t]},[ta,td,tr,ti,tl,er,el,ei.map(function(e){return e.key}).join("_"),ec])),tS=(0,v.default)(tk,2),tx=tS[0],tC=tS[1],tw=(0,x.default)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:em,t=ta.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eN){var n=eG;eh?t.right<eG?n=t.right:t.right+t.width>eG+td&&(n=t.right+t.width-td):t.left<-eG?n=-t.left:t.left+t.width>-eG+td&&(n=-(t.left+t.width-td)),eq(0),eW(tb(n))}else{var a=eF;t.top<-eF?a=-t.top:t.top+t.height>-eF+td&&(a=-(t.top+t.height-td)),eW(0),eq(tb(a))}}),tE=(0,t.useState)(),tO=(0,v.default)(tE,2),t_=tO[0],tP=tO[1],tR=(0,t.useState)(!1),tT=(0,v.default)(tR,2),tj=tT[0],tI=tT[1],tz=eR.filter(function(e){return!e.disabled}).map(function(e){return e.key}),tM=function(e){var t=tz.indexOf(t_||em),n=tz.length;tP(tz[(t+e+n)%n])},tL=function(e,t){var n=tz.indexOf(e),a=eR.find(function(t){return t.key===e});z(null==a?void 0:a.closable,null==a?void 0:a.closeIcon,ey,null==a?void 0:a.disabled)&&(t.preventDefault(),t.stopPropagation(),ey.onEdit("remove",{key:e,event:t}),n===tz.length-1?tM(-1):tM(1))},tB=function(e,t){tI(!0),1===t.button&&tL(e,t)},tN=function(e){var t=e.code,n=eh&&eN,a=tz[0],o=tz[tz.length-1];switch(t){case"ArrowLeft":eN&&tM(n?1:-1);break;case"ArrowRight":eN&&tM(n?-1:1);break;case"ArrowUp":e.preventDefault(),eN||tM(-1);break;case"ArrowDown":e.preventDefault(),eN||tM(1);break;case"Home":e.preventDefault(),tP(a);break;case"End":e.preventDefault(),tP(o);break;case"Enter":case"Space":e.preventDefault(),ew(null!=t_?t_:em,e);break;case"Backspace":case"Delete":tL(t_,e)}},tH={};eN?tH[eh?"marginRight":"marginLeft"]=ex:tH.marginTop=ex;var tD=eR.map(function(e,n){var a=e.key;return t.createElement(A,{id:ev,prefixCls:eP,key:a,tab:e,style:0===n?void 0:tH,closable:e.closable,editable:ey,active:a===em,focus:a===t_,renderWrapper:eC,removeAriaLabel:null==ek?void 0:ek.removeAriaLabel,tabCount:tz.length,currentPosition:n+1,onClick:function(e){ew(a,e)},onKeyDown:tN,onFocus:function(){tj||tP(a),tw(a),t$(),ez.current&&(eh||(ez.current.scrollLeft=0),ez.current.scrollTop=0)},onBlur:function(){tP(void 0)},onMouseDown:function(e){return tB(a,e)},onMouseUp:function(){tI(!1)}})}),tG=function(){return tn(function(){var e,t=new Map,n=null==(e=eM.current)?void 0:e.getBoundingClientRect();return eR.forEach(function(e){var a,o=e.key,r=null==(a=eM.current)?void 0:a.querySelector('[data-node-key="'.concat(I(o),'"]'));if(r){var i=X(r,n),l=(0,v.default)(i,4),c=l[0],d=l[1],s=l[2],u=l[3];t.set(o,{width:c,height:d,left:s,top:u})}}),t})};(0,t.useEffect)(function(){tG()},[eR.map(function(e){return e.key}).join("_")]);var tW=R(function(){var e=F(eT),t=F(ej),n=F(eI);eY([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var a=F(eB);e4(a),e5(F(eL));var o=F(eM);e0([o[0]-a[0],o[1]-a[1]]),tG()}),tA=eR.slice(0,tx),tX=eR.slice(tC+1),tF=[].concat((0,k.default)(tA),(0,k.default)(tX)),tq=ta.get(em),tK=E({activeTabOffset:tq,horizontal:eN,indicator:eO,rtl:eh}).style;(0,t.useEffect)(function(){tw()},[em,tu,tf,j(tq),j(ta),eN]),(0,t.useEffect)(function(){tW()},[eh]);var tV=!!tF.length,tU="".concat(eP,"-nav-wrap");return eN?eh?(es=eG>0,ed=eG!==tf):(ed=eG<0,es=eG!==tu):(eu=eF<0,ef=eF!==tu),t.createElement(S.default,{onResize:tW},t.createElement("div",{ref:(0,C.useComposeRef)(a,eT),role:"tablist","aria-orientation":eN?"horizontal":"vertical",className:(0,n.default)("".concat(eP,"-nav"),eb),style:ep,onKeyDown:function(){t$()}},t.createElement(L,{ref:ej,position:"left",extra:e$,prefixCls:eP}),t.createElement(S.default,{onResize:tW},t.createElement("div",{className:(0,n.default)(tU,(0,b.default)((0,b.default)((0,b.default)((0,b.default)({},"".concat(tU,"-ping-left"),ed),"".concat(tU,"-ping-right"),es),"".concat(tU,"-ping-top"),eu),"".concat(tU,"-ping-bottom"),ef)),ref:ez},t.createElement(S.default,{onResize:tW},t.createElement("div",{ref:eM,className:"".concat(eP,"-nav-list"),style:{transform:"translate(".concat(eG,"px, ").concat(eF,"px)"),transition:tm?"none":void 0}},tD,t.createElement(M,{ref:eB,prefixCls:eP,locale:ek,editable:ey,style:(0,p.default)((0,p.default)({},0===tD.length?void 0:tH),{},{visibility:tV?"hidden":null})}),t.createElement("div",{className:(0,n.default)("".concat(eP,"-ink-bar"),(0,b.default)({},"".concat(eP,"-ink-bar-animated"),eg.inkBar)),style:tK}))))),t.createElement(W,(0,d.default)({},e,{removeAriaLabel:null==ek?void 0:ek.removeAriaLabel,ref:eL,prefixCls:eP,tabs:tF,className:!tV&&ts,tabMoving:!!tm})),t.createElement(L,{ref:eI,position:"right",extra:e$,prefixCls:eP})))}),V=t.forwardRef(function(e,a){var o=e.prefixCls,r=e.className,i=e.style,l=e.id,c=e.active,d=e.tabKey,s=e.children;return t.createElement("div",{id:l&&"".concat(l,"-panel-").concat(d),role:"tabpanel",tabIndex:c?0:-1,"aria-labelledby":l&&"".concat(l,"-tab-").concat(d),"aria-hidden":!c,style:i,className:(0,n.default)(o,c&&"".concat(o,"-active"),r),ref:a},s)}),U=["renderTabBar"],Y=["label","key"];let J=function(e){var n=e.renderTabBar,a=(0,m.default)(e,U),o=t.useContext(y).tabs;return n?n((0,p.default)((0,p.default)({},a),{}
1,{panes:o.map(function(e){var n=e.label,a=e.key,o=(0,m.default)(e,Y);return t.createElement(V,(0,d.default)({tab:n,key:a,tabKey:a},o))})}),K):t.createElement(K,a)};var Q=e.i(61275),Z=["key","forceRender","style","className","destroyInactiveTabPane"];let ee=function(e){var a=e.id,o=e.activeKey,r=e.animated,i=e.tabPosition,l=e.destroyInactiveTabPane,c=t.useContext(y),s=c.prefixCls,u=c.tabs,f=r.tabPane,v="".concat(s,"-tabpane");return t.createElement("div",{className:(0,n.default)("".concat(s,"-content-holder"))},t.createElement("div",{className:(0,n.default)("".concat(s,"-content"),"".concat(s,"-content-").concat(i),(0,b.default)({},"".concat(s,"-content-animated"),f))},u.map(function(e){var i=e.key,c=e.forceRender,s=e.style,u=e.className,b=e.destroyInactiveTabPane,g=(0,m.default)(e,Z),h=i===o;return t.createElement(Q.default,(0,d.default)({key:i,visible:h,forceRender:c,removeOnLeave:!!(l||b),leavedClassName:"".concat(v,"-hidden")},r.tabPaneMotion),function(e,o){var r=e.style,l=e.className;return t.createElement(V,(0,d.default)({},g,{prefixCls:v,id:a,tabKey:i,animated:f,active:h,style:(0,p.default)((0,p.default)({},s),r),className:(0,n.default)(u,l),ref:o}))})})))};e.i(83110);var et=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],en=0,ea=t.forwardRef(function(e,a){var o=e.id,r=e.prefixCls,i=void 0===r?"rc-tabs":r,l=e.className,c=e.items,s=e.direction,u=e.activeKey,f=e.defaultActiveKey,k=e.editable,S=e.animated,x=e.tabPosition,C=void 0===x?"top":x,w=e.tabBarGutter,E=e.tabBarStyle,O=e.tabBarExtraContent,_=e.locale,P=e.more,R=e.destroyInactiveTabPane,T=e.renderTabBar,j=e.onChange,I=e.onTabClick,z=e.onTabScroll,M=e.getPopupContainer,L=e.popupClassName,B=e.indicator,N=(0,m.default)(e,et),H=t.useMemo(function(){return(c||[]).filter(function(e){return e&&"object"===(0,g.default)(e)&&"key"in e})},[c]),D="rtl"===s,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}:(0,p.default)({inkBar:!0},"object"===(0,g.default)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(S),W=(0,t.useState)(!1),A=(0,v.default)(W,2),X=A[0],F=A[1];(0,t.useEffect)(function(){F((0,$.default)())},[]);var q=(0,h.default)(function(){var e;return null==(e=H[0])?void 0:e.key},{value:u,defaultValue:f}),K=(0,v.default)(q,2),V=K[0],U=K[1],Y=(0,t.useState)(function(){return H.findIndex(function(e){return e.key===V})}),Q=(0,v.default)(Y,2),Z=Q[0],ea=Q[1];(0,t.useEffect)(function(){var e,t=H.findIndex(function(e){return e.key===V});-1===t&&(t=Math.max(0,Math.min(Z,H.length-1)),U(null==(e=H[t])?void 0:e.key)),ea(t)},[H.map(function(e){return e.key}).join("_"),V,Z]);var eo=(0,h.default)(null,{value:o}),er=(0,v.default)(eo,2),ei=er[0],el=er[1];(0,t.useEffect)(function(){o||(el("rc-tabs-".concat(en)),en+=1)},[]);var ec={id:ei,activeKey:V,animated:G,tabPosition:C,rtl:D,mobile:X},ed=(0,p.default)((0,p.default)({},ec),{},{editable:k,locale:_,more:P,tabBarGutter:w,onTabClick:function(e,t){null==I||I(e,t);var n=e!==V;U(e),n&&(null==j||j(e))},onTabScroll:z,extra:O,style:E,panes:null,getPopupContainer:M,popupClassName:L,indicator:B});return t.createElement(y.Provider,{value:{tabs:H,prefixCls:i}},t.createElement("div",(0,d.default)({ref:a,id:o,className:(0,n.default)(i,"".concat(i,"-").concat(C),(0,b.default)((0,b.default)((0,b.default)({},"".concat(i,"-mobile"),X),"".concat(i,"-editable"),k),"".concat(i,"-rtl"),D),l)},N),t.createElement(J,(0,d.default)({},ed,{renderTabBar:T})),t.createElement(ee,(0,d.default)({destroyInactiveTabPane:R},ec,{animated:G}))))}),eo=e.i(21883),er=e.i(13541);let ei={motionAppear:!1,motionEnter:!0,motionLeave:!0};var el=e.i(76556),ec=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n},ed=e.i(87385),es=e.i(83293),eu=e.i(46422),ef=e.i(38378),eb=e.i(64142);let ep=(0,eu.genStyleHooks)("Tabs",e=>{let t=(0,ef.mergeToken)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,ed.unit)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,ed.unit)(e.horizontalItemGutter)}`});return[(e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:a,cardHeightSM:o,cardHeightLG:r,horizontalItemPaddingSM:i,horizontalItemPaddingLG:l}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:l,fontSize:e.titleFontSizeLG,lineHeight:e.lineHeightLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n},[`${t}-nav-add`]:{minWidth:o,minHeight:o}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,ed.unit)(e.borderRadius)} ${(0,ed.unit)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,ed.unit)(e.borderRadius)} ${(0,ed.unit)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,ed.unit)(e.borderRadius)} ${(0,ed.unit)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,ed.unit)(e.borderRadius)} 0 0 ${(0,ed.unit)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a},[`${t}-nav-add`]:{minWidth:r,minHeight:r}}}}}})(t),(e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:a,cardGutter:o,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[a]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,ed.unit)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,ed.unit)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,ed.unit)(r(e.marginXXS).mul(-1).equal())},[a]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}})(t),(e=>{let{componentCls:t,margin:n,colorBorderSecondary:a,horizontalMargin:o,verticalItemPadding:r,verticalItemMargin:i,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,ed.unit)(e.lineWidth)} ${e.lineType} ${a}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},
2            right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0}
vendor: 4,389 bytes, lines 2-3
2,boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,
3        > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:r,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,ed.unit)(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,ed.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,ed.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}})(t),(e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:a}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,es.resetComponent)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,ed.unit)(a)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},es.textEllipsis),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,ed.unit)(e.paddingXXS)} ${(0,ed.unit)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}})(t),(e=>{let{componentCls:t,tabsCardPadding:n,cardBg:a,cardGutter:o,colorBorderSecondary:r,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:a,border:`${(0,ed.unit)(e.lineWidth)} ${e.lineType} ${r}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-tab-focus:has(${t}-tab-btn:focus-visible)`]:(0,es.genFocusOutline)(e,-3),[`& ${t}-tab${t}-tab-focus ${t}-tab-btn:focus-visible`]:{outline:"none"},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,ed.unit)(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,ed.unit)(e.borderRadiusLG)} ${(0,ed.unit)(e.borderRadiusLG)} 0 0`},[`${t}
3-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,ed.unit)(e.borderRadiusLG)} ${(0,ed.unit)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,ed.unit)(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,ed.unit)(e.borderRadiusLG)} 0 0 ${(0,ed.unit)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,ed.unit)(e.borderRadiusLG)} ${(0,ed.unit)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}})(t),(e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:a,cardGutter:o,itemHoverColor:r,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,es.resetComponent)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:a,minHeight:a,marginLeft:{_skip_check_:!0,value:o},background:"transparent",border:`${(0,ed.unit)(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${(0,ed.unit)(e.borderRadiusLG)} ${(0,ed.unit)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:r},"&:active, &:focus:not(:focus-visible)":{color:i}},(0,es.genFocusStyle)(e,-3))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),(e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:a,iconCls:o,tabsHorizontalItemMargin:r,horizontalItemPadding:i,itemSelectedColor:l,itemColor:c}=e,d=`${t}-tab`;return{[d]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${d}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":Object.assign({flex:"none",lineHeight:1,marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},(0,es.genFocusStyle)(e)),"&:hover":{color:a},[`&${d}-active ${d}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${d}-focus ${d}-btn:focus-visible`]:(0,es.genFocusOutline)(e),[`&${d}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${d}-disabled ${d}-btn, &${d}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${d}-remove ${o}`]:{margin:0,verticalAlign:"middle"},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${d} + ${d}`]:{margin:{_skip_check_:!0,value:r}}}})(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:Object.assign(Object.assign({},(0,es.genFocusStyle)(e)),{"&-hidden":{display:"none"}})}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}})(t),(e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0}
3,"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,eb.initSlideMotion)(e,"slide-up"),(0,eb.initSlideMotion)(e,"slide-down")]]})(t)]},e=>{let{cardHeight:t,cardHeightSM:n,cardHeightLG:a,controlHeight:o,controlHeightLG:r}=e,i=t||r,l=n||o,c=a||r+8;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:i,cardHeightSM:l,cardHeightLG:c,cardPadding:`${(i-e.fontHeight)/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${(l-e.fontHeight)/2-e.lineWidth}px ${e.paddingXS}px`,cardPaddingLG:`${(c-e.fontHeightLG)/2-e.lineWidth}px ${e.padding}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}});var ev=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let eg=t.forwardRef((e,a)=>{var i,d,s,u,b,p,v,g,m,h,$,y,k;let S,{type:x,className:C,rootClassName:w,size:E,onEdit:O,hideAdd:_,centered:P,addIcon:R,removeIcon:T,moreIcon:j,more:I,popupClassName:z,children:M,items:L,animated:B,style:N,indicatorSize:H,indicator:D,destroyInactiveTabPane:G,destroyOnHidden:W}=e,A=ev(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator","destroyInactiveTabPane","destroyOnHidden"]),{prefixCls:X}=A,{direction:F,tabs:q,getPrefixCls:K,getPopupContainer:V}=t.useContext(o.ConfigContext),U=K("tabs",X),Y=(0,eo.default)(U),[J,Q,Z]=ep(U,Y),ee=t.useRef(null);t.useImperativeHandle(a,()=>({nativeElement:ee.current})),"editable-card"===x&&(S={onEdit:(e,{key:t,event:n})=>{null==O||O("add"===e?n:t,e)},removeIcon:null!=(i=null!=T?T:null==q?void 0:q.removeIcon)?i:t.createElement(l.default,null),addIcon:(null!=R?R:null==q?void 0:q.addIcon)||t.createElement(f,null),showAdd:!0!==_});let et=K(),en=(0,r.default)(E),ed=(y=L,k=M,y?y.map(e=>{var t;let n=null!=(t=e.destroyOnHidden)?t:e.destroyInactiveTabPane;return Object.assign(Object.assign({},e),{destroyInactiveTabPane:n})}):(0,el.default)(k).map(e=>{if(t.isValidElement(e)){let{key:t,props:n}=e,a=n||{},{tab:o}=a,r=ec(a,["tab"]);return Object.assign(Object.assign({key:String(t)},r),{label:o})}return null}).filter(e=>e)),es=function(e,t={inkBar:!0,tabPane:!1}){let n;return(n=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof t?t:{})).tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},ei),{motionName:(0,er.getTransitionName)(e,"switch")})),n}(U,B),eu=Object.assign(Object.assign({},null==q?void 0:q.style),N),ef={align:null!=(d=null==D?void 0:D.align)?d:null==(s=null==q?void 0:q.indicator)?void 0:s.align,size:null!=(v=null!=(b=null!=(u=null==D?void 0:D.size)?u:H)?b:null==(p=null==q?void 0:q.indicator)?void 0:p.size)?v:null==q?void 0:q.indicatorSize};return J(t.createElement(ea,Object.assign({ref:ee,direction:F,getPopupContainer:V},A,{items:ed,className:(0,n.default)({[`${U}-${en}`]:en,[`${U}-card`]:["card","editable-card"].includes(x),[`${U}-editable-card`]:"editable-card"===x,[`${U}-centered`]:P},null==q?void 0:q.className,C,w,Q,Z,Y),popupClassName:(0,n.default)(z,Q,Z,Y),style:eu,editable:S,more:Object.assign({icon:null!=($=null!=(h=null!=(m=null==(g=null==q?void 0:q.more)?void 0:g.icon)?m:null==q?void 0:q.moreIcon)?h:j)?$:t.createElement(c.default,null),transitionName:`${et}-slide-up`},I),prefixCls:U,animated:es,indicator:ef,destroyInactiveTabPane:null!=W?W:G})))});eg.TabPane=()=>null,e.s(["default",0,eg],21369);var em=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let eh=e=>{var{prefixCls:a,className:r,hoverable:i=!0}=e,l=em(e,["prefixCls","className","hoverable"]);let{getPrefixCls:c}=t.useContext(o.ConfigContext),d=c("card",a),s=(0,n.default)(`${d}
3-grid`,r,{[`${d}-grid-hoverable`]:i});return t.createElement("div",Object.assign({},l,{className:s}))},e$=(0,eu.genStyleHooks)("Card",e=>{let t=(0,ef.mergeToken)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[(e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:a,colorBorderSecondary:o,boxShadowTertiary:r,bodyPadding:i,extraColor:l}=e;return{[t]:Object.assign(Object.assign({},(0,es.resetComponent)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:r},[`${t}-head`]:(e=>{let{antCls:t,componentCls:n,headerHeight:a,headerPadding:o,tabsMarginBottom:r}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:`0 ${(0,ed.unit)(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,ed.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,ed.unit)(e.borderRadiusLG)} ${(0,ed.unit)(e.borderRadiusLG)} 0 0`},(0,es.clearFix)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},es.textEllipsis),{[`
4          > ${n}-typography,
5          > ${n}-typography-edit-content
6        `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:r,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,ed.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})})(e),[`${t}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:{padding:i,borderRadius:`0 0 ${(0,ed.unit)(e.borderRadiusLG)} ${(0,ed.unit)(e.borderRadiusLG)}`},[`${t}-grid`]:(e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:a,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
7      ${(0,ed.unit)(o)} 0 0 0 ${n},
8      0 ${(0,ed.unit)(o)} 0 0 ${n},
9      ${(0,ed.unit)(o)} ${(0,ed.unit)(o)} 0 0 ${n},
10      ${(0,ed.unit)(o)} 0 0 0 ${n} inset,
11      0 ${(0,ed.unit)(o)} 0 0 ${n} inset;
12    `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}})(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,ed.unit)(e.borderRadiusLG)} ${(0,ed.unit)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:(e=>{let{componentCls:t,iconCls:n,actionsLiMargin:a,cardActionsIconSize:o,colorBorderSecondary:r,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${(0,ed.unit)(e.lineWidth)} ${e.lineType} ${r}`,display:"flex",borderRadius:`0 0 ${(0,ed.unit)(e.borderRadiusLG)} ${(0,ed.unit)(e.borderRadiusLG)}`},(0,es.clearFix)()),{"& > li":{margin:a,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorIcon,lineHeight:(0,ed.unit)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:(0,ed.unit)(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,ed.unit)(e.lineWidth)} ${e.lineType} ${r}`}}})})(e),[`${t}-meta`]:Object.assign(Object.assign({margin:`${(0,ed.unit)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,es.clearFix)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},es.textEllipsis),"&-description":{color:e.colorTextDescription}})}),[`${t}-bordered`]:{border:`${(0,ed.unit)(e.lineWidth)} ${e.lineType} ${o}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}
12-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${(0,ed.unit)(e.borderRadiusLG)} ${(0,ed.unit)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:a}}},[`${t}-type-inner`]:(e=>{let{componentCls:t,colorFillAlter:n,headerPadding:a,bodyPadding:o}=e;return{[`${t}-head`]:{padding:`0 ${(0,ed.unit)(a)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,ed.unit)(e.padding)} ${(0,ed.unit)(o)}`}}})(e),[`${t}-loading`]:(e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}})(e),[`${t}-rtl`]:{direction:"rtl"}}})(t),(e=>{let{componentCls:t,bodyPaddingSM:n,headerPaddingSM:a,headerHeightSM:o,headerFontSizeSM:r}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:o,padding:`0 ${(0,ed.unit)(a)}`,fontSize:r,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}})(t)]},e=>{var t,n;return{headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:null!=(t=e.bodyPadding)?t:e.paddingLG,headerPadding:null!=(n=e.headerPadding)?n:e.paddingLG}});var ey=e.i(92812),ek=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let eS=e=>{let{actionClasses:n,actions:a=[],actionStyle:o}=e;return t.createElement("ul",{className:n,style:o},a.map((e,n)=>{let o=`action-${n}`;return t.createElement("li",{style:{width:`${100/a.length}%`},key:o},t.createElement("span",null,e))}))},ex=t.forwardRef((e,l)=>{let c,{prefixCls:d,className:s,rootClassName:u,style:f,extra:b,headStyle:p={},bodyStyle:v={},title:g,loading:m,bordered:h,variant:$,size:y,type:k,cover:S,actions:x,tabList:C,children:w,activeTabKey:E,defaultActiveTabKey:O,tabBarExtraContent:_,hoverable:P,tabProps:R={},classNames:T,styles:j}=e,I=ek(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","variant","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:z,direction:M,card:L}=t.useContext(o.ConfigContext),[B]=(0,ey.default)("card",$,h),N=e=>{var t;return(0,n.default)(null==(t=null==L?void 0:L.classNames)?void 0:t[e],null==T?void 0:T[e])},H=e=>{var t;return Object.assign(Object.assign({},null==(t=null==L?void 0:L.styles)?void 0:t[e]),null==j?void 0:j[e])},D=t.useMemo(()=>{let e=!1;return t.Children.forEach(w,t=>{(null==t?void 0:t.type)===eh&&(e=!0)}),e},[w]),G=z("card",d),[W,A,X]=e$(G),F=t.createElement(i.default,{loading:!0,active:!0,paragraph:{rows:4},title:!1},w),q=void 0!==E,K=Object.assign(Object.assign({},R),{[q?"activeKey":"defaultActiveKey"]:q?E:O,tabBarExtraContent:_}),V=(0,r.default)(y),U=V&&"default"!==V?V:"large",Y=C?t.createElement(eg,Object.assign({size:U},K,{className:`${G}-head-tabs`,onChange:t=>{var n;null==(n=e.onTabChange)||n.call(e,t)},items:C.map(e=>{var{tab:t}=e;return Object.assign({label:t},ek(e,["tab"]))})})):null;if(g||b||Y){let e=(0,n.default)(`${G}-head`,N("header")),a=(0,n.default)(`${G}-head-title`,N("title")),o=(0,n.default)(`${G}-extra`,N("extra")),r=Object.assign(Object.assign({},p),H("header"));c=t.createElement("div",{className:e,style:r},t.createElement("div",{className:`${G}-head-wrapper`},g&&t.createElement("div",{className:a,style:H("title")},g),b&&t.createElement("div",{className:o,style:H("extra")},b)),Y)}let J=(0,n.default)(`${G}-cover`,N("cover")),Q=S?t.createElement("div",{className:J,style:H("cover")},S):null,Z=(0,n.default)(`${G}-body`,N("body")),ee=Object.assign(Object.assign({},v),H("body")),et=t.createElement("div",{className:Z,style:ee},m?F:w),en=(0,n.default)(`${G}-actions`,N("actions")),ea=(null==x?void 0:x.length)?t.createElement(eS,{actionClasses:en,actionStyle:H("actions"),actions:x}):null,eo=(0,a.default)(I,["onTabChange"]),er=(0,n.default)(G,null==L?void 0:L.className,{[`${G}-loading`]:m,[`${G}-bordered`]:"borderless"!==B,[`${G}-hoverable`]:P,[`${G}-contain-grid`]:D,[`${G}-contain-tabs`]:null==C?void 0:C.length,[`${G}-${V}`]:V,[`${G}-type-${k}`]:!!k,[`${G}-rtl`]:"rtl"===M},s,u,A,X),ei=Object.assign(Object.assign({},null==L?void 0:L.style),f);return W(t.createElement("div",Object.assign({ref:l},eo,{className:er,style:ei}),c,Q,et,ea))});var eC=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};ex.Grid=eh,ex.Meta=e=>{let{prefixCls:a,className:r,avatar:i,title:l,description:c}=e,d=eC(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=t.useContext(o.ConfigContext),u=s("card",a),f=(0,n.default)(`${u}-meta`,r),b=i?t.createElement("div",{className:`${u}-meta-avatar`},i):null,p=l?t.createElement("div",{className:`${u}-meta-title`},l):null,v=c?t.createElement("div",{className:`${u}-meta-description`},c):null,g=p||v?t.createElement("div",{className:`${u}-meta-detail`},p,v):null;return t.createElement("div",Object.assign({},d,{className:f}),b,g)},e.s(["default",0,ex],26240);var ew=e.i(2779),eE=e.i(63113),eO=e.i(63731),e_=e.i(21872);e.i(62370);var eP=e.i(35551);let eR=e=>{let{lineWidth:t,fontSizeIcon:n,calc:a}=e,o=e.fontSizeSM;return(0,ef.mergeToken)(e,{tagFontSize:o,tagLineHeight:(0,ed.unit)(a(e.lineHeightSM).mul(o).equal()),tagIconSize:a(n).sub(a(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},eT=e=>
12({defaultBg:new eP.FastColor(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),ej=(0,eu.genStyleHooks)("Tag",e=>(e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:a,componentCls:o,calc:r}=e,i=r(a).sub(n).equal(),l=r(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,es.resetComponent)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,ed.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(eR(e)),eT);var eI=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let ez=t.forwardRef((e,a)=>{let{prefixCls:r,style:i,className:l,checked:c,children:d,icon:s,onChange:u,onClick:f}=e,b=eI(e,["prefixCls","style","className","checked","children","icon","onChange","onClick"]),{getPrefixCls:p,tag:v}=t.useContext(o.ConfigContext),g=p("tag",r),[m,h,$]=ej(g),y=(0,n.default)(g,`${g}-checkable`,{[`${g}-checkable-checked`]:c},null==v?void 0:v.className,l,h,$);return m(t.createElement("span",Object.assign({},b,{ref:a,style:Object.assign(Object.assign({},i),null==v?void 0:v.style),className:y,onClick:e=>{null==u||u(!c),null==f||f(e)}}),s,t.createElement("span",null,d)))});var eM=e.i(3541);let eL=(0,eu.genSubStyleComponent)(["Tag","preset"],e=>{let t;return t=eR(e),(0,eM.genPresetColor)(t,(e,{textColor:n,lightBorderColor:a,lightColor:o,darkColor:r})=>({[`${t.componentCls}${t.componentCls}-${e}`]:{color:n,background:o,borderColor:a,"&-inverse":{color:t.colorTextLightSolid,background:r,borderColor:r},[`&${t.componentCls}-borderless`]:{borderColor:"transparent"}}}))},eT),eB=(e,t,n)=>{let a="string"!=typeof n?n:n.charAt(0).toUpperCase()+n.slice(1);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${a}Bg`],borderColor:e[`color${a}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},eN=(0,eu.genSubStyleComponent)(["Tag","status"],e=>{let t=eR(e);return[eB(t,"success","Success"),eB(t,"processing","Info"),eB(t,"error","Error"),eB(t,"warning","Warning")]},eT);var eH=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let eD=t.forwardRef((e,r)=>{let{prefixCls:i,className:l,rootClassName:c,style:d,children:s,icon:u,color:f,onClose:b,bordered:p=!0,visible:v}=e,g=eH(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:m,direction:h,tag:$}=t.useContext(o.ConfigContext),[y,k]=t.useState(!0),S=(0,a.default)(g,["closeIcon","closable"]);t.useEffect(()=>{void 0!==v&&k(v)},[v]);let x=(0,ew.isPresetColor)(f),C=(0,ew.isPresetStatusColor)(f),w=x||C,E=Object.assign(Object.assign({backgroundColor:f&&!w?f:void 0}
12,null==$?void 0:$.style),d),O=m("tag",i),[_,P,R]=ej(O),T=(0,n.default)(O,null==$?void 0:$.className,{[`${O}-${f}`]:w,[`${O}-has-color`]:f&&!w,[`${O}-hidden`]:!y,[`${O}-rtl`]:"rtl"===h,[`${O}-borderless`]:!p},l,c,P,R),j=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||k(!1)},[,I]=(0,eE.useClosable)((0,eE.pickClosable)(e),(0,eE.pickClosable)($),{closable:!1,closeIconRender:e=>{let a=t.createElement("span",{className:`${O}-close-icon`,onClick:j},e);return(0,eO.replaceElement)(e,a,e=>({onClick:t=>{var n;null==(n=null==e?void 0:e.onClick)||n.call(e,t),j(t)},className:(0,n.default)(null==e?void 0:e.className,`${O}-close-icon`)}))}}),z="function"==typeof g.onClick||s&&"a"===s.type,M=u||null,L=M?t.createElement(t.Fragment,null,M,s&&t.createElement("span",null,s)):s,B=t.createElement("span",Object.assign({},S,{ref:r,className:T,style:E}),L,I,x&&t.createElement(eL,{key:"preset",prefixCls:O}),C&&t.createElement(eN,{key:"status",prefixCls:O}));return _(z?t.createElement(e_.default,{component:"Tag"},B):B)});eD.CheckableTag=ez,e.s(["default",0,eD],46885);let eG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};var eW=t.forwardRef(function(e,n){return t.createElement(u.default,(0,d.default)({},e,{ref:n,icon:eG}))});e.s(["default",0,eW],84163)}]);

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.