997.24bcfa77.chunk.js 27 KB

12
  1. "use strict";(self.webpackChunkyge_admin=self.webpackChunkyge_admin||[]).push([[997],{3465:function(e,t,n){n.d(t,{Z:function(){return o}});const o=e=>e?"function"===typeof e?e():e:null},9469:function(e,t,n){n.d(t,{Z:function(){return _}});var o=n(260),a=n.n(o),r=n(4965),i=n(161),c=n(4400),l=n(858),s=n(1790),p=n(8272),d=n(9159),m=n(552),u=n(3965),g=n(1920),f=n(3424);g.Z,p.Z,d.Z,u.Z,f.Z;function b(e,t){return null===t||!1===t?null:t||r.createElement("span",{className:"".concat(e,"-close-x")},r.createElement(m.Z,{className:"".concat(e,"-close-icon")}))}const v={success:p.Z,info:g.Z,error:d.Z,warning:u.Z},y=e=>{const{prefixCls:t,icon:n,type:o,message:i,description:c,btn:l,role:s="alert"}=e;let p=null;return n?p=r.createElement("span",{className:"".concat(t,"-icon")},n):o&&(p=r.createElement(v[o]||null,{className:a()("".concat(t,"-icon"),"".concat(t,"-icon-").concat(o))})),r.createElement("div",{className:a()({["".concat(t,"-with-icon")]:p}),role:s},p,r.createElement("div",{className:"".concat(t,"-message")},i),r.createElement("div",{className:"".concat(t,"-description")},c),l&&r.createElement("div",{className:"".concat(t,"-btn")},l))};var h=n(826),O=n(4946),x=n(1553),S=n(988);var C=e=>{const{componentCls:t,width:n,notificationMarginEdge:o}=e,a=new h.E4("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),r=new h.E4("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),i=new h.E4("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{["&".concat(t,"-top, &").concat(t,"-bottom")]:{marginInline:0},["&".concat(t,"-top")]:{["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:a}},["&".concat(t,"-bottom")]:{["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:r}},["&".concat(t,"-topLeft, &").concat(t,"-bottomLeft")]:{marginInlineEnd:0,marginInlineStart:o,["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:i}}}};const E=e=>{const{iconCls:t,componentCls:n,boxShadow:o,fontSizeLG:a,notificationMarginBottom:r,borderRadiusLG:i,colorSuccess:c,colorInfo:l,colorWarning:s,colorError:p,colorTextHeading:d,notificationBg:m,notificationPadding:u,notificationMarginEdge:g,motionDurationMid:f,motionEaseInOut:b,fontSize:v,lineHeight:y,width:x,notificationIconSize:S,colorText:E}=e,j="".concat(n,"-notice"),w=new h.E4("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:x},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),k=new h.E4("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:r,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),N={position:"relative",width:x,maxWidth:"calc(100vw - ".concat(2*g,"px)"),marginBottom:r,marginInlineStart:"auto",padding:u,overflow:"hidden",lineHeight:y,wordWrap:"break-word",background:m,borderRadius:i,boxShadow:o,["".concat(n,"-close-icon")]:{fontSize:v,cursor:"pointer"},["".concat(j,"-message")]:{marginBottom:e.marginXS,color:d,fontSize:a,lineHeight:e.lineHeightLG},["".concat(j,"-description")]:{fontSize:v,color:E},["&".concat(j,"-closable ").concat(j,"-message")]:{paddingInlineEnd:e.paddingLG},["".concat(j,"-with-icon ").concat(j,"-message")]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+S,fontSize:a},["".concat(j,"-with-icon ").concat(j,"-description")]:{marginInlineStart:e.marginSM+S,fontSize:v},["".concat(j,"-icon")]:{position:"absolute",fontSize:S,lineHeight:0,["&-success".concat(t)]:{color:c},["&-info".concat(t)]:{color:l},["&-warning".concat(t)]:{color:s},["&-error".concat(t)]:{color:p}},["".concat(j,"-close")]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:"background-color ".concat(e.motionDurationMid,", color ").concat(e.motionDurationMid),display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},["".concat(j,"-btn")]:{float:"right",marginTop:e.marginSM}};return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,O.Wf)(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:g,["".concat(n,"-hook-holder")]:{position:"relative"},["&".concat(n,"-top, &").concat(n,"-bottom")]:{[j]:{marginInline:"auto auto"}},["&".concat(n,"-topLeft, &").concat(n,"-bottomLeft")]:{[j]:{marginInlineEnd:"auto",marginInlineStart:0}},["".concat(n,"-fade-enter, ").concat(n,"-fade-appear")]:{animationDuration:e.motionDurationMid,animationTimingFunction:b,animationFillMode:"both",opacity:0,animationPlayState:"paused"},["".concat(n,"-fade-leave")]:{animationTimingFunction:b,animationFillMode:"both",animationDuration:f,animationPlayState:"paused"},["".concat(n,"-fade-enter").concat(n,"-fade-enter-active, ").concat(n,"-fade-appear").concat(n,"-fade-appear-active")]:{animationName:w,animationPlayState:"running"},["".concat(n,"-fade-leave").concat(n,"-fade-leave-active")]:{animationName:k,animationPlayState:"running"}}),C(e)),{"&-rtl":{direction:"rtl",["".concat(j,"-btn")]:{float:"left"}}})},{[n]:{[j]:Object.assign({},N)}},{["".concat(j,"-pure-panel")]:Object.assign(Object.assign({},N),{margin:0})}]};var j=(0,x.Z)("Notification",(e=>{const t=e.paddingMD,n=e.paddingLG,o=(0,S.TS)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:.55*e.controlHeightLG,notificationMarginBottom:e.margin,notificationPadding:"".concat(e.paddingMD,"px ").concat(e.paddingContentHorizontalLG,"px"),notificationMarginEdge:e.marginLG,animationMaxHeight:150});return[E(o)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50,width:384})),{clientOnly:!0});var w=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n};const k="topRight",N=r.forwardRef(((e,t)=>{const{top:n,bottom:o,prefixCls:c,getContainer:l,maxCount:p,rtl:d,onAllRemoved:m}=e,{getPrefixCls:u,getPopupContainer:g,notification:f}=r.useContext(i.E_),v=c||u("notification"),[,y]=j(v),[h,O]=(0,s.l)({prefixCls:v,style:e=>function(e,t,n){let o;switch(e){case"top":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":o={left:0,top:t,bottom:"auto"};break;case"topRight":o={right:0,top:t,bottom:"auto"};break;case"bottom":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":o={left:0,top:"auto",bottom:n};break;default:o={right:0,top:"auto",bottom:n}}return o}(e,null!==n&&void 0!==n?n:24,null!==o&&void 0!==o?o:24),className:()=>a()(y,{["".concat(v,"-rtl")]:d}),motion:()=>function(e){return{motionName:"".concat(e,"-fade")}}(v),closable:!0,closeIcon:b(v),duration:4.5,getContainer:()=>(null===l||void 0===l?void 0:l())||(null===g||void 0===g?void 0:g())||document.body,maxCount:p,onAllRemoved:m});return r.useImperativeHandle(t,(()=>Object.assign(Object.assign({},h),{prefixCls:v,hashId:y,notification:f}))),O}));function z(e){return function(e){const t=r.useRef(null),n=r.useMemo((()=>{const n=n=>{var o;if(!t.current)return;const{open:i,prefixCls:c,hashId:l,notification:s}=t.current,p="".concat(c,"-notice"),{message:d,description:m,icon:u,type:g,btn:f,className:v,style:h,role:O="alert",closeIcon:x}=n,S=w(n,["message","description","icon","type","btn","className","style","role","closeIcon"]),C=b(p,x);return i(Object.assign(Object.assign({placement:null!==(o=null===e||void 0===e?void 0:e.placement)&&void 0!==o?o:k},S),{content:r.createElement(y,{prefixCls:p,icon:u,type:g,message:d,description:m,btn:f,role:O}),className:a()(g&&"".concat(p,"-").concat(g),l,v,null===s||void 0===s?void 0:s.className),style:Object.assign(Object.assign({},null===s||void 0===s?void 0:s.style),h),closeIcon:C,closable:!!C}))},o={open:n,destroy:e=>{var n,o;void 0!==e?null===(n=t.current)||void 0===n||n.close(e):null===(o=t.current)||void 0===o||o.destroy()}};return["success","info","warning","error"].forEach((e=>{o[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))})),o}),[]);return[n,r.createElement(N,Object.assign({key:"notification-holder"},e,{ref:t}))]}(e)}const P=r.createContext({});var I=r.createContext({message:{},notification:{},modal:{}});const Z=e=>{const{componentCls:t,colorText:n,fontSize:o,lineHeight:a,fontFamily:r}=e;return{[t]:{color:n,fontSize:o,lineHeight:a,fontFamily:r}}};var M=(0,x.Z)("App",(e=>[Z(e)]));const B=e=>{const{prefixCls:t,children:n,className:o,rootClassName:s,message:p,notification:d,style:m}=e,{getPrefixCls:u}=(0,r.useContext)(i.E_),g=u("app",t),[f,b]=M(g),v=a()(b,g,o,s),y=(0,r.useContext)(P),h=r.useMemo((()=>({message:Object.assign(Object.assign({},y.message),p),notification:Object.assign(Object.assign({},y.notification),d)})),[p,d,y.message,y.notification]),[O,x]=(0,c.Z)(h.message),[S,C]=z(h.notification),[E,j]=(0,l.Z)(),w=r.useMemo((()=>({message:O,notification:S,modal:E})),[O,S,E]);return f(r.createElement(I.Provider,{value:w},r.createElement(P.Provider,{value:h},r.createElement("div",{className:v,style:m},j,x,C,n))))};B.useApp=()=>r.useContext(I);var _=B},4917:function(e,t,n){n.d(t,{C:function(){return k}});var o=n(260),a=n.n(o),r=n(9523),i=n(1376),c=n(4965),l=n(4833),s=n(161),p=n(6427);var d=c.createContext({size:"default",shape:void 0}),m=n(4946),u=n(1553),g=n(988);const f=e=>{const{antCls:t,componentCls:n,iconCls:o,avatarBg:a,avatarColor:r,containerSize:i,containerSizeLG:c,containerSizeSM:l,textFontSize:s,textFontSizeLG:p,textFontSizeSM:d,borderRadius:u,borderRadiusLG:g,borderRadiusSM:f,lineWidth:b,lineType:v}=e,y=(e,t,a)=>({width:e,height:e,lineHeight:"".concat(e-2*b,"px"),borderRadius:"50%",["&".concat(n,"-square")]:{borderRadius:a},["".concat(n,"-string")]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},["&".concat(n,"-icon")]:{fontSize:t,["> ".concat(o)]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,m.Wf)(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:r,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:a,border:"".concat(b,"px ").concat(v," transparent"),"&-image":{background:"transparent"},["".concat(t,"-image-img")]:{display:"block"}}),y(i,s,u)),{"&-lg":Object.assign({},y(c,p,g)),"&-sm":Object.assign({},y(l,d,f)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},b=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:o,groupSpace:a}=e;return{["".concat(t,"-group")]:{display:"inline-flex",["".concat(t)]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:o}},["".concat(t,"-group-popover")]:{["".concat(t," + ").concat(t)]:{marginInlineStart:a}}}};var v=(0,u.Z)("Avatar",(e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,o=(0,g.TS)(e,{avatarBg:n,avatarColor:t});return[f(o),b(o)]}),(e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:o,fontSize:a,fontSizeLG:r,fontSizeXL:i,fontSizeHeading3:c,marginXS:l,marginXXS:s,colorBorderBg:p}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:o,textFontSize:Math.round((r+i)/2),textFontSizeLG:c,textFontSizeSM:a,groupSpace:s,groupOverlapping:-l,groupBorderColor:p}})),y=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n};const h=(e,t)=>{const[n,o]=c.useState(1),[m,u]=c.useState(!1),[g,f]=c.useState(!0),b=c.useRef(null),h=c.useRef(null),O=(0,i.sQ)(t,b),{getPrefixCls:x,avatar:S}=c.useContext(s.E_),C=c.useContext(d),E=()=>{if(!h.current||!b.current)return;const t=h.current.offsetWidth,n=b.current.offsetWidth;if(0!==t&&0!==n){const{gap:a=4}=e;2*a<n&&o(n-2*a<t?(n-2*a)/t:1)}};c.useEffect((()=>{u(!0)}),[]),c.useEffect((()=>{f(!0),o(1)}),[e.src]),c.useEffect(E,[e.gap]);const j=()=>{const{onError:t}=e;!1!==(null===t||void 0===t?void 0:t())&&f(!1)},{prefixCls:w,shape:k,size:N="default",src:z,srcSet:P,icon:I,className:Z,rootClassName:M,alt:B,draggable:_,children:H,crossOrigin:T}=e,R=y(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),L="default"===N?null===C||void 0===C?void 0:C.size:N,F=Object.keys("object"===typeof L&&L||{}).some((e=>["xs","sm","md","lg","xl","xxl"].includes(e))),X=(0,p.Z)(F),W=c.useMemo((()=>{if("object"!==typeof L)return{};const e=l.c.find((e=>X[e])),t=L[e];return t?{width:t,height:t,lineHeight:"".concat(t,"px"),fontSize:I?t/2:18}:{}}),[X,L]),D=x("avatar",w),[G,A]=v(D),V=a()({["".concat(D,"-lg")]:"large"===L,["".concat(D,"-sm")]:"small"===L}),U=c.isValidElement(z),Q=k||(null===C||void 0===C?void 0:C.shape)||"circle",Y=a()(D,V,null===S||void 0===S?void 0:S.className,"".concat(D,"-").concat(Q),{["".concat(D,"-image")]:U||z&&g,["".concat(D,"-icon")]:!!I},Z,M,A),q="number"===typeof L?{width:L,height:L,lineHeight:"".concat(L,"px"),fontSize:I?L/2:18}:{};let $;if("string"===typeof z&&g)$=c.createElement("img",{src:z,draggable:_,srcSet:P,onError:j,alt:B,crossOrigin:T});else if(U)$=z;else if(I)$=I;else if(m||1!==n){const e="scale(".concat(n,") translateX(-50%)"),t={msTransform:e,WebkitTransform:e,transform:e},o="number"===typeof L?{lineHeight:"".concat(L,"px")}:{};$=c.createElement(r.Z,{onResize:E},c.createElement("span",{className:"".concat(D,"-string"),ref:h,style:Object.assign(Object.assign({},o),t)},H))}else $=c.createElement("span",{className:"".concat(D,"-string"),style:{opacity:0},ref:h},H);return delete R.onError,delete R.gap,G(c.createElement("span",Object.assign({},R,{style:Object.assign(Object.assign(Object.assign(Object.assign({},q),W),null===S||void 0===S?void 0:S.style),R.style),className:Y,ref:O}),$))};var O=c.forwardRef(h),x=n(8004),S=n(5422),C=n(537);const E=e=>{const{size:t,shape:n}=c.useContext(d),o=c.useMemo((()=>({size:e.size||t,shape:e.shape||n})),[e.size,e.shape,t,n]);return c.createElement(d.Provider,{value:o},e.children)};var j=e=>{const{getPrefixCls:t,direction:n}=c.useContext(s.E_),{prefixCls:o,className:r,rootClassName:i,style:l,maxCount:p,maxStyle:d,size:m,shape:u,maxPopoverPlacement:g="top",maxPopoverTrigger:f="hover",children:b}=e,y=t("avatar",o),h="".concat(y,"-group"),[j,w]=v(y),k=a()(h,{["".concat(h,"-rtl")]:"rtl"===n},r,i,w),N=(0,x.Z)(b).map(((e,t)=>(0,C.Tm)(e,{key:"avatar-key-".concat(t)}))),z=N.length;if(p&&p<z){const e=N.slice(0,p),t=N.slice(p,z);return e.push(c.createElement(S.Z,{key:"avatar-popover-key",content:t,trigger:f,placement:g,overlayClassName:"".concat(h,"-popover")},c.createElement(O,{style:d},"+".concat(z-p)))),j(c.createElement(E,{shape:u,size:m},c.createElement("div",{className:k,style:l},e)))}return j(c.createElement(E,{shape:u,size:m},c.createElement("div",{className:k,style:l},N)))};const w=O;w.Group=j;var k=w},6592:function(e,t,n){n.d(t,{Z:function(){return P}});var o=n(260),a=n.n(o),r=n(8004),i=n(5828),c=n(4965),l=n(537),s=n(161),p=n(8694),d=n(4424);const m=e=>{let{children:t}=e;const{getPrefixCls:n}=c.useContext(s.E_),o=n("breadcrumb");return c.createElement("li",{className:"".concat(o,"-separator"),"aria-hidden":"true"},""===t?t:t||"/")};m.__ANT_BREADCRUMB_SEPARATOR=!0;var u=m,g=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n};function f(e,t,n,o){if(null===n||void 0===n)return null;const{className:r,onClick:l}=t,s=g(t,["className","onClick"]),p=Object.assign(Object.assign({},(0,i.Z)(s,{data:!0,aria:!0})),{onClick:l});return void 0!==o?c.createElement("a",Object.assign({},p,{className:a()("".concat(e,"-link"),r),href:o}),n):c.createElement("span",Object.assign({},p,{className:a()("".concat(e,"-link"),r)}),n)}function b(e,t){return(n,o,a,r,i)=>{if(t)return t(n,o,a,r);const c=function(e,t){if(void 0===e.title||null===e.title)return null;const n=Object.keys(t).join("|");return"object"===typeof e.title?e.title:String(e.title).replace(new RegExp(":(".concat(n,")"),"g"),((e,n)=>t[n]||e))}(n,o);return f(e,n,c,i)}}var v=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n};const y=e=>{const{prefixCls:t,separator:n="/",children:o,menu:a,overlay:r,dropdownProps:i,href:l}=e;const s=(e=>{if(a||r){const n=Object.assign({},i);if(a){const e=a||{},{items:t}=e,o=v(e,["items"]);n.menu=Object.assign(Object.assign({},o),{items:null===t||void 0===t?void 0:t.map(((e,t)=>{var{key:n,title:o,label:a,path:r}=e,i=v(e,["key","title","label","path"]);let s=null!==a&&void 0!==a?a:o;return r&&(s=c.createElement("a",{href:"".concat(l).concat(r)},s)),Object.assign(Object.assign({},i),{key:null!==n&&void 0!==n?n:t,label:s})}))})}else r&&(n.overlay=r);return c.createElement(d.Z,Object.assign({placement:"bottom"},n),c.createElement("span",{className:"".concat(t,"-overlay-link")},e,c.createElement(p.Z,null)))}return e})(o);return void 0!==s&&null!==s?c.createElement(c.Fragment,null,c.createElement("li",null,s),n&&c.createElement(u,null,n)):null},h=e=>{const{prefixCls:t,children:n,href:o}=e,a=v(e,["prefixCls","children","href"]),{getPrefixCls:r}=c.useContext(s.E_),i=r("breadcrumb",t);return c.createElement(y,Object.assign({},a,{prefixCls:i}),f(i,a,n,o))};h.__ANT_BREADCRUMB_ITEM=!0;var O=h,x=n(4946),S=n(1553),C=n(988);const E=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,x.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:"color ".concat(e.motionDurationMid),padding:"0 ".concat(e.paddingXXS,"px"),borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,x.Qy)(e)),"li:last-child":{color:e.lastItemColor},["".concat(t,"-separator")]:{marginInline:e.separatorMargin,color:e.separatorColor},["".concat(t,"-link")]:{["\n > ".concat(n," + span,\n > ").concat(n," + a\n ")]:{marginInlineStart:e.marginXXS}},["".concat(t,"-overlay-link")]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:"0 ".concat(e.paddingXXS,"px"),marginInline:-e.marginXXS,["> ".concat(n)]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},["&".concat(e.componentCls,"-rtl")]:{direction:"rtl"}})}};var j=(0,S.Z)("Breadcrumb",(e=>{const t=(0,C.TS)(e,{});return[E(t)]}),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}))),w=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n};function k(e){const{breadcrumbName:t,children:n}=e,o=w(e,["breadcrumbName","children"]),a=Object.assign({title:t},o);return n&&(a.menu={items:n.map((e=>{var{breadcrumbName:t}=e,n=w(e,["breadcrumbName"]);return Object.assign(Object.assign({},n),{title:t})}))}),a}var N=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n};const z=e=>{const{prefixCls:t,separator:n="/",style:o,className:p,rootClassName:d,routes:m,items:g,children:f,itemRender:v,params:h={}}=e,O=N(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:x,direction:S,breadcrumb:C}=c.useContext(s.E_);let E;const w=x("breadcrumb",t),[z,P]=j(w),I=function(e,t){return(0,c.useMemo)((()=>e||(t?t.map(k):null)),[e,t])}(g,m);const Z=b(w,v);if(I&&I.length>0){const e=[],t=g||m;E=I.map(((o,a)=>{const{path:r,key:l,type:s,menu:p,overlay:d,onClick:m,className:g,separator:f,dropdownProps:b}=o,v=((e,t)=>{if(void 0===t)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach((t=>{n=n.replace(":".concat(t),e[t])})),n})(h,r);void 0!==v&&e.push(v);const O=null!==l&&void 0!==l?l:a;if("separator"===s)return c.createElement(u,{key:O},f);const x={},S=a===I.length-1;p?x.menu=p:d&&(x.overlay=d);let{href:C}=o;return e.length&&void 0!==v&&(C="#/".concat(e.join("/"))),c.createElement(y,Object.assign({key:O},x,(0,i.Z)(o,{data:!0,aria:!0}),{className:g,dropdownProps:b,href:C,separator:S?"":n,onClick:m,prefixCls:w}),Z(o,h,t,e,C))}))}else if(f){const e=(0,r.Z)(f).length;E=(0,r.Z)(f).map(((t,o)=>{if(!t)return t;const a=o===e-1;return(0,l.Tm)(t,{separator:a?"":n,key:o})}))}const M=a()(w,null===C||void 0===C?void 0:C.className,{["".concat(w,"-rtl")]:"rtl"===S},p,d,P),B=Object.assign(Object.assign({},null===C||void 0===C?void 0:C.style),o);return z(c.createElement("nav",Object.assign({className:M,style:B},O),c.createElement("ol",null,E)))};z.Item=O,z.Separator=u;var P=z},9543:function(e,t,n){var o=n(9486),a=n(8009);const r=o.ZP;r.Header=o.h4,r.Footer=o.$_,r.Content=o.VY,r.Sider=a.Z,t.Z=r},9435:function(e,t,n){var o=n(260),a=n.n(o),r=n(3247),i=n(4965),c=n(161),l=n(3465),s=n(4719),p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n};const d=e=>{const{hashId:t,prefixCls:n,className:o,style:c,placement:s="top",title:p,content:d,children:m}=e;return i.createElement("div",{className:a()(t,n,"".concat(n,"-pure"),"".concat(n,"-placement-").concat(s),o),style:c},i.createElement("div",{className:"".concat(n,"-arrow")}),i.createElement(r.G,Object.assign({},e,{className:t,prefixCls:n}),m||((e,t,n)=>{if(t||n)return i.createElement(i.Fragment,null,t&&i.createElement("div",{className:"".concat(e,"-title")},(0,l.Z)(t)),i.createElement("div",{className:"".concat(e,"-inner-content")},(0,l.Z)(n)))})(n,p,d)))};t.ZP=e=>{const{prefixCls:t}=e,n=p(e,["prefixCls"]),{getPrefixCls:o}=i.useContext(c.E_),a=o("popover",t),[r,l]=(0,s.Z)(a);return r(i.createElement(d,Object.assign({},n,{prefixCls:a,hashId:l})))}},5422:function(e,t,n){var o=n(260),a=n.n(o),r=n(4965),i=n(3465),c=n(488),l=n(161),s=n(8991),p=n(9435),d=n(4719),m=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n};const u=e=>{let{title:t,content:n,prefixCls:o}=e;return r.createElement(r.Fragment,null,t&&r.createElement("div",{className:"".concat(o,"-title")},(0,i.Z)(t)),r.createElement("div",{className:"".concat(o,"-inner-content")},(0,i.Z)(n)))},g=r.forwardRef(((e,t)=>{const{prefixCls:n,title:o,content:i,overlayClassName:p,placement:g="top",trigger:f="hover",mouseEnterDelay:b=.1,mouseLeaveDelay:v=.1,overlayStyle:y={}}=e,h=m(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:O}=r.useContext(l.E_),x=O("popover",n),[S,C]=(0,d.Z)(x),E=O(),j=a()(p,C);return S(r.createElement(s.Z,Object.assign({placement:g,trigger:f,mouseEnterDelay:b,mouseLeaveDelay:v,overlayStyle:y},h,{prefixCls:x,overlayClassName:j,ref:t,overlay:o||i?r.createElement(u,{prefixCls:x,title:o,content:i}):null,transitionName:(0,c.m)(E,"zoom-big",h.transitionName),"data-popover-inject":!0})))}));g._InternalPanelDoNotUseOrYouWillBeFired=p.ZP,t.Z=g},4719:function(e,t,n){var o=n(4946),a=n(2445),r=n(5333),i=n(1017),c=n(1553),l=n(988);const s=e=>{const{componentCls:t,popoverColor:n,minWidth:a,fontWeightStrong:i,popoverPadding:c,boxShadowSecondary:l,colorTextHeading:s,borderRadiusLG:p,zIndexPopup:d,marginXS:m,colorBgElevated:u,popoverBg:g}=e;return[{[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:d,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":u,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},["".concat(t,"-content")]:{position:"relative"},["".concat(t,"-inner")]:{backgroundColor:g,backgroundClip:"padding-box",borderRadius:p,boxShadow:l,padding:c},["".concat(t,"-title")]:{minWidth:a,marginBottom:m,color:s,fontWeight:i},["".concat(t,"-inner-content")]:{color:n}})},(0,r.ZP)(e,{colorBg:"var(--antd-arrow-background-color)"}),{["".concat(t,"-pure")]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",["".concat(t,"-content")]:{display:"inline-block"}}}]},p=e=>{const{componentCls:t}=e;return{[t]:i.i.map((n=>{const o=e["".concat(n,"6")];return{["&".concat(t,"-").concat(n)]:{"--antd-arrow-background-color":o,["".concat(t,"-inner")]:{backgroundColor:o},["".concat(t,"-arrow")]:{background:"transparent"}}}}))}},d=e=>{const{componentCls:t,lineWidth:n,lineType:o,colorSplit:a,paddingSM:r,controlHeight:i,fontSize:c,lineHeight:l,padding:s}=e,p=i-Math.round(c*l),d=p/2,m=p/2-n,u=s;return{[t]:{["".concat(t,"-inner")]:{padding:0},["".concat(t,"-title")]:{margin:0,padding:"".concat(d,"px ").concat(u,"px ").concat(m,"px"),borderBottom:"".concat(n,"px ").concat(o," ").concat(a)},["".concat(t,"-inner-content")]:{padding:"".concat(r,"px ").concat(u,"px")}}}};t.Z=(0,c.Z)("Popover",(e=>{const{colorBgElevated:t,colorText:n,wireframe:o}=e,r=(0,l.TS)(e,{popoverPadding:12,popoverBg:t,popoverColor:n});return[s(r),p(r),o&&d(r),(0,a._y)(r,"zoom-big")]}),(e=>({width:177,minWidth:177,zIndexPopup:e.zIndexPopupBase+30})),{deprecatedTokens:[["width","minWidth"]]})}}]);
  2. //# sourceMappingURL=997.24bcfa77.chunk.js.map