You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
14 KiB
1 line
14 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[17408],{3148:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(81978),i=n(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=n(1393),l=function(e,t){return i.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var d=i.forwardRef(l)},18889:function(e,t,n){n.d(t,{Z:function(){return P}});var r=n(92310),i=n.n(r),a=n(55405),o=n(59301),l=n(36355),d=n(19716),s=n(66999),c=n(99313),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};var p=e=>{var{prefixCls:t,className:n,hoverable:r=!0}=e,a=g(e,["prefixCls","className","hoverable"]);const{getPrefixCls:d}=o.useContext(l.E_),s=d("card",t),c=i()(`${s}-grid`,n,{[`${s}-grid-hoverable`]:r});return o.createElement("div",Object.assign({},a,{className:c}))},h=n(17313),b=n(83116),m=n(37613);const $=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:i,tabsMarginBottom:a}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${i}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},(0,h.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},h.vS),{[`\n > ${n}-typography,\n > ${n}-typography-edit-content\n `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:a,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},f=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:i}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`\n ${i}px 0 0 0 ${n},\n 0 ${i}px 0 0 ${n},\n ${i}px ${i}px 0 0 ${n},\n ${i}px 0 0 0 ${n} inset,\n 0 ${i}px 0 0 ${n} inset;\n `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},u=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:i,colorBorderSecondary:a,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${e.lineWidth}px ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},(0,h.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:2*e.cardActionsIconSize,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.colorTextDescription,lineHeight:e.fontSize*e.lineHeight+"px",transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:i*e.lineHeight+"px"}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${a}`}}})},x=e=>Object.assign(Object.assign({margin:`-${e.marginXXS}px 0`,display:"flex"},(0,h.dF)()),{"&-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},h.vS),"&-description":{color:e.colorTextDescription}}),y=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},v=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},S=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:i,colorBorderSecondary:a,boxShadowTertiary:o,cardPaddingBase:l,extraColor:d}=e;return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:o},[`${n}-head`]:$(e),[`${n}-extra`]:{marginInlineStart:"auto",color:d,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},(0,h.dF)()),[`${n}-grid`]:f(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${n}-actions`]:u(e),[`${n}-meta`]:x(e)}),[`${n}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${a}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{[`${n}-head-title, ${n}-extra`]:{paddingTop:i}}},[`${n}-type-inner`]:y(e),[`${n}-loading`]:v(e),[`${n}-rtl`]:{direction:"rtl"}}},O=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:i}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${n}px`,fontSize:i,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:r,paddingTop:0,display:"flex",alignItems:"center"}}}}};var w=(0,b.Z)("Card",(e=>{const t=(0,m.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[S(t),O(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.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}))),z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};const C=o.forwardRef(((e,t)=>{const{prefixCls:n,className:r,rootClassName:g,style:h,extra:b,headStyle:m={},bodyStyle:$={},title:f,loading:u,bordered:x=!0,size:y,type:v,cover:S,actions:O,tabList:C,children:j,activeTabKey:E,defaultActiveTabKey:B,tabBarExtraContent:P,hoverable:N,tabProps:M={}}=e,T=z(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:I,direction:k,card:W}=o.useContext(l.E_),H=o.useMemo((()=>{let e=!1;return o.Children.forEach(j,(t=>{t&&t.type&&t.type===p&&(e=!0)})),e}),[j]),G=I("card",n),[L,R]=w(G),Z=o.createElement(s.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},j),A=void 0!==E,D=Object.assign(Object.assign({},M),{[A?"activeKey":"defaultActiveKey"]:A?E:B,tabBarExtraContent:P});let F;const K=(0,d.Z)(y),X=K&&"default"!==K?K:"large",_=C?o.createElement(c.Z,Object.assign({size:X},D,{className:`${G}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:C.map((e=>{var{tab:t}=e,n=z(e,["tab"]);return Object.assign({label:t},n)}))})):null;(f||b||_)&&(F=o.createElement("div",{className:`${G}-head`,style:m},o.createElement("div",{className:`${G}-head-wrapper`},f&&o.createElement("div",{className:`${G}-head-title`},f),b&&o.createElement("div",{className:`${G}-extra`},b)),_));const V=S?o.createElement("div",{className:`${G}-cover`},S):null,Y=o.createElement("div",{className:`${G}-body`,style:$},u?Z:j),q=O&&O.length?o.createElement("ul",{className:`${G}-actions`},function(e){return e.map(((t,n)=>o.createElement("li",{style:{width:100/e.length+"%"},key:`action-${n}`},o.createElement("span",null,t))))}(O)):null,J=(0,a.Z)(T,["onTabChange"]),Q=i()(G,null==W?void 0:W.className,{[`${G}-loading`]:u,[`${G}-bordered`]:x,[`${G}-hoverable`]:N,[`${G}-contain-grid`]:H,[`${G}-contain-tabs`]:C&&C.length,[`${G}-${K}`]:K,[`${G}-type-${v}`]:!!v,[`${G}-rtl`]:"rtl"===k},r,g,R),U=Object.assign(Object.assign({},null==W?void 0:W.style),h);return L(o.createElement("div",Object.assign({ref:t},J,{className:Q,style:U}),F,V,Y,q))}));var j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};var E=e=>{const{prefixCls:t,className:n,avatar:r,title:a,description:d}=e,s=j(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:c}=o.useContext(l.E_),g=c("card",t),p=i()(`${g}-meta`,n),h=r?o.createElement("div",{className:`${g}-meta-avatar`},r):null,b=a?o.createElement("div",{className:`${g}-meta-title`},a):null,m=d?o.createElement("div",{className:`${g}-meta-description`},d):null,$=b||m?o.createElement("div",{className:`${g}-meta-detail`},b,m):null;return o.createElement("div",Object.assign({},s,{className:p}),h,$)};const B=C;B.Grid=p,B.Meta=E;var P=B},28103:function(e,t,n){n.d(t,{Z:function(){return h}});var r=n(92310),i=n.n(r),a=n(59301),o=n(36355),l=n(17313),d=n(83116),s=n(37613);const c=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:i,textPaddingInline:a,orientationMargin:o,verticalMarginInline:d}=e;return{[t]:Object.assign(Object.assign({},(0,l.Wf)(e)),{borderBlockStart:`${i}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:d,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${i}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${i}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:100*o+"%"},"&::after":{width:100-100*o+"%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:100-100*o+"%"},"&::after":{width:100*o+"%"}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${i}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};var g=(0,d.Z)("Divider",(e=>{const t=(0,s.TS)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[c(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}))),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};var h=e=>{const{getPrefixCls:t,direction:n,divider:r}=a.useContext(o.E_),{prefixCls:l,type:d="horizontal",orientation:s="center",orientationMargin:c,className:h,rootClassName:b,children:m,dashed:$,plain:f,style:u}=e,x=p(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),y=t("divider",l),[v,S]=g(y),O=s.length>0?`-${s}`:s,w=!!m,z="left"===s&&null!=c,C="right"===s&&null!=c,j=i()(y,null==r?void 0:r.className,S,`${y}-${d}`,{[`${y}-with-text`]:w,[`${y}-with-text${O}`]:w,[`${y}-dashed`]:!!$,[`${y}-plain`]:!!f,[`${y}-rtl`]:"rtl"===n,[`${y}-no-default-orientation-margin-left`]:z,[`${y}-no-default-orientation-margin-right`]:C},h,b),E=a.useMemo((()=>"number"==typeof c?c:/^\d+$/.test(c)?Number(c):c),[c]),B=Object.assign(Object.assign({},z&&{marginLeft:E}),C&&{marginRight:E});return v(a.createElement("div",Object.assign({className:j,style:Object.assign(Object.assign({},null==r?void 0:r.style),u)},x,{role:"separator"}),m&&"vertical"!==d&&a.createElement("span",{className:`${y}-inner-text`,style:B},m)))}}}]); |