diff --git a/config/config.ts b/config/config.ts index f612ac7..be52371 100644 --- a/config/config.ts +++ b/config/config.ts @@ -15,7 +15,7 @@ export default defineConfig({ */ hash: true, - favicons : ['logo.jpg'], + favicons : ['logo.png'], /** * @name 兼容性设置 diff --git a/config/defaultSettings.ts b/config/defaultSettings.ts index 6bdbb1b..94caefb 100644 --- a/config/defaultSettings.ts +++ b/config/defaultSettings.ts @@ -15,9 +15,9 @@ const Settings: ProLayoutProps & { fixedHeader: false, fixSiderbar: true, colorWeak: false, - title: '凡米游', + title: 'Magic', pwa: true, - logo: '/logo.jpg', + logo: '/logo.png', iconfontUrl: '', token: { // 参见ts声明,demo 见文档,通过token 修改样式 diff --git a/dist/icons/icon.png b/dist/icons/icon.png new file mode 100644 index 0000000..ed579ff Binary files /dev/null and b/dist/icons/icon.png differ diff --git a/dist/index.html b/dist/index.html index 5d9cfd6..785ecf6 100644 --- a/dist/index.html +++ b/dist/index.html @@ -2,13 +2,13 @@ - + Ant Design Pro
- + \ No newline at end of file diff --git a/dist/logo.jpg b/dist/logo.jpg deleted file mode 100644 index 039c6b4..0000000 Binary files a/dist/logo.jpg and /dev/null differ diff --git a/dist/logo.png b/dist/logo.png new file mode 100644 index 0000000..ed579ff Binary files /dev/null and b/dist/logo.png differ diff --git a/dist/p__User__Login__index.e1ea880f.async.js b/dist/p__User__Login__index.79522455.async.js similarity index 52% rename from dist/p__User__Login__index.e1ea880f.async.js rename to dist/p__User__Login__index.79522455.async.js index 4fa4dd7..cbec5ef 100644 --- a/dist/p__User__Login__index.e1ea880f.async.js +++ b/dist/p__User__Login__index.79522455.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[366],{34994:function($e,w,e){e.d(w,{A:function(){return C}});var y=e(1413),P=e(8232),h=e(67294),V=e(78733),ce=e(9105),Z=e(4942),k=e(97685),ve=e(87462),pe=e(50756),ge=e(46976),fe=function(v,B){return h.createElement(ge.Z,(0,ve.Z)({},v,{ref:B,icon:pe.Z}))},l=h.forwardRef(fe),M=e(21770),me=e(48874),he=e(28459),xe=e(42075),q=e(93967),_=e.n(q),$=e(66758),ye=e(2514),Pe=e(98082),Ze=function(v){return(0,Z.Z)({},v.componentCls,{"&-title":{marginBlockEnd:v.marginXL,fontWeight:"bold"},"&-container":(0,Z.Z)({flexWrap:"wrap",maxWidth:"100%"},"> div".concat(v.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(0,Z.Z)((0,Z.Z)((0,Z.Z)((0,Z.Z)({display:"block",width:"100%"},"".concat(v.componentCls,"-title"),{width:"100%",margin:"8px 0"}),"".concat(v.componentCls,"-container"),{paddingInlineStart:16}),"".concat(v.antCls,"-space-item,").concat(v.antCls,"-form-item"),{width:"100%"}),"".concat(v.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}})})};function Ce(t){return(0,Pe.Xj)("ProFormGroup",function(v){var B=(0,y.Z)((0,y.Z)({},v),{},{componentCls:".".concat(t)});return[Ze(B)]})}var c=e(85893),G=h.forwardRef(function(t,v){var B=h.useContext($.Z),H=B.groupProps,p=(0,y.Z)((0,y.Z)({},H),t),ee=p.children,te=p.collapsible,Fe=p.defaultCollapsed,W=p.style,Me=p.labelLayout,ne=p.title,N=ne===void 0?t.label:ne,re=p.tooltip,oe=p.align,ae=oe===void 0?"start":oe,D=p.direction,b=p.size,X=b===void 0?32:b,Te=p.titleStyle,le=p.titleRender,T=p.spaceProps,K=p.extra,Y=p.autoFocus,Le=(0,M.Z)(function(){return Fe||!1},{value:t.collapsed,onChange:t.onCollapse}),J=(0,k.Z)(Le,2),Q=J[0],S=J[1],Re=(0,h.useContext)(he.ZP.ConfigContext),Ie=Re.getPrefixCls,se=(0,ye.zx)(t),Be=se.ColWrapper,ie=se.RowWrapper,E=Ie("pro-form-group"),de=Ce(E),Ee=de.wrapSSR,U=de.hashId,o=te&&(0,c.jsx)(l,{style:{marginInlineEnd:8},rotate:Q?void 0:90}),r=(0,c.jsx)(me.G,{label:o?(0,c.jsxs)("div",{children:[o,N]}):N,tooltip:re}),n=(0,h.useCallback)(function(u){var x=u.children;return(0,c.jsx)(xe.Z,(0,y.Z)((0,y.Z)({},T),{},{className:_()("".concat(E,"-container ").concat(U),T==null?void 0:T.className),size:X,align:ae,direction:D,style:(0,y.Z)({rowGap:0},T==null?void 0:T.style),children:x}))},[ae,E,D,U,X,T]),i=le?le(r,t):r,g=(0,h.useMemo)(function(){var u=[],x=h.Children.toArray(ee).map(function(s,a){var z;return h.isValidElement(s)&&s!==null&&s!==void 0&&(z=s.props)!==null&&z!==void 0&&z.hidden?(u.push(s),null):a===0&&h.isValidElement(s)&&Y?h.cloneElement(s,(0,y.Z)((0,y.Z)({},s.props),{},{autoFocus:Y})):s});return[(0,c.jsx)(ie,{Wrapper:n,children:x},"children"),u.length>0?(0,c.jsx)("div",{style:{display:"none"},children:u}):null]},[ee,ie,n,Y]),m=(0,k.Z)(g,2),f=m[0],j=m[1];return Ee((0,c.jsx)(Be,{children:(0,c.jsxs)("div",{className:_()(E,U,(0,Z.Z)({},"".concat(E,"-twoLine"),Me==="twoLine")),style:W,ref:v,children:[j,(N||re||K)&&(0,c.jsx)("div",{className:"".concat(E,"-title ").concat(U).trim(),style:Te,onClick:function(){S(!Q)},children:K?(0,c.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[i,(0,c.jsx)("span",{onClick:function(x){return x.stopPropagation()},children:K})]}):i}),(0,c.jsx)("div",{style:{display:te&&Q?"none":void 0},children:f})]})}))});G.displayName="ProForm-Group";var Se=G,je=e(4499);function C(t){return(0,c.jsx)(V.I,(0,y.Z)({layout:"vertical",contentRender:function(B,H){return(0,c.jsxs)(c.Fragment,{children:[B,H]})}},t))}C.Group=Se,C.useForm=P.Z.useForm,C.Item=je.Z,C.useWatch=P.Z.useWatch,C.ErrorList=P.Z.ErrorList,C.Provider=P.Z.Provider,C.useFormInstance=P.Z.useFormInstance,C.EditOrReadOnlyContext=ce.A},14525:function($e,w,e){e.r(w),e.d(w,{default:function(){return U}});var y=e(15009),P=e.n(y),h=e(97857),V=e.n(h),ce=e(99289),Z=e.n(ce),k=e(5574),ve=e.n(k),pe=e.p+"static/loginBg.12a730ec.jpg",ge=e(48357),fe=e(87547),l=e(1413),M=e(67294),me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},he=me,xe=e(91146),q=function(r,n){return M.createElement(xe.Z,(0,l.Z)((0,l.Z)({},r),{},{ref:n,icon:he}))};q.displayName="LockOutlined";var _=M.forwardRef(q),$=e(91),ye=e(10915),Pe=e(28459),Ze=e(93967),Ce=e.n(Ze),c=e(34994),G=e(4942),Se=e(98082),je=function(r){return(0,G.Z)((0,G.Z)({},r.componentCls,{"&-container":{display:"flex",flex:"1",flexDirection:"column",height:"100%",paddingInline:32,paddingBlock:24,overflow:"auto",background:"inherit"},"&-top":{textAlign:"center"},"&-header":{display:"flex",alignItems:"center",justifyContent:"center",height:"44px",lineHeight:"44px",a:{textDecoration:"none"}},"&-title":{position:"relative",insetBlockStart:"2px",color:"@heading-color",fontWeight:"600",fontSize:"33px"},"&-logo":{width:"44px",height:"44px",marginInlineEnd:"16px",verticalAlign:"top",img:{width:"100%"}},"&-desc":{marginBlockStart:"12px",marginBlockEnd:"40px",color:r.colorTextSecondary,fontSize:r.fontSize},"&-main":{minWidth:"328px",maxWidth:"580px",margin:"0 auto","&-other":{marginBlockStart:"24px",lineHeight:"22px",textAlign:"start"}}}),"@media (min-width: @screen-md-min)",(0,G.Z)({},"".concat(r.componentCls,"-container"),{paddingInline:0,paddingBlockStart:32,paddingBlockEnd:24,backgroundRepeat:"no-repeat",backgroundPosition:"center 110px",backgroundSize:"100%"}))};function C(o){return(0,Se.Xj)("LoginForm",function(r){var n=(0,l.Z)((0,l.Z)({},r),{},{componentCls:".".concat(o)});return[je(n)]})}var t=e(85893),v=["logo","message","contentStyle","title","subTitle","actions","children","containerStyle","otherStyle"];function B(o){var r,n=o.logo,i=o.message,g=o.contentStyle,m=o.title,f=o.subTitle,j=o.actions,u=o.children,x=o.containerStyle,s=o.otherStyle,a=(0,$.Z)(o,v),z=(0,ye.YB)(),A=a.submitter===!1?!1:(0,l.Z)((0,l.Z)({searchConfig:{submitText:z.getMessage("loginForm.submitText","\u767B\u5F55")}},a.submitter),{},{submitButtonProps:(0,l.Z)({size:"large",style:{width:"100%"}},(r=a.submitter)===null||r===void 0?void 0:r.submitButtonProps),render:function(Oe,Ae){var We,He=Ae.pop();if(typeof(a==null||(We=a.submitter)===null||We===void 0?void 0:We.render)=="function"){var ue,ze;return a==null||(ue=a.submitter)===null||ue===void 0||(ze=ue.render)===null||ze===void 0?void 0:ze.call(ue,Oe,Ae)}return He}}),L=(0,M.useContext)(Pe.ZP.ConfigContext),F=L.getPrefixCls("pro-form-login"),R=C(F),O=R.wrapSSR,d=R.hashId,I=function(Oe){return"".concat(F,"-").concat(Oe," ").concat(d)},Ne=(0,M.useMemo)(function(){return n?typeof n=="string"?(0,t.jsx)("img",{src:n}):n:null},[n]);return O((0,t.jsxs)("div",{className:Ce()(I("container"),d),style:x,children:[(0,t.jsxs)("div",{className:"".concat(I("top")," ").concat(d).trim(),children:[m||Ne?(0,t.jsxs)("div",{className:"".concat(I("header")),children:[Ne?(0,t.jsx)("span",{className:I("logo"),children:Ne}):null,m?(0,t.jsx)("span",{className:I("title"),children:m}):null]}):null,f?(0,t.jsx)("div",{className:I("desc"),children:f}):null]}),(0,t.jsxs)("div",{className:I("main"),style:(0,l.Z)({width:328},g),children:[(0,t.jsxs)(c.A,(0,l.Z)((0,l.Z)({isKeyPressSubmit:!0},a),{},{submitter:A,children:[i,u]})),j?(0,t.jsx)("div",{className:I("main-other"),style:s,children:j}):null]})]}))}var H=e(97685),p=e(21770),ee=e(8232),te=e(55241),Fe=e(97435),W=e(94187),Me=["fieldProps","proFieldProps"],ne=["fieldProps","proFieldProps"],N="text",re=function(r){var n=r.fieldProps,i=r.proFieldProps,g=(0,$.Z)(r,Me);return(0,t.jsx)(W.Z,(0,l.Z)({valueType:N,fieldProps:n,filedConfig:{valueType:N},proFieldProps:i},g))},oe=function(r){var n=(0,p.Z)(r.open||!1,{value:r.open,onChange:r.onOpenChange}),i=(0,H.Z)(n,2),g=i[0],m=i[1];return(0,t.jsx)(ee.Z.Item,{shouldUpdate:!0,noStyle:!0,children:function(j){var u,x=j.getFieldValue(r.name||[]);return(0,t.jsx)(te.Z,(0,l.Z)((0,l.Z)({getPopupContainer:function(a){return a&&a.parentNode?a.parentNode:a},onOpenChange:m,content:(0,t.jsxs)("div",{style:{padding:"4px 0"},children:[(u=r.statusRender)===null||u===void 0?void 0:u.call(r,x),r.strengthText?(0,t.jsx)("div",{style:{marginTop:10},children:(0,t.jsx)("span",{children:r.strengthText})}):null]}),overlayStyle:{width:240},placement:"rightTop"},r.popoverProps),{},{open:g,children:r.children}))}})},ae=function(r){var n=r.fieldProps,i=r.proFieldProps,g=(0,$.Z)(r,ne),m=(0,M.useState)(!1),f=(0,H.Z)(m,2),j=f[0],u=f[1];return n!=null&&n.statusRender&&g.name?(0,t.jsx)(oe,{name:g.name,statusRender:n==null?void 0:n.statusRender,popoverProps:n==null?void 0:n.popoverProps,strengthText:n==null?void 0:n.strengthText,open:j,onOpenChange:u,children:(0,t.jsx)("div",{children:(0,t.jsx)(W.Z,(0,l.Z)({valueType:"password",fieldProps:(0,l.Z)((0,l.Z)({},(0,Fe.Z)(n,["statusRender","popoverProps","strengthText"])),{},{onBlur:function(s){var a;n==null||(a=n.onBlur)===null||a===void 0||a.call(n,s),u(!1)},onClick:function(s){var a;n==null||(a=n.onClick)===null||a===void 0||a.call(n,s),u(!0)}}),proFieldProps:i,filedConfig:{valueType:N}},g))})}):(0,t.jsx)(W.Z,(0,l.Z)({valueType:"password",fieldProps:n,proFieldProps:i,filedConfig:{valueType:N}},g))},D=re;D.Password=ae,D.displayName="ProFormComponent";var b=D,X=e(22270),Te=e(84567),le=e(83607),T=["options","fieldProps","proFieldProps","valueEnum"],K=M.forwardRef(function(o,r){var n=o.options,i=o.fieldProps,g=o.proFieldProps,m=o.valueEnum,f=(0,$.Z)(o,T);return(0,t.jsx)(W.Z,(0,l.Z)({ref:r,valueType:"checkbox",valueEnum:(0,X.h)(m,void 0),fieldProps:(0,l.Z)({options:n},i),lightProps:(0,l.Z)({labelFormatter:function(){return(0,t.jsx)(W.Z,(0,l.Z)({ref:r,valueType:"checkbox",mode:"read",valueEnum:(0,X.h)(m,void 0),filedConfig:{customLightMode:!0},fieldProps:(0,l.Z)({options:n},i),proFieldProps:g},f))}},f.lightProps),proFieldProps:g},f))}),Y=M.forwardRef(function(o,r){var n=o.fieldProps,i=o.children;return(0,t.jsx)(Te.Z,(0,l.Z)((0,l.Z)({ref:r},n),{},{children:i}))}),Le=(0,le.G)(Y,{valuePropName:"checked"}),J=Le;J.Group=K;var Q=J,S=e(35312),Re=e(2453),Ie=e(13169),se=e(98257),Be=e(73935),ie=e(67610),E=(0,se.kc)(function(o){var r=o.token;return{action:{marginLeft:"8px",color:"rgba(0, 0, 0, 0.2)",fontSize:"24px",verticalAlign:"middle",cursor:"pointer",transition:"color 0.3s","&:hover":{color:r.colorPrimaryActive}},lang:{width:42,height:42,lineHeight:"42px",position:"fixed",right:16,borderRadius:r.borderRadius,":hover":{backgroundColor:r.colorBgTextHover}},container:{display:"flex",flexDirection:"column",height:"100vh",overflow:"auto",backgroundImage:"url(".concat(pe,")"),backgroundSize:"100% 100%"}}}),de=function(){var r=E(),n=r.styles;return(0,t.jsx)("div",{className:n.lang,"data-lang":!0,children:S.SelectLang&&(0,t.jsx)(S.SelectLang,{})})},Ee=function(){var r=(0,M.useState)("account"),n=ve()(r,2),i=n[0],g=n[1],m=(0,S.useModel)("@@initialState"),f=m.initialState,j=m.setInitialState,u=E(),x=u.styles,s=(0,S.useIntl)(),a=function(){var A=Z()(P()().mark(function L(){var F,R;return P()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,f==null||(F=f.fetchUserInfo)===null||F===void 0?void 0:F.call(f);case 2:R=d.sent,R&&(0,Be.flushSync)(function(){j(function(I){return V()(V()({},I),{},{currentUser:R})})});case 4:case"end":return d.stop()}},L)}));return function(){return A.apply(this,arguments)}}(),z=function(){var A=Z()(P()().mark(function L(F){var R;return P()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.prev=0,d.next=3,(0,ge.$g)(V()({},F));case 3:return R=s.formatMessage({id:"pages.login.success",defaultMessage:"\u767B\u5F55\u6210\u529F\uFF01"}),Re.ZP.success(R),d.next=7,a();case 7:S.history.push("/"),d.next=12;break;case 10:d.prev=10,d.t0=d.catch(0);case 12:case"end":return d.stop()}},L,null,[[0,10]])}));return function(F){return A.apply(this,arguments)}}();return(0,t.jsxs)("div",{className:x.container,children:[(0,t.jsx)(S.Helmet,{children:(0,t.jsxs)("title",{children:[s.formatMessage({id:"menu.login",defaultMessage:"\u767B\u5F55\u9875"}),"- ",ie.Z.title]})}),(0,t.jsx)(de,{}),(0,t.jsx)("div",{style:{flex:"1",padding:"32px 0",position:"absolute",left:"10vw",bottom:"10vh"},children:(0,t.jsxs)(B,{contentStyle:{minWidth:280,maxWidth:"75vw"},logo:(0,t.jsx)("img",{alt:"logo",src:"/logo.jpg"}),title:"\u51E1\u7C73\u6E38",initialValues:{autoLogin:!0},onFinish:function(){var A=Z()(P()().mark(function L(F){return P()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,z(F);case 2:case"end":return O.stop()}},L)}));return function(L){return A.apply(this,arguments)}}(),children:[(0,t.jsx)(Ie.Z,{activeKey:i,onChange:g,centered:!0,items:[{key:"account",label:s.formatMessage({id:"pages.login.accountLogin.tab",defaultMessage:"\u8D26\u6237\u5BC6\u7801\u767B\u5F55"})}]}),i==="account"&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b,{name:"name",fieldProps:{size:"large",prefix:(0,t.jsx)(fe.Z,{onPointerEnterCapture:void 0,onPointerLeaveCapture:void 0})},placeholder:s.formatMessage({id:"pages.login.username.placeholder",defaultMessage:"\u7528\u6237\u540D"}),rules:[{required:!0,message:(0,t.jsx)(S.FormattedMessage,{id:"pages.login.username.required",defaultMessage:"\u8BF7\u8F93\u5165\u7528\u6237\u540D!"})}]}),(0,t.jsx)(b.Password,{name:"pwd",fieldProps:{size:"large",prefix:(0,t.jsx)(_,{onPointerEnterCapture:void 0,onPointerLeaveCapture:void 0})},placeholder:s.formatMessage({id:"pages.login.password.placeholder",defaultMessage:"\u5BC6\u7801"}),rules:[{required:!0,message:(0,t.jsx)(S.FormattedMessage,{id:"pages.login.password.required",defaultMessage:"\u8BF7\u8F93\u5165\u5BC6\u7801\uFF01"})}]})]}),(0,t.jsx)("div",{style:{marginBottom:24},children:(0,t.jsx)(Q,{noStyle:!0,name:"autoLogin",children:(0,t.jsx)(S.FormattedMessage,{id:"pages.login.rememberMe",defaultMessage:"\u81EA\u52A8\u767B\u5F55"})})})]})})]})},U=Ee}}]); +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[366],{34994:function($e,w,e){e.d(w,{A:function(){return S}});var y=e(1413),P=e(8232),h=e(67294),V=e(78733),ce=e(9105),Z=e(4942),k=e(97685),ve=e(87462),pe=e(50756),ge=e(46976),fe=function(v,B){return h.createElement(ge.Z,(0,ve.Z)({},v,{ref:B,icon:pe.Z}))},l=h.forwardRef(fe),M=e(21770),me=e(48874),he=e(28459),xe=e(42075),q=e(93967),_=e.n(q),$=e(66758),ye=e(2514),Pe=e(98082),Ze=function(v){return(0,Z.Z)({},v.componentCls,{"&-title":{marginBlockEnd:v.marginXL,fontWeight:"bold"},"&-container":(0,Z.Z)({flexWrap:"wrap",maxWidth:"100%"},"> div".concat(v.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(0,Z.Z)((0,Z.Z)((0,Z.Z)((0,Z.Z)({display:"block",width:"100%"},"".concat(v.componentCls,"-title"),{width:"100%",margin:"8px 0"}),"".concat(v.componentCls,"-container"),{paddingInlineStart:16}),"".concat(v.antCls,"-space-item,").concat(v.antCls,"-form-item"),{width:"100%"}),"".concat(v.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}})})};function Se(n){return(0,Pe.Xj)("ProFormGroup",function(v){var B=(0,y.Z)((0,y.Z)({},v),{},{componentCls:".".concat(n)});return[Ze(B)]})}var c=e(85893),G=h.forwardRef(function(n,v){var B=h.useContext($.Z),H=B.groupProps,p=(0,y.Z)((0,y.Z)({},H),n),ee=p.children,ne=p.collapsible,Fe=p.defaultCollapsed,W=p.style,Me=p.labelLayout,te=p.title,N=te===void 0?n.label:te,re=p.tooltip,oe=p.align,ae=oe===void 0?"start":oe,D=p.direction,b=p.size,X=b===void 0?32:b,Te=p.titleStyle,le=p.titleRender,T=p.spaceProps,K=p.extra,Y=p.autoFocus,Le=(0,M.Z)(function(){return Fe||!1},{value:n.collapsed,onChange:n.onCollapse}),J=(0,k.Z)(Le,2),Q=J[0],C=J[1],Re=(0,h.useContext)(he.ZP.ConfigContext),Ie=Re.getPrefixCls,se=(0,ye.zx)(n),Be=se.ColWrapper,ie=se.RowWrapper,E=Ie("pro-form-group"),de=Se(E),Ee=de.wrapSSR,U=de.hashId,o=ne&&(0,c.jsx)(l,{style:{marginInlineEnd:8},rotate:Q?void 0:90}),r=(0,c.jsx)(me.G,{label:o?(0,c.jsxs)("div",{children:[o,N]}):N,tooltip:re}),t=(0,h.useCallback)(function(u){var x=u.children;return(0,c.jsx)(xe.Z,(0,y.Z)((0,y.Z)({},T),{},{className:_()("".concat(E,"-container ").concat(U),T==null?void 0:T.className),size:X,align:ae,direction:D,style:(0,y.Z)({rowGap:0},T==null?void 0:T.style),children:x}))},[ae,E,D,U,X,T]),i=le?le(r,n):r,g=(0,h.useMemo)(function(){var u=[],x=h.Children.toArray(ee).map(function(s,a){var z;return h.isValidElement(s)&&s!==null&&s!==void 0&&(z=s.props)!==null&&z!==void 0&&z.hidden?(u.push(s),null):a===0&&h.isValidElement(s)&&Y?h.cloneElement(s,(0,y.Z)((0,y.Z)({},s.props),{},{autoFocus:Y})):s});return[(0,c.jsx)(ie,{Wrapper:t,children:x},"children"),u.length>0?(0,c.jsx)("div",{style:{display:"none"},children:u}):null]},[ee,ie,t,Y]),m=(0,k.Z)(g,2),f=m[0],j=m[1];return Ee((0,c.jsx)(Be,{children:(0,c.jsxs)("div",{className:_()(E,U,(0,Z.Z)({},"".concat(E,"-twoLine"),Me==="twoLine")),style:W,ref:v,children:[j,(N||re||K)&&(0,c.jsx)("div",{className:"".concat(E,"-title ").concat(U).trim(),style:Te,onClick:function(){C(!Q)},children:K?(0,c.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[i,(0,c.jsx)("span",{onClick:function(x){return x.stopPropagation()},children:K})]}):i}),(0,c.jsx)("div",{style:{display:ne&&Q?"none":void 0},children:f})]})}))});G.displayName="ProForm-Group";var Ce=G,je=e(4499);function S(n){return(0,c.jsx)(V.I,(0,y.Z)({layout:"vertical",contentRender:function(B,H){return(0,c.jsxs)(c.Fragment,{children:[B,H]})}},n))}S.Group=Ce,S.useForm=P.Z.useForm,S.Item=je.Z,S.useWatch=P.Z.useWatch,S.ErrorList=P.Z.ErrorList,S.Provider=P.Z.Provider,S.useFormInstance=P.Z.useFormInstance,S.EditOrReadOnlyContext=ce.A},14525:function($e,w,e){e.r(w),e.d(w,{default:function(){return U}});var y=e(15009),P=e.n(y),h=e(97857),V=e.n(h),ce=e(99289),Z=e.n(ce),k=e(5574),ve=e.n(k),pe=e.p+"static/loginBg.12a730ec.jpg",ge=e(48357),fe=e(87547),l=e(1413),M=e(67294),me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},he=me,xe=e(91146),q=function(r,t){return M.createElement(xe.Z,(0,l.Z)((0,l.Z)({},r),{},{ref:t,icon:he}))};q.displayName="LockOutlined";var _=M.forwardRef(q),$=e(91),ye=e(10915),Pe=e(28459),Ze=e(93967),Se=e.n(Ze),c=e(34994),G=e(4942),Ce=e(98082),je=function(r){return(0,G.Z)((0,G.Z)({},r.componentCls,{"&-container":{display:"flex",flex:"1",flexDirection:"column",height:"100%",paddingInline:32,paddingBlock:24,overflow:"auto",background:"inherit"},"&-top":{textAlign:"center"},"&-header":{display:"flex",alignItems:"center",justifyContent:"center",height:"44px",lineHeight:"44px",a:{textDecoration:"none"}},"&-title":{position:"relative",insetBlockStart:"2px",color:"@heading-color",fontWeight:"600",fontSize:"33px"},"&-logo":{width:"44px",height:"44px",marginInlineEnd:"16px",verticalAlign:"top",img:{width:"100%"}},"&-desc":{marginBlockStart:"12px",marginBlockEnd:"40px",color:r.colorTextSecondary,fontSize:r.fontSize},"&-main":{minWidth:"328px",maxWidth:"580px",margin:"0 auto","&-other":{marginBlockStart:"24px",lineHeight:"22px",textAlign:"start"}}}),"@media (min-width: @screen-md-min)",(0,G.Z)({},"".concat(r.componentCls,"-container"),{paddingInline:0,paddingBlockStart:32,paddingBlockEnd:24,backgroundRepeat:"no-repeat",backgroundPosition:"center 110px",backgroundSize:"100%"}))};function S(o){return(0,Ce.Xj)("LoginForm",function(r){var t=(0,l.Z)((0,l.Z)({},r),{},{componentCls:".".concat(o)});return[je(t)]})}var n=e(85893),v=["logo","message","contentStyle","title","subTitle","actions","children","containerStyle","otherStyle"];function B(o){var r,t=o.logo,i=o.message,g=o.contentStyle,m=o.title,f=o.subTitle,j=o.actions,u=o.children,x=o.containerStyle,s=o.otherStyle,a=(0,$.Z)(o,v),z=(0,ye.YB)(),A=a.submitter===!1?!1:(0,l.Z)((0,l.Z)({searchConfig:{submitText:z.getMessage("loginForm.submitText","\u767B\u5F55")}},a.submitter),{},{submitButtonProps:(0,l.Z)({size:"large",style:{width:"100%"}},(r=a.submitter)===null||r===void 0?void 0:r.submitButtonProps),render:function(Oe,Ae){var We,He=Ae.pop();if(typeof(a==null||(We=a.submitter)===null||We===void 0?void 0:We.render)=="function"){var ue,ze;return a==null||(ue=a.submitter)===null||ue===void 0||(ze=ue.render)===null||ze===void 0?void 0:ze.call(ue,Oe,Ae)}return He}}),L=(0,M.useContext)(Pe.ZP.ConfigContext),F=L.getPrefixCls("pro-form-login"),R=S(F),O=R.wrapSSR,d=R.hashId,I=function(Oe){return"".concat(F,"-").concat(Oe," ").concat(d)},Ne=(0,M.useMemo)(function(){return t?typeof t=="string"?(0,n.jsx)("img",{src:t}):t:null},[t]);return O((0,n.jsxs)("div",{className:Se()(I("container"),d),style:x,children:[(0,n.jsxs)("div",{className:"".concat(I("top")," ").concat(d).trim(),children:[m||Ne?(0,n.jsxs)("div",{className:"".concat(I("header")),children:[Ne?(0,n.jsx)("span",{className:I("logo"),children:Ne}):null,m?(0,n.jsx)("span",{className:I("title"),children:m}):null]}):null,f?(0,n.jsx)("div",{className:I("desc"),children:f}):null]}),(0,n.jsxs)("div",{className:I("main"),style:(0,l.Z)({width:328},g),children:[(0,n.jsxs)(c.A,(0,l.Z)((0,l.Z)({isKeyPressSubmit:!0},a),{},{submitter:A,children:[i,u]})),j?(0,n.jsx)("div",{className:I("main-other"),style:s,children:j}):null]})]}))}var H=e(97685),p=e(21770),ee=e(8232),ne=e(55241),Fe=e(97435),W=e(94187),Me=["fieldProps","proFieldProps"],te=["fieldProps","proFieldProps"],N="text",re=function(r){var t=r.fieldProps,i=r.proFieldProps,g=(0,$.Z)(r,Me);return(0,n.jsx)(W.Z,(0,l.Z)({valueType:N,fieldProps:t,filedConfig:{valueType:N},proFieldProps:i},g))},oe=function(r){var t=(0,p.Z)(r.open||!1,{value:r.open,onChange:r.onOpenChange}),i=(0,H.Z)(t,2),g=i[0],m=i[1];return(0,n.jsx)(ee.Z.Item,{shouldUpdate:!0,noStyle:!0,children:function(j){var u,x=j.getFieldValue(r.name||[]);return(0,n.jsx)(ne.Z,(0,l.Z)((0,l.Z)({getPopupContainer:function(a){return a&&a.parentNode?a.parentNode:a},onOpenChange:m,content:(0,n.jsxs)("div",{style:{padding:"4px 0"},children:[(u=r.statusRender)===null||u===void 0?void 0:u.call(r,x),r.strengthText?(0,n.jsx)("div",{style:{marginTop:10},children:(0,n.jsx)("span",{children:r.strengthText})}):null]}),overlayStyle:{width:240},placement:"rightTop"},r.popoverProps),{},{open:g,children:r.children}))}})},ae=function(r){var t=r.fieldProps,i=r.proFieldProps,g=(0,$.Z)(r,te),m=(0,M.useState)(!1),f=(0,H.Z)(m,2),j=f[0],u=f[1];return t!=null&&t.statusRender&&g.name?(0,n.jsx)(oe,{name:g.name,statusRender:t==null?void 0:t.statusRender,popoverProps:t==null?void 0:t.popoverProps,strengthText:t==null?void 0:t.strengthText,open:j,onOpenChange:u,children:(0,n.jsx)("div",{children:(0,n.jsx)(W.Z,(0,l.Z)({valueType:"password",fieldProps:(0,l.Z)((0,l.Z)({},(0,Fe.Z)(t,["statusRender","popoverProps","strengthText"])),{},{onBlur:function(s){var a;t==null||(a=t.onBlur)===null||a===void 0||a.call(t,s),u(!1)},onClick:function(s){var a;t==null||(a=t.onClick)===null||a===void 0||a.call(t,s),u(!0)}}),proFieldProps:i,filedConfig:{valueType:N}},g))})}):(0,n.jsx)(W.Z,(0,l.Z)({valueType:"password",fieldProps:t,proFieldProps:i,filedConfig:{valueType:N}},g))},D=re;D.Password=ae,D.displayName="ProFormComponent";var b=D,X=e(22270),Te=e(84567),le=e(83607),T=["options","fieldProps","proFieldProps","valueEnum"],K=M.forwardRef(function(o,r){var t=o.options,i=o.fieldProps,g=o.proFieldProps,m=o.valueEnum,f=(0,$.Z)(o,T);return(0,n.jsx)(W.Z,(0,l.Z)({ref:r,valueType:"checkbox",valueEnum:(0,X.h)(m,void 0),fieldProps:(0,l.Z)({options:t},i),lightProps:(0,l.Z)({labelFormatter:function(){return(0,n.jsx)(W.Z,(0,l.Z)({ref:r,valueType:"checkbox",mode:"read",valueEnum:(0,X.h)(m,void 0),filedConfig:{customLightMode:!0},fieldProps:(0,l.Z)({options:t},i),proFieldProps:g},f))}},f.lightProps),proFieldProps:g},f))}),Y=M.forwardRef(function(o,r){var t=o.fieldProps,i=o.children;return(0,n.jsx)(Te.Z,(0,l.Z)((0,l.Z)({ref:r},t),{},{children:i}))}),Le=(0,le.G)(Y,{valuePropName:"checked"}),J=Le;J.Group=K;var Q=J,C=e(35312),Re=e(2453),Ie=e(13169),se=e(98257),Be=e(73935),ie=e(67610),E=(0,se.kc)(function(o){var r=o.token;return{action:{marginLeft:"8px",color:"rgba(0, 0, 0, 0.2)",fontSize:"24px",verticalAlign:"middle",cursor:"pointer",transition:"color 0.3s","&:hover":{color:r.colorPrimaryActive}},lang:{width:42,height:42,lineHeight:"42px",position:"fixed",right:16,borderRadius:r.borderRadius,":hover":{backgroundColor:r.colorBgTextHover}},container:{display:"flex",flexDirection:"column",height:"100vh",overflow:"auto",backgroundImage:"url(".concat(pe,")"),backgroundSize:"100% 100%"}}}),de=function(){var r=E(),t=r.styles;return(0,n.jsx)("div",{className:t.lang,"data-lang":!0,children:C.SelectLang&&(0,n.jsx)(C.SelectLang,{})})},Ee=function(){var r=(0,M.useState)("account"),t=ve()(r,2),i=t[0],g=t[1],m=(0,C.useModel)("@@initialState"),f=m.initialState,j=m.setInitialState,u=E(),x=u.styles,s=(0,C.useIntl)(),a=function(){var A=Z()(P()().mark(function L(){var F,R;return P()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,f==null||(F=f.fetchUserInfo)===null||F===void 0?void 0:F.call(f);case 2:R=d.sent,R&&(0,Be.flushSync)(function(){j(function(I){return V()(V()({},I),{},{currentUser:R})})});case 4:case"end":return d.stop()}},L)}));return function(){return A.apply(this,arguments)}}(),z=function(){var A=Z()(P()().mark(function L(F){var R;return P()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.prev=0,d.next=3,(0,ge.$g)(V()({},F));case 3:return R=s.formatMessage({id:"pages.login.success",defaultMessage:"\u767B\u5F55\u6210\u529F\uFF01"}),Re.ZP.success(R),d.next=7,a();case 7:C.history.push("/"),d.next=12;break;case 10:d.prev=10,d.t0=d.catch(0);case 12:case"end":return d.stop()}},L,null,[[0,10]])}));return function(F){return A.apply(this,arguments)}}();return(0,n.jsxs)("div",{className:x.container,children:[(0,n.jsx)(C.Helmet,{children:(0,n.jsxs)("title",{children:[s.formatMessage({id:"menu.login",defaultMessage:"\u767B\u5F55\u9875"}),"- ",ie.Z.title]})}),(0,n.jsx)(de,{}),(0,n.jsx)("div",{style:{flex:"1",padding:"32px 0",position:"absolute",left:"10vw",bottom:"10vh"},children:(0,n.jsxs)(B,{contentStyle:{minWidth:280,maxWidth:"75vw"},logo:(0,n.jsx)("img",{alt:"logo",src:"/logo.png"}),initialValues:{autoLogin:!0},onFinish:function(){var A=Z()(P()().mark(function L(F){return P()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,z(F);case 2:case"end":return O.stop()}},L)}));return function(L){return A.apply(this,arguments)}}(),children:[(0,n.jsx)(Ie.Z,{activeKey:i,onChange:g,centered:!0,items:[{key:"account",label:s.formatMessage({id:"pages.login.accountLogin.tab",defaultMessage:"\u8D26\u6237\u5BC6\u7801\u767B\u5F55"})}]}),i==="account"&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b,{name:"name",fieldProps:{size:"large",prefix:(0,n.jsx)(fe.Z,{onPointerEnterCapture:void 0,onPointerLeaveCapture:void 0})},placeholder:s.formatMessage({id:"pages.login.username.placeholder",defaultMessage:"\u7528\u6237\u540D"}),rules:[{required:!0,message:(0,n.jsx)(C.FormattedMessage,{id:"pages.login.username.required",defaultMessage:"\u8BF7\u8F93\u5165\u7528\u6237\u540D!"})}]}),(0,n.jsx)(b.Password,{name:"pwd",fieldProps:{size:"large",prefix:(0,n.jsx)(_,{onPointerEnterCapture:void 0,onPointerLeaveCapture:void 0})},placeholder:s.formatMessage({id:"pages.login.password.placeholder",defaultMessage:"\u5BC6\u7801"}),rules:[{required:!0,message:(0,n.jsx)(C.FormattedMessage,{id:"pages.login.password.required",defaultMessage:"\u8BF7\u8F93\u5165\u5BC6\u7801\uFF01"})}]})]}),(0,n.jsx)("div",{style:{marginBottom:24},children:(0,n.jsx)(Q,{noStyle:!0,name:"autoLogin",children:(0,n.jsx)(C.FormattedMessage,{id:"pages.login.rememberMe",defaultMessage:"\u81EA\u52A8\u767B\u5F55"})})})]})})]})},U=Ee}}]); diff --git a/dist/p__Welcome.0f971878.async.js b/dist/p__Welcome.0f971878.async.js deleted file mode 100644 index e65bc57..0000000 --- a/dist/p__Welcome.0f971878.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[185],{5717:function(w,f){var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};f.Z=r},79893:function(w,f,r){r.r(f),r.d(f,{default:function(){return V}});var m=r(9361),u=r(67294),a=r(93967),d=r.n(a),h=r(98423),v=r(98065),p=r(53124),y=r(91945),S=r(45503);const b=["wrap","nowrap","wrap-reverse"],j=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],F=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],L=(t,o)=>{const s={};return b.forEach(n=>{s[`${t}-wrap-${n}`]=o.wrap===n}),s},l=(t,o)=>{const s={};return F.forEach(n=>{s[`${t}-align-${n}`]=o.align===n}),s[`${t}-align-stretch`]=!o.align&&!!o.vertical,s},e=(t,o)=>{const s={};return j.forEach(n=>{s[`${t}-justify-${n}`]=o.justify===n}),s};function c(t,o){return d()(Object.assign(Object.assign(Object.assign({},L(t,o)),l(t,o)),e(t,o)))}var E=c;const C=t=>{const{componentCls:o}=t;return{[o]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},$=t=>{const{componentCls:o}=t;return{[o]:{"&-gap-small":{gap:t.flexGapSM},"&-gap-middle":{gap:t.flexGap},"&-gap-large":{gap:t.flexGapLG}}}},D=t=>{const{componentCls:o}=t,s={};return b.forEach(n=>{s[`${o}-wrap-${n}`]={flexWrap:n}}),s},I=t=>{const{componentCls:o}=t,s={};return F.forEach(n=>{s[`${o}-align-${n}`]={alignItems:n}}),s},B=t=>{const{componentCls:o}=t,s={};return j.forEach(n=>{s[`${o}-justify-${n}`]={justifyContent:n}}),s},A=()=>({});var G=(0,y.I$)("Flex",t=>{const{paddingXS:o,padding:s,paddingLG:n}=t,i=(0,S.TS)(t,{flexGapSM:o,flexGap:s,flexGapLG:n});return[C(i),$(i),D(i),I(i),B(i)]},A,{resetStyle:!1}),H=function(t,o){var s={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&o.indexOf(n)<0&&(s[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i{const{prefixCls:s,rootClassName:n,className:i,style:U,flex:M,gap:O,children:X,vertical:T=!1,component:J="div"}=t,K=H(t,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:g,direction:Y,getPrefixCls:Q}=u.useContext(p.E_),x=Q("flex",s),[_,k,q]=G(x),tt=T!=null?T:g==null?void 0:g.vertical,et=d()(i,n,g==null?void 0:g.className,x,k,q,E(x,t),{[`${x}-rtl`]:Y==="rtl",[`${x}-gap-${O}`]:(0,v.n)(O),[`${x}-vertical`]:tt}),W=Object.assign(Object.assign({},g==null?void 0:g.style),U);return M&&(W.flex=M),O&&!(0,v.n)(O)&&(W.gap=O),_(u.createElement(J,Object.assign({ref:o,className:et,style:W},(0,h.Z)(K,["justify","wrap","align"])),X))}),R=r(55060),Z=r.p+"static/welcome.793d2d05.jpeg",P=r(85893),N=function(){var o=m.Z.useToken(),s=o.token;return(0,P.jsxs)(z,{align:"center",justify:"center",vertical:!0,style:{width:"100%",backgroundColor:"white",padding:20},children:[(0,P.jsx)(R.Z,{preview:!1,width:300,src:Z}),(0,P.jsx)("p",{style:{marginTop:20,fontSize:20,color:s.colorTextBase},children:"\u6B22\u8FCE\u4F7F\u7528\u51E1\u7C73\u6E38\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF"})]})},V=N},1208:function(w,f,r){var m=r(87462),u=r(67294),a=r(5717),d=r(93771),h=function(p,y){return u.createElement(d.Z,(0,m.Z)({},p,{ref:y,icon:a.Z}))};f.Z=u.forwardRef(h)},64019:function(w,f,r){r.d(f,{Z:function(){return u}});var m=r(73935);function u(a,d,h,v){var p=m.unstable_batchedUpdates?function(S){m.unstable_batchedUpdates(h,S)}:h;return a!=null&&a.addEventListener&&a.addEventListener(d,p,v),{remove:function(){a!=null&&a.removeEventListener&&a.removeEventListener(d,p,v)}}}},27678:function(w,f,r){r.d(f,{g1:function(){return j},os:function(){return L}});var m=/margin|padding|width|height|max|min|offset/,u={left:!0,top:!0},a={cssFloat:1,styleFloat:1,float:1};function d(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function h(l,e,c){if(e=e.toLowerCase(),c==="auto"){if(e==="height")return l.offsetHeight;if(e==="width")return l.offsetWidth}return e in u||(u[e]=m.test(e)),u[e]?parseFloat(c)||0:c}function v(l,e){var c=arguments.length,E=d(l);return e=a[e]?"cssFloat"in l.style?"cssFloat":"styleFloat":e,c===1?E:h(l,e,E[e]||l.style[e])}function p(l,e,c){var E=arguments.length;if(e=a[e]?"cssFloat"in l.style?"cssFloat":"styleFloat":e,E===3)return typeof c=="number"&&m.test(e)&&(c="".concat(c,"px")),l.style[e]=c,c;for(var C in e)e.hasOwnProperty(C)&&p(l,C,e[C]);return d(l)}function y(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function S(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function b(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:e}}function j(){var l=document.documentElement.clientWidth,e=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:e}}function F(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function L(l){var e=l.getBoundingClientRect(),c=document.documentElement;return{left:e.left+(window.pageXOffset||c.scrollLeft)-(c.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||c.scrollTop)-(c.clientTop||document.body.clientTop||0)}}}}]); diff --git a/dist/p__Welcome.70b2426d.async.js b/dist/p__Welcome.70b2426d.async.js new file mode 100644 index 0000000..d3ec806 --- /dev/null +++ b/dist/p__Welcome.70b2426d.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[185],{5717:function(w,f){var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};f.Z=r},79893:function(w,f,r){r.r(f),r.d(f,{default:function(){return V}});var m=r(9361),u=r(67294),a=r(93967),d=r.n(a),h=r(98423),v=r(98065),p=r(53124),y=r(91945),S=r(45503);const b=["wrap","nowrap","wrap-reverse"],j=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],F=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],L=(t,o)=>{const s={};return b.forEach(n=>{s[`${t}-wrap-${n}`]=o.wrap===n}),s},l=(t,o)=>{const s={};return F.forEach(n=>{s[`${t}-align-${n}`]=o.align===n}),s[`${t}-align-stretch`]=!o.align&&!!o.vertical,s},e=(t,o)=>{const s={};return j.forEach(n=>{s[`${t}-justify-${n}`]=o.justify===n}),s};function c(t,o){return d()(Object.assign(Object.assign(Object.assign({},L(t,o)),l(t,o)),e(t,o)))}var x=c;const C=t=>{const{componentCls:o}=t;return{[o]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},$=t=>{const{componentCls:o}=t;return{[o]:{"&-gap-small":{gap:t.flexGapSM},"&-gap-middle":{gap:t.flexGap},"&-gap-large":{gap:t.flexGapLG}}}},D=t=>{const{componentCls:o}=t,s={};return b.forEach(n=>{s[`${o}-wrap-${n}`]={flexWrap:n}}),s},I=t=>{const{componentCls:o}=t,s={};return F.forEach(n=>{s[`${o}-align-${n}`]={alignItems:n}}),s},B=t=>{const{componentCls:o}=t,s={};return j.forEach(n=>{s[`${o}-justify-${n}`]={justifyContent:n}}),s},A=()=>({});var G=(0,y.I$)("Flex",t=>{const{paddingXS:o,padding:s,paddingLG:n}=t,i=(0,S.TS)(t,{flexGapSM:o,flexGap:s,flexGapLG:n});return[C(i),$(i),D(i),I(i),B(i)]},A,{resetStyle:!1}),H=function(t,o){var s={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&o.indexOf(n)<0&&(s[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i{const{prefixCls:s,rootClassName:n,className:i,style:U,flex:W,gap:O,children:X,vertical:P=!1,component:J="div"}=t,K=H(t,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:g,direction:Y,getPrefixCls:Q}=u.useContext(p.E_),E=Q("flex",s),[_,k,q]=G(E),tt=P!=null?P:g==null?void 0:g.vertical,et=d()(i,n,g==null?void 0:g.className,E,k,q,x(E,t),{[`${E}-rtl`]:Y==="rtl",[`${E}-gap-${O}`]:(0,v.n)(O),[`${E}-vertical`]:tt}),T=Object.assign(Object.assign({},g==null?void 0:g.style),U);return W&&(T.flex=W),O&&!(0,v.n)(O)&&(T.gap=O),_(u.createElement(J,Object.assign({ref:o,className:et,style:T},(0,h.Z)(K,["justify","wrap","align"])),X))}),R=r(55060),Z=r.p+"static/welcome.793d2d05.jpeg",M=r(85893),N=function(){var o=m.Z.useToken(),s=o.token;return(0,M.jsxs)(z,{align:"center",justify:"center",vertical:!0,style:{width:"100%",backgroundColor:"white",padding:20},children:[(0,M.jsx)(R.Z,{preview:!1,width:300,src:Z}),(0,M.jsx)("p",{style:{marginTop:20,fontSize:20,color:s.colorTextBase},children:"\u6B22\u8FCE\u4F7F\u7528Magic\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF"})]})},V=N},1208:function(w,f,r){var m=r(87462),u=r(67294),a=r(5717),d=r(93771),h=function(p,y){return u.createElement(d.Z,(0,m.Z)({},p,{ref:y,icon:a.Z}))};f.Z=u.forwardRef(h)},64019:function(w,f,r){r.d(f,{Z:function(){return u}});var m=r(73935);function u(a,d,h,v){var p=m.unstable_batchedUpdates?function(S){m.unstable_batchedUpdates(h,S)}:h;return a!=null&&a.addEventListener&&a.addEventListener(d,p,v),{remove:function(){a!=null&&a.removeEventListener&&a.removeEventListener(d,p,v)}}}},27678:function(w,f,r){r.d(f,{g1:function(){return j},os:function(){return L}});var m=/margin|padding|width|height|max|min|offset/,u={left:!0,top:!0},a={cssFloat:1,styleFloat:1,float:1};function d(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function h(l,e,c){if(e=e.toLowerCase(),c==="auto"){if(e==="height")return l.offsetHeight;if(e==="width")return l.offsetWidth}return e in u||(u[e]=m.test(e)),u[e]?parseFloat(c)||0:c}function v(l,e){var c=arguments.length,x=d(l);return e=a[e]?"cssFloat"in l.style?"cssFloat":"styleFloat":e,c===1?x:h(l,e,x[e]||l.style[e])}function p(l,e,c){var x=arguments.length;if(e=a[e]?"cssFloat"in l.style?"cssFloat":"styleFloat":e,x===3)return typeof c=="number"&&m.test(e)&&(c="".concat(c,"px")),l.style[e]=c,c;for(var C in e)e.hasOwnProperty(C)&&p(l,C,e[C]);return d(l)}function y(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function S(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function b(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:e}}function j(){var l=document.documentElement.clientWidth,e=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:e}}function F(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function L(l){var e=l.getBoundingClientRect(),c=document.documentElement;return{left:e.left+(window.pageXOffset||c.scrollLeft)-(c.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||c.scrollTop)-(c.clientTop||document.body.clientTop||0)}}}}]); diff --git a/dist/t__plugin-layout__Layout.6d492b8c.async.js b/dist/t__plugin-layout__Layout.9c68ad01.async.js similarity index 78% rename from dist/t__plugin-layout__Layout.6d492b8c.async.js rename to dist/t__plugin-layout__Layout.9c68ad01.async.js index 11b89e2..199465f 100644 --- a/dist/t__plugin-layout__Layout.6d492b8c.async.js +++ b/dist/t__plugin-layout__Layout.9c68ad01.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[301],{27626:function(ot,M,a){a.r(M),a.d(M,{default:function(){return nt}});var $=a(5574),E=a.n($),z=a(19632),D=a.n(z),W=a(97857),v=a.n(W),H=a(64599),b=a.n(H),c=a(35312),B=a(67294),O=a(79970),t=a(85893),P=function(){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,t.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,t.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,t.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,t.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,t.jsx)("g",{transform:"translate(-20 -20)",children:(0,t.jsx)("g",{transform:"translate(20 20)",children:(0,t.jsxs)("g",{children:[(0,t.jsxs)("g",{fillRule:"nonzero",children:[(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{fill:"url(#linearGradient-1)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c1.17-1.169 2.944-1.169 4.114 0l27.783 27.76c4.209 4.205 11.032 4.205 15.24 0 4.209-4.205 4.209-11.022 0-15.227L108.581 4.056c-4.719-4.594-12.312-4.557-16.993.12z"}),(0,t.jsx)("path",{fill:"url(#linearGradient-2)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c2.912-2.51 7.664-7.596 14.642-8.786 5.186-.883 10.855 1.062 17.009 5.837L108.58 4.056c-4.719-4.594-12.312-4.557-16.993.12z"})]}),(0,t.jsx)("path",{fill:"url(#linearGradient-3)",d:"M153.686 135.855c4.208 4.205 11.031 4.205 15.24 0l27.034-27.012c4.7-4.696 4.7-12.28 0-16.974l-27.27-27.15c-4.218-4.2-11.043-4.195-15.254.013-4.209 4.205-4.209 11.022 0 15.227l18.418 18.403c1.17 1.169 1.17 2.943 0 4.111l-18.168 18.154c-4.209 4.205-4.209 11.023 0 15.228z"})]}),(0,t.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]})},T=P,k=a(29905),U=a(14726),V=function(i){var r,o;return!i.route&&(i.noFound||i.notFound)||((r=i.route)===null||r===void 0?void 0:r.unaccessible)&&(i.unAccessible||i.noAccessible)||(!i.route||((o=i.route)===null||o===void 0?void 0:o.unaccessible))&&(0,t.jsx)(k.ZP,{status:i.route?"403":"404",title:i.route?"403":"404",subTitle:i.route?"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762":"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,t.jsx)(U.ZP,{type:"primary",onClick:function(){return c.history.push("/")},children:"\u8FD4\u56DE\u9996\u9875"})})||i.children},X=V,K=a(7134),Y=a(75081),A=a(67159),S=a(68508),J=a(85418),Q=a(92443),L=a(66999);function w(n){var i,r,o,d,g;if(n.runtimeConfig.rightRender)return n.runtimeConfig.rightRender(n.initialState,n.setInitialState,n.runtimeConfig);var f=((i=n.initialState)===null||i===void 0?void 0:i.avatar)||((r=n.initialState)===null||r===void 0?void 0:r.name)||n.runtimeConfig.logout,u=((o=n.initialState)===null||o===void 0?void 0:o.avatar)===!1,m=u?"umi-plugin-layout-name umi-plugin-layout-hide-avatar-img":"umi-plugin-layout-name",p=f?(0,t.jsxs)("span",{className:"umi-plugin-layout-action",children:[u?null:(0,t.jsx)(K.C,{size:"small",className:"umi-plugin-layout-avatar",src:((d=n.initialState)===null||d===void 0?void 0:d.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),(0,t.jsx)("span",{className:m,children:(g=n.initialState)===null||g===void 0?void 0:g.name})]}):null;if(n.loading)return(0,t.jsx)("div",{className:"umi-plugin-layout-right",children:(0,t.jsx)(Y.Z,{size:"small",style:{marginLeft:8,marginRight:8}})});var h={className:"umi-plugin-layout-menu",selectedKeys:[],items:[{key:"logout",label:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Q.Z,{}),"\u9000\u51FA\u767B\u5F55"]}),onClick:function(){var e,j;n==null||(e=n.runtimeConfig)===null||e===void 0||(j=e.logout)===null||j===void 0||j.call(e,n.initialState)}}]},x;return A.Z.startsWith("5.")||A.Z.startsWith("4.24.")?x={menu:h}:A.Z.startsWith("3.")?x={overlay:(0,t.jsx)(S.Z,{children:h.items.map(function(y){return(0,t.jsx)(S.Z.Item,{onClick:y.onClick,children:y.label},y.key)})})}:x={overlay:(0,t.jsx)(S.Z,v()({},h))},(0,t.jsxs)("div",{className:"umi-plugin-layout-right anticon",children:[n.runtimeConfig.logout?(0,t.jsx)(J.Z,v()(v()({},x),{},{overlayClassName:"umi-plugin-layout-container",children:p})):p,(0,t.jsx)(L.pD,{})]})}var N=a(44886),q=a(83228),_=function n(i,r){if(i.length===0)return[];var o=[],d=b()(i),g;try{for(d.s();!(g=d.n()).done;){var f=g.value,u=v()({},f);r(f)?Array.isArray(u.routes)&&o.push.apply(o,D()(n(u.routes,r))):(Array.isArray(u.children)&&(u.children=n(u.children,r),u.routes=u.children),o.push(u))}}catch(m){d.e(m)}finally{d.f()}return o},tt=function n(i){return i.length===0?[]:i.map(function(r){var o=v()({},r);return r.originPath&&(o.path=r.originPath),Array.isArray(r.routes)&&(o.routes=n(r.routes)),Array.isArray(r.children)&&(o.children=n(r.children)),o})},nt=function(n){var i=(0,c.useLocation)(),r=(0,c.useNavigate)(),o=(0,c.useAppData)(),d=o.clientRoutes,g=o.pluginManager,f=N.t&&(0,N.t)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},u=f.initialState,m=f.loading,p=f.setInitialState,h={locale:!0,navTheme:"light",colorPrimary:"#eb0fcc",layout:"top",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"\u51E1\u7C73\u6E38",pwa:!0,logo:"/logo.jpg",iconfontUrl:"",token:{}},x=(0,L.YB)(),y=x.formatMessage,e=g.applyPlugins({key:"layout",type:"modify",initialValue:v()({},f)}),j=_(d.filter(function(s){return s.id==="ant-design-pro-layout"}),function(s){return!!s.isLayout&&s.id!=="ant-design-pro-layout"||!!s.isWrapper}),it=(0,q.Mf)(tt(j)),at=E()(it,1),G=at[0],et=(0,B.useMemo)(function(){var s,l;return(s=(0,c.matchRoutes)(G.children,i.pathname))===null||s===void 0||(l=s.pop)===null||l===void 0||(l=l.call(s))===null||l===void 0?void 0:l.route},[i.pathname]);return(0,t.jsx)(O.f,v()(v()({route:G,location:i,title:h.title||"ant-design-pro",navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(l){l.stopPropagation(),l.preventDefault(),r("/")},formatMessage:h.formatMessage||y,menu:{locale:h.locale},logo:T,menuItemRender:function(l,C){return l.isUrl||l.children?C:l.path&&i.pathname!==l.path?(0,t.jsx)(c.Link,{to:l.path.replace("/*",""),target:l.target,children:C}):C},itemRender:function(l,C,Z){var lt=l.breadcrumbName,rt=l.title,F=l.path,I=rt||lt,R=Z[Z.length-1];return R&&(R.path===F||R.linkPath===F)?(0,t.jsx)("span",{children:I}):(0,t.jsx)(c.Link,{to:F,children:I})},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0},e),{},{rightContentRender:e.rightContentRender!==!1&&function(s){var l=w({runtimeConfig:e,loading:m,initialState:u,setInitialState:p});return e.rightContentRender?e.rightContentRender(s,l,{userConfig:h,runtimeConfig:e,loading:m,initialState:u,setInitialState:p}):l},children:(0,t.jsx)(X,{route:et,noFound:e==null?void 0:e.noFound,notFound:e==null?void 0:e.notFound,unAccessible:e==null?void 0:e.unAccessible,noAccessible:e==null?void 0:e.noAccessible,children:e.childrenRender?e.childrenRender((0,t.jsx)(c.Outlet,{}),n):(0,t.jsx)(c.Outlet,{})})}))}}}]); +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[301],{27626:function(ot,M,a){a.r(M),a.d(M,{default:function(){return nt}});var $=a(5574),E=a.n($),z=a(19632),D=a.n(z),W=a(97857),v=a.n(W),H=a(64599),b=a.n(H),c=a(35312),B=a(67294),O=a(79970),t=a(85893),P=function(){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,t.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,t.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,t.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,t.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,t.jsx)("g",{transform:"translate(-20 -20)",children:(0,t.jsx)("g",{transform:"translate(20 20)",children:(0,t.jsxs)("g",{children:[(0,t.jsxs)("g",{fillRule:"nonzero",children:[(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{fill:"url(#linearGradient-1)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c1.17-1.169 2.944-1.169 4.114 0l27.783 27.76c4.209 4.205 11.032 4.205 15.24 0 4.209-4.205 4.209-11.022 0-15.227L108.581 4.056c-4.719-4.594-12.312-4.557-16.993.12z"}),(0,t.jsx)("path",{fill:"url(#linearGradient-2)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c2.912-2.51 7.664-7.596 14.642-8.786 5.186-.883 10.855 1.062 17.009 5.837L108.58 4.056c-4.719-4.594-12.312-4.557-16.993.12z"})]}),(0,t.jsx)("path",{fill:"url(#linearGradient-3)",d:"M153.686 135.855c4.208 4.205 11.031 4.205 15.24 0l27.034-27.012c4.7-4.696 4.7-12.28 0-16.974l-27.27-27.15c-4.218-4.2-11.043-4.195-15.254.013-4.209 4.205-4.209 11.022 0 15.227l18.418 18.403c1.17 1.169 1.17 2.943 0 4.111l-18.168 18.154c-4.209 4.205-4.209 11.023 0 15.228z"})]}),(0,t.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]})},T=P,k=a(29905),U=a(14726),V=function(i){var r,o;return!i.route&&(i.noFound||i.notFound)||((r=i.route)===null||r===void 0?void 0:r.unaccessible)&&(i.unAccessible||i.noAccessible)||(!i.route||((o=i.route)===null||o===void 0?void 0:o.unaccessible))&&(0,t.jsx)(k.ZP,{status:i.route?"403":"404",title:i.route?"403":"404",subTitle:i.route?"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762":"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,t.jsx)(U.ZP,{type:"primary",onClick:function(){return c.history.push("/")},children:"\u8FD4\u56DE\u9996\u9875"})})||i.children},X=V,K=a(7134),Y=a(75081),A=a(67159),S=a(68508),J=a(85418),Q=a(92443),L=a(66999);function w(n){var i,r,o,d,g;if(n.runtimeConfig.rightRender)return n.runtimeConfig.rightRender(n.initialState,n.setInitialState,n.runtimeConfig);var f=((i=n.initialState)===null||i===void 0?void 0:i.avatar)||((r=n.initialState)===null||r===void 0?void 0:r.name)||n.runtimeConfig.logout,u=((o=n.initialState)===null||o===void 0?void 0:o.avatar)===!1,m=u?"umi-plugin-layout-name umi-plugin-layout-hide-avatar-img":"umi-plugin-layout-name",p=f?(0,t.jsxs)("span",{className:"umi-plugin-layout-action",children:[u?null:(0,t.jsx)(K.C,{size:"small",className:"umi-plugin-layout-avatar",src:((d=n.initialState)===null||d===void 0?void 0:d.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),(0,t.jsx)("span",{className:m,children:(g=n.initialState)===null||g===void 0?void 0:g.name})]}):null;if(n.loading)return(0,t.jsx)("div",{className:"umi-plugin-layout-right",children:(0,t.jsx)(Y.Z,{size:"small",style:{marginLeft:8,marginRight:8}})});var h={className:"umi-plugin-layout-menu",selectedKeys:[],items:[{key:"logout",label:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Q.Z,{}),"\u9000\u51FA\u767B\u5F55"]}),onClick:function(){var e,j;n==null||(e=n.runtimeConfig)===null||e===void 0||(j=e.logout)===null||j===void 0||j.call(e,n.initialState)}}]},x;return A.Z.startsWith("5.")||A.Z.startsWith("4.24.")?x={menu:h}:A.Z.startsWith("3.")?x={overlay:(0,t.jsx)(S.Z,{children:h.items.map(function(y){return(0,t.jsx)(S.Z.Item,{onClick:y.onClick,children:y.label},y.key)})})}:x={overlay:(0,t.jsx)(S.Z,v()({},h))},(0,t.jsxs)("div",{className:"umi-plugin-layout-right anticon",children:[n.runtimeConfig.logout?(0,t.jsx)(J.Z,v()(v()({},x),{},{overlayClassName:"umi-plugin-layout-container",children:p})):p,(0,t.jsx)(L.pD,{})]})}var N=a(44886),q=a(83228),_=function n(i,r){if(i.length===0)return[];var o=[],d=b()(i),g;try{for(d.s();!(g=d.n()).done;){var f=g.value,u=v()({},f);r(f)?Array.isArray(u.routes)&&o.push.apply(o,D()(n(u.routes,r))):(Array.isArray(u.children)&&(u.children=n(u.children,r),u.routes=u.children),o.push(u))}}catch(m){d.e(m)}finally{d.f()}return o},tt=function n(i){return i.length===0?[]:i.map(function(r){var o=v()({},r);return r.originPath&&(o.path=r.originPath),Array.isArray(r.routes)&&(o.routes=n(r.routes)),Array.isArray(r.children)&&(o.children=n(r.children)),o})},nt=function(n){var i=(0,c.useLocation)(),r=(0,c.useNavigate)(),o=(0,c.useAppData)(),d=o.clientRoutes,g=o.pluginManager,f=N.t&&(0,N.t)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},u=f.initialState,m=f.loading,p=f.setInitialState,h={locale:!0,navTheme:"light",colorPrimary:"#eb0fcc",layout:"top",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"Magic",pwa:!0,logo:"/logo.png",iconfontUrl:"",token:{}},x=(0,L.YB)(),y=x.formatMessage,e=g.applyPlugins({key:"layout",type:"modify",initialValue:v()({},f)}),j=_(d.filter(function(s){return s.id==="ant-design-pro-layout"}),function(s){return!!s.isLayout&&s.id!=="ant-design-pro-layout"||!!s.isWrapper}),it=(0,q.Mf)(tt(j)),at=E()(it,1),G=at[0],et=(0,B.useMemo)(function(){var s,l;return(s=(0,c.matchRoutes)(G.children,i.pathname))===null||s===void 0||(l=s.pop)===null||l===void 0||(l=l.call(s))===null||l===void 0?void 0:l.route},[i.pathname]);return(0,t.jsx)(O.f,v()(v()({route:G,location:i,title:h.title||"ant-design-pro",navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(l){l.stopPropagation(),l.preventDefault(),r("/")},formatMessage:h.formatMessage||y,menu:{locale:h.locale},logo:T,menuItemRender:function(l,C){return l.isUrl||l.children?C:l.path&&i.pathname!==l.path?(0,t.jsx)(c.Link,{to:l.path.replace("/*",""),target:l.target,children:C}):C},itemRender:function(l,C,Z){var lt=l.breadcrumbName,rt=l.title,F=l.path,I=rt||lt,R=Z[Z.length-1];return R&&(R.path===F||R.linkPath===F)?(0,t.jsx)("span",{children:I}):(0,t.jsx)(c.Link,{to:F,children:I})},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0},e),{},{rightContentRender:e.rightContentRender!==!1&&function(s){var l=w({runtimeConfig:e,loading:m,initialState:u,setInitialState:p});return e.rightContentRender?e.rightContentRender(s,l,{userConfig:h,runtimeConfig:e,loading:m,initialState:u,setInitialState:p}):l},children:(0,t.jsx)(X,{route:et,noFound:e==null?void 0:e.noFound,notFound:e==null?void 0:e.notFound,unAccessible:e==null?void 0:e.unAccessible,noAccessible:e==null?void 0:e.noAccessible,children:e.childrenRender?e.childrenRender((0,t.jsx)(c.Outlet,{}),n):(0,t.jsx)(c.Outlet,{})})}))}}}]); diff --git a/dist/umi.4a415c12.js b/dist/umi.2f2f77c5.js similarity index 98% rename from dist/umi.4a415c12.js rename to dist/umi.2f2f77c5.js index 40a62c0..6041543 100644 --- a/dist/umi.4a415c12.js +++ b/dist/umi.2f2f77c5.js @@ -111,7 +111,7 @@ html body { overflow-y: hidden; `.concat(_?"width: calc(100% - ".concat(ae,"px);"):"",` -}`),Z)}else(0,d.jL)(Z);return function(){(0,d.jL)(Z)}},[Q,Z])}var T=!1;function F(k){return typeof k=="boolean"&&(T=k),T}var P=function(Q){return Q===!1?!1:!(0,a.Z)()||!Q?null:typeof Q=="string"?document.querySelector(Q):typeof Q=="function"?Q():Q},R=r.forwardRef(function(k,Q){var q=k.open,ie=k.autoLock,Z=k.getContainer,ae=k.debug,_=k.autoDestroy,ee=_===void 0?!0:_,$=k.children,B=r.useState(q),j=(0,t.Z)(B,2),C=j[0],N=j[1],ne=C||q;r.useEffect(function(){(ee||q)&&N(q)},[q,ee]);var fe=r.useState(function(){return P(Z)}),te=(0,t.Z)(fe,2),J=te[0],he=te[1];r.useEffect(function(){var Y=P(Z);he(Y!=null?Y:null)});var Ce=y(ne&&!J,ae),Ze=(0,t.Z)(Ce,2),ke=Ze[0],Qe=Ze[1],pt=J!=null?J:ke;w(ie&&q&&(0,a.Z)()&&(pt===ke||pt===document.body));var It=null;if($&&(0,c.Yr)($)&&Q){var ot=$;It=ot.ref}var St=(0,c.x1)(It,Q);if(!ne||!(0,a.Z)()||J===void 0)return null;var lt=pt===!1||F(),Se=$;return Q&&(Se=r.cloneElement($,{ref:St})),r.createElement(u.Provider,{value:Qe},lt?Se:(0,o.createPortal)(Se,pt))}),H=R,se=H},40228:function(v,m,e){"use strict";e.d(m,{Z:function(){return lt}});var t=e(1413),r=e(97685),o=e(91),a=e(2788),s=e(93967),c=e.n(s),l=e(9220),u=e(34203),f=e(27571),p=e(66680),h=e(7028),y=e(8410),d=e(31131),b=e(67294),S=e(87462),x=e(82225),E=e(42550);function w(Se){var Y=Se.prefixCls,I=Se.align,L=Se.arrow,ce=Se.arrowPos,V=L||{},D=V.className,A=V.content,M=ce.x,z=M===void 0?0:M,K=ce.y,le=K===void 0?0:K,de=b.useRef();if(!I||!I.points)return null;var Oe={position:"absolute"};if(I.autoArrow!==!1){var Je=I.points[0],X=I.points[1],re=Je[0],G=Je[1],Ie=X[0],We=X[1];re===Ie||!["t","b"].includes(re)?Oe.top=le:re==="t"?Oe.top=0:Oe.bottom=0,G===We||!["l","r"].includes(G)?Oe.left=z:G==="l"?Oe.left=0:Oe.right=0}return b.createElement("div",{ref:de,className:c()("".concat(Y,"-arrow"),D),style:Oe},A)}function T(Se){var Y=Se.prefixCls,I=Se.open,L=Se.zIndex,ce=Se.mask,V=Se.motion;return ce?b.createElement(x.ZP,(0,S.Z)({},V,{motionAppear:!0,visible:I,removeOnLeave:!0}),function(D){var A=D.className;return b.createElement("div",{style:{zIndex:L},className:c()("".concat(Y,"-mask"),A)})}):null}var F=b.memo(function(Se){var Y=Se.children;return Y},function(Se,Y){return Y.cache}),P=F,R=b.forwardRef(function(Se,Y){var I=Se.popup,L=Se.className,ce=Se.prefixCls,V=Se.style,D=Se.target,A=Se.onVisibleChanged,M=Se.open,z=Se.keepDom,K=Se.fresh,le=Se.onClick,de=Se.mask,Oe=Se.arrow,Je=Se.arrowPos,X=Se.align,re=Se.motion,G=Se.maskMotion,Ie=Se.forceRender,We=Se.getPopupContainer,je=Se.autoDestroy,Fe=Se.portal,me=Se.zIndex,be=Se.onMouseEnter,Le=Se.onMouseLeave,ze=Se.onPointerEnter,et=Se.ready,He=Se.offsetX,Ye=Se.offsetY,Ee=Se.offsetR,Ne=Se.offsetB,ve=Se.onAlign,Ve=Se.onPrepare,st=Se.stretch,ct=Se.targetWidth,Pe=Se.targetHeight,Ke=typeof I=="function"?I():I,_e=M||z,qe=(We==null?void 0:We.length)>0,yt=b.useState(!We||!qe),Rt=(0,r.Z)(yt,2),Zt=Rt[0],At=Rt[1];if((0,y.Z)(function(){!Zt&&qe&&D&&At(!0)},[Zt,qe,D]),!Zt)return null;var Pt="auto",vt={left:"-1000vw",top:"-1000vh",right:Pt,bottom:Pt};if(et||!M){var Ct,Nt=X.points,En=X.dynamicInset||((Ct=X._experimental)===null||Ct===void 0?void 0:Ct.dynamicInset),Sn=En&&Nt[0][1]==="r",Pn=En&&Nt[0][0]==="b";Sn?(vt.right=Ee,vt.left=Pt):(vt.left=He,vt.right=Pt),Pn?(vt.bottom=Ne,vt.top=Pt):(vt.top=Ye,vt.bottom=Pt)}var yn={};return st&&(st.includes("height")&&Pe?yn.height=Pe:st.includes("minHeight")&&Pe&&(yn.minHeight=Pe),st.includes("width")&&ct?yn.width=ct:st.includes("minWidth")&&ct&&(yn.minWidth=ct)),M||(yn.pointerEvents="none"),b.createElement(Fe,{open:Ie||_e,getContainer:We&&function(){return We(D)},autoDestroy:je},b.createElement(T,{prefixCls:ce,open:M,zIndex:me,mask:de,motion:G}),b.createElement(l.Z,{onResize:ve,disabled:!M},function(at){return b.createElement(x.ZP,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ie,leavedClassName:"".concat(ce,"-hidden")},re,{onAppearPrepare:Ve,onEnterPrepare:Ve,visible:M,onVisibleChanged:function(bt){var Tt;re==null||(Tt=re.onVisibleChanged)===null||Tt===void 0||Tt.call(re,bt),A(bt)}}),function(Be,bt){var Tt=Be.className,jt=Be.style,Yt=c()(ce,Tt,L);return b.createElement("div",{ref:(0,E.sQ)(at,Y,bt),className:Yt,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(Je.x||0,"px"),"--arrow-y":"".concat(Je.y||0,"px")},vt),yn),jt),{},{boxSizing:"border-box",zIndex:me},V),onMouseEnter:be,onMouseLeave:Le,onPointerEnter:ze,onClick:le},Oe&&b.createElement(w,{prefixCls:ce,arrow:Oe,arrowPos:Je,align:X}),b.createElement(P,{cache:!M&&!K},Ke))})}))}),H=R,se=b.forwardRef(function(Se,Y){var I=Se.children,L=Se.getTriggerDOMNode,ce=(0,E.Yr)(I),V=b.useCallback(function(A){(0,E.mH)(Y,L?L(A):A)},[L]),D=(0,E.x1)(V,I.ref);return ce?b.cloneElement(I,{ref:D}):I}),k=se,Q=b.createContext(null),q=Q;function ie(Se){return Se?Array.isArray(Se)?Se:[Se]:[]}function Z(Se,Y,I,L){return b.useMemo(function(){var ce=ie(I!=null?I:Y),V=ie(L!=null?L:Y),D=new Set(ce),A=new Set(V);return Se&&(D.has("hover")&&(D.delete("hover"),D.add("click")),A.has("hover")&&(A.delete("hover"),A.add("click"))),[D,A]},[Se,Y,I,L])}var ae=e(5110);function _(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],I=arguments.length>2?arguments[2]:void 0;return I?Se[0]===Y[0]:Se[0]===Y[0]&&Se[1]===Y[1]}function ee(Se,Y,I,L){for(var ce=I.points,V=Object.keys(Se),D=0;D1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Se)?Y:Se}function N(Se){return C(parseFloat(Se),0)}function ne(Se,Y){var I=(0,t.Z)({},Se);return(Y||[]).forEach(function(L){if(!(L instanceof HTMLBodyElement||L instanceof HTMLHtmlElement)){var ce=B(L).getComputedStyle(L),V=ce.overflow,D=ce.overflowClipMargin,A=ce.borderTopWidth,M=ce.borderBottomWidth,z=ce.borderLeftWidth,K=ce.borderRightWidth,le=L.getBoundingClientRect(),de=L.offsetHeight,Oe=L.clientHeight,Je=L.offsetWidth,X=L.clientWidth,re=N(A),G=N(M),Ie=N(z),We=N(K),je=C(Math.round(le.width/Je*1e3)/1e3),Fe=C(Math.round(le.height/de*1e3)/1e3),me=(Je-X-Ie-We)*je,be=(de-Oe-re-G)*Fe,Le=re*Fe,ze=G*Fe,et=Ie*je,He=We*je,Ye=0,Ee=0;if(V==="clip"){var Ne=N(D);Ye=Ne*je,Ee=Ne*Fe}var ve=le.x+et-Ye,Ve=le.y+Le-Ee,st=ve+le.width+2*Ye-et-He-me,ct=Ve+le.height+2*Ee-Le-ze-be;I.left=Math.max(I.left,ve),I.top=Math.max(I.top,Ve),I.right=Math.min(I.right,st),I.bottom=Math.min(I.bottom,ct)}}),I}function fe(Se){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,I="".concat(Y),L=I.match(/^(.*)\%$/);return L?Se*(parseFloat(L[1])/100):parseFloat(I)}function te(Se,Y){var I=Y||[],L=(0,r.Z)(I,2),ce=L[0],V=L[1];return[fe(Se.width,ce),fe(Se.height,V)]}function J(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Se[0],Se[1]]}function he(Se,Y){var I=Y[0],L=Y[1],ce,V;return I==="t"?V=Se.y:I==="b"?V=Se.y+Se.height:V=Se.y+Se.height/2,L==="l"?ce=Se.x:L==="r"?ce=Se.x+Se.width:ce=Se.x+Se.width/2,{x:ce,y:V}}function Ce(Se,Y){var I={t:"b",b:"t",l:"r",r:"l"};return Se.map(function(L,ce){return ce===Y?I[L]||"c":L}).join("")}function Ze(Se,Y,I,L,ce,V,D){var A=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ce[L]||{}}),M=(0,r.Z)(A,2),z=M[0],K=M[1],le=b.useRef(0),de=b.useMemo(function(){return Y?j(Y):[]},[Y]),Oe=b.useRef({}),Je=function(){Oe.current={}};Se||Je();var X=(0,p.Z)(function(){if(Y&&I&&Se){let Ga=function($a,no){var Ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Yt,Nr=Ke.x+$a,or=Ke.y+no,Br=Nr+Ct,sa=or+vt,ya=Math.max(Nr,Ar.left),xa=Math.max(or,Ar.top),Xa=Math.min(Br,Ar.right),Qa=Math.min(sa,Ar.bottom);return Math.max(0,(Xa-ya)*(Qa-xa))},Ta=function(){Ln=Ke.y+Dn,Qt=Ln+vt,un=Ke.x+Zn,Vt=un+Ct};var Ie,We,je=Y,Fe=je.ownerDocument,me=B(je),be=me.getComputedStyle(je),Le=be.width,ze=be.height,et=be.position,He=je.style.left,Ye=je.style.top,Ee=je.style.right,Ne=je.style.bottom,ve=je.style.overflow,Ve=(0,t.Z)((0,t.Z)({},ce[L]),V),st=Fe.createElement("div");(Ie=je.parentElement)===null||Ie===void 0||Ie.appendChild(st),st.style.left="".concat(je.offsetLeft,"px"),st.style.top="".concat(je.offsetTop,"px"),st.style.position=et,st.style.height="".concat(je.offsetHeight,"px"),st.style.width="".concat(je.offsetWidth,"px"),je.style.left="0",je.style.top="0",je.style.right="auto",je.style.bottom="auto",je.style.overflow="hidden";var ct;if(Array.isArray(I))ct={x:I[0],y:I[1],width:0,height:0};else{var Pe=I.getBoundingClientRect();ct={x:Pe.x,y:Pe.y,width:Pe.width,height:Pe.height}}var Ke=je.getBoundingClientRect(),_e=Fe.documentElement,qe=_e.clientWidth,yt=_e.clientHeight,Rt=_e.scrollWidth,Zt=_e.scrollHeight,At=_e.scrollTop,Pt=_e.scrollLeft,vt=Ke.height,Ct=Ke.width,Nt=ct.height,En=ct.width,Sn={left:0,top:0,right:qe,bottom:yt},Pn={left:-Pt,top:-At,right:Rt-Pt,bottom:Zt-At},yn=Ve.htmlRegion,at="visible",Be="visibleFirst";yn!=="scroll"&&yn!==Be&&(yn=at);var bt=yn===Be,Tt=ne(Pn,de),jt=ne(Sn,de),Yt=yn===at?jt:Tt,en=bt?jt:Yt;je.style.left="auto",je.style.top="auto",je.style.right="0",je.style.bottom="0";var xn=je.getBoundingClientRect();je.style.left=He,je.style.top=Ye,je.style.right=Ee,je.style.bottom=Ne,je.style.overflow=ve,(We=je.parentElement)===null||We===void 0||We.removeChild(st);var Rn=C(Math.round(Ct/parseFloat(Le)*1e3)/1e3),Fn=C(Math.round(vt/parseFloat(ze)*1e3)/1e3);if(Rn===0||Fn===0||(0,u.S)(I)&&!(0,ae.Z)(I))return;var _n=Ve.offset,An=Ve.targetOffset,Xn=te(Ke,_n),rn=(0,r.Z)(Xn,2),qn=rn[0],Jt=rn[1],on=te(ct,An),ft=(0,r.Z)(on,2),ht=ft[0],$t=ft[1];ct.x-=ht,ct.y-=$t;var Ot=Ve.points||[],Ht=(0,r.Z)(Ot,2),Bt=Ht[0],tn=Ht[1],fn=J(tn),pn=J(Bt),wn=he(ct,fn),Jn=he(Ke,pn),Tn=(0,t.Z)({},Ve),Zn=wn.x-Jn.x+qn,Dn=wn.y-Jn.y+Jt,Nn=Ga(Zn,Dn),xr=Ga(Zn,Dn,jt),Me=he(ct,["t","l"]),Te=he(Ke,["t","l"]),Ge=he(ct,["b","r"]),Xe=he(Ke,["b","r"]),it=Ve.overflow||{},Ut=it.adjustX,Kt=it.adjustY,Gt=it.shiftX,Cn=it.shiftY,gn=function(no){return typeof no=="boolean"?no:no>=0},Ln,Qt,un,Vt;Ta();var sn=gn(Kt),an=pn[0]===fn[0];if(sn&&pn[0]==="t"&&(Qt>en.bottom||Oe.current.bt)){var Bn=Dn;an?Bn-=vt-Nt:Bn=Me.y-Xe.y-Jt;var Hn=Ga(Zn,Bn),pr=Ga(Zn,Bn,jt);Hn>Nn||Hn===Nn&&(!bt||pr>=xr)?(Oe.current.bt=!0,Dn=Bn,Jt=-Jt,Tn.points=[Ce(pn,0),Ce(fn,0)]):Oe.current.bt=!1}if(sn&&pn[0]==="b"&&(LnNn||Un===Nn&&(!bt||wr>=xr)?(Oe.current.tb=!0,Dn=zn,Jt=-Jt,Tn.points=[Ce(pn,0),Ce(fn,0)]):Oe.current.tb=!1}var Zr=gn(Ut),aa=pn[1]===fn[1];if(Zr&&pn[1]==="l"&&(Vt>en.right||Oe.current.rl)){var ta=Zn;aa?ta-=Ct-En:ta=Me.x-Xe.x-qn;var Jr=Ga(ta,Dn),va=Ga(ta,Dn,jt);Jr>Nn||Jr===Nn&&(!bt||va>=xr)?(Oe.current.rl=!0,Zn=ta,qn=-qn,Tn.points=[Ce(pn,1),Ce(fn,1)]):Oe.current.rl=!1}if(Zr&&pn[1]==="r"&&(unNn||Fr===Nn&&(!bt||Xr>=xr)?(Oe.current.lr=!0,Zn=Dr,qn=-qn,Tn.points=[Ce(pn,1),Ce(fn,1)]):Oe.current.lr=!1}Ta();var Wr=Gt===!0?0:Gt;typeof Wr=="number"&&(unjt.right&&(Zn-=Vt-jt.right-qn,ct.x>jt.right-Wr&&(Zn+=ct.x-jt.right+Wr)));var Vr=Cn===!0?0:Cn;typeof Vr=="number"&&(Lnjt.bottom&&(Dn-=Qt-jt.bottom-Jt,ct.y>jt.bottom-Vr&&(Dn+=ct.y-jt.bottom+Vr)));var $n=Ke.x+Zn,vn=$n+Ct,On=Ke.y+Dn,gr=On+vt,Cr=ct.x,hr=Cr+En,Hr=ct.y,oa=Hr+Nt,la=Math.max($n,Cr),ua=Math.min(vn,hr),La=(la+ua)/2,qa=La-$n,jr=Math.max(On,Hr),Yr=Math.min(gr,oa),Sa=(jr+Yr)/2,Ca=Sa-On;D==null||D(Y,Tn);var Ua=xn.right-Ke.x-(Zn+Ke.width),Ra=xn.bottom-Ke.y-(Dn+Ke.height);K({ready:!0,offsetX:Zn/Rn,offsetY:Dn/Fn,offsetR:Ua/Rn,offsetB:Ra/Fn,arrowX:qa/Rn,arrowY:Ca/Fn,scaleX:Rn,scaleY:Fn,align:Tn})}}),re=function(){le.current+=1;var We=le.current;Promise.resolve().then(function(){le.current===We&&X()})},G=function(){K(function(We){return(0,t.Z)((0,t.Z)({},We),{},{ready:!1})})};return(0,y.Z)(G,[L]),(0,y.Z)(function(){Se||G()},[Se]),[z.ready,z.offsetX,z.offsetY,z.offsetR,z.offsetB,z.arrowX,z.arrowY,z.scaleX,z.scaleY,z.align,re]}var ke=e(74902);function Qe(Se,Y,I,L,ce){(0,y.Z)(function(){if(Se&&Y&&I){let le=function(){L(),ce()};var V=Y,D=I,A=j(V),M=j(D),z=B(D),K=new Set([z].concat((0,ke.Z)(A),(0,ke.Z)(M)));return K.forEach(function(de){de.addEventListener("scroll",le,{passive:!0})}),z.addEventListener("resize",le,{passive:!0}),L(),function(){K.forEach(function(de){de.removeEventListener("scroll",le),z.removeEventListener("resize",le)})}}},[Se,Y,I])}var pt=e(80334);function It(Se,Y,I,L,ce,V,D,A){var M=b.useRef(Se);M.current=Se,b.useEffect(function(){if(Y&&L&&(!ce||V)){var z=function(G){var Ie=G.target;M.current&&!D(Ie)&&A(!1)},K=B(L);K.addEventListener("mousedown",z,!0),K.addEventListener("contextmenu",z,!0);var le=(0,f.A)(I);if(le&&(le.addEventListener("mousedown",z,!0),le.addEventListener("contextmenu",z,!0)),!1)var de,Oe,Je,X;return function(){K.removeEventListener("mousedown",z,!0),K.removeEventListener("contextmenu",z,!0),le&&(le.removeEventListener("mousedown",z,!0),le.removeEventListener("contextmenu",z,!0))}}},[Y,I,L,ce,V])}var ot=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function St(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a.Z,Y=b.forwardRef(function(I,L){var ce=I.prefixCls,V=ce===void 0?"rc-trigger-popup":ce,D=I.children,A=I.action,M=A===void 0?"hover":A,z=I.showAction,K=I.hideAction,le=I.popupVisible,de=I.defaultPopupVisible,Oe=I.onPopupVisibleChange,Je=I.afterPopupVisibleChange,X=I.mouseEnterDelay,re=I.mouseLeaveDelay,G=re===void 0?.1:re,Ie=I.focusDelay,We=I.blurDelay,je=I.mask,Fe=I.maskClosable,me=Fe===void 0?!0:Fe,be=I.getPopupContainer,Le=I.forceRender,ze=I.autoDestroy,et=I.destroyPopupOnHide,He=I.popup,Ye=I.popupClassName,Ee=I.popupStyle,Ne=I.popupPlacement,ve=I.builtinPlacements,Ve=ve===void 0?{}:ve,st=I.popupAlign,ct=I.zIndex,Pe=I.stretch,Ke=I.getPopupClassNameFromAlign,_e=I.fresh,qe=I.alignPoint,yt=I.onPopupClick,Rt=I.onPopupAlign,Zt=I.arrow,At=I.popupMotion,Pt=I.maskMotion,vt=I.popupTransitionName,Ct=I.popupAnimation,Nt=I.maskTransitionName,En=I.maskAnimation,Sn=I.className,Pn=I.getTriggerDOMNode,yn=(0,o.Z)(I,ot),at=ze||et||!1,Be=b.useState(!1),bt=(0,r.Z)(Be,2),Tt=bt[0],jt=bt[1];(0,y.Z)(function(){jt((0,d.Z)())},[]);var Yt=b.useRef({}),en=b.useContext(q),xn=b.useMemo(function(){return{registerSubPopup:function(Kr,Aa){Yt.current[Kr]=Aa,en==null||en.registerSubPopup(Kr,Aa)}}},[en]),Rn=(0,h.Z)(),Fn=b.useState(null),_n=(0,r.Z)(Fn,2),An=_n[0],Xn=_n[1],rn=(0,p.Z)(function(yr){(0,u.S)(yr)&&An!==yr&&Xn(yr),en==null||en.registerSubPopup(Rn,yr)}),qn=b.useState(null),Jt=(0,r.Z)(qn,2),on=Jt[0],ft=Jt[1],ht=b.useRef(null),$t=(0,p.Z)(function(yr){(0,u.S)(yr)&&on!==yr&&(ft(yr),ht.current=yr)}),Ot=b.Children.only(D),Ht=(Ot==null?void 0:Ot.props)||{},Bt={},tn=(0,p.Z)(function(yr){var Kr,Aa,ka=on;return(ka==null?void 0:ka.contains(yr))||((Kr=(0,f.A)(ka))===null||Kr===void 0?void 0:Kr.host)===yr||yr===ka||(An==null?void 0:An.contains(yr))||((Aa=(0,f.A)(An))===null||Aa===void 0?void 0:Aa.host)===yr||yr===An||Object.values(Yt.current).some(function(Ma){return(Ma==null?void 0:Ma.contains(yr))||yr===Ma})}),fn=$(V,At,Ct,vt),pn=$(V,Pt,En,Nt),wn=b.useState(de||!1),Jn=(0,r.Z)(wn,2),Tn=Jn[0],Zn=Jn[1],Dn=le!=null?le:Tn,Nn=(0,p.Z)(function(yr){le===void 0&&Zn(yr)});(0,y.Z)(function(){Zn(le||!1)},[le]);var xr=b.useRef(Dn);xr.current=Dn;var Me=b.useRef([]);Me.current=[];var Te=(0,p.Z)(function(yr){var Kr;Nn(yr),((Kr=Me.current[Me.current.length-1])!==null&&Kr!==void 0?Kr:Dn)!==yr&&(Me.current.push(yr),Oe==null||Oe(yr))}),Ge=b.useRef(),Xe=function(){clearTimeout(Ge.current)},it=function(Kr){var Aa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Xe(),Aa===0?Te(Kr):Ge.current=setTimeout(function(){Te(Kr)},Aa*1e3)};b.useEffect(function(){return Xe},[]);var Ut=b.useState(!1),Kt=(0,r.Z)(Ut,2),Gt=Kt[0],Cn=Kt[1];(0,y.Z)(function(yr){(!yr||Dn)&&Cn(!0)},[Dn]);var gn=b.useState(null),Ln=(0,r.Z)(gn,2),Qt=Ln[0],un=Ln[1],Vt=b.useState([0,0]),sn=(0,r.Z)(Vt,2),an=sn[0],Bn=sn[1],Hn=function(Kr){Bn([Kr.clientX,Kr.clientY])},pr=Ze(Dn,An,qe?an:on,Ne,Ve,st,Rt),zn=(0,r.Z)(pr,11),Un=zn[0],wr=zn[1],Zr=zn[2],aa=zn[3],ta=zn[4],Jr=zn[5],va=zn[6],Dr=zn[7],Fr=zn[8],Xr=zn[9],Wr=zn[10],Vr=Z(Tt,M,z,K),$n=(0,r.Z)(Vr,2),vn=$n[0],On=$n[1],gr=vn.has("click"),Cr=On.has("click")||On.has("contextMenu"),hr=(0,p.Z)(function(){Gt||Wr()}),Hr=function(){xr.current&&qe&&Cr&&it(!1)};Qe(Dn,on,An,hr,Hr),(0,y.Z)(function(){hr()},[an,Ne]),(0,y.Z)(function(){Dn&&!(Ve!=null&&Ve[Ne])&&hr()},[JSON.stringify(st)]);var oa=b.useMemo(function(){var yr=ee(Ve,V,Xr,qe);return c()(yr,Ke==null?void 0:Ke(Xr))},[Xr,Ke,Ve,V,qe]);b.useImperativeHandle(L,function(){return{nativeElement:ht.current,forceAlign:hr}});var la=b.useState(0),ua=(0,r.Z)(la,2),La=ua[0],qa=ua[1],jr=b.useState(0),Yr=(0,r.Z)(jr,2),Sa=Yr[0],Ca=Yr[1],Ua=function(){if(Pe&&on){var Kr=on.getBoundingClientRect();qa(Kr.width),Ca(Kr.height)}},Ra=function(){Ua(),hr()},Ga=function(Kr){Cn(!1),Wr(),Je==null||Je(Kr)},Ta=function(){return new Promise(function(Kr){Ua(),un(function(){return Kr})})};(0,y.Z)(function(){Qt&&(Wr(),Qt(),un(null))},[Qt]);function $a(yr,Kr,Aa,ka){Bt[yr]=function(Ma){var ro;ka==null||ka(Ma),it(Kr,Aa);for(var To=arguments.length,Lo=new Array(To>1?To-1:0),so=1;so1?Aa-1:0),Ma=1;Ma1?Aa-1:0),Ma=1;Ma{var{prefixCls:De,className:mt,avatar:wt,title:kt,description:hn}=rt,Wn=yt(rt,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:Yn}=(0,b.useContext)(Ne.E_),Qn=Yn("list",De),Mr=te()(`${Qn}-item-meta`,mt),Rr=b.createElement("div",{className:`${Qn}-item-meta-content`},kt&&b.createElement("h4",{className:`${Qn}-item-meta-title`},kt),hn&&b.createElement("div",{className:`${Qn}-item-meta-description`},hn));return b.createElement("div",Object.assign({},Wn,{className:Mr}),wt&&b.createElement("div",{className:`${Qn}-item-meta-avatar`},wt),(kt||hn)&&Rr)},Zt=(rt,De)=>{var{prefixCls:mt,children:wt,actions:kt,extra:hn,className:Wn,colStyle:Yn}=rt,Qn=yt(rt,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:Mr,itemLayout:Rr}=(0,b.useContext)(_e),{getPrefixCls:Or}=(0,b.useContext)(Ne.E_),qr=()=>{let Za;return b.Children.forEach(wt,Ya=>{typeof Ya=="string"&&(Za=!0)}),Za&&b.Children.count(wt)>1},br=()=>Rr==="vertical"?!!hn:!qr(),bn=Or("list",mt),lr=kt&&kt.length>0&&b.createElement("ul",{className:`${bn}-item-action`,key:"actions"},kt.map((Za,Ya)=>b.createElement("li",{key:`${bn}-item-action-${Ya}`},Za,Ya!==kt.length-1&&b.createElement("em",{className:`${bn}-item-action-split`})))),na=Mr?"div":"li",ba=b.createElement(na,Object.assign({},Qn,Mr?{}:{ref:De},{className:te()(`${bn}-item`,{[`${bn}-item-no-flex`]:!br()},Wn)}),Rr==="vertical"&&hn?[b.createElement("div",{className:`${bn}-item-main`,key:"content"},wt,lr),b.createElement("div",{className:`${bn}-item-extra`,key:"extra"},hn)]:[wt,lr,(0,Pe.Tm)(hn,{key:"extra"})]);return Mr?b.createElement(Ke.Z,{ref:De,flex:1,style:Yn},ba):ba},At=(0,b.forwardRef)(Zt);At.Meta=Rt;var Pt=At,vt=e(54548),Ct=e(14747),Nt=e(91945),En=e(45503);const Sn=rt=>{const{listBorderedCls:De,componentCls:mt,paddingLG:wt,margin:kt,itemPaddingSM:hn,itemPaddingLG:Wn,marginLG:Yn,borderRadiusLG:Qn}=rt;return{[`${De}`]:{border:`${(0,vt.bf)(rt.lineWidth)} ${rt.lineType} ${rt.colorBorder}`,borderRadius:Qn,[`${mt}-header,${mt}-footer,${mt}-item`]:{paddingInline:wt},[`${mt}-pagination`]:{margin:`${(0,vt.bf)(kt)} ${(0,vt.bf)(Yn)}`}},[`${De}${mt}-sm`]:{[`${mt}-item,${mt}-header,${mt}-footer`]:{padding:hn}},[`${De}${mt}-lg`]:{[`${mt}-item,${mt}-header,${mt}-footer`]:{padding:Wn}}}},Pn=rt=>{const{componentCls:De,screenSM:mt,screenMD:wt,marginLG:kt,marginSM:hn,margin:Wn}=rt;return{[`@media screen and (max-width:${wt}px)`]:{[`${De}`]:{[`${De}-item`]:{[`${De}-item-action`]:{marginInlineStart:kt}}},[`${De}-vertical`]:{[`${De}-item`]:{[`${De}-item-extra`]:{marginInlineStart:kt}}}},[`@media screen and (max-width: ${mt}px)`]:{[`${De}`]:{[`${De}-item`]:{flexWrap:"wrap",[`${De}-action`]:{marginInlineStart:hn}}},[`${De}-vertical`]:{[`${De}-item`]:{flexWrap:"wrap-reverse",[`${De}-item-main`]:{minWidth:rt.contentWidth},[`${De}-item-extra`]:{margin:`auto auto ${(0,vt.bf)(Wn)}`}}}}}},yn=rt=>{const{componentCls:De,antCls:mt,controlHeight:wt,minHeight:kt,paddingSM:hn,marginLG:Wn,padding:Yn,itemPadding:Qn,colorPrimary:Mr,itemPaddingSM:Rr,itemPaddingLG:Or,paddingXS:qr,margin:br,colorText:bn,colorTextDescription:lr,motionDurationSlow:na,lineWidth:ba,headerBg:Za,footerBg:Ya,emptyTextPadding:Ja,metaMarginBottom:uo,avatarMarginRight:za,titleMarginBottom:kr,descriptionFontSize:Va}=rt,co={};return["start","center","end"].forEach(Io=>{co[`&-align-${Io}`]={textAlign:Io}}),{[`${De}`]:Object.assign(Object.assign({},(0,Ct.Wf)(rt)),{position:"relative","*":{outline:"none"},[`${De}-header`]:{background:Za},[`${De}-footer`]:{background:Ya},[`${De}-header, ${De}-footer`]:{paddingBlock:hn},[`${De}-pagination`]:Object.assign(Object.assign({marginBlockStart:Wn},co),{[`${mt}-pagination-options`]:{textAlign:"start"}}),[`${De}-spin`]:{minHeight:kt,textAlign:"center"},[`${De}-items`]:{margin:0,padding:0,listStyle:"none"},[`${De}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:Qn,color:bn,[`${De}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${De}-item-meta-avatar`]:{marginInlineEnd:za},[`${De}-item-meta-content`]:{flex:"1 0",width:0,color:bn},[`${De}-item-meta-title`]:{margin:`0 0 ${(0,vt.bf)(rt.marginXXS)} 0`,color:bn,fontSize:rt.fontSize,lineHeight:rt.lineHeight,"> a":{color:bn,transition:`all ${na}`,["&:hover"]:{color:Mr}}},[`${De}-item-meta-description`]:{color:lr,fontSize:Va,lineHeight:rt.lineHeight}},[`${De}-item-action`]:{flex:"0 0 auto",marginInlineStart:rt.marginXXL,padding:0,fontSize:0,listStyle:"none",["& > li"]:{position:"relative",display:"inline-block",padding:`0 ${(0,vt.bf)(qr)}`,color:lr,fontSize:rt.fontSize,lineHeight:rt.lineHeight,textAlign:"center",["&:first-child"]:{paddingInlineStart:0}},[`${De}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:ba,height:rt.calc(rt.fontHeight).sub(rt.calc(rt.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:rt.colorSplit}}},[`${De}-empty`]:{padding:`${(0,vt.bf)(Yn)} 0`,color:lr,fontSize:rt.fontSizeSM,textAlign:"center"},[`${De}-empty-text`]:{padding:Ja,color:rt.colorTextDisabled,fontSize:rt.fontSize,textAlign:"center"},[`${De}-item-no-flex`]:{display:"block"}}),[`${De}-grid ${mt}-col > ${De}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:br,paddingBlock:0,borderBlockEnd:"none"},[`${De}-vertical ${De}-item`]:{alignItems:"initial",[`${De}-item-main`]:{display:"block",flex:1},[`${De}-item-extra`]:{marginInlineStart:Wn},[`${De}-item-meta`]:{marginBlockEnd:uo,[`${De}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:kr,color:bn,fontSize:rt.fontSizeLG,lineHeight:rt.lineHeightLG}},[`${De}-item-action`]:{marginBlockStart:Yn,marginInlineStart:"auto","> li":{padding:`0 ${(0,vt.bf)(Yn)}`,["&:first-child"]:{paddingInlineStart:0}}}},[`${De}-split ${De}-item`]:{borderBlockEnd:`${(0,vt.bf)(rt.lineWidth)} ${rt.lineType} ${rt.colorSplit}`,["&:last-child"]:{borderBlockEnd:"none"}},[`${De}-split ${De}-header`]:{borderBlockEnd:`${(0,vt.bf)(rt.lineWidth)} ${rt.lineType} ${rt.colorSplit}`},[`${De}-split${De}-empty ${De}-footer`]:{borderTop:`${(0,vt.bf)(rt.lineWidth)} ${rt.lineType} ${rt.colorSplit}`},[`${De}-loading ${De}-spin-nested-loading`]:{minHeight:wt},[`${De}-split${De}-something-after-last-item ${mt}-spin-container > ${De}-items > ${De}-item:last-child`]:{borderBlockEnd:`${(0,vt.bf)(rt.lineWidth)} ${rt.lineType} ${rt.colorSplit}`},[`${De}-lg ${De}-item`]:{padding:Or},[`${De}-sm ${De}-item`]:{padding:Rr},[`${De}:not(${De}-vertical)`]:{[`${De}-item-no-flex`]:{[`${De}-item-action`]:{float:"right"}}}}},at=rt=>({contentWidth:220,itemPadding:`${(0,vt.bf)(rt.paddingContentVertical)} 0`,itemPaddingSM:`${(0,vt.bf)(rt.paddingContentVerticalSM)} ${(0,vt.bf)(rt.paddingContentHorizontal)}`,itemPaddingLG:`${(0,vt.bf)(rt.paddingContentVerticalLG)} ${(0,vt.bf)(rt.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:rt.padding,metaMarginBottom:rt.padding,avatarMarginRight:rt.padding,titleMarginBottom:rt.paddingSM,descriptionFontSize:rt.fontSize});var Be=(0,Nt.I$)("List",rt=>{const De=(0,En.TS)(rt,{listBorderedCls:`${rt.componentCls}-bordered`,minHeight:rt.controlHeightLG});return[yn(De),Sn(De),Pn(De)]},at),bt=e(98675),Tt=function(rt,De){var mt={};for(var wt in rt)Object.prototype.hasOwnProperty.call(rt,wt)&&De.indexOf(wt)<0&&(mt[wt]=rt[wt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,wt=Object.getOwnPropertySymbols(rt);kt(nr,ur)=>{var tr;Va(nr),Io(ur),mt&&mt[jn]&&((tr=mt==null?void 0:mt[jn])===null||tr===void 0||tr.call(mt,nr,ur))},bi=Bo("onChange"),ni=Bo("onShowSizeChange"),vo=(jn,nr)=>{if(!Ya)return null;let ur;return typeof Za=="function"?ur=Za(jn):Za?ur=jn[Za]:ur=jn.key,ur||(ur=`list-item-${nr}`),b.createElement(b.Fragment,{key:ur},Ya(jn,nr))},ao=()=>!!(Or||mt||na),ja=Eo("list",wt),[Oo,Bi,Wi]=Be(ja);let Zo=ba;typeof Zo=="boolean"&&(Zo={spinning:Zo});const Ri=Zo&&Zo.spinning,mo=(0,bt.Z)(bn);let Na="";switch(mo){case"large":Na="lg";break;case"small":Na="sm";break;default:break}const Ea=te()(ja,{[`${ja}-vertical`]:Rr==="vertical",[`${ja}-${Na}`]:Na,[`${ja}-split`]:hn,[`${ja}-bordered`]:kt,[`${ja}-loading`]:Ri,[`${ja}-grid`]:!!qr,[`${ja}-something-after-last-item`]:ao(),[`${ja}-rtl`]:Jo==="rtl"},No==null?void 0:No.className,Wn,Yn,Bi,Wi),Po=(0,Ye.Z)(Fo,{total:br.length,current:kr,pageSize:co},mt||{}),Si=Math.ceil(Po.total/Po.pageSize);Po.current>Si&&(Po.current=Si);const fo=mt?b.createElement("div",{className:te()(`${ja}-pagination`,`${ja}-pagination-align-${(De=Po==null?void 0:Po.align)!==null&&De!==void 0?De:"end"}`)},b.createElement(ct.Z,Object.assign({},Po,{onChange:bi,onShowSizeChange:ni}))):null;let $i=(0,He.Z)(br);mt&&br.length>(Po.current-1)*Po.pageSize&&($i=(0,He.Z)(br).splice((Po.current-1)*Po.pageSize,Po.pageSize));const ge=Object.keys(qr||{}).some(jn=>["xs","sm","md","lg","xl","xxl"].includes(jn)),pe=(0,st.Z)(ge),xe=b.useMemo(()=>{for(let jn=0;jn{if(!qr)return;const jn=xe&&qr[xe]?qr[xe]:qr.column;if(jn)return{width:`${100/jn}%`,maxWidth:`${100/jn}%`}},[qr==null?void 0:qr.column,xe]);let dt=Ri&&b.createElement("div",{style:{minHeight:53}});if($i.length>0){const jn=$i.map((nr,ur)=>vo(nr,ur));dt=qr?b.createElement(Ve.Z,{gutter:qr.gutter},b.Children.map(jn,nr=>b.createElement("div",{key:nr==null?void 0:nr.key,style:$e},nr))):b.createElement("ul",{className:`${ja}-items`},jn)}else!Mr&&!Ri&&(dt=b.createElement("div",{className:`${ja}-empty-text`},Ja&&Ja.emptyText||(ti==null?void 0:ti("List"))||b.createElement(ve.Z,{componentName:"List"})));const Ft=Po.position||"bottom",cn=b.useMemo(()=>({grid:qr,itemLayout:Rr}),[JSON.stringify(qr),Rr]);return Oo(b.createElement(_e.Provider,{value:cn},b.createElement("div",Object.assign({style:Object.assign(Object.assign({},No==null?void 0:No.style),Qn),className:Ea},uo),(Ft==="top"||Ft==="both")&&fo,lr&&b.createElement("div",{className:`${ja}-header`},lr),b.createElement(ae.Z,Object.assign({},Zo),dt,Mr),na&&b.createElement("div",{className:`${ja}-footer`},na),Or||(Ft==="bottom"||Ft==="both")&&fo)))}jt.Item=Pt;var Yt=jt,en=e(72269),xn=e(76278),Rn=e(17012),Fn=e(62208),_n=e(26702),An=e(1558),Xn=e(82225),rn=e(64217);const qn=(rt,De,mt,wt,kt)=>({background:rt,border:`${(0,vt.bf)(wt.lineWidth)} ${wt.lineType} ${De}`,[`${kt}-icon`]:{color:mt}}),Jt=rt=>{const{componentCls:De,motionDurationSlow:mt,marginXS:wt,marginSM:kt,fontSize:hn,fontSizeLG:Wn,lineHeight:Yn,borderRadiusLG:Qn,motionEaseInOutCirc:Mr,withDescriptionIconSize:Rr,colorText:Or,colorTextHeading:qr,withDescriptionPadding:br,defaultPadding:bn}=rt;return{[De]:Object.assign(Object.assign({},(0,Ct.Wf)(rt)),{position:"relative",display:"flex",alignItems:"center",padding:bn,wordWrap:"break-word",borderRadius:Qn,[`&${De}-rtl`]:{direction:"rtl"},[`${De}-content`]:{flex:1,minWidth:0},[`${De}-icon`]:{marginInlineEnd:wt,lineHeight:0},["&-description"]:{display:"none",fontSize:hn,lineHeight:Yn},"&-message":{color:qr},[`&${De}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${mt} ${Mr}, opacity ${mt} ${Mr}, +}`),Z)}else(0,d.jL)(Z);return function(){(0,d.jL)(Z)}},[Q,Z])}var T=!1;function F(k){return typeof k=="boolean"&&(T=k),T}var P=function(Q){return Q===!1?!1:!(0,a.Z)()||!Q?null:typeof Q=="string"?document.querySelector(Q):typeof Q=="function"?Q():Q},R=r.forwardRef(function(k,Q){var q=k.open,ie=k.autoLock,Z=k.getContainer,ae=k.debug,_=k.autoDestroy,ee=_===void 0?!0:_,$=k.children,B=r.useState(q),j=(0,t.Z)(B,2),C=j[0],N=j[1],ne=C||q;r.useEffect(function(){(ee||q)&&N(q)},[q,ee]);var fe=r.useState(function(){return P(Z)}),te=(0,t.Z)(fe,2),J=te[0],he=te[1];r.useEffect(function(){var Y=P(Z);he(Y!=null?Y:null)});var Ce=y(ne&&!J,ae),Ze=(0,t.Z)(Ce,2),ke=Ze[0],Qe=Ze[1],pt=J!=null?J:ke;w(ie&&q&&(0,a.Z)()&&(pt===ke||pt===document.body));var It=null;if($&&(0,c.Yr)($)&&Q){var ot=$;It=ot.ref}var St=(0,c.x1)(It,Q);if(!ne||!(0,a.Z)()||J===void 0)return null;var lt=pt===!1||F(),Se=$;return Q&&(Se=r.cloneElement($,{ref:St})),r.createElement(u.Provider,{value:Qe},lt?Se:(0,o.createPortal)(Se,pt))}),H=R,se=H},40228:function(v,m,e){"use strict";e.d(m,{Z:function(){return lt}});var t=e(1413),r=e(97685),o=e(91),a=e(2788),s=e(93967),c=e.n(s),l=e(9220),u=e(34203),f=e(27571),p=e(66680),h=e(7028),y=e(8410),d=e(31131),b=e(67294),S=e(87462),x=e(82225),E=e(42550);function w(Se){var Y=Se.prefixCls,I=Se.align,L=Se.arrow,ce=Se.arrowPos,V=L||{},D=V.className,A=V.content,M=ce.x,z=M===void 0?0:M,K=ce.y,le=K===void 0?0:K,de=b.useRef();if(!I||!I.points)return null;var Oe={position:"absolute"};if(I.autoArrow!==!1){var Je=I.points[0],X=I.points[1],re=Je[0],G=Je[1],Ie=X[0],We=X[1];re===Ie||!["t","b"].includes(re)?Oe.top=le:re==="t"?Oe.top=0:Oe.bottom=0,G===We||!["l","r"].includes(G)?Oe.left=z:G==="l"?Oe.left=0:Oe.right=0}return b.createElement("div",{ref:de,className:c()("".concat(Y,"-arrow"),D),style:Oe},A)}function T(Se){var Y=Se.prefixCls,I=Se.open,L=Se.zIndex,ce=Se.mask,V=Se.motion;return ce?b.createElement(x.ZP,(0,S.Z)({},V,{motionAppear:!0,visible:I,removeOnLeave:!0}),function(D){var A=D.className;return b.createElement("div",{style:{zIndex:L},className:c()("".concat(Y,"-mask"),A)})}):null}var F=b.memo(function(Se){var Y=Se.children;return Y},function(Se,Y){return Y.cache}),P=F,R=b.forwardRef(function(Se,Y){var I=Se.popup,L=Se.className,ce=Se.prefixCls,V=Se.style,D=Se.target,A=Se.onVisibleChanged,M=Se.open,z=Se.keepDom,K=Se.fresh,le=Se.onClick,de=Se.mask,Oe=Se.arrow,Je=Se.arrowPos,X=Se.align,re=Se.motion,G=Se.maskMotion,Ie=Se.forceRender,We=Se.getPopupContainer,je=Se.autoDestroy,Fe=Se.portal,me=Se.zIndex,be=Se.onMouseEnter,Le=Se.onMouseLeave,ze=Se.onPointerEnter,et=Se.ready,He=Se.offsetX,Ye=Se.offsetY,Ee=Se.offsetR,Ne=Se.offsetB,ve=Se.onAlign,Ve=Se.onPrepare,st=Se.stretch,ct=Se.targetWidth,Pe=Se.targetHeight,Ke=typeof I=="function"?I():I,_e=M||z,qe=(We==null?void 0:We.length)>0,yt=b.useState(!We||!qe),Rt=(0,r.Z)(yt,2),Zt=Rt[0],At=Rt[1];if((0,y.Z)(function(){!Zt&&qe&&D&&At(!0)},[Zt,qe,D]),!Zt)return null;var Pt="auto",vt={left:"-1000vw",top:"-1000vh",right:Pt,bottom:Pt};if(et||!M){var Ct,Nt=X.points,En=X.dynamicInset||((Ct=X._experimental)===null||Ct===void 0?void 0:Ct.dynamicInset),Sn=En&&Nt[0][1]==="r",Pn=En&&Nt[0][0]==="b";Sn?(vt.right=Ee,vt.left=Pt):(vt.left=He,vt.right=Pt),Pn?(vt.bottom=Ne,vt.top=Pt):(vt.top=Ye,vt.bottom=Pt)}var yn={};return st&&(st.includes("height")&&Pe?yn.height=Pe:st.includes("minHeight")&&Pe&&(yn.minHeight=Pe),st.includes("width")&&ct?yn.width=ct:st.includes("minWidth")&&ct&&(yn.minWidth=ct)),M||(yn.pointerEvents="none"),b.createElement(Fe,{open:Ie||_e,getContainer:We&&function(){return We(D)},autoDestroy:je},b.createElement(T,{prefixCls:ce,open:M,zIndex:me,mask:de,motion:G}),b.createElement(l.Z,{onResize:ve,disabled:!M},function(at){return b.createElement(x.ZP,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ie,leavedClassName:"".concat(ce,"-hidden")},re,{onAppearPrepare:Ve,onEnterPrepare:Ve,visible:M,onVisibleChanged:function(bt){var Tt;re==null||(Tt=re.onVisibleChanged)===null||Tt===void 0||Tt.call(re,bt),A(bt)}}),function(Be,bt){var Tt=Be.className,jt=Be.style,Yt=c()(ce,Tt,L);return b.createElement("div",{ref:(0,E.sQ)(at,Y,bt),className:Yt,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(Je.x||0,"px"),"--arrow-y":"".concat(Je.y||0,"px")},vt),yn),jt),{},{boxSizing:"border-box",zIndex:me},V),onMouseEnter:be,onMouseLeave:Le,onPointerEnter:ze,onClick:le},Oe&&b.createElement(w,{prefixCls:ce,arrow:Oe,arrowPos:Je,align:X}),b.createElement(P,{cache:!M&&!K},Ke))})}))}),H=R,se=b.forwardRef(function(Se,Y){var I=Se.children,L=Se.getTriggerDOMNode,ce=(0,E.Yr)(I),V=b.useCallback(function(A){(0,E.mH)(Y,L?L(A):A)},[L]),D=(0,E.x1)(V,I.ref);return ce?b.cloneElement(I,{ref:D}):I}),k=se,Q=b.createContext(null),q=Q;function ie(Se){return Se?Array.isArray(Se)?Se:[Se]:[]}function Z(Se,Y,I,L){return b.useMemo(function(){var ce=ie(I!=null?I:Y),V=ie(L!=null?L:Y),D=new Set(ce),A=new Set(V);return Se&&(D.has("hover")&&(D.delete("hover"),D.add("click")),A.has("hover")&&(A.delete("hover"),A.add("click"))),[D,A]},[Se,Y,I,L])}var ae=e(5110);function _(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],I=arguments.length>2?arguments[2]:void 0;return I?Se[0]===Y[0]:Se[0]===Y[0]&&Se[1]===Y[1]}function ee(Se,Y,I,L){for(var ce=I.points,V=Object.keys(Se),D=0;D1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Se)?Y:Se}function N(Se){return C(parseFloat(Se),0)}function ne(Se,Y){var I=(0,t.Z)({},Se);return(Y||[]).forEach(function(L){if(!(L instanceof HTMLBodyElement||L instanceof HTMLHtmlElement)){var ce=B(L).getComputedStyle(L),V=ce.overflow,D=ce.overflowClipMargin,A=ce.borderTopWidth,M=ce.borderBottomWidth,z=ce.borderLeftWidth,K=ce.borderRightWidth,le=L.getBoundingClientRect(),de=L.offsetHeight,Oe=L.clientHeight,Je=L.offsetWidth,X=L.clientWidth,re=N(A),G=N(M),Ie=N(z),We=N(K),je=C(Math.round(le.width/Je*1e3)/1e3),Fe=C(Math.round(le.height/de*1e3)/1e3),me=(Je-X-Ie-We)*je,be=(de-Oe-re-G)*Fe,Le=re*Fe,ze=G*Fe,et=Ie*je,He=We*je,Ye=0,Ee=0;if(V==="clip"){var Ne=N(D);Ye=Ne*je,Ee=Ne*Fe}var ve=le.x+et-Ye,Ve=le.y+Le-Ee,st=ve+le.width+2*Ye-et-He-me,ct=Ve+le.height+2*Ee-Le-ze-be;I.left=Math.max(I.left,ve),I.top=Math.max(I.top,Ve),I.right=Math.min(I.right,st),I.bottom=Math.min(I.bottom,ct)}}),I}function fe(Se){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,I="".concat(Y),L=I.match(/^(.*)\%$/);return L?Se*(parseFloat(L[1])/100):parseFloat(I)}function te(Se,Y){var I=Y||[],L=(0,r.Z)(I,2),ce=L[0],V=L[1];return[fe(Se.width,ce),fe(Se.height,V)]}function J(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Se[0],Se[1]]}function he(Se,Y){var I=Y[0],L=Y[1],ce,V;return I==="t"?V=Se.y:I==="b"?V=Se.y+Se.height:V=Se.y+Se.height/2,L==="l"?ce=Se.x:L==="r"?ce=Se.x+Se.width:ce=Se.x+Se.width/2,{x:ce,y:V}}function Ce(Se,Y){var I={t:"b",b:"t",l:"r",r:"l"};return Se.map(function(L,ce){return ce===Y?I[L]||"c":L}).join("")}function Ze(Se,Y,I,L,ce,V,D){var A=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ce[L]||{}}),M=(0,r.Z)(A,2),z=M[0],K=M[1],le=b.useRef(0),de=b.useMemo(function(){return Y?j(Y):[]},[Y]),Oe=b.useRef({}),Je=function(){Oe.current={}};Se||Je();var X=(0,p.Z)(function(){if(Y&&I&&Se){let Ga=function($a,no){var Ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Yt,Nr=Ke.x+$a,or=Ke.y+no,Br=Nr+Ct,sa=or+vt,ya=Math.max(Nr,Ar.left),xa=Math.max(or,Ar.top),Xa=Math.min(Br,Ar.right),Qa=Math.min(sa,Ar.bottom);return Math.max(0,(Xa-ya)*(Qa-xa))},Ta=function(){Ln=Ke.y+Dn,Qt=Ln+vt,un=Ke.x+Zn,Vt=un+Ct};var Ie,We,je=Y,Fe=je.ownerDocument,me=B(je),be=me.getComputedStyle(je),Le=be.width,ze=be.height,et=be.position,He=je.style.left,Ye=je.style.top,Ee=je.style.right,Ne=je.style.bottom,ve=je.style.overflow,Ve=(0,t.Z)((0,t.Z)({},ce[L]),V),st=Fe.createElement("div");(Ie=je.parentElement)===null||Ie===void 0||Ie.appendChild(st),st.style.left="".concat(je.offsetLeft,"px"),st.style.top="".concat(je.offsetTop,"px"),st.style.position=et,st.style.height="".concat(je.offsetHeight,"px"),st.style.width="".concat(je.offsetWidth,"px"),je.style.left="0",je.style.top="0",je.style.right="auto",je.style.bottom="auto",je.style.overflow="hidden";var ct;if(Array.isArray(I))ct={x:I[0],y:I[1],width:0,height:0};else{var Pe=I.getBoundingClientRect();ct={x:Pe.x,y:Pe.y,width:Pe.width,height:Pe.height}}var Ke=je.getBoundingClientRect(),_e=Fe.documentElement,qe=_e.clientWidth,yt=_e.clientHeight,Rt=_e.scrollWidth,Zt=_e.scrollHeight,At=_e.scrollTop,Pt=_e.scrollLeft,vt=Ke.height,Ct=Ke.width,Nt=ct.height,En=ct.width,Sn={left:0,top:0,right:qe,bottom:yt},Pn={left:-Pt,top:-At,right:Rt-Pt,bottom:Zt-At},yn=Ve.htmlRegion,at="visible",Be="visibleFirst";yn!=="scroll"&&yn!==Be&&(yn=at);var bt=yn===Be,Tt=ne(Pn,de),jt=ne(Sn,de),Yt=yn===at?jt:Tt,en=bt?jt:Yt;je.style.left="auto",je.style.top="auto",je.style.right="0",je.style.bottom="0";var xn=je.getBoundingClientRect();je.style.left=He,je.style.top=Ye,je.style.right=Ee,je.style.bottom=Ne,je.style.overflow=ve,(We=je.parentElement)===null||We===void 0||We.removeChild(st);var Rn=C(Math.round(Ct/parseFloat(Le)*1e3)/1e3),Fn=C(Math.round(vt/parseFloat(ze)*1e3)/1e3);if(Rn===0||Fn===0||(0,u.S)(I)&&!(0,ae.Z)(I))return;var _n=Ve.offset,An=Ve.targetOffset,Xn=te(Ke,_n),rn=(0,r.Z)(Xn,2),qn=rn[0],Jt=rn[1],on=te(ct,An),ft=(0,r.Z)(on,2),ht=ft[0],$t=ft[1];ct.x-=ht,ct.y-=$t;var Ot=Ve.points||[],Ht=(0,r.Z)(Ot,2),Bt=Ht[0],tn=Ht[1],fn=J(tn),pn=J(Bt),wn=he(ct,fn),Jn=he(Ke,pn),Tn=(0,t.Z)({},Ve),Zn=wn.x-Jn.x+qn,Dn=wn.y-Jn.y+Jt,Nn=Ga(Zn,Dn),xr=Ga(Zn,Dn,jt),Me=he(ct,["t","l"]),Te=he(Ke,["t","l"]),Ge=he(ct,["b","r"]),Xe=he(Ke,["b","r"]),it=Ve.overflow||{},Ut=it.adjustX,Kt=it.adjustY,Gt=it.shiftX,Cn=it.shiftY,gn=function(no){return typeof no=="boolean"?no:no>=0},Ln,Qt,un,Vt;Ta();var sn=gn(Kt),an=pn[0]===fn[0];if(sn&&pn[0]==="t"&&(Qt>en.bottom||Oe.current.bt)){var Bn=Dn;an?Bn-=vt-Nt:Bn=Me.y-Xe.y-Jt;var Hn=Ga(Zn,Bn),pr=Ga(Zn,Bn,jt);Hn>Nn||Hn===Nn&&(!bt||pr>=xr)?(Oe.current.bt=!0,Dn=Bn,Jt=-Jt,Tn.points=[Ce(pn,0),Ce(fn,0)]):Oe.current.bt=!1}if(sn&&pn[0]==="b"&&(LnNn||Un===Nn&&(!bt||wr>=xr)?(Oe.current.tb=!0,Dn=zn,Jt=-Jt,Tn.points=[Ce(pn,0),Ce(fn,0)]):Oe.current.tb=!1}var Zr=gn(Ut),aa=pn[1]===fn[1];if(Zr&&pn[1]==="l"&&(Vt>en.right||Oe.current.rl)){var ta=Zn;aa?ta-=Ct-En:ta=Me.x-Xe.x-qn;var Jr=Ga(ta,Dn),va=Ga(ta,Dn,jt);Jr>Nn||Jr===Nn&&(!bt||va>=xr)?(Oe.current.rl=!0,Zn=ta,qn=-qn,Tn.points=[Ce(pn,1),Ce(fn,1)]):Oe.current.rl=!1}if(Zr&&pn[1]==="r"&&(unNn||Fr===Nn&&(!bt||Xr>=xr)?(Oe.current.lr=!0,Zn=Dr,qn=-qn,Tn.points=[Ce(pn,1),Ce(fn,1)]):Oe.current.lr=!1}Ta();var Wr=Gt===!0?0:Gt;typeof Wr=="number"&&(unjt.right&&(Zn-=Vt-jt.right-qn,ct.x>jt.right-Wr&&(Zn+=ct.x-jt.right+Wr)));var Vr=Cn===!0?0:Cn;typeof Vr=="number"&&(Lnjt.bottom&&(Dn-=Qt-jt.bottom-Jt,ct.y>jt.bottom-Vr&&(Dn+=ct.y-jt.bottom+Vr)));var $n=Ke.x+Zn,vn=$n+Ct,On=Ke.y+Dn,gr=On+vt,Cr=ct.x,hr=Cr+En,Hr=ct.y,oa=Hr+Nt,la=Math.max($n,Cr),ua=Math.min(vn,hr),La=(la+ua)/2,qa=La-$n,jr=Math.max(On,Hr),Yr=Math.min(gr,oa),Sa=(jr+Yr)/2,Ca=Sa-On;D==null||D(Y,Tn);var Ua=xn.right-Ke.x-(Zn+Ke.width),Ra=xn.bottom-Ke.y-(Dn+Ke.height);K({ready:!0,offsetX:Zn/Rn,offsetY:Dn/Fn,offsetR:Ua/Rn,offsetB:Ra/Fn,arrowX:qa/Rn,arrowY:Ca/Fn,scaleX:Rn,scaleY:Fn,align:Tn})}}),re=function(){le.current+=1;var We=le.current;Promise.resolve().then(function(){le.current===We&&X()})},G=function(){K(function(We){return(0,t.Z)((0,t.Z)({},We),{},{ready:!1})})};return(0,y.Z)(G,[L]),(0,y.Z)(function(){Se||G()},[Se]),[z.ready,z.offsetX,z.offsetY,z.offsetR,z.offsetB,z.arrowX,z.arrowY,z.scaleX,z.scaleY,z.align,re]}var ke=e(74902);function Qe(Se,Y,I,L,ce){(0,y.Z)(function(){if(Se&&Y&&I){let le=function(){L(),ce()};var V=Y,D=I,A=j(V),M=j(D),z=B(D),K=new Set([z].concat((0,ke.Z)(A),(0,ke.Z)(M)));return K.forEach(function(de){de.addEventListener("scroll",le,{passive:!0})}),z.addEventListener("resize",le,{passive:!0}),L(),function(){K.forEach(function(de){de.removeEventListener("scroll",le),z.removeEventListener("resize",le)})}}},[Se,Y,I])}var pt=e(80334);function It(Se,Y,I,L,ce,V,D,A){var M=b.useRef(Se);M.current=Se,b.useEffect(function(){if(Y&&L&&(!ce||V)){var z=function(G){var Ie=G.target;M.current&&!D(Ie)&&A(!1)},K=B(L);K.addEventListener("mousedown",z,!0),K.addEventListener("contextmenu",z,!0);var le=(0,f.A)(I);if(le&&(le.addEventListener("mousedown",z,!0),le.addEventListener("contextmenu",z,!0)),!1)var de,Oe,Je,X;return function(){K.removeEventListener("mousedown",z,!0),K.removeEventListener("contextmenu",z,!0),le&&(le.removeEventListener("mousedown",z,!0),le.removeEventListener("contextmenu",z,!0))}}},[Y,I,L,ce,V])}var ot=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function St(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a.Z,Y=b.forwardRef(function(I,L){var ce=I.prefixCls,V=ce===void 0?"rc-trigger-popup":ce,D=I.children,A=I.action,M=A===void 0?"hover":A,z=I.showAction,K=I.hideAction,le=I.popupVisible,de=I.defaultPopupVisible,Oe=I.onPopupVisibleChange,Je=I.afterPopupVisibleChange,X=I.mouseEnterDelay,re=I.mouseLeaveDelay,G=re===void 0?.1:re,Ie=I.focusDelay,We=I.blurDelay,je=I.mask,Fe=I.maskClosable,me=Fe===void 0?!0:Fe,be=I.getPopupContainer,Le=I.forceRender,ze=I.autoDestroy,et=I.destroyPopupOnHide,He=I.popup,Ye=I.popupClassName,Ee=I.popupStyle,Ne=I.popupPlacement,ve=I.builtinPlacements,Ve=ve===void 0?{}:ve,st=I.popupAlign,ct=I.zIndex,Pe=I.stretch,Ke=I.getPopupClassNameFromAlign,_e=I.fresh,qe=I.alignPoint,yt=I.onPopupClick,Rt=I.onPopupAlign,Zt=I.arrow,At=I.popupMotion,Pt=I.maskMotion,vt=I.popupTransitionName,Ct=I.popupAnimation,Nt=I.maskTransitionName,En=I.maskAnimation,Sn=I.className,Pn=I.getTriggerDOMNode,yn=(0,o.Z)(I,ot),at=ze||et||!1,Be=b.useState(!1),bt=(0,r.Z)(Be,2),Tt=bt[0],jt=bt[1];(0,y.Z)(function(){jt((0,d.Z)())},[]);var Yt=b.useRef({}),en=b.useContext(q),xn=b.useMemo(function(){return{registerSubPopup:function(Kr,Aa){Yt.current[Kr]=Aa,en==null||en.registerSubPopup(Kr,Aa)}}},[en]),Rn=(0,h.Z)(),Fn=b.useState(null),_n=(0,r.Z)(Fn,2),An=_n[0],Xn=_n[1],rn=(0,p.Z)(function(yr){(0,u.S)(yr)&&An!==yr&&Xn(yr),en==null||en.registerSubPopup(Rn,yr)}),qn=b.useState(null),Jt=(0,r.Z)(qn,2),on=Jt[0],ft=Jt[1],ht=b.useRef(null),$t=(0,p.Z)(function(yr){(0,u.S)(yr)&&on!==yr&&(ft(yr),ht.current=yr)}),Ot=b.Children.only(D),Ht=(Ot==null?void 0:Ot.props)||{},Bt={},tn=(0,p.Z)(function(yr){var Kr,Aa,ka=on;return(ka==null?void 0:ka.contains(yr))||((Kr=(0,f.A)(ka))===null||Kr===void 0?void 0:Kr.host)===yr||yr===ka||(An==null?void 0:An.contains(yr))||((Aa=(0,f.A)(An))===null||Aa===void 0?void 0:Aa.host)===yr||yr===An||Object.values(Yt.current).some(function(Ma){return(Ma==null?void 0:Ma.contains(yr))||yr===Ma})}),fn=$(V,At,Ct,vt),pn=$(V,Pt,En,Nt),wn=b.useState(de||!1),Jn=(0,r.Z)(wn,2),Tn=Jn[0],Zn=Jn[1],Dn=le!=null?le:Tn,Nn=(0,p.Z)(function(yr){le===void 0&&Zn(yr)});(0,y.Z)(function(){Zn(le||!1)},[le]);var xr=b.useRef(Dn);xr.current=Dn;var Me=b.useRef([]);Me.current=[];var Te=(0,p.Z)(function(yr){var Kr;Nn(yr),((Kr=Me.current[Me.current.length-1])!==null&&Kr!==void 0?Kr:Dn)!==yr&&(Me.current.push(yr),Oe==null||Oe(yr))}),Ge=b.useRef(),Xe=function(){clearTimeout(Ge.current)},it=function(Kr){var Aa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Xe(),Aa===0?Te(Kr):Ge.current=setTimeout(function(){Te(Kr)},Aa*1e3)};b.useEffect(function(){return Xe},[]);var Ut=b.useState(!1),Kt=(0,r.Z)(Ut,2),Gt=Kt[0],Cn=Kt[1];(0,y.Z)(function(yr){(!yr||Dn)&&Cn(!0)},[Dn]);var gn=b.useState(null),Ln=(0,r.Z)(gn,2),Qt=Ln[0],un=Ln[1],Vt=b.useState([0,0]),sn=(0,r.Z)(Vt,2),an=sn[0],Bn=sn[1],Hn=function(Kr){Bn([Kr.clientX,Kr.clientY])},pr=Ze(Dn,An,qe?an:on,Ne,Ve,st,Rt),zn=(0,r.Z)(pr,11),Un=zn[0],wr=zn[1],Zr=zn[2],aa=zn[3],ta=zn[4],Jr=zn[5],va=zn[6],Dr=zn[7],Fr=zn[8],Xr=zn[9],Wr=zn[10],Vr=Z(Tt,M,z,K),$n=(0,r.Z)(Vr,2),vn=$n[0],On=$n[1],gr=vn.has("click"),Cr=On.has("click")||On.has("contextMenu"),hr=(0,p.Z)(function(){Gt||Wr()}),Hr=function(){xr.current&&qe&&Cr&&it(!1)};Qe(Dn,on,An,hr,Hr),(0,y.Z)(function(){hr()},[an,Ne]),(0,y.Z)(function(){Dn&&!(Ve!=null&&Ve[Ne])&&hr()},[JSON.stringify(st)]);var oa=b.useMemo(function(){var yr=ee(Ve,V,Xr,qe);return c()(yr,Ke==null?void 0:Ke(Xr))},[Xr,Ke,Ve,V,qe]);b.useImperativeHandle(L,function(){return{nativeElement:ht.current,forceAlign:hr}});var la=b.useState(0),ua=(0,r.Z)(la,2),La=ua[0],qa=ua[1],jr=b.useState(0),Yr=(0,r.Z)(jr,2),Sa=Yr[0],Ca=Yr[1],Ua=function(){if(Pe&&on){var Kr=on.getBoundingClientRect();qa(Kr.width),Ca(Kr.height)}},Ra=function(){Ua(),hr()},Ga=function(Kr){Cn(!1),Wr(),Je==null||Je(Kr)},Ta=function(){return new Promise(function(Kr){Ua(),un(function(){return Kr})})};(0,y.Z)(function(){Qt&&(Wr(),Qt(),un(null))},[Qt]);function $a(yr,Kr,Aa,ka){Bt[yr]=function(Ma){var ro;ka==null||ka(Ma),it(Kr,Aa);for(var To=arguments.length,Lo=new Array(To>1?To-1:0),so=1;so1?Aa-1:0),Ma=1;Ma1?Aa-1:0),Ma=1;Ma{var{prefixCls:De,className:mt,avatar:wt,title:kt,description:hn}=rt,Wn=yt(rt,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:Yn}=(0,b.useContext)(Ne.E_),Qn=Yn("list",De),Mr=te()(`${Qn}-item-meta`,mt),Rr=b.createElement("div",{className:`${Qn}-item-meta-content`},kt&&b.createElement("h4",{className:`${Qn}-item-meta-title`},kt),hn&&b.createElement("div",{className:`${Qn}-item-meta-description`},hn));return b.createElement("div",Object.assign({},Wn,{className:Mr}),wt&&b.createElement("div",{className:`${Qn}-item-meta-avatar`},wt),(kt||hn)&&Rr)},Zt=(rt,De)=>{var{prefixCls:mt,children:wt,actions:kt,extra:hn,className:Wn,colStyle:Yn}=rt,Qn=yt(rt,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:Mr,itemLayout:Rr}=(0,b.useContext)(_e),{getPrefixCls:Or}=(0,b.useContext)(Ne.E_),qr=()=>{let Za;return b.Children.forEach(wt,Ya=>{typeof Ya=="string"&&(Za=!0)}),Za&&b.Children.count(wt)>1},br=()=>Rr==="vertical"?!!hn:!qr(),bn=Or("list",mt),lr=kt&&kt.length>0&&b.createElement("ul",{className:`${bn}-item-action`,key:"actions"},kt.map((Za,Ya)=>b.createElement("li",{key:`${bn}-item-action-${Ya}`},Za,Ya!==kt.length-1&&b.createElement("em",{className:`${bn}-item-action-split`})))),na=Mr?"div":"li",ba=b.createElement(na,Object.assign({},Qn,Mr?{}:{ref:De},{className:te()(`${bn}-item`,{[`${bn}-item-no-flex`]:!br()},Wn)}),Rr==="vertical"&&hn?[b.createElement("div",{className:`${bn}-item-main`,key:"content"},wt,lr),b.createElement("div",{className:`${bn}-item-extra`,key:"extra"},hn)]:[wt,lr,(0,Pe.Tm)(hn,{key:"extra"})]);return Mr?b.createElement(Ke.Z,{ref:De,flex:1,style:Yn},ba):ba},At=(0,b.forwardRef)(Zt);At.Meta=Rt;var Pt=At,vt=e(54548),Ct=e(14747),Nt=e(91945),En=e(45503);const Sn=rt=>{const{listBorderedCls:De,componentCls:mt,paddingLG:wt,margin:kt,itemPaddingSM:hn,itemPaddingLG:Wn,marginLG:Yn,borderRadiusLG:Qn}=rt;return{[`${De}`]:{border:`${(0,vt.bf)(rt.lineWidth)} ${rt.lineType} ${rt.colorBorder}`,borderRadius:Qn,[`${mt}-header,${mt}-footer,${mt}-item`]:{paddingInline:wt},[`${mt}-pagination`]:{margin:`${(0,vt.bf)(kt)} ${(0,vt.bf)(Yn)}`}},[`${De}${mt}-sm`]:{[`${mt}-item,${mt}-header,${mt}-footer`]:{padding:hn}},[`${De}${mt}-lg`]:{[`${mt}-item,${mt}-header,${mt}-footer`]:{padding:Wn}}}},Pn=rt=>{const{componentCls:De,screenSM:mt,screenMD:wt,marginLG:kt,marginSM:hn,margin:Wn}=rt;return{[`@media screen and (max-width:${wt}px)`]:{[`${De}`]:{[`${De}-item`]:{[`${De}-item-action`]:{marginInlineStart:kt}}},[`${De}-vertical`]:{[`${De}-item`]:{[`${De}-item-extra`]:{marginInlineStart:kt}}}},[`@media screen and (max-width: ${mt}px)`]:{[`${De}`]:{[`${De}-item`]:{flexWrap:"wrap",[`${De}-action`]:{marginInlineStart:hn}}},[`${De}-vertical`]:{[`${De}-item`]:{flexWrap:"wrap-reverse",[`${De}-item-main`]:{minWidth:rt.contentWidth},[`${De}-item-extra`]:{margin:`auto auto ${(0,vt.bf)(Wn)}`}}}}}},yn=rt=>{const{componentCls:De,antCls:mt,controlHeight:wt,minHeight:kt,paddingSM:hn,marginLG:Wn,padding:Yn,itemPadding:Qn,colorPrimary:Mr,itemPaddingSM:Rr,itemPaddingLG:Or,paddingXS:qr,margin:br,colorText:bn,colorTextDescription:lr,motionDurationSlow:na,lineWidth:ba,headerBg:Za,footerBg:Ya,emptyTextPadding:Ja,metaMarginBottom:uo,avatarMarginRight:za,titleMarginBottom:kr,descriptionFontSize:Va}=rt,co={};return["start","center","end"].forEach(Io=>{co[`&-align-${Io}`]={textAlign:Io}}),{[`${De}`]:Object.assign(Object.assign({},(0,Ct.Wf)(rt)),{position:"relative","*":{outline:"none"},[`${De}-header`]:{background:Za},[`${De}-footer`]:{background:Ya},[`${De}-header, ${De}-footer`]:{paddingBlock:hn},[`${De}-pagination`]:Object.assign(Object.assign({marginBlockStart:Wn},co),{[`${mt}-pagination-options`]:{textAlign:"start"}}),[`${De}-spin`]:{minHeight:kt,textAlign:"center"},[`${De}-items`]:{margin:0,padding:0,listStyle:"none"},[`${De}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:Qn,color:bn,[`${De}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${De}-item-meta-avatar`]:{marginInlineEnd:za},[`${De}-item-meta-content`]:{flex:"1 0",width:0,color:bn},[`${De}-item-meta-title`]:{margin:`0 0 ${(0,vt.bf)(rt.marginXXS)} 0`,color:bn,fontSize:rt.fontSize,lineHeight:rt.lineHeight,"> a":{color:bn,transition:`all ${na}`,["&:hover"]:{color:Mr}}},[`${De}-item-meta-description`]:{color:lr,fontSize:Va,lineHeight:rt.lineHeight}},[`${De}-item-action`]:{flex:"0 0 auto",marginInlineStart:rt.marginXXL,padding:0,fontSize:0,listStyle:"none",["& > li"]:{position:"relative",display:"inline-block",padding:`0 ${(0,vt.bf)(qr)}`,color:lr,fontSize:rt.fontSize,lineHeight:rt.lineHeight,textAlign:"center",["&:first-child"]:{paddingInlineStart:0}},[`${De}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:ba,height:rt.calc(rt.fontHeight).sub(rt.calc(rt.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:rt.colorSplit}}},[`${De}-empty`]:{padding:`${(0,vt.bf)(Yn)} 0`,color:lr,fontSize:rt.fontSizeSM,textAlign:"center"},[`${De}-empty-text`]:{padding:Ja,color:rt.colorTextDisabled,fontSize:rt.fontSize,textAlign:"center"},[`${De}-item-no-flex`]:{display:"block"}}),[`${De}-grid ${mt}-col > ${De}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:br,paddingBlock:0,borderBlockEnd:"none"},[`${De}-vertical ${De}-item`]:{alignItems:"initial",[`${De}-item-main`]:{display:"block",flex:1},[`${De}-item-extra`]:{marginInlineStart:Wn},[`${De}-item-meta`]:{marginBlockEnd:uo,[`${De}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:kr,color:bn,fontSize:rt.fontSizeLG,lineHeight:rt.lineHeightLG}},[`${De}-item-action`]:{marginBlockStart:Yn,marginInlineStart:"auto","> li":{padding:`0 ${(0,vt.bf)(Yn)}`,["&:first-child"]:{paddingInlineStart:0}}}},[`${De}-split ${De}-item`]:{borderBlockEnd:`${(0,vt.bf)(rt.lineWidth)} ${rt.lineType} ${rt.colorSplit}`,["&:last-child"]:{borderBlockEnd:"none"}},[`${De}-split ${De}-header`]:{borderBlockEnd:`${(0,vt.bf)(rt.lineWidth)} ${rt.lineType} ${rt.colorSplit}`},[`${De}-split${De}-empty ${De}-footer`]:{borderTop:`${(0,vt.bf)(rt.lineWidth)} ${rt.lineType} ${rt.colorSplit}`},[`${De}-loading ${De}-spin-nested-loading`]:{minHeight:wt},[`${De}-split${De}-something-after-last-item ${mt}-spin-container > ${De}-items > ${De}-item:last-child`]:{borderBlockEnd:`${(0,vt.bf)(rt.lineWidth)} ${rt.lineType} ${rt.colorSplit}`},[`${De}-lg ${De}-item`]:{padding:Or},[`${De}-sm ${De}-item`]:{padding:Rr},[`${De}:not(${De}-vertical)`]:{[`${De}-item-no-flex`]:{[`${De}-item-action`]:{float:"right"}}}}},at=rt=>({contentWidth:220,itemPadding:`${(0,vt.bf)(rt.paddingContentVertical)} 0`,itemPaddingSM:`${(0,vt.bf)(rt.paddingContentVerticalSM)} ${(0,vt.bf)(rt.paddingContentHorizontal)}`,itemPaddingLG:`${(0,vt.bf)(rt.paddingContentVerticalLG)} ${(0,vt.bf)(rt.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:rt.padding,metaMarginBottom:rt.padding,avatarMarginRight:rt.padding,titleMarginBottom:rt.paddingSM,descriptionFontSize:rt.fontSize});var Be=(0,Nt.I$)("List",rt=>{const De=(0,En.TS)(rt,{listBorderedCls:`${rt.componentCls}-bordered`,minHeight:rt.controlHeightLG});return[yn(De),Sn(De),Pn(De)]},at),bt=e(98675),Tt=function(rt,De){var mt={};for(var wt in rt)Object.prototype.hasOwnProperty.call(rt,wt)&&De.indexOf(wt)<0&&(mt[wt]=rt[wt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,wt=Object.getOwnPropertySymbols(rt);kt(nr,ur)=>{var tr;Va(nr),Io(ur),mt&&mt[jn]&&((tr=mt==null?void 0:mt[jn])===null||tr===void 0||tr.call(mt,nr,ur))},bi=Bo("onChange"),ni=Bo("onShowSizeChange"),vo=(jn,nr)=>{if(!Ya)return null;let ur;return typeof Za=="function"?ur=Za(jn):Za?ur=jn[Za]:ur=jn.key,ur||(ur=`list-item-${nr}`),b.createElement(b.Fragment,{key:ur},Ya(jn,nr))},ao=()=>!!(Or||mt||na),ja=Eo("list",wt),[Oo,Bi,Wi]=Be(ja);let Zo=ba;typeof Zo=="boolean"&&(Zo={spinning:Zo});const Ri=Zo&&Zo.spinning,mo=(0,bt.Z)(bn);let Na="";switch(mo){case"large":Na="lg";break;case"small":Na="sm";break;default:break}const Ea=te()(ja,{[`${ja}-vertical`]:Rr==="vertical",[`${ja}-${Na}`]:Na,[`${ja}-split`]:hn,[`${ja}-bordered`]:kt,[`${ja}-loading`]:Ri,[`${ja}-grid`]:!!qr,[`${ja}-something-after-last-item`]:ao(),[`${ja}-rtl`]:Jo==="rtl"},No==null?void 0:No.className,Wn,Yn,Bi,Wi),Po=(0,Ye.Z)(Fo,{total:br.length,current:kr,pageSize:co},mt||{}),Si=Math.ceil(Po.total/Po.pageSize);Po.current>Si&&(Po.current=Si);const fo=mt?b.createElement("div",{className:te()(`${ja}-pagination`,`${ja}-pagination-align-${(De=Po==null?void 0:Po.align)!==null&&De!==void 0?De:"end"}`)},b.createElement(ct.Z,Object.assign({},Po,{onChange:bi,onShowSizeChange:ni}))):null;let $i=(0,He.Z)(br);mt&&br.length>(Po.current-1)*Po.pageSize&&($i=(0,He.Z)(br).splice((Po.current-1)*Po.pageSize,Po.pageSize));const ge=Object.keys(qr||{}).some(jn=>["xs","sm","md","lg","xl","xxl"].includes(jn)),pe=(0,st.Z)(ge),xe=b.useMemo(()=>{for(let jn=0;jn{if(!qr)return;const jn=xe&&qr[xe]?qr[xe]:qr.column;if(jn)return{width:`${100/jn}%`,maxWidth:`${100/jn}%`}},[qr==null?void 0:qr.column,xe]);let dt=Ri&&b.createElement("div",{style:{minHeight:53}});if($i.length>0){const jn=$i.map((nr,ur)=>vo(nr,ur));dt=qr?b.createElement(Ve.Z,{gutter:qr.gutter},b.Children.map(jn,nr=>b.createElement("div",{key:nr==null?void 0:nr.key,style:$e},nr))):b.createElement("ul",{className:`${ja}-items`},jn)}else!Mr&&!Ri&&(dt=b.createElement("div",{className:`${ja}-empty-text`},Ja&&Ja.emptyText||(ti==null?void 0:ti("List"))||b.createElement(ve.Z,{componentName:"List"})));const Ft=Po.position||"bottom",cn=b.useMemo(()=>({grid:qr,itemLayout:Rr}),[JSON.stringify(qr),Rr]);return Oo(b.createElement(_e.Provider,{value:cn},b.createElement("div",Object.assign({style:Object.assign(Object.assign({},No==null?void 0:No.style),Qn),className:Ea},uo),(Ft==="top"||Ft==="both")&&fo,lr&&b.createElement("div",{className:`${ja}-header`},lr),b.createElement(ae.Z,Object.assign({},Zo),dt,Mr),na&&b.createElement("div",{className:`${ja}-footer`},na),Or||(Ft==="bottom"||Ft==="both")&&fo)))}jt.Item=Pt;var Yt=jt,en=e(72269),xn=e(76278),Rn=e(17012),Fn=e(62208),_n=e(26702),An=e(1558),Xn=e(82225),rn=e(64217);const qn=(rt,De,mt,wt,kt)=>({background:rt,border:`${(0,vt.bf)(wt.lineWidth)} ${wt.lineType} ${De}`,[`${kt}-icon`]:{color:mt}}),Jt=rt=>{const{componentCls:De,motionDurationSlow:mt,marginXS:wt,marginSM:kt,fontSize:hn,fontSizeLG:Wn,lineHeight:Yn,borderRadiusLG:Qn,motionEaseInOutCirc:Mr,withDescriptionIconSize:Rr,colorText:Or,colorTextHeading:qr,withDescriptionPadding:br,defaultPadding:bn}=rt;return{[De]:Object.assign(Object.assign({},(0,Ct.Wf)(rt)),{position:"relative",display:"flex",alignItems:"center",padding:bn,wordWrap:"break-word",borderRadius:Qn,[`&${De}-rtl`]:{direction:"rtl"},[`${De}-content`]:{flex:1,minWidth:0},[`${De}-icon`]:{marginInlineEnd:wt,lineHeight:0},["&-description"]:{display:"none",fontSize:hn,lineHeight:Yn},"&-message":{color:qr},[`&${De}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${mt} ${Mr}, opacity ${mt} ${Mr}, padding-top ${mt} ${Mr}, padding-bottom ${mt} ${Mr}, margin-bottom ${mt} ${Mr}`},[`&${De}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${De}-with-description`]:{alignItems:"flex-start",padding:br,[`${De}-icon`]:{marginInlineEnd:kt,fontSize:Rr,lineHeight:0},[`${De}-message`]:{display:"block",marginBottom:wt,color:qr,fontSize:Wn},[`${De}-description`]:{display:"block",color:Or}},[`${De}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},on=rt=>{const{componentCls:De,colorSuccess:mt,colorSuccessBorder:wt,colorSuccessBg:kt,colorWarning:hn,colorWarningBorder:Wn,colorWarningBg:Yn,colorError:Qn,colorErrorBorder:Mr,colorErrorBg:Rr,colorInfo:Or,colorInfoBorder:qr,colorInfoBg:br}=rt;return{[De]:{"&-success":qn(kt,wt,mt,rt,De),"&-info":qn(br,qr,Or,rt,De),"&-warning":qn(Yn,Wn,hn,rt,De),"&-error":Object.assign(Object.assign({},qn(Rr,Mr,Qn,rt,De)),{[`${De}-description > pre`]:{margin:0,padding:0}})}}},ft=rt=>{const{componentCls:De,iconCls:mt,motionDurationMid:wt,marginXS:kt,fontSizeIcon:hn,colorIcon:Wn,colorIconHover:Yn}=rt;return{[De]:{["&-action"]:{marginInlineStart:kt},[`${De}-close-icon`]:{marginInlineStart:kt,padding:0,overflow:"hidden",fontSize:hn,lineHeight:(0,vt.bf)(hn),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${mt}-close`]:{color:Wn,transition:`color ${wt}`,"&:hover":{color:Yn}}},"&-close-text":{color:Wn,transition:`color ${wt}`,"&:hover":{color:Yn}}}}},ht=rt=>({withDescriptionIconSize:rt.fontSizeHeading3,defaultPadding:`${rt.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${rt.paddingMD}px ${rt.paddingContentHorizontalLG}px`});var $t=(0,Nt.I$)("Alert",rt=>[Jt(rt),on(rt),ft(rt)],ht),Ot=function(rt,De){var mt={};for(var wt in rt)Object.prototype.hasOwnProperty.call(rt,wt)&&De.indexOf(wt)<0&&(mt[wt]=rt[wt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,wt=Object.getOwnPropertySymbols(rt);kt{const{icon:De,prefixCls:mt,type:wt}=rt,kt=Ht[wt]||null;return De?(0,Pe.wm)(De,b.createElement("span",{className:`${mt}-icon`},De),()=>({className:te()(`${mt}-icon`,{[De.props.className]:De.props.className})})):b.createElement(kt,{className:`${mt}-icon`})},tn=rt=>{const{isClosable:De,prefixCls:mt,closeIcon:wt,handleClose:kt,ariaProps:hn}=rt,Wn=wt===!0||wt===void 0?b.createElement(Fn.Z,null):wt;return De?b.createElement("button",Object.assign({type:"button",onClick:kt,className:`${mt}-close-icon`,tabIndex:0},hn),Wn):null};var pn=rt=>{const{description:De,prefixCls:mt,message:wt,banner:kt,className:hn,rootClassName:Wn,style:Yn,onMouseEnter:Qn,onMouseLeave:Mr,onClick:Rr,afterClose:Or,showIcon:qr,closable:br,closeText:bn,closeIcon:lr,action:na}=rt,ba=Ot(rt,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[Za,Ya]=b.useState(!1),Ja=b.useRef(null),{getPrefixCls:uo,direction:za,alert:kr}=b.useContext(Ne.E_),Va=uo("alert",mt),[co,Io,Eo]=$t(Va),ti=ao=>{var ja;Ya(!0),(ja=rt.onClose)===null||ja===void 0||ja.call(rt,ao)},Jo=b.useMemo(()=>rt.type!==void 0?rt.type:kt?"warning":"info",[rt.type,kt]),No=b.useMemo(()=>typeof br=="object"&&br.closeIcon||bn?!0:typeof br=="boolean"?br:lr!==!1&&lr!==null&&lr!==void 0?!0:!!(kr!=null&&kr.closable),[bn,lr,br,kr==null?void 0:kr.closable]),Fo=kt&&qr===void 0?!0:qr,Bo=te()(Va,`${Va}-${Jo}`,{[`${Va}-with-description`]:!!De,[`${Va}-no-icon`]:!Fo,[`${Va}-banner`]:!!kt,[`${Va}-rtl`]:za==="rtl"},kr==null?void 0:kr.className,hn,Wn,Eo,Io),bi=(0,rn.Z)(ba,{aria:!0,data:!0}),ni=b.useMemo(()=>{var ao,ja;return typeof br=="object"&&br.closeIcon?br.closeIcon:bn||(lr!==void 0?lr:typeof(kr==null?void 0:kr.closable)=="object"&&(!((ao=kr==null?void 0:kr.closable)===null||ao===void 0)&&ao.closeIcon)?(ja=kr==null?void 0:kr.closable)===null||ja===void 0?void 0:ja.closeIcon:kr==null?void 0:kr.closeIcon)},[lr,br,bn,kr==null?void 0:kr.closeIcon]),vo=b.useMemo(()=>{const ao=br!=null?br:kr==null?void 0:kr.closable;if(typeof ao=="object"){const{closeIcon:ja}=ao;return Ot(ao,["closeIcon"])}return{}},[br,kr==null?void 0:kr.closable]);return co(b.createElement(Xn.ZP,{visible:!Za,motionName:`${Va}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:ao=>({maxHeight:ao.offsetHeight}),onLeaveEnd:Or},ao=>{let{className:ja,style:Oo}=ao;return b.createElement("div",Object.assign({ref:Ja,"data-show":!Za,className:te()(Bo,ja),style:Object.assign(Object.assign(Object.assign({},kr==null?void 0:kr.style),Yn),Oo),onMouseEnter:Qn,onMouseLeave:Mr,onClick:Rr,role:"alert"},bi),Fo?b.createElement(Bt,{description:De,icon:rt.icon,prefixCls:Va,type:Jo}):null,b.createElement("div",{className:`${Va}-content`},wt?b.createElement("div",{className:`${Va}-message`},wt):null,De?b.createElement("div",{className:`${Va}-description`},De):null),na?b.createElement("div",{className:`${Va}-action`},na):null,b.createElement(tn,{isClosable:No,prefixCls:Va,closeIcon:ni,handleClose:ti,ariaProps:vo}))}))},wn=e(15671),Jn=e(43144),Tn=e(53640),Zn=e(32531),Nn=function(rt){(0,Zn.Z)(De,rt);function De(){var mt;return(0,wn.Z)(this,De),mt=(0,Tn.Z)(this,De,arguments),mt.state={error:void 0,info:{componentStack:""}},mt}return(0,Jn.Z)(De,[{key:"componentDidCatch",value:function(wt,kt){this.setState({error:wt,info:kt})}},{key:"render",value:function(){const{message:wt,description:kt,children:hn}=this.props,{error:Wn,info:Yn}=this.state,Qn=Yn&&Yn.componentStack?Yn.componentStack:null,Mr=typeof wt=="undefined"?(Wn||"").toString():wt,Rr=typeof kt=="undefined"?Qn:kt;return Wn?b.createElement(pn,{type:"error",message:Mr,description:b.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},Rr)}):hn}}]),De}(b.Component);const xr=pn;xr.ErrorBoundary=Nn;var Me=xr,Te=e(14726),Ge=e(2453),Xe=e(97435),it=e(21770),Ut=e(14192),Kt=e(52676),Gt=e(62812),Cn=e(32857),gn=function(De,mt){return b.createElement(D.Z,(0,ce.Z)({},De,{ref:mt,icon:Cn.Z}))},Ln=b.forwardRef(gn),Qt=e(83062),un=function(De){var mt=De.value,wt=De.configType,kt=De.onChange,hn=De.list,Wn=De.prefixCls,Yn=De.hashId,Qn="".concat(Wn,"-block-checkbox"),Mr=(0,b.useMemo)(function(){var Rr=(hn||[]).map(function(Or){return(0,S.jsx)(Qt.Z,{title:Or.title,children:(0,S.jsxs)("div",{className:te()(Yn,"".concat(Qn,"-item"),"".concat(Qn,"-item-").concat(Or.key),"".concat(Qn,"-").concat(wt,"-item")),onClick:function(){return kt(Or.key)},children:[(0,S.jsx)(Ln,{className:"".concat(Qn,"-selectIcon ").concat(Yn).trim(),style:{display:mt===Or.key?"block":"none"}}),Or!=null&&Or.icon?(0,S.jsx)("div",{className:"".concat(Qn,"-icon ").concat(Yn).trim(),children:Or.icon}):null]})},Or.key)});return Rr},[mt,hn==null?void 0:hn.length,kt]);return(0,S.jsx)("div",{className:te()(Qn,Yn),children:Mr})},Vt=e(34041),sn=function(De){var mt=b.cloneElement(De.action,{disabled:De.disabled});return(0,S.jsx)(Qt.Z,{title:De.disabled?De.disabledReason:"",placement:"left",children:(0,S.jsx)(Yt.Item,{actions:[mt],children:(0,S.jsx)("span",{style:{opacity:De.disabled?.5:1},children:De.title})})})},an=function(De){var mt=De.settings,wt=De.prefixCls,kt=De.changeSetting,hn=De.hashId,Wn=Xr(),Yn=mt||Ut.h,Qn=Yn.contentWidth,Mr=Yn.splitMenus,Rr=Yn.fixedHeader,Or=Yn.layout,qr=Yn.fixSiderbar;return(0,S.jsx)(Yt,{className:"".concat(wt,"-list ").concat(hn).trim(),split:!1,dataSource:[{title:Wn({id:"app.setting.content-width",defaultMessage:"Content Width"}),action:(0,S.jsxs)(Vt.Z,{value:Qn||"Fixed",size:"small",className:"content-width ".concat(hn).trim(),onSelect:function(bn){kt("contentWidth",bn)},style:{width:80},children:[Or==="side"?null:(0,S.jsx)(Vt.Z.Option,{value:"Fixed",children:Wn({id:"app.setting.content-width.fixed",defaultMessage:"Fixed"})}),(0,S.jsx)(Vt.Z.Option,{value:"Fluid",children:Wn({id:"app.setting.content-width.fluid",defaultMessage:"Fluid"})})]})},{title:Wn({id:"app.setting.fixedheader",defaultMessage:"Fixed Header"}),action:(0,S.jsx)(en.Z,{size:"small",className:"fixed-header",checked:!!Rr,onChange:function(bn){kt("fixedHeader",bn)}})},{title:Wn({id:"app.setting.fixedsidebar",defaultMessage:"Fixed Sidebar"}),disabled:Or==="top",disabledReason:Wn({id:"app.setting.fixedsidebar.hint",defaultMessage:"Works on Side Menu Layout"}),action:(0,S.jsx)(en.Z,{size:"small",className:"fix-siderbar",checked:!!qr,onChange:function(bn){return kt("fixSiderbar",bn)}})},{title:Wn({id:"app.setting.splitMenus"}),disabled:Or!=="mix",action:(0,S.jsx)(en.Z,{size:"small",checked:!!Mr,className:"split-menus",onChange:function(bn){kt("splitMenus",bn)}})}],renderItem:sn})},Bn=function(De){var mt=De.settings,wt=De.prefixCls,kt=De.changeSetting,hn=De.hashId,Wn=Xr(),Yn=["header","footer","menu","menuHeader"];return(0,S.jsx)(Yt,{className:"".concat(wt,"-list ").concat(hn).trim(),split:!1,renderItem:sn,dataSource:Yn.map(function(Qn){return{title:Wn({id:"app.setting.regionalsettings.".concat(Qn)}),action:(0,S.jsx)(en.Z,{size:"small",className:"regional-".concat(Qn," ").concat(hn).trim(),checked:mt["".concat(Qn,"Render")]||mt["".concat(Qn,"Render")]===void 0,onChange:function(Rr){return kt("".concat(Qn,"Render"),Rr===!0?void 0:!1)}})}})})},Hn=e(91),pr=["color","check"],zn=b.forwardRef(function(rt,De){var mt=rt.color,wt=rt.check,kt=(0,Hn.Z)(rt,pr);return(0,S.jsx)("div",(0,se.Z)((0,se.Z)({},kt),{},{style:{backgroundColor:mt},ref:De,children:wt?(0,S.jsx)(Ln,{}):""}))}),Un=function(De){var mt=De.value,wt=De.colorList,kt=De.onChange,hn=De.prefixCls,Wn=De.formatMessage,Yn=De.hashId;if(!wt||(wt==null?void 0:wt.length)<1)return null;var Qn="".concat(hn,"-theme-color");return(0,S.jsx)("div",{className:"".concat(Qn," ").concat(Yn).trim(),children:wt==null?void 0:wt.map(function(Mr){var Rr=Mr.key,Or=Mr.color,qr=Mr.title;return Rr?(0,S.jsx)(Qt.Z,{title:qr!=null?qr:Wn({id:"app.setting.themecolor.".concat(Rr)}),children:(0,S.jsx)(zn,{className:"".concat(Qn,"-block ").concat(Yn).trim(),color:Or,check:mt===Or,onClick:function(){return kt&&kt(Or)}})},Or):null})})};function wr(){return(0,S.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"1em",height:"1em",viewBox:"0 0 104 104",children:[(0,S.jsxs)("defs",{children:[(0,S.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,S.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,S.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,S.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,S.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,S.jsx)("feColorMatrix",{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),(0,S.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,S.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,S.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,S.jsx)("feColorMatrix",{in:"shadowBlurOuter2",result:"shadowMatrixOuter2",values:"0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"}),(0,S.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,S.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,S.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,S.jsx)("feColorMatrix",{in:"shadowBlurOuter3",result:"shadowMatrixOuter3",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),(0,S.jsxs)("feMerge",{children:[(0,S.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,S.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,S.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,S.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,S.jsxs)("g",{children:[(0,S.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,S.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,S.jsx)("path",{fill:"#FFF",d:"M25 15h65v47c0 5.523-4.477 10-10 10H25V15z"}),(0,S.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M0.5 15.5L90.5 15.5"}),(0,S.jsx)("rect",{width:"14",height:"3",x:"4",y:"26",fill:"#D7DDE6",rx:"1.5"}),(0,S.jsx)("rect",{width:"9",height:"3",x:"4",y:"32",fill:"#D7DDE6",rx:"1.5"}),(0,S.jsx)("rect",{width:"9",height:"3",x:"4",y:"42",fill:"#E6EAF0",rx:"1.5"}),(0,S.jsx)("rect",{width:"9",height:"3",x:"4",y:"21",fill:"#E6EAF0",rx:"1.5"}),(0,S.jsx)("rect",{width:"9",height:"3",x:"4",y:"53",fill:"#D7DDE6",rx:"1.5"}),(0,S.jsx)("rect",{width:"14",height:"3",x:"4",y:"47",fill:"#D7DDE6",rx:"1.5"}),(0,S.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M25.5 15.5L25.5 72.5"})]})]})}function Zr(){return(0,S.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"1em",height:"1em",viewBox:"0 0 104 104",children:[(0,S.jsxs)("defs",{children:[(0,S.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,S.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,S.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,S.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,S.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,S.jsx)("feColorMatrix",{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),(0,S.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,S.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,S.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,S.jsx)("feColorMatrix",{in:"shadowBlurOuter2",result:"shadowMatrixOuter2",values:"0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"}),(0,S.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,S.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,S.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,S.jsx)("feColorMatrix",{in:"shadowBlurOuter3",result:"shadowMatrixOuter3",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),(0,S.jsxs)("feMerge",{children:[(0,S.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,S.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,S.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,S.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,S.jsxs)("g",{children:[(0,S.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,S.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,S.jsx)("path",{fill:"#FFF",d:"M26 0h55c5.523 0 10 4.477 10 10v8H26V0z"}),(0,S.jsx)("path",{fill:"#001529",d:"M10 0h19v72H10C4.477 72 0 67.523 0 62V10C0 4.477 4.477 0 10 0z"}),(0,S.jsx)("rect",{width:"14",height:"3",x:"5",y:"18",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,S.jsx)("rect",{width:"14",height:"3",x:"5",y:"42",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,S.jsx)("rect",{width:"9",height:"3",x:"9",y:"24",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,S.jsx)("rect",{width:"9",height:"3",x:"9",y:"48",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,S.jsx)("rect",{width:"9",height:"3",x:"9",y:"36",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,S.jsx)("rect",{width:"14",height:"3",x:"9",y:"30",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,S.jsx)("rect",{width:"14",height:"3",x:"9",y:"54",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"})]})]})}var aa=e(4942),ta=e(98082),Jr=function(De){return(0,aa.Z)((0,aa.Z)({},"".concat(De.componentCls,"-handle"),{position:"fixed",insetBlockStart:"240px",insetInlineEnd:"0px",zIndex:0,display:"flex",alignItems:"center",justifyContent:"center",width:"48px",height:"48px",fontSize:"16px",textAlign:"center",backgroundColor:De.colorPrimary,borderEndStartRadius:De.borderRadiusLG,borderStartStartRadius:De.borderRadiusLG,"-webkit-backdropilter":"saturate(180%) blur(20px)",backdropFilter:"saturate(180%) blur(20px)",cursor:"pointer",pointerEvents:"auto"}),De.componentCls,{"&-content":{position:"relative",minHeight:"100%",color:De.colorText},"&-body-title":{marginBlock:De.marginXS,fontSize:"14px",lineHeight:"22px",color:De.colorTextHeading},"&-block-checkbox":{display:"flex",minHeight:42,gap:De.marginSM,"& &-item":{position:"relative",width:"44px",height:"36px",overflow:"hidden",borderRadius:"4px",boxShadow:De.boxShadow,cursor:"pointer",fontSize:56,lineHeight:"56px","&::before":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"33%",height:"100%",content:"''"},"&::after":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"25%",content:"''"},"&-realDark":{backgroundColor:"rgba(0, 21, 41, 0.85)","&::before":{backgroundColor:"rgba(0, 0, 0, 0.65)"},"&::after":{backgroundColor:"rgba(0, 0, 0, 0.85)"}},"&-light":{backgroundColor:"#fff","&::before":{backgroundColor:"#fff"},"&::after":{backgroundColor:"#fff"}},"&-dark,&-side":{backgroundColor:De.colorBgElevated,"&::before":{zIndex:"1",backgroundColor:"#001529"},"&::after":{backgroundColor:De.colorBgContainer}},"&-top":{backgroundColor:De.colorBgElevated,"&::before":{backgroundColor:"transparent"},"&::after":{backgroundColor:"#001529"}},"&-mix":{backgroundColor:De.colorBgElevated,"&::before":{backgroundColor:De.colorBgContainer},"&::after":{backgroundColor:"#001529"}}},"& &-selectIcon":{position:"absolute",insetInlineEnd:"6px",bottom:"4px",color:De.colorPrimary,fontWeight:"bold",fontSize:"14px",pointerEvents:"none",".action":{color:De.colorPrimary}},"& &-icon":{fontSize:56,lineHeight:"56px"}},"&-theme-color":{marginBlockStart:"16px",overflow:"hidden","& &-block":{float:"left",width:"20px",height:"20px",marginBlockStart:8,marginInlineEnd:8,color:"#fff",fontWeight:"bold",textAlign:"center",borderRadius:"2px",cursor:"pointer"}},"&-list":(0,aa.Z)({},"li".concat(De.antCls,"-list-item"),{paddingInline:0,paddingBlock:8})})};function va(rt){return(0,ta.Xj)("ProLayoutSettingDrawer",function(De){var mt=(0,se.Z)((0,se.Z)({},De),{},{componentCls:".".concat(rt)});return[Jr(mt)]})}var Dr=function(De){var mt=De.children,wt=De.hashId,kt=De.prefixCls,hn=De.title;return(0,S.jsxs)("div",{style:{marginBlockEnd:12},children:[(0,S.jsx)("h3",{className:"".concat(kt,"-body-title ").concat(wt).trim(),children:hn}),mt]})},Fr=function(De){var mt={};return Object.keys(De).forEach(function(wt){De[wt]!==Ut.h[wt]&&wt!=="collapse"?mt[wt]=De[wt]:mt[wt]=void 0,wt.includes("Render")&&(mt[wt]=De[wt]===!1?!1:void 0)}),mt.menu=void 0,mt},Xr=function(){var De=function(wt){var kt=wt.id,hn=(0,Kt.e)();return hn[kt]};return De},Wr=function(De,mt,wt){if((0,Ie.j)()){var kt={};Object.keys(De).forEach(function(Wn){if(Ut.h[Wn]||Ut.h[Wn]===void 0){if(Wn==="colorPrimary"){kt[Wn]=(0,Gt.tV)(De[Wn]);return}kt[Wn]=De[Wn]}});var hn=(0,We.T)({},mt,kt);delete hn.menu,delete hn.title,delete hn.iconfontUrl,wt==null||wt(hn)}},Vr=function(De,mt){return(0,Ie.j)()?(0,se.Z)((0,se.Z)((0,se.Z)({},Ut.h),mt||{}),De):Ut.h},$n=function(De){return JSON.stringify((0,Xe.Z)((0,se.Z)((0,se.Z)({},De),{},{colorPrimary:De.colorPrimary}),["colorWeak"]),null,2)},vn=function(De){var mt=De.defaultSettings,wt=mt===void 0?void 0:mt,kt=De.settings,hn=kt===void 0?void 0:kt,Wn=De.hideHintAlert,Yn=De.hideCopyButton,Qn=De.colorList,Mr=Qn===void 0?[{key:"techBlue",color:"#1677FF"},{key:"daybreak",color:"#1890ff"},{key:"dust",color:"#F5222D"},{key:"volcano",color:"#FA541C"},{key:"sunset",color:"#FAAD14"},{key:"cyan",color:"#13C2C2"},{key:"green",color:"#52C41A"},{key:"geekblue",color:"#2F54EB"},{key:"purple",color:"#722ED1"}]:Qn,Rr=De.getContainer,Or=De.onSettingChange,qr=De.enableDarkTheme,br=De.prefixCls,bn=br===void 0?"ant-pro":br,lr=De.pathname,na=lr===void 0?window.location.pathname:lr,ba=De.disableUrlParams,Za=ba===void 0?!0:ba,Ya=De.themeOnly,Ja=(0,b.useRef)(!0),uo=(0,it.Z)(!1,{value:De.collapse,onChange:De.onCollapseChange}),za=(0,L.Z)(uo,2),kr=za[0],Va=za[1],co=(0,b.useState)((0,Kt.G)()),Io=(0,L.Z)(co,2),Eo=Io[0],ti=Io[1],Jo=(0,me.l)({},{disabled:Za}),No=(0,L.Z)(Jo,2),Fo=No[0],Bo=No[1],bi=(0,it.Z)(function(){return Vr(Fo,hn||wt)},{value:hn,onChange:Or}),ni=(0,L.Z)(bi,2),vo=ni[0],ao=ni[1],ja=vo||{},Oo=ja.navTheme,Bi=ja.colorPrimary,Wi=ja.siderMenuType,Zo=ja.layout,Ri=ja.colorWeak;(0,b.useEffect)(function(){var ge=function(){Eo!==(0,Kt.G)()&&ti((0,Kt.G)())};return(0,Ie.j)()?(Wr(Vr(Fo,hn),vo,ao),window.document.addEventListener("languagechange",ge,{passive:!0}),function(){return window.document.removeEventListener("languagechange",ge)}):function(){return null}},[]),(0,b.useEffect)(function(){(0,je.n)(be.Z,"5.0.0")<0&&Le.ZP.config({theme:{primaryColor:vo.colorPrimary}})},[vo.colorPrimary,vo.navTheme]);var mo=function(pe,xe){var $e={};if($e[pe]=xe,pe==="layout"&&($e.contentWidth=xe==="top"?"Fixed":"Fluid"),pe==="layout"&&xe!=="mix"&&($e.splitMenus=!1),pe==="layout"&&xe==="mix"&&($e.navTheme="light"),pe==="colorWeak"&&xe===!0){var dt=document.querySelector("body");dt&&(dt.dataset.prosettingdrawer=dt.style.filter,dt.style.filter="invert(80%)")}if(pe==="colorWeak"&&xe===!1){var Ft=document.querySelector("body");Ft&&(Ft.style.filter=Ft.dataset.prosettingdrawer||"none",delete Ft.dataset.prosettingdrawer)}delete $e.menu,delete $e.title,delete $e.iconfontUrl,delete $e.logo,delete $e.pwa,ao((0,se.Z)((0,se.Z)({},vo),$e))},Na=Xr();(0,b.useEffect)(function(){if((0,Ie.j)()&&!Za){if(Ja.current){Ja.current=!1;return}var ge=new URLSearchParams(window.location.search),pe=Object.fromEntries(ge.entries()),xe=Fr((0,se.Z)((0,se.Z)({},pe),vo));delete xe.logo,delete xe.menu,delete xe.title,delete xe.iconfontUrl,delete xe.pwa,Bo(xe)}},[Bo,vo,Fo,na,Za]);var Ea="".concat(bn,"-setting-drawer"),Po=va(Ea),Si=Po.wrapSSR,fo=Po.hashId,$i=(0,Fe.X)(kr);return Si((0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"".concat(Ea,"-handle ").concat(fo).trim(),onClick:function(){return Va(!kr)},style:{width:48,height:48},children:kr?(0,S.jsx)(M,{style:{color:"#fff",fontSize:20}}):(0,S.jsx)(K,{style:{color:"#fff",fontSize:20}})}),(0,S.jsx)(ze.Z,(0,se.Z)((0,se.Z)({},$i),{},{width:300,onClose:function(){return Va(!1)},closable:!1,placement:"right",getContainer:Rr,style:{zIndex:999},children:(0,S.jsxs)("div",{className:"".concat(Ea,"-drawer-content ").concat(fo).trim(),children:[(0,S.jsx)(Dr,{title:Na({id:"app.setting.pagestyle",defaultMessage:"Page style setting"}),hashId:fo,prefixCls:Ea,children:(0,S.jsx)(un,{hashId:fo,prefixCls:Ea,list:[{key:"light",title:Na({id:"app.setting.pagestyle.light",defaultMessage:"\u4EAE\u8272\u83DC\u5355\u98CE\u683C"})},{key:"realDark",title:Na({id:"app.setting.pagestyle.realdark",defaultMessage:"\u6697\u8272\u83DC\u5355\u98CE\u683C"})}].filter(function(ge){return!(ge.key==="dark"&&vo.layout==="mix"||ge.key==="realDark"&&!qr)}),value:Oo,configType:"theme",onChange:function(pe){return mo("navTheme",pe)}},"navTheme")}),Mr!==!1&&(0,S.jsx)(Dr,{hashId:fo,title:Na({id:"app.setting.themecolor",defaultMessage:"Theme color"}),prefixCls:Ea,children:(0,S.jsx)(Un,{hashId:fo,prefixCls:Ea,colorList:Mr,value:(0,Gt.tV)(Bi),formatMessage:Na,onChange:function(pe){return mo("colorPrimary",pe)}})}),!Ya&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(et.Z,{}),(0,S.jsx)(Dr,{hashId:fo,prefixCls:Ea,title:Na({id:"app.setting.navigationmode"}),children:(0,S.jsx)(un,{prefixCls:Ea,value:Zo,hashId:fo,configType:"layout",list:[{key:"side",title:Na({id:"app.setting.sidemenu"})},{key:"top",title:Na({id:"app.setting.topmenu"})},{key:"mix",title:Na({id:"app.setting.mixmenu"})}],onChange:function(pe){return mo("layout",pe)}},"layout")}),vo.layout=="side"||vo.layout=="mix"?(0,S.jsx)(Dr,{hashId:fo,prefixCls:Ea,title:Na({id:"app.setting.sidermenutype"}),children:(0,S.jsx)(un,{prefixCls:Ea,value:Wi,hashId:fo,configType:"siderMenuType",list:[{key:"sub",icon:(0,S.jsx)(Zr,{}),title:Na({id:"app.setting.sidermenutype-sub"})},{key:"group",icon:(0,S.jsx)(wr,{}),title:Na({id:"app.setting.sidermenutype-group"})}],onChange:function(pe){return mo("siderMenuType",pe)}},"siderMenuType")}):null,(0,S.jsx)(an,{prefixCls:Ea,hashId:fo,settings:vo,changeSetting:mo}),(0,S.jsx)(et.Z,{}),(0,S.jsx)(Dr,{hashId:fo,prefixCls:Ea,title:Na({id:"app.setting.regionalsettings"}),children:(0,S.jsx)(Bn,{hashId:fo,prefixCls:Ea,settings:vo,changeSetting:mo})}),(0,S.jsx)(et.Z,{}),(0,S.jsx)(Dr,{hashId:fo,prefixCls:Ea,title:Na({id:"app.setting.othersettings"}),children:(0,S.jsx)(Yt,{className:"".concat(Ea,"-list ").concat(fo).trim(),split:!1,size:"small",renderItem:sn,dataSource:[{title:Na({id:"app.setting.weakmode"}),action:(0,S.jsx)(en.Z,{size:"small",className:"color-weak",checked:!!Ri,onChange:function(pe){mo("colorWeak",pe)}})}]})}),Wn&&Yn?null:(0,S.jsx)(et.Z,{}),Wn?null:(0,S.jsx)(Me,{type:"warning",message:Na({id:"app.setting.production.hint"}),icon:(0,S.jsx)(Je,{}),showIcon:!0,style:{marginBlockEnd:16}}),Yn?null:(0,S.jsx)(Te.ZP,{block:!0,icon:(0,S.jsx)(G,{}),style:{marginBlockEnd:24},onClick:(0,I.Z)((0,Y.Z)().mark(function ge(){return(0,Y.Z)().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return xe.prev=0,xe.next=3,navigator.clipboard.writeText($n(vo));case 3:Ge.ZP.success(Na({id:"app.setting.copyinfo"})),xe.next=8;break;case 6:xe.prev=6,xe.t0=xe.catch(0);case 8:case"end":return xe.stop()}},ge,null,[[0,6]])})),children:Na({id:"app.setting.copy"})})]})]})}))]}))},On=e(67610),gr=function(rt){return rt[rt.SILENT=0]="SILENT",rt}(gr||{}),Cr={errorConfig:{errorThrower:function(De){var mt=De,wt=mt.data,kt=mt.code,hn=mt.message;if(kt!==0){var Wn=new Error(hn);throw Wn.name="BizError",Wn.info={code:kt,message:hn,data:wt},Wn}},errorHandler:function(De,mt){if(mt!=null&&mt.skipErrorHandler)throw De;if(De.name==="BizError"){var wt=De.info;wt&&Ge.ZP.error(wt.message)}else De.response?Ge.ZP.error("Response status:".concat(De.response.status)):De.request?Ge.ZP.error("None response! Please retry."):Ge.ZP.error("Request error, please retry.")}},requestInterceptors:[function(rt){var De,mt=rt==null||(De=rt.url)===null||De===void 0?void 0:De.concat("?token = 123");return h()(h()({},rt),{},{url:mt})}],responseInterceptors:[function(rt){var De=rt,mt=De.data,wt=mt.code,kt=mt.message;if(wt!==0){var hn=new Error(kt);throw hn.name="BizError",hn.info=mt,hn}else return rt}]},hr=!1,Hr="/user/login";function oa(){return la.apply(this,arguments)}function la(){return la=d()(f()().mark(function rt(){var De,mt,wt;return f()().wrap(function(hn){for(;;)switch(hn.prev=hn.next){case 0:if(De=function(){var Wn=d()(f()().mark(function Yn(){var Qn;return f()().wrap(function(Rr){for(;;)switch(Rr.prev=Rr.next){case 0:return Rr.prev=0,Rr.next=3,(0,It.Vk)({skipErrorHandler:!0});case 3:return Qn=Rr.sent,Rr.abrupt("return",Qn.data);case 7:Rr.prev=7,Rr.t0=Rr.catch(0),w.history.push(Hr);case 10:return Rr.abrupt("return",void 0);case 11:case"end":return Rr.stop()}},Yn,null,[[0,7]])}));return function(){return Wn.apply(this,arguments)}}(),mt=w.history.location,mt.pathname===Hr){hn.next=7;break}return hn.next=5,De();case 5:return wt=hn.sent,hn.abrupt("return",{fetchUserInfo:De,currentUser:wt,settings:On.Z});case 7:return hn.abrupt("return",{fetchUserInfo:De,settings:On.Z});case 8:case"end":return hn.stop()}},rt)})),la.apply(this,arguments)}var ua=function(De){var mt=De.initialState,wt=De.setInitialState;return h()({avatarProps:{title:(0,S.jsx)(ke,{}),render:function(hn,Wn){return(0,S.jsx)(pt,{children:Wn})}},onPageChange:function(){var hn=w.history.location;!(mt!=null&&mt.currentUser)&&hn.pathname!==Hr&&w.history.push(Hr)},bgLayoutImgList:[{src:"https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/D2LWSqNny4sAAAAAAAAAAAAAFl94AQBr",left:85,bottom:100,height:"303px"},{src:"https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/C2TWRpJpiC0AAAAAAAAAAAAAFl94AQBr",bottom:-68,right:-45,height:"303px"},{src:"https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/F6vSTbj8KpYAAAAAAAAAAAAAFl94AQBr",bottom:0,left:0,width:"331px"}],links:hr?[(0,S.jsxs)(w.Link,{to:"/umi/plugin/openapi",target:"_blank",children:[(0,S.jsx)(Se,{onPointerEnterCapture:void 0,onPointerLeaveCapture:void 0}),(0,S.jsx)("span",{children:"OpenAPI \u6587\u6863"})]},"openapi")]:[],menuHeaderRender:void 0,childrenRender:function(hn){return(0,S.jsxs)(S.Fragment,{children:[hn,hr&&(0,S.jsx)(vn,{disableUrlParams:!0,enableDarkTheme:!0,settings:mt==null?void 0:mt.settings,onSettingChange:function(Yn){wt(function(Qn){return h()(h()({},Qn),{},{settings:Yn})})}})]})}},mt==null?void 0:mt.settings)},La=h()({},Cr),qa=e(70405),jr={},Yr=function(De){return b.createElement(qa.B6,{context:jr},De)};function Sa(rt){var De=rt!=null?rt:{},mt=De.currentUser,wt={canAdmin:mt&&mt.role&&mt.role<=3,canDeviceOwner:mt&&mt.role&&mt.role>3};return wt}var Ca=e(44886),Ua=e(78382);function Ra(rt){var De=(0,Ca.t)("@@initialState"),mt=De.initialState,wt=b.useMemo(function(){return Sa(mt)},[mt]);return(0,S.jsx)(Ua.J.Provider,{value:wt,children:rt.children})}function Ga(rt){return(0,S.jsx)(Ra,{children:rt})}function Ta(){return(0,S.jsx)("div",{})}function $a(rt){var De=b.useRef(!1),mt=(0,Ca.t)("@@initialState")||{},wt=mt.loading,kt=wt===void 0?!1:wt;return b.useEffect(function(){kt||(De.current=!0)},[kt]),kt&&!De.current?(0,S.jsx)(Ta,{}):rt.children}function no(rt){return(0,S.jsx)($a,{children:rt})}var Ar={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},Nr=Ar,or=function(De,mt){return b.createElement(Q.Z,(0,se.Z)((0,se.Z)({},De),{},{ref:mt,icon:Nr}))};or.displayName="SmileOutlined";var Br=b.forwardRef(or),sa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z"}}]},name:"dashboard",theme:"outlined"},ya=sa,xa=function(De,mt){return b.createElement(Q.Z,(0,se.Z)((0,se.Z)({},De),{},{ref:mt,icon:ya}))};xa.displayName="DashboardOutlined";var Xa=b.forwardRef(xa),Qa={SmileOutlined:Br,DashboardOutlined:Xa};function yr(rt){return rt.replace(rt[0],rt[0].toUpperCase()).replace(/-(w)/g,function(De,mt){return mt.toUpperCase()})}function Kr(rt){var De=rt.routes;Object.keys(De).forEach(function(mt){var wt=De[mt].icon;if(wt&&typeof wt=="string"){var kt=yr(wt);(Qa[kt]||Qa[kt+"Outlined"])&&(De[mt].icon=b.createElement(Qa[kt]||Qa[kt+"Outlined"]))}})}var Aa=e(5574),ka=e.n(Aa),Ma=e(27484),ro=e.n(Ma),To=e(54067),Lo=e(25054),so=e(96953),yi=e(83783),Xo=e(76831),Qo=e(57548),jo=e(33852),Fi=e(43901),yo=e(98944);function nt(){var rt=getLocale();if(moment!=null&&moment.locale){var De;moment.locale(((De=localeInfo[rt])===null||De===void 0?void 0:De.momentLocale)||"")}setIntl(rt)}var xt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,Et=function(De){var mt,wt=(0,yo.Kd)(),kt=b.useState(wt),hn=ka()(kt,2),Wn=hn[0],Yn=hn[1],Qn=b.useState(function(){return(0,yo.lw)(Wn,!0)}),Mr=ka()(Qn,2),Rr=Mr[0],Or=Mr[1],qr=function(na){if(ro()!==null&&ro()!==void 0&&ro().locale){var ba;ro().locale(((ba=yo.H8[na])===null||ba===void 0?void 0:ba.momentLocale)||"en")}Yn(na),Or((0,yo.lw)(na))};xt(function(){return yo.B.on(yo.PZ,qr),function(){yo.B.off(yo.PZ,qr)}},[]);var br={},bn=(0,yo.Mg)();return(0,S.jsx)(Le.ZP,{direction:bn,locale:((mt=yo.H8[Wn])===null||mt===void 0?void 0:mt.antd)||br,children:(0,S.jsx)(yo.eU,{value:Rr,children:De.children})})};function Dt(rt){return b.createElement(Et,null,rt)}var Xt={initialState:void 0,loading:!0,error:void 0},Vn=function(){var rt=(0,b.useState)(Xt),De=ka()(rt,2),mt=De[0],wt=De[1],kt=(0,b.useCallback)(d()(f()().mark(function Wn(){var Yn;return f()().wrap(function(Mr){for(;;)switch(Mr.prev=Mr.next){case 0:return wt(function(Rr){return h()(h()({},Rr),{},{loading:!0,error:void 0})}),Mr.prev=1,Mr.next=4,oa();case 4:Yn=Mr.sent,wt(function(Rr){return h()(h()({},Rr),{},{initialState:Yn,loading:!1})}),Mr.next=11;break;case 8:Mr.prev=8,Mr.t0=Mr.catch(1),wt(function(Rr){return h()(h()({},Rr),{},{error:Mr.t0,loading:!1})});case 11:case"end":return Mr.stop()}},Wn,null,[[1,8]])})),[]),hn=(0,b.useCallback)(function(){var Wn=d()(f()().mark(function Yn(Qn){return f()().wrap(function(Rr){for(;;)switch(Rr.prev=Rr.next){case 0:wt(function(Or){return typeof Qn=="function"?h()(h()({},Or),{},{initialState:Qn(Or.initialState),loading:!1}):h()(h()({},Or),{},{initialState:Qn,loading:!1})});case 1:case"end":return Rr.stop()}},Yn)}));return function(Yn){return Wn.apply(this,arguments)}}(),[]);return(0,b.useEffect)(function(){kt()},[]),h()(h()({},mt),{},{refresh:kt,setInitialState:hn})},Kn={model_1:{namespace:"@@initialState",model:Vn}};function cr(rt){var De=b.useMemo(function(){return Object.keys(Kn).reduce(function(mt,wt){return mt[Kn[wt].namespace]=Kn[wt].model,mt},{})},[]);return(0,S.jsx)(Ca.z,h()(h()({models:De},rt),{},{children:rt.children}))}function sr(rt,De){return(0,S.jsx)(cr,h()(h()({},De),{},{children:rt}))}function Tr(rt){return rt.default?typeof rt.default=="function"?rt.default():rt.default:rt}function vr(){return[{apply:Tr(t),path:void 0},{apply:r,path:void 0},{apply:o,path:void 0},{apply:a,path:void 0},{apply:s,path:void 0},{apply:c,path:void 0},{apply:l,path:void 0}]}function Gn(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","getInitialState","layout","locale","qiankun","request"]}var In=null;function Ir(){return In=w.PluginManager.create({plugins:vr(),validKeys:Gn()}),In}function _r(){return In}},35312:function(v,m,e){"use strict";e.d(m,{ApplyPluginsType:function(){return Bt},FormattedMessage:function(){return r._H},Helmet:function(){return yn.ql},Link:function(){return Pn},Outlet:function(){return ve.j3},PluginManager:function(){return tn},SelectLang:function(){return r.pD},history:function(){return fn.m},matchRoutes:function(){return ve.fp},request:function(){return Ye},useAppData:function(){return En.Ov},useIntl:function(){return r.YB},useLocation:function(){return ve.TH},useModel:function(){return o.t},useNavigate:function(){return ve.s0},useOutletContext:function(){return ve.bx}});var t=e(83228),r=e(66999),o=e(44886),a=e(15009),s=e.n(a),c=e(99289),l=e.n(c),u=e(13769),f=e(52677),p=e.n(f),h=e(97857),y=e.n(h),d=e(9669),b=e.n(d),S=e(67294),x=e(91296),E=e.n(x),w=e(93096),T=e.n(w);function F(){return typeof document!="undefined"&&typeof document.visibilityState!="undefined"?document.visibilityState!=="hidden":!0}function P(){return typeof navigator.onLine!="undefined"?navigator.onLine:!0}var R=new Map,H=function(Te,Ge,Xe){var it=R.get(Te);it!=null&&it.timer&&clearTimeout(it.timer);var Ut=void 0;Ge>-1&&(Ut=setTimeout(function(){R.delete(Te)},Ge)),R.set(Te,{data:Xe,timer:Ut,startTime:new Date().getTime()})},se=function(Te){var Ge=R.get(Te);return{data:Ge==null?void 0:Ge.data,startTime:Ge==null?void 0:Ge.startTime}},k=function(Me,Te){var Ge=typeof Symbol=="function"&&Me[Symbol.iterator];if(!Ge)return Me;var Xe=Ge.call(Me),it,Ut=[],Kt;try{for(;(Te===void 0||Te-- >0)&&!(it=Xe.next()).done;)Ut.push(it.value)}catch(Gt){Kt={error:Gt}}finally{try{it&&!it.done&&(Ge=Xe.return)&&Ge.call(Xe)}finally{if(Kt)throw Kt.error}}return Ut},Q=function(){for(var Me=[],Te=0;Te0)&&!(it=Xe.next()).done;)Ut.push(it.value)}catch(Gt){Kt={error:Gt}}finally{try{it&&!it.done&&(Ge=Xe.return)&&Ge.call(Xe)}finally{if(Kt)throw Kt.error}}return Ut},Z=function(){for(var Me=[],Te=0;Te0)&&!(it=Xe.next()).done;)Ut.push(it.value)}catch(Gt){Kt={error:Gt}}finally{try{it&&!it.done&&(Ge=Xe.return)&&Ge.call(Xe)}finally{if(Kt)throw Kt.error}}return Ut},Qe=function(){for(var Me=[],Te=0;Te0){var Br=Jr&&((or=getCache(Jr))===null||or===void 0?void 0:or.startTime)||0;Xr===-1||new Date().getTime()-Br<=Xr||Object.values(Ca).forEach(function(sa){sa.refresh()})}else $a.current.apply($a,Qe(zn))},[]);var Ar=useCallback(function(){Object.values(Ra.current).forEach(function(or){or.unmount()}),hr.current=pt,Ua({}),Ra.current={}},[Ua]);useUpdateEffect(function(){Kt||Object.values(Ra.current).forEach(function(or){or.refresh()})},Qe(it)),useEffect(function(){return function(){Object.values(Ra.current).forEach(function(or){or.unmount()})}},[]);var Nr=useCallback(function(or){return function(){console.warn("You should't call "+or+" when service not executed once.")}},[]);return Ze(Ze({loading:On&&!Kt||un,data:$n,error:void 0,params:[],cancel:Nr("cancel"),refresh:Nr("refresh"),mutate:Nr("mutate")},Ca[hr.current]||{}),{run:Ta,fetches:Ca,reset:Ar})}var St=null,lt=function(){return lt=Object.assign||function(Me){for(var Te,Ge=1,Xe=arguments.length;Ge0)&&!(it=Xe.next()).done;)Ut.push(it.value)}catch(Gt){Kt={error:Gt}}finally{try{it&&!it.done&&(Ge=Xe.return)&&Ge.call(Xe)}finally{if(Kt)throw Kt.error}}return Ut},I=function(){for(var Me=[],Te=0;Te0)&&!(it=Xe.next()).done;)Ut.push(it.value)}catch(Gt){Kt={error:Gt}}finally{try{it&&!it.done&&(Ge=Xe.return)&&Ge.call(Xe)}finally{if(Kt)throw Kt.error}}return Ut},M=function(){for(var Me=[],Te=0;TeCr&&(On=Math.max(1,Cr)),ta({current:On,pageSize:gr})},[Jr,ta]),Fr=useCallback(function($n){Dr($n,zn)},[Dr,zn]),Xr=useCallback(function($n){Dr(Hn,$n)},[Dr,Hn]),Wr=useRef(Fr);Wr.current=Fr,useUpdateEffect(function(){Te.manual||Wr.current(1)},M(Kt));var Vr=useCallback(function($n,vn,On){ta({current:$n.current,pageSize:$n.pageSize||it,filters:vn,sorter:On})},[aa,wr,ta]);return V({loading:Vt,data:Ln,params:Qt,run:un,pagination:{current:Hn,pageSize:zn,total:Jr,totalPage:va,onChange:Dr,changeCurrent:Fr,changePageSize:Xr},tableProps:{dataSource:(Ln==null?void 0:Ln.list)||[],loading:Vt,onChange:Vr,pagination:{current:Hn,pageSize:zn,total:Jr}},sorter:wr,filters:aa},sn)}var K=null,le=S.createContext({});le.displayName="UseRequestConfigContext";var de=le,Oe=function(){return Oe=Object.assign||function(Me){for(var Te,Ge=1,Xe=arguments.length;Ge0)&&!(it=Xe.next()).done;)Ut.push(it.value)}catch(Gt){Kt={error:Gt}}finally{try{it&&!it.done&&(Ge=Xe.return)&&Ge.call(Xe)}finally{if(Kt)throw Kt.error}}return Ut},re=function(){for(var Me=[],Te=0;Te1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(Me,_objectSpread({formatResult:function(Xe){return Xe==null?void 0:Xe.data},requestMethod:function(Xe){if(typeof Xe=="string")return Ye(Xe);if(_typeof(Xe)==="object"){var it=Xe.url,Ut=_objectWithoutProperties(Xe,me);return Ye(it,Ut)}throw new Error("request options error")}},Te))}var Le,ze,et=function(){return ze||(ze=(0,Fe.We)().applyPlugins({key:"request",type:Bt.modify,initialValue:{}}),ze)},He=function(){var Te,Ge;if(Le)return Le;var Xe=et();return Le=b().create(Xe),Xe==null||(Te=Xe.requestInterceptors)===null||Te===void 0||Te.forEach(function(it){it instanceof Array?Le.interceptors.request.use(function(){var Ut=l()(s()().mark(function Kt(Gt){var Cn,gn,Ln,Qt;return s()().wrap(function(Vt){for(;;)switch(Vt.prev=Vt.next){case 0:if(Cn=Gt.url,it[0].length!==2){Vt.next=8;break}return Vt.next=4,it[0](Cn,Gt);case 4:return gn=Vt.sent,Ln=gn.url,Qt=gn.options,Vt.abrupt("return",y()(y()({},Qt),{},{url:Ln}));case 8:return Vt.abrupt("return",it[0](Gt));case 9:case"end":return Vt.stop()}},Kt)}));return function(Kt){return Ut.apply(this,arguments)}}(),it[1]):Le.interceptors.request.use(function(){var Ut=l()(s()().mark(function Kt(Gt){var Cn,gn,Ln,Qt;return s()().wrap(function(Vt){for(;;)switch(Vt.prev=Vt.next){case 0:if(Cn=Gt.url,it.length!==2){Vt.next=8;break}return Vt.next=4,it(Cn,Gt);case 4:return gn=Vt.sent,Ln=gn.url,Qt=gn.options,Vt.abrupt("return",y()(y()({},Qt),{},{url:Ln}));case 8:return Vt.abrupt("return",it(Gt));case 9:case"end":return Vt.stop()}},Kt)}));return function(Kt){return Ut.apply(this,arguments)}}())}),Xe==null||(Ge=Xe.responseInterceptors)===null||Ge===void 0||Ge.forEach(function(it){it instanceof Array?Le.interceptors.response.use(it[0],it[1]):Le.interceptors.response.use(it)}),Le.interceptors.response.use(function(it){var Ut,Kt=it.data;return(Kt==null?void 0:Kt.success)===!1&&Xe!==null&&Xe!==void 0&&(Ut=Xe.errorConfig)!==null&&Ut!==void 0&&Ut.errorThrower&&Xe.errorConfig.errorThrower(Kt),it}),Le},Ye=function(Te){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{method:"GET"},Xe=He(),it=et(),Ut=Ge.getResponse,Kt=Ut===void 0?!1:Ut,Gt=Ge.requestInterceptors,Cn=Ge.responseInterceptors,gn=Gt==null?void 0:Gt.map(function(Qt){return Qt instanceof Array?Xe.interceptors.request.use(function(){var un=l()(s()().mark(function Vt(sn){var an,Bn,Hn,pr;return s()().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:if(an=sn.url,Qt[0].length!==2){Un.next=8;break}return Un.next=4,Qt[0](an,sn);case 4:return Bn=Un.sent,Hn=Bn.url,pr=Bn.options,Un.abrupt("return",y()(y()({},pr),{},{url:Hn}));case 8:return Un.abrupt("return",Qt[0](sn));case 9:case"end":return Un.stop()}},Vt)}));return function(Vt){return un.apply(this,arguments)}}(),Qt[1]):Xe.interceptors.request.use(function(){var un=l()(s()().mark(function Vt(sn){var an,Bn,Hn,pr;return s()().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:if(an=sn.url,Qt.length!==2){Un.next=8;break}return Un.next=4,Qt(an,sn);case 4:return Bn=Un.sent,Hn=Bn.url,pr=Bn.options,Un.abrupt("return",y()(y()({},pr),{},{url:Hn}));case 8:return Un.abrupt("return",Qt(sn));case 9:case"end":return Un.stop()}},Vt)}));return function(Vt){return un.apply(this,arguments)}}())}),Ln=Cn==null?void 0:Cn.map(function(Qt){return Qt instanceof Array?Xe.interceptors.response.use(Qt[0],Qt[1]):Xe.interceptors.response.use(Qt)});return new Promise(function(Qt,un){Xe.request(y()(y()({},Ge),{},{url:Te})).then(function(Vt){gn==null||gn.forEach(function(sn){Xe.interceptors.request.eject(sn)}),Ln==null||Ln.forEach(function(sn){Xe.interceptors.response.eject(sn)}),Qt(Kt?Vt:Vt.data)}).catch(function(Vt){gn==null||gn.forEach(function(Bn){Xe.interceptors.request.eject(Bn)}),Ln==null||Ln.forEach(function(Bn){Xe.interceptors.response.eject(Bn)});try{var sn,an=it==null||(sn=it.errorConfig)===null||sn===void 0?void 0:sn.errorHandler;an&&an(Vt,Ge,it)}catch(Bn){un(Bn)}un(Vt)})})},Ee=e(58096),Ne=e(49647),ve=e(96974),Ve=e(55648);function st(){return st=Object.assign||function(Me){for(var Te=1;Te=0)&&(Ge[it]=Me[it]);return Ge}const Pe=["onClick","reloadDocument","replace","state","target","to"],Ke=null;function _e(Me,Te){if(!Me){typeof console!="undefined"&&console.warn(Te);try{throw new Error(Te)}catch(Ge){}}}function qe(Me){let{basename:Te,children:Ge,window:Xe}=Me,it=useRef();it.current==null&&(it.current=createBrowserHistory({window:Xe}));let Ut=it.current,[Kt,Gt]=useState({action:Ut.action,location:Ut.location});return useLayoutEffect(()=>Ut.listen(Gt),[Ut]),createElement(Router,{basename:Te,children:Ge,location:Kt.location,navigationType:Kt.action,navigator:Ut})}function yt(Me){let{basename:Te,children:Ge,window:Xe}=Me,it=useRef();it.current==null&&(it.current=createHashHistory({window:Xe}));let Ut=it.current,[Kt,Gt]=useState({action:Ut.action,location:Ut.location});return useLayoutEffect(()=>Ut.listen(Gt),[Ut]),createElement(Router,{basename:Te,children:Ge,location:Kt.location,navigationType:Kt.action,navigator:Ut})}function Rt(Me){let{basename:Te,children:Ge,history:Xe}=Me;const[it,Ut]=useState({action:Xe.action,location:Xe.location});return useLayoutEffect(()=>Xe.listen(Ut),[Xe]),createElement(Router,{basename:Te,children:Ge,location:it.location,navigationType:it.action,navigator:Xe})}function Zt(Me){return!!(Me.metaKey||Me.altKey||Me.ctrlKey||Me.shiftKey)}const At=(0,S.forwardRef)(function(Te,Ge){let{onClick:Xe,reloadDocument:it,replace:Ut=!1,state:Kt,target:Gt,to:Cn}=Te,gn=ct(Te,Pe),Ln=(0,ve.oQ)(Cn),Qt=vt(Cn,{replace:Ut,state:Kt,target:Gt});function un(Vt){Xe&&Xe(Vt),!Vt.defaultPrevented&&!it&&Qt(Vt)}return(0,S.createElement)("a",st({},gn,{href:Ln,onClick:un,ref:Ge,target:Gt}))}),Pt=null;function vt(Me,Te){let{target:Ge,replace:Xe,state:it}=Te===void 0?{}:Te,Ut=(0,ve.s0)(),Kt=(0,ve.TH)(),Gt=(0,ve.WU)(Me);return(0,S.useCallback)(Cn=>{if(Cn.button===0&&(!Ge||Ge==="_self")&&!Zt(Cn)){Cn.preventDefault();let gn=!!Xe||(0,Ve.Ep)(Kt)===(0,Ve.Ep)(Gt);Ut(Me,{replace:gn,state:it})}},[Kt,Ut,Gt,Xe,it,Ge,Me])}function Ct(Me){let Te=useRef(Nt(Me)),Ge=useLocation(),Xe=useMemo(()=>{let Kt=Nt(Ge.search);for(let Gt of Te.current.keys())Kt.has(Gt)||Te.current.getAll(Gt).forEach(Cn=>{Kt.append(Gt,Cn)});return Kt},[Ge.search]),it=useNavigate(),Ut=useCallback((Kt,Gt)=>{it("?"+Nt(Kt),Gt)},[it]);return[Xe,Ut]}function Nt(Me){return Me===void 0&&(Me=""),new URLSearchParams(typeof Me=="string"||Array.isArray(Me)||Me instanceof URLSearchParams?Me:Object.keys(Me).reduce((Te,Ge)=>{let Xe=Me[Ge];return Te.concat(Array.isArray(Xe)?Xe.map(it=>[Ge,it]):[[Ge,Xe]])},[]))}var En=e(34162),Sn=["prefetch"];function Pn(Me){var Te,Ge=Me.prefetch,Xe=(0,Ne.Z)(Me,Sn),it=(0,En.Ov)(),Ut=typeof Me.to=="string"?Me.to:(Te=Me.to)===null||Te===void 0?void 0:Te.pathname;return Ut?S.createElement(At,(0,Ee.Z)({onMouseEnter:function(){var Gt;return Ge&&Ut&&((Gt=it.preloadRoute)===null||Gt===void 0?void 0:Gt.call(it,Ut))}},Xe),Me.children):null}var yn=e(70405);function at(Me){"@babel/helpers - typeof";return at=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Te){return typeof Te}:function(Te){return Te&&typeof Symbol=="function"&&Te.constructor===Symbol&&Te!==Symbol.prototype?"symbol":typeof Te},at(Me)}function Be(){"use strict";Be=function(){return Te};var Me,Te={},Ge=Object.prototype,Xe=Ge.hasOwnProperty,it=Object.defineProperty||function($n,vn,On){$n[vn]=On.value},Ut=typeof Symbol=="function"?Symbol:{},Kt=Ut.iterator||"@@iterator",Gt=Ut.asyncIterator||"@@asyncIterator",Cn=Ut.toStringTag||"@@toStringTag";function gn($n,vn,On){return Object.defineProperty($n,vn,{value:On,enumerable:!0,configurable:!0,writable:!0}),$n[vn]}try{gn({},"")}catch($n){gn=function(On,gr,Cr){return On[gr]=Cr}}function Ln($n,vn,On,gr){var Cr=vn&&vn.prototype instanceof Hn?vn:Hn,hr=Object.create(Cr.prototype),Hr=new Wr(gr||[]);return it(hr,"_invoke",{value:va($n,On,Hr)}),hr}function Qt($n,vn,On){try{return{type:"normal",arg:$n.call(vn,On)}}catch(gr){return{type:"throw",arg:gr}}}Te.wrap=Ln;var un="suspendedStart",Vt="suspendedYield",sn="executing",an="completed",Bn={};function Hn(){}function pr(){}function zn(){}var Un={};gn(Un,Kt,function(){return this});var wr=Object.getPrototypeOf,Zr=wr&&wr(wr(Vr([])));Zr&&Zr!==Ge&&Xe.call(Zr,Kt)&&(Un=Zr);var aa=zn.prototype=Hn.prototype=Object.create(Un);function ta($n){["next","throw","return"].forEach(function(vn){gn($n,vn,function(On){return this._invoke(vn,On)})})}function Jr($n,vn){function On(Cr,hr,Hr,oa){var la=Qt($n[Cr],$n,hr);if(la.type!=="throw"){var ua=la.arg,La=ua.value;return La&&at(La)=="object"&&Xe.call(La,"__await")?vn.resolve(La.__await).then(function(qa){On("next",qa,Hr,oa)},function(qa){On("throw",qa,Hr,oa)}):vn.resolve(La).then(function(qa){ua.value=qa,Hr(ua)},function(qa){return On("throw",qa,Hr,oa)})}oa(la.arg)}var gr;it(this,"_invoke",{value:function(hr,Hr){function oa(){return new vn(function(la,ua){On(hr,Hr,la,ua)})}return gr=gr?gr.then(oa,oa):oa()}})}function va($n,vn,On){var gr=un;return function(Cr,hr){if(gr===sn)throw new Error("Generator is already running");if(gr===an){if(Cr==="throw")throw hr;return{value:Me,done:!0}}for(On.method=Cr,On.arg=hr;;){var Hr=On.delegate;if(Hr){var oa=Dr(Hr,On);if(oa){if(oa===Bn)continue;return oa}}if(On.method==="next")On.sent=On._sent=On.arg;else if(On.method==="throw"){if(gr===un)throw gr=an,On.arg;On.dispatchException(On.arg)}else On.method==="return"&&On.abrupt("return",On.arg);gr=sn;var la=Qt($n,vn,On);if(la.type==="normal"){if(gr=On.done?an:Vt,la.arg===Bn)continue;return{value:la.arg,done:On.done}}la.type==="throw"&&(gr=an,On.method="throw",On.arg=la.arg)}}}function Dr($n,vn){var On=vn.method,gr=$n.iterator[On];if(gr===Me)return vn.delegate=null,On==="throw"&&$n.iterator.return&&(vn.method="return",vn.arg=Me,Dr($n,vn),vn.method==="throw")||On!=="return"&&(vn.method="throw",vn.arg=new TypeError("The iterator does not provide a '"+On+"' method")),Bn;var Cr=Qt(gr,$n.iterator,vn.arg);if(Cr.type==="throw")return vn.method="throw",vn.arg=Cr.arg,vn.delegate=null,Bn;var hr=Cr.arg;return hr?hr.done?(vn[$n.resultName]=hr.value,vn.next=$n.nextLoc,vn.method!=="return"&&(vn.method="next",vn.arg=Me),vn.delegate=null,Bn):hr:(vn.method="throw",vn.arg=new TypeError("iterator result is not an object"),vn.delegate=null,Bn)}function Fr($n){var vn={tryLoc:$n[0]};1 in $n&&(vn.catchLoc=$n[1]),2 in $n&&(vn.finallyLoc=$n[2],vn.afterLoc=$n[3]),this.tryEntries.push(vn)}function Xr($n){var vn=$n.completion||{};vn.type="normal",delete vn.arg,$n.completion=vn}function Wr($n){this.tryEntries=[{tryLoc:"root"}],$n.forEach(Fr,this),this.reset(!0)}function Vr($n){if($n||$n===""){var vn=$n[Kt];if(vn)return vn.call($n);if(typeof $n.next=="function")return $n;if(!isNaN($n.length)){var On=-1,gr=function Cr(){for(;++On<$n.length;)if(Xe.call($n,On))return Cr.value=$n[On],Cr.done=!1,Cr;return Cr.value=Me,Cr.done=!0,Cr};return gr.next=gr}}throw new TypeError(at($n)+" is not iterable")}return pr.prototype=zn,it(aa,"constructor",{value:zn,configurable:!0}),it(zn,"constructor",{value:pr,configurable:!0}),pr.displayName=gn(zn,Cn,"GeneratorFunction"),Te.isGeneratorFunction=function($n){var vn=typeof $n=="function"&&$n.constructor;return!!vn&&(vn===pr||(vn.displayName||vn.name)==="GeneratorFunction")},Te.mark=function($n){return Object.setPrototypeOf?Object.setPrototypeOf($n,zn):($n.__proto__=zn,gn($n,Cn,"GeneratorFunction")),$n.prototype=Object.create(aa),$n},Te.awrap=function($n){return{__await:$n}},ta(Jr.prototype),gn(Jr.prototype,Gt,function(){return this}),Te.AsyncIterator=Jr,Te.async=function($n,vn,On,gr,Cr){Cr===void 0&&(Cr=Promise);var hr=new Jr(Ln($n,vn,On,gr),Cr);return Te.isGeneratorFunction(vn)?hr:hr.next().then(function(Hr){return Hr.done?Hr.value:hr.next()})},ta(aa),gn(aa,Cn,"Generator"),gn(aa,Kt,function(){return this}),gn(aa,"toString",function(){return"[object Generator]"}),Te.keys=function($n){var vn=Object($n),On=[];for(var gr in vn)On.push(gr);return On.reverse(),function Cr(){for(;On.length;){var hr=On.pop();if(hr in vn)return Cr.value=hr,Cr.done=!1,Cr}return Cr.done=!0,Cr}},Te.values=Vr,Wr.prototype={constructor:Wr,reset:function(vn){if(this.prev=0,this.next=0,this.sent=this._sent=Me,this.done=!1,this.delegate=null,this.method="next",this.arg=Me,this.tryEntries.forEach(Xr),!vn)for(var On in this)On.charAt(0)==="t"&&Xe.call(this,On)&&!isNaN(+On.slice(1))&&(this[On]=Me)},stop:function(){this.done=!0;var vn=this.tryEntries[0].completion;if(vn.type==="throw")throw vn.arg;return this.rval},dispatchException:function(vn){if(this.done)throw vn;var On=this;function gr(ua,La){return Hr.type="throw",Hr.arg=vn,On.next=ua,La&&(On.method="next",On.arg=Me),!!La}for(var Cr=this.tryEntries.length-1;Cr>=0;--Cr){var hr=this.tryEntries[Cr],Hr=hr.completion;if(hr.tryLoc==="root")return gr("end");if(hr.tryLoc<=this.prev){var oa=Xe.call(hr,"catchLoc"),la=Xe.call(hr,"finallyLoc");if(oa&&la){if(this.prev=0;--gr){var Cr=this.tryEntries[gr];if(Cr.tryLoc<=this.prev&&Xe.call(Cr,"finallyLoc")&&this.prev=0;--On){var gr=this.tryEntries[On];if(gr.finallyLoc===vn)return this.complete(gr.completion,gr.afterLoc),Xr(gr),Bn}},catch:function(vn){for(var On=this.tryEntries.length-1;On>=0;--On){var gr=this.tryEntries[On];if(gr.tryLoc===vn){var Cr=gr.completion;if(Cr.type==="throw"){var hr=Cr.arg;Xr(gr)}return hr}}throw new Error("illegal catch attempt")},delegateYield:function(vn,On,gr){return this.delegate={iterator:Vr(vn),resultName:On,nextLoc:gr},this.method==="next"&&(this.arg=Me),Bn}},Te}function bt(Me,Te){if(at(Me)!="object"||!Me)return Me;var Ge=Me[Symbol.toPrimitive];if(Ge!==void 0){var Xe=Ge.call(Me,Te||"default");if(at(Xe)!="object")return Xe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Te==="string"?String:Number)(Me)}function Tt(Me){var Te=bt(Me,"string");return at(Te)=="symbol"?Te:String(Te)}function jt(Me,Te,Ge){return Te=Tt(Te),Te in Me?Object.defineProperty(Me,Te,{value:Ge,enumerable:!0,configurable:!0,writable:!0}):Me[Te]=Ge,Me}function Yt(Me,Te){var Ge=Object.keys(Me);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(Me);Te&&(Xe=Xe.filter(function(it){return Object.getOwnPropertyDescriptor(Me,it).enumerable})),Ge.push.apply(Ge,Xe)}return Ge}function en(Me){for(var Te=1;TeMe.length)&&(Te=Me.length);for(var Ge=0,Xe=new Array(Te);Ge=Me.length?{done:!0}:{done:!1,value:Me[Xe++]}},e:function(gn){throw gn},f:it}}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 Ut=!0,Kt=!1,Gt;return{s:function(){Ge=Ge.call(Me)},n:function(){var gn=Ge.next();return Ut=gn.done,gn},e:function(gn){Kt=!0,Gt=gn},f:function(){try{!Ut&&Ge.return!=null&&Ge.return()}finally{if(Kt)throw Gt}}}}function Xn(Me){if(Array.isArray(Me))return Me}function rn(Me){if(typeof Symbol!="undefined"&&Me[Symbol.iterator]!=null||Me["@@iterator"]!=null)return Array.from(Me)}function qn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. @@ -426,7 +426,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},51064:function(v,m,e){"use strict";var t=e(76058),r=e(36812),o=e(75773),a=e(23622),s=e(49385),c=e(8758),l=e(38055),u=e(33457),f=e(13841),p=e(62570),h=e(65411),y=e(67697),d=e(53931);v.exports=function(b,S,x,E){var w="stackTraceLimit",T=E?2:1,F=b.split("."),P=F[F.length-1],R=t.apply(null,F);if(R){var H=R.prototype;if(!d&&r(H,"cause")&&delete H.cause,!x)return R;var se=t("Error"),k=S(function(Q,q){var ie=f(E?q:Q,void 0),Z=E?new R(Q):new R;return ie!==void 0&&o(Z,"message",ie),h(Z,k,Z.stack,2),this&&a(H,this)&&u(Z,this,k),arguments.length>T&&p(Z,arguments[T]),Z});if(k.prototype=H,P!=="Error"?s?s(k,se):c(k,se,{name:!0}):y&&w in R&&(l(k,R,w),l(k,R,"prepareStackTrace")),c(k,R),!d)try{H.name!==P&&o(H,"name",P),H.constructor=k}catch(Q){}return k}}},54927:function(v,m,e){"use strict";var t=e(79989),r=e(76058),o=e(61735),a=e(3689),s=e(51064),c="AggregateError",l=r(c),u=!a(function(){return l([1]).errors[0]!==1})&&a(function(){return l([1],c,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:s(c,function(f){return function(h,y){return o(f,this,arguments)}},u,!0)})},39382:function(v,m,e){"use strict";var t=e(79989),r=e(23622),o=e(61868),a=e(49385),s=e(8758),c=e(25391),l=e(75773),u=e(75684),f=e(62570),p=e(65411),h=e(18734),y=e(13841),d=e(44201),b=d("toStringTag"),S=Error,x=[].push,E=function(F,P){var R=r(w,this),H;a?H=a(new S,R?o(this):w):(H=R?this:c(w),l(H,b,"Error")),P!==void 0&&l(H,"message",y(P)),p(H,E,H.stack,1),arguments.length>2&&f(H,arguments[2]);var se=[];return h(F,x,{that:se}),l(H,"errors",se),H};a?a(E,S):s(E,S,{name:!0});var w=E.prototype=c(S.prototype,{constructor:u(1,E),message:u(1,""),name:u(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:E})},95879:function(v,m,e){"use strict";e(39382)},92176:function(v,m,e){"use strict";var t=e(79989),r=e(90690),o=e(6310),a=e(68700),s=e(87370);t({target:"Array",proto:!0},{at:function(l){var u=r(this),f=o(u),p=a(l),h=p>=0?p:f+p;return h<0||h>=f?void 0:u[h]}}),s("at")},93383:function(v,m,e){"use strict";var t=e(79989),r=e(61969).findLastIndex,o=e(87370);t({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},59867:function(v,m,e){"use strict";var t=e(79989),r=e(61969).findLast,o=e(87370);t({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},70560:function(v,m,e){"use strict";var t=e(79989),r=e(90690),o=e(6310),a=e(5649),s=e(55565),c=e(3689),l=c(function(){return[].push.call({length:4294967296},1)!==4294967297}),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(p){return p instanceof TypeError}},f=l||!u();t({target:"Array",proto:!0,arity:1,forced:f},{push:function(h){var y=r(this),d=o(y),b=arguments.length;s(d+b);for(var S=0;S79&&a<83,l=c||!o("reduceRight");t({target:"Array",proto:!0,forced:l},{reduceRight:function(f){return r(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},278:function(v,m,e){"use strict";var t=e(79989),r=e(88820).left,o=e(16834),a=e(3615),s=e(50806),c=!s&&a>79&&a<83,l=c||!o("reduce");t({target:"Array",proto:!0,forced:l},{reduce:function(f){var p=arguments.length;return r(this,f,p,p>1?arguments[1]:void 0)}})},29830:function(v,m,e){"use strict";var t=e(79989),r=e(26166),o=e(65290),a=e(87370),s=Array;t({target:"Array",proto:!0},{toReversed:function(){return r(o(this),s)}}),a("toReversed")},12894:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(10509),a=e(65290),s=e(59976),c=e(88277),l=e(87370),u=Array,f=r(c("Array","sort"));t({target:"Array",proto:!0},{toSorted:function(h){h!==void 0&&o(h);var y=a(this),d=s(u,y);return f(d,h)}}),l("toSorted")},93530:function(v,m,e){"use strict";var t=e(79989),r=e(87370),o=e(55565),a=e(6310),s=e(27578),c=e(65290),l=e(68700),u=Array,f=Math.max,p=Math.min;t({target:"Array",proto:!0},{toSpliced:function(y,d){var b=c(this),S=a(b),x=s(y,S),E=arguments.length,w=0,T,F,P,R;for(E===0?T=F=0:E===1?(T=0,F=S-x):(T=E-2,F=p(f(l(d),0),S-x)),P=o(S+T-F),R=u(P);w=0?d:y+d;return b<0||b>=y?void 0:l(h,b)}})},12281:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(74684),a=e(34327),s=r("".charCodeAt);t({target:"String",proto:!0},{isWellFormed:function(){for(var l=a(o(this)),u=l.length,f=0;f=56320||++f>=u||(s(l,f)&64512)!==56320))return!1}return!0}})},56532:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(68844),a=e(74684),s=e(69985),c=e(981),l=e(91245),u=e(34327),f=e(54849),p=e(63477),h=e(27017),y=e(44201),d=e(53931),b=y("replace"),S=TypeError,x=o("".indexOf),E=o("".replace),w=o("".slice),T=Math.max,F=function(P,R,H){return H>P.length?-1:R===""?H:x(P,R,H)};t({target:"String",proto:!0},{replaceAll:function(R,H){var se=a(this),k,Q,q,ie,Z,ae,_,ee,$,B=0,j=0,C="";if(!c(R)){if(k=l(R),k&&(Q=u(a(p(R))),!~x(Q,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(q=f(R,b),q)return r(q,R,se,H);if(d&&k)return E(u(se),R,H)}for(ie=u(se),Z=u(R),ae=s(H),ae||(H=u(H)),_=Z.length,ee=T(1,_),B=F(ie,Z,0);B!==-1;)$=ae?u(H(Z,B,ie)):h(Z,ie,B,[],void 0,H),C+=w(ie,j,B)+$,j=B+_,B=F(ie,Z,B+ee);return j=56320||w+1>=x||(f(S,w+1)&64512)!==56320?E[w]=y:(E[w]=u(S,w),E[++w]=u(S,w))}return p(E,"")}})},95194:function(v,m,e){"use strict";var t=e(54872),r=e(6310),o=e(68700),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(l){var u=a(this),f=r(u),p=o(l),h=p>=0?p:f+p;return h<0||h>=f?void 0:u[h]})},82:function(v,m,e){"use strict";var t=e(54872),r=e(61969).findLastIndex,o=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLastIndex",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0)})},20522:function(v,m,e){"use strict";var t=e(54872),r=e(61969).findLast,o=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLast",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0)})},79976:function(v,m,e){"use strict";var t=e(19037),r=e(22615),o=e(54872),a=e(6310),s=e(83250),c=e(90690),l=e(3689),u=t.RangeError,f=t.Int8Array,p=f&&f.prototype,h=p&&p.set,y=o.aTypedArray,d=o.exportTypedArrayMethod,b=!l(function(){var x=new Uint8ClampedArray(2);return r(h,x,{length:1,0:3},1),x[1]!==3}),S=b&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var x=new f(2);return x.set(1),x.set("2",1),x[0]!==0||x[1]!==2});d("set",function(E){y(this);var w=s(arguments.length>1?arguments[1]:void 0,1),T=c(E);if(b)return r(h,this,T,w);var F=this.length,P=a(T),R=0;if(P+w>F)throw new u("Wrong length");for(;R1?arguments[1]:void 0)}}),o("filterOut")},54883:function(v,m,e){"use strict";var t=e(79989),r=e(2960).filterReject,o=e(87370);t({target:"Array",proto:!0,forced:!0},{filterReject:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("filterReject")},18073:function(v,m,e){"use strict";var t=e(79989),r=e(2231);t({target:"Array",stat:!0},{fromAsync:r})},96882:function(v,m,e){"use strict";var t=e(79989),r=e(16834),o=e(87370),a=e(44416),s=e(53931);t({target:"Array",proto:!0,name:"groupToMap",forced:s||!r("groupByToMap")},{groupByToMap:a}),o("groupByToMap")},22525:function(v,m,e){"use strict";var t=e(79989),r=e(64976),o=e(16834),a=e(87370);t({target:"Array",proto:!0,forced:!o("groupBy")},{groupBy:function(c){var l=arguments.length>1?arguments[1]:void 0;return r(this,c,l)}}),a("groupBy")},32539:function(v,m,e){"use strict";var t=e(79989),r=e(87370),o=e(44416),a=e(53931);t({target:"Array",proto:!0,forced:a},{groupToMap:o}),r("groupToMap")},36208:function(v,m,e){"use strict";var t=e(79989),r=e(64976),o=e(87370);t({target:"Array",proto:!0},{group:function(s){var c=arguments.length>1?arguments[1]:void 0;return r(this,s,c)}}),o("group")},5082:function(v,m,e){"use strict";var t=e(79989),r=e(92297),o=Object.isFrozen,a=function(s,c){if(!o||!r(s)||!o(s))return!1;for(var l=0,u=s.length,f;l1?arguments[1]:!1);return o([l&255,l>>8&255],10)}})},89246:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=r(DataView.prototype.getUint8);t({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(s){return o(this,s)}})},31186:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(15477).pack,c=e(76043),l=TypeError,u=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(p,h){if(o(this)!=="DataView")throw new l("Incorrect receiver");var y=a(p),d=s(c(h),10,2);return u(this,y,d[1]<<8|d[0],arguments.length>2?arguments[2]:!1)}})},9279:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(87191),c=TypeError,l=r(DataView.prototype.setUint8);t({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(f,p){if(o(this)!=="DataView")throw new c("Incorrect receiver");var h=a(f);return l(this,h,s(p))}})},26725:function(v,m,e){"use strict";var t=e(79989),r=e(67697),o=e(76058),a=e(10509),s=e(767),c=e(11880),l=e(6045),u=e(62148),f=e(44201),p=e(618),h=e(29199),y=o("SuppressedError"),d=ReferenceError,b=f("dispose"),S=f("toStringTag"),x="DisposableStack",E=p.set,w=p.getterFor(x),T="sync-dispose",F="disposed",P="pending",R=function(k){var Q=w(k);if(Q.state===F)throw new d(x+" already disposed");return Q},H=function(){E(s(this,se),{type:x,state:P,stack:[]}),r||(this.disposed=!1)},se=H.prototype;l(se,{dispose:function(){var Q=w(this);if(Q.state!==F){Q.state=F,r||(this.disposed=!0);for(var q=Q.stack,ie=q.length,Z=!1,ae;ie;){var _=q[--ie];q[ie]=null;try{_()}catch(ee){Z?ae=new y(ee,ae):(Z=!0,ae=ee)}}if(Q.stack=null,Z)throw ae}},use:function(Q){return h(R(this),Q,T),Q},adopt:function(Q,q){var ie=R(this);return a(q),h(ie,void 0,T,function(){q(Q)}),Q},defer:function(Q){var q=R(this);a(Q),h(q,void 0,T,Q)},move:function(){var Q=R(this),q=new H;return w(q).stack=Q.stack,Q.stack=[],Q.state=F,r||(this.disposed=!0),q}}),r&&u(se,"disposed",{configurable:!0,get:function(){return w(this).state===F}}),c(se,b,se.dispose,{name:"dispose"}),c(se,S,x,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:H})},26125:function(v,m,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},2820:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(69985),a=e(6738),s=e(36812),c=e(67697),l=Object.getOwnPropertyDescriptor,u=/^\s*class\b/,f=r(u.exec),p=function(h){try{if(!c||!f(u,a(h)))return!1}catch(d){}var y=l(h,"prototype");return!!y&&s(y,"writable")&&!y.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(y){return o(y)&&!p(y)}})},62517:function(v,m,e){"use strict";var t=e(79989),r=e(19429);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},54947:function(v,m,e){"use strict";var t=e(44201),r=e(72560).f,o=t("metadata"),a=Function.prototype;a[o]===void 0&&r(a,o,{value:null})},74993:function(v,m,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},50647:function(v,m,e){"use strict";var t=e(79989),r=e(47082);t({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:r})},67602:function(v,m,e){"use strict";var t=e(79989),r=e(19037),o=e(767),a=e(85027),s=e(69985),c=e(61868),l=e(62148),u=e(76522),f=e(3689),p=e(36812),h=e(44201),y=e(12013).IteratorPrototype,d=e(67697),b=e(53931),S="constructor",x="Iterator",E=h("toStringTag"),w=TypeError,T=r[x],F=b||!s(T)||T.prototype!==y||!f(function(){T({})}),P=function(){if(o(this,y),c(this)===y)throw new w("Abstract class Iterator not directly constructable")},R=function(H,se){d?l(y,H,{configurable:!0,get:function(){return se},set:function(k){if(a(this),this===y)throw new w("You can't redefine this property");p(this,H)?this[H]=k:u(this,H,k)}}):y[H]=se};p(y,E)||R(E,x),(F||!p(y,S)||y[S]===Object)&&R(S,P),P.prototype=y,t({global:!0,constructor:!0,forced:F},{Iterator:P})},82639:function(v,m,e){"use strict";var t=e(22615),r=e(11880),o=e(54849),a=e(36812),s=e(44201),c=e(12013).IteratorPrototype,l=s("dispose");a(c,l)||r(c,l,function(){var u=o(this,"return");u&&t(u,this)})},63986:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),l=e(65419),u=e(53931),f=l(function(){for(var p=this.iterator,h=this.next,y,d;this.remaining;)if(this.remaining--,y=o(r(h,p)),d=this.done=!!y.done,d)return;if(y=o(r(h,p)),d=this.done=!!y.done,!d)return y.value});t({target:"Iterator",proto:!0,real:!0,forced:u},{drop:function(h){o(this);var y=c(s(+h));return new f(a(this),{remaining:y})}})},16054:function(v,m,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{every:function(l){a(this),o(l);var u=s(this),f=0;return!r(u,function(p,h){if(!l(p,f++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},53476:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(65419),l=e(71228),u=e(53931),f=c(function(){for(var p=this.iterator,h=this.predicate,y=this.next,d,b,S;;){if(d=a(r(y,p)),b=this.done=!!d.done,b)return;if(S=d.value,l(p,h,[S,this.counter++],!0))return S}});t({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(h){return a(this),o(h),new f(s(this),{predicate:h})}})},70928:function(v,m,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{find:function(l){a(this),o(l);var u=s(this),f=0;return r(u,function(p,h){if(l(p,f++))return h(p)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},49411:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(36752),l=e(65419),u=e(72125),f=e(53931),p=l(function(){for(var h=this.iterator,y=this.mapper,d,b;;){if(b=this.inner)try{if(d=a(r(b.next,b.iterator)),!d.done)return d.value;this.inner=null}catch(S){u(h,"throw",S)}if(d=a(r(this.next,h)),this.done=!!d.done)return;try{this.inner=c(y(d.value,this.counter++),!1)}catch(S){u(h,"throw",S)}}});t({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(y){return a(this),o(y),new p(s(this),{mapper:y,inner:null})}})},30005:function(v,m,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{forEach:function(l){a(this),o(l);var u=s(this),f=0;r(u,function(p){l(p,f++)},{IS_RECORD:!0})}})},73494:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(90690),a=e(23622),s=e(12013).IteratorPrototype,c=e(65419),l=e(36752),u=e(53931),f=c(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:u},{from:function(h){var y=l(typeof h=="string"?o(h):h,!0);return a(s,y.iterator)?y.iterator:new f(y)}})},94564:function(v,m,e){"use strict";var t=e(79989),r=e(47082);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},41792:function(v,m,e){"use strict";var t=e(79989),r=e(88983),o=e(53931);t({target:"Iterator",proto:!0,real:!0,forced:o},{map:r})},5985:function(v,m,e){"use strict";var t=e(79989),r=e(98554),o=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,c,l){if(typeof s=="number")return new r(s,c,l,"number",0,1);if(typeof s=="bigint")return new r(s,c,l,"bigint",BigInt(0),BigInt(1));throw new o("Incorrect Iterator.range arguments")}})},31107:function(v,m,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302),c=TypeError;t({target:"Iterator",proto:!0,real:!0},{reduce:function(u){a(this),o(u);var f=s(this),p=arguments.length<2,h=p?void 0:arguments[1],y=0;if(r(f,function(d){p?(p=!1,h=d):h=u(h,d,y),y++},{IS_RECORD:!0}),p)throw new c("Reduce of empty iterator with no initial value");return h}})},28244:function(v,m,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{some:function(l){a(this),o(l);var u=s(this),f=0;return r(u,function(p,h){if(l(p,f++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},3645:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),l=e(65419),u=e(72125),f=e(53931),p=l(function(){var h=this.iterator;if(!this.remaining--)return this.done=!0,u(h,"normal",void 0);var y=o(r(this.next,h)),d=this.done=!!y.done;if(!d)return y.value});t({target:"Iterator",proto:!0,real:!0,forced:f},{take:function(y){o(this);var d=c(s(+y));return new p(a(this),{remaining:d})}})},58429:function(v,m,e){"use strict";var t=e(79989),r=e(85027),o=e(18734),a=e(22302),s=[].push;t({target:"Iterator",proto:!0,real:!0},{toArray:function(){var l=[];return o(a(r(this)),s,{that:l,IS_RECORD:!0}),l}})},39569:function(v,m,e){"use strict";var t=e(79989),r=e(85027),o=e(29019),a=e(40219),s=e(22302),c=e(53931);t({target:"Iterator",proto:!0,real:!0,forced:c},{toAsync:function(){return new a(s(new o(s(r(this)))))}})},74320:function(v,m,e){"use strict";var t=e(79989),r=e(22818),o=e(55670);t({target:"JSON",stat:!0,forced:!r},{isRawJSON:o})},20691:function(v,m,e){"use strict";var t=e(79989),r=e(67697),o=e(19037),a=e(76058),s=e(68844),c=e(22615),l=e(69985),u=e(48999),f=e(92297),p=e(36812),h=e(34327),y=e(6310),d=e(76522),b=e(3689),S=e(46675),x=e(50146),E=o.JSON,w=o.Number,T=o.SyntaxError,F=E&&E.parse,P=a("Object","keys"),R=Object.getOwnPropertyDescriptor,H=s("".charAt),se=s("".slice),k=s(/./.exec),Q=s([].push),q=/^\d$/,ie=/^[1-9]$/,Z=/^(?:-|\d)$/,ae=/^[\t\n\r ]$/,_=0,ee=1,$=function(te,J){te=h(te);var he=new N(te,0,""),Ce=he.parse(),Ze=Ce.value,ke=he.skip(ae,Ce.end);if(ke1?arguments[1]:void 0);return a(l,function(f,p){if(!u(f,p,l))return!1},!0)!==!1}})},41099:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(f){var p=o(this),h=r(f,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(d,b){h(d,b,p)&&l(y,b,d)}),y}})},20876:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(c){var l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0),f=a(l,function(p,h){if(u(p,h,l))return{key:h}},!0);return f&&f.key}})},26320:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{find:function(c){var l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0),f=a(l,function(p,h){if(u(p,h,l))return{value:p}},!0);return f&&f.value}})},6052:function(v,m,e){"use strict";var t=e(79989),r=e(28737);t({target:"Map",stat:!0,forced:!0},{from:r})},76791:function(v,m,e){"use strict";var t=e(79989),r=e(68600),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(c){return a(o(this),function(l){if(r(l,c))return!0},!0)===!0}})},75341:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(18734),a=e(69985),s=e(10509),c=e(83914).Map;t({target:"Map",stat:!0,forced:!0},{keyBy:function(u,f){var p=a(this)?this:c,h=new p;s(f);var y=s(h.set);return o(u,function(d){r(y,h,f(d),d)}),h}})},40019:function(v,m,e){"use strict";var t=e(79989),r=e(9945),o=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(s){var c=o(r(this),function(l,u){if(l===s)return{key:u}},!0);return c&&c.key}})},92343:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(f){var p=o(this),h=r(f,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(d,b){l(y,h(d,b,p),d)}),y}})},51096:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(f){var p=o(this),h=r(f,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(d,b){l(y,b,h(d,b,p))}),y}})},4314:function(v,m,e){"use strict";var t=e(79989),r=e(9945),o=e(18734),a=e(83914).set;t({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(c){for(var l=r(this),u=arguments.length,f=0;f1?arguments[1]:void 0);return a(l,function(f,p){if(u(f,p,l))return!0},!0)===!0}})},24453:function(v,m,e){"use strict";var t=e(79989),r=e(41432);t({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:r})},64078:function(v,m,e){"use strict";var t=e(79989),r=e(10509),o=e(9945),a=e(83914),s=TypeError,c=a.get,l=a.has,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(p,h){var y=o(this),d=arguments.length;r(h);var b=l(y,p);if(!b&&d<3)throw new s("Updating absent value");var S=b?c(y,p):r(d>2?arguments[2]:void 0)(p,y);return u(y,p,h(S,p,y)),y}})},66190:function(v,m,e){"use strict";var t=e(79989),r=e(41432);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},25684:function(v,m,e){"use strict";var t=e(79989),r=Math.min,o=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,c,l){return r(l,o(c,s))}})},31789:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},8677:function(v,m,e){"use strict";var t=e(79989),r=180/Math.PI;t({target:"Math",stat:!0,forced:!0},{degrees:function(a){return a*r}})},59151:function(v,m,e){"use strict";var t=e(79989),r=e(76043);t({target:"Math",stat:!0},{f16round:r})},346:function(v,m,e){"use strict";var t=e(79989),r=e(84463),o=e(37788);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,c,l,u,f){return o(r(s,c,l,u,f))}})},91069:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{iaddh:function(o,a,s,c){var l=o>>>0,u=a>>>0,f=s>>>0;return u+(c>>>0)+((l&f|(l|f)&~(l+f>>>0))>>>31)|0}})},18886:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{imulh:function(o,a){var s=65535,c=+o,l=+a,u=c&s,f=l&s,p=c>>16,h=l>>16,y=(p*f>>>0)+(u*f>>>16);return p*h+(y>>16)+((u*h>>>0)+(y&s)>>16)}})},88065:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{isubh:function(o,a,s,c){var l=o>>>0,u=a>>>0,f=s>>>0;return u-(c>>>0)-((~l&f|~(l^f)&l-f>>>0)>>>31)|0}})},68172:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},60445:function(v,m,e){"use strict";var t=e(79989),r=Math.PI/180;t({target:"Math",stat:!0,forced:!0},{radians:function(a){return a*r}})},99457:function(v,m,e){"use strict";var t=e(79989),r=e(84463);t({target:"Math",stat:!0,forced:!0},{scale:r})},613:function(v,m,e){"use strict";var t=e(79989),r=e(85027),o=e(70046),a=e(30974),s=e(27807),c=e(618),l="Seeded Random",u=l+" Generator",f='Math.seededPRNG() argument should have a "seed" field with a finite value.',p=c.set,h=c.getterFor(u),y=TypeError,d=a(function(S){p(this,{type:u,seed:S%2147483647})},l,function(){var S=h(this),x=S.seed=(S.seed*1103515245+12345)%2147483647;return s((x&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(S){var x=r(S).seed;if(!o(x))throw new y(f);return new d(x)}})},835:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{signbit:function(o){var a=+o;return a===a&&a===0?1/a===-1/0:a<0}})},926:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{umulh:function(o,a){var s=65535,c=+o,l=+a,u=c&s,f=l&s,p=c>>>16,h=l>>>16,y=(p*f>>>0)+(u*f>>>16);return p*h+(y>>>16)+((u*h>>>0)+(y&s)>>>16)}})},82899:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(68700),a="Invalid number representation",s="Invalid radix",c=RangeError,l=SyntaxError,u=TypeError,f=parseInt,p=Math.pow,h=/^[\d.a-z]+$/,y=r("".charAt),d=r(h.exec),b=r(1 .toString),S=r("".slice),x=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(w,T){var F=1;if(typeof w!="string")throw new u(a);if(!w.length)throw new l(a);if(y(w,0)==="-"&&(F=-1,w=S(w,1),!w.length))throw new l(a);var P=T===void 0?10:o(T);if(P<2||P>36)throw new c(s);if(!d(h,w))throw new l(a);var R=x(w,"."),H=f(R[0],P);if(R.length>1&&(H+=f(R[1],P)/p(P,R[1].length)),P===10&&b(H,P)!==w)throw new l(a);return F*H}})},29977:function(v,m,e){"use strict";var t=e(79989),r=e(98554);t({target:"Number",stat:!0,forced:!0},{range:function(a,s,c){return new r(a,s,c,"number",0,1)}})},31927:function(v,m,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateEntries:function(a){return new r(a,"entries")}})},77131:function(v,m,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateKeys:function(a){return new r(a,"keys")}})},55174:function(v,m,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateValues:function(a){return new r(a,"values")}})},63503:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(67697),a=e(14241),s=e(10509),c=e(85027),l=e(767),u=e(69985),f=e(981),p=e(48999),h=e(54849),y=e(11880),d=e(6045),b=e(62148),S=e(20920),x=e(44201),E=e(618),w=x("observable"),T="Observable",F="Subscription",P="SubscriptionObserver",R=E.getterFor,H=E.set,se=R(T),k=R(F),Q=R(P),q=function(ee){this.observer=c(ee),this.cleanup=void 0,this.subscriptionObserver=void 0};q.prototype={type:F,clean:function(){var ee=this.cleanup;if(ee){this.cleanup=void 0;try{ee()}catch($){S($)}}},close:function(){if(!o){var ee=this.facade,$=this.subscriptionObserver;ee.closed=!0,$&&($.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var ie=function(ee,$){var B=H(this,new q(ee)),j;o||(this.closed=!1);try{(j=h(ee,"start"))&&r(j,ee,this)}catch(fe){S(fe)}if(!B.isClosed()){var C=B.subscriptionObserver=new Z(B);try{var N=$(C),ne=N;f(N)||(B.cleanup=u(N.unsubscribe)?function(){ne.unsubscribe()}:s(N))}catch(fe){C.error(fe);return}B.isClosed()&&B.clean()}};ie.prototype=d({},{unsubscribe:function(){var $=k(this);$.isClosed()||($.close(),$.clean())}}),o&&b(ie.prototype,"closed",{configurable:!0,get:function(){return k(this).isClosed()}});var Z=function(ee){H(this,{type:P,subscriptionState:ee}),o||(this.closed=!1)};Z.prototype=d({},{next:function($){var B=Q(this).subscriptionState;if(!B.isClosed()){var j=B.observer;try{var C=h(j,"next");C&&r(C,j,$)}catch(N){S(N)}}},error:function($){var B=Q(this).subscriptionState;if(!B.isClosed()){var j=B.observer;B.close();try{var C=h(j,"error");C?r(C,j,$):S($)}catch(N){S(N)}B.clean()}},complete:function(){var $=Q(this).subscriptionState;if(!$.isClosed()){var B=$.observer;$.close();try{var j=h(B,"complete");j&&r(j,B)}catch(C){S(C)}$.clean()}}}),o&&b(Z.prototype,"closed",{configurable:!0,get:function(){return Q(this).subscriptionState.isClosed()}});var ae=function($){l(this,_),H(this,{type:T,subscriber:s($)})},_=ae.prototype;d(_,{subscribe:function($){var B=arguments.length;return new ie(u($)?{next:$,error:B>1?arguments[1]:void 0,complete:B>2?arguments[2]:void 0}:p($)?$:{},se(this).subscriber)}}),y(_,w,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:ae}),a(T)},9818:function(v,m,e){"use strict";var t=e(79989),r=e(76058),o=e(22615),a=e(85027),s=e(19429),c=e(5185),l=e(54849),u=e(18734),f=e(44201),p=f("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(y){var d=s(this)?this:r("Observable"),b=l(a(y),p);if(b){var S=a(o(b,y));return S.constructor===d?S:new d(function(E){return S.subscribe(E)})}var x=c(y);return new d(function(E){u(x,function(w,T){if(E.next(w),E.closed)return T()},{IS_ITERATOR:!0,INTERRUPTED:!0}),E.complete()})}})},76314:function(v,m,e){"use strict";e(63503),e(9818),e(38771)},38771:function(v,m,e){"use strict";var t=e(79989),r=e(76058),o=e(19429),a=r("Array");t({target:"Observable",stat:!0,forced:!0},{of:function(){for(var c=o(this)?this:r("Observable"),l=arguments.length,u=a(l),f=0;f?@[\\\\\\]^`{|}~"+a+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(f){var p=o(f),h=s(p,0);return(h>47&&h<58?"\\x3":"")+c(p,l,"\\$&")}})},57282:function(v,m,e){"use strict";var t=e(79989),r=e(10029),o=e(61034).add;t({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var s=r(this),c=0,l=arguments.length;c1?arguments[1]:void 0);return a(l,function(f){if(!u(f,f,l))return!1},!0)!==!1}})},96986:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,l=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(f){var p=o(this),h=r(f,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(d){h(d,d,p)&&l(y,d)}),y}})},95681:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(48774);t({target:"Set",proto:!0,real:!0,forced:!0},{find:function(c){var l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0),f=a(l,function(p){if(u(p,p,l))return{value:p}},!0);return f&&f.value}})},13781:function(v,m,e){"use strict";var t=e(79989),r=e(28737);t({target:"Set",stat:!0,forced:!0},{from:r})},98873:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(72948);t({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(c){return r(a,this,o(c))}})},33442:function(v,m,e){"use strict";var t=e(79989),r=e(3689),o=e(72948),a=e(53234),s=!a("intersection")||r(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});t({target:"Set",proto:!0,real:!0,forced:s},{intersection:o})},50308:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(97795);t({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(c){return r(a,this,o(c))}})},61964:function(v,m,e){"use strict";var t=e(79989),r=e(97795),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:r})},18955:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(26951);t({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(c){return r(a,this,o(c))}})},69878:function(v,m,e){"use strict";var t=e(79989),r=e(26951),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:r})},65115:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(3894);t({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(c){return r(a,this,o(c))}})},52915:function(v,m,e){"use strict";var t=e(79989),r=e(3894),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:r})},19490:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(10029),a=e(48774),s=e(34327),c=r([].join),l=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(f){var p=o(this),h=f===void 0?",":s(f),y=[];return a(p,function(d){l(y,d)}),c(y,h)}})},95752:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,l=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(f){var p=o(this),h=r(f,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(d){l(y,h(d,d,p))}),y}})},32789:function(v,m,e){"use strict";var t=e(79989),r=e(1114);t({target:"Set",stat:!0,forced:!0},{of:r})},27913:function(v,m,e){"use strict";var t=e(79989),r=e(10509),o=e(10029),a=e(48774),s=TypeError;t({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(l){var u=o(this),f=arguments.length<2,p=f?void 0:arguments[1];if(r(l),a(u,function(h){f?(f=!1,p=h):p=l(p,h,h,u)}),f)throw new s("Reduce of empty set with no initial value");return p}})},6831:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(48774);t({target:"Set",proto:!0,real:!0,forced:!0},{some:function(c){var l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0);return a(l,function(f){if(u(f,f,l))return!0},!0)===!0}})},90243:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(62289);t({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(c){return r(a,this,o(c))}})},97895:function(v,m,e){"use strict";var t=e(79989),r=e(62289),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:r})},98030:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(75674);t({target:"Set",proto:!0,real:!0,forced:!0},{union:function(c){return r(a,this,o(c))}})},22275:function(v,m,e){"use strict";var t=e(79989),r=e(75674),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:r})},86220:function(v,m,e){"use strict";var t=e(79989),r=e(10730).charAt,o=e(74684),a=e(68700),s=e(34327);t({target:"String",proto:!0,forced:!0},{at:function(l){var u=s(o(this)),f=u.length,p=a(l),h=p>=0?p:f+p;return h<0||h>=f?void 0:r(u,h)}})},95853:function(v,m,e){"use strict";var t=e(79989),r=e(30974),o=e(27807),a=e(74684),s=e(34327),c=e(618),l=e(10730),u=l.codeAt,f=l.charAt,p="String Iterator",h=c.set,y=c.getterFor(p),d=r(function(S){h(this,{type:p,string:S,index:0})},"String",function(){var S=y(this),x=S.string,E=S.index,w;return E>=x.length?o(void 0,!0):(w=f(x,E),S.index+=w.length,o({codePoint:u(w,0),position:E},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new d(s(a(this)))}})},21917:function(v,m,e){"use strict";var t=e(79989),r=e(8195);t({target:"String",stat:!0,forced:!0},{cooked:r})},66084:function(v,m,e){"use strict";var t=e(71594),r=e(79989),o=e(98702),a=e(68844),s=e(61735),c=e(85027),l=e(90690),u=e(69985),f=e(6310),p=e(72560).f,h=e(9015),y=e(16803),d=e(8195),b=e(98985),S=e(86350),x=new y.WeakMap,E=y.get,w=y.has,T=y.set,F=Array,P=TypeError,R=Object.freeze||Object,H=Object.isFrozen,se=Math.min,k=a("".charAt),Q=a("".slice),q=a("".split),ie=a(/./.exec),Z=/([\n\u2028\u2029]|\r\n?)/g,ae=RegExp("^["+S+"]*"),_=RegExp("[^"+S+"]"),ee="Invalid tag",$="Invalid opening line",B="Invalid closing line",j=function(J){var he=J.raw;if(t&&!H(he))throw new P("Raw template should be frozen");if(w(x,he))return E(x,he);var Ce=C(he),Ze=ne(Ce);return p(Ze,"raw",{value:R(Ce)}),R(Ze),T(x,he,Ze),Ze},C=function(J){var he=l(J),Ce=f(he),Ze=F(Ce),ke=F(Ce),Qe=0,pt,It,ot,St;if(!Ce)throw new P(ee);for(;Qe0)throw new P($);pt[1]=""}if(Se){if(pt.length===1||ie(_,pt[pt.length-1]))throw new P(B);pt[pt.length-2]="",pt[pt.length-1]=""}for(var Y=2;Y1?arguments[1]:void 0);return o(this,u)},!0)},59359:function(v,m,e){"use strict";var t=e(54872),r=e(2960).filterReject,o=e(20716),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(l){var u=r(a(this),l,arguments.length>1?arguments[1]:void 0);return o(this,u)},!0)},76677:function(v,m,e){"use strict";var t=e(76058),r=e(52655),o=e(2231),a=e(54872),s=e(59976),c=a.aTypedArrayConstructor,l=a.exportTypedArrayStaticMethod;l("fromAsync",function(f){var p=this,h=arguments.length,y=h>1?arguments[1]:void 0,d=h>2?arguments[2]:void 0;return new(t("Promise"))(function(b){r(p),b(o(f,y,d))}).then(function(b){return s(c(p),b)})},!0)},30548:function(v,m,e){"use strict";var t=e(54872),r=e(64976),o=e(47338),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(l){var u=arguments.length>1?arguments[1]:void 0;return r(a(this),l,u,o)},!0)},915:function(v,m,e){"use strict";var t=e(54872),r=e(6310),o=e(9401),a=e(27578),s=e(71530),c=e(68700),l=e(3689),u=t.aTypedArray,f=t.getTypedArrayConstructor,p=t.exportTypedArrayMethod,h=Math.max,y=Math.min,d=!l(function(){var b=new Int8Array([1]),S=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return S[0]!==2||S[1]!==3});p("toSpliced",function(S,x){var E=u(this),w=f(E),T=r(E),F=a(S,T),P=arguments.length,R=0,H,se,k,Q,q,ie,Z;if(P===0)H=se=0;else if(P===1)H=0,se=T-F;else if(se=y(h(c(x),0),T-F),H=P-2,H){Q=new w(H),k=o(Q);for(var ae=2;ae1?a(arguments[1]):void 0,H=f(R)==="base64"?p:h,se=R?!!R.strict:!1,k=se?P:S(P,w,"");if(k.length%4===0)x(k,-2)==="=="?k=x(k,0,-2):x(k,-1)==="="&&(k=x(k,0,-1));else if(se)throw new d("Input is not correctly padded");var Q=k.length%4;switch(Q){case 1:throw new d("Bad input length");case 2:k+="AA";break;case 3:k+="A"}for(var q=[],ie=0,Z=k.length,ae=function($){var B=b(k,ie+$);if(!c(H,B))throw new d('Bad char in input: "'+B+'"');return H[B]<<18-6*$};ie>16&255,_>>8&255,_&255)}var ee=q.length;if(Q===2){if(se&&q[ee-2]!==0)throw new d(T);ee-=2}else if(Q===3){if(se&&q[ee-1]!==0)throw new d(T);ee--}return l(y,q,ee)}})},91117:function(v,m,e){"use strict";var t=e(79989),r=e(19037),o=e(68844),a=e(51082),s=r.Uint8Array,c=r.SyntaxError,l=r.parseInt,u=/[^\da-f]/i,f=o(u.exec),p=o("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(y){a(y);var d=y.length;if(d%2)throw new c("String should have an even number of characters");if(f(u,y))throw new c("String should only contain hex characters");for(var b=new s(d/2),S=0;S>6*P&63)};E+21&&!p(arguments[1])?b(arguments[1]):void 0,Ie=G?G.transfer:void 0,We,je;Ie!==void 0&&(We=new j,je=Oe(Ie,We));var Fe=de(re,We);return je&&Je(je),Fe}})},98858:function(v,m,e){"use strict";var t=e(11880),r=e(68844),o=e(34327),a=e(21500),s=URLSearchParams,c=s.prototype,l=r(c.append),u=r(c.delete),f=r(c.forEach),p=r([].push),h=new s("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&t(c,"delete",function(y){var d=arguments.length,b=d<2?void 0:arguments[1];if(d&&b===void 0)return u(this,y);var S=[];f(this,function(H,se){p(S,{key:se,value:H})}),a(d,1);for(var x=o(y),E=o(b),w=0,T=0,F=!1,P=S.length,R;wr.length)&&(o=r.length);for(var a=0,s=new Array(o);a=o.length?{done:!0}:{done:!1,value:o[c++]}},e:function(y){throw y},f:l}}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 u=!0,f=!1,p;return{s:function(){s=s.call(o)},n:function(){var y=s.next();return u=y.done,y},e:function(y){f=!0,p=y},f:function(){try{!u&&s.return!=null&&s.return()}finally{if(f)throw p}}}}},29388:function(v,m,e){"use strict";e.d(m,{Z:function(){return a}});var t=e(61120),r=e(78814),o=e(82963);function a(s){var c=(0,r.Z)();return function(){var u=(0,t.Z)(s),f;if(c){var p=(0,t.Z)(this).constructor;f=Reflect.construct(u,arguments,p)}else f=u.apply(this,arguments);return(0,o.Z)(this,f)}}},4942:function(v,m,e){"use strict";e.d(m,{Z:function(){return r}});var t=e(83997);function r(o,a,s){return a=(0,t.Z)(a),a in o?Object.defineProperty(o,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[a]=s,o}},87462:function(v,m,e){"use strict";e.d(m,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)&&(s[l]=o[l]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},82963:function(v,m,e){"use strict";e.d(m,{Z:function(){return o}});var t=e(71002),r=e(97326);function o(a,s){if(s&&((0,t.Z)(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(a)}},74165:function(v,m,e){"use strict";e.d(m,{Z:function(){return r}});var t=e(71002);function r(){"use strict";r=function(){return a};var o,a={},s=Object.prototype,c=s.hasOwnProperty,l=Object.defineProperty||function(j,C,N){j[C]=N.value},u=typeof Symbol=="function"?Symbol:{},f=u.iterator||"@@iterator",p=u.asyncIterator||"@@asyncIterator",h=u.toStringTag||"@@toStringTag";function y(j,C,N){return Object.defineProperty(j,C,{value:N,enumerable:!0,configurable:!0,writable:!0}),j[C]}try{y({},"")}catch(j){y=function(N,ne,fe){return N[ne]=fe}}function d(j,C,N,ne){var fe=C&&C.prototype instanceof F?C:F,te=Object.create(fe.prototype),J=new $(ne||[]);return l(te,"_invoke",{value:Z(j,N,J)}),te}function b(j,C,N){try{return{type:"normal",arg:j.call(C,N)}}catch(ne){return{type:"throw",arg:ne}}}a.wrap=d;var S="suspendedStart",x="suspendedYield",E="executing",w="completed",T={};function F(){}function P(){}function R(){}var H={};y(H,f,function(){return this});var se=Object.getPrototypeOf,k=se&&se(se(B([])));k&&k!==s&&c.call(k,f)&&(H=k);var Q=R.prototype=F.prototype=Object.create(H);function q(j){["next","throw","return"].forEach(function(C){y(j,C,function(N){return this._invoke(C,N)})})}function ie(j,C){function N(fe,te,J,he){var Ce=b(j[fe],j,te);if(Ce.type!=="throw"){var Ze=Ce.arg,ke=Ze.value;return ke&&(0,t.Z)(ke)=="object"&&c.call(ke,"__await")?C.resolve(ke.__await).then(function(Qe){N("next",Qe,J,he)},function(Qe){N("throw",Qe,J,he)}):C.resolve(ke).then(function(Qe){Ze.value=Qe,J(Ze)},function(Qe){return N("throw",Qe,J,he)})}he(Ce.arg)}var ne;l(this,"_invoke",{value:function(te,J){function he(){return new C(function(Ce,Ze){N(te,J,Ce,Ze)})}return ne=ne?ne.then(he,he):he()}})}function Z(j,C,N){var ne=S;return function(fe,te){if(ne===E)throw new Error("Generator is already running");if(ne===w){if(fe==="throw")throw te;return{value:o,done:!0}}for(N.method=fe,N.arg=te;;){var J=N.delegate;if(J){var he=ae(J,N);if(he){if(he===T)continue;return he}}if(N.method==="next")N.sent=N._sent=N.arg;else if(N.method==="throw"){if(ne===S)throw ne=w,N.arg;N.dispatchException(N.arg)}else N.method==="return"&&N.abrupt("return",N.arg);ne=E;var Ce=b(j,C,N);if(Ce.type==="normal"){if(ne=N.done?w:x,Ce.arg===T)continue;return{value:Ce.arg,done:N.done}}Ce.type==="throw"&&(ne=w,N.method="throw",N.arg=Ce.arg)}}}function ae(j,C){var N=C.method,ne=j.iterator[N];if(ne===o)return C.delegate=null,N==="throw"&&j.iterator.return&&(C.method="return",C.arg=o,ae(j,C),C.method==="throw")||N!=="return"&&(C.method="throw",C.arg=new TypeError("The iterator does not provide a '"+N+"' method")),T;var fe=b(ne,j.iterator,C.arg);if(fe.type==="throw")return C.method="throw",C.arg=fe.arg,C.delegate=null,T;var te=fe.arg;return te?te.done?(C[j.resultName]=te.value,C.next=j.nextLoc,C.method!=="return"&&(C.method="next",C.arg=o),C.delegate=null,T):te:(C.method="throw",C.arg=new TypeError("iterator result is not an object"),C.delegate=null,T)}function _(j){var C={tryLoc:j[0]};1 in j&&(C.catchLoc=j[1]),2 in j&&(C.finallyLoc=j[2],C.afterLoc=j[3]),this.tryEntries.push(C)}function ee(j){var C=j.completion||{};C.type="normal",delete C.arg,j.completion=C}function $(j){this.tryEntries=[{tryLoc:"root"}],j.forEach(_,this),this.reset(!0)}function B(j){if(j||j===""){var C=j[f];if(C)return C.call(j);if(typeof j.next=="function")return j;if(!isNaN(j.length)){var N=-1,ne=function fe(){for(;++N=0;--fe){var te=this.tryEntries[fe],J=te.completion;if(te.tryLoc==="root")return ne("end");if(te.tryLoc<=this.prev){var he=c.call(te,"catchLoc"),Ce=c.call(te,"finallyLoc");if(he&&Ce){if(this.prev=0;--ne){var fe=this.tryEntries[ne];if(fe.tryLoc<=this.prev&&c.call(fe,"finallyLoc")&&this.prev=0;--N){var ne=this.tryEntries[N];if(ne.finallyLoc===C)return this.complete(ne.completion,ne.afterLoc),ee(ne),T}},catch:function(C){for(var N=this.tryEntries.length-1;N>=0;--N){var ne=this.tryEntries[N];if(ne.tryLoc===C){var fe=ne.completion;if(fe.type==="throw"){var te=fe.arg;ee(ne)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(C,N,ne){return this.delegate={iterator:B(C),resultName:N,nextLoc:ne},this.method==="next"&&(this.arg=o),T}},a}},97685:function(v,m,e){"use strict";e.d(m,{Z:function(){return s}});var t=e(83878);function r(c,l){var u=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(u!=null){var f,p,h,y,d=[],b=!0,S=!1;try{if(h=(u=u.call(c)).next,l===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(f=h.call(u)).done)&&(d.push(f.value),d.length!==l);b=!0);}catch(x){S=!0,p=x}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw p}}return d}}var o=e(40181),a=e(25267);function s(c,l){return(0,t.Z)(c)||r(c,l)||(0,o.Z)(c,l)||(0,a.Z)()}},84506:function(v,m,e){"use strict";e.d(m,{Z:function(){return s}});var t=e(83878),r=e(59199),o=e(40181),a=e(25267);function s(c){return(0,t.Z)(c)||(0,r.Z)(c)||(0,o.Z)(c)||(0,a.Z)()}},74902:function(v,m,e){"use strict";e.d(m,{Z:function(){return c}});var t=e(30907);function r(l){if(Array.isArray(l))return(0,t.Z)(l)}var o=e(59199),a=e(40181);function s(){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 c(l){return r(l)||(0,o.Z)(l)||(0,a.Z)(l)||s()}},83997:function(v,m,e){"use strict";e.d(m,{Z:function(){return o}});var t=e(71002);function r(a,s){if((0,t.Z)(a)!="object"||!a)return a;var c=a[Symbol.toPrimitive];if(c!==void 0){var l=c.call(a,s||"default");if((0,t.Z)(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}function o(a){var s=r(a,"string");return(0,t.Z)(s)=="symbol"?s:String(s)}},71002:function(v,m,e){"use strict";e.d(m,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},t(r)}},40181:function(v,m,e){"use strict";e.d(m,{Z:function(){return r}});var t=e(30907);function r(o,a){if(o){if(typeof o=="string")return(0,t.Z)(o,a);var s=Object.prototype.toString.call(o).slice(8,-1);if(s==="Object"&&o.constructor&&(s=o.constructor.name),s==="Map"||s==="Set")return Array.from(o);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return(0,t.Z)(o,a)}}},58096:function(v,m,e){"use strict";e.d(m,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)&&(s[l]=o[l]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,m,e){"use strict";e.d(m,{J$:function(){return We},ZP:function(){return je},kY:function(){return M}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=Fe=>Fe===a,l=Fe=>typeof Fe=="function",u=(Fe,me)=>Ul(Ul({},Fe),me),f=Fe=>l(Fe.then),p=new WeakMap;let h=0;const y=Fe=>{const me=typeof Fe,be=Fe&&Fe.constructor,Le=be==Date;let ze,et;if(s(Fe)===Fe&&!Le&&be!=RegExp){if(ze=p.get(Fe),ze)return ze;if(ze=++h+"~",p.set(Fe,ze),be==Array){for(ze="@",et=0;etE&&typeof window.requestAnimationFrame!=x,F=(Fe,me)=>{const be=d.get(Fe);return[()=>!c(me)&&Fe.get(me)||b,Le=>{if(!c(me)){const ze=Fe.get(me);me in S||(S[me]=ze),be[5](me,u(ze,Le),ze||b)}},be[6],()=>!c(me)&&me in S?S[me]:!c(me)&&Fe.get(me)||b]};let P=!0;const R=()=>P,[H,se]=E&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],k=()=>{const Fe=w&&document.visibilityState;return c(Fe)||Fe!=="hidden"},Q=Fe=>(w&&document.addEventListener("visibilitychange",Fe),H("focus",Fe),()=>{w&&document.removeEventListener("visibilitychange",Fe),se("focus",Fe)}),q=Fe=>{const me=()=>{P=!0,Fe()},be=()=>{P=!1};return H("online",me),H("offline",be),()=>{se("online",me),se("offline",be)}},ie={isOnline:R,isVisible:k},Z={initFocus:Q,initReconnect:q},ae=!t.useId,_=!E||"Deno"in window,ee=Fe=>T()?window.requestAnimationFrame(Fe):setTimeout(Fe,1),$=_?t.useEffect:t.useLayoutEffect,B=typeof navigator!="undefined"&&navigator.connection,j=!_&&B&&(["slow-2g","2g"].includes(B.effectiveType)||B.saveData),C=Fe=>{if(l(Fe))try{Fe=Fe()}catch(be){Fe=""}const me=Fe;return Fe=typeof Fe=="string"?Fe:(Array.isArray(Fe)?Fe.length:Fe)?y(Fe):"",[Fe,me]};let N=0;const ne=()=>++N,fe=0,te=1,J=2;var Ce={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:fe,MUTATE_EVENT:J,RECONNECT_EVENT:te};function Ze(...Fe){return Lu(this,null,function*(){const[me,be,Le,ze]=Fe,et=u({populateCache:!0,throwOnError:!0},typeof ze=="boolean"?{revalidate:ze}:ze||{});let He=et.populateCache;const Ye=et.rollbackOnError;let Ee=et.optimisticData;const Ne=st=>typeof Ye=="function"?Ye(st):Ye!==!1,ve=et.throwOnError;if(l(be)){const st=be,ct=[],Pe=me.keys();for(const Ke of Pe)!/^\$(inf|sub)\$/.test(Ke)&&st(me.get(Ke)._k)&&ct.push(Ke);return Promise.all(ct.map(Ve))}return Ve(be);function Ve(st){return Lu(this,null,function*(){const[ct]=C(st);if(!ct)return;const[Pe,Ke]=F(me,ct),[_e,qe,yt,Rt]=d.get(me),Zt=()=>{const yn=_e[ct];return(l(et.revalidate)?et.revalidate(Pe().data,st):et.revalidate!==!1)&&(delete yt[ct],delete Rt[ct],yn&&yn[0])?yn[0](J).then(()=>Pe().data):Pe().data};if(Fe.length<3)return Zt();let At=Le,Pt;const vt=ne();qe[ct]=[vt,0];const Ct=!c(Ee),Nt=Pe(),En=Nt.data,Sn=Nt._c,Pn=c(Sn)?En:Sn;if(Ct&&(Ee=l(Ee)?Ee(Pn,En):Ee,Ke({data:Ee,_c:Pn})),l(At))try{At=At(Pn)}catch(yn){Pt=yn}if(At&&f(At))if(At=yield At.catch(yn=>{Pt=yn}),vt!==qe[ct][0]){if(Pt)throw Pt;return At}else Pt&&Ct&&Ne(Pt)&&(He=!0,Ke({data:Pn,_c:a}));if(He&&!Pt)if(l(He)){const yn=He(At,Pn);Ke({data:yn,error:a,_c:a})}else Ke({data:At,error:a,_c:a});if(qe[ct][1]=ne(),Promise.resolve(Zt()).then(()=>{Ke({_c:a})}),Pt){if(ve)throw Pt;return}return At})}})}const ke=(Fe,me)=>{for(const be in Fe)Fe[be][0]&&Fe[be][0](me)},Qe=(Fe,me)=>{if(!d.has(Fe)){const be=u(Z,me),Le={},ze=Ze.bind(a,Fe);let et=o;const He={},Ye=(ve,Ve)=>{const st=He[ve]||[];return He[ve]=st,st.push(Ve),()=>st.splice(st.indexOf(Ve),1)},Ee=(ve,Ve,st)=>{Fe.set(ve,Ve);const ct=He[ve];if(ct)for(const Pe of ct)Pe(Ve,st)},Ne=()=>{if(!d.has(Fe)&&(d.set(Fe,[Le,{},{},{},ze,Ee,Ye]),!_)){const ve=be.initFocus(setTimeout.bind(a,ke.bind(a,Le,fe))),Ve=be.initReconnect(setTimeout.bind(a,ke.bind(a,Le,te)));et=()=>{ve&&ve(),Ve&&Ve(),d.delete(Fe)}}};return Ne(),[Fe,ze,Ne,et]}return[Fe,d.get(Fe)[4]]},pt=(Fe,me,be,Le,ze)=>{const et=be.errorRetryCount,He=ze.retryCount,Ye=~~((Math.random()+.5)*(1<<(He<8?He:8)))*be.errorRetryInterval;!c(et)&&He>et||setTimeout(Le,Ye,ze)},It=(Fe,me)=>y(Fe)==y(me),[ot,St]=Qe(new Map),lt=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:pt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:j?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:j?5e3:3e3,compare:It,isPaused:()=>!1,cache:ot,mutate:St,fallback:{}},ie),Se=(Fe,me)=>{const be=u(Fe,me);if(me){const{use:Le,fallback:ze}=Fe,{use:et,fallback:He}=me;Le&&et&&(be.use=Le.concat(et)),ze&&He&&(be.fallback=u(ze,He))}return be},Y=(0,t.createContext)({}),I=Fe=>{const{value:me}=Fe,be=(0,t.useContext)(Y),Le=l(me),ze=(0,t.useMemo)(()=>Le?me(be):me,[Le,be,me]),et=(0,t.useMemo)(()=>Le?ze:Se(be,ze),[Le,be,ze]),He=ze&&ze.provider,Ye=(0,t.useRef)(a);He&&!Ye.current&&(Ye.current=Qe(He(et.cache||ot),ze));const Ee=Ye.current;return Ee&&(et.cache=Ee[0],et.mutate=Ee[1]),$(()=>{if(Ee)return Ee[2]&&Ee[2](),Ee[3]},[]),(0,t.createElement)(Y.Provider,u(Fe,{value:et}))},L="$inf$",ce=E&&window.__SWR_DEVTOOLS_USE__,V=ce?window.__SWR_DEVTOOLS_USE__:[],D=()=>{ce&&(window.__SWR_DEVTOOLS_REACT__=t)},A=Fe=>l(Fe[1])?[Fe[0],Fe[1],Fe[2]||{}]:[Fe[0],null,(Fe[1]===null?Fe[2]:Fe[1])||{}],M=()=>u(lt,(0,t.useContext)(Y)),z=(Fe,me)=>{const[be,Le]=C(Fe),[,,,ze]=d.get(ot);if(ze[be])return ze[be];const et=me(Le);return ze[be]=et,et},K=Fe=>(me,be,Le)=>Fe(me,be&&((...et)=>{const[He]=C(me),[,,,Ye]=d.get(ot);if(He.startsWith(L))return be(...et);const Ee=Ye[He];return c(Ee)?be(...et):(delete Ye[He],Ee)}),Le),le=V.concat(K),de=Fe=>function(...be){const Le=M(),[ze,et,He]=A(be),Ye=Se(Le,He);let Ee=Fe;const{use:Ne}=Ye,ve=(Ne||[]).concat(le);for(let Ve=ve.length;Ve--;)Ee=ve[Ve](Ee);return Ee(ze,et||Ye.fetcher||null,Ye)},Oe=(Fe,me,be)=>{const Le=me[Fe]||(me[Fe]=[]);return Le.push(be),()=>{const ze=Le.indexOf(be);ze>=0&&(Le[ze]=Le[Le.length-1],Le.pop())}},Je=(Fe,me)=>(...be)=>{const[Le,ze,et]=A(be),He=(et.use||[]).concat(me);return Fe(Le,ze,Qc(Ul({},et),{use:He}))};D();const X=Fe=>serialize(Fe)[0],re=t.use||(Fe=>{if(Fe.status==="pending")throw Fe;if(Fe.status==="fulfilled")return Fe.value;throw Fe.status==="rejected"?Fe.reason:(Fe.status="pending",Fe.then(me=>{Fe.status="fulfilled",Fe.value=me},me=>{Fe.status="rejected",Fe.reason=me}),Fe)}),G={dedupe:!0},Ie=(Fe,me,be)=>{const{cache:Le,compare:ze,suspense:et,fallbackData:He,revalidateOnMount:Ye,revalidateIfStale:Ee,refreshInterval:Ne,refreshWhenHidden:ve,refreshWhenOffline:Ve,keepPreviousData:st}=be,[ct,Pe,Ke,_e]=d.get(Le),[qe,yt]=C(Fe),Rt=(0,t.useRef)(!1),Zt=(0,t.useRef)(!1),At=(0,t.useRef)(qe),Pt=(0,t.useRef)(me),vt=(0,t.useRef)(be),Ct=()=>vt.current,Nt=()=>Ct().isVisible()&&Ct().isOnline(),[En,Sn,Pn,yn]=F(Le,qe),at=(0,t.useRef)({}).current,Be=c(He)?be.fallback[qe]:He,bt=(ht,$t)=>{for(const Ot in at){const Ht=Ot;if(Ht==="data"){if(!ze(ht[Ht],$t[Ht])&&(!c(ht[Ht])||!ze(An,$t[Ht])))return!1}else if($t[Ht]!==ht[Ht])return!1}return!0},Tt=(0,t.useMemo)(()=>{const ht=(()=>!qe||!me?!1:c(Ye)?Ct().isPaused()||et?!1:c(Ee)?!0:Ee:Ye)(),$t=pn=>{const wn=u(pn);return delete wn._k,ht?Ul({isValidating:!0,isLoading:!0},wn):wn},Ot=En(),Ht=yn(),Bt=$t(Ot),tn=Ot===Ht?Bt:$t(Ht);let fn=Bt;return[()=>{const pn=$t(En());return bt(pn,fn)?(fn.data=pn.data,fn.isLoading=pn.isLoading,fn.isValidating=pn.isValidating,fn.error=pn.error,fn):(fn=pn,pn)},()=>tn]},[Le,qe]),jt=(0,r.useSyncExternalStore)((0,t.useCallback)(ht=>Pn(qe,($t,Ot)=>{bt(Ot,$t)||ht()}),[Le,qe]),Tt[0],Tt[1]),Yt=!Rt.current,en=ct[qe]&&ct[qe].length>0,xn=jt.data,Rn=c(xn)?Be:xn,Fn=jt.error,_n=(0,t.useRef)(Rn),An=st?c(xn)?_n.current:xn:Rn,Xn=(()=>en&&!c(Fn)?!1:Yt&&!c(Ye)?Ye:Ct().isPaused()?!1:et?c(Rn)?!1:Ee:c(Rn)||Ee)(),rn=!!(qe&&me&&Yt&&Xn),qn=c(jt.isValidating)?rn:jt.isValidating,Jt=c(jt.isLoading)?rn:jt.isLoading,on=(0,t.useCallback)(ht=>Lu(this,null,function*(){const $t=Pt.current;if(!qe||!$t||Zt.current||Ct().isPaused())return!1;let Ot,Ht,Bt=!0;const tn=ht||{},fn=!Ke[qe]||!tn.dedupe,pn=()=>ae?!Zt.current&&qe===At.current&&Rt.current:qe===At.current,wn={isValidating:!1,isLoading:!1},Jn=()=>{Sn(wn)},Tn=()=>{const Dn=Ke[qe];Dn&&Dn[1]===Ht&&delete Ke[qe]},Zn={isValidating:!0};c(En().data)&&(Zn.isLoading=!0);try{if(fn&&(Sn(Zn),be.loadingTimeout&&c(En().data)&&setTimeout(()=>{Bt&&pn()&&Ct().onLoadingSlow(qe,be)},be.loadingTimeout),Ke[qe]=[$t(yt),ne()]),[Ot,Ht]=Ke[qe],Ot=yield Ot,fn&&setTimeout(Tn,be.dedupingInterval),!Ke[qe]||Ke[qe][1]!==Ht)return fn&&pn()&&Ct().onDiscarded(qe),!1;wn.error=a;const Dn=Pe[qe];if(!c(Dn)&&(Ht<=Dn[0]||Ht<=Dn[1]||Dn[1]===0))return Jn(),fn&&pn()&&Ct().onDiscarded(qe),!1;const Nn=En().data;wn.data=ze(Nn,Ot)?Nn:Ot,fn&&pn()&&Ct().onSuccess(Ot,qe,be)}catch(Dn){Tn();const Nn=Ct(),{shouldRetryOnError:xr}=Nn;Nn.isPaused()||(wn.error=Dn,fn&&pn()&&(Nn.onError(Dn,qe,Nn),(xr===!0||l(xr)&&xr(Dn))&&(!Ct().revalidateOnFocus||!Ct().revalidateOnReconnect||Nt())&&Nn.onErrorRetry(Dn,qe,Nn,Me=>{const Te=ct[qe];Te&&Te[0]&&Te[0](Ce.ERROR_REVALIDATE_EVENT,Me)},{retryCount:(tn.retryCount||0)+1,dedupe:!0})))}return Bt=!1,Jn(),!0}),[qe,Le]),ft=(0,t.useCallback)((...ht)=>Ze(Le,At.current,...ht),[]);if($(()=>{Pt.current=me,vt.current=be,c(xn)||(_n.current=xn)}),$(()=>{if(!qe)return;const ht=on.bind(a,G);let $t=0;const Ht=Oe(qe,ct,(Bt,tn={})=>{if(Bt==Ce.FOCUS_EVENT){const fn=Date.now();Ct().revalidateOnFocus&&fn>$t&&Nt()&&($t=fn+Ct().focusThrottleInterval,ht())}else if(Bt==Ce.RECONNECT_EVENT)Ct().revalidateOnReconnect&&Nt()&&ht();else{if(Bt==Ce.MUTATE_EVENT)return on();if(Bt==Ce.ERROR_REVALIDATE_EVENT)return on(tn)}});return Zt.current=!1,At.current=qe,Rt.current=!0,Sn({_k:yt}),Xn&&(c(Rn)||_?ht():ee(ht)),()=>{Zt.current=!0,Ht()}},[qe]),$(()=>{let ht;function $t(){const Ht=l(Ne)?Ne(En().data):Ne;Ht&&ht!==-1&&(ht=setTimeout(Ot,Ht))}function Ot(){!En().error&&(ve||Ct().isVisible())&&(Ve||Ct().isOnline())?on(G).then($t):$t()}return $t(),()=>{ht&&(clearTimeout(ht),ht=-1)}},[Ne,ve,Ve,qe]),(0,t.useDebugValue)(An),et&&c(Rn)&&qe){if(!ae&&_)throw new Error("Fallback data is required when using suspense in SSR.");Pt.current=me,vt.current=be,Zt.current=!1;const ht=_e[qe];if(!c(ht)){const $t=ft(ht);re($t)}if(c(Fn)){const $t=on(G);c(An)||($t.status="fulfilled",$t.value=!0),re($t)}else throw Fn}return{mutate:ft,get data(){return at.data=!0,An},get error(){return at.error=!0,Fn},get isValidating(){return at.isValidating=!0,qn},get isLoading(){return at.isLoading=!0,Jt}}},We=s.defineProperty(I,"defaultValue",{value:lt}),je=de(Ie)}},Yo={};function we(v){var m=Yo[v];if(m!==void 0)return m.exports;var e=Yo[v]={id:v,loaded:!1,exports:{}};return hi[v].call(e.exports,e,e.exports,we),e.loaded=!0,e.exports}we.m=hi,function(){we.n=function(v){var m=v&&v.__esModule?function(){return v.default}:function(){return v};return we.d(m,{a:m}),m}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;we.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);we.r(r);var o={};m=m||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~m.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},we.d(r,o),r}}(),function(){we.d=function(v,m){for(var e in m)we.o(m,e)&&!we.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:m[e]})}}(),function(){we.f={},we.e=function(v){return Promise.all(Object.keys(we.f).reduce(function(m,e){return we.f[e](v,m),m},[]))}}(),function(){we.u=function(v){return""+({39:"p__AppManagement",185:"p__Welcome",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",557:"p__Bind",571:"p__404",628:"p__Overview",816:"p__AdminManagement",857:"p__AdvRecordList"}[v]||v)+"."+{39:"16d305c4",51:"d90b1fa5",60:"16c1b5e4",86:"b26c32d8",89:"d8aaef40",134:"957d5baa",168:"01472d0e",169:"c5babfbf",185:"0f971878",301:"6d492b8c",366:"e1ea880f",371:"1e9b299e",390:"41467286",397:"0ef2ea1f",470:"bb8d466d",557:"a80b7711",559:"683b9a7b",571:"0c100574",601:"f0684ea2",628:"45034db4",816:"8c0c25d4",857:"5b127676",905:"745134cb",930:"66e0f98d",991:"a4a764f4"}[v]+".async.js"}}(),function(){we.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){we.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){we.o=function(v,m){return Object.prototype.hasOwnProperty.call(v,m)}}(),function(){var v={},m="ant-design-pro:";we.l=function(e,t,r,o){if(v[e]){v[e].push(t);return}var a,s;if(r!==void 0)for(var c=document.getElementsByTagName("script"),l=0;l=0)&&(s[l]=o[l]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,m,e){"use strict";e.d(m,{J$:function(){return We},ZP:function(){return je},kY:function(){return M}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=Fe=>Fe===a,l=Fe=>typeof Fe=="function",u=(Fe,me)=>Ul(Ul({},Fe),me),f=Fe=>l(Fe.then),p=new WeakMap;let h=0;const y=Fe=>{const me=typeof Fe,be=Fe&&Fe.constructor,Le=be==Date;let ze,et;if(s(Fe)===Fe&&!Le&&be!=RegExp){if(ze=p.get(Fe),ze)return ze;if(ze=++h+"~",p.set(Fe,ze),be==Array){for(ze="@",et=0;etE&&typeof window.requestAnimationFrame!=x,F=(Fe,me)=>{const be=d.get(Fe);return[()=>!c(me)&&Fe.get(me)||b,Le=>{if(!c(me)){const ze=Fe.get(me);me in S||(S[me]=ze),be[5](me,u(ze,Le),ze||b)}},be[6],()=>!c(me)&&me in S?S[me]:!c(me)&&Fe.get(me)||b]};let P=!0;const R=()=>P,[H,se]=E&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],k=()=>{const Fe=w&&document.visibilityState;return c(Fe)||Fe!=="hidden"},Q=Fe=>(w&&document.addEventListener("visibilitychange",Fe),H("focus",Fe),()=>{w&&document.removeEventListener("visibilitychange",Fe),se("focus",Fe)}),q=Fe=>{const me=()=>{P=!0,Fe()},be=()=>{P=!1};return H("online",me),H("offline",be),()=>{se("online",me),se("offline",be)}},ie={isOnline:R,isVisible:k},Z={initFocus:Q,initReconnect:q},ae=!t.useId,_=!E||"Deno"in window,ee=Fe=>T()?window.requestAnimationFrame(Fe):setTimeout(Fe,1),$=_?t.useEffect:t.useLayoutEffect,B=typeof navigator!="undefined"&&navigator.connection,j=!_&&B&&(["slow-2g","2g"].includes(B.effectiveType)||B.saveData),C=Fe=>{if(l(Fe))try{Fe=Fe()}catch(be){Fe=""}const me=Fe;return Fe=typeof Fe=="string"?Fe:(Array.isArray(Fe)?Fe.length:Fe)?y(Fe):"",[Fe,me]};let N=0;const ne=()=>++N,fe=0,te=1,J=2;var Ce={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:fe,MUTATE_EVENT:J,RECONNECT_EVENT:te};function Ze(...Fe){return Lu(this,null,function*(){const[me,be,Le,ze]=Fe,et=u({populateCache:!0,throwOnError:!0},typeof ze=="boolean"?{revalidate:ze}:ze||{});let He=et.populateCache;const Ye=et.rollbackOnError;let Ee=et.optimisticData;const Ne=st=>typeof Ye=="function"?Ye(st):Ye!==!1,ve=et.throwOnError;if(l(be)){const st=be,ct=[],Pe=me.keys();for(const Ke of Pe)!/^\$(inf|sub)\$/.test(Ke)&&st(me.get(Ke)._k)&&ct.push(Ke);return Promise.all(ct.map(Ve))}return Ve(be);function Ve(st){return Lu(this,null,function*(){const[ct]=C(st);if(!ct)return;const[Pe,Ke]=F(me,ct),[_e,qe,yt,Rt]=d.get(me),Zt=()=>{const yn=_e[ct];return(l(et.revalidate)?et.revalidate(Pe().data,st):et.revalidate!==!1)&&(delete yt[ct],delete Rt[ct],yn&&yn[0])?yn[0](J).then(()=>Pe().data):Pe().data};if(Fe.length<3)return Zt();let At=Le,Pt;const vt=ne();qe[ct]=[vt,0];const Ct=!c(Ee),Nt=Pe(),En=Nt.data,Sn=Nt._c,Pn=c(Sn)?En:Sn;if(Ct&&(Ee=l(Ee)?Ee(Pn,En):Ee,Ke({data:Ee,_c:Pn})),l(At))try{At=At(Pn)}catch(yn){Pt=yn}if(At&&f(At))if(At=yield At.catch(yn=>{Pt=yn}),vt!==qe[ct][0]){if(Pt)throw Pt;return At}else Pt&&Ct&&Ne(Pt)&&(He=!0,Ke({data:Pn,_c:a}));if(He&&!Pt)if(l(He)){const yn=He(At,Pn);Ke({data:yn,error:a,_c:a})}else Ke({data:At,error:a,_c:a});if(qe[ct][1]=ne(),Promise.resolve(Zt()).then(()=>{Ke({_c:a})}),Pt){if(ve)throw Pt;return}return At})}})}const ke=(Fe,me)=>{for(const be in Fe)Fe[be][0]&&Fe[be][0](me)},Qe=(Fe,me)=>{if(!d.has(Fe)){const be=u(Z,me),Le={},ze=Ze.bind(a,Fe);let et=o;const He={},Ye=(ve,Ve)=>{const st=He[ve]||[];return He[ve]=st,st.push(Ve),()=>st.splice(st.indexOf(Ve),1)},Ee=(ve,Ve,st)=>{Fe.set(ve,Ve);const ct=He[ve];if(ct)for(const Pe of ct)Pe(Ve,st)},Ne=()=>{if(!d.has(Fe)&&(d.set(Fe,[Le,{},{},{},ze,Ee,Ye]),!_)){const ve=be.initFocus(setTimeout.bind(a,ke.bind(a,Le,fe))),Ve=be.initReconnect(setTimeout.bind(a,ke.bind(a,Le,te)));et=()=>{ve&&ve(),Ve&&Ve(),d.delete(Fe)}}};return Ne(),[Fe,ze,Ne,et]}return[Fe,d.get(Fe)[4]]},pt=(Fe,me,be,Le,ze)=>{const et=be.errorRetryCount,He=ze.retryCount,Ye=~~((Math.random()+.5)*(1<<(He<8?He:8)))*be.errorRetryInterval;!c(et)&&He>et||setTimeout(Le,Ye,ze)},It=(Fe,me)=>y(Fe)==y(me),[ot,St]=Qe(new Map),lt=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:pt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:j?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:j?5e3:3e3,compare:It,isPaused:()=>!1,cache:ot,mutate:St,fallback:{}},ie),Se=(Fe,me)=>{const be=u(Fe,me);if(me){const{use:Le,fallback:ze}=Fe,{use:et,fallback:He}=me;Le&&et&&(be.use=Le.concat(et)),ze&&He&&(be.fallback=u(ze,He))}return be},Y=(0,t.createContext)({}),I=Fe=>{const{value:me}=Fe,be=(0,t.useContext)(Y),Le=l(me),ze=(0,t.useMemo)(()=>Le?me(be):me,[Le,be,me]),et=(0,t.useMemo)(()=>Le?ze:Se(be,ze),[Le,be,ze]),He=ze&&ze.provider,Ye=(0,t.useRef)(a);He&&!Ye.current&&(Ye.current=Qe(He(et.cache||ot),ze));const Ee=Ye.current;return Ee&&(et.cache=Ee[0],et.mutate=Ee[1]),$(()=>{if(Ee)return Ee[2]&&Ee[2](),Ee[3]},[]),(0,t.createElement)(Y.Provider,u(Fe,{value:et}))},L="$inf$",ce=E&&window.__SWR_DEVTOOLS_USE__,V=ce?window.__SWR_DEVTOOLS_USE__:[],D=()=>{ce&&(window.__SWR_DEVTOOLS_REACT__=t)},A=Fe=>l(Fe[1])?[Fe[0],Fe[1],Fe[2]||{}]:[Fe[0],null,(Fe[1]===null?Fe[2]:Fe[1])||{}],M=()=>u(lt,(0,t.useContext)(Y)),z=(Fe,me)=>{const[be,Le]=C(Fe),[,,,ze]=d.get(ot);if(ze[be])return ze[be];const et=me(Le);return ze[be]=et,et},K=Fe=>(me,be,Le)=>Fe(me,be&&((...et)=>{const[He]=C(me),[,,,Ye]=d.get(ot);if(He.startsWith(L))return be(...et);const Ee=Ye[He];return c(Ee)?be(...et):(delete Ye[He],Ee)}),Le),le=V.concat(K),de=Fe=>function(...be){const Le=M(),[ze,et,He]=A(be),Ye=Se(Le,He);let Ee=Fe;const{use:Ne}=Ye,ve=(Ne||[]).concat(le);for(let Ve=ve.length;Ve--;)Ee=ve[Ve](Ee);return Ee(ze,et||Ye.fetcher||null,Ye)},Oe=(Fe,me,be)=>{const Le=me[Fe]||(me[Fe]=[]);return Le.push(be),()=>{const ze=Le.indexOf(be);ze>=0&&(Le[ze]=Le[Le.length-1],Le.pop())}},Je=(Fe,me)=>(...be)=>{const[Le,ze,et]=A(be),He=(et.use||[]).concat(me);return Fe(Le,ze,Qc(Ul({},et),{use:He}))};D();const X=Fe=>serialize(Fe)[0],re=t.use||(Fe=>{if(Fe.status==="pending")throw Fe;if(Fe.status==="fulfilled")return Fe.value;throw Fe.status==="rejected"?Fe.reason:(Fe.status="pending",Fe.then(me=>{Fe.status="fulfilled",Fe.value=me},me=>{Fe.status="rejected",Fe.reason=me}),Fe)}),G={dedupe:!0},Ie=(Fe,me,be)=>{const{cache:Le,compare:ze,suspense:et,fallbackData:He,revalidateOnMount:Ye,revalidateIfStale:Ee,refreshInterval:Ne,refreshWhenHidden:ve,refreshWhenOffline:Ve,keepPreviousData:st}=be,[ct,Pe,Ke,_e]=d.get(Le),[qe,yt]=C(Fe),Rt=(0,t.useRef)(!1),Zt=(0,t.useRef)(!1),At=(0,t.useRef)(qe),Pt=(0,t.useRef)(me),vt=(0,t.useRef)(be),Ct=()=>vt.current,Nt=()=>Ct().isVisible()&&Ct().isOnline(),[En,Sn,Pn,yn]=F(Le,qe),at=(0,t.useRef)({}).current,Be=c(He)?be.fallback[qe]:He,bt=(ht,$t)=>{for(const Ot in at){const Ht=Ot;if(Ht==="data"){if(!ze(ht[Ht],$t[Ht])&&(!c(ht[Ht])||!ze(An,$t[Ht])))return!1}else if($t[Ht]!==ht[Ht])return!1}return!0},Tt=(0,t.useMemo)(()=>{const ht=(()=>!qe||!me?!1:c(Ye)?Ct().isPaused()||et?!1:c(Ee)?!0:Ee:Ye)(),$t=pn=>{const wn=u(pn);return delete wn._k,ht?Ul({isValidating:!0,isLoading:!0},wn):wn},Ot=En(),Ht=yn(),Bt=$t(Ot),tn=Ot===Ht?Bt:$t(Ht);let fn=Bt;return[()=>{const pn=$t(En());return bt(pn,fn)?(fn.data=pn.data,fn.isLoading=pn.isLoading,fn.isValidating=pn.isValidating,fn.error=pn.error,fn):(fn=pn,pn)},()=>tn]},[Le,qe]),jt=(0,r.useSyncExternalStore)((0,t.useCallback)(ht=>Pn(qe,($t,Ot)=>{bt(Ot,$t)||ht()}),[Le,qe]),Tt[0],Tt[1]),Yt=!Rt.current,en=ct[qe]&&ct[qe].length>0,xn=jt.data,Rn=c(xn)?Be:xn,Fn=jt.error,_n=(0,t.useRef)(Rn),An=st?c(xn)?_n.current:xn:Rn,Xn=(()=>en&&!c(Fn)?!1:Yt&&!c(Ye)?Ye:Ct().isPaused()?!1:et?c(Rn)?!1:Ee:c(Rn)||Ee)(),rn=!!(qe&&me&&Yt&&Xn),qn=c(jt.isValidating)?rn:jt.isValidating,Jt=c(jt.isLoading)?rn:jt.isLoading,on=(0,t.useCallback)(ht=>Lu(this,null,function*(){const $t=Pt.current;if(!qe||!$t||Zt.current||Ct().isPaused())return!1;let Ot,Ht,Bt=!0;const tn=ht||{},fn=!Ke[qe]||!tn.dedupe,pn=()=>ae?!Zt.current&&qe===At.current&&Rt.current:qe===At.current,wn={isValidating:!1,isLoading:!1},Jn=()=>{Sn(wn)},Tn=()=>{const Dn=Ke[qe];Dn&&Dn[1]===Ht&&delete Ke[qe]},Zn={isValidating:!0};c(En().data)&&(Zn.isLoading=!0);try{if(fn&&(Sn(Zn),be.loadingTimeout&&c(En().data)&&setTimeout(()=>{Bt&&pn()&&Ct().onLoadingSlow(qe,be)},be.loadingTimeout),Ke[qe]=[$t(yt),ne()]),[Ot,Ht]=Ke[qe],Ot=yield Ot,fn&&setTimeout(Tn,be.dedupingInterval),!Ke[qe]||Ke[qe][1]!==Ht)return fn&&pn()&&Ct().onDiscarded(qe),!1;wn.error=a;const Dn=Pe[qe];if(!c(Dn)&&(Ht<=Dn[0]||Ht<=Dn[1]||Dn[1]===0))return Jn(),fn&&pn()&&Ct().onDiscarded(qe),!1;const Nn=En().data;wn.data=ze(Nn,Ot)?Nn:Ot,fn&&pn()&&Ct().onSuccess(Ot,qe,be)}catch(Dn){Tn();const Nn=Ct(),{shouldRetryOnError:xr}=Nn;Nn.isPaused()||(wn.error=Dn,fn&&pn()&&(Nn.onError(Dn,qe,Nn),(xr===!0||l(xr)&&xr(Dn))&&(!Ct().revalidateOnFocus||!Ct().revalidateOnReconnect||Nt())&&Nn.onErrorRetry(Dn,qe,Nn,Me=>{const Te=ct[qe];Te&&Te[0]&&Te[0](Ce.ERROR_REVALIDATE_EVENT,Me)},{retryCount:(tn.retryCount||0)+1,dedupe:!0})))}return Bt=!1,Jn(),!0}),[qe,Le]),ft=(0,t.useCallback)((...ht)=>Ze(Le,At.current,...ht),[]);if($(()=>{Pt.current=me,vt.current=be,c(xn)||(_n.current=xn)}),$(()=>{if(!qe)return;const ht=on.bind(a,G);let $t=0;const Ht=Oe(qe,ct,(Bt,tn={})=>{if(Bt==Ce.FOCUS_EVENT){const fn=Date.now();Ct().revalidateOnFocus&&fn>$t&&Nt()&&($t=fn+Ct().focusThrottleInterval,ht())}else if(Bt==Ce.RECONNECT_EVENT)Ct().revalidateOnReconnect&&Nt()&&ht();else{if(Bt==Ce.MUTATE_EVENT)return on();if(Bt==Ce.ERROR_REVALIDATE_EVENT)return on(tn)}});return Zt.current=!1,At.current=qe,Rt.current=!0,Sn({_k:yt}),Xn&&(c(Rn)||_?ht():ee(ht)),()=>{Zt.current=!0,Ht()}},[qe]),$(()=>{let ht;function $t(){const Ht=l(Ne)?Ne(En().data):Ne;Ht&&ht!==-1&&(ht=setTimeout(Ot,Ht))}function Ot(){!En().error&&(ve||Ct().isVisible())&&(Ve||Ct().isOnline())?on(G).then($t):$t()}return $t(),()=>{ht&&(clearTimeout(ht),ht=-1)}},[Ne,ve,Ve,qe]),(0,t.useDebugValue)(An),et&&c(Rn)&&qe){if(!ae&&_)throw new Error("Fallback data is required when using suspense in SSR.");Pt.current=me,vt.current=be,Zt.current=!1;const ht=_e[qe];if(!c(ht)){const $t=ft(ht);re($t)}if(c(Fn)){const $t=on(G);c(An)||($t.status="fulfilled",$t.value=!0),re($t)}else throw Fn}return{mutate:ft,get data(){return at.data=!0,An},get error(){return at.error=!0,Fn},get isValidating(){return at.isValidating=!0,qn},get isLoading(){return at.isLoading=!0,Jt}}},We=s.defineProperty(I,"defaultValue",{value:lt}),je=de(Ie)}},Yo={};function we(v){var m=Yo[v];if(m!==void 0)return m.exports;var e=Yo[v]={id:v,loaded:!1,exports:{}};return hi[v].call(e.exports,e,e.exports,we),e.loaded=!0,e.exports}we.m=hi,function(){we.n=function(v){var m=v&&v.__esModule?function(){return v.default}:function(){return v};return we.d(m,{a:m}),m}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;we.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);we.r(r);var o={};m=m||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~m.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},we.d(r,o),r}}(),function(){we.d=function(v,m){for(var e in m)we.o(m,e)&&!we.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:m[e]})}}(),function(){we.f={},we.e=function(v){return Promise.all(Object.keys(we.f).reduce(function(m,e){return we.f[e](v,m),m},[]))}}(),function(){we.u=function(v){return""+({39:"p__AppManagement",185:"p__Welcome",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",557:"p__Bind",571:"p__404",628:"p__Overview",816:"p__AdminManagement",857:"p__AdvRecordList"}[v]||v)+"."+{39:"16d305c4",51:"d90b1fa5",60:"16c1b5e4",86:"b26c32d8",89:"d8aaef40",134:"957d5baa",168:"01472d0e",169:"c5babfbf",185:"70b2426d",301:"9c68ad01",366:"79522455",371:"1e9b299e",390:"41467286",397:"0ef2ea1f",470:"bb8d466d",557:"a80b7711",559:"683b9a7b",571:"0c100574",601:"f0684ea2",628:"45034db4",816:"8c0c25d4",857:"5b127676",905:"745134cb",930:"66e0f98d",991:"a4a764f4"}[v]+".async.js"}}(),function(){we.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){we.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){we.o=function(v,m){return Object.prototype.hasOwnProperty.call(v,m)}}(),function(){var v={},m="ant-design-pro:";we.l=function(e,t,r,o){if(v[e]){v[e].push(t);return}var a,s;if(r!==void 0)for(var c=document.getElementsByTagName("script"),l=0;lln.length)&&(ue=ln.length);for(var Re=0,W=new Array(ue);Re0&&arguments[0]!==void 0?arguments[0]:"";return ln.endsWith("/")?ln:"".concat(ln,"/")}var Ja=we(49647),uo=we(58096),za=bn.createContext(void 0);function kr(){return bn.useContext(za)}var Va=["redirect"];function co(ln){var ue=ln.routesById,Re=ln.parentId,W=ln.routeComponents;return Object.keys(ue).filter(function(ut){return ue[ut].parentId===Re}).map(function(ut){var Mt=Eo(Yn({route:ue[ut],routeComponent:W[ut],loadingComponent:ln.loadingComponent,reactRouter5Compat:ln.reactRouter5Compat},ln.reactRouter5Compat&&{hasChildren:Object.keys(ue).filter(function(mn){return ue[mn].parentId===ut}).length>0})),_t=co({routesById:ue,routeComponents:W,parentId:Mt.id,loadingComponent:ln.loadingComponent,reactRouter5Compat:ln.reactRouter5Compat});return _t.length>0&&(Mt.children=_t,Mt.routes=_t),Mt})}function Io(ln){var ue=(0,na.UO)(),Re=Yn(Yn({},ln),{},{to:(0,na.Gn)(ln.to,ue)});return bn.createElement(na.Fg,(0,uo.Z)({replace:!0},Re))}function Eo(ln){var ue=ln.route,Re=ue.redirect,W=(0,Ja.Z)(ue,Va),ut=ln.reactRouter5Compat?Jo:No;return Yn({element:Re?bn.createElement(Io,{to:Re}):bn.createElement(za.Provider,{value:{route:ln.route}},bn.createElement(ut,{loader:bn.memo(ln.routeComponent),loadingComponent:ln.loadingComponent||ti,hasChildren:ln.hasChildren}))},W)}function ti(){return bn.createElement("div",null)}function Jo(ln){var ue=kr(),Re=ue.route,W=(0,ba.Ov)(),ut=W.history,Mt=W.clientRoutes,_t=(0,na.UO)(),mn={params:_t,isExact:!0,path:Re.path,url:ut.location.pathname},er=ln.loader;return bn.createElement(bn.Suspense,{fallback:bn.createElement(ln.loadingComponent,null)},bn.createElement(er,{location:ut.location,match:mn,history:ut,params:_t,route:Re,routes:Mt},ln.hasChildren&&bn.createElement(na.j3,null)))}function No(ln){var ue=ln.loader;return bn.createElement(bn.Suspense,{fallback:bn.createElement(ln.loadingComponent,null)},bn.createElement(ue,null))}var Fo=null;function Bo(){return Fo}function bi(ln){var ue=ln.history,Re=bn.useState({action:ue.action,location:ue.location}),W=br(Re,2),ut=W[0],Mt=W[1];return(0,bn.useLayoutEffect)(function(){return ue.listen(Mt)},[ue]),(0,bn.useLayoutEffect)(function(){function _t(mn){ln.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:ln.routes,clientRoutes:ln.clientRoutes,location:mn.location,action:mn.action,basename:ln.basename,isFirst:!!mn.isFirst}})}return _t({location:ut.location,action:ut.action,isFirst:!0}),ue.listen(_t)},[ue,ln.routes,ln.clientRoutes]),bn.createElement(na.F0,{navigator:ue,location:ut.location,basename:ln.basename},ln.children)}function ni(){var ln=(0,ba.Ov)(),ue=ln.clientRoutes;return(0,na.V$)(ue)}var vo=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],ao=function(ue,Re){var W=ue.basename||"/",ut=co({routesById:ue.routes,routeComponents:ue.routeComponents,loadingComponent:ue.loadingComponent,reactRouter5Compat:ue.reactRouter5Compat});ue.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:ut}});for(var Mt=bn.createElement(bi,{basename:W,pluginManager:ue.pluginManager,routes:ue.routes,clientRoutes:ut,history:ue.history},Re),_t=0,mn=vo;_t { minWidth: 280, maxWidth: '75vw', }} - logo={logo} - title="凡米游" + logo={logo} + // title="Magic" // subTitle={intl.formatMessage({ id: 'pages.layouts.userLayout.title' })} initialValues={{ autoLogin: true, diff --git a/src/pages/Welcome.tsx b/src/pages/Welcome.tsx index 52e428d..1998faa 100644 --- a/src/pages/Welcome.tsx +++ b/src/pages/Welcome.tsx @@ -21,7 +21,7 @@ const Welcome: React.FC = () => { >

- 欢迎使用凡米游后台管理系统 + 欢迎使用Magic后台管理系统

);