From 040e79b36919c6fd418babfd3388d2e39d2e24c1 Mon Sep 17 00:00:00 2001 From: nili Date: Sun, 30 Jun 2024 14:53:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B1=95=E7=A4=BA=E9=87=91=E5=B8=81?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ... => _umi_route_preload_helper.b7246a5c.js} | 2 +- dist/index.html | 4 +- dist/p__AdvRecordListV2.77bc346f.async.js | 1 - dist/p__AdvRecordListV2.7d43902a.async.js | 1 + dist/{umi.6d712b5d.js => umi.cb3d2407.js} | 46 +++++++++---------- src/pages/AdvRecordListV2.tsx | 4 +- 6 files changed, 29 insertions(+), 29 deletions(-) rename dist/{_umi_route_preload_helper.4168bea5.js => _umi_route_preload_helper.b7246a5c.js} (95%) delete mode 100644 dist/p__AdvRecordListV2.77bc346f.async.js create mode 100644 dist/p__AdvRecordListV2.7d43902a.async.js rename dist/{umi.6d712b5d.js => umi.cb3d2407.js} (98%) diff --git a/dist/_umi_route_preload_helper.4168bea5.js b/dist/_umi_route_preload_helper.b7246a5c.js similarity index 95% rename from dist/_umi_route_preload_helper.4168bea5.js rename to dist/_umi_route_preload_helper.b7246a5c.js index ba4b488..b86affd 100644 --- a/dist/_umi_route_preload_helper.4168bea5.js +++ b/dist/_umi_route_preload_helper.b7246a5c.js @@ -1 +1 @@ -!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"ant-design-pro","b":"webpack","f":[["51.a2ea1b3b.async.js",51],["134.6fc81d91.async.js",134],["169.57647c7d.async.js",169],["p__Welcome.61596037.async.js",185],["p__MoneyManagement.7ad34f8d.async.js",190],["247.3fe8fb10.async.js",247],["t__plugin-layout__Layout.6cae69f5.chunk.css",301],["t__plugin-layout__Layout.4594a64b.async.js",301],["p__User__Login__index.9d3ab92e.async.js",366],["p__DeviceOwnerApp.c61abcd9.async.js",371],["390.41467286.async.js",390],["393.38316f72.async.js",393],["397.fb5f72c1.async.js",397],["p__SuperAdmin.92290426.async.js",455],["p__Proxy__ProxyUserManagement.7f03f17a.async.js",526],["531.4c68f902.async.js",531],["539.49b7b156.async.js",539],["p__AdvRecordListV2.77bc346f.async.js",542],["p__Bind.b6ee068f.async.js",557],["559.016bfdbb.async.js",559],["p__404.0c100574.async.js",571],["635.20e45f05.async.js",635],["p__App__AppManagement.7b88d7c4.async.js",731],["p__AdminManagement.16f4328b.async.js",816],["822.4ba8fa04.async.js",822],["841.614ef4c0.async.js",841],["p__AdvRecordList.fc092f59.async.js",857],["p__UserManagement.5e827801.async.js",903],["905.6e225d1b.async.js",905],["930.fca7adbf.async.js",930],["942.561ac28f.async.js",942],["p__Proxy__ProxyAdvRecordListV2.d373f52a.async.js",990]],"r":{"/*":[20,28],"/":[1,6,7,19,21,28],"/welcome":[1,2,3,11,19,29,6,7,21,28],"/super":[0,1,2,5,13,15,16,24,28,29,6,7,19,21],"/adminList":[0,1,2,23,24,30,6,7,19,21,28],"/bind":[1,2,11,12,18,19,29,6,7,21,28],"/appList":[0,1,2,5,12,15,16,22,24,28,29,6,7,19,21],"/advList/:code":[0,1,2,15,16,19,24,25,26,28,29,6,7,21],"/advListV2/:code":[0,1,2,15,16,17,19,24,25,28,29,6,7,21],"/user/:code":[0,1,2,15,16,24,27,28,29,6,7,19,21],"/money/:code":[0,1,2,4,15,16,24,28,29,6,7,19,21],"/app/:code":[0,1,2,9,15,16,19,24,25,28,29,6,7,21],"/user/login":[1,2,8,15,24],"/proxy/advListV2/:code":[0,1,2,15,16,19,24,25,28,29,31,6,7,21],"/proxy/user/:code":[0,1,2,14,15,16,24,28,29,6,7,19,21]}},{publicPath:"/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file +!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"ant-design-pro","b":"webpack","f":[["51.a2ea1b3b.async.js",51],["134.6fc81d91.async.js",134],["169.57647c7d.async.js",169],["p__Welcome.61596037.async.js",185],["p__MoneyManagement.7ad34f8d.async.js",190],["247.3fe8fb10.async.js",247],["t__plugin-layout__Layout.6cae69f5.chunk.css",301],["t__plugin-layout__Layout.4594a64b.async.js",301],["p__User__Login__index.9d3ab92e.async.js",366],["p__DeviceOwnerApp.c61abcd9.async.js",371],["390.41467286.async.js",390],["393.38316f72.async.js",393],["397.fb5f72c1.async.js",397],["p__SuperAdmin.92290426.async.js",455],["p__Proxy__ProxyUserManagement.7f03f17a.async.js",526],["531.4c68f902.async.js",531],["539.49b7b156.async.js",539],["p__AdvRecordListV2.7d43902a.async.js",542],["p__Bind.b6ee068f.async.js",557],["559.016bfdbb.async.js",559],["p__404.0c100574.async.js",571],["635.20e45f05.async.js",635],["p__App__AppManagement.7b88d7c4.async.js",731],["p__AdminManagement.16f4328b.async.js",816],["822.4ba8fa04.async.js",822],["841.614ef4c0.async.js",841],["p__AdvRecordList.fc092f59.async.js",857],["p__UserManagement.5e827801.async.js",903],["905.6e225d1b.async.js",905],["930.fca7adbf.async.js",930],["942.561ac28f.async.js",942],["p__Proxy__ProxyAdvRecordListV2.d373f52a.async.js",990]],"r":{"/*":[20,28],"/":[1,6,7,19,21,28],"/welcome":[1,2,3,11,19,29,6,7,21,28],"/super":[0,1,2,5,13,15,16,24,28,29,6,7,19,21],"/adminList":[0,1,2,23,24,30,6,7,19,21,28],"/bind":[1,2,11,12,18,19,29,6,7,21,28],"/appList":[0,1,2,5,12,15,16,22,24,28,29,6,7,19,21],"/advList/:code":[0,1,2,15,16,19,24,25,26,28,29,6,7,21],"/advListV2/:code":[0,1,2,15,16,17,19,24,25,28,29,6,7,21],"/user/:code":[0,1,2,15,16,24,27,28,29,6,7,19,21],"/money/:code":[0,1,2,4,15,16,24,28,29,6,7,19,21],"/app/:code":[0,1,2,9,15,16,19,24,25,28,29,6,7,21],"/user/login":[1,2,8,15,24],"/proxy/advListV2/:code":[0,1,2,15,16,19,24,25,28,29,31,6,7,21],"/proxy/user/:code":[0,1,2,14,15,16,24,28,29,6,7,19,21]}},{publicPath:"/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index d976e8b..fa7bf32 100644 --- a/dist/index.html +++ b/dist/index.html @@ -7,10 +7,10 @@ Ant Design Pro - +
- + \ No newline at end of file diff --git a/dist/p__AdvRecordListV2.77bc346f.async.js b/dist/p__AdvRecordListV2.77bc346f.async.js deleted file mode 100644 index 7123caf..0000000 --- a/dist/p__AdvRecordListV2.77bc346f.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[542],{86408:function(g,f,e){e.r(f);var h=e(97857),l=e.n(h),x=e(15009),i=e.n(x),B=e(99289),P=e.n(B),v=e(5574),a=e.n(v),n=e(48357),E=e(11415),_=e(39615),m=e(90930),j=e(67539),T=e(57470),C=e(64317),$=e(34540),G=e(13169),S=e(16250),Y=e(27484),X=e.n(Y),w=e(9220),D=e(67294),Q=e(96974),M=e(58125),H=e(38171),r=e(85893),J=function(){var y=(0,D.useRef)(),k=(0,D.useState)(void 0),L=a()(k,2),K=L[0],q=L[1],I=function(){return window.innerWidth<=768},ee=(0,D.useState)({deviceId:{show:!I()},appName:{show:!I()},platform:{show:!I()},deviceBrand:{show:!I()},deviceName:{show:!I()},ip:{show:!I()},advType:{show:!I()}}),W=a()(ee,2),te=W[0],ae=W[1],ne=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0},{title:"\u5E94\u7528\u540D\u79F0",hideInSearch:!0,dataIndex:"appName",valueType:"textarea"},{title:"\u5E73\u53F0",dataIndex:"platform",width:80,valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},3:{text:"\u767E\u5EA6\u8054\u76DF"},4:{text:"Mintegral"},5:{text:"\u5FEB\u624B"},6:{text:"\u6E38\u53EF\u8D62"},7:{text:"Sigmob"},8:{text:"Admob"}}},{title:"\u5E7F\u544A\u7C7B\u578B",dataIndex:"advType",valueEnum:{1:{text:"\u6A2A\u5E45",status:"Success"},2:{text:"\u63D2\u9875",status:"Success"},3:{text:"\u6FC0\u52B1\u89C6\u9891",status:"Success"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(t){return t/100}},{title:"\u91D1\u5E01(\u5143)",dataIndex:"ecpmReal",hideInSearch:!0,renderText:function(t){return t/100}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(t,u){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:u.deviceBrand}),(0,r.jsx)("p",{children:u.deviceName})]})}},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u4EE3\u7406",dataIndex:"adminName",hideInSearch:!0,valueType:"textarea"},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,width:150,renderText:function(t,u){if(u.user)return(0,r.jsx)(H.Z,{data:u.user})}},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"},{title:"\u7528\u6237id",hideInTable:!0,dataIndex:"userId"}],re=(0,Q.UO)(),b=re.code,se=(0,D.useState)(),F=a()(se,2),c=F[0],_e=F[1],ie=(0,D.useState)([]),Z=a()(ie,2),V=Z[0],ue=Z[1],R=_.Z.Divider,de=(0,D.useState)(!1),z=a()(de,2),U=z[0],oe=z[1],le=function(){var s=P()(i()().mark(function t(u){var o;return i()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,n.d1)({appCode:u});case 2:o=d.sent,o.data&&_e(o.data);case 4:case"end":return d.stop()}},t)}));return function(u){return s.apply(this,arguments)}}(),N=function(){var s=P()(i()().mark(function t(u){var o;return i()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,n.Zb)(l()(l()({},u),{},{code:b}));case 2:o=d.sent,o.data&&ue(o.data);case 4:case"end":return d.stop()}},t)}));return function(u){return s.apply(this,arguments)}}();(0,D.useEffect)(function(){var s;(s=y.current)===null||s===void 0||s.reload(),le(b),N({code:b})},[b]);var ce=V.map(function(s){return{date:function(){var t=s.date+"",u=t.slice(0,4),o=t.slice(4,6),O=t.slice(6,8);return"".concat(u,"-").concat(o,"-").concat(O)}(),income:(0,M.P)(s.income)}}),me={data:ce,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+(0,M.P)(V.reduce(function(s,t){return s+(t.income?t.income:0)},0))+"\u5143",height:400,label:{text:function(t){return t.income>0?t.income:""},textBaseline:"bottom"}};return(0,r.jsx)(m._z,{children:(0,r.jsxs)(G.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,r.jsx)(S.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,r.jsx)(j.Z,{headerTitle:K?"\u8868\u683C\u7D2F\u8BA1\uFF1A"+(0,M.P)(K)+"\u5143":"",actionRef:y,rowKey:"key",search:{labelWidth:120},request:function(){var s=P()(i()().mark(function t(u){var o,O,d,A;return i()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,(0,n._5)(l()(l()({},u),{},{code:b}));case 2:return d=p.sent,u.current===1&&q((A=d.data)===null||A===void 0?void 0:A.sum),p.abrupt("return",{data:(o=d.data)===null||o===void 0?void 0:o.data,total:(O=d.data)===null||O===void 0?void 0:O.total,success:!0});case 5:case"end":return p.stop()}},t)}));return function(t){return s.apply(this,arguments)}}(),columns:ne,columnsState:{value:te,onChange:function(t){ae(t)}}})},"1"),(0,r.jsxs)(S.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,r.jsx)(w.Z,{onResize:function(t){oe(t.width<596)},children:(0,r.jsx)(_.Z,{children:(0,r.jsxs)(_.Z.Group,{direction:U?"column":"row",children:[(0,r.jsx)(_.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,M.P)(c==null?void 0:c.lastMonthIncome)}}),(0,r.jsx)(R,{type:U?"horizontal":"vertical"}),(0,r.jsx)(_.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,M.P)(c==null?void 0:c.thisMonthIncome)}}),(0,r.jsx)(R,{type:U?"horizontal":"vertical"}),(0,r.jsx)(_.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,M.P)(c==null?void 0:c.todayIncome)}}),(0,r.jsx)(R,{type:U?"horizontal":"vertical"}),(0,r.jsx)(_.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,M.P)(c==null?void 0:c.yesterdayIncome)}})]})})},"resize-observer"),(0,r.jsxs)(T.t,{defaultCollapsed:!0,split:!0,onFinish:N,children:[(0,r.jsx)(C.Z,{label:"\u5E73\u53F0",name:"platform",valueEnum:{1:"\u7A7F\u5C71\u7532",2:"\u817E\u8BAF",3:"\u767E\u5EA6\u8054\u76DF",4:"Mintegral",5:"\u5FEB\u624B",6:"\u6E38\u53EF\u8D62",7:"Sigmob",8:"Admob"}}),(0,r.jsx)(C.Z,{name:"advType",label:"\u5E7F\u544A\u7C7B\u578B",valueEnum:{1:"\u6A2A\u5E45",2:"\u63D2\u9875",3:"\u6FC0\u52B1\u89C6\u9891"}}),(0,r.jsx)($.Z,{fieldProps:{disabledDate:function(t){return t&&t>=X()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,r.jsx)(E.Z,l()({},me))]},"2")]})})};f.default=J},38171:function(g,f,e){var h=e(55241),l=e(2487),x=e(71230),i=e(7134),B=e(67294),P=e(52043),v=e(58125),a=e(85893),n=function(_){var m=(0,P.E7)(_.data.env);return(0,a.jsx)(h.Z,{content:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{children:[(0,a.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,v.P)(_.data.income),"\u5143"]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,v.D)(_.data.realMoney),"\u5143"]}),m.length>0&&(0,a.jsx)(l.Z,{size:"small",header:(0,a.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:m,renderItem:function(T){return(0,a.jsx)(l.Z.Item,{children:T})}})]}),children:(0,a.jsxs)(x.Z,{children:[(0,a.jsx)(i.C,{src:_.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,a.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:m.length>0?"red":""},children:["id:",_.data.id,(0,a.jsx)("br",{}),_.data.nickname||_.data.mobile]})]})})};f.Z=n},52043:function(g,f,e){e.d(f,{E7:function(){return l},FG:function(){return h},RQ:function(){return B},XY:function(){return x},aV:function(){return P},m0:function(){return i}});var h=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},l=function(a){var n=[];if(!a)return n;for(var E=a>>1,_=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],m=0,j=_;m>=1}return n},x=function(){return[{label:"\u5F85\u5BA1\u6279",value:"0",color:"orange"},{label:"\u5BA1\u6279\u901A\u8FC7",value:"1",color:"green"},{label:"\u8F6C\u8D26\u4E2D",value:"2",color:"orange"},{label:"\u8F6C\u8D26\u6210\u529F",value:"3",color:"green"},{label:"\u8F6C\u8D26\u5931\u8D25",value:"-1",color:"red"},{label:"\u5BA1\u6279\u62D2\u7EDD",value:"-2",color:"red"}]},i=function(a){var n=new Date(a),E=n.getFullYear().toString().padStart(4,"0"),_=(n.getMonth()+1).toString().padStart(2,"0"),m=n.getDate().toString().padStart(2,"0");return E+_+m},B=function(a,n){var E=a.toString();return E.padStart(n,"0")},P=function(a){var n=a;return n<1024?n+" B":(n=parseFloat((n/1024).toFixed(2)),n<1024?n+" KB":(n=parseFloat((n/1024).toFixed(2)),n+" MB"))}},58125:function(g,f,e){e.d(f,{D:function(){return l},P:function(){return h}});var h=function(i){return i?parseFloat((i/1e5).toFixed(2)):0},l=function(i){return i?parseFloat((i/100).toFixed(2)):0}}}]); diff --git a/dist/p__AdvRecordListV2.7d43902a.async.js b/dist/p__AdvRecordListV2.7d43902a.async.js new file mode 100644 index 0000000..6827075 --- /dev/null +++ b/dist/p__AdvRecordListV2.7d43902a.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[542],{86408:function(g,f,e){e.r(f);var h=e(97857),l=e.n(h),x=e(15009),i=e.n(x),B=e(99289),P=e.n(B),v=e(5574),a=e.n(v),n=e(48357),E=e(11415),_=e(39615),m=e(90930),j=e(67539),T=e(57470),C=e(64317),$=e(34540),G=e(13169),S=e(16250),Y=e(27484),X=e.n(Y),w=e(9220),D=e(67294),Q=e(96974),M=e(58125),H=e(38171),r=e(85893),J=function(){var y=(0,D.useRef)(),k=(0,D.useState)(void 0),L=a()(k,2),K=L[0],q=L[1],I=function(){return window.innerWidth<=768},ee=(0,D.useState)({deviceId:{show:!I()},appName:{show:!I()},platform:{show:!I()},deviceBrand:{show:!I()},deviceName:{show:!I()},ip:{show:!I()},advType:{show:!I()}}),W=a()(ee,2),te=W[0],ae=W[1],ne=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0},{title:"\u5E94\u7528\u540D\u79F0",hideInSearch:!0,dataIndex:"appName",valueType:"textarea"},{title:"\u5E73\u53F0",dataIndex:"platform",width:80,valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},3:{text:"\u767E\u5EA6\u8054\u76DF"},4:{text:"Mintegral"},5:{text:"\u5FEB\u624B"},6:{text:"\u6E38\u53EF\u8D62"},7:{text:"Sigmob"},8:{text:"Admob"}}},{title:"\u5E7F\u544A\u7C7B\u578B",dataIndex:"advType",valueEnum:{1:{text:"\u6A2A\u5E45",status:"Success"},2:{text:"\u63D2\u9875",status:"Success"},3:{text:"\u6FC0\u52B1\u89C6\u9891",status:"Success"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(t){return t/100}},{title:"\u91D1\u5E01",dataIndex:"ecpmReal",hideInSearch:!0,renderText:function(t){return t}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(t,u){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:u.deviceBrand}),(0,r.jsx)("p",{children:u.deviceName})]})}},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u4EE3\u7406",dataIndex:"adminName",hideInSearch:!0,valueType:"textarea"},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,width:150,renderText:function(t,u){if(u.user)return(0,r.jsx)(H.Z,{data:u.user})}},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"},{title:"\u7528\u6237id",hideInTable:!0,dataIndex:"userId"}],re=(0,Q.UO)(),b=re.code,se=(0,D.useState)(),F=a()(se,2),c=F[0],_e=F[1],ie=(0,D.useState)([]),Z=a()(ie,2),V=Z[0],ue=Z[1],R=_.Z.Divider,de=(0,D.useState)(!1),z=a()(de,2),U=z[0],oe=z[1],le=function(){var s=P()(i()().mark(function t(u){var o;return i()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,n.d1)({appCode:u});case 2:o=d.sent,o.data&&_e(o.data);case 4:case"end":return d.stop()}},t)}));return function(u){return s.apply(this,arguments)}}(),N=function(){var s=P()(i()().mark(function t(u){var o;return i()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,n.Zb)(l()(l()({},u),{},{code:b}));case 2:o=d.sent,o.data&&ue(o.data);case 4:case"end":return d.stop()}},t)}));return function(u){return s.apply(this,arguments)}}();(0,D.useEffect)(function(){var s;(s=y.current)===null||s===void 0||s.reload(),le(b),N({code:b})},[b]);var ce=V.map(function(s){return{date:function(){var t=s.date+"",u=t.slice(0,4),o=t.slice(4,6),O=t.slice(6,8);return"".concat(u,"-").concat(o,"-").concat(O)}(),income:(0,M.P)(s.income)}}),me={data:ce,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+(0,M.P)(V.reduce(function(s,t){return s+(t.income?t.income:0)},0))+"\u5143",height:400,label:{text:function(t){return t.income>0?t.income:""},textBaseline:"bottom"}};return(0,r.jsx)(m._z,{children:(0,r.jsxs)(G.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,r.jsx)(S.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,r.jsx)(j.Z,{headerTitle:K?"\u8868\u683C\u7D2F\u8BA1\uFF1A"+(0,M.P)(K)+"\u5143":"",actionRef:y,rowKey:"key",search:{labelWidth:120},request:function(){var s=P()(i()().mark(function t(u){var o,O,d,A;return i()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,(0,n._5)(l()(l()({},u),{},{code:b}));case 2:return d=p.sent,u.current===1&&q((A=d.data)===null||A===void 0?void 0:A.sum),p.abrupt("return",{data:(o=d.data)===null||o===void 0?void 0:o.data,total:(O=d.data)===null||O===void 0?void 0:O.total,success:!0});case 5:case"end":return p.stop()}},t)}));return function(t){return s.apply(this,arguments)}}(),columns:ne,columnsState:{value:te,onChange:function(t){ae(t)}}})},"1"),(0,r.jsxs)(S.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,r.jsx)(w.Z,{onResize:function(t){oe(t.width<596)},children:(0,r.jsx)(_.Z,{children:(0,r.jsxs)(_.Z.Group,{direction:U?"column":"row",children:[(0,r.jsx)(_.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,M.P)(c==null?void 0:c.lastMonthIncome)}}),(0,r.jsx)(R,{type:U?"horizontal":"vertical"}),(0,r.jsx)(_.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,M.P)(c==null?void 0:c.thisMonthIncome)}}),(0,r.jsx)(R,{type:U?"horizontal":"vertical"}),(0,r.jsx)(_.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,M.P)(c==null?void 0:c.todayIncome)}}),(0,r.jsx)(R,{type:U?"horizontal":"vertical"}),(0,r.jsx)(_.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,M.P)(c==null?void 0:c.yesterdayIncome)}})]})})},"resize-observer"),(0,r.jsxs)(T.t,{defaultCollapsed:!0,split:!0,onFinish:N,children:[(0,r.jsx)(C.Z,{label:"\u5E73\u53F0",name:"platform",valueEnum:{1:"\u7A7F\u5C71\u7532",2:"\u817E\u8BAF",3:"\u767E\u5EA6\u8054\u76DF",4:"Mintegral",5:"\u5FEB\u624B",6:"\u6E38\u53EF\u8D62",7:"Sigmob",8:"Admob"}}),(0,r.jsx)(C.Z,{name:"advType",label:"\u5E7F\u544A\u7C7B\u578B",valueEnum:{1:"\u6A2A\u5E45",2:"\u63D2\u9875",3:"\u6FC0\u52B1\u89C6\u9891"}}),(0,r.jsx)($.Z,{fieldProps:{disabledDate:function(t){return t&&t>=X()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,r.jsx)(E.Z,l()({},me))]},"2")]})})};f.default=J},38171:function(g,f,e){var h=e(55241),l=e(2487),x=e(71230),i=e(7134),B=e(67294),P=e(52043),v=e(58125),a=e(85893),n=function(_){var m=(0,P.E7)(_.data.env);return(0,a.jsx)(h.Z,{content:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{children:[(0,a.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,v.P)(_.data.income),"\u5143"]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,v.D)(_.data.realMoney),"\u5143"]}),m.length>0&&(0,a.jsx)(l.Z,{size:"small",header:(0,a.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:m,renderItem:function(T){return(0,a.jsx)(l.Z.Item,{children:T})}})]}),children:(0,a.jsxs)(x.Z,{children:[(0,a.jsx)(i.C,{src:_.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,a.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:m.length>0?"red":""},children:["id:",_.data.id,(0,a.jsx)("br",{}),_.data.nickname||_.data.mobile]})]})})};f.Z=n},52043:function(g,f,e){e.d(f,{E7:function(){return l},FG:function(){return h},RQ:function(){return B},XY:function(){return x},aV:function(){return P},m0:function(){return i}});var h=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},l=function(a){var n=[];if(!a)return n;for(var E=a>>1,_=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],m=0,j=_;m>=1}return n},x=function(){return[{label:"\u5F85\u5BA1\u6279",value:"0",color:"orange"},{label:"\u5BA1\u6279\u901A\u8FC7",value:"1",color:"green"},{label:"\u8F6C\u8D26\u4E2D",value:"2",color:"orange"},{label:"\u8F6C\u8D26\u6210\u529F",value:"3",color:"green"},{label:"\u8F6C\u8D26\u5931\u8D25",value:"-1",color:"red"},{label:"\u5BA1\u6279\u62D2\u7EDD",value:"-2",color:"red"}]},i=function(a){var n=new Date(a),E=n.getFullYear().toString().padStart(4,"0"),_=(n.getMonth()+1).toString().padStart(2,"0"),m=n.getDate().toString().padStart(2,"0");return E+_+m},B=function(a,n){var E=a.toString();return E.padStart(n,"0")},P=function(a){var n=a;return n<1024?n+" B":(n=parseFloat((n/1024).toFixed(2)),n<1024?n+" KB":(n=parseFloat((n/1024).toFixed(2)),n+" MB"))}},58125:function(g,f,e){e.d(f,{D:function(){return l},P:function(){return h}});var h=function(i){return i?parseFloat((i/1e5).toFixed(2)):0},l=function(i){return i?parseFloat((i/100).toFixed(2)):0}}}]); diff --git a/dist/umi.6d712b5d.js b/dist/umi.cb3d2407.js similarity index 98% rename from dist/umi.6d712b5d.js rename to dist/umi.cb3d2407.js index f634872..5a6ec9e 100644 --- a/dist/umi.6d712b5d.js +++ b/dist/umi.cb3d2407.js @@ -1,4 +1,4 @@ -!(function(){var Sd=Object.defineProperty,xd=Object.defineProperties;var Cd=Object.getOwnPropertyDescriptors;var Gc=Object.getOwnPropertySymbols;var Ed=Object.prototype.hasOwnProperty,Pd=Object.prototype.propertyIsEnumerable;var Yc=(di,Ho,ve)=>Ho in di?Sd(di,Ho,{enumerable:!0,configurable:!0,writable:!0,value:ve}):di[Ho]=ve,Gl=(di,Ho)=>{for(var ve in Ho||(Ho={}))Ed.call(Ho,ve)&&Yc(di,ve,Ho[ve]);if(Gc)for(var ve of Gc(Ho))Pd.call(Ho,ve)&&Yc(di,ve,Ho[ve]);return di},Xc=(di,Ho)=>xd(di,Cd(Ho));var Lu=(di,Ho,ve)=>new Promise((dc,v)=>{var g=r=>{try{t(ve.next(r))}catch(o){v(o)}},e=r=>{try{t(ve.throw(r))}catch(o){v(o)}},t=r=>r.done?dc(r.value):Promise.resolve(r.value).then(g,e);t((ve=ve.apply(di,Ho)).next())});(function(){var di={54548:function(v,g,e){"use strict";e.d(g,{E4:function(){return za},V9:function(){return Y},jG:function(){return I},t2:function(){return wt},ks:function(){return D},bf:function(){return U},CI:function(){return ua},fp:function(){return Ct},xy:function(){return wn}});var t=e(4942),r=e(97685),o=e(74902),a=e(1413);function s(Qe){for(var mt=0,pt,$t=0,tn=Qe.length;tn>=4;++$t,tn-=4)pt=Qe.charCodeAt($t)&255|(Qe.charCodeAt(++$t)&255)<<8|(Qe.charCodeAt(++$t)&255)<<16|(Qe.charCodeAt(++$t)&255)<<24,pt=(pt&65535)*1540483477+((pt>>>16)*59797<<16),pt^=pt>>>24,mt=(pt&65535)*1540483477+((pt>>>16)*59797<<16)^(mt&65535)*1540483477+((mt>>>16)*59797<<16);switch(tn){case 3:mt^=(Qe.charCodeAt($t+2)&255)<<16;case 2:mt^=(Qe.charCodeAt($t+1)&255)<<8;case 1:mt^=Qe.charCodeAt($t)&255,mt=(mt&65535)*1540483477+((mt>>>16)*59797<<16)}return mt^=mt>>>13,mt=(mt&65535)*1540483477+((mt>>>16)*59797<<16),((mt^mt>>>15)>>>0).toString(36)}var c=s,u=e(44958),l=e(67294),f=e.t(l,2),p=e(91),y=e(56982),m=e(91881),d=e(15671),b=e(43144),C="%";function S(Qe){return Qe.join(C)}var x=function(){function Qe(mt){(0,d.Z)(this,Qe),(0,t.Z)(this,"instanceId",void 0),(0,t.Z)(this,"cache",new Map),this.instanceId=mt}return(0,b.Z)(Qe,[{key:"get",value:function(pt){return this.opGet(S(pt))}},{key:"opGet",value:function(pt){return this.cache.get(pt)||null}},{key:"update",value:function(pt,$t){return this.opUpdate(S(pt),$t)}},{key:"opUpdate",value:function(pt,$t){var tn=this.cache.get(pt),Nn=$t(tn);Nn===null?this.cache.delete(pt):this.cache.set(pt,Nn)}}]),Qe}(),w=x,O=["children"],j="data-token-hash",E="data-css-hash",$="data-cache-path",N="__cssinjs_instance__";function oe(){var Qe=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var mt=document.body.querySelectorAll("style[".concat(E,"]"))||[],pt=document.head.firstChild;Array.from(mt).forEach(function(tn){tn[N]=tn[N]||Qe,tn[N]===Qe&&document.head.insertBefore(tn,pt)});var $t={};Array.from(document.querySelectorAll("style[".concat(E,"]"))).forEach(function(tn){var Nn=tn.getAttribute(E);if($t[Nn]){if(tn[N]===Qe){var vr;(vr=tn.parentNode)===null||vr===void 0||vr.removeChild(tn)}}else $t[Nn]=!0})}return new w(Qe)}var Z=l.createContext({hashPriority:"low",cache:oe(),defaultCache:!0}),Y=function(mt){var pt=mt.children,$t=(0,p.Z)(mt,O),tn=l.useContext(Z),Nn=(0,y.Z)(function(){var vr=(0,a.Z)({},tn);Object.keys($t).forEach(function(nr){var Ir=$t[nr];$t[nr]!==void 0&&(vr[nr]=Ir)});var br=$t.cache;return vr.cache=vr.cache||oe(),vr.defaultCache=!br&&tn.defaultCache,vr},[tn,$t],function(vr,br){return!(0,m.Z)(vr[0],br[0],!0)||!(0,m.Z)(vr[1],br[1],!0)});return l.createElement(Z.Provider,{value:Nn},pt)},te=Z,ee=e(71002),B=e(98924);function ne(Qe,mt){if(Qe.length!==mt.length)return!1;for(var pt=0;pt1&&arguments[1]!==void 0?arguments[1]:!1,vr={map:this.cache};return pt.forEach(function(br){if(!vr)vr=void 0;else{var nr;vr=(nr=vr)===null||nr===void 0||(nr=nr.map)===null||nr===void 0?void 0:nr.get(br)}}),($t=vr)!==null&&$t!==void 0&&$t.value&&Nn&&(vr.value[1]=this.cacheCallTimes++),(tn=vr)===null||tn===void 0?void 0:tn.value}},{key:"get",value:function(pt){var $t;return($t=this.internalGet(pt,!0))===null||$t===void 0?void 0:$t[0]}},{key:"has",value:function(pt){return!!this.internalGet(pt)}},{key:"set",value:function(pt,$t){var tn=this;if(!this.has(pt)){if(this.size()+1>Qe.MAX_CACHE_SIZE+Qe.MAX_CACHE_OFFSET){var Nn=this.keys.reduce(function(Ir,Er){var yr=(0,r.Z)(Ir,2),Xn=yr[1];return tn.internalGet(Er)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),L+=1}return(0,b.Z)(Qe,[{key:"getDerivativeToken",value:function(pt){return this.derivatives.reduce(function($t,tn){return tn(pt,$t)},void 0)}}]),Qe}(),T=new Q;function I(Qe){var mt=Array.isArray(Qe)?Qe:[Qe];return T.has(mt)||T.set(mt,new F(mt)),T.get(mt)}var R=new WeakMap,z={};function ae(Qe,mt){for(var pt=R,$t=0;$t1&&arguments[1]!==void 0?arguments[1]:!1,pt=X.get(Qe)||"";return pt||(Object.keys(Qe).forEach(function($t){var tn=Qe[$t];pt+=$t,tn instanceof F?pt+=tn.id:tn&&(0,ee.Z)(tn)==="object"?pt+=G(tn,mt):pt+=tn}),mt&&(pt=c(pt)),X.set(Qe,pt)),pt}function ce(Qe,mt){return c("".concat(mt,"_").concat(G(Qe,!0)))}var ye="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Re="_bAmBoO_";function Ie(Qe,mt,pt){if((0,B.Z)()){var $t,tn;(0,u.hq)(Qe,ye);var Nn=document.createElement("div");Nn.style.position="fixed",Nn.style.left="0",Nn.style.top="0",mt==null||mt(Nn),document.body.appendChild(Nn);var vr=pt?pt(Nn):($t=getComputedStyle(Nn).content)===null||$t===void 0?void 0:$t.includes(Re);return(tn=Nn.parentNode)===null||tn===void 0||tn.removeChild(Nn),(0,u.jL)(ye),vr}return!1}var Ze=null;function ot(){return Ze===void 0&&(Ze=Ie("@layer ".concat(ye," { .").concat(ye,' { content: "').concat(Re,'"!important; } }'),function(Qe){Qe.className=ye})),Ze}var Je=void 0;function He(){return Je===void 0&&(Je=Ie(":where(.".concat(ye,') { content: "').concat(Re,'"!important; }'),function(Qe){Qe.className=ye})),Je}var qe=void 0;function Xe(){return qe===void 0&&(qe=Ie(".".concat(ye," { inset-block: 93px !important; }"),function(Qe){Qe.className=ye},function(Qe){return getComputedStyle(Qe).bottom==="93px"})),qe}var le=(0,B.Z)();function U(Qe){return typeof Qe=="number"?"".concat(Qe,"px"):Qe}function M(Qe,mt,pt){var $t,tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Nn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Nn)return Qe;var vr=(0,a.Z)((0,a.Z)({},tn),{},($t={},(0,t.Z)($t,j,mt),(0,t.Z)($t,E,pt),$t)),br=Object.keys(vr).map(function(nr){var Ir=vr[nr];return Ir?"".concat(nr,'="').concat(Ir,'"'):null}).filter(function(nr){return nr}).join(" ");return"")}var D=function(mt){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(pt?"".concat(pt,"-"):"").concat(mt).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},K=function(mt,pt,$t){return Object.keys(mt).length?".".concat(pt).concat($t!=null&&$t.scope?".".concat($t.scope):"","{").concat(Object.entries(mt).map(function(tn){var Nn=(0,r.Z)(tn,2),vr=Nn[0],br=Nn[1];return"".concat(vr,":").concat(br,";")}).join(""),"}"):""},k=function(mt,pt,$t){var tn={},Nn={};return Object.entries(mt).forEach(function(vr){var br,nr,Ir=(0,r.Z)(vr,2),Er=Ir[0],yr=Ir[1];if($t!=null&&(br=$t.preserve)!==null&&br!==void 0&&br[Er])Nn[Er]=yr;else if((typeof yr=="string"||typeof yr=="number")&&!($t!=null&&(nr=$t.ignore)!==null&&nr!==void 0&&nr[Er])){var Xn,Kr=D(Er,$t==null?void 0:$t.prefix);tn[Kr]=typeof yr=="number"&&!($t!=null&&(Xn=$t.unitless)!==null&&Xn!==void 0&&Xn[Er])?"".concat(yr,"px"):String(yr),Nn[Er]="var(".concat(Kr,")")}}),[Nn,K(tn,pt,{scope:$t==null?void 0:$t.scope})]},J=e(8410),ue=(0,a.Z)({},f),_=ue.useInsertionEffect,V=function(mt,pt,$t){l.useMemo(mt,$t),(0,J.Z)(function(){return pt(!0)},$t)},se=_?function(Qe,mt,pt){return _(function(){return Qe(),mt()},pt)}:V,pe=se,de=(0,a.Z)({},f),Ne=de.useInsertionEffect,st=function(mt){var pt=[],$t=!1;function tn(Nn){$t||pt.push(Nn)}return l.useEffect(function(){return $t=!1,function(){$t=!0,pt.length&&pt.forEach(function(Nn){return Nn()})}},mt),tn},Ce=function(){return function(mt){mt()}},xe=typeof Ne!="undefined"?st:Ce,A=xe;function ie(){return!1}var ke=!1;function Fe(){return ke}var $e=ie;if(!1)var we,Pe;function Ae(Qe,mt,pt,$t,tn){var Nn=l.useContext(te),vr=Nn.cache,br=[Qe].concat((0,o.Z)(mt)),nr=S(br),Ir=A([nr]),Er=$e(),yr=function(xr){vr.opUpdate(nr,function(Jr){var oa=Jr||[void 0,void 0],kr=(0,r.Z)(oa,2),ca=kr[0],qr=ca===void 0?0:ca,Hr=kr[1],Vr=Hr,ia=Vr||pt(),ja=[qr,ia];return xr?xr(ja):ja})};l.useMemo(function(){yr()},[nr]);var Xn=vr.opGet(nr),Kr=Xn[1];return pe(function(){tn==null||tn(Kr)},function(ta){return yr(function(xr){var Jr=(0,r.Z)(xr,2),oa=Jr[0],kr=Jr[1];return ta&&oa===0&&(tn==null||tn(Kr)),[oa+1,kr]}),function(){vr.opUpdate(nr,function(xr){var Jr=xr||[],oa=(0,r.Z)(Jr,2),kr=oa[0],ca=kr===void 0?0:kr,qr=oa[1],Hr=ca-1;return Hr===0?(Ir(function(){(ta||!vr.opGet(nr))&&($t==null||$t(qr,!1))}),null):[ca-1,qr]})}},[nr]),Kr}var We={},tt="css",dt=new Map;function At(Qe){dt.set(Qe,(dt.get(Qe)||0)+1)}function vt(Qe,mt){if(typeof document!="undefined"){var pt=document.querySelectorAll("style[".concat(j,'="').concat(Qe,'"]'));pt.forEach(function($t){if($t[N]===mt){var tn;(tn=$t.parentNode)===null||tn===void 0||tn.removeChild($t)}})}}var qt=0;function kt(Qe,mt){dt.set(Qe,(dt.get(Qe)||0)-1);var pt=Array.from(dt.keys()),$t=pt.filter(function(tn){var Nn=dt.get(tn)||0;return Nn<=0});pt.length-$t.length>qt&&$t.forEach(function(tn){vt(tn,mt),dt.delete(tn)})}var wt=function(mt,pt,$t,tn){var Nn=$t.getDerivativeToken(mt),vr=(0,a.Z)((0,a.Z)({},Nn),pt);return tn&&(vr=tn(vr)),vr},Kt="token";function Ct(Qe,mt){var pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$t=(0,l.useContext)(te),tn=$t.cache.instanceId,Nn=$t.container,vr=pt.salt,br=vr===void 0?"":vr,nr=pt.override,Ir=nr===void 0?We:nr,Er=pt.formatToken,yr=pt.getComputedToken,Xn=pt.cssVar,Kr=ae(function(){return Object.assign.apply(Object,[{}].concat((0,o.Z)(mt)))},mt),ta=G(Kr),xr=G(Ir),Jr=Xn?G(Xn):"",oa=Ae(Kt,[br,Qe.id,ta,xr,Jr],function(){var kr,ca=yr?yr(Kr,Ir,Qe):wt(Kr,Ir,Qe,Er),qr=(0,a.Z)({},ca),Hr="";if(Xn){var Vr=k(ca,Xn.key,{prefix:Xn.prefix,ignore:Xn.ignore,unitless:Xn.unitless,preserve:Xn.preserve}),ia=(0,r.Z)(Vr,2);ca=ia[0],Hr=ia[1]}var ja=ce(ca,br);ca._tokenKey=ja,qr._tokenKey=ce(qr,br);var Ka=(kr=Xn==null?void 0:Xn.key)!==null&&kr!==void 0?kr:ja;ca._themeKey=Ka,At(Ka);var io="".concat(tt,"-").concat(c(ja));return ca._hashId=io,[ca,io,qr,Hr,(Xn==null?void 0:Xn.key)||""]},function(kr){kt(kr[0]._themeKey,tn)},function(kr){var ca=(0,r.Z)(kr,4),qr=ca[0],Hr=ca[3];if(Xn&&Hr){var Vr=(0,u.hq)(Hr,c("css-variables-".concat(qr._themeKey)),{mark:E,prepend:"queue",attachTo:Nn,priority:-999});Vr[N]=tn,Vr.setAttribute(j,qr._themeKey)}});return oa}var Ge=function(mt,pt,$t){var tn=(0,r.Z)(mt,5),Nn=tn[2],vr=tn[3],br=tn[4],nr=$t||{},Ir=nr.plain;if(!vr)return null;var Er=Nn._tokenKey,yr=-999,Xn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(yr)},Kr=M(vr,br,Er,Xn,Ir);return[yr,Er,Kr]},Et=e(87462),Ut={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gt=Ut,cn="-ms-",Ft="-moz-",en="-webkit-",Yt="comm",dn="rule",pn="decl",rn="@page",On="@media",An="@import",Jn="@charset",Rr="@viewport",er="@supports",ct="@document",et="@namespace",Ve="@keyframes",Jt="@font-face",ht="@counter-style",un="@font-feature-values",Tn="@layer",Un="@scope",rr=Math.abs,or=String.fromCharCode,fr=Object.assign;function ir(Qe,mt){return gn(Qe,0)^45?(((mt<<2^gn(Qe,0))<<2^gn(Qe,1))<<2^gn(Qe,2))<<2^gn(Qe,3):0}function gr(Qe){return Qe.trim()}function sr(Qe,mt){return(Qe=mt.exec(Qe))?Qe[0]:Qe}function fn(Qe,mt,pt){return Qe.replace(mt,pt)}function tr(Qe,mt,pt){return Qe.indexOf(mt,pt)}function gn(Qe,mt){return Qe.charCodeAt(mt)|0}function an(Qe,mt,pt){return Qe.slice(mt,pt)}function nt(Qe){return Qe.length}function xt(Qe){return Qe.length}function Bt(Qe,mt){return mt.push(Qe),Qe}function bt(Qe,mt){return Qe.map(mt).join("")}function zt(Qe,mt){return Qe.filter(function(pt){return!sr(pt,mt)})}function Vt(Qe,mt){for(var pt="",$t=0;$t0?gn(Bn,--Fn):0,Yn--,mn===10&&(Yn=1,Dn--),mn}function Ue(){return mn=Fn2||xn(mn)>3?"":" "}function ar(Qe){for(;Ue();)switch(xn(mn)){case 0:append(Hn(Fn-1),Qe);break;case 2:append(Wn(mn),Qe);break;default:append(from(mn),Qe)}return Qe}function ur(Qe,mt){for(;--mt&&Ue()&&!(mn<48||mn>102||mn>57&&mn<65||mn>70&&mn<97););return on(Qe,Dt()+(mt<6&&rt()==32&&Ue()==32))}function Tt(Qe){for(;Ue();)switch(mn){case Qe:return Fn;case 34:case 39:Qe!==34&&Qe!==39&&Tt(mn);break;case 40:Qe===41&&Tt(Qe);break;case 92:Ue();break}return Fn}function _t(Qe,mt){for(;Ue()&&Qe+mn!==57;)if(Qe+mn===84&&rt()===47)break;return"/*"+on(mt,Fn-1)+"*"+or(Qe===47?Qe:Ue())}function Hn(Qe){for(;!xn(rt());)Ue();return on(Qe,Fn)}function zn(Qe){return In(Ke("",null,null,null,[""],Qe=hn(Qe),0,[0],Qe))}function Ke(Qe,mt,pt,$t,tn,Nn,vr,br,nr){for(var Ir=0,Er=0,yr=vr,Xn=0,Kr=0,ta=0,xr=1,Jr=1,oa=1,kr=0,ca="",qr=tn,Hr=Nn,Vr=$t,ia=ca;Jr;)switch(ta=kr,kr=Ue()){case 40:if(ta!=108&&gn(ia,yr-1)==58){tr(ia+=fn(Wn(kr),"&","&\f"),"&\f",rr(Ir?br[Ir-1]:0))!=-1&&(oa=-1);break}case 34:case 39:case 91:ia+=Wn(kr);break;case 9:case 10:case 13:case 32:ia+=hr(ta);break;case 92:ia+=ur(Dt()-1,7);continue;case 47:switch(rt()){case 42:case 47:Bt(fe(_t(Ue(),Dt()),mt,pt,nr),nr);break;default:ia+="/"}break;case 123*xr:br[Ir++]=nt(ia)*oa;case 125*xr:case 59:case 0:switch(kr){case 0:case 125:Jr=0;case 59+Er:oa==-1&&(ia=fn(ia,/\f/g,"")),Kr>0&&nt(ia)-yr&&Bt(Kr>32?Ee(ia+";",$t,pt,yr-1,nr):Ee(fn(ia," ","")+";",$t,pt,yr-2,nr),nr);break;case 59:ia+=";";default:if(Bt(Vr=me(ia,mt,pt,Ir,Er,tn,br,ca,qr=[],Hr=[],yr,Nn),Nn),kr===123)if(Er===0)Ke(ia,mt,Vr,Vr,qr,Nn,yr,br,Hr);else switch(Xn===99&&gn(ia,3)===110?100:Xn){case 100:case 108:case 109:case 115:Ke(Qe,Vr,Vr,$t&&Bt(me(Qe,Vr,Vr,0,0,tn,br,ca,tn,qr=[],yr,Hr),Hr),tn,Hr,yr,br,$t?qr:Hr);break;default:Ke(ia,Vr,Vr,Vr,[""],Hr,0,br,Hr)}}Ir=Er=Kr=0,xr=oa=1,ca=ia="",yr=vr;break;case 58:yr=1+nt(ia),Kr=ta;default:if(xr<1){if(kr==123)--xr;else if(kr==125&&xr++==0&&Le()==125)continue}switch(ia+=or(kr),kr*xr){case 38:oa=Er>0?1:(ia+="\f",-1);break;case 44:br[Ir++]=(nt(ia)-1)*oa,oa=1;break;case 64:rt()===45&&(ia+=Wn(Ue())),Xn=rt(),Er=yr=nt(ca=ia+=Hn(Dt())),kr++;break;case 45:ta===45&&nt(ia)==2&&(xr=0)}}return Nn}function me(Qe,mt,pt,$t,tn,Nn,vr,br,nr,Ir,Er,yr){for(var Xn=tn-1,Kr=tn===0?Nn:[""],ta=xt(Kr),xr=0,Jr=0,oa=0;xr<$t;++xr)for(var kr=0,ca=an(Qe,Xn+1,Xn=rr(Jr=vr[xr])),qr=Qe;kr0?Kr[kr]+" "+ca:fn(ca,/&\f/g,Kr[kr])))&&(nr[oa++]=qr);return Mn(Qe,mt,pt,tn===0?dn:br,nr,Ir,Er,yr)}function fe(Qe,mt,pt,$t){return Mn(Qe,mt,pt,Yt,or(Te()),an(Qe,2,-2),0,$t)}function Ee(Qe,mt,pt,$t,tn){return Mn(Qe,mt,pt,pn,an(Qe,0,$t),an(Qe,$t+1,-1),$t,tn)}function ge(Qe,mt){var pt=mt.path,$t=mt.parentSelectors;devWarning(!1,"[Ant Design CSS-in-JS] ".concat(pt?"Error in ".concat(pt,": "):"").concat(Qe).concat($t.length?" Selector: ".concat($t.join(" | ")):""))}var _e=function(mt,pt,$t){if(mt==="content"){var tn=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Nn=["normal","none","initial","inherit","unset"];(typeof pt!="string"||Nn.indexOf(pt)===-1&&!tn.test(pt)&&(pt.charAt(0)!==pt.charAt(pt.length-1)||pt.charAt(0)!=='"'&&pt.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(pt,"\"'`."),$t)}},it=null,It=function(mt,pt,$t){mt==="animation"&&$t.hashId&&pt!=="none"&&lintWarning("You seem to be using hashed animation '".concat(pt,"', in which case 'animationName' with Keyframe as value is recommended."),$t)},Nt=null;function Zt(Qe){var mt,pt=((mt=Qe.match(/:not\(([^)]*)\)/))===null||mt===void 0?void 0:mt[1])||"",$t=pt.split(/(\[[^[]*])|(?=[.#])/).filter(function(tn){return tn});return $t.length>1}function Pt(Qe){return Qe.parentSelectors.reduce(function(mt,pt){return mt?pt.includes("&")?pt.replace(/&/g,mt):"".concat(mt," ").concat(pt):pt},"")}var Cn=function(mt,pt,$t){var tn=Pt($t),Nn=tn.match(/:not\([^)]*\)/g)||[];Nn.length>0&&Nn.some(Zt)&&lintWarning("Concat ':not' selector not support in legacy browsers.",$t)},yn=null,Gt=function(mt,pt,$t){switch(mt){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":lintWarning("You seem to be using non-logical property '".concat(mt,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof pt=="string"){var tn=pt.split(" ").map(function(br){return br.trim()});tn.length===4&&tn[1]!==tn[3]&&lintWarning("You seem to be using '".concat(mt,"' property with different left ").concat(mt," and right ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t)}return;case"clear":case"textAlign":(pt==="left"||pt==="right")&&lintWarning("You seem to be using non-logical value '".concat(pt,"' of ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t);return;case"borderRadius":if(typeof pt=="string"){var Nn=pt.split("/").map(function(br){return br.trim()}),vr=Nn.reduce(function(br,nr){if(br)return br;var Ir=nr.split(" ").map(function(Er){return Er.trim()});return Ir.length>=2&&Ir[0]!==Ir[1]||Ir.length===3&&Ir[1]!==Ir[2]||Ir.length===4&&Ir[2]!==Ir[3]?!0:br},!1);vr&&lintWarning("You seem to be using non-logical value '".concat(pt,"' of ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t)}return;default:}},yt=null,Mt=function(mt,pt,$t){(typeof pt=="string"&&/NaN/g.test(pt)||Number.isNaN(pt))&&lintWarning("Unexpected 'NaN' in property '".concat(mt,": ").concat(pt,"'."),$t)},Rt=null,En=function(mt,pt,$t){$t.parentSelectors.some(function(tn){var Nn=tn.split(",");return Nn.some(function(vr){return vr.split("&").length>2})})&&lintWarning("Should not use more than one `&` in a selector.",$t)},Xt=null,Ln="data-ant-cssinjs-cache-path",Nr="_FILE_STYLE__";function Sr(Qe){return Object.keys(Qe).map(function(mt){var pt=Qe[mt];return"".concat(mt,":").concat(pt)}).join(";")}var Br,Tr=!0;function la(Qe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Br=Qe,Tr=mt}function Xr(){if(!Br&&(Br={},(0,B.Z)())){var Qe=document.createElement("div");Qe.className=Ln,Qe.style.position="fixed",Qe.style.visibility="hidden",Qe.style.top="-9999px",document.body.appendChild(Qe);var mt=getComputedStyle(Qe).content||"";mt=mt.replace(/^"/,"").replace(/"$/,""),mt.split(";").forEach(function(tn){var Nn=tn.split(":"),vr=(0,r.Z)(Nn,2),br=vr[0],nr=vr[1];Br[br]=nr});var pt=document.querySelector("style[".concat(Ln,"]"));if(pt){var $t;Tr=!1,($t=pt.parentNode)===null||$t===void 0||$t.removeChild(pt)}document.body.removeChild(Qe)}}function Qr(Qe){return Xr(),!!Br[Qe]}function cr(Qe){var mt=Br[Qe],pt=null;if(mt&&(0,B.Z)())if(Tr)pt=Nr;else{var $t=document.querySelector("style[".concat(E,'="').concat(Br[Qe],'"]'));$t?pt=$t.innerHTML:delete Br[Qe]}return[pt,mt]}var Ur="_skip_check_",ea="_multi_value_";function Lt(Qe){var mt=Vt(zn(Qe),nn);return mt.replace(/\{%%%\:[^;];}/g,";")}function lt(Qe){return(0,ee.Z)(Qe)==="object"&&Qe&&(Ur in Qe||ea in Qe)}function sn(Qe,mt,pt){if(!mt)return Qe;var $t=".".concat(mt),tn=pt==="low"?":where(".concat($t,")"):$t,Nn=Qe.split(",").map(function(vr){var br,nr=vr.trim().split(/\s+/),Ir=nr[0]||"",Er=((br=Ir.match(/^\w+/))===null||br===void 0?void 0:br[0])||"";return Ir="".concat(Er).concat(tn).concat(Ir.slice(Er.length)),[Ir].concat((0,o.Z)(nr.slice(1))).join(" ")});return Nn.join(",")}var ln=function Qe(mt){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},tn=$t.root,Nn=$t.injectHash,vr=$t.parentSelectors,br=pt.hashId,nr=pt.layer,Ir=pt.path,Er=pt.hashPriority,yr=pt.transformers,Xn=yr===void 0?[]:yr,Kr=pt.linters,ta=Kr===void 0?[]:Kr,xr="",Jr={};function oa(qr){var Hr=qr.getName(br);if(!Jr[Hr]){var Vr=Qe(qr.style,pt,{root:!1,parentSelectors:vr}),ia=(0,r.Z)(Vr,1),ja=ia[0];Jr[Hr]="@keyframes ".concat(qr.getName(br)).concat(ja)}}function kr(qr){var Hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return qr.forEach(function(Vr){Array.isArray(Vr)?kr(Vr,Hr):Vr&&Hr.push(Vr)}),Hr}var ca=kr(Array.isArray(mt)?mt:[mt]);return ca.forEach(function(qr){var Hr=typeof qr=="string"&&!tn?{}:qr;if(typeof Hr=="string")xr+="".concat(Hr,` +!(function(){var Sd=Object.defineProperty,xd=Object.defineProperties;var Cd=Object.getOwnPropertyDescriptors;var Gc=Object.getOwnPropertySymbols;var Ed=Object.prototype.hasOwnProperty,Pd=Object.prototype.propertyIsEnumerable;var Yc=(di,Ho,ve)=>Ho in di?Sd(di,Ho,{enumerable:!0,configurable:!0,writable:!0,value:ve}):di[Ho]=ve,Gl=(di,Ho)=>{for(var ve in Ho||(Ho={}))Ed.call(Ho,ve)&&Yc(di,ve,Ho[ve]);if(Gc)for(var ve of Gc(Ho))Pd.call(Ho,ve)&&Yc(di,ve,Ho[ve]);return di},Xc=(di,Ho)=>xd(di,Cd(Ho));var Lu=(di,Ho,ve)=>new Promise((dc,v)=>{var g=r=>{try{t(ve.next(r))}catch(o){v(o)}},e=r=>{try{t(ve.throw(r))}catch(o){v(o)}},t=r=>r.done?dc(r.value):Promise.resolve(r.value).then(g,e);t((ve=ve.apply(di,Ho)).next())});(function(){var di={54548:function(v,g,e){"use strict";e.d(g,{E4:function(){return za},V9:function(){return Y},jG:function(){return I},t2:function(){return wt},ks:function(){return D},bf:function(){return U},CI:function(){return ua},fp:function(){return Ct},xy:function(){return wn}});var t=e(4942),r=e(97685),o=e(74902),a=e(1413);function s(Qe){for(var mt=0,pt,$t=0,tn=Qe.length;tn>=4;++$t,tn-=4)pt=Qe.charCodeAt($t)&255|(Qe.charCodeAt(++$t)&255)<<8|(Qe.charCodeAt(++$t)&255)<<16|(Qe.charCodeAt(++$t)&255)<<24,pt=(pt&65535)*1540483477+((pt>>>16)*59797<<16),pt^=pt>>>24,mt=(pt&65535)*1540483477+((pt>>>16)*59797<<16)^(mt&65535)*1540483477+((mt>>>16)*59797<<16);switch(tn){case 3:mt^=(Qe.charCodeAt($t+2)&255)<<16;case 2:mt^=(Qe.charCodeAt($t+1)&255)<<8;case 1:mt^=Qe.charCodeAt($t)&255,mt=(mt&65535)*1540483477+((mt>>>16)*59797<<16)}return mt^=mt>>>13,mt=(mt&65535)*1540483477+((mt>>>16)*59797<<16),((mt^mt>>>15)>>>0).toString(36)}var c=s,u=e(44958),l=e(67294),f=e.t(l,2),p=e(91),y=e(56982),m=e(91881),d=e(15671),b=e(43144),C="%";function S(Qe){return Qe.join(C)}var x=function(){function Qe(mt){(0,d.Z)(this,Qe),(0,t.Z)(this,"instanceId",void 0),(0,t.Z)(this,"cache",new Map),this.instanceId=mt}return(0,b.Z)(Qe,[{key:"get",value:function(pt){return this.opGet(S(pt))}},{key:"opGet",value:function(pt){return this.cache.get(pt)||null}},{key:"update",value:function(pt,$t){return this.opUpdate(S(pt),$t)}},{key:"opUpdate",value:function(pt,$t){var tn=this.cache.get(pt),Nn=$t(tn);Nn===null?this.cache.delete(pt):this.cache.set(pt,Nn)}}]),Qe}(),w=x,O=["children"],j="data-token-hash",E="data-css-hash",$="data-cache-path",N="__cssinjs_instance__";function oe(){var Qe=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var mt=document.body.querySelectorAll("style[".concat(E,"]"))||[],pt=document.head.firstChild;Array.from(mt).forEach(function(tn){tn[N]=tn[N]||Qe,tn[N]===Qe&&document.head.insertBefore(tn,pt)});var $t={};Array.from(document.querySelectorAll("style[".concat(E,"]"))).forEach(function(tn){var Nn=tn.getAttribute(E);if($t[Nn]){if(tn[N]===Qe){var vr;(vr=tn.parentNode)===null||vr===void 0||vr.removeChild(tn)}}else $t[Nn]=!0})}return new w(Qe)}var Z=l.createContext({hashPriority:"low",cache:oe(),defaultCache:!0}),Y=function(mt){var pt=mt.children,$t=(0,p.Z)(mt,O),tn=l.useContext(Z),Nn=(0,y.Z)(function(){var vr=(0,a.Z)({},tn);Object.keys($t).forEach(function(nr){var Ir=$t[nr];$t[nr]!==void 0&&(vr[nr]=Ir)});var br=$t.cache;return vr.cache=vr.cache||oe(),vr.defaultCache=!br&&tn.defaultCache,vr},[tn,$t],function(vr,br){return!(0,m.Z)(vr[0],br[0],!0)||!(0,m.Z)(vr[1],br[1],!0)});return l.createElement(Z.Provider,{value:Nn},pt)},te=Z,ee=e(71002),B=e(98924);function ne(Qe,mt){if(Qe.length!==mt.length)return!1;for(var pt=0;pt1&&arguments[1]!==void 0?arguments[1]:!1,vr={map:this.cache};return pt.forEach(function(br){if(!vr)vr=void 0;else{var nr;vr=(nr=vr)===null||nr===void 0||(nr=nr.map)===null||nr===void 0?void 0:nr.get(br)}}),($t=vr)!==null&&$t!==void 0&&$t.value&&Nn&&(vr.value[1]=this.cacheCallTimes++),(tn=vr)===null||tn===void 0?void 0:tn.value}},{key:"get",value:function(pt){var $t;return($t=this.internalGet(pt,!0))===null||$t===void 0?void 0:$t[0]}},{key:"has",value:function(pt){return!!this.internalGet(pt)}},{key:"set",value:function(pt,$t){var tn=this;if(!this.has(pt)){if(this.size()+1>Qe.MAX_CACHE_SIZE+Qe.MAX_CACHE_OFFSET){var Nn=this.keys.reduce(function(Ir,Er){var yr=(0,r.Z)(Ir,2),Xn=yr[1];return tn.internalGet(Er)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),L+=1}return(0,b.Z)(Qe,[{key:"getDerivativeToken",value:function(pt){return this.derivatives.reduce(function($t,tn){return tn(pt,$t)},void 0)}}]),Qe}(),T=new Q;function I(Qe){var mt=Array.isArray(Qe)?Qe:[Qe];return T.has(mt)||T.set(mt,new F(mt)),T.get(mt)}var R=new WeakMap,z={};function ae(Qe,mt){for(var pt=R,$t=0;$t1&&arguments[1]!==void 0?arguments[1]:!1,pt=X.get(Qe)||"";return pt||(Object.keys(Qe).forEach(function($t){var tn=Qe[$t];pt+=$t,tn instanceof F?pt+=tn.id:tn&&(0,ee.Z)(tn)==="object"?pt+=G(tn,mt):pt+=tn}),mt&&(pt=c(pt)),X.set(Qe,pt)),pt}function ce(Qe,mt){return c("".concat(mt,"_").concat(G(Qe,!0)))}var ye="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Re="_bAmBoO_";function Ie(Qe,mt,pt){if((0,B.Z)()){var $t,tn;(0,u.hq)(Qe,ye);var Nn=document.createElement("div");Nn.style.position="fixed",Nn.style.left="0",Nn.style.top="0",mt==null||mt(Nn),document.body.appendChild(Nn);var vr=pt?pt(Nn):($t=getComputedStyle(Nn).content)===null||$t===void 0?void 0:$t.includes(Re);return(tn=Nn.parentNode)===null||tn===void 0||tn.removeChild(Nn),(0,u.jL)(ye),vr}return!1}var Ze=null;function ot(){return Ze===void 0&&(Ze=Ie("@layer ".concat(ye," { .").concat(ye,' { content: "').concat(Re,'"!important; } }'),function(Qe){Qe.className=ye})),Ze}var Je=void 0;function He(){return Je===void 0&&(Je=Ie(":where(.".concat(ye,') { content: "').concat(Re,'"!important; }'),function(Qe){Qe.className=ye})),Je}var qe=void 0;function Xe(){return qe===void 0&&(qe=Ie(".".concat(ye," { inset-block: 93px !important; }"),function(Qe){Qe.className=ye},function(Qe){return getComputedStyle(Qe).bottom==="93px"})),qe}var le=(0,B.Z)();function U(Qe){return typeof Qe=="number"?"".concat(Qe,"px"):Qe}function M(Qe,mt,pt){var $t,tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Nn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Nn)return Qe;var vr=(0,a.Z)((0,a.Z)({},tn),{},($t={},(0,t.Z)($t,j,mt),(0,t.Z)($t,E,pt),$t)),br=Object.keys(vr).map(function(nr){var Ir=vr[nr];return Ir?"".concat(nr,'="').concat(Ir,'"'):null}).filter(function(nr){return nr}).join(" ");return"")}var D=function(mt){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(pt?"".concat(pt,"-"):"").concat(mt).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},K=function(mt,pt,$t){return Object.keys(mt).length?".".concat(pt).concat($t!=null&&$t.scope?".".concat($t.scope):"","{").concat(Object.entries(mt).map(function(tn){var Nn=(0,r.Z)(tn,2),vr=Nn[0],br=Nn[1];return"".concat(vr,":").concat(br,";")}).join(""),"}"):""},k=function(mt,pt,$t){var tn={},Nn={};return Object.entries(mt).forEach(function(vr){var br,nr,Ir=(0,r.Z)(vr,2),Er=Ir[0],yr=Ir[1];if($t!=null&&(br=$t.preserve)!==null&&br!==void 0&&br[Er])Nn[Er]=yr;else if((typeof yr=="string"||typeof yr=="number")&&!($t!=null&&(nr=$t.ignore)!==null&&nr!==void 0&&nr[Er])){var Xn,Kr=D(Er,$t==null?void 0:$t.prefix);tn[Kr]=typeof yr=="number"&&!($t!=null&&(Xn=$t.unitless)!==null&&Xn!==void 0&&Xn[Er])?"".concat(yr,"px"):String(yr),Nn[Er]="var(".concat(Kr,")")}}),[Nn,K(tn,pt,{scope:$t==null?void 0:$t.scope})]},J=e(8410),ue=(0,a.Z)({},f),_=ue.useInsertionEffect,V=function(mt,pt,$t){l.useMemo(mt,$t),(0,J.Z)(function(){return pt(!0)},$t)},se=_?function(Qe,mt,pt){return _(function(){return Qe(),mt()},pt)}:V,pe=se,de=(0,a.Z)({},f),Ne=de.useInsertionEffect,st=function(mt){var pt=[],$t=!1;function tn(Nn){$t||pt.push(Nn)}return l.useEffect(function(){return $t=!1,function(){$t=!0,pt.length&&pt.forEach(function(Nn){return Nn()})}},mt),tn},Ce=function(){return function(mt){mt()}},xe=typeof Ne!="undefined"?st:Ce,A=xe;function ie(){return!1}var ke=!1;function Fe(){return ke}var $e=ie;if(!1)var we,Pe;function Ae(Qe,mt,pt,$t,tn){var Nn=l.useContext(te),vr=Nn.cache,br=[Qe].concat((0,o.Z)(mt)),nr=S(br),Ir=A([nr]),Er=$e(),yr=function(xr){vr.opUpdate(nr,function(Jr){var oa=Jr||[void 0,void 0],kr=(0,r.Z)(oa,2),ca=kr[0],qr=ca===void 0?0:ca,Hr=kr[1],Vr=Hr,ia=Vr||pt(),ja=[qr,ia];return xr?xr(ja):ja})};l.useMemo(function(){yr()},[nr]);var Xn=vr.opGet(nr),Kr=Xn[1];return pe(function(){tn==null||tn(Kr)},function(ta){return yr(function(xr){var Jr=(0,r.Z)(xr,2),oa=Jr[0],kr=Jr[1];return ta&&oa===0&&(tn==null||tn(Kr)),[oa+1,kr]}),function(){vr.opUpdate(nr,function(xr){var Jr=xr||[],oa=(0,r.Z)(Jr,2),kr=oa[0],ca=kr===void 0?0:kr,qr=oa[1],Hr=ca-1;return Hr===0?(Ir(function(){(ta||!vr.opGet(nr))&&($t==null||$t(qr,!1))}),null):[ca-1,qr]})}},[nr]),Kr}var We={},tt="css",dt=new Map;function At(Qe){dt.set(Qe,(dt.get(Qe)||0)+1)}function vt(Qe,mt){if(typeof document!="undefined"){var pt=document.querySelectorAll("style[".concat(j,'="').concat(Qe,'"]'));pt.forEach(function($t){if($t[N]===mt){var tn;(tn=$t.parentNode)===null||tn===void 0||tn.removeChild($t)}})}}var qt=0;function kt(Qe,mt){dt.set(Qe,(dt.get(Qe)||0)-1);var pt=Array.from(dt.keys()),$t=pt.filter(function(tn){var Nn=dt.get(tn)||0;return Nn<=0});pt.length-$t.length>qt&&$t.forEach(function(tn){vt(tn,mt),dt.delete(tn)})}var wt=function(mt,pt,$t,tn){var Nn=$t.getDerivativeToken(mt),vr=(0,a.Z)((0,a.Z)({},Nn),pt);return tn&&(vr=tn(vr)),vr},Kt="token";function Ct(Qe,mt){var pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$t=(0,l.useContext)(te),tn=$t.cache.instanceId,Nn=$t.container,vr=pt.salt,br=vr===void 0?"":vr,nr=pt.override,Ir=nr===void 0?We:nr,Er=pt.formatToken,yr=pt.getComputedToken,Xn=pt.cssVar,Kr=ae(function(){return Object.assign.apply(Object,[{}].concat((0,o.Z)(mt)))},mt),ta=G(Kr),xr=G(Ir),Jr=Xn?G(Xn):"",oa=Ae(Kt,[br,Qe.id,ta,xr,Jr],function(){var kr,ca=yr?yr(Kr,Ir,Qe):wt(Kr,Ir,Qe,Er),qr=(0,a.Z)({},ca),Hr="";if(Xn){var Vr=k(ca,Xn.key,{prefix:Xn.prefix,ignore:Xn.ignore,unitless:Xn.unitless,preserve:Xn.preserve}),ia=(0,r.Z)(Vr,2);ca=ia[0],Hr=ia[1]}var ja=ce(ca,br);ca._tokenKey=ja,qr._tokenKey=ce(qr,br);var Ka=(kr=Xn==null?void 0:Xn.key)!==null&&kr!==void 0?kr:ja;ca._themeKey=Ka,At(Ka);var io="".concat(tt,"-").concat(c(ja));return ca._hashId=io,[ca,io,qr,Hr,(Xn==null?void 0:Xn.key)||""]},function(kr){kt(kr[0]._themeKey,tn)},function(kr){var ca=(0,r.Z)(kr,4),qr=ca[0],Hr=ca[3];if(Xn&&Hr){var Vr=(0,u.hq)(Hr,c("css-variables-".concat(qr._themeKey)),{mark:E,prepend:"queue",attachTo:Nn,priority:-999});Vr[N]=tn,Vr.setAttribute(j,qr._themeKey)}});return oa}var Ge=function(mt,pt,$t){var tn=(0,r.Z)(mt,5),Nn=tn[2],vr=tn[3],br=tn[4],nr=$t||{},Ir=nr.plain;if(!vr)return null;var Er=Nn._tokenKey,yr=-999,Xn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(yr)},Kr=M(vr,br,Er,Xn,Ir);return[yr,Er,Kr]},Et=e(87462),Ut={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gt=Ut,cn="-ms-",Ft="-moz-",en="-webkit-",Yt="comm",dn="rule",pn="decl",rn="@page",On="@media",An="@import",Jn="@charset",Rr="@viewport",er="@supports",ct="@document",et="@namespace",Ve="@keyframes",Jt="@font-face",ht="@counter-style",un="@font-feature-values",Tn="@layer",Un="@scope",rr=Math.abs,or=String.fromCharCode,fr=Object.assign;function ir(Qe,mt){return gn(Qe,0)^45?(((mt<<2^gn(Qe,0))<<2^gn(Qe,1))<<2^gn(Qe,2))<<2^gn(Qe,3):0}function gr(Qe){return Qe.trim()}function sr(Qe,mt){return(Qe=mt.exec(Qe))?Qe[0]:Qe}function fn(Qe,mt,pt){return Qe.replace(mt,pt)}function tr(Qe,mt,pt){return Qe.indexOf(mt,pt)}function gn(Qe,mt){return Qe.charCodeAt(mt)|0}function an(Qe,mt,pt){return Qe.slice(mt,pt)}function nt(Qe){return Qe.length}function xt(Qe){return Qe.length}function Bt(Qe,mt){return mt.push(Qe),Qe}function bt(Qe,mt){return Qe.map(mt).join("")}function zt(Qe,mt){return Qe.filter(function(pt){return!sr(pt,mt)})}function Vt(Qe,mt){for(var pt="",$t=0;$t0?gn(Bn,--Fn):0,Gn--,mn===10&&(Gn=1,Dn--),mn}function Ue(){return mn=Fn2||xn(mn)>3?"":" "}function ar(Qe){for(;Ue();)switch(xn(mn)){case 0:append(Hn(Fn-1),Qe);break;case 2:append(Wn(mn),Qe);break;default:append(from(mn),Qe)}return Qe}function ur(Qe,mt){for(;--mt&&Ue()&&!(mn<48||mn>102||mn>57&&mn<65||mn>70&&mn<97););return on(Qe,Dt()+(mt<6&&rt()==32&&Ue()==32))}function Tt(Qe){for(;Ue();)switch(mn){case Qe:return Fn;case 34:case 39:Qe!==34&&Qe!==39&&Tt(mn);break;case 40:Qe===41&&Tt(Qe);break;case 92:Ue();break}return Fn}function _t(Qe,mt){for(;Ue()&&Qe+mn!==57;)if(Qe+mn===84&&rt()===47)break;return"/*"+on(mt,Fn-1)+"*"+or(Qe===47?Qe:Ue())}function Hn(Qe){for(;!xn(rt());)Ue();return on(Qe,Fn)}function zn(Qe){return In(Ke("",null,null,null,[""],Qe=hn(Qe),0,[0],Qe))}function Ke(Qe,mt,pt,$t,tn,Nn,vr,br,nr){for(var Ir=0,Er=0,yr=vr,Xn=0,Kr=0,ta=0,xr=1,Jr=1,oa=1,kr=0,ca="",qr=tn,Hr=Nn,Vr=$t,ia=ca;Jr;)switch(ta=kr,kr=Ue()){case 40:if(ta!=108&&gn(ia,yr-1)==58){tr(ia+=fn(Wn(kr),"&","&\f"),"&\f",rr(Ir?br[Ir-1]:0))!=-1&&(oa=-1);break}case 34:case 39:case 91:ia+=Wn(kr);break;case 9:case 10:case 13:case 32:ia+=hr(ta);break;case 92:ia+=ur(Dt()-1,7);continue;case 47:switch(rt()){case 42:case 47:Bt(fe(_t(Ue(),Dt()),mt,pt,nr),nr);break;default:ia+="/"}break;case 123*xr:br[Ir++]=nt(ia)*oa;case 125*xr:case 59:case 0:switch(kr){case 0:case 125:Jr=0;case 59+Er:oa==-1&&(ia=fn(ia,/\f/g,"")),Kr>0&&nt(ia)-yr&&Bt(Kr>32?Ee(ia+";",$t,pt,yr-1,nr):Ee(fn(ia," ","")+";",$t,pt,yr-2,nr),nr);break;case 59:ia+=";";default:if(Bt(Vr=me(ia,mt,pt,Ir,Er,tn,br,ca,qr=[],Hr=[],yr,Nn),Nn),kr===123)if(Er===0)Ke(ia,mt,Vr,Vr,qr,Nn,yr,br,Hr);else switch(Xn===99&&gn(ia,3)===110?100:Xn){case 100:case 108:case 109:case 115:Ke(Qe,Vr,Vr,$t&&Bt(me(Qe,Vr,Vr,0,0,tn,br,ca,tn,qr=[],yr,Hr),Hr),tn,Hr,yr,br,$t?qr:Hr);break;default:Ke(ia,Vr,Vr,Vr,[""],Hr,0,br,Hr)}}Ir=Er=Kr=0,xr=oa=1,ca=ia="",yr=vr;break;case 58:yr=1+nt(ia),Kr=ta;default:if(xr<1){if(kr==123)--xr;else if(kr==125&&xr++==0&&Le()==125)continue}switch(ia+=or(kr),kr*xr){case 38:oa=Er>0?1:(ia+="\f",-1);break;case 44:br[Ir++]=(nt(ia)-1)*oa,oa=1;break;case 64:rt()===45&&(ia+=Wn(Ue())),Xn=rt(),Er=yr=nt(ca=ia+=Hn(Dt())),kr++;break;case 45:ta===45&&nt(ia)==2&&(xr=0)}}return Nn}function me(Qe,mt,pt,$t,tn,Nn,vr,br,nr,Ir,Er,yr){for(var Xn=tn-1,Kr=tn===0?Nn:[""],ta=xt(Kr),xr=0,Jr=0,oa=0;xr<$t;++xr)for(var kr=0,ca=an(Qe,Xn+1,Xn=rr(Jr=vr[xr])),qr=Qe;kr0?Kr[kr]+" "+ca:fn(ca,/&\f/g,Kr[kr])))&&(nr[oa++]=qr);return Mn(Qe,mt,pt,tn===0?dn:br,nr,Ir,Er,yr)}function fe(Qe,mt,pt,$t){return Mn(Qe,mt,pt,Yt,or(Te()),an(Qe,2,-2),0,$t)}function Ee(Qe,mt,pt,$t,tn){return Mn(Qe,mt,pt,pn,an(Qe,0,$t),an(Qe,$t+1,-1),$t,tn)}function ge(Qe,mt){var pt=mt.path,$t=mt.parentSelectors;devWarning(!1,"[Ant Design CSS-in-JS] ".concat(pt?"Error in ".concat(pt,": "):"").concat(Qe).concat($t.length?" Selector: ".concat($t.join(" | ")):""))}var _e=function(mt,pt,$t){if(mt==="content"){var tn=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Nn=["normal","none","initial","inherit","unset"];(typeof pt!="string"||Nn.indexOf(pt)===-1&&!tn.test(pt)&&(pt.charAt(0)!==pt.charAt(pt.length-1)||pt.charAt(0)!=='"'&&pt.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(pt,"\"'`."),$t)}},it=null,It=function(mt,pt,$t){mt==="animation"&&$t.hashId&&pt!=="none"&&lintWarning("You seem to be using hashed animation '".concat(pt,"', in which case 'animationName' with Keyframe as value is recommended."),$t)},Nt=null;function Zt(Qe){var mt,pt=((mt=Qe.match(/:not\(([^)]*)\)/))===null||mt===void 0?void 0:mt[1])||"",$t=pt.split(/(\[[^[]*])|(?=[.#])/).filter(function(tn){return tn});return $t.length>1}function Pt(Qe){return Qe.parentSelectors.reduce(function(mt,pt){return mt?pt.includes("&")?pt.replace(/&/g,mt):"".concat(mt," ").concat(pt):pt},"")}var Cn=function(mt,pt,$t){var tn=Pt($t),Nn=tn.match(/:not\([^)]*\)/g)||[];Nn.length>0&&Nn.some(Zt)&&lintWarning("Concat ':not' selector not support in legacy browsers.",$t)},yn=null,Gt=function(mt,pt,$t){switch(mt){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":lintWarning("You seem to be using non-logical property '".concat(mt,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof pt=="string"){var tn=pt.split(" ").map(function(br){return br.trim()});tn.length===4&&tn[1]!==tn[3]&&lintWarning("You seem to be using '".concat(mt,"' property with different left ").concat(mt," and right ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t)}return;case"clear":case"textAlign":(pt==="left"||pt==="right")&&lintWarning("You seem to be using non-logical value '".concat(pt,"' of ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t);return;case"borderRadius":if(typeof pt=="string"){var Nn=pt.split("/").map(function(br){return br.trim()}),vr=Nn.reduce(function(br,nr){if(br)return br;var Ir=nr.split(" ").map(function(Er){return Er.trim()});return Ir.length>=2&&Ir[0]!==Ir[1]||Ir.length===3&&Ir[1]!==Ir[2]||Ir.length===4&&Ir[2]!==Ir[3]?!0:br},!1);vr&&lintWarning("You seem to be using non-logical value '".concat(pt,"' of ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t)}return;default:}},yt=null,Mt=function(mt,pt,$t){(typeof pt=="string"&&/NaN/g.test(pt)||Number.isNaN(pt))&&lintWarning("Unexpected 'NaN' in property '".concat(mt,": ").concat(pt,"'."),$t)},Rt=null,En=function(mt,pt,$t){$t.parentSelectors.some(function(tn){var Nn=tn.split(",");return Nn.some(function(vr){return vr.split("&").length>2})})&&lintWarning("Should not use more than one `&` in a selector.",$t)},Xt=null,Ln="data-ant-cssinjs-cache-path",Nr="_FILE_STYLE__";function Sr(Qe){return Object.keys(Qe).map(function(mt){var pt=Qe[mt];return"".concat(mt,":").concat(pt)}).join(";")}var Br,Tr=!0;function la(Qe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Br=Qe,Tr=mt}function Xr(){if(!Br&&(Br={},(0,B.Z)())){var Qe=document.createElement("div");Qe.className=Ln,Qe.style.position="fixed",Qe.style.visibility="hidden",Qe.style.top="-9999px",document.body.appendChild(Qe);var mt=getComputedStyle(Qe).content||"";mt=mt.replace(/^"/,"").replace(/"$/,""),mt.split(";").forEach(function(tn){var Nn=tn.split(":"),vr=(0,r.Z)(Nn,2),br=vr[0],nr=vr[1];Br[br]=nr});var pt=document.querySelector("style[".concat(Ln,"]"));if(pt){var $t;Tr=!1,($t=pt.parentNode)===null||$t===void 0||$t.removeChild(pt)}document.body.removeChild(Qe)}}function Qr(Qe){return Xr(),!!Br[Qe]}function cr(Qe){var mt=Br[Qe],pt=null;if(mt&&(0,B.Z)())if(Tr)pt=Nr;else{var $t=document.querySelector("style[".concat(E,'="').concat(Br[Qe],'"]'));$t?pt=$t.innerHTML:delete Br[Qe]}return[pt,mt]}var Ur="_skip_check_",ea="_multi_value_";function Lt(Qe){var mt=Vt(zn(Qe),nn);return mt.replace(/\{%%%\:[^;];}/g,";")}function lt(Qe){return(0,ee.Z)(Qe)==="object"&&Qe&&(Ur in Qe||ea in Qe)}function sn(Qe,mt,pt){if(!mt)return Qe;var $t=".".concat(mt),tn=pt==="low"?":where(".concat($t,")"):$t,Nn=Qe.split(",").map(function(vr){var br,nr=vr.trim().split(/\s+/),Ir=nr[0]||"",Er=((br=Ir.match(/^\w+/))===null||br===void 0?void 0:br[0])||"";return Ir="".concat(Er).concat(tn).concat(Ir.slice(Er.length)),[Ir].concat((0,o.Z)(nr.slice(1))).join(" ")});return Nn.join(",")}var ln=function Qe(mt){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},tn=$t.root,Nn=$t.injectHash,vr=$t.parentSelectors,br=pt.hashId,nr=pt.layer,Ir=pt.path,Er=pt.hashPriority,yr=pt.transformers,Xn=yr===void 0?[]:yr,Kr=pt.linters,ta=Kr===void 0?[]:Kr,xr="",Jr={};function oa(qr){var Hr=qr.getName(br);if(!Jr[Hr]){var Vr=Qe(qr.style,pt,{root:!1,parentSelectors:vr}),ia=(0,r.Z)(Vr,1),ja=ia[0];Jr[Hr]="@keyframes ".concat(qr.getName(br)).concat(ja)}}function kr(qr){var Hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return qr.forEach(function(Vr){Array.isArray(Vr)?kr(Vr,Hr):Vr&&Hr.push(Vr)}),Hr}var ca=kr(Array.isArray(mt)?mt:[mt]);return ca.forEach(function(qr){var Hr=typeof qr=="string"&&!tn?{}:qr;if(typeof Hr=="string")xr+="".concat(Hr,` `);else if(Hr._keyframe)oa(Hr);else{var Vr=Xn.reduce(function(ia,ja){var Ka;return(ja==null||(Ka=ja.visit)===null||Ka===void 0?void 0:Ka.call(ja,ia))||ia},Hr);Object.keys(Vr).forEach(function(ia){var ja=Vr[ia];if((0,ee.Z)(ja)==="object"&&ja&&(ia!=="animationName"||!ja._keyframe)&&!lt(ja)){var Ka=!1,io=ia.trim(),Yo=!1;(tn||Nn)&&br?io.startsWith("@")?Ka=!0:io=sn(ia,br,Er):tn&&!br&&(io==="&"||io==="")&&(io="",Yo=!0);var da=Qe(ja,pt,{root:Yo,injectHash:Ka,parentSelectors:[].concat((0,o.Z)(vr),[io])}),po=(0,r.Z)(da,2),Za=po[0],so=po[1];Jr=(0,a.Z)((0,a.Z)({},Jr),so),xr+="".concat(io).concat(Za)}else{let Na=function(Ga,ka){var no=Ga.replace(/[A-Z]/g,function(Ro){return"-".concat(Ro.toLowerCase())}),bo=ka;!gt[Ga]&&typeof bo=="number"&&bo!==0&&(bo="".concat(bo,"px")),Ga==="animationName"&&ka!==null&&ka!==void 0&&ka._keyframe&&(oa(ka),bo=ka.getName(br)),xr+="".concat(no,":").concat(bo,";")};var Wa,Ha=(Wa=ja==null?void 0:ja.value)!==null&&Wa!==void 0?Wa:ja;(0,ee.Z)(ja)==="object"&&ja!==null&&ja!==void 0&&ja[ea]&&Array.isArray(Ha)?Ha.forEach(function(Ga){Na(ia,Ga)}):Na(ia,Ha)}})}}),tn?nr&&(xr="@layer ".concat(nr.name," {").concat(xr,"}"),nr.dependencies&&(Jr["@layer ".concat(nr.name)]=nr.dependencies.map(function(qr){return"@layer ".concat(qr,", ").concat(nr.name,";")}).join(` `))):xr="{".concat(xr,"}"),[xr,Jr]};function pr(Qe,mt){return c("".concat(Qe.join("%")).concat(mt))}function Ar(){return null}var jn="style";function wn(Qe,mt){var pt=Qe.token,$t=Qe.path,tn=Qe.hashId,Nn=Qe.layer,vr=Qe.nonce,br=Qe.clientOnly,nr=Qe.order,Ir=nr===void 0?0:nr,Er=l.useContext(te),yr=Er.autoClear,Xn=Er.mock,Kr=Er.defaultCache,ta=Er.hashPriority,xr=Er.container,Jr=Er.ssrInline,oa=Er.transformers,kr=Er.linters,ca=Er.cache,qr=Er.layer,Hr=pt._tokenKey,Vr=[Hr];qr&&Vr.push("layer"),Vr.push.apply(Vr,(0,o.Z)($t));var ia=le,ja=Ae(jn,Vr,function(){var po=Vr.join("|");if(Qr(po)){var Za=cr(po),so=(0,r.Z)(Za,2),Wa=so[0],Ha=so[1];if(Wa)return[Wa,Hr,Ha,{},br,Ir]}var Na=mt(),Ga=ln(Na,{hashId:tn,hashPriority:ta,layer:qr?Nn:void 0,path:$t.join("-"),transformers:oa,linters:kr}),ka=(0,r.Z)(Ga,2),no=ka[0],bo=ka[1],Ro=Lt(no),mo=pr(Vr,Ro);return[Ro,Hr,mo,bo,br,Ir]},function(po,Za){var so=(0,r.Z)(po,3),Wa=so[2];(Za||yr)&&le&&(0,u.jL)(Wa,{mark:E})},function(po){var Za=(0,r.Z)(po,4),so=Za[0],Wa=Za[1],Ha=Za[2],Na=Za[3];if(ia&&so!==Nr){var Ga={mark:E,prepend:qr?!1:"queue",attachTo:xr,priority:Ir},ka=typeof vr=="function"?vr():vr;ka&&(Ga.csp={nonce:ka});var no=[],bo=[];Object.keys(Na).forEach(function(mo){mo.startsWith("@layer")?no.push(mo):bo.push(mo)}),no.forEach(function(mo){(0,u.hq)(Lt(Na[mo]),"_layer-".concat(mo),(0,a.Z)((0,a.Z)({},Ga),{},{prepend:!0}))});var Ro=(0,u.hq)(so,Ha,Ga);Ro[N]=ca.instanceId,Ro.setAttribute(j,Hr),bo.forEach(function(mo){(0,u.hq)(Lt(Na[mo]),"_effect-".concat(mo),Ga)})}}),Ka=(0,r.Z)(ja,3),io=Ka[0],Yo=Ka[1],da=Ka[2];return function(po){var Za;if(!Jr||ia||!Kr)Za=l.createElement(Ar,null);else{var so;Za=l.createElement("style",(0,Et.Z)({},(so={},(0,t.Z)(so,j,Yo),(0,t.Z)(so,E,da),so),{dangerouslySetInnerHTML:{__html:io}}))}return l.createElement(l.Fragment,null,Za,po)}}var bn=function(mt,pt,$t){var tn=(0,r.Z)(mt,6),Nn=tn[0],vr=tn[1],br=tn[2],nr=tn[3],Ir=tn[4],Er=tn[5],yr=$t||{},Xn=yr.plain;if(Ir)return null;var Kr=Nn,ta={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Er)};return Kr=M(Nn,vr,br,ta,Xn),nr&&Object.keys(nr).forEach(function(xr){if(!pt[xr]){pt[xr]=!0;var Jr=Lt(nr[xr]),oa=M(Jr,vr,"_effect-".concat(xr),ta,Xn);xr.startsWith("@layer")?Kr=oa+Kr:Kr+=oa}}),[Er,br,Kr]},_n="cssVar",Or=function(mt,pt){var $t=mt.key,tn=mt.prefix,Nn=mt.unitless,vr=mt.ignore,br=mt.token,nr=mt.scope,Ir=nr===void 0?"":nr,Er=(0,l.useContext)(te),yr=Er.cache.instanceId,Xn=Er.container,Kr=br._tokenKey,ta=[].concat((0,o.Z)(mt.path),[$t,Ir,Kr]),xr=Ae(_n,ta,function(){var Jr=pt(),oa=k(Jr,$t,{prefix:tn,unitless:Nn,ignore:vr,scope:Ir}),kr=(0,r.Z)(oa,2),ca=kr[0],qr=kr[1],Hr=pr(ta,qr);return[ca,qr,Hr,$t]},function(Jr){var oa=(0,r.Z)(Jr,3),kr=oa[2];le&&(0,u.jL)(kr,{mark:E})},function(Jr){var oa=(0,r.Z)(Jr,3),kr=oa[1],ca=oa[2];if(kr){var qr=(0,u.hq)(kr,ca,{mark:E,prepend:"queue",attachTo:Xn,priority:-999});qr[N]=yr,qr.setAttribute(j,$t)}});return xr},$r=function(mt,pt,$t){var tn=(0,r.Z)(mt,4),Nn=tn[1],vr=tn[2],br=tn[3],nr=$t||{},Ir=nr.plain;if(!Nn)return null;var Er=-999,yr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Er)},Xn=M(Nn,br,vr,yr,Ir);return[Er,vr,Xn]},ua=Or,Ea,ha=(Ea={},(0,t.Z)(Ea,jn,bn),(0,t.Z)(Ea,Kt,Ge),(0,t.Z)(Ea,_n,$r),Ea);function mr(Qe){return Qe!==null}function _r(Qe,mt){var pt=typeof mt=="boolean"?{plain:mt}:mt||{},$t=pt.plain,tn=$t===void 0?!1:$t,Nn=pt.types,vr=Nn===void 0?["style","token","cssVar"]:Nn,br=new RegExp("^(".concat((typeof vr=="string"?[vr]:vr).join("|"),")%")),nr=Array.from(Qe.cache.keys()).filter(function(Xn){return br.test(Xn)}),Ir={},Er={},yr="";return nr.map(function(Xn){var Kr=Xn.replace(br,"").replace(/%/g,"|"),ta=Xn.split("%"),xr=_slicedToArray(ta,1),Jr=xr[0],oa=ha[Jr],kr=oa(Qe.cache.get(Xn)[1],Ir,{plain:tn});if(!kr)return null;var ca=_slicedToArray(kr,3),qr=ca[0],Hr=ca[1],Vr=ca[2];return Xn.startsWith("style")&&(Er[Kr]=Hr),[qr,Vr]}).filter(mr).sort(function(Xn,Kr){var ta=_slicedToArray(Xn,1),xr=ta[0],Jr=_slicedToArray(Kr,1),oa=Jr[0];return xr-oa}).forEach(function(Xn){var Kr=_slicedToArray(Xn,2),ta=Kr[1];yr+=ta}),yr+=toStyleStr(".".concat(ATTR_CACHE_MAP,'{content:"').concat(serializeCacheMap(Er),'";}'),void 0,void 0,_defineProperty({},ATTR_CACHE_MAP,ATTR_CACHE_MAP),tn),yr}var Ma=function(){function Qe(mt,pt){(0,d.Z)(this,Qe),(0,t.Z)(this,"name",void 0),(0,t.Z)(this,"style",void 0),(0,t.Z)(this,"_keyframe",!0),this.name=mt,this.style=pt}return(0,b.Z)(Qe,[{key:"getName",value:function(){var pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return pt?"".concat(pt,"-").concat(this.name):this.name}}]),Qe}(),za=Ma;function Ta(Qe){if(typeof Qe=="number")return[[Qe],!1];var mt=String(Qe).trim(),pt=mt.match(/(.*)(!important)/),$t=(pt?pt[1]:mt).trim().split(/\s+/),tn=[],Nn=0;return[$t.reduce(function(vr,br){if(br.includes("(")||br.includes(")")){var nr=br.split("(").length-1,Ir=br.split(")").length-1;Nn+=nr-Ir}return Nn>=0&&tn.push(br),Nn===0&&(vr.push(tn.join(" ")),tn=[]),vr},[]),!!pt]}function Ra(Qe){return Qe.notSplit=!0,Qe}var ao={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Ra(["borderTop","borderBottom"]),borderBlockStart:Ra(["borderTop"]),borderBlockEnd:Ra(["borderBottom"]),borderInline:Ra(["borderLeft","borderRight"]),borderInlineStart:Ra(["borderLeft"]),borderInlineEnd:Ra(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function ho(Qe,mt){var pt=Qe;return mt&&(pt="".concat(pt," !important")),{_skip_check_:!0,value:pt}}var Ja={visit:function(mt){var pt={};return Object.keys(mt).forEach(function($t){var tn=mt[$t],Nn=ao[$t];if(Nn&&(typeof tn=="number"||typeof tn=="string")){var vr=Ta(tn),br=(0,r.Z)(vr,2),nr=br[0],Ir=br[1];Nn.length&&Nn.notSplit?Nn.forEach(function(Er){pt[Er]=ho(tn,Ir)}):Nn.length===1?pt[Nn[0]]=ho(nr[0],Ir):Nn.length===2?Nn.forEach(function(Er,yr){var Xn;pt[Er]=ho((Xn=nr[yr])!==null&&Xn!==void 0?Xn:nr[0],Ir)}):Nn.length===4?Nn.forEach(function(Er,yr){var Xn,Kr;pt[Er]=ho((Xn=(Kr=nr[yr])!==null&&Kr!==void 0?Kr:nr[yr-2])!==null&&Xn!==void 0?Xn:nr[0],Ir)}):pt[$t]=tn}else pt[$t]=tn}),pt}},Go=null,Pa=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Xa(Qe,mt){var pt=Math.pow(10,mt+1),$t=Math.floor(Qe*pt);return Math.round($t/10)*10/pt}var ti=function(){var mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pt=mt.rootValue,$t=pt===void 0?16:pt,tn=mt.precision,Nn=tn===void 0?5:tn,vr=mt.mediaQuery,br=vr===void 0?!1:vr,nr=function(yr,Xn){if(!Xn)return yr;var Kr=parseFloat(Xn);if(Kr<=1)return yr;var ta=Xa(Kr/$t,Nn);return"".concat(ta,"rem")},Ir=function(yr){var Xn=_objectSpread({},yr);return Object.entries(yr).forEach(function(Kr){var ta=_slicedToArray(Kr,2),xr=ta[0],Jr=ta[1];if(typeof Jr=="string"&&Jr.includes("px")){var oa=Jr.replace(Pa,nr);Xn[xr]=oa}!unitless[xr]&&typeof Jr=="number"&&Jr!==0&&(Xn[xr]="".concat(Jr,"px").replace(Pa,nr));var kr=xr.trim();if(kr.startsWith("@")&&kr.includes("px")&&br){var ca=xr.replace(Pa,nr);Xn[ca]=Xn[xr],delete Xn[xr]}}),Xn};return{visit:Ir}},Uo=null,Lo={supportModernCSS:function(){return He()&&Xe()}}},32857:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};g.Z=e},1085:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};g.Z=e},89503:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};g.Z=e},48820:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};g.Z=e},66023:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};g.Z=e},15294:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};g.Z=e},36688:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};g.Z=e},50756:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};g.Z=e},509:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};g.Z=e},34689:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"};g.Z=e},91146:function(v,g,e){"use strict";e.d(g,{Z:function(){return Ce}});var t=e(1413),r=e(97685),o=e(4942),a=e(91),s=e(67294),c=e(93967),u=e.n(c),l=(0,s.createContext)({}),f=l,p=e(71002),y=e(86500),m=e(1350),d=2,b=.16,C=.05,S=.05,x=.15,w=5,O=4,j=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function E(xe){var A=xe.r,ie=xe.g,ke=xe.b,Fe=(0,y.py)(A,ie,ke);return{h:Fe.h*360,s:Fe.s,v:Fe.v}}function $(xe){var A=xe.r,ie=xe.g,ke=xe.b;return"#".concat((0,y.vq)(A,ie,ke,!1))}function N(xe,A,ie){var ke=ie/100,Fe={r:(A.r-xe.r)*ke+xe.r,g:(A.g-xe.g)*ke+xe.g,b:(A.b-xe.b)*ke+xe.b};return Fe}function oe(xe,A,ie){var ke;return Math.round(xe.h)>=60&&Math.round(xe.h)<=240?ke=ie?Math.round(xe.h)-d*A:Math.round(xe.h)+d*A:ke=ie?Math.round(xe.h)+d*A:Math.round(xe.h)-d*A,ke<0?ke+=360:ke>=360&&(ke-=360),ke}function Z(xe,A,ie){if(xe.h===0&&xe.s===0)return xe.s;var ke;return ie?ke=xe.s-b*A:A===O?ke=xe.s+b:ke=xe.s+C*A,ke>1&&(ke=1),ie&&A===w&&ke>.1&&(ke=.1),ke<.06&&(ke=.06),Number(ke.toFixed(2))}function Y(xe,A,ie){var ke;return ie?ke=xe.v+S*A:ke=xe.v-x*A,ke>1&&(ke=1),Number(ke.toFixed(2))}function te(xe){for(var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ie=[],ke=(0,m.uA)(xe),Fe=w;Fe>0;Fe-=1){var $e=E(ke),we=$((0,m.uA)({h:oe($e,Fe,!0),s:Z($e,Fe,!0),v:Y($e,Fe,!0)}));ie.push(we)}ie.push($(ke));for(var Pe=1;Pe<=O;Pe+=1){var Ae=E(ke),We=$((0,m.uA)({h:oe(Ae,Pe),s:Z(Ae,Pe),v:Y(Ae,Pe)}));ie.push(We)}return A.theme==="dark"?j.map(function(tt){var dt=tt.index,At=tt.opacity,vt=$(N((0,m.uA)(A.backgroundColor||"#141414"),(0,m.uA)(ie[dt]),At*100));return vt}):ie}var ee={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},B={},ne={};Object.keys(ee).forEach(function(xe){B[xe]=te(ee[xe]),B[xe].primary=B[xe][5],ne[xe]=te(ee[xe],{theme:"dark",backgroundColor:"#141414"}),ne[xe].primary=ne[xe][5]});var Q=B.red,q=B.volcano,L=B.gold,F=B.orange,T=B.yellow,I=B.lime,R=B.green,z=B.cyan,ae=B.blue,X=B.geekblue,G=B.purple,ce=B.magenta,ye=B.grey,Re=e(80334),Ie=e(44958),Ze=e(68929),ot=e.n(Ze);function Je(xe,A){(0,Re.ZP)(xe,"[@ant-design/icons] ".concat(A))}function He(xe){return(0,p.Z)(xe)==="object"&&typeof xe.name=="string"&&typeof xe.theme=="string"&&((0,p.Z)(xe.icon)==="object"||typeof xe.icon=="function")}function qe(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(xe).reduce(function(A,ie){var ke=xe[ie];switch(ie){case"class":A.className=ke,delete A.class;break;default:delete A[ie],A[ot()(ie)]=ke}return A},{})}function Xe(xe,A,ie){return ie?s.createElement(xe.tag,(0,t.Z)((0,t.Z)({key:A},qe(xe.attrs)),ie),(xe.children||[]).map(function(ke,Fe){return Xe(ke,"".concat(A,"-").concat(xe.tag,"-").concat(Fe))})):s.createElement(xe.tag,(0,t.Z)({key:A},qe(xe.attrs)),(xe.children||[]).map(function(ke,Fe){return Xe(ke,"".concat(A,"-").concat(xe.tag,"-").concat(Fe))}))}function le(xe){return te(xe)[0]}function U(xe){return xe?Array.isArray(xe)?xe:[xe]:[]}var M={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},D=` .anticon { @@ -114,41 +114,41 @@ html body { overflow-y: hidden; `.concat(Q?"width: calc(100% - ".concat(ne,"px);"):"",` -}`),B)}else(0,d.jL)(B);return function(){(0,d.jL)(B)}},[Y,B])}var O=!1;function j(Z){return typeof Z=="boolean"&&(O=Z),O}var E=function(Y){return Y===!1?!1:!(0,a.Z)()||!Y?null:typeof Y=="string"?document.querySelector(Y):typeof Y=="function"?Y():Y},$=r.forwardRef(function(Z,Y){var te=Z.open,ee=Z.autoLock,B=Z.getContainer,ne=Z.debug,Q=Z.autoDestroy,q=Q===void 0?!0:Q,L=Z.children,F=r.useState(te),T=(0,t.Z)(F,2),I=T[0],R=T[1],z=I||te;r.useEffect(function(){(q||te)&&R(te)},[te,q]);var ae=r.useState(function(){return E(B)}),X=(0,t.Z)(ae,2),G=X[0],ce=X[1];r.useEffect(function(){var U=E(B);ce(U!=null?U:null)});var ye=m(z&&!G,ne),Re=(0,t.Z)(ye,2),Ie=Re[0],Ze=Re[1],ot=G!=null?G:Ie;w(ee&&te&&(0,a.Z)()&&(ot===Ie||ot===document.body));var Je=null;if(L&&(0,c.Yr)(L)&&Y){var He=L;Je=He.ref}var qe=(0,c.x1)(Je,Y);if(!z||!(0,a.Z)()||G===void 0)return null;var Xe=ot===!1||j(),le=L;return Y&&(le=r.cloneElement(L,{ref:qe})),r.createElement(l.Provider,{value:Ze},Xe?le:(0,o.createPortal)(le,ot))}),N=$,oe=N},40228:function(v,g,e){"use strict";e.d(g,{Z:function(){return Xe}});var t=e(1413),r=e(97685),o=e(91),a=e(2788),s=e(93967),c=e.n(s),u=e(9220),l=e(34203),f=e(27571),p=e(66680),y=e(7028),m=e(8410),d=e(31131),b=e(67294),C=e(87462),S=e(82225),x=e(42550);function w(le){var U=le.prefixCls,M=le.align,D=le.arrow,K=le.arrowPos,k=D||{},J=k.className,ue=k.content,_=K.x,V=_===void 0?0:_,se=K.y,pe=se===void 0?0:se,de=b.useRef();if(!M||!M.points)return null;var Ne={position:"absolute"};if(M.autoArrow!==!1){var st=M.points[0],Ce=M.points[1],xe=st[0],A=st[1],ie=Ce[0],ke=Ce[1];xe===ie||!["t","b"].includes(xe)?Ne.top=pe:xe==="t"?Ne.top=0:Ne.bottom=0,A===ke||!["l","r"].includes(A)?Ne.left=V:A==="l"?Ne.left=0:Ne.right=0}return b.createElement("div",{ref:de,className:c()("".concat(U,"-arrow"),J),style:Ne},ue)}function O(le){var U=le.prefixCls,M=le.open,D=le.zIndex,K=le.mask,k=le.motion;return K?b.createElement(S.ZP,(0,C.Z)({},k,{motionAppear:!0,visible:M,removeOnLeave:!0}),function(J){var ue=J.className;return b.createElement("div",{style:{zIndex:D},className:c()("".concat(U,"-mask"),ue)})}):null}var j=b.memo(function(le){var U=le.children;return U},function(le,U){return U.cache}),E=j,$=b.forwardRef(function(le,U){var M=le.popup,D=le.className,K=le.prefixCls,k=le.style,J=le.target,ue=le.onVisibleChanged,_=le.open,V=le.keepDom,se=le.fresh,pe=le.onClick,de=le.mask,Ne=le.arrow,st=le.arrowPos,Ce=le.align,xe=le.motion,A=le.maskMotion,ie=le.forceRender,ke=le.getPopupContainer,Fe=le.autoDestroy,$e=le.portal,we=le.zIndex,Pe=le.onMouseEnter,Ae=le.onMouseLeave,We=le.onPointerEnter,tt=le.ready,dt=le.offsetX,At=le.offsetY,vt=le.offsetR,qt=le.offsetB,kt=le.onAlign,wt=le.onPrepare,Kt=le.stretch,Ct=le.targetWidth,Ge=le.targetHeight,Et=typeof M=="function"?M():M,Ut=_||V,gt=(ke==null?void 0:ke.length)>0,cn=b.useState(!ke||!gt),Ft=(0,r.Z)(cn,2),en=Ft[0],Yt=Ft[1];if((0,m.Z)(function(){!en&>&&J&&Yt(!0)},[en,gt,J]),!en)return null;var dn="auto",pn={left:"-1000vw",top:"-1000vh",right:dn,bottom:dn};if(tt||!_){var rn,On=Ce.points,An=Ce.dynamicInset||((rn=Ce._experimental)===null||rn===void 0?void 0:rn.dynamicInset),Jn=An&&On[0][1]==="r",Rr=An&&On[0][0]==="b";Jn?(pn.right=vt,pn.left=dn):(pn.left=dt,pn.right=dn),Rr?(pn.bottom=qt,pn.top=dn):(pn.top=At,pn.bottom=dn)}var er={};return Kt&&(Kt.includes("height")&&Ge?er.height=Ge:Kt.includes("minHeight")&&Ge&&(er.minHeight=Ge),Kt.includes("width")&&Ct?er.width=Ct:Kt.includes("minWidth")&&Ct&&(er.minWidth=Ct)),_||(er.pointerEvents="none"),b.createElement($e,{open:ie||Ut,getContainer:ke&&function(){return ke(J)},autoDestroy:Fe},b.createElement(O,{prefixCls:K,open:_,zIndex:we,mask:de,motion:A}),b.createElement(u.Z,{onResize:kt,disabled:!_},function(ct){return b.createElement(S.ZP,(0,C.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ie,leavedClassName:"".concat(K,"-hidden")},xe,{onAppearPrepare:wt,onEnterPrepare:wt,visible:_,onVisibleChanged:function(Ve){var Jt;xe==null||(Jt=xe.onVisibleChanged)===null||Jt===void 0||Jt.call(xe,Ve),ue(Ve)}}),function(et,Ve){var Jt=et.className,ht=et.style,un=c()(K,Jt,D);return b.createElement("div",{ref:(0,x.sQ)(ct,U,Ve),className:un,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(st.x||0,"px"),"--arrow-y":"".concat(st.y||0,"px")},pn),er),ht),{},{boxSizing:"border-box",zIndex:we},k),onMouseEnter:Pe,onMouseLeave:Ae,onPointerEnter:We,onClick:pe},Ne&&b.createElement(w,{prefixCls:K,arrow:Ne,arrowPos:st,align:Ce}),b.createElement(E,{cache:!_&&!se},Et))})}))}),N=$,oe=b.forwardRef(function(le,U){var M=le.children,D=le.getTriggerDOMNode,K=(0,x.Yr)(M),k=b.useCallback(function(ue){(0,x.mH)(U,D?D(ue):ue)},[D]),J=(0,x.x1)(k,M.ref);return K?b.cloneElement(M,{ref:J}):M}),Z=oe,Y=b.createContext(null),te=Y;function ee(le){return le?Array.isArray(le)?le:[le]:[]}function B(le,U,M,D){return b.useMemo(function(){var K=ee(M!=null?M:U),k=ee(D!=null?D:U),J=new Set(K),ue=new Set(k);return le&&(J.has("hover")&&(J.delete("hover"),J.add("click")),ue.has("hover")&&(ue.delete("hover"),ue.add("click"))),[J,ue]},[le,U,M,D])}var ne=e(5110);function Q(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],M=arguments.length>2?arguments[2]:void 0;return M?le[0]===U[0]:le[0]===U[0]&&le[1]===U[1]}function q(le,U,M,D){for(var K=M.points,k=Object.keys(le),J=0;J1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(le)?U:le}function R(le){return I(parseFloat(le),0)}function z(le,U){var M=(0,t.Z)({},le);return(U||[]).forEach(function(D){if(!(D instanceof HTMLBodyElement||D instanceof HTMLHtmlElement)){var K=F(D).getComputedStyle(D),k=K.overflow,J=K.overflowClipMargin,ue=K.borderTopWidth,_=K.borderBottomWidth,V=K.borderLeftWidth,se=K.borderRightWidth,pe=D.getBoundingClientRect(),de=D.offsetHeight,Ne=D.clientHeight,st=D.offsetWidth,Ce=D.clientWidth,xe=R(ue),A=R(_),ie=R(V),ke=R(se),Fe=I(Math.round(pe.width/st*1e3)/1e3),$e=I(Math.round(pe.height/de*1e3)/1e3),we=(st-Ce-ie-ke)*Fe,Pe=(de-Ne-xe-A)*$e,Ae=xe*$e,We=A*$e,tt=ie*Fe,dt=ke*Fe,At=0,vt=0;if(k==="clip"){var qt=R(J);At=qt*Fe,vt=qt*$e}var kt=pe.x+tt-At,wt=pe.y+Ae-vt,Kt=kt+pe.width+2*At-tt-dt-we,Ct=wt+pe.height+2*vt-Ae-We-Pe;M.left=Math.max(M.left,kt),M.top=Math.max(M.top,wt),M.right=Math.min(M.right,Kt),M.bottom=Math.min(M.bottom,Ct)}}),M}function ae(le){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,M="".concat(U),D=M.match(/^(.*)\%$/);return D?le*(parseFloat(D[1])/100):parseFloat(M)}function X(le,U){var M=U||[],D=(0,r.Z)(M,2),K=D[0],k=D[1];return[ae(le.width,K),ae(le.height,k)]}function G(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[le[0],le[1]]}function ce(le,U){var M=U[0],D=U[1],K,k;return M==="t"?k=le.y:M==="b"?k=le.y+le.height:k=le.y+le.height/2,D==="l"?K=le.x:D==="r"?K=le.x+le.width:K=le.x+le.width/2,{x:K,y:k}}function ye(le,U){var M={t:"b",b:"t",l:"r",r:"l"};return le.map(function(D,K){return K===U?M[D]||"c":D}).join("")}function Re(le,U,M,D,K,k,J){var ue=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:K[D]||{}}),_=(0,r.Z)(ue,2),V=_[0],se=_[1],pe=b.useRef(0),de=b.useMemo(function(){return U?T(U):[]},[U]),Ne=b.useRef({}),st=function(){Ne.current={}};le||st();var Ce=(0,p.Z)(function(){if(U&&M&&le){let lt=function(ln,pr){var Ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:un,jn=Et.x+ln,wn=Et.y+pr,bn=jn+rn,_n=wn+pn,Or=Math.max(jn,Ar.left),$r=Math.max(wn,Ar.top),ua=Math.min(bn,Ar.right),Ea=Math.min(_n,Ar.bottom);return Math.max(0,(ua-Or)*(Ea-$r))},sn=function(){Wn=Et.y+Bn,Zn=Wn+pn,hr=Et.x+mn,ar=hr+rn};var ie,ke,Fe=U,$e=Fe.ownerDocument,we=F(Fe),Pe=we.getComputedStyle(Fe),Ae=Pe.width,We=Pe.height,tt=Pe.position,dt=Fe.style.left,At=Fe.style.top,vt=Fe.style.right,qt=Fe.style.bottom,kt=Fe.style.overflow,wt=(0,t.Z)((0,t.Z)({},K[D]),k),Kt=$e.createElement("div");(ie=Fe.parentElement)===null||ie===void 0||ie.appendChild(Kt),Kt.style.left="".concat(Fe.offsetLeft,"px"),Kt.style.top="".concat(Fe.offsetTop,"px"),Kt.style.position=tt,Kt.style.height="".concat(Fe.offsetHeight,"px"),Kt.style.width="".concat(Fe.offsetWidth,"px"),Fe.style.left="0",Fe.style.top="0",Fe.style.right="auto",Fe.style.bottom="auto",Fe.style.overflow="hidden";var Ct;if(Array.isArray(M))Ct={x:M[0],y:M[1],width:0,height:0};else{var Ge=M.getBoundingClientRect();Ct={x:Ge.x,y:Ge.y,width:Ge.width,height:Ge.height}}var Et=Fe.getBoundingClientRect(),Ut=$e.documentElement,gt=Ut.clientWidth,cn=Ut.clientHeight,Ft=Ut.scrollWidth,en=Ut.scrollHeight,Yt=Ut.scrollTop,dn=Ut.scrollLeft,pn=Et.height,rn=Et.width,On=Ct.height,An=Ct.width,Jn={left:0,top:0,right:gt,bottom:cn},Rr={left:-dn,top:-Yt,right:Ft-dn,bottom:en-Yt},er=wt.htmlRegion,ct="visible",et="visibleFirst";er!=="scroll"&&er!==et&&(er=ct);var Ve=er===et,Jt=z(Rr,de),ht=z(Jn,de),un=er===ct?ht:Jt,Tn=Ve?ht:un;Fe.style.left="auto",Fe.style.top="auto",Fe.style.right="0",Fe.style.bottom="0";var Un=Fe.getBoundingClientRect();Fe.style.left=dt,Fe.style.top=At,Fe.style.right=vt,Fe.style.bottom=qt,Fe.style.overflow=kt,(ke=Fe.parentElement)===null||ke===void 0||ke.removeChild(Kt);var rr=I(Math.round(rn/parseFloat(Ae)*1e3)/1e3),or=I(Math.round(pn/parseFloat(We)*1e3)/1e3);if(rr===0||or===0||(0,l.Sh)(M)&&!(0,ne.Z)(M))return;var fr=wt.offset,ir=wt.targetOffset,gr=X(Et,fr),sr=(0,r.Z)(gr,2),fn=sr[0],tr=sr[1],gn=X(Ct,ir),an=(0,r.Z)(gn,2),nt=an[0],xt=an[1];Ct.x-=nt,Ct.y-=xt;var Bt=wt.points||[],bt=(0,r.Z)(Bt,2),zt=bt[0],Vt=bt[1],nn=G(Vt),Dn=G(zt),Yn=ce(Ct,nn),kn=ce(Et,Dn),Fn=(0,t.Z)({},wt),mn=Yn.x-kn.x+fn,Bn=Yn.y-kn.y+tr,Mn=lt(mn,Bn),jr=lt(mn,Bn,ht),De=ce(Ct,["t","l"]),Te=ce(Et,["t","l"]),Le=ce(Ct,["b","r"]),Ue=ce(Et,["b","r"]),rt=wt.overflow||{},Dt=rt.adjustX,on=rt.adjustY,xn=rt.shiftX,hn=rt.shiftY,In=function(pr){return typeof pr=="boolean"?pr:pr>=0},Wn,Zn,hr,ar;sn();var ur=In(on),Tt=Dn[0]===nn[0];if(ur&&Dn[0]==="t"&&(Zn>Tn.bottom||Ne.current.bt)){var _t=Bn;Tt?_t-=pn-On:_t=De.y-Ue.y-tr;var Hn=lt(mn,_t),zn=lt(mn,_t,ht);Hn>Mn||Hn===Mn&&(!Ve||zn>=jr)?(Ne.current.bt=!0,Bn=_t,tr=-tr,Fn.points=[ye(Dn,0),ye(nn,0)]):Ne.current.bt=!1}if(ur&&Dn[0]==="b"&&(WnMn||me===Mn&&(!Ve||fe>=jr)?(Ne.current.tb=!0,Bn=Ke,tr=-tr,Fn.points=[ye(Dn,0),ye(nn,0)]):Ne.current.tb=!1}var Ee=In(Dt),ge=Dn[1]===nn[1];if(Ee&&Dn[1]==="l"&&(ar>Tn.right||Ne.current.rl)){var _e=mn;ge?_e-=rn-An:_e=De.x-Ue.x-fn;var it=lt(_e,Bn),It=lt(_e,Bn,ht);it>Mn||it===Mn&&(!Ve||It>=jr)?(Ne.current.rl=!0,mn=_e,fn=-fn,Fn.points=[ye(Dn,1),ye(nn,1)]):Ne.current.rl=!1}if(Ee&&Dn[1]==="r"&&(hrMn||Zt===Mn&&(!Ve||Pt>=jr)?(Ne.current.lr=!0,mn=Nt,fn=-fn,Fn.points=[ye(Dn,1),ye(nn,1)]):Ne.current.lr=!1}sn();var Cn=xn===!0?0:xn;typeof Cn=="number"&&(hrht.right&&(mn-=ar-ht.right-fn,Ct.x>ht.right-Cn&&(mn+=Ct.x-ht.right+Cn)));var yn=hn===!0?0:hn;typeof yn=="number"&&(Wnht.bottom&&(Bn-=Zn-ht.bottom-tr,Ct.y>ht.bottom-yn&&(Bn+=Ct.y-ht.bottom+yn)));var Gt=Et.x+mn,yt=Gt+rn,Mt=Et.y+Bn,Rt=Mt+pn,En=Ct.x,Xt=En+An,Ln=Ct.y,Nr=Ln+On,Sr=Math.max(Gt,En),Br=Math.min(yt,Xt),Tr=(Sr+Br)/2,la=Tr-Gt,Xr=Math.max(Mt,Ln),Qr=Math.min(Rt,Nr),cr=(Xr+Qr)/2,Ur=cr-Mt;J==null||J(U,Fn);var ea=Un.right-Et.x-(mn+Et.width),Lt=Un.bottom-Et.y-(Bn+Et.height);se({ready:!0,offsetX:mn/rr,offsetY:Bn/or,offsetR:ea/rr,offsetB:Lt/or,arrowX:la/rr,arrowY:Ur/or,scaleX:rr,scaleY:or,align:Fn})}}),xe=function(){pe.current+=1;var ke=pe.current;Promise.resolve().then(function(){pe.current===ke&&Ce()})},A=function(){se(function(ke){return(0,t.Z)((0,t.Z)({},ke),{},{ready:!1})})};return(0,m.Z)(A,[D]),(0,m.Z)(function(){le||A()},[le]),[V.ready,V.offsetX,V.offsetY,V.offsetR,V.offsetB,V.arrowX,V.arrowY,V.scaleX,V.scaleY,V.align,xe]}var Ie=e(74902);function Ze(le,U,M,D,K){(0,m.Z)(function(){if(le&&U&&M){let pe=function(){D(),K()};var k=U,J=M,ue=T(k),_=T(J),V=F(J),se=new Set([V].concat((0,Ie.Z)(ue),(0,Ie.Z)(_)));return se.forEach(function(de){de.addEventListener("scroll",pe,{passive:!0})}),V.addEventListener("resize",pe,{passive:!0}),D(),function(){se.forEach(function(de){de.removeEventListener("scroll",pe),V.removeEventListener("resize",pe)})}}},[le,U,M])}var ot=e(80334);function Je(le,U,M,D,K,k,J,ue){var _=b.useRef(le);_.current=le,b.useEffect(function(){if(U&&D&&(!K||k)){var V=function(A){var ie=A.target;_.current&&!J(ie)&&ue(!1)},se=F(D);se.addEventListener("mousedown",V,!0),se.addEventListener("contextmenu",V,!0);var pe=(0,f.A)(M);if(pe&&(pe.addEventListener("mousedown",V,!0),pe.addEventListener("contextmenu",V,!0)),!1)var de,Ne,st,Ce;return function(){se.removeEventListener("mousedown",V,!0),se.removeEventListener("contextmenu",V,!0),pe&&(pe.removeEventListener("mousedown",V,!0),pe.removeEventListener("contextmenu",V,!0))}}},[U,M,D,K,k])}var He=["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 qe(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a.Z,U=b.forwardRef(function(M,D){var K=M.prefixCls,k=K===void 0?"rc-trigger-popup":K,J=M.children,ue=M.action,_=ue===void 0?"hover":ue,V=M.showAction,se=M.hideAction,pe=M.popupVisible,de=M.defaultPopupVisible,Ne=M.onPopupVisibleChange,st=M.afterPopupVisibleChange,Ce=M.mouseEnterDelay,xe=M.mouseLeaveDelay,A=xe===void 0?.1:xe,ie=M.focusDelay,ke=M.blurDelay,Fe=M.mask,$e=M.maskClosable,we=$e===void 0?!0:$e,Pe=M.getPopupContainer,Ae=M.forceRender,We=M.autoDestroy,tt=M.destroyPopupOnHide,dt=M.popup,At=M.popupClassName,vt=M.popupStyle,qt=M.popupPlacement,kt=M.builtinPlacements,wt=kt===void 0?{}:kt,Kt=M.popupAlign,Ct=M.zIndex,Ge=M.stretch,Et=M.getPopupClassNameFromAlign,Ut=M.fresh,gt=M.alignPoint,cn=M.onPopupClick,Ft=M.onPopupAlign,en=M.arrow,Yt=M.popupMotion,dn=M.maskMotion,pn=M.popupTransitionName,rn=M.popupAnimation,On=M.maskTransitionName,An=M.maskAnimation,Jn=M.className,Rr=M.getTriggerDOMNode,er=(0,o.Z)(M,He),ct=We||tt||!1,et=b.useState(!1),Ve=(0,r.Z)(et,2),Jt=Ve[0],ht=Ve[1];(0,m.Z)(function(){ht((0,d.Z)())},[]);var un=b.useRef({}),Tn=b.useContext(te),Un=b.useMemo(function(){return{registerSubPopup:function(_r,Ma){un.current[_r]=Ma,Tn==null||Tn.registerSubPopup(_r,Ma)}}},[Tn]),rr=(0,y.Z)(),or=b.useState(null),fr=(0,r.Z)(or,2),ir=fr[0],gr=fr[1],sr=b.useRef(null),fn=(0,p.Z)(function(mr){sr.current=mr,(0,l.Sh)(mr)&&ir!==mr&&gr(mr),Tn==null||Tn.registerSubPopup(rr,mr)}),tr=b.useState(null),gn=(0,r.Z)(tr,2),an=gn[0],nt=gn[1],xt=b.useRef(null),Bt=(0,p.Z)(function(mr){(0,l.Sh)(mr)&&an!==mr&&(nt(mr),xt.current=mr)}),bt=b.Children.only(J),zt=(bt==null?void 0:bt.props)||{},Vt={},nn=(0,p.Z)(function(mr){var _r,Ma,za=an;return(za==null?void 0:za.contains(mr))||((_r=(0,f.A)(za))===null||_r===void 0?void 0:_r.host)===mr||mr===za||(ir==null?void 0:ir.contains(mr))||((Ma=(0,f.A)(ir))===null||Ma===void 0?void 0:Ma.host)===mr||mr===ir||Object.values(un.current).some(function(Ta){return(Ta==null?void 0:Ta.contains(mr))||mr===Ta})}),Dn=L(k,Yt,rn,pn),Yn=L(k,dn,An,On),kn=b.useState(de||!1),Fn=(0,r.Z)(kn,2),mn=Fn[0],Bn=Fn[1],Mn=pe!=null?pe:mn,jr=(0,p.Z)(function(mr){pe===void 0&&Bn(mr)});(0,m.Z)(function(){Bn(pe||!1)},[pe]);var De=b.useRef(Mn);De.current=Mn;var Te=b.useRef([]);Te.current=[];var Le=(0,p.Z)(function(mr){var _r;jr(mr),((_r=Te.current[Te.current.length-1])!==null&&_r!==void 0?_r:Mn)!==mr&&(Te.current.push(mr),Ne==null||Ne(mr))}),Ue=b.useRef(),rt=function(){clearTimeout(Ue.current)},Dt=function(_r){var Ma=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;rt(),Ma===0?Le(_r):Ue.current=setTimeout(function(){Le(_r)},Ma*1e3)};b.useEffect(function(){return rt},[]);var on=b.useState(!1),xn=(0,r.Z)(on,2),hn=xn[0],In=xn[1];(0,m.Z)(function(mr){(!mr||Mn)&&In(!0)},[Mn]);var Wn=b.useState(null),Zn=(0,r.Z)(Wn,2),hr=Zn[0],ar=Zn[1],ur=b.useState([0,0]),Tt=(0,r.Z)(ur,2),_t=Tt[0],Hn=Tt[1],zn=function(_r){Hn([_r.clientX,_r.clientY])},Ke=Re(Mn,ir,gt?_t:an,qt,wt,Kt,Ft),me=(0,r.Z)(Ke,11),fe=me[0],Ee=me[1],ge=me[2],_e=me[3],it=me[4],It=me[5],Nt=me[6],Zt=me[7],Pt=me[8],Cn=me[9],yn=me[10],Gt=B(Jt,_,V,se),yt=(0,r.Z)(Gt,2),Mt=yt[0],Rt=yt[1],En=Mt.has("click"),Xt=Rt.has("click")||Rt.has("contextMenu"),Ln=(0,p.Z)(function(){hn||yn()}),Nr=function(){De.current&>&&Xt&&Dt(!1)};Ze(Mn,an,ir,Ln,Nr),(0,m.Z)(function(){Ln()},[_t,qt]),(0,m.Z)(function(){Mn&&!(wt!=null&&wt[qt])&&Ln()},[JSON.stringify(Kt)]);var Sr=b.useMemo(function(){var mr=q(wt,k,Cn,gt);return c()(mr,Et==null?void 0:Et(Cn))},[Cn,Et,wt,k,gt]);b.useImperativeHandle(D,function(){return{nativeElement:xt.current,popupElement:sr.current,forceAlign:Ln}});var Br=b.useState(0),Tr=(0,r.Z)(Br,2),la=Tr[0],Xr=Tr[1],Qr=b.useState(0),cr=(0,r.Z)(Qr,2),Ur=cr[0],ea=cr[1],Lt=function(){if(Ge&&an){var _r=an.getBoundingClientRect();Xr(_r.width),ea(_r.height)}},lt=function(){Lt(),Ln()},sn=function(_r){In(!1),yn(),st==null||st(_r)},ln=function(){return new Promise(function(_r){Lt(),ar(function(){return _r})})};(0,m.Z)(function(){hr&&(yn(),hr(),ar(null))},[hr]);function pr(mr,_r,Ma,za){Vt[mr]=function(Ta){var Ra;za==null||za(Ta),Dt(_r,Ma);for(var ao=arguments.length,ho=new Array(ao>1?ao-1:0),Ja=1;Ja1?Ma-1:0),Ta=1;Ta1?Ma-1:0),Ta=1;Ta({background:Lt,border:`${(0,xe.bf)(ln.lineWidth)} ${ln.lineType} ${lt}`,[`${pr}-icon`]:{color:sn}}),Fe=Lt=>{const{componentCls:lt,motionDurationSlow:sn,marginXS:ln,marginSM:pr,fontSize:Ar,fontSizeLG:jn,lineHeight:wn,borderRadiusLG:bn,motionEaseInOutCirc:_n,withDescriptionIconSize:Or,colorText:$r,colorTextHeading:ua,withDescriptionPadding:Ea,defaultPadding:ha}=Lt;return{[lt]:Object.assign(Object.assign({},(0,A.Wf)(Lt)),{position:"relative",display:"flex",alignItems:"center",padding:ha,wordWrap:"break-word",borderRadius:bn,[`&${lt}-rtl`]:{direction:"rtl"},[`${lt}-content`]:{flex:1,minWidth:0},[`${lt}-icon`]:{marginInlineEnd:ln,lineHeight:0},["&-description"]:{display:"none",fontSize:Ar,lineHeight:wn},"&-message":{color:ua},[`&${lt}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${sn} ${_n}, opacity ${sn} ${_n}, +}`),B)}else(0,d.jL)(B);return function(){(0,d.jL)(B)}},[Y,B])}var O=!1;function j(Z){return typeof Z=="boolean"&&(O=Z),O}var E=function(Y){return Y===!1?!1:!(0,a.Z)()||!Y?null:typeof Y=="string"?document.querySelector(Y):typeof Y=="function"?Y():Y},$=r.forwardRef(function(Z,Y){var te=Z.open,ee=Z.autoLock,B=Z.getContainer,ne=Z.debug,Q=Z.autoDestroy,q=Q===void 0?!0:Q,L=Z.children,F=r.useState(te),T=(0,t.Z)(F,2),I=T[0],R=T[1],z=I||te;r.useEffect(function(){(q||te)&&R(te)},[te,q]);var ae=r.useState(function(){return E(B)}),X=(0,t.Z)(ae,2),G=X[0],ce=X[1];r.useEffect(function(){var U=E(B);ce(U!=null?U:null)});var ye=m(z&&!G,ne),Re=(0,t.Z)(ye,2),Ie=Re[0],Ze=Re[1],ot=G!=null?G:Ie;w(ee&&te&&(0,a.Z)()&&(ot===Ie||ot===document.body));var Je=null;if(L&&(0,c.Yr)(L)&&Y){var He=L;Je=He.ref}var qe=(0,c.x1)(Je,Y);if(!z||!(0,a.Z)()||G===void 0)return null;var Xe=ot===!1||j(),le=L;return Y&&(le=r.cloneElement(L,{ref:qe})),r.createElement(l.Provider,{value:Ze},Xe?le:(0,o.createPortal)(le,ot))}),N=$,oe=N},40228:function(v,g,e){"use strict";e.d(g,{Z:function(){return Xe}});var t=e(1413),r=e(97685),o=e(91),a=e(2788),s=e(93967),c=e.n(s),u=e(9220),l=e(34203),f=e(27571),p=e(66680),y=e(7028),m=e(8410),d=e(31131),b=e(67294),C=e(87462),S=e(82225),x=e(42550);function w(le){var U=le.prefixCls,M=le.align,D=le.arrow,K=le.arrowPos,k=D||{},J=k.className,ue=k.content,_=K.x,V=_===void 0?0:_,se=K.y,pe=se===void 0?0:se,de=b.useRef();if(!M||!M.points)return null;var Ne={position:"absolute"};if(M.autoArrow!==!1){var st=M.points[0],Ce=M.points[1],xe=st[0],A=st[1],ie=Ce[0],ke=Ce[1];xe===ie||!["t","b"].includes(xe)?Ne.top=pe:xe==="t"?Ne.top=0:Ne.bottom=0,A===ke||!["l","r"].includes(A)?Ne.left=V:A==="l"?Ne.left=0:Ne.right=0}return b.createElement("div",{ref:de,className:c()("".concat(U,"-arrow"),J),style:Ne},ue)}function O(le){var U=le.prefixCls,M=le.open,D=le.zIndex,K=le.mask,k=le.motion;return K?b.createElement(S.ZP,(0,C.Z)({},k,{motionAppear:!0,visible:M,removeOnLeave:!0}),function(J){var ue=J.className;return b.createElement("div",{style:{zIndex:D},className:c()("".concat(U,"-mask"),ue)})}):null}var j=b.memo(function(le){var U=le.children;return U},function(le,U){return U.cache}),E=j,$=b.forwardRef(function(le,U){var M=le.popup,D=le.className,K=le.prefixCls,k=le.style,J=le.target,ue=le.onVisibleChanged,_=le.open,V=le.keepDom,se=le.fresh,pe=le.onClick,de=le.mask,Ne=le.arrow,st=le.arrowPos,Ce=le.align,xe=le.motion,A=le.maskMotion,ie=le.forceRender,ke=le.getPopupContainer,Fe=le.autoDestroy,$e=le.portal,we=le.zIndex,Pe=le.onMouseEnter,Ae=le.onMouseLeave,We=le.onPointerEnter,tt=le.ready,dt=le.offsetX,At=le.offsetY,vt=le.offsetR,qt=le.offsetB,kt=le.onAlign,wt=le.onPrepare,Kt=le.stretch,Ct=le.targetWidth,Ge=le.targetHeight,Et=typeof M=="function"?M():M,Ut=_||V,gt=(ke==null?void 0:ke.length)>0,cn=b.useState(!ke||!gt),Ft=(0,r.Z)(cn,2),en=Ft[0],Yt=Ft[1];if((0,m.Z)(function(){!en&>&&J&&Yt(!0)},[en,gt,J]),!en)return null;var dn="auto",pn={left:"-1000vw",top:"-1000vh",right:dn,bottom:dn};if(tt||!_){var rn,On=Ce.points,An=Ce.dynamicInset||((rn=Ce._experimental)===null||rn===void 0?void 0:rn.dynamicInset),Jn=An&&On[0][1]==="r",Rr=An&&On[0][0]==="b";Jn?(pn.right=vt,pn.left=dn):(pn.left=dt,pn.right=dn),Rr?(pn.bottom=qt,pn.top=dn):(pn.top=At,pn.bottom=dn)}var er={};return Kt&&(Kt.includes("height")&&Ge?er.height=Ge:Kt.includes("minHeight")&&Ge&&(er.minHeight=Ge),Kt.includes("width")&&Ct?er.width=Ct:Kt.includes("minWidth")&&Ct&&(er.minWidth=Ct)),_||(er.pointerEvents="none"),b.createElement($e,{open:ie||Ut,getContainer:ke&&function(){return ke(J)},autoDestroy:Fe},b.createElement(O,{prefixCls:K,open:_,zIndex:we,mask:de,motion:A}),b.createElement(u.Z,{onResize:kt,disabled:!_},function(ct){return b.createElement(S.ZP,(0,C.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ie,leavedClassName:"".concat(K,"-hidden")},xe,{onAppearPrepare:wt,onEnterPrepare:wt,visible:_,onVisibleChanged:function(Ve){var Jt;xe==null||(Jt=xe.onVisibleChanged)===null||Jt===void 0||Jt.call(xe,Ve),ue(Ve)}}),function(et,Ve){var Jt=et.className,ht=et.style,un=c()(K,Jt,D);return b.createElement("div",{ref:(0,x.sQ)(ct,U,Ve),className:un,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(st.x||0,"px"),"--arrow-y":"".concat(st.y||0,"px")},pn),er),ht),{},{boxSizing:"border-box",zIndex:we},k),onMouseEnter:Pe,onMouseLeave:Ae,onPointerEnter:We,onClick:pe},Ne&&b.createElement(w,{prefixCls:K,arrow:Ne,arrowPos:st,align:Ce}),b.createElement(E,{cache:!_&&!se},Et))})}))}),N=$,oe=b.forwardRef(function(le,U){var M=le.children,D=le.getTriggerDOMNode,K=(0,x.Yr)(M),k=b.useCallback(function(ue){(0,x.mH)(U,D?D(ue):ue)},[D]),J=(0,x.x1)(k,M.ref);return K?b.cloneElement(M,{ref:J}):M}),Z=oe,Y=b.createContext(null),te=Y;function ee(le){return le?Array.isArray(le)?le:[le]:[]}function B(le,U,M,D){return b.useMemo(function(){var K=ee(M!=null?M:U),k=ee(D!=null?D:U),J=new Set(K),ue=new Set(k);return le&&(J.has("hover")&&(J.delete("hover"),J.add("click")),ue.has("hover")&&(ue.delete("hover"),ue.add("click"))),[J,ue]},[le,U,M,D])}var ne=e(5110);function Q(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],M=arguments.length>2?arguments[2]:void 0;return M?le[0]===U[0]:le[0]===U[0]&&le[1]===U[1]}function q(le,U,M,D){for(var K=M.points,k=Object.keys(le),J=0;J1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(le)?U:le}function R(le){return I(parseFloat(le),0)}function z(le,U){var M=(0,t.Z)({},le);return(U||[]).forEach(function(D){if(!(D instanceof HTMLBodyElement||D instanceof HTMLHtmlElement)){var K=F(D).getComputedStyle(D),k=K.overflow,J=K.overflowClipMargin,ue=K.borderTopWidth,_=K.borderBottomWidth,V=K.borderLeftWidth,se=K.borderRightWidth,pe=D.getBoundingClientRect(),de=D.offsetHeight,Ne=D.clientHeight,st=D.offsetWidth,Ce=D.clientWidth,xe=R(ue),A=R(_),ie=R(V),ke=R(se),Fe=I(Math.round(pe.width/st*1e3)/1e3),$e=I(Math.round(pe.height/de*1e3)/1e3),we=(st-Ce-ie-ke)*Fe,Pe=(de-Ne-xe-A)*$e,Ae=xe*$e,We=A*$e,tt=ie*Fe,dt=ke*Fe,At=0,vt=0;if(k==="clip"){var qt=R(J);At=qt*Fe,vt=qt*$e}var kt=pe.x+tt-At,wt=pe.y+Ae-vt,Kt=kt+pe.width+2*At-tt-dt-we,Ct=wt+pe.height+2*vt-Ae-We-Pe;M.left=Math.max(M.left,kt),M.top=Math.max(M.top,wt),M.right=Math.min(M.right,Kt),M.bottom=Math.min(M.bottom,Ct)}}),M}function ae(le){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,M="".concat(U),D=M.match(/^(.*)\%$/);return D?le*(parseFloat(D[1])/100):parseFloat(M)}function X(le,U){var M=U||[],D=(0,r.Z)(M,2),K=D[0],k=D[1];return[ae(le.width,K),ae(le.height,k)]}function G(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[le[0],le[1]]}function ce(le,U){var M=U[0],D=U[1],K,k;return M==="t"?k=le.y:M==="b"?k=le.y+le.height:k=le.y+le.height/2,D==="l"?K=le.x:D==="r"?K=le.x+le.width:K=le.x+le.width/2,{x:K,y:k}}function ye(le,U){var M={t:"b",b:"t",l:"r",r:"l"};return le.map(function(D,K){return K===U?M[D]||"c":D}).join("")}function Re(le,U,M,D,K,k,J){var ue=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:K[D]||{}}),_=(0,r.Z)(ue,2),V=_[0],se=_[1],pe=b.useRef(0),de=b.useMemo(function(){return U?T(U):[]},[U]),Ne=b.useRef({}),st=function(){Ne.current={}};le||st();var Ce=(0,p.Z)(function(){if(U&&M&&le){let lt=function(ln,pr){var Ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:un,jn=Et.x+ln,wn=Et.y+pr,bn=jn+rn,_n=wn+pn,Or=Math.max(jn,Ar.left),$r=Math.max(wn,Ar.top),ua=Math.min(bn,Ar.right),Ea=Math.min(_n,Ar.bottom);return Math.max(0,(ua-Or)*(Ea-$r))},sn=function(){Wn=Et.y+Bn,Zn=Wn+pn,hr=Et.x+mn,ar=hr+rn};var ie,ke,Fe=U,$e=Fe.ownerDocument,we=F(Fe),Pe=we.getComputedStyle(Fe),Ae=Pe.width,We=Pe.height,tt=Pe.position,dt=Fe.style.left,At=Fe.style.top,vt=Fe.style.right,qt=Fe.style.bottom,kt=Fe.style.overflow,wt=(0,t.Z)((0,t.Z)({},K[D]),k),Kt=$e.createElement("div");(ie=Fe.parentElement)===null||ie===void 0||ie.appendChild(Kt),Kt.style.left="".concat(Fe.offsetLeft,"px"),Kt.style.top="".concat(Fe.offsetTop,"px"),Kt.style.position=tt,Kt.style.height="".concat(Fe.offsetHeight,"px"),Kt.style.width="".concat(Fe.offsetWidth,"px"),Fe.style.left="0",Fe.style.top="0",Fe.style.right="auto",Fe.style.bottom="auto",Fe.style.overflow="hidden";var Ct;if(Array.isArray(M))Ct={x:M[0],y:M[1],width:0,height:0};else{var Ge=M.getBoundingClientRect();Ct={x:Ge.x,y:Ge.y,width:Ge.width,height:Ge.height}}var Et=Fe.getBoundingClientRect(),Ut=$e.documentElement,gt=Ut.clientWidth,cn=Ut.clientHeight,Ft=Ut.scrollWidth,en=Ut.scrollHeight,Yt=Ut.scrollTop,dn=Ut.scrollLeft,pn=Et.height,rn=Et.width,On=Ct.height,An=Ct.width,Jn={left:0,top:0,right:gt,bottom:cn},Rr={left:-dn,top:-Yt,right:Ft-dn,bottom:en-Yt},er=wt.htmlRegion,ct="visible",et="visibleFirst";er!=="scroll"&&er!==et&&(er=ct);var Ve=er===et,Jt=z(Rr,de),ht=z(Jn,de),un=er===ct?ht:Jt,Tn=Ve?ht:un;Fe.style.left="auto",Fe.style.top="auto",Fe.style.right="0",Fe.style.bottom="0";var Un=Fe.getBoundingClientRect();Fe.style.left=dt,Fe.style.top=At,Fe.style.right=vt,Fe.style.bottom=qt,Fe.style.overflow=kt,(ke=Fe.parentElement)===null||ke===void 0||ke.removeChild(Kt);var rr=I(Math.round(rn/parseFloat(Ae)*1e3)/1e3),or=I(Math.round(pn/parseFloat(We)*1e3)/1e3);if(rr===0||or===0||(0,l.Sh)(M)&&!(0,ne.Z)(M))return;var fr=wt.offset,ir=wt.targetOffset,gr=X(Et,fr),sr=(0,r.Z)(gr,2),fn=sr[0],tr=sr[1],gn=X(Ct,ir),an=(0,r.Z)(gn,2),nt=an[0],xt=an[1];Ct.x-=nt,Ct.y-=xt;var Bt=wt.points||[],bt=(0,r.Z)(Bt,2),zt=bt[0],Vt=bt[1],nn=G(Vt),Dn=G(zt),Gn=ce(Ct,nn),Vn=ce(Et,Dn),Fn=(0,t.Z)({},wt),mn=Gn.x-Vn.x+fn,Bn=Gn.y-Vn.y+tr,Mn=lt(mn,Bn),jr=lt(mn,Bn,ht),De=ce(Ct,["t","l"]),Te=ce(Et,["t","l"]),Le=ce(Ct,["b","r"]),Ue=ce(Et,["b","r"]),rt=wt.overflow||{},Dt=rt.adjustX,on=rt.adjustY,xn=rt.shiftX,hn=rt.shiftY,In=function(pr){return typeof pr=="boolean"?pr:pr>=0},Wn,Zn,hr,ar;sn();var ur=In(on),Tt=Dn[0]===nn[0];if(ur&&Dn[0]==="t"&&(Zn>Tn.bottom||Ne.current.bt)){var _t=Bn;Tt?_t-=pn-On:_t=De.y-Ue.y-tr;var Hn=lt(mn,_t),zn=lt(mn,_t,ht);Hn>Mn||Hn===Mn&&(!Ve||zn>=jr)?(Ne.current.bt=!0,Bn=_t,tr=-tr,Fn.points=[ye(Dn,0),ye(nn,0)]):Ne.current.bt=!1}if(ur&&Dn[0]==="b"&&(WnMn||me===Mn&&(!Ve||fe>=jr)?(Ne.current.tb=!0,Bn=Ke,tr=-tr,Fn.points=[ye(Dn,0),ye(nn,0)]):Ne.current.tb=!1}var Ee=In(Dt),ge=Dn[1]===nn[1];if(Ee&&Dn[1]==="l"&&(ar>Tn.right||Ne.current.rl)){var _e=mn;ge?_e-=rn-An:_e=De.x-Ue.x-fn;var it=lt(_e,Bn),It=lt(_e,Bn,ht);it>Mn||it===Mn&&(!Ve||It>=jr)?(Ne.current.rl=!0,mn=_e,fn=-fn,Fn.points=[ye(Dn,1),ye(nn,1)]):Ne.current.rl=!1}if(Ee&&Dn[1]==="r"&&(hrMn||Zt===Mn&&(!Ve||Pt>=jr)?(Ne.current.lr=!0,mn=Nt,fn=-fn,Fn.points=[ye(Dn,1),ye(nn,1)]):Ne.current.lr=!1}sn();var Cn=xn===!0?0:xn;typeof Cn=="number"&&(hrht.right&&(mn-=ar-ht.right-fn,Ct.x>ht.right-Cn&&(mn+=Ct.x-ht.right+Cn)));var yn=hn===!0?0:hn;typeof yn=="number"&&(Wnht.bottom&&(Bn-=Zn-ht.bottom-tr,Ct.y>ht.bottom-yn&&(Bn+=Ct.y-ht.bottom+yn)));var Gt=Et.x+mn,yt=Gt+rn,Mt=Et.y+Bn,Rt=Mt+pn,En=Ct.x,Xt=En+An,Ln=Ct.y,Nr=Ln+On,Sr=Math.max(Gt,En),Br=Math.min(yt,Xt),Tr=(Sr+Br)/2,la=Tr-Gt,Xr=Math.max(Mt,Ln),Qr=Math.min(Rt,Nr),cr=(Xr+Qr)/2,Ur=cr-Mt;J==null||J(U,Fn);var ea=Un.right-Et.x-(mn+Et.width),Lt=Un.bottom-Et.y-(Bn+Et.height);se({ready:!0,offsetX:mn/rr,offsetY:Bn/or,offsetR:ea/rr,offsetB:Lt/or,arrowX:la/rr,arrowY:Ur/or,scaleX:rr,scaleY:or,align:Fn})}}),xe=function(){pe.current+=1;var ke=pe.current;Promise.resolve().then(function(){pe.current===ke&&Ce()})},A=function(){se(function(ke){return(0,t.Z)((0,t.Z)({},ke),{},{ready:!1})})};return(0,m.Z)(A,[D]),(0,m.Z)(function(){le||A()},[le]),[V.ready,V.offsetX,V.offsetY,V.offsetR,V.offsetB,V.arrowX,V.arrowY,V.scaleX,V.scaleY,V.align,xe]}var Ie=e(74902);function Ze(le,U,M,D,K){(0,m.Z)(function(){if(le&&U&&M){let pe=function(){D(),K()};var k=U,J=M,ue=T(k),_=T(J),V=F(J),se=new Set([V].concat((0,Ie.Z)(ue),(0,Ie.Z)(_)));return se.forEach(function(de){de.addEventListener("scroll",pe,{passive:!0})}),V.addEventListener("resize",pe,{passive:!0}),D(),function(){se.forEach(function(de){de.removeEventListener("scroll",pe),V.removeEventListener("resize",pe)})}}},[le,U,M])}var ot=e(80334);function Je(le,U,M,D,K,k,J,ue){var _=b.useRef(le);_.current=le,b.useEffect(function(){if(U&&D&&(!K||k)){var V=function(A){var ie=A.target;_.current&&!J(ie)&&ue(!1)},se=F(D);se.addEventListener("mousedown",V,!0),se.addEventListener("contextmenu",V,!0);var pe=(0,f.A)(M);if(pe&&(pe.addEventListener("mousedown",V,!0),pe.addEventListener("contextmenu",V,!0)),!1)var de,Ne,st,Ce;return function(){se.removeEventListener("mousedown",V,!0),se.removeEventListener("contextmenu",V,!0),pe&&(pe.removeEventListener("mousedown",V,!0),pe.removeEventListener("contextmenu",V,!0))}}},[U,M,D,K,k])}var He=["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 qe(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a.Z,U=b.forwardRef(function(M,D){var K=M.prefixCls,k=K===void 0?"rc-trigger-popup":K,J=M.children,ue=M.action,_=ue===void 0?"hover":ue,V=M.showAction,se=M.hideAction,pe=M.popupVisible,de=M.defaultPopupVisible,Ne=M.onPopupVisibleChange,st=M.afterPopupVisibleChange,Ce=M.mouseEnterDelay,xe=M.mouseLeaveDelay,A=xe===void 0?.1:xe,ie=M.focusDelay,ke=M.blurDelay,Fe=M.mask,$e=M.maskClosable,we=$e===void 0?!0:$e,Pe=M.getPopupContainer,Ae=M.forceRender,We=M.autoDestroy,tt=M.destroyPopupOnHide,dt=M.popup,At=M.popupClassName,vt=M.popupStyle,qt=M.popupPlacement,kt=M.builtinPlacements,wt=kt===void 0?{}:kt,Kt=M.popupAlign,Ct=M.zIndex,Ge=M.stretch,Et=M.getPopupClassNameFromAlign,Ut=M.fresh,gt=M.alignPoint,cn=M.onPopupClick,Ft=M.onPopupAlign,en=M.arrow,Yt=M.popupMotion,dn=M.maskMotion,pn=M.popupTransitionName,rn=M.popupAnimation,On=M.maskTransitionName,An=M.maskAnimation,Jn=M.className,Rr=M.getTriggerDOMNode,er=(0,o.Z)(M,He),ct=We||tt||!1,et=b.useState(!1),Ve=(0,r.Z)(et,2),Jt=Ve[0],ht=Ve[1];(0,m.Z)(function(){ht((0,d.Z)())},[]);var un=b.useRef({}),Tn=b.useContext(te),Un=b.useMemo(function(){return{registerSubPopup:function(_r,Ma){un.current[_r]=Ma,Tn==null||Tn.registerSubPopup(_r,Ma)}}},[Tn]),rr=(0,y.Z)(),or=b.useState(null),fr=(0,r.Z)(or,2),ir=fr[0],gr=fr[1],sr=b.useRef(null),fn=(0,p.Z)(function(mr){sr.current=mr,(0,l.Sh)(mr)&&ir!==mr&&gr(mr),Tn==null||Tn.registerSubPopup(rr,mr)}),tr=b.useState(null),gn=(0,r.Z)(tr,2),an=gn[0],nt=gn[1],xt=b.useRef(null),Bt=(0,p.Z)(function(mr){(0,l.Sh)(mr)&&an!==mr&&(nt(mr),xt.current=mr)}),bt=b.Children.only(J),zt=(bt==null?void 0:bt.props)||{},Vt={},nn=(0,p.Z)(function(mr){var _r,Ma,za=an;return(za==null?void 0:za.contains(mr))||((_r=(0,f.A)(za))===null||_r===void 0?void 0:_r.host)===mr||mr===za||(ir==null?void 0:ir.contains(mr))||((Ma=(0,f.A)(ir))===null||Ma===void 0?void 0:Ma.host)===mr||mr===ir||Object.values(un.current).some(function(Ta){return(Ta==null?void 0:Ta.contains(mr))||mr===Ta})}),Dn=L(k,Yt,rn,pn),Gn=L(k,dn,An,On),Vn=b.useState(de||!1),Fn=(0,r.Z)(Vn,2),mn=Fn[0],Bn=Fn[1],Mn=pe!=null?pe:mn,jr=(0,p.Z)(function(mr){pe===void 0&&Bn(mr)});(0,m.Z)(function(){Bn(pe||!1)},[pe]);var De=b.useRef(Mn);De.current=Mn;var Te=b.useRef([]);Te.current=[];var Le=(0,p.Z)(function(mr){var _r;jr(mr),((_r=Te.current[Te.current.length-1])!==null&&_r!==void 0?_r:Mn)!==mr&&(Te.current.push(mr),Ne==null||Ne(mr))}),Ue=b.useRef(),rt=function(){clearTimeout(Ue.current)},Dt=function(_r){var Ma=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;rt(),Ma===0?Le(_r):Ue.current=setTimeout(function(){Le(_r)},Ma*1e3)};b.useEffect(function(){return rt},[]);var on=b.useState(!1),xn=(0,r.Z)(on,2),hn=xn[0],In=xn[1];(0,m.Z)(function(mr){(!mr||Mn)&&In(!0)},[Mn]);var Wn=b.useState(null),Zn=(0,r.Z)(Wn,2),hr=Zn[0],ar=Zn[1],ur=b.useState([0,0]),Tt=(0,r.Z)(ur,2),_t=Tt[0],Hn=Tt[1],zn=function(_r){Hn([_r.clientX,_r.clientY])},Ke=Re(Mn,ir,gt?_t:an,qt,wt,Kt,Ft),me=(0,r.Z)(Ke,11),fe=me[0],Ee=me[1],ge=me[2],_e=me[3],it=me[4],It=me[5],Nt=me[6],Zt=me[7],Pt=me[8],Cn=me[9],yn=me[10],Gt=B(Jt,_,V,se),yt=(0,r.Z)(Gt,2),Mt=yt[0],Rt=yt[1],En=Mt.has("click"),Xt=Rt.has("click")||Rt.has("contextMenu"),Ln=(0,p.Z)(function(){hn||yn()}),Nr=function(){De.current&>&&Xt&&Dt(!1)};Ze(Mn,an,ir,Ln,Nr),(0,m.Z)(function(){Ln()},[_t,qt]),(0,m.Z)(function(){Mn&&!(wt!=null&&wt[qt])&&Ln()},[JSON.stringify(Kt)]);var Sr=b.useMemo(function(){var mr=q(wt,k,Cn,gt);return c()(mr,Et==null?void 0:Et(Cn))},[Cn,Et,wt,k,gt]);b.useImperativeHandle(D,function(){return{nativeElement:xt.current,popupElement:sr.current,forceAlign:Ln}});var Br=b.useState(0),Tr=(0,r.Z)(Br,2),la=Tr[0],Xr=Tr[1],Qr=b.useState(0),cr=(0,r.Z)(Qr,2),Ur=cr[0],ea=cr[1],Lt=function(){if(Ge&&an){var _r=an.getBoundingClientRect();Xr(_r.width),ea(_r.height)}},lt=function(){Lt(),Ln()},sn=function(_r){In(!1),yn(),st==null||st(_r)},ln=function(){return new Promise(function(_r){Lt(),ar(function(){return _r})})};(0,m.Z)(function(){hr&&(yn(),hr(),ar(null))},[hr]);function pr(mr,_r,Ma,za){Vt[mr]=function(Ta){var Ra;za==null||za(Ta),Dt(_r,Ma);for(var ao=arguments.length,ho=new Array(ao>1?ao-1:0),Ja=1;Ja1?Ma-1:0),Ta=1;Ta1?Ma-1:0),Ta=1;Ta({background:Lt,border:`${(0,xe.bf)(ln.lineWidth)} ${ln.lineType} ${lt}`,[`${pr}-icon`]:{color:sn}}),Fe=Lt=>{const{componentCls:lt,motionDurationSlow:sn,marginXS:ln,marginSM:pr,fontSize:Ar,fontSizeLG:jn,lineHeight:wn,borderRadiusLG:bn,motionEaseInOutCirc:_n,withDescriptionIconSize:Or,colorText:$r,colorTextHeading:ua,withDescriptionPadding:Ea,defaultPadding:ha}=Lt;return{[lt]:Object.assign(Object.assign({},(0,A.Wf)(Lt)),{position:"relative",display:"flex",alignItems:"center",padding:ha,wordWrap:"break-word",borderRadius:bn,[`&${lt}-rtl`]:{direction:"rtl"},[`${lt}-content`]:{flex:1,minWidth:0},[`${lt}-icon`]:{marginInlineEnd:ln,lineHeight:0},["&-description"]:{display:"none",fontSize:Ar,lineHeight:wn},"&-message":{color:ua},[`&${lt}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${sn} ${_n}, opacity ${sn} ${_n}, padding-top ${sn} ${_n}, padding-bottom ${sn} ${_n}, - margin-bottom ${sn} ${_n}`},[`&${lt}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${lt}-with-description`]:{alignItems:"flex-start",padding:Ea,[`${lt}-icon`]:{marginInlineEnd:pr,fontSize:Or,lineHeight:0},[`${lt}-message`]:{display:"block",marginBottom:ln,color:ua,fontSize:jn},[`${lt}-description`]:{display:"block",color:$r}},[`${lt}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},$e=Lt=>{const{componentCls:lt,colorSuccess:sn,colorSuccessBorder:ln,colorSuccessBg:pr,colorWarning:Ar,colorWarningBorder:jn,colorWarningBg:wn,colorError:bn,colorErrorBorder:_n,colorErrorBg:Or,colorInfo:$r,colorInfoBorder:ua,colorInfoBg:Ea}=Lt;return{[lt]:{"&-success":ke(pr,ln,sn,Lt,lt),"&-info":ke(Ea,ua,$r,Lt,lt),"&-warning":ke(wn,jn,Ar,Lt,lt),"&-error":Object.assign(Object.assign({},ke(Or,_n,bn,Lt,lt)),{[`${lt}-description > pre`]:{margin:0,padding:0}})}}},we=Lt=>{const{componentCls:lt,iconCls:sn,motionDurationMid:ln,marginXS:pr,fontSizeIcon:Ar,colorIcon:jn,colorIconHover:wn}=Lt;return{[lt]:{["&-action"]:{marginInlineStart:pr},[`${lt}-close-icon`]:{marginInlineStart:pr,padding:0,overflow:"hidden",fontSize:Ar,lineHeight:(0,xe.bf)(Ar),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${sn}-close`]:{color:jn,transition:`color ${ln}`,"&:hover":{color:wn}}},"&-close-text":{color:jn,transition:`color ${ln}`,"&:hover":{color:wn}}}}},Pe=Lt=>({withDescriptionIconSize:Lt.fontSizeHeading3,defaultPadding:`${Lt.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${Lt.paddingMD}px ${Lt.paddingContentHorizontalLG}px`});var Ae=(0,ie.I$)("Alert",Lt=>[Fe(Lt),$e(Lt),we(Lt)],Pe),We=function(Lt,lt){var sn={};for(var ln in Lt)Object.prototype.hasOwnProperty.call(Lt,ln)&<.indexOf(ln)<0&&(sn[ln]=Lt[ln]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,ln=Object.getOwnPropertySymbols(Lt);pr{const{icon:lt,prefixCls:sn,type:ln}=Lt,pr=tt[ln]||null;return lt?(0,st.wm)(lt,S.createElement("span",{className:`${sn}-icon`},lt),()=>({className:se()(`${sn}-icon`,{[lt.props.className]:lt.props.className})})):S.createElement(pr,{className:`${sn}-icon`})},At=Lt=>{const{isClosable:lt,prefixCls:sn,closeIcon:ln,handleClose:pr,ariaProps:Ar}=Lt,jn=ln===!0||ln===void 0?S.createElement(J.Z,null):ln;return lt?S.createElement("button",Object.assign({type:"button",onClick:pr,className:`${sn}-close-icon`,tabIndex:0},Ar),jn):null};var qt=S.forwardRef((Lt,lt)=>{const{description:sn,prefixCls:ln,message:pr,banner:Ar,className:jn,rootClassName:wn,style:bn,onMouseEnter:_n,onMouseLeave:Or,onClick:$r,afterClose:ua,showIcon:Ea,closable:ha,closeText:mr,closeIcon:_r,action:Ma,id:za}=Lt,Ta=We(Lt,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[Ra,ao]=S.useState(!1),ho=S.useRef(null);S.useImperativeHandle(lt,()=>({nativeElement:ho.current}));const{getPrefixCls:Ja,direction:Go,alert:Pa}=S.useContext(Ce.E_),Xa=Ja("alert",ln),[ti,Uo,Lo]=Ae(Xa),Qe=nr=>{var Ir;ao(!0),(Ir=Lt.onClose)===null||Ir===void 0||Ir.call(Lt,nr)},mt=S.useMemo(()=>Lt.type!==void 0?Lt.type:Ar?"warning":"info",[Lt.type,Ar]),pt=S.useMemo(()=>typeof ha=="object"&&ha.closeIcon||mr?!0:typeof ha=="boolean"?ha:_r!==!1&&_r!==null&&_r!==void 0?!0:!!(Pa!=null&&Pa.closable),[mr,_r,ha,Pa==null?void 0:Pa.closable]),$t=Ar&&Ea===void 0?!0:Ea,tn=se()(Xa,`${Xa}-${mt}`,{[`${Xa}-with-description`]:!!sn,[`${Xa}-no-icon`]:!$t,[`${Xa}-banner`]:!!Ar,[`${Xa}-rtl`]:Go==="rtl"},Pa==null?void 0:Pa.className,jn,wn,Lo,Uo),Nn=(0,Ne.Z)(Ta,{aria:!0,data:!0}),vr=S.useMemo(()=>{var nr,Ir;return typeof ha=="object"&&ha.closeIcon?ha.closeIcon:mr||(_r!==void 0?_r:typeof(Pa==null?void 0:Pa.closable)=="object"&&(!((nr=Pa==null?void 0:Pa.closable)===null||nr===void 0)&&nr.closeIcon)?(Ir=Pa==null?void 0:Pa.closable)===null||Ir===void 0?void 0:Ir.closeIcon:Pa==null?void 0:Pa.closeIcon)},[_r,ha,mr,Pa==null?void 0:Pa.closeIcon]),br=S.useMemo(()=>{const nr=ha!=null?ha:Pa==null?void 0:Pa.closable;if(typeof nr=="object"){const{closeIcon:Ir}=nr;return We(nr,["closeIcon"])}return{}},[ha,Pa==null?void 0:Pa.closable]);return ti(S.createElement(pe.ZP,{visible:!Ra,motionName:`${Xa}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:nr=>({maxHeight:nr.offsetHeight}),onLeaveEnd:ua},(nr,Ir)=>{let{className:Er,style:yr}=nr;return S.createElement("div",Object.assign({id:za,ref:(0,de.sQ)(ho,Ir),"data-show":!Ra,className:se()(tn,Er),style:Object.assign(Object.assign(Object.assign({},Pa==null?void 0:Pa.style),bn),yr),onMouseEnter:_n,onMouseLeave:Or,onClick:$r,role:"alert"},Nn),$t?S.createElement(dt,{description:sn,icon:Lt.icon,prefixCls:Xa,type:mt}):null,S.createElement("div",{className:`${Xa}-content`},pr?S.createElement("div",{className:`${Xa}-message`},pr):null,sn?S.createElement("div",{className:`${Xa}-description`},sn):null),Ma?S.createElement("div",{className:`${Xa}-action`},Ma):null,S.createElement(At,{isClosable:pt,prefixCls:Xa,closeIcon:vr,handleClose:Qe,ariaProps:br}))}))}),kt=e(15671),wt=e(43144),Kt=e(53640),Ct=e(60136),Et=function(Lt){function lt(){var sn;return(0,kt.Z)(this,lt),sn=(0,Kt.Z)(this,lt,arguments),sn.state={error:void 0,info:{componentStack:""}},sn}return(0,Ct.Z)(lt,Lt),(0,wt.Z)(lt,[{key:"componentDidCatch",value:function(ln,pr){this.setState({error:ln,info:pr})}},{key:"render",value:function(){const{message:ln,description:pr,id:Ar,children:jn}=this.props,{error:wn,info:bn}=this.state,_n=bn&&bn.componentStack?bn.componentStack:null,Or=typeof ln=="undefined"?(wn||"").toString():ln,$r=typeof pr=="undefined"?_n:pr;return wn?S.createElement(qt,{id:Ar,type:"error",message:Or,description:S.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},$r)}):jn}}])}(S.Component);const Ut=qt;Ut.ErrorBoundary=Et;var gt=Ut,cn=e(14726),Ft=e(2453),en=e(97435),Yt=e(21770),dn=e(14192),pn=e(52676),rn=e(62812),On=e(32857),An=function(lt,sn){return S.createElement(ee.Z,(0,Y.Z)({},lt,{ref:sn,icon:On.Z}))},Jn=S.forwardRef(An),Rr=Jn,er=e(83062),ct=e(85893),et=function(lt){var sn=lt.value,ln=lt.configType,pr=lt.onChange,Ar=lt.list,jn=lt.prefixCls,wn=lt.hashId,bn="".concat(jn,"-block-checkbox"),_n=(0,S.useMemo)(function(){var Or=(Ar||[]).map(function($r){return(0,ct.jsx)(er.Z,{title:$r.title,children:(0,ct.jsxs)("div",{className:se()(wn,"".concat(bn,"-item"),"".concat(bn,"-item-").concat($r.key),"".concat(bn,"-").concat(ln,"-item")),onClick:function(){return pr($r.key)},children:[(0,ct.jsx)(Rr,{className:"".concat(bn,"-selectIcon ").concat(wn).trim(),style:{display:sn===$r.key?"block":"none"}}),$r!=null&&$r.icon?(0,ct.jsx)("div",{className:"".concat(bn,"-icon ").concat(wn).trim(),children:$r.icon}):null]})},$r.key)});return Or},[sn,Ar==null?void 0:Ar.length,pr]);return(0,ct.jsx)("div",{className:se()(bn,wn),children:_n})},Ve=e(34041),Jt=function(lt){var sn=S.cloneElement(lt.action,{disabled:lt.disabled});return(0,ct.jsx)(er.Z,{title:lt.disabled?lt.disabledReason:"",placement:"left",children:(0,ct.jsx)(M.Z.Item,{actions:[sn],children:(0,ct.jsx)("span",{style:{opacity:lt.disabled?.5:1},children:lt.title})})})},ht=function(lt){var sn=lt.settings,ln=lt.prefixCls,pr=lt.changeSetting,Ar=lt.hashId,jn=nt(),wn=sn||dn.h,bn=wn.contentWidth,_n=wn.splitMenus,Or=wn.fixedHeader,$r=wn.layout,ua=wn.fixSiderbar;return(0,ct.jsx)(M.Z,{className:"".concat(ln,"-list ").concat(Ar).trim(),split:!1,dataSource:[{title:jn({id:"app.setting.content-width",defaultMessage:"Content Width"}),action:(0,ct.jsxs)(Ve.Z,{value:bn||"Fixed",size:"small",className:"content-width ".concat(Ar).trim(),onSelect:function(ha){pr("contentWidth",ha)},style:{width:80},children:[$r==="side"?null:(0,ct.jsx)(Ve.Z.Option,{value:"Fixed",children:jn({id:"app.setting.content-width.fixed",defaultMessage:"Fixed"})}),(0,ct.jsx)(Ve.Z.Option,{value:"Fluid",children:jn({id:"app.setting.content-width.fluid",defaultMessage:"Fluid"})})]})},{title:jn({id:"app.setting.fixedheader",defaultMessage:"Fixed Header"}),action:(0,ct.jsx)(D.Z,{size:"small",className:"fixed-header",checked:!!Or,onChange:function(ha){pr("fixedHeader",ha)}})},{title:jn({id:"app.setting.fixedsidebar",defaultMessage:"Fixed Sidebar"}),disabled:$r==="top",disabledReason:jn({id:"app.setting.fixedsidebar.hint",defaultMessage:"Works on Side Menu Layout"}),action:(0,ct.jsx)(D.Z,{size:"small",className:"fix-siderbar",checked:!!ua,onChange:function(ha){return pr("fixSiderbar",ha)}})},{title:jn({id:"app.setting.splitMenus"}),disabled:$r!=="mix",action:(0,ct.jsx)(D.Z,{size:"small",checked:!!_n,className:"split-menus",onChange:function(ha){pr("splitMenus",ha)}})}],renderItem:Jt})},un=function(lt){var sn=lt.settings,ln=lt.prefixCls,pr=lt.changeSetting,Ar=lt.hashId,jn=nt(),wn=["header","footer","menu","menuHeader"];return(0,ct.jsx)(M.Z,{className:"".concat(ln,"-list ").concat(Ar).trim(),split:!1,renderItem:Jt,dataSource:wn.map(function(bn){return{title:jn({id:"app.setting.regionalsettings.".concat(bn)}),action:(0,ct.jsx)(D.Z,{size:"small",className:"regional-".concat(bn," ").concat(Ar).trim(),checked:sn["".concat(bn,"Render")]||sn["".concat(bn,"Render")]===void 0,onChange:function(Or){return pr("".concat(bn,"Render"),Or===!0?void 0:!1)}})}})})},Tn=e(91),Un=["color","check"],rr=S.forwardRef(function(Lt,lt){var sn=Lt.color,ln=Lt.check,pr=(0,Tn.Z)(Lt,Un);return(0,ct.jsx)("div",(0,C.Z)((0,C.Z)({},pr),{},{style:{backgroundColor:sn},ref:lt,children:ln?(0,ct.jsx)(Rr,{}):""}))}),or=function(lt){var sn=lt.value,ln=lt.colorList,pr=lt.onChange,Ar=lt.prefixCls,jn=lt.formatMessage,wn=lt.hashId;if(!ln||(ln==null?void 0:ln.length)<1)return null;var bn="".concat(Ar,"-theme-color");return(0,ct.jsx)("div",{className:"".concat(bn," ").concat(wn).trim(),children:ln==null?void 0:ln.map(function(_n){var Or=_n.key,$r=_n.color,ua=_n.title;return Or?(0,ct.jsx)(er.Z,{title:ua!=null?ua:jn({id:"app.setting.themecolor.".concat(Or)}),children:(0,ct.jsx)(rr,{className:"".concat(bn,"-block ").concat(wn).trim(),color:$r,check:sn===$r,onClick:function(){return pr&&pr($r)}})},$r):null})})};function fr(){return(0,ct.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,ct.jsxs)("defs",{children:[(0,ct.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,ct.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,ct.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,ct.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,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,ct.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,ct.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,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,ct.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,ct.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,ct.jsxs)("feMerge",{children:[(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,ct.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,ct.jsxs)("g",{children:[(0,ct.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,ct.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,ct.jsx)("path",{fill:"#FFF",d:"M25 15h65v47c0 5.523-4.477 10-10 10H25V15z"}),(0,ct.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M0.5 15.5L90.5 15.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"4",y:"26",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"32",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"42",fill:"#E6EAF0",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"21",fill:"#E6EAF0",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"53",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"4",y:"47",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M25.5 15.5L25.5 72.5"})]})]})}function ir(){return(0,ct.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,ct.jsxs)("defs",{children:[(0,ct.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,ct.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,ct.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,ct.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,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,ct.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,ct.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,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,ct.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,ct.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,ct.jsxs)("feMerge",{children:[(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,ct.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,ct.jsxs)("g",{children:[(0,ct.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,ct.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,ct.jsx)("path",{fill:"#FFF",d:"M26 0h55c5.523 0 10 4.477 10 10v8H26V0z"}),(0,ct.jsx)("path",{fill:"#001529",d:"M10 0h19v72H10C4.477 72 0 67.523 0 62V10C0 4.477 4.477 0 10 0z"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"5",y:"18",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"5",y:"42",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"9",y:"24",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"9",y:"48",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"9",y:"36",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"9",y:"30",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"9",y:"54",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"})]})]})}var gr=e(4942),sr=e(98082),fn=function(lt){return(0,gr.Z)((0,gr.Z)({},"".concat(lt.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:lt.colorPrimary,borderEndStartRadius:lt.borderRadiusLG,borderStartStartRadius:lt.borderRadiusLG,"-webkit-backdropilter":"saturate(180%) blur(20px)",backdropFilter:"saturate(180%) blur(20px)",cursor:"pointer",pointerEvents:"auto"}),lt.componentCls,{"&-content":{position:"relative",minHeight:"100%",color:lt.colorText},"&-body-title":{marginBlock:lt.marginXS,fontSize:"14px",lineHeight:"22px",color:lt.colorTextHeading},"&-block-checkbox":{display:"flex",minHeight:42,gap:lt.marginSM,"& &-item":{position:"relative",width:"44px",height:"36px",overflow:"hidden",borderRadius:"4px",boxShadow:lt.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:lt.colorBgElevated,"&::before":{zIndex:"1",backgroundColor:"#001529"},"&::after":{backgroundColor:lt.colorBgContainer}},"&-top":{backgroundColor:lt.colorBgElevated,"&::before":{backgroundColor:"transparent"},"&::after":{backgroundColor:"#001529"}},"&-mix":{backgroundColor:lt.colorBgElevated,"&::before":{backgroundColor:lt.colorBgContainer},"&::after":{backgroundColor:"#001529"}}},"& &-selectIcon":{position:"absolute",insetInlineEnd:"6px",bottom:"4px",color:lt.colorPrimary,fontWeight:"bold",fontSize:"14px",pointerEvents:"none",".action":{color:lt.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,gr.Z)({},"li".concat(lt.antCls,"-list-item"),{paddingInline:0,paddingBlock:8})})};function tr(Lt){return(0,sr.Xj)("ProLayoutSettingDrawer",function(lt){var sn=(0,C.Z)((0,C.Z)({},lt),{},{componentCls:".".concat(Lt)});return[fn(sn)]})}var gn=function(lt){var sn=lt.children,ln=lt.hashId,pr=lt.prefixCls,Ar=lt.title;return(0,ct.jsxs)("div",{style:{marginBlockEnd:12},children:[(0,ct.jsx)("h3",{className:"".concat(pr,"-body-title ").concat(ln).trim(),children:Ar}),sn]})},an=function(lt){var sn={};return Object.keys(lt).forEach(function(ln){lt[ln]!==dn.h[ln]&&ln!=="collapse"?sn[ln]=lt[ln]:sn[ln]=void 0,ln.includes("Render")&&(sn[ln]=lt[ln]===!1?!1:void 0)}),sn.menu=void 0,sn},nt=function(){var lt=function(ln){var pr=ln.id,Ar=(0,pn.e)();return Ar[pr]};return lt},xt=function(lt,sn,ln){if((0,Ie.j)()){var pr={};Object.keys(lt).forEach(function(jn){if(dn.h[jn]||dn.h[jn]===void 0){if(jn==="colorPrimary"){pr[jn]=(0,rn.tV)(lt[jn]);return}pr[jn]=lt[jn]}});var Ar=(0,Ze.T)({},sn,pr);delete Ar.menu,delete Ar.title,delete Ar.iconfontUrl,ln==null||ln(Ar)}},Bt=function(lt,sn){return(0,Ie.j)()?(0,C.Z)((0,C.Z)((0,C.Z)({},dn.h),sn||{}),lt):dn.h},bt=function(lt){return JSON.stringify((0,en.Z)((0,C.Z)((0,C.Z)({},lt),{},{colorPrimary:lt.colorPrimary}),["colorWeak"]),null,2)},zt=function(lt){var sn=lt.defaultSettings,ln=sn===void 0?void 0:sn,pr=lt.settings,Ar=pr===void 0?void 0:pr,jn=lt.hideHintAlert,wn=lt.hideCopyButton,bn=lt.colorList,_n=bn===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"}]:bn,Or=lt.getContainer,$r=lt.onSettingChange,ua=lt.enableDarkTheme,Ea=lt.prefixCls,ha=Ea===void 0?"ant-pro":Ea,mr=lt.pathname,_r=mr===void 0?window.location.pathname:mr,Ma=lt.disableUrlParams,za=Ma===void 0?!0:Ma,Ta=lt.themeOnly,Ra=(0,S.useRef)(!0),ao=(0,Yt.Z)(!1,{value:lt.collapse,onChange:lt.onCollapseChange}),ho=(0,Z.Z)(ao,2),Ja=ho[0],Go=ho[1],Pa=(0,S.useState)((0,pn.G)()),Xa=(0,Z.Z)(Pa,2),ti=Xa[0],Uo=Xa[1],Lo=(0,He.l)({},{disabled:za}),Qe=(0,Z.Z)(Lo,2),mt=Qe[0],pt=Qe[1],$t=(0,Yt.Z)(function(){return Bt(mt,Ar||ln)},{value:Ar,onChange:$r}),tn=(0,Z.Z)($t,2),Nn=tn[0],vr=tn[1],br=Nn||{},nr=br.navTheme,Ir=br.colorPrimary,Er=br.siderMenuType,yr=br.layout,Xn=br.colorWeak;(0,S.useEffect)(function(){var qr=function(){ti!==(0,pn.G)()&&Uo((0,pn.G)())};return(0,Ie.j)()?(xt(Bt(mt,Ar),Nn,vr),window.document.addEventListener("languagechange",qr,{passive:!0}),function(){return window.document.removeEventListener("languagechange",qr)}):function(){return null}},[]),(0,S.useEffect)(function(){(0,ot.n)(qe.Z,"5.0.0")<0&&Xe.ZP.config({theme:{primaryColor:Nn.colorPrimary}})},[Nn.colorPrimary,Nn.navTheme]);var Kr=function(Hr,Vr){var ia={};if(ia[Hr]=Vr,Hr==="layout"&&(ia.contentWidth=Vr==="top"?"Fixed":"Fluid"),Hr==="layout"&&Vr!=="mix"&&(ia.splitMenus=!1),Hr==="layout"&&Vr==="mix"&&(ia.navTheme="light"),Hr==="colorWeak"&&Vr===!0){var ja=document.querySelector("body");ja&&(ja.dataset.prosettingdrawer=ja.style.filter,ja.style.filter="invert(80%)")}if(Hr==="colorWeak"&&Vr===!1){var Ka=document.querySelector("body");Ka&&(Ka.style.filter=Ka.dataset.prosettingdrawer||"none",delete Ka.dataset.prosettingdrawer)}delete ia.menu,delete ia.title,delete ia.iconfontUrl,delete ia.logo,delete ia.pwa,vr((0,C.Z)((0,C.Z)({},Nn),ia))},ta=nt();(0,S.useEffect)(function(){if((0,Ie.j)()&&!za){if(Ra.current){Ra.current=!1;return}var qr=new URLSearchParams(window.location.search),Hr=Object.fromEntries(qr.entries()),Vr=an((0,C.Z)((0,C.Z)({},Hr),Nn));delete Vr.logo,delete Vr.menu,delete Vr.title,delete Vr.iconfontUrl,delete Vr.pwa,pt(Vr)}},[pt,Nn,mt,_r,za]);var xr="".concat(ha,"-setting-drawer"),Jr=tr(xr),oa=Jr.wrapSSR,kr=Jr.hashId,ca=(0,Je.X)(Ja);return oa((0,ct.jsxs)(ct.Fragment,{children:[(0,ct.jsx)("div",{className:"".concat(xr,"-handle ").concat(kr).trim(),onClick:function(){return Go(!Ja)},style:{width:48,height:48},children:Ja?(0,ct.jsx)(Q,{style:{color:"#fff",fontSize:20}}):(0,ct.jsx)(T,{style:{color:"#fff",fontSize:20}})}),(0,ct.jsx)(le.Z,(0,C.Z)((0,C.Z)({},ca),{},{width:300,onClose:function(){return Go(!1)},closable:!1,placement:"right",getContainer:Or,style:{zIndex:999},children:(0,ct.jsxs)("div",{className:"".concat(xr,"-drawer-content ").concat(kr).trim(),children:[(0,ct.jsx)(gn,{title:ta({id:"app.setting.pagestyle",defaultMessage:"Page style setting"}),hashId:kr,prefixCls:xr,children:(0,ct.jsx)(et,{hashId:kr,prefixCls:xr,list:[{key:"light",title:ta({id:"app.setting.pagestyle.light",defaultMessage:"\u4EAE\u8272\u83DC\u5355\u98CE\u683C"})},{key:"realDark",title:ta({id:"app.setting.pagestyle.realdark",defaultMessage:"\u6697\u8272\u83DC\u5355\u98CE\u683C"})}].filter(function(qr){return!(qr.key==="dark"&&Nn.layout==="mix"||qr.key==="realDark"&&!ua)}),value:nr,configType:"theme",onChange:function(Hr){return Kr("navTheme",Hr)}},"navTheme")}),_n!==!1&&(0,ct.jsx)(gn,{hashId:kr,title:ta({id:"app.setting.themecolor",defaultMessage:"Theme color"}),prefixCls:xr,children:(0,ct.jsx)(or,{hashId:kr,prefixCls:xr,colorList:_n,value:(0,rn.tV)(Ir),formatMessage:ta,onChange:function(Hr){return Kr("colorPrimary",Hr)}})}),!Ta&&(0,ct.jsxs)(ct.Fragment,{children:[(0,ct.jsx)(U.Z,{}),(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.navigationmode"}),children:(0,ct.jsx)(et,{prefixCls:xr,value:yr,hashId:kr,configType:"layout",list:[{key:"side",title:ta({id:"app.setting.sidemenu"})},{key:"top",title:ta({id:"app.setting.topmenu"})},{key:"mix",title:ta({id:"app.setting.mixmenu"})}],onChange:function(Hr){return Kr("layout",Hr)}},"layout")}),Nn.layout=="side"||Nn.layout=="mix"?(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.sidermenutype"}),children:(0,ct.jsx)(et,{prefixCls:xr,value:Er,hashId:kr,configType:"siderMenuType",list:[{key:"sub",icon:(0,ct.jsx)(ir,{}),title:ta({id:"app.setting.sidermenutype-sub"})},{key:"group",icon:(0,ct.jsx)(fr,{}),title:ta({id:"app.setting.sidermenutype-group"})}],onChange:function(Hr){return Kr("siderMenuType",Hr)}},"siderMenuType")}):null,(0,ct.jsx)(ht,{prefixCls:xr,hashId:kr,settings:Nn,changeSetting:Kr}),(0,ct.jsx)(U.Z,{}),(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.regionalsettings"}),children:(0,ct.jsx)(un,{hashId:kr,prefixCls:xr,settings:Nn,changeSetting:Kr})}),(0,ct.jsx)(U.Z,{}),(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.othersettings"}),children:(0,ct.jsx)(M.Z,{className:"".concat(xr,"-list ").concat(kr).trim(),split:!1,size:"small",renderItem:Jt,dataSource:[{title:ta({id:"app.setting.weakmode"}),action:(0,ct.jsx)(D.Z,{size:"small",className:"color-weak",checked:!!Xn,onChange:function(Hr){Kr("colorWeak",Hr)}})}]})}),jn&&wn?null:(0,ct.jsx)(U.Z,{}),jn?null:(0,ct.jsx)(gt,{type:"warning",message:ta({id:"app.setting.production.hint"}),icon:(0,ct.jsx)(X,{}),showIcon:!0,style:{marginBlockEnd:16}}),wn?null:(0,ct.jsx)(cn.ZP,{block:!0,icon:(0,ct.jsx)(Re,{}),style:{marginBlockEnd:24},onClick:(0,oe.Z)((0,N.Z)().mark(function qr(){return(0,N.Z)().wrap(function(Vr){for(;;)switch(Vr.prev=Vr.next){case 0:return Vr.prev=0,Vr.next=3,navigator.clipboard.writeText(bt(Nn));case 3:Ft.ZP.success(ta({id:"app.setting.copyinfo"})),Vr.next=8;break;case 6:Vr.prev=6,Vr.t0=Vr.catch(0);case 8:case"end":return Vr.stop()}},qr,null,[[0,6]])})),children:ta({id:"app.setting.copy"})})]})]})}))]}))},Vt=e(35312),nn=e(67610);function Dn(Lt){var lt=Lt!=null?Lt:{},sn=lt.currentUser,ln={canAdmin:sn&&sn.role&&sn.role<=3,superAdmin:sn&&sn.role&&sn.role===1,canDeviceOwner:sn&&sn.role&&sn.role===4};return ln}var Yn={errorConfig:{errorThrower:function(lt){var sn=lt,ln=sn.data,pr=sn.code,Ar=sn.message;if(pr!==0){var jn=new Error(Ar);throw jn.name="BizError",jn.info={code:pr,message:Ar,data:ln},jn}},errorHandler:function(lt,sn){if(sn!=null&&sn.skipErrorHandler)throw lt;if(lt.name==="BizError"){var ln=lt.info;ln&&Ft.ZP.error(ln.message)}else lt.response?Ft.ZP.error("Response status:".concat(lt.response.status)):lt.request?Ft.ZP.error("None response! Please retry."):Ft.ZP.error("Request error, please retry.")}},requestInterceptors:[function(Lt){var lt,sn=Lt==null||(lt=Lt.url)===null||lt===void 0?void 0:lt.concat("?token = 123");return y()(y()({},Lt),{},{url:sn})}],responseInterceptors:[function(Lt){var lt=Lt,sn=lt.data;return sn.code!==0?sn.success=!1:sn.success=!0,Lt}]},kn=e(48357),Fn=!1,mn="/user/login";function Bn(){return Mn.apply(this,arguments)}function Mn(){return Mn=d()(f()().mark(function Lt(){var lt,sn,ln;return f()().wrap(function(Ar){for(;;)switch(Ar.prev=Ar.next){case 0:if(lt=function(){var jn=d()(f()().mark(function wn(){var bn;return f()().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:return Or.prev=0,Or.next=3,(0,kn.Vk)({skipErrorHandler:!0});case 3:return bn=Or.sent,Or.abrupt("return",bn.data);case 7:Or.prev=7,Or.t0=Or.catch(0),Vt.history.push(mn);case 10:return Or.abrupt("return",void 0);case 11:case"end":return Or.stop()}},wn,null,[[0,7]])}));return function(){return jn.apply(this,arguments)}}(),sn=Vt.history.location,sn.pathname===mn){Ar.next=7;break}return Ar.next=5,lt();case 5:return ln=Ar.sent,Ar.abrupt("return",{fetchUserInfo:lt,currentUser:ln,settings:nn.Z});case 7:return Ar.abrupt("return",{fetchUserInfo:lt,settings:nn.Z});case 8:case"end":return Ar.stop()}},Lt)})),Mn.apply(this,arguments)}var jr=function(lt){return{name:lt.name,children:[{name:"\u5E7F\u544A\u6570\u636E",path:"/proxy/advListV2/"+lt.code,component:"./Proxy/ProxyAdvRecordListV2"},{name:"\u7528\u6237\u7BA1\u7406",path:"/proxy/user/"+lt.code,component:"./Proxy/ProxyUserManagement"}]}},De=function(lt){return lt.enableCash?{name:lt.name,access:"canAdmin",children:[{name:"\u5E7F\u544A\u6570\u636E",path:"/advListV2/"+lt.code,access:"canAdmin",component:"./AdvRecordListV2"},{name:"\u7528\u6237\u7BA1\u7406",path:"/user/"+lt.code,access:"canAdmin",component:"./UserManagement"},{name:"\u63D0\u73B0\u7BA1\u7406",path:"/money/"+lt.code,access:"canAdmin",component:"./MoneyManagement"}]}:{path:"/advList/"+lt.code,name:lt.name,access:"canAdmin",component:"./AdvRecordList"}},Te=function(lt){var sn,ln=lt.initialState,pr=lt.setInitialState;return y()({menu:{params:{userId:ln==null||(sn=ln.currentUser)===null||sn===void 0?void 0:sn.id},request:function(){var Ar=d()(f()().mark(function wn(){var bn,_n,Or,$r,ua;return f()().wrap(function(ha){for(;;)switch(ha.prev=ha.next){case 0:return ha.next=2,(0,kn.ln)();case 2:return Or=ha.sent,$r=[],ua=(ln==null||(bn=ln.currentUser)===null||bn===void 0?void 0:bn.role)||100,(_n=Or.data)===null||_n===void 0||_n.forEach(function(mr){mr.hide===1&&ua<=2||(ua===5?$r.push(jr(mr)):$r.push(De(mr))),ua===4&&$r.push({path:"/app/"+mr.code,name:mr.name,access:"canDeviceOwner",component:"./DeviceOwnerApp"})}),$r.push({path:"/adminList",name:"\u4EBA\u5458\u7BA1\u7406",access:"canAdmin"}),$r.push({path:"/bind",name:"\u7ED1\u5B9A\u8BBE\u5907",access:"canDeviceOwner"}),$r.push({path:"/appList",name:"\u5E94\u7528\u5217\u8868"}),$r.push({path:"/super",name:"\u9B54\u6CD5\u4E4B\u5730",access:"superAdmin"}),ha.abrupt("return",$r);case 11:case"end":return ha.stop()}},wn)}));function jn(){return Ar.apply(this,arguments)}return jn}()},menuDataRender:function(jn){return jn.map(function(wn){var bn=wn.access;if(!bn)return wn;var _n=Dn(ln);return _n[bn]?wn:y()(y()({},wn),{},{hideInMenu:!0})})},actionsRender:function(){return[(0,ct.jsx)(b.HN,{},"doc"),(0,ct.jsx)(b.pD,{},"SelectLang")]},avatarProps:{title:(0,ct.jsx)(b.gj,{}),render:function(jn,wn){return(0,ct.jsx)(b.Kd,{children:wn})}},onPageChange:function(){var jn=Vt.history.location;!(ln!=null&&ln.currentUser)&&jn.pathname!==mn&&Vt.history.push(mn)},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:Fn?[(0,ct.jsxs)(Vt.Link,{to:"/umi/plugin/openapi",target:"_blank",children:[(0,ct.jsx)($,{onPointerOverCapture:void 0,onPointerMoveCapture:void 0}),(0,ct.jsx)("span",{children:"OpenAPI \u6587\u6863"})]},"openapi")]:[],menuHeaderRender:void 0,childrenRender:function(jn){return(0,ct.jsxs)(ct.Fragment,{children:[jn,Fn&&(0,ct.jsx)(zt,{disableUrlParams:!0,enableDarkTheme:!0,settings:ln==null?void 0:ln.settings,onSettingChange:function(bn){pr(function(_n){return y()(y()({},_n),{},{settings:bn})})}})]})}},ln==null?void 0:ln.settings)},Le=y()({},Yn),Ue=e(70405),rt={},Dt=function(lt){return S.createElement(Ue.B6,{context:rt},lt)},on=e(44886),xn=e(78382);function hn(Lt){var lt=(0,on.t)("@@initialState"),sn=lt.initialState,ln=S.useMemo(function(){return Dn(sn)},[sn]);return(0,ct.jsx)(xn.J.Provider,{value:ln,children:Lt.children})}function In(Lt){return(0,ct.jsx)(hn,{children:Lt})}function Wn(){return(0,ct.jsx)("div",{})}function Zn(Lt){var lt=S.useRef(!1),sn=(0,on.t)("@@initialState")||{},ln=sn.loading,pr=ln===void 0?!1:ln;return S.useEffect(function(){pr||(lt.current=!0)},[pr]),pr&&!lt.current?(0,ct.jsx)(Wn,{}):Lt.children}function hr(Lt){return(0,ct.jsx)(Zn,{children:Lt})}var ar={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},ur=ar,Tt=function(lt,sn){return S.createElement(O.Z,(0,C.Z)((0,C.Z)({},lt),{},{ref:sn,icon:ur}))},_t=S.forwardRef(Tt),Hn=_t,zn={SmileOutlined:Hn};function Ke(Lt){return Lt.replace(Lt[0],Lt[0].toUpperCase()).replace(/-(w)/g,function(lt,sn){return sn.toUpperCase()})}function me(Lt){var lt=Lt.routes;Object.keys(lt).forEach(function(sn){var ln=lt[sn].icon;if(ln&&typeof ln=="string"){var pr=Ke(ln);(zn[pr]||zn[pr+"Outlined"])&&(lt[sn].icon=S.createElement(zn[pr]||zn[pr+"Outlined"]))}})}var fe=e(5574),Ee=e.n(fe),ge=e(27484),_e=e.n(ge),it=e(54067),It=e(25054),Nt=e(96953),Zt=e(83783),Pt=e(76831),Cn=e(57548),yn=e(33852),Gt=e(43901),yt=e(98944);function Mt(){var Lt=getLocale();if(moment!=null&&moment.locale){var lt;moment.locale(((lt=localeInfo[Lt])===null||lt===void 0?void 0:lt.momentLocale)||"")}setIntl(Lt)}var Rt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?S.useLayoutEffect:S.useEffect,En=function(lt){var sn,ln=(0,yt.Kd)(),pr=S.useState(ln),Ar=Ee()(pr,2),jn=Ar[0],wn=Ar[1],bn=S.useState(function(){return(0,yt.lw)(jn,!0)}),_n=Ee()(bn,2),Or=_n[0],$r=_n[1],ua=function(_r){if(_e()!==null&&_e()!==void 0&&_e().locale){var Ma;_e().locale(((Ma=yt.H8[_r])===null||Ma===void 0?void 0:Ma.momentLocale)||"en")}wn(_r),$r((0,yt.lw)(_r))};Rt(function(){return yt.B.on(yt.PZ,ua),function(){yt.B.off(yt.PZ,ua)}},[]);var Ea={},ha=(0,yt.Mg)();return(0,ct.jsx)(Xe.ZP,{direction:ha,locale:((sn=yt.H8[jn])===null||sn===void 0?void 0:sn.antd)||Ea,children:(0,ct.jsx)(yt.eU,{value:Or,children:lt.children})})};function Xt(Lt){return S.createElement(En,null,Lt)}var Ln={initialState:void 0,loading:!0,error:void 0},Nr=function(){var Lt=(0,S.useState)(Ln),lt=Ee()(Lt,2),sn=lt[0],ln=lt[1],pr=(0,S.useCallback)(d()(f()().mark(function jn(){var wn;return f()().wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:return ln(function(Or){return y()(y()({},Or),{},{loading:!0,error:void 0})}),_n.prev=1,_n.next=4,Bn();case 4:wn=_n.sent,ln(function(Or){return y()(y()({},Or),{},{initialState:wn,loading:!1})}),_n.next=11;break;case 8:_n.prev=8,_n.t0=_n.catch(1),ln(function(Or){return y()(y()({},Or),{},{error:_n.t0,loading:!1})});case 11:case"end":return _n.stop()}},jn,null,[[1,8]])})),[]),Ar=(0,S.useCallback)(function(){var jn=d()(f()().mark(function wn(bn){return f()().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:ln(function($r){return typeof bn=="function"?y()(y()({},$r),{},{initialState:bn($r.initialState),loading:!1}):y()(y()({},$r),{},{initialState:bn,loading:!1})});case 1:case"end":return Or.stop()}},wn)}));return function(wn){return jn.apply(this,arguments)}}(),[]);return(0,S.useEffect)(function(){pr()},[]),y()(y()({},sn),{},{refresh:pr,setInitialState:Ar})},Sr={model_1:{namespace:"@@initialState",model:Nr}};function Br(Lt){var lt=S.useMemo(function(){return Object.keys(Sr).reduce(function(sn,ln){return sn[Sr[ln].namespace]=Sr[ln].model,sn},{})},[]);return(0,ct.jsx)(on.z,y()(y()({models:lt},Lt),{},{children:Lt.children}))}function Tr(Lt,lt){return(0,ct.jsx)(Br,y()(y()({},lt),{},{children:Lt}))}function la(Lt){return Lt.default?typeof Lt.default=="function"?Lt.default():Lt.default:Lt}function Xr(){return[{apply:la(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:u,path:void 0}]}function Qr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","getInitialState","layout","locale","qiankun","request"]}var cr=null;function Ur(){return cr=Vt.PluginManager.create({plugins:Xr(),validKeys:Qr()}),cr}function ea(){return cr}},35312:function(v,g,e){"use strict";e.d(g,{ApplyPluginsType:function(){return zt},FormattedMessage:function(){return r._H},Helmet:function(){return er.ql},Link:function(){return Rr},Outlet:function(){return kt.j3},PluginManager:function(){return Vt},SelectLang:function(){return r.pD},history:function(){return nn.m8},matchRoutes:function(){return kt.fp},request:function(){return At},useAppData:function(){return An.Ov},useIntl:function(){return r.YB},useLocation:function(){return kt.TH},useModel:function(){return o.t},useNavigate:function(){return kt.s0},useOutletContext:function(){return kt.bx},useParams:function(){return kt.UO}});var t=e(83228),r=e(66999),o=e(44886),a=e(15009),s=e.n(a),c=e(99289),u=e.n(c),l=e(13769),f=e(52677),p=e.n(f),y=e(97857),m=e.n(y),d=e(9669),b=e.n(d),C=e(67294),S=e(91296),x=e.n(S),w=e(93096),O=e.n(w);function j(){return typeof document!="undefined"&&typeof document.visibilityState!="undefined"?document.visibilityState!=="hidden":!0}function E(){return typeof navigator.onLine!="undefined"?navigator.onLine:!0}var $=new Map,N=function(Te,Le,Ue){var rt=$.get(Te);rt!=null&&rt.timer&&clearTimeout(rt.timer);var Dt=void 0;Le>-1&&(Dt=setTimeout(function(){$.delete(Te)},Le)),$.set(Te,{data:Ue,timer:Dt,startTime:new Date().getTime()})},oe=function(Te){var Le=$.get(Te);return{data:Le==null?void 0:Le.data,startTime:Le==null?void 0:Le.startTime}},Z=function(De,Te){var Le=typeof Symbol=="function"&&De[Symbol.iterator];if(!Le)return De;var Ue=Le.call(De),rt,Dt=[],on;try{for(;(Te===void 0||Te-- >0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},Y=function(){for(var De=[],Te=0;Te0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},B=function(){for(var De=[],Te=0;Te0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},Ze=function(){for(var De=[],Te=0;Te0){var bn=it&&((wn=getCache(it))===null||wn===void 0?void 0:wn.startTime)||0;Pt===-1||new Date().getTime()-bn<=Pt||Object.values(Ur).forEach(function(_n){_n.refresh()})}else ln.current.apply(ln,Ze(Ke))},[]);var Ar=useCallback(function(){Object.values(Lt.current).forEach(function(wn){wn.unmount()}),Xt.current=ot,ea({}),Lt.current={}},[ea]);useUpdateEffect(function(){on||Object.values(Lt.current).forEach(function(wn){wn.refresh()})},Ze(rt)),useEffect(function(){return function(){Object.values(Lt.current).forEach(function(wn){wn.unmount()})}},[]);var jn=useCallback(function(wn){return function(){console.warn("You should't call "+wn+" when service not executed once.")}},[]);return Re(Re({loading:Mt&&!on||hr,data:Gt,error:void 0,params:[],cancel:jn("cancel"),refresh:jn("refresh"),mutate:jn("mutate")},Ur[Xt.current]||{}),{run:sn,fetches:Ur,reset:Ar})}var qe=null,Xe=function(){return Xe=Object.assign||function(De){for(var Te,Le=1,Ue=arguments.length;Le0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},M=function(){for(var De=[],Te=0;Te0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},_=function(){for(var De=[],Te=0;TeEn&&(Mt=Math.max(1,En)),_e({current:Mt,pageSize:Rt})},[it,_e]),Zt=useCallback(function(Gt){Nt(Gt,Ke)},[Nt,Ke]),Pt=useCallback(function(Gt){Nt(Hn,Gt)},[Nt,Hn]),Cn=useRef(Zt);Cn.current=Zt,useUpdateEffect(function(){Te.manual||Cn.current(1)},_(on));var yn=useCallback(function(Gt,yt,Mt){_e({current:Gt.current,pageSize:Gt.pageSize||rt,filters:yt,sorter:Mt})},[ge,fe,_e]);return k({loading:ar,data:Wn,params:Zn,run:hr,pagination:{current:Hn,pageSize:Ke,total:it,totalPage:It,onChange:Nt,changeCurrent:Zt,changePageSize:Pt},tableProps:{dataSource:(Wn==null?void 0:Wn.list)||[],loading:ar,onChange:yn,pagination:{current:Hn,pageSize:Ke,total:it}},sorter:fe,filters:ge},ur)}var se=null,pe=C.createContext({});pe.displayName="UseRequestConfigContext";var de=pe,Ne=function(){return Ne=Object.assign||function(De){for(var Te,Le=1,Ue=arguments.length;Le0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},xe=function(){for(var De=[],Te=0;Te1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(De,_objectSpread({formatResult:function(Ue){return Ue==null?void 0:Ue.data},requestMethod:function(Ue){if(typeof Ue=="string")return At(Ue);if(_typeof(Ue)==="object"){var rt=Ue.url,Dt=_objectWithoutProperties(Ue,we);return At(rt,Dt)}throw new Error("request options error")}},Te))}var Ae,We,tt=function(){return We||(We=(0,$e.We)().applyPlugins({key:"request",type:zt.modify,initialValue:{}}),We)},dt=function(){var Te,Le;if(Ae)return Ae;var Ue=tt();return Ae=b().create(Ue),Ue==null||(Te=Ue.requestInterceptors)===null||Te===void 0||Te.forEach(function(rt){rt instanceof Array?Ae.interceptors.request.use(function(){var Dt=u()(s()().mark(function on(xn){var hn,In,Wn,Zn;return s()().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(hn=xn.url,rt[0].length!==2){ar.next=8;break}return ar.next=4,rt[0](hn,xn);case 4:return In=ar.sent,Wn=In.url,Zn=In.options,ar.abrupt("return",m()(m()({},Zn),{},{url:Wn}));case 8:return ar.abrupt("return",rt[0](xn));case 9:case"end":return ar.stop()}},on)}));return function(on){return Dt.apply(this,arguments)}}(),rt[1]):Ae.interceptors.request.use(function(){var Dt=u()(s()().mark(function on(xn){var hn,In,Wn,Zn;return s()().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(hn=xn.url,rt.length!==2){ar.next=8;break}return ar.next=4,rt(hn,xn);case 4:return In=ar.sent,Wn=In.url,Zn=In.options,ar.abrupt("return",m()(m()({},Zn),{},{url:Wn}));case 8:return ar.abrupt("return",rt(xn));case 9:case"end":return ar.stop()}},on)}));return function(on){return Dt.apply(this,arguments)}}())}),Ue==null||(Le=Ue.responseInterceptors)===null||Le===void 0||Le.forEach(function(rt){rt instanceof Array?Ae.interceptors.response.use(rt[0],rt[1]):Ae.interceptors.response.use(rt)}),Ae.interceptors.response.use(function(rt){var Dt,on=rt.data;return(on==null?void 0:on.success)===!1&&Ue!==null&&Ue!==void 0&&(Dt=Ue.errorConfig)!==null&&Dt!==void 0&&Dt.errorThrower&&Ue.errorConfig.errorThrower(on),rt}),Ae},At=function(Te){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{method:"GET"},Ue=dt(),rt=tt(),Dt=Le.getResponse,on=Dt===void 0?!1:Dt,xn=Le.requestInterceptors,hn=Le.responseInterceptors,In=xn==null?void 0:xn.map(function(Zn){return Zn instanceof Array?Ue.interceptors.request.use(function(){var hr=u()(s()().mark(function ar(ur){var Tt,_t,Hn,zn;return s()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(Tt=ur.url,Zn[0].length!==2){me.next=8;break}return me.next=4,Zn[0](Tt,ur);case 4:return _t=me.sent,Hn=_t.url,zn=_t.options,me.abrupt("return",m()(m()({},zn),{},{url:Hn}));case 8:return me.abrupt("return",Zn[0](ur));case 9:case"end":return me.stop()}},ar)}));return function(ar){return hr.apply(this,arguments)}}(),Zn[1]):Ue.interceptors.request.use(function(){var hr=u()(s()().mark(function ar(ur){var Tt,_t,Hn,zn;return s()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(Tt=ur.url,Zn.length!==2){me.next=8;break}return me.next=4,Zn(Tt,ur);case 4:return _t=me.sent,Hn=_t.url,zn=_t.options,me.abrupt("return",m()(m()({},zn),{},{url:Hn}));case 8:return me.abrupt("return",Zn(ur));case 9:case"end":return me.stop()}},ar)}));return function(ar){return hr.apply(this,arguments)}}())}),Wn=hn==null?void 0:hn.map(function(Zn){return Zn instanceof Array?Ue.interceptors.response.use(Zn[0],Zn[1]):Ue.interceptors.response.use(Zn)});return new Promise(function(Zn,hr){Ue.request(m()(m()({},Le),{},{url:Te})).then(function(ar){In==null||In.forEach(function(ur){Ue.interceptors.request.eject(ur)}),Wn==null||Wn.forEach(function(ur){Ue.interceptors.response.eject(ur)}),Zn(on?ar:ar.data)}).catch(function(ar){In==null||In.forEach(function(_t){Ue.interceptors.request.eject(_t)}),Wn==null||Wn.forEach(function(_t){Ue.interceptors.response.eject(_t)});try{var ur,Tt=rt==null||(ur=rt.errorConfig)===null||ur===void 0?void 0:ur.errorHandler;Tt&&Tt(ar,Le,rt)}catch(_t){hr(_t)}hr(ar)})})},vt=e(58096),qt=e(49647),kt=e(96974),wt=e(55648);function Kt(){return Kt=Object.assign||function(De){for(var Te=1;Te=0)&&(Le[rt]=De[rt]);return Le}const Ge=["onClick","reloadDocument","replace","state","target","to"],Et=null;function Ut(De,Te){if(!De){typeof console!="undefined"&&console.warn(Te);try{throw new Error(Te)}catch(Le){}}}function gt(De){let{basename:Te,children:Le,window:Ue}=De,rt=useRef();rt.current==null&&(rt.current=createBrowserHistory({window:Ue}));let Dt=rt.current,[on,xn]=useState({action:Dt.action,location:Dt.location});return useLayoutEffect(()=>Dt.listen(xn),[Dt]),createElement(Router,{basename:Te,children:Le,location:on.location,navigationType:on.action,navigator:Dt})}function cn(De){let{basename:Te,children:Le,window:Ue}=De,rt=useRef();rt.current==null&&(rt.current=createHashHistory({window:Ue}));let Dt=rt.current,[on,xn]=useState({action:Dt.action,location:Dt.location});return useLayoutEffect(()=>Dt.listen(xn),[Dt]),createElement(Router,{basename:Te,children:Le,location:on.location,navigationType:on.action,navigator:Dt})}function Ft(De){let{basename:Te,children:Le,history:Ue}=De;const[rt,Dt]=useState({action:Ue.action,location:Ue.location});return useLayoutEffect(()=>Ue.listen(Dt),[Ue]),createElement(Router,{basename:Te,children:Le,location:rt.location,navigationType:rt.action,navigator:Ue})}function en(De){return!!(De.metaKey||De.altKey||De.ctrlKey||De.shiftKey)}const Yt=(0,C.forwardRef)(function(Te,Le){let{onClick:Ue,reloadDocument:rt,replace:Dt=!1,state:on,target:xn,to:hn}=Te,In=Ct(Te,Ge),Wn=(0,kt.oQ)(hn),Zn=pn(hn,{replace:Dt,state:on,target:xn});function hr(ar){Ue&&Ue(ar),!ar.defaultPrevented&&!rt&&Zn(ar)}return(0,C.createElement)("a",Kt({},In,{href:Wn,onClick:hr,ref:Le,target:xn}))}),dn=null;function pn(De,Te){let{target:Le,replace:Ue,state:rt}=Te===void 0?{}:Te,Dt=(0,kt.s0)(),on=(0,kt.TH)(),xn=(0,kt.WU)(De);return(0,C.useCallback)(hn=>{if(hn.button===0&&(!Le||Le==="_self")&&!en(hn)){hn.preventDefault();let In=!!Ue||(0,wt.Ep)(on)===(0,wt.Ep)(xn);Dt(De,{replace:In,state:rt})}},[on,Dt,xn,Ue,rt,Le,De])}function rn(De){let Te=useRef(On(De)),Le=useLocation(),Ue=useMemo(()=>{let on=On(Le.search);for(let xn of Te.current.keys())on.has(xn)||Te.current.getAll(xn).forEach(hn=>{on.append(xn,hn)});return on},[Le.search]),rt=useNavigate(),Dt=useCallback((on,xn)=>{rt("?"+On(on),xn)},[rt]);return[Ue,Dt]}function On(De){return De===void 0&&(De=""),new URLSearchParams(typeof De=="string"||Array.isArray(De)||De instanceof URLSearchParams?De:Object.keys(De).reduce((Te,Le)=>{let Ue=De[Le];return Te.concat(Array.isArray(Ue)?Ue.map(rt=>[Le,rt]):[[Le,Ue]])},[]))}var An=e(34162),Jn=["prefetch"];function Rr(De){var Te,Le=De.prefetch,Ue=(0,qt.Z)(De,Jn),rt=(0,An.Ov)(),Dt=typeof De.to=="string"?De.to:(Te=De.to)===null||Te===void 0?void 0:Te.pathname;return Dt?C.createElement(Yt,(0,vt.Z)({onMouseEnter:function(){var xn;return Le&&Dt&&((xn=rt.preloadRoute)===null||xn===void 0?void 0:xn.call(rt,Dt))}},Ue),De.children):null}var er=e(70405);function ct(De){"@babel/helpers - typeof";return ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Te){return typeof Te}:function(Te){return Te&&typeof Symbol=="function"&&Te.constructor===Symbol&&Te!==Symbol.prototype?"symbol":typeof Te},ct(De)}function et(){"use strict";et=function(){return Te};var De,Te={},Le=Object.prototype,Ue=Le.hasOwnProperty,rt=Object.defineProperty||function(Gt,yt,Mt){Gt[yt]=Mt.value},Dt=typeof Symbol=="function"?Symbol:{},on=Dt.iterator||"@@iterator",xn=Dt.asyncIterator||"@@asyncIterator",hn=Dt.toStringTag||"@@toStringTag";function In(Gt,yt,Mt){return Object.defineProperty(Gt,yt,{value:Mt,enumerable:!0,configurable:!0,writable:!0}),Gt[yt]}try{In({},"")}catch(Gt){In=function(Mt,Rt,En){return Mt[Rt]=En}}function Wn(Gt,yt,Mt,Rt){var En=yt&&yt.prototype instanceof Hn?yt:Hn,Xt=Object.create(En.prototype),Ln=new Cn(Rt||[]);return rt(Xt,"_invoke",{value:It(Gt,Mt,Ln)}),Xt}function Zn(Gt,yt,Mt){try{return{type:"normal",arg:Gt.call(yt,Mt)}}catch(Rt){return{type:"throw",arg:Rt}}}Te.wrap=Wn;var hr="suspendedStart",ar="suspendedYield",ur="executing",Tt="completed",_t={};function Hn(){}function zn(){}function Ke(){}var me={};In(me,on,function(){return this});var fe=Object.getPrototypeOf,Ee=fe&&fe(fe(yn([])));Ee&&Ee!==Le&&Ue.call(Ee,on)&&(me=Ee);var ge=Ke.prototype=Hn.prototype=Object.create(me);function _e(Gt){["next","throw","return"].forEach(function(yt){In(Gt,yt,function(Mt){return this._invoke(yt,Mt)})})}function it(Gt,yt){function Mt(En,Xt,Ln,Nr){var Sr=Zn(Gt[En],Gt,Xt);if(Sr.type!=="throw"){var Br=Sr.arg,Tr=Br.value;return Tr&&ct(Tr)=="object"&&Ue.call(Tr,"__await")?yt.resolve(Tr.__await).then(function(la){Mt("next",la,Ln,Nr)},function(la){Mt("throw",la,Ln,Nr)}):yt.resolve(Tr).then(function(la){Br.value=la,Ln(Br)},function(la){return Mt("throw",la,Ln,Nr)})}Nr(Sr.arg)}var Rt;rt(this,"_invoke",{value:function(Xt,Ln){function Nr(){return new yt(function(Sr,Br){Mt(Xt,Ln,Sr,Br)})}return Rt=Rt?Rt.then(Nr,Nr):Nr()}})}function It(Gt,yt,Mt){var Rt=hr;return function(En,Xt){if(Rt===ur)throw new Error("Generator is already running");if(Rt===Tt){if(En==="throw")throw Xt;return{value:De,done:!0}}for(Mt.method=En,Mt.arg=Xt;;){var Ln=Mt.delegate;if(Ln){var Nr=Nt(Ln,Mt);if(Nr){if(Nr===_t)continue;return Nr}}if(Mt.method==="next")Mt.sent=Mt._sent=Mt.arg;else if(Mt.method==="throw"){if(Rt===hr)throw Rt=Tt,Mt.arg;Mt.dispatchException(Mt.arg)}else Mt.method==="return"&&Mt.abrupt("return",Mt.arg);Rt=ur;var Sr=Zn(Gt,yt,Mt);if(Sr.type==="normal"){if(Rt=Mt.done?Tt:ar,Sr.arg===_t)continue;return{value:Sr.arg,done:Mt.done}}Sr.type==="throw"&&(Rt=Tt,Mt.method="throw",Mt.arg=Sr.arg)}}}function Nt(Gt,yt){var Mt=yt.method,Rt=Gt.iterator[Mt];if(Rt===De)return yt.delegate=null,Mt==="throw"&&Gt.iterator.return&&(yt.method="return",yt.arg=De,Nt(Gt,yt),yt.method==="throw")||Mt!=="return"&&(yt.method="throw",yt.arg=new TypeError("The iterator does not provide a '"+Mt+"' method")),_t;var En=Zn(Rt,Gt.iterator,yt.arg);if(En.type==="throw")return yt.method="throw",yt.arg=En.arg,yt.delegate=null,_t;var Xt=En.arg;return Xt?Xt.done?(yt[Gt.resultName]=Xt.value,yt.next=Gt.nextLoc,yt.method!=="return"&&(yt.method="next",yt.arg=De),yt.delegate=null,_t):Xt:(yt.method="throw",yt.arg=new TypeError("iterator result is not an object"),yt.delegate=null,_t)}function Zt(Gt){var yt={tryLoc:Gt[0]};1 in Gt&&(yt.catchLoc=Gt[1]),2 in Gt&&(yt.finallyLoc=Gt[2],yt.afterLoc=Gt[3]),this.tryEntries.push(yt)}function Pt(Gt){var yt=Gt.completion||{};yt.type="normal",delete yt.arg,Gt.completion=yt}function Cn(Gt){this.tryEntries=[{tryLoc:"root"}],Gt.forEach(Zt,this),this.reset(!0)}function yn(Gt){if(Gt||Gt===""){var yt=Gt[on];if(yt)return yt.call(Gt);if(typeof Gt.next=="function")return Gt;if(!isNaN(Gt.length)){var Mt=-1,Rt=function En(){for(;++Mt=0;--En){var Xt=this.tryEntries[En],Ln=Xt.completion;if(Xt.tryLoc==="root")return Rt("end");if(Xt.tryLoc<=this.prev){var Nr=Ue.call(Xt,"catchLoc"),Sr=Ue.call(Xt,"finallyLoc");if(Nr&&Sr){if(this.prev=0;--Rt){var En=this.tryEntries[Rt];if(En.tryLoc<=this.prev&&Ue.call(En,"finallyLoc")&&this.prev=0;--Mt){var Rt=this.tryEntries[Mt];if(Rt.finallyLoc===yt)return this.complete(Rt.completion,Rt.afterLoc),Pt(Rt),_t}},catch:function(yt){for(var Mt=this.tryEntries.length-1;Mt>=0;--Mt){var Rt=this.tryEntries[Mt];if(Rt.tryLoc===yt){var En=Rt.completion;if(En.type==="throw"){var Xt=En.arg;Pt(Rt)}return Xt}}throw new Error("illegal catch attempt")},delegateYield:function(yt,Mt,Rt){return this.delegate={iterator:yn(yt),resultName:Mt,nextLoc:Rt},this.method==="next"&&(this.arg=De),_t}},Te}function Ve(De,Te){if(ct(De)!="object"||!De)return De;var Le=De[Symbol.toPrimitive];if(Le!==void 0){var Ue=Le.call(De,Te||"default");if(ct(Ue)!="object")return Ue;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Te==="string"?String:Number)(De)}function Jt(De){var Te=Ve(De,"string");return ct(Te)=="symbol"?Te:String(Te)}function ht(De,Te,Le){return Te=Jt(Te),Te in De?Object.defineProperty(De,Te,{value:Le,enumerable:!0,configurable:!0,writable:!0}):De[Te]=Le,De}function un(De,Te){var Le=Object.keys(De);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(De);Te&&(Ue=Ue.filter(function(rt){return Object.getOwnPropertyDescriptor(De,rt).enumerable})),Le.push.apply(Le,Ue)}return Le}function Tn(De){for(var Te=1;TeDe.length)&&(Te=De.length);for(var Le=0,Ue=new Array(Te);Le=De.length?{done:!0}:{done:!1,value:De[Ue++]}},e:function(In){throw In},f:rt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. + margin-bottom ${sn} ${_n}`},[`&${lt}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${lt}-with-description`]:{alignItems:"flex-start",padding:Ea,[`${lt}-icon`]:{marginInlineEnd:pr,fontSize:Or,lineHeight:0},[`${lt}-message`]:{display:"block",marginBottom:ln,color:ua,fontSize:jn},[`${lt}-description`]:{display:"block",color:$r}},[`${lt}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},$e=Lt=>{const{componentCls:lt,colorSuccess:sn,colorSuccessBorder:ln,colorSuccessBg:pr,colorWarning:Ar,colorWarningBorder:jn,colorWarningBg:wn,colorError:bn,colorErrorBorder:_n,colorErrorBg:Or,colorInfo:$r,colorInfoBorder:ua,colorInfoBg:Ea}=Lt;return{[lt]:{"&-success":ke(pr,ln,sn,Lt,lt),"&-info":ke(Ea,ua,$r,Lt,lt),"&-warning":ke(wn,jn,Ar,Lt,lt),"&-error":Object.assign(Object.assign({},ke(Or,_n,bn,Lt,lt)),{[`${lt}-description > pre`]:{margin:0,padding:0}})}}},we=Lt=>{const{componentCls:lt,iconCls:sn,motionDurationMid:ln,marginXS:pr,fontSizeIcon:Ar,colorIcon:jn,colorIconHover:wn}=Lt;return{[lt]:{["&-action"]:{marginInlineStart:pr},[`${lt}-close-icon`]:{marginInlineStart:pr,padding:0,overflow:"hidden",fontSize:Ar,lineHeight:(0,xe.bf)(Ar),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${sn}-close`]:{color:jn,transition:`color ${ln}`,"&:hover":{color:wn}}},"&-close-text":{color:jn,transition:`color ${ln}`,"&:hover":{color:wn}}}}},Pe=Lt=>({withDescriptionIconSize:Lt.fontSizeHeading3,defaultPadding:`${Lt.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${Lt.paddingMD}px ${Lt.paddingContentHorizontalLG}px`});var Ae=(0,ie.I$)("Alert",Lt=>[Fe(Lt),$e(Lt),we(Lt)],Pe),We=function(Lt,lt){var sn={};for(var ln in Lt)Object.prototype.hasOwnProperty.call(Lt,ln)&<.indexOf(ln)<0&&(sn[ln]=Lt[ln]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,ln=Object.getOwnPropertySymbols(Lt);pr{const{icon:lt,prefixCls:sn,type:ln}=Lt,pr=tt[ln]||null;return lt?(0,st.wm)(lt,S.createElement("span",{className:`${sn}-icon`},lt),()=>({className:se()(`${sn}-icon`,{[lt.props.className]:lt.props.className})})):S.createElement(pr,{className:`${sn}-icon`})},At=Lt=>{const{isClosable:lt,prefixCls:sn,closeIcon:ln,handleClose:pr,ariaProps:Ar}=Lt,jn=ln===!0||ln===void 0?S.createElement(J.Z,null):ln;return lt?S.createElement("button",Object.assign({type:"button",onClick:pr,className:`${sn}-close-icon`,tabIndex:0},Ar),jn):null};var qt=S.forwardRef((Lt,lt)=>{const{description:sn,prefixCls:ln,message:pr,banner:Ar,className:jn,rootClassName:wn,style:bn,onMouseEnter:_n,onMouseLeave:Or,onClick:$r,afterClose:ua,showIcon:Ea,closable:ha,closeText:mr,closeIcon:_r,action:Ma,id:za}=Lt,Ta=We(Lt,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[Ra,ao]=S.useState(!1),ho=S.useRef(null);S.useImperativeHandle(lt,()=>({nativeElement:ho.current}));const{getPrefixCls:Ja,direction:Go,alert:Pa}=S.useContext(Ce.E_),Xa=Ja("alert",ln),[ti,Uo,Lo]=Ae(Xa),Qe=nr=>{var Ir;ao(!0),(Ir=Lt.onClose)===null||Ir===void 0||Ir.call(Lt,nr)},mt=S.useMemo(()=>Lt.type!==void 0?Lt.type:Ar?"warning":"info",[Lt.type,Ar]),pt=S.useMemo(()=>typeof ha=="object"&&ha.closeIcon||mr?!0:typeof ha=="boolean"?ha:_r!==!1&&_r!==null&&_r!==void 0?!0:!!(Pa!=null&&Pa.closable),[mr,_r,ha,Pa==null?void 0:Pa.closable]),$t=Ar&&Ea===void 0?!0:Ea,tn=se()(Xa,`${Xa}-${mt}`,{[`${Xa}-with-description`]:!!sn,[`${Xa}-no-icon`]:!$t,[`${Xa}-banner`]:!!Ar,[`${Xa}-rtl`]:Go==="rtl"},Pa==null?void 0:Pa.className,jn,wn,Lo,Uo),Nn=(0,Ne.Z)(Ta,{aria:!0,data:!0}),vr=S.useMemo(()=>{var nr,Ir;return typeof ha=="object"&&ha.closeIcon?ha.closeIcon:mr||(_r!==void 0?_r:typeof(Pa==null?void 0:Pa.closable)=="object"&&(!((nr=Pa==null?void 0:Pa.closable)===null||nr===void 0)&&nr.closeIcon)?(Ir=Pa==null?void 0:Pa.closable)===null||Ir===void 0?void 0:Ir.closeIcon:Pa==null?void 0:Pa.closeIcon)},[_r,ha,mr,Pa==null?void 0:Pa.closeIcon]),br=S.useMemo(()=>{const nr=ha!=null?ha:Pa==null?void 0:Pa.closable;if(typeof nr=="object"){const{closeIcon:Ir}=nr;return We(nr,["closeIcon"])}return{}},[ha,Pa==null?void 0:Pa.closable]);return ti(S.createElement(pe.ZP,{visible:!Ra,motionName:`${Xa}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:nr=>({maxHeight:nr.offsetHeight}),onLeaveEnd:ua},(nr,Ir)=>{let{className:Er,style:yr}=nr;return S.createElement("div",Object.assign({id:za,ref:(0,de.sQ)(ho,Ir),"data-show":!Ra,className:se()(tn,Er),style:Object.assign(Object.assign(Object.assign({},Pa==null?void 0:Pa.style),bn),yr),onMouseEnter:_n,onMouseLeave:Or,onClick:$r,role:"alert"},Nn),$t?S.createElement(dt,{description:sn,icon:Lt.icon,prefixCls:Xa,type:mt}):null,S.createElement("div",{className:`${Xa}-content`},pr?S.createElement("div",{className:`${Xa}-message`},pr):null,sn?S.createElement("div",{className:`${Xa}-description`},sn):null),Ma?S.createElement("div",{className:`${Xa}-action`},Ma):null,S.createElement(At,{isClosable:pt,prefixCls:Xa,closeIcon:vr,handleClose:Qe,ariaProps:br}))}))}),kt=e(15671),wt=e(43144),Kt=e(53640),Ct=e(60136),Et=function(Lt){function lt(){var sn;return(0,kt.Z)(this,lt),sn=(0,Kt.Z)(this,lt,arguments),sn.state={error:void 0,info:{componentStack:""}},sn}return(0,Ct.Z)(lt,Lt),(0,wt.Z)(lt,[{key:"componentDidCatch",value:function(ln,pr){this.setState({error:ln,info:pr})}},{key:"render",value:function(){const{message:ln,description:pr,id:Ar,children:jn}=this.props,{error:wn,info:bn}=this.state,_n=bn&&bn.componentStack?bn.componentStack:null,Or=typeof ln=="undefined"?(wn||"").toString():ln,$r=typeof pr=="undefined"?_n:pr;return wn?S.createElement(qt,{id:Ar,type:"error",message:Or,description:S.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},$r)}):jn}}])}(S.Component);const Ut=qt;Ut.ErrorBoundary=Et;var gt=Ut,cn=e(14726),Ft=e(2453),en=e(97435),Yt=e(21770),dn=e(14192),pn=e(52676),rn=e(62812),On=e(32857),An=function(lt,sn){return S.createElement(ee.Z,(0,Y.Z)({},lt,{ref:sn,icon:On.Z}))},Jn=S.forwardRef(An),Rr=Jn,er=e(83062),ct=e(85893),et=function(lt){var sn=lt.value,ln=lt.configType,pr=lt.onChange,Ar=lt.list,jn=lt.prefixCls,wn=lt.hashId,bn="".concat(jn,"-block-checkbox"),_n=(0,S.useMemo)(function(){var Or=(Ar||[]).map(function($r){return(0,ct.jsx)(er.Z,{title:$r.title,children:(0,ct.jsxs)("div",{className:se()(wn,"".concat(bn,"-item"),"".concat(bn,"-item-").concat($r.key),"".concat(bn,"-").concat(ln,"-item")),onClick:function(){return pr($r.key)},children:[(0,ct.jsx)(Rr,{className:"".concat(bn,"-selectIcon ").concat(wn).trim(),style:{display:sn===$r.key?"block":"none"}}),$r!=null&&$r.icon?(0,ct.jsx)("div",{className:"".concat(bn,"-icon ").concat(wn).trim(),children:$r.icon}):null]})},$r.key)});return Or},[sn,Ar==null?void 0:Ar.length,pr]);return(0,ct.jsx)("div",{className:se()(bn,wn),children:_n})},Ve=e(34041),Jt=function(lt){var sn=S.cloneElement(lt.action,{disabled:lt.disabled});return(0,ct.jsx)(er.Z,{title:lt.disabled?lt.disabledReason:"",placement:"left",children:(0,ct.jsx)(M.Z.Item,{actions:[sn],children:(0,ct.jsx)("span",{style:{opacity:lt.disabled?.5:1},children:lt.title})})})},ht=function(lt){var sn=lt.settings,ln=lt.prefixCls,pr=lt.changeSetting,Ar=lt.hashId,jn=nt(),wn=sn||dn.h,bn=wn.contentWidth,_n=wn.splitMenus,Or=wn.fixedHeader,$r=wn.layout,ua=wn.fixSiderbar;return(0,ct.jsx)(M.Z,{className:"".concat(ln,"-list ").concat(Ar).trim(),split:!1,dataSource:[{title:jn({id:"app.setting.content-width",defaultMessage:"Content Width"}),action:(0,ct.jsxs)(Ve.Z,{value:bn||"Fixed",size:"small",className:"content-width ".concat(Ar).trim(),onSelect:function(ha){pr("contentWidth",ha)},style:{width:80},children:[$r==="side"?null:(0,ct.jsx)(Ve.Z.Option,{value:"Fixed",children:jn({id:"app.setting.content-width.fixed",defaultMessage:"Fixed"})}),(0,ct.jsx)(Ve.Z.Option,{value:"Fluid",children:jn({id:"app.setting.content-width.fluid",defaultMessage:"Fluid"})})]})},{title:jn({id:"app.setting.fixedheader",defaultMessage:"Fixed Header"}),action:(0,ct.jsx)(D.Z,{size:"small",className:"fixed-header",checked:!!Or,onChange:function(ha){pr("fixedHeader",ha)}})},{title:jn({id:"app.setting.fixedsidebar",defaultMessage:"Fixed Sidebar"}),disabled:$r==="top",disabledReason:jn({id:"app.setting.fixedsidebar.hint",defaultMessage:"Works on Side Menu Layout"}),action:(0,ct.jsx)(D.Z,{size:"small",className:"fix-siderbar",checked:!!ua,onChange:function(ha){return pr("fixSiderbar",ha)}})},{title:jn({id:"app.setting.splitMenus"}),disabled:$r!=="mix",action:(0,ct.jsx)(D.Z,{size:"small",checked:!!_n,className:"split-menus",onChange:function(ha){pr("splitMenus",ha)}})}],renderItem:Jt})},un=function(lt){var sn=lt.settings,ln=lt.prefixCls,pr=lt.changeSetting,Ar=lt.hashId,jn=nt(),wn=["header","footer","menu","menuHeader"];return(0,ct.jsx)(M.Z,{className:"".concat(ln,"-list ").concat(Ar).trim(),split:!1,renderItem:Jt,dataSource:wn.map(function(bn){return{title:jn({id:"app.setting.regionalsettings.".concat(bn)}),action:(0,ct.jsx)(D.Z,{size:"small",className:"regional-".concat(bn," ").concat(Ar).trim(),checked:sn["".concat(bn,"Render")]||sn["".concat(bn,"Render")]===void 0,onChange:function(Or){return pr("".concat(bn,"Render"),Or===!0?void 0:!1)}})}})})},Tn=e(91),Un=["color","check"],rr=S.forwardRef(function(Lt,lt){var sn=Lt.color,ln=Lt.check,pr=(0,Tn.Z)(Lt,Un);return(0,ct.jsx)("div",(0,C.Z)((0,C.Z)({},pr),{},{style:{backgroundColor:sn},ref:lt,children:ln?(0,ct.jsx)(Rr,{}):""}))}),or=function(lt){var sn=lt.value,ln=lt.colorList,pr=lt.onChange,Ar=lt.prefixCls,jn=lt.formatMessage,wn=lt.hashId;if(!ln||(ln==null?void 0:ln.length)<1)return null;var bn="".concat(Ar,"-theme-color");return(0,ct.jsx)("div",{className:"".concat(bn," ").concat(wn).trim(),children:ln==null?void 0:ln.map(function(_n){var Or=_n.key,$r=_n.color,ua=_n.title;return Or?(0,ct.jsx)(er.Z,{title:ua!=null?ua:jn({id:"app.setting.themecolor.".concat(Or)}),children:(0,ct.jsx)(rr,{className:"".concat(bn,"-block ").concat(wn).trim(),color:$r,check:sn===$r,onClick:function(){return pr&&pr($r)}})},$r):null})})};function fr(){return(0,ct.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,ct.jsxs)("defs",{children:[(0,ct.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,ct.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,ct.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,ct.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,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,ct.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,ct.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,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,ct.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,ct.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,ct.jsxs)("feMerge",{children:[(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,ct.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,ct.jsxs)("g",{children:[(0,ct.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,ct.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,ct.jsx)("path",{fill:"#FFF",d:"M25 15h65v47c0 5.523-4.477 10-10 10H25V15z"}),(0,ct.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M0.5 15.5L90.5 15.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"4",y:"26",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"32",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"42",fill:"#E6EAF0",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"21",fill:"#E6EAF0",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"53",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"4",y:"47",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M25.5 15.5L25.5 72.5"})]})]})}function ir(){return(0,ct.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,ct.jsxs)("defs",{children:[(0,ct.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,ct.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,ct.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,ct.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,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,ct.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,ct.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,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,ct.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,ct.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,ct.jsxs)("feMerge",{children:[(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,ct.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,ct.jsxs)("g",{children:[(0,ct.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,ct.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,ct.jsx)("path",{fill:"#FFF",d:"M26 0h55c5.523 0 10 4.477 10 10v8H26V0z"}),(0,ct.jsx)("path",{fill:"#001529",d:"M10 0h19v72H10C4.477 72 0 67.523 0 62V10C0 4.477 4.477 0 10 0z"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"5",y:"18",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"5",y:"42",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"9",y:"24",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"9",y:"48",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"9",y:"36",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"9",y:"30",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"9",y:"54",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"})]})]})}var gr=e(4942),sr=e(98082),fn=function(lt){return(0,gr.Z)((0,gr.Z)({},"".concat(lt.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:lt.colorPrimary,borderEndStartRadius:lt.borderRadiusLG,borderStartStartRadius:lt.borderRadiusLG,"-webkit-backdropilter":"saturate(180%) blur(20px)",backdropFilter:"saturate(180%) blur(20px)",cursor:"pointer",pointerEvents:"auto"}),lt.componentCls,{"&-content":{position:"relative",minHeight:"100%",color:lt.colorText},"&-body-title":{marginBlock:lt.marginXS,fontSize:"14px",lineHeight:"22px",color:lt.colorTextHeading},"&-block-checkbox":{display:"flex",minHeight:42,gap:lt.marginSM,"& &-item":{position:"relative",width:"44px",height:"36px",overflow:"hidden",borderRadius:"4px",boxShadow:lt.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:lt.colorBgElevated,"&::before":{zIndex:"1",backgroundColor:"#001529"},"&::after":{backgroundColor:lt.colorBgContainer}},"&-top":{backgroundColor:lt.colorBgElevated,"&::before":{backgroundColor:"transparent"},"&::after":{backgroundColor:"#001529"}},"&-mix":{backgroundColor:lt.colorBgElevated,"&::before":{backgroundColor:lt.colorBgContainer},"&::after":{backgroundColor:"#001529"}}},"& &-selectIcon":{position:"absolute",insetInlineEnd:"6px",bottom:"4px",color:lt.colorPrimary,fontWeight:"bold",fontSize:"14px",pointerEvents:"none",".action":{color:lt.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,gr.Z)({},"li".concat(lt.antCls,"-list-item"),{paddingInline:0,paddingBlock:8})})};function tr(Lt){return(0,sr.Xj)("ProLayoutSettingDrawer",function(lt){var sn=(0,C.Z)((0,C.Z)({},lt),{},{componentCls:".".concat(Lt)});return[fn(sn)]})}var gn=function(lt){var sn=lt.children,ln=lt.hashId,pr=lt.prefixCls,Ar=lt.title;return(0,ct.jsxs)("div",{style:{marginBlockEnd:12},children:[(0,ct.jsx)("h3",{className:"".concat(pr,"-body-title ").concat(ln).trim(),children:Ar}),sn]})},an=function(lt){var sn={};return Object.keys(lt).forEach(function(ln){lt[ln]!==dn.h[ln]&&ln!=="collapse"?sn[ln]=lt[ln]:sn[ln]=void 0,ln.includes("Render")&&(sn[ln]=lt[ln]===!1?!1:void 0)}),sn.menu=void 0,sn},nt=function(){var lt=function(ln){var pr=ln.id,Ar=(0,pn.e)();return Ar[pr]};return lt},xt=function(lt,sn,ln){if((0,Ie.j)()){var pr={};Object.keys(lt).forEach(function(jn){if(dn.h[jn]||dn.h[jn]===void 0){if(jn==="colorPrimary"){pr[jn]=(0,rn.tV)(lt[jn]);return}pr[jn]=lt[jn]}});var Ar=(0,Ze.T)({},sn,pr);delete Ar.menu,delete Ar.title,delete Ar.iconfontUrl,ln==null||ln(Ar)}},Bt=function(lt,sn){return(0,Ie.j)()?(0,C.Z)((0,C.Z)((0,C.Z)({},dn.h),sn||{}),lt):dn.h},bt=function(lt){return JSON.stringify((0,en.Z)((0,C.Z)((0,C.Z)({},lt),{},{colorPrimary:lt.colorPrimary}),["colorWeak"]),null,2)},zt=function(lt){var sn=lt.defaultSettings,ln=sn===void 0?void 0:sn,pr=lt.settings,Ar=pr===void 0?void 0:pr,jn=lt.hideHintAlert,wn=lt.hideCopyButton,bn=lt.colorList,_n=bn===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"}]:bn,Or=lt.getContainer,$r=lt.onSettingChange,ua=lt.enableDarkTheme,Ea=lt.prefixCls,ha=Ea===void 0?"ant-pro":Ea,mr=lt.pathname,_r=mr===void 0?window.location.pathname:mr,Ma=lt.disableUrlParams,za=Ma===void 0?!0:Ma,Ta=lt.themeOnly,Ra=(0,S.useRef)(!0),ao=(0,Yt.Z)(!1,{value:lt.collapse,onChange:lt.onCollapseChange}),ho=(0,Z.Z)(ao,2),Ja=ho[0],Go=ho[1],Pa=(0,S.useState)((0,pn.G)()),Xa=(0,Z.Z)(Pa,2),ti=Xa[0],Uo=Xa[1],Lo=(0,He.l)({},{disabled:za}),Qe=(0,Z.Z)(Lo,2),mt=Qe[0],pt=Qe[1],$t=(0,Yt.Z)(function(){return Bt(mt,Ar||ln)},{value:Ar,onChange:$r}),tn=(0,Z.Z)($t,2),Nn=tn[0],vr=tn[1],br=Nn||{},nr=br.navTheme,Ir=br.colorPrimary,Er=br.siderMenuType,yr=br.layout,Xn=br.colorWeak;(0,S.useEffect)(function(){var qr=function(){ti!==(0,pn.G)()&&Uo((0,pn.G)())};return(0,Ie.j)()?(xt(Bt(mt,Ar),Nn,vr),window.document.addEventListener("languagechange",qr,{passive:!0}),function(){return window.document.removeEventListener("languagechange",qr)}):function(){return null}},[]),(0,S.useEffect)(function(){(0,ot.n)(qe.Z,"5.0.0")<0&&Xe.ZP.config({theme:{primaryColor:Nn.colorPrimary}})},[Nn.colorPrimary,Nn.navTheme]);var Kr=function(Hr,Vr){var ia={};if(ia[Hr]=Vr,Hr==="layout"&&(ia.contentWidth=Vr==="top"?"Fixed":"Fluid"),Hr==="layout"&&Vr!=="mix"&&(ia.splitMenus=!1),Hr==="layout"&&Vr==="mix"&&(ia.navTheme="light"),Hr==="colorWeak"&&Vr===!0){var ja=document.querySelector("body");ja&&(ja.dataset.prosettingdrawer=ja.style.filter,ja.style.filter="invert(80%)")}if(Hr==="colorWeak"&&Vr===!1){var Ka=document.querySelector("body");Ka&&(Ka.style.filter=Ka.dataset.prosettingdrawer||"none",delete Ka.dataset.prosettingdrawer)}delete ia.menu,delete ia.title,delete ia.iconfontUrl,delete ia.logo,delete ia.pwa,vr((0,C.Z)((0,C.Z)({},Nn),ia))},ta=nt();(0,S.useEffect)(function(){if((0,Ie.j)()&&!za){if(Ra.current){Ra.current=!1;return}var qr=new URLSearchParams(window.location.search),Hr=Object.fromEntries(qr.entries()),Vr=an((0,C.Z)((0,C.Z)({},Hr),Nn));delete Vr.logo,delete Vr.menu,delete Vr.title,delete Vr.iconfontUrl,delete Vr.pwa,pt(Vr)}},[pt,Nn,mt,_r,za]);var xr="".concat(ha,"-setting-drawer"),Jr=tr(xr),oa=Jr.wrapSSR,kr=Jr.hashId,ca=(0,Je.X)(Ja);return oa((0,ct.jsxs)(ct.Fragment,{children:[(0,ct.jsx)("div",{className:"".concat(xr,"-handle ").concat(kr).trim(),onClick:function(){return Go(!Ja)},style:{width:48,height:48},children:Ja?(0,ct.jsx)(Q,{style:{color:"#fff",fontSize:20}}):(0,ct.jsx)(T,{style:{color:"#fff",fontSize:20}})}),(0,ct.jsx)(le.Z,(0,C.Z)((0,C.Z)({},ca),{},{width:300,onClose:function(){return Go(!1)},closable:!1,placement:"right",getContainer:Or,style:{zIndex:999},children:(0,ct.jsxs)("div",{className:"".concat(xr,"-drawer-content ").concat(kr).trim(),children:[(0,ct.jsx)(gn,{title:ta({id:"app.setting.pagestyle",defaultMessage:"Page style setting"}),hashId:kr,prefixCls:xr,children:(0,ct.jsx)(et,{hashId:kr,prefixCls:xr,list:[{key:"light",title:ta({id:"app.setting.pagestyle.light",defaultMessage:"\u4EAE\u8272\u83DC\u5355\u98CE\u683C"})},{key:"realDark",title:ta({id:"app.setting.pagestyle.realdark",defaultMessage:"\u6697\u8272\u83DC\u5355\u98CE\u683C"})}].filter(function(qr){return!(qr.key==="dark"&&Nn.layout==="mix"||qr.key==="realDark"&&!ua)}),value:nr,configType:"theme",onChange:function(Hr){return Kr("navTheme",Hr)}},"navTheme")}),_n!==!1&&(0,ct.jsx)(gn,{hashId:kr,title:ta({id:"app.setting.themecolor",defaultMessage:"Theme color"}),prefixCls:xr,children:(0,ct.jsx)(or,{hashId:kr,prefixCls:xr,colorList:_n,value:(0,rn.tV)(Ir),formatMessage:ta,onChange:function(Hr){return Kr("colorPrimary",Hr)}})}),!Ta&&(0,ct.jsxs)(ct.Fragment,{children:[(0,ct.jsx)(U.Z,{}),(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.navigationmode"}),children:(0,ct.jsx)(et,{prefixCls:xr,value:yr,hashId:kr,configType:"layout",list:[{key:"side",title:ta({id:"app.setting.sidemenu"})},{key:"top",title:ta({id:"app.setting.topmenu"})},{key:"mix",title:ta({id:"app.setting.mixmenu"})}],onChange:function(Hr){return Kr("layout",Hr)}},"layout")}),Nn.layout=="side"||Nn.layout=="mix"?(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.sidermenutype"}),children:(0,ct.jsx)(et,{prefixCls:xr,value:Er,hashId:kr,configType:"siderMenuType",list:[{key:"sub",icon:(0,ct.jsx)(ir,{}),title:ta({id:"app.setting.sidermenutype-sub"})},{key:"group",icon:(0,ct.jsx)(fr,{}),title:ta({id:"app.setting.sidermenutype-group"})}],onChange:function(Hr){return Kr("siderMenuType",Hr)}},"siderMenuType")}):null,(0,ct.jsx)(ht,{prefixCls:xr,hashId:kr,settings:Nn,changeSetting:Kr}),(0,ct.jsx)(U.Z,{}),(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.regionalsettings"}),children:(0,ct.jsx)(un,{hashId:kr,prefixCls:xr,settings:Nn,changeSetting:Kr})}),(0,ct.jsx)(U.Z,{}),(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.othersettings"}),children:(0,ct.jsx)(M.Z,{className:"".concat(xr,"-list ").concat(kr).trim(),split:!1,size:"small",renderItem:Jt,dataSource:[{title:ta({id:"app.setting.weakmode"}),action:(0,ct.jsx)(D.Z,{size:"small",className:"color-weak",checked:!!Xn,onChange:function(Hr){Kr("colorWeak",Hr)}})}]})}),jn&&wn?null:(0,ct.jsx)(U.Z,{}),jn?null:(0,ct.jsx)(gt,{type:"warning",message:ta({id:"app.setting.production.hint"}),icon:(0,ct.jsx)(X,{}),showIcon:!0,style:{marginBlockEnd:16}}),wn?null:(0,ct.jsx)(cn.ZP,{block:!0,icon:(0,ct.jsx)(Re,{}),style:{marginBlockEnd:24},onClick:(0,oe.Z)((0,N.Z)().mark(function qr(){return(0,N.Z)().wrap(function(Vr){for(;;)switch(Vr.prev=Vr.next){case 0:return Vr.prev=0,Vr.next=3,navigator.clipboard.writeText(bt(Nn));case 3:Ft.ZP.success(ta({id:"app.setting.copyinfo"})),Vr.next=8;break;case 6:Vr.prev=6,Vr.t0=Vr.catch(0);case 8:case"end":return Vr.stop()}},qr,null,[[0,6]])})),children:ta({id:"app.setting.copy"})})]})]})}))]}))},Vt=e(35312),nn=e(48357),Dn=e(67610);function Gn(Lt){var lt=Lt!=null?Lt:{},sn=lt.currentUser,ln={canAdmin:sn&&sn.role&&sn.role<=3,superAdmin:sn&&sn.role&&sn.role===1,canDeviceOwner:sn&&sn.role&&sn.role===4};return ln}var Vn={errorConfig:{errorThrower:function(lt){var sn=lt,ln=sn.data,pr=sn.code,Ar=sn.message;if(pr!==0){var jn=new Error(Ar);throw jn.name="BizError",jn.info={code:pr,message:Ar,data:ln},jn}},errorHandler:function(lt,sn){if(sn!=null&&sn.skipErrorHandler)throw lt;if(lt.name==="BizError"){var ln=lt.info;ln&&Ft.ZP.error(ln.message)}else lt.response?Ft.ZP.error("Response status:".concat(lt.response.status)):lt.request?Ft.ZP.error("None response! Please retry."):Ft.ZP.error("Request error, please retry.")}},requestInterceptors:[function(Lt){var lt,sn=Lt==null||(lt=Lt.url)===null||lt===void 0?void 0:lt.concat("?token = 123");return y()(y()({},Lt),{},{url:sn})}],responseInterceptors:[function(Lt){var lt=Lt,sn=lt.data;return sn.code!==0?sn.success=!1:sn.success=!0,Lt}]},Fn=!1,mn="/user/login";function Bn(){return Mn.apply(this,arguments)}function Mn(){return Mn=d()(f()().mark(function Lt(){var lt,sn,ln;return f()().wrap(function(Ar){for(;;)switch(Ar.prev=Ar.next){case 0:if(lt=function(){var jn=d()(f()().mark(function wn(){var bn;return f()().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:return Or.prev=0,Or.next=3,(0,nn.Vk)({skipErrorHandler:!0});case 3:return bn=Or.sent,Or.abrupt("return",bn.data);case 7:Or.prev=7,Or.t0=Or.catch(0),Vt.history.push(mn);case 10:return Or.abrupt("return",void 0);case 11:case"end":return Or.stop()}},wn,null,[[0,7]])}));return function(){return jn.apply(this,arguments)}}(),sn=Vt.history.location,sn.pathname===mn){Ar.next=7;break}return Ar.next=5,lt();case 5:return ln=Ar.sent,Ar.abrupt("return",{fetchUserInfo:lt,currentUser:ln,settings:Dn.Z});case 7:return Ar.abrupt("return",{fetchUserInfo:lt,settings:Dn.Z});case 8:case"end":return Ar.stop()}},Lt)})),Mn.apply(this,arguments)}var jr=function(lt){return{name:lt.name,children:[{name:"\u5E7F\u544A\u6570\u636E",path:"/proxy/advListV2/"+lt.code,component:"./Proxy/ProxyAdvRecordListV2"},{name:"\u7528\u6237\u7BA1\u7406",path:"/proxy/user/"+lt.code,component:"./Proxy/ProxyUserManagement"}]}},De=function(lt){return lt.enableCash?{name:lt.name,access:"canAdmin",children:[{name:"\u5E7F\u544A\u6570\u636E",path:"/advListV2/"+lt.code,access:"canAdmin",component:"./AdvRecordListV2"},{name:"\u7528\u6237\u7BA1\u7406",path:"/user/"+lt.code,access:"canAdmin",component:"./UserManagement"},{name:"\u63D0\u73B0\u7BA1\u7406",path:"/money/"+lt.code,access:"canAdmin",component:"./MoneyManagement"}]}:{path:"/advList/"+lt.code,name:lt.name,access:"canAdmin",component:"./AdvRecordList"}},Te=function(lt){var sn,ln=lt.initialState,pr=lt.setInitialState;return y()({menu:{params:{userId:ln==null||(sn=ln.currentUser)===null||sn===void 0?void 0:sn.id},request:function(){var Ar=d()(f()().mark(function wn(){var bn,_n,Or,$r,ua;return f()().wrap(function(ha){for(;;)switch(ha.prev=ha.next){case 0:return ha.next=2,(0,nn.ln)();case 2:return Or=ha.sent,$r=[],ua=(ln==null||(bn=ln.currentUser)===null||bn===void 0?void 0:bn.role)||100,(_n=Or.data)===null||_n===void 0||_n.forEach(function(mr){mr.hide===1&&ua<=2||(ua===5?$r.push(jr(mr)):$r.push(De(mr))),ua===4&&$r.push({path:"/app/"+mr.code,name:mr.name,access:"canDeviceOwner",component:"./DeviceOwnerApp"})}),$r.push({path:"/adminList",name:"\u4EBA\u5458\u7BA1\u7406",access:"canAdmin"}),$r.push({path:"/bind",name:"\u7ED1\u5B9A\u8BBE\u5907",access:"canDeviceOwner"}),$r.push({path:"/appList",name:"\u5E94\u7528\u5217\u8868"}),$r.push({path:"/super",name:"\u9B54\u6CD5\u4E4B\u5730",access:"superAdmin"}),ha.abrupt("return",$r);case 11:case"end":return ha.stop()}},wn)}));function jn(){return Ar.apply(this,arguments)}return jn}()},menuDataRender:function(jn){return jn.map(function(wn){var bn=wn.access;if(!bn)return wn;var _n=Gn(ln);return _n[bn]?wn:y()(y()({},wn),{},{hideInMenu:!0})})},actionsRender:function(){return[(0,ct.jsx)(b.HN,{},"doc"),(0,ct.jsx)(b.pD,{},"SelectLang")]},avatarProps:{title:(0,ct.jsx)(b.gj,{}),render:function(jn,wn){return(0,ct.jsx)(b.Kd,{children:wn})}},onPageChange:function(){var jn=Vt.history.location;!(ln!=null&&ln.currentUser)&&jn.pathname!==mn&&Vt.history.push(mn)},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:Fn?[(0,ct.jsxs)(Vt.Link,{to:"/umi/plugin/openapi",target:"_blank",children:[(0,ct.jsx)($,{onPointerOverCapture:void 0,onPointerMoveCapture:void 0}),(0,ct.jsx)("span",{children:"OpenAPI \u6587\u6863"})]},"openapi")]:[],menuHeaderRender:void 0,childrenRender:function(jn){return(0,ct.jsxs)(ct.Fragment,{children:[jn,Fn&&(0,ct.jsx)(zt,{disableUrlParams:!0,enableDarkTheme:!0,settings:ln==null?void 0:ln.settings,onSettingChange:function(bn){pr(function(_n){return y()(y()({},_n),{},{settings:bn})})}})]})}},ln==null?void 0:ln.settings)},Le=y()({},Vn),Ue=e(70405),rt={},Dt=function(lt){return S.createElement(Ue.B6,{context:rt},lt)},on=e(44886),xn=e(78382);function hn(Lt){var lt=(0,on.t)("@@initialState"),sn=lt.initialState,ln=S.useMemo(function(){return Gn(sn)},[sn]);return(0,ct.jsx)(xn.J.Provider,{value:ln,children:Lt.children})}function In(Lt){return(0,ct.jsx)(hn,{children:Lt})}function Wn(){return(0,ct.jsx)("div",{})}function Zn(Lt){var lt=S.useRef(!1),sn=(0,on.t)("@@initialState")||{},ln=sn.loading,pr=ln===void 0?!1:ln;return S.useEffect(function(){pr||(lt.current=!0)},[pr]),pr&&!lt.current?(0,ct.jsx)(Wn,{}):Lt.children}function hr(Lt){return(0,ct.jsx)(Zn,{children:Lt})}var ar={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},ur=ar,Tt=function(lt,sn){return S.createElement(O.Z,(0,C.Z)((0,C.Z)({},lt),{},{ref:sn,icon:ur}))},_t=S.forwardRef(Tt),Hn=_t,zn={SmileOutlined:Hn};function Ke(Lt){return Lt.replace(Lt[0],Lt[0].toUpperCase()).replace(/-(w)/g,function(lt,sn){return sn.toUpperCase()})}function me(Lt){var lt=Lt.routes;Object.keys(lt).forEach(function(sn){var ln=lt[sn].icon;if(ln&&typeof ln=="string"){var pr=Ke(ln);(zn[pr]||zn[pr+"Outlined"])&&(lt[sn].icon=S.createElement(zn[pr]||zn[pr+"Outlined"]))}})}var fe=e(5574),Ee=e.n(fe),ge=e(27484),_e=e.n(ge),it=e(54067),It=e(25054),Nt=e(96953),Zt=e(83783),Pt=e(76831),Cn=e(57548),yn=e(33852),Gt=e(43901),yt=e(98944);function Mt(){var Lt=getLocale();if(moment!=null&&moment.locale){var lt;moment.locale(((lt=localeInfo[Lt])===null||lt===void 0?void 0:lt.momentLocale)||"")}setIntl(Lt)}var Rt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?S.useLayoutEffect:S.useEffect,En=function(lt){var sn,ln=(0,yt.Kd)(),pr=S.useState(ln),Ar=Ee()(pr,2),jn=Ar[0],wn=Ar[1],bn=S.useState(function(){return(0,yt.lw)(jn,!0)}),_n=Ee()(bn,2),Or=_n[0],$r=_n[1],ua=function(_r){if(_e()!==null&&_e()!==void 0&&_e().locale){var Ma;_e().locale(((Ma=yt.H8[_r])===null||Ma===void 0?void 0:Ma.momentLocale)||"en")}wn(_r),$r((0,yt.lw)(_r))};Rt(function(){return yt.B.on(yt.PZ,ua),function(){yt.B.off(yt.PZ,ua)}},[]);var Ea={},ha=(0,yt.Mg)();return(0,ct.jsx)(Xe.ZP,{direction:ha,locale:((sn=yt.H8[jn])===null||sn===void 0?void 0:sn.antd)||Ea,children:(0,ct.jsx)(yt.eU,{value:Or,children:lt.children})})};function Xt(Lt){return S.createElement(En,null,Lt)}var Ln={initialState:void 0,loading:!0,error:void 0},Nr=function(){var Lt=(0,S.useState)(Ln),lt=Ee()(Lt,2),sn=lt[0],ln=lt[1],pr=(0,S.useCallback)(d()(f()().mark(function jn(){var wn;return f()().wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:return ln(function(Or){return y()(y()({},Or),{},{loading:!0,error:void 0})}),_n.prev=1,_n.next=4,Bn();case 4:wn=_n.sent,ln(function(Or){return y()(y()({},Or),{},{initialState:wn,loading:!1})}),_n.next=11;break;case 8:_n.prev=8,_n.t0=_n.catch(1),ln(function(Or){return y()(y()({},Or),{},{error:_n.t0,loading:!1})});case 11:case"end":return _n.stop()}},jn,null,[[1,8]])})),[]),Ar=(0,S.useCallback)(function(){var jn=d()(f()().mark(function wn(bn){return f()().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:ln(function($r){return typeof bn=="function"?y()(y()({},$r),{},{initialState:bn($r.initialState),loading:!1}):y()(y()({},$r),{},{initialState:bn,loading:!1})});case 1:case"end":return Or.stop()}},wn)}));return function(wn){return jn.apply(this,arguments)}}(),[]);return(0,S.useEffect)(function(){pr()},[]),y()(y()({},sn),{},{refresh:pr,setInitialState:Ar})},Sr={model_1:{namespace:"@@initialState",model:Nr}};function Br(Lt){var lt=S.useMemo(function(){return Object.keys(Sr).reduce(function(sn,ln){return sn[Sr[ln].namespace]=Sr[ln].model,sn},{})},[]);return(0,ct.jsx)(on.z,y()(y()({models:lt},Lt),{},{children:Lt.children}))}function Tr(Lt,lt){return(0,ct.jsx)(Br,y()(y()({},lt),{},{children:Lt}))}function la(Lt){return Lt.default?typeof Lt.default=="function"?Lt.default():Lt.default:Lt}function Xr(){return[{apply:la(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:u,path:void 0}]}function Qr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","getInitialState","layout","locale","qiankun","request"]}var cr=null;function Ur(){return cr=Vt.PluginManager.create({plugins:Xr(),validKeys:Qr()}),cr}function ea(){return cr}},35312:function(v,g,e){"use strict";e.d(g,{ApplyPluginsType:function(){return zt},FormattedMessage:function(){return r._H},Helmet:function(){return er.ql},Link:function(){return Rr},Outlet:function(){return kt.j3},PluginManager:function(){return Vt},SelectLang:function(){return r.pD},history:function(){return nn.m8},matchRoutes:function(){return kt.fp},request:function(){return At},useAppData:function(){return An.Ov},useIntl:function(){return r.YB},useLocation:function(){return kt.TH},useModel:function(){return o.t},useNavigate:function(){return kt.s0},useOutletContext:function(){return kt.bx},useParams:function(){return kt.UO}});var t=e(83228),r=e(66999),o=e(44886),a=e(15009),s=e.n(a),c=e(99289),u=e.n(c),l=e(13769),f=e(52677),p=e.n(f),y=e(97857),m=e.n(y),d=e(9669),b=e.n(d),C=e(67294),S=e(91296),x=e.n(S),w=e(93096),O=e.n(w);function j(){return typeof document!="undefined"&&typeof document.visibilityState!="undefined"?document.visibilityState!=="hidden":!0}function E(){return typeof navigator.onLine!="undefined"?navigator.onLine:!0}var $=new Map,N=function(Te,Le,Ue){var rt=$.get(Te);rt!=null&&rt.timer&&clearTimeout(rt.timer);var Dt=void 0;Le>-1&&(Dt=setTimeout(function(){$.delete(Te)},Le)),$.set(Te,{data:Ue,timer:Dt,startTime:new Date().getTime()})},oe=function(Te){var Le=$.get(Te);return{data:Le==null?void 0:Le.data,startTime:Le==null?void 0:Le.startTime}},Z=function(De,Te){var Le=typeof Symbol=="function"&&De[Symbol.iterator];if(!Le)return De;var Ue=Le.call(De),rt,Dt=[],on;try{for(;(Te===void 0||Te-- >0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},Y=function(){for(var De=[],Te=0;Te0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},B=function(){for(var De=[],Te=0;Te0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},Ze=function(){for(var De=[],Te=0;Te0){var bn=it&&((wn=getCache(it))===null||wn===void 0?void 0:wn.startTime)||0;Pt===-1||new Date().getTime()-bn<=Pt||Object.values(Ur).forEach(function(_n){_n.refresh()})}else ln.current.apply(ln,Ze(Ke))},[]);var Ar=useCallback(function(){Object.values(Lt.current).forEach(function(wn){wn.unmount()}),Xt.current=ot,ea({}),Lt.current={}},[ea]);useUpdateEffect(function(){on||Object.values(Lt.current).forEach(function(wn){wn.refresh()})},Ze(rt)),useEffect(function(){return function(){Object.values(Lt.current).forEach(function(wn){wn.unmount()})}},[]);var jn=useCallback(function(wn){return function(){console.warn("You should't call "+wn+" when service not executed once.")}},[]);return Re(Re({loading:Mt&&!on||hr,data:Gt,error:void 0,params:[],cancel:jn("cancel"),refresh:jn("refresh"),mutate:jn("mutate")},Ur[Xt.current]||{}),{run:sn,fetches:Ur,reset:Ar})}var qe=null,Xe=function(){return Xe=Object.assign||function(De){for(var Te,Le=1,Ue=arguments.length;Le0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},M=function(){for(var De=[],Te=0;Te0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},_=function(){for(var De=[],Te=0;TeEn&&(Mt=Math.max(1,En)),_e({current:Mt,pageSize:Rt})},[it,_e]),Zt=useCallback(function(Gt){Nt(Gt,Ke)},[Nt,Ke]),Pt=useCallback(function(Gt){Nt(Hn,Gt)},[Nt,Hn]),Cn=useRef(Zt);Cn.current=Zt,useUpdateEffect(function(){Te.manual||Cn.current(1)},_(on));var yn=useCallback(function(Gt,yt,Mt){_e({current:Gt.current,pageSize:Gt.pageSize||rt,filters:yt,sorter:Mt})},[ge,fe,_e]);return k({loading:ar,data:Wn,params:Zn,run:hr,pagination:{current:Hn,pageSize:Ke,total:it,totalPage:It,onChange:Nt,changeCurrent:Zt,changePageSize:Pt},tableProps:{dataSource:(Wn==null?void 0:Wn.list)||[],loading:ar,onChange:yn,pagination:{current:Hn,pageSize:Ke,total:it}},sorter:fe,filters:ge},ur)}var se=null,pe=C.createContext({});pe.displayName="UseRequestConfigContext";var de=pe,Ne=function(){return Ne=Object.assign||function(De){for(var Te,Le=1,Ue=arguments.length;Le0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},xe=function(){for(var De=[],Te=0;Te1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(De,_objectSpread({formatResult:function(Ue){return Ue==null?void 0:Ue.data},requestMethod:function(Ue){if(typeof Ue=="string")return At(Ue);if(_typeof(Ue)==="object"){var rt=Ue.url,Dt=_objectWithoutProperties(Ue,we);return At(rt,Dt)}throw new Error("request options error")}},Te))}var Ae,We,tt=function(){return We||(We=(0,$e.We)().applyPlugins({key:"request",type:zt.modify,initialValue:{}}),We)},dt=function(){var Te,Le;if(Ae)return Ae;var Ue=tt();return Ae=b().create(Ue),Ue==null||(Te=Ue.requestInterceptors)===null||Te===void 0||Te.forEach(function(rt){rt instanceof Array?Ae.interceptors.request.use(function(){var Dt=u()(s()().mark(function on(xn){var hn,In,Wn,Zn;return s()().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(hn=xn.url,rt[0].length!==2){ar.next=8;break}return ar.next=4,rt[0](hn,xn);case 4:return In=ar.sent,Wn=In.url,Zn=In.options,ar.abrupt("return",m()(m()({},Zn),{},{url:Wn}));case 8:return ar.abrupt("return",rt[0](xn));case 9:case"end":return ar.stop()}},on)}));return function(on){return Dt.apply(this,arguments)}}(),rt[1]):Ae.interceptors.request.use(function(){var Dt=u()(s()().mark(function on(xn){var hn,In,Wn,Zn;return s()().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(hn=xn.url,rt.length!==2){ar.next=8;break}return ar.next=4,rt(hn,xn);case 4:return In=ar.sent,Wn=In.url,Zn=In.options,ar.abrupt("return",m()(m()({},Zn),{},{url:Wn}));case 8:return ar.abrupt("return",rt(xn));case 9:case"end":return ar.stop()}},on)}));return function(on){return Dt.apply(this,arguments)}}())}),Ue==null||(Le=Ue.responseInterceptors)===null||Le===void 0||Le.forEach(function(rt){rt instanceof Array?Ae.interceptors.response.use(rt[0],rt[1]):Ae.interceptors.response.use(rt)}),Ae.interceptors.response.use(function(rt){var Dt,on=rt.data;return(on==null?void 0:on.success)===!1&&Ue!==null&&Ue!==void 0&&(Dt=Ue.errorConfig)!==null&&Dt!==void 0&&Dt.errorThrower&&Ue.errorConfig.errorThrower(on),rt}),Ae},At=function(Te){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{method:"GET"},Ue=dt(),rt=tt(),Dt=Le.getResponse,on=Dt===void 0?!1:Dt,xn=Le.requestInterceptors,hn=Le.responseInterceptors,In=xn==null?void 0:xn.map(function(Zn){return Zn instanceof Array?Ue.interceptors.request.use(function(){var hr=u()(s()().mark(function ar(ur){var Tt,_t,Hn,zn;return s()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(Tt=ur.url,Zn[0].length!==2){me.next=8;break}return me.next=4,Zn[0](Tt,ur);case 4:return _t=me.sent,Hn=_t.url,zn=_t.options,me.abrupt("return",m()(m()({},zn),{},{url:Hn}));case 8:return me.abrupt("return",Zn[0](ur));case 9:case"end":return me.stop()}},ar)}));return function(ar){return hr.apply(this,arguments)}}(),Zn[1]):Ue.interceptors.request.use(function(){var hr=u()(s()().mark(function ar(ur){var Tt,_t,Hn,zn;return s()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(Tt=ur.url,Zn.length!==2){me.next=8;break}return me.next=4,Zn(Tt,ur);case 4:return _t=me.sent,Hn=_t.url,zn=_t.options,me.abrupt("return",m()(m()({},zn),{},{url:Hn}));case 8:return me.abrupt("return",Zn(ur));case 9:case"end":return me.stop()}},ar)}));return function(ar){return hr.apply(this,arguments)}}())}),Wn=hn==null?void 0:hn.map(function(Zn){return Zn instanceof Array?Ue.interceptors.response.use(Zn[0],Zn[1]):Ue.interceptors.response.use(Zn)});return new Promise(function(Zn,hr){Ue.request(m()(m()({},Le),{},{url:Te})).then(function(ar){In==null||In.forEach(function(ur){Ue.interceptors.request.eject(ur)}),Wn==null||Wn.forEach(function(ur){Ue.interceptors.response.eject(ur)}),Zn(on?ar:ar.data)}).catch(function(ar){In==null||In.forEach(function(_t){Ue.interceptors.request.eject(_t)}),Wn==null||Wn.forEach(function(_t){Ue.interceptors.response.eject(_t)});try{var ur,Tt=rt==null||(ur=rt.errorConfig)===null||ur===void 0?void 0:ur.errorHandler;Tt&&Tt(ar,Le,rt)}catch(_t){hr(_t)}hr(ar)})})},vt=e(58096),qt=e(49647),kt=e(96974),wt=e(55648);function Kt(){return Kt=Object.assign||function(De){for(var Te=1;Te=0)&&(Le[rt]=De[rt]);return Le}const Ge=["onClick","reloadDocument","replace","state","target","to"],Et=null;function Ut(De,Te){if(!De){typeof console!="undefined"&&console.warn(Te);try{throw new Error(Te)}catch(Le){}}}function gt(De){let{basename:Te,children:Le,window:Ue}=De,rt=useRef();rt.current==null&&(rt.current=createBrowserHistory({window:Ue}));let Dt=rt.current,[on,xn]=useState({action:Dt.action,location:Dt.location});return useLayoutEffect(()=>Dt.listen(xn),[Dt]),createElement(Router,{basename:Te,children:Le,location:on.location,navigationType:on.action,navigator:Dt})}function cn(De){let{basename:Te,children:Le,window:Ue}=De,rt=useRef();rt.current==null&&(rt.current=createHashHistory({window:Ue}));let Dt=rt.current,[on,xn]=useState({action:Dt.action,location:Dt.location});return useLayoutEffect(()=>Dt.listen(xn),[Dt]),createElement(Router,{basename:Te,children:Le,location:on.location,navigationType:on.action,navigator:Dt})}function Ft(De){let{basename:Te,children:Le,history:Ue}=De;const[rt,Dt]=useState({action:Ue.action,location:Ue.location});return useLayoutEffect(()=>Ue.listen(Dt),[Ue]),createElement(Router,{basename:Te,children:Le,location:rt.location,navigationType:rt.action,navigator:Ue})}function en(De){return!!(De.metaKey||De.altKey||De.ctrlKey||De.shiftKey)}const Yt=(0,C.forwardRef)(function(Te,Le){let{onClick:Ue,reloadDocument:rt,replace:Dt=!1,state:on,target:xn,to:hn}=Te,In=Ct(Te,Ge),Wn=(0,kt.oQ)(hn),Zn=pn(hn,{replace:Dt,state:on,target:xn});function hr(ar){Ue&&Ue(ar),!ar.defaultPrevented&&!rt&&Zn(ar)}return(0,C.createElement)("a",Kt({},In,{href:Wn,onClick:hr,ref:Le,target:xn}))}),dn=null;function pn(De,Te){let{target:Le,replace:Ue,state:rt}=Te===void 0?{}:Te,Dt=(0,kt.s0)(),on=(0,kt.TH)(),xn=(0,kt.WU)(De);return(0,C.useCallback)(hn=>{if(hn.button===0&&(!Le||Le==="_self")&&!en(hn)){hn.preventDefault();let In=!!Ue||(0,wt.Ep)(on)===(0,wt.Ep)(xn);Dt(De,{replace:In,state:rt})}},[on,Dt,xn,Ue,rt,Le,De])}function rn(De){let Te=useRef(On(De)),Le=useLocation(),Ue=useMemo(()=>{let on=On(Le.search);for(let xn of Te.current.keys())on.has(xn)||Te.current.getAll(xn).forEach(hn=>{on.append(xn,hn)});return on},[Le.search]),rt=useNavigate(),Dt=useCallback((on,xn)=>{rt("?"+On(on),xn)},[rt]);return[Ue,Dt]}function On(De){return De===void 0&&(De=""),new URLSearchParams(typeof De=="string"||Array.isArray(De)||De instanceof URLSearchParams?De:Object.keys(De).reduce((Te,Le)=>{let Ue=De[Le];return Te.concat(Array.isArray(Ue)?Ue.map(rt=>[Le,rt]):[[Le,Ue]])},[]))}var An=e(34162),Jn=["prefetch"];function Rr(De){var Te,Le=De.prefetch,Ue=(0,qt.Z)(De,Jn),rt=(0,An.Ov)(),Dt=typeof De.to=="string"?De.to:(Te=De.to)===null||Te===void 0?void 0:Te.pathname;return Dt?C.createElement(Yt,(0,vt.Z)({onMouseEnter:function(){var xn;return Le&&Dt&&((xn=rt.preloadRoute)===null||xn===void 0?void 0:xn.call(rt,Dt))}},Ue),De.children):null}var er=e(70405);function ct(De){"@babel/helpers - typeof";return ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Te){return typeof Te}:function(Te){return Te&&typeof Symbol=="function"&&Te.constructor===Symbol&&Te!==Symbol.prototype?"symbol":typeof Te},ct(De)}function et(){"use strict";et=function(){return Te};var De,Te={},Le=Object.prototype,Ue=Le.hasOwnProperty,rt=Object.defineProperty||function(Gt,yt,Mt){Gt[yt]=Mt.value},Dt=typeof Symbol=="function"?Symbol:{},on=Dt.iterator||"@@iterator",xn=Dt.asyncIterator||"@@asyncIterator",hn=Dt.toStringTag||"@@toStringTag";function In(Gt,yt,Mt){return Object.defineProperty(Gt,yt,{value:Mt,enumerable:!0,configurable:!0,writable:!0}),Gt[yt]}try{In({},"")}catch(Gt){In=function(Mt,Rt,En){return Mt[Rt]=En}}function Wn(Gt,yt,Mt,Rt){var En=yt&&yt.prototype instanceof Hn?yt:Hn,Xt=Object.create(En.prototype),Ln=new Cn(Rt||[]);return rt(Xt,"_invoke",{value:It(Gt,Mt,Ln)}),Xt}function Zn(Gt,yt,Mt){try{return{type:"normal",arg:Gt.call(yt,Mt)}}catch(Rt){return{type:"throw",arg:Rt}}}Te.wrap=Wn;var hr="suspendedStart",ar="suspendedYield",ur="executing",Tt="completed",_t={};function Hn(){}function zn(){}function Ke(){}var me={};In(me,on,function(){return this});var fe=Object.getPrototypeOf,Ee=fe&&fe(fe(yn([])));Ee&&Ee!==Le&&Ue.call(Ee,on)&&(me=Ee);var ge=Ke.prototype=Hn.prototype=Object.create(me);function _e(Gt){["next","throw","return"].forEach(function(yt){In(Gt,yt,function(Mt){return this._invoke(yt,Mt)})})}function it(Gt,yt){function Mt(En,Xt,Ln,Nr){var Sr=Zn(Gt[En],Gt,Xt);if(Sr.type!=="throw"){var Br=Sr.arg,Tr=Br.value;return Tr&&ct(Tr)=="object"&&Ue.call(Tr,"__await")?yt.resolve(Tr.__await).then(function(la){Mt("next",la,Ln,Nr)},function(la){Mt("throw",la,Ln,Nr)}):yt.resolve(Tr).then(function(la){Br.value=la,Ln(Br)},function(la){return Mt("throw",la,Ln,Nr)})}Nr(Sr.arg)}var Rt;rt(this,"_invoke",{value:function(Xt,Ln){function Nr(){return new yt(function(Sr,Br){Mt(Xt,Ln,Sr,Br)})}return Rt=Rt?Rt.then(Nr,Nr):Nr()}})}function It(Gt,yt,Mt){var Rt=hr;return function(En,Xt){if(Rt===ur)throw new Error("Generator is already running");if(Rt===Tt){if(En==="throw")throw Xt;return{value:De,done:!0}}for(Mt.method=En,Mt.arg=Xt;;){var Ln=Mt.delegate;if(Ln){var Nr=Nt(Ln,Mt);if(Nr){if(Nr===_t)continue;return Nr}}if(Mt.method==="next")Mt.sent=Mt._sent=Mt.arg;else if(Mt.method==="throw"){if(Rt===hr)throw Rt=Tt,Mt.arg;Mt.dispatchException(Mt.arg)}else Mt.method==="return"&&Mt.abrupt("return",Mt.arg);Rt=ur;var Sr=Zn(Gt,yt,Mt);if(Sr.type==="normal"){if(Rt=Mt.done?Tt:ar,Sr.arg===_t)continue;return{value:Sr.arg,done:Mt.done}}Sr.type==="throw"&&(Rt=Tt,Mt.method="throw",Mt.arg=Sr.arg)}}}function Nt(Gt,yt){var Mt=yt.method,Rt=Gt.iterator[Mt];if(Rt===De)return yt.delegate=null,Mt==="throw"&&Gt.iterator.return&&(yt.method="return",yt.arg=De,Nt(Gt,yt),yt.method==="throw")||Mt!=="return"&&(yt.method="throw",yt.arg=new TypeError("The iterator does not provide a '"+Mt+"' method")),_t;var En=Zn(Rt,Gt.iterator,yt.arg);if(En.type==="throw")return yt.method="throw",yt.arg=En.arg,yt.delegate=null,_t;var Xt=En.arg;return Xt?Xt.done?(yt[Gt.resultName]=Xt.value,yt.next=Gt.nextLoc,yt.method!=="return"&&(yt.method="next",yt.arg=De),yt.delegate=null,_t):Xt:(yt.method="throw",yt.arg=new TypeError("iterator result is not an object"),yt.delegate=null,_t)}function Zt(Gt){var yt={tryLoc:Gt[0]};1 in Gt&&(yt.catchLoc=Gt[1]),2 in Gt&&(yt.finallyLoc=Gt[2],yt.afterLoc=Gt[3]),this.tryEntries.push(yt)}function Pt(Gt){var yt=Gt.completion||{};yt.type="normal",delete yt.arg,Gt.completion=yt}function Cn(Gt){this.tryEntries=[{tryLoc:"root"}],Gt.forEach(Zt,this),this.reset(!0)}function yn(Gt){if(Gt||Gt===""){var yt=Gt[on];if(yt)return yt.call(Gt);if(typeof Gt.next=="function")return Gt;if(!isNaN(Gt.length)){var Mt=-1,Rt=function En(){for(;++Mt=0;--En){var Xt=this.tryEntries[En],Ln=Xt.completion;if(Xt.tryLoc==="root")return Rt("end");if(Xt.tryLoc<=this.prev){var Nr=Ue.call(Xt,"catchLoc"),Sr=Ue.call(Xt,"finallyLoc");if(Nr&&Sr){if(this.prev=0;--Rt){var En=this.tryEntries[Rt];if(En.tryLoc<=this.prev&&Ue.call(En,"finallyLoc")&&this.prev=0;--Mt){var Rt=this.tryEntries[Mt];if(Rt.finallyLoc===yt)return this.complete(Rt.completion,Rt.afterLoc),Pt(Rt),_t}},catch:function(yt){for(var Mt=this.tryEntries.length-1;Mt>=0;--Mt){var Rt=this.tryEntries[Mt];if(Rt.tryLoc===yt){var En=Rt.completion;if(En.type==="throw"){var Xt=En.arg;Pt(Rt)}return Xt}}throw new Error("illegal catch attempt")},delegateYield:function(yt,Mt,Rt){return this.delegate={iterator:yn(yt),resultName:Mt,nextLoc:Rt},this.method==="next"&&(this.arg=De),_t}},Te}function Ve(De,Te){if(ct(De)!="object"||!De)return De;var Le=De[Symbol.toPrimitive];if(Le!==void 0){var Ue=Le.call(De,Te||"default");if(ct(Ue)!="object")return Ue;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Te==="string"?String:Number)(De)}function Jt(De){var Te=Ve(De,"string");return ct(Te)=="symbol"?Te:String(Te)}function ht(De,Te,Le){return Te=Jt(Te),Te in De?Object.defineProperty(De,Te,{value:Le,enumerable:!0,configurable:!0,writable:!0}):De[Te]=Le,De}function un(De,Te){var Le=Object.keys(De);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(De);Te&&(Ue=Ue.filter(function(rt){return Object.getOwnPropertyDescriptor(De,rt).enumerable})),Le.push.apply(Le,Ue)}return Le}function Tn(De){for(var Te=1;TeDe.length)&&(Te=De.length);for(var Le=0,Ue=new Array(Te);Le=De.length?{done:!0}:{done:!1,value:De[Ue++]}},e:function(In){throw In},f:rt}}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 Dt=!0,on=!1,xn;return{s:function(){Le=Le.call(De)},n:function(){var In=Le.next();return Dt=In.done,In},e:function(In){on=!0,xn=In},f:function(){try{!Dt&&Le.return!=null&&Le.return()}finally{if(on)throw xn}}}}function gr(De){if(Array.isArray(De))return De}function sr(De){if(typeof Symbol!="undefined"&&De[Symbol.iterator]!=null||De["@@iterator"]!=null)return Array.from(De)}function fn(){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 tr(De){return gr(De)||sr(De)||fr(De)||fn()}function gn(De,Te){if(!(De instanceof Te))throw new TypeError("Cannot call a class as a function")}function an(De,Te){for(var Le=0;Le-1,"register failed, invalid key ".concat(rt," ").concat(Le.path?"from plugin ".concat(Le.path):"",".")),Ue.hooks[rt]=(Ue.hooks[rt]||[]).concat(Le.apply[rt])})}},{key:"getHooks",value:function(Le){var Ue=Le.split("."),rt=tr(Ue),Dt=rt[0],on=rt.slice(1),xn=this.hooks[Dt]||[];return on.length&&(xn=xn.map(function(hn){try{var In=hn,Wn=ir(on),Zn;try{for(Wn.s();!(Zn=Wn.n()).done;){var hr=Zn.value;In=In[hr]}}catch(ar){Wn.e(ar)}finally{Wn.f()}return In}catch(ar){return null}}).filter(Boolean)),xn}},{key:"applyPlugins",value:function(Le){var Ue=Le.key,rt=Le.type,Dt=Le.initialValue,on=Le.args,xn=Le.async,hn=this.getHooks(Ue)||[];switch(on&&xt(ct(on)==="object","applyPlugins failed, args must be plain object."),xn&&xt(rt===zt.modify||rt===zt.event,"async only works with modify and event type."),rt){case zt.modify:return xn?hn.reduce(function(){var In=rr(et().mark(function Wn(Zn,hr){var ar;return et().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:if(xt(typeof hr=="function"||ct(hr)==="object"||bt(hr),"applyPlugins failed, all hooks for key ".concat(Ue," must be function, plain object or Promise.")),!bt(Zn)){Tt.next=5;break}return Tt.next=4,Zn;case 4:Zn=Tt.sent;case 5:if(typeof hr!="function"){Tt.next=16;break}if(ar=hr(Zn,on),!bt(ar)){Tt.next=13;break}return Tt.next=10,ar;case 10:return Tt.abrupt("return",Tt.sent);case 13:return Tt.abrupt("return",ar);case 14:Tt.next=21;break;case 16:if(!bt(hr)){Tt.next=20;break}return Tt.next=19,hr;case 19:hr=Tt.sent;case 20:return Tt.abrupt("return",Tn(Tn({},Zn),hr));case 21:case"end":return Tt.stop()}},Wn)}));return function(Wn,Zn){return In.apply(this,arguments)}}(),bt(Dt)?Dt:Promise.resolve(Dt)):hn.reduce(function(In,Wn){return xt(typeof Wn=="function"||ct(Wn)==="object","applyPlugins failed, all hooks for key ".concat(Ue," must be function or plain object.")),typeof Wn=="function"?Wn(In,on):Tn(Tn({},In),Wn)},Dt);case zt.event:return rr(et().mark(function In(){var Wn,Zn,hr,ar;return et().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:Wn=ir(hn),Tt.prev=1,Wn.s();case 3:if((Zn=Wn.n()).done){Tt.next=12;break}if(hr=Zn.value,xt(typeof hr=="function","applyPlugins failed, all hooks for key ".concat(Ue," must be function.")),ar=hr(on),!(xn&&bt(ar))){Tt.next=10;break}return Tt.next=10,ar;case 10:Tt.next=3;break;case 12:Tt.next=17;break;case 14:Tt.prev=14,Tt.t0=Tt.catch(1),Wn.e(Tt.t0);case 17:return Tt.prev=17,Wn.f(),Tt.finish(17);case 20:case"end":return Tt.stop()}},In,null,[[1,14,17,20]])}))();case zt.compose:return function(){return Bt({fns:hn.concat(Dt),args:on})()}}}}],[{key:"create",value:function(Le){var Ue=new De({validKeys:Le.validKeys});return Le.plugins.forEach(function(rt){Ue.register(rt)}),Ue}}]),De}(),nn=e(10581),Dn=0,Yn=0;function kn(De,Te){if(!1)var Le}function Fn(De){return JSON.stringify(De,null,2)}function mn(De){var Te=De.length>1?De.map(Bn).join(" "):De[0];return p()(Te)==="object"?"".concat(Fn(Te)):Te.toString()}function Bn(De){return p()(De)==="object"?"".concat(JSON.stringify(De)):De.toString()}var Mn={log:function(){for(var Te=arguments.length,Le=new Array(Te),Ue=0;Ue0){for(Lr=1,Sa=1;Lr-1,"register failed, invalid key ".concat(rt," ").concat(Le.path?"from plugin ".concat(Le.path):"",".")),Ue.hooks[rt]=(Ue.hooks[rt]||[]).concat(Le.apply[rt])})}},{key:"getHooks",value:function(Le){var Ue=Le.split("."),rt=tr(Ue),Dt=rt[0],on=rt.slice(1),xn=this.hooks[Dt]||[];return on.length&&(xn=xn.map(function(hn){try{var In=hn,Wn=ir(on),Zn;try{for(Wn.s();!(Zn=Wn.n()).done;){var hr=Zn.value;In=In[hr]}}catch(ar){Wn.e(ar)}finally{Wn.f()}return In}catch(ar){return null}}).filter(Boolean)),xn}},{key:"applyPlugins",value:function(Le){var Ue=Le.key,rt=Le.type,Dt=Le.initialValue,on=Le.args,xn=Le.async,hn=this.getHooks(Ue)||[];switch(on&&xt(ct(on)==="object","applyPlugins failed, args must be plain object."),xn&&xt(rt===zt.modify||rt===zt.event,"async only works with modify and event type."),rt){case zt.modify:return xn?hn.reduce(function(){var In=rr(et().mark(function Wn(Zn,hr){var ar;return et().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:if(xt(typeof hr=="function"||ct(hr)==="object"||bt(hr),"applyPlugins failed, all hooks for key ".concat(Ue," must be function, plain object or Promise.")),!bt(Zn)){Tt.next=5;break}return Tt.next=4,Zn;case 4:Zn=Tt.sent;case 5:if(typeof hr!="function"){Tt.next=16;break}if(ar=hr(Zn,on),!bt(ar)){Tt.next=13;break}return Tt.next=10,ar;case 10:return Tt.abrupt("return",Tt.sent);case 13:return Tt.abrupt("return",ar);case 14:Tt.next=21;break;case 16:if(!bt(hr)){Tt.next=20;break}return Tt.next=19,hr;case 19:hr=Tt.sent;case 20:return Tt.abrupt("return",Tn(Tn({},Zn),hr));case 21:case"end":return Tt.stop()}},Wn)}));return function(Wn,Zn){return In.apply(this,arguments)}}(),bt(Dt)?Dt:Promise.resolve(Dt)):hn.reduce(function(In,Wn){return xt(typeof Wn=="function"||ct(Wn)==="object","applyPlugins failed, all hooks for key ".concat(Ue," must be function or plain object.")),typeof Wn=="function"?Wn(In,on):Tn(Tn({},In),Wn)},Dt);case zt.event:return rr(et().mark(function In(){var Wn,Zn,hr,ar;return et().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:Wn=ir(hn),Tt.prev=1,Wn.s();case 3:if((Zn=Wn.n()).done){Tt.next=12;break}if(hr=Zn.value,xt(typeof hr=="function","applyPlugins failed, all hooks for key ".concat(Ue," must be function.")),ar=hr(on),!(xn&&bt(ar))){Tt.next=10;break}return Tt.next=10,ar;case 10:Tt.next=3;break;case 12:Tt.next=17;break;case 14:Tt.prev=14,Tt.t0=Tt.catch(1),Wn.e(Tt.t0);case 17:return Tt.prev=17,Wn.f(),Tt.finish(17);case 20:case"end":return Tt.stop()}},In,null,[[1,14,17,20]])}))();case zt.compose:return function(){return Bt({fns:hn.concat(Dt),args:on})()}}}}],[{key:"create",value:function(Le){var Ue=new De({validKeys:Le.validKeys});return Le.plugins.forEach(function(rt){Ue.register(rt)}),Ue}}]),De}(),nn=e(10581),Dn=0,Gn=0;function Vn(De,Te){if(!1)var Le}function Fn(De){return JSON.stringify(De,null,2)}function mn(De){var Te=De.length>1?De.map(Bn).join(" "):De[0];return p()(Te)==="object"?"".concat(Fn(Te)):Te.toString()}function Bn(De){return p()(De)==="object"?"".concat(JSON.stringify(De)):De.toString()}var Mn={log:function(){for(var Te=arguments.length,Le=new Array(Te),Ue=0;Ue0){for(Lr=1,Sa=1;Lrro&&(ro=ze,wo=[]),wo.push(he))}function ru(he,Ye){return new G(he,[],"",Ye)}function Rl(he,Ye,Qt){return new G(G.buildMessage(he,Ye),he,Ye,Qt)}function $l(){var he;return he=ol(),he}function ol(){var he,Ye;for(he=[],Ye=Al();Ye!==W;)he.push(Ye),Ye=Al();return he}function Al(){var he;return he=au(),he===W&&(he=ou(),he===W&&(he=cu(),he===W&&(he=Nu(),he===W&&(he=du(),he===W&&(he=Ds()))))),he}function il(){var he,Ye,Qt;if(he=ze,Ye=[],Qt=ms(),Qt===W&&(Qt=gi(),Qt===W&&(Qt=sl())),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=ms(),Qt===W&&(Qt=gi(),Qt===W&&(Qt=sl()));else Ye=W;return Ye!==W&&(Ua=he,Ye=Pn(Ye)),he=Ye,he}function au(){var he,Ye;return he=ze,Ye=il(),Ye!==W&&(Ua=he,Ye=Qn(Ye)),he=Ye,he}function Ds(){var he,Ye;return he=ze,be.charCodeAt(ze)===35?(Ye=Cr,ze++):(Ye=W,lr===0&&Gr(na)),Ye!==W&&(Ua=he,Ye=Da()),he=Ye,he}function ou(){var he,Ye,Qt,Vn,zr,Ca;return lr++,he=ze,be.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W?(Qt=Va(),Qt!==W?(Vn=vs(),Vn!==W?(zr=Va(),zr!==W?(be.charCodeAt(ze)===125?(Ca=Sa,ze++):(Ca=W,lr===0&&Gr(xa)),Ca!==W?(Ua=he,Ye=xo(Vn),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W),lr--,he===W&&(Ye=W,lr===0&&Gr(Zr)),he}function Ls(){var he,Ye,Qt,Vn,zr;if(lr++,he=ze,Ye=[],Qt=ze,Vn=ze,lr++,zr=ns(),zr===W&&($o.test(be.charAt(ze))?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(Co))),lr--,zr===W?Vn=void 0:(ze=Vn,Vn=W),Vn!==W?(be.length>ze?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(Vn=[Vn,zr],Qt=Vn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=ze,Vn=ze,lr++,zr=ns(),zr===W&&($o.test(be.charAt(ze))?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(Co))),lr--,zr===W?Vn=void 0:(ze=Vn,Vn=W),Vn!==W?(be.length>ze?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(Vn=[Vn,zr],Qt=Vn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W);else Ye=W;return Ye!==W?he=be.substring(he,ze):he=Ye,lr--,he===W&&(Ye=W,lr===0&&Gr(Xo)),he}function js(){var he,Ye,Qt;return lr++,he=ze,be.charCodeAt(ze)===47?(Ye=Vs,ze++):(Ye=W,lr===0&&Gr(Qo)),Ye!==W?(Qt=Ls(),Qt!==W?(Ua=he,Ye=os(Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W),lr--,he===W&&(Ye=W,lr===0&&Gr(ri)),he}function Dl(){var he,Ye,Qt,Vn,zr;if(lr++,he=ze,Ye=Va(),Ye!==W)if(Qt=Ls(),Qt!==W){for(Vn=[],zr=js();zr!==W;)Vn.push(zr),zr=js();Vn!==W?(Ua=he,Ye=ki(Qt,Vn),he=Ye):(ze=he,he=W)}else ze=he,he=W;else ze=he,he=W;return lr--,he===W&&(Ye=W,lr===0&&Gr(ai)),he}function Ll(){var he,Ye,Qt;if(he=ze,Ye=[],Qt=Dl(),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=Dl();else Ye=W;return Ye!==W&&(Ua=he,Ye=is(Ye)),he=Ye,he}function iu(){var he,Ye,Qt;return he=ze,be.substr(ze,2)===Vi?(Ye=Vi,ze+=2):(Ye=W,lr===0&&Gr(Ks)),Ye!==W?(Qt=Ll(),Qt!==W?(Ua=he,Ye=fi(Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W),he===W&&(he=ze,Ua=ze,Ye=Bo(),Ye?Ye=void 0:Ye=W,Ye!==W?(Qt=il(),Qt!==W?(Ua=he,Ye=Wo(Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W)),he}function su(){var he,Ye,Qt,Vn,zr,Ca,co,$a,oo,Ya,go,Qa,fo;return he=ze,be.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W?(Qt=Va(),Qt!==W?(Vn=vs(),Vn!==W?(zr=Va(),zr!==W?(be.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W?(co=Va(),co!==W?(be.substr(ze,6)===oi?($a=oi,ze+=6):($a=W,lr===0&&Gr(pi)),$a!==W?(oo=Va(),oo!==W?(Ya=ze,be.charCodeAt(ze)===44?(go=Oo,ze++):(go=W,lr===0&&Gr(Oi)),go!==W?(Qa=Va(),Qa!==W?(fo=iu(),fo!==W?(go=[go,Qa,fo],Ya=go):(ze=Ya,Ya=W)):(ze=Ya,Ya=W)):(ze=Ya,Ya=W),Ya===W&&(Ya=null),Ya!==W?(go=Va(),go!==W?(be.charCodeAt(ze)===125?(Qa=Sa,ze++):(Qa=W,lr===0&&Gr(xa)),Qa!==W?(Ua=he,Ye=Ki(Vn,$a,Ya),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W),he}function jl(){var he,Ye,Qt,Vn;if(he=ze,be.charCodeAt(ze)===39?(Ye=ii,ze++):(Ye=W,lr===0&&Gr(si)),Ye!==W){if(Qt=[],Vn=ms(),Vn===W&&(Ri.test(be.charAt(ze))?(Vn=be.charAt(ze),ze++):(Vn=W,lr===0&&Gr(ws))),Vn!==W)for(;Vn!==W;)Qt.push(Vn),Vn=ms(),Vn===W&&(Ri.test(be.charAt(ze))?(Vn=be.charAt(ze),ze++):(Vn=W,lr===0&&Gr(ws)));else Qt=W;Qt!==W?(be.charCodeAt(ze)===39?(Vn=ii,ze++):(Vn=W,lr===0&&Gr(si)),Vn!==W?(Ye=[Ye,Qt,Vn],he=Ye):(ze=he,he=W)):(ze=he,he=W)}else ze=he,he=W;if(he===W)if(he=[],Ye=ms(),Ye===W&&(Gs.test(be.charAt(ze))?(Ye=be.charAt(ze),ze++):(Ye=W,lr===0&&Gr(Ys))),Ye!==W)for(;Ye!==W;)he.push(Ye),Ye=ms(),Ye===W&&(Gs.test(be.charAt(ze))?(Ye=be.charAt(ze),ze++):(Ye=W,lr===0&&Gr(Ys)));else he=W;return he}function Nl(){var he,Ye;if(he=[],Jo.test(be.charAt(ze))?(Ye=be.charAt(ze),ze++):(Ye=W,lr===0&&Gr(_o)),Ye!==W)for(;Ye!==W;)he.push(Ye),Jo.test(be.charAt(ze))?(Ye=be.charAt(ze),ze++):(Ye=W,lr===0&&Gr(_o));else he=W;return he}function Fl(){var he,Ye,Qt,Vn;if(he=ze,Ye=ze,Qt=[],Vn=jl(),Vn===W&&(Vn=Nl()),Vn!==W)for(;Vn!==W;)Qt.push(Vn),Vn=jl(),Vn===W&&(Vn=Nl());else Qt=W;return Qt!==W?Ye=be.substring(Ye,ze):Ye=Qt,Ye!==W&&(Ua=he,Ye=vo(Ye)),he=Ye,he}function lu(){var he,Ye,Qt;return he=ze,be.substr(ze,2)===Vi?(Ye=Vi,ze+=2):(Ye=W,lr===0&&Gr(Ks)),Ye!==W?(Qt=Fl(),Qt!==W?(Ua=he,Ye=fi(Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W),he===W&&(he=ze,Ua=ze,Ye=wi(),Ye?Ye=void 0:Ye=W,Ye!==W?(Qt=il(),Qt!==W?(Ua=he,Ye=Wo(Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W)),he}function uu(){var he,Ye,Qt,Vn,zr,Ca,co,$a,oo,Ya,go,Qa,fo;return he=ze,be.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W?(Qt=Va(),Qt!==W?(Vn=vs(),Vn!==W?(zr=Va(),zr!==W?(be.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W?(co=Va(),co!==W?(be.substr(ze,4)===gl?($a=gl,ze+=4):($a=W,lr===0&&Gr(Yl)),$a===W&&(be.substr(ze,4)===Xs?($a=Xs,ze+=4):($a=W,lr===0&&Gr(hl))),$a!==W?(oo=Va(),oo!==W?(Ya=ze,be.charCodeAt(ze)===44?(go=Oo,ze++):(go=W,lr===0&&Gr(Oi)),go!==W?(Qa=Va(),Qa!==W?(fo=lu(),fo!==W?(go=[go,Qa,fo],Ya=go):(ze=Ya,Ya=W)):(ze=Ya,Ya=W)):(ze=Ya,Ya=W),Ya===W&&(Ya=null),Ya!==W?(go=Va(),go!==W?(be.charCodeAt(ze)===125?(Qa=Sa,ze++):(Qa=W,lr===0&&Gr(xa)),Qa!==W?(Ua=he,Ye=Ki(Vn,$a,Ya),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W),he}function cu(){var he;return he=su(),he===W&&(he=uu()),he}function Nu(){var he,Ye,Qt,Vn,zr,Ca,co,$a,oo,Ya,go,Qa,fo,ui,bi,dl;if(he=ze,be.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W)if(Qt=Va(),Qt!==W)if(Vn=vs(),Vn!==W)if(zr=Va(),zr!==W)if(be.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W)if(co=Va(),co!==W)if(be.substr(ze,6)===yl?($a=yl,ze+=6):($a=W,lr===0&&Gr(Qs)),$a===W&&(be.substr(ze,13)===bl?($a=bl,ze+=13):($a=W,lr===0&&Gr(ss))),$a!==W)if(oo=Va(),oo!==W)if(be.charCodeAt(ze)===44?(Ya=Oo,ze++):(Ya=W,lr===0&&Gr(Oi)),Ya!==W)if(go=Va(),go!==W)if(Qa=ze,be.substr(ze,7)===Js?(fo=Js,ze+=7):(fo=W,lr===0&&Gr(ju)),fo!==W?(ui=Va(),ui!==W?(bi=pu(),bi!==W?(fo=[fo,ui,bi],Qa=fo):(ze=Qa,Qa=W)):(ze=Qa,Qa=W)):(ze=Qa,Qa=W),Qa===W&&(Qa=null),Qa!==W)if(fo=Va(),fo!==W){if(ui=[],bi=Bl(),bi!==W)for(;bi!==W;)ui.push(bi),bi=Bl();else ui=W;ui!==W?(bi=Va(),bi!==W?(be.charCodeAt(ze)===125?(dl=Sa,ze++):(dl=W,lr===0&&Gr(xa)),dl!==W?(Ua=he,Ye=Ts(Vn,$a,Qa,ui),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)}else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;return he}function du(){var he,Ye,Qt,Vn,zr,Ca,co,$a,oo,Ya,go,Qa,fo,ui;if(he=ze,be.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W)if(Qt=Va(),Qt!==W)if(Vn=vs(),Vn!==W)if(zr=Va(),zr!==W)if(be.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W)if(co=Va(),co!==W)if(be.substr(ze,6)===Is?($a=Is,ze+=6):($a=W,lr===0&&Gr(Xl)),$a!==W)if(oo=Va(),oo!==W)if(be.charCodeAt(ze)===44?(Ya=Oo,ze++):(Ya=W,lr===0&&Gr(Oi)),Ya!==W)if(go=Va(),go!==W){if(Qa=[],fo=fu(),fo!==W)for(;fo!==W;)Qa.push(fo),fo=fu();else Qa=W;Qa!==W?(fo=Va(),fo!==W?(be.charCodeAt(ze)===125?(ui=Sa,ze++):(ui=W,lr===0&&Gr(xa)),ui!==W?(Ua=he,Ye=Ql(Vn,Qa),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)}else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;return he}function Fu(){var he,Ye,Qt,Vn;return he=ze,Ye=ze,be.charCodeAt(ze)===61?(Qt=ls,ze++):(Qt=W,lr===0&&Gr(Jl)),Qt!==W?(Vn=pu(),Vn!==W?(Qt=[Qt,Vn],Ye=Qt):(ze=Ye,Ye=W)):(ze=Ye,Ye=W),Ye!==W?he=be.substring(he,ze):he=Ye,he===W&&(he=ul()),he}function fu(){var he,Ye,Qt,Vn,zr,Ca,co,$a;return he=ze,Ye=Va(),Ye!==W?(Qt=ul(),Qt!==W?(Vn=Va(),Vn!==W?(be.charCodeAt(ze)===123?(zr=dr,ze++):(zr=W,lr===0&&Gr(Lr)),zr!==W?(Ua=ze,Ca=_s(Qt),Ca?Ca=void 0:Ca=W,Ca!==W?(co=ol(),co!==W?(be.charCodeAt(ze)===125?($a=Sa,ze++):($a=W,lr===0&&Gr(xa)),$a!==W?(Ua=he,Ye=qs(Qt,co),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W),he}function Bl(){var he,Ye,Qt,Vn,zr,Ca,co,$a;return he=ze,Ye=Va(),Ye!==W?(Qt=Fu(),Qt!==W?(Vn=Va(),Vn!==W?(be.charCodeAt(ze)===123?(zr=dr,ze++):(zr=W,lr===0&&Gr(Lr)),zr!==W?(Ua=ze,Ca=us(Qt),Ca?Ca=void 0:Ca=W,Ca!==W?(co=ol(),co!==W?(be.charCodeAt(ze)===125?($a=Sa,ze++):($a=W,lr===0&&Gr(xa)),$a!==W?(Ua=he,Ye=Sl(Qt,co),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W),he}function ns(){var he,Ye;return lr++,Cl.test(be.charAt(ze))?(he=be.charAt(ze),ze++):(he=W,lr===0&&Gr(El)),lr--,he===W&&(Ye=W,lr===0&&Gr(xl)),he}function Zl(){var he,Ye;return lr++,mi.test(be.charAt(ze))?(he=be.charAt(ze),ze++):(he=W,lr===0&&Gr(qi)),lr--,he===W&&(Ye=W,lr===0&&Gr(cs)),he}function Va(){var he,Ye,Qt;for(lr++,he=ze,Ye=[],Qt=ns();Qt!==W;)Ye.push(Qt),Qt=ns();return Ye!==W?he=be.substring(he,ze):he=Ye,lr--,he===W&&(Ye=W,lr===0&&Gr(Pl)),he}function pu(){var he,Ye,Qt;return lr++,he=ze,be.charCodeAt(ze)===45?(Ye=Zi,ze++):(Ye=W,lr===0&&Gr(Gi)),Ye===W&&(Ye=null),Ye!==W?(Qt=zl(),Qt!==W?(Ua=he,Ye=Ol(Ye,Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W),lr--,he===W&&(Ye=W,lr===0&&Gr(_l)),he}function fc(){var he,Ye;return lr++,be.charCodeAt(ze)===39?(he=ii,ze++):(he=W,lr===0&&Gr(si)),lr--,he===W&&(Ye=W,lr===0&&Gr(ql)),he}function ms(){var he,Ye;return lr++,he=ze,be.substr(ze,2)===li?(Ye=li,ze+=2):(Ye=W,lr===0&&Gr(ds)),Ye!==W&&(Ua=he,Ye=eu()),he=Ye,lr--,he===W&&(Ye=W,lr===0&&Gr(zi)),he}function gi(){var he,Ye,Qt,Vn,zr,Ca;if(he=ze,be.charCodeAt(ze)===39?(Ye=ii,ze++):(Ye=W,lr===0&&Gr(si)),Ye!==W)if(Qt=ll(),Qt!==W){for(Vn=ze,zr=[],be.substr(ze,2)===li?(Ca=li,ze+=2):(Ca=W,lr===0&&Gr(ds)),Ca===W&&(Ri.test(be.charAt(ze))?(Ca=be.charAt(ze),ze++):(Ca=W,lr===0&&Gr(ws)));Ca!==W;)zr.push(Ca),be.substr(ze,2)===li?(Ca=li,ze+=2):(Ca=W,lr===0&&Gr(ds)),Ca===W&&(Ri.test(be.charAt(ze))?(Ca=be.charAt(ze),ze++):(Ca=W,lr===0&&Gr(ws)));zr!==W?Vn=be.substring(Vn,ze):Vn=zr,Vn!==W?(be.charCodeAt(ze)===39?(zr=ii,ze++):(zr=W,lr===0&&Gr(si)),zr===W&&(zr=null),zr!==W?(Ua=he,Ye=el(Qt,Vn),he=Ye):(ze=he,he=W)):(ze=he,he=W)}else ze=he,he=W;else ze=he,he=W;return he}function sl(){var he,Ye,Qt,Vn;return he=ze,Ye=ze,be.length>ze?(Qt=be.charAt(ze),ze++):(Qt=W,lr===0&&Gr(ni)),Qt!==W?(Ua=ze,Vn=tu(Qt),Vn?Vn=void 0:Vn=W,Vn!==W?(Qt=[Qt,Vn],Ye=Qt):(ze=Ye,Ye=W)):(ze=Ye,Ye=W),Ye===W&&(be.charCodeAt(ze)===10?(Ye=Ms,ze++):(Ye=W,lr===0&&Gr($i))),Ye!==W?he=be.substring(he,ze):he=Ye,he}function ll(){var he,Ye,Qt,Vn;return he=ze,Ye=ze,be.length>ze?(Qt=be.charAt(ze),ze++):(Qt=W,lr===0&&Gr(ni)),Qt!==W?(Ua=ze,Vn=Rs(Qt),Vn?Vn=void 0:Vn=W,Vn!==W?(Qt=[Qt,Vn],Ye=Qt):(ze=Ye,Ye=W)):(ze=Ye,Ye=W),Ye!==W?he=be.substring(he,ze):he=Ye,he}function vs(){var he,Ye;return lr++,he=ze,Ye=zl(),Ye===W&&(Ye=ul()),Ye!==W?he=be.substring(he,ze):he=Ye,lr--,he===W&&(Ye=W,lr===0&&Gr($s)),he}function zl(){var he,Ye,Qt,Vn,zr;if(lr++,he=ze,be.charCodeAt(ze)===48?(Ye=wl,ze++):(Ye=W,lr===0&&Gr(fs)),Ye!==W&&(Ua=he,Ye=nu()),he=Ye,he===W){if(he=ze,Ye=ze,Tl.test(be.charAt(ze))?(Qt=be.charAt(ze),ze++):(Qt=W,lr===0&&Gr(yo)),Qt!==W){for(Vn=[],As.test(be.charAt(ze))?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(tl));zr!==W;)Vn.push(zr),As.test(be.charAt(ze))?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(tl));Vn!==W?(Qt=[Qt,Vn],Ye=Qt):(ze=Ye,Ye=W)}else ze=Ye,Ye=W;Ye!==W&&(Ua=he,Ye=Il(Ye)),he=Ye}return lr--,he===W&&(Ye=W,lr===0&&Gr(es)),he}function ul(){var he,Ye,Qt,Vn,zr;if(lr++,he=ze,Ye=[],Qt=ze,Vn=ze,lr++,zr=ns(),zr===W&&(zr=Zl()),lr--,zr===W?Vn=void 0:(ze=Vn,Vn=W),Vn!==W?(be.length>ze?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(Vn=[Vn,zr],Qt=Vn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=ze,Vn=ze,lr++,zr=ns(),zr===W&&(zr=Zl()),lr--,zr===W?Vn=void 0:(ze=Vn,Vn=W),Vn!==W?(be.length>ze?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(Vn=[Vn,zr],Qt=Vn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W);else Ye=W;return Ye!==W?he=be.substring(he,ze):he=Ye,lr--,he===W&&(Ye=W,lr===0&&Gr(nl)),he}var hi=["root"];function gs(){return hi.length>1}function cl(){return hi[hi.length-1]==="plural"}function yi(){return je&&je.captureLocation?{location:Ml()}:{}}if(Yi=Ot(),Yi!==W&&ze===be.length)return Yi;throw Yi!==W&&ze1)throw new RangeError("Fraction-precision stems only accept a single optional option");Ot.stem.replace(k,function(Qn,Cr,na){return Qn==="."?je.maximumFractionDigits=0:na==="+"?je.minimumFractionDigits=na.length:Cr[0]==="#"?je.maximumFractionDigits=Cr.length:(je.minimumFractionDigits=Cr.length,je.maximumFractionDigits=Cr.length+(typeof na=="string"?na.length:0)),""}),Ot.options.length&&(je=U(U({},je),ue(Ot.options[0])));continue}if(J.test(Ot.stem)){je=U(U({},je),ue(Ot.stem));continue}var Pn=_(Ot.stem);Pn&&(je=U(U({},je),Pn))}return je}var pe=function(){var be=function(je,W){return be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ut,Ot){ut.__proto__=Ot}||function(ut,Ot){for(var Pn in Ot)Ot.hasOwnProperty(Pn)&&(ut[Pn]=Ot[Pn])},be(je,W)};return function(je,W){be(je,W);function ut(){this.constructor=je}je.prototype=W===null?Object.create(W):(ut.prototype=W.prototype,new ut)}}(),de=function(){for(var be=0,je=0,W=arguments.length;jero&&(ro=ze,wo=[]),wo.push(he))}function ru(he,Ye){return new G(he,[],"",Ye)}function Rl(he,Ye,Qt){return new G(G.buildMessage(he,Ye),he,Ye,Qt)}function $l(){var he;return he=ol(),he}function ol(){var he,Ye;for(he=[],Ye=Al();Ye!==W;)he.push(Ye),Ye=Al();return he}function Al(){var he;return he=au(),he===W&&(he=ou(),he===W&&(he=cu(),he===W&&(he=Nu(),he===W&&(he=du(),he===W&&(he=Ds()))))),he}function il(){var he,Ye,Qt;if(he=ze,Ye=[],Qt=ms(),Qt===W&&(Qt=gi(),Qt===W&&(Qt=sl())),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=ms(),Qt===W&&(Qt=gi(),Qt===W&&(Qt=sl()));else Ye=W;return Ye!==W&&(Ua=he,Ye=Pn(Ye)),he=Ye,he}function au(){var he,Ye;return he=ze,Ye=il(),Ye!==W&&(Ua=he,Ye=Qn(Ye)),he=Ye,he}function Ds(){var he,Ye;return he=ze,be.charCodeAt(ze)===35?(Ye=Cr,ze++):(Ye=W,lr===0&&Gr(na)),Ye!==W&&(Ua=he,Ye=Da()),he=Ye,he}function ou(){var he,Ye,Qt,kn,zr,Ca;return lr++,he=ze,be.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W?(Qt=Va(),Qt!==W?(kn=vs(),kn!==W?(zr=Va(),zr!==W?(be.charCodeAt(ze)===125?(Ca=Sa,ze++):(Ca=W,lr===0&&Gr(xa)),Ca!==W?(Ua=he,Ye=xo(kn),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W),lr--,he===W&&(Ye=W,lr===0&&Gr(Zr)),he}function Ls(){var he,Ye,Qt,kn,zr;if(lr++,he=ze,Ye=[],Qt=ze,kn=ze,lr++,zr=ns(),zr===W&&($o.test(be.charAt(ze))?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(Co))),lr--,zr===W?kn=void 0:(ze=kn,kn=W),kn!==W?(be.length>ze?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=ze,kn=ze,lr++,zr=ns(),zr===W&&($o.test(be.charAt(ze))?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(Co))),lr--,zr===W?kn=void 0:(ze=kn,kn=W),kn!==W?(be.length>ze?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W);else Ye=W;return Ye!==W?he=be.substring(he,ze):he=Ye,lr--,he===W&&(Ye=W,lr===0&&Gr(Xo)),he}function js(){var he,Ye,Qt;return lr++,he=ze,be.charCodeAt(ze)===47?(Ye=Vs,ze++):(Ye=W,lr===0&&Gr(Qo)),Ye!==W?(Qt=Ls(),Qt!==W?(Ua=he,Ye=os(Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W),lr--,he===W&&(Ye=W,lr===0&&Gr(ri)),he}function Dl(){var he,Ye,Qt,kn,zr;if(lr++,he=ze,Ye=Va(),Ye!==W)if(Qt=Ls(),Qt!==W){for(kn=[],zr=js();zr!==W;)kn.push(zr),zr=js();kn!==W?(Ua=he,Ye=ki(Qt,kn),he=Ye):(ze=he,he=W)}else ze=he,he=W;else ze=he,he=W;return lr--,he===W&&(Ye=W,lr===0&&Gr(ai)),he}function Ll(){var he,Ye,Qt;if(he=ze,Ye=[],Qt=Dl(),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=Dl();else Ye=W;return Ye!==W&&(Ua=he,Ye=is(Ye)),he=Ye,he}function iu(){var he,Ye,Qt;return he=ze,be.substr(ze,2)===Vi?(Ye=Vi,ze+=2):(Ye=W,lr===0&&Gr(Ks)),Ye!==W?(Qt=Ll(),Qt!==W?(Ua=he,Ye=fi(Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W),he===W&&(he=ze,Ua=ze,Ye=Bo(),Ye?Ye=void 0:Ye=W,Ye!==W?(Qt=il(),Qt!==W?(Ua=he,Ye=Wo(Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W)),he}function su(){var he,Ye,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo;return he=ze,be.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W?(Qt=Va(),Qt!==W?(kn=vs(),kn!==W?(zr=Va(),zr!==W?(be.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W?(co=Va(),co!==W?(be.substr(ze,6)===oi?($a=oi,ze+=6):($a=W,lr===0&&Gr(pi)),$a!==W?(oo=Va(),oo!==W?(Ya=ze,be.charCodeAt(ze)===44?(go=Oo,ze++):(go=W,lr===0&&Gr(Oi)),go!==W?(Qa=Va(),Qa!==W?(fo=iu(),fo!==W?(go=[go,Qa,fo],Ya=go):(ze=Ya,Ya=W)):(ze=Ya,Ya=W)):(ze=Ya,Ya=W),Ya===W&&(Ya=null),Ya!==W?(go=Va(),go!==W?(be.charCodeAt(ze)===125?(Qa=Sa,ze++):(Qa=W,lr===0&&Gr(xa)),Qa!==W?(Ua=he,Ye=Ki(kn,$a,Ya),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W),he}function jl(){var he,Ye,Qt,kn;if(he=ze,be.charCodeAt(ze)===39?(Ye=ii,ze++):(Ye=W,lr===0&&Gr(si)),Ye!==W){if(Qt=[],kn=ms(),kn===W&&(Ri.test(be.charAt(ze))?(kn=be.charAt(ze),ze++):(kn=W,lr===0&&Gr(ws))),kn!==W)for(;kn!==W;)Qt.push(kn),kn=ms(),kn===W&&(Ri.test(be.charAt(ze))?(kn=be.charAt(ze),ze++):(kn=W,lr===0&&Gr(ws)));else Qt=W;Qt!==W?(be.charCodeAt(ze)===39?(kn=ii,ze++):(kn=W,lr===0&&Gr(si)),kn!==W?(Ye=[Ye,Qt,kn],he=Ye):(ze=he,he=W)):(ze=he,he=W)}else ze=he,he=W;if(he===W)if(he=[],Ye=ms(),Ye===W&&(Gs.test(be.charAt(ze))?(Ye=be.charAt(ze),ze++):(Ye=W,lr===0&&Gr(Ys))),Ye!==W)for(;Ye!==W;)he.push(Ye),Ye=ms(),Ye===W&&(Gs.test(be.charAt(ze))?(Ye=be.charAt(ze),ze++):(Ye=W,lr===0&&Gr(Ys)));else he=W;return he}function Nl(){var he,Ye;if(he=[],Jo.test(be.charAt(ze))?(Ye=be.charAt(ze),ze++):(Ye=W,lr===0&&Gr(_o)),Ye!==W)for(;Ye!==W;)he.push(Ye),Jo.test(be.charAt(ze))?(Ye=be.charAt(ze),ze++):(Ye=W,lr===0&&Gr(_o));else he=W;return he}function Fl(){var he,Ye,Qt,kn;if(he=ze,Ye=ze,Qt=[],kn=jl(),kn===W&&(kn=Nl()),kn!==W)for(;kn!==W;)Qt.push(kn),kn=jl(),kn===W&&(kn=Nl());else Qt=W;return Qt!==W?Ye=be.substring(Ye,ze):Ye=Qt,Ye!==W&&(Ua=he,Ye=vo(Ye)),he=Ye,he}function lu(){var he,Ye,Qt;return he=ze,be.substr(ze,2)===Vi?(Ye=Vi,ze+=2):(Ye=W,lr===0&&Gr(Ks)),Ye!==W?(Qt=Fl(),Qt!==W?(Ua=he,Ye=fi(Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W),he===W&&(he=ze,Ua=ze,Ye=wi(),Ye?Ye=void 0:Ye=W,Ye!==W?(Qt=il(),Qt!==W?(Ua=he,Ye=Wo(Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W)),he}function uu(){var he,Ye,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo;return he=ze,be.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W?(Qt=Va(),Qt!==W?(kn=vs(),kn!==W?(zr=Va(),zr!==W?(be.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W?(co=Va(),co!==W?(be.substr(ze,4)===gl?($a=gl,ze+=4):($a=W,lr===0&&Gr(Yl)),$a===W&&(be.substr(ze,4)===Xs?($a=Xs,ze+=4):($a=W,lr===0&&Gr(hl))),$a!==W?(oo=Va(),oo!==W?(Ya=ze,be.charCodeAt(ze)===44?(go=Oo,ze++):(go=W,lr===0&&Gr(Oi)),go!==W?(Qa=Va(),Qa!==W?(fo=lu(),fo!==W?(go=[go,Qa,fo],Ya=go):(ze=Ya,Ya=W)):(ze=Ya,Ya=W)):(ze=Ya,Ya=W),Ya===W&&(Ya=null),Ya!==W?(go=Va(),go!==W?(be.charCodeAt(ze)===125?(Qa=Sa,ze++):(Qa=W,lr===0&&Gr(xa)),Qa!==W?(Ua=he,Ye=Ki(kn,$a,Ya),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W),he}function cu(){var he;return he=su(),he===W&&(he=uu()),he}function Nu(){var he,Ye,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo,ui,bi,dl;if(he=ze,be.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W)if(Qt=Va(),Qt!==W)if(kn=vs(),kn!==W)if(zr=Va(),zr!==W)if(be.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W)if(co=Va(),co!==W)if(be.substr(ze,6)===yl?($a=yl,ze+=6):($a=W,lr===0&&Gr(Qs)),$a===W&&(be.substr(ze,13)===bl?($a=bl,ze+=13):($a=W,lr===0&&Gr(ss))),$a!==W)if(oo=Va(),oo!==W)if(be.charCodeAt(ze)===44?(Ya=Oo,ze++):(Ya=W,lr===0&&Gr(Oi)),Ya!==W)if(go=Va(),go!==W)if(Qa=ze,be.substr(ze,7)===Js?(fo=Js,ze+=7):(fo=W,lr===0&&Gr(ju)),fo!==W?(ui=Va(),ui!==W?(bi=pu(),bi!==W?(fo=[fo,ui,bi],Qa=fo):(ze=Qa,Qa=W)):(ze=Qa,Qa=W)):(ze=Qa,Qa=W),Qa===W&&(Qa=null),Qa!==W)if(fo=Va(),fo!==W){if(ui=[],bi=Bl(),bi!==W)for(;bi!==W;)ui.push(bi),bi=Bl();else ui=W;ui!==W?(bi=Va(),bi!==W?(be.charCodeAt(ze)===125?(dl=Sa,ze++):(dl=W,lr===0&&Gr(xa)),dl!==W?(Ua=he,Ye=Ts(kn,$a,Qa,ui),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)}else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;return he}function du(){var he,Ye,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo,ui;if(he=ze,be.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W)if(Qt=Va(),Qt!==W)if(kn=vs(),kn!==W)if(zr=Va(),zr!==W)if(be.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W)if(co=Va(),co!==W)if(be.substr(ze,6)===Is?($a=Is,ze+=6):($a=W,lr===0&&Gr(Xl)),$a!==W)if(oo=Va(),oo!==W)if(be.charCodeAt(ze)===44?(Ya=Oo,ze++):(Ya=W,lr===0&&Gr(Oi)),Ya!==W)if(go=Va(),go!==W){if(Qa=[],fo=fu(),fo!==W)for(;fo!==W;)Qa.push(fo),fo=fu();else Qa=W;Qa!==W?(fo=Va(),fo!==W?(be.charCodeAt(ze)===125?(ui=Sa,ze++):(ui=W,lr===0&&Gr(xa)),ui!==W?(Ua=he,Ye=Ql(kn,Qa),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)}else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;else ze=he,he=W;return he}function Fu(){var he,Ye,Qt,kn;return he=ze,Ye=ze,be.charCodeAt(ze)===61?(Qt=ls,ze++):(Qt=W,lr===0&&Gr(Jl)),Qt!==W?(kn=pu(),kn!==W?(Qt=[Qt,kn],Ye=Qt):(ze=Ye,Ye=W)):(ze=Ye,Ye=W),Ye!==W?he=be.substring(he,ze):he=Ye,he===W&&(he=ul()),he}function fu(){var he,Ye,Qt,kn,zr,Ca,co,$a;return he=ze,Ye=Va(),Ye!==W?(Qt=ul(),Qt!==W?(kn=Va(),kn!==W?(be.charCodeAt(ze)===123?(zr=dr,ze++):(zr=W,lr===0&&Gr(Lr)),zr!==W?(Ua=ze,Ca=_s(Qt),Ca?Ca=void 0:Ca=W,Ca!==W?(co=ol(),co!==W?(be.charCodeAt(ze)===125?($a=Sa,ze++):($a=W,lr===0&&Gr(xa)),$a!==W?(Ua=he,Ye=qs(Qt,co),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W),he}function Bl(){var he,Ye,Qt,kn,zr,Ca,co,$a;return he=ze,Ye=Va(),Ye!==W?(Qt=Fu(),Qt!==W?(kn=Va(),kn!==W?(be.charCodeAt(ze)===123?(zr=dr,ze++):(zr=W,lr===0&&Gr(Lr)),zr!==W?(Ua=ze,Ca=us(Qt),Ca?Ca=void 0:Ca=W,Ca!==W?(co=ol(),co!==W?(be.charCodeAt(ze)===125?($a=Sa,ze++):($a=W,lr===0&&Gr(xa)),$a!==W?(Ua=he,Ye=Sl(Qt,co),he=Ye):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W)):(ze=he,he=W),he}function ns(){var he,Ye;return lr++,Cl.test(be.charAt(ze))?(he=be.charAt(ze),ze++):(he=W,lr===0&&Gr(El)),lr--,he===W&&(Ye=W,lr===0&&Gr(xl)),he}function Zl(){var he,Ye;return lr++,mi.test(be.charAt(ze))?(he=be.charAt(ze),ze++):(he=W,lr===0&&Gr(qi)),lr--,he===W&&(Ye=W,lr===0&&Gr(cs)),he}function Va(){var he,Ye,Qt;for(lr++,he=ze,Ye=[],Qt=ns();Qt!==W;)Ye.push(Qt),Qt=ns();return Ye!==W?he=be.substring(he,ze):he=Ye,lr--,he===W&&(Ye=W,lr===0&&Gr(Pl)),he}function pu(){var he,Ye,Qt;return lr++,he=ze,be.charCodeAt(ze)===45?(Ye=Zi,ze++):(Ye=W,lr===0&&Gr(Gi)),Ye===W&&(Ye=null),Ye!==W?(Qt=zl(),Qt!==W?(Ua=he,Ye=Ol(Ye,Qt),he=Ye):(ze=he,he=W)):(ze=he,he=W),lr--,he===W&&(Ye=W,lr===0&&Gr(_l)),he}function fc(){var he,Ye;return lr++,be.charCodeAt(ze)===39?(he=ii,ze++):(he=W,lr===0&&Gr(si)),lr--,he===W&&(Ye=W,lr===0&&Gr(ql)),he}function ms(){var he,Ye;return lr++,he=ze,be.substr(ze,2)===li?(Ye=li,ze+=2):(Ye=W,lr===0&&Gr(ds)),Ye!==W&&(Ua=he,Ye=eu()),he=Ye,lr--,he===W&&(Ye=W,lr===0&&Gr(zi)),he}function gi(){var he,Ye,Qt,kn,zr,Ca;if(he=ze,be.charCodeAt(ze)===39?(Ye=ii,ze++):(Ye=W,lr===0&&Gr(si)),Ye!==W)if(Qt=ll(),Qt!==W){for(kn=ze,zr=[],be.substr(ze,2)===li?(Ca=li,ze+=2):(Ca=W,lr===0&&Gr(ds)),Ca===W&&(Ri.test(be.charAt(ze))?(Ca=be.charAt(ze),ze++):(Ca=W,lr===0&&Gr(ws)));Ca!==W;)zr.push(Ca),be.substr(ze,2)===li?(Ca=li,ze+=2):(Ca=W,lr===0&&Gr(ds)),Ca===W&&(Ri.test(be.charAt(ze))?(Ca=be.charAt(ze),ze++):(Ca=W,lr===0&&Gr(ws)));zr!==W?kn=be.substring(kn,ze):kn=zr,kn!==W?(be.charCodeAt(ze)===39?(zr=ii,ze++):(zr=W,lr===0&&Gr(si)),zr===W&&(zr=null),zr!==W?(Ua=he,Ye=el(Qt,kn),he=Ye):(ze=he,he=W)):(ze=he,he=W)}else ze=he,he=W;else ze=he,he=W;return he}function sl(){var he,Ye,Qt,kn;return he=ze,Ye=ze,be.length>ze?(Qt=be.charAt(ze),ze++):(Qt=W,lr===0&&Gr(ni)),Qt!==W?(Ua=ze,kn=tu(Qt),kn?kn=void 0:kn=W,kn!==W?(Qt=[Qt,kn],Ye=Qt):(ze=Ye,Ye=W)):(ze=Ye,Ye=W),Ye===W&&(be.charCodeAt(ze)===10?(Ye=Ms,ze++):(Ye=W,lr===0&&Gr($i))),Ye!==W?he=be.substring(he,ze):he=Ye,he}function ll(){var he,Ye,Qt,kn;return he=ze,Ye=ze,be.length>ze?(Qt=be.charAt(ze),ze++):(Qt=W,lr===0&&Gr(ni)),Qt!==W?(Ua=ze,kn=Rs(Qt),kn?kn=void 0:kn=W,kn!==W?(Qt=[Qt,kn],Ye=Qt):(ze=Ye,Ye=W)):(ze=Ye,Ye=W),Ye!==W?he=be.substring(he,ze):he=Ye,he}function vs(){var he,Ye;return lr++,he=ze,Ye=zl(),Ye===W&&(Ye=ul()),Ye!==W?he=be.substring(he,ze):he=Ye,lr--,he===W&&(Ye=W,lr===0&&Gr($s)),he}function zl(){var he,Ye,Qt,kn,zr;if(lr++,he=ze,be.charCodeAt(ze)===48?(Ye=wl,ze++):(Ye=W,lr===0&&Gr(fs)),Ye!==W&&(Ua=he,Ye=nu()),he=Ye,he===W){if(he=ze,Ye=ze,Tl.test(be.charAt(ze))?(Qt=be.charAt(ze),ze++):(Qt=W,lr===0&&Gr(yo)),Qt!==W){for(kn=[],As.test(be.charAt(ze))?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(tl));zr!==W;)kn.push(zr),As.test(be.charAt(ze))?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(tl));kn!==W?(Qt=[Qt,kn],Ye=Qt):(ze=Ye,Ye=W)}else ze=Ye,Ye=W;Ye!==W&&(Ua=he,Ye=Il(Ye)),he=Ye}return lr--,he===W&&(Ye=W,lr===0&&Gr(es)),he}function ul(){var he,Ye,Qt,kn,zr;if(lr++,he=ze,Ye=[],Qt=ze,kn=ze,lr++,zr=ns(),zr===W&&(zr=Zl()),lr--,zr===W?kn=void 0:(ze=kn,kn=W),kn!==W?(be.length>ze?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=ze,kn=ze,lr++,zr=ns(),zr===W&&(zr=Zl()),lr--,zr===W?kn=void 0:(ze=kn,kn=W),kn!==W?(be.length>ze?(zr=be.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W);else Ye=W;return Ye!==W?he=be.substring(he,ze):he=Ye,lr--,he===W&&(Ye=W,lr===0&&Gr(nl)),he}var hi=["root"];function gs(){return hi.length>1}function cl(){return hi[hi.length-1]==="plural"}function yi(){return je&&je.captureLocation?{location:Ml()}:{}}if(Yi=Ot(),Yi!==W&&ze===be.length)return Yi;throw Yi!==W&&ze1)throw new RangeError("Fraction-precision stems only accept a single optional option");Ot.stem.replace(k,function(Qn,Cr,na){return Qn==="."?je.maximumFractionDigits=0:na==="+"?je.minimumFractionDigits=na.length:Cr[0]==="#"?je.maximumFractionDigits=Cr.length:(je.minimumFractionDigits=Cr.length,je.maximumFractionDigits=Cr.length+(typeof na=="string"?na.length:0)),""}),Ot.options.length&&(je=U(U({},je),ue(Ot.options[0])));continue}if(J.test(Ot.stem)){je=U(U({},je),ue(Ot.stem));continue}var Pn=_(Ot.stem);Pn&&(je=U(U({},je),Pn))}return je}var pe=function(){var be=function(je,W){return be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ut,Ot){ut.__proto__=Ot}||function(ut,Ot){for(var Pn in Ot)Ot.hasOwnProperty(Pn)&&(ut[Pn]=Ot[Pn])},be(je,W)};return function(je,W){be(je,W);function ut(){this.constructor=je}je.prototype=W===null?Object.create(W):(ut.prototype=W.prototype,new ut)}}(),de=function(){for(var be=0,je=0,W=arguments.length;je(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Ae=Date.now()+"@@",We=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function tt(be,je,W){var ut=be.tagName,Ot=be.outerHTML,Pn=be.textContent,Qn=be.childNodes;if(!ut)return we(Pn||"",je);ut=ut.toLowerCase();var Cr=~We.indexOf(ut),na=W[ut];if(na&&Cr)throw new Ne(ut+" is a self-closing tag and can not be used, please use another tag name.");if(!Qn.length)return[Ot];var Da=Array.prototype.slice.call(Qn).reduce(function(Zr,dr){return Zr.concat(tt(dr,je,W))},[]);return na?typeof na=="function"?[na.apply(void 0,Da)]:[na]:de(["<"+ut+">"],Da,[""])}function dt(be,je,W,ut,Ot,Pn){var Qn=Ce(be,je,W,ut,Ot,void 0,Pn),Cr={},na=Qn.reduce(function(Lr,Sa){if(Sa.type===0)return Lr+=Sa.value;var xa=$e();return Cr[xa]=Sa.value,Lr+=""+ie+xa+ie},"");if(!Pe.test(na))return we(na,Cr);if(!Ot)throw new Ne("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Ne("Cannot format XML message without DOMParser");A||(A=new DOMParser);var Da=A.parseFromString(''+na+"","text/html").getElementById(Ae);if(!Da)throw new Ne("Malformed HTML message "+na);var Zr=Object.keys(Ot).filter(function(Lr){return!!Da.getElementsByTagName(Lr).length});if(!Zr.length)return we(na,Cr);var dr=Zr.filter(function(Lr){return Lr!==Lr.toLowerCase()});if(dr.length)throw new Ne("HTML tag must be lowercased but the following tags are not: "+dr.join(", "));return Array.prototype.slice.call(Da.childNodes).reduce(function(Lr,Sa){return Lr.concat(tt(Sa,Cr,Ot))},[])}var At=function(){return At=Object.assign||function(be){for(var je,W=1,ut=arguments.length;W<"']/g;function gt(be){return(""+be).replace(Ut,function(je){return Et[je.charCodeAt(0)]})}function cn(be,je){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return je.reduce(function(ut,Ot){return Ot in be?ut[Ot]=be[Ot]:Ot in W&&(ut[Ot]=W[Ot]),ut},{})}function Ft(be){Ge(be,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function en(be,je){var W=je?` `.concat(je.stack):"";return"[React Intl] ".concat(be).concat(W)}function Yt(be){}var dn={formats:{},messages:{},timeZone:void 0,textComponent:d.Fragment,defaultLocale:"en",defaultFormats:{},onError:Yt};function pn(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function rn(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pn(),je=Intl.RelativeTimeFormat,W=Intl.ListFormat,ut=Intl.DisplayNames;return{getDateTimeFormat:le(Intl.DateTimeFormat,be.dateTime),getNumberFormat:le(Intl.NumberFormat,be.number),getMessageFormat:le(Ct,be.message),getRelativeTimeFormat:le(je,be.relativeTime),getPluralRules:le(Intl.PluralRules,be.pluralRules),getListFormat:le(W,be.list),getDisplayNames:le(ut,be.displayNames)}}function On(be,je,W,ut){var Ot=be&&be[je],Pn;if(Ot&&(Pn=Ot[W]),Pn)return Pn;ut(en("No ".concat(je," format named: ").concat(W)))}var An=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Jn(be,je){var W=be.locale,ut=be.formats,Ot=be.onError,Pn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qn=Pn.format,Cr=Qn&&On(ut,"number",Qn,Ot)||{},na=cn(Pn,An,Cr);return je(W,na)}function Rr(be,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return Jn(be,je,ut).format(W)}catch(Ot){be.onError(en("Error formatting number.",Ot))}return String(W)}function er(be,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return Jn(be,je,ut).formatToParts(W)}catch(Ot){be.onError(en("Error formatting number.",Ot))}return[]}var ct=["numeric","style"];function et(be,je){var W=be.locale,ut=be.formats,Ot=be.onError,Pn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qn=Pn.format,Cr=!!Qn&&On(ut,"relative",Qn,Ot)||{},na=cn(Pn,ct,Cr);return je(W,na)}function Ve(be,je,W,ut){var Ot=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};ut||(ut="second");var Pn=Intl.RelativeTimeFormat;Pn||be.onError(en(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" `));try{return et(be,je,Ot).format(W,ut)}catch(Qn){be.onError(en("Error formatting relative time.",Qn))}return String(W)}var Jt=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function ht(be,je,W){var ut=be.locale,Ot=be.formats,Pn=be.onError,Qn=be.timeZone,Cr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},na=Cr.format,Da=Object.assign(Object.assign({},Qn&&{timeZone:Qn}),na&&On(Ot,je,na,Pn)),Zr=cn(Cr,Jt,Da);return je==="time"&&!Zr.hour&&!Zr.minute&&!Zr.second&&(Zr=Object.assign(Object.assign({},Zr),{hour:"numeric",minute:"numeric"})),W(ut,Zr)}function un(be,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof W=="string"?new Date(W||0):W;try{return ht(be,"date",je,ut).format(Ot)}catch(Pn){be.onError(en("Error formatting date.",Pn))}return String(Ot)}function Tn(be,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof W=="string"?new Date(W||0):W;try{return ht(be,"time",je,ut).format(Ot)}catch(Pn){be.onError(en("Error formatting time.",Pn))}return String(Ot)}function Un(be,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof W=="string"?new Date(W||0):W;try{return ht(be,"date",je,ut).formatToParts(Ot)}catch(Pn){be.onError(en("Error formatting date.",Pn))}return[]}function rr(be,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof W=="string"?new Date(W||0):W;try{return ht(be,"time",je,ut).formatToParts(Ot)}catch(Pn){be.onError(en("Error formatting time.",Pn))}return[]}var or=["localeMatcher","type"];function fr(be,je,W){var ut=be.locale,Ot=be.onError,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};Intl.PluralRules||Ot(en(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" -`));var Qn=cn(Pn,or);try{return je(ut,Qn).select(W)}catch(Cr){Ot(en("Error formatting plural.",Cr))}return"other"}var ir=e(19632),gr=e.n(ir);function sr(be,je){return Object.keys(be).reduce(function(W,ut){return W[ut]=Object.assign({timeZone:je},be[ut]),W},{})}function fn(be,je){var W=Object.keys(Object.assign(Object.assign({},be),je));return W.reduce(function(ut,Ot){return ut[Ot]=Object.assign(Object.assign({},be[Ot]||{}),je[Ot]||{}),ut},{})}function tr(be,je){if(!je)return be;var W=Ct.formats;return Object.assign(Object.assign(Object.assign({},W),be),{date:fn(sr(W.date,je),sr(be.date||{},je)),time:fn(sr(W.time,je),sr(be.time||{},je))})}var gn=function(je){return d.createElement.apply(b,[d.Fragment,null].concat(gr()(je)))};function an(be,je){var W=be.locale,ut=be.formats,Ot=be.messages,Pn=be.defaultLocale,Qn=be.defaultFormats,Cr=be.onError,na=be.timeZone,Da=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},Zr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},dr=Da.id,Lr=Da.defaultMessage;Ge(!!dr,"[React Intl] An `id` must be provided to format a message.");var Sa=Ot&&Ot[String(dr)];ut=tr(ut,na),Qn=tr(Qn,na);var xa=[];if(Sa)try{var xo=je.getMessageFormat(Sa,W,ut,{formatters:je});xa=xo.formatHTMLMessage(Zr)}catch($o){Cr(en('Error formatting message: "'.concat(dr,'" for locale: "').concat(W,'"')+(Lr?", using default message as fallback.":""),$o))}else(!Lr||W&&W.toLowerCase()!==Pn.toLowerCase())&&Cr(en('Missing message: "'.concat(dr,'" for locale: "').concat(W,'"')+(Lr?", using default message as fallback.":"")));if(!xa.length&&Lr)try{var Xo=je.getMessageFormat(Lr,Pn,Qn);xa=Xo.formatHTMLMessage(Zr)}catch($o){Cr(en('Error formatting the default message for: "'.concat(dr,'"'),$o))}return xa.length?xa.length===1&&typeof xa[0]=="string"?xa[0]||Lr||String(dr):gn(xa):(Cr(en('Cannot format message: "'.concat(dr,'", ')+"using message ".concat(Sa||Lr?"source":"id"," as fallback."))),typeof Sa=="string"?Sa||Lr||String(dr):Lr||String(dr))}function nt(be,je){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=Object.keys(ut).reduce(function(Pn,Qn){var Cr=ut[Qn];return Pn[Qn]=typeof Cr=="string"?gt(Cr):Cr,Pn},{});return an(be,je,W,Ot)}var xt=e(38138),Bt=e.n(xt),bt=e(52677),zt=e.n(bt),Vt=["localeMatcher","type","style"],nn=Date.now();function Dn(be){return"".concat(nn,"_").concat(be,"_").concat(nn)}function Yn(be,je,W){var ut=be.locale,Ot=be.onError,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Qn=Intl.ListFormat;Qn||Ot(en(`Intl.ListFormat is not available in this environment. +`));var Qn=cn(Pn,or);try{return je(ut,Qn).select(W)}catch(Cr){Ot(en("Error formatting plural.",Cr))}return"other"}var ir=e(19632),gr=e.n(ir);function sr(be,je){return Object.keys(be).reduce(function(W,ut){return W[ut]=Object.assign({timeZone:je},be[ut]),W},{})}function fn(be,je){var W=Object.keys(Object.assign(Object.assign({},be),je));return W.reduce(function(ut,Ot){return ut[Ot]=Object.assign(Object.assign({},be[Ot]||{}),je[Ot]||{}),ut},{})}function tr(be,je){if(!je)return be;var W=Ct.formats;return Object.assign(Object.assign(Object.assign({},W),be),{date:fn(sr(W.date,je),sr(be.date||{},je)),time:fn(sr(W.time,je),sr(be.time||{},je))})}var gn=function(je){return d.createElement.apply(b,[d.Fragment,null].concat(gr()(je)))};function an(be,je){var W=be.locale,ut=be.formats,Ot=be.messages,Pn=be.defaultLocale,Qn=be.defaultFormats,Cr=be.onError,na=be.timeZone,Da=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},Zr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},dr=Da.id,Lr=Da.defaultMessage;Ge(!!dr,"[React Intl] An `id` must be provided to format a message.");var Sa=Ot&&Ot[String(dr)];ut=tr(ut,na),Qn=tr(Qn,na);var xa=[];if(Sa)try{var xo=je.getMessageFormat(Sa,W,ut,{formatters:je});xa=xo.formatHTMLMessage(Zr)}catch($o){Cr(en('Error formatting message: "'.concat(dr,'" for locale: "').concat(W,'"')+(Lr?", using default message as fallback.":""),$o))}else(!Lr||W&&W.toLowerCase()!==Pn.toLowerCase())&&Cr(en('Missing message: "'.concat(dr,'" for locale: "').concat(W,'"')+(Lr?", using default message as fallback.":"")));if(!xa.length&&Lr)try{var Xo=je.getMessageFormat(Lr,Pn,Qn);xa=Xo.formatHTMLMessage(Zr)}catch($o){Cr(en('Error formatting the default message for: "'.concat(dr,'"'),$o))}return xa.length?xa.length===1&&typeof xa[0]=="string"?xa[0]||Lr||String(dr):gn(xa):(Cr(en('Cannot format message: "'.concat(dr,'", ')+"using message ".concat(Sa||Lr?"source":"id"," as fallback."))),typeof Sa=="string"?Sa||Lr||String(dr):Lr||String(dr))}function nt(be,je){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=Object.keys(ut).reduce(function(Pn,Qn){var Cr=ut[Qn];return Pn[Qn]=typeof Cr=="string"?gt(Cr):Cr,Pn},{});return an(be,je,W,Ot)}var xt=e(38138),Bt=e.n(xt),bt=e(52677),zt=e.n(bt),Vt=["localeMatcher","type","style"],nn=Date.now();function Dn(be){return"".concat(nn,"_").concat(be,"_").concat(nn)}function Gn(be,je,W){var ut=be.locale,Ot=be.onError,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Qn=Intl.ListFormat;Qn||Ot(en(`Intl.ListFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-listformat" -`));var Cr=cn(Pn,Vt);try{var na={},Da=W.map(function(dr,Lr){if(zt()(dr)==="object"){var Sa=Dn(Lr);return na[Sa]=dr,Sa}return String(dr)});if(!Object.keys(na).length)return je(ut,Cr).format(Da);var Zr=je(ut,Cr).formatToParts(Da);return Zr.reduce(function(dr,Lr){var Sa=Lr.value;return na[Sa]?dr.push(na[Sa]):typeof dr[dr.length-1]=="string"?dr[dr.length-1]+=Sa:dr.push(Sa),dr},[])}catch(dr){Ot(en("Error formatting list.",dr))}return W}var kn=["localeMatcher","style","type","fallback"];function Fn(be,je,W){var ut=be.locale,Ot=be.onError,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Qn=Intl.DisplayNames;Qn||Ot(en(`Intl.DisplayNames is not available in this environment. +`));var Cr=cn(Pn,Vt);try{var na={},Da=W.map(function(dr,Lr){if(zt()(dr)==="object"){var Sa=Dn(Lr);return na[Sa]=dr,Sa}return String(dr)});if(!Object.keys(na).length)return je(ut,Cr).format(Da);var Zr=je(ut,Cr).formatToParts(Da);return Zr.reduce(function(dr,Lr){var Sa=Lr.value;return na[Sa]?dr.push(na[Sa]):typeof dr[dr.length-1]=="string"?dr[dr.length-1]+=Sa:dr.push(Sa),dr},[])}catch(dr){Ot(en("Error formatting list.",dr))}return W}var Vn=["localeMatcher","style","type","fallback"];function Fn(be,je,W){var ut=be.locale,Ot=be.onError,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Qn=Intl.DisplayNames;Qn||Ot(en(`Intl.DisplayNames is not available in this environment. Try polyfilling it using "@formatjs/intl-displaynames" -`));var Cr=cn(Pn,kn);try{return je(ut,Cr).of(W)}catch(na){Ot(en("Error formatting display name.",na))}}var mn=Bt()||xt;function Bn(be){return{locale:be.locale,timeZone:be.timeZone,formats:be.formats,textComponent:be.textComponent,messages:be.messages,defaultLocale:be.defaultLocale,defaultFormats:be.defaultFormats,onError:be.onError}}function Mn(be,je){var W=rn(je),ut=Object.assign(Object.assign({},dn),be),Ot=ut.locale,Pn=ut.defaultLocale,Qn=ut.onError;return Ot?!Intl.NumberFormat.supportedLocalesOf(Ot).length&&Qn?Qn(en('Missing locale data for locale: "'.concat(Ot,'" in Intl.NumberFormat. Using default locale: "').concat(Pn,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(Ot).length&&Qn&&Qn(en('Missing locale data for locale: "'.concat(Ot,'" in Intl.DateTimeFormat. Using default locale: "').concat(Pn,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):(Qn&&Qn(en('"locale" was not configured, using "'.concat(Pn,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details'))),ut.locale=ut.defaultLocale||"en"),Object.assign(Object.assign({},ut),{formatters:W,formatNumber:Rr.bind(null,ut,W.getNumberFormat),formatNumberToParts:er.bind(null,ut,W.getNumberFormat),formatRelativeTime:Ve.bind(null,ut,W.getRelativeTimeFormat),formatDate:un.bind(null,ut,W.getDateTimeFormat),formatDateToParts:Un.bind(null,ut,W.getDateTimeFormat),formatTime:Tn.bind(null,ut,W.getDateTimeFormat),formatTimeToParts:rr.bind(null,ut,W.getDateTimeFormat),formatPlural:fr.bind(null,ut,W.getPluralRules),formatMessage:an.bind(null,ut,W),formatHTMLMessage:nt.bind(null,ut,W),formatList:Yn.bind(null,ut,W.getListFormat),formatDisplayName:Fn.bind(null,ut,W.getDisplayNames)})}var jr=function(be){p()(W,be);var je=m()(W);function W(){var ut;return c()(this,W),ut=je.apply(this,arguments),ut.cache=pn(),ut.state={cache:ut.cache,intl:Mn(Bn(ut.props),ut.cache),prevConfig:Bn(ut.props)},ut}return l()(W,[{key:"render",value:function(){return Ft(this.state.intl),d.createElement(N,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(Ot,Pn){var Qn=Pn.prevConfig,Cr=Pn.cache,na=Bn(Ot);return mn(Qn,na)?null:{intl:Mn(na,Cr),prevConfig:na}}}]),W}(d.PureComponent);jr.displayName="IntlProvider",jr.defaultProps=dn;var De=e(7411),Te=e(48370),Le=e.n(Te),Ue=e(42473),rt=e.n(Ue),Dt=function(be,je){var W={};for(var ut in be)Object.prototype.hasOwnProperty.call(be,ut)&&je.indexOf(ut)<0&&(W[ut]=be[ut]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,ut=Object.getOwnPropertySymbols(be);Ot