PageSourceSearch

https://nextblog.ai/_next/static/chunks/0vnbzy338~6.w.js

js nextblog.ai collected 2026-10-05 12:17:47 UTC 58,353 bytes, 19 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,405883,e=>{"use strict";e.i(529648);var t=e.i(559511),n=e.i(7284),a=e.i(147299),i=e.i(950093),r=e.i(469477);let o=e=>{let{prefixCls:a,className:i,style:r,size:o,shape:l}=e,s=(0,n.clsx)({[`${a}-lg`]:"large"===o,[`${a}-sm`]:"small"===o}),d=(0,n.clsx)({[`${a}-circle`]:"circle"===l,[`${a}-square`]:"square"===l,[`${a}-round`]:"round"===l}),c=t.useMemo(()=>"number"==typeof o?{width:o,height:o,lineHeight:`${o}px`}:{},[o]);return t.createElement("span",{className:(0,n.clsx)(a,s,d,i),style:{...c,...r}})};e.i(657188);var l=e.i(167101),s=e.i(190927),d=e.i(267836),c=e.i(341804);let u=new l.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),p=e=>({height:e,lineHeight:(0,s.unit)(e)}),m=e=>({width:e,...p(e)}),f=(e,t)=>({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal(),...p(e)}),g=e=>{let{gradientFromColor:t,borderRadiusSM:n,imageSizeBase:a,calc:i}=e;return{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:t,borderRadius:n,...m(i(a).mul(2).equal())}},$=(e,t,n)=>{let{skeletonButtonCls:a}=e;return{[`${n}${a}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${a}-round`]:{borderRadius:t}}},h=(e,t)=>({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal(),...p(e)}),b=(0,d.genStyleHooks)("Skeleton",e=>{let{componentCls:t,calc:n}=e;return(e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:a,skeletonParagraphCls:i,skeletonButtonCls:r,skeletonInputCls:o,skeletonNodeCls:l,skeletonImageCls:s,controlHeight:d,controlHeightLG:c,controlHeightSM:p,gradientFromColor:b,padding:v,marginSM:y,borderRadius:k,titleHeight:x,blockRadius:w,paragraphLiHeight:S,controlHeightXS:E,paragraphMarginTop:C}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:v,verticalAlign:"top",[n]:{display:"inline-block",verticalAlign:"top",background:b,...m(d)},[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:{...m(c)},[`${n}-sm`]:{...m(p)}},[`${t}-section`]:{display:"table-cell",width:"100%",verticalAlign:"top",[a]:{width:"100%",height:x,background:b,borderRadius:w,[`+ ${i}`]:{marginBlockStart:p}},[i]:{padding:0,"> li":{width:"100%",height:S,listStyle:"none",background:b,borderRadius:w,"+ li":{marginBlockStart:E}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-section`]:{[`${a}, ${i} > li`]:{borderRadius:k}}},[`${t}-with-avatar ${t}-section`]:{[a]:{marginBlockStart:y,[`+ ${i}`]:{marginBlockStart:C}}},[`${t}${t}-element`]:{display:"inline-block",width:"auto",...(e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:a,controlHeightLG:i,controlHeightSM:r,gradientFromColor:o,calc:l}=e;return{[n]:{display:"inline-block",verticalAlign:"top",background:o,borderRadius:t,width:l(a).mul(2).equal(),minWidth:l(a).mul(2).equal(),...h(a,l)},...$(e,a,n),[`${n}-lg`]:{...h(i,l)},...$(e,i,`${n}-lg`),[`${n}-sm`]:{...h(r,l)},...$(e,r,`${n}-sm`)}})(e),...(e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:a,controlHeightLG:i,controlHeightSM:r}=e;return{[t]:{display:"inline-block",verticalAlign:"top",background:n,...m(a)},[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:{...m(i)},[`${t}${t}-sm`]:{...m(r)}}})(e),...(e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:a,controlHeightLG:i,controlHeightSM:r,gradientFromColor:o,calc:l}=e;return{[a]:{display:"inline-block",verticalAlign:"top",background:o,borderRadius:n,...f(t,l)},[`${a}-lg`]:{...f(i,l)},[`${a}-sm`]:{...f(r,l)}}})(e),...{[e.skeletonNodeCls]:{...g(e)}},...(e=>{let{skeletonImageCls:t,imageSizeBase:n,calc:a}=e;return{[t]:{...g(e),[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:{...m(n),maxWidth:a(n).mul(4).equal(),maxHeight:a(n).mul(4).equal()},[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}},[`${t}${t}-circle`]:{borderRadius:"50%"}}})(e)},[`${t}${t}-block`]:{width:"100%",[r]:{width:"100%"},[o]:{width:"100%"}},[`${t}${t}-active`]:{[`
2        ${a},
3        ${i} > li,
4        ${n},
5        ${r},
6        ${o},
7        ${l},
8        ${s}
9      `]:{...{background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:u,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}}}}})((0,c.mergeToken)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonNodeCls:`${t}-node`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"}))},e=>{let{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),v=e=>{let{prefixCls:a,className:r,classNames:o,rootClassName:l,internalClassName:s,style:d,styles:c,active:u,children:p}=e,{getPrefixCls:m}=t.useContext(i.ConfigContext),f=m("skeleton",a),[g,$]=b(f),h=(0,n.clsx)(f,`${f}-element`,{[`${f}-active`]:u},g,o?.root,r,l,$);return t.createElement("div",{className:h,style:c?.root},t.createElement("div",{className:(0,n.clsx)(o?.content,s||`${f}-node`),style:{...c?.content,...d}},p))},y=e=>{let{prefixCls:a,className:i,style:r,rows:o=0}=e,l=Array.from({length:o}).map((n,a)=>t.createElement("li",{key:a,style:{width:((e,t)=>{let{width:n,rows:a=2}=t;return Array.isArray(n)?n[e]:a-1===e?n:void 0})(a,e)}}));return t.createElement("ul",{className:(0,n.clsx)(a,i),style:r},l)},k=({prefixCls:e,className:a,width:i,style:r})=>t.createElement("h3",{className:(0,n.clsx)(e,a),style:{width:i,...r}});function x(e){return e&&"object"==typeof e?e:{}}let w=e=>{let{prefixCls:r,loading:l,className:s,rootClassName:d,classNames:c,style:u,styles:p,children:m,avatar:f=!1,title:g=!0,paragraph:$=!0,active:h,round:v}=e,{getPrefixCls:w,direction:S,className:E,style:C,classNames:R,styles:_}=(0,i.useComponentConfig)("skeleton"),M=w("skeleton",r),[N,L]=b(M),z={...e,avatar:f,title:g,paragraph:$},[T,I]=(0,a.useMergeSemantic)([R,c],[_,p],{props:z});if(l||!("loading"in e)){let e,a,i=!!f,r=!!g,l=!!$;if(i){let a={className:T.avatar,prefixCls:`${M}-avatar`,...r&&!l?{size:"large",shape:"square"}:{size:"large",shape:"circle"},...x(f),style:I.avatar};e=t.createElement("div",{className:(0,n.clsx)(T.header,`${M}-header`),style:I.header},t.createElement(o,{...a}))}if(r||l){let e,o;if(r){let n={className:T.title,prefixCls:`${M}-title`,...!i&&l?{width:"38%"}:i&&l?{width:"50%"}:{},...x(g),style:I.title};e=t.createElement(k,{...n})}if(l){let e,n={className:T.paragraph,prefixCls:`${M}-paragraph`,...(e={},(!i||!r)&&(e.width="61%"),!i&&r?e.rows=3:e.rows=2,e),...x($),style:I.paragraph};o=t.createElement(y,{...n})}a=t.createElement("div",{className:(0,n.clsx)(T.section,`${M}-section`),style:I.section},e,o)}let c=(0,n.clsx)(M,{[`${M}-with-avatar`]:i,[`${M}-active`]:h,[`${M}-rtl`]:"rtl"===S,[`${M}-round`]:v},T.root,E,s,d,N,L);return t.createElement("div",{className:c,style:{...I.root,...C,...u}},e,a)}return m??null};w.Button=e=>{let{prefixCls:a,className:l,rootClassName:s,classNames:d,active:c,style:u,styles:p,block:m=!1,size:f,...g}=e,{getPrefixCls:$}=t.useContext(i.ConfigContext),h=$("skeleton",a),[v,y]=b(h),k=(0,r.default)(e=>f??e),x=(0,n.clsx)(h,`${h}-element`,{[`${h}-active`]:c,[`${h}-block`]:m},d?.root,l,s,v,y);return t.createElement("div",{className:x,style:p?.root},t.createElement(o,{prefixCls:`${h}-button`,className:d?.content,style:{...p?.content,...u},size:k,...g}))},w.Avatar=e=>{let{prefixCls:a,className:l,classNames:s,rootClassName:d,active:c,style:u,styles:p,shape:m="circle",size:f,...g}=e,{getPrefixCls:$}=t.useContext(i.ConfigContext),h=$("skeleton",a),[v,y]=b(h),k=(0,r.default)(e=>f??e),x=(0,n.clsx)(h,`${h}-element`,{[`${h}-active`]:c},s?.root,l,d,v,y);return t.createElement("div",{className:x,style:p?.root},t.createElement(o,{prefixCls:`${h}-avatar`,className:s?.content,style:{...p?.content,...u},shape:m,size:k,...g}))},w.Input=e=>{let{prefixCls:a,className:l,classNames:s,rootClassName:d,active:c,block:u,style:p,styles:m,size:f,...g}=e,{getPrefixCls:$}=t.useContext(i.ConfigContext),h=$("skeleton",a),[v,y]=b(h),k=(0,r.default)(e=>f??e),x=(0,n.clsx)(h,`${h}-element`,{[`${h}-active`]:c,[`${h}-block`]:u},s?.root,l,d,v,y);return t.createElement("div",{className:x,style:m?.root},t.createElement(o,{prefixCls:`${h}-input`,className:s?.content,style:{...m?.content,...p},size:k,...g}))},w.Image=e=>{let{getPrefixCls:n}=t.useContext(i.ConfigContext),a=n("skeleton",e.prefixCls);return t.createElement(v,{...e,internalClassName:`${a}-image`},t.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${a}-image-svg`},t.createElement("title",null,"Image placeholder"),t.createElement("path",{d:"M365.7 329.1q0 45.8-32 77.7t-77.7 32-77.7-32-32-77.7 32-77.6 77.7-32 77.7 32 32 77.6M951 548.6v256H146.3V694.9L329 512l91.5 91.4L713 311zm54.8-402.3H91.4q-7.4 0-12.8 5.4T73 164.6v694.8q0 7.5 5.5 12.9t12.8 5.4h914.3q7.5 0 12.9-5.4t5.4-12.9V164.6q0-7.5-5.4-12.9t-12.9-5.4m91.4 18.3v694.8q0 37.8-26.8 64.6t-64.6 26.9H91.4q-37.7 0-64.6-26.9T0 859.4V164.6q0-37.8 26.8-64.6T91.4 73h914.3q37.8 0 64.6 26.9t26.8 64.6",className:`${a}-image-path`})))},w.Node=v,e.s(["default",0,w],405883)},827570,e=>{"use strict";e.i(529648);var t=e.i(559511);let n={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"}
9,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"};var a=e.i(317795);function i(){return(i=Object.assign.bind()).apply(this,arguments)}let r=t.forwardRef((e,r)=>t.createElement(a.default,i({},e,{ref:r,icon:n})));e.s(["default",0,r],827570)},511055,(e,t,n)=>{"use strict";t.exports=o,t.exports.isMobile=o,t.exports.default=o;let a=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|redmi|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,i=/CrOS/,r=/android|ipad|playbook|silk/i;function o(e){e||(e={});let t=e.ua;if(!t&&"u">typeof navigator&&(t=navigator.userAgent),t&&t.headers&&"string"==typeof t.headers["user-agent"]&&(t=t.headers["user-agent"]),"string"!=typeof t)return!1;let n=a.test(t)&&!i.test(t)||!!e.tablet&&r.test(t);return!n&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==t.indexOf("Macintosh")&&-1!==t.indexOf("Safari")&&(n=!0),n}},929173,800757,676008,897044,389019,278161,487610,796214,680568,536443,403752,629055,e=>{"use strict";let t;e.i(529648);var n=e.i(559511);let a={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 i=e.i(317795);function r(){return(r=Object.assign.bind()).apply(this,arguments)}let o=n.forwardRef((e,t)=>n.createElement(i.default,r({},e,{ref:t,icon:a})));e.s(["default",0,o],929173);var l=e.i(511055);e.s(["default",0,()=>(void 0===t&&(t=(0,l.default)()),t)],800757);let s=(0,n.createContext)(null);e.s(["default",0,s],676008);var d=e.i(620907);e.s(["default",0,e=>{let{activeTabOffset:t,horizontal:a,rtl:i,indicator:r={}}=e,{size:o,align:l="center"}=r,[s,c]=(0,n.useState)(),u=(0,n.useRef)(),p=n.default.useCallback(e=>"function"==typeof o?o(e):"number"==typeof o?o:e,[o]);function m(){d.default.cancel(u.current)}return(0,n.useEffect)(()=>{let e={};if(t)if(a){e.width=p(t.width);let n=i?"right":"left";"start"===l&&(e[n]=t[n]),"center"===l&&(e[n]=t[n]+t.width/2,e.transform=i?"translateX(50%)":"translateX(-50%)"),"end"===l&&(e[n]=t[n]+t.width,e.transform="translateX(-100%)")}else e.height=p(t.height),"start"===l&&(e.top=t.top),"center"===l&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===l&&(e.top=t.top+t.height,e.transform="translateY(-100%)");return m(),u.current=(0,d.default)(()=>{s&&e&&Object.keys(e).every(t=>{let n=e[t],a=s[t];return"number"==typeof n&&"number"==typeof a?Math.round(n)===Math.round(a):n===a})||c(e)}),m},[JSON.stringify(t),a,i,l,p]),{style:s}}],897044);let c={width:0,height:0,left:0,top:0};e.s(["default",0,function(e,t,a){return(0,n.useMemo)(()=>{let n=new Map,a=t.get(e[0]?.key)||c,i=a.left+a.width;for(let a=0;a<e.length;a+=1){let{key:r}=e[a],o=t.get(r);o||(o=t.get(e[a-1]?.key)||c);let l=n.get(r)||{...o};l.right=i-l.left-l.width,n.set(r,l)}return n},[e.map(e=>e.key).join("_"),t,a])}],389019),e.s(["default",0,function(e,t){let a=n.useRef(e),[,i]=n.useState({});return[a.current,function(e){let n="function"==typeof e?e(a.current):e;n!==a.current&&t(n,a.current),a.current=n,i({})}]}],278161),e.s(["default",0,function(e,t){let[a,i]=(0,n.useState)(),[r,o]=(0,n.use
9State)(0),[l,s]=(0,n.useState)(0),[d,c]=(0,n.useState)(),u=(0,n.useRef)(),p=(0,n.useRef)(),m=(0,n.useRef)(null);m.current={onTouchStart:function(e){let{screenX:t,screenY:n}=e.touches[0];i({x:t,y:n}),window.clearInterval(u.current)},onTouchMove:function(e){if(!a)return;let{screenX:n,screenY:l}=e.touches[0];i({x:n,y:l});let d=n-a.x,u=l-a.y;t(d,u);let p=Date.now();o(p),s(p-r),c({x:d,y:u})},onTouchEnd:function(){if(a&&(i(null),c(null),d)){let e=d.x/l,n=d.y/l;if(.1>Math.max(Math.abs(e),Math.abs(n)))return;let a=e,i=n;u.current=window.setInterval(()=>{.01>Math.abs(a)&&.01>Math.abs(i)?window.clearInterval(u.current):(a*=.9046104802746175,i*=.9046104802746175,t(20*a,20*i))},20)}},onWheel:function(e){let{deltaX:n,deltaY:a}=e,i=0,r=Math.abs(n),o=Math.abs(a);r===o?i="x"===p.current?n:a:r>o?(i=n,p.current="x"):(i=a,p.current="y"),t(-i,-i)&&e.preventDefault()}},n.useEffect(()=>{function t(e){m.current.onTouchMove(e)}function n(e){m.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!0}),e.current.addEventListener("touchstart",function(e){m.current.onTouchStart(e)},{passive:!0}),e.current.addEventListener("wheel",function(e){m.current.onWheel(e)},{passive:!1}),()=>{document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}},[])}],487610);var u=e.i(408628);function p(e){let[t,a]=(0,n.useState)(0),i=(0,n.useRef)(0),r=(0,n.useRef)();return r.current=e,(0,u.useLayoutUpdateEffect)(()=>{r.current?.()},[t]),()=>{i.current===t&&(i.current+=1,a(i.current))}}e.s(["default",0,p,"useUpdateState",0,function(e){let t=(0,n.useRef)([]),[,a]=(0,n.useState)({}),i=(0,n.useRef)("function"==typeof e?e():e),r=p(()=>{let e=i.current;t.current.forEach(t=>{e=t(e)}),t.current=[],i.current=e,a({})});return[i.current,function(e){t.current.push(e),r()}]}],796214);
9let m={width:0,height:0,left:0,top:0,right:0};e.s(["default",0,function(e,t,a,i,r,o,{tabs:l,tabPosition:s,rtl:d}){let c,u,p;return["top","bottom"].includes(s)?(c="width",u=d?"right":"left",p=Math.abs(a)):(c="height",u="top",p=-a),(0,n.useMemo)(()=>{if(!l.length)return[0,0];let n=l.length,a=n;for(let i=0;i<n;i+=1){let n=e.get(l[i].key)||m;if(Math.floor(n[u]+n[c])>Math.floor(p+t)){a=i-1;break}}let i=0;for(let t=n-1;t>=0;t-=1)if((e.get(l[t].key)||m)[u]<p){i=t+1;break}return i>a?[0,-1]:[i,a]},[e,t,i,r,o,p,s,l.map(e=>e.key).join("_"),d])}],680568),e.s(["genDataNodeKey",0,function(e){return String(e).replace(/"/g,"TABS_DQ")},"getRemovable",0,function(e,t,n,a){return!!n&&!a&&!1!==e&&(void 0!==e||!1!==t&&null!==t)},"stringify",0,function(e){let t;return e instanceof Map?(t={},e.forEach((e,n)=>{t[n]=e})):t=e,JSON.stringify(t)}],536443);let f=n.forwardRef((e,t)=>{let{prefixCls:a,editable:i,locale:r,style:o}=e;return i&&!1!==i.showAdd?n.createElement("button",{ref:t,type:"button",className:`${a}-nav-add`,style:o,"aria-label":r?.addAriaLabel||"Add tab",onClick:e=>{i.onEdit("add",{event:e})}},i.addIcon||"+"):null});e.s(["default",0,f],403752);let g=n.forwardRef((e,t)=>{let a,{position:i,prefixCls:r,extra:o}=e;if(!o)return null;let l={};return"object"!=typeof o||n.isValidElement(o)?l.right=o:l=o,"right"===i&&(a=l.right),"left"===i&&(a=l.left),a?n.createElement("div",{className:`${r}-extra-content`,ref:t},a):null});e.s(["default",0,g],629055)},380945,e=>{"use strict";var t=e.i(830205),n=e.i(444199),a=e.i(7284),i=e.i(559511),r=e.i(630162),o=e.i(620907);let{ESC:l,TAB:s}=r.default,d=(0,i.forwardRef)((e,t)=>{let{overlay:a,arrow:r,prefixCls:o}=e,l=(0,i.useMemo)(()=>"function"==typeof a?a():a,[a]),s=(0,n.composeRef)(t,(0,n.getNodeRef)(l));return i.default.createElement(i.default.Fragment,null,r&&i.default.createElement("div",{className:`${o}-arrow`}
9),i.default.cloneElement(l,{ref:(0,n.supportRef)(l)?s:void 0}))}),c={adjustX:1,adjustY:1},u=[0,0],p={topLeft:{points:["bl","tl"],overflow:c,offset:[0,-4],targetOffset:u},top:{points:["bc","tc"],overflow:c,offset:[0,-4],targetOffset:u},topRight:{points:["br","tr"],overflow:c,offset:[0,-4],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:c,offset:[0,4],targetOffset:u},bottom:{points:["tc","bc"],overflow:c,offset:[0,4],targetOffset:u},bottomRight:{points:["tr","br"],overflow:c,offset:[0,4],targetOffset:u}};function m(){return(m=Object.assign.bind()).apply(this,arguments)}let f=i.default.forwardRef((e,r)=>{let{arrow:c=!1,prefixCls:u="rc-dropdown",transitionName:f,animation:g,align:$,placement:h="bottomLeft",placements:b=p,getPopupContainer:v,showAction:y,hideAction:k,overlayClassName:x,overlayStyle:w,visible:S,trigger:E=["hover"],autoFocus:C,overlay:R,children:_,onVisibleChange:M,...N}=e,[L,z]=i.default.useState(),T="visible"in e?S:L,I=g?`${u}-${g}`:f,P=i.default.useRef(null),H=i.default.useRef(null),B=i.default.useRef(null);i.default.useImperativeHandle(r,()=>P.current);let D=e=>{z(e),M?.(e)};!function({visible:e,triggerRef:t,onVisibleChange:n,autoFocus:a,overlayRef:r}){let d=i.useRef(!1),c=()=>{e&&(t.current?.focus?.(),n?.(!1))},u=()=>!!r.current?.focus&&(r.current.focus(),d.current=!0,!0),p=e=>{switch(e.keyCode){case l:c();break;case s:{let t=!1;d.current||(t=u()),t?e.preventDefault():c()}}};i.useEffect(()=>e?(window.addEventListener("keydown",p),a&&(0,o.default)(u,3),()=>{window.removeEventListener("keydown",p),d.current=!1}):()=>{d.current=!1},[e])}({visible:T,triggerRef:B,onVisibleChange:D,autoFocus:C,overlayRef:H});let G=()=>i.default.createElement(d,{ref:H,overlay:R,prefixCls:u,arrow:c}),W=i.default.cloneElement(_,{className:(0,a.clsx)(_.props?.className,T&&(()=>{let{openClassName:t}=e;return void 0!==t?t:`${u}-open`})()),ref:(0,n.supportRef)(_)?(0,n.composeRef)(B,(0,n.getNodeRef)(_)):void 0}),A=k;return A||-1===E.indexOf("contextMenu")||(A=["click"]),i.default.createElement(t.default,m({builtinPlacements:b},N,{prefixCls:u,ref:P,popupClassName:(0,a.clsx)(x,{[`${u}-show-arrow`]:c}),popupStyle:w,action:E,showAction:y,hideAction:A,popupPlacement:h,popupAlign:$,popupMotion:{motionName:I},popupVisible:T,stretch:(()=>{let{minOverlayWidthMatchTrigger:t,alignPoint:n}=e;return"minOverlayWidthMatchTrigger"in e?t:!n})()?"minWidth":"",popup:"function"==typeof R?G:G(),onOpenChange:D,onPopupClick:t=>{let{onOverlayClick:n}=e;z(!1),n&&n(t)},getPopupContainer:v}),W)});e.s(["default",0,f],380945)},871062,782955,116879,e=>{"use strict";e.i(529648);var t=e.i(559511);e.i(512779);var n=e.i(281986),a=e.i(905945),i=e.i(7284),r=e.i(147299),o=e.i(950093),l=e.i(469477),s=e.i(173049),d=e.i(405883),c=e.i(827570),u=e.i(708353),p=e.i(929173),m=e.i(692691),f=e.i(800757),g=e.i(676008),$=e.i(361705),h=e.i(497306),b=e.i(444199),v=e.i(897044),y=e.i(389019),k=e.i(278161),x=e.i(487610),w=e.i(796214),S=e.i(680568),E=e.i(536443),C=e.i(403752),R=e.i(629055),_=e.i(380945),M=e.i(71664),N=e.i(132559);e.s(["MenuItem",()=>N.default],782955);var N=N,L=e.i(630162);function z(){return(z=Object.assign.bind()).apply(this,arguments)}let T=t.forwardRef((e,n)=>{let{prefixCls:a,id:r,tabs:o,locale:l,mobile:s,more:d={},style:c,className:u,editable:p,tabBarGutter:m,rtl:f,removeAriaLabel:g,onTabClick:$,getPopupContainer:h,popupClassName:b,popupStyle:v}=e,[y,k]=(0,t.useState)(!1),[x,w]=(0,t.useState)(null),{icon:S="More"}=d,R=`${r}-more-popup`,T=`${a}-dropdown`,I=null!==x?`${R}-${x}`:null,P=l?.dropdownAriaLabel,H=t.createElement(M.default,{onClick:({key:e,domEvent:t})=>{$(e,t),k(!1)},prefixCls:`${T}-menu`,id:R,tabIndex:-1,role:"listbox","aria-activedescendant":I,selectedKeys:[x],"aria-label":void 0!==P?P:"expanded dropdown"},o.map(e=>{let{closable:n,disabled:a,closeIcon:i,key:o,label:l}=e,s=(0,E.getRemovable)(n,i,p,a);return t.createElement(N.default,{key:o,id:`${R}-${o}`,role:"option","aria-controls":r&&`${r}-panel-${o}`,disabled:a},t.createElement("span",null,l),s&&t.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:0,className:`${T}-menu-item-remove`,onClick:e=>{e.stopPropagation(),e.preventDefault(),e.stopPropagation(),p.onEdit("remove",{key:o,event:e})}},i||p.removeIcon||"×"))}));function B(e){let t=o.filter(e=>!e.disabled),n=t.findIndex(e=>e.key===x)||0,a=t.length;for(let i=0;i<a;i+=1){let i=t[n=(n+e+a)%a];if(!i.disabled)return void w(i.key)}}(0,t.useEffect)(()=>{let e=document.getElementById(I);e?.scrollIntoView&&e.scrollIntoView(!1)},[I,x]),(0,t.useEffect)(()=>{y||w(null)},[y]);let D={marginInlineStart:m};o.length||(D.visibility="hidden",D.order=1);let G=(0,i.clsx)(b,{[`${T}-rtl`]:f}),W=s?null:t.createElement(_.default,z({prefixCls:T,overlay:H,visible:!!o.length&&y,onVisibleChange:k,overlayClassName:G,overlayStyle:v,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:h},d),t.createElement("button",{type:"button",className:`${a}-nav-more`,style:D,"aria-haspopup":"listbox","aria-controls":R,id:`${r}-more`,"aria-expanded":y,onKeyDown:function(e){let{which:t}=e;if(!y){[L.default.DOWN,L.default.SPACE,L.default.ENTER].includes(t)&&(k(!0),e.preventDefault());return}switch(t){case L.default.UP:B(-1),e.preventDefault();break;case L.default.DOWN:B(1),e.preventDefault();break;case L.default.ESC:k(!1);break;case L.default.SPACE:case L.default.ENTER:null!==x&&$(x,e)}}},S));return t.createElement("div",{className:(0,i.clsx)(`${a}-nav-operations`,u),style:c,ref:n},W,t.createElement(C.default,{prefixCls:a,locale:l,editable:p}))}),I=t.memo(T,(e,t)=>t.tabMoving),P=e=>{let{prefixCls:n,id:a,active:r,focus:o,tab:{key:l,label:s,disabled:d,closeIcon:c,icon:u},closable:p,renderWrapper:m,removeAriaLabel:f,editable:g,onClick:$,onFocus:h,onBlur:b,onKeyDown:v,onMouseDown:y,onMouseUp:k,style:x,className:w,tabCount:S,currentPosition:C}=e,R=`${n}-tab`,_=(0,E.getRemovable)(p,c,g,d);function M(e){d||$(e)}let N=t.useMemo(()=>u&&"string"==typeof s?t.createElement("span",null,s):s,[s,u]),L=t.useRef(null);t.useEffect(()=>{o&&L.current&&L.current.focus()},[o]);let z=t.createElement("div",{key:l,"data-node-key":(0,E.genDataNode
9Key)(l),className:(0,i.clsx)(R,w,{[`${R}-with-remove`]:_,[`${R}-active`]:r,[`${R}-disabled`]:d,[`${R}-focus`]:o}),style:x,onClick:M},t.createElement("div",{ref:L,role:"tab","aria-selected":r,id:a&&`${a}-tab-${l}`,className:`${R}-btn`,"aria-controls":a&&`${a}-panel-${l}`,"aria-disabled":d,tabIndex:d?null:r?0:-1,onClick:e=>{e.stopPropagation(),M(e)},onKeyDown:v,onMouseDown:y,onMouseUp:k,onFocus:h,onBlur:b},o&&t.createElement("div",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},`Tab ${C} of ${S}`),u&&t.createElement("span",{className:`${R}-icon`},u),s&&N),_&&t.createElement("button",{type:"button","aria-label":f||"remove",tabIndex:r?0:-1,className:`${R}-remove`,onClick:e=>{e.stopPropagation(),e.preventDefault(),e.stopPropagation(),g.onEdit("remove",{key:l,event:e})}},c||g.removeIcon||"×"));return m?m(z):z};function H(){return(H=Object.assign.bind()).apply(this,arguments)}let B=e=>{let{offsetWidth:t=0,offsetHeight:n=0}=e.current||{};if(e.current){let{width:n,height:a}=e.current.getBoundingClientRect();if(1>Math.abs(n-t))return[n,a]}return[t,n]},D=(e,t)=>e[+!t],G=t.forwardRef((e,n)=>{let a,r,o,l,{className:s,style:d,id:c,animated:u,activeKey:p,rtl:m,extra:f,editable:_,locale:M,tabPosition:N,tabBarGutter:L,children:z,onTabClick:T,onTabScroll:G,indicator:W,classNames:A,styles:q}=e,{prefixCls:O,tabs:F}=t.useContext(g.default),X=(0,t.useRef)(null),j=(0,t.useRef)(null),K=(0,t.useRef)(null),V=(0,t.useRef)(null),U=(0,t.useRef)(null),Y=(0,t.useRef)(null),J=(0,t.useRef)(null),Q="top"===N||"bottom"===N,[Z,ee]=(0,k.default)(0,(e,t)=>{Q&&G&&G({direction:e>t?"left":"right"})}),[et,en]=(0,k.default)(0,(e,t)=>{!Q&&G&&G({direction:e>t?"top":"bottom"})}),[ea,ei]=(0,t.useState)([0,0]),[er,eo]=(0,t.useState)([0,0]),[el,es]=(0,t.useState)([0,0]),[ed,ec]=(0,t.useState)([0,0]),[eu,ep]=(0,w.useUpdateState)(new Map),em=(0,y.default)(F,eu,er[0]),ef=D(ea,Q),eg=D(er,Q),e$=D(el,Q),eh=D(ed,Q),eb=Math.floor(ef)<Math.floor(eg+e$),ev=eb?ef-eh:ef-e$,ey=`${O}-nav-operations-hidden`,ek=0,ex=0;function ew(e){return e<ek?ek:e>ex?ex:e}Q&&m?(ek=0,ex=Math.max(0,eg-ev)):(ek=Math.min(0,ev-eg),ex=0);let eS=(0,t.useRef)(null),[eE,eC]=(0,t.useState)();function eR(){eC(Date.now())}function e_(){eS.current&&clearTimeout(eS.current)}(0,x.default)(V,(e,t)=>{var n,a,i,r;return!!eb&&(Q?(n=ee,a=e,n(e=>ew(e+a))):(i=en,r=t,i(e=>ew(e+r))),e_(),eR(),!0)}),(0,t.useEffect)(()=>(e_(),eE&&(eS.current=setTimeout(()=>{eC(0)},100)),e_),[eE]);let[eM,eN]=(0,S.default)(em,ev,Q?Z:et,eg,e$,eh,{...e,tabs:F}),eL=(0,h.default)((e=p)=>{let t=em.get(e)||{width:0,height:0,left:0,right:0,top:0};if(Q){let e=Z;m?t.right<Z?e=t.right:t.right+t.width>Z+ev&&(e=t.right+t.width-ev):t.left<-Z?e=-t.left:t.left+t.width>-Z+ev&&(e=-(t.left+t.width-ev)),en(0),ee(ew(e))}else{let e=et;t.top<-et?e=-t.top:t.top+t.height>-et+ev&&(e=-(t.top+t.height-ev)),ee(0),en(ew(e))}}),[ez,eT]=(0,t.useState)(),[eI,eP]=(0,t.useState)(!1),eH=F.filter(e=>!e.disabled).map(e=>e.key),eB=e=>{let t=eH.indexOf(ez||p),n=eH.length;eT(eH[(t+e+n)%n])},eD=(e,t)=>{let n=eH.indexOf(e),a=F.find(t=>t.key===e);(0,E.getRemovable)(a?.closable,a?.closeIcon,_,a?.disabled)&&(t.preventDefault(),t.stopPropagation(),_.onEdit("remove",{key:e,event:t}),n===eH.length-1?eB(-1):eB(1))},eG=e=>{let{code:t}=e,n=m&&Q,a=eH[0],i=eH[eH.length-1];switch(t){case"ArrowLeft":Q&&eB(n?1:-1);break;case"ArrowRight":Q&&eB(n?-1:1);break;case"ArrowUp":e.preventDefault(),Q||eB(-1);break;case"ArrowDown":e.preventDefault(),Q||eB(1);break;case"Home":e.preventDefault(),eT(a);break;case"End":e.preventDefault(),eT(i);break;case"Enter":case"Space":e.preventDefault(),T(ez??p,e);break;case"Backspace":case"Delete":eD(ez,e)}},eW={};Q?eW.marginInlineStart=L:eW.marginTop=L;let eA=F.map((e,n)=>{let{key:a}=e;return t.createElement(P,{id:c,prefixCls:O,key:a,tab:e,className:A?.item,
9style:0===n?q?.item:{...eW,...q?.item},closable:e.closable,editable:_,active:a===p,focus:a===ez,renderWrapper:z,removeAriaLabel:M?.removeAriaLabel,tabCount:eH.length,currentPosition:n+1,onClick:e=>{T(a,e)},onKeyDown:eG,onFocus:()=>{eI||eT(a),eL(a),eR(),V.current&&(m||(V.current.scrollLeft=0),V.current.scrollTop=0)},onBlur:()=>{eT(void 0)},onMouseDown:e=>{eP(!0),1===e.button&&eD(a,e)},onMouseUp:()=>{eP(!1)}})}),eq=()=>ep(()=>{let e=new Map,t=U.current?.getBoundingClientRect();return F.forEach(({key:n})=>{let a=U.current?.querySelector(`[data-node-key="${(0,E.genDataNodeKey)(n)}"]`);if(a){let[i,r,o,l]=((e,t)=>{let{offsetWidth:n,offsetHeight:a,offsetTop:i,offsetLeft:r}=e,{width:o,height:l,left:s,top:d}=e.getBoundingClientRect();return 1>Math.abs(o-n)?[o,l,s-t.left,d-t.top]:[n,a,r,i]})(a,t);e.set(n,{width:i,height:r,left:o,top:l})}}),e});(0,t.useEffect)(()=>{eq()},[F.map(e=>e.key).join("_")]);let eO=(0,w.default)(()=>{let e=B(X),t=B(j),n=B(K);ei([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);let a=B(J);es(a),ec(B(Y));let i=B(U);eo([i[0]-a[0],i[1]-a[1]]),eq()}),eF=[...F.slice(0,eM),...F.slice(eN+1)],eX=em.get(p),{style:ej}=(0,v.default)({activeTabOffset:eX,horizontal:Q,indicator:W,rtl:m});(0,t.useEffect)(()=>{eL()},[p,ek,ex,(0,E.stringify)(eX),(0,E.stringify)(em),Q]),(0,t.useEffect)(()=>{eO()},[m]);let eK=!!eF.length,eV=`${O}-nav-wrap`;return Q?m?(r=Z>0,a=Z!==ex):(a=Z<0,r=Z!==ek):(o=et<0,l=et!==ek),t.createElement($.default,{onResize:eO},t.createElement("div",{ref:(0,b.useComposeRef)(n,X),role:"tablist","aria-orientation":Q?"horizontal":"vertical",className:(0,i.clsx)(`${O}-nav`,s,A?.header),style:{...q?.header,...d},onKeyDown:()=>{eR()}},t.createElement(R.default,{ref:j,position:"left",extra:f,prefixCls:O}),t.createElement($.default,{onResize:eO},t.createElement("div",{className:(0,i.clsx)(eV,{[`${eV}-ping-left`]:a,[`${eV}-ping-right`]:r,[`${eV}-ping-top`]:o,[`${eV}-ping-bottom`]:l}),ref:V},t.createElement($.default,{onResize:eO},t.createElement("div",{ref:U,className:`${O}-nav-list`,style:{transform:`translate(${Z}px, ${et}px)`,transition:eE?"none":void 0}},eA,t.createElement(C.default,{ref:J,prefixCls:O,locale:M,editable:_,style:{...0===eA.length?void 0:eW,visibility:eK?"hidden":null}}),t.createElement("div",{className:(0,i.clsx)(`${O}-ink-bar`,A?.indicator,{[`${O}-ink-bar-animated`]:u.inkBar}),style:{...ej,...q?.indicator}}))))),t.createElement(I,H({},e,{removeAriaLabel:M?.removeAriaLabel,ref:Y,prefixCls:O,tabs:eF,className:!eK&&ey,popupStyle:q?.popup,tabMoving:!!eE})),t.createElement(R.default,{ref:K,position:"right",extra:f,prefixCls:O})))}),W=({renderTabBar:e,...n})=>e?e(n,G):t.createElement(G,n);var A=e.i(663222);let q=t.forwardRef((e,n)=>{let{prefixCls:a,className:r,style:o,id:l,active:s,tabKey:d,children:c}=e,u=t.Children.count(c)>0;return t.createElement("div",{id:l&&`${l}-panel-${d}`,role:"tabpanel",tabIndex:s&&u?0:-1,"aria-labelledby":l&&`${l}-tab-${d}`,"aria-hidden":!s,style:o,className:(0,i.clsx)(a,s&&`${a}-active`,r),ref:n},c)});function O(){return(O=Object.assign.bind()).apply(this,arguments)}let F=e=>{let{id:n,activeKey:a,animated:r,tabPosition:o,destroyOnHidden:l,contentStyle:s,contentClassName:d}=e,{prefixCls:c,tabs:u}=t.useContext(g.default),p=r.tabPane,m=`${c}-tabpane`;return t.createElement("div",{className:(0,i.clsx)(`${c}-content-holder`)},t.createElement("div",{className:(0,i.clsx)(`${c}-content`,`${c}-content-${o}`,{[`${c}-content-animated`]:p})},u.map(e=>{let{key:o,forceRender:c,style:u,className:f,destroyOnHidden:g,...$}=e,h=o===a;return t.createElement(A.default,O({key:o,visible:h,forceRender:c,removeOnLeave:!!(l??g),leavedClassName:`${m}-hidden`},r.tabPaneMotion),({style:e,className:a},r)=>t.createElement(q,O({},$,{prefixCls:m,id:n,tabKey:o,animated:p,active:h,style:{...s,...u,...e},className:(0,i.clsx)(d,f,a),ref:r})))})))};function X(){return(X=Object.assign.bind()).apply(this,arguments)}e.i(148916);let j=0,K=t.forwardRef((e,n)=>{let{id:a,prefixCls:r="rc-tabs",className:o,items:l,direction:s,activeKey:d,defaultActiveKey:c,editable:u,animated:p,tabPosition:$="top",tabBarGutter:h,tabBarStyle:b,tabBarExtraContent:v,locale:y,more:k,destroyOnHidden:x,renderTabBar:w,onChange:S,onTabClick:E,onTabScroll:C,getPopupContainer:R,popupClassName:_,indicator:M,classNames:N,styles:L,...z}=e,T=t.useMemo(()=>(l||[]).filter(e=>e&&"object"==typeof e&&"key"in e),[l]),I="rtl"===s,P=function(e={inkBar:!0,tabPane:!1}){let t;return(t=!1===e?{inkBar:!1,tabPane:!1}:!0===e?{inkBar:!0,tabPane:!1}:{inkBar:!0,..."object"==typeof e?e:{}}).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(p),[H,B]=(0,t.useState)(!1);(0,t.useEffect)(()=>{B((0,f.default)())},[]);let[D,G]=(0,m.default)(c??T[0]?.key,d),[A,q]=(0,t.useState)(()=>T.findIndex(e=>e.key===D));(0,t.useEffect)(()=>{let e=T.findIndex(e=>e.key===D);-1===e&&(e=Math.max(0,Math.min(A,T.length-1)),G(T[e]?.key)),q(e)},[T.map(e=>e.key).join("_"),D,A]);let[O,K]=(0,m.default)(null,a);(0,t.useEffect)(()=>{a||(K(`rc-tabs-${j}`),j+=1)},[]);let V={id:O,activeKey:D,animated:P,tabPosition:$,rtl:I,mobile:H},U={...V,editable:u,locale:y,more:k,tabBarGutter:h,onTabClick:function(e,t){E?.(e,t);let n=e!==D;G(e),n&&S?.(e)},onTabScroll:C,extra:v,style:b,getPopupContainer:R,popupClassName:(0,i.clsx)(_,N?.popup),indicator:M,styles:L,classNames:N},Y=t.useMemo(()=>({tabs:T,prefixCls:r}),[T,r]);return t.createElement(g.default.Provider,{value:Y},t.createElement("div",X({ref:n,id:a,className:(0,i.clsx)(r,`${r}-${$}`,{[`${r}-mobile`]:H,[`${r}-editable`]:u,[`${r}-rtl`]:I},o)},z),t.createElement(W,X({},U,{renderTabBar:w})),t.createElement(F,X({destroyOnHidden:x},V,{contentStyle:L?.content,contentClassName:N?.content,animated:P}))))});var V=e.i(263134),U=e.i(674103);let Y={motionAppear:!1,motionEnter:!0,motionLeave:!0};e.i(657188);var J=e.i(190927),Q=e.i(672444),Z=e.i(267836),ee=e.i(341804),et=e.i(684927);let en=(0,Z.genStyleHooks)("Tabs",e=>{let t=(0,ee.mergeToken)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,J.unit)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,J.unit)(e.horizontalItemGutter)}`});return[(e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:a,cardHeightSM:i,cardHeightLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:l}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,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:i,minHeight:i}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,J.unit)(e.borderRadius)} ${(0,J.unit)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,J.unit)(e.borderRadius)} ${(0,J.unit)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,J.unit)(e.borderRadius)} ${(0,J.unit)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,J.unit)(e.borderRadius)} 0 0 ${(0,J.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:i,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:e.marginSM}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:e.marginXS},marginLeft:{_skip_check_:!0,value: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:i},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:i,verticalItemPadding:r,verticalItemMargin:o,motionDurationSlow:l,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:i,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,J.unit)(e.lineWidth)} ${e.lineType} ${a}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:["width","left","right"].map(e=>`${e} ${l}`).join(", ")}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0}
vendor: 4,302 bytes, lines 9-10
9,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,
10        > 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:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:r,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:o},[`${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","top"].map(e=>`${e} ${l}`).join(", ")}},[`${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,J.unit)(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,J.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:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,J.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`]:{...(0,Q.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,J.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":{...Q.textEllipsis,display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,J.unit)(e.paddingXXS)} ${(0,J.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:i,colorBorderSecondary:r,itemSelectedColor:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:a,border:`${(0,J.unit)(e.lineWidth)} ${e.lineType} ${r}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:o,background:e.colorBgContainer},[`${t}-tab-focus:has(${t}-tab-btn:focus-visible)`]:(0,Q.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,J.unit)(i)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,J.unit)(e.borderRadiusLG)} ${(0,J.unit)(e.borderRadiusLG)} 0 0`},[`${t}
10-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,J.unit)(e.borderRadiusLG)} ${(0,J.unit)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,J.unit)(i)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,J.unit)(e.borderRadiusLG)} 0 0 ${(0,J.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,J.unit)(e.borderRadiusLG)} ${(0,J.unit)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}})(t),(e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:a,cardGutter:i,itemHoverColor:r,itemActiveColor:o,colorBorderSecondary:l}=e;return{[t]:{...(0,Q.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`]:{minWidth:a,minHeight:a,marginLeft:{_skip_check_:!0,value:i},background:"transparent",border:`${(0,J.unit)(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${(0,J.unit)(e.borderRadiusLG)} ${(0,J.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:o},...(0,Q.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:i,tabsHorizontalItemMargin:r,horizontalItemPadding:o,itemSelectedColor:l,itemColor:s}=e,d=`${t}-tab`;return{[d]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:o,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-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":{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,Q.genFocusStyle)(e)},"&:hover":{color:a},[`&${d}-active ${d}-btn`]:{color:l},[`&${d}-focus ${d}-btn:focus-visible`]:(0,Q.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 ${i}`]:{margin:0,verticalAlign:"middle"},[`${i}: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`]:{...(0,Q.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}
10,"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,et.initSlideMotion)(e,"slide-up"),(0,et.initSlideMotion)(e,"slide-down")]]})(t)]},e=>{let{cardHeight:t,cardHeightSM:n,cardHeightLG:a,controlHeight:i,controlHeightLG:r}=e,o=t||r,l=n||i,s=a||r+8;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:o,cardHeightSM:l,cardHeightLG:s,cardPadding:`${(o-e.fontHeight)/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${(l-e.fontHeight)/2-e.lineWidth}px ${e.paddingXS}px`,cardPaddingLG:`${(s-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}}),ea=t.forwardRef((e,n)=>{var s,d;let m,{type:f,className:g,rootClassName:$,size:h,onEdit:b,hideAdd:v,centered:y,addIcon:k,removeIcon:x,moreIcon:w,more:S,popupClassName:E,children:C,items:R,animated:_,style:M,indicatorSize:N,indicator:L,classNames:z,styles:T,destroyInactiveTabPane:I,destroyOnHidden:P,tabPlacement:H,tabPosition:B,...D}=e,{prefixCls:G}=D,{getPrefixCls:W,direction:A,getPopupContainer:q,className:O,style:F,classNames:X,styles:j}=(0,o.useComponentConfig)("tabs"),{tabs:J}=t.useContext(o.ConfigContext),Q=W("tabs",G),Z=(0,V.default)(Q),[ee,et]=en(Q,Z),ea=t.useRef(null);t.useImperativeHandle(n,()=>({nativeElement:ea.current})),"editable-card"===f&&(m={onEdit:(e,{key:t,event:n})=>{b?.("add"===e?n:t,e)},removeIcon:x??J?.removeIcon??t.createElement(c.default,null),addIcon:(k??J?.addIcon)||t.createElement(p.default,null),showAdd:!0!==v});let ei=W(),er=(0,l.default)(h),eo=(s=R,d=C,s?s.map(e=>({...e,destroyOnHidden:e.destroyOnHidden??e.destroyInactiveTabPane})):(0,a.toArray)(d).map(e=>{if(t.isValidElement(e)){let{key:t,props:n}=e,{tab:a,...i}=n||{};return{key:String(t),...i,label:a}}return null}).filter(e=>e)),el=function(e,t={inkBar:!0,tabPane:!1}){let n;return(n=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!0}:{inkBar:!0,..."object"==typeof t?t:{}}).tabPane&&(n.tabPaneMotion={...Y,motionName:(0,U.getTransitionName)(e,"switch")}),n}(Q,_),es={align:L?.align??J?.indicator?.align,size:L?.size??N??J?.indicator?.size??J?.indicatorSize},ed=t.useMemo(()=>{let e=H??B??void 0,t="rtl"===A;switch(e){case"start":return t?"right":"left";case"end":return t?"left":"right";default:return e}},[H,B,A]),ec={...e,size:er,tabPlacement:ed,items:eo},[eu,ep]=(0,r.useMergeSemantic)([X,z],[j,T],{props:ec},{popup:{_default:"root"}});return t.createElement(K,{ref:ea,direction:A,getPopupContainer:q,...D,items:eo,className:(0,i.clsx)({[`${Q}-large`]:"large"===er,[`${Q}-small`]:"small"===er,[`${Q}-card`]:["card","editable-card"].includes(f),[`${Q}-editable-card`]:"editable-card"===f,[`${Q}-centered`]:y},O,g,$,eu.root,ee,et,Z),classNames:{...eu,popup:(0,i.clsx)(E,ee,et,Z,eu.popup?.root)},styles:ep,style:{...ep.root,...F,...M},editable:m,more:{icon:J?.more?.icon??J?.moreIcon??w??t.createElement(u.default,null),transitionName:`${ei}-slide-up`,...S},prefixCls:Q,animated:el,indicator:es,destroyOnHidden:P??I,tabPosition:ed})});ea.TabPane=()=>null,e.s(["default",0,ea],116879);let ei=({prefixCls:e,className:n,hoverable:a=!0,...r})=>{let{getPrefixCls:l}=t.useContext(o.ConfigContext),s=l("card",e),d=(0,i.clsx)(`${s}-grid`,n,{[`${s}-grid-hoverable`]:a});return t.createElement("div",{...r,className:d})},er=(0,Z.genStyleHooks)("Card",e=>{let t=(0,ee.mergeToken)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[(e=>
10{let{componentCls:t,cardShadow:n,cardHeadPadding:a,colorBorderSecondary:i,boxShadowTertiary:r,bodyPadding:o,extraColor:l,motionDurationMid:s}=e;return{[t]:{...(0,Q.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:i,tabsMarginBottom:r}=e;return{display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:`0 ${(0,J.unit)(i)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,J.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,J.unit)(e.borderRadiusLG)} ${(0,J.unit)(e.borderRadiusLG)} 0 0`,...(0,Q.clearFix)(),"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":{display:"inline-block",flex:1,...Q.textEllipsis,[`
11          > ${n}-typography,
12          > ${n}-typography-edit-content
13        `]:{insetInlineStart:0,marginTop:0,marginBottom:0}},[`${t}-tabs-top`]:{clear:"both",marginBottom:r,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,J.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}}})(e),[`${t}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:{padding:o,borderRadius:`0 0 ${(0,J.unit)(e.borderRadiusLG)} ${(0,J.unit)(e.borderRadiusLG)}`,"&:first-child":{borderStartStartRadius:e.borderRadiusLG,borderStartEndRadius:e.borderRadiusLG},"&:not(:last-child)":{borderEndStartRadius:0,borderEndEndRadius:0}},[`${t}-grid`]:(e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:a,lineWidth:i}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
14      ${(0,J.unit)(i)} 0 0 0 ${n},
15      0 ${(0,J.unit)(i)} 0 0 ${n},
16      ${(0,J.unit)(i)} ${(0,J.unit)(i)} 0 0 ${n},
17      ${(0,J.unit)(i)} 0 0 0 ${n} inset,
18      0 ${(0,J.unit)(i)} 0 0 ${n} inset;
19    `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}})(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,J.unit)(e.borderRadiusLG)} ${(0,J.unit)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:(e=>{let{componentCls:t,iconCls:n,actionsLiMargin:a,cardActionsIconSize:i,colorBorderSecondary:r,actionsBg:o}=e;return{margin:0,padding:0,listStyle:"none",background:o,borderTop:`${(0,J.unit)(e.lineWidth)} ${e.lineType} ${r}`,display:"flex",borderRadius:`0 0 ${(0,J.unit)(e.borderRadiusLG)} ${(0,J.unit)(e.borderRadiusLG)}`,...(0,Q.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,J.unit)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:(0,J.unit)(e.calc(i).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,J.unit)(e.lineWidth)} ${e.lineType} ${r}`}}}})(e),[`${t}-meta`]:{margin:`${(0,J.unit)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex",...(0,Q.clearFix)(),"&-avatar":{paddingInlineEnd:e.padding},"&-section":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,...Q.textEllipsis},"&-description":{color:e.colorTextDescription}}},[`${t}-bordered`]:{border:`${(0,J.unit)(e.lineWidth)} ${e.lineType} ${i}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:["box-shadow","border-color"].map(e=>`${e} ${s}`).join(", "),"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${(0,J.unit)(e.borderRadiusLG)} ${(0,J.unit)(e.borderRadiusLG)} 0 0 `,[`&:not(:has(> ${t}-head))`]:{borderRadius: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:i}=e;return{[`${t}-head`]:{padding:`0 ${(0,J.unit)(a)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,J.unit)(e.padding)} ${(0,J.unit)(i)}`}}})(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:i,headerFontSizeSM:r}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:i,padding:`0 ${(0,J.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=>({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.colorBg
19Container,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:e.bodyPadding??e.paddingLG,headerPadding:e.headerPadding??e.paddingLG})),eo=e=>{let{actionClasses:n,actions:a=[],actionStyle:i}=e;return t.createElement("ul",{className:n,style:i},a.map((e,n)=>{let i=`action-${n}`;return t.createElement("li",{style:{width:`${100/a.length}%`},key:i},t.createElement("span",null,e))}))},el=t.forwardRef((e,c)=>{let u,{prefixCls:p,className:m,rootClassName:f,style:g,extra:$,headStyle:h={},bodyStyle:b={},title:v,loading:y,bordered:k,variant:x,size:w,type:S,cover:E,actions:C,tabList:R,children:_,activeTabKey:M,defaultActiveTabKey:N,tabBarExtraContent:L,hoverable:z,tabProps:T={},classNames:I,styles:P,...H}=e,{getPrefixCls:B,direction:D,className:G,style:W,classNames:A,styles:q}=(0,o.useComponentConfig)("card"),[O]=(0,s.default)("card",x,k),F=(0,l.default)(w),X={...e,size:F,variant:O},[j,K]=(0,r.useMergeSemantic)([A,I],[q,P],{props:X}),V=t.useMemo(()=>(0,a.toArray)(_).some(e=>t.isValidElement(e)&&e.type===ei),[_]),U=B("card",p),[Y,J]=er(U),Q=t.createElement(d.default,{loading:!0,active:!0,paragraph:{rows:4},title:!1},_),Z=void 0!==M,ee={...T,[Z?"activeKey":"defaultActiveKey"]:Z?M:N,tabBarExtraContent:L},et=R?t.createElement(ea,{size:"small"!==F?"large":F,...ee,className:`${U}-head-tabs`,onChange:t=>{e.onTabChange?.(t)},items:R.map(({tab:e,...t})=>({label:e,...t}))}):null;if(v||$||et){let e=(0,i.clsx)(`${U}-head`,j.header),n=(0,i.clsx)(`${U}-head-title`,j.title),a=(0,i.clsx)(`${U}-extra`,j.extra),r={...h,...K.header};u=t.createElement("div",{className:e,style:r},t.createElement("div",{className:`${U}-head-wrapper`},v&&t.createElement("div",{className:n,style:K.title},v),$&&t.createElement("div",{className:a,style:K.extra},$)),et)}let en=(0,i.clsx)(`${U}-cover`,j.cover),el=E?t.createElement("div",{className:en,style:K.cover},E):null,es=(0,i.clsx)(`${U}-body`,j.body),ed={...b,...K.body},ec=t.createElement("div",{className:es,style:ed},y?Q:_),eu=(0,i.clsx)(`${U}-actions`,j.actions),ep=C?.length?t.createElement(eo,{actionClasses:eu,actionStyle:K.actions,actions:C}):null,em=(0,n.omit)(H,["onTabChange"]),ef=(0,i.clsx)(U,G,{[`${U}-loading`]:y,[`${U}-bordered`]:"borderless"!==O,[`${U}-hoverable`]:z,[`${U}-contain-grid`]:V,[`${U}-contain-tabs`]:R?.length,[`${U}-small`]:"small"===F,[`${U}-type-${S}`]:!!S,[`${U}-rtl`]:"rtl"===D},m,f,Y,J,j.root),eg={...K.root,...W,...g};return t.createElement("div",{ref:c,...em,className:ef,style:eg},u,el,ec,ep)});el.Grid=ei,el.Meta=e=>{let{prefixCls:n,className:a,avatar:l,title:s,description:d,style:c,classNames:u,styles:p,...m}=e,{getPrefixCls:f,className:g,style:$,classNames:h,styles:b}=(0,o.useComponentConfig)("cardMeta"),v=f("card",n),y=`${v}-meta`,[k,x]=(0,r.useMergeSemantic)([h,u],[b,p],{props:e}),w=(0,i.clsx)(y,a,g,k.root),S={...$,...x.root,...c},E=(0,i.clsx)(`${y}-avatar`,k.avatar),C=(0,i.clsx)(`${y}-title`,k.title),R=(0,i.clsx)(`${y}-description`,k.description),_=(0,i.clsx)(`${y}-section`,k.section),M=l?t.createElement("div",{className:E,style:x.avatar},l):null,N=s?t.createElement("div",{className:C,style:x.title},s):null,L=d?t.createElement("div",{className:R,style:x.description},d):null,z=N||L?t.createElement("div",{className:_,style:x.section},N,L):null;return t.createElement("div",{...m,className:w,style:S},M,z)},e.s(["default",0,el],871062)}]);

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.