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.
 
 
 

58 lines
54 KiB

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[930],{47356:function(Z,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(Z,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(Z,y,l){"use strict";l.d(y,{_z:function(){return ar}});var u=l(4942),N=l(91),i=l(1413),x=l(71002),W=l(10915),E=l(13169),Y=l(67159),K=l(28459),p=l(67294),Q=l(93967),B=l.n(Q),q=l(9220),n=l(98423),f=l(74902),g=l(75164);function s(t){let e;const r=c=>()=>{e=null,t.apply(void 0,(0,f.Z)(c))},a=function(){if(e==null){for(var c=arguments.length,w=new Array(c),_=0;_<c;_++)w[_]=arguments[_];e=(0,g.Z)(r(w))}};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}}},M=t=>({zIndexPopup:t.zIndexBase+10});var ne=(0,h.I$)("Affix",S,M);function v(t){return t!==window?t.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function j(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 d=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function m(){return typeof window!="undefined"?window:null}var C;(function(t){t[t.None=0]="None",t[t.Prepare=1]="Prepare"})(C||(C={}));var ee=p.forwardRef((t,e)=>{var r;const{style:a,offsetTop:c,offsetBottom:w,prefixCls:_,className:H,rootClassName:G,children:A,target:z,onChange:D}=t,{getPrefixCls:U,getTargetContainer:k}=p.useContext(O.E_),R=U("affix",_),[T,X]=p.useState(!1),[I,$]=p.useState(),[te,L]=p.useState(),de=p.useRef(C.None),ie=p.useRef(null),V=p.useRef(),ce=p.useRef(null),ue=p.useRef(null),re=p.useRef(null),ae=(r=z!=null?z:k)!==null&&r!==void 0?r:m,be=w===void 0&&c===void 0?0:c,me=()=>{if(de.current!==C.Prepare||!ue.current||!ce.current||!ae)return;const le=ae();if(le){const oe={status:C.None},J=v(ce.current);if(J.top===0&&J.left===0&&J.width===0&&J.height===0)return;const Pe=v(le),he=j(J,Pe,be),xe=o(J,Pe,w);he!==void 0?(oe.affixStyle={position:"fixed",top:he,width:J.width,height:J.height},oe.placeholderStyle={width:J.width,height:J.height}):xe!==void 0&&(oe.affixStyle={position:"fixed",bottom:xe,width:J.width,height:J.height},oe.placeholderStyle={width:J.width,height:J.height}),oe.lastAffix=!!oe.affixStyle,T!==oe.lastAffix&&(D==null||D(oe.lastAffix)),de.current=oe.status,$(oe.affixStyle),L(oe.placeholderStyle),X(oe.lastAffix)}},Ce=()=>{var le;de.current=C.Prepare,me()},ve=b(()=>{Ce()}),pe=b(()=>{if(ae&&I){const le=ae();if(le&&ce.current){const oe=v(le),J=v(ce.current),Pe=j(J,oe,be),he=o(J,oe,w);if(Pe!==void 0&&I.top===Pe||he!==void 0&&I.bottom===he)return}}Ce()}),Oe=()=>{const le=ae==null?void 0:ae();le&&(d.forEach(oe=>{var J;V.current&&((J=ie.current)===null||J===void 0||J.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();d.forEach(oe=>{var J;le==null||le.removeEventListener(oe,pe),V.current&&((J=ie.current)===null||J===void 0||J.removeEventListener(oe,V.current))}),ve.cancel(),pe.cancel()};p.useImperativeHandle(e,()=>({updatePosition:ve})),p.useEffect(()=>(re.current=setTimeout(Oe),()=>se()),[]),p.useEffect(()=>{Oe()},[z,I]),p.useEffect(()=>{ve()},[z,c,w]);const[ye,_e,we]=ne(R),Ze=B()(G,_e,R,we),je=B()({[Ze]:I});let Me=(0,n.Z)(t,["prefixCls","offsetTop","offsetBottom","target","onChange","rootClassName"]);return ye(p.createElement(q.Z,{onResize:ve},p.createElement("div",Object.assign({style:a,className:H,ref:ce},Me),I&&p.createElement("div",{style:te,"aria-hidden":"true"}),p.createElement("div",{className:je,ref:ue,style:I},p.createElement(q.Z,{onResize:ve},A)))))}),ge=l(76509),Se=l(12044),Te=l(97435),$e=l(73935),fe=l(98082),De=function(e){return(0,u.Z)({},e.componentCls,{position:"fixed",insetInlineEnd:0,bottom:0,zIndex:99,display:"flex",alignItems:"center",width:"100%",paddingInline:24,paddingBlock:0,boxSizing:"border-box",lineHeight:"64px",backgroundColor:(0,fe.uK)(e.colorBgElevated,.6),borderBlockStart:"1px solid ".concat(e.colorSplit),"-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)",color:e.colorText,transition:"all 0.2s ease 0s","&-left":{flex:1,color:e.colorText},"&-right":{color:e.colorText,"> *":{marginInlineEnd:8,"&:last-child":{marginBlock:0,marginInline:0}}}})};function Ne(t){return(0,fe.Xj)("ProLayoutFooterToolbar",function(e){var r=(0,i.Z)((0,i.Z)({},e),{},{componentCls:".".concat(t)});return[De(r)]})}function ze(t,e){var r=e.stylish;return(0,fe.Xj)("ProLayoutFooterToolbarStylish",function(a){var c=(0,i.Z)((0,i.Z)({},a),{},{componentCls:".".concat(t)});return r?[(0,u.Z)({},"".concat(c.componentCls),r==null?void 0:r(c))]:[]})}var P=l(85893),We=["children","className","extra","portalDom","style","renderContent"],Re=function(e){var r=e.children,a=e.className,c=e.extra,w=e.portalDom,_=w===void 0?!0:w,H=e.style,G=e.renderContent,A=(0,N.Z)(e,We),z=(0,p.useContext)(K.ZP.ConfigContext),D=z.getPrefixCls,U=z.getTargetContainer,k=e.prefixCls||D("pro"),R="".concat(k,"-footer-bar"),T=Ne(R),X=T.wrapSSR,I=T.hashId,$=(0,p.useContext)(ge.X),te=(0,p.useMemo)(function(){var ue=$.hasSiderMenu,re=$.isMobile,ae=$.siderWidth;if(ue)return ae?re?"100%":"calc(100% - ".concat(ae,"px)"):"100%"},[$.collapsed,$.hasSiderMenu,$.isMobile,$.siderWidth]),L=(0,p.useMemo)(function(){return(typeof window=="undefined"?"undefined":(0,x.Z)(window))===void 0||(typeof document=="undefined"?"undefined":(0,x.Z)(document))===void 0?null:(U==null?void 0:U())||document.body},[]),de=ze("".concat(R,".").concat(R,"-stylish"),{stylish:e.stylish}),ie=(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{className:"".concat(R,"-left ").concat(I).trim(),children:c}),(0,P.jsx)("div",{className:"".concat(R,"-right ").concat(I).trim(),children:r})]});(0,p.useEffect)(function(){return!$||!($!=null&&$.setHasFooterToolbar)?function(){}:($==null||$.setHasFooterToolbar(!0),function(){var ue;$==null||(ue=$.setHasFooterToolbar)===null||ue===void 0||ue.call($,!1)})},[]);var V=(0,P.jsx)("div",(0,i.Z)((0,i.Z)({className:B()(a,I,R,(0,u.Z)({},"".concat(R,"-stylish"),!!e.stylish)),style:(0,i.Z)({width:te},H)},(0,Te.Z)(A,["prefixCls"])),{},{children:G?G((0,i.Z)((0,i.Z)((0,i.Z)({},e),$),{},{leftWidth:te}),ie):ie})),ce=!(0,Se.j)()||!_||!L?V:(0,$e.createPortal)(V,L,R);return de.wrapSSR(X((0,P.jsx)(p.Fragment,{children:ce},R)))},Le=function(e){return(0,u.Z)({},e.componentCls,{width:"100%","&-wide":{maxWidth:1152,margin:"0 auto"}})};function He(t){return(0,fe.Xj)("ProLayoutGridContent",function(e){var r=(0,i.Z)((0,i.Z)({},e),{},{componentCls:".".concat(t)});return[Le(r)]})}var Fe=function(e){var r=(0,p.useContext)(ge.X),a=e.children,c=e.contentWidth,w=e.className,_=e.style,H=(0,p.useContext)(K.ZP.ConfigContext),G=H.getPrefixCls,A=e.prefixCls||G("pro"),z=c||r.contentWidth,D="".concat(A,"-grid-content"),U=He(D),k=U.wrapSSR,R=U.hashId,T=z==="Fixed"&&r.layout==="top";return k((0,P.jsx)("div",{className:B()(D,R,w,(0,u.Z)({},"".concat(D,"-wide"),T)),style:_,children:(0,P.jsx)("div",{className:"".concat(A,"-grid-content-children ").concat(R).trim(),children:a})}))},Be=l(97685),st=l(3770),dt=l.n(st),ft=l(77059),vt=l.n(ft),Ye=l(50344),Qe=l(64217),gt=l(96159),mt=l(13622),pt=l(1203);const Ke=t=>{let{children:e}=t;const{getPrefixCls:r}=p.useContext(O.E_),a=r("breadcrumb");return p.createElement("li",{className:`${a}-separator`,"aria-hidden":"true"},e===""?e:e||"/")};Ke.__ANT_BREADCRUMB_SEPARATOR=!0;var Xe=Ke,yt=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 c=0,a=Object.getOwnPropertySymbols(t);c<a.length;c++)e.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(t,a[c])&&(r[a[c]]=t[a[c]]);return r};function ht(t,e){if(t.title===void 0||t.title===null)return null;const r=Object.keys(e).join("|");return typeof t.title=="object"?t.title:String(t.title).replace(new RegExp(`:(${r})`,"g"),(a,c)=>e[c]||a)}function Je(t,e,r,a){if(r==null)return null;const{className:c,onClick:w}=e,_=yt(e,["className","onClick"]),H=Object.assign(Object.assign({},(0,Qe.Z)(_,{data:!0,aria:!0})),{onClick:w});return a!==void 0?p.createElement("a",Object.assign({},H,{className:B()(`${t}-link`,c),href:a}),r):p.createElement("span",Object.assign({},H,{className:B()(`${t}-link`,c)}),r)}function bt(t,e){return(a,c,w,_,H)=>{if(e)return e(a,c,w,_);const G=ht(a,c);return Je(t,a,G,H)}}var ke=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 c=0,a=Object.getOwnPropertySymbols(t);c<a.length;c++)e.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(t,a[c])&&(r[a[c]]=t[a[c]]);return r};const qe=t=>{const{prefixCls:e,separator:r="/",children:a,menu:c,overlay:w,dropdownProps:_,href:H}=t,A=(z=>{if(c||w){const D=Object.assign({},_);if(c){const U=c||{},{items:k}=U,R=ke(U,["items"]);D.menu=Object.assign(Object.assign({},R),{items:k==null?void 0:k.map((T,X)=>{var{key:I,title:$,label:te,path:L}=T,de=ke(T,["key","title","label","path"]);let ie=te!=null?te:$;return L&&(ie=p.createElement("a",{href:`${H}${L}`},ie)),Object.assign(Object.assign({},de),{key:I!=null?I:X,label:ie})})})}else w&&(D.overlay=w);return p.createElement(pt.Z,Object.assign({placement:"bottom"},D),p.createElement("span",{className:`${e}-overlay-link`},z,p.createElement(mt.Z,null)))}return z})(a);return A!=null?p.createElement(p.Fragment,null,p.createElement("li",null,A),r&&p.createElement(Xe,null,r)):null},et=t=>{const{prefixCls:e,children:r,href:a}=t,c=ke(t,["prefixCls","children","href"]),{getPrefixCls:w}=p.useContext(O.E_),_=w("breadcrumb",e);return p.createElement(qe,Object.assign({},c,{prefixCls:_}),Je(_,c,r,a))};et.__ANT_BREADCRUMB_ITEM=!0;var Ct=et,tt=l(54548),rt=l(14747),Ot=l(45503);const Pt=t=>{const{componentCls:e,iconCls:r,calc:a}=t;return{[e]:Object.assign(Object.assign({},(0,rt.Wf)(t)),{color:t.itemColor,fontSize:t.fontSize,[r]:{fontSize:t.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:t.linkColor,transition:`color ${t.motionDurationMid}`,padding:`0 ${(0,tt.bf)(t.paddingXXS)}`,borderRadius:t.borderRadiusSM,height:t.fontHeight,display:"inline-block",marginInline:a(t.marginXXS).mul(-1).equal(),"&:hover":{color:t.linkHoverColor,backgroundColor:t.colorBgTextHover}},(0,rt.Qy)(t)),["li:last-child"]:{color:t.lastItemColor},[`${e}-separator`]:{marginInline:t.separatorMargin,color:t.separatorColor},[`${e}-link`]:{[`
> ${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 c=0,a=Object.getOwnPropertySymbols(t);c<a.length;c++)e.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(t,a[c])&&(r[a[c]]=t[a[c]]);return r};function wt(t){const{breadcrumbName:e,children:r}=t,a=nt(t,["breadcrumbName","children"]),c=Object.assign({title:e},a);return r&&(c.menu={items:r.map(w=>{var{breadcrumbName:_}=w,H=nt(w,["breadcrumbName"]);return Object.assign(Object.assign({},H),{title:_})})}),c}function _t(t,e){return(0,p.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 c=0,a=Object.getOwnPropertySymbols(t);c<a.length;c++)e.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(t,a[c])&&(r[a[c]]=t[a[c]]);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:c,rootClassName:w,routes:_,items:H,children:G,itemRender:A,params:z={}}=t,D=jt(t,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:U,direction:k,breadcrumb:R}=p.useContext(O.E_);let T;const X=U("breadcrumb",e),[I,$,te]=St(X),L=_t(H,_),de=bt(X,A);if(L&&L.length>0){const ce=[],ue=H||_;T=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 p.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("/")}`),p.createElement(qe,Object.assign({key:Ze},je,(0,Qe.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(G){const ce=(0,Ye.Z)(G).length;T=(0,Ye.Z)(G).map((ue,re)=>{if(!ue)return ue;const ae=re===ce-1;return(0,gt.Tm)(ue,{separator:ae?"":r,key:re})})}const ie=B()(X,R==null?void 0:R.className,{[`${X}-rtl`]:k==="rtl"},c,w,$,te),V=Object.assign(Object.assign({},R==null?void 0:R.style),a);return I(p.createElement("nav",Object.assign({className:ie,style:V},D),p.createElement("ol",null,T)))};Ue.Item=Ct,Ue.Separator=Xe;var It=Ue,Tt=It,Nt=l(7134),Rt=l(78957),at=function(){return{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Bt=function(e){var r;return(0,u.Z)({},e.componentCls,(0,i.Z)((0,i.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,i.Z)((0,i.Z)({fontSize:16},fe.Nd===null||fe.Nd===void 0?void 0:(0,fe.Nd)(e)),{},{color:e.pageHeaderColorBack,cursor:"pointer"})},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:0})},"& ".concat("ant","-divider-vertical"),{height:14,marginBlock:0,marginInline:e.marginSM,verticalAlign:"middle"}),"& &-breadcrumb + &-heading",{marginBlockStart:e.marginXS}),"& &-heading",{display:"flex",justifyContent:"space-between","&-left":{display:"flex",alignItems:"center",marginBlock:e.marginXS/2,marginInlineEnd:0,marginInlineStart:0,overflow:"hidden"},"&-title":(0,i.Z)((0,i.Z)({marginInlineEnd:e.marginSM,marginBlockEnd:0,color:e.colorTextHeading,fontWeight:600,fontSize:e.pageHeaderFontSizeHeaderTitle,lineHeight:e.controlHeight+"px"},at()),{},(0,u.Z)({},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:0,marginInlineStart:e.marginSM})),"&-avatar":(0,u.Z)({marginInlineEnd:e.marginSM},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:e.marginSM}),"&-tags":(0,u.Z)({},"".concat(e.componentCls,"-rlt &"),{float:"right"}),"&-sub-title":(0,i.Z)((0,i.Z)({marginInlineEnd:e.marginSM,color:e.colorTextSecondary,fontSize:e.pageHeaderFontSizeHeaderSubTitle,lineHeight:e.lineHeight},at()),{},(0,u.Z)({},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:12})),"&-extra":(0,u.Z)((0,u.Z)({marginBlock:e.marginXS/2,marginInlineEnd:0,marginInlineStart:0,whiteSpace:"nowrap","> *":(0,u.Z)({"white-space":"unset"},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:e.marginSM,marginInlineStart:0})},"".concat(e.componentCls,"-rlt &"),{float:"left"}),"*:first-child",(0,u.Z)({},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:0}))}),"&-content",{paddingBlockStart:e.pageHeaderPaddingContentPadding}),"&-footer",{marginBlockStart:e.margin}),"&-compact &-heading",{flexWrap:"wrap"}),"&-wide",{maxWidth:1152,margin:"0 auto"}),"&-rtl",{direction:"rtl"})))};function Mt(t){return(0,fe.Xj)("ProLayoutPageHeader",function(e){var r=(0,i.Z)((0,i.Z)({},e),{},{componentCls:".".concat(t),pageHeaderBgGhost:"transparent",pageHeaderPadding:16,pageHeaderPaddingVertical:4,pageHeaderPaddingBreadCrumb:e.paddingSM,pageHeaderColorBack:e.colorTextHeading,pageHeaderFontSizeHeaderTitle:e.fontSizeHeading4,pageHeaderFontSizeHeaderSubTitle:14,pageHeaderPaddingContentPadding:e.paddingSM});return[Bt(r)]})}var Et=function(e,r,a,c){return!a||!c?null:(0,P.jsx)("div",{className:"".concat(e,"-back ").concat(r).trim(),children:(0,P.jsx)("div",{role:"button",onClick:function(_){c==null||c(_)},className:"".concat(e,"-back-button ").concat(r).trim(),"aria-label":"back",children:a})})},Dt=function(e,r){var a;return(a=e.items)!==null&&a!==void 0&&a.length?(0,P.jsx)(Tt,(0,i.Z)((0,i.Z)({},e),{},{className:B()("".concat(r,"-breadcrumb"),e.className)})):null},Ht=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"ltr";return e.backIcon!==void 0?e.backIcon:r==="rtl"?(0,P.jsx)(vt(),{}):(0,P.jsx)(dt(),{})},At=function(e,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"ltr",c=arguments.length>3?arguments[3]:void 0,w=r.title,_=r.avatar,H=r.subTitle,G=r.tags,A=r.extra,z=r.onBack,D="".concat(e,"-heading"),U=w||H||G||A;if(!U)return null;var k=Ht(r,a),R=Et(e,c,k,z),T=R||_||U;return(0,P.jsxs)("div",{className:D+" "+c,children:[T&&(0,P.jsxs)("div",{className:"".concat(D,"-left ").concat(c).trim(),children:[R,_&&(0,P.jsx)(Nt.C,(0,i.Z)({className:B()("".concat(D,"-avatar"),c,_.className)},_)),w&&(0,P.jsx)("span",{className:"".concat(D,"-title ").concat(c).trim(),title:typeof w=="string"?w:void 0,children:w}),H&&(0,P.jsx)("span",{className:"".concat(D,"-sub-title ").concat(c).trim(),title:typeof H=="string"?H:void 0,children:H}),G&&(0,P.jsx)("span",{className:"".concat(D,"-tags ").concat(c).trim(),children:G})]}),A&&(0,P.jsx)("span",{className:"".concat(D,"-extra ").concat(c).trim(),children:(0,P.jsx)(Rt.Z,{children:A})})]})},$t=function(e,r,a){return r?(0,P.jsx)("div",{className:"".concat(e,"-footer ").concat(a).trim(),children:r}):null},zt=function(e,r,a){return(0,P.jsx)("div",{className:"".concat(e,"-content ").concat(a).trim(),children:r})},Wt=function(e){var r,a=p.useState(!1),c=(0,Be.Z)(a,2),w=c[0],_=c[1],H=function(se){var ye=se.width;return _(ye<768)},G=p.useContext(K.ZP.ConfigContext),A=G.getPrefixCls,z=G.direction,D=e.prefixCls,U=e.style,k=e.footer,R=e.children,T=e.breadcrumb,X=e.breadcrumbRender,I=e.className,$=e.contentWidth,te=e.layout,L=A("page-header",D),de=Mt(L),ie=de.wrapSSR,V=de.hashId,ce=function(){return T&&!(T!=null&&T.items)&&T!==null&&T!==void 0&&T.routes&&(T.items=T.routes),T!=null&&T.items?Dt(T,L):null},ue=ce(),re=T&&"props"in T,ae=(r=X==null?void 0:X((0,i.Z)((0,i.Z)({},e),{},{prefixCls:L}),ue))!==null&&r!==void 0?r:ue,be=re?T:ae,me=B()(L,V,I,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(L,"-has-breadcrumb"),!!be),"".concat(L,"-has-footer"),!!k),"".concat(L,"-rtl"),z==="rtl"),"".concat(L,"-compact"),w),"".concat(L,"-wide"),$==="Fixed"&&te=="top"),"".concat(L,"-ghost"),!0)),Ce=At(L,e,z,V),ve=R&&zt(L,R,V),pe=$t(L,k,V);return!be&&!Ce&&!pe&&!ve?(0,P.jsx)("div",{className:B()(V,["".concat(L,"-no-children")])}):ie((0,P.jsx)(q.Z,{onResize:H,children:(0,P.jsxs)("div",{className:me,style:U,children:[be,Ce,ve,pe]})}))},Lt=l(83832),Ft=function(e){if(!e)return 1;var r=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1;return(window.devicePixelRatio||1)/r},Xt=function(e){var r=(0,fe.dQ)(),a=r.token,c=e.children,w=e.style,_=e.className,H=e.markStyle,G=e.markClassName,A=e.zIndex,z=A===void 0?9:A,D=e.gapX,U=D===void 0?212:D,k=e.gapY,R=k===void 0?222:k,T=e.width,X=T===void 0?120:T,I=e.height,$=I===void 0?64:I,te=e.rotate,L=te===void 0?-22:te,de=e.image,ie=e.offsetLeft,V=e.offsetTop,ce=e.fontStyle,ue=ce===void 0?"normal":ce,re=e.fontWeight,ae=re===void 0?"normal":re,be=e.fontColor,me=be===void 0?a.colorFill:be,Ce=e.fontSize,ve=Ce===void 0?16:Ce,pe=e.fontFamily,Oe=pe===void 0?"sans-serif":pe,se=e.prefixCls,ye=(0,p.useContext)(K.ZP.ConfigContext),_e=ye.getPrefixCls,we=_e("pro-layout-watermark",se),Ze=B()("".concat(we,"-wrapper"),_),je=B()(we,G),Me=(0,p.useState)(""),le=(0,Be.Z)(Me,2),oe=le[0],J=le[1];return(0,p.useEffect)(function(){var Pe=document.createElement("canvas"),he=Pe.getContext("2d"),xe=Ft(he),or="".concat((U+X)*xe,"px"),ir="".concat((R+$)*xe,"px"),lr=ie||U/2,cr=V||R/2;if(Pe.setAttribute("width",or),Pe.setAttribute("height",ir),!he){console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas");return}he.translate(lr*xe,cr*xe),he.rotate(Math.PI/180*Number(L));var ur=X*xe,ct=$*xe,ut=function(Ee){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Ve=Number(ve)*xe;he.font="".concat(ue," normal ").concat(ae," ").concat(Ve,"px/").concat(ct,"px ").concat(Oe),he.fillStyle=me,Array.isArray(Ee)?Ee==null||Ee.forEach(function(sr,dr){return he.fillText(sr,0,dr*Ve+Ge)}):he.fillText(Ee,0,Ge?Ge+Ve:0),J(Pe.toDataURL())};if(de){var Ie=new Image;Ie.crossOrigin="anonymous",Ie.referrerPolicy="no-referrer",Ie.src=de,Ie.onload=function(){if(he.drawImage(Ie,0,0,ur,ct),J(Pe.toDataURL()),e.content){ut(e.content,Ie.height+8);return}};return}if(e.content){ut(e.content);return}},[U,R,ie,V,L,ue,ae,X,$,Oe,me,de,e.content,ve]),(0,P.jsxs)("div",{style:(0,i.Z)({position:"relative"},w),className:Ze,children:[c,(0,P.jsx)("div",{className:je,style:(0,i.Z)((0,i.Z)({zIndex:z,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(U+X,"px"),pointerEvents:"none",backgroundRepeat:"repeat"},oe?{backgroundImage:"url('".concat(oe,"')")}:{}),H)})]})},kt=[576,768,992,1200].map(function(t){return"@media (max-width: ".concat(t,"px)")}),Ae=(0,Be.Z)(kt,4),ot=Ae[0],it=Ae[1],Ut=Ae[2],Gt=Ae[3],Vt=function(e){var r,a,c,w,_,H,G,A,z,D,U,k,R,T,X,I,$,te;return(0,u.Z)({},e.componentCls,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({position:"relative","&-children-container":{paddingBlockStart:0,paddingBlockEnd:(r=e.layout)===null||r===void 0||(r=r.pageContainer)===null||r===void 0?void 0:r.paddingBlockPageContainerContent,paddingInline:(a=e.layout)===null||a===void 0||(a=a.pageContainer)===null||a===void 0?void 0:a.paddingInlinePageContainerContent},"&-children-container-no-header":{paddingBlockStart:(c=e.layout)===null||c===void 0||(c=c.pageContainer)===null||c===void 0?void 0:c.paddingBlockPageContainerContent},"&-affix":(0,u.Z)({},"".concat(e.antCls,"-affix"),(0,u.Z)({},"".concat(e.componentCls,"-warp"),{backgroundColor:(w=e.layout)===null||w===void 0||(w=w.pageContainer)===null||w===void 0?void 0:w.colorBgPageContainerFixed,transition:"background-color 0.3s",boxShadow:"0 2px 8px #f0f1f2"}))},"& &-warp-page-header",(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({paddingBlockStart:((_=(H=e.layout)===null||H===void 0||(H=H.pageContainer)===null||H===void 0?void 0:H.paddingBlockPageContainerContent)!==null&&_!==void 0?_:40)/4,paddingBlockEnd:((G=(A=e.layout)===null||A===void 0||(A=A.pageContainer)===null||A===void 0?void 0:A.paddingBlockPageContainerContent)!==null&&G!==void 0?G:40)/2,paddingInlineStart:(z=e.layout)===null||z===void 0||(z=z.pageContainer)===null||z===void 0?void 0:z.paddingInlinePageContainerContent,paddingInlineEnd:(D=e.layout)===null||D===void 0||(D=D.pageContainer)===null||D===void 0?void 0:D.paddingInlinePageContainerContent},"& ~ ".concat(e.proComponentsCls,"-grid-content"),(0,u.Z)({},"".concat(e.proComponentsCls,"-page-container-children-content"),{paddingBlock:((U=(k=e.layout)===null||k===void 0||(k=k.pageContainer)===null||k===void 0?void 0:k.paddingBlockPageContainerContent)!==null&&U!==void 0?U:24)/3})),"".concat(e.antCls,"-page-header-breadcrumb"),{paddingBlockStart:((R=(T=e.layout)===null||T===void 0||(T=T.pageContainer)===null||T===void 0?void 0:T.paddingBlockPageContainerContent)!==null&&R!==void 0?R:40)/4+10}),"".concat(e.antCls,"-page-header-heading"),{paddingBlockStart:((X=(I=e.layout)===null||I===void 0||(I=I.pageContainer)===null||I===void 0?void 0:I.paddingBlockPageContainerContent)!==null&&X!==void 0?X:40)/4}),"".concat(e.antCls,"-page-header-footer"),{marginBlockStart:(($=(te=e.layout)===null||te===void 0||(te=te.pageContainer)===null||te===void 0?void 0:te.paddingBlockPageContainerContent)!==null&&$!==void 0?$:40)/4})),"&-detail",(0,u.Z)({display:"flex"},ot,{display:"block"})),"&-main",{width:"100%"}),"&-row",(0,u.Z)({display:"flex",width:"100%"},it,{display:"block"})),"&-content",{flex:"auto",width:"100%"}),"&-extraContent",(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({flex:"0 1 auto",minWidth:"242px",marginInlineStart:88,textAlign:"end"},Gt,{marginInlineStart:44}),Ut,{marginInlineStart:20}),it,{marginInlineStart:0,textAlign:"start"}),ot,{marginInlineStart:0})))};function Yt(t,e){return(0,fe.Xj)("ProLayoutPageContainer",function(r){var a,c=(0,i.Z)((0,i.Z)({},r),{},{componentCls:".".concat(t),layout:(0,i.Z)((0,i.Z)({},r==null?void 0:r.layout),{},{pageContainer:(0,i.Z)((0,i.Z)({},r==null||(a=r.layout)===null||a===void 0?void 0:a.pageContainer),e)})});return[Vt(c)]})}function Qt(t,e){var r=e.stylish;return(0,fe.Xj)("ProLayoutPageContainerStylish",function(a){var c=(0,i.Z)((0,i.Z)({},a),{},{componentCls:".".concat(t)});return r?[(0,u.Z)({},"div".concat(c.componentCls),r==null?void 0:r(c))]:[]})}var Kt=l(1977),Jt=["title","content","pageHeaderRender","header","prefixedClassName","extraContent","childrenContentStyle","style","prefixCls","hashId","value","breadcrumbRender"],qt=["children","loading","className","style","footer","affixProps","token","fixedHeader","breadcrumbRender","footerToolBarProps","childrenContentStyle"];function er(t){return(0,x.Z)(t)==="object"?t:{spinning:t}}var tr=function(e){var r=e.tabList,a=e.tabActiveKey,c=e.onTabChange,w=e.hashId,_=e.tabBarExtraContent,H=e.tabProps,G=e.prefixedClassName;return Array.isArray(r)||_?(0,P.jsx)(E.Z,(0,i.Z)((0,i.Z)({className:"".concat(G,"-tabs ").concat(w).trim(),activeKey:a,onChange:function(z){c&&c(z)},tabBarExtraContent:_,items:r==null?void 0:r.map(function(A,z){var D;return(0,i.Z)((0,i.Z)({label:A.tab},A),{},{key:((D=A.key)===null||D===void 0?void 0:D.toString())||(z==null?void 0:z.toString())})})},H),{},{children:(0,Kt.n)(Y.Z,"4.23.0")<0?r==null?void 0:r.map(function(A,z){return(0,P.jsx)(E.Z.TabPane,(0,i.Z)({tab:A.tab},A),A.key||z)}):null})):null},rr=function(e,r,a,c){return!e&&!r?null:(0,P.jsx)("div",{className:"".concat(a,"-detail ").concat(c).trim(),children:(0,P.jsx)("div",{className:"".concat(a,"-main ").concat(c).trim(),children:(0,P.jsxs)("div",{className:"".concat(a,"-row ").concat(c).trim(),children:[e&&(0,P.jsx)("div",{className:"".concat(a,"-content ").concat(c).trim(),children:e}),r&&(0,P.jsx)("div",{className:"".concat(a,"-extraContent ").concat(c).trim(),children:r})]})})})},fr=function(e){var r=useContext(RouteContext);return _jsx("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:_jsx(Breadcrumb,_objectSpread(_objectSpread(_objectSpread({},r==null?void 0:r.breadcrumb),r==null?void 0:r.breadcrumbProps),e))})},lt=function(e){var r,a=e.title,c=e.content,w=e.pageHeaderRender,_=e.header,H=e.prefixedClassName,G=e.extraContent,A=e.childrenContentStyle,z=e.style,D=e.prefixCls,U=e.hashId,k=e.value,R=e.breadcrumbRender,T=(0,N.Z)(e,Jt),X=function(){if(R)return R};if(w===!1)return null;if(w)return(0,P.jsxs)(P.Fragment,{children:[" ",w((0,i.Z)((0,i.Z)({},e),k))]});var I=a;!a&&a!==!1&&(I=k.title);var $=(0,i.Z)((0,i.Z)((0,i.Z)({},k),{},{title:I},T),{},{footer:tr((0,i.Z)((0,i.Z)({},T),{},{hashId:U,breadcrumbRender:R,prefixedClassName:H}))},_),te=$,L=te.breadcrumb,de=(!L||!(L!=null&&L.itemRender)&&!(L!=null&&(r=L.items)!==null&&r!==void 0&&r.length))&&!R;return["title","subTitle","extra","tags","footer","avatar","backIcon"].every(function(ie){return!$[ie]})&&de&&!c&&!G?null:(0,P.jsx)(Wt,(0,i.Z)((0,i.Z)({},$),{},{className:"".concat(H,"-warp-page-header ").concat(U).trim(),breadcrumb:R===!1?void 0:(0,i.Z)((0,i.Z)({},$.breadcrumb),k.breadcrumbProps),breadcrumbRender:X(),prefixCls:D,children:(_==null?void 0:_.children)||rr(c,G,H,U)}))},nr=function(e){var r,a,c=e.children,w=e.loading,_=w===void 0?!1:w,H=e.className,G=e.style,A=e.footer,z=e.affixProps,D=e.token,U=e.fixedHeader,k=e.breadcrumbRender,R=e.footerToolBarProps,T=e.childrenContentStyle,X=(0,N.Z)(e,qt),I=(0,p.useContext)(ge.X);(0,p.useEffect)(function(){var se;return!I||!(I!=null&&I.setHasPageContainer)?function(){}:(I==null||(se=I.setHasPageContainer)===null||se===void 0||se.call(I,function(ye){return ye+1}),function(){var ye;I==null||(ye=I.setHasPageContainer)===null||ye===void 0||ye.call(I,function(_e){return _e-1})})},[]);var $=(0,p.useContext)(W.L_),te=$.token,L=(0,p.useContext)(K.ZP.ConfigContext),de=L.getPrefixCls,ie=e.prefixCls||de("pro"),V="".concat(ie,"-page-container"),ce=Yt(V,D),ue=ce.wrapSSR,re=ce.hashId,ae=Qt("".concat(V,".").concat(V,"-stylish"),{stylish:e.stylish}),be=(0,p.useMemo)(function(){var se;return k==!1?!1:k||(X==null||(se=X.header)===null||se===void 0?void 0:se.breadcrumbRender)},[k,X==null||(r=X.header)===null||r===void 0?void 0:r.breadcrumbRender]),me=lt((0,i.Z)((0,i.Z)({},X),{},{breadcrumbRender:be,ghost:!0,hashId:re,prefixCls:void 0,prefixedClassName:V,value:I})),Ce=(0,p.useMemo)(function(){if(p.isValidElement(_))return _;if(typeof _=="boolean"&&!_)return null;var se=er(_);return se.spinning?(0,P.jsx)(Lt.S,(0,i.Z)({},se)):null},[_]),ve=(0,p.useMemo)(function(){return c?(0,P.jsx)(P.Fragment,{children:(0,P.jsx)("div",{className:B()(re,"".concat(V,"-children-container"),(0,u.Z)({},"".concat(V,"-children-container-no-header"),!me)),style:T,children:c})}):null},[c,V,T,re]),pe=(0,p.useMemo)(function(){var se=Ce||ve;if(e.waterMarkProps||I.waterMarkProps){var ye=(0,i.Z)((0,i.Z)({},I.waterMarkProps),e.waterMarkProps);return(0,P.jsx)(Xt,(0,i.Z)((0,i.Z)({},ye),{},{children:se}))}return se},[e.waterMarkProps,I.waterMarkProps,Ce,ve]),Oe=B()(V,re,H,(0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(V,"-with-footer"),A),"".concat(V,"-with-affix"),U&&me),"".concat(V,"-stylish"),!!X.stylish));return ue(ae.wrapSSR((0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)("div",{style:G,className:Oe,children:[U&&me?(0,P.jsx)(ee,(0,i.Z)((0,i.Z)({offsetTop:I.hasHeader&&I.fixedHeader?(a=te.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.heightLayoutHeader:1},z),{},{className:"".concat(V,"-affix ").concat(re).trim(),children:(0,P.jsx)("div",{className:"".concat(V,"-warp ").concat(re).trim(),children:me})})):me,pe&&(0,P.jsx)(Fe,{children:pe})]}),A&&(0,P.jsx)(Re,(0,i.Z)((0,i.Z)({stylish:X.footerStylish,prefixCls:ie},R),{},{children:A}))]})))},ar=function(e){return(0,P.jsx)(W._Y,{needDeps:!0,children:(0,P.jsx)(nr,(0,i.Z)({},e))})},vr=function(e){var r=useContext(RouteContext);return lt(_objectSpread(_objectSpread({},e),{},{hashId:"",value:r}))}},3770:function(Z,y,l){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;const u=N(l(27863));function N(x){return x&&x.__esModule?x:{default:x}}const i=u;y.default=i,Z.exports=i},77059:function(Z,y,l){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;const u=N(l(21379));function N(x){return x&&x.__esModule?x:{default:x}}const i=u;y.default=i,Z.exports=i},33046:function(Z,y,l){"use client";"use strict";Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"default",{enumerable:!0,get:function(){return j}});var u=n(l(67294)),N=B(l(93967)),i=l(34853),x=B(l(61711)),W=B(l(27727)),E=l(26814),Y=l(72014);function K(o,d){(d==null||d>o.length)&&(d=o.length);for(var m=0,C=new Array(d);m<d;m++)C[m]=o[m];return C}function p(o){if(Array.isArray(o))return o}function Q(o,d,m){return d in o?Object.defineProperty(o,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):o[d]=m,o}function B(o){return o&&o.__esModule?o:{default:o}}function q(o){if(typeof WeakMap!="function")return null;var d=new WeakMap,m=new WeakMap;return(q=function(C){return C?m:d})(o)}function n(o,d){if(!d&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var m=q(d);if(m&&m.has(o))return m.get(o);var C={__proto__:null},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ee in o)if(ee!=="default"&&Object.prototype.hasOwnProperty.call(o,ee)){var ge=F?Object.getOwnPropertyDescriptor(o,ee):null;ge&&(ge.get||ge.set)?Object.defineProperty(C,ee,ge):C[ee]=o[ee]}return C.default=o,m&&m.set(o,C),C}function f(o,d){var m=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(m!=null){var C=[],F=!0,ee=!1,ge,Se;try{for(m=m.call(o);!(F=(ge=m.next()).done)&&(C.push(ge.value),!(d&&C.length===d));F=!0);}catch(Te){ee=!0,Se=Te}finally{try{!F&&m.return!=null&&m.return()}finally{if(ee)throw Se}}return C}}function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(o){for(var d=1;d<arguments.length;d++){var m=arguments[d]!=null?arguments[d]:{},C=Object.keys(m);typeof Object.getOwnPropertySymbols=="function"&&(C=C.concat(Object.getOwnPropertySymbols(m).filter(function(F){return Object.getOwnPropertyDescriptor(m,F).enumerable}))),C.forEach(function(F){Q(o,F,m[F])})}return o}function b(o,d){var m=Object.keys(o);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(o);d&&(C=C.filter(function(F){return Object.getOwnPropertyDescriptor(o,F).enumerable})),m.push.apply(m,C)}return m}function O(o,d){return d=d!=null?d:{},Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(d)):b(Object(d)).forEach(function(m){Object.defineProperty(o,m,Object.getOwnPropertyDescriptor(d,m))}),o}function h(o,d){if(o==null)return{};var m=S(o,d),C,F;if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(o);for(F=0;F<ee.length;F++)C=ee[F],!(d.indexOf(C)>=0)&&Object.prototype.propertyIsEnumerable.call(o,C)&&(m[C]=o[C])}return m}function S(o,d){if(o==null)return{};var m={},C=Object.keys(o),F,ee;for(ee=0;ee<C.length;ee++)F=C[ee],!(d.indexOf(F)>=0)&&(m[F]=o[F]);return m}function M(o,d){return p(o)||f(o,d)||ne(o,d)||g()}function ne(o,d){if(o){if(typeof o=="string")return K(o,d);var m=Object.prototype.toString.call(o).slice(8,-1);if(m==="Object"&&o.constructor&&(m=o.constructor.name),m==="Map"||m==="Set")return Array.from(m);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return K(o,d)}}(0,E.setTwoToneColor)(i.blue.primary);var v=u.forwardRef(function(o,d){var m=o.className,C=o.icon,F=o.spin,ee=o.rotate,ge=o.tabIndex,Se=o.onClick,Te=o.twoToneColor,$e=h(o,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),fe=u.useContext(x.default),De=fe.prefixCls,Ne=De===void 0?"anticon":De,ze=fe.rootClassName,P,We=(0,N.default)(ze,Ne,(P={},Q(P,"".concat(Ne,"-").concat(C.name),!!C.name),Q(P,"".concat(Ne,"-spin"),!!F||C.name==="loading"),P),m),Re=ge;Re===void 0&&Se&&(Re=-1);var Le=ee?{msTransform:"rotate(".concat(ee,"deg)"),transform:"rotate(".concat(ee,"deg)")}:void 0,He=M((0,Y.normalizeTwoToneColors)(Te),2),Fe=He[0],Be=He[1];return u.createElement("span",O(s({role:"img","aria-label":C.name},$e),{ref:d,tabIndex:Re,onClick:Se,className:We}),u.createElement(W.default,{icon:C,primaryColor:Fe,secondaryColor:Be,style:Le}))});v.displayName="AntdIcon",v.getTwoToneColor=E.getTwoToneColor,v.setTwoToneColor=E.setTwoToneColor;var j=v},61711:function(Z,y,l){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"default",{enumerable:!0,get:function(){return i}});var u=l(67294),N=(0,u.createContext)({}),i=N},27727:function(Z,y,l){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"default",{enumerable:!0,get:function(){return g}});var u=W(l(67294)),N=l(72014);function i(s,b,O){return b in s?Object.defineProperty(s,b,{value:O,enumerable:!0,configurable:!0,writable:!0}):s[b]=O,s}function x(s){if(typeof WeakMap!="function")return null;var b=new WeakMap,O=new WeakMap;return(x=function(h){return h?O:b})(s)}function W(s,b){if(!b&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var O=x(b);if(O&&O.has(s))return O.get(s);var h={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in s)if(M!=="default"&&Object.prototype.hasOwnProperty.call(s,M)){var ne=S?Object.getOwnPropertyDescriptor(s,M):null;ne&&(ne.get||ne.set)?Object.defineProperty(h,M,ne):h[M]=s[M]}return h.default=s,O&&O.set(s,h),h}function E(s){for(var b=1;b<arguments.length;b++){var O=arguments[b]!=null?arguments[b]:{},h=Object.keys(O);typeof Object.getOwnPropertySymbols=="function"&&(h=h.concat(Object.getOwnPropertySymbols(O).filter(function(S){return Object.getOwnPropertyDescriptor(O,S).enumerable}))),h.forEach(function(S){i(s,S,O[S])})}return s}function Y(s,b){var O=Object.keys(s);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(s);b&&(h=h.filter(function(S){return Object.getOwnPropertyDescriptor(s,S).enumerable})),O.push.apply(O,h)}return O}function K(s,b){return b=b!=null?b:{},Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(b)):Y(Object(b)).forEach(function(O){Object.defineProperty(s,O,Object.getOwnPropertyDescriptor(b,O))}),s}function p(s,b){if(s==null)return{};var O=Q(s,b),h,S;if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(s);for(S=0;S<M.length;S++)h=M[S],!(b.indexOf(h)>=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(O[h]=s[h])}return O}function Q(s,b){if(s==null)return{};var O={},h=Object.keys(s),S,M;for(M=0;M<h.length;M++)S=h[M],!(b.indexOf(S)>=0)&&(O[S]=s[S]);return O}var B={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function q(s){var b=s.primaryColor,O=s.secondaryColor;B.primaryColor=b,B.secondaryColor=O||(0,N.getSecondaryColor)(b),B.calculated=!!O}function n(){return E({},B)}var f=function(s){var b=s.icon,O=s.className,h=s.onClick,S=s.style,M=s.primaryColor,ne=s.secondaryColor,v=p(s,["icon","className","onClick","style","primaryColor","secondaryColor"]),j=u.useRef(),o=B;if(M&&(o={primaryColor:M,secondaryColor:ne||(0,N.getSecondaryColor)(M)}),(0,N.useInsertStyles)(j),(0,N.warning)((0,N.isIconDefinition)(b),"icon should be icon definiton, but got ".concat(b)),!(0,N.isIconDefinition)(b))return null;var d=b;return d&&typeof d.icon=="function"&&(d=K(E({},d),{icon:d.icon(o.primaryColor,o.secondaryColor)})),(0,N.generate)(d.icon,"svg-".concat(d.name),K(E({className:O,onClick:h,style:S,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},v),{ref:j}))};f.displayName="IconReact",f.getTwoToneColors=n,f.setTwoToneColors=q;var g=f},26814:function(Z,y,l){"use strict";Object.defineProperty(y,"__esModule",{value:!0});function u(n,f){for(var g in f)Object.defineProperty(n,g,{enumerable:!0,get:f[g]})}u(y,{getTwoToneColor:function(){return q},setTwoToneColor:function(){return B}});var N=E(l(27727)),i=l(72014);function x(n,f){(f==null||f>n.length)&&(f=n.length);for(var g=0,s=new Array(f);g<f;g++)s[g]=n[g];return s}function W(n){if(Array.isArray(n))return n}function E(n){return n&&n.__esModule?n:{default:n}}function Y(n,f){var g=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(g!=null){var s=[],b=!0,O=!1,h,S;try{for(g=g.call(n);!(b=(h=g.next()).done)&&(s.push(h.value),!(f&&s.length===f));b=!0);}catch(M){O=!0,S=M}finally{try{!b&&g.return!=null&&g.return()}finally{if(O)throw S}}return s}}function K(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(n,f){return W(n)||Y(n,f)||Q(n,f)||K()}function Q(n,f){if(n){if(typeof n=="string")return x(n,f);var g=Object.prototype.toString.call(n).slice(8,-1);if(g==="Object"&&n.constructor&&(g=n.constructor.name),g==="Map"||g==="Set")return Array.from(g);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return x(n,f)}}function B(n){var f=p((0,i.normalizeTwoToneColors)(n),2),g=f[0],s=f[1];return N.default.setTwoToneColors({primaryColor:g,secondaryColor:s})}function q(){var n=N.default.getTwoToneColors();return n.calculated?[n.primaryColor,n.secondaryColor]:n.primaryColor}},27863:function(Z,y,l){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"default",{enumerable:!0,get:function(){return q}});var u=Y(l(67294)),N=W(l(47356)),i=W(l(33046));function x(n,f,g){return f in n?Object.defineProperty(n,f,{value:g,enumerable:!0,configurable:!0,writable:!0}):n[f]=g,n}function W(n){return n&&n.__esModule?n:{default:n}}function E(n){if(typeof WeakMap!="function")return null;var f=new WeakMap,g=new WeakMap;return(E=function(s){return s?g:f})(n)}function Y(n,f){if(!f&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var g=E(f);if(g&&g.has(n))return g.get(n);var s={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in n)if(O!=="default"&&Object.prototype.hasOwnProperty.call(n,O)){var h=b?Object.getOwnPropertyDescriptor(n,O):null;h&&(h.get||h.set)?Object.defineProperty(s,O,h):s[O]=n[O]}return s.default=n,g&&g.set(n,s),s}function K(n){for(var f=1;f<arguments.length;f++){var g=arguments[f]!=null?arguments[f]:{},s=Object.keys(g);typeof Object.getOwnPropertySymbols=="function"&&(s=s.concat(Object.getOwnPropertySymbols(g).filter(function(b){return Object.getOwnPropertyDescriptor(g,b).enumerable}))),s.forEach(function(b){x(n,b,g[b])})}return n}function p(n,f){var g=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);f&&(s=s.filter(function(b){return Object.getOwnPropertyDescriptor(n,b).enumerable})),g.push.apply(g,s)}return g}function Q(n,f){return f=f!=null?f:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(f)):p(Object(f)).forEach(function(g){Object.defineProperty(n,g,Object.getOwnPropertyDescriptor(f,g))}),n}var B=function(n,f){return u.createElement(i.default,Q(K({},n),{ref:f,icon:N.default}))},q=u.forwardRef(B)},21379:function(Z,y,l){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"default",{enumerable:!0,get:function(){return q}});var u=Y(l(67294)),N=W(l(44149)),i=W(l(33046));function x(n,f,g){return f in n?Object.defineProperty(n,f,{value:g,enumerable:!0,configurable:!0,writable:!0}):n[f]=g,n}function W(n){return n&&n.__esModule?n:{default:n}}function E(n){if(typeof WeakMap!="function")return null;var f=new WeakMap,g=new WeakMap;return(E=function(s){return s?g:f})(n)}function Y(n,f){if(!f&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var g=E(f);if(g&&g.has(n))return g.get(n);var s={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in n)if(O!=="default"&&Object.prototype.hasOwnProperty.call(n,O)){var h=b?Object.getOwnPropertyDescriptor(n,O):null;h&&(h.get||h.set)?Object.defineProperty(s,O,h):s[O]=n[O]}return s.default=n,g&&g.set(n,s),s}function K(n){for(var f=1;f<arguments.length;f++){var g=arguments[f]!=null?arguments[f]:{},s=Object.keys(g);typeof Object.getOwnPropertySymbols=="function"&&(s=s.concat(Object.getOwnPropertySymbols(g).filter(function(b){return Object.getOwnPropertyDescriptor(g,b).enumerable}))),s.forEach(function(b){x(n,b,g[b])})}return n}function p(n,f){var g=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);f&&(s=s.filter(function(b){return Object.getOwnPropertyDescriptor(n,b).enumerable})),g.push.apply(g,s)}return g}function Q(n,f){return f=f!=null?f:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(f)):p(Object(f)).forEach(function(g){Object.defineProperty(n,g,Object.getOwnPropertyDescriptor(f,g))}),n}var B=function(n,f){return u.createElement(i.default,Q(K({},n),{ref:f,icon:N.default}))},q=u.forwardRef(B)},72014:function(Z,y,l){"use strict";Object.defineProperty(y,"__esModule",{value:!0});function u(v,j){for(var o in j)Object.defineProperty(v,o,{enumerable:!0,get:j[o]})}u(y,{generate:function(){return b},getSecondaryColor:function(){return O},iconStyles:function(){return M},isIconDefinition:function(){return g},normalizeAttrs:function(){return s},normalizeTwoToneColors:function(){return h},svgBaseProps:function(){return S},useInsertStyles:function(){return ne},warning:function(){return f}});var N=l(34853),i=l(93399),x=l(63298),W=p(l(45520)),E=B(l(67294)),Y=p(l(61711));function K(v,j,o){return j in v?Object.defineProperty(v,j,{value:o,enumerable:!0,configurable:!0,writable:!0}):v[j]=o,v}function p(v){return v&&v.__esModule?v:{default:v}}function Q(v){if(typeof WeakMap!="function")return null;var j=new WeakMap,o=new WeakMap;return(Q=function(d){return d?o:j})(v)}function B(v,j){if(!j&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var o=Q(j);if(o&&o.has(v))return o.get(v);var d={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in v)if(C!=="default"&&Object.prototype.hasOwnProperty.call(v,C)){var F=m?Object.getOwnPropertyDescriptor(v,C):null;F&&(F.get||F.set)?Object.defineProperty(d,C,F):d[C]=v[C]}return d.default=v,o&&o.set(v,d),d}function q(v){for(var j=1;j<arguments.length;j++){var o=arguments[j]!=null?arguments[j]:{},d=Object.keys(o);typeof Object.getOwnPropertySymbols=="function"&&(d=d.concat(Object.getOwnPropertySymbols(o).filter(function(m){return Object.getOwnPropertyDescriptor(o,m).enumerable}))),d.forEach(function(m){K(v,m,o[m])})}return v}function n(v){return v.replace(/-(.)/g,function(j,o){return o.toUpperCase()})}function f(v,j){(0,W.default)(v,"[@ant-design/icons] ".concat(j))}function g(v){return typeof v=="object"&&typeof v.name=="string"&&typeof v.theme=="string"&&(typeof v.icon=="object"||typeof v.icon=="function")}function s(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(v).reduce(function(j,o){var d=v[o];switch(o){case"class":j.className=d,delete j.class;break;default:delete j[o],j[n(o)]=d}return j},{})}function b(v,j,o){return o?E.default.createElement(v.tag,q({key:j},s(v.attrs),o),(v.children||[]).map(function(d,m){return b(d,"".concat(j,"-").concat(v.tag,"-").concat(m))})):E.default.createElement(v.tag,q({key:j},s(v.attrs)),(v.children||[]).map(function(d,m){return b(d,"".concat(j,"-").concat(v.tag,"-").concat(m))}))}function O(v){return(0,N.generate)(v)[0]}function h(v){return v?Array.isArray(v)?v:[v]:[]}var S={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},M=`
.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(v){var j=(0,E.useContext)(Y.default),o=j.csp,d=j.prefixCls,m=M;d&&(m=m.replace(/anticon/g,d)),(0,E.useEffect)(function(){var C=v.current,F=(0,x.getShadowRoot)(C);(0,i.updateCSS)(m,"@ant-design-icons",{prepend:!0,csp:o,attachTo:F})},[])}},19158:function(Z,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(Z,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.default=l;function l(u,N){if(!u)return!1;if(u.contains)return u.contains(N);for(var i=N;i;){if(i===u)return!0;i=i.parentNode}return!1}},93399:function(Z,y,l){"use strict";var u=l(64836).default;Object.defineProperty(y,"__esModule",{value:!0}),y.clearContainerCache=b,y.injectCSS=n,y.removeCSS=g,y.updateCSS=O;var N=u(l(42122)),i=u(l(19158)),x=u(l(32191)),W="data-rc-order",E="data-rc-priority",Y="rc-util-key",K=new Map;function p(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},S=h.mark;return S?S.startsWith("data-")?S:"data-".concat(S):Y}function Q(h){if(h.attachTo)return h.attachTo;var S=document.querySelector("head");return S||document.body}function B(h){return h==="queue"?"prependQueue":h?"prepend":"append"}function q(h){return Array.from((K.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 M=S.csp,ne=S.prepend,v=S.priority,j=v===void 0?0:v,o=B(ne),d=o==="prependQueue",m=document.createElement("style");m.setAttribute(W,o),d&&j&&m.setAttribute(E,"".concat(j)),M!=null&&M.nonce&&(m.nonce=M==null?void 0:M.nonce),m.innerHTML=h;var C=Q(S),F=C.firstChild;if(ne){if(d){var ee=(S.styles||q(C)).filter(function(ge){if(!["prepend","prependQueue"].includes(ge.getAttribute(W)))return!1;var Se=Number(ge.getAttribute(E)||0);return j>=Se});if(ee.length)return C.insertBefore(m,ee[ee.length-1].nextSibling),m}C.insertBefore(m,F)}else C.appendChild(m);return m}function f(h){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=Q(S);return(S.styles||q(M)).find(function(ne){return ne.getAttribute(p(S))===h})}function g(h){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=f(h,S);if(M){var ne=Q(S);ne.removeChild(M)}}function s(h,S){var M=K.get(h);if(!M||!(0,x.default)(document,M)){var ne=n("",S),v=ne.parentNode;K.set(h,v),h.removeChild(ne)}}function b(){K.clear()}function O(h,S){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ne=Q(M),v=q(ne),j=(0,N.default)((0,N.default)({},M),{},{styles:v});s(ne,j);var o=f(S,j);if(o){var d,m;if((d=j.csp)!==null&&d!==void 0&&d.nonce&&o.nonce!==((m=j.csp)===null||m===void 0?void 0:m.nonce)){var C;o.nonce=(C=j.csp)===null||C===void 0?void 0:C.nonce}return o.innerHTML!==h&&(o.innerHTML=h),o}var F=n(h,j);return F.setAttribute(p(j),S),F}},63298:function(Z,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.getShadowRoot=N,y.inShadow=u;function l(i){var x;return i==null||(x=i.getRootNode)===null||x===void 0?void 0:x.call(i)}function u(i){return l(i)instanceof ShadowRoot}function N(i){return u(i)?l(i):null}},45520:function(Z,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.call=E,y.default=void 0,y.note=x,y.noteOnce=K,y.preMessage=void 0,y.resetWarned=W,y.warning=i,y.warningOnce=Y;var l={},u=[],N=y.preMessage=function(B){u.push(B)};function i(Q,B){if(!1)var q}function x(Q,B){if(!1)var q}function W(){l={}}function E(Q,B,q){!B&&!l[q]&&(Q(!1,q),l[q]=!0)}function Y(Q,B){E(i,Q,B)}function K(Q,B){E(x,Q,B)}Y.preMessage=N,Y.resetWarned=W,Y.noteOnce=K;var p=y.default=Y},38416:function(Z,y,l){var u=l(64062);function N(i,x,W){return x=u(x),x in i?Object.defineProperty(i,x,{value:W,enumerable:!0,configurable:!0,writable:!0}):i[x]=W,i}Z.exports=N,Z.exports.__esModule=!0,Z.exports.default=Z.exports},64836:function(Z){function y(l){return l&&l.__esModule?l:{default:l}}Z.exports=y,Z.exports.__esModule=!0,Z.exports.default=Z.exports},42122:function(Z,y,l){var u=l(38416);function N(x,W){var E=Object.keys(x);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(x);W&&(Y=Y.filter(function(K){return Object.getOwnPropertyDescriptor(x,K).enumerable})),E.push.apply(E,Y)}return E}function i(x){for(var W=1;W<arguments.length;W++){var E=arguments[W]!=null?arguments[W]:{};W%2?N(Object(E),!0).forEach(function(Y){u(x,Y,E[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(E)):N(Object(E)).forEach(function(Y){Object.defineProperty(x,Y,Object.getOwnPropertyDescriptor(E,Y))})}return x}Z.exports=i,Z.exports.__esModule=!0,Z.exports.default=Z.exports},95036:function(Z,y,l){var u=l(18698).default;function N(i,x){if(u(i)!="object"||!i)return i;var W=i[Symbol.toPrimitive];if(W!==void 0){var E=W.call(i,x||"default");if(u(E)!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return(x==="string"?String:Number)(i)}Z.exports=N,Z.exports.__esModule=!0,Z.exports.default=Z.exports},64062:function(Z,y,l){var u=l(18698).default,N=l(95036);function i(x){var W=N(x,"string");return u(W)=="symbol"?W:String(W)}Z.exports=i,Z.exports.__esModule=!0,Z.exports.default=Z.exports},18698:function(Z){function y(l){"@babel/helpers - typeof";return Z.exports=y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},Z.exports.__esModule=!0,Z.exports.default=Z.exports,y(l)}Z.exports=y,Z.exports.__esModule=!0,Z.exports.default=Z.exports}}]);