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.

154 lines
210 KiB

5 months ago
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[335],{82947:function(Yn,Je){"use strict";var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};Je.Z=v},29676:function(Yn,Je,v){"use strict";v.d(Je,{Z:function(){return Ie}});var k=v(1413),B=v(4942),be=v(71002),pe=v(97685),M=v(91),Ke=v(87462),i=v(67294),Ce=v(50756),un=v(5627),gn=function(T,ue){return i.createElement(un.Z,(0,Ke.Z)({},T,{ref:ue,icon:Ce.Z}))},fn=i.forwardRef(gn),m=fn,Oe=v(48874),ge=v(28459),en=v(13169),ke=v(25378),cn=v(93967),an=v.n(cn),xn=v(97435),Re=v(21770),we=v(98082),Ln=function(T){var ue=T.componentCls,Fe=T.antCls;return(0,B.Z)({},"".concat(ue,"-actions"),(0,B.Z)((0,B.Z)({marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none",display:"flex",gap:T.marginXS,background:T.colorBgContainer,borderBlockStart:"".concat(T.lineWidth,"px ").concat(T.lineType," ").concat(T.colorSplit),minHeight:42},"& > *",{alignItems:"center",justifyContent:"center",flex:1,display:"flex",cursor:"pointer",color:T.colorTextSecondary,transition:"color 0.3s","&:hover":{color:T.colorPrimaryHover}}),"& > li > div",{flex:1,width:"100%",marginBlock:T.marginSM,marginInline:0,color:T.colorTextSecondary,textAlign:"center",a:{color:T.colorTextSecondary,transition:"color 0.3s","&:hover":{color:T.colorPrimaryHover}},div:(0,B.Z)((0,B.Z)({position:"relative",display:"block",minWidth:32,fontSize:T.fontSize,lineHeight:T.lineHeight,cursor:"pointer","&:hover":{color:T.colorPrimaryHover,transition:"color 0.3s"}},"a:not(".concat(Fe,`-btn),
> .anticon`),{display:"inline-block",width:"100%",color:T.colorTextSecondary,lineHeight:"22px",transition:"color 0.3s","&:hover":{color:T.colorPrimaryHover}}),".anticon",{fontSize:T.cardActionIconSize,lineHeight:"22px"}),"&:not(:last-child)":{borderInlineEnd:"".concat(T.lineWidth,"px ").concat(T.lineType," ").concat(T.colorSplit)}}))};function Pe(ae){return(0,we.Xj)("ProCardActions",function(T){var ue=(0,k.Z)((0,k.Z)({},T),{},{componentCls:".".concat(ae),cardActionIconSize:16});return[Ln(ue)]})}var o=v(85893),On=function(T){var ue=T.actions,Fe=T.prefixCls,pn=Pe(Fe),on=pn.wrapSSR,In=pn.hashId;return Array.isArray(ue)&&ue!==null&&ue!==void 0&&ue.length?on((0,o.jsx)("ul",{className:an()("".concat(Fe,"-actions"),In),children:ue.map(function(zn,Nn){return(0,o.jsx)("li",{style:{width:"".concat(100/ue.length,"%"),padding:0,margin:0},className:an()("".concat(Fe,"-actions-item"),In),children:zn},"action-".concat(Nn))})})):on((0,o.jsx)("ul",{className:an()("".concat(Fe,"-actions"),In),children:ue}))},Ge=On,wn=v(71230),nn=v(15746),Qn=v(54548),tt=new Qn.E4("card-loading",{"0%":{backgroundPosition:"0 50%"},"50%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Fn=function(T){return(0,B.Z)({},T.componentCls,(0,B.Z)((0,B.Z)({"&-loading":{overflow:"hidden"},"&-loading &-body":{userSelect:"none"}},"".concat(T.componentCls,"-loading-content"),{width:"100%",p:{marginBlock:0,marginInline:0}}),"".concat(T.componentCls,"-loading-block"),{height:"14px",marginBlock:"4px",background:"linear-gradient(90deg, rgba(54, 61, 64, 0.2), rgba(54, 61, 64, 0.4), rgba(54, 61, 64, 0.2))",backgroundSize:"600% 600%",borderRadius:T.borderRadius,animationName:tt,animationDuration:"1.4s",animationTimingFunction:"ease",animationIterationCount:"infinite"}))};function vt(ae){return(0,we.Xj)("ProCardLoading",function(T){var ue=(0,k.Z)((0,k.Z)({},T),{},{componentCls:".".concat(ae)});return[Fn(ue)]})}var Wn=function(T){var ue=T.style,Fe=T.prefix,pn=vt(Fe||"ant-pro-card"),on=pn.wrapSSR;return on((0,o.jsxs)("div",{className:"".concat(Fe,"-loading-content"),style:ue,children:[(0,o.jsx)(wn.Z,{gutter:8,children:(0,o.jsx)(nn.Z,{span:22,children:(0,o.jsx)("div",{className:"".concat(Fe,"-loading-block")})})}),(0,o.jsxs)(wn.Z,{gutter:8,children:[(0,o.jsx)(nn.Z,{span:8,children:(0,o.jsx)("div",{className:"".concat(Fe,"-loading-block")})}),(0,o.jsx)(nn.Z,{span:15,children:(0,o.jsx)("div",{className:"".concat(Fe,"-loading-block")})})]}),(0,o.jsxs)(wn.Z,{gutter:8,children:[(0,o.jsx)(nn.Z,{span:6,children:(0,o.jsx)("div",{className:"".concat(Fe,"-loading-block")})}),(0,o.jsx)(nn.Z,{span:18,children:(0,o.jsx)("div",{className:"".concat(Fe,"-loading-block")})})]}),(0,o.jsxs)(wn.Z,{gutter:8,children:[(0,o.jsx)(nn.Z,{span:13,children:(0,o.jsx)("div",{className:"".concat(Fe,"-loading-block")})}),(0,o.jsx)(nn.Z,{span:9,children:(0,o.jsx)("div",{className:"".concat(Fe,"-loading-block")})})]}),(0,o.jsxs)(wn.Z,{gutter:8,children:[(0,o.jsx)(nn.Z,{span:4,children:(0,o.jsx)("div",{className:"".concat(Fe,"-loading-block")})}),(0,o.jsx)(nn.Z,{span:3,children:(0,o.jsx)("div",{className:"".concat(Fe,"-loading-block")})}),(0,o.jsx)(nn.Z,{span:16,children:(0,o.jsx)("div",{className:"".concat(Fe,"-loading-block")})})]})]}))},He=Wn,qe=v(13286),ut=function(T){return{backgroundColor:T.controlItemBgActive,borderColor:T.controlOutline}},rt=function(T){var ue=T.componentCls;return(0,B.Z)((0,B.Z)((0,B.Z)({},ue,(0,k.Z)((0,k.Z)({position:"relative",display:"flex",flexDirection:"column",boxSizing:"border-box",width:"100%",marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,backgroundColor:T.colorBgContainer,borderRadius:T.borderRadius},we.Wf===null||we.Wf===void 0?void 0:(0,we.Wf)(T)),{},(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)({"&-box-shadow":{boxShadow:"0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017",borderColor:"transparent"},"&-col":{width:"100%"},"&-border":{border:"".concat(T.lineWidth,"px ").concat(T.lineType," ").concat(T.colorSplit)},"&-hoverable":(0,B.Z)({cursor:"pointer",transition:"box-shadow 0.
.anticon {
display: inline-flex;
align-items: center;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,Zn=function(fe){var ce=(0,M.useContext)(tn),ie=ce.csp,We=ce.prefixCls,vn=Hn;We&&(vn=vn.replace(/anticon/g,We)),(0,M.useEffect)(function(){var ln=fe.current,Se=(0,ue.A)(ln);(0,T.hq)(vn,"@ant-design-icons",{prepend:!0,csp:ie,attachTo:Se})},[])},hn=["icon","className","onClick","style","primaryColor","secondaryColor"],yn={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Cn(Y){var fe=Y.primaryColor,ce=Y.secondaryColor;yn.primaryColor=fe,yn.secondaryColor=ce||En(fe),yn.calculated=!!ce}function De(){return(0,Ie.Z)({},yn)}var Bn=function(fe){var ce=fe.icon,ie=fe.className,We=fe.onClick,vn=fe.style,ln=fe.primaryColor,Se=fe.secondaryColor,Ye=(0,pe.Z)(fe,hn),Ve=M.useRef(),Ne=yn;if(ln&&(Ne={primaryColor:ln,secondaryColor:Se||En(ln)}),Zn(Ve),on(In(ce),"icon should be icon definiton, but got ".concat(ce)),!In(ce))return null;var Me=ce;return Me&&typeof Me.icon=="function"&&(Me=(0,Ie.Z)((0,Ie.Z)({},Me),{},{icon:Me.icon(Ne.primaryColor,Ne.secondaryColor)})),Nn(Me.icon,"svg-".concat(Me.name),(0,Ie.Z)((0,Ie.Z)({className:ie,onClick:We,style:vn,"data-icon":Me.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ye),{},{ref:Ve}))};Bn.displayName="IconReact",Bn.getTwoToneColors=De,Bn.setTwoToneColors=Cn;var Vn=Bn;function Rn(Y){var fe=at(Y),ce=(0,B.Z)(fe,2),ie=ce[0],We=ce[1];return Vn.setTwoToneColors({primaryColor:ie,secondaryColor:We})}function An(){var Y=Vn.getTwoToneColors();return Y.calculated?[Y.primaryColor,Y.secondaryColor]:Y.primaryColor}var kn=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Rn(ut.primary);var Pn=M.forwardRef(function(Y,fe){var ce=Y.className,ie=Y.icon,We=Y.spin,vn=Y.rotate,ln=Y.tabIndex,Se=Y.onClick,Ye=Y.twoToneColor,Ve=(0,pe.Z)(Y,kn),Ne=M.useContext(tn),Me=Ne.prefixCls,Qe=Me===void 0?"anticon":Me,dn=Ne.rootClassName,Un=i()(dn,Qe,(0,be.Z)((0,be.Z)({},"".concat(Qe,"-").concat(ie.name),!!ie.name),"".concat(Qe,"-spin"),!!We||ie.name==="loading"),ce),Kn=ln;Kn===void 0&&Se&&(Kn=-1);var Ct=vn?{msTransform:"rotate(".concat(vn,"deg)"),transform:"rotate(".concat(vn,"deg)")}:void 0,Xn=at(Ye),bt=(0,B.Z)(Xn,2),gt=bt[0],Et=bt[1];return M.createElement("span",(0,k.Z)({role:"img","aria-label":ie.name},Ve,{ref:fe,tabIndex:Kn,onClick:Se,className:Un}),M.createElement(Vn,{icon:ie,primaryColor:gt,secondaryColor:Et,style:Ct}))});Pn.displayName="AntdIcon",Pn.getTwoToneColor=An,Pn.setTwoToneColor=Rn;var bn=Pn},57470:function(Yn,Je,v){"use strict";v.d(Je,{t:function(){return xt}});var k=v(91),B=v(97685),be=v(1413),pe=v(10915),M=v(12044),Ke=v(21770),i=v(15746),Ce=v(28459),un=v(71230),gn=v(8232),fn=v(93967),m=v.n(fn),Oe=v(9220),ge=v(67294),en=v(78733),ke=v(87462),cn=v(66023),an=v(46976),xn=function(re,tn){return ge.createElement(an.Z,(0,ke.Z)({},re,{ref:tn,icon:cn.Z}))},Re=ge.forwardRef(xn),we=Re,Ln=v(28700),Pe=v(78957),o=v(85893),On=function(re,tn,Ie,ae){return re?(0,o.jsxs)(o.Fragment,{children:[Ie.getMessage("tableForm.collapsed","\u5C55\u5F00"),ae&&"(".concat(ae,")"),(0,o.jsx)(we,{style:{marginInlineStart:"0.5em",transition:"0.3s all",transform:"rotate(".concat(re?0:.5,"turn)")}})]}):(0,o.jsxs)(o.Fragment,{children:[Ie.getMessage("tableForm.expand","\u6536\u8D77"),(0,o.jsx)(we,{style:{marginInlineStart:"0.5em",transition:"0.3s all",transform:"rotate(".concat(re?0:.5,"turn)")}})]})},Ge=function(re){var tn=re.setCollapsed,Ie=re.collapsed,ae=Ie===void 0?!1:Ie,T=re.submitter,ue=re.style,Fe=re.hiddenNum,pn=(0,ge.useContext)(Ce.ZP.ConfigContext),on=pn.getPrefixCls,In=(0,pe.YB)(),zn=(0,ge.useContext)(pe.L_),Nn=zn.hashId,En=(0,Ln.v)(re.collapseRender)||On;return(0,o.jsxs)(Pe.Z,{style:ue,size:16,children:[T,re.collapseRender!==!1&&(0,o.jsx)("a",{className:"".concat(on("pro-query-filter-collapse-button")," ").concat(Nn).trim(),onClick:function(){return tn(!ae)},children:En==null?void 0:En(ae,re,In,Fe)})]})},wn=Ge,nn=v(4942),Qn=v(98082),tt=function(re){return(0,nn.Z)({},re.componentCls,(0,nn.Z)((0,nn.Z)((0,nn.Z)((0,nn.Z)({"&&":{padding:24}},"".concat(re.antCls,"-form-item"),{marginBlock:0}),"".concat(re.proComponentsCls,"-form-group-title"),{marginBlock:0}),"&-row",{rowGap:24,"&-
https://procomponents.ant.design/components/editable-table#editable-%E6%96%B0%E5%BB%BA%E8%A1%8C`),new Error("\u8BF7\u8BBE\u7F6E recordCreatorProps.record \u5E76\u8FD4\u56DE\u4E00\u4E2A\u552F\u4E00\u7684key");if(x.add(F),b(Array.from(x)),(w==null?void 0:w.newRecordType)==="dataSource"||n.tableName){var K,G={data:n.dataSource,getRowKey:n.getRowKey,row:(0,i.Z)((0,i.Z)({},z),{},{map_row_parentKey:w!=null&&w.parentKey?(K=ce(w==null?void 0:w.parentKey))===null||K===void 0?void 0:K.toString():void 0}),key:F,childrenColumnName:n.childrenColumnName||"children"};n.setDataSource(ie(G,(w==null?void 0:w.position)==="top"?"top":"update"))}else a({defaultValue:z,options:(0,i.Z)((0,i.Z)({},w),{},{recordKey:F})});return!0}),R=(0,Re.YB)(),O=(n==null?void 0:n.saveText)||R.getMessage("editableTable.action.save","\u4FDD\u5B58"),q=(n==null?void 0:n.deleteText)||R.getMessage("editableTable.action.delete","\u5220\u9664"),L=(n==null?void 0:n.cancelText)||R.getMessage("editableTable.action.cancel","\u53D6\u6D88"),C=(0,De.J)(function(){var z=(0,B.Z)((0,k.Z)().mark(function w(F,K,G,ne){var U,Q,D,W,oe,ve,Te;return(0,k.Z)().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.next=2,n==null||(U=n.onSave)===null||U===void 0?void 0:U.call(n,F,K,G,ne);case 2:return W=ye.sent,ye.next=5,X(F);case 5:if(oe=ne||u.current||{},ve=oe.options,!(!(ve!=null&&ve.parentKey)&&(ve==null?void 0:ve.recordKey)===F)){ye.next=9;break}return(ve==null?void 0:ve.position)==="top"?n.setDataSource([K].concat((0,Ke.Z)(n.dataSource))):n.setDataSource([].concat((0,Ke.Z)(n.dataSource),[K])),ye.abrupt("return",W);case 9:return Te={data:n.dataSource,getRowKey:n.getRowKey,row:ve?(0,i.Z)((0,i.Z)({},K),{},{map_row_parentKey:(Q=ce((D=ve==null?void 0:ve.parentKey)!==null&&D!==void 0?D:""))===null||Q===void 0?void 0:Q.toString()}):K,key:F,childrenColumnName:n.childrenColumnName||"children"},n.setDataSource(ie(Te,(ve==null?void 0:ve.position)==="top"?"top":"update")),ye.next=13,X(F);case 13:return ye.abrupt("return",W);case 14:case"end":return ye.stop()}},w)}));return function(w,F,K,G){return z.apply(this,arguments)}}()),$=(0,De.J)(function(){var z=(0,B.Z)((0,k.Z)().mark(function w(F,K){var G,ne,U;return(0,k.Z)().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return ne={data:n.dataSource,getRowKey:n.getRowKey,row:K,key:F,childrenColumnName:n.childrenColumnName||"children"},D.next=3,n==null||(G=n.onDelete)===null||G===void 0?void 0:G.call(n,F,K);case 3:return U=D.sent,D.next=6,X(F,!1);case 6:return n.setDataSource(ie(ne,"delete")),D.abrupt("return",U);case 8:case"end":return D.stop()}},w)}));return function(w,F){return z.apply(this,arguments)}}()),A=(0,De.J)(function(){var z=(0,B.Z)((0,k.Z)().mark(function w(F,K,G,ne){var U,Q;return(0,k.Z)().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,n==null||(U=n.onCancel)===null||U===void 0?void 0:U.call(n,F,K,G,ne);case 2:return Q=W.sent,W.abrupt("return",Q);case 4:case"end":return W.stop()}},w)}));return function(w,F,K,G){return z.apply(this,arguments)}}()),ee=function(w){var F=n.getRowKey(w,w.index),K={saveText:O,cancelText:L,deleteText:q,addEditRecord:I,recordKey:F,cancelEditable:X,index:w.index,tableName:n.tableName,newLineConfig:t,onCancel:A,onDelete:$,onSave:C,editableKeys:y,setEditableRowKeys:b,deletePopconfirmMessage:n.deletePopconfirmMessage||"".concat(R.getMessage("deleteThisLine","\u5220\u9664\u6B64\u9879"),"?")},G=Se(w,K);return n.tableName?H.current.set(s.current.get(ce(F))||ce(F),G.saveRef):H.current.set(ce(F),G.saveRef),n.actionRender?n.actionRender(w,K,{save:G.save,delete:G.delete,cancel:G.cancel}):[G.save,G.delete,G.cancel]};return{editableKeys:y,setEditableRowKeys:b,isEditable:N,actionRender:ee,startEditable:j,cancelEditable:X,addEditRecord:I,saveEditable:E,newLineRecord:t,preEditableKeys:S,onValuesChange:P,getRealIndex:n.getRealIndex}}var Ve=v(51812),Ne=v(53914),Me=v(78164),Qe=v(72051),dn=v(28459),Un=v(72378),Kn=v.n(Un),Ct=function(e){return e!=null};function Xn(n,e,r){var t,a;if(n===!1)return!1;var c=e.total,l=e.current,s=e.pageSize,u=e.setPageInfo,d=(0,be.Z)(n)==="object"?n:{};return(0,i
.anticon {
display: inline-flex;
align-items: center;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,Al=function(e){var r=(0,o.useContext)(fa),t=r.csp,a=r.prefixCls,c=Dl;a&&(c=c.replace(/anticon/g,a)),(0,o.useEffect)(function(){var l=e.current,s=(0,Bl.A)(l);(0,Ml.hq)(c,"@ant-design-icons",{prepend:!0,csp:t,attachTo:s})},[])},Kl=["icon","className","onClick","style","primaryColor","secondaryColor"],Xt={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Wl(n){var e=n.primaryColor,r=n.secondaryColor;Xt.primaryColor=e,Xt.secondaryColor=r||ga(e),Xt.calculated=!!r}function Hl(){return(0,i.Z)({},Xt)}var ir=function(e){var r=e.icon,t=e.className,a=e.onClick,c=e.style,l=e.primaryColor,s=e.secondaryColor,u=(0,Ce.Z)(e,Kl),d=o.useRef(),f=Xt;if(l&&(f={primaryColor:l,secondaryColor:s||ga(l)}),Al(d),zl(va(r),"icon should be icon definiton, but got ".concat(r)),!va(r))return null;var p=r;return p&&typeof p.icon=="function"&&(p=(0,i.Z)((0,i.Z)({},p),{},{icon:p.icon(f.primaryColor,f.secondaryColor)})),$r(p.icon,"svg-".concat(p.name),(0,i.Z)((0,i.Z)({className:t,onClick:a,style:c,"data-icon":p.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},u),{},{ref:d}))};ir.displayName="IconReact",ir.getTwoToneColors=Hl,ir.setTwoToneColors=Wl;var jr=ir;function ha(n){var e=pa(n),r=(0,pe.Z)(e,2),t=r[0],a=r[1];return jr.setTwoToneColors({primaryColor:t,secondaryColor:a})}function Vl(){var n=jr.getTwoToneColors();return n.calculated?[n.primaryColor,n.secondaryColor]:n.primaryColor}var Ul=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];ha(Fl.primary);var sr=o.forwardRef(function(n,e){var r=n.className,t=n.icon,a=n.spin,c=n.rotate,l=n.tabIndex,s=n.onClick,u=n.twoToneColor,d=(0,Ce.Z)(n,Ul),f=o.useContext(fa),p=f.prefixCls,h=p===void 0?"anticon":p,Z=f.rootClassName,g=He()(Z,h,(0,M.Z)((0,M.Z)({},"".concat(h,"-").concat(t.name),!!t.name),"".concat(h,"-spin"),!!a||t.name==="loading"),r),y=l;y===void 0&&s&&(y=-1);var b=c?{msTransform:"rotate(".concat(c,"deg)"),transform:"rotate(".concat(c,"deg)")}:void 0,x=pa(u),S=(0,pe.Z)(x,2),N=S[0],j=S[1];return o.createElement("span",(0,Pe.Z)({role:"img","aria-label":t.name},d,{ref:e,tabIndex:y,onClick:s,className:g}),o.createElement(jr,{icon:t,primaryColor:N,secondaryColor:j,style:b}))});sr.displayName="AntdIcon",sr.getTwoToneColor=Vl,sr.setTwoToneColor=ha;var pt=sr,Xl=function(e,r){return o.createElement(pt,(0,Pe.Z)({},e,{ref:r,icon:wl.Z}))},Gl=o.forwardRef(Xl),Jl=Gl,Yl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"},Ql=Yl,kl=function(e,r){return o.createElement(pt,(0,Pe.Z)({},e,{ref:r,icon:Ql}))},ql=o.forwardRef(kl),_l=ql,ei={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 474H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zm-353.6-74.7c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H550V104c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v156h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.6zm11.4 225.4a7.14 7.14 0 00-11.3 0L405.6 752.3a7.23 7.23 0 005.7 11.7H474v156c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V764h62.8c6 0 9.4-7 5.7-11.7L517.7 624.7z"}}]},name:"vertical-align-middle",theme:"outlined"},ni=ei,ti=function(e,r){return o.createElement(pt,(0,Pe.Z)({},e,{ref:r,icon:ni}))},ri=o.forwardRef(ti),ai=ri,oi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-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.8z"}}]},name:"vertical-align-bottom",theme:"outlined"},li=oi,ii=function(e,r){return o.createElement(pt,(0,Pe.Z)({},e,{ref:r,icon:li}))},si=o.forwardRef(ii),ci=si,di
h${t}&,
div&-h${t},
div&-h${t} > textarea,
h${t}
`]=$i(n[`fontSizeHeading${t}`],n[`lineHeightHeading${t}`],n.colorTextHeading,n)}),r},Oi=n=>{const{componentCls:e}=n;return{"a&, a":Object.assign(Object.assign({},(0,xa.N)(n)),{textDecoration:n.linkDecoration,"&:active, &:hover":{textDecoration:n.linkHoverDecoration},[`&[disabled], &${e}-disabled`]:{color:n.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:n.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},Fi=n=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:n.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:n.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:Pi.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:n.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),Ni=n=>{const{componentCls:e,paddingSM:r}=n,t=r;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:n.calc(n.paddingSM).mul(-1).equal(),marginTop:n.calc(t).mul(-1).equal(),marginBottom:`calc(1em - ${(0,$e.bf)(t)})`},[`${e}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:n.calc(n.marginXS).add(2).equal(),insetBlockEnd:n.marginXS,color:n.colorTextDescription,fontWeight:"normal",fontSize:n.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},Mi=n=>({[`${n.componentCls}-copy-success`]:{[`
&,
&:hover,
&:focus`]:{color:n.colorSuccess}},[`${n.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),Bi=()=>({[`
a&-ellipsis,
span&-ellipsis
`]:{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Li=n=>{const{componentCls:e,titleMarginTop:r}=n;return{[e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:n.colorText,wordBreak:"break-word",lineHeight:n.lineHeight,[`&${e}-secondary`]:{color:n.colorTextDescription},[`&${e}-success`]:{color:n.colorSuccess},[`&${e}-warning`]:{color:n.colorWarning},[`&${e}-danger`]:{color:n.colorError,"a&:active, a&:focus":{color:n.colorErrorActive},"a&:hover":{color:n.colorErrorHover}},[`&${e}-disabled`]:{color:n.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[`
div&,
p
`]:{marginBottom:"1em"}},ji(n)),{[`
& + h1${e},
& + h2${e},
& + h3${e},
& + h4${e},
& + h5${e}
`]:{marginTop:r},[`
div,
ul,
li,
p,
h1,
h2,
h3,
h4,
h5`]:{[`
+ h1,
+ h2,
+ h3,
+ h4,
+ h5
`]:{marginTop:r}}}),Fi(n)),Oi(n)),{[`
${e}-expand,
${e}-collapse,
${e}-edit,
${e}-copy
`]:Object.assign(Object.assign({},(0,xa.N)(n)),{marginInlineStart:n.marginXXS})}),Ni(n)),Mi(n)),Bi()),{"&-rtl":{direction:"rtl"}})}},zi=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var Za=(0,T.I$)("Typography",n=>[Li(n)],zi),Di=n=>{const{prefixCls:e,"aria-label":r,className:t,style:a,direction:c,maxLength:l,autoSize:s=!0,value:u,onSave:d,onCancel:f,onEnd:p,component:h,enterIcon:Z=o.createElement(Ti,null)}=n,g=o.useRef(null),y=o.useRef(!1),b=o.useRef(),[x,S]=o.useState(u);o.useEffect(()=>{S(u)},[u]),o.useEffect(()=>{if(g.current&&g.current.resizableTextArea){const{textArea:C}=g.current.resizableTextArea;C.focus();const{length:$}=C.value;C.setSelectionRange($,$)}},[]);const N=C=>{let{target:$}=C;S($.value.replace(/[\n\r]/g,""))},j=()=>{y.current=!0},X=()=>{y.current=!1},V=C=>{let{keyCode:$}=C;y.current||(b.current=$)},P=()=>{d(x.trim())},H=C=>{let{keyCode:$,ctrlKey:A,altKey:ee,metaKey:z,shiftKey:w}=C;b.current===$&&!y.current&&!A&&!ee&&!z&&!w&&($===Ft.Z.ENTER?(P(),p==null||p()):$===Ft.Z.ESC&&f())},E=()=>{P()},I=h?`${e}-${h}`:"",[R,O,q]=Za(e),L=He()(e,`${e}-edit-content`,{[`${e}-rtl`]:c==="rtl"},t,I,O,q);return R(o.createElement("div",{className:L,style:a},o.createElement(Ei.Z,{ref:g,maxLength:l,value:x,onChange:N,onKeyDown:V,onKeyUp:H,onCompositionStart:j,onCompositionEnd:X,onBlur:E,"aria-label":r,rows:1,autoSize:s}),Z!==null?(0,wi.Tm)(Z,{className:`${e}-edit-content-confirm`}):null))},Ai=v(20640),Ki=v.n(Ai),Wi=v(56790),Hi=function(n,e,r,t){function a(c){return c instanceof r?c:new r(function(l){l(c)})}return new(r||(r=Promise))(function(c,l){function s(f){try{d(t.next(f))}catch(p){l(p)}}function u(f){try{d(t.throw(f))}catch(p){l(p)}}function d(f){f.done?c(f.value):a(f.value).then(s,u)}d((t=t.apply(n,e||[])).next())})},Vi=n=>{let{copyConfig:e,children:r}=n;const[t,a]=o.useState(!1),[c,l]=o.useState(!1),s=o.useRef(null),u=()=>{s.current&&clearTimeout(s.current)},d={};e.format&&(d.format=e.format),o.useEffect(()=>u,[]);const f=(0,Wi.zX)(p=>Hi(void 0,void 0,void 0,function*(){var h;p==null||p.preventDefault(),p==null||p.stopPropagation(),l(!0);try{const Z=typeof e.text=="function"?yield e.text():e.text;Ki()(Z||String(r)||"",d),l(!1),a(!0),u(),s.current=setTimeout(()=>{a(!1)},3e3),(h=e.onCopy)===null||h===void 0||h.call(e,p)}catch(Z){throw l(!1),Z}}));return{copied:t,copyLoading:c,onClick:f}};function Fr(n,e){return o.useMemo(()=>{const r=!!n;return[r,Object.assign(Object.assign({},e),r&&typeof n=="object"?n:null)]},[n])}var Ui=(n,e)=>{const r=o.useRef(!1);o.useEffect(()=>{r.current?n():r.current=!0},e)},Xi=n=>{const e=(0,o.useRef)();return(0,o.useEffect)(()=>{e.current=n}),e.current},Gi=function(n,e){var r={};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&e.indexOf(t)<0&&(r[t]=n[t]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,t=Object.getOwnPropertySymbols(n);a<t.length;a++)e.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(n,t[a])&&(r[t[a]]=n[t[a]]);return r},Ra=o.forwardRef((n,e)=>{const{prefixCls:r,component:t="article",className:a,rootClassName:c,setContentRef:l,children:s,direction:u,style:d}=n,f=Gi(n,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:p,direction:h,typography:Z}=o.useContext(rt.E_),g=u!=null?u:h;let y=e;l&&(y=(0,Ca.sQ)(e,l));const b=p("typography",r),[x,S,N]=Za(b),j=He()(b,Z==null?void 0:Z.className,{[`${b}-rtl`]:g==="rtl"},a,c,S,N),X=Object.assign(Object.assign({},Z==null?void 0:Z.style),d);return x(o.createElement(t,Object.assign({className:j,style:X,ref:y},f),s))}),Ji=v(48820),Yi=function(e,r){return o.createElement(Or.Z,(0,Pe.Z)({},e,{ref:r,icon:Ji.Z}))},Qi=o.forwardRef(Yi),ki=Qi,qi=v(19267);function Ia(n){return n===!1?[!1,!1]:Array.isArray(n)?n:[n]}function cr(n,e,r){return n===!0||n===void 0?e:n||r&&e}var _i=n=>{const{prefixCls:e,copied:r,locale:t,iconOnly:a,tooltips:c,icon:l,loading:s,tabIndex:u,onCopy:d}=n,f=Ia(c),p=Ia(l),{copied:h,copy:Z}=t!=null?t:{},g=r?cr(f[1],h):cr(f[0],Z),b=typeof g=="string"?g:r?h:Z;return o.createElement(ct.Z,{key:"copy",title:g},o.createE