|
- (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[9893,1322],{6423:function(Pe,Ce,s){"use strict";s.d(Ce,{ZP:function(){return qn}});var N=s(24793),M=s(97183),I=s(96156),j=s(55507),A=s(92137),Z=s(81253),le=s(84305),fe=s(75901),se=s(28481),p=s(28991),l=s(85893),he=s(78775),O=s(56725),C=s(67294),W=s(12044);function ve(P,e){var o=typeof P.pageName=="string"?P.title:e;(0,C.useEffect)(function(){(0,W.Z)()&&o&&(document.title=o)},[P.title,o])}var q=ve,X=s(27754),be=s(94184),ee=s.n(be),F=s(97435),te=s(21770),ce=s(29405),ge=s(38069),de=s(80430),xe=s.n(de),De=s(7700),Qe=s(83832),Le=s(57338),$=s(25084),G=s(57186);function y(){var P=(0,C.useState)([]),e=(0,se.Z)(P,2),o=e[0],a=e[1];return{flatMenuKeys:o,setFlatMenuKeys:a}}var v=(0,G.f)(y),u=v,R=s(30887),w=s(28682),J=s(1351),k=s(76629),H=s(71748),ne=s(33860),ae=s(85061),me=s(5991),Me=s(6610),ze=s(91321),Pt=s(16165),Nt=function(e){if(!e||!e.startsWith("http"))return!1;try{var o=new URL(e);return!!o}catch(a){return!1}},Ne=Nt;function Ge(P){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(P)}var at=Ge,it={navTheme:"dark",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!1,headerHeight:48,iconfontUrl:"",primaryColor:"#1890ff",splitMenus:!1},ke=it,vt=function P(e){return(e||[]).reduce(function(o,a){if(a.key&&o.push(a.key),a.routes){var m=o.concat(P(a.routes)||[]);return m}return o},[])},ht={daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function wt(P){return P&&ht[P]?ht[P]:P}function Ve(P){return P.map(function(e){var o=e.children||e.routes,a=(0,p.Z)({},e);if(!a.name||a.hideInMenu)return null;if(a&&(a==null?void 0:a.routes)){if(!a.hideChildrenInMenu&&o.some(function(m){return m&&m.name&&!m.hideInMenu}))return(0,p.Z)((0,p.Z)({},e),{},{children:Ve(o),routes:Ve(o)});delete a.routes,delete a.children}return a}).filter(function(e){return e})}var Lt=s(43361),Je=(0,ze.Z)({scriptUrl:ke.iconfontUrl}),_e=function(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-";if(typeof e=="string"&&e!==""){if(Ne(e)||at(e))return(0,l.jsx)(Pt.Z,{component:function(){return(0,l.jsx)("img",{src:e,alt:"icon",className:"ant-pro-sider-menu-icon"})}});if(e.startsWith(o))return(0,l.jsx)(Je,{type:e})}return e},yt=(0,me.Z)(function P(e){var o=this;(0,Me.Z)(this,P),this.props=void 0,this.getNavMenuItems=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],m=arguments.length>1?arguments[1]:void 0;return a.map(function(h){return o.getSubMenuOrItem(h,m)}).filter(function(h){return h})},this.getSubMenuOrItem=function(a,m){var h=(a==null?void 0:a.children)||(a==null?void 0:a.routes);if(Array.isArray(h)&&h.length>0){var g=o.getIntlName(a),b=o.props,S=b.subMenuItemRender,D=b.prefixCls,V=b.menu,U=b.iconPrefixes,B=a.icon?(0,l.jsxs)("span",{className:"".concat(D,"-menu-item"),title:g,children:[!m&&_e(a.icon,U),(0,l.jsx)("span",{className:"".concat(D,"-menu-item-title"),children:g})]}):(0,l.jsx)("span",{className:"".concat(D,"-menu-item"),title:g,children:g}),Y=S?S((0,p.Z)((0,p.Z)({},a),{},{isUrl:!1}),B,o.props):B;return{type:(V==null?void 0:V.type)==="group"?"group":void 0,label:Y,children:o.getNavMenuItems(h,!0),onTitleClick:a.onTitleClick,key:a.key||a.path}}return{label:o.getMenuItemPath(a,m),title:o.getIntlName(a),key:a.key||a.path,disabled:a.disabled,onClick:function(ue){var oe;Ne(a==null?void 0:a.path)&&window.open(a.path),(oe=a.onTitleClick)===null||oe===void 0||oe.call(a,ue)}}},this.getIntlName=function(a){var m=a.name,h=a.locale,g=o.props,b=g.menu,S=g.formatMessage;return h&&(b==null?void 0:b.locale)!==!1?S==null?void 0:S({id:h,defaultMessage:m}):m},this.getMenuItemPath=function(a,m){var h=o.conversionPath(a.path||"/"),g=o.props,b=g.location,S=b===void 0?{pathname:"/"}:b,D=g.isMobile,V=g.onCollapse,U=g.menuItemRender,B=g.iconPrefixes,Y=o.getIntlName(a),Q=o.props.prefixCls,ue=m?null:_e(a.icon,B),oe=Ne(h),Re=(0,l.jsxs)("span",{className:ee()("".concat(Q,"-menu-item"),(0,I.Z)({},"".concat(Q,"-menu-item-link"),oe)),children:[ue,(0,l.jsx)("span",{className:"".concat(Q,"-menu-item-title"),children:Y})]});if(U){var re=(0,p.Z)((0,p.Z)({},a),{},{isUrl:oe,itemPath:h,isMobile:D,replace:h===S.pathname,onClick:function(){oe&&window.open(h),V&&V(!0)},children:void 0});return U(re,Re,o.props)}return Re},this.conversionPath=function(a){return a&&a.indexOf("http")===0?a:"/".concat(a||"").replace(/\/+/g,"/")},this.props=e}),Qt=function(e,o){var a=o.layout,m=o.collapsed,h={};return e&&!m&&["side","mix"].includes(a||"mix")&&(h={openKeys:e}),h},ot=function(e){var o=e.theme,a=e.mode,m=e.className,h=e.handleOpenChange,g=e.style,b=e.menuData,S=e.menu,D=e.matchMenuKeys,V=e.iconfontUrl,U=e.collapsed,B=e.selectedKeys,Y=e.onSelect,Q=e.openKeys,ue=(0,C.useRef)([]),oe=u.useContainer(),Re=oe.flatMenuKeys,re=(0,O.Z)(S==null?void 0:S.defaultOpenAll),Be=(0,se.Z)(re,2),Fe=Be[0],Ye=Be[1],Te=(0,O.Z)(function(){return(S==null?void 0:S.defaultOpenAll)?vt(b)||[]:Q===!1?!1:[]},{value:Q===!1?void 0:Q,onChange:h}),ut=(0,se.Z)(Te,2),We=ut[0],pe=ut[1],ct=(0,O.Z)([],{value:B,onChange:Y?function(mt){Y&&mt&&Y(mt)}:void 0}),et=(0,se.Z)(ct,2),tt=et[0],nt=et[1];(0,C.useEffect)(function(){(S==null?void 0:S.defaultOpenAll)||Q===!1||Re.length||D&&(pe(D),nt(D))},[D.join("-")]),(0,C.useEffect)(function(){V&&(Je=(0,ze.Z)({scriptUrl:V}))},[V]),(0,C.useEffect)(function(){if(D.join("-")!==(tt||[]).join("-")&&nt(D),!Fe&&Q!==!1&&D.join("-")!==(We||[]).join("-")){var mt=D;(S==null?void 0:S.autoClose)===!1&&(mt=Array.from(new Set([].concat((0,ae.Z)(D),(0,ae.Z)(We||[]))))),pe(mt)}else(S==null?void 0:S.ignoreFlatMenu)&&Fe?pe(vt(b)):Re.length>0&&Ye(!1)},[D.join("-"),U]);var Ct=(0,C.useMemo)(function(){return Qt(We,e)},[We&&We.join(","),e.layout,e.collapsed]),bt=(0,C.useState)(function(){return new yt(e)}),Mt=(0,se.Z)(bt,1),rt=Mt[0];if(S==null?void 0:S.loading)return(0,l.jsx)("div",{style:(a==null?void 0:a.includes("inline"))?{padding:24}:{marginTop:16},children:(0,l.jsx)(ne.Z,{active:!0,title:!1,paragraph:{rows:(a==null?void 0:a.includes("inline"))?6:1}})});var ft=ee()(m,{"top-nav-menu":a==="horizontal"});rt.props=e,e.openKeys===!1&&!e.handleOpenChange&&(ue.current=D);var $e=e.postMenuData?e.postMenuData(b):b;return $e&&($e==null?void 0:$e.length)<1?null:(0,C.createElement)(w.Z,(0,p.Z)((0,p.Z)({},Ct),{},{key:"Menu",mode:a,items:rt.getNavMenuItems($e,!1),inlineIndent:16,defaultOpenKeys:ue.current,theme:o,selectedKeys:tt,style:g,className:ft,onOpenChange:pe},e.menuProps))};ot.defaultProps={postMenuData:function(e){return e||[]}};var lt=ot,At=M.Z.Sider,Ft=function(e){return typeof e=="string"?(0,l.jsx)("img",{src:e,alt:"logo"}):typeof e=="function"?e():e},pt=function(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",a=e.logo,m=e.title,h=e.layout,g=e[o||""];if(g===!1)return null;var b=Ft(a),S=(0,l.jsx)("h1",{children:m!=null?m:"Ant Design Pro"});return g?g(b,e.collapsed?null:S,e):h==="mix"&&o==="menuHeaderRender"?null:(0,l.jsxs)("a",{children:[b,e.collapsed?null:S]})},Ht=function(e){return e?(0,l.jsx)(J.Z,{}):(0,l.jsx)(k.Z,{})},Jt=function(e){var o,a=e.collapsed,m=e.fixSiderbar,h=e.menuFooterRender,g=e.onCollapse,b=e.theme,S=e.siderWidth,D=e.isMobile,V=e.onMenuHeaderClick,U=e.breakpoint,B=U===void 0?"lg":U,Y=e.style,Q=e.layout,ue=e.menuExtraRender,oe=ue===void 0?!1:ue,Re=e.collapsedButtonRender,re=Re===void 0?Ht:Re,Be=e.links,Fe=e.menuContentRender,Ye=e.prefixCls,Te=e.onOpenChange,ut=e.headerHeight,We=e.logoStyle,pe="".concat(Ye,"-sider"),ct=u.useContainer(),et=ct.flatMenuKeys,tt=ee()("".concat(pe),(o={},(0,I.Z)(o,"".concat(pe,"-fixed"),m),(0,I.Z)(o,"".concat(pe,"-layout-").concat(Q),Q&&!D),(0,I.Z)(o,"".concat(pe,"-light"),b!=="dark"),o)),nt=pt(e),Ct=oe&&oe(e),bt=Fe!==!1&&et&&(0,C.createElement)(lt,(0,p.Z)((0,p.Z)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:Te,style:{width:"100%"},className:"".concat(pe,"-menu")})),Mt=Fe?Fe(e,bt):bt,rt=(Be||[]).map(function(ft,$e){return{className:"".concat(pe,"-link"),label:ft,key:$e}});return re&&!D&&rt.push({className:"".concat(pe,"-collapsed-button"),title:!1,key:"collapsed",onClick:function(){g&&g(!a)},label:re(a)}),(0,l.jsxs)(l.Fragment,{children:[m&&(0,l.jsx)("div",{style:(0,p.Z)({width:a?48:S,overflow:"hidden",flex:"0 0 ".concat(a?48:S,"px"),maxWidth:a?48:S,minWidth:a?48:S,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},Y)}),(0,l.jsxs)(At,{collapsible:!0,trigger:null,collapsed:a,breakpoint:B===!1?void 0:B,onCollapse:function($e){D||g==null||g($e)},collapsedWidth:48,style:(0,p.Z)({overflow:"hidden",paddingTop:Q==="mix"&&!D?ut:void 0},Y),width:S,theme:b,className:tt,children:[nt&&(0,l.jsx)("div",{className:ee()("".concat(pe,"-logo"),(0,I.Z)({},"".concat(pe,"-collapsed"),a)),onClick:Q!=="mix"?V:void 0,id:"logo",style:We,children:nt}),Ct&&(0,l.jsx)("div",{className:"".concat(pe,"-extra ").concat(!nt&&"".concat(pe,"-extra-no-logo")),children:Ct}),(0,l.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:Mt}),(0,l.jsx)("div",{className:"".concat(pe,"-links"),children:(0,l.jsx)(w.Z,{theme:b,inlineIndent:16,className:"".concat(pe,"-link-menu"),selectedKeys:[],openKeys:[],mode:"inline",items:rt})}),h&&(0,l.jsx)("div",{className:ee()("".concat(pe,"-footer"),(0,I.Z)({},"".concat(pe,"-footer-collapsed"),!a)),children:h(e)})]})]})},xt=Jt,_t=function(e){var o=e.isMobile,a=e.menuData,m=e.siderWidth,h=e.collapsed,g=e.onCollapse,b=e.style,S=e.className,D=e.hide,V=e.getContainer,U=e.prefixCls,B=e.matchMenuKeys,Y=u.useContainer(),Q=Y.setFlatMenuKeys;(0,C.useEffect)(function(){if(!(!a||a.length<1)){var oe=(0,X.kv)(a);Q(Object.keys(oe))}},[B.join("-")]),(0,C.useEffect)(function(){o===!0&&(g==null||g(!0))},[o]);var ue=(0,F.Z)(e,["className","style"]);return D?null:o?(0,l.jsx)($.Z,{visible:!h,placement:"left",className:ee()("".concat(U,"-drawer-sider"),S),onClose:function(){return g==null?void 0:g(!0)},style:(0,p.Z)({padding:0,height:"100vh"},b),getContainer:V,width:m,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:(0,l.jsx)(xt,(0,p.Z)((0,p.Z)({},ue),{},{className:ee()("".concat(U,"-sider"),S),collapsed:o?!1:h,splitMenus:!1}))}):(0,l.jsx)(xt,(0,p.Z)((0,p.Z)({className:ee()("".concat(U,"-sider"),S)},ue),{},{style:b}))},Bt=_t,Wt=s(63485),ye=s(16254),qe=s.n(ye),Se=function(e,o,a){if(a){var m=(0,ae.Z)(a.keys()).find(function(g){return qe()(g).test(e)});if(m)return a.get(m)}if(o){var h=Object.keys(o).find(function(g){return qe()(g).test(e)});if(h)return o[h]}return{path:""}},st=function(e,o){var a=e.pathname,m=a===void 0?"/":a,h=e.breadcrumb,g=e.breadcrumbMap,b=e.formatMessage,S=e.title,D=e.menu,V=D===void 0?{locale:!1}:D,U=o?"":S||"",B=Se(m,h,g);if(!B)return{title:U,id:"",pageName:U};var Y=B.name;return V.locale!==!1&&B.locale&&b&&(Y=b({id:B.locale||"",defaultMessage:B.name})),Y?o||!S?{title:Y,id:B.locale||"",pageName:Y}:{title:"".concat(Y," - ").concat(S),id:B.locale||"",pageName:Y}:{title:U,id:B.locale||"",pageName:U}},$t=function(e,o){return st(e,o).title},Zn=null,qt=s(10379),zt=s(54070),en=s(10178),Ke=s(48717),Kt=s(17212),tn=["rightContentRender","prefixCls"],nn=function(e){var o=e.rightContentRender,a=e.prefixCls,m=(0,Z.Z)(e,tn),h=(0,C.useState)("auto"),g=(0,se.Z)(h,2),b=g[0],S=g[1],D=(0,en.Z)(function(){var V=(0,A.Z)((0,j.Z)().mark(function U(B){return(0,j.Z)().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:S(B);case 1:case"end":return Q.stop()}},U)}));return function(U){return V.apply(this,arguments)}}(),160);return(0,l.jsx)("div",{className:"".concat(a,"-right-content"),style:{minWidth:b},children:(0,l.jsx)("div",{style:{paddingRight:8},children:(0,l.jsx)(Ke.Z,{onResize:function(U){var B=U.width;D.run(B)},children:o&&(0,l.jsx)("div",{className:"".concat(a,"-right-content-resize"),children:o((0,p.Z)((0,p.Z)({},m),{},{rightContentSize:b}))})})})})},rn=function(e){var o=(0,C.useRef)(null),a=e.theme,m=e.onMenuHeaderClick,h=e.contentWidth,g=e.rightContentRender,b=e.className,S=e.style,D=e.headerContentRender,V=e.layout,U="".concat(e.prefixCls||"ant-pro","-top-nav-header"),B=pt((0,p.Z)((0,p.Z)({},e),{},{collapsed:!1}),V==="mix"?"headerTitleRender":void 0),Y=ee()(U,b,{light:a==="light"}),Q=(0,l.jsx)(lt,(0,p.Z)((0,p.Z)({},e),e.menuProps)),ue=D?D==null?void 0:D(e,Q):Q;return(0,l.jsx)("div",{className:Y,style:S,children:(0,l.jsxs)("div",{ref:o,className:"".concat(U,"-main ").concat(h==="Fixed"?"wide":""),children:[B&&(0,l.jsx)("div",{className:"".concat(U,"-main-left"),onClick:m,children:(0,l.jsx)("div",{className:"".concat(U,"-logo"),id:"logo",children:B},"logo")}),(0,l.jsx)("div",{style:{flex:1},className:"".concat(U,"-menu"),children:ue}),g&&(0,l.jsx)(nn,(0,p.Z)({rightContentRender:g,prefixCls:U},e))]})})},Ut=rn,Rn=s(17124),an=function(e,o){return e===!1?null:e?e(o,null):o},on=function(e){var o=e.isMobile,a=e.logo,m=e.collapsed,h=e.onCollapse,g=e.collapsedButtonRender,b=g===void 0?Ht:g,S=e.rightContentRender,D=e.menuHeaderRender,V=e.onMenuHeaderClick,U=e.className,B=e.style,Y=e.layout,Q=e.children,ue=e.headerTheme,oe=ue===void 0?"dark":ue,Re=e.splitMenus,re=e.menuData,Be=e.prefixCls,Fe=(0,C.useContext)(fe.ZP.ConfigContext),Ye=Fe.direction,Te="".concat(Be,"-global-header"),ut=ee()(U,Te,(0,I.Z)({},"".concat(Te,"-layout-").concat(Y),Y&&oe==="dark"));if(Y==="mix"&&!o&&Re){var We=(re||[]).map(function(tt){return(0,p.Z)((0,p.Z)({},tt),{},{children:void 0,routes:void 0})}),pe=Ve(We);return(0,l.jsx)(Ut,(0,p.Z)((0,p.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:pe,theme:oe}))}var ct=ee()("".concat(Te,"-logo"),(0,I.Z)({},"".concat(Te,"-logo-rtl"),Ye==="rtl")),et=(0,l.jsx)("span",{className:ct,children:(0,l.jsx)("a",{children:Ft(a)})},"logo");return(0,l.jsxs)("div",{className:ut,style:(0,p.Z)({},B),children:[o&&an(D,et),o&&b&&(0,l.jsx)("span",{className:"".concat(Te,"-collapsed-button"),onClick:function(){h&&h(!m)},children:b(m)}),Y==="mix"&&!o&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:ct,onClick:V,children:pt((0,p.Z)((0,p.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})}),(0,l.jsx)("div",{style:{flex:1},children:Q}),S&&S(e)]})},ln=on,sn=s(2828),gt=M.Z.Header,un=function(P){(0,qt.Z)(o,P);var e=(0,zt.Z)(o);function o(){var a;(0,Me.Z)(this,o);for(var m=arguments.length,h=new Array(m),g=0;g<m;g++)h[g]=arguments[g];return a=e.call.apply(e,[this].concat(h)),a.renderContent=function(){var b=a.props,S=b.isMobile,D=b.onCollapse,V=b.navTheme,U=b.layout,B=b.headerRender,Y=b.headerContentRender,Q=U==="top",ue=Ve(a.props.menuData||[]),oe=(0,l.jsx)(ln,(0,p.Z)((0,p.Z)({onCollapse:D},a.props),{},{menuData:ue,children:Y&&Y(a.props,null)}));return Q&&!S&&(oe=(0,l.jsx)(Ut,(0,p.Z)((0,p.Z)({theme:V,mode:"horizontal",onCollapse:D},a.props),{},{menuData:ue}))),B&&typeof B=="function"?B(a.props,oe):oe},a}return(0,me.Z)(o,[{key:"render",value:function(){var m,h=this.props,g=h.fixedHeader,b=h.layout,S=h.className,D=h.style,V=h.navTheme,U=h.collapsed,B=h.siderWidth,Y=h.hasSiderMenu,Q=h.isMobile,ue=h.prefixCls,oe=h.headerHeight,Re=g||b==="mix",re=b==="top",Be=Re&&Y&&!re&&!Q,Fe=ee()(S,(m={},(0,I.Z)(m,"".concat(ue,"-fixed-header"),Re),(0,I.Z)(m,"".concat(ue,"-fixed-header-action"),!U),(0,I.Z)(m,"".concat(ue,"-top-menu"),re),(0,I.Z)(m,"".concat(ue,"-header-").concat(V),V&&b!=="mix"),m)),Ye=b!=="mix"&&Be?"calc(100% - ".concat(U?48:B,"px)"):"100%",Te=Re?0:void 0;return(0,l.jsxs)(l.Fragment,{children:[Re&&(0,l.jsx)(gt,{style:{height:oe,lineHeight:"".concat(oe,"px"),background:"transparent"}}),(0,l.jsx)(gt,{style:(0,p.Z)({padding:0,height:oe,lineHeight:"".concat(oe,"px"),width:Ye,zIndex:b==="mix"?100:19,right:Te},D),className:Fe,children:this.renderContent()})]})}}]),o}(C.Component),cn=un,Gt={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.daybreak":"Daybreak Blue (default)","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},fn=(0,p.Z)({},Gt),dn={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.daybreak":"Blu cielo mattutino (default)","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},vn=(0,p.Z)({},dn),t={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.daybreak":"Daybreak Blue (default)","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},r=(0,p.Z)({},t),n={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.daybreak":"\u62C2\u6653\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},i=(0,p.Z)({},n),c={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},d=(0,p.Z)({},c),f={"zh-CN":i,"zh-TW":d,"en-US":fn,"it-IT":vn,"ko-KR":r},x=function(){if(!(0,W.Z)())return"zh-CN";var e=window.localStorage.getItem("umi_locale");return e||window.g_locale||navigator.language},E=function(){var e=x();return f[e]||f["zh-CN"]},L=s(64335),z=function(e){var o=["sidemenu","topmenu"];return o.includes(e)?e==null?void 0:e.replace("menu",""):e},T=z;function K(P){if(!P||P==="/")return["/"];var e=P.split("/").filter(function(o){return o});return e.map(function(o,a){return"/".concat(e.slice(0,a+1).join("/"))})}var ie=function(e){var o=e.breadcrumbName,a=e.path;return(0,l.jsx)("a",{href:a,children:o})},we=function(e,o){var a=o.formatMessage,m=o.menu;return e.locale&&a&&(m==null?void 0:m.locale)!==!1?a({id:e.locale,defaultMessage:e.name}):e.name},Oe=function(e,o){var a=e.get(o);if(!a){var m=Array.from(e.keys())||[],h=m.find(function(g){return qe()(g.replace("?","")).test(o)});h&&(a=e.get(h))}return a||{path:""}},_=function(e){var o=e.location,a=e.breadcrumbMap;return{location:o,breadcrumbMap:a}},Ee=function(e,o,a){var m=K(e==null?void 0:e.pathname),h=m.map(function(g){var b=Oe(o,g),S=we(b,a),D=b.hideInBreadcrumb;return S&&!D?{path:g,breadcrumbName:S,component:b.component}:{path:"",breadcrumbName:""}}).filter(function(g){return g&&g.path});return h},Ze=function(e){var o=_(e),a=o.location,m=o.breadcrumbMap;return a&&a.pathname&&m?Ee(a,m,e):[]},Ue=function(e,o){var a=e.breadcrumbRender,m=e.itemRender,h=o.breadcrumbProps||{},g=h.minLength,b=g===void 0?2:g,S=Ze(e),D=m||ie,V=S;return a&&(V=a(V)||[]),(V&&V.length<b||a===!1)&&(V=void 0),{routes:V,itemRender:D}};function Ae(P){return(0,ae.Z)(P).reduce(function(e,o){var a=(0,se.Z)(o,2),m=a[0],h=a[1];return e[m]=h,e},{})}var Ie=function P(e,o,a,m){var h=(0,X.Un)(e,(o==null?void 0:o.locale)||!1,a,!0),g=h.menuData,b=h.breadcrumb;return m?P(m(g),o,a,void 0):{breadcrumb:Ae(b),breadcrumbMap:b,menuData:g}},je=Ie,Xe=s(90484),kt=s(51812),pn=function(e){var o=(0,C.useState)({}),a=(0,se.Z)(o,2),m=a[0],h=a[1];return(0,C.useEffect)(function(){h((0,kt.Z)({layout:(0,Xe.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar,headerTheme:e.headerTheme}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar,e.headerTheme]),m},gn=pn,Wn=s(78164),$n=function(e){var o=e.autoClearCache,a=o===void 0?!0:o,m=e.style,h=e.className,g=e.children,b=e.ErrorBoundary||Wn.Z;return(0,l.jsx)(he.oK,{autoClearCache:a,children:e.ErrorBoundary===!1?(0,l.jsx)(M.Z.Content,{className:h,style:m,children:g}):(0,l.jsx)(b,{children:(0,l.jsx)(M.Z.Content,{className:h,style:m,children:g})})})},zn=$n,Kn=["id","defaultMessage"],Un=["fixSiderbar","navTheme","layout"],Sn=0,Gn=function(e,o){return e.headerRender===!1||e.pure?null:(0,l.jsx)(cn,(0,p.Z)({matchMenuKeys:o},e))},kn=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,p.Z)({},e),(0,l.jsx)(Wt.Z,{})):null},Vn=function(e,o){var a=e.layout,m=e.navTheme,h=e.isMobile,g=e.openKeys,b=e.splitMenus,S=e.menuRender;if(e.menuRender===!1||e.pure)return null;var D=e.menuData;if(b&&(g!==!1||a==="mix")&&!h){var V=(0,se.Z)(o,1),U=V[0];if(U){var B,Y;D=((B=e.menuData)===null||B===void 0||(Y=B.find(function(oe){return oe.key===U}))===null||Y===void 0?void 0:Y.routes)||[]}else D=[]}var Q=Ve(D||[]);if(Q&&(Q==null?void 0:Q.length)<1&&b)return null;if(a==="top"&&!h)return(0,l.jsx)(Bt,(0,p.Z)((0,p.Z)({matchMenuKeys:o},e),{},{hide:!0}));var ue=(0,l.jsx)(Bt,(0,p.Z)((0,p.Z)({matchMenuKeys:o},e),{},{style:m==="realDark"?{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"}:{},menuData:Q}));return S?S(e,ue):ue},Xn=function(e,o){var a=o.pageTitleRender,m=st(e);if(a===!1)return{title:o.title||"",id:"",pageName:""};if(a){var h=a(e,m.title,m);if(typeof h=="string")return(0,p.Z)((0,p.Z)({},m),{},{title:h});xe()(typeof h=="string","pro-layout: renderPageTitle return value should be a string")}return m},Yn=function(e,o,a){return e?o?48:a:0},En=function(e){var o,a,m,h,g=e||{},b=g.children,S=g.onCollapse,D=g.location,V=D===void 0?{pathname:"/"}:D,U=g.contentStyle,B=g.route,Y=g.defaultCollapsed,Q=g.style,ue=g.disableContentMargin,oe=g.siderWidth,Re=oe===void 0?208:oe,re=g.menu,Be=g.isChildrenLayout,Fe=g.menuDataRender,Ye=g.actionRef,Te=g.formatMessage,ut=g.loading,We=(0,C.useContext)(fe.ZP.ConfigContext),pe=(o=e.prefixCls)!==null&&o!==void 0?o:We.getPrefixCls("pro"),ct=(0,O.Z)(!1,{value:re==null?void 0:re.loading,onChange:re==null?void 0:re.onLoadingChange}),et=(0,se.Z)(ct,2),tt=et[0],nt=et[1],Ct=(0,C.useState)(function(){return Sn+=1,"pro-layout-".concat(Sn)}),bt=(0,se.Z)(Ct,1),Mt=bt[0],rt=(0,C.useCallback)(function(He){var Rt=He.id,Yt=He.defaultMessage,Mn=(0,Z.Z)(He,Kn);if(Te)return Te((0,p.Z)({id:Rt,defaultMessage:Yt},Mn));var St=E();return St[Rt]?St[Rt]:Yt},[Te]),ft=(0,ce.ZP)(function(){return(re==null?void 0:re.params)?[Mt,re==null?void 0:re.params]:[Mt,{}]},function(){var He=(0,A.Z)((0,j.Z)().mark(function Rt(Yt,Mn){var St,Bn;return(0,j.Z)().wrap(function(Et){for(;;)switch(Et.prev=Et.next){case 0:return nt(!0),Et.next=3,re==null||(St=re.request)===null||St===void 0?void 0:St.call(re,Mn,(B==null?void 0:B.routes)||[]);case 3:return Bn=Et.sent,nt(!1),Et.abrupt("return",Bn);case 6:case"end":return Et.stop()}},Rt)}));return function(Rt,Yt){return He.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),$e=ft.data,mt=ft.mutate,er=(0,ce.kY)(),Pn=er.cache;(0,C.useEffect)(function(){return function(){Pn instanceof Map&&Pn.clear()}},[]);var tr=(0,C.useMemo)(function(){return je($e||(B==null?void 0:B.routes)||[],re,rt,Fe)},[rt,re,Fe,$e,B==null?void 0:B.routes]),mn=tr||{},Nn=mn.breadcrumb,nr=Nn===void 0?{}:Nn,wn=mn.breadcrumbMap,On=mn.menuData,Ot=On===void 0?[]:On;Ye&&(re==null?void 0:re.request)&&(Ye.current={reload:function(){mt()}});var jt=(0,C.useMemo)(function(){return(0,X.nG)(V.pathname||"/",Ot||[],!0)},[V.pathname,Ot]),hn=(0,C.useMemo)(function(){return Array.from(new Set(jt.map(function(He){return He.key||He.path||""})))},[jt]),jn=jt[jt.length-1]||{},Tn=gn(jn),Vt=(0,p.Z)((0,p.Z)({},e),Tn),rr=Vt.fixSiderbar,Dn=Vt.navTheme,ar=Vt.layout,ir=(0,Z.Z)(Vt,Un),Tt=T(ar),Xt=(0,ge.ZP)(),Dt=(Xt==="sm"||Xt==="xs")&&!e.disableMobile,or=Tt!=="top"&&!Dt,lr=(0,te.Z)(function(){return Y||!1},{value:e.collapsed,onChange:S}),In=(0,se.Z)(lr,2),It=In[0],Ln=In[1],Zt=(0,F.Z)((0,p.Z)((0,p.Z)((0,p.Z)({prefixCls:pe},e),{},{siderWidth:Re},Tn),{},{formatMessage:rt,breadcrumb:nr,menu:(0,p.Z)((0,p.Z)({},re),{},{loading:tt}),layout:Tt}),["className","style","breadcrumbRender"]),yn=Xn((0,p.Z)((0,p.Z)({pathname:V.pathname},Zt),{},{breadcrumbMap:wn}),e),sr=Ue((0,p.Z)((0,p.Z)({},Zt),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:wn}),e),xn=Vn((0,p.Z)((0,p.Z)({},Zt),{},{menuData:Ot,onCollapse:Ln,isMobile:Dt,theme:Dn==="dark"?"dark":"light",collapsed:It}),hn),Cn=Gn((0,p.Z)((0,p.Z)({},Zt),{},{hasSiderMenu:!!xn,menuData:Ot,isMobile:Dt,collapsed:It,onCollapse:Ln,theme:Dn==="dark"?"dark":"light"}),hn),An=kn((0,p.Z)({isMobile:Dt,collapsed:It},Zt)),ur=(0,C.useContext)(L.Z),cr=ur.isChildrenLayout,bn=Be!==void 0?Be:cr,dt="".concat(pe,"-basicLayout"),fr=ee()(e.className,"ant-design-pro",dt,(a={},(0,I.Z)(a,"screen-".concat(Xt),Xt),(0,I.Z)(a,"".concat(dt,"-top-menu"),Tt==="top"),(0,I.Z)(a,"".concat(dt,"-is-children"),bn),(0,I.Z)(a,"".concat(dt,"-fix-siderbar"),rr),(0,I.Z)(a,"".concat(dt,"-").concat(Tt),Tt),a)),dr=Yn(!!or,It,Re),Fn={position:"relative"};(bn||U&&U.minHeight)&&(Fn.minHeight=0);var vr=ee()("".concat(dt,"-content"),(m={},(0,I.Z)(m,"".concat(dt,"-has-header"),Cn),(0,I.Z)(m,"".concat(dt,"-content-disable-margin"),ue),m));(0,C.useEffect)(function(){var He;(He=e.onPageChange)===null||He===void 0||He.call(e,e.location)},[V.pathname,(h=V.pathname)===null||h===void 0?void 0:h.search]);var pr=(0,C.useState)(!1),Hn=(0,se.Z)(pr,2),gr=Hn[0],mr=Hn[1];return q(yn,e.title||!1),(0,l.jsx)(u.Provider,{children:(0,l.jsx)(L.Z.Provider,{value:(0,p.Z)((0,p.Z)({},Zt),{},{breadcrumb:sr,menuData:Ot,isMobile:Dt,collapsed:It,isChildrenLayout:!0,title:yn.pageName,hasSiderMenu:!!xn,hasHeader:!!Cn,siderWidth:dr,hasFooter:!!An,hasFooterToolbar:gr,setHasFooterToolbar:mr,pageTitleInfo:yn,matchMenus:jt,matchMenuKeys:hn,currentMenu:jn}),children:e.pure?(0,l.jsx)(he.oK,{autoClearCache:!0,children:b}):(0,l.jsx)("div",{className:fr,children:(0,l.jsxs)(M.Z,{style:(0,p.Z)({minHeight:"100%"},Q),children:[xn,(0,l.jsxs)("div",{style:Fn,className:We.getPrefixCls("layout"),children:[Cn,(0,l.jsx)(zn,(0,p.Z)((0,p.Z)({autoClearCache:!1,isChildrenLayout:bn},ir),{},{className:vr,style:U,children:ut?(0,l.jsx)(Qe.Z,{}):b})),An]})]})})})})},Qn=function(){return(0,l.jsxs)("svg",{width:"32px",height:"32px",viewBox:"0 0 200 200",children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,l.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,l.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,l.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,l.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,l.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,l.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,l.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,l.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,l.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,l.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,l.jsxs)("g",{children:[(0,l.jsxs)("g",{fillRule:"nonzero",children:[(0,l.jsxs)("g",{children:[(0,l.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),(0,l.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),(0,l.jsx)("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),(0,l.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})};En.defaultProps=(0,p.Z)((0,p.Z)({logo:(0,l.jsx)(Qn,{})},ke),{},{location:(0,W.Z)()?window.location:void 0});var Jn=En,_n=s(78009),hr=_n.ZP,qn=Jn},16254:function(Pe){Pe.exports=he,Pe.exports.parse=M,Pe.exports.compile=I,Pe.exports.tokensToFunction=j,Pe.exports.tokensToRegExp=l;var Ce="/",s="./",N=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function M(O,C){for(var W=[],ve=0,q=0,X="",be=C&&C.delimiter||Ce,ee=C&&C.delimiters||s,F=!1,te;(te=N.exec(O))!==null;){var ce=te[0],ge=te[1],de=te.index;if(X+=O.slice(q,de),q=de+ce.length,ge){X+=ge[1],F=!0;continue}var xe="",De=O[q],Qe=te[2],Le=te[3],$=te[4],G=te[5];if(!F&&X.length){var y=X.length-1;ee.indexOf(X[y])>-1&&(xe=X[y],X=X.slice(0,y))}X&&(W.push(X),X="",F=!1);var v=xe!==""&&De!==void 0&&De!==xe,u=G==="+"||G==="*",R=G==="?"||G==="*",w=xe||be,J=Le||$;W.push({name:Qe||ve++,prefix:xe,delimiter:w,optional:R,repeat:u,partial:v,pattern:J?Z(J):"[^"+A(w)+"]+?"})}return(X||q<O.length)&&W.push(X+O.substr(q)),W}function I(O,C){return j(M(O,C))}function j(O){for(var C=new Array(O.length),W=0;W<O.length;W++)typeof O[W]=="object"&&(C[W]=new RegExp("^(?:"+O[W].pattern+")$"));return function(ve,q){for(var X="",be=q&&q.encode||encodeURIComponent,ee=0;ee<O.length;ee++){var F=O[ee];if(typeof F=="string"){X+=F;continue}var te=ve?ve[F.name]:void 0,ce;if(Array.isArray(te)){if(!F.repeat)throw new TypeError('Expected "'+F.name+'" to not repeat, but got array');if(te.length===0){if(F.optional)continue;throw new TypeError('Expected "'+F.name+'" to not be empty')}for(var ge=0;ge<te.length;ge++){if(ce=be(te[ge],F),!C[ee].test(ce))throw new TypeError('Expected all "'+F.name+'" to match "'+F.pattern+'"');X+=(ge===0?F.prefix:F.delimiter)+ce}continue}if(typeof te=="string"||typeof te=="number"||typeof te=="boolean"){if(ce=be(String(te),F),!C[ee].test(ce))throw new TypeError('Expected "'+F.name+'" to match "'+F.pattern+'", but got "'+ce+'"');X+=F.prefix+ce;continue}if(F.optional){F.partial&&(X+=F.prefix);continue}throw new TypeError('Expected "'+F.name+'" to be '+(F.repeat?"an array":"a string"))}return X}}function A(O){return O.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function Z(O){return O.replace(/([=!:$/()])/g,"\\$1")}function le(O){return O&&O.sensitive?"":"i"}function fe(O,C){if(!C)return O;var W=O.source.match(/\((?!\?)/g);if(W)for(var ve=0;ve<W.length;ve++)C.push({name:ve,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return O}function se(O,C,W){for(var ve=[],q=0;q<O.length;q++)ve.push(he(O[q],C,W).source);return new RegExp("(?:"+ve.join("|")+")",le(W))}function p(O,C,W){return l(M(O,W),C,W)}function l(O,C,W){W=W||{};for(var ve=W.strict,q=W.start!==!1,X=W.end!==!1,be=A(W.delimiter||Ce),ee=W.delimiters||s,F=[].concat(W.endsWith||[]).map(A).concat("$").join("|"),te=q?"^":"",ce=O.length===0,ge=0;ge<O.length;ge++){var de=O[ge];if(typeof de=="string")te+=A(de),ce=ge===O.length-1&&ee.indexOf(de[de.length-1])>-1;else{var xe=de.repeat?"(?:"+de.pattern+")(?:"+A(de.delimiter)+"(?:"+de.pattern+"))*":de.pattern;C&&C.push(de),de.optional?de.partial?te+=A(de.prefix)+"("+xe+")?":te+="(?:"+A(de.prefix)+"("+xe+"))?":te+=A(de.prefix)+"("+xe+")"}}return X?(ve||(te+="(?:"+be+")?"),te+=F==="$"?"$":"(?="+F+")"):(ve||(te+="(?:"+be+"(?="+F+"))?"),ce||(te+="(?="+be+"|"+F+")")),new RegExp(te,le(W))}function he(O,C,W){return O instanceof RegExp?fe(O,C):Array.isArray(O)?se(O,C,W):p(O,C,W)}},80430:function(Pe){"use strict";var Ce=!1,s=function(){};if(Ce){var N=function(I,j){var A=arguments.length;j=new Array(A>1?A-1:0);for(var Z=1;Z<A;Z++)j[Z-1]=arguments[Z];var le=0,fe="Warning: "+I.replace(/%s/g,function(){return j[le++]});typeof console!="undefined"&&console.error(fe);try{throw new Error(fe)}catch(se){}};s=function(M,I,j){var A=arguments.length;j=new Array(A>2?A-2:0);for(var Z=2;Z<A;Z++)j[Z-2]=arguments[Z];if(I===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");M||N.apply(null,[I].concat(j))}}Pe.exports=s},7700:function(){},2828:function(){},17124:function(){},43361:function(){},17212:function(){},18067:function(){},27754:function(Pe,Ce,s){"use strict";s.d(Ce,{kv:function(){return Gt},nG:function(){return vn},Un:function(){return ln}});var N=s(21879),M=s.n(N),I=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function j(t,r){return!!(t===r||I(t)&&I(r))}function A(t,r){if(t.length!==r.length)return!1;for(var n=0;n<t.length;n++)if(!j(t[n],r[n]))return!1;return!0}function Z(t,r){r===void 0&&(r=A);var n,i=[],c,d=!1;function f(){for(var x=[],E=0;E<arguments.length;E++)x[E]=arguments[E];return d&&n===this&&r(x,i)||(c=t.apply(this,x),d=!0,n=this,i=x),c}return f}var le=Z;function fe(t){for(var r=[],n=0;n<t.length;){var i=t[n];if(i==="*"||i==="+"||i==="?"){r.push({type:"MODIFIER",index:n,value:t[n++]});continue}if(i==="\\"){r.push({type:"ESCAPED_CHAR",index:n++,value:t[n++]});continue}if(i==="{"){r.push({type:"OPEN",index:n,value:t[n++]});continue}if(i==="}"){r.push({type:"CLOSE",index:n,value:t[n++]});continue}if(i===":"){for(var c="",d=n+1;d<t.length;){var f=t.charCodeAt(d);if(f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||f===95){c+=t[d++];continue}break}if(!c)throw new TypeError("Missing parameter name at "+n);r.push({type:"NAME",index:n,value:c}),n=d;continue}if(i==="("){var x=1,E="",d=n+1;if(t[d]==="?")throw new TypeError('Pattern cannot start with "?" at '+d);for(;d<t.length;){if(t[d]==="\\"){E+=t[d++]+t[d++];continue}if(t[d]===")"){if(x--,x===0){d++;break}}else if(t[d]==="("&&(x++,t[d+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+d);E+=t[d++]}if(x)throw new TypeError("Unbalanced pattern at "+n);if(!E)throw new TypeError("Missing pattern at "+n);r.push({type:"PATTERN",index:n,value:E}),n=d;continue}r.push({type:"CHAR",index:n,value:t[n++]})}return r.push({type:"END",index:n,value:""}),r}function se(t,r){r===void 0&&(r={});for(var n=fe(t),i=r.prefixes,c=i===void 0?"./":i,d="[^"+C(r.delimiter||"/#?")+"]+?",f=[],x=0,E=0,L="",z=function(je){if(E<n.length&&n[E].type===je)return n[E++].value},T=function(je){var Xe=z(je);if(Xe!==void 0)return Xe;var kt=n[E],pn=kt.type,gn=kt.index;throw new TypeError("Unexpected "+pn+" at "+gn+", expected "+je)},K=function(){for(var je="",Xe;Xe=z("CHAR")||z("ESCAPED_CHAR");)je+=Xe;return je};E<n.length;){var ie=z("CHAR"),we=z("NAME"),Oe=z("PATTERN");if(we||Oe){var _=ie||"";c.indexOf(_)===-1&&(L+=_,_=""),L&&(f.push(L),L=""),f.push({name:we||x++,prefix:_,suffix:"",pattern:Oe||d,modifier:z("MODIFIER")||""});continue}var Ee=ie||z("ESCAPED_CHAR");if(Ee){L+=Ee;continue}L&&(f.push(L),L="");var Ze=z("OPEN");if(Ze){var _=K(),Ue=z("NAME")||"",Ae=z("PATTERN")||"",Ie=K();T("CLOSE"),f.push({name:Ue||(Ae?x++:""),pattern:Ue&&!Ae?d:Ae,prefix:_,suffix:Ie,modifier:z("MODIFIER")||""});continue}T("END")}return f}function p(t,r){return l(se(t,r),r)}function l(t,r){r===void 0&&(r={});var n=W(r),i=r.encode,c=i===void 0?function(E){return E}:i,d=r.validate,f=d===void 0?!0:d,x=t.map(function(E){if(typeof E=="object")return new RegExp("^(?:"+E.pattern+")$",n)});return function(E){for(var L="",z=0;z<t.length;z++){var T=t[z];if(typeof T=="string"){L+=T;continue}var K=E?E[T.name]:void 0,ie=T.modifier==="?"||T.modifier==="*",we=T.modifier==="*"||T.modifier==="+";if(Array.isArray(K)){if(!we)throw new TypeError('Expected "'+T.name+'" to not repeat, but got an array');if(K.length===0){if(ie)continue;throw new TypeError('Expected "'+T.name+'" to not be empty')}for(var Oe=0;Oe<K.length;Oe++){var _=c(K[Oe],T);if(f&&!x[z].test(_))throw new TypeError('Expected all "'+T.name+'" to match "'+T.pattern+'", but got "'+_+'"');L+=T.prefix+_+T.suffix}continue}if(typeof K=="string"||typeof K=="number"){var _=c(String(K),T);if(f&&!x[z].test(_))throw new TypeError('Expected "'+T.name+'" to match "'+T.pattern+'", but got "'+_+'"');L+=T.prefix+_+T.suffix;continue}if(!ie){var Ee=we?"an array":"a string";throw new TypeError('Expected "'+T.name+'" to be '+Ee)}}return L}}function he(t,r){var n=[],i=ee(t,n,r);return O(i,n,r)}function O(t,r,n){n===void 0&&(n={});var i=n.decode,c=i===void 0?function(d){return d}:i;return function(d){var f=t.exec(d);if(!f)return!1;for(var x=f[0],E=f.index,L=Object.create(null),z=function(K){if(f[K]===void 0)return"continue";var ie=r[K-1];ie.modifier==="*"||ie.modifier==="+"?L[ie.name]=f[K].split(ie.prefix+ie.suffix).map(function(we){return c(we,ie)}):L[ie.name]=c(f[K],ie)},T=1;T<f.length;T++)z(T);return{path:x,index:E,params:L}}}function C(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function W(t){return t&&t.sensitive?"":"i"}function ve(t,r){if(!r)return t;var n=t.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)r.push({name:i,prefix:"",suffix:"",modifier:"",pattern:""});return t}function q(t,r,n){var i=t.map(function(c){return ee(c,r,n).source});return new RegExp("(?:"+i.join("|")+")",W(n))}function X(t,r,n){return be(se(t,n),r,n)}function be(t,r,n){n===void 0&&(n={});for(var i=n.strict,c=i===void 0?!1:i,d=n.start,f=d===void 0?!0:d,x=n.end,E=x===void 0?!0:x,L=n.encode,z=L===void 0?function(je){return je}:L,T="["+C(n.endsWith||"")+"]|$",K="["+C(n.delimiter||"/#?")+"]",ie=f?"^":"",we=0,Oe=t;we<Oe.length;we++){var _=Oe[we];if(typeof _=="string")ie+=C(z(_));else{var Ee=C(z(_.prefix)),Ze=C(z(_.suffix));if(_.pattern)if(r&&r.push(_),Ee||Ze)if(_.modifier==="+"||_.modifier==="*"){var Ue=_.modifier==="*"?"?":"";ie+="(?:"+Ee+"((?:"+_.pattern+")(?:"+Ze+Ee+"(?:"+_.pattern+"))*)"+Ze+")"+Ue}else ie+="(?:"+Ee+"("+_.pattern+")"+Ze+")"+_.modifier;else ie+="("+_.pattern+")"+_.modifier;else ie+="(?:"+Ee+Ze+")"+_.modifier}}if(E)c||(ie+=K+"?"),ie+=n.endsWith?"(?="+T+")":"$";else{var Ae=t[t.length-1],Ie=typeof Ae=="string"?K.indexOf(Ae[Ae.length-1])>-1:Ae===void 0;c||(ie+="(?:"+K+"(?="+T+"))?"),Ie||(ie+="(?="+K+"|"+T+")")}return new RegExp(ie,W(n))}function ee(t,r,n){return t instanceof RegExp?ve(t,r):Array.isArray(t)?q(t,r,n):X(t,r,n)}function F(t,r){return r>>>t|r<<32-t}function te(t,r,n){return t&r^~t&n}function ce(t,r,n){return t&r^t&n^r&n}function ge(t){return F(2,t)^F(13,t)^F(22,t)}function de(t){return F(6,t)^F(11,t)^F(25,t)}function xe(t){return F(7,t)^F(18,t)^t>>>3}function De(t){return F(17,t)^F(19,t)^t>>>10}function Qe(t,r){return t[r&15]+=De(t[r+14&15])+t[r+9&15]+xe(t[r+1&15])}var Le=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],$,G,y,v="0123456789abcdef";function u(t,r){var n=(t&65535)+(r&65535),i=(t>>16)+(r>>16)+(n>>16);return i<<16|n&65535}function R(){$=new Array(8),G=new Array(2),y=new Array(64),G[0]=G[1]=0,$[0]=1779033703,$[1]=3144134277,$[2]=1013904242,$[3]=2773480762,$[4]=1359893119,$[5]=2600822924,$[6]=528734635,$[7]=1541459225}function w(){var t,r,n,i,c,d,f,x,E,L,z=new Array(16);t=$[0],r=$[1],n=$[2],i=$[3],c=$[4],d=$[5],f=$[6],x=$[7];for(var T=0;T<16;T++)z[T]=y[(T<<2)+3]|y[(T<<2)+2]<<8|y[(T<<2)+1]<<16|y[T<<2]<<24;for(var K=0;K<64;K++)E=x+de(c)+te(c,d,f)+Le[K],K<16?E+=z[K]:E+=Qe(z,K),L=ge(t)+ce(t,r,n),x=f,f=d,d=c,c=u(i,E),i=n,n=r,r=t,t=u(E,L);$[0]+=t,$[1]+=r,$[2]+=n,$[3]+=i,$[4]+=c,$[5]+=d,$[6]+=f,$[7]+=x}function J(t,r){var n,i,c=0;i=G[0]>>3&63;var d=r&63;for((G[0]+=r<<3)<r<<3&&G[1]++,G[1]+=r>>29,n=0;n+63<r;n+=64){for(var f=i;f<64;f++)y[f]=t.charCodeAt(c++);w(),i=0}for(var x=0;x<d;x++)y[x]=t.charCodeAt(c++)}function k(){var t=G[0]>>3&63;if(y[t++]=128,t<=56)for(var r=t;r<56;r++)y[r]=0;else{for(var n=t;n<64;n++)y[n]=0;w();for(var i=0;i<56;i++)y[i]=0}y[56]=G[1]>>>24&255,y[57]=G[1]>>>16&255,y[58]=G[1]>>>8&255,y[59]=G[1]&255,y[60]=G[0]>>>24&255,y[61]=G[0]>>>16&255,y[62]=G[0]>>>8&255,y[63]=G[0]&255,w()}function H(){for(var t=0,r=new Array(32),n=0;n<8;n++)r[t++]=$[n]>>>24&255,r[t++]=$[n]>>>16&255,r[t++]=$[n]>>>8&255,r[t++]=$[n]&255;return r}function ne(){for(var t=new String,r=0;r<8;r++)for(var n=28;n>=0;n-=4)t+=v.charAt($[r]>>>n&15);return t}function ae(t){return R(),J(t,t.length),k(),ne()}var me=ae;function Me(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Me=function(n){return typeof n}:Me=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Me(t)}var ze=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function Pt(t,r){return Ge(t)||Ne(t,r)||pt(t,r)||Nt()}function Nt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ne(t,r){var n=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var i=[],c=!0,d=!1,f,x;try{for(n=n.call(t);!(c=(f=n.next()).done)&&(i.push(f.value),!(r&&i.length===r));c=!0);}catch(E){d=!0,x=E}finally{try{!c&&n.return!=null&&n.return()}finally{if(d)throw x}}return i}}function Ge(t){if(Array.isArray(t))return t}function at(t,r){var n=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=pt(t))||r&&t&&typeof t.length=="number"){n&&(t=n);var i=0,c=function(){};return{s:c,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(L){throw L},f:c}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var d=!0,f=!1,x;return{s:function(){n=n.call(t)},n:function(){var L=n.next();return d=L.done,L},e:function(L){f=!0,x=L},f:function(){try{!d&&n.return!=null&&n.return()}finally{if(f)throw x}}}}function it(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function ke(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function vt(t,r,n){return r&&ke(t.prototype,r),n&&ke(t,n),t}function ht(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&ot(t,r)}function wt(t){var r=yt();return function(){var i=lt(t),c;if(r){var d=lt(this).constructor;c=Reflect.construct(i,arguments,d)}else c=i.apply(this,arguments);return Ve(this,c)}}function Ve(t,r){if(r&&(Me(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Lt(t)}function Lt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Je(t){var r=typeof Map=="function"?new Map:void 0;return Je=function(i){if(i===null||!Qt(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r!="undefined"){if(r.has(i))return r.get(i);r.set(i,c)}function c(){return _e(i,arguments,lt(this).constructor)}return c.prototype=Object.create(i.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),ot(c,i)},Je(t)}function _e(t,r,n){return yt()?_e=Reflect.construct:_e=function(c,d,f){var x=[null];x.push.apply(x,d);var E=Function.bind.apply(c,x),L=new E;return f&&ot(L,f.prototype),L},_e.apply(null,arguments)}function yt(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Qt(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ot(t,r){return ot=Object.setPrototypeOf||function(i,c){return i.__proto__=c,i},ot(t,r)}function lt(t){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lt(t)}function At(t){return Jt(t)||Ht(t)||pt(t)||Ft()}function Ft(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pt(t,r){if(!!t){if(typeof t=="string")return xt(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xt(t,r)}}function Ht(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jt(t){if(Array.isArray(t))return xt(t)}function xt(t,r){(r==null||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function _t(t,r){if(t==null)return{};var n=Bt(t,r),i,c;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(c=0;c<d.length;c++)i=d[c],!(r.indexOf(i)>=0)&&(!Object.prototype.propertyIsEnumerable.call(t,i)||(n[i]=t[i]))}return n}function Bt(t,r){if(t==null)return{};var n={},i=Object.keys(t),c,d;for(d=0;d<i.length;d++)c=i[d],!(r.indexOf(c)>=0)&&(n[c]=t[c]);return n}function Wt(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(c){return Object.getOwnPropertyDescriptor(t,c).enumerable})),n.push.apply(n,i)}return n}function ye(t){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?Wt(Object(n),!0).forEach(function(i){qe(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wt(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function qe(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var Se="routes";function st(t){return t.split("?")[0].split("#")[0]}var $t=function(r){if(!r.startsWith("http"))return!1;try{var n=new URL(r);return!!n}catch(i){return!1}},Zn=function(r){var n=r.path;if(!n||n==="/")try{return"/".concat(me(JSON.stringify(r)))}catch(i){}return n&&st(n)},qt=function(r,n){var i=r.name,c=r.locale;return"locale"in r&&c===!1||!i?!1:r.locale||"".concat(n,".").concat(i)},zt=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return(r||n).startsWith("/")||$t(r)?r:"/".concat(n,"/").concat(r).replace(/\/\//g,"/").replace(/\/\//g,"/")},en=function(r,n){var i=r.menu,c=i===void 0?{}:i,d=r.indexRoute,f=r.path,x=f===void 0?"":f,E=r.children||r[Se],L=c.name,z=L===void 0?r.name:L,T=c.icon,K=T===void 0?r.icon:T,ie=c.hideChildren,we=ie===void 0?r.hideChildren:ie,Oe=c.flatMenu,_=Oe===void 0?r.flatMenu:Oe,Ee=d&&Object.keys(d).join(",")!=="redirect"?[ye({path:x,menu:c},d)].concat(E||[]):E,Ze=ye({},r);if(z&&(Ze.name=z),K&&(Ze.icon=K),Ee&&Ee.length){if(we)return delete Ze[Se],delete Ze.children,Ze;var Ue=Kt(ye(ye({},n),{},{data:Ee}),r);if(_)return Ue;Ze[Se]=Ue}return Ze},Ke=function(r){return Array.isArray(r)&&r.length>0};function Kt(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},n=t.data,i=t.formatMessage,c=t.parentName,d=t.locale;return!n||!Array.isArray(n)?[]:n.filter(function(f){return f?Ke(f[Se])||Ke(f.children)||f.path||f.layout?!0:(f.redirect||f.unaccessible,!1):!1}).filter(function(f){var x,E;return f.unaccessible&&delete f.name,(f==null||(x=f.menu)===null||x===void 0?void 0:x.name)||(f==null?void 0:f.flatMenu)||(f==null||(E=f.menu)===null||E===void 0?void 0:E.flatMenu)?!0:f.menu!==!1}).map(function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},x=f.children||f[Se],E=zt(f.path,r?r.path:"/"),L=f.name,z=qt(f,c||"menu"),T=z!==!1&&d!==!1&&i&&z?i({id:z,defaultMessage:L}):L,K=r.pro_layout_parentKeys,ie=K===void 0?[]:K,we=r.children,Oe=r.icon,_=r.flatMenu,Ee=r.indexRoute,Ze=r.routes,Ue=_t(r,ze),Ae=new Set([].concat(At(ie),At(f.parentKeys||[])));r.key&&Ae.add(r.key);var Ie=ye(ye(ye({},Ue),{},{menu:void 0},f),{},{path:E,locale:z,key:f.key||Zn(ye(ye({},f),{},{path:E})),pro_layout_parentKeys:Array.from(Ae).filter(function(Xe){return Xe&&Xe!=="/"})});if(T?Ie.name=T:delete Ie.name,Ie.menu===void 0&&delete Ie.menu,Ke(x)){var je=Kt(ye(ye({},t),{},{data:x,parentName:z||""}),Ie);Ke(je)&&(Ie[Se]=je,Ie.children=je)}return en(Ie,t)}).flat(1)}var tn=le(Kt,M()),nn=function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return r.filter(function(n){return n&&(n.name||Ke(n[Se])||Ke(n.children))&&!n.hideInMenu&&!n.redirect}).map(function(n){var i=ye({},n),c=i.children||i[Se];if(Ke(c)&&!i.hideChildrenInMenu&&c.some(function(x){return x&&!!x.name})){var d,f=t(c);if(f.length)return ye(ye({},i),{},(d={},qe(d,Se,f),qe(d,"children",f),d))}return ye(ye({},n),{},qe({},Se,void 0))}).filter(function(n){return n})},rn=function(t){ht(n,t);var r=wt(n);function n(){return it(this,n),r.apply(this,arguments)}return vt(n,[{key:"get",value:function(c){var d;try{var f=at(this.entries()),x;try{for(f.s();!(x=f.n()).done;){var E=Pt(x.value,2),L=E[0],z=E[1],T=st(L);if(!$t(L)&&ee(T,[]).test(c)){d=z;break}}}catch(K){f.e(K)}finally{f.f()}}catch(K){d=void 0}return d}}]),n}(Je(Map)),Ut=function(r){var n=new rn,i=function c(d,f){d.forEach(function(x){var E=x.children||x[Se];Ke(E)&&c(E,x);var L=zt(x.path,f?f.path:"/");n.set(st(L),x)})};return i(r),n},Rn=le(Ut,M()),an=function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return r.map(function(n){var i=n.children||n[Se];if(Ke(i)){var c=t(i);if(c.length)return ye(ye({},n),{},qe({},Se,c))}var d=ye({},n);return delete d[Se],delete d.children,d}).filter(function(n){return n})},on=function(r,n,i,c){var d=tn({data:r,formatMessage:i,locale:n}),f=c?an(d):nn(d),x=Rn(d);return{breadcrumb:x,menuData:f}},ln=on;function sn(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(c){return Object.getOwnPropertyDescriptor(t,c).enumerable})),n.push.apply(n,i)}return n}function gt(t){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?sn(Object(n),!0).forEach(function(i){un(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sn(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function un(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var cn=function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n={};return r.forEach(function(i){if(!(!i||!i.key)){var c=i.children||i[Se];n[st(i.path||i.key||"/")]=gt({},i),n[i.key||i.path||"/"]=gt({},i),c&&(n=gt(gt({},n),t(c)))}}),n},Gt=cn,fn=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return r.filter(function(c){if(c==="/"&&n==="/")return!0;if(c!=="/"&&c!=="/*"&&c&&!$t(c)){var d=st(c);try{if(i&&ee("".concat(d)).test(n)||ee("".concat(d),[]).test(n)||ee("".concat(d,"/(.*)")).test(n))return!0}catch(f){}}return!1}).sort(function(c,d){return c===n?10:d===n?-10:c.substr(1).split("/").length-d.substr(1).split("/").length})},dn=function(r,n,i,c){var d=Gt(n),f=Object.keys(d),x=fn(f,r||"/",c);return!x||x.length<1?[]:(i||(x=[x[x.length-1]]),x.map(function(E){var L=d[E]||{pro_layout_parentKeys:"",key:""},z=new Map,T=(L.pro_layout_parentKeys||[]).map(function(K){return z.has(K)?null:(z.set(K,!0),d[K])}).filter(function(K){return K});return L.key&&T.push(L),T}).flat(1))},vn=dn},65223:function(Pe,Ce,s){"use strict";s.d(Ce,{q3:function(){return A},qI:function(){return Z},RV:function(){return le},Rk:function(){return fe},aM:function(){return se},Ux:function(){return p}});var N=s(22122),M=s(48526),I=s(98423),j=s(67294),A=j.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),Z=j.createContext(null),le=function(he){var O=(0,I.Z)(he,["prefixCls"]);return j.createElement(M.RV,(0,N.Z)({},O))},fe=j.createContext({prefixCls:""}),se=j.createContext({}),p=function(he){var O=he.children,C=he.status,W=he.override,ve=(0,j.useContext)(se),q=(0,j.useMemo)(function(){var X=(0,N.Z)({},ve);return W&&delete X.isFormItemInput,C&&(delete X.status,delete X.hasFeedback,delete X.feedbackIcon),X},[C,W,ve]);return j.createElement(se.Provider,{value:q},O)}},33860:function(Pe,Ce,s){"use strict";s.d(Ce,{Z:function(){return G}});var N=s(96156),M=s(22122),I=s(90484),j=s(94184),A=s.n(j),Z=s(67294),le=s(53124),fe=s(98423),se=function(v){var u,R,w=v.prefixCls,J=v.className,k=v.style,H=v.size,ne=v.shape,ae=A()((u={},(0,N.Z)(u,"".concat(w,"-lg"),H==="large"),(0,N.Z)(u,"".concat(w,"-sm"),H==="small"),u)),me=A()((R={},(0,N.Z)(R,"".concat(w,"-circle"),ne==="circle"),(0,N.Z)(R,"".concat(w,"-square"),ne==="square"),(0,N.Z)(R,"".concat(w,"-round"),ne==="round"),R)),Me=typeof H=="number"?{width:H,height:H,lineHeight:"".concat(H,"px")}:{};return Z.createElement("span",{className:A()(w,ae,me,J),style:(0,M.Z)((0,M.Z)({},Me),k)})},p=se,l=function(v){var u=v.prefixCls,R=v.className,w=v.active,J=Z.useContext(le.E_),k=J.getPrefixCls,H=k("skeleton",u),ne=(0,fe.Z)(v,["prefixCls","className"]),ae=A()(H,"".concat(H,"-element"),(0,N.Z)({},"".concat(H,"-active"),w),R);return Z.createElement("div",{className:ae},Z.createElement(p,(0,M.Z)({prefixCls:"".concat(H,"-avatar")},ne)))};l.defaultProps={size:"default",shape:"circle"};var he=l,O=function(v){var u,R=v.prefixCls,w=v.className,J=v.active,k=v.block,H=k===void 0?!1:k,ne=Z.useContext(le.E_),ae=ne.getPrefixCls,me=ae("skeleton",R),Me=(0,fe.Z)(v,["prefixCls"]),ze=A()(me,"".concat(me,"-element"),(u={},(0,N.Z)(u,"".concat(me,"-active"),J),(0,N.Z)(u,"".concat(me,"-block"),H),u),w);return Z.createElement("div",{className:ze},Z.createElement(p,(0,M.Z)({prefixCls:"".concat(me,"-button")},Me)))};O.defaultProps={size:"default"};var C=O,W="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",ve=function(v){var u=v.prefixCls,R=v.className,w=v.style,J=Z.useContext(le.E_),k=J.getPrefixCls,H=k("skeleton",u),ne=A()(H,"".concat(H,"-element"),R);return Z.createElement("div",{className:ne},Z.createElement("div",{className:A()("".concat(H,"-image"),R),style:w},Z.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(H,"-image-svg")},Z.createElement("path",{d:W,className:"".concat(H,"-image-path")}))))},q=ve,X=function(v){var u,R=v.prefixCls,w=v.className,J=v.active,k=v.block,H=Z.useContext(le.E_),ne=H.getPrefixCls,ae=ne("skeleton",R),me=(0,fe.Z)(v,["prefixCls"]),Me=A()(ae,"".concat(ae,"-element"),(u={},(0,N.Z)(u,"".concat(ae,"-active"),J),(0,N.Z)(u,"".concat(ae,"-block"),k),u),w);return Z.createElement("div",{className:Me},Z.createElement(p,(0,M.Z)({prefixCls:"".concat(ae,"-input")},me)))};X.defaultProps={size:"default"};var be=X,ee=s(85061),F=function(v){var u=function(ae){var me=v.width,Me=v.rows,ze=Me===void 0?2:Me;if(Array.isArray(me))return me[ae];if(ze-1===ae)return me},R=v.prefixCls,w=v.className,J=v.style,k=v.rows,H=(0,ee.Z)(Array(k)).map(function(ne,ae){return Z.createElement("li",{key:ae,style:{width:u(ae)}})});return Z.createElement("ul",{className:A()(R,w),style:J},H)},te=F,ce=function(v){var u=v.prefixCls,R=v.className,w=v.width,J=v.style;return Z.createElement("h3",{className:A()(u,R),style:(0,M.Z)({width:w},J)})},ge=ce;function de(y){return y&&(0,I.Z)(y)==="object"?y:{}}function xe(y,v){return y&&!v?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function De(y,v){return!y&&v?{width:"38%"}:y&&v?{width:"50%"}:{}}function Qe(y,v){var u={};return(!y||!v)&&(u.width="61%"),!y&&v?u.rows=3:u.rows=2,u}var Le=function(v){var u=v.prefixCls,R=v.loading,w=v.className,J=v.style,k=v.children,H=v.avatar,ne=v.title,ae=v.paragraph,me=v.active,Me=v.round,ze=Z.useContext(le.E_),Pt=ze.getPrefixCls,Nt=ze.direction,Ne=Pt("skeleton",u);if(R||!("loading"in v)){var Ge,at=!!H,it=!!ne,ke=!!ae,vt;if(at){var ht=(0,M.Z)((0,M.Z)({prefixCls:"".concat(Ne,"-avatar")},xe(it,ke)),de(H));vt=Z.createElement("div",{className:"".concat(Ne,"-header")},Z.createElement(p,(0,M.Z)({},ht)))}var wt;if(it||ke){var Ve;if(it){var Lt=(0,M.Z)((0,M.Z)({prefixCls:"".concat(Ne,"-title")},De(at,ke)),de(ne));Ve=Z.createElement(ge,(0,M.Z)({},Lt))}var Je;if(ke){var _e=(0,M.Z)((0,M.Z)({prefixCls:"".concat(Ne,"-paragraph")},Qe(at,it)),de(ae));Je=Z.createElement(te,(0,M.Z)({},_e))}wt=Z.createElement("div",{className:"".concat(Ne,"-content")},Ve,Je)}var yt=A()(Ne,(Ge={},(0,N.Z)(Ge,"".concat(Ne,"-with-avatar"),at),(0,N.Z)(Ge,"".concat(Ne,"-active"),me),(0,N.Z)(Ge,"".concat(Ne,"-rtl"),Nt==="rtl"),(0,N.Z)(Ge,"".concat(Ne,"-round"),Me),Ge),w);return Z.createElement("div",{className:yt,style:J},vt,wt)}return typeof k!="undefined"?k:null};Le.defaultProps={avatar:!1,title:!0,paragraph:!0},Le.Button=C,Le.Avatar=he,Le.Input=be,Le.Image=q;var $=Le,G=$},71748:function(Pe,Ce,s){"use strict";var N=s(38663),M=s.n(N),I=s(18067),j=s.n(I)},21879:function(Pe){"use strict";var Ce=typeof BigInt64Array!="undefined";Pe.exports=function s(N,M){if(N===M)return!0;if(N&&M&&typeof N=="object"&&typeof M=="object"){if(N.constructor!==M.constructor)return!1;var I,j,A;if(Array.isArray(N)){if(I=N.length,I!=M.length)return!1;for(j=I;j--!=0;)if(!s(N[j],M[j]))return!1;return!0}if(N instanceof Map&&M instanceof Map){if(N.size!==M.size)return!1;for(j of N.entries())if(!M.has(j[0]))return!1;for(j of N.entries())if(!s(j[1],M.get(j[0])))return!1;return!0}if(N instanceof Set&&M instanceof Set){if(N.size!==M.size)return!1;for(j of N.entries())if(!M.has(j[0]))return!1;return!0}if(ArrayBuffer.isView(N)&&ArrayBuffer.isView(M)){if(I=N.length,I!=M.length)return!1;for(j=I;j--!=0;)if(N[j]!==M[j])return!1;return!0}if(N.constructor===RegExp)return N.source===M.source&&N.flags===M.flags;if(N.valueOf!==Object.prototype.valueOf)return N.valueOf()===M.valueOf();if(N.toString!==Object.prototype.toString)return N.toString()===M.toString();if(A=Object.keys(N),I=A.length,I!==Object.keys(M).length)return!1;for(j=I;j--!=0;)if(!Object.prototype.hasOwnProperty.call(M,A[j]))return!1;for(j=I;j--!=0;){var Z=A[j];if(!(Z==="_owner"&&N.$$typeof)&&!s(N[Z],M[Z]))return!1}return!0}return N!==N&&M!==M}},2016:function(Pe,Ce,s){"use strict";s.d(Ce,{Z:function(){return Le}});var N=s(6610),M=s(5991),I=s(10379),j=s(54070),A=s(90484),Z=s(67294),le=s(75164),fe=s(59015),se=s(98924),p=s(74204);function l($){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!$)return{};var y=G.element,v=y===void 0?document.body:y,u={},R=Object.keys($);return R.forEach(function(w){u[w]=v.style[w]}),R.forEach(function(w){v.style[w]=$[w]}),u}var he=l;function O(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var C={},W=function($){if(!(!O()&&!$)){var G="ant-scrolling-effect",y=new RegExp("".concat(G),"g"),v=document.body.className;if($){if(!y.test(v))return;he(C),C={},document.body.className=v.replace(y,"").trim();return}var u=(0,p.Z)();if(u&&(C=he({position:"relative",width:"calc(100% - ".concat(u,"px)")}),!y.test(v))){var R="".concat(v," ").concat(G);document.body.className=R.trim()}}},ve=s(85061),q=[],X="ant-scrolling-effect",be=new RegExp("".concat(X),"g"),ee=0,F=new Map,te=(0,M.Z)(function $(G){var y=this;(0,N.Z)(this,$),this.lockTarget=void 0,this.options=void 0,this.getContainer=function(){var v;return(v=y.options)===null||v===void 0?void 0:v.container},this.reLock=function(v){var u=q.find(function(R){var w=R.target;return w===y.lockTarget});u&&y.unLock(),y.options=v,u&&(u.options=v,y.lock())},this.lock=function(){var v;if(!q.some(function(k){var H=k.target;return H===y.lockTarget})){if(q.some(function(k){var H,ne=k.options;return(ne==null?void 0:ne.container)===((H=y.options)===null||H===void 0?void 0:H.container)})){q=[].concat((0,ve.Z)(q),[{target:y.lockTarget,options:y.options}]);return}var u=0,R=((v=y.options)===null||v===void 0?void 0:v.container)||document.body;(R===document.body&&window.innerWidth-document.documentElement.clientWidth>0||R.scrollHeight>R.clientHeight)&&(u=(0,p.Z)());var w=R.className;if(q.filter(function(k){var H,ne=k.options;return(ne==null?void 0:ne.container)===((H=y.options)===null||H===void 0?void 0:H.container)}).length===0&&F.set(R,he({width:u!==0?"calc(100% - ".concat(u,"px)"):void 0,overflow:"hidden",overflowX:"hidden",overflowY:"hidden"},{element:R})),!be.test(w)){var J="".concat(w," ").concat(X);R.className=J.trim()}q=[].concat((0,ve.Z)(q),[{target:y.lockTarget,options:y.options}])}},this.unLock=function(){var v,u=q.find(function(J){var k=J.target;return k===y.lockTarget});if(q=q.filter(function(J){var k=J.target;return k!==y.lockTarget}),!(!u||q.some(function(J){var k,H=J.options;return(H==null?void 0:H.container)===((k=u.options)===null||k===void 0?void 0:k.container)}))){var R=((v=y.options)===null||v===void 0?void 0:v.container)||document.body,w=R.className;!be.test(w)||(he(F.get(R),{element:R}),F.delete(R),R.className=R.className.replace(be,"").trim())}},this.lockTarget=ee++,this.options=G}),ce=0,ge=(0,se.Z)();function de(){return 0}var xe={},De=function(G){if(!ge)return null;if(G){if(typeof G=="string")return document.querySelectorAll(G)[0];if(typeof G=="function")return G();if((0,A.Z)(G)==="object"&&G instanceof window.HTMLElement)return G}return document.body},Qe=function($){(0,I.Z)(y,$);var G=(0,j.Z)(y);function y(v){var u;return(0,N.Z)(this,y),u=G.call(this,v),u.container=void 0,u.componentRef=Z.createRef(),u.rafId=void 0,u.scrollLocker=void 0,u.renderComponent=void 0,u.updateScrollLocker=function(R){var w=R||{},J=w.visible,k=u.props,H=k.getContainer,ne=k.visible;ne&&ne!==J&&ge&&De(H)!==u.scrollLocker.getContainer()&&u.scrollLocker.reLock({container:De(H)})},u.updateOpenCount=function(R){var w=R||{},J=w.visible,k=w.getContainer,H=u.props,ne=H.visible,ae=H.getContainer;ne!==J&&ge&&De(ae)===document.body&&(ne&&!J?ce+=1:R&&(ce-=1));var me=typeof ae=="function"&&typeof k=="function";(me?ae.toString()!==k.toString():ae!==k)&&u.removeCurrentContainer()},u.attachToParent=function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(R||u.container&&!u.container.parentNode){var w=De(u.props.getContainer);return w?(w.appendChild(u.container),!0):!1}return!0},u.getContainer=function(){return ge?(u.container||(u.container=document.createElement("div"),u.attachToParent(!0)),u.setWrapperClassName(),u.container):null},u.setWrapperClassName=function(){var R=u.props.wrapperClassName;u.container&&R&&R!==u.container.className&&(u.container.className=R)},u.removeCurrentContainer=function(){var R,w;(R=u.container)===null||R===void 0||(w=R.parentNode)===null||w===void 0||w.removeChild(u.container)},u.switchScrollingEffect=function(){ce===1&&!Object.keys(xe).length?(W(),xe=he({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"})):ce||(he(xe),xe={},W(!0))},u.scrollLocker=new te({container:De(v.getContainer)}),u}return(0,M.Z)(y,[{key:"componentDidMount",value:function(){var u=this;this.updateOpenCount(),this.attachToParent()||(this.rafId=(0,le.Z)(function(){u.forceUpdate()}))}},{key:"componentDidUpdate",value:function(u){this.updateOpenCount(u),this.updateScrollLocker(u),this.setWrapperClassName(),this.attachToParent()}},{key:"componentWillUnmount",value:function(){var u=this.props,R=u.visible,w=u.getContainer;ge&&De(w)===document.body&&(ce=R&&ce?ce-1:ce),this.removeCurrentContainer(),le.Z.cancel(this.rafId)}},{key:"render",value:function(){var u=this.props,R=u.children,w=u.forceRender,J=u.visible,k=null,H={getOpenCount:function(){return ce},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect,scrollLocker:this.scrollLocker};return(w||J||this.componentRef.current)&&(k=Z.createElement(fe.Z,{getContainer:this.getContainer,ref:this.componentRef},R(H))),k}}]),y}(Z.Component),Le=Qe},74204:function(Pe,Ce,s){"use strict";s.d(Ce,{Z:function(){return M},o:function(){return j}});var N;function M(A){if(typeof document=="undefined")return 0;if(A||N===void 0){var Z=document.createElement("div");Z.style.width="100%",Z.style.height="200px";var le=document.createElement("div"),fe=le.style;fe.position="absolute",fe.top="0",fe.left="0",fe.pointerEvents="none",fe.visibility="hidden",fe.width="200px",fe.height="150px",fe.overflow="hidden",le.appendChild(Z),document.body.appendChild(le);var se=Z.offsetWidth;le.style.overflow="scroll";var p=Z.offsetWidth;se===p&&(p=le.clientWidth),document.body.removeChild(le),N=se-p}return N}function I(A){var Z=A.match(/^(.*)px$/),le=Number(Z==null?void 0:Z[1]);return Number.isNaN(le)?M():le}function j(A){if(typeof document=="undefined"||!A||!(A instanceof Element))return{width:0,height:0};var Z=getComputedStyle(A,"::-webkit-scrollbar"),le=Z.width,fe=Z.height;return{width:I(le),height:I(fe)}}}}]);
|