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.
60 lines
54 KiB
60 lines
54 KiB
6 months ago
|
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[930],{47356:function(x,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var i={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=i},44149:function(x,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var i={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=i},90930:function(x,y,i){"use strict";i.d(y,{_z:function(){return or}});var u=i(4942),I=i(91),o=i(1413),P=i(71002),D=i(10915),M=i(13169),G=i(67159),Q=i(28459),f=i(67294),Y=i(93967),E=i.n(Y),J=i(9220),S=i(98423),c=i(74902),d=i(75164);function l(t){let e;const r=s=>()=>{e=null,t.apply(void 0,(0,c.Z)(s))},n=function(){if(e==null){for(var s=arguments.length,_=new Array(s),j=0;j<s;j++)_[j]=arguments[j];e=(0,d.Z)(r(_))}};return n.cancel=()=>{d.Z.cancel(e),e=null},n}var g=l,C=i(53124),h=i(91945);const b=t=>{const{componentCls:e}=t;return{[e]:{position:"fixed",zIndex:t.zIndexPopup}}},B=t=>({zIndexPopup:t.zIndexBase+10});var ne=(0,h.I$)("Affix",b,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 a(t,e,r){if(r!==void 0&&Math.round(e.bottom)<Math.round(t.bottom)+r){const n=window.innerHeight-e.bottom;return r+n}}const v=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function p(){return typeof window!="undefined"?window:null}const O=0,F=1;var he=f.forwardRef((t,e)=>{var r;const{style:n,offsetTop:s,offsetBottom:_,prefixCls:j,className:H,rootClassName:K,children:$,target:z,onChange:A}=t,{getPrefixCls:k,getTargetContainer:U}=f.useContext(C.E_),N=k("affix",j),[R,X]=f.useState(!1),[T,W]=f.useState(),[te,L]=f.useState(),de=f.useRef(O),ie=f.useRef(null),V=f.useRef(),ce=f.useRef(null),ue=f.useRef(null),re=f.useRef(null),ae=(r=z!=null?z:U)!==null&&r!==void 0?r:p,be=_===void 0&&s===void 0?0:s,ge=()=>{if(de.current!==F||!ue.current||!ce.current||!ae)return;const le=ae();if(le){const oe={status:O},q=m(ce.current);if(q.top===0&&q.left===0&&q.width===0&&q.height===0)return;const xe=m(le),ye=Z(q,xe,be),Se=a(q,xe,_);ye!==void 0?(oe.affixStyle={position:"fixed",top:ye,width:q.width,height:q.height},oe.placeholderStyle={width:q.width,height:q.height}):Se!==void 0&&(oe.affixStyle={position:"fixed",bottom:Se,width:q.width,height:q.height},oe.placeholderStyle={width:q.width,height:q.height}),oe.lastAffix=!!oe.affixStyle,R!==oe.lastAffix&&(A==null||A(oe.lastAffix)),de.current=oe.status,W(oe.affixStyle),L(oe.placeholderStyle),X(oe.lastAffix)}},Ce=()=>{var le;de.current=F,ge()},ve=g(()=>{Ce()}),me=g(()=>{if(ae&&T){const le=ae();if(le&&ce.current){const oe=m(le),q=m(ce.current),xe=Z(q,oe,be),ye=a(q,oe,_);if(xe!==void 0&&T.top===xe||ye!==void 0&&T.bottom===ye)return}}Ce()}),Pe=()=>{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,me)}),ie.current=le,V.current=me)},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,me),V.current&&((q=ie.current)===null||q===void 0||q.removeEventListener(oe,V.current))}),ve.cancel(),me.cancel()};f.useImperativeHandle(e,()=>({updatePosition:ve})),f.useEffect(()=>(re.current=setTimeout(Pe),()=>se()),[]),f.useEffect(()=>{Pe()},[z,T]),f.useEffect(()=>{ve()},[z,
|
||
|
> ${r} + span,
|
||
|
> ${r} + a
|
||
|
`]:{marginInlineStart:t.marginXXS}},[`${e}-overlay-link`]:{borderRadius:t.borderRadiusSM,height:t.fontHeight,display:"inline-block",padding:`0 ${(0,rt.bf)(t.paddingXXS)}`,marginInline:n(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"}})}},St=t=>({itemColor:t.colorTextDescription,lastItemColor:t.colorText,iconFontSize:t.fontSize,linkColor:t.colorTextDescription,linkHoverColor:t.colorText,separatorColor:t.colorTextDescription,separatorMargin:t.marginXS});var wt=(0,h.I$)("Breadcrumb",t=>{const e=(0,Pt.TS)(t,{});return xt(e)},St),at=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)e.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(r[n[s]]=t[n[s]]);return r};function _t(t){const{breadcrumbName:e,children:r}=t,n=at(t,["breadcrumbName","children"]),s=Object.assign({title:e},n);return r&&(s.menu={items:r.map(_=>{var{breadcrumbName:j}=_,H=at(_,["breadcrumbName"]);return Object.assign(Object.assign({},H),{title:j})})}),s}function jt(t,e){return(0,f.useMemo)(()=>t||(e?e.map(_t):null),[t,e])}var Zt=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)e.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(r[n[s]]=t[n[s]]);return r};const It=(t,e)=>{if(e===void 0)return e;let r=(e||"").replace(/^\//,"");return Object.keys(t).forEach(n=>{r=r.replace(`:${n}`,t[n])}),r},Ge=t=>{const{prefixCls:e,separator:r="/",style:n,className:s,rootClassName:_,routes:j,items:H,children:K,itemRender:$,params:z={}}=t,A=Zt(t,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:k,direction:U,breadcrumb:N}=f.useContext(C.E_);let R;const X=k("breadcrumb",e),[T,W,te]=wt(X),L=jt(H,j),de=Ct(X,$);if(L&&L.length>0){const ce=[],ue=H||j;R=L.map((re,ae)=>{const{path:be,key:ge,type:Ce,menu:ve,overlay:me,onClick:Pe,className:se,separator:pe,dropdownProps:_e}=re,we=It(z,be);we!==void 0&&ce.push(we);const Ie=ge!=null?ge:ae;if(Ce==="separator")return f.createElement(Ue,{key:Ie},pe);const je={},Me=ae===L.length-1;ve?je.menu=ve:me&&(je.overlay=me);let{href:le}=re;return ce.length&&we!==void 0&&(le=`#/${ce.join("/")}`),f.createElement(et,Object.assign({key:Ie},je,(0,Qe.Z)(re,{data:!0,aria:!0}),{className:se,dropdownProps:_e,href:le,separator:Me?"":r,onClick:Pe,prefixCls:X}),de(re,z,ue,ce,le))})}else if(K){const ce=(0,Ye.Z)(K).length;R=(0,Ye.Z)(K).map((ue,re)=>{if(!ue)return ue;const ae=re===ce-1;return(0,mt.Tm)(ue,{separator:ae?"":r,key:re})})}const ie=E()(X,N==null?void 0:N.className,{[`${X}-rtl`]:U==="rtl"},s,_,W,te),V=Object.assign(Object.assign({},N==null?void 0:N.style),n);return T(f.createElement("nav",Object.assign({className:ie,style:V},A),f.createElement("ol",null,R)))};Ge.Item=Ot,Ge.Separator=Ue;var Tt=Ge,Rt=Tt,Et=i(7134),Nt=i(42075),ot=function(){return{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Mt=function(e){var r;return(0,u.Z)({},e.componentCls,(0,o.Z)((0,o.Z)({},fe.Wf===null||fe.Wf===void 0?void 0:(0,fe.Wf)(e)),{},(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.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,u.Z)({marginInlineEnd:e.margin,fontSize:16,lineHeight:1,"&-button":(0,o.Z)
|
||
|
.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);
|
||
|
}
|
||
|
}
|
||
|
`,ne=function(m){var Z=(0,M.useContext)(G.default),a=Z.csp,v=Z.prefixCls,p=B;v&&(p=p.replace(/anticon/g,v)),(0,M.useEffect)(function(){var O=m.current,F=(0,P.getShadowRoot)(O);(0,o.updateCSS)(p,"@ant-design-icons",{prepend:!0,csp:a,attachTo:F})},[])}},19158:function(x,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.default=i;function i(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},32191:function(x,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.default=i;function i(u,I){if(!u)return!1;if(u.contains)return u.contains(I);for(var o=I;o;){if(o===u)return!0;o=o.parentNode}return!1}},93399:function(x,y,i){"use strict";var u=i(64836).default;Object.defineProperty(y,"__esModule",{value:!0}),y.clearContainerCache=g,y.injectCSS=S,y.removeCSS=d,y.updateCSS=C;var I=u(i(42122)),o=u(i(19158)),P=u(i(32191)),D="data-rc-order",M="data-rc-priority",G="rc-util-key",Q=new Map;function f(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=h.mark;return b?b.startsWith("data-")?b:"data-".concat(b):G}function Y(h){if(h.attachTo)return h.attachTo;var b=document.querySelector("head");return b||document.body}function E(h){return h==="queue"?"prependQueue":h?"prepend":"append"}function J(h){return Array.from((Q.get(h)||h).children).filter(function(b){return b.tagName==="STYLE"})}function S(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,o.default)())return null;var B=b.csp,ne=b.prepend,m=b.priority,Z=m===void 0?0:m,a=E(ne),v=a==="prependQueue",p=document.createElement("style");p.setAttribute(D,a),v&&Z&&p.setAttribute(M,"".concat(Z)),B!=null&&B.nonce&&(p.nonce=B==null?void 0:B.nonce),p.innerHTML=h;var O=Y(b),F=O.firstChild;if(ne){if(v){var ee=(b.styles||J(O)).filter(function(he){if(!["prepend","prependQueue"].includes(he.getAttribute(D)))return!1;var Oe=Number(he.getAttribute(M)||0);return Z>=Oe});if(ee.length)return O.insertBefore(p,ee[ee.length-1].nextSibling),p}O.insertBefore(p,F)}else O.appendChild(p);return p}function c(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=Y(b);return(b.styles||J(B)).find(function(ne){return ne.getAttribute(f(b))===h})}function d(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=c(h,b);if(B){var ne=Y(b);ne.removeChild(B)}}function l(h,b){var B=Q.get(h);if(!B||!(0,P.default)(document,B)){var ne=S("",b),m=ne.parentNode;Q.set(h,m),h.removeChild(ne)}}function g(){Q.clear()}function C(h,b){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});l(ne,Z);var a=c(b,Z);if(a){var v,p;if((v=Z.csp)!==null&&v!==void 0&&v.nonce&&a.nonce!==((p=Z.csp)===null||p===void 0?void 0:p.nonce)){var O;a.nonce=(O=Z.csp)===null||O===void 0?void 0:O.nonce}return a.innerHTML!==h&&(a.innerHTML=h),a}var F=S(h,Z);return F.setAttribute(f(Z),b),F}},63298:function(x,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.getShadowRoot=I,y.inShadow=u;function i(o){var P;return o==null||(P=o.getRootNode)===null||P===void 0?void 0:P.call(o)}function u(o){return i(o)instanceof ShadowRoot}function I(o){return u(o)?i(o):null}},45520:function(x,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=o,y.warningOnce=G;var i={},u=[],I=y.preMessage=function(E){u.push(E)};function o(Y,E){if(!1)var J}function P(Y,E){if(!1)var J}function D(){i={}}function M(Y,E,J){!E&&!i[J]&&(Y(!1,J),i[J]=!0)}function G(Y,E){M(o,Y,E)}function Q(Y,E){M(P,Y,E)}G.preMessage=I,G.resetWarned=D,G.noteOnce=Q;var f=y.default=G},38416:function(x,y,i){var u=i(64062);function I(o,P,D){return P=u(P),P in o?Object.defineProperty(o,P,{value:D,enumerable:!0,configurable:!0,writable:!0}):o[P]=D,o}x.exports=I,x.exports.__esModule=!0,x.exports.default=x.exports},64836:function(x){function y(i){return i&&i.__esModule?i:{default:i}}x.exports=y,x.exports.__esModule=!0,x.exports.default=x.exports},42122:function(x,y,i){var u=i(38416);function I(P,D){var M=
|