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.

59 lines
54 KiB

6 months ago
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[930],{47356:function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};y.default=l},44149:function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};y.default=l},90930:function(w,y,l){"use strict";l.d(y,{_z:function(){return ar}});var c=l(4942),I=l(91),i=l(1413),P=l(71002),D=l(10915),M=l(13169),G=l(67159),Q=l(28459),d=l(67294),Y=l(93967),N=l.n(Y),J=l(9220),n=l(98423),f=l(74902),g=l(75164);function s(t){let e;const r=u=>()=>{e=null,t.apply(void 0,(0,f.Z)(u))},a=function(){if(e==null){for(var u=arguments.length,_=new Array(u),j=0;j<u;j++)_[j]=arguments[j];e=(0,g.Z)(r(_))}};return a.cancel=()=>{g.Z.cancel(e),e=null},a}var b=s,O=l(53124),h=l(91945);const S=t=>{const{componentCls:e}=t;return{[e]:{position:"fixed",zIndex:t.zIndexPopup}}},B=t=>({zIndexPopup:t.zIndexBase+10});var ne=(0,h.I$)("Affix",S,B);function m(t){return t!==window?t.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function Z(t,e,r){if(r!==void 0&&Math.round(e.top)>Math.round(t.top)-r)return r+e.top}function o(t,e,r){if(r!==void 0&&Math.round(e.bottom)<Math.round(t.bottom)+r){const a=window.innerHeight-e.bottom;return r+a}}const v=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function p(){return typeof window!="undefined"?window:null}var C;(function(t){t[t.None=0]="None",t[t.Prepare=1]="Prepare"})(C||(C={}));var ee=d.forwardRef((t,e)=>{var r;const{style:a,offsetTop:u,offsetBottom:_,prefixCls:j,className:A,rootClassName:K,children:$,target:z,onChange:H}=t,{getPrefixCls:U,getTargetContainer:k}=d.useContext(O.E_),E=U("affix",j),[R,X]=d.useState(!1),[T,W]=d.useState(),[te,L]=d.useState(),de=d.useRef(C.None),ie=d.useRef(null),V=d.useRef(),ce=d.useRef(null),ue=d.useRef(null),re=d.useRef(null),ae=(r=z!=null?z:k)!==null&&r!==void 0?r:p,be=_===void 0&&u===void 0?0:u,me=()=>{if(de.current!==C.Prepare||!ue.current||!ce.current||!ae)return;const le=ae();if(le){const oe={status:C.None},q=m(ce.current);if(q.top===0&&q.left===0&&q.width===0&&q.height===0)return;const Pe=m(le),he=Z(q,Pe,be),xe=o(q,Pe,_);he!==void 0?(oe.affixStyle={position:"fixed",top:he,width:q.width,height:q.height},oe.placeholderStyle={width:q.width,height:q.height}):xe!==void 0&&(oe.affixStyle={position:"fixed",bottom:xe,width:q.width,height:q.height},oe.placeholderStyle={width:q.width,height:q.height}),oe.lastAffix=!!oe.affixStyle,R!==oe.lastAffix&&(H==null||H(oe.lastAffix)),de.current=oe.status,W(oe.affixStyle),L(oe.placeholderStyle),X(oe.lastAffix)}},Ce=()=>{var le;de.current=C.Prepare,me()},ve=b(()=>{Ce()}),pe=b(()=>{if(ae&&T){const le=ae();if(le&&ce.current){const oe=m(le),q=m(ce.current),Pe=Z(q,oe,be),he=o(q,oe,_);if(Pe!==void 0&&T.top===Pe||he!==void 0&&T.bottom===he)return}}Ce()}),Oe=()=>{const le=ae==null?void 0:ae();le&&(v.forEach(oe=>{var q;V.current&&((q=ie.current)===null||q===void 0||q.removeEventListener(oe,V.current)),le==null||le.addEventListener(oe,pe)}),ie.current=le,V.current=pe)},se=()=>{re.current&&(clearTimeout(re.current),re.current=null);const le=ae==null?void 0:ae();v.forEach(oe=>{var q;le==null||le.removeEventListener(oe,pe),V.current&&((q=ie.current)===null||q===void 0||q.removeEventListener(oe,V.current))}),ve.cancel(),pe.cancel()};d.useImperativeHandle(e,()=>({updatePosition:ve})),d.useEffect(()=>(re.curre
> ${r} + span,
> ${r} + a
`]:{marginInlineStart:t.marginXXS}},[`${e}-overlay-link`]:{borderRadius:t.borderRadiusSM,height:t.fontHeight,display:"inline-block",padding:`0 ${(0,tt.bf)(t.paddingXXS)}`,marginInline:a(t.marginXXS).mul(-1).equal(),[`> ${r}`]:{marginInlineStart:t.marginXXS,fontSize:t.fontSizeIcon},"&:hover":{color:t.linkHoverColor,backgroundColor:t.colorBgTextHover,a:{color:t.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${t.componentCls}-rtl`]:{direction:"rtl"}})}},xt=t=>({itemColor:t.colorTextDescription,lastItemColor:t.colorText,iconFontSize:t.fontSize,linkColor:t.colorTextDescription,linkHoverColor:t.colorText,separatorColor:t.colorTextDescription,separatorMargin:t.marginXS});var St=(0,h.I$)("Breadcrumb",t=>{const e=(0,Ot.TS)(t,{});return Pt(e)},xt),nt=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,a=Object.getOwnPropertySymbols(t);u<a.length;u++)e.indexOf(a[u])<0&&Object.prototype.propertyIsEnumerable.call(t,a[u])&&(r[a[u]]=t[a[u]]);return r};function wt(t){const{breadcrumbName:e,children:r}=t,a=nt(t,["breadcrumbName","children"]),u=Object.assign({title:e},a);return r&&(u.menu={items:r.map(_=>{var{breadcrumbName:j}=_,A=nt(_,["breadcrumbName"]);return Object.assign(Object.assign({},A),{title:j})})}),u}function _t(t,e){return(0,d.useMemo)(()=>t||(e?e.map(wt):null),[t,e])}var jt=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,a=Object.getOwnPropertySymbols(t);u<a.length;u++)e.indexOf(a[u])<0&&Object.prototype.propertyIsEnumerable.call(t,a[u])&&(r[a[u]]=t[a[u]]);return r};const Zt=(t,e)=>{if(e===void 0)return e;let r=(e||"").replace(/^\//,"");return Object.keys(t).forEach(a=>{r=r.replace(`:${a}`,t[a])}),r},Ue=t=>{const{prefixCls:e,separator:r="/",style:a,className:u,rootClassName:_,routes:j,items:A,children:K,itemRender:$,params:z={}}=t,H=jt(t,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:U,direction:k,breadcrumb:E}=d.useContext(O.E_);let R;const X=U("breadcrumb",e),[T,W,te]=St(X),L=_t(A,j),de=bt(X,$);if(L&&L.length>0){const ce=[],ue=A||j;R=L.map((re,ae)=>{const{path:be,key:me,type:Ce,menu:ve,overlay:pe,onClick:Oe,className:se,separator:ye,dropdownProps:_e}=re,we=Zt(z,be);we!==void 0&&ce.push(we);const Ze=me!=null?me:ae;if(Ce==="separator")return d.createElement(Xe,{key:Ze},ye);const je={},Me=ae===L.length-1;ve?je.menu=ve:pe&&(je.overlay=pe);let{href:le}=re;return ce.length&&we!==void 0&&(le=`#/${ce.join("/")}`),d.createElement(qe,Object.assign({key:Ze},je,(0,Ye.Z)(re,{data:!0,aria:!0}),{className:se,dropdownProps:_e,href:le,separator:Me?"":r,onClick:Oe,prefixCls:X}),de(re,z,ue,ce,le))})}else if(K){const ce=(0,Ve.Z)(K).length;R=(0,Ve.Z)(K).map((ue,re)=>{if(!ue)return ue;const ae=re===ce-1;return(0,gt.Tm)(ue,{separator:ae?"":r,key:re})})}const ie=N()(X,E==null?void 0:E.className,{[`${X}-rtl`]:k==="rtl"},u,_,W,te),V=Object.assign(Object.assign({},E==null?void 0:E.style),a);return T(d.createElement("nav",Object.assign({className:ie,style:V},H),d.createElement("ol",null,R)))};Ue.Item=Ct,Ue.Separator=Xe;var It=Ue,Tt=It,Rt=l(7134),Nt=l(42075),at=function(){return{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Et=function(e){var r;return(0,c.Z)({},e.componentCls,(0,i.Z)((0,i.Z)({},fe.Wf===null||fe.Wf===void 0?void 0:(0,fe.Wf)(e)),{},(0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)({position:"relative",backgroundColor:e.pageHeaderBgGhost,paddingBlock:e.pageHeaderPaddingVertical+2,paddingInline:e.pageHeaderPadding,"&-no-children":{height:(r=e.layout)===null||r===void 0||(r=r.pageContainer)===null||r===void 0?void 0:r.paddingBlockPageContainerContent},"& &-has-breadcrumb":{paddingBlockStart:e.pageHeaderPaddingBreadCrumb},"& &-has-footer":{paddingBlockEnd:0},"& &-back":(0,c.Z)({marginInlineEnd:e.margin,fontSize:16,lineHeight:1,"&-button":(0,i.Z)
.anticon {
display: inline-block;
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);
}
}
`,ne=function(m){var Z=(0,M.useContext)(G.default),o=Z.csp,v=Z.prefixCls,p=B;v&&(p=p.replace(/anticon/g,v)),(0,M.useEffect)(function(){var C=m.current,F=(0,P.getShadowRoot)(C);(0,i.updateCSS)(p,"@ant-design-icons",{prepend:!0,csp:o,attachTo:F})},[])}},19158:function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.default=l;function l(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},32191:function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.default=l;function l(c,I){if(!c)return!1;if(c.contains)return c.contains(I);for(var i=I;i;){if(i===c)return!0;i=i.parentNode}return!1}},93399:function(w,y,l){"use strict";var c=l(64836).default;Object.defineProperty(y,"__esModule",{value:!0}),y.clearContainerCache=b,y.injectCSS=n,y.removeCSS=g,y.updateCSS=O;var I=c(l(42122)),i=c(l(19158)),P=c(l(32191)),D="data-rc-order",M="data-rc-priority",G="rc-util-key",Q=new Map;function d(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},S=h.mark;return S?S.startsWith("data-")?S:"data-".concat(S):G}function Y(h){if(h.attachTo)return h.attachTo;var S=document.querySelector("head");return S||document.body}function N(h){return h==="queue"?"prependQueue":h?"prepend":"append"}function J(h){return Array.from((Q.get(h)||h).children).filter(function(S){return S.tagName==="STYLE"})}function n(h){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.default)())return null;var B=S.csp,ne=S.prepend,m=S.priority,Z=m===void 0?0:m,o=N(ne),v=o==="prependQueue",p=document.createElement("style");p.setAttribute(D,o),v&&Z&&p.setAttribute(M,"".concat(Z)),B!=null&&B.nonce&&(p.nonce=B==null?void 0:B.nonce),p.innerHTML=h;var C=Y(S),F=C.firstChild;if(ne){if(v){var ee=(S.styles||J(C)).filter(function(ge){if(!["prepend","prependQueue"].includes(ge.getAttribute(D)))return!1;var Se=Number(ge.getAttribute(M)||0);return Z>=Se});if(ee.length)return C.insertBefore(p,ee[ee.length-1].nextSibling),p}C.insertBefore(p,F)}else C.appendChild(p);return p}function f(h){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=Y(S);return(S.styles||J(B)).find(function(ne){return ne.getAttribute(d(S))===h})}function g(h){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=f(h,S);if(B){var ne=Y(S);ne.removeChild(B)}}function s(h,S){var B=Q.get(h);if(!B||!(0,P.default)(document,B)){var ne=n("",S),m=ne.parentNode;Q.set(h,m),h.removeChild(ne)}}function b(){Q.clear()}function O(h,S){var B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ne=Y(B),m=J(ne),Z=(0,I.default)((0,I.default)({},B),{},{styles:m});s(ne,Z);var o=f(S,Z);if(o){var v,p;if((v=Z.csp)!==null&&v!==void 0&&v.nonce&&o.nonce!==((p=Z.csp)===null||p===void 0?void 0:p.nonce)){var C;o.nonce=(C=Z.csp)===null||C===void 0?void 0:C.nonce}return o.innerHTML!==h&&(o.innerHTML=h),o}var F=n(h,Z);return F.setAttribute(d(Z),S),F}},63298:function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.getShadowRoot=I,y.inShadow=c;function l(i){var P;return i==null||(P=i.getRootNode)===null||P===void 0?void 0:P.call(i)}function c(i){return l(i)instanceof ShadowRoot}function I(i){return c(i)?l(i):null}},45520:function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.call=M,y.default=void 0,y.note=P,y.noteOnce=Q,y.preMessage=void 0,y.resetWarned=D,y.warning=i,y.warningOnce=G;var l={},c=[],I=y.preMessage=function(N){c.push(N)};function i(Y,N){if(!1)var J}function P(Y,N){if(!1)var J}function D(){l={}}function M(Y,N,J){!N&&!l[J]&&(Y(!1,J),l[J]=!0)}function G(Y,N){M(i,Y,N)}function Q(Y,N){M(P,Y,N)}G.preMessage=I,G.resetWarned=D,G.noteOnce=Q;var d=y.default=G},38416:function(w,y,l){var c=l(64062);function I(i,P,D){return P=c(P),P in i?Object.defineProperty(i,P,{value:D,enumerable:!0,configurable:!0,writable:!0}):i[P]=D,i}w.exports=I,w.exports.__esModule=!0,w.exports.default=w.exports},64836:function(w){function y(l){return l&&l.__esModule?l:{default:l}}w.exports=y,w.exports.__esModule=!0,w.exports.default=w.exports},42122:function(w,y,l){var c=l(38416);function I(P,D){var M=