diff --git a/dist/index.html b/dist/index.html index b6e7ac6..cb4150a 100644 --- a/dist/index.html +++ b/dist/index.html @@ -9,6 +9,6 @@
- + \ No newline at end of file diff --git a/dist/p__AdminManagement.3d8845fe.async.js b/dist/p__AdminManagement.3d8845fe.async.js deleted file mode 100644 index e65ca9c..0000000 --- a/dist/p__AdminManagement.3d8845fe.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[816],{32708:function(Pe,G,a){a.r(G),a.d(G,{default:function(){return Ie}});var ee=a(15009),I=a.n(ee),ne=a(99289),H=a.n(ne),re=a(5574),F=a.n(re),x=a(8232),d=a(67294),ae=a(62208),te=a(93967),Q=a.n(te),U=a(98787),oe=a(69760),le=a(45353),J=a(53124),K=a(54548),se=a(10274),ce=a(14747),ie=a(45503),M=a(91945);const de=e=>{const{paddingXXS:t,lineWidth:l,tagPaddingHorizontal:n,componentCls:r,calc:h}=e,f=h(n).sub(l).equal(),b=h(t).sub(l).equal();return{[r]:Object.assign(Object.assign({},(0,ce.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:f,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,K.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:b,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:f}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},R=e=>{const{lineWidth:t,fontSizeIcon:l,calc:n}=e,r=e.fontSizeSM;return(0,ie.TS)(e,{tagFontSize:r,tagLineHeight:(0,K.bf)(n(e.lineHeightSM).mul(r).equal()),tagIconSize:n(l).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},V=e=>({defaultBg:new se.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var Y=(0,M.I$)("Tag",e=>{const t=R(e);return de(t)},V),ue=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(l[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:l,style:n,className:r,checked:h,onChange:f,onClick:b}=e,g=ue(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:$,tag:p}=d.useContext(J.E_),y=A=>{f==null||f(!h),b==null||b(A)},S=$("tag",l),[C,O,Z]=Y(S),v=Q()(S,`${S}-checkable`,{[`${S}-checkable-checked`]:h},p==null?void 0:p.className,r,O,Z);return C(d.createElement("span",Object.assign({},g,{ref:t,style:Object.assign(Object.assign({},n),p==null?void 0:p.style),className:v,onClick:y})))}),ge=a(98719);const ve=e=>(0,ge.Z)(e,(t,l)=>{let{textColor:n,lightBorderColor:r,lightColor:h,darkColor:f}=l;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:h,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:f,borderColor:f},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var me=(0,M.bk)(["Tag","preset"],e=>{const t=R(e);return ve(t)},V);function he(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const N=(e,t,l)=>{const n=he(l);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${l}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var pe=(0,M.bk)(["Tag","status"],e=>{const t=R(e);return[N(t,"success","Success"),N(t,"processing","Info"),N(t,"error","Error"),N(t,"warning","Warning")]},V),Ce=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(l[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:l,className:n,rootClassName:r,style:h,children:f,icon:b,color:g,onClose:$,closeIcon:p,closable:y,bordered:S=!0}=e,C=Ce(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:O,direction:Z,tag:v}=d.useContext(J.E_),[A,B]=d.useState(!0);d.useEffect(()=>{"visible"in C&&B(C.visible)},[C.visible]);const z=(0,U.o2)(g),D=(0,U.yT)(g),T=z||D,X=Object.assign(Object.assign({backgroundColor:g&&!T?g:void 0},v==null?void 0:v.style),h),m=O("tag",l),[w,u,c]=Y(m),o=Q()(m,v==null?void 0:v.className,{[`${m}-${g}`]:T,[`${m}-has-color`]:g&&!T,[`${m}-hidden`]:!A,[`${m}-rtl`]:Z==="rtl",[`${m}-borderless`]:!S},n,r,u,c),j=P=>{P.stopPropagation(),$==null||$(P),!P.defaultPrevented&&B(!1)},[,s]=(0,oe.Z)({closable:y,closeIcon:p!=null?p:v==null?void 0:v.closeIcon,customCloseIconRender:P=>P===null?d.createElement(ae.Z,{className:`${m}-close-icon`,onClick:j}):d.createElement("span",{className:`${m}-close-icon`,onClick:j},P),defaultCloseIcon:null,defaultClosable:!1}),Oe=typeof C.onClick=="function"||f&&f.type==="a",q=b||null,Te=q?d.createElement(d.Fragment,null,q,f&&d.createElement("span",null,f)):f,_=d.createElement("span",Object.assign({},C,{ref:t,className:o,style:X}),Te,s,z&&d.createElement(me,{key:"preset",prefixCls:m}),D&&d.createElement(pe,{key:"status",prefixCls:m}));return w(Oe?d.createElement(le.Z,{component:"Tag"},_):_)},k=d.forwardRef(be);k.CheckableTag=fe;var ye=k,Se=a(14726),xe=a(72051),$e=a(17788),W=a(96365),E=a(34041),L=a(48357),i=a(85893),je=function(){var t=(0,d.useState)([]),l=F()(t,2),n=l[0],r=l[1],h=(0,d.useState)(!1),f=F()(h,2),b=f[0],g=f[1],$=x.Z.useForm(),p=F()($,1),y=p[0],S=(0,d.useState)([]),C=F()(S,2),O=C[0],Z=C[1],v=function(c){var o=O.find(function(j){return j.id===c});return o?o.name:""},A=function(c){y.setFieldsValue(c),g(!0)},B=[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(c){return(0,i.jsx)("div",{children:c==null?void 0:c.map(function(o){return(0,i.jsx)(ye,{color:"blue",children:v(o)},o)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(c){var o="";switch(c){case 1:o="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:o="\u7BA1\u7406\u5458";break;case 3:o="\u666E\u901A\u8D26\u53F7";break;default:o=""}return o}},{title:"\u64CD\u4F5C",render:function(c){return[(0,i.jsx)("a",{onClick:function(){return A(c)},children:"\u7F16\u8F91"},"edit")]}}],z=function(){y.submit()},D=function(){g(!1)},T=function(){var u=H()(I()().mark(function c(){var o;return I()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,L.N0)();case 2:o=s.sent,o.data&&r(o.data);case 4:case"end":return s.stop()}},c)}));return function(){return u.apply(this,arguments)}}(),X=function(){var u=H()(I()().mark(function c(){var o;return I()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,L.ln)();case 2:o=s.sent,o.data&&Z(o.data);case 4:case"end":return s.stop()}},c)}));return function(){return u.apply(this,arguments)}}();(0,d.useEffect)(function(){T(),X()},[]);var m=function(){y.resetFields(),g(!0)},w=function(){var u=H()(I()().mark(function c(o){return I()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,(0,L.P7)(o);case 3:s.next=8;break;case 5:return s.prev=5,s.t0=s.catch(0),s.abrupt("return");case 8:g(!1),T();case 10:case"end":return s.stop()}},c,null,[[0,5]])}));return function(o){return u.apply(this,arguments)}}();return(0,i.jsxs)("div",{children:[(0,i.jsx)(Se.ZP,{onClick:m,children:"\u65B0\u5EFA\u8D26\u53F7"}),(0,i.jsx)(xe.Z,{columns:B,dataSource:n}),(0,i.jsx)($e.Z,{title:"\u7F16\u8F91",visible:b,onOk:z,onCancel:D,children:(0,i.jsxs)(x.Z,{form:y,onFinish:w,children:[(0,i.jsx)(x.Z.Item,{name:"id",style:{display:"none"},children:(0,i.jsx)(W.Z,{type:"hidden"})}),(0,i.jsx)(x.Z.Item,{label:"\u7528\u6237\u540D",name:"name",children:(0,i.jsx)(W.Z,{})}),(0,i.jsx)(x.Z.Item,{label:"\u5BC6\u7801",name:"password",children:(0,i.jsx)(W.Z.Password,{})}),(0,i.jsx)(x.Z.Item,{label:"\u5E94\u7528",name:"appIds",children:(0,i.jsx)(E.Z,{mode:"multiple",children:O.map(function(u){return(0,i.jsx)(E.Z.Option,{value:u.id,children:u.name},u.id)})})}),(0,i.jsx)(x.Z.Item,{label:"\u89D2\u8272",name:"role",children:(0,i.jsxs)(E.Z,{children:[(0,i.jsx)(E.Z.Option,{value:2,children:"\u7BA1\u7406\u5458"}),(0,i.jsx)(E.Z.Option,{value:3,children:"\u666E\u901A\u8D26\u53F7"})]})})]})})]})},Ie=je}}]); diff --git a/dist/p__AdminManagement.c8a5c155.async.js b/dist/p__AdminManagement.c8a5c155.async.js new file mode 100644 index 0000000..d90f4ad --- /dev/null +++ b/dist/p__AdminManagement.c8a5c155.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[816],{32708:function(Ee,J,r){r.r(J),r.d(J,{default:function(){return Pe}});var re=r(15009),T=r.n(re),ae=r(99289),H=r.n(ae),te=r(5574),N=r.n(te),oe=r(35312),x=r(8232),d=r(67294),le=r(62208),se=r(93967),K=r.n(se),Y=r(98787),ie=r(69760),ce=r(45353),k=r(53124),q=r(54548),de=r(10274),ue=r(14747),fe=r(45503),R=r(91945);const ve=e=>{const{paddingXXS:t,lineWidth:l,tagPaddingHorizontal:n,componentCls:a,calc:h}=e,f=h(n).sub(l).equal(),b=h(t).sub(l).equal();return{[a]:Object.assign(Object.assign({},(0,ue.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:f,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,q.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:b,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:f}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},V=e=>{const{lineWidth:t,fontSizeIcon:l,calc:n}=e,a=e.fontSizeSM;return(0,fe.TS)(e,{tagFontSize:a,tagLineHeight:(0,q.bf)(n(e.lineHeightSM).mul(a).equal()),tagIconSize:n(l).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},W=e=>({defaultBg:new de.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var _=(0,R.I$)("Tag",e=>{const t=V(e);return ve(t)},W),ge=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(l[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a{const{prefixCls:l,style:n,className:a,checked:h,onChange:f,onClick:b}=e,v=ge(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:$,tag:p}=d.useContext(k.E_),y=j=>{f==null||f(!h),b==null||b(j)},S=$("tag",l),[C,P,A]=_(S),g=K()(S,`${S}-checkable`,{[`${S}-checkable-checked`]:h},p==null?void 0:p.className,a,P,A);return C(d.createElement("span",Object.assign({},v,{ref:t,style:Object.assign(Object.assign({},n),p==null?void 0:p.style),className:g,onClick:y})))}),he=r(98719);const pe=e=>(0,he.Z)(e,(t,l)=>{let{textColor:n,lightBorderColor:a,lightColor:h,darkColor:f}=l;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:h,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:f,borderColor:f},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Ce=(0,R.bk)(["Tag","preset"],e=>{const t=V(e);return pe(t)},W);function be(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const B=(e,t,l)=>{const n=be(l);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${l}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ye=(0,R.bk)(["Tag","status"],e=>{const t=V(e);return[B(t,"success","Success"),B(t,"processing","Info"),B(t,"error","Error"),B(t,"warning","Warning")]},W),Se=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(l[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a{const{prefixCls:l,className:n,rootClassName:a,style:h,children:f,icon:b,color:v,onClose:$,closeIcon:p,closable:y,bordered:S=!0}=e,C=Se(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:P,direction:A,tag:g}=d.useContext(k.E_),[j,I]=d.useState(!0);d.useEffect(()=>{"visible"in C&&I(C.visible)},[C.visible]);const z=(0,Y.o2)(v),D=(0,Y.yT)(v),F=z||D,X=Object.assign(Object.assign({backgroundColor:v&&!F?v:void 0},g==null?void 0:g.style),h),m=P("tag",l),[M,G,w]=_(m),Q=K()(m,g==null?void 0:g.className,{[`${m}-${v}`]:F,[`${m}-has-color`]:v&&!F,[`${m}-hidden`]:!j,[`${m}-rtl`]:A==="rtl",[`${m}-borderless`]:!S},n,a,G,w),u=E=>{E.stopPropagation(),$==null||$(E),!E.defaultPrevented&&I(!1)},[,i]=(0,ie.Z)({closable:y,closeIcon:p!=null?p:g==null?void 0:g.closeIcon,customCloseIconRender:E=>E===null?d.createElement(le.Z,{className:`${m}-close-icon`,onClick:u}):d.createElement("span",{className:`${m}-close-icon`,onClick:u},E),defaultCloseIcon:null,defaultClosable:!1}),o=typeof C.onClick=="function"||f&&f.type==="a",O=b||null,s=O?d.createElement(d.Fragment,null,O,f&&d.createElement("span",null,f)):f,ne=d.createElement("span",Object.assign({},C,{ref:t,className:Q,style:X}),s,i,z&&d.createElement(Ce,{key:"preset",prefixCls:m}),D&&d.createElement(ye,{key:"status",prefixCls:m}));return M(o?d.createElement(ce.Z,{component:"Tag"},ne):ne)},ee=d.forwardRef(xe);ee.CheckableTag=me;var $e=ee,je=r(14726),Ie=r(72051),Oe=r(17788),L=r(96365),Z=r(34041),U=r(48357),c=r(85893),Te=function(){var t=(0,d.useState)([]),l=N()(t,2),n=l[0],a=l[1],h=(0,d.useState)(!1),f=N()(h,2),b=f[0],v=f[1],$=x.Z.useForm(),p=N()($,1),y=p[0],S=(0,d.useState)([]),C=N()(S,2),P=C[0],A=C[1],g=(0,oe.useModel)("@@initialState"),j=g.initialState,I=j==null?void 0:j.currentUser,z=function(i){var o=P.find(function(O){return O.id===i});return o?o.name:""},D=function(i){y.setFieldsValue(i),v(!0)},F=[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(i){return(0,c.jsx)("div",{children:i==null?void 0:i.map(function(o){return(0,c.jsx)($e,{color:"blue",children:z(o)},o)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(i){var o="";switch(i){case 1:o="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:o="\u7BA1\u7406\u5458";break;case 3:o="\u666E\u901A\u8D26\u53F7";break;default:o=""}return o}},{title:"\u64CD\u4F5C",render:function(i){return[(0,c.jsx)("a",{onClick:function(){return D(i)},children:"\u7F16\u8F91"},"edit")]}}],X=function(){y.submit()},m=function(){v(!1)},M=function(){var u=H()(T()().mark(function i(){var o;return T()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,U.N0)();case 2:o=s.sent,o.data&&a(o.data);case 4:case"end":return s.stop()}},i)}));return function(){return u.apply(this,arguments)}}(),G=function(){var u=H()(T()().mark(function i(){var o;return T()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,U.ln)();case 2:o=s.sent,o.data&&A(o.data);case 4:case"end":return s.stop()}},i)}));return function(){return u.apply(this,arguments)}}();(0,d.useEffect)(function(){M(),G()},[]);var w=function(){y.resetFields(),v(!0)},Q=function(){var u=H()(T()().mark(function i(o){return T()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,(0,U.P7)(o);case 3:s.next=8;break;case 5:return s.prev=5,s.t0=s.catch(0),s.abrupt("return");case 8:v(!1),M();case 10:case"end":return s.stop()}},i,null,[[0,5]])}));return function(o){return u.apply(this,arguments)}}();return(0,c.jsxs)("div",{children:[(0,c.jsx)(je.ZP,{onClick:w,children:"\u65B0\u5EFA\u8D26\u53F7"}),(0,c.jsx)(Ie.Z,{columns:F,dataSource:n}),(0,c.jsx)(Oe.Z,{title:"\u7F16\u8F91",visible:b,onOk:X,onCancel:m,children:(0,c.jsxs)(x.Z,{form:y,onFinish:Q,children:[(0,c.jsx)(x.Z.Item,{name:"id",style:{display:"none"},children:(0,c.jsx)(L.Z,{type:"hidden"})}),(0,c.jsx)(x.Z.Item,{label:"\u7528\u6237\u540D",name:"name",children:(0,c.jsx)(L.Z,{})}),(0,c.jsx)(x.Z.Item,{label:"\u5BC6\u7801",name:"password",children:(0,c.jsx)(L.Z.Password,{})}),(0,c.jsx)(x.Z.Item,{label:"\u5E94\u7528",name:"appIds",children:(0,c.jsx)(Z.Z,{mode:"multiple",children:P.map(function(u){return(0,c.jsx)(Z.Z.Option,{value:u.id,children:u.name},u.id)})})}),(0,c.jsx)(x.Z.Item,{label:"\u89D2\u8272",name:"role",children:(0,c.jsxs)(Z.Z,{children:[(0,c.jsx)(Z.Z.Option,{disabled:(I==null?void 0:I.role)&&I.role>1,value:2,children:"\u7BA1\u7406\u5458"}),(0,c.jsx)(Z.Z.Option,{value:3,children:"\u666E\u901A\u8D26\u53F7"})]})})]})})]})},Pe=Te}}]); diff --git a/dist/umi.679c5b41.js b/dist/umi.48417f56.js similarity index 97% rename from dist/umi.679c5b41.js rename to dist/umi.48417f56.js index 90b82e2..1075899 100644 --- a/dist/umi.679c5b41.js +++ b/dist/umi.48417f56.js @@ -113,7 +113,7 @@ html body { `.concat(ne?"width: calc(100% - ".concat(le,"px);"):"",` }`),Z)}else(0,d.jL)(Z);return function(){(0,d.jL)(Z)}},[Y,Z])}var T=!1;function F(W){return typeof W=="boolean"&&(T=W),T}var w=function(Y){return Y===!1?!1:!(0,a.Z)()||!Y?null:typeof Y=="string"?document.querySelector(Y):typeof Y=="function"?Y():Y},M=r.forwardRef(function(W,Y){var _=W.open,oe=W.autoLock,Z=W.getContainer,le=W.debug,ne=W.autoDestroy,ee=ne===void 0?!0:ne,L=W.children,H=r.useState(_),j=(0,t.Z)(H,2),C=j[0],N=j[1],q=C||_;r.useEffect(function(){(ee||_)&&N(_)},[_,ee]);var fe=r.useState(function(){return w(Z)}),te=(0,t.Z)(fe,2),J=te[0],he=te[1];r.useEffect(function(){var X=w(Z);he(X!=null?X:null)});var xe=y(q&&!J,le),Be=(0,t.Z)(xe,2),Ve=Be[0],Xe=Be[1],vt=J!=null?J:Ve;P(oe&&_&&(0,a.Z)()&&(vt===Ve||vt===document.body));var Tt=null;if(L&&(0,c.Yr)(L)&&Y){var at=L;Tt=at.ref}var St=(0,c.x1)(Tt,Y);if(!q||!(0,a.Z)()||J===void 0)return null;var lt=vt===!1||F(),be=L;return Y&&(be=r.cloneElement(L,{ref:St})),r.createElement(u.Provider,{value:Xe},lt?be:(0,o.createPortal)(be,vt))}),z=M,se=z},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 P(be){var X=be.prefixCls,I=be.align,D=be.arrow,ce=be.arrowPos,V=D||{},A=V.className,$=V.content,R=ce.x,B=R===void 0?0:R,K=ce.y,ie=K===void 0?0:K,de=b.useRef();if(!I||!I.points)return null;var Oe={position:"absolute"};if(I.autoArrow!==!1){var _e=I.points[0],Q=I.points[1],re=_e[0],G=_e[1],Te=Q[0],We=Q[1];re===Te||!["t","b"].includes(re)?Oe.top=ie:re==="t"?Oe.top=0:Oe.bottom=0,G===We||!["l","r"].includes(G)?Oe.left=B:G==="l"?Oe.left=0:Oe.right=0}return b.createElement("div",{ref:de,className:c()("".concat(X,"-arrow"),A),style:Oe},$)}function T(be){var X=be.prefixCls,I=be.open,D=be.zIndex,ce=be.mask,V=be.motion;return ce?b.createElement(x.ZP,(0,S.Z)({},V,{motionAppear:!0,visible:I,removeOnLeave:!0}),function(A){var $=A.className;return b.createElement("div",{style:{zIndex:D},className:c()("".concat(X,"-mask"),$)})}):null}var F=b.memo(function(be){var X=be.children;return X},function(be,X){return X.cache}),w=F,M=b.forwardRef(function(be,X){var I=be.popup,D=be.className,ce=be.prefixCls,V=be.style,A=be.target,$=be.onVisibleChanged,R=be.open,B=be.keepDom,K=be.fresh,ie=be.onClick,de=be.mask,Oe=be.arrow,_e=be.arrowPos,Q=be.align,re=be.motion,G=be.maskMotion,Te=be.forceRender,We=be.getPopupContainer,Le=be.autoDestroy,je=be.portal,ge=be.zIndex,Se=be.onMouseEnter,De=be.onMouseLeave,ze=be.onPointerEnter,et=be.ready,He=be.offsetX,Ge=be.offsetY,Ee=be.offsetR,Ne=be.offsetB,ve=be.onAlign,ke=be.onPrepare,it=be.stretch,dt=be.targetWidth,Pe=be.targetHeight,Ke=typeof I=="function"?I():I,qe=R||B,Qe=(We==null?void 0:We.length)>0,yt=b.useState(!We||!Qe),Mt=(0,r.Z)(yt,2),zt=Mt[0],At=Mt[1];if((0,y.Z)(function(){!zt&&Qe&&A&&At(!0)},[zt,Qe,A]),!zt)return null;var Pt="auto",Et={left:"-1000vw",top:"-1000vh",right:Pt,bottom:Pt};if(et||!R){var xt,Nt=Q.points,an=Q.dynamicInset||((xt=Q._experimental)===null||xt===void 0?void 0:xt.dynamicInset),Sn=an&&Nt[0][1]==="r",En=an&&Nt[0][0]==="b";Sn?(Et.right=Ee,Et.left=Pt):(Et.left=He,Et.right=Pt),En?(Et.bottom=Ne,Et.top=Pt):(Et.top=Ge,Et.bottom=Pt)}var xn={};return it&&(it.includes("height")&&Pe?xn.height=Pe:it.includes("minHeight")&&Pe&&(xn.minHeight=Pe),it.includes("width")&&dt?xn.width=dt:it.includes("minWidth")&&dt&&(xn.minWidth=dt)),R||(xn.pointerEvents="none"),b.createElement(je,{open:Te||qe,getContainer:We&&function(){return We(A)},autoDestroy:Le},b.createElement(T,{prefixCls:ce,open:R,zIndex:ge,mask:de,motion:G}),b.createElement(l.Z,{onResize:ve,disabled:!R},function(rt){return b.createElement(x.ZP,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Te,leavedClassName:"".concat(ce,"-hidden")},re,{onAppearPrepare:ke,onEnterPrepare:ke,visible:R,onVisibleChanged:function(ht){var wt;re==null||(wt=re.onVisibleChanged)===null||wt===void 0||wt.call(re,ht),$(ht)}}),function(Fe,ht){var wt=Fe.className,jt=Fe.style,Xt=c()(ce,wt,D);return b.createElement("div",{ref:(0,E.sQ)(rt,X,ht),className:Xt,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(_e.x||0,"px"),"--arrow-y":"".concat(_e.y||0,"px")},Et),xn),jt),{},{boxSizing:"border-box",zIndex:ge},V),onMouseEnter:Se,onMouseLeave:De,onPointerEnter:ze,onClick:ie},Oe&&b.createElement(P,{prefixCls:ce,arrow:Oe,arrowPos:_e,align:Q}),b.createElement(w,{cache:!R&&!K},Ke))})}))}),z=M,se=b.forwardRef(function(be,X){var I=be.children,D=be.getTriggerDOMNode,ce=(0,E.Yr)(I),V=b.useCallback(function($){(0,E.mH)(X,D?D($):$)},[D]),A=(0,E.x1)(V,I.ref);return ce?b.cloneElement(I,{ref:A}):I}),W=se,Y=b.createContext(null),_=Y;function oe(be){return be?Array.isArray(be)?be:[be]:[]}function Z(be,X,I,D){return b.useMemo(function(){var ce=oe(I!=null?I:X),V=oe(D!=null?D:X),A=new Set(ce),$=new Set(V);return be&&(A.has("hover")&&(A.delete("hover"),A.add("click")),$.has("hover")&&($.delete("hover"),$.add("click"))),[A,$]},[be,X,I,D])}var le=e(5110);function ne(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],I=arguments.length>2?arguments[2]:void 0;return I?be[0]===X[0]:be[0]===X[0]&&be[1]===X[1]}function ee(be,X,I,D){for(var ce=I.points,V=Object.keys(be),A=0;A1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(be)?X:be}function N(be){return C(parseFloat(be),0)}function q(be,X){var I=(0,t.Z)({},be);return(X||[]).forEach(function(D){if(!(D instanceof HTMLBodyElement||D instanceof HTMLHtmlElement)){var ce=H(D).getComputedStyle(D),V=ce.overflow,A=ce.overflowClipMargin,$=ce.borderTopWidth,R=ce.borderBottomWidth,B=ce.borderLeftWidth,K=ce.borderRightWidth,ie=D.getBoundingClientRect(),de=D.offsetHeight,Oe=D.clientHeight,_e=D.offsetWidth,Q=D.clientWidth,re=N($),G=N(R),Te=N(B),We=N(K),Le=C(Math.round(ie.width/_e*1e3)/1e3),je=C(Math.round(ie.height/de*1e3)/1e3),ge=(_e-Q-Te-We)*Le,Se=(de-Oe-re-G)*je,De=re*je,ze=G*je,et=Te*Le,He=We*Le,Ge=0,Ee=0;if(V==="clip"){var Ne=N(A);Ge=Ne*Le,Ee=Ne*je}var ve=ie.x+et-Ge,ke=ie.y+De-Ee,it=ve+ie.width+2*Ge-et-He-ge,dt=ke+ie.height+2*Ee-De-ze-Se;I.left=Math.max(I.left,ve),I.top=Math.max(I.top,ke),I.right=Math.min(I.right,it),I.bottom=Math.min(I.bottom,dt)}}),I}function fe(be){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,I="".concat(X),D=I.match(/^(.*)\%$/);return D?be*(parseFloat(D[1])/100):parseFloat(I)}function te(be,X){var I=X||[],D=(0,r.Z)(I,2),ce=D[0],V=D[1];return[fe(be.width,ce),fe(be.height,V)]}function J(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[be[0],be[1]]}function he(be,X){var I=X[0],D=X[1],ce,V;return I==="t"?V=be.y:I==="b"?V=be.y+be.height:V=be.y+be.height/2,D==="l"?ce=be.x:D==="r"?ce=be.x+be.width:ce=be.x+be.width/2,{x:ce,y:V}}function xe(be,X){var I={t:"b",b:"t",l:"r",r:"l"};return be.map(function(D,ce){return ce===X?I[D]||"c":D}).join("")}function Be(be,X,I,D,ce,V,A){var $=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ce[D]||{}}),R=(0,r.Z)($,2),B=R[0],K=R[1],ie=b.useRef(0),de=b.useMemo(function(){return X?j(X):[]},[X]),Oe=b.useRef({}),_e=function(){Oe.current={}};be||_e();var Q=(0,p.Z)(function(){if(X&&I&&be){let Ua=function(ja,qa){var Ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Xt,jr=Ke.x+ja,sr=Ke.y+qa,Zr=jr+xt,sa=sr+Et,ga=Math.max(jr,Ar.left),Ea=Math.max(sr,Ar.top),Wa=Math.min(Zr,Ar.right),eo=Math.min(sa,Ar.bottom);return Math.max(0,(Wa-ga)*(eo-Ea))},Ia=function(){An=Ke.y+Rn,Jt=An+Et,mn=Ke.x+Hn,Vt=mn+xt};var Te,We,Le=X,je=Le.ownerDocument,ge=H(Le),Se=ge.getComputedStyle(Le),De=Se.width,ze=Se.height,et=Se.position,He=Le.style.left,Ge=Le.style.top,Ee=Le.style.right,Ne=Le.style.bottom,ve=Le.style.overflow,ke=(0,t.Z)((0,t.Z)({},ce[D]),V),it=je.createElement("div");(Te=Le.parentElement)===null||Te===void 0||Te.appendChild(it),it.style.left="".concat(Le.offsetLeft,"px"),it.style.top="".concat(Le.offsetTop,"px"),it.style.position=et,it.style.height="".concat(Le.offsetHeight,"px"),it.style.width="".concat(Le.offsetWidth,"px"),Le.style.left="0",Le.style.top="0",Le.style.right="auto",Le.style.bottom="auto",Le.style.overflow="hidden";var dt;if(Array.isArray(I))dt={x:I[0],y:I[1],width:0,height:0};else{var Pe=I.getBoundingClientRect();dt={x:Pe.x,y:Pe.y,width:Pe.width,height:Pe.height}}var Ke=Le.getBoundingClientRect(),qe=je.documentElement,Qe=qe.clientWidth,yt=qe.clientHeight,Mt=qe.scrollWidth,zt=qe.scrollHeight,At=qe.scrollTop,Pt=qe.scrollLeft,Et=Ke.height,xt=Ke.width,Nt=dt.height,an=dt.width,Sn={left:0,top:0,right:Qe,bottom:yt},En={left:-Pt,top:-At,right:Mt-Pt,bottom:zt-At},xn=ke.htmlRegion,rt="visible",Fe="visibleFirst";xn!=="scroll"&&xn!==Fe&&(xn=rt);var ht=xn===Fe,wt=q(En,de),jt=q(Sn,de),Xt=xn===rt?jt:wt,tn=ht?jt:Xt;Le.style.left="auto",Le.style.top="auto",Le.style.right="0",Le.style.bottom="0";var Cn=Le.getBoundingClientRect();Le.style.left=He,Le.style.top=Ge,Le.style.right=Ee,Le.style.bottom=Ne,Le.style.overflow=ve,(We=Le.parentElement)===null||We===void 0||We.removeChild(it);var wn=C(Math.round(xt/parseFloat(De)*1e3)/1e3),jn=C(Math.round(Et/parseFloat(ze)*1e3)/1e3);if(wn===0||jn===0||(0,u.S)(I)&&!(0,le.Z)(I))return;var _n=ke.offset,$n=ke.targetOffset,Gn=te(Ke,_n),sn=(0,r.Z)(Gn,2),tr=sn[0],Qt=sn[1],ln=te(dt,$n),ft=(0,r.Z)(ln,2),gt=ft[0],$t=ft[1];dt.x-=gt,dt.y-=$t;var Ot=ke.points||[],Ut=(0,r.Z)(Ot,2),Ft=Ut[0],nn=Ut[1],dn=J(nn),bn=J(Ft),Tn=he(dt,dn),Qn=he(Ke,bn),Pn=(0,t.Z)({},ke),Hn=Tn.x-Qn.x+tr,Rn=Tn.y-Qn.y+Qt,Nn=Ua(Hn,Rn),Or=Ua(Hn,Rn,jt),Ie=he(dt,["t","l"]),we=he(Ke,["t","l"]),Ye=he(dt,["b","r"]),Je=he(Ke,["b","r"]),ot=ke.overflow||{},Wt=ot.adjustX,Gt=ot.adjustY,Kt=ot.shiftX,gn=ot.shiftY,vn=function(qa){return typeof qa=="boolean"?qa:qa>=0},An,Jt,mn,Vt;Ia();var un=vn(Gt),on=bn[0]===dn[0];if(un&&bn[0]==="t"&&(Jt>tn.bottom||Oe.current.bt)){var Bn=Rn;on?Bn-=Et-Nt:Bn=Ie.y-Je.y-Qt;var zn=Ua(Hn,Bn),fr=Ua(Hn,Bn,jt);zn>Nn||zn===Nn&&(!ht||fr>=Or)?(Oe.current.bt=!0,Rn=Bn,Qt=-Qt,Pn.points=[xe(bn,0),xe(dn,0)]):Oe.current.bt=!1}if(un&&bn[0]==="b"&&(AnNn||kn===Nn&&(!ht||wr>=Or)?(Oe.current.tb=!0,Rn=Un,Qt=-Qt,Pn.points=[xe(bn,0),xe(dn,0)]):Oe.current.tb=!1}var zr=vn(Wt),ia=bn[1]===dn[1];if(zr&&bn[1]==="l"&&(Vt>tn.right||Oe.current.rl)){var ea=Hn;ia?ea-=xt-an:ea=Ie.x-Je.x-tr;var Jr=Ua(ea,Rn),fa=Ua(ea,Rn,jt);Jr>Nn||Jr===Nn&&(!ht||fa>=Or)?(Oe.current.rl=!0,Hn=ea,tr=-tr,Pn.points=[xe(bn,1),xe(dn,1)]):Oe.current.rl=!1}if(zr&&bn[1]==="r"&&(mnNn||Fr===Nn&&(!ht||_r>=Or)?(Oe.current.lr=!0,Hn=Nr,tr=-tr,Pn.points=[xe(bn,1),xe(dn,1)]):Oe.current.lr=!1}Ia();var Br=Kt===!0?0:Kt;typeof Br=="number"&&(mnjt.right&&(Hn-=Vt-jt.right-tr,dt.x>jt.right-Br&&(Hn+=dt.x-jt.right+Br)));var Gr=gn===!0?0:gn;typeof Gr=="number"&&(Anjt.bottom&&(Rn-=Jt-jt.bottom-Qt,dt.y>jt.bottom-Gr&&(Rn+=dt.y-jt.bottom+Gr)));var In=Ke.x+Hn,hn=In+xt,On=Ke.y+Rn,mr=On+Et,xr=dt.x,gr=xr+an,Vr=dt.y,oa=Vr+Nt,ca=Math.max(In,xr),ra=Math.min(hn,gr),La=(ca+ra)/2,Ka=La-In,Lr=Math.max(On,Vr),Xr=Math.min(mr,oa),Sa=(Lr+Xr)/2,$a=Sa-On;A==null||A(X,Pn);var Ha=Cn.right-Ke.x-(Hn+Ke.width),Da=Cn.bottom-Ke.y-(Rn+Ke.height);K({ready:!0,offsetX:Hn/wn,offsetY:Rn/jn,offsetR:Ha/wn,offsetB:Da/jn,arrowX:Ka/wn,arrowY:$a/jn,scaleX:wn,scaleY:jn,align:Pn})}}),re=function(){ie.current+=1;var We=ie.current;Promise.resolve().then(function(){ie.current===We&&Q()})},G=function(){K(function(We){return(0,t.Z)((0,t.Z)({},We),{},{ready:!1})})};return(0,y.Z)(G,[D]),(0,y.Z)(function(){be||G()},[be]),[B.ready,B.offsetX,B.offsetY,B.offsetR,B.offsetB,B.arrowX,B.arrowY,B.scaleX,B.scaleY,B.align,re]}var Ve=e(74902);function Xe(be,X,I,D,ce){(0,y.Z)(function(){if(be&&X&&I){let ie=function(){D(),ce()};var V=X,A=I,$=j(V),R=j(A),B=H(A),K=new Set([B].concat((0,Ve.Z)($),(0,Ve.Z)(R)));return K.forEach(function(de){de.addEventListener("scroll",ie,{passive:!0})}),B.addEventListener("resize",ie,{passive:!0}),D(),function(){K.forEach(function(de){de.removeEventListener("scroll",ie),B.removeEventListener("resize",ie)})}}},[be,X,I])}var vt=e(80334);function Tt(be,X,I,D,ce,V,A,$){var R=b.useRef(be);R.current=be,b.useEffect(function(){if(X&&D&&(!ce||V)){var B=function(G){var Te=G.target;R.current&&!A(Te)&&$(!1)},K=H(D);K.addEventListener("mousedown",B,!0),K.addEventListener("contextmenu",B,!0);var ie=(0,f.A)(I);if(ie&&(ie.addEventListener("mousedown",B,!0),ie.addEventListener("contextmenu",B,!0)),!1)var de,Oe,_e,Q;return function(){K.removeEventListener("mousedown",B,!0),K.removeEventListener("contextmenu",B,!0),ie&&(ie.removeEventListener("mousedown",B,!0),ie.removeEventListener("contextmenu",B,!0))}}},[X,I,D,ce,V])}var at=["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 be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a.Z,X=b.forwardRef(function(I,D){var ce=I.prefixCls,V=ce===void 0?"rc-trigger-popup":ce,A=I.children,$=I.action,R=$===void 0?"hover":$,B=I.showAction,K=I.hideAction,ie=I.popupVisible,de=I.defaultPopupVisible,Oe=I.onPopupVisibleChange,_e=I.afterPopupVisibleChange,Q=I.mouseEnterDelay,re=I.mouseLeaveDelay,G=re===void 0?.1:re,Te=I.focusDelay,We=I.blurDelay,Le=I.mask,je=I.maskClosable,ge=je===void 0?!0:je,Se=I.getPopupContainer,De=I.forceRender,ze=I.autoDestroy,et=I.destroyPopupOnHide,He=I.popup,Ge=I.popupClassName,Ee=I.popupStyle,Ne=I.popupPlacement,ve=I.builtinPlacements,ke=ve===void 0?{}:ve,it=I.popupAlign,dt=I.zIndex,Pe=I.stretch,Ke=I.getPopupClassNameFromAlign,qe=I.fresh,Qe=I.alignPoint,yt=I.onPopupClick,Mt=I.onPopupAlign,zt=I.arrow,At=I.popupMotion,Pt=I.maskMotion,Et=I.popupTransitionName,xt=I.popupAnimation,Nt=I.maskTransitionName,an=I.maskAnimation,Sn=I.className,En=I.getTriggerDOMNode,xn=(0,o.Z)(I,at),rt=ze||et||!1,Fe=b.useState(!1),ht=(0,r.Z)(Fe,2),wt=ht[0],jt=ht[1];(0,y.Z)(function(){jt((0,d.Z)())},[]);var Xt=b.useRef({}),tn=b.useContext(_),Cn=b.useMemo(function(){return{registerSubPopup:function(Kr,Aa){Xt.current[Kr]=Aa,tn==null||tn.registerSubPopup(Kr,Aa)}}},[tn]),wn=(0,h.Z)(),jn=b.useState(null),_n=(0,r.Z)(jn,2),$n=_n[0],Gn=_n[1],sn=(0,p.Z)(function(hr){(0,u.S)(hr)&&$n!==hr&&Gn(hr),tn==null||tn.registerSubPopup(wn,hr)}),tr=b.useState(null),Qt=(0,r.Z)(tr,2),ln=Qt[0],ft=Qt[1],gt=b.useRef(null),$t=(0,p.Z)(function(hr){(0,u.S)(hr)&&ln!==hr&&(ft(hr),gt.current=hr)}),Ot=b.Children.only(A),Ut=(Ot==null?void 0:Ot.props)||{},Ft={},nn=(0,p.Z)(function(hr){var Kr,Aa,Ya=ln;return(Ya==null?void 0:Ya.contains(hr))||((Kr=(0,f.A)(Ya))===null||Kr===void 0?void 0:Kr.host)===hr||hr===Ya||($n==null?void 0:$n.contains(hr))||((Aa=(0,f.A)($n))===null||Aa===void 0?void 0:Aa.host)===hr||hr===$n||Object.values(Xt.current).some(function(xa){return(xa==null?void 0:xa.contains(hr))||hr===xa})}),dn=L(V,At,xt,Et),bn=L(V,Pt,an,Nt),Tn=b.useState(de||!1),Qn=(0,r.Z)(Tn,2),Pn=Qn[0],Hn=Qn[1],Rn=ie!=null?ie:Pn,Nn=(0,p.Z)(function(hr){ie===void 0&&Hn(hr)});(0,y.Z)(function(){Hn(ie||!1)},[ie]);var Or=b.useRef(Rn);Or.current=Rn;var Ie=b.useRef([]);Ie.current=[];var we=(0,p.Z)(function(hr){var Kr;Nn(hr),((Kr=Ie.current[Ie.current.length-1])!==null&&Kr!==void 0?Kr:Rn)!==hr&&(Ie.current.push(hr),Oe==null||Oe(hr))}),Ye=b.useRef(),Je=function(){clearTimeout(Ye.current)},ot=function(Kr){var Aa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Je(),Aa===0?we(Kr):Ye.current=setTimeout(function(){we(Kr)},Aa*1e3)};b.useEffect(function(){return Je},[]);var Wt=b.useState(!1),Gt=(0,r.Z)(Wt,2),Kt=Gt[0],gn=Gt[1];(0,y.Z)(function(hr){(!hr||Rn)&&gn(!0)},[Rn]);var vn=b.useState(null),An=(0,r.Z)(vn,2),Jt=An[0],mn=An[1],Vt=b.useState([0,0]),un=(0,r.Z)(Vt,2),on=un[0],Bn=un[1],zn=function(Kr){Bn([Kr.clientX,Kr.clientY])},fr=Be(Rn,$n,Qe?on:ln,Ne,ke,it,Mt),Un=(0,r.Z)(fr,11),kn=Un[0],wr=Un[1],zr=Un[2],ia=Un[3],ea=Un[4],Jr=Un[5],fa=Un[6],Nr=Un[7],Fr=Un[8],_r=Un[9],Br=Un[10],Gr=Z(wt,R,B,K),In=(0,r.Z)(Gr,2),hn=In[0],On=In[1],mr=hn.has("click"),xr=On.has("click")||On.has("contextMenu"),gr=(0,p.Z)(function(){Kt||Br()}),Vr=function(){Or.current&&Qe&&xr&&ot(!1)};Xe(Rn,ln,$n,gr,Vr),(0,y.Z)(function(){gr()},[on,Ne]),(0,y.Z)(function(){Rn&&!(ke!=null&&ke[Ne])&&gr()},[JSON.stringify(it)]);var oa=b.useMemo(function(){var hr=ee(ke,V,_r,Qe);return c()(hr,Ke==null?void 0:Ke(_r))},[_r,Ke,ke,V,Qe]);b.useImperativeHandle(D,function(){return{nativeElement:gt.current,forceAlign:gr}});var ca=b.useState(0),ra=(0,r.Z)(ca,2),La=ra[0],Ka=ra[1],Lr=b.useState(0),Xr=(0,r.Z)(Lr,2),Sa=Xr[0],$a=Xr[1],Ha=function(){if(Pe&&ln){var Kr=ln.getBoundingClientRect();Ka(Kr.width),$a(Kr.height)}},Da=function(){Ha(),gr()},Ua=function(Kr){gn(!1),Br(),_e==null||_e(Kr)},Ia=function(){return new Promise(function(Kr){Ha(),mn(function(){return Kr})})};(0,y.Z)(function(){Jt&&(Br(),Jt(),mn(null))},[Jt]);function ja(hr,Kr,Aa,Ya){Ft[hr]=function(xa){var so;Ya==null||Ya(xa),ot(Kr,Aa);for(var Po=arguments.length,jo=new Array(Po>1?Po-1:0),io=1;io1?Aa-1:0),xa=1;xa1?Aa-1:0),xa=1;xa{var{prefixCls:Re,className:pt,avatar:Rt,title:Bt,description:fn}=st,Ln=At(st,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:qn}=(0,b.useContext)(it.E_),Xn=qn("list",Re),Jn=xe()(`${Xn}-item-meta`,pt),Rr=b.createElement("div",{className:`${Xn}-item-meta-content`},Bt&&b.createElement("h4",{className:`${Xn}-item-meta-title`},Bt),fn&&b.createElement("div",{className:`${Xn}-item-meta-description`},fn));return b.createElement("div",Object.assign({},Ln,{className:Jn}),Rt&&b.createElement("div",{className:`${Xn}-item-meta-avatar`},Rt),(Bt||fn)&&Rr)},Et=(st,Re)=>{var{prefixCls:pt,children:Rt,actions:Bt,extra:fn,className:Ln,colStyle:qn}=st,Xn=At(st,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:Jn,itemLayout:Rr}=(0,b.useContext)(Mt),{getPrefixCls:Ur}=(0,b.useContext)(it.E_),Ir=()=>{let pa;return b.Children.forEach(Rt,Qa=>{typeof Qa=="string"&&(pa=!0)}),pa&&b.Children.count(Rt)>1},ta=()=>Rr==="vertical"?!!fn:!Ir(),br=Ur("list",pt),Fn=Bt&&Bt.length>0&&b.createElement("ul",{className:`${br}-item-action`,key:"actions"},Bt.map((pa,Qa)=>b.createElement("li",{key:`${br}-item-action-${Qa}`},pa,Qa!==Bt.length-1&&b.createElement("em",{className:`${br}-item-action-split`})))),yr=Jn?"div":"li",la=b.createElement(yr,Object.assign({},Xn,Jn?{}:{ref:Re},{className:xe()(`${br}-item`,{[`${br}-item-no-flex`]:!ta()},Ln)}),Rr==="vertical"&&fn?[b.createElement("div",{className:`${br}-item-main`,key:"content"},Rt,Fn),b.createElement("div",{className:`${br}-item-extra`,key:"extra"},fn)]:[Rt,Fn,(0,Qe.Tm)(fn,{key:"extra"})]);return Jn?b.createElement(yt.Z,{ref:Re,flex:1,style:qn},la):la},xt=(0,b.forwardRef)(Et);xt.Meta=Pt;var Nt=xt,an=e(54548),Sn=e(14747),En=e(91945),xn=e(45503);const rt=st=>{const{listBorderedCls:Re,componentCls:pt,paddingLG:Rt,margin:Bt,itemPaddingSM:fn,itemPaddingLG:Ln,marginLG:qn,borderRadiusLG:Xn}=st;return{[`${Re}`]:{border:`${(0,an.bf)(st.lineWidth)} ${st.lineType} ${st.colorBorder}`,borderRadius:Xn,[`${pt}-header,${pt}-footer,${pt}-item`]:{paddingInline:Rt},[`${pt}-pagination`]:{margin:`${(0,an.bf)(Bt)} ${(0,an.bf)(qn)}`}},[`${Re}${pt}-sm`]:{[`${pt}-item,${pt}-header,${pt}-footer`]:{padding:fn}},[`${Re}${pt}-lg`]:{[`${pt}-item,${pt}-header,${pt}-footer`]:{padding:Ln}}}},Fe=st=>{const{componentCls:Re,screenSM:pt,screenMD:Rt,marginLG:Bt,marginSM:fn,margin:Ln}=st;return{[`@media screen and (max-width:${Rt}px)`]:{[`${Re}`]:{[`${Re}-item`]:{[`${Re}-item-action`]:{marginInlineStart:Bt}}},[`${Re}-vertical`]:{[`${Re}-item`]:{[`${Re}-item-extra`]:{marginInlineStart:Bt}}}},[`@media screen and (max-width: ${pt}px)`]:{[`${Re}`]:{[`${Re}-item`]:{flexWrap:"wrap",[`${Re}-action`]:{marginInlineStart:fn}}},[`${Re}-vertical`]:{[`${Re}-item`]:{flexWrap:"wrap-reverse",[`${Re}-item-main`]:{minWidth:st.contentWidth},[`${Re}-item-extra`]:{margin:`auto auto ${(0,an.bf)(Ln)}`}}}}}},ht=st=>{const{componentCls:Re,antCls:pt,controlHeight:Rt,minHeight:Bt,paddingSM:fn,marginLG:Ln,padding:qn,itemPadding:Xn,colorPrimary:Jn,itemPaddingSM:Rr,itemPaddingLG:Ur,paddingXS:Ir,margin:ta,colorText:br,colorTextDescription:Fn,motionDurationSlow:yr,lineWidth:la,headerBg:pa,footerBg:Qa,emptyTextPadding:to,metaMarginBottom:ro,avatarMarginRight:no,titleMarginBottom:kr,descriptionFontSize:Oa}=st,Eo={};return["start","center","end"].forEach(lo=>{Eo[`&-align-${lo}`]={textAlign:lo}}),{[`${Re}`]:Object.assign(Object.assign({},(0,Sn.Wf)(st)),{position:"relative","*":{outline:"none"},[`${Re}-header`]:{background:pa},[`${Re}-footer`]:{background:Qa},[`${Re}-header, ${Re}-footer`]:{paddingBlock:fn},[`${Re}-pagination`]:Object.assign(Object.assign({marginBlockStart:Ln},Eo),{[`${pt}-pagination-options`]:{textAlign:"start"}}),[`${Re}-spin`]:{minHeight:Bt,textAlign:"center"},[`${Re}-items`]:{margin:0,padding:0,listStyle:"none"},[`${Re}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:Xn,color:br,[`${Re}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${Re}-item-meta-avatar`]:{marginInlineEnd:no},[`${Re}-item-meta-content`]:{flex:"1 0",width:0,color:br},[`${Re}-item-meta-title`]:{margin:`0 0 ${(0,an.bf)(st.marginXXS)} 0`,color:br,fontSize:st.fontSize,lineHeight:st.lineHeight,"> a":{color:br,transition:`all ${yr}`,["&:hover"]:{color:Jn}}},[`${Re}-item-meta-description`]:{color:Fn,fontSize:Oa,lineHeight:st.lineHeight}},[`${Re}-item-action`]:{flex:"0 0 auto",marginInlineStart:st.marginXXL,padding:0,fontSize:0,listStyle:"none",["& > li"]:{position:"relative",display:"inline-block",padding:`0 ${(0,an.bf)(Ir)}`,color:Fn,fontSize:st.fontSize,lineHeight:st.lineHeight,textAlign:"center",["&:first-child"]:{paddingInlineStart:0}},[`${Re}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:la,height:st.calc(st.fontHeight).sub(st.calc(st.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:st.colorSplit}}},[`${Re}-empty`]:{padding:`${(0,an.bf)(qn)} 0`,color:Fn,fontSize:st.fontSizeSM,textAlign:"center"},[`${Re}-empty-text`]:{padding:to,color:st.colorTextDisabled,fontSize:st.fontSize,textAlign:"center"},[`${Re}-item-no-flex`]:{display:"block"}}),[`${Re}-grid ${pt}-col > ${Re}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:ta,paddingBlock:0,borderBlockEnd:"none"},[`${Re}-vertical ${Re}-item`]:{alignItems:"initial",[`${Re}-item-main`]:{display:"block",flex:1},[`${Re}-item-extra`]:{marginInlineStart:Ln},[`${Re}-item-meta`]:{marginBlockEnd:ro,[`${Re}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:kr,color:br,fontSize:st.fontSizeLG,lineHeight:st.lineHeightLG}},[`${Re}-item-action`]:{marginBlockStart:qn,marginInlineStart:"auto","> li":{padding:`0 ${(0,an.bf)(qn)}`,["&:first-child"]:{paddingInlineStart:0}}}},[`${Re}-split ${Re}-item`]:{borderBlockEnd:`${(0,an.bf)(st.lineWidth)} ${st.lineType} ${st.colorSplit}`,["&:last-child"]:{borderBlockEnd:"none"}},[`${Re}-split ${Re}-header`]:{borderBlockEnd:`${(0,an.bf)(st.lineWidth)} ${st.lineType} ${st.colorSplit}`},[`${Re}-split${Re}-empty ${Re}-footer`]:{borderTop:`${(0,an.bf)(st.lineWidth)} ${st.lineType} ${st.colorSplit}`},[`${Re}-loading ${Re}-spin-nested-loading`]:{minHeight:Rt},[`${Re}-split${Re}-something-after-last-item ${pt}-spin-container > ${Re}-items > ${Re}-item:last-child`]:{borderBlockEnd:`${(0,an.bf)(st.lineWidth)} ${st.lineType} ${st.colorSplit}`},[`${Re}-lg ${Re}-item`]:{padding:Ur},[`${Re}-sm ${Re}-item`]:{padding:Rr},[`${Re}:not(${Re}-vertical)`]:{[`${Re}-item-no-flex`]:{[`${Re}-item-action`]:{float:"right"}}}}},wt=st=>({contentWidth:220,itemPadding:`${(0,an.bf)(st.paddingContentVertical)} 0`,itemPaddingSM:`${(0,an.bf)(st.paddingContentVerticalSM)} ${(0,an.bf)(st.paddingContentHorizontal)}`,itemPaddingLG:`${(0,an.bf)(st.paddingContentVerticalLG)} ${(0,an.bf)(st.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:st.padding,metaMarginBottom:st.padding,avatarMarginRight:st.padding,titleMarginBottom:st.paddingSM,descriptionFontSize:st.fontSize});var jt=(0,En.I$)("List",st=>{const Re=(0,xn.TS)(st,{listBorderedCls:`${st.componentCls}-bordered`,minHeight:st.controlHeightLG});return[ht(Re),rt(Re),Fe(Re)]},wt),Xt=e(98675),tn=function(st,Re){var pt={};for(var Rt in st)Object.prototype.hasOwnProperty.call(st,Rt)&&Re.indexOf(Rt)<0&&(pt[Rt]=st[Rt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Rt=Object.getOwnPropertySymbols(st);Bt(Zn,or)=>{var Cr;Oa(Zn),lo(or),pt&&pt[_t]&&((Cr=pt==null?void 0:pt[_t])===null||Cr===void 0||Cr.call(pt,Zn,or))},ko=zo("onChange"),fi=zo("onShowSizeChange"),po=(_t,Zn)=>{if(!Qa)return null;let or;return typeof pa=="function"?or=pa(_t):pa?or=_t[pa]:or=_t.key,or||(or=`list-item-${Zn}`),b.createElement(b.Fragment,{key:or},Qa(_t,Zn))},vo=()=>!!(Ur||pt||yr),Ca=Do("list",Rt),[ri,To,Zi]=jt(Ca);let ai=la;typeof ai=="boolean"&&(ai={spinning:ai});const Jo=ai&&ai.spinning,_o=(0,Xt.Z)(br);let Ba="";switch(_o){case"large":Ba="lg";break;case"small":Ba="sm";break;default:break}const Ga=xe()(Ca,{[`${Ca}-vertical`]:Rr==="vertical",[`${Ca}-${Ba}`]:Ba,[`${Ca}-split`]:fn,[`${Ca}-bordered`]:Bt,[`${Ca}-loading`]:Jo,[`${Ca}-grid`]:!!Ir,[`${Ca}-something-after-last-item`]:vo(),[`${Ca}-rtl`]:di==="rtl"},Ro==null?void 0:Ro.className,Ln,qn,To,Zi),Ma=(0,ve.Z)(Qo,{total:ta.length,current:kr,pageSize:Eo},pt||{}),Di=Math.ceil(Ma.total/Ma.pageSize);Ma.current>Di&&(Ma.current=Di);const mo=pt?b.createElement("div",{className:xe()(`${Ca}-pagination`,`${Ca}-pagination-align-${(Re=Ma==null?void 0:Ma.align)!==null&&Re!==void 0?Re:"end"}`)},b.createElement(qe.Z,Object.assign({},Ma,{onChange:ko,onShowSizeChange:fi}))):null;let oi=(0,Ne.Z)(ta);pt&&ta.length>(Ma.current-1)*Ma.pageSize&&(oi=(0,Ne.Z)(ta).splice((Ma.current-1)*Ma.pageSize,Ma.pageSize));const yo=Object.keys(Ir||{}).some(_t=>["xs","sm","md","lg","xl","xxl"].includes(_t)),me=(0,Ke.Z)(yo),pe=b.useMemo(()=>{for(let _t=0;_t{if(!Ir)return;const _t=pe&&Ir[pe]?Ir[pe]:Ir.column;if(_t)return{width:`${100/_t}%`,maxWidth:`${100/_t}%`}},[Ir==null?void 0:Ir.column,pe]);let Ae=Jo&&b.createElement("div",{style:{minHeight:53}});if(oi.length>0){const _t=oi.map((Zn,or)=>po(Zn,or));Ae=Ir?b.createElement(Pe.Z,{gutter:Ir.gutter},b.Children.map(_t,Zn=>b.createElement("div",{key:Zn==null?void 0:Zn.key,style:Ce},Zn))):b.createElement("ul",{className:`${Ca}-items`},_t)}else!Jn&&!Jo&&(Ae=b.createElement("div",{className:`${Ca}-empty-text`},to&&to.emptyText||(fo==null?void 0:fo("List"))||b.createElement(dt.Z,{componentName:"List"})));const ct=Ma.position||"bottom",Ht=b.useMemo(()=>({grid:Ir,itemLayout:Rr}),[JSON.stringify(Ir),Rr]);return ri(b.createElement(Mt.Provider,{value:Ht},b.createElement("div",Object.assign({style:Object.assign(Object.assign({},Ro==null?void 0:Ro.style),Xn),className:Ga},ro),(ct==="top"||ct==="both")&&mo,Fn&&b.createElement("div",{className:`${Ca}-header`},Fn),b.createElement(L.Z,Object.assign({},ai),Ae,Jn),yr&&b.createElement("div",{className:`${Ca}-footer`},yr),Ur||(ct==="bottom"||ct==="both")&&mo)))}Cn.Item=Nt;var wn=Cn,jn=e(72269),_n=e(76278),$n=e(17012),Gn=e(62208),sn=e(26702),tr=e(1558),Qt=e(82225),ln=e(64217);const ft=(st,Re,pt,Rt,Bt)=>({background:st,border:`${(0,an.bf)(Rt.lineWidth)} ${Rt.lineType} ${Re}`,[`${Bt}-icon`]:{color:pt}}),gt=st=>{const{componentCls:Re,motionDurationSlow:pt,marginXS:Rt,marginSM:Bt,fontSize:fn,fontSizeLG:Ln,lineHeight:qn,borderRadiusLG:Xn,motionEaseInOutCirc:Jn,withDescriptionIconSize:Rr,colorText:Ur,colorTextHeading:Ir,withDescriptionPadding:ta,defaultPadding:br}=st;return{[Re]:Object.assign(Object.assign({},(0,Sn.Wf)(st)),{position:"relative",display:"flex",alignItems:"center",padding:br,wordWrap:"break-word",borderRadius:Xn,[`&${Re}-rtl`]:{direction:"rtl"},[`${Re}-content`]:{flex:1,minWidth:0},[`${Re}-icon`]:{marginInlineEnd:Rt,lineHeight:0},["&-description"]:{display:"none",fontSize:fn,lineHeight:qn},"&-message":{color:Ir},[`&${Re}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${pt} ${Jn}, opacity ${pt} ${Jn}, padding-top ${pt} ${Jn}, padding-bottom ${pt} ${Jn}, - margin-bottom ${pt} ${Jn}`},[`&${Re}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${Re}-with-description`]:{alignItems:"flex-start",padding:ta,[`${Re}-icon`]:{marginInlineEnd:Bt,fontSize:Rr,lineHeight:0},[`${Re}-message`]:{display:"block",marginBottom:Rt,color:Ir,fontSize:Ln},[`${Re}-description`]:{display:"block",color:Ur}},[`${Re}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},$t=st=>{const{componentCls:Re,colorSuccess:pt,colorSuccessBorder:Rt,colorSuccessBg:Bt,colorWarning:fn,colorWarningBorder:Ln,colorWarningBg:qn,colorError:Xn,colorErrorBorder:Jn,colorErrorBg:Rr,colorInfo:Ur,colorInfoBorder:Ir,colorInfoBg:ta}=st;return{[Re]:{"&-success":ft(Bt,Rt,pt,st,Re),"&-info":ft(ta,Ir,Ur,st,Re),"&-warning":ft(qn,Ln,fn,st,Re),"&-error":Object.assign(Object.assign({},ft(Rr,Jn,Xn,st,Re)),{[`${Re}-description > pre`]:{margin:0,padding:0}})}}},Ot=st=>{const{componentCls:Re,iconCls:pt,motionDurationMid:Rt,marginXS:Bt,fontSizeIcon:fn,colorIcon:Ln,colorIconHover:qn}=st;return{[Re]:{["&-action"]:{marginInlineStart:Bt},[`${Re}-close-icon`]:{marginInlineStart:Bt,padding:0,overflow:"hidden",fontSize:fn,lineHeight:(0,an.bf)(fn),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${pt}-close`]:{color:Ln,transition:`color ${Rt}`,"&:hover":{color:qn}}},"&-close-text":{color:Ln,transition:`color ${Rt}`,"&:hover":{color:qn}}}}},Ut=st=>({withDescriptionIconSize:st.fontSizeHeading3,defaultPadding:`${st.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${st.paddingMD}px ${st.paddingContentHorizontalLG}px`});var Ft=(0,En.I$)("Alert",st=>[gt(st),$t(st),Ot(st)],Ut),nn=function(st,Re){var pt={};for(var Rt in st)Object.prototype.hasOwnProperty.call(st,Rt)&&Re.indexOf(Rt)<0&&(pt[Rt]=st[Rt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Rt=Object.getOwnPropertySymbols(st);Bt{const{icon:Re,prefixCls:pt,type:Rt}=st,Bt=dn[Rt]||null;return Re?(0,Qe.wm)(Re,b.createElement("span",{className:`${pt}-icon`},Re),()=>({className:xe()(`${pt}-icon`,{[Re.props.className]:Re.props.className})})):b.createElement(Bt,{className:`${pt}-icon`})},Tn=st=>{const{isClosable:Re,prefixCls:pt,closeIcon:Rt,handleClose:Bt,ariaProps:fn}=st,Ln=Rt===!0||Rt===void 0?b.createElement(Gn.Z,null):Rt;return Re?b.createElement("button",Object.assign({type:"button",onClick:Bt,className:`${pt}-close-icon`,tabIndex:0},fn),Ln):null};var Pn=st=>{const{description:Re,prefixCls:pt,message:Rt,banner:Bt,className:fn,rootClassName:Ln,style:qn,onMouseEnter:Xn,onMouseLeave:Jn,onClick:Rr,afterClose:Ur,showIcon:Ir,closable:ta,closeText:br,closeIcon:Fn,action:yr}=st,la=nn(st,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[pa,Qa]=b.useState(!1),to=b.useRef(null),{getPrefixCls:ro,direction:no,alert:kr}=b.useContext(it.E_),Oa=ro("alert",pt),[Eo,lo,Do]=Ft(Oa),fo=vo=>{var Ca;Qa(!0),(Ca=st.onClose)===null||Ca===void 0||Ca.call(st,vo)},di=b.useMemo(()=>st.type!==void 0?st.type:Bt?"warning":"info",[st.type,Bt]),Ro=b.useMemo(()=>typeof ta=="object"&&ta.closeIcon||br?!0:typeof ta=="boolean"?ta:Fn!==!1&&Fn!==null&&Fn!==void 0?!0:!!(kr!=null&&kr.closable),[br,Fn,ta,kr==null?void 0:kr.closable]),Qo=Bt&&Ir===void 0?!0:Ir,zo=xe()(Oa,`${Oa}-${di}`,{[`${Oa}-with-description`]:!!Re,[`${Oa}-no-icon`]:!Qo,[`${Oa}-banner`]:!!Bt,[`${Oa}-rtl`]:no==="rtl"},kr==null?void 0:kr.className,fn,Ln,Do,lo),ko=(0,ln.Z)(la,{aria:!0,data:!0}),fi=b.useMemo(()=>{var vo,Ca;return typeof ta=="object"&&ta.closeIcon?ta.closeIcon:br||(Fn!==void 0?Fn:typeof(kr==null?void 0:kr.closable)=="object"&&(!((vo=kr==null?void 0:kr.closable)===null||vo===void 0)&&vo.closeIcon)?(Ca=kr==null?void 0:kr.closable)===null||Ca===void 0?void 0:Ca.closeIcon:kr==null?void 0:kr.closeIcon)},[Fn,ta,br,kr==null?void 0:kr.closeIcon]),po=b.useMemo(()=>{const vo=ta!=null?ta:kr==null?void 0:kr.closable;if(typeof vo=="object"){const{closeIcon:Ca}=vo;return nn(vo,["closeIcon"])}return{}},[ta,kr==null?void 0:kr.closable]);return Eo(b.createElement(Qt.ZP,{visible:!pa,motionName:`${Oa}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:vo=>({maxHeight:vo.offsetHeight}),onLeaveEnd:Ur},vo=>{let{className:Ca,style:ri}=vo;return b.createElement("div",Object.assign({ref:to,"data-show":!pa,className:xe()(zo,Ca),style:Object.assign(Object.assign(Object.assign({},kr==null?void 0:kr.style),qn),ri),onMouseEnter:Xn,onMouseLeave:Jn,onClick:Rr,role:"alert"},ko),Qo?b.createElement(bn,{description:Re,icon:st.icon,prefixCls:Oa,type:di}):null,b.createElement("div",{className:`${Oa}-content`},Rt?b.createElement("div",{className:`${Oa}-message`},Rt):null,Re?b.createElement("div",{className:`${Oa}-description`},Re):null),yr?b.createElement("div",{className:`${Oa}-action`},yr):null,b.createElement(Tn,{isClosable:Ro,prefixCls:Oa,closeIcon:fi,handleClose:fo,ariaProps:po}))}))},Hn=e(15671),Rn=e(43144),Nn=e(53640),Or=e(32531),we=function(st){(0,Or.Z)(Re,st);function Re(){var pt;return(0,Hn.Z)(this,Re),pt=(0,Nn.Z)(this,Re,arguments),pt.state={error:void 0,info:{componentStack:""}},pt}return(0,Rn.Z)(Re,[{key:"componentDidCatch",value:function(Rt,Bt){this.setState({error:Rt,info:Bt})}},{key:"render",value:function(){const{message:Rt,description:Bt,children:fn}=this.props,{error:Ln,info:qn}=this.state,Xn=qn&&qn.componentStack?qn.componentStack:null,Jn=typeof Rt=="undefined"?(Ln||"").toString():Rt,Rr=typeof Bt=="undefined"?Xn:Bt;return Ln?b.createElement(Pn,{type:"error",message:Jn,description:b.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},Rr)}):fn}}]),Re}(b.Component);const Ye=Pn;Ye.ErrorBoundary=we;var Je=Ye,ot=e(14726),Wt=e(2453),Gt=e(97435),Kt=e(21770),gn=e(14192),vn=e(52676),An=e(62812),Jt=e(32857),mn=function(Re,pt){return b.createElement(B.Z,(0,$.Z)({},Re,{ref:pt,icon:Jt.Z}))},Vt=b.forwardRef(mn),un=e(83062),on=function(Re){var pt=Re.value,Rt=Re.configType,Bt=Re.onChange,fn=Re.list,Ln=Re.prefixCls,qn=Re.hashId,Xn="".concat(Ln,"-block-checkbox"),Jn=(0,b.useMemo)(function(){var Rr=(fn||[]).map(function(Ur){return(0,S.jsx)(un.Z,{title:Ur.title,children:(0,S.jsxs)("div",{className:xe()(qn,"".concat(Xn,"-item"),"".concat(Xn,"-item-").concat(Ur.key),"".concat(Xn,"-").concat(Rt,"-item")),onClick:function(){return Bt(Ur.key)},children:[(0,S.jsx)(Vt,{className:"".concat(Xn,"-selectIcon ").concat(qn).trim(),style:{display:pt===Ur.key?"block":"none"}}),Ur!=null&&Ur.icon?(0,S.jsx)("div",{className:"".concat(Xn,"-icon ").concat(qn).trim(),children:Ur.icon}):null]})},Ur.key)});return Rr},[pt,fn==null?void 0:fn.length,Bt]);return(0,S.jsx)("div",{className:xe()(Xn,qn),children:Jn})},Bn=e(34041),zn=function(Re){var pt=b.cloneElement(Re.action,{disabled:Re.disabled});return(0,S.jsx)(un.Z,{title:Re.disabled?Re.disabledReason:"",placement:"left",children:(0,S.jsx)(wn.Item,{actions:[pt],children:(0,S.jsx)("span",{style:{opacity:Re.disabled?.5:1},children:Re.title})})})},fr=function(Re){var pt=Re.settings,Rt=Re.prefixCls,Bt=Re.changeSetting,fn=Re.hashId,Ln=In(),qn=pt||gn.h,Xn=qn.contentWidth,Jn=qn.splitMenus,Rr=qn.fixedHeader,Ur=qn.layout,Ir=qn.fixSiderbar;return(0,S.jsx)(wn,{className:"".concat(Rt,"-list ").concat(fn).trim(),split:!1,dataSource:[{title:Ln({id:"app.setting.content-width",defaultMessage:"Content Width"}),action:(0,S.jsxs)(Bn.Z,{value:Xn||"Fixed",size:"small",className:"content-width ".concat(fn).trim(),onSelect:function(br){Bt("contentWidth",br)},style:{width:80},children:[Ur==="side"?null:(0,S.jsx)(Bn.Z.Option,{value:"Fixed",children:Ln({id:"app.setting.content-width.fixed",defaultMessage:"Fixed"})}),(0,S.jsx)(Bn.Z.Option,{value:"Fluid",children:Ln({id:"app.setting.content-width.fluid",defaultMessage:"Fluid"})})]})},{title:Ln({id:"app.setting.fixedheader",defaultMessage:"Fixed Header"}),action:(0,S.jsx)(jn.Z,{size:"small",className:"fixed-header",checked:!!Rr,onChange:function(br){Bt("fixedHeader",br)}})},{title:Ln({id:"app.setting.fixedsidebar",defaultMessage:"Fixed Sidebar"}),disabled:Ur==="top",disabledReason:Ln({id:"app.setting.fixedsidebar.hint",defaultMessage:"Works on Side Menu Layout"}),action:(0,S.jsx)(jn.Z,{size:"small",className:"fix-siderbar",checked:!!Ir,onChange:function(br){return Bt("fixSiderbar",br)}})},{title:Ln({id:"app.setting.splitMenus"}),disabled:Ur!=="mix",action:(0,S.jsx)(jn.Z,{size:"small",checked:!!Jn,className:"split-menus",onChange:function(br){Bt("splitMenus",br)}})}],renderItem:zn})},Un=function(Re){var pt=Re.settings,Rt=Re.prefixCls,Bt=Re.changeSetting,fn=Re.hashId,Ln=In(),qn=["header","footer","menu","menuHeader"];return(0,S.jsx)(wn,{className:"".concat(Rt,"-list ").concat(fn).trim(),split:!1,renderItem:zn,dataSource:qn.map(function(Xn){return{title:Ln({id:"app.setting.regionalsettings.".concat(Xn)}),action:(0,S.jsx)(jn.Z,{size:"small",className:"regional-".concat(Xn," ").concat(fn).trim(),checked:pt["".concat(Xn,"Render")]||pt["".concat(Xn,"Render")]===void 0,onChange:function(Rr){return Bt("".concat(Xn,"Render"),Rr===!0?void 0:!1)}})}})})},kn=e(91),wr=["color","check"],zr=b.forwardRef(function(st,Re){var pt=st.color,Rt=st.check,Bt=(0,kn.Z)(st,wr);return(0,S.jsx)("div",(0,P.Z)((0,P.Z)({},Bt),{},{style:{backgroundColor:pt},ref:Re,children:Rt?(0,S.jsx)(Vt,{}):""}))}),ia=function(Re){var pt=Re.value,Rt=Re.colorList,Bt=Re.onChange,fn=Re.prefixCls,Ln=Re.formatMessage,qn=Re.hashId;if(!Rt||(Rt==null?void 0:Rt.length)<1)return null;var Xn="".concat(fn,"-theme-color");return(0,S.jsx)("div",{className:"".concat(Xn," ").concat(qn).trim(),children:Rt==null?void 0:Rt.map(function(Jn){var Rr=Jn.key,Ur=Jn.color,Ir=Jn.title;return Rr?(0,S.jsx)(un.Z,{title:Ir!=null?Ir:Ln({id:"app.setting.themecolor.".concat(Rr)}),children:(0,S.jsx)(zr,{className:"".concat(Xn,"-block ").concat(qn).trim(),color:Ur,check:pt===Ur,onClick:function(){return Bt&&Bt(Ur)}})},Ur):null})})};function ea(){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 Jr(){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 fa=e(4942),Nr=e(98082),Fr=function(Re){return(0,fa.Z)((0,fa.Z)({},"".concat(Re.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:Re.colorPrimary,borderEndStartRadius:Re.borderRadiusLG,borderStartStartRadius:Re.borderRadiusLG,"-webkit-backdropilter":"saturate(180%) blur(20px)",backdropFilter:"saturate(180%) blur(20px)",cursor:"pointer",pointerEvents:"auto"}),Re.componentCls,{"&-content":{position:"relative",minHeight:"100%",color:Re.colorText},"&-body-title":{marginBlock:Re.marginXS,fontSize:"14px",lineHeight:"22px",color:Re.colorTextHeading},"&-block-checkbox":{display:"flex",minHeight:42,gap:Re.marginSM,"& &-item":{position:"relative",width:"44px",height:"36px",overflow:"hidden",borderRadius:"4px",boxShadow:Re.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:Re.colorBgElevated,"&::before":{zIndex:"1",backgroundColor:"#001529"},"&::after":{backgroundColor:Re.colorBgContainer}},"&-top":{backgroundColor:Re.colorBgElevated,"&::before":{backgroundColor:"transparent"},"&::after":{backgroundColor:"#001529"}},"&-mix":{backgroundColor:Re.colorBgElevated,"&::before":{backgroundColor:Re.colorBgContainer},"&::after":{backgroundColor:"#001529"}}},"& &-selectIcon":{position:"absolute",insetInlineEnd:"6px",bottom:"4px",color:Re.colorPrimary,fontWeight:"bold",fontSize:"14px",pointerEvents:"none",".action":{color:Re.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,fa.Z)({},"li".concat(Re.antCls,"-list-item"),{paddingInline:0,paddingBlock:8})})};function _r(st){return(0,Nr.Xj)("ProLayoutSettingDrawer",function(Re){var pt=(0,P.Z)((0,P.Z)({},Re),{},{componentCls:".".concat(st)});return[Fr(pt)]})}var Br=function(Re){var pt=Re.children,Rt=Re.hashId,Bt=Re.prefixCls,fn=Re.title;return(0,S.jsxs)("div",{style:{marginBlockEnd:12},children:[(0,S.jsx)("h3",{className:"".concat(Bt,"-body-title ").concat(Rt).trim(),children:fn}),pt]})},Gr=function(Re){var pt={};return Object.keys(Re).forEach(function(Rt){Re[Rt]!==gn.h[Rt]&&Rt!=="collapse"?pt[Rt]=Re[Rt]:pt[Rt]=void 0,Rt.includes("Render")&&(pt[Rt]=Re[Rt]===!1?!1:void 0)}),pt.menu=void 0,pt},In=function(){var Re=function(Rt){var Bt=Rt.id,fn=(0,vn.e)();return fn[Bt]};return Re},hn=function(Re,pt,Rt){if((0,je.j)()){var Bt={};Object.keys(Re).forEach(function(Ln){if(gn.h[Ln]||gn.h[Ln]===void 0){if(Ln==="colorPrimary"){Bt[Ln]=(0,An.tV)(Re[Ln]);return}Bt[Ln]=Re[Ln]}});var fn=(0,ge.T)({},pt,Bt);delete fn.menu,delete fn.title,delete fn.iconfontUrl,Rt==null||Rt(fn)}},On=function(Re,pt){return(0,je.j)()?(0,P.Z)((0,P.Z)((0,P.Z)({},gn.h),pt||{}),Re):gn.h},mr=function(Re){return JSON.stringify((0,Gt.Z)((0,P.Z)((0,P.Z)({},Re),{},{colorPrimary:Re.colorPrimary}),["colorWeak"]),null,2)},xr=function(Re){var pt=Re.defaultSettings,Rt=pt===void 0?void 0:pt,Bt=Re.settings,fn=Bt===void 0?void 0:Bt,Ln=Re.hideHintAlert,qn=Re.hideCopyButton,Xn=Re.colorList,Jn=Xn===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"}]:Xn,Rr=Re.getContainer,Ur=Re.onSettingChange,Ir=Re.enableDarkTheme,ta=Re.prefixCls,br=ta===void 0?"ant-pro":ta,Fn=Re.pathname,yr=Fn===void 0?window.location.pathname:Fn,la=Re.disableUrlParams,pa=la===void 0?!0:la,Qa=Re.themeOnly,to=(0,b.useRef)(!0),ro=(0,Kt.Z)(!1,{value:Re.collapse,onChange:Re.onCollapseChange}),no=(0,A.Z)(ro,2),kr=no[0],Oa=no[1],Eo=(0,b.useState)((0,vn.G)()),lo=(0,A.Z)(Eo,2),Do=lo[0],fo=lo[1],di=(0,ze.l)({},{disabled:pa}),Ro=(0,A.Z)(di,2),Qo=Ro[0],zo=Ro[1],ko=(0,Kt.Z)(function(){return On(Qo,fn||Rt)},{value:fn,onChange:Ur}),fi=(0,A.Z)(ko,2),po=fi[0],vo=fi[1],Ca=po||{},ri=Ca.navTheme,To=Ca.colorPrimary,Zi=Ca.siderMenuType,ai=Ca.layout,Jo=Ca.colorWeak;(0,b.useEffect)(function(){var yo=function(){Do!==(0,vn.G)()&&fo((0,vn.G)())};return(0,je.j)()?(hn(On(Qo,fn),po,vo),window.document.addEventListener("languagechange",yo,{passive:!0}),function(){return window.document.removeEventListener("languagechange",yo)}):function(){return null}},[]),(0,b.useEffect)(function(){(0,Se.n)(et.Z,"5.0.0")<0&&He.ZP.config({theme:{primaryColor:po.colorPrimary}})},[po.colorPrimary,po.navTheme]);var _o=function(me,pe){var Ce={};if(Ce[me]=pe,me==="layout"&&(Ce.contentWidth=pe==="top"?"Fixed":"Fluid"),me==="layout"&&pe!=="mix"&&(Ce.splitMenus=!1),me==="layout"&&pe==="mix"&&(Ce.navTheme="light"),me==="colorWeak"&&pe===!0){var Ae=document.querySelector("body");Ae&&(Ae.dataset.prosettingdrawer=Ae.style.filter,Ae.style.filter="invert(80%)")}if(me==="colorWeak"&&pe===!1){var ct=document.querySelector("body");ct&&(ct.style.filter=ct.dataset.prosettingdrawer||"none",delete ct.dataset.prosettingdrawer)}delete Ce.menu,delete Ce.title,delete Ce.iconfontUrl,delete Ce.logo,delete Ce.pwa,vo((0,P.Z)((0,P.Z)({},po),Ce))},Ba=In();(0,b.useEffect)(function(){if((0,je.j)()&&!pa){if(to.current){to.current=!1;return}var yo=new URLSearchParams(window.location.search),me=Object.fromEntries(yo.entries()),pe=Gr((0,P.Z)((0,P.Z)({},me),po));delete pe.logo,delete pe.menu,delete pe.title,delete pe.iconfontUrl,delete pe.pwa,zo(pe)}},[zo,po,Qo,yr,pa]);var Ga="".concat(br,"-setting-drawer"),Ma=_r(Ga),Di=Ma.wrapSSR,mo=Ma.hashId,oi=(0,De.X)(kr);return Di((0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"".concat(Ga,"-handle ").concat(mo).trim(),onClick:function(){return Oa(!kr)},style:{width:48,height:48},children:kr?(0,S.jsx)(ie,{style:{color:"#fff",fontSize:20}}):(0,S.jsx)(Oe,{style:{color:"#fff",fontSize:20}})}),(0,S.jsx)(Ge.Z,(0,P.Z)((0,P.Z)({},oi),{},{width:300,onClose:function(){return Oa(!1)},closable:!1,placement:"right",getContainer:Rr,style:{zIndex:999},children:(0,S.jsxs)("div",{className:"".concat(Ga,"-drawer-content ").concat(mo).trim(),children:[(0,S.jsx)(Br,{title:Ba({id:"app.setting.pagestyle",defaultMessage:"Page style setting"}),hashId:mo,prefixCls:Ga,children:(0,S.jsx)(on,{hashId:mo,prefixCls:Ga,list:[{key:"light",title:Ba({id:"app.setting.pagestyle.light",defaultMessage:"\u4EAE\u8272\u83DC\u5355\u98CE\u683C"})},{key:"realDark",title:Ba({id:"app.setting.pagestyle.realdark",defaultMessage:"\u6697\u8272\u83DC\u5355\u98CE\u683C"})}].filter(function(yo){return!(yo.key==="dark"&&po.layout==="mix"||yo.key==="realDark"&&!Ir)}),value:ri,configType:"theme",onChange:function(me){return _o("navTheme",me)}},"navTheme")}),Jn!==!1&&(0,S.jsx)(Br,{hashId:mo,title:Ba({id:"app.setting.themecolor",defaultMessage:"Theme color"}),prefixCls:Ga,children:(0,S.jsx)(ia,{hashId:mo,prefixCls:Ga,colorList:Jn,value:(0,An.tV)(To),formatMessage:Ba,onChange:function(me){return _o("colorPrimary",me)}})}),!Qa&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(Ee.Z,{}),(0,S.jsx)(Br,{hashId:mo,prefixCls:Ga,title:Ba({id:"app.setting.navigationmode"}),children:(0,S.jsx)(on,{prefixCls:Ga,value:ai,hashId:mo,configType:"layout",list:[{key:"side",title:Ba({id:"app.setting.sidemenu"})},{key:"top",title:Ba({id:"app.setting.topmenu"})},{key:"mix",title:Ba({id:"app.setting.mixmenu"})}],onChange:function(me){return _o("layout",me)}},"layout")}),po.layout=="side"||po.layout=="mix"?(0,S.jsx)(Br,{hashId:mo,prefixCls:Ga,title:Ba({id:"app.setting.sidermenutype"}),children:(0,S.jsx)(on,{prefixCls:Ga,value:Zi,hashId:mo,configType:"siderMenuType",list:[{key:"sub",icon:(0,S.jsx)(Jr,{}),title:Ba({id:"app.setting.sidermenutype-sub"})},{key:"group",icon:(0,S.jsx)(ea,{}),title:Ba({id:"app.setting.sidermenutype-group"})}],onChange:function(me){return _o("siderMenuType",me)}},"siderMenuType")}):null,(0,S.jsx)(fr,{prefixCls:Ga,hashId:mo,settings:po,changeSetting:_o}),(0,S.jsx)(Ee.Z,{}),(0,S.jsx)(Br,{hashId:mo,prefixCls:Ga,title:Ba({id:"app.setting.regionalsettings"}),children:(0,S.jsx)(Un,{hashId:mo,prefixCls:Ga,settings:po,changeSetting:_o})}),(0,S.jsx)(Ee.Z,{}),(0,S.jsx)(Br,{hashId:mo,prefixCls:Ga,title:Ba({id:"app.setting.othersettings"}),children:(0,S.jsx)(wn,{className:"".concat(Ga,"-list ").concat(mo).trim(),split:!1,size:"small",renderItem:zn,dataSource:[{title:Ba({id:"app.setting.weakmode"}),action:(0,S.jsx)(jn.Z,{size:"small",className:"color-weak",checked:!!Jo,onChange:function(me){_o("colorWeak",me)}})}]})}),Ln&&qn?null:(0,S.jsx)(Ee.Z,{}),Ln?null:(0,S.jsx)(Je,{type:"warning",message:Ba({id:"app.setting.production.hint"}),icon:(0,S.jsx)(G,{}),showIcon:!0,style:{marginBlockEnd:16}}),qn?null:(0,S.jsx)(ot.ZP,{block:!0,icon:(0,S.jsx)(Le,{}),style:{marginBlockEnd:24},onClick:(0,V.Z)((0,ce.Z)().mark(function yo(){return(0,ce.Z)().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return pe.prev=0,pe.next=3,navigator.clipboard.writeText(mr(po));case 3:Wt.ZP.success(Ba({id:"app.setting.copyinfo"})),pe.next=8;break;case 6:pe.prev=6,pe.t0=pe.catch(0);case 8:case"end":return pe.stop()}},yo,null,[[0,6]])})),children:Ba({id:"app.setting.copy"})})]})]})}))]}))},gr=e(67610),Vr=function(st){return st[st.SILENT=0]="SILENT",st}(Vr||{}),oa={errorConfig:{errorThrower:function(Re){var pt=Re,Rt=pt.data,Bt=pt.code,fn=pt.message;if(Bt!==0){var Ln=new Error(fn);throw Ln.name="BizError",Ln.info={code:Bt,message:fn,data:Rt},Ln}},errorHandler:function(Re,pt){if(pt!=null&&pt.skipErrorHandler)throw Re;if(Re.name==="BizError"){var Rt=Re.info;Rt&&Wt.ZP.error(Rt.message)}else Re.response?Wt.ZP.error("Response status:".concat(Re.response.status)):Re.request?Wt.ZP.error("None response! Please retry."):Wt.ZP.error("Request error, please retry.")}},requestInterceptors:[function(st){var Re,pt=st==null||(Re=st.url)===null||Re===void 0?void 0:Re.concat("?token = 123");return h()(h()({},st),{},{url:pt})}],responseInterceptors:[function(st){var Re=st,pt=Re.data,Rt=pt.code,Bt=pt.message;if(Rt!==0){var fn=new Error(Bt);throw fn.name="BizError",fn.info=pt,fn}else return st}]},ca=!1,ra="/user/login";function La(){return Ka.apply(this,arguments)}function Ka(){return Ka=d()(f()().mark(function st(){var Re,pt,Rt;return f()().wrap(function(fn){for(;;)switch(fn.prev=fn.next){case 0:if(Re=function(){var Ln=d()(f()().mark(function qn(){var Xn;return f()().wrap(function(Rr){for(;;)switch(Rr.prev=Rr.next){case 0:return Rr.prev=0,Rr.next=3,(0,lt.Vk)({skipErrorHandler:!0});case 3:return Xn=Rr.sent,Rr.abrupt("return",Xn.data);case 7:Rr.prev=7,Rr.t0=Rr.catch(0),z.history.push(ra);case 10:return Rr.abrupt("return",void 0);case 11:case"end":return Rr.stop()}},qn,null,[[0,7]])}));return function(){return Ln.apply(this,arguments)}}(),pt=z.history.location,pt.pathname===ra){fn.next=7;break}return fn.next=5,Re();case 5:return Rt=fn.sent,fn.abrupt("return",{fetchUserInfo:Re,currentUser:Rt,settings:gr.Z});case 7:return fn.abrupt("return",{fetchUserInfo:Re,settings:gr.Z});case 8:case"end":return fn.stop()}},st)})),Ka.apply(this,arguments)}var Lr=function(Re){var pt=Re.initialState,Rt=Re.setInitialState;return h()({actionsRender:function(){return[(0,S.jsx)(W,{},"doc"),(0,S.jsx)(se,{},"SelectLang")]},avatarProps:{title:(0,S.jsx)(Tt,{}),render:function(fn,Ln){return(0,S.jsx)(St,{children:Ln})}},onPageChange:function(){var fn=z.history.location;!(pt!=null&&pt.currentUser)&&fn.pathname!==ra&&z.history.push(ra)},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:ca?[(0,S.jsxs)(z.Link,{to:"/umi/plugin/openapi",target:"_blank",children:[(0,S.jsx)(D,{}),(0,S.jsx)("span",{children:"OpenAPI \u6587\u6863"})]},"openapi")]:[],menuHeaderRender:void 0,childrenRender:function(fn){return(0,S.jsxs)(S.Fragment,{children:[fn,ca&&(0,S.jsx)(xr,{disableUrlParams:!0,enableDarkTheme:!0,settings:pt==null?void 0:pt.settings,onSettingChange:function(qn){Rt(function(Xn){return h()(h()({},Xn),{},{settings:qn})})}})]})}},pt==null?void 0:pt.settings)},Xr=h()({},oa),Sa=e(70405),$a={},Ha=function(Re){return b.createElement(Sa.B6,{context:$a},Re)};function Da(st){var Re=st!=null?st:{},pt=Re.currentUser,Rt={canAdmin:pt&&pt.role&&pt.role<3};return Rt}var Ua=e(44886),Ia=e(78382);function ja(st){var Re=(0,Ua.t)("@@initialState"),pt=Re.initialState,Rt=b.useMemo(function(){return Da(pt)},[pt]);return(0,S.jsx)(Ia.J.Provider,{value:Rt,children:st.children})}function qa(st){return(0,S.jsx)(ja,{children:st})}function Ar(){return(0,S.jsx)("div",{})}function jr(st){var Re=b.useRef(!1),pt=(0,Ua.t)("@@initialState")||{},Rt=pt.loading,Bt=Rt===void 0?!1:Rt;return b.useEffect(function(){Bt||(Re.current=!0)},[Bt]),Bt&&!Re.current?(0,S.jsx)(Ar,{}):st.children}function sr(st){return(0,S.jsx)(jr,{children:st})}var Zr={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"},sa=Zr,ga=function(Re,pt){return b.createElement(F.Z,(0,P.Z)((0,P.Z)({},Re),{},{ref:pt,icon:sa}))};ga.displayName="SmileOutlined";var Ea=b.forwardRef(ga),Wa={SmileOutlined:Ea};function eo(st){return st.replace(st[0],st[0].toUpperCase()).replace(/-(w)/g,function(Re,pt){return pt.toUpperCase()})}function hr(st){var Re=st.routes;Object.keys(Re).forEach(function(pt){var Rt=Re[pt].icon;if(Rt&&typeof Rt=="string"){var Bt=eo(Rt);(Wa[Bt]||Wa[Bt+"Outlined"])&&(Re[pt].icon=b.createElement(Wa[Bt]||Wa[Bt+"Outlined"]))}})}var Kr=e(5574),Aa=e.n(Kr),Ya=e(27484),xa=e.n(Ya),so=e(54067),Po=e(25054),jo=e(96953),io=e(83783),Ei=e(76831),Yo=e(57548),Xo=e(33852),No=e(43901),wo=e(98944);function ni(){var st=getLocale();if(moment!=null&&moment.locale){var Re;moment.locale(((Re=localeInfo[st])===null||Re===void 0?void 0:Re.momentLocale)||"")}setIntl(st)}var tt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,bt=function(Re){var pt,Rt=(0,wo.Kd)(),Bt=b.useState(Rt),fn=Aa()(Bt,2),Ln=fn[0],qn=fn[1],Xn=b.useState(function(){return(0,wo.lw)(Ln,!0)}),Jn=Aa()(Xn,2),Rr=Jn[0],Ur=Jn[1],Ir=function(yr){if(xa()!==null&&xa()!==void 0&&xa().locale){var la;xa().locale(((la=wo.H8[yr])===null||la===void 0?void 0:la.momentLocale)||"en")}qn(yr),Ur((0,wo.lw)(yr))};tt(function(){return wo.B.on(wo.PZ,Ir),function(){wo.B.off(wo.PZ,Ir)}},[]);var ta={},br=(0,wo.Mg)();return(0,S.jsx)(He.ZP,{direction:br,locale:((pt=wo.H8[Ln])===null||pt===void 0?void 0:pt.antd)||ta,children:(0,S.jsx)(wo.eU,{value:Rr,children:Re.children})})};function Ct(st){return b.createElement(bt,null,st)}var Dt={initialState:void 0,loading:!0,error:void 0},Yt=function(){var st=(0,b.useState)(Dt),Re=Aa()(st,2),pt=Re[0],Rt=Re[1],Bt=(0,b.useCallback)(d()(f()().mark(function Ln(){var qn;return f()().wrap(function(Jn){for(;;)switch(Jn.prev=Jn.next){case 0:return Rt(function(Rr){return h()(h()({},Rr),{},{loading:!0,error:void 0})}),Jn.prev=1,Jn.next=4,La();case 4:qn=Jn.sent,Rt(function(Rr){return h()(h()({},Rr),{},{initialState:qn,loading:!1})}),Jn.next=11;break;case 8:Jn.prev=8,Jn.t0=Jn.catch(1),Rt(function(Rr){return h()(h()({},Rr),{},{error:Jn.t0,loading:!1})});case 11:case"end":return Jn.stop()}},Ln,null,[[1,8]])})),[]),fn=(0,b.useCallback)(function(){var Ln=d()(f()().mark(function qn(Xn){return f()().wrap(function(Rr){for(;;)switch(Rr.prev=Rr.next){case 0:Rt(function(Ur){return typeof Xn=="function"?h()(h()({},Ur),{},{initialState:Xn(Ur.initialState),loading:!1}):h()(h()({},Ur),{},{initialState:Xn,loading:!1})});case 1:case"end":return Rr.stop()}},qn)}));return function(qn){return Ln.apply(this,arguments)}}(),[]);return(0,b.useEffect)(function(){Bt()},[]),h()(h()({},pt),{},{refresh:Bt,setInitialState:fn})},Wn={model_1:{namespace:"@@initialState",model:Yt}};function Yn(st){var Re=b.useMemo(function(){return Object.keys(Wn).reduce(function(pt,Rt){return pt[Wn[Rt].namespace]=Wn[Rt].model,pt},{})},[]);return(0,S.jsx)(Ua.z,h()(h()({models:Re},st),{},{children:st.children}))}function ur(st,Re){return(0,S.jsx)(Yn,h()(h()({},Re),{},{children:st}))}function lr(st){return st.default?typeof st.default=="function"?st.default():st.default:st}function Tr(){return[{apply:lr(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 pr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","getInitialState","layout","locale","qiankun","request"]}var Kn=null;function Dn(){return Kn=z.PluginManager.create({plugins:Tr(),validKeys:pr()}),Kn}function Mr(){return Kn}},35312:function(v,m,e){"use strict";e.d(m,{ApplyPluginsType:function(){return Ft},FormattedMessage:function(){return r._H},Helmet:function(){return xn.ql},Link:function(){return En},Outlet:function(){return ve.j3},PluginManager:function(){return nn},SelectLang:function(){return r.pD},history:function(){return dn.m},matchRoutes:function(){return ve.fp},request:function(){return Ge},useAppData:function(){return an.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),P=e(93096),T=e.n(P);function F(){return typeof document!="undefined"&&typeof document.visibilityState!="undefined"?document.visibilityState!=="hidden":!0}function w(){return typeof navigator.onLine!="undefined"?navigator.onLine:!0}var M=new Map,z=function(we,Ye,Je){var ot=M.get(we);ot!=null&&ot.timer&&clearTimeout(ot.timer);var Wt=void 0;Ye>-1&&(Wt=setTimeout(function(){M.delete(we)},Ye)),M.set(we,{data:Je,timer:Wt,startTime:new Date().getTime()})},se=function(we){var Ye=M.get(we);return{data:Ye==null?void 0:Ye.data,startTime:Ye==null?void 0:Ye.startTime}},W=function(Ie,we){var Ye=typeof Symbol=="function"&&Ie[Symbol.iterator];if(!Ye)return Ie;var Je=Ye.call(Ie),ot,Wt=[],Gt;try{for(;(we===void 0||we-- >0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},Y=function(){for(var Ie=[],we=0;we0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},Z=function(){for(var Ie=[],we=0;we0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},Xe=function(){for(var Ie=[],we=0;we0){var Zr=Jr&&((sr=getCache(Jr))===null||sr===void 0?void 0:sr.startTime)||0;_r===-1||new Date().getTime()-Zr<=_r||Object.values($a).forEach(function(sa){sa.refresh()})}else ja.current.apply(ja,Xe(Un))},[]);var Ar=useCallback(function(){Object.values(Da.current).forEach(function(sr){sr.unmount()}),gr.current=vt,Ha({}),Da.current={}},[Ha]);useUpdateEffect(function(){Gt||Object.values(Da.current).forEach(function(sr){sr.refresh()})},Xe(ot)),useEffect(function(){return function(){Object.values(Da.current).forEach(function(sr){sr.unmount()})}},[]);var jr=useCallback(function(sr){return function(){console.warn("You should't call "+sr+" when service not executed once.")}},[]);return Be(Be({loading:On&&!Gt||mn,data:In,error:void 0,params:[],cancel:jr("cancel"),refresh:jr("refresh"),mutate:jr("mutate")},$a[gr.current]||{}),{run:Ia,fetches:$a,reset:Ar})}var St=null,lt=function(){return lt=Object.assign||function(Ie){for(var we,Ye=1,Je=arguments.length;Ye0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},I=function(){for(var Ie=[],we=0;we0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},R=function(){for(var Ie=[],we=0;wexr&&(On=Math.max(1,xr)),ea({current:On,pageSize:mr})},[Jr,ea]),Fr=useCallback(function(In){Nr(In,Un)},[Nr,Un]),_r=useCallback(function(In){Nr(zn,In)},[Nr,zn]),Br=useRef(Fr);Br.current=Fr,useUpdateEffect(function(){we.manual||Br.current(1)},R(Gt));var Gr=useCallback(function(In,hn,On){ea({current:In.current,pageSize:In.pageSize||ot,filters:hn,sorter:On})},[ia,wr,ea]);return V({loading:Vt,data:An,params:Jt,run:mn,pagination:{current:zn,pageSize:Un,total:Jr,totalPage:fa,onChange:Nr,changeCurrent:Fr,changePageSize:_r},tableProps:{dataSource:(An==null?void 0:An.list)||[],loading:Vt,onChange:Gr,pagination:{current:zn,pageSize:Un,total:Jr}},sorter:wr,filters:ia},un)}var K=null,ie=S.createContext({});ie.displayName="UseRequestConfigContext";var de=ie,Oe=function(){return Oe=Object.assign||function(Ie){for(var we,Ye=1,Je=arguments.length;Ye0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},re=function(){for(var Ie=[],we=0;we1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(Ie,_objectSpread({formatResult:function(Je){return Je==null?void 0:Je.data},requestMethod:function(Je){if(typeof Je=="string")return Ge(Je);if(_typeof(Je)==="object"){var ot=Je.url,Wt=_objectWithoutProperties(Je,ge);return Ge(ot,Wt)}throw new Error("request options error")}},we))}var De,ze,et=function(){return ze||(ze=(0,je.We)().applyPlugins({key:"request",type:Ft.modify,initialValue:{}}),ze)},He=function(){var we,Ye;if(De)return De;var Je=et();return De=b().create(Je),Je==null||(we=Je.requestInterceptors)===null||we===void 0||we.forEach(function(ot){ot instanceof Array?De.interceptors.request.use(function(){var Wt=l()(s()().mark(function Gt(Kt){var gn,vn,An,Jt;return s()().wrap(function(Vt){for(;;)switch(Vt.prev=Vt.next){case 0:if(gn=Kt.url,ot[0].length!==2){Vt.next=8;break}return Vt.next=4,ot[0](gn,Kt);case 4:return vn=Vt.sent,An=vn.url,Jt=vn.options,Vt.abrupt("return",y()(y()({},Jt),{},{url:An}));case 8:return Vt.abrupt("return",ot[0](Kt));case 9:case"end":return Vt.stop()}},Gt)}));return function(Gt){return Wt.apply(this,arguments)}}(),ot[1]):De.interceptors.request.use(function(){var Wt=l()(s()().mark(function Gt(Kt){var gn,vn,An,Jt;return s()().wrap(function(Vt){for(;;)switch(Vt.prev=Vt.next){case 0:if(gn=Kt.url,ot.length!==2){Vt.next=8;break}return Vt.next=4,ot(gn,Kt);case 4:return vn=Vt.sent,An=vn.url,Jt=vn.options,Vt.abrupt("return",y()(y()({},Jt),{},{url:An}));case 8:return Vt.abrupt("return",ot(Kt));case 9:case"end":return Vt.stop()}},Gt)}));return function(Gt){return Wt.apply(this,arguments)}}())}),Je==null||(Ye=Je.responseInterceptors)===null||Ye===void 0||Ye.forEach(function(ot){ot instanceof Array?De.interceptors.response.use(ot[0],ot[1]):De.interceptors.response.use(ot)}),De.interceptors.response.use(function(ot){var Wt,Gt=ot.data;return(Gt==null?void 0:Gt.success)===!1&&Je!==null&&Je!==void 0&&(Wt=Je.errorConfig)!==null&&Wt!==void 0&&Wt.errorThrower&&Je.errorConfig.errorThrower(Gt),ot}),De},Ge=function(we){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{method:"GET"},Je=He(),ot=et(),Wt=Ye.getResponse,Gt=Wt===void 0?!1:Wt,Kt=Ye.requestInterceptors,gn=Ye.responseInterceptors,vn=Kt==null?void 0:Kt.map(function(Jt){return Jt instanceof Array?Je.interceptors.request.use(function(){var mn=l()(s()().mark(function Vt(un){var on,Bn,zn,fr;return s()().wrap(function(kn){for(;;)switch(kn.prev=kn.next){case 0:if(on=un.url,Jt[0].length!==2){kn.next=8;break}return kn.next=4,Jt[0](on,un);case 4:return Bn=kn.sent,zn=Bn.url,fr=Bn.options,kn.abrupt("return",y()(y()({},fr),{},{url:zn}));case 8:return kn.abrupt("return",Jt[0](un));case 9:case"end":return kn.stop()}},Vt)}));return function(Vt){return mn.apply(this,arguments)}}(),Jt[1]):Je.interceptors.request.use(function(){var mn=l()(s()().mark(function Vt(un){var on,Bn,zn,fr;return s()().wrap(function(kn){for(;;)switch(kn.prev=kn.next){case 0:if(on=un.url,Jt.length!==2){kn.next=8;break}return kn.next=4,Jt(on,un);case 4:return Bn=kn.sent,zn=Bn.url,fr=Bn.options,kn.abrupt("return",y()(y()({},fr),{},{url:zn}));case 8:return kn.abrupt("return",Jt(un));case 9:case"end":return kn.stop()}},Vt)}));return function(Vt){return mn.apply(this,arguments)}}())}),An=gn==null?void 0:gn.map(function(Jt){return Jt instanceof Array?Je.interceptors.response.use(Jt[0],Jt[1]):Je.interceptors.response.use(Jt)});return new Promise(function(Jt,mn){Je.request(y()(y()({},Ye),{},{url:we})).then(function(Vt){vn==null||vn.forEach(function(un){Je.interceptors.request.eject(un)}),An==null||An.forEach(function(un){Je.interceptors.response.eject(un)}),Jt(Gt?Vt:Vt.data)}).catch(function(Vt){vn==null||vn.forEach(function(Bn){Je.interceptors.request.eject(Bn)}),An==null||An.forEach(function(Bn){Je.interceptors.response.eject(Bn)});try{var un,on=ot==null||(un=ot.errorConfig)===null||un===void 0?void 0:un.errorHandler;on&&on(Vt,Ye,ot)}catch(Bn){mn(Bn)}mn(Vt)})})},Ee=e(58096),Ne=e(49647),ve=e(96974),ke=e(55648);function it(){return it=Object.assign||function(Ie){for(var we=1;we=0)&&(Ye[ot]=Ie[ot]);return Ye}const Pe=["onClick","reloadDocument","replace","state","target","to"],Ke=null;function qe(Ie,we){if(!Ie){typeof console!="undefined"&&console.warn(we);try{throw new Error(we)}catch(Ye){}}}function Qe(Ie){let{basename:we,children:Ye,window:Je}=Ie,ot=useRef();ot.current==null&&(ot.current=createBrowserHistory({window:Je}));let Wt=ot.current,[Gt,Kt]=useState({action:Wt.action,location:Wt.location});return useLayoutEffect(()=>Wt.listen(Kt),[Wt]),createElement(Router,{basename:we,children:Ye,location:Gt.location,navigationType:Gt.action,navigator:Wt})}function yt(Ie){let{basename:we,children:Ye,window:Je}=Ie,ot=useRef();ot.current==null&&(ot.current=createHashHistory({window:Je}));let Wt=ot.current,[Gt,Kt]=useState({action:Wt.action,location:Wt.location});return useLayoutEffect(()=>Wt.listen(Kt),[Wt]),createElement(Router,{basename:we,children:Ye,location:Gt.location,navigationType:Gt.action,navigator:Wt})}function Mt(Ie){let{basename:we,children:Ye,history:Je}=Ie;const[ot,Wt]=useState({action:Je.action,location:Je.location});return useLayoutEffect(()=>Je.listen(Wt),[Je]),createElement(Router,{basename:we,children:Ye,location:ot.location,navigationType:ot.action,navigator:Je})}function zt(Ie){return!!(Ie.metaKey||Ie.altKey||Ie.ctrlKey||Ie.shiftKey)}const At=(0,S.forwardRef)(function(we,Ye){let{onClick:Je,reloadDocument:ot,replace:Wt=!1,state:Gt,target:Kt,to:gn}=we,vn=dt(we,Pe),An=(0,ve.oQ)(gn),Jt=Et(gn,{replace:Wt,state:Gt,target:Kt});function mn(Vt){Je&&Je(Vt),!Vt.defaultPrevented&&!ot&&Jt(Vt)}return(0,S.createElement)("a",it({},vn,{href:An,onClick:mn,ref:Ye,target:Kt}))}),Pt=null;function Et(Ie,we){let{target:Ye,replace:Je,state:ot}=we===void 0?{}:we,Wt=(0,ve.s0)(),Gt=(0,ve.TH)(),Kt=(0,ve.WU)(Ie);return(0,S.useCallback)(gn=>{if(gn.button===0&&(!Ye||Ye==="_self")&&!zt(gn)){gn.preventDefault();let vn=!!Je||(0,ke.Ep)(Gt)===(0,ke.Ep)(Kt);Wt(Ie,{replace:vn,state:ot})}},[Gt,Wt,Kt,Je,ot,Ye,Ie])}function xt(Ie){let we=useRef(Nt(Ie)),Ye=useLocation(),Je=useMemo(()=>{let Gt=Nt(Ye.search);for(let Kt of we.current.keys())Gt.has(Kt)||we.current.getAll(Kt).forEach(gn=>{Gt.append(Kt,gn)});return Gt},[Ye.search]),ot=useNavigate(),Wt=useCallback((Gt,Kt)=>{ot("?"+Nt(Gt),Kt)},[ot]);return[Je,Wt]}function Nt(Ie){return Ie===void 0&&(Ie=""),new URLSearchParams(typeof Ie=="string"||Array.isArray(Ie)||Ie instanceof URLSearchParams?Ie:Object.keys(Ie).reduce((we,Ye)=>{let Je=Ie[Ye];return we.concat(Array.isArray(Je)?Je.map(ot=>[Ye,ot]):[[Ye,Je]])},[]))}var an=e(34162),Sn=["prefetch"];function En(Ie){var we,Ye=Ie.prefetch,Je=(0,Ne.Z)(Ie,Sn),ot=(0,an.Ov)(),Wt=typeof Ie.to=="string"?Ie.to:(we=Ie.to)===null||we===void 0?void 0:we.pathname;return Wt?S.createElement(At,(0,Ee.Z)({onMouseEnter:function(){var Kt;return Ye&&Wt&&((Kt=ot.preloadRoute)===null||Kt===void 0?void 0:Kt.call(ot,Wt))}},Je),Ie.children):null}var xn=e(70405);function rt(Ie){"@babel/helpers - typeof";return rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(we){return typeof we}:function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we},rt(Ie)}function Fe(){"use strict";Fe=function(){return we};var Ie,we={},Ye=Object.prototype,Je=Ye.hasOwnProperty,ot=Object.defineProperty||function(In,hn,On){In[hn]=On.value},Wt=typeof Symbol=="function"?Symbol:{},Gt=Wt.iterator||"@@iterator",Kt=Wt.asyncIterator||"@@asyncIterator",gn=Wt.toStringTag||"@@toStringTag";function vn(In,hn,On){return Object.defineProperty(In,hn,{value:On,enumerable:!0,configurable:!0,writable:!0}),In[hn]}try{vn({},"")}catch(In){vn=function(On,mr,xr){return On[mr]=xr}}function An(In,hn,On,mr){var xr=hn&&hn.prototype instanceof zn?hn:zn,gr=Object.create(xr.prototype),Vr=new Br(mr||[]);return ot(gr,"_invoke",{value:fa(In,On,Vr)}),gr}function Jt(In,hn,On){try{return{type:"normal",arg:In.call(hn,On)}}catch(mr){return{type:"throw",arg:mr}}}we.wrap=An;var mn="suspendedStart",Vt="suspendedYield",un="executing",on="completed",Bn={};function zn(){}function fr(){}function Un(){}var kn={};vn(kn,Gt,function(){return this});var wr=Object.getPrototypeOf,zr=wr&&wr(wr(Gr([])));zr&&zr!==Ye&&Je.call(zr,Gt)&&(kn=zr);var ia=Un.prototype=zn.prototype=Object.create(kn);function ea(In){["next","throw","return"].forEach(function(hn){vn(In,hn,function(On){return this._invoke(hn,On)})})}function Jr(In,hn){function On(xr,gr,Vr,oa){var ca=Jt(In[xr],In,gr);if(ca.type!=="throw"){var ra=ca.arg,La=ra.value;return La&&rt(La)=="object"&&Je.call(La,"__await")?hn.resolve(La.__await).then(function(Ka){On("next",Ka,Vr,oa)},function(Ka){On("throw",Ka,Vr,oa)}):hn.resolve(La).then(function(Ka){ra.value=Ka,Vr(ra)},function(Ka){return On("throw",Ka,Vr,oa)})}oa(ca.arg)}var mr;ot(this,"_invoke",{value:function(gr,Vr){function oa(){return new hn(function(ca,ra){On(gr,Vr,ca,ra)})}return mr=mr?mr.then(oa,oa):oa()}})}function fa(In,hn,On){var mr=mn;return function(xr,gr){if(mr===un)throw new Error("Generator is already running");if(mr===on){if(xr==="throw")throw gr;return{value:Ie,done:!0}}for(On.method=xr,On.arg=gr;;){var Vr=On.delegate;if(Vr){var oa=Nr(Vr,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(mr===mn)throw mr=on,On.arg;On.dispatchException(On.arg)}else On.method==="return"&&On.abrupt("return",On.arg);mr=un;var ca=Jt(In,hn,On);if(ca.type==="normal"){if(mr=On.done?on:Vt,ca.arg===Bn)continue;return{value:ca.arg,done:On.done}}ca.type==="throw"&&(mr=on,On.method="throw",On.arg=ca.arg)}}}function Nr(In,hn){var On=hn.method,mr=In.iterator[On];if(mr===Ie)return hn.delegate=null,On==="throw"&&In.iterator.return&&(hn.method="return",hn.arg=Ie,Nr(In,hn),hn.method==="throw")||On!=="return"&&(hn.method="throw",hn.arg=new TypeError("The iterator does not provide a '"+On+"' method")),Bn;var xr=Jt(mr,In.iterator,hn.arg);if(xr.type==="throw")return hn.method="throw",hn.arg=xr.arg,hn.delegate=null,Bn;var gr=xr.arg;return gr?gr.done?(hn[In.resultName]=gr.value,hn.next=In.nextLoc,hn.method!=="return"&&(hn.method="next",hn.arg=Ie),hn.delegate=null,Bn):gr:(hn.method="throw",hn.arg=new TypeError("iterator result is not an object"),hn.delegate=null,Bn)}function Fr(In){var hn={tryLoc:In[0]};1 in In&&(hn.catchLoc=In[1]),2 in In&&(hn.finallyLoc=In[2],hn.afterLoc=In[3]),this.tryEntries.push(hn)}function _r(In){var hn=In.completion||{};hn.type="normal",delete hn.arg,In.completion=hn}function Br(In){this.tryEntries=[{tryLoc:"root"}],In.forEach(Fr,this),this.reset(!0)}function Gr(In){if(In||In===""){var hn=In[Gt];if(hn)return hn.call(In);if(typeof In.next=="function")return In;if(!isNaN(In.length)){var On=-1,mr=function xr(){for(;++On=0;--xr){var gr=this.tryEntries[xr],Vr=gr.completion;if(gr.tryLoc==="root")return mr("end");if(gr.tryLoc<=this.prev){var oa=Je.call(gr,"catchLoc"),ca=Je.call(gr,"finallyLoc");if(oa&&ca){if(this.prev=0;--mr){var xr=this.tryEntries[mr];if(xr.tryLoc<=this.prev&&Je.call(xr,"finallyLoc")&&this.prev=0;--On){var mr=this.tryEntries[On];if(mr.finallyLoc===hn)return this.complete(mr.completion,mr.afterLoc),_r(mr),Bn}},catch:function(hn){for(var On=this.tryEntries.length-1;On>=0;--On){var mr=this.tryEntries[On];if(mr.tryLoc===hn){var xr=mr.completion;if(xr.type==="throw"){var gr=xr.arg;_r(mr)}return gr}}throw new Error("illegal catch attempt")},delegateYield:function(hn,On,mr){return this.delegate={iterator:Gr(hn),resultName:On,nextLoc:mr},this.method==="next"&&(this.arg=Ie),Bn}},we}function ht(Ie,we){if(rt(Ie)!="object"||!Ie)return Ie;var Ye=Ie[Symbol.toPrimitive];if(Ye!==void 0){var Je=Ye.call(Ie,we||"default");if(rt(Je)!="object")return Je;throw new TypeError("@@toPrimitive must return a primitive value.")}return(we==="string"?String:Number)(Ie)}function wt(Ie){var we=ht(Ie,"string");return rt(we)=="symbol"?we:String(we)}function jt(Ie,we,Ye){return we=wt(we),we in Ie?Object.defineProperty(Ie,we,{value:Ye,enumerable:!0,configurable:!0,writable:!0}):Ie[we]=Ye,Ie}function Xt(Ie,we){var Ye=Object.keys(Ie);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(Ie);we&&(Je=Je.filter(function(ot){return Object.getOwnPropertyDescriptor(Ie,ot).enumerable})),Ye.push.apply(Ye,Je)}return Ye}function tn(Ie){for(var we=1;weIe.length)&&(we=Ie.length);for(var Ye=0,Je=new Array(we);Ye=Ie.length?{done:!0}:{done:!1,value:Ie[Je++]}},e:function(vn){throw vn},f:ot}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. + margin-bottom ${pt} ${Jn}`},[`&${Re}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${Re}-with-description`]:{alignItems:"flex-start",padding:ta,[`${Re}-icon`]:{marginInlineEnd:Bt,fontSize:Rr,lineHeight:0},[`${Re}-message`]:{display:"block",marginBottom:Rt,color:Ir,fontSize:Ln},[`${Re}-description`]:{display:"block",color:Ur}},[`${Re}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},$t=st=>{const{componentCls:Re,colorSuccess:pt,colorSuccessBorder:Rt,colorSuccessBg:Bt,colorWarning:fn,colorWarningBorder:Ln,colorWarningBg:qn,colorError:Xn,colorErrorBorder:Jn,colorErrorBg:Rr,colorInfo:Ur,colorInfoBorder:Ir,colorInfoBg:ta}=st;return{[Re]:{"&-success":ft(Bt,Rt,pt,st,Re),"&-info":ft(ta,Ir,Ur,st,Re),"&-warning":ft(qn,Ln,fn,st,Re),"&-error":Object.assign(Object.assign({},ft(Rr,Jn,Xn,st,Re)),{[`${Re}-description > pre`]:{margin:0,padding:0}})}}},Ot=st=>{const{componentCls:Re,iconCls:pt,motionDurationMid:Rt,marginXS:Bt,fontSizeIcon:fn,colorIcon:Ln,colorIconHover:qn}=st;return{[Re]:{["&-action"]:{marginInlineStart:Bt},[`${Re}-close-icon`]:{marginInlineStart:Bt,padding:0,overflow:"hidden",fontSize:fn,lineHeight:(0,an.bf)(fn),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${pt}-close`]:{color:Ln,transition:`color ${Rt}`,"&:hover":{color:qn}}},"&-close-text":{color:Ln,transition:`color ${Rt}`,"&:hover":{color:qn}}}}},Ut=st=>({withDescriptionIconSize:st.fontSizeHeading3,defaultPadding:`${st.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${st.paddingMD}px ${st.paddingContentHorizontalLG}px`});var Ft=(0,En.I$)("Alert",st=>[gt(st),$t(st),Ot(st)],Ut),nn=function(st,Re){var pt={};for(var Rt in st)Object.prototype.hasOwnProperty.call(st,Rt)&&Re.indexOf(Rt)<0&&(pt[Rt]=st[Rt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Rt=Object.getOwnPropertySymbols(st);Bt{const{icon:Re,prefixCls:pt,type:Rt}=st,Bt=dn[Rt]||null;return Re?(0,Qe.wm)(Re,b.createElement("span",{className:`${pt}-icon`},Re),()=>({className:xe()(`${pt}-icon`,{[Re.props.className]:Re.props.className})})):b.createElement(Bt,{className:`${pt}-icon`})},Tn=st=>{const{isClosable:Re,prefixCls:pt,closeIcon:Rt,handleClose:Bt,ariaProps:fn}=st,Ln=Rt===!0||Rt===void 0?b.createElement(Gn.Z,null):Rt;return Re?b.createElement("button",Object.assign({type:"button",onClick:Bt,className:`${pt}-close-icon`,tabIndex:0},fn),Ln):null};var Pn=st=>{const{description:Re,prefixCls:pt,message:Rt,banner:Bt,className:fn,rootClassName:Ln,style:qn,onMouseEnter:Xn,onMouseLeave:Jn,onClick:Rr,afterClose:Ur,showIcon:Ir,closable:ta,closeText:br,closeIcon:Fn,action:yr}=st,la=nn(st,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[pa,Qa]=b.useState(!1),to=b.useRef(null),{getPrefixCls:ro,direction:no,alert:kr}=b.useContext(it.E_),Oa=ro("alert",pt),[Eo,lo,Do]=Ft(Oa),fo=vo=>{var Ca;Qa(!0),(Ca=st.onClose)===null||Ca===void 0||Ca.call(st,vo)},di=b.useMemo(()=>st.type!==void 0?st.type:Bt?"warning":"info",[st.type,Bt]),Ro=b.useMemo(()=>typeof ta=="object"&&ta.closeIcon||br?!0:typeof ta=="boolean"?ta:Fn!==!1&&Fn!==null&&Fn!==void 0?!0:!!(kr!=null&&kr.closable),[br,Fn,ta,kr==null?void 0:kr.closable]),Qo=Bt&&Ir===void 0?!0:Ir,zo=xe()(Oa,`${Oa}-${di}`,{[`${Oa}-with-description`]:!!Re,[`${Oa}-no-icon`]:!Qo,[`${Oa}-banner`]:!!Bt,[`${Oa}-rtl`]:no==="rtl"},kr==null?void 0:kr.className,fn,Ln,Do,lo),ko=(0,ln.Z)(la,{aria:!0,data:!0}),fi=b.useMemo(()=>{var vo,Ca;return typeof ta=="object"&&ta.closeIcon?ta.closeIcon:br||(Fn!==void 0?Fn:typeof(kr==null?void 0:kr.closable)=="object"&&(!((vo=kr==null?void 0:kr.closable)===null||vo===void 0)&&vo.closeIcon)?(Ca=kr==null?void 0:kr.closable)===null||Ca===void 0?void 0:Ca.closeIcon:kr==null?void 0:kr.closeIcon)},[Fn,ta,br,kr==null?void 0:kr.closeIcon]),po=b.useMemo(()=>{const vo=ta!=null?ta:kr==null?void 0:kr.closable;if(typeof vo=="object"){const{closeIcon:Ca}=vo;return nn(vo,["closeIcon"])}return{}},[ta,kr==null?void 0:kr.closable]);return Eo(b.createElement(Qt.ZP,{visible:!pa,motionName:`${Oa}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:vo=>({maxHeight:vo.offsetHeight}),onLeaveEnd:Ur},vo=>{let{className:Ca,style:ri}=vo;return b.createElement("div",Object.assign({ref:to,"data-show":!pa,className:xe()(zo,Ca),style:Object.assign(Object.assign(Object.assign({},kr==null?void 0:kr.style),qn),ri),onMouseEnter:Xn,onMouseLeave:Jn,onClick:Rr,role:"alert"},ko),Qo?b.createElement(bn,{description:Re,icon:st.icon,prefixCls:Oa,type:di}):null,b.createElement("div",{className:`${Oa}-content`},Rt?b.createElement("div",{className:`${Oa}-message`},Rt):null,Re?b.createElement("div",{className:`${Oa}-description`},Re):null),yr?b.createElement("div",{className:`${Oa}-action`},yr):null,b.createElement(Tn,{isClosable:Ro,prefixCls:Oa,closeIcon:fi,handleClose:fo,ariaProps:po}))}))},Hn=e(15671),Rn=e(43144),Nn=e(53640),Or=e(32531),we=function(st){(0,Or.Z)(Re,st);function Re(){var pt;return(0,Hn.Z)(this,Re),pt=(0,Nn.Z)(this,Re,arguments),pt.state={error:void 0,info:{componentStack:""}},pt}return(0,Rn.Z)(Re,[{key:"componentDidCatch",value:function(Rt,Bt){this.setState({error:Rt,info:Bt})}},{key:"render",value:function(){const{message:Rt,description:Bt,children:fn}=this.props,{error:Ln,info:qn}=this.state,Xn=qn&&qn.componentStack?qn.componentStack:null,Jn=typeof Rt=="undefined"?(Ln||"").toString():Rt,Rr=typeof Bt=="undefined"?Xn:Bt;return Ln?b.createElement(Pn,{type:"error",message:Jn,description:b.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},Rr)}):fn}}]),Re}(b.Component);const Ye=Pn;Ye.ErrorBoundary=we;var Je=Ye,ot=e(14726),Wt=e(2453),Gt=e(97435),Kt=e(21770),gn=e(14192),vn=e(52676),An=e(62812),Jt=e(32857),mn=function(Re,pt){return b.createElement(B.Z,(0,$.Z)({},Re,{ref:pt,icon:Jt.Z}))},Vt=b.forwardRef(mn),un=e(83062),on=function(Re){var pt=Re.value,Rt=Re.configType,Bt=Re.onChange,fn=Re.list,Ln=Re.prefixCls,qn=Re.hashId,Xn="".concat(Ln,"-block-checkbox"),Jn=(0,b.useMemo)(function(){var Rr=(fn||[]).map(function(Ur){return(0,S.jsx)(un.Z,{title:Ur.title,children:(0,S.jsxs)("div",{className:xe()(qn,"".concat(Xn,"-item"),"".concat(Xn,"-item-").concat(Ur.key),"".concat(Xn,"-").concat(Rt,"-item")),onClick:function(){return Bt(Ur.key)},children:[(0,S.jsx)(Vt,{className:"".concat(Xn,"-selectIcon ").concat(qn).trim(),style:{display:pt===Ur.key?"block":"none"}}),Ur!=null&&Ur.icon?(0,S.jsx)("div",{className:"".concat(Xn,"-icon ").concat(qn).trim(),children:Ur.icon}):null]})},Ur.key)});return Rr},[pt,fn==null?void 0:fn.length,Bt]);return(0,S.jsx)("div",{className:xe()(Xn,qn),children:Jn})},Bn=e(34041),zn=function(Re){var pt=b.cloneElement(Re.action,{disabled:Re.disabled});return(0,S.jsx)(un.Z,{title:Re.disabled?Re.disabledReason:"",placement:"left",children:(0,S.jsx)(wn.Item,{actions:[pt],children:(0,S.jsx)("span",{style:{opacity:Re.disabled?.5:1},children:Re.title})})})},fr=function(Re){var pt=Re.settings,Rt=Re.prefixCls,Bt=Re.changeSetting,fn=Re.hashId,Ln=In(),qn=pt||gn.h,Xn=qn.contentWidth,Jn=qn.splitMenus,Rr=qn.fixedHeader,Ur=qn.layout,Ir=qn.fixSiderbar;return(0,S.jsx)(wn,{className:"".concat(Rt,"-list ").concat(fn).trim(),split:!1,dataSource:[{title:Ln({id:"app.setting.content-width",defaultMessage:"Content Width"}),action:(0,S.jsxs)(Bn.Z,{value:Xn||"Fixed",size:"small",className:"content-width ".concat(fn).trim(),onSelect:function(br){Bt("contentWidth",br)},style:{width:80},children:[Ur==="side"?null:(0,S.jsx)(Bn.Z.Option,{value:"Fixed",children:Ln({id:"app.setting.content-width.fixed",defaultMessage:"Fixed"})}),(0,S.jsx)(Bn.Z.Option,{value:"Fluid",children:Ln({id:"app.setting.content-width.fluid",defaultMessage:"Fluid"})})]})},{title:Ln({id:"app.setting.fixedheader",defaultMessage:"Fixed Header"}),action:(0,S.jsx)(jn.Z,{size:"small",className:"fixed-header",checked:!!Rr,onChange:function(br){Bt("fixedHeader",br)}})},{title:Ln({id:"app.setting.fixedsidebar",defaultMessage:"Fixed Sidebar"}),disabled:Ur==="top",disabledReason:Ln({id:"app.setting.fixedsidebar.hint",defaultMessage:"Works on Side Menu Layout"}),action:(0,S.jsx)(jn.Z,{size:"small",className:"fix-siderbar",checked:!!Ir,onChange:function(br){return Bt("fixSiderbar",br)}})},{title:Ln({id:"app.setting.splitMenus"}),disabled:Ur!=="mix",action:(0,S.jsx)(jn.Z,{size:"small",checked:!!Jn,className:"split-menus",onChange:function(br){Bt("splitMenus",br)}})}],renderItem:zn})},Un=function(Re){var pt=Re.settings,Rt=Re.prefixCls,Bt=Re.changeSetting,fn=Re.hashId,Ln=In(),qn=["header","footer","menu","menuHeader"];return(0,S.jsx)(wn,{className:"".concat(Rt,"-list ").concat(fn).trim(),split:!1,renderItem:zn,dataSource:qn.map(function(Xn){return{title:Ln({id:"app.setting.regionalsettings.".concat(Xn)}),action:(0,S.jsx)(jn.Z,{size:"small",className:"regional-".concat(Xn," ").concat(fn).trim(),checked:pt["".concat(Xn,"Render")]||pt["".concat(Xn,"Render")]===void 0,onChange:function(Rr){return Bt("".concat(Xn,"Render"),Rr===!0?void 0:!1)}})}})})},kn=e(91),wr=["color","check"],zr=b.forwardRef(function(st,Re){var pt=st.color,Rt=st.check,Bt=(0,kn.Z)(st,wr);return(0,S.jsx)("div",(0,P.Z)((0,P.Z)({},Bt),{},{style:{backgroundColor:pt},ref:Re,children:Rt?(0,S.jsx)(Vt,{}):""}))}),ia=function(Re){var pt=Re.value,Rt=Re.colorList,Bt=Re.onChange,fn=Re.prefixCls,Ln=Re.formatMessage,qn=Re.hashId;if(!Rt||(Rt==null?void 0:Rt.length)<1)return null;var Xn="".concat(fn,"-theme-color");return(0,S.jsx)("div",{className:"".concat(Xn," ").concat(qn).trim(),children:Rt==null?void 0:Rt.map(function(Jn){var Rr=Jn.key,Ur=Jn.color,Ir=Jn.title;return Rr?(0,S.jsx)(un.Z,{title:Ir!=null?Ir:Ln({id:"app.setting.themecolor.".concat(Rr)}),children:(0,S.jsx)(zr,{className:"".concat(Xn,"-block ").concat(qn).trim(),color:Ur,check:pt===Ur,onClick:function(){return Bt&&Bt(Ur)}})},Ur):null})})};function ea(){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 Jr(){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 fa=e(4942),Nr=e(98082),Fr=function(Re){return(0,fa.Z)((0,fa.Z)({},"".concat(Re.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:Re.colorPrimary,borderEndStartRadius:Re.borderRadiusLG,borderStartStartRadius:Re.borderRadiusLG,"-webkit-backdropilter":"saturate(180%) blur(20px)",backdropFilter:"saturate(180%) blur(20px)",cursor:"pointer",pointerEvents:"auto"}),Re.componentCls,{"&-content":{position:"relative",minHeight:"100%",color:Re.colorText},"&-body-title":{marginBlock:Re.marginXS,fontSize:"14px",lineHeight:"22px",color:Re.colorTextHeading},"&-block-checkbox":{display:"flex",minHeight:42,gap:Re.marginSM,"& &-item":{position:"relative",width:"44px",height:"36px",overflow:"hidden",borderRadius:"4px",boxShadow:Re.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:Re.colorBgElevated,"&::before":{zIndex:"1",backgroundColor:"#001529"},"&::after":{backgroundColor:Re.colorBgContainer}},"&-top":{backgroundColor:Re.colorBgElevated,"&::before":{backgroundColor:"transparent"},"&::after":{backgroundColor:"#001529"}},"&-mix":{backgroundColor:Re.colorBgElevated,"&::before":{backgroundColor:Re.colorBgContainer},"&::after":{backgroundColor:"#001529"}}},"& &-selectIcon":{position:"absolute",insetInlineEnd:"6px",bottom:"4px",color:Re.colorPrimary,fontWeight:"bold",fontSize:"14px",pointerEvents:"none",".action":{color:Re.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,fa.Z)({},"li".concat(Re.antCls,"-list-item"),{paddingInline:0,paddingBlock:8})})};function _r(st){return(0,Nr.Xj)("ProLayoutSettingDrawer",function(Re){var pt=(0,P.Z)((0,P.Z)({},Re),{},{componentCls:".".concat(st)});return[Fr(pt)]})}var Br=function(Re){var pt=Re.children,Rt=Re.hashId,Bt=Re.prefixCls,fn=Re.title;return(0,S.jsxs)("div",{style:{marginBlockEnd:12},children:[(0,S.jsx)("h3",{className:"".concat(Bt,"-body-title ").concat(Rt).trim(),children:fn}),pt]})},Gr=function(Re){var pt={};return Object.keys(Re).forEach(function(Rt){Re[Rt]!==gn.h[Rt]&&Rt!=="collapse"?pt[Rt]=Re[Rt]:pt[Rt]=void 0,Rt.includes("Render")&&(pt[Rt]=Re[Rt]===!1?!1:void 0)}),pt.menu=void 0,pt},In=function(){var Re=function(Rt){var Bt=Rt.id,fn=(0,vn.e)();return fn[Bt]};return Re},hn=function(Re,pt,Rt){if((0,je.j)()){var Bt={};Object.keys(Re).forEach(function(Ln){if(gn.h[Ln]||gn.h[Ln]===void 0){if(Ln==="colorPrimary"){Bt[Ln]=(0,An.tV)(Re[Ln]);return}Bt[Ln]=Re[Ln]}});var fn=(0,ge.T)({},pt,Bt);delete fn.menu,delete fn.title,delete fn.iconfontUrl,Rt==null||Rt(fn)}},On=function(Re,pt){return(0,je.j)()?(0,P.Z)((0,P.Z)((0,P.Z)({},gn.h),pt||{}),Re):gn.h},mr=function(Re){return JSON.stringify((0,Gt.Z)((0,P.Z)((0,P.Z)({},Re),{},{colorPrimary:Re.colorPrimary}),["colorWeak"]),null,2)},xr=function(Re){var pt=Re.defaultSettings,Rt=pt===void 0?void 0:pt,Bt=Re.settings,fn=Bt===void 0?void 0:Bt,Ln=Re.hideHintAlert,qn=Re.hideCopyButton,Xn=Re.colorList,Jn=Xn===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"}]:Xn,Rr=Re.getContainer,Ur=Re.onSettingChange,Ir=Re.enableDarkTheme,ta=Re.prefixCls,br=ta===void 0?"ant-pro":ta,Fn=Re.pathname,yr=Fn===void 0?window.location.pathname:Fn,la=Re.disableUrlParams,pa=la===void 0?!0:la,Qa=Re.themeOnly,to=(0,b.useRef)(!0),ro=(0,Kt.Z)(!1,{value:Re.collapse,onChange:Re.onCollapseChange}),no=(0,A.Z)(ro,2),kr=no[0],Oa=no[1],Eo=(0,b.useState)((0,vn.G)()),lo=(0,A.Z)(Eo,2),Do=lo[0],fo=lo[1],di=(0,ze.l)({},{disabled:pa}),Ro=(0,A.Z)(di,2),Qo=Ro[0],zo=Ro[1],ko=(0,Kt.Z)(function(){return On(Qo,fn||Rt)},{value:fn,onChange:Ur}),fi=(0,A.Z)(ko,2),po=fi[0],vo=fi[1],Ca=po||{},ri=Ca.navTheme,To=Ca.colorPrimary,Zi=Ca.siderMenuType,ai=Ca.layout,Jo=Ca.colorWeak;(0,b.useEffect)(function(){var yo=function(){Do!==(0,vn.G)()&&fo((0,vn.G)())};return(0,je.j)()?(hn(On(Qo,fn),po,vo),window.document.addEventListener("languagechange",yo,{passive:!0}),function(){return window.document.removeEventListener("languagechange",yo)}):function(){return null}},[]),(0,b.useEffect)(function(){(0,Se.n)(et.Z,"5.0.0")<0&&He.ZP.config({theme:{primaryColor:po.colorPrimary}})},[po.colorPrimary,po.navTheme]);var _o=function(me,pe){var Ce={};if(Ce[me]=pe,me==="layout"&&(Ce.contentWidth=pe==="top"?"Fixed":"Fluid"),me==="layout"&&pe!=="mix"&&(Ce.splitMenus=!1),me==="layout"&&pe==="mix"&&(Ce.navTheme="light"),me==="colorWeak"&&pe===!0){var Ae=document.querySelector("body");Ae&&(Ae.dataset.prosettingdrawer=Ae.style.filter,Ae.style.filter="invert(80%)")}if(me==="colorWeak"&&pe===!1){var ct=document.querySelector("body");ct&&(ct.style.filter=ct.dataset.prosettingdrawer||"none",delete ct.dataset.prosettingdrawer)}delete Ce.menu,delete Ce.title,delete Ce.iconfontUrl,delete Ce.logo,delete Ce.pwa,vo((0,P.Z)((0,P.Z)({},po),Ce))},Ba=In();(0,b.useEffect)(function(){if((0,je.j)()&&!pa){if(to.current){to.current=!1;return}var yo=new URLSearchParams(window.location.search),me=Object.fromEntries(yo.entries()),pe=Gr((0,P.Z)((0,P.Z)({},me),po));delete pe.logo,delete pe.menu,delete pe.title,delete pe.iconfontUrl,delete pe.pwa,zo(pe)}},[zo,po,Qo,yr,pa]);var Ga="".concat(br,"-setting-drawer"),Ma=_r(Ga),Di=Ma.wrapSSR,mo=Ma.hashId,oi=(0,De.X)(kr);return Di((0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"".concat(Ga,"-handle ").concat(mo).trim(),onClick:function(){return Oa(!kr)},style:{width:48,height:48},children:kr?(0,S.jsx)(ie,{style:{color:"#fff",fontSize:20}}):(0,S.jsx)(Oe,{style:{color:"#fff",fontSize:20}})}),(0,S.jsx)(Ge.Z,(0,P.Z)((0,P.Z)({},oi),{},{width:300,onClose:function(){return Oa(!1)},closable:!1,placement:"right",getContainer:Rr,style:{zIndex:999},children:(0,S.jsxs)("div",{className:"".concat(Ga,"-drawer-content ").concat(mo).trim(),children:[(0,S.jsx)(Br,{title:Ba({id:"app.setting.pagestyle",defaultMessage:"Page style setting"}),hashId:mo,prefixCls:Ga,children:(0,S.jsx)(on,{hashId:mo,prefixCls:Ga,list:[{key:"light",title:Ba({id:"app.setting.pagestyle.light",defaultMessage:"\u4EAE\u8272\u83DC\u5355\u98CE\u683C"})},{key:"realDark",title:Ba({id:"app.setting.pagestyle.realdark",defaultMessage:"\u6697\u8272\u83DC\u5355\u98CE\u683C"})}].filter(function(yo){return!(yo.key==="dark"&&po.layout==="mix"||yo.key==="realDark"&&!Ir)}),value:ri,configType:"theme",onChange:function(me){return _o("navTheme",me)}},"navTheme")}),Jn!==!1&&(0,S.jsx)(Br,{hashId:mo,title:Ba({id:"app.setting.themecolor",defaultMessage:"Theme color"}),prefixCls:Ga,children:(0,S.jsx)(ia,{hashId:mo,prefixCls:Ga,colorList:Jn,value:(0,An.tV)(To),formatMessage:Ba,onChange:function(me){return _o("colorPrimary",me)}})}),!Qa&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(Ee.Z,{}),(0,S.jsx)(Br,{hashId:mo,prefixCls:Ga,title:Ba({id:"app.setting.navigationmode"}),children:(0,S.jsx)(on,{prefixCls:Ga,value:ai,hashId:mo,configType:"layout",list:[{key:"side",title:Ba({id:"app.setting.sidemenu"})},{key:"top",title:Ba({id:"app.setting.topmenu"})},{key:"mix",title:Ba({id:"app.setting.mixmenu"})}],onChange:function(me){return _o("layout",me)}},"layout")}),po.layout=="side"||po.layout=="mix"?(0,S.jsx)(Br,{hashId:mo,prefixCls:Ga,title:Ba({id:"app.setting.sidermenutype"}),children:(0,S.jsx)(on,{prefixCls:Ga,value:Zi,hashId:mo,configType:"siderMenuType",list:[{key:"sub",icon:(0,S.jsx)(Jr,{}),title:Ba({id:"app.setting.sidermenutype-sub"})},{key:"group",icon:(0,S.jsx)(ea,{}),title:Ba({id:"app.setting.sidermenutype-group"})}],onChange:function(me){return _o("siderMenuType",me)}},"siderMenuType")}):null,(0,S.jsx)(fr,{prefixCls:Ga,hashId:mo,settings:po,changeSetting:_o}),(0,S.jsx)(Ee.Z,{}),(0,S.jsx)(Br,{hashId:mo,prefixCls:Ga,title:Ba({id:"app.setting.regionalsettings"}),children:(0,S.jsx)(Un,{hashId:mo,prefixCls:Ga,settings:po,changeSetting:_o})}),(0,S.jsx)(Ee.Z,{}),(0,S.jsx)(Br,{hashId:mo,prefixCls:Ga,title:Ba({id:"app.setting.othersettings"}),children:(0,S.jsx)(wn,{className:"".concat(Ga,"-list ").concat(mo).trim(),split:!1,size:"small",renderItem:zn,dataSource:[{title:Ba({id:"app.setting.weakmode"}),action:(0,S.jsx)(jn.Z,{size:"small",className:"color-weak",checked:!!Jo,onChange:function(me){_o("colorWeak",me)}})}]})}),Ln&&qn?null:(0,S.jsx)(Ee.Z,{}),Ln?null:(0,S.jsx)(Je,{type:"warning",message:Ba({id:"app.setting.production.hint"}),icon:(0,S.jsx)(G,{}),showIcon:!0,style:{marginBlockEnd:16}}),qn?null:(0,S.jsx)(ot.ZP,{block:!0,icon:(0,S.jsx)(Le,{}),style:{marginBlockEnd:24},onClick:(0,V.Z)((0,ce.Z)().mark(function yo(){return(0,ce.Z)().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return pe.prev=0,pe.next=3,navigator.clipboard.writeText(mr(po));case 3:Wt.ZP.success(Ba({id:"app.setting.copyinfo"})),pe.next=8;break;case 6:pe.prev=6,pe.t0=pe.catch(0);case 8:case"end":return pe.stop()}},yo,null,[[0,6]])})),children:Ba({id:"app.setting.copy"})})]})]})}))]}))},gr=e(67610),Vr=function(st){return st[st.SILENT=0]="SILENT",st}(Vr||{}),oa={errorConfig:{errorThrower:function(Re){var pt=Re,Rt=pt.data,Bt=pt.code,fn=pt.message;if(Bt!==0){var Ln=new Error(fn);throw Ln.name="BizError",Ln.info={code:Bt,message:fn,data:Rt},Ln}},errorHandler:function(Re,pt){if(pt!=null&&pt.skipErrorHandler)throw Re;if(Re.name==="BizError"){var Rt=Re.info;Rt&&Wt.ZP.error(Rt.message)}else Re.response?Wt.ZP.error("Response status:".concat(Re.response.status)):Re.request?Wt.ZP.error("None response! Please retry."):Wt.ZP.error("Request error, please retry.")}},requestInterceptors:[function(st){var Re,pt=st==null||(Re=st.url)===null||Re===void 0?void 0:Re.concat("?token = 123");return h()(h()({},st),{},{url:pt})}],responseInterceptors:[function(st){var Re=st,pt=Re.data,Rt=pt.code,Bt=pt.message;if(Rt!==0){var fn=new Error(Bt);throw fn.name="BizError",fn.info=pt,fn}else return st}]},ca=!1,ra="/user/login";function La(){return Ka.apply(this,arguments)}function Ka(){return Ka=d()(f()().mark(function st(){var Re,pt,Rt;return f()().wrap(function(fn){for(;;)switch(fn.prev=fn.next){case 0:if(Re=function(){var Ln=d()(f()().mark(function qn(){var Xn;return f()().wrap(function(Rr){for(;;)switch(Rr.prev=Rr.next){case 0:return Rr.prev=0,Rr.next=3,(0,lt.Vk)({skipErrorHandler:!0});case 3:return Xn=Rr.sent,Rr.abrupt("return",Xn.data);case 7:Rr.prev=7,Rr.t0=Rr.catch(0),z.history.push(ra);case 10:return Rr.abrupt("return",void 0);case 11:case"end":return Rr.stop()}},qn,null,[[0,7]])}));return function(){return Ln.apply(this,arguments)}}(),pt=z.history.location,pt.pathname===ra){fn.next=7;break}return fn.next=5,Re();case 5:return Rt=fn.sent,fn.abrupt("return",{fetchUserInfo:Re,currentUser:Rt,settings:gr.Z});case 7:return fn.abrupt("return",{fetchUserInfo:Re,settings:gr.Z});case 8:case"end":return fn.stop()}},st)})),Ka.apply(this,arguments)}var Lr=function(Re){var pt=Re.initialState,Rt=Re.setInitialState;return h()({actionsRender:function(){return[(0,S.jsx)(W,{},"doc"),(0,S.jsx)(se,{},"SelectLang")]},avatarProps:{title:(0,S.jsx)(Tt,{}),render:function(fn,Ln){return(0,S.jsx)(St,{children:Ln})}},onPageChange:function(){var fn=z.history.location;!(pt!=null&&pt.currentUser)&&fn.pathname!==ra&&z.history.push(ra)},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:ca?[(0,S.jsxs)(z.Link,{to:"/umi/plugin/openapi",target:"_blank",children:[(0,S.jsx)(D,{onPointerEnterCapture:void 0,onPointerLeaveCapture:void 0}),(0,S.jsx)("span",{children:"OpenAPI \u6587\u6863"})]},"openapi")]:[],menuHeaderRender:void 0,childrenRender:function(fn){return(0,S.jsxs)(S.Fragment,{children:[fn,ca&&(0,S.jsx)(xr,{disableUrlParams:!0,enableDarkTheme:!0,settings:pt==null?void 0:pt.settings,onSettingChange:function(qn){Rt(function(Xn){return h()(h()({},Xn),{},{settings:qn})})}})]})}},pt==null?void 0:pt.settings)},Xr=h()({},oa),Sa=e(70405),$a={},Ha=function(Re){return b.createElement(Sa.B6,{context:$a},Re)};function Da(st){var Re=st!=null?st:{},pt=Re.currentUser,Rt={canAdmin:pt&&pt.role&&pt.role<3};return Rt}var Ua=e(44886),Ia=e(78382);function ja(st){var Re=(0,Ua.t)("@@initialState"),pt=Re.initialState,Rt=b.useMemo(function(){return Da(pt)},[pt]);return(0,S.jsx)(Ia.J.Provider,{value:Rt,children:st.children})}function qa(st){return(0,S.jsx)(ja,{children:st})}function Ar(){return(0,S.jsx)("div",{})}function jr(st){var Re=b.useRef(!1),pt=(0,Ua.t)("@@initialState")||{},Rt=pt.loading,Bt=Rt===void 0?!1:Rt;return b.useEffect(function(){Bt||(Re.current=!0)},[Bt]),Bt&&!Re.current?(0,S.jsx)(Ar,{}):st.children}function sr(st){return(0,S.jsx)(jr,{children:st})}var Zr={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"},sa=Zr,ga=function(Re,pt){return b.createElement(F.Z,(0,P.Z)((0,P.Z)({},Re),{},{ref:pt,icon:sa}))};ga.displayName="SmileOutlined";var Ea=b.forwardRef(ga),Wa={SmileOutlined:Ea};function eo(st){return st.replace(st[0],st[0].toUpperCase()).replace(/-(w)/g,function(Re,pt){return pt.toUpperCase()})}function hr(st){var Re=st.routes;Object.keys(Re).forEach(function(pt){var Rt=Re[pt].icon;if(Rt&&typeof Rt=="string"){var Bt=eo(Rt);(Wa[Bt]||Wa[Bt+"Outlined"])&&(Re[pt].icon=b.createElement(Wa[Bt]||Wa[Bt+"Outlined"]))}})}var Kr=e(5574),Aa=e.n(Kr),Ya=e(27484),xa=e.n(Ya),so=e(54067),Po=e(25054),jo=e(96953),io=e(83783),Ei=e(76831),Yo=e(57548),Xo=e(33852),No=e(43901),wo=e(98944);function ni(){var st=getLocale();if(moment!=null&&moment.locale){var Re;moment.locale(((Re=localeInfo[st])===null||Re===void 0?void 0:Re.momentLocale)||"")}setIntl(st)}var tt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,bt=function(Re){var pt,Rt=(0,wo.Kd)(),Bt=b.useState(Rt),fn=Aa()(Bt,2),Ln=fn[0],qn=fn[1],Xn=b.useState(function(){return(0,wo.lw)(Ln,!0)}),Jn=Aa()(Xn,2),Rr=Jn[0],Ur=Jn[1],Ir=function(yr){if(xa()!==null&&xa()!==void 0&&xa().locale){var la;xa().locale(((la=wo.H8[yr])===null||la===void 0?void 0:la.momentLocale)||"en")}qn(yr),Ur((0,wo.lw)(yr))};tt(function(){return wo.B.on(wo.PZ,Ir),function(){wo.B.off(wo.PZ,Ir)}},[]);var ta={},br=(0,wo.Mg)();return(0,S.jsx)(He.ZP,{direction:br,locale:((pt=wo.H8[Ln])===null||pt===void 0?void 0:pt.antd)||ta,children:(0,S.jsx)(wo.eU,{value:Rr,children:Re.children})})};function Ct(st){return b.createElement(bt,null,st)}var Dt={initialState:void 0,loading:!0,error:void 0},Yt=function(){var st=(0,b.useState)(Dt),Re=Aa()(st,2),pt=Re[0],Rt=Re[1],Bt=(0,b.useCallback)(d()(f()().mark(function Ln(){var qn;return f()().wrap(function(Jn){for(;;)switch(Jn.prev=Jn.next){case 0:return Rt(function(Rr){return h()(h()({},Rr),{},{loading:!0,error:void 0})}),Jn.prev=1,Jn.next=4,La();case 4:qn=Jn.sent,Rt(function(Rr){return h()(h()({},Rr),{},{initialState:qn,loading:!1})}),Jn.next=11;break;case 8:Jn.prev=8,Jn.t0=Jn.catch(1),Rt(function(Rr){return h()(h()({},Rr),{},{error:Jn.t0,loading:!1})});case 11:case"end":return Jn.stop()}},Ln,null,[[1,8]])})),[]),fn=(0,b.useCallback)(function(){var Ln=d()(f()().mark(function qn(Xn){return f()().wrap(function(Rr){for(;;)switch(Rr.prev=Rr.next){case 0:Rt(function(Ur){return typeof Xn=="function"?h()(h()({},Ur),{},{initialState:Xn(Ur.initialState),loading:!1}):h()(h()({},Ur),{},{initialState:Xn,loading:!1})});case 1:case"end":return Rr.stop()}},qn)}));return function(qn){return Ln.apply(this,arguments)}}(),[]);return(0,b.useEffect)(function(){Bt()},[]),h()(h()({},pt),{},{refresh:Bt,setInitialState:fn})},Wn={model_1:{namespace:"@@initialState",model:Yt}};function Yn(st){var Re=b.useMemo(function(){return Object.keys(Wn).reduce(function(pt,Rt){return pt[Wn[Rt].namespace]=Wn[Rt].model,pt},{})},[]);return(0,S.jsx)(Ua.z,h()(h()({models:Re},st),{},{children:st.children}))}function ur(st,Re){return(0,S.jsx)(Yn,h()(h()({},Re),{},{children:st}))}function lr(st){return st.default?typeof st.default=="function"?st.default():st.default:st}function Tr(){return[{apply:lr(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 pr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","getInitialState","layout","locale","qiankun","request"]}var Kn=null;function Dn(){return Kn=z.PluginManager.create({plugins:Tr(),validKeys:pr()}),Kn}function Mr(){return Kn}},35312:function(v,m,e){"use strict";e.d(m,{ApplyPluginsType:function(){return Ft},FormattedMessage:function(){return r._H},Helmet:function(){return xn.ql},Link:function(){return En},Outlet:function(){return ve.j3},PluginManager:function(){return nn},SelectLang:function(){return r.pD},history:function(){return dn.m},matchRoutes:function(){return ve.fp},request:function(){return Ge},useAppData:function(){return an.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),P=e(93096),T=e.n(P);function F(){return typeof document!="undefined"&&typeof document.visibilityState!="undefined"?document.visibilityState!=="hidden":!0}function w(){return typeof navigator.onLine!="undefined"?navigator.onLine:!0}var M=new Map,z=function(we,Ye,Je){var ot=M.get(we);ot!=null&&ot.timer&&clearTimeout(ot.timer);var Wt=void 0;Ye>-1&&(Wt=setTimeout(function(){M.delete(we)},Ye)),M.set(we,{data:Je,timer:Wt,startTime:new Date().getTime()})},se=function(we){var Ye=M.get(we);return{data:Ye==null?void 0:Ye.data,startTime:Ye==null?void 0:Ye.startTime}},W=function(Ie,we){var Ye=typeof Symbol=="function"&&Ie[Symbol.iterator];if(!Ye)return Ie;var Je=Ye.call(Ie),ot,Wt=[],Gt;try{for(;(we===void 0||we-- >0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},Y=function(){for(var Ie=[],we=0;we0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},Z=function(){for(var Ie=[],we=0;we0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},Xe=function(){for(var Ie=[],we=0;we0){var Zr=Jr&&((sr=getCache(Jr))===null||sr===void 0?void 0:sr.startTime)||0;_r===-1||new Date().getTime()-Zr<=_r||Object.values($a).forEach(function(sa){sa.refresh()})}else ja.current.apply(ja,Xe(Un))},[]);var Ar=useCallback(function(){Object.values(Da.current).forEach(function(sr){sr.unmount()}),gr.current=vt,Ha({}),Da.current={}},[Ha]);useUpdateEffect(function(){Gt||Object.values(Da.current).forEach(function(sr){sr.refresh()})},Xe(ot)),useEffect(function(){return function(){Object.values(Da.current).forEach(function(sr){sr.unmount()})}},[]);var jr=useCallback(function(sr){return function(){console.warn("You should't call "+sr+" when service not executed once.")}},[]);return Be(Be({loading:On&&!Gt||mn,data:In,error:void 0,params:[],cancel:jr("cancel"),refresh:jr("refresh"),mutate:jr("mutate")},$a[gr.current]||{}),{run:Ia,fetches:$a,reset:Ar})}var St=null,lt=function(){return lt=Object.assign||function(Ie){for(var we,Ye=1,Je=arguments.length;Ye0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},I=function(){for(var Ie=[],we=0;we0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},R=function(){for(var Ie=[],we=0;wexr&&(On=Math.max(1,xr)),ea({current:On,pageSize:mr})},[Jr,ea]),Fr=useCallback(function(In){Nr(In,Un)},[Nr,Un]),_r=useCallback(function(In){Nr(zn,In)},[Nr,zn]),Br=useRef(Fr);Br.current=Fr,useUpdateEffect(function(){we.manual||Br.current(1)},R(Gt));var Gr=useCallback(function(In,hn,On){ea({current:In.current,pageSize:In.pageSize||ot,filters:hn,sorter:On})},[ia,wr,ea]);return V({loading:Vt,data:An,params:Jt,run:mn,pagination:{current:zn,pageSize:Un,total:Jr,totalPage:fa,onChange:Nr,changeCurrent:Fr,changePageSize:_r},tableProps:{dataSource:(An==null?void 0:An.list)||[],loading:Vt,onChange:Gr,pagination:{current:zn,pageSize:Un,total:Jr}},sorter:wr,filters:ia},un)}var K=null,ie=S.createContext({});ie.displayName="UseRequestConfigContext";var de=ie,Oe=function(){return Oe=Object.assign||function(Ie){for(var we,Ye=1,Je=arguments.length;Ye0)&&!(ot=Je.next()).done;)Wt.push(ot.value)}catch(Kt){Gt={error:Kt}}finally{try{ot&&!ot.done&&(Ye=Je.return)&&Ye.call(Je)}finally{if(Gt)throw Gt.error}}return Wt},re=function(){for(var Ie=[],we=0;we1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(Ie,_objectSpread({formatResult:function(Je){return Je==null?void 0:Je.data},requestMethod:function(Je){if(typeof Je=="string")return Ge(Je);if(_typeof(Je)==="object"){var ot=Je.url,Wt=_objectWithoutProperties(Je,ge);return Ge(ot,Wt)}throw new Error("request options error")}},we))}var De,ze,et=function(){return ze||(ze=(0,je.We)().applyPlugins({key:"request",type:Ft.modify,initialValue:{}}),ze)},He=function(){var we,Ye;if(De)return De;var Je=et();return De=b().create(Je),Je==null||(we=Je.requestInterceptors)===null||we===void 0||we.forEach(function(ot){ot instanceof Array?De.interceptors.request.use(function(){var Wt=l()(s()().mark(function Gt(Kt){var gn,vn,An,Jt;return s()().wrap(function(Vt){for(;;)switch(Vt.prev=Vt.next){case 0:if(gn=Kt.url,ot[0].length!==2){Vt.next=8;break}return Vt.next=4,ot[0](gn,Kt);case 4:return vn=Vt.sent,An=vn.url,Jt=vn.options,Vt.abrupt("return",y()(y()({},Jt),{},{url:An}));case 8:return Vt.abrupt("return",ot[0](Kt));case 9:case"end":return Vt.stop()}},Gt)}));return function(Gt){return Wt.apply(this,arguments)}}(),ot[1]):De.interceptors.request.use(function(){var Wt=l()(s()().mark(function Gt(Kt){var gn,vn,An,Jt;return s()().wrap(function(Vt){for(;;)switch(Vt.prev=Vt.next){case 0:if(gn=Kt.url,ot.length!==2){Vt.next=8;break}return Vt.next=4,ot(gn,Kt);case 4:return vn=Vt.sent,An=vn.url,Jt=vn.options,Vt.abrupt("return",y()(y()({},Jt),{},{url:An}));case 8:return Vt.abrupt("return",ot(Kt));case 9:case"end":return Vt.stop()}},Gt)}));return function(Gt){return Wt.apply(this,arguments)}}())}),Je==null||(Ye=Je.responseInterceptors)===null||Ye===void 0||Ye.forEach(function(ot){ot instanceof Array?De.interceptors.response.use(ot[0],ot[1]):De.interceptors.response.use(ot)}),De.interceptors.response.use(function(ot){var Wt,Gt=ot.data;return(Gt==null?void 0:Gt.success)===!1&&Je!==null&&Je!==void 0&&(Wt=Je.errorConfig)!==null&&Wt!==void 0&&Wt.errorThrower&&Je.errorConfig.errorThrower(Gt),ot}),De},Ge=function(we){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{method:"GET"},Je=He(),ot=et(),Wt=Ye.getResponse,Gt=Wt===void 0?!1:Wt,Kt=Ye.requestInterceptors,gn=Ye.responseInterceptors,vn=Kt==null?void 0:Kt.map(function(Jt){return Jt instanceof Array?Je.interceptors.request.use(function(){var mn=l()(s()().mark(function Vt(un){var on,Bn,zn,fr;return s()().wrap(function(kn){for(;;)switch(kn.prev=kn.next){case 0:if(on=un.url,Jt[0].length!==2){kn.next=8;break}return kn.next=4,Jt[0](on,un);case 4:return Bn=kn.sent,zn=Bn.url,fr=Bn.options,kn.abrupt("return",y()(y()({},fr),{},{url:zn}));case 8:return kn.abrupt("return",Jt[0](un));case 9:case"end":return kn.stop()}},Vt)}));return function(Vt){return mn.apply(this,arguments)}}(),Jt[1]):Je.interceptors.request.use(function(){var mn=l()(s()().mark(function Vt(un){var on,Bn,zn,fr;return s()().wrap(function(kn){for(;;)switch(kn.prev=kn.next){case 0:if(on=un.url,Jt.length!==2){kn.next=8;break}return kn.next=4,Jt(on,un);case 4:return Bn=kn.sent,zn=Bn.url,fr=Bn.options,kn.abrupt("return",y()(y()({},fr),{},{url:zn}));case 8:return kn.abrupt("return",Jt(un));case 9:case"end":return kn.stop()}},Vt)}));return function(Vt){return mn.apply(this,arguments)}}())}),An=gn==null?void 0:gn.map(function(Jt){return Jt instanceof Array?Je.interceptors.response.use(Jt[0],Jt[1]):Je.interceptors.response.use(Jt)});return new Promise(function(Jt,mn){Je.request(y()(y()({},Ye),{},{url:we})).then(function(Vt){vn==null||vn.forEach(function(un){Je.interceptors.request.eject(un)}),An==null||An.forEach(function(un){Je.interceptors.response.eject(un)}),Jt(Gt?Vt:Vt.data)}).catch(function(Vt){vn==null||vn.forEach(function(Bn){Je.interceptors.request.eject(Bn)}),An==null||An.forEach(function(Bn){Je.interceptors.response.eject(Bn)});try{var un,on=ot==null||(un=ot.errorConfig)===null||un===void 0?void 0:un.errorHandler;on&&on(Vt,Ye,ot)}catch(Bn){mn(Bn)}mn(Vt)})})},Ee=e(58096),Ne=e(49647),ve=e(96974),ke=e(55648);function it(){return it=Object.assign||function(Ie){for(var we=1;we=0)&&(Ye[ot]=Ie[ot]);return Ye}const Pe=["onClick","reloadDocument","replace","state","target","to"],Ke=null;function qe(Ie,we){if(!Ie){typeof console!="undefined"&&console.warn(we);try{throw new Error(we)}catch(Ye){}}}function Qe(Ie){let{basename:we,children:Ye,window:Je}=Ie,ot=useRef();ot.current==null&&(ot.current=createBrowserHistory({window:Je}));let Wt=ot.current,[Gt,Kt]=useState({action:Wt.action,location:Wt.location});return useLayoutEffect(()=>Wt.listen(Kt),[Wt]),createElement(Router,{basename:we,children:Ye,location:Gt.location,navigationType:Gt.action,navigator:Wt})}function yt(Ie){let{basename:we,children:Ye,window:Je}=Ie,ot=useRef();ot.current==null&&(ot.current=createHashHistory({window:Je}));let Wt=ot.current,[Gt,Kt]=useState({action:Wt.action,location:Wt.location});return useLayoutEffect(()=>Wt.listen(Kt),[Wt]),createElement(Router,{basename:we,children:Ye,location:Gt.location,navigationType:Gt.action,navigator:Wt})}function Mt(Ie){let{basename:we,children:Ye,history:Je}=Ie;const[ot,Wt]=useState({action:Je.action,location:Je.location});return useLayoutEffect(()=>Je.listen(Wt),[Je]),createElement(Router,{basename:we,children:Ye,location:ot.location,navigationType:ot.action,navigator:Je})}function zt(Ie){return!!(Ie.metaKey||Ie.altKey||Ie.ctrlKey||Ie.shiftKey)}const At=(0,S.forwardRef)(function(we,Ye){let{onClick:Je,reloadDocument:ot,replace:Wt=!1,state:Gt,target:Kt,to:gn}=we,vn=dt(we,Pe),An=(0,ve.oQ)(gn),Jt=Et(gn,{replace:Wt,state:Gt,target:Kt});function mn(Vt){Je&&Je(Vt),!Vt.defaultPrevented&&!ot&&Jt(Vt)}return(0,S.createElement)("a",it({},vn,{href:An,onClick:mn,ref:Ye,target:Kt}))}),Pt=null;function Et(Ie,we){let{target:Ye,replace:Je,state:ot}=we===void 0?{}:we,Wt=(0,ve.s0)(),Gt=(0,ve.TH)(),Kt=(0,ve.WU)(Ie);return(0,S.useCallback)(gn=>{if(gn.button===0&&(!Ye||Ye==="_self")&&!zt(gn)){gn.preventDefault();let vn=!!Je||(0,ke.Ep)(Gt)===(0,ke.Ep)(Kt);Wt(Ie,{replace:vn,state:ot})}},[Gt,Wt,Kt,Je,ot,Ye,Ie])}function xt(Ie){let we=useRef(Nt(Ie)),Ye=useLocation(),Je=useMemo(()=>{let Gt=Nt(Ye.search);for(let Kt of we.current.keys())Gt.has(Kt)||we.current.getAll(Kt).forEach(gn=>{Gt.append(Kt,gn)});return Gt},[Ye.search]),ot=useNavigate(),Wt=useCallback((Gt,Kt)=>{ot("?"+Nt(Gt),Kt)},[ot]);return[Je,Wt]}function Nt(Ie){return Ie===void 0&&(Ie=""),new URLSearchParams(typeof Ie=="string"||Array.isArray(Ie)||Ie instanceof URLSearchParams?Ie:Object.keys(Ie).reduce((we,Ye)=>{let Je=Ie[Ye];return we.concat(Array.isArray(Je)?Je.map(ot=>[Ye,ot]):[[Ye,Je]])},[]))}var an=e(34162),Sn=["prefetch"];function En(Ie){var we,Ye=Ie.prefetch,Je=(0,Ne.Z)(Ie,Sn),ot=(0,an.Ov)(),Wt=typeof Ie.to=="string"?Ie.to:(we=Ie.to)===null||we===void 0?void 0:we.pathname;return Wt?S.createElement(At,(0,Ee.Z)({onMouseEnter:function(){var Kt;return Ye&&Wt&&((Kt=ot.preloadRoute)===null||Kt===void 0?void 0:Kt.call(ot,Wt))}},Je),Ie.children):null}var xn=e(70405);function rt(Ie){"@babel/helpers - typeof";return rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(we){return typeof we}:function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we},rt(Ie)}function Fe(){"use strict";Fe=function(){return we};var Ie,we={},Ye=Object.prototype,Je=Ye.hasOwnProperty,ot=Object.defineProperty||function(In,hn,On){In[hn]=On.value},Wt=typeof Symbol=="function"?Symbol:{},Gt=Wt.iterator||"@@iterator",Kt=Wt.asyncIterator||"@@asyncIterator",gn=Wt.toStringTag||"@@toStringTag";function vn(In,hn,On){return Object.defineProperty(In,hn,{value:On,enumerable:!0,configurable:!0,writable:!0}),In[hn]}try{vn({},"")}catch(In){vn=function(On,mr,xr){return On[mr]=xr}}function An(In,hn,On,mr){var xr=hn&&hn.prototype instanceof zn?hn:zn,gr=Object.create(xr.prototype),Vr=new Br(mr||[]);return ot(gr,"_invoke",{value:fa(In,On,Vr)}),gr}function Jt(In,hn,On){try{return{type:"normal",arg:In.call(hn,On)}}catch(mr){return{type:"throw",arg:mr}}}we.wrap=An;var mn="suspendedStart",Vt="suspendedYield",un="executing",on="completed",Bn={};function zn(){}function fr(){}function Un(){}var kn={};vn(kn,Gt,function(){return this});var wr=Object.getPrototypeOf,zr=wr&&wr(wr(Gr([])));zr&&zr!==Ye&&Je.call(zr,Gt)&&(kn=zr);var ia=Un.prototype=zn.prototype=Object.create(kn);function ea(In){["next","throw","return"].forEach(function(hn){vn(In,hn,function(On){return this._invoke(hn,On)})})}function Jr(In,hn){function On(xr,gr,Vr,oa){var ca=Jt(In[xr],In,gr);if(ca.type!=="throw"){var ra=ca.arg,La=ra.value;return La&&rt(La)=="object"&&Je.call(La,"__await")?hn.resolve(La.__await).then(function(Ka){On("next",Ka,Vr,oa)},function(Ka){On("throw",Ka,Vr,oa)}):hn.resolve(La).then(function(Ka){ra.value=Ka,Vr(ra)},function(Ka){return On("throw",Ka,Vr,oa)})}oa(ca.arg)}var mr;ot(this,"_invoke",{value:function(gr,Vr){function oa(){return new hn(function(ca,ra){On(gr,Vr,ca,ra)})}return mr=mr?mr.then(oa,oa):oa()}})}function fa(In,hn,On){var mr=mn;return function(xr,gr){if(mr===un)throw new Error("Generator is already running");if(mr===on){if(xr==="throw")throw gr;return{value:Ie,done:!0}}for(On.method=xr,On.arg=gr;;){var Vr=On.delegate;if(Vr){var oa=Nr(Vr,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(mr===mn)throw mr=on,On.arg;On.dispatchException(On.arg)}else On.method==="return"&&On.abrupt("return",On.arg);mr=un;var ca=Jt(In,hn,On);if(ca.type==="normal"){if(mr=On.done?on:Vt,ca.arg===Bn)continue;return{value:ca.arg,done:On.done}}ca.type==="throw"&&(mr=on,On.method="throw",On.arg=ca.arg)}}}function Nr(In,hn){var On=hn.method,mr=In.iterator[On];if(mr===Ie)return hn.delegate=null,On==="throw"&&In.iterator.return&&(hn.method="return",hn.arg=Ie,Nr(In,hn),hn.method==="throw")||On!=="return"&&(hn.method="throw",hn.arg=new TypeError("The iterator does not provide a '"+On+"' method")),Bn;var xr=Jt(mr,In.iterator,hn.arg);if(xr.type==="throw")return hn.method="throw",hn.arg=xr.arg,hn.delegate=null,Bn;var gr=xr.arg;return gr?gr.done?(hn[In.resultName]=gr.value,hn.next=In.nextLoc,hn.method!=="return"&&(hn.method="next",hn.arg=Ie),hn.delegate=null,Bn):gr:(hn.method="throw",hn.arg=new TypeError("iterator result is not an object"),hn.delegate=null,Bn)}function Fr(In){var hn={tryLoc:In[0]};1 in In&&(hn.catchLoc=In[1]),2 in In&&(hn.finallyLoc=In[2],hn.afterLoc=In[3]),this.tryEntries.push(hn)}function _r(In){var hn=In.completion||{};hn.type="normal",delete hn.arg,In.completion=hn}function Br(In){this.tryEntries=[{tryLoc:"root"}],In.forEach(Fr,this),this.reset(!0)}function Gr(In){if(In||In===""){var hn=In[Gt];if(hn)return hn.call(In);if(typeof In.next=="function")return In;if(!isNaN(In.length)){var On=-1,mr=function xr(){for(;++On=0;--xr){var gr=this.tryEntries[xr],Vr=gr.completion;if(gr.tryLoc==="root")return mr("end");if(gr.tryLoc<=this.prev){var oa=Je.call(gr,"catchLoc"),ca=Je.call(gr,"finallyLoc");if(oa&&ca){if(this.prev=0;--mr){var xr=this.tryEntries[mr];if(xr.tryLoc<=this.prev&&Je.call(xr,"finallyLoc")&&this.prev=0;--On){var mr=this.tryEntries[On];if(mr.finallyLoc===hn)return this.complete(mr.completion,mr.afterLoc),_r(mr),Bn}},catch:function(hn){for(var On=this.tryEntries.length-1;On>=0;--On){var mr=this.tryEntries[On];if(mr.tryLoc===hn){var xr=mr.completion;if(xr.type==="throw"){var gr=xr.arg;_r(mr)}return gr}}throw new Error("illegal catch attempt")},delegateYield:function(hn,On,mr){return this.delegate={iterator:Gr(hn),resultName:On,nextLoc:mr},this.method==="next"&&(this.arg=Ie),Bn}},we}function ht(Ie,we){if(rt(Ie)!="object"||!Ie)return Ie;var Ye=Ie[Symbol.toPrimitive];if(Ye!==void 0){var Je=Ye.call(Ie,we||"default");if(rt(Je)!="object")return Je;throw new TypeError("@@toPrimitive must return a primitive value.")}return(we==="string"?String:Number)(Ie)}function wt(Ie){var we=ht(Ie,"string");return rt(we)=="symbol"?we:String(we)}function jt(Ie,we,Ye){return we=wt(we),we in Ie?Object.defineProperty(Ie,we,{value:Ye,enumerable:!0,configurable:!0,writable:!0}):Ie[we]=Ye,Ie}function Xt(Ie,we){var Ye=Object.keys(Ie);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(Ie);we&&(Je=Je.filter(function(ot){return Object.getOwnPropertyDescriptor(Ie,ot).enumerable})),Ye.push.apply(Ye,Je)}return Ye}function tn(Ie){for(var we=1;weIe.length)&&(we=Ie.length);for(var Ye=0,Je=new Array(we);Ye=Ie.length?{done:!0}:{done:!1,value:Ie[Je++]}},e:function(vn){throw vn},f:ot}}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 Wt=!0,Gt=!1,Kt;return{s:function(){Ye=Ye.call(Ie)},n:function(){var vn=Ye.next();return Wt=vn.done,vn},e:function(vn){Gt=!0,Kt=vn},f:function(){try{!Wt&&Ye.return!=null&&Ye.return()}finally{if(Gt)throw Kt}}}}function Gn(Ie){if(Array.isArray(Ie))return Ie}function sn(Ie){if(typeof Symbol!="undefined"&&Ie[Symbol.iterator]!=null||Ie["@@iterator"]!=null)return Array.from(Ie)}function tr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qt(Ie){return Gn(Ie)||sn(Ie)||_n(Ie)||tr()}function ln(Ie,we){if(!(Ie instanceof we))throw new TypeError("Cannot call a class as a function")}function ft(Ie,we){for(var Ye=0;Ye-1,"register failed, invalid key ".concat(ot," ").concat(Ye.path?"from plugin ".concat(Ye.path):"",".")),Je.hooks[ot]=(Je.hooks[ot]||[]).concat(Ye.apply[ot])})}},{key:"getHooks",value:function(Ye){var Je=Ye.split("."),ot=Qt(Je),Wt=ot[0],Gt=ot.slice(1),Kt=this.hooks[Wt]||[];return Gt.length&&(Kt=Kt.map(function(gn){try{var vn=gn,An=$n(Gt),Jt;try{for(An.s();!(Jt=An.n()).done;){var mn=Jt.value;vn=vn[mn]}}catch(Vt){An.e(Vt)}finally{An.f()}return vn}catch(Vt){return null}}).filter(Boolean)),Kt}},{key:"applyPlugins",value:function(Ye){var Je=Ye.key,ot=Ye.type,Wt=Ye.initialValue,Gt=Ye.args,Kt=Ye.async,gn=this.getHooks(Je)||[];switch(Gt&&$t(rt(Gt)==="object","applyPlugins failed, args must be plain object."),Kt&&$t(ot===Ft.modify||ot===Ft.event,"async only works with modify and event type."),ot){case Ft.modify:return Kt?gn.reduce(function(){var vn=wn(Fe().mark(function An(Jt,mn){var Vt;return Fe().wrap(function(on){for(;;)switch(on.prev=on.next){case 0:if($t(typeof mn=="function"||rt(mn)==="object"||Ut(mn),"applyPlugins failed, all hooks for key ".concat(Je," must be function, plain object or Promise.")),!Ut(Jt)){on.next=5;break}return on.next=4,Jt;case 4:Jt=on.sent;case 5:if(typeof mn!="function"){on.next=16;break}if(Vt=mn(Jt,Gt),!Ut(Vt)){on.next=13;break}return on.next=10,Vt;case 10:return on.abrupt("return",on.sent);case 13:return on.abrupt("return",Vt);case 14:on.next=21;break;case 16:if(!Ut(mn)){on.next=20;break}return on.next=19,mn;case 19:mn=on.sent;case 20:return on.abrupt("return",tn(tn({},Jt),mn));case 21:case"end":return on.stop()}},An)}));return function(An,Jt){return vn.apply(this,arguments)}}(),Ut(Wt)?Wt:Promise.resolve(Wt)):gn.reduce(function(vn,An){return $t(typeof An=="function"||rt(An)==="object","applyPlugins failed, all hooks for key ".concat(Je," must be function or plain object.")),typeof An=="function"?An(vn,Gt):tn(tn({},vn),An)},Wt);case Ft.event:return wn(Fe().mark(function vn(){var An,Jt,mn,Vt;return Fe().wrap(function(on){for(;;)switch(on.prev=on.next){case 0:An=$n(gn),on.prev=1,An.s();case 3:if((Jt=An.n()).done){on.next=12;break}if(mn=Jt.value,$t(typeof mn=="function","applyPlugins failed, all hooks for key ".concat(Je," must be function.")),Vt=mn(Gt),!(Kt&&Ut(Vt))){on.next=10;break}return on.next=10,Vt;case 10:on.next=3;break;case 12:on.next=17;break;case 14:on.prev=14,on.t0=on.catch(1),An.e(on.t0);case 17:return on.prev=17,An.f(),on.finish(17);case 20:case"end":return on.stop()}},vn,null,[[1,14,17,20]])}))();case Ft.compose:return function(){return Ot({fns:gn.concat(Wt),args:Gt})()}}}}],[{key:"create",value:function(Ye){var Je=new Ie({validKeys:Ye.validKeys});return Ye.plugins.forEach(function(ot){Je.register(ot)}),Je}}]),Ie}(),dn=e(10581),bn=0,Tn=0;function Qn(Ie,we){if(!1)var Ye}function Pn(Ie){return JSON.stringify(Ie,null,2)}function Hn(Ie){var we=Ie.length>1?Ie.map(Rn).join(" "):Ie[0];return p()(we)==="object"?"".concat(Pn(we)):we.toString()}function Rn(Ie){return p()(Ie)==="object"?"".concat(JSON.stringify(Ie)):Ie.toString()}var Nn={log:function(){for(var we=arguments.length,Ye=new Array(we),Je=0;Je0){for(nr=1,Hr=1;nrT&&p(Z,arguments[T]),Z});if(W.prototype=z,w!=="Error"?s?s(W,se):c(W,se,{name:!0}):y&&P in M&&(l(W,M,P),l(W,M,"prepareStackTrace")),c(W,M),!d)try{z.name!==w&&o(z,"name",w),z.constructor=W}catch(Y){}return W}}},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,w){var M=r(P,this),z;a?z=a(new S,M?o(this):P):(z=M?this:c(P),l(z,b,"Error")),w!==void 0&&l(z,"message",y(w)),p(z,E,z.stack,1),arguments.length>2&&f(z,arguments[2]);var se=[];return h(F,x,{that:se}),l(z,"errors",se),z};a?a(E,S):s(E,S,{name:!0});var P=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,P=0,T,F,w,M;for(E===0?T=F=0:E===1?(T=0,F=S-x):(T=E-2,F=p(f(l(d),0),S-x)),w=o(S+T-F),M=u(w);P=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),P=o("".slice),T=Math.max,F=function(w,M,z){return z>w.length?-1:M===""?z:x(w,M,z)};t({target:"String",proto:!0},{replaceAll:function(M,z){var se=a(this),W,Y,_,oe,Z,le,ne,ee,L,H=0,j=0,C="";if(!c(M)){if(W=l(M),W&&(Y=u(a(p(M))),!~x(Y,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(_=f(M,b),_)return r(_,M,se,z);if(d&&W)return E(u(se),M,z)}for(oe=u(se),Z=u(M),le=s(z),le||(z=u(z)),ne=Z.length,ee=T(1,ne),H=F(oe,Z,0);H!==-1;)L=le?u(z(Z,H,oe)):h(Z,oe,H,[],void 0,z),C+=P(oe,j,H)+L,j=H+ne,H=F(oe,Z,H+ee);return j=56320||P+1>=x||(f(S,P+1)&64512)!==56320?E[P]=y:(E[P]=u(S,P),E[++P]=u(S,P))}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 P=s(arguments.length>1?arguments[1]:void 0,1),T=c(E);if(b)return r(h,this,T,P);var F=this.length,w=a(T),M=0;if(w+P>F)throw new u("Wrong length");for(;M1?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,P=p.getterFor(x),T="sync-dispose",F="disposed",w="pending",M=function(W){var Y=P(W);if(Y.state===F)throw new d(x+" already disposed");return Y},z=function(){E(s(this,se),{type:x,state:w,stack:[]}),r||(this.disposed=!1)},se=z.prototype;l(se,{dispose:function(){var Y=P(this);if(Y.state!==F){Y.state=F,r||(this.disposed=!0);for(var _=Y.stack,oe=_.length,Z=!1,le;oe;){var ne=_[--oe];_[oe]=null;try{ne()}catch(ee){Z?le=new y(ee,le):(Z=!0,le=ee)}}if(Y.stack=null,Z)throw le}},use:function(Y){return h(M(this),Y,T),Y},adopt:function(Y,_){var oe=M(this);return a(_),h(oe,void 0,T,function(){_(Y)}),Y},defer:function(Y){var _=M(this);a(Y),h(_,void 0,T,Y)},move:function(){var Y=M(this),_=new z;return P(_).stack=Y.stack,Y.stack=[],Y.state=F,r||(this.disposed=!0),_}}),r&&u(se,"disposed",{configurable:!0,get:function(){return P(this).state===F}}),c(se,b,se.dispose,{name:"dispose"}),c(se,S,x,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:z})},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"),P=TypeError,T=r[x],F=b||!s(T)||T.prototype!==y||!f(function(){T({})}),w=function(){if(o(this,y),c(this)===y)throw new P("Abstract class Iterator not directly constructable")},M=function(z,se){d?l(y,z,{configurable:!0,get:function(){return se},set:function(W){if(a(this),this===y)throw new P("You can't redefine this property");p(this,z)?this[z]=W:u(this,z,W)}}):y[z]=se};p(y,E)||M(E,x),(F||!p(y,S)||y[S]===Object)&&M(S,w),w.prototype=y,t({global:!0,constructor:!0,forced:F},{Iterator:w})},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,P=o.Number,T=o.SyntaxError,F=E&&E.parse,w=a("Object","keys"),M=Object.getOwnPropertyDescriptor,z=s("".charAt),se=s("".slice),W=s(/./.exec),Y=s([].push),_=/^\d$/,oe=/^[1-9]$/,Z=/^(?:-|\d)$/,le=/^[\t\n\r ]$/,ne=0,ee=1,L=function(te,J){te=h(te);var he=new N(te,0,""),xe=he.parse(),Be=xe.value,Ve=he.skip(le,xe.end);if(Ve1?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(P,T){var F=1;if(typeof P!="string")throw new u(a);if(!P.length)throw new l(a);if(y(P,0)==="-"&&(F=-1,P=S(P,1),!P.length))throw new l(a);var w=T===void 0?10:o(T);if(w<2||w>36)throw new c(s);if(!d(h,P))throw new l(a);var M=x(P,"."),z=f(M[0],w);if(M.length>1&&(z+=f(M[1],w)/p(w,M[1].length)),w===10&&b(z,w)!==P)throw new l(a);return F*z}})},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),P=x("observable"),T="Observable",F="Subscription",w="SubscriptionObserver",M=E.getterFor,z=E.set,se=M(T),W=M(F),Y=M(w),_=function(ee){this.observer=c(ee),this.cleanup=void 0,this.subscriptionObserver=void 0};_.prototype={type:F,clean:function(){var ee=this.cleanup;if(ee){this.cleanup=void 0;try{ee()}catch(L){S(L)}}},close:function(){if(!o){var ee=this.facade,L=this.subscriptionObserver;ee.closed=!0,L&&(L.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var oe=function(ee,L){var H=z(this,new _(ee)),j;o||(this.closed=!1);try{(j=h(ee,"start"))&&r(j,ee,this)}catch(fe){S(fe)}if(!H.isClosed()){var C=H.subscriptionObserver=new Z(H);try{var N=L(C),q=N;f(N)||(H.cleanup=u(N.unsubscribe)?function(){q.unsubscribe()}:s(N))}catch(fe){C.error(fe);return}H.isClosed()&&H.clean()}};oe.prototype=d({},{unsubscribe:function(){var L=W(this);L.isClosed()||(L.close(),L.clean())}}),o&&b(oe.prototype,"closed",{configurable:!0,get:function(){return W(this).isClosed()}});var Z=function(ee){z(this,{type:w,subscriptionState:ee}),o||(this.closed=!1)};Z.prototype=d({},{next:function(L){var H=Y(this).subscriptionState;if(!H.isClosed()){var j=H.observer;try{var C=h(j,"next");C&&r(C,j,L)}catch(N){S(N)}}},error:function(L){var H=Y(this).subscriptionState;if(!H.isClosed()){var j=H.observer;H.close();try{var C=h(j,"error");C?r(C,j,L):S(L)}catch(N){S(N)}H.clean()}},complete:function(){var L=Y(this).subscriptionState;if(!L.isClosed()){var H=L.observer;L.close();try{var j=h(H,"complete");j&&r(j,H)}catch(C){S(C)}L.clean()}}}),o&&b(Z.prototype,"closed",{configurable:!0,get:function(){return Y(this).subscriptionState.isClosed()}});var le=function(L){l(this,ne),z(this,{type:T,subscriber:s(L)})},ne=le.prototype;d(ne,{subscribe:function(L){var H=arguments.length;return new oe(u(L)?{next:L,error:H>1?arguments[1]:void 0,complete:H>2?arguments[2]:void 0}:p(L)?L:{},se(this).subscriber)}}),y(ne,P,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:le}),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(P,T){if(E.next(P),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,P;return E>=x.length?o(void 0,!0):(P=f(x,E),S.index+=P.length,o({codePoint:u(P,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,P=y.has,T=y.set,F=Array,w=TypeError,M=Object.freeze||Object,z=Object.isFrozen,se=Math.min,W=a("".charAt),Y=a("".slice),_=a("".split),oe=a(/./.exec),Z=/([\n\u2028\u2029]|\r\n?)/g,le=RegExp("^["+S+"]*"),ne=RegExp("[^"+S+"]"),ee="Invalid tag",L="Invalid opening line",H="Invalid closing line",j=function(J){var he=J.raw;if(t&&!z(he))throw new w("Raw template should be frozen");if(P(x,he))return E(x,he);var xe=C(he),Be=q(xe);return p(Be,"raw",{value:M(xe)}),M(Be),T(x,he,Be),Be},C=function(J){var he=l(J),xe=f(he),Be=F(xe),Ve=F(xe),Xe=0,vt,Tt,at,St;if(!xe)throw new w(ee);for(;Xe0)throw new w(L);vt[1]=""}if(be){if(vt.length===1||oe(ne,vt[vt.length-1]))throw new w(H);vt[vt.length-2]="",vt[vt.length-1]=""}for(var X=2;X1?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),P=f(E),T=r(E),F=a(S,T),w=arguments.length,M=0,z,se,W,Y,_,oe,Z;if(w===0)z=se=0;else if(w===1)z=0,se=T-F;else if(se=y(h(c(x),0),T-F),z=w-2,z){Y=new P(z),W=o(Y);for(var le=2;le1?a(arguments[1]):void 0,z=f(M)==="base64"?p:h,se=M?!!M.strict:!1,W=se?w:S(w,P,"");if(W.length%4===0)x(W,-2)==="=="?W=x(W,0,-2):x(W,-1)==="="&&(W=x(W,0,-1));else if(se)throw new d("Input is not correctly padded");var Y=W.length%4;switch(Y){case 1:throw new d("Bad input length");case 2:W+="AA";break;case 3:W+="A"}for(var _=[],oe=0,Z=W.length,le=function(L){var H=b(W,oe+L);if(!c(z,H))throw new d('Bad char in input: "'+H+'"');return z[H]<<18-6*L};oe>16&255,ne>>8&255,ne&255)}var ee=_.length;if(Y===2){if(se&&_[ee-2]!==0)throw new d(T);ee-=2}else if(Y===3){if(se&&_[ee-1]!==0)throw new d(T);ee--}return l(y,_,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*w&63)};E+21&&!p(arguments[1])?b(arguments[1]):void 0,Te=G?G.transfer:void 0,We,Le;Te!==void 0&&(We=new j,Le=Oe(Te,We));var je=de(re,We);return Le&&_e(Le),je}})},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(z,se){p(S,{key:se,value:z})}),a(d,1);for(var x=o(y),E=o(b),P=0,T=0,F=!1,w=S.length,M;Pr.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,q,fe){return N[q]=fe}}function d(j,C,N,q){var fe=C&&C.prototype instanceof F?C:F,te=Object.create(fe.prototype),J=new L(q||[]);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(q){return{type:"throw",arg:q}}}a.wrap=d;var S="suspendedStart",x="suspendedYield",E="executing",P="completed",T={};function F(){}function w(){}function M(){}var z={};y(z,f,function(){return this});var se=Object.getPrototypeOf,W=se&&se(se(H([])));W&&W!==s&&c.call(W,f)&&(z=W);var Y=M.prototype=F.prototype=Object.create(z);function _(j){["next","throw","return"].forEach(function(C){y(j,C,function(N){return this._invoke(C,N)})})}function oe(j,C){function N(fe,te,J,he){var xe=b(j[fe],j,te);if(xe.type!=="throw"){var Be=xe.arg,Ve=Be.value;return Ve&&(0,t.Z)(Ve)=="object"&&c.call(Ve,"__await")?C.resolve(Ve.__await).then(function(Xe){N("next",Xe,J,he)},function(Xe){N("throw",Xe,J,he)}):C.resolve(Ve).then(function(Xe){Be.value=Xe,J(Be)},function(Xe){return N("throw",Xe,J,he)})}he(xe.arg)}var q;l(this,"_invoke",{value:function(te,J){function he(){return new C(function(xe,Be){N(te,J,xe,Be)})}return q=q?q.then(he,he):he()}})}function Z(j,C,N){var q=S;return function(fe,te){if(q===E)throw new Error("Generator is already running");if(q===P){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=le(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(q===S)throw q=P,N.arg;N.dispatchException(N.arg)}else N.method==="return"&&N.abrupt("return",N.arg);q=E;var xe=b(j,C,N);if(xe.type==="normal"){if(q=N.done?P:x,xe.arg===T)continue;return{value:xe.arg,done:N.done}}xe.type==="throw"&&(q=P,N.method="throw",N.arg=xe.arg)}}}function le(j,C){var N=C.method,q=j.iterator[N];if(q===o)return C.delegate=null,N==="throw"&&j.iterator.return&&(C.method="return",C.arg=o,le(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(q,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 ne(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 L(j){this.tryEntries=[{tryLoc:"root"}],j.forEach(ne,this),this.reset(!0)}function H(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,q=function fe(){for(;++N=0;--fe){var te=this.tryEntries[fe],J=te.completion;if(te.tryLoc==="root")return q("end");if(te.tryLoc<=this.prev){var he=c.call(te,"catchLoc"),xe=c.call(te,"finallyLoc");if(he&&xe){if(this.prev=0;--q){var fe=this.tryEntries[q];if(fe.tryLoc<=this.prev&&c.call(fe,"finallyLoc")&&this.prev=0;--N){var q=this.tryEntries[N];if(q.finallyLoc===C)return this.complete(q.completion,q.afterLoc),ee(q),T}},catch:function(C){for(var N=this.tryEntries.length-1;N>=0;--N){var q=this.tryEntries[N];if(q.tryLoc===C){var fe=q.completion;if(fe.type==="throw"){var te=fe.arg;ee(q)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(C,N,q){return this.delegate={iterator:H(C),resultName:N,nextLoc:q},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 Le},kY:function(){return R}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=je=>je===a,l=je=>typeof je=="function",u=(je,ge)=>Ul(Ul({},je),ge),f=je=>l(je.then),p=new WeakMap;let h=0;const y=je=>{const ge=typeof je,Se=je&&je.constructor,De=Se==Date;let ze,et;if(s(je)===je&&!De&&Se!=RegExp){if(ze=p.get(je),ze)return ze;if(ze=++h+"~",p.set(je,ze),Se==Array){for(ze="@",et=0;etE&&typeof window.requestAnimationFrame!=x,F=(je,ge)=>{const Se=d.get(je);return[()=>!c(ge)&&je.get(ge)||b,De=>{if(!c(ge)){const ze=je.get(ge);ge in S||(S[ge]=ze),Se[5](ge,u(ze,De),ze||b)}},Se[6],()=>!c(ge)&&ge in S?S[ge]:!c(ge)&&je.get(ge)||b]};let w=!0;const M=()=>w,[z,se]=E&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],W=()=>{const je=P&&document.visibilityState;return c(je)||je!=="hidden"},Y=je=>(P&&document.addEventListener("visibilitychange",je),z("focus",je),()=>{P&&document.removeEventListener("visibilitychange",je),se("focus",je)}),_=je=>{const ge=()=>{w=!0,je()},Se=()=>{w=!1};return z("online",ge),z("offline",Se),()=>{se("online",ge),se("offline",Se)}},oe={isOnline:M,isVisible:W},Z={initFocus:Y,initReconnect:_},le=!t.useId,ne=!E||"Deno"in window,ee=je=>T()?window.requestAnimationFrame(je):setTimeout(je,1),L=ne?t.useEffect:t.useLayoutEffect,H=typeof navigator!="undefined"&&navigator.connection,j=!ne&&H&&(["slow-2g","2g"].includes(H.effectiveType)||H.saveData),C=je=>{if(l(je))try{je=je()}catch(Se){je=""}const ge=je;return je=typeof je=="string"?je:(Array.isArray(je)?je.length:je)?y(je):"",[je,ge]};let N=0;const q=()=>++N,fe=0,te=1,J=2;var xe={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:fe,MUTATE_EVENT:J,RECONNECT_EVENT:te};function Be(...je){return Lu(this,null,function*(){const[ge,Se,De,ze]=je,et=u({populateCache:!0,throwOnError:!0},typeof ze=="boolean"?{revalidate:ze}:ze||{});let He=et.populateCache;const Ge=et.rollbackOnError;let Ee=et.optimisticData;const Ne=it=>typeof Ge=="function"?Ge(it):Ge!==!1,ve=et.throwOnError;if(l(Se)){const it=Se,dt=[],Pe=ge.keys();for(const Ke of Pe)!/^\$(inf|sub)\$/.test(Ke)&&it(ge.get(Ke)._k)&&dt.push(Ke);return Promise.all(dt.map(ke))}return ke(Se);function ke(it){return Lu(this,null,function*(){const[dt]=C(it);if(!dt)return;const[Pe,Ke]=F(ge,dt),[qe,Qe,yt,Mt]=d.get(ge),zt=()=>{const xn=qe[dt];return(l(et.revalidate)?et.revalidate(Pe().data,it):et.revalidate!==!1)&&(delete yt[dt],delete Mt[dt],xn&&xn[0])?xn[0](J).then(()=>Pe().data):Pe().data};if(je.length<3)return zt();let At=De,Pt;const Et=q();Qe[dt]=[Et,0];const xt=!c(Ee),Nt=Pe(),an=Nt.data,Sn=Nt._c,En=c(Sn)?an:Sn;if(xt&&(Ee=l(Ee)?Ee(En,an):Ee,Ke({data:Ee,_c:En})),l(At))try{At=At(En)}catch(xn){Pt=xn}if(At&&f(At))if(At=yield At.catch(xn=>{Pt=xn}),Et!==Qe[dt][0]){if(Pt)throw Pt;return At}else Pt&&xt&&Ne(Pt)&&(He=!0,Ke({data:En,_c:a}));if(He&&!Pt)if(l(He)){const xn=He(At,En);Ke({data:xn,error:a,_c:a})}else Ke({data:At,error:a,_c:a});if(Qe[dt][1]=q(),Promise.resolve(zt()).then(()=>{Ke({_c:a})}),Pt){if(ve)throw Pt;return}return At})}})}const Ve=(je,ge)=>{for(const Se in je)je[Se][0]&&je[Se][0](ge)},Xe=(je,ge)=>{if(!d.has(je)){const Se=u(Z,ge),De={},ze=Be.bind(a,je);let et=o;const He={},Ge=(ve,ke)=>{const it=He[ve]||[];return He[ve]=it,it.push(ke),()=>it.splice(it.indexOf(ke),1)},Ee=(ve,ke,it)=>{je.set(ve,ke);const dt=He[ve];if(dt)for(const Pe of dt)Pe(ke,it)},Ne=()=>{if(!d.has(je)&&(d.set(je,[De,{},{},{},ze,Ee,Ge]),!ne)){const ve=Se.initFocus(setTimeout.bind(a,Ve.bind(a,De,fe))),ke=Se.initReconnect(setTimeout.bind(a,Ve.bind(a,De,te)));et=()=>{ve&&ve(),ke&&ke(),d.delete(je)}}};return Ne(),[je,ze,Ne,et]}return[je,d.get(je)[4]]},vt=(je,ge,Se,De,ze)=>{const et=Se.errorRetryCount,He=ze.retryCount,Ge=~~((Math.random()+.5)*(1<<(He<8?He:8)))*Se.errorRetryInterval;!c(et)&&He>et||setTimeout(De,Ge,ze)},Tt=(je,ge)=>y(je)==y(ge),[at,St]=Xe(new Map),lt=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:vt,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:Tt,isPaused:()=>!1,cache:at,mutate:St,fallback:{}},oe),be=(je,ge)=>{const Se=u(je,ge);if(ge){const{use:De,fallback:ze}=je,{use:et,fallback:He}=ge;De&&et&&(Se.use=De.concat(et)),ze&&He&&(Se.fallback=u(ze,He))}return Se},X=(0,t.createContext)({}),I=je=>{const{value:ge}=je,Se=(0,t.useContext)(X),De=l(ge),ze=(0,t.useMemo)(()=>De?ge(Se):ge,[De,Se,ge]),et=(0,t.useMemo)(()=>De?ze:be(Se,ze),[De,Se,ze]),He=ze&&ze.provider,Ge=(0,t.useRef)(a);He&&!Ge.current&&(Ge.current=Xe(He(et.cache||at),ze));const Ee=Ge.current;return Ee&&(et.cache=Ee[0],et.mutate=Ee[1]),L(()=>{if(Ee)return Ee[2]&&Ee[2](),Ee[3]},[]),(0,t.createElement)(X.Provider,u(je,{value:et}))},D="$inf$",ce=E&&window.__SWR_DEVTOOLS_USE__,V=ce?window.__SWR_DEVTOOLS_USE__:[],A=()=>{ce&&(window.__SWR_DEVTOOLS_REACT__=t)},$=je=>l(je[1])?[je[0],je[1],je[2]||{}]:[je[0],null,(je[1]===null?je[2]:je[1])||{}],R=()=>u(lt,(0,t.useContext)(X)),B=(je,ge)=>{const[Se,De]=C(je),[,,,ze]=d.get(at);if(ze[Se])return ze[Se];const et=ge(De);return ze[Se]=et,et},K=je=>(ge,Se,De)=>je(ge,Se&&((...et)=>{const[He]=C(ge),[,,,Ge]=d.get(at);if(He.startsWith(D))return Se(...et);const Ee=Ge[He];return c(Ee)?Se(...et):(delete Ge[He],Ee)}),De),ie=V.concat(K),de=je=>function(...Se){const De=R(),[ze,et,He]=$(Se),Ge=be(De,He);let Ee=je;const{use:Ne}=Ge,ve=(Ne||[]).concat(ie);for(let ke=ve.length;ke--;)Ee=ve[ke](Ee);return Ee(ze,et||Ge.fetcher||null,Ge)},Oe=(je,ge,Se)=>{const De=ge[je]||(ge[je]=[]);return De.push(Se),()=>{const ze=De.indexOf(Se);ze>=0&&(De[ze]=De[De.length-1],De.pop())}},_e=(je,ge)=>(...Se)=>{const[De,ze,et]=$(Se),He=(et.use||[]).concat(ge);return je(De,ze,Qc(Ul({},et),{use:He}))};A();const Q=je=>serialize(je)[0],re=t.use||(je=>{if(je.status==="pending")throw je;if(je.status==="fulfilled")return je.value;throw je.status==="rejected"?je.reason:(je.status="pending",je.then(ge=>{je.status="fulfilled",je.value=ge},ge=>{je.status="rejected",je.reason=ge}),je)}),G={dedupe:!0},Te=(je,ge,Se)=>{const{cache:De,compare:ze,suspense:et,fallbackData:He,revalidateOnMount:Ge,revalidateIfStale:Ee,refreshInterval:Ne,refreshWhenHidden:ve,refreshWhenOffline:ke,keepPreviousData:it}=Se,[dt,Pe,Ke,qe]=d.get(De),[Qe,yt]=C(je),Mt=(0,t.useRef)(!1),zt=(0,t.useRef)(!1),At=(0,t.useRef)(Qe),Pt=(0,t.useRef)(ge),Et=(0,t.useRef)(Se),xt=()=>Et.current,Nt=()=>xt().isVisible()&&xt().isOnline(),[an,Sn,En,xn]=F(De,Qe),rt=(0,t.useRef)({}).current,Fe=c(He)?Se.fallback[Qe]:He,ht=(gt,$t)=>{for(const Ot in rt){const Ut=Ot;if(Ut==="data"){if(!ze(gt[Ut],$t[Ut])&&(!c(gt[Ut])||!ze($n,$t[Ut])))return!1}else if($t[Ut]!==gt[Ut])return!1}return!0},wt=(0,t.useMemo)(()=>{const gt=(()=>!Qe||!ge?!1:c(Ge)?xt().isPaused()||et?!1:c(Ee)?!0:Ee:Ge)(),$t=bn=>{const Tn=u(bn);return delete Tn._k,gt?Ul({isValidating:!0,isLoading:!0},Tn):Tn},Ot=an(),Ut=xn(),Ft=$t(Ot),nn=Ot===Ut?Ft:$t(Ut);let dn=Ft;return[()=>{const bn=$t(an());return ht(bn,dn)?(dn.data=bn.data,dn.isLoading=bn.isLoading,dn.isValidating=bn.isValidating,dn.error=bn.error,dn):(dn=bn,bn)},()=>nn]},[De,Qe]),jt=(0,r.useSyncExternalStore)((0,t.useCallback)(gt=>En(Qe,($t,Ot)=>{ht(Ot,$t)||gt()}),[De,Qe]),wt[0],wt[1]),Xt=!Mt.current,tn=dt[Qe]&&dt[Qe].length>0,Cn=jt.data,wn=c(Cn)?Fe:Cn,jn=jt.error,_n=(0,t.useRef)(wn),$n=it?c(Cn)?_n.current:Cn:wn,Gn=(()=>tn&&!c(jn)?!1:Xt&&!c(Ge)?Ge:xt().isPaused()?!1:et?c(wn)?!1:Ee:c(wn)||Ee)(),sn=!!(Qe&&ge&&Xt&&Gn),tr=c(jt.isValidating)?sn:jt.isValidating,Qt=c(jt.isLoading)?sn:jt.isLoading,ln=(0,t.useCallback)(gt=>Lu(this,null,function*(){const $t=Pt.current;if(!Qe||!$t||zt.current||xt().isPaused())return!1;let Ot,Ut,Ft=!0;const nn=gt||{},dn=!Ke[Qe]||!nn.dedupe,bn=()=>le?!zt.current&&Qe===At.current&&Mt.current:Qe===At.current,Tn={isValidating:!1,isLoading:!1},Qn=()=>{Sn(Tn)},Pn=()=>{const Rn=Ke[Qe];Rn&&Rn[1]===Ut&&delete Ke[Qe]},Hn={isValidating:!0};c(an().data)&&(Hn.isLoading=!0);try{if(dn&&(Sn(Hn),Se.loadingTimeout&&c(an().data)&&setTimeout(()=>{Ft&&bn()&&xt().onLoadingSlow(Qe,Se)},Se.loadingTimeout),Ke[Qe]=[$t(yt),q()]),[Ot,Ut]=Ke[Qe],Ot=yield Ot,dn&&setTimeout(Pn,Se.dedupingInterval),!Ke[Qe]||Ke[Qe][1]!==Ut)return dn&&bn()&&xt().onDiscarded(Qe),!1;Tn.error=a;const Rn=Pe[Qe];if(!c(Rn)&&(Ut<=Rn[0]||Ut<=Rn[1]||Rn[1]===0))return Qn(),dn&&bn()&&xt().onDiscarded(Qe),!1;const Nn=an().data;Tn.data=ze(Nn,Ot)?Nn:Ot,dn&&bn()&&xt().onSuccess(Ot,Qe,Se)}catch(Rn){Pn();const Nn=xt(),{shouldRetryOnError:Or}=Nn;Nn.isPaused()||(Tn.error=Rn,dn&&bn()&&(Nn.onError(Rn,Qe,Nn),(Or===!0||l(Or)&&Or(Rn))&&(!xt().revalidateOnFocus||!xt().revalidateOnReconnect||Nt())&&Nn.onErrorRetry(Rn,Qe,Nn,Ie=>{const we=dt[Qe];we&&we[0]&&we[0](xe.ERROR_REVALIDATE_EVENT,Ie)},{retryCount:(nn.retryCount||0)+1,dedupe:!0})))}return Ft=!1,Qn(),!0}),[Qe,De]),ft=(0,t.useCallback)((...gt)=>Be(De,At.current,...gt),[]);if(L(()=>{Pt.current=ge,Et.current=Se,c(Cn)||(_n.current=Cn)}),L(()=>{if(!Qe)return;const gt=ln.bind(a,G);let $t=0;const Ut=Oe(Qe,dt,(Ft,nn={})=>{if(Ft==xe.FOCUS_EVENT){const dn=Date.now();xt().revalidateOnFocus&&dn>$t&&Nt()&&($t=dn+xt().focusThrottleInterval,gt())}else if(Ft==xe.RECONNECT_EVENT)xt().revalidateOnReconnect&&Nt()&>();else{if(Ft==xe.MUTATE_EVENT)return ln();if(Ft==xe.ERROR_REVALIDATE_EVENT)return ln(nn)}});return zt.current=!1,At.current=Qe,Mt.current=!0,Sn({_k:yt}),Gn&&(c(wn)||ne?gt():ee(gt)),()=>{zt.current=!0,Ut()}},[Qe]),L(()=>{let gt;function $t(){const Ut=l(Ne)?Ne(an().data):Ne;Ut&>!==-1&&(gt=setTimeout(Ot,Ut))}function Ot(){!an().error&&(ve||xt().isVisible())&&(ke||xt().isOnline())?ln(G).then($t):$t()}return $t(),()=>{gt&&(clearTimeout(gt),gt=-1)}},[Ne,ve,ke,Qe]),(0,t.useDebugValue)($n),et&&c(wn)&&Qe){if(!le&&ne)throw new Error("Fallback data is required when using suspense in SSR.");Pt.current=ge,Et.current=Se,zt.current=!1;const gt=qe[Qe];if(!c(gt)){const $t=ft(gt);re($t)}if(c(jn)){const $t=ln(G);c($n)||($t.status="fulfilled",$t.value=!0),re($t)}else throw jn}return{mutate:ft,get data(){return rt.data=!0,$n},get error(){return rt.error=!0,jn},get isValidating(){return rt.isValidating=!0,tr},get isLoading(){return rt.isLoading=!0,Qt}}},We=s.defineProperty(I,"defaultValue",{value:lt}),Le=de(Te)}},Go={};function Ze(v){var m=Go[v];if(m!==void 0)return m.exports;var e=Go[v]={id:v,loaded:!1,exports:{}};return Ci[v].call(e.exports,e,e.exports,Ze),e.loaded=!0,e.exports}Ze.m=Ci,function(){Ze.n=function(v){var m=v&&v.__esModule?function(){return v.default}:function(){return v};return Ze.d(m,{a:m}),m}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;Ze.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);Ze.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},Ze.d(r,o),r}}(),function(){Ze.d=function(v,m){for(var e in m)Ze.o(m,e)&&!Ze.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:m[e]})}}(),function(){Ze.f={},Ze.e=function(v){return Promise.all(Object.keys(Ze.f).reduce(function(m,e){return Ze.f[e](v,m),m},[]))}}(),function(){Ze.u=function(v){return""+({301:"t__plugin-layout__Layout",366:"p__User__Login__index",571:"p__404",816:"p__AdminManagement",857:"p__AdvRecordList"}[v]||v)+"."+{51:"d90b1fa5",301:"abca0916",366:"88487dcd",390:"41467286",430:"69b00127",509:"edc750af",571:"0c100574",638:"d29022f5",706:"1c4598f2",724:"11269392",816:"3d8845fe",857:"2ed1c75b",905:"745134cb"}[v]+".async.js"}}(),function(){Ze.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){Ze.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){Ze.o=function(v,m){return Object.prototype.hasOwnProperty.call(v,m)}}(),function(){var v={},m="ant-design-pro:";Ze.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 Le},kY:function(){return R}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=je=>je===a,l=je=>typeof je=="function",u=(je,ge)=>Ul(Ul({},je),ge),f=je=>l(je.then),p=new WeakMap;let h=0;const y=je=>{const ge=typeof je,Se=je&&je.constructor,De=Se==Date;let ze,et;if(s(je)===je&&!De&&Se!=RegExp){if(ze=p.get(je),ze)return ze;if(ze=++h+"~",p.set(je,ze),Se==Array){for(ze="@",et=0;etE&&typeof window.requestAnimationFrame!=x,F=(je,ge)=>{const Se=d.get(je);return[()=>!c(ge)&&je.get(ge)||b,De=>{if(!c(ge)){const ze=je.get(ge);ge in S||(S[ge]=ze),Se[5](ge,u(ze,De),ze||b)}},Se[6],()=>!c(ge)&&ge in S?S[ge]:!c(ge)&&je.get(ge)||b]};let w=!0;const M=()=>w,[z,se]=E&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],W=()=>{const je=P&&document.visibilityState;return c(je)||je!=="hidden"},Y=je=>(P&&document.addEventListener("visibilitychange",je),z("focus",je),()=>{P&&document.removeEventListener("visibilitychange",je),se("focus",je)}),_=je=>{const ge=()=>{w=!0,je()},Se=()=>{w=!1};return z("online",ge),z("offline",Se),()=>{se("online",ge),se("offline",Se)}},oe={isOnline:M,isVisible:W},Z={initFocus:Y,initReconnect:_},le=!t.useId,ne=!E||"Deno"in window,ee=je=>T()?window.requestAnimationFrame(je):setTimeout(je,1),L=ne?t.useEffect:t.useLayoutEffect,H=typeof navigator!="undefined"&&navigator.connection,j=!ne&&H&&(["slow-2g","2g"].includes(H.effectiveType)||H.saveData),C=je=>{if(l(je))try{je=je()}catch(Se){je=""}const ge=je;return je=typeof je=="string"?je:(Array.isArray(je)?je.length:je)?y(je):"",[je,ge]};let N=0;const q=()=>++N,fe=0,te=1,J=2;var xe={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:fe,MUTATE_EVENT:J,RECONNECT_EVENT:te};function Be(...je){return Lu(this,null,function*(){const[ge,Se,De,ze]=je,et=u({populateCache:!0,throwOnError:!0},typeof ze=="boolean"?{revalidate:ze}:ze||{});let He=et.populateCache;const Ge=et.rollbackOnError;let Ee=et.optimisticData;const Ne=it=>typeof Ge=="function"?Ge(it):Ge!==!1,ve=et.throwOnError;if(l(Se)){const it=Se,dt=[],Pe=ge.keys();for(const Ke of Pe)!/^\$(inf|sub)\$/.test(Ke)&&it(ge.get(Ke)._k)&&dt.push(Ke);return Promise.all(dt.map(ke))}return ke(Se);function ke(it){return Lu(this,null,function*(){const[dt]=C(it);if(!dt)return;const[Pe,Ke]=F(ge,dt),[qe,Qe,yt,Mt]=d.get(ge),zt=()=>{const xn=qe[dt];return(l(et.revalidate)?et.revalidate(Pe().data,it):et.revalidate!==!1)&&(delete yt[dt],delete Mt[dt],xn&&xn[0])?xn[0](J).then(()=>Pe().data):Pe().data};if(je.length<3)return zt();let At=De,Pt;const Et=q();Qe[dt]=[Et,0];const xt=!c(Ee),Nt=Pe(),an=Nt.data,Sn=Nt._c,En=c(Sn)?an:Sn;if(xt&&(Ee=l(Ee)?Ee(En,an):Ee,Ke({data:Ee,_c:En})),l(At))try{At=At(En)}catch(xn){Pt=xn}if(At&&f(At))if(At=yield At.catch(xn=>{Pt=xn}),Et!==Qe[dt][0]){if(Pt)throw Pt;return At}else Pt&&xt&&Ne(Pt)&&(He=!0,Ke({data:En,_c:a}));if(He&&!Pt)if(l(He)){const xn=He(At,En);Ke({data:xn,error:a,_c:a})}else Ke({data:At,error:a,_c:a});if(Qe[dt][1]=q(),Promise.resolve(zt()).then(()=>{Ke({_c:a})}),Pt){if(ve)throw Pt;return}return At})}})}const Ve=(je,ge)=>{for(const Se in je)je[Se][0]&&je[Se][0](ge)},Xe=(je,ge)=>{if(!d.has(je)){const Se=u(Z,ge),De={},ze=Be.bind(a,je);let et=o;const He={},Ge=(ve,ke)=>{const it=He[ve]||[];return He[ve]=it,it.push(ke),()=>it.splice(it.indexOf(ke),1)},Ee=(ve,ke,it)=>{je.set(ve,ke);const dt=He[ve];if(dt)for(const Pe of dt)Pe(ke,it)},Ne=()=>{if(!d.has(je)&&(d.set(je,[De,{},{},{},ze,Ee,Ge]),!ne)){const ve=Se.initFocus(setTimeout.bind(a,Ve.bind(a,De,fe))),ke=Se.initReconnect(setTimeout.bind(a,Ve.bind(a,De,te)));et=()=>{ve&&ve(),ke&&ke(),d.delete(je)}}};return Ne(),[je,ze,Ne,et]}return[je,d.get(je)[4]]},vt=(je,ge,Se,De,ze)=>{const et=Se.errorRetryCount,He=ze.retryCount,Ge=~~((Math.random()+.5)*(1<<(He<8?He:8)))*Se.errorRetryInterval;!c(et)&&He>et||setTimeout(De,Ge,ze)},Tt=(je,ge)=>y(je)==y(ge),[at,St]=Xe(new Map),lt=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:vt,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:Tt,isPaused:()=>!1,cache:at,mutate:St,fallback:{}},oe),be=(je,ge)=>{const Se=u(je,ge);if(ge){const{use:De,fallback:ze}=je,{use:et,fallback:He}=ge;De&&et&&(Se.use=De.concat(et)),ze&&He&&(Se.fallback=u(ze,He))}return Se},X=(0,t.createContext)({}),I=je=>{const{value:ge}=je,Se=(0,t.useContext)(X),De=l(ge),ze=(0,t.useMemo)(()=>De?ge(Se):ge,[De,Se,ge]),et=(0,t.useMemo)(()=>De?ze:be(Se,ze),[De,Se,ze]),He=ze&&ze.provider,Ge=(0,t.useRef)(a);He&&!Ge.current&&(Ge.current=Xe(He(et.cache||at),ze));const Ee=Ge.current;return Ee&&(et.cache=Ee[0],et.mutate=Ee[1]),L(()=>{if(Ee)return Ee[2]&&Ee[2](),Ee[3]},[]),(0,t.createElement)(X.Provider,u(je,{value:et}))},D="$inf$",ce=E&&window.__SWR_DEVTOOLS_USE__,V=ce?window.__SWR_DEVTOOLS_USE__:[],A=()=>{ce&&(window.__SWR_DEVTOOLS_REACT__=t)},$=je=>l(je[1])?[je[0],je[1],je[2]||{}]:[je[0],null,(je[1]===null?je[2]:je[1])||{}],R=()=>u(lt,(0,t.useContext)(X)),B=(je,ge)=>{const[Se,De]=C(je),[,,,ze]=d.get(at);if(ze[Se])return ze[Se];const et=ge(De);return ze[Se]=et,et},K=je=>(ge,Se,De)=>je(ge,Se&&((...et)=>{const[He]=C(ge),[,,,Ge]=d.get(at);if(He.startsWith(D))return Se(...et);const Ee=Ge[He];return c(Ee)?Se(...et):(delete Ge[He],Ee)}),De),ie=V.concat(K),de=je=>function(...Se){const De=R(),[ze,et,He]=$(Se),Ge=be(De,He);let Ee=je;const{use:Ne}=Ge,ve=(Ne||[]).concat(ie);for(let ke=ve.length;ke--;)Ee=ve[ke](Ee);return Ee(ze,et||Ge.fetcher||null,Ge)},Oe=(je,ge,Se)=>{const De=ge[je]||(ge[je]=[]);return De.push(Se),()=>{const ze=De.indexOf(Se);ze>=0&&(De[ze]=De[De.length-1],De.pop())}},_e=(je,ge)=>(...Se)=>{const[De,ze,et]=$(Se),He=(et.use||[]).concat(ge);return je(De,ze,Qc(Ul({},et),{use:He}))};A();const Q=je=>serialize(je)[0],re=t.use||(je=>{if(je.status==="pending")throw je;if(je.status==="fulfilled")return je.value;throw je.status==="rejected"?je.reason:(je.status="pending",je.then(ge=>{je.status="fulfilled",je.value=ge},ge=>{je.status="rejected",je.reason=ge}),je)}),G={dedupe:!0},Te=(je,ge,Se)=>{const{cache:De,compare:ze,suspense:et,fallbackData:He,revalidateOnMount:Ge,revalidateIfStale:Ee,refreshInterval:Ne,refreshWhenHidden:ve,refreshWhenOffline:ke,keepPreviousData:it}=Se,[dt,Pe,Ke,qe]=d.get(De),[Qe,yt]=C(je),Mt=(0,t.useRef)(!1),zt=(0,t.useRef)(!1),At=(0,t.useRef)(Qe),Pt=(0,t.useRef)(ge),Et=(0,t.useRef)(Se),xt=()=>Et.current,Nt=()=>xt().isVisible()&&xt().isOnline(),[an,Sn,En,xn]=F(De,Qe),rt=(0,t.useRef)({}).current,Fe=c(He)?Se.fallback[Qe]:He,ht=(gt,$t)=>{for(const Ot in rt){const Ut=Ot;if(Ut==="data"){if(!ze(gt[Ut],$t[Ut])&&(!c(gt[Ut])||!ze($n,$t[Ut])))return!1}else if($t[Ut]!==gt[Ut])return!1}return!0},wt=(0,t.useMemo)(()=>{const gt=(()=>!Qe||!ge?!1:c(Ge)?xt().isPaused()||et?!1:c(Ee)?!0:Ee:Ge)(),$t=bn=>{const Tn=u(bn);return delete Tn._k,gt?Ul({isValidating:!0,isLoading:!0},Tn):Tn},Ot=an(),Ut=xn(),Ft=$t(Ot),nn=Ot===Ut?Ft:$t(Ut);let dn=Ft;return[()=>{const bn=$t(an());return ht(bn,dn)?(dn.data=bn.data,dn.isLoading=bn.isLoading,dn.isValidating=bn.isValidating,dn.error=bn.error,dn):(dn=bn,bn)},()=>nn]},[De,Qe]),jt=(0,r.useSyncExternalStore)((0,t.useCallback)(gt=>En(Qe,($t,Ot)=>{ht(Ot,$t)||gt()}),[De,Qe]),wt[0],wt[1]),Xt=!Mt.current,tn=dt[Qe]&&dt[Qe].length>0,Cn=jt.data,wn=c(Cn)?Fe:Cn,jn=jt.error,_n=(0,t.useRef)(wn),$n=it?c(Cn)?_n.current:Cn:wn,Gn=(()=>tn&&!c(jn)?!1:Xt&&!c(Ge)?Ge:xt().isPaused()?!1:et?c(wn)?!1:Ee:c(wn)||Ee)(),sn=!!(Qe&&ge&&Xt&&Gn),tr=c(jt.isValidating)?sn:jt.isValidating,Qt=c(jt.isLoading)?sn:jt.isLoading,ln=(0,t.useCallback)(gt=>Lu(this,null,function*(){const $t=Pt.current;if(!Qe||!$t||zt.current||xt().isPaused())return!1;let Ot,Ut,Ft=!0;const nn=gt||{},dn=!Ke[Qe]||!nn.dedupe,bn=()=>le?!zt.current&&Qe===At.current&&Mt.current:Qe===At.current,Tn={isValidating:!1,isLoading:!1},Qn=()=>{Sn(Tn)},Pn=()=>{const Rn=Ke[Qe];Rn&&Rn[1]===Ut&&delete Ke[Qe]},Hn={isValidating:!0};c(an().data)&&(Hn.isLoading=!0);try{if(dn&&(Sn(Hn),Se.loadingTimeout&&c(an().data)&&setTimeout(()=>{Ft&&bn()&&xt().onLoadingSlow(Qe,Se)},Se.loadingTimeout),Ke[Qe]=[$t(yt),q()]),[Ot,Ut]=Ke[Qe],Ot=yield Ot,dn&&setTimeout(Pn,Se.dedupingInterval),!Ke[Qe]||Ke[Qe][1]!==Ut)return dn&&bn()&&xt().onDiscarded(Qe),!1;Tn.error=a;const Rn=Pe[Qe];if(!c(Rn)&&(Ut<=Rn[0]||Ut<=Rn[1]||Rn[1]===0))return Qn(),dn&&bn()&&xt().onDiscarded(Qe),!1;const Nn=an().data;Tn.data=ze(Nn,Ot)?Nn:Ot,dn&&bn()&&xt().onSuccess(Ot,Qe,Se)}catch(Rn){Pn();const Nn=xt(),{shouldRetryOnError:Or}=Nn;Nn.isPaused()||(Tn.error=Rn,dn&&bn()&&(Nn.onError(Rn,Qe,Nn),(Or===!0||l(Or)&&Or(Rn))&&(!xt().revalidateOnFocus||!xt().revalidateOnReconnect||Nt())&&Nn.onErrorRetry(Rn,Qe,Nn,Ie=>{const we=dt[Qe];we&&we[0]&&we[0](xe.ERROR_REVALIDATE_EVENT,Ie)},{retryCount:(nn.retryCount||0)+1,dedupe:!0})))}return Ft=!1,Qn(),!0}),[Qe,De]),ft=(0,t.useCallback)((...gt)=>Be(De,At.current,...gt),[]);if(L(()=>{Pt.current=ge,Et.current=Se,c(Cn)||(_n.current=Cn)}),L(()=>{if(!Qe)return;const gt=ln.bind(a,G);let $t=0;const Ut=Oe(Qe,dt,(Ft,nn={})=>{if(Ft==xe.FOCUS_EVENT){const dn=Date.now();xt().revalidateOnFocus&&dn>$t&&Nt()&&($t=dn+xt().focusThrottleInterval,gt())}else if(Ft==xe.RECONNECT_EVENT)xt().revalidateOnReconnect&&Nt()&>();else{if(Ft==xe.MUTATE_EVENT)return ln();if(Ft==xe.ERROR_REVALIDATE_EVENT)return ln(nn)}});return zt.current=!1,At.current=Qe,Mt.current=!0,Sn({_k:yt}),Gn&&(c(wn)||ne?gt():ee(gt)),()=>{zt.current=!0,Ut()}},[Qe]),L(()=>{let gt;function $t(){const Ut=l(Ne)?Ne(an().data):Ne;Ut&>!==-1&&(gt=setTimeout(Ot,Ut))}function Ot(){!an().error&&(ve||xt().isVisible())&&(ke||xt().isOnline())?ln(G).then($t):$t()}return $t(),()=>{gt&&(clearTimeout(gt),gt=-1)}},[Ne,ve,ke,Qe]),(0,t.useDebugValue)($n),et&&c(wn)&&Qe){if(!le&&ne)throw new Error("Fallback data is required when using suspense in SSR.");Pt.current=ge,Et.current=Se,zt.current=!1;const gt=qe[Qe];if(!c(gt)){const $t=ft(gt);re($t)}if(c(jn)){const $t=ln(G);c($n)||($t.status="fulfilled",$t.value=!0),re($t)}else throw jn}return{mutate:ft,get data(){return rt.data=!0,$n},get error(){return rt.error=!0,jn},get isValidating(){return rt.isValidating=!0,tr},get isLoading(){return rt.isLoading=!0,Qt}}},We=s.defineProperty(I,"defaultValue",{value:lt}),Le=de(Te)}},Go={};function Ze(v){var m=Go[v];if(m!==void 0)return m.exports;var e=Go[v]={id:v,loaded:!1,exports:{}};return Ci[v].call(e.exports,e,e.exports,Ze),e.loaded=!0,e.exports}Ze.m=Ci,function(){Ze.n=function(v){var m=v&&v.__esModule?function(){return v.default}:function(){return v};return Ze.d(m,{a:m}),m}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;Ze.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);Ze.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},Ze.d(r,o),r}}(),function(){Ze.d=function(v,m){for(var e in m)Ze.o(m,e)&&!Ze.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:m[e]})}}(),function(){Ze.f={},Ze.e=function(v){return Promise.all(Object.keys(Ze.f).reduce(function(m,e){return Ze.f[e](v,m),m},[]))}}(),function(){Ze.u=function(v){return""+({301:"t__plugin-layout__Layout",366:"p__User__Login__index",571:"p__404",816:"p__AdminManagement",857:"p__AdvRecordList"}[v]||v)+"."+{51:"d90b1fa5",301:"abca0916",366:"88487dcd",390:"41467286",430:"69b00127",509:"edc750af",571:"0c100574",638:"d29022f5",706:"1c4598f2",724:"11269392",816:"c8a5c155",857:"2ed1c75b",905:"745134cb"}[v]+".async.js"}}(),function(){Ze.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){Ze.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){Ze.o=function(v,m){return Object.prototype.hasOwnProperty.call(v,m)}}(),function(){var v={},m="ant-design-pro:";Ze.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;lcn.length)&&(ue=cn.length);for(var Me=0,k=new Array(ue);Me0&&arguments[0]!==void 0?arguments[0]:"";return cn.endsWith("/")?cn:"".concat(cn,"/")}var ro=Ze(49647),no=Ze(58096),kr=Fn.createContext(void 0);function Oa(){return Fn.useContext(kr)}var Eo=["redirect"];function lo(cn){var ue=cn.routesById,Me=cn.parentId,k=cn.routeComponents;return Object.keys(ue).filter(function(ut){return ue[ut].parentId===Me}).map(function(ut){var It=fo(Xn({route:ue[ut],routeComponent:k[ut],loadingComponent:cn.loadingComponent,reactRouter5Compat:cn.reactRouter5Compat},cn.reactRouter5Compat&&{hasChildren:Object.keys(ue).filter(function(yn){return ue[yn].parentId===ut}).length>0})),qt=lo({routesById:ue,routeComponents:k,parentId:It.id,loadingComponent:cn.loadingComponent,reactRouter5Compat:cn.reactRouter5Compat});return qt.length>0&&(It.children=qt,It.routes=qt),It})}function Do(cn){var ue=(0,la.UO)(),Me=Xn(Xn({},cn),{},{to:(0,la.Gn)(cn.to,ue)});return Fn.createElement(la.Fg,(0,no.Z)({replace:!0},Me))}function fo(cn){var ue=cn.route,Me=ue.redirect,k=(0,ro.Z)(ue,Eo),ut=cn.reactRouter5Compat?Ro:Qo;return Xn({element:Me?Fn.createElement(Do,{to:Me}):Fn.createElement(kr.Provider,{value:{route:cn.route}},Fn.createElement(ut,{loader:Fn.memo(cn.routeComponent),loadingComponent:cn.loadingComponent||di,hasChildren:cn.hasChildren}))},k)}function di(){return Fn.createElement("div",null)}function Ro(cn){var ue=Oa(),Me=ue.route,k=(0,pa.Ov)(),ut=k.history,It=k.clientRoutes,qt=(0,la.UO)(),yn={params:qt,isExact:!0,path:Me.path,url:ut.location.pathname},er=cn.loader;return Fn.createElement(Fn.Suspense,{fallback:Fn.createElement(cn.loadingComponent,null)},Fn.createElement(er,{location:ut.location,match:yn,history:ut,params:qt,route:Me,routes:It},cn.hasChildren&&Fn.createElement(la.j3,null)))}function Qo(cn){var ue=cn.loader;return Fn.createElement(Fn.Suspense,{fallback:Fn.createElement(cn.loadingComponent,null)},Fn.createElement(ue,null))}var zo=null;function ko(){return zo}function fi(cn){var ue=cn.history,Me=Fn.useState({action:ue.action,location:ue.location}),k=br(Me,2),ut=k[0],It=k[1];return(0,Fn.useLayoutEffect)(function(){return ue.listen(It)},[ue]),(0,Fn.useLayoutEffect)(function(){function qt(yn){cn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:cn.routes,clientRoutes:cn.clientRoutes,location:yn.location,action:yn.action,basename:cn.basename,isFirst:!!yn.isFirst}})}return qt({location:ut.location,action:ut.action,isFirst:!0}),ue.listen(qt)},[ue,cn.routes,cn.clientRoutes]),Fn.createElement(la.F0,{navigator:ue,location:ut.location,basename:cn.basename},cn.children)}function po(){var cn=(0,pa.Ov)(),ue=cn.clientRoutes;return(0,la.V$)(ue)}var vo=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Ca=function(ue,Me){var k=ue.basename||"/",ut=lo({routesById:ue.routes,routeComponents:ue.routeComponents,loadingComponent:ue.loadingComponent,reactRouter5Compat:ue.reactRouter5Compat});ue.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:ut}});for(var It=Fn.createElement(fi,{basename:k,pluginManager:ue.pluginManager,routes:ue.routes,clientRoutes:ut,history:ue.history},Me),qt=0,yn=vo;qt { const [visible, setVisible] = useState(false); const [form] = Form.useForm(); const [appArr, setAppArr] = useState([]); + const { initialState } = useModel('@@initialState'); + const currentUser = initialState?.currentUser; const getAppNameById = (appId:number) => { const app = appArr.find(app => app.id === appId); @@ -144,7 +147,7 @@ const AdminManagement = () => {