diff --git a/dist/_umi_route_preload_helper.d984ef1e.js b/dist/_umi_route_preload_helper.d5345577.js similarity index 89% rename from dist/_umi_route_preload_helper.d984ef1e.js rename to dist/_umi_route_preload_helper.d5345577.js index 3a22e1b..4a9f310 100644 --- a/dist/_umi_route_preload_helper.d984ef1e.js +++ b/dist/_umi_route_preload_helper.d5345577.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],["63.86ff1d28.async.js",63],["134.6fc81d91.async.js",134],["169.57647c7d.async.js",169],["p__Welcome.61596037.async.js",185],["p__MoneyManagement.e9c37179.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.ec53e5c4.async.js",371],["390.41467286.async.js",390],["393.38316f72.async.js",393],["397.fb5f72c1.async.js",397],["427.f16a2970.async.js",427],["p__SuperAdmin.7ef997d3.async.js",455],["531.3d4ec55a.async.js",531],["539.49b7b156.async.js",539],["p__AdvRecordListV2.1e290899.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.441e379e.async.js",731],["804.139cd916.async.js",804],["p__AdminManagement.5e2368b3.async.js",816],["841.614ef4c0.async.js",841],["p__AdvRecordList.8e5ef22c.async.js",857],["p__UserManagement.687c40f2.async.js",903],["905.6e225d1b.async.js",905],["930.fca7adbf.async.js",930]],"r":{"/*":[21,29],"/":[2,7,8,20,22,29],"/welcome":[2,3,4,12,20,30,7,8,22,29],"/super":[0,1,2,3,6,14,15,30,7,8,20,22,29],"/adminList":[0,3,14,24,25,2,7,8,20,22,29],"/bind":[2,3,12,13,19,20,30,7,8,22,29],"/appList":[0,1,2,3,6,13,14,16,17,23,24,29,30,7,8,20,22],"/advList/:code":[0,1,2,3,14,16,17,20,24,26,27,29,30,7,8,22],"/advListV2/:code":[0,1,2,3,14,16,17,18,20,24,26,29,30,7,8,22],"/user/:code":[0,1,2,3,14,16,17,24,28,29,30,7,8,20,22],"/money/:code":[0,1,2,3,5,14,16,17,24,29,30,7,8,20,22],"/app/:code":[0,1,2,3,10,14,16,17,20,24,26,29,30,7,8,22],"/user/login":[1,2,3,9,14,16,24]}},{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],["63.86ff1d28.async.js",63],["134.6fc81d91.async.js",134],["169.57647c7d.async.js",169],["p__Welcome.61596037.async.js",185],["p__MoneyManagement.41bff0f7.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.ec53e5c4.async.js",371],["390.41467286.async.js",390],["393.38316f72.async.js",393],["397.fb5f72c1.async.js",397],["427.f16a2970.async.js",427],["p__SuperAdmin.fe3e1735.async.js",455],["531.3d4ec55a.async.js",531],["539.49b7b156.async.js",539],["p__AdvRecordListV2.70688ce4.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.c06e5598.async.js",731],["804.139cd916.async.js",804],["p__AdminManagement.5e2368b3.async.js",816],["841.614ef4c0.async.js",841],["p__AdvRecordList.8e5ef22c.async.js",857],["p__UserManagement.687c40f2.async.js",903],["905.6e225d1b.async.js",905],["930.fca7adbf.async.js",930]],"r":{"/*":[21,29],"/":[2,7,8,20,22,29],"/welcome":[2,3,4,12,20,30,7,8,22,29],"/super":[0,1,2,3,6,14,15,30,7,8,20,22,29],"/adminList":[0,3,14,24,25,2,7,8,20,22,29],"/bind":[2,3,12,13,19,20,30,7,8,22,29],"/appList":[0,1,2,3,6,13,14,16,17,23,24,29,30,7,8,20,22],"/advList/:code":[0,1,2,3,14,16,17,20,24,26,27,29,30,7,8,22],"/advListV2/:code":[0,1,2,3,14,16,17,18,20,24,26,29,30,7,8,22],"/user/:code":[0,1,2,3,14,16,17,24,28,29,30,7,8,20,22],"/money/:code":[0,1,2,3,5,14,16,17,24,29,30,7,8,20,22],"/app/:code":[0,1,2,3,10,14,16,17,20,24,26,29,30,7,8,22],"/user/login":[1,2,3,9,14,16,24]}},{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 8a31d1d..b8121e4 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.1e290899.async.js b/dist/p__AdvRecordListV2.70688ce4.async.js similarity index 68% rename from dist/p__AdvRecordListV2.1e290899.async.js rename to dist/p__AdvRecordListV2.70688ce4.async.js index 636f720..37f7bcf 100644 --- a/dist/p__AdvRecordListV2.1e290899.async.js +++ b/dist/p__AdvRecordListV2.70688ce4.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[542],{86408:function(g,E,e){e.r(E);var h=e(97857),l=e.n(h),P=e(15009),_=e.n(P),T=e(99289),v=e.n(T),m=e(5574),t=e.n(m),u=e(48357),I=e(11415),s=e(39615),f=e(90930),U=e(67539),R=e(57470),B=e(64317),$=e(34540),G=e(13169),S=e(16250),Y=e(27484),X=e.n(Y),w=e(9220),x=e(67294),Q=e(96974),D=e(58125),H=e(38171),n=e(85893),J=function(){var y=(0,x.useRef)(),k=(0,x.useState)(void 0),L=t()(k,2),K=L[0],q=L[1],M=function(){return window.innerWidth<=768},ee=(0,x.useState)({deviceId:{show:!M()},appName:{show:!M()},platform:{show:!M()},deviceBrand:{show:!M()},deviceName:{show:!M()},ip:{show:!M()},advType:{show:!M()}}),W=t()(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:"Default"},2:{text:"\u63D2\u9875",status:"Processing"},3:{text:"\u6FC0\u52B1\u89C6\u9891",status:"Success"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(a){return a/100}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(a,i){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:i.deviceBrand}),(0,n.jsx)("p",{children:i.deviceName})]})}},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,width:150,renderText:function(a,i){if(i.user)return(0,n.jsx)(H.Z,{data:i.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)(),p=re.code,se=(0,x.useState)(),F=t()(se,2),c=F[0],_e=F[1],ie=(0,x.useState)([]),Z=t()(ie,2),z=Z[0],de=Z[1],A=s.Z.Divider,ue=(0,x.useState)(!1),V=t()(ue,2),b=V[0],oe=V[1],le=function(){var r=v()(_()().mark(function a(i){var o;return _()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,u.d1)({appCode:i});case 2:o=d.sent,o.data&&_e(o.data);case 4:case"end":return d.stop()}},a)}));return function(i){return r.apply(this,arguments)}}(),N=function(){var r=v()(_()().mark(function a(i){var o;return _()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,u.Zb)(l()(l()({},i),{},{code:p}));case 2:o=d.sent,o.data&&de(o.data);case 4:case"end":return d.stop()}},a)}));return function(i){return r.apply(this,arguments)}}();(0,x.useEffect)(function(){var r;(r=y.current)===null||r===void 0||r.reload(),le(p),N({code:p})},[p]);var ce=z.map(function(r){return{date:function(){var a=r.date+"",i=a.slice(0,4),o=a.slice(4,6),O=a.slice(6,8);return"".concat(i,"-").concat(o,"-").concat(O)}(),income:(0,D.P)(r.income)}}),me={data:ce,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+(0,D.P)(z.reduce(function(r,a){return r+(a.income?a.income:0)},0))+"\u5143",height:400,label:{text:function(a){return a.income>0?a.income:""},textBaseline:"bottom"}};return(0,n.jsx)(f._z,{children:(0,n.jsxs)(G.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,n.jsx)(S.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,n.jsx)(U.Z,{headerTitle:K?"\u8868\u683C\u7D2F\u8BA1\uFF1A"+(0,D.P)(K)+"\u5143":"",actionRef:y,rowKey:"key",search:{labelWidth:120},request:function(){var r=v()(_()().mark(function a(i){var o,O,d,C;return _()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,(0,u._5)(l()(l()({},i),{},{code:p}));case 2:return d=j.sent,i.current===1&&q((C=d.data)===null||C===void 0?void 0:C.sum),j.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 j.stop()}},a)}));return function(a){return r.apply(this,arguments)}}(),columns:ne,columnsState:{value:te,onChange:function(a){ae(a)}}})},"1"),(0,n.jsxs)(S.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,n.jsx)(w.Z,{onResize:function(a){oe(a.width<596)},children:(0,n.jsx)(s.Z,{children:(0,n.jsxs)(s.Z.Group,{direction:b?"column":"row",children:[(0,n.jsx)(s.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,D.P)(c==null?void 0:c.lastMonthIncome)}}),(0,n.jsx)(A,{type:b?"horizontal":"vertical"}),(0,n.jsx)(s.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,D.P)(c==null?void 0:c.thisMonthIncome)}}),(0,n.jsx)(A,{type:b?"horizontal":"vertical"}),(0,n.jsx)(s.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,D.P)(c==null?void 0:c.todayIncome)}}),(0,n.jsx)(A,{type:b?"horizontal":"vertical"}),(0,n.jsx)(s.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,D.P)(c==null?void 0:c.yesterdayIncome)}})]})})},"resize-observer"),(0,n.jsxs)(R.t,{defaultCollapsed:!0,split:!0,onFinish:N,children:[(0,n.jsx)(B.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,n.jsx)(B.Z,{name:"advType",label:"\u5E7F\u544A\u7C7B\u578B",valueEnum:{1:"\u6A2A\u5E45",2:"\u63D2\u9875",3:"\u6FC0\u52B1\u89C6\u9891"}}),(0,n.jsx)($.Z,{fieldProps:{disabledDate:function(a){return a&&a>=X()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,n.jsx)(I.Z,l()({},me))]},"2")]})})};E.default=J},38171:function(g,E,e){var h=e(55241),l=e(2487),P=e(71230),_=e(7134),T=e(67294),v=e(52043),m=e(58125),t=e(85893),u=function(s){var f=(0,v.E7)(s.data.env);return(0,t.jsx)(h.Z,{content:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,m.P)(s.data.income),"\u5143"]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,m.D)(s.data.realMoney),"\u5143"]}),f.length>0&&(0,t.jsx)(l.Z,{size:"small",header:(0,t.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:f,renderItem:function(R){return(0,t.jsx)(l.Z.Item,{children:R})}})]}),children:(0,t.jsxs)(P.Z,{children:[(0,t.jsx)(_.C,{src:s.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,t.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:f.length>0?"red":""},children:["id:",s.data.id,(0,t.jsx)("br",{}),s.data.nickname||s.data.mobile]})]})})};E.Z=u},52043:function(g,E,e){e.d(E,{E7:function(){return l},FG:function(){return h},RQ:function(){return T},XY:function(){return P},m0:function(){return _}});var h=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"}]},l=function(m){var t=[];if(!m)return t;for(var u=m,I=["\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"],s=0,f=I;s0?a.income:""},textBaseline:"bottom"}};return(0,n.jsx)(f._z,{children:(0,n.jsxs)(G.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,n.jsx)(S.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,n.jsx)(U.Z,{headerTitle:K?"\u8868\u683C\u7D2F\u8BA1\uFF1A"+(0,D.P)(K)+"\u5143":"",actionRef:y,rowKey:"key",search:{labelWidth:120},request:function(){var r=v()(_()().mark(function a(i){var u,O,d,C;return _()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,(0,l._5)(o()(o()({},i),{},{code:p}));case 2:return d=j.sent,i.current===1&&q((C=d.data)===null||C===void 0?void 0:C.sum),j.abrupt("return",{data:(u=d.data)===null||u===void 0?void 0:u.data,total:(O=d.data)===null||O===void 0?void 0:O.total,success:!0});case 5:case"end":return j.stop()}},a)}));return function(a){return r.apply(this,arguments)}}(),columns:ne,columnsState:{value:te,onChange:function(a){ae(a)}}})},"1"),(0,n.jsxs)(S.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,n.jsx)(w.Z,{onResize:function(a){oe(a.width<596)},children:(0,n.jsx)(s.Z,{children:(0,n.jsxs)(s.Z.Group,{direction:b?"column":"row",children:[(0,n.jsx)(s.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,D.P)(c==null?void 0:c.lastMonthIncome)}}),(0,n.jsx)(A,{type:b?"horizontal":"vertical"}),(0,n.jsx)(s.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,D.P)(c==null?void 0:c.thisMonthIncome)}}),(0,n.jsx)(A,{type:b?"horizontal":"vertical"}),(0,n.jsx)(s.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,D.P)(c==null?void 0:c.todayIncome)}}),(0,n.jsx)(A,{type:b?"horizontal":"vertical"}),(0,n.jsx)(s.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,D.P)(c==null?void 0:c.yesterdayIncome)}})]})})},"resize-observer"),(0,n.jsxs)(R.t,{defaultCollapsed:!0,split:!0,onFinish:N,children:[(0,n.jsx)(B.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,n.jsx)(B.Z,{name:"advType",label:"\u5E7F\u544A\u7C7B\u578B",valueEnum:{1:"\u6A2A\u5E45",2:"\u63D2\u9875",3:"\u6FC0\u52B1\u89C6\u9891"}}),(0,n.jsx)($.Z,{fieldProps:{disabledDate:function(a){return a&&a>=X()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,n.jsx)(I.Z,o()({},me))]},"2")]})})};E.default=J},38171:function(g,E,e){var h=e(55241),o=e(2487),P=e(71230),_=e(7134),T=e(67294),v=e(52043),m=e(58125),t=e(85893),l=function(s){var f=(0,v.E7)(s.data.env);return(0,t.jsx)(h.Z,{content:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,m.P)(s.data.income),"\u5143"]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,m.D)(s.data.realMoney),"\u5143"]}),f.length>0&&(0,t.jsx)(o.Z,{size:"small",header:(0,t.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:f,renderItem:function(R){return(0,t.jsx)(o.Z.Item,{children:R})}})]}),children:(0,t.jsxs)(P.Z,{children:[(0,t.jsx)(_.C,{src:s.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,t.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:f.length>0?"red":""},children:["id:",s.data.id,(0,t.jsx)("br",{}),s.data.nickname||s.data.mobile]})]})})};E.Z=l},52043:function(g,E,e){e.d(E,{E7:function(){return o},FG:function(){return h},RQ:function(){return T},XY:function(){return P},m0:function(){return _}});var h=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"}]},o=function(m){var t=[];if(!m)return t;for(var l=m>>1,I=["\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"],s=0,f=I;s>=1}return t},P=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"}]},_=function(m){var t=new Date(m),l=t.getFullYear().toString().padStart(4,"0"),I=(t.getMonth()+1).toString().padStart(2,"0"),s=t.getDate().toString().padStart(2,"0");return l+I+s},T=function(m,t){var l=m.toString();return l.padStart(t,"0")}},58125:function(g,E,e){e.d(E,{D:function(){return o},P:function(){return h}});var h=function(_){return _?parseFloat((_/1e5).toFixed(2)):0},o=function(_){return _?parseFloat((_/100).toFixed(2)):0}}}]); diff --git a/dist/p__App__AppManagement.441e379e.async.js b/dist/p__App__AppManagement.c06e5598.async.js similarity index 63% rename from dist/p__App__AppManagement.441e379e.async.js rename to dist/p__App__AppManagement.c06e5598.async.js index bc63f4c..b56e915 100644 --- a/dist/p__App__AppManagement.441e379e.async.js +++ b/dist/p__App__AppManagement.c06e5598.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[731],{3345:function(Fe,ne,r){r.r(ne),r.d(ne,{default:function(){return fn}});var Q=r(90930),T=r(35312),ae=r(15009),s=r.n(ae),re=r(99289),S=r.n(re),K=r(5574),v=r.n(K),D=r(48357),X=r(67539),W=r(55241),z=r(10397),F=r(55102),y=r(67294),ce=r(97857),Z=r.n(ce);function le(c,n){return q.apply(this,arguments)}function q(){return q=S()(s()().mark(function c(n,u){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,T.request)("/api/admin/app/aliPayConfig",Z()({method:"GET",params:Z()({},n)},u||{})));case 1:case"end":return a.stop()}},c)})),q.apply(this,arguments)}function Se(c,n,u){return de.apply(this,arguments)}function de(){return de=S()(s()().mark(function c(n,u,m){return s()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,T.request)("/api/admin/app/aliPayConfig",Z()({method:"POST",headers:{"Content-Type":"application/json"},params:Z()({},n),data:u},m||{})));case 1:case"end":return h.stop()}},c)})),de.apply(this,arguments)}function Ze(c,n){return pe.apply(this,arguments)}function pe(){return pe=S()(s()().mark(function c(n,u){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,T.request)("/api/admin/app/basicConfig",Z()({method:"GET",params:Z()({},n)},u||{})));case 1:case"end":return a.stop()}},c)})),pe.apply(this,arguments)}function be(c,n){return fe.apply(this,arguments)}function fe(){return fe=S()(s()().mark(function c(n,u){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,T.request)("/api/admin/app/basicConfig",Z()({method:"POST",headers:{"Content-Type":"application/json"},data:n},u||{})));case 1:case"end":return a.stop()}},c)})),fe.apply(this,arguments)}function Ue(c,n){return me.apply(this,arguments)}function me(){return me=S()(s()().mark(function c(n,u){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,T.request)("/api/admin/app/normalConfig",Z()({method:"GET",params:Z()({},n)},u||{})));case 1:case"end":return a.stop()}},c)})),me.apply(this,arguments)}function o(c,n,u){return g.apply(this,arguments)}function g(){return g=S()(s()().mark(function c(n,u,m){return s()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,T.request)("/api/admin/app/normalConfig",Z()({method:"POST",headers:{"Content-Type":"application/json"},params:Z()({},n),data:u},m||{})));case 1:case"end":return h.stop()}},c)})),g.apply(this,arguments)}function b(c,n){return C.apply(this,arguments)}function C(){return C=S()(s()().mark(function c(n,u){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,T.request)("/api/admin/app/uMengConfig",Z()({method:"GET",params:Z()({},n)},u||{})));case 1:case"end":return a.stop()}},c)})),C.apply(this,arguments)}function M(c,n,u){return he.apply(this,arguments)}function he(){return he=S()(s()().mark(function c(n,u,m){return s()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,T.request)("/api/admin/app/uMengConfig",Z()({method:"POST",headers:{"Content-Type":"application/json"},params:Z()({},n),data:u},m||{})));case 1:case"end":return h.stop()}},c)})),he.apply(this,arguments)}function Ae(c,n){return _.apply(this,arguments)}function _(){return _=_asyncToGenerator(_regeneratorRuntime().mark(function c(n,u){return _regeneratorRuntime().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"GET",params:_objectSpread({},n)},u||{})));case 1:case"end":return a.stop()}},c)})),_.apply(this,arguments)}function ke(c,n,u){return ue.apply(this,arguments)}function ue(){return ue=_asyncToGenerator(_regeneratorRuntime().mark(function c(n,u,m){return _regeneratorRuntime().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},params:_objectSpread({},n),data:u},m||{})));case 1:case"end":return h.stop()}},c)})),ue.apply(this,arguments)}var te=r(1413),Ee=r(93696),V=r(91146),Ie=function(n,u){return y.createElement(V.Z,(0,te.Z)((0,te.Z)({},n),{},{ref:u,icon:Ee.Z}))},we=y.forwardRef(Ie),$=we,ge=r(3089),Oe=r(42110),Pe=function(n,u){return y.createElement(V.Z,(0,te.Z)((0,te.Z)({},n),{},{ref:u,icon:Oe.Z}))},De=y.forwardRef(Pe),Be=De,t=r(8232),Ce=r(17788),Le=r(72269),se=r(37804),ee=r(83062),Te=r(71230),ie=r(14726),Me=r(15746),e=r(85893),Ke=function(n){var u=t.Z.useForm(),m=v()(u,1),a=m[0],h=function(){a.submit()},R=function(){n.onCancel()},B=function(){var p=S()(s()().mark(function A(l){var i;return s()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,Ue({appCode:l});case 2:i=d.sent,a.setFieldsValue(i.data);case 4:case"end":return d.stop()}},A)}));return function(l){return p.apply(this,arguments)}}();(0,y.useEffect)(function(){B(n.appCode)},[n.appCode]);var G=function(){var p=S()(s()().mark(function A(l){return s()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.prev=0,x.next=3,o({appCode:n.appCode},l);case 3:x.next=8;break;case 5:return x.prev=5,x.t0=x.catch(0),x.abrupt("return");case 8:n.onSubmit();case 9:case"end":return x.stop()}},A,null,[[0,5]])}));return function(l){return p.apply(this,arguments)}}(),E={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:20}}},f={wrapperCol:{xs:{span:24,offset:10},sm:{span:20,offset:6}}};return(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:h,onCancel:R,children:(0,e.jsxs)(t.Z,{labelCol:{span:6},wrapperCol:{span:18},form:a,onFinish:G,children:[(0,e.jsx)(t.Z.Item,{name:"enablePangolin",label:"\u542F\u7528\u7A7F\u5C71\u7532",children:(0,e.jsx)(Le.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"pangolinDailyLimit",label:"\u7A7F\u5C71\u7532\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(se.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"tencentDailyLimit",label:"\u5E7F\u544A\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(se.Z,{})}),(0,e.jsx)(t.Z.List,{name:"moneyLadder",children:function(A,l){var i=l.add,x=l.remove;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(t.Z.Item,{label:(0,e.jsxs)(e.Fragment,{children:["\u63D0\u73B0\u68AF\u5EA6",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u7528\u6237\u53EF\u9009\u7684\u63D0\u73B0\u91D1\u989D\u6863\u4F4D\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)($,{})})})]}),required:!1,children:[(0,e.jsx)(Te.Z,{children:A.map(function(d){return(0,e.jsx)(t.Z.Item,{label:"",required:!1,children:(0,e.jsxs)(Te.Z,{align:"stretch",style:{marginRight:10},children:[(0,e.jsx)(t.Z.Item,Z()(Z()({},d),{},{validateTrigger:["onChange","onBlur"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u91D1\u989D\u6216\u8005\u5220\u9664"}],noStyle:!0,children:(0,e.jsx)(se.Z,{placeholder:"\u91D1\u989D\uFF0C\u5355\u4F4D\u5206"})})),(0,e.jsx)(ge.Z,{style:{marginLeft:4},className:"dynamic-delete-button",onClick:function(){return x(d.name)}})]})},d.key)})}),(0,e.jsx)(t.Z.Item,Z()(Z()({},f),{},{children:(0,e.jsx)(ie.ZP,{type:"dashed",onClick:function(){return i()},icon:(0,e.jsx)(Be,{}),children:"\u6DFB\u52A0\u63D0\u73B0\u68AF\u5EA6"})}))]})})}}),(0,e.jsx)(t.Z.Item,{name:"noAuditMoney",label:(0,e.jsxs)(e.Fragment,{children:["\u4E0D\u5BA1\u6838\u95E8\u69DB",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u4F4E\u4E8E\u6B64\u91D1\u989D\u7684\u63D0\u73B0\u7533\u8BF7\u5C06\u4F1A\u81EA\u52A8\u5BA1\u6838\u901A\u8FC7\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsx)(se.Z,{placeholder:"\u5355\u4F4D\u5206",style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"qqUrl",label:"QQ\u7FA4\u94FE\u63A5",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"dayLimit",label:(0,e.jsxs)(e.Fragment,{children:["\u6BCF\u65E5\u63D0\u73B0\u6B21\u6570",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u540C\u4E2A\u8D26\u53F7\u6216\u540C\u4E2A\u652F\u4ED8\u5B9D\u6BCF\u65E5\u6700\u591A\u63D0\u73B0\u7684\u6B21\u6570",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsx)(se.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"maxIncomeEachVideo",label:(0,e.jsxs)(e.Fragment,{children:["\u5355\u6761\u6536\u76CA\u4E0A\u9650",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u770B\u4E00\u6761\u89C6\u9891\u6700\u591A\u80FD\u83B7\u5F97\u7684\u94B1\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsx)(se.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"defaultRate",label:(0,e.jsx)(e.Fragment,{children:"\u9ED8\u8BA4\u5206\u6210\u6BD4\u4F8B"}),children:(0,e.jsx)(se.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.List,{name:"dayRates",children:function(A,l){var i=l.add,x=l.remove;return(0,e.jsxs)(e.Fragment,{children:[A.map(function(d,I){var O=d.key,w=d.name;return(0,e.jsx)(e.Fragment,{children:(0,y.createElement)(t.Z.Item,Z()(Z()({},I===0?E:f),{},{label:I===0?"\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B":"",required:!1,key:O}),(0,e.jsxs)(Te.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(Me.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[w,"day"],rules:[{required:!0}],children:(0,e.jsx)(F.Z,{placeholder:"Day"})})}),(0,e.jsx)(Me.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[w,"rate"],rules:[{required:!0}],children:(0,e.jsx)(F.Z,{placeholder:"Rate"})})}),(0,e.jsx)(Me.Z,{children:(0,e.jsx)(ge.Z,{onClick:function(){return x(w)}})})]},O))})}),(0,e.jsx)(t.Z.Item,Z()(Z()({},f),{},{children:(0,e.jsx)(ie.ZP,{type:"dashed",onClick:function(){return i()},block:!0,children:"\u6DFB\u52A0\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B"})}))]})}})]})})},We=Ke,ze=function(){var n=(0,y.useState)(!1),u=v()(n,2),m=u[0],a=u[1],h=(0,y.useState)([]),R=v()(h,2),B=R[0],G=R[1],E=(0,y.useState)([]),f=v()(E,2),p=f[0],A=f[1],l=(0,y.useState)(),i=v()(l,2),x=i[0],d=i[1],I=function(j){var H=B.filter(function(Y){var L;return Y==null||(L=Y.name)===null||L===void 0?void 0:L.includes(j)});A(H)},O=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0},{title:"\u5E94\u7528\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(j){return(0,e.jsx)("img",{style:{width:"40px"},src:j})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,renderText:function(j){return(0,e.jsx)(W.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(z.Z,{value:j||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:j})})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(j){if(j.enableCash)return(0,e.jsx)("a",{onClick:function(){d(j.code),a(!0)},children:"\u7F16\u8F91"},"edit")}}],w=function(){var k=S()(s()().mark(function j(){var H;return s()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,(0,D.ln)();case 2:H=L.sent,H.data&&(G(H.data),A(H.data));case 4:case"end":return L.stop()}},j)}));return function(){return k.apply(this,arguments)}}();return(0,y.useEffect)(function(){w()},[]),(0,e.jsxs)(Q._z,{children:[(0,e.jsx)(X.Z,{search:{defaultCollapsed:!1,optionRender:function(){return[(0,e.jsx)(F.Z,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D",onChange:function(H){return I(H.target.value)}},"name")]}},onReset:function(){A(B)},columns:O,dataSource:p}),x&&(0,e.jsx)(We,{updateModalOpen:m,appCode:x||"",onCancel:function(){return a(!1)},onSubmit:function(){a(!1)}})]})},He=ze,Ve=r(52043),ve=r(66309),Qe=r(86250),Xe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Je=Xe,Ye=function(n,u){return y.createElement(V.Z,(0,te.Z)((0,te.Z)({},n),{},{ref:u,icon:Je}))},qe=y.forwardRef(Ye),xe=qe,je=r(66476),$e=F.Z.TextArea,_e=function(n){var u=t.Z.useForm(),m=v()(u,1),a=m[0],h=function(){a.submit()},R=function(){n.onCancel()},B=function(){var E=S()(s()().mark(function f(p){var A;return s()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,le({appCode:p});case 2:A=i.sent,a.setFieldsValue(A.data);case 4:case"end":return i.stop()}},f)}));return function(p){return E.apply(this,arguments)}}();(0,y.useEffect)(function(){B(n.appCode)},[n.appCode]);var G=function(){var E=S()(s()().mark(function f(p){return s()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,Se({appCode:n.appCode},p);case 3:l.next=8;break;case 5:return l.prev=5,l.t0=l.catch(0),l.abrupt("return");case 8:n.onSubmit();case 9:case"end":return l.stop()}},f,null,[[0,5]])}));return function(p){return E.apply(this,arguments)}}();return(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:h,onCancel:R,children:(0,e.jsxs)(t.Z,{labelCol:{span:8},wrapperCol:{span:18},form:a,onFinish:G,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayAppId",label:(0,e.jsxs)(e.Fragment,{children:["AppId",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u963F\u91CC\u4E91\u5F00\u653E\u5E73\u53F0\u83B7\u53D6",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"aliPayPrivateKey",label:(0,e.jsxs)(e.Fragment,{children:["PrivateKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u963F\u91CC\u4E91\u5F00\u653E\u5E73\u53F0\u83B7\u53D6",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"aliPayAppCert",label:(0,e.jsxs)(e.Fragment,{children:["appCertPublicKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u5BC6\u94A5\u5DE5\u5177\u751F\u6210",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsxs)(F.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayAppCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9appCertPublicKey!"}],children:(0,e.jsx)($e,{autoSize:{maxRows:6}})}),(0,e.jsx)(je.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var p=new FileReader;p.onload=function(){a.setFieldsValue({aliPayAppCert:p.result})},p.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ie.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(xe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayRootCert",label:(0,e.jsxs)(e.Fragment,{children:["alipayRootCert",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u5BC6\u94A5\u5DE5\u5177\u751F\u6210",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsxs)(F.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayRootCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9alipayRootCert!"}],children:(0,e.jsx)($e,{autoSize:{maxRows:6}})}),(0,e.jsx)(je.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var p=new FileReader;p.onload=function(){a.setFieldsValue({aliPayRootCert:p.result})},p.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ie.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(xe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayPublicCert",label:(0,e.jsxs)(e.Fragment,{children:["alipayCertPublicKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u5BC6\u94A5\u5DE5\u5177\u751F\u6210",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsxs)(F.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayPublicCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9alipayCertPublicKey!"}],children:(0,e.jsx)($e,{autoSize:{maxRows:6}})}),(0,e.jsx)(je.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var p=new FileReader;p.onload=function(){a.setFieldsValue({aliPayPublicCert:p.result})},p.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ie.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(xe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})})]})})},en=_e,Ge=r(34041),nn=r(32400),an=r(56448),rn=r.n(an),ye=r(2453),tn=function(n){var u=n.onUploadSuccess,m=n.onUploadError,a=(0,y.useState)(!1),h=v()(a,2),R=h[0],B=h[1],G=(0,y.useState)(null),E=v()(G,2),f=E[0],p=E[1];(0,y.useEffect)(function(){function l(){return i.apply(this,arguments)}function i(){return i=S()(s()().mark(function x(){var d,I;return s()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.prev=0,w.next=3,(0,D.po)();case 3:if(d=w.sent,!(!d.data||!d.data.accessKeySecret||!d.data.accessKeyId)){w.next=7;break}return ye.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),w.abrupt("return");case 7:I=new(rn())({region:"oss-cn-beijing",accessKeyId:d.data.accessKeyId,accessKeySecret:d.data.accessKeySecret,stsToken:d.data.securityToken,bucket:d.data.bucket}),p(I),w.next=15;break;case 11:w.prev=11,w.t0=w.catch(0),ye.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),m&&m(w.t0);case 15:case"end":return w.stop()}},x,null,[[0,11]])})),i.apply(this,arguments)}l()},[m]);var A=function(){var l=S()(s()().mark(function i(x){var d,I,O,w;return s()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:if(d=x.file,!(d instanceof File)){j.next=24;break}return B(!0),j.prev=3,j.next=6,(0,nn.p)(d);case 6:return I=j.sent,O="matrix/".concat(I,".").concat(d.name.split(".").pop()),j.next=10,f==null?void 0:f.put(O,d,{headers:{"Content-Type":d.type}});case 10:w="https://apks.bzgames.cn/".concat(O),u&&u(w),B(!1),j.next=19;break;case 15:j.prev=15,j.t0=j.catch(3),ye.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),m&&m(j.t0);case 19:return j.prev=19,B(!1),j.finish(19);case 22:j.next=25;break;case 24:ye.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 25:case"end":return j.stop()}},i,null,[[3,15,19,22]])}));return function(x){return l.apply(this,arguments)}}();return(0,e.jsx)(je.Z,{showUploadList:!1,customRequest:A,disabled:R||!f,children:(0,e.jsx)(ie.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(xe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},Ne=tn,ln=function(n){var u=t.Z.useForm(),m=v()(u,1),a=m[0],h=(0,y.useState)(!1),R=v()(h,2),B=R[0],G=R[1],E=function(){a.submit()},f=function(){n.onCancel()},p=function(){var l=S()(s()().mark(function i(x){var d;return s()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(x){O.next=3;break}return a.resetFields(),O.abrupt("return");case 3:return O.next=5,Ze({appCode:x});case 5:d=O.sent,a.setFieldsValue(d.data);case 7:case"end":return O.stop()}},i)}));return function(x){return l.apply(this,arguments)}}();(0,y.useEffect)(function(){p(n.appCode),G(n.appCode!==void 0),n.appCode||a.resetFields()},[n.appCode]);var A=function(){var l=S()(s()().mark(function i(x){return s()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.prev=0,I.next=3,be(x);case 3:I.next=8;break;case 5:return I.prev=5,I.t0=I.catch(0),I.abrupt("return");case 8:n.onSubmit();case 9:case"end":return I.stop()}},i,null,[[0,5]])}));return function(x){return l.apply(this,arguments)}}();return(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:E,onCancel:f,children:(0,e.jsxs)(t.Z,{labelCol:{span:5},wrapperCol:{span:18},form:a,onFinish:A,children:[(0,e.jsx)(t.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(F.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{name:"code",style:{display:"none"},children:(0,e.jsx)(F.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528\u56FE\u7247",name:"img",children:(0,e.jsxs)(F.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"img",noStyle:!0,children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(Ne,{onUploadSuccess:function(i){a.setFieldsValue({img:i})}})]})}),(0,e.jsx)(t.Z.Item,{label:"\u4E0B\u8F7D\u5730\u5740",name:"url",children:(0,e.jsxs)(F.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"url",noStyle:!0,children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(Ne,{onUploadSuccess:function(i){a.setFieldsValue({url:i})}})]})}),(0,e.jsx)(t.Z.Item,{label:"app\u7248\u672C",name:"version",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u83DC\u5355\u680F\u4E2D",name:"hide",children:(0,e.jsx)(Ge.Z,{options:[{label:"\u5C55\u793A",value:0},{label:"\u9690\u85CF",value:1}]})}),(0,e.jsx)(t.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(Ge.Z,{disabled:B,options:(0,Ve.FG)()})})]})})},un=ln,sn=function(n){var u=t.Z.useForm(),m=v()(u,1),a=m[0],h=function(){a.submit()},R=function(){n.onCancel()},B=function(){var E=S()(s()().mark(function f(p){var A;return s()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,b({appCode:p});case 2:A=i.sent,a.setFieldsValue(A.data);case 4:case"end":return i.stop()}},f)}));return function(p){return E.apply(this,arguments)}}();(0,y.useEffect)(function(){B(n.appCode)},[n.appCode]);var G=function(){var E=S()(s()().mark(function f(p){return s()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,M({appCode:n.appCode},p);case 3:l.next=8;break;case 5:return l.prev=5,l.t0=l.catch(0),l.abrupt("return");case 8:n.onSubmit();case 9:case"end":return l.stop()}},f,null,[[0,5]])}));return function(p){return E.apply(this,arguments)}}();return(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:h,onCancel:R,children:(0,e.jsxs)(t.Z,{labelCol:{span:8},wrapperCol:{span:16},form:a,onFinish:G,children:[(0,e.jsx)(t.Z.Item,{name:"umengAppKeyAli",label:"AppKey(\u963F\u91CC\u4E91)",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppSecret",label:"AppSecret(\u963F\u91CC\u4E91)",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppCode",label:"AppCode(\u963F\u91CC\u4E91)",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppKey",label:"AppKey(\u53CB\u76DF)",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"linkId",label:"linkId(\u53CB\u76DF)",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"bindWx",label:"\u7ED1\u5B9A\u5FAE\u4FE1\u8D26\u53F7",children:(0,e.jsx)(Le.Z,{})})]})})},on=sn,cn=function(){var n=(0,y.useState)(!1),u=v()(n,2),m=u[0],a=u[1],h=(0,y.useState)([]),R=v()(h,2),B=R[0],G=R[1],E=(0,y.useState)([]),f=v()(E,2),p=f[0],A=f[1],l=(0,y.useState)(!1),i=v()(l,2),x=i[0],d=i[1],I=(0,y.useState)(!1),O=v()(I,2),w=O[0],k=O[1],j=(0,y.useState)(),H=v()(j,2),Y=H[0],L=H[1],mn=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0},{title:"\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(P){return(0,e.jsx)("img",{style:{width:"40px"},src:P})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,renderText:function(P){return(0,e.jsx)(W.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(z.Z,{value:P||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:P})})}},{title:"secret",dataIndex:"secret",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u83DC\u5355\u680F\u4E2D",dataIndex:"hide",hideInSearch:!0,renderText:function(P){return P===0?(0,e.jsx)(ve.Z,{color:"blue",children:"\u5C55\u793A"}):(0,e.jsx)(ve.Z,{color:"purple",children:"\u9690\u85CF"})}},{title:"\u6E20\u9053",dataIndex:"channel",hideInSearch:!0,renderText:function(P){var N=(0,Ve.FG)(),oe=N.find(function(J){return J.value===P});return oe?oe.label:P}},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,renderText:function(P){return(0,e.jsxs)(Qe.Z,{gap:"small",wrap:!0,children:[(0,e.jsx)(ve.Z,{color:"magenta",onClick:function(){L(P.code),a(!0)},children:"\u7F16\u8F91"},"edit"),P.enableCash&&(0,e.jsx)(ve.Z,{color:"orange",onClick:function(){L(P.code),k(!0)},children:"\u53CB\u76DF\u914D\u7F6E"},"ediyUMeng"),(0,e.jsx)(ve.Z,{color:"#2db7f5",onClick:function(){L(P.code),d(!0)},children:"\u652F\u4ED8\u5B9D\u914D\u7F6E"},"ediyAliPay")]})}}],Re=function(){var U=S()(s()().mark(function P(){var N;return s()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.next=2,(0,D.ln)();case 2:N=J.sent,N.data&&(G(N.data),A(N.data));case 4:case"end":return J.stop()}},P)}));return function(){return U.apply(this,arguments)}}();(0,y.useEffect)(function(){Re()},[]);var hn=function(P){var N=B.filter(function(oe){var J;return oe==null||(J=oe.name)===null||J===void 0?void 0:J.includes(P)});A(N)};return(0,e.jsxs)(Q._z,{children:[(0,e.jsx)(ie.ZP,{style:{marginBottom:"20px"},onClick:function(){a(!0),L(void 0)},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(X.Z,{search:{defaultCollapsed:!1,optionRender:function(){return[(0,e.jsx)(F.Z,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D",onChange:function(N){return hn(N.target.value)}},"name")]}},onReset:function(){A(B)},columns:mn,dataSource:p}),Y&&x&&(0,e.jsx)(en,{updateModalOpen:x,appCode:Y||"",onCancel:function(){return d(!1)},onSubmit:function(){d(!1),Re()}}),Y&&w&&(0,e.jsx)(on,{updateModalOpen:w,appCode:Y||"",onCancel:function(){return k(!1)},onSubmit:function(){k(!1)}}),(0,e.jsx)(un,{updateModalOpen:m,appCode:Y,onCancel:function(){return a(!1)},onSubmit:function(){a(!1),Re()}})]})},dn=cn,pn=function(){var n=(0,T.useModel)("@@initialState"),u=n.initialState,m=u==null?void 0:u.currentUser,a=m&&m.role&&m.role<2;return(0,e.jsx)(Q._z,{children:a?(0,e.jsx)(dn,{}):(0,e.jsx)(He,{})})},fn=pn},52043:function(Fe,ne,r){r.d(ne,{E7:function(){return T},FG:function(){return Q},RQ:function(){return re},XY:function(){return ae},m0:function(){return s}});var Q=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"}]},T=function(K){var v=[];if(!K)return v;for(var D=K,X=["\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"],W=0,z=X;W{const b=g.wrap===!0?"wrap":g.wrap;return{[`${o}-wrap-${b}`]:b&&D.includes(b)}},F=(o,g)=>{const b={};return W.forEach(C=>{b[`${o}-align-${C}`]=g.align===C}),b[`${o}-align-stretch`]=!g.align&&!!g.vertical,b},y=(o,g)=>{const b={};return X.forEach(C=>{b[`${o}-justify-${C}`]=g.justify===C}),b};function ce(o,g){return ae()(Object.assign(Object.assign(Object.assign({},z(o,g)),F(o,g)),y(o,g)))}var Z=ce;const le=o=>{const{componentCls:g}=o;return{[g]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},q=o=>{const{componentCls:g}=o;return{[g]:{"&-gap-small":{gap:o.flexGapSM},"&-gap-middle":{gap:o.flexGap},"&-gap-large":{gap:o.flexGapLG}}}},Se=o=>{const{componentCls:g}=o,b={};return D.forEach(C=>{b[`${g}-wrap-${C}`]={flexWrap:C}}),b},de=o=>{const{componentCls:g}=o,b={};return W.forEach(C=>{b[`${g}-align-${C}`]={alignItems:C}}),b},Ze=o=>{const{componentCls:g}=o,b={};return X.forEach(C=>{b[`${g}-justify-${C}`]={justifyContent:C}}),b},pe=()=>({});var be=(0,K.I$)("Flex",o=>{const{paddingXS:g,padding:b,paddingLG:C}=o,M=(0,v.TS)(o,{flexGapSM:g,flexGap:b,flexGapLG:C});return[le(M),q(M),Se(M),de(M),Ze(M)]},pe,{resetStyle:!1}),fe=function(o,g){var b={};for(var C in o)Object.prototype.hasOwnProperty.call(o,C)&&g.indexOf(C)<0&&(b[C]=o[C]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,C=Object.getOwnPropertySymbols(o);M{const{prefixCls:b,rootClassName:C,className:M,style:he,flex:Ae,gap:_,children:ke,vertical:ue=!1,component:te="div"}=o,Ee=fe(o,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:V,direction:Ie,getPrefixCls:we}=Q.useContext(S.E_),$=we("flex",b),[ge,Oe,Pe]=be($),De=ue!=null?ue:V==null?void 0:V.vertical,Be=ae()(M,C,V==null?void 0:V.className,$,Oe,Pe,Z($,o),{[`${$}-rtl`]:Ie==="rtl",[`${$}-gap-${_}`]:(0,re.n)(_),[`${$}-vertical`]:De}),t=Object.assign(Object.assign({},V==null?void 0:V.style),he);return Ae&&(t.flex=Ae),_&&!(0,re.n)(_)&&(t.gap=_),ge(Q.createElement(te,Object.assign({ref:g,className:Be,style:t},(0,s.Z)(Ee,["justify","wrap","align"])),ke))})}}]); +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[731],{3345:function(Fe,ne,r){r.r(ne),r.d(ne,{default:function(){return fn}});var Q=r(90930),B=r(35312),ae=r(15009),s=r.n(ae),re=r(99289),S=r.n(re),K=r(5574),v=r.n(K),T=r(48357),X=r(67539),W=r(55241),z=r(10397),F=r(55102),y=r(67294),ce=r(97857),Z=r.n(ce);function ue(c,n){return q.apply(this,arguments)}function q(){return q=S()(s()().mark(function c(n,l){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,B.request)("/api/admin/app/aliPayConfig",Z()({method:"GET",params:Z()({},n)},l||{})));case 1:case"end":return a.stop()}},c)})),q.apply(this,arguments)}function Se(c,n,l){return de.apply(this,arguments)}function de(){return de=S()(s()().mark(function c(n,l,m){return s()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,B.request)("/api/admin/app/aliPayConfig",Z()({method:"POST",headers:{"Content-Type":"application/json"},params:Z()({},n),data:l},m||{})));case 1:case"end":return h.stop()}},c)})),de.apply(this,arguments)}function Ze(c,n){return pe.apply(this,arguments)}function pe(){return pe=S()(s()().mark(function c(n,l){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,B.request)("/api/admin/app/basicConfig",Z()({method:"GET",params:Z()({},n)},l||{})));case 1:case"end":return a.stop()}},c)})),pe.apply(this,arguments)}function be(c,n){return fe.apply(this,arguments)}function fe(){return fe=S()(s()().mark(function c(n,l){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,B.request)("/api/admin/app/basicConfig",Z()({method:"POST",headers:{"Content-Type":"application/json"},data:n},l||{})));case 1:case"end":return a.stop()}},c)})),fe.apply(this,arguments)}function Ue(c,n){return me.apply(this,arguments)}function me(){return me=S()(s()().mark(function c(n,l){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,B.request)("/api/admin/app/normalConfig",Z()({method:"GET",params:Z()({},n)},l||{})));case 1:case"end":return a.stop()}},c)})),me.apply(this,arguments)}function o(c,n,l){return g.apply(this,arguments)}function g(){return g=S()(s()().mark(function c(n,l,m){return s()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,B.request)("/api/admin/app/normalConfig",Z()({method:"POST",headers:{"Content-Type":"application/json"},params:Z()({},n),data:l},m||{})));case 1:case"end":return h.stop()}},c)})),g.apply(this,arguments)}function b(c,n){return C.apply(this,arguments)}function C(){return C=S()(s()().mark(function c(n,l){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,B.request)("/api/admin/app/uMengConfig",Z()({method:"GET",params:Z()({},n)},l||{})));case 1:case"end":return a.stop()}},c)})),C.apply(this,arguments)}function M(c,n,l){return he.apply(this,arguments)}function he(){return he=S()(s()().mark(function c(n,l,m){return s()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,B.request)("/api/admin/app/uMengConfig",Z()({method:"POST",headers:{"Content-Type":"application/json"},params:Z()({},n),data:l},m||{})));case 1:case"end":return h.stop()}},c)})),he.apply(this,arguments)}function Ae(c,n){return _.apply(this,arguments)}function _(){return _=_asyncToGenerator(_regeneratorRuntime().mark(function c(n,l){return _regeneratorRuntime().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"GET",params:_objectSpread({},n)},l||{})));case 1:case"end":return a.stop()}},c)})),_.apply(this,arguments)}function ke(c,n,l){return le.apply(this,arguments)}function le(){return le=_asyncToGenerator(_regeneratorRuntime().mark(function c(n,l,m){return _regeneratorRuntime().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},params:_objectSpread({},n),data:l},m||{})));case 1:case"end":return h.stop()}},c)})),le.apply(this,arguments)}var te=r(1413),Ee=r(93696),V=r(91146),Ie=function(n,l){return y.createElement(V.Z,(0,te.Z)((0,te.Z)({},n),{},{ref:l,icon:Ee.Z}))},we=y.forwardRef(Ie),$=we,ge=r(3089),Oe=r(42110),Pe=function(n,l){return y.createElement(V.Z,(0,te.Z)((0,te.Z)({},n),{},{ref:l,icon:Oe.Z}))},De=y.forwardRef(Pe),Be=De,t=r(8232),Ce=r(17788),Le=r(72269),se=r(37804),ee=r(83062),Te=r(71230),ie=r(14726),Me=r(15746),e=r(85893),Ke=function(n){var l=t.Z.useForm(),m=v()(l,1),a=m[0],h=function(){a.submit()},R=function(){n.onCancel()},D=function(){var p=S()(s()().mark(function A(u){var i;return s()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,Ue({appCode:u});case 2:i=d.sent,a.setFieldsValue(i.data);case 4:case"end":return d.stop()}},A)}));return function(u){return p.apply(this,arguments)}}();(0,y.useEffect)(function(){D(n.appCode)},[n.appCode]);var G=function(){var p=S()(s()().mark(function A(u){return s()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.prev=0,x.next=3,o({appCode:n.appCode},u);case 3:x.next=8;break;case 5:return x.prev=5,x.t0=x.catch(0),x.abrupt("return");case 8:n.onSubmit();case 9:case"end":return x.stop()}},A,null,[[0,5]])}));return function(u){return p.apply(this,arguments)}}(),E={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:20}}},f={wrapperCol:{xs:{span:24,offset:10},sm:{span:20,offset:6}}};return(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:h,onCancel:R,children:(0,e.jsxs)(t.Z,{labelCol:{span:6},wrapperCol:{span:18},form:a,onFinish:G,children:[(0,e.jsx)(t.Z.Item,{name:"enablePangolin",label:"\u542F\u7528\u7A7F\u5C71\u7532",children:(0,e.jsx)(Le.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"pangolinDailyLimit",label:"\u7A7F\u5C71\u7532\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(se.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"tencentDailyLimit",label:"\u5E7F\u544A\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(se.Z,{})}),(0,e.jsx)(t.Z.List,{name:"moneyLadder",children:function(A,u){var i=u.add,x=u.remove;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(t.Z.Item,{label:(0,e.jsxs)(e.Fragment,{children:["\u63D0\u73B0\u68AF\u5EA6",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u7528\u6237\u53EF\u9009\u7684\u63D0\u73B0\u91D1\u989D\u6863\u4F4D\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)($,{})})})]}),required:!1,children:[(0,e.jsx)(Te.Z,{children:A.map(function(d){return(0,e.jsx)(t.Z.Item,{label:"",required:!1,children:(0,e.jsxs)(Te.Z,{align:"stretch",style:{marginRight:10},children:[(0,e.jsx)(t.Z.Item,Z()(Z()({},d),{},{validateTrigger:["onChange","onBlur"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u91D1\u989D\u6216\u8005\u5220\u9664"}],noStyle:!0,children:(0,e.jsx)(se.Z,{placeholder:"\u91D1\u989D\uFF0C\u5355\u4F4D\u5206"})})),(0,e.jsx)(ge.Z,{style:{marginLeft:4},className:"dynamic-delete-button",onClick:function(){return x(d.name)}})]})},d.key)})}),(0,e.jsx)(t.Z.Item,Z()(Z()({},f),{},{children:(0,e.jsx)(ie.ZP,{type:"dashed",onClick:function(){return i()},icon:(0,e.jsx)(Be,{}),children:"\u6DFB\u52A0\u63D0\u73B0\u68AF\u5EA6"})}))]})})}}),(0,e.jsx)(t.Z.Item,{name:"noAuditMoney",label:(0,e.jsxs)(e.Fragment,{children:["\u4E0D\u5BA1\u6838\u95E8\u69DB",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u4F4E\u4E8E\u6B64\u91D1\u989D\u7684\u63D0\u73B0\u7533\u8BF7\u5C06\u4F1A\u81EA\u52A8\u5BA1\u6838\u901A\u8FC7\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsx)(se.Z,{placeholder:"\u5355\u4F4D\u5206",style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"qqUrl",label:"QQ\u7FA4\u94FE\u63A5",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"dayLimit",label:(0,e.jsxs)(e.Fragment,{children:["\u6BCF\u65E5\u63D0\u73B0\u6B21\u6570",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u540C\u4E2A\u8D26\u53F7\u6216\u540C\u4E2A\u652F\u4ED8\u5B9D\u6BCF\u65E5\u6700\u591A\u63D0\u73B0\u7684\u6B21\u6570",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsx)(se.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"maxIncomeEachVideo",label:(0,e.jsxs)(e.Fragment,{children:["\u5355\u6761\u6536\u76CA\u4E0A\u9650",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u770B\u4E00\u6761\u89C6\u9891\u6700\u591A\u80FD\u83B7\u5F97\u7684\u94B1\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsx)(se.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"defaultRate",label:(0,e.jsx)(e.Fragment,{children:"\u9ED8\u8BA4\u5206\u6210\u6BD4\u4F8B"}),children:(0,e.jsx)(se.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.List,{name:"dayRates",children:function(A,u){var i=u.add,x=u.remove;return(0,e.jsxs)(e.Fragment,{children:[A.map(function(d,I){var O=d.key,w=d.name;return(0,e.jsx)(e.Fragment,{children:(0,y.createElement)(t.Z.Item,Z()(Z()({},I===0?E:f),{},{label:I===0?"\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B":"",required:!1,key:O}),(0,e.jsxs)(Te.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(Me.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[w,"day"],rules:[{required:!0}],children:(0,e.jsx)(F.Z,{placeholder:"Day"})})}),(0,e.jsx)(Me.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[w,"rate"],rules:[{required:!0}],children:(0,e.jsx)(F.Z,{placeholder:"Rate"})})}),(0,e.jsx)(Me.Z,{children:(0,e.jsx)(ge.Z,{onClick:function(){return x(w)}})})]},O))})}),(0,e.jsx)(t.Z.Item,Z()(Z()({},f),{},{children:(0,e.jsx)(ie.ZP,{type:"dashed",onClick:function(){return i()},block:!0,children:"\u6DFB\u52A0\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B"})}))]})}})]})})},We=Ke,ze=function(){var n=(0,y.useState)(!1),l=v()(n,2),m=l[0],a=l[1],h=(0,y.useState)([]),R=v()(h,2),D=R[0],G=R[1],E=(0,y.useState)([]),f=v()(E,2),p=f[0],A=f[1],u=(0,y.useState)(),i=v()(u,2),x=i[0],d=i[1],I=function(j){var H=D.filter(function(Y){var L;return Y==null||(L=Y.name)===null||L===void 0?void 0:L.includes(j)});A(H)},O=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0},{title:"\u5E94\u7528\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(j){return(0,e.jsx)("img",{style:{width:"40px"},src:j})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,renderText:function(j){return(0,e.jsx)(W.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(z.Z,{value:j||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:j})})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(j){if(j.enableCash)return(0,e.jsx)("a",{onClick:function(){d(j.code),a(!0)},children:"\u7F16\u8F91"},"edit")}}],w=function(){var k=S()(s()().mark(function j(){var H;return s()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,(0,T.ln)();case 2:H=L.sent,H.data&&(G(H.data),A(H.data));case 4:case"end":return L.stop()}},j)}));return function(){return k.apply(this,arguments)}}();return(0,y.useEffect)(function(){w()},[]),(0,e.jsxs)(Q._z,{children:[(0,e.jsx)(X.Z,{search:{defaultCollapsed:!1,optionRender:function(){return[(0,e.jsx)(F.Z,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D",onChange:function(H){return I(H.target.value)}},"name")]}},onReset:function(){A(D)},columns:O,dataSource:p}),x&&(0,e.jsx)(We,{updateModalOpen:m,appCode:x||"",onCancel:function(){return a(!1)},onSubmit:function(){a(!1)}})]})},He=ze,Ve=r(52043),ve=r(66309),Qe=r(86250),Xe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Je=Xe,Ye=function(n,l){return y.createElement(V.Z,(0,te.Z)((0,te.Z)({},n),{},{ref:l,icon:Je}))},qe=y.forwardRef(Ye),xe=qe,je=r(66476),$e=F.Z.TextArea,_e=function(n){var l=t.Z.useForm(),m=v()(l,1),a=m[0],h=function(){a.submit()},R=function(){n.onCancel()},D=function(){var E=S()(s()().mark(function f(p){var A;return s()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,ue({appCode:p});case 2:A=i.sent,a.setFieldsValue(A.data);case 4:case"end":return i.stop()}},f)}));return function(p){return E.apply(this,arguments)}}();(0,y.useEffect)(function(){D(n.appCode)},[n.appCode]);var G=function(){var E=S()(s()().mark(function f(p){return s()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,Se({appCode:n.appCode},p);case 3:u.next=8;break;case 5:return u.prev=5,u.t0=u.catch(0),u.abrupt("return");case 8:n.onSubmit();case 9:case"end":return u.stop()}},f,null,[[0,5]])}));return function(p){return E.apply(this,arguments)}}();return(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:h,onCancel:R,children:(0,e.jsxs)(t.Z,{labelCol:{span:8},wrapperCol:{span:18},form:a,onFinish:G,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayAppId",label:(0,e.jsxs)(e.Fragment,{children:["AppId",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u963F\u91CC\u4E91\u5F00\u653E\u5E73\u53F0\u83B7\u53D6",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"aliPayPrivateKey",label:(0,e.jsxs)(e.Fragment,{children:["PrivateKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u963F\u91CC\u4E91\u5F00\u653E\u5E73\u53F0\u83B7\u53D6",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"aliPayAppCert",label:(0,e.jsxs)(e.Fragment,{children:["appCertPublicKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u5BC6\u94A5\u5DE5\u5177\u751F\u6210",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsxs)(F.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayAppCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9appCertPublicKey!"}],children:(0,e.jsx)($e,{autoSize:{maxRows:6}})}),(0,e.jsx)(je.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var p=new FileReader;p.onload=function(){a.setFieldsValue({aliPayAppCert:p.result})},p.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ie.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(xe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayRootCert",label:(0,e.jsxs)(e.Fragment,{children:["alipayRootCert",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u5BC6\u94A5\u5DE5\u5177\u751F\u6210",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsxs)(F.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayRootCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9alipayRootCert!"}],children:(0,e.jsx)($e,{autoSize:{maxRows:6}})}),(0,e.jsx)(je.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var p=new FileReader;p.onload=function(){a.setFieldsValue({aliPayRootCert:p.result})},p.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ie.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(xe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayPublicCert",label:(0,e.jsxs)(e.Fragment,{children:["alipayCertPublicKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ee.Z,{title:"\u5BC6\u94A5\u5DE5\u5177\u751F\u6210",children:(0,e.jsx)($,{})})})]}),children:(0,e.jsxs)(F.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayPublicCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9alipayCertPublicKey!"}],children:(0,e.jsx)($e,{autoSize:{maxRows:6}})}),(0,e.jsx)(je.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var p=new FileReader;p.onload=function(){a.setFieldsValue({aliPayPublicCert:p.result})},p.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ie.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(xe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})})]})})},en=_e,Ge=r(34041),nn=r(32400),an=r(56448),rn=r.n(an),ye=r(2453),tn=function(n){var l=n.onUploadSuccess,m=n.onUploadError,a=(0,y.useState)(!1),h=v()(a,2),R=h[0],D=h[1],G=(0,y.useState)(null),E=v()(G,2),f=E[0],p=E[1];(0,y.useEffect)(function(){function u(){return i.apply(this,arguments)}function i(){return i=S()(s()().mark(function x(){var d,I;return s()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.prev=0,w.next=3,(0,T.po)();case 3:if(d=w.sent,!(!d.data||!d.data.accessKeySecret||!d.data.accessKeyId)){w.next=7;break}return ye.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),w.abrupt("return");case 7:I=new(rn())({region:"oss-cn-beijing",accessKeyId:d.data.accessKeyId,accessKeySecret:d.data.accessKeySecret,stsToken:d.data.securityToken,bucket:d.data.bucket}),p(I),w.next=15;break;case 11:w.prev=11,w.t0=w.catch(0),ye.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),m&&m(w.t0);case 15:case"end":return w.stop()}},x,null,[[0,11]])})),i.apply(this,arguments)}u()},[m]);var A=function(){var u=S()(s()().mark(function i(x){var d,I,O,w;return s()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:if(d=x.file,!(d instanceof File)){j.next=24;break}return D(!0),j.prev=3,j.next=6,(0,nn.p)(d);case 6:return I=j.sent,O="matrix/".concat(I,".").concat(d.name.split(".").pop()),j.next=10,f==null?void 0:f.put(O,d,{headers:{"Content-Type":d.type}});case 10:w="https://apks.bzgames.cn/".concat(O),l&&l(w),D(!1),j.next=19;break;case 15:j.prev=15,j.t0=j.catch(3),ye.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),m&&m(j.t0);case 19:return j.prev=19,D(!1),j.finish(19);case 22:j.next=25;break;case 24:ye.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 25:case"end":return j.stop()}},i,null,[[3,15,19,22]])}));return function(x){return u.apply(this,arguments)}}();return(0,e.jsx)(je.Z,{showUploadList:!1,customRequest:A,disabled:R||!f,children:(0,e.jsx)(ie.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(xe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},Ne=tn,un=function(n){var l=t.Z.useForm(),m=v()(l,1),a=m[0],h=(0,y.useState)(!1),R=v()(h,2),D=R[0],G=R[1],E=function(){a.submit()},f=function(){n.onCancel()},p=function(){var u=S()(s()().mark(function i(x){var d;return s()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(x){O.next=3;break}return a.resetFields(),O.abrupt("return");case 3:return O.next=5,Ze({appCode:x});case 5:d=O.sent,a.setFieldsValue(d.data);case 7:case"end":return O.stop()}},i)}));return function(x){return u.apply(this,arguments)}}();(0,y.useEffect)(function(){p(n.appCode),G(n.appCode!==void 0),n.appCode||a.resetFields()},[n.appCode]);var A=function(){var u=S()(s()().mark(function i(x){return s()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.prev=0,I.next=3,be(x);case 3:I.next=8;break;case 5:return I.prev=5,I.t0=I.catch(0),I.abrupt("return");case 8:n.onSubmit();case 9:case"end":return I.stop()}},i,null,[[0,5]])}));return function(x){return u.apply(this,arguments)}}();return(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:E,onCancel:f,children:(0,e.jsxs)(t.Z,{labelCol:{span:5},wrapperCol:{span:18},form:a,onFinish:A,children:[(0,e.jsx)(t.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(F.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{name:"code",style:{display:"none"},children:(0,e.jsx)(F.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528\u56FE\u7247",name:"img",children:(0,e.jsxs)(F.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"img",noStyle:!0,children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(Ne,{onUploadSuccess:function(i){a.setFieldsValue({img:i})}})]})}),(0,e.jsx)(t.Z.Item,{label:"\u4E0B\u8F7D\u5730\u5740",name:"url",children:(0,e.jsxs)(F.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"url",noStyle:!0,children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(Ne,{onUploadSuccess:function(i){a.setFieldsValue({url:i})}})]})}),(0,e.jsx)(t.Z.Item,{label:"app\u7248\u672C",name:"version",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u83DC\u5355\u680F\u4E2D",name:"hide",children:(0,e.jsx)(Ge.Z,{options:[{label:"\u5C55\u793A",value:0},{label:"\u9690\u85CF",value:1}]})}),(0,e.jsx)(t.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(Ge.Z,{disabled:D,options:(0,Ve.FG)()})})]})})},ln=un,sn=function(n){var l=t.Z.useForm(),m=v()(l,1),a=m[0],h=function(){a.submit()},R=function(){n.onCancel()},D=function(){var E=S()(s()().mark(function f(p){var A;return s()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,b({appCode:p});case 2:A=i.sent,a.setFieldsValue(A.data);case 4:case"end":return i.stop()}},f)}));return function(p){return E.apply(this,arguments)}}();(0,y.useEffect)(function(){D(n.appCode)},[n.appCode]);var G=function(){var E=S()(s()().mark(function f(p){return s()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,M({appCode:n.appCode},p);case 3:u.next=8;break;case 5:return u.prev=5,u.t0=u.catch(0),u.abrupt("return");case 8:n.onSubmit();case 9:case"end":return u.stop()}},f,null,[[0,5]])}));return function(p){return E.apply(this,arguments)}}();return(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:h,onCancel:R,children:(0,e.jsxs)(t.Z,{labelCol:{span:8},wrapperCol:{span:16},form:a,onFinish:G,children:[(0,e.jsx)(t.Z.Item,{name:"umengAppKeyAli",label:"AppKey(\u963F\u91CC\u4E91)",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppSecret",label:"AppSecret(\u963F\u91CC\u4E91)",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppCode",label:"AppCode(\u963F\u91CC\u4E91)",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppKey",label:"AppKey(\u53CB\u76DF)",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"linkId",label:"linkId(\u53CB\u76DF)",children:(0,e.jsx)(F.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"bindWx",label:"\u7ED1\u5B9A\u5FAE\u4FE1\u8D26\u53F7",children:(0,e.jsx)(Le.Z,{})})]})})},on=sn,cn=function(){var n=(0,y.useState)(!1),l=v()(n,2),m=l[0],a=l[1],h=(0,y.useState)([]),R=v()(h,2),D=R[0],G=R[1],E=(0,y.useState)([]),f=v()(E,2),p=f[0],A=f[1],u=(0,y.useState)(!1),i=v()(u,2),x=i[0],d=i[1],I=(0,y.useState)(!1),O=v()(I,2),w=O[0],k=O[1],j=(0,y.useState)(),H=v()(j,2),Y=H[0],L=H[1],mn=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0},{title:"\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(P){return(0,e.jsx)("img",{style:{width:"40px"},src:P})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,renderText:function(P){return(0,e.jsx)(W.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(z.Z,{value:P||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:P})})}},{title:"secret",dataIndex:"secret",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u83DC\u5355\u680F\u4E2D",dataIndex:"hide",hideInSearch:!0,renderText:function(P){return P===0?(0,e.jsx)(ve.Z,{color:"blue",children:"\u5C55\u793A"}):(0,e.jsx)(ve.Z,{color:"purple",children:"\u9690\u85CF"})}},{title:"\u6E20\u9053",dataIndex:"channel",hideInSearch:!0,renderText:function(P){var N=(0,Ve.FG)(),oe=N.find(function(J){return J.value===P});return oe?oe.label:P}},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,renderText:function(P){return(0,e.jsxs)(Qe.Z,{gap:"small",wrap:!0,children:[(0,e.jsx)(ve.Z,{color:"magenta",onClick:function(){L(P.code),a(!0)},children:"\u7F16\u8F91"},"edit"),P.enableCash&&(0,e.jsx)(ve.Z,{color:"orange",onClick:function(){L(P.code),k(!0)},children:"\u53CB\u76DF\u914D\u7F6E"},"ediyUMeng"),(0,e.jsx)(ve.Z,{color:"#2db7f5",onClick:function(){L(P.code),d(!0)},children:"\u652F\u4ED8\u5B9D\u914D\u7F6E"},"ediyAliPay")]})}}],Re=function(){var U=S()(s()().mark(function P(){var N;return s()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.next=2,(0,T.ln)();case 2:N=J.sent,N.data&&(G(N.data),A(N.data));case 4:case"end":return J.stop()}},P)}));return function(){return U.apply(this,arguments)}}();(0,y.useEffect)(function(){Re()},[]);var hn=function(P){var N=D.filter(function(oe){var J;return oe==null||(J=oe.name)===null||J===void 0?void 0:J.includes(P)});A(N)};return(0,e.jsxs)(Q._z,{children:[(0,e.jsx)(ie.ZP,{style:{marginBottom:"20px"},onClick:function(){a(!0),L(void 0)},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(X.Z,{search:{defaultCollapsed:!1,optionRender:function(){return[(0,e.jsx)(F.Z,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D",onChange:function(N){return hn(N.target.value)}},"name")]}},onReset:function(){A(D)},columns:mn,dataSource:p}),Y&&x&&(0,e.jsx)(en,{updateModalOpen:x,appCode:Y||"",onCancel:function(){return d(!1)},onSubmit:function(){d(!1),Re()}}),Y&&w&&(0,e.jsx)(on,{updateModalOpen:w,appCode:Y||"",onCancel:function(){return k(!1)},onSubmit:function(){k(!1)}}),(0,e.jsx)(ln,{updateModalOpen:m,appCode:Y,onCancel:function(){return a(!1)},onSubmit:function(){a(!1),Re()}})]})},dn=cn,pn=function(){var n=(0,B.useModel)("@@initialState"),l=n.initialState,m=l==null?void 0:l.currentUser,a=m&&m.role&&m.role<2;return(0,e.jsx)(Q._z,{children:a?(0,e.jsx)(dn,{}):(0,e.jsx)(He,{})})},fn=pn},52043:function(Fe,ne,r){r.d(ne,{E7:function(){return B},FG:function(){return Q},RQ:function(){return re},XY:function(){return ae},m0:function(){return s}});var Q=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"}]},B=function(K){var v=[];if(!K)return v;for(var T=K>>1,X=["\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"],W=0,z=X;W>=1}return v},ae=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"}]},s=function(K){var v=new Date(K),T=v.getFullYear().toString().padStart(4,"0"),X=(v.getMonth()+1).toString().padStart(2,"0"),W=v.getDate().toString().padStart(2,"0");return T+X+W},re=function(K,v){var T=K.toString();return T.padStart(v,"0")}},32400:function(Fe,ne,r){r.d(ne,{p:function(){return K}});var Q=r(15009),B=r.n(Q),ae=r(99289),s=r.n(ae),re=r(8322),S=r.n(re);function K(T){return v.apply(this,arguments)}function v(){return v=s()(B()().mark(function T(X){return B()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.abrupt("return",new Promise(function(F,y){var ce=new(S()).ArrayBuffer,Z=new FileReader;Z.onload=function(ue){var q;ce.append((q=ue.target)===null||q===void 0?void 0:q.result),F(ce.end())},Z.onerror=function(ue){y(ue)},Z.readAsArrayBuffer(X)}));case 1:case"end":return z.stop()}},T)})),v.apply(this,arguments)}},86250:function(Fe,ne,r){r.d(ne,{Z:function(){return me}});var Q=r(67294),B=r(93967),ae=r.n(B),s=r(98423),re=r(98065),S=r(53124),K=r(91945),v=r(45503);const T=["wrap","nowrap","wrap-reverse"],X=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],W=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],z=(o,g)=>{const b=g.wrap===!0?"wrap":g.wrap;return{[`${o}-wrap-${b}`]:b&&T.includes(b)}},F=(o,g)=>{const b={};return W.forEach(C=>{b[`${o}-align-${C}`]=g.align===C}),b[`${o}-align-stretch`]=!g.align&&!!g.vertical,b},y=(o,g)=>{const b={};return X.forEach(C=>{b[`${o}-justify-${C}`]=g.justify===C}),b};function ce(o,g){return ae()(Object.assign(Object.assign(Object.assign({},z(o,g)),F(o,g)),y(o,g)))}var Z=ce;const ue=o=>{const{componentCls:g}=o;return{[g]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},q=o=>{const{componentCls:g}=o;return{[g]:{"&-gap-small":{gap:o.flexGapSM},"&-gap-middle":{gap:o.flexGap},"&-gap-large":{gap:o.flexGapLG}}}},Se=o=>{const{componentCls:g}=o,b={};return T.forEach(C=>{b[`${g}-wrap-${C}`]={flexWrap:C}}),b},de=o=>{const{componentCls:g}=o,b={};return W.forEach(C=>{b[`${g}-align-${C}`]={alignItems:C}}),b},Ze=o=>{const{componentCls:g}=o,b={};return X.forEach(C=>{b[`${g}-justify-${C}`]={justifyContent:C}}),b},pe=()=>({});var be=(0,K.I$)("Flex",o=>{const{paddingXS:g,padding:b,paddingLG:C}=o,M=(0,v.TS)(o,{flexGapSM:g,flexGap:b,flexGapLG:C});return[ue(M),q(M),Se(M),de(M),Ze(M)]},pe,{resetStyle:!1}),fe=function(o,g){var b={};for(var C in o)Object.prototype.hasOwnProperty.call(o,C)&&g.indexOf(C)<0&&(b[C]=o[C]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,C=Object.getOwnPropertySymbols(o);M{const{prefixCls:b,rootClassName:C,className:M,style:he,flex:Ae,gap:_,children:ke,vertical:le=!1,component:te="div"}=o,Ee=fe(o,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:V,direction:Ie,getPrefixCls:we}=Q.useContext(S.E_),$=we("flex",b),[ge,Oe,Pe]=be($),De=le!=null?le:V==null?void 0:V.vertical,Be=ae()(M,C,V==null?void 0:V.className,$,Oe,Pe,Z($,o),{[`${$}-rtl`]:Ie==="rtl",[`${$}-gap-${_}`]:(0,re.n)(_),[`${$}-vertical`]:De}),t=Object.assign(Object.assign({},V==null?void 0:V.style),he);return Ae&&(t.flex=Ae),_&&!(0,re.n)(_)&&(t.gap=_),ge(Q.createElement(te,Object.assign({ref:g,className:Be,style:t},(0,s.Z)(Ee,["justify","wrap","align"])),ke))})}}]); diff --git a/dist/p__MoneyManagement.41bff0f7.async.js b/dist/p__MoneyManagement.41bff0f7.async.js new file mode 100644 index 0000000..80b3480 --- /dev/null +++ b/dist/p__MoneyManagement.41bff0f7.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[190],{39829:function(K,j,t){t.r(j),t.d(j,{default:function(){return k}});var f=t(97857),S=t.n(f),I=t(15009),g=t.n(I),F=t(99289),p=t.n(F),C=t(35312);function u(A,T){return h.apply(this,arguments)}function h(){return h=p()(g()().mark(function A(T,a){return g()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,C.request)("/api/admin/money/audit",S()({method:"POST",headers:{"Content-Type":"application/json"},data:T},a||{})));case 1:case"end":return o.stop()}},A)})),h.apply(this,arguments)}function $(A,T){return v.apply(this,arguments)}function v(){return v=p()(g()().mark(function A(T,a){return g()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,C.request)("/api/admin/money/list",S()({method:"POST",headers:{"Content-Type":"application/json"},data:T},a||{})));case 1:case"end":return o.stop()}},A)})),v.apply(this,arguments)}var O=t(58125),R=t(90930),M=t(67539),Y=t(66309),z=t(86250),L=t(86738),Z=t(14726),H=t(67294),W=t(52043),Q=t(38171),b=t(85893),J=function(){var T=(0,C.useParams)(),a=T.code,s=(0,H.useRef)();(0,H.useEffect)(function(){var l;(l=s.current)===null||l===void 0||l.reload()},[a]);var o=[{title:"id",dataIndex:"id",valueType:"textarea",copyable:!0,hideInSearch:!0,renderText:function(d,e){return(0,W.m0)(e.createdAt||0)+(0,W.RQ)(e.id||0,6)}},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"user",valueType:"textarea",width:150,renderText:function(d,e){if(e.user)return(0,b.jsx)(Q.Z,{data:e.user})}},{title:"\u91D1\u989D\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"cent",valueType:"textarea",renderText:function(d){return(0,O.D)(d)}},{title:"\u652F\u4ED8\u5B9D\u540D\u79F0",dataIndex:"name",hideInSearch:!0},{title:"\u652F\u4ED8\u5B9D\u8D26\u53F7",dataIndex:"aliPayAccount",hideInSearch:!0},{title:"\u8BA2\u5355\u53F7",dataIndex:"orderId",hideInSearch:!0,ellipsis:!0},{title:"\u8F6C\u8D26\u65F6\u95F4",dataIndex:"transDate",hideInSearch:!0},{title:"\u72B6\u6001",dataIndex:"status",hideInSearch:!0,renderText:function(d){var e=(0,W.XY)(),r=e.find(function(n){return n.value===d+""}),c=r?r.label:"\u672A\u77E5";return(0,b.jsx)(Y.Z,{color:r==null?void 0:r.color,children:c})}},{title:"\u72B6\u6001",dataIndex:"status",hideInTable:!0,valueType:"select",fieldProps:{options:(0,W.XY)()}},{title:"\u5907\u6CE8",dataIndex:"reason",hideInSearch:!0},{title:"\u7533\u8BF7\u65F6\u95F4",dataIndex:"createdAt",valueType:"dateTime",hideInSearch:!0},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,renderText:function(d){return(0,b.jsx)(z.Z,{gap:"small",wrap:!0,children:d.status===0&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(L.Z,{title:"\u62D2\u7EDD\u63D0\u73B0\u7533\u8BF7",description:"\u62D2\u7EDD\u540E\uFF0C\u72B6\u6001\u65E0\u6CD5\u4FEE\u6539\u6210\u5BA1\u6279\u901A\u8FC7\uFF0C\u786E\u5B9A\u62D2\u7EDD\u5417?",onConfirm:p()(g()().mark(function e(){var r;return g()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,u({id:d.id,status:-2,reason:""});case 2:(r=s.current)===null||r===void 0||r.reload();case 3:case"end":return n.stop()}},e)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,b.jsx)(Z.ZP,{children:"\u62D2\u7EDD"})}),(0,b.jsx)(L.Z,{title:"\u901A\u8FC7\u63D0\u73B0\u7533\u8BF7",description:"\u901A\u8FC7\u540E\u7CFB\u7EDF\u5C06\u81EA\u52A8\u8F6C\u8D26\uFF0C\u65E0\u6CD5\u64A4\u56DE\uFF0C\u786E\u5B9A\u901A\u8FC7\u5417?",onConfirm:p()(g()().mark(function e(){var r;return g()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,u({id:d.id,status:1,reason:""});case 2:(r=s.current)===null||r===void 0||r.reload();case 3:case"end":return n.stop()}},e)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,b.jsx)(Z.ZP,{type:"primary",children:"\u901A\u8FC7"})})]})})}}];return(0,b.jsx)(R._z,{children:(0,b.jsx)(M.Z,{actionRef:s,request:function(){var l=p()(g()().mark(function d(e){var r,c,n;return g()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,$(S()(S()({},e),{},{appCode:a}));case 2:return n=m.sent,m.abrupt("return",{data:(r=n.data)===null||r===void 0?void 0:r.data,total:(c=n.data)===null||c===void 0?void 0:c.total,success:!0});case 4:case"end":return m.stop()}},d)}));return function(d){return l.apply(this,arguments)}}(),columns:o})})},k=J},38171:function(K,j,t){var f=t(55241),S=t(2487),I=t(71230),g=t(7134),F=t(67294),p=t(52043),C=t(58125),u=t(85893),h=function(v){var O=(0,p.E7)(v.data.env);return(0,u.jsx)(f.Z,{content:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("p",{children:[(0,u.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,C.P)(v.data.income),"\u5143"]}),(0,u.jsxs)("p",{children:[(0,u.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,C.D)(v.data.realMoney),"\u5143"]}),O.length>0&&(0,u.jsx)(S.Z,{size:"small",header:(0,u.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:O,renderItem:function(M){return(0,u.jsx)(S.Z.Item,{children:M})}})]}),children:(0,u.jsxs)(I.Z,{children:[(0,u.jsx)(g.C,{src:v.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,u.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:O.length>0?"red":""},children:["id:",v.data.id,(0,u.jsx)("br",{}),v.data.nickname||v.data.mobile]})]})})};j.Z=h},52043:function(K,j,t){t.d(j,{E7:function(){return S},FG:function(){return f},RQ:function(){return F},XY:function(){return I},m0:function(){return g}});var f=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"}]},S=function(C){var u=[];if(!C)return u;for(var h=C>>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"],v=0,O=$;v>=1}return u},I=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"}]},g=function(C){var u=new Date(C),h=u.getFullYear().toString().padStart(4,"0"),$=(u.getMonth()+1).toString().padStart(2,"0"),v=u.getDate().toString().padStart(2,"0");return h+$+v},F=function(C,u){var h=C.toString();return h.padStart(u,"0")}},58125:function(K,j,t){t.d(j,{D:function(){return S},P:function(){return f}});var f=function(g){return g?parseFloat((g/1e5).toFixed(2)):0},S=function(g){return g?parseFloat((g/100).toFixed(2)):0}},86250:function(K,j,t){t.d(j,{Z:function(){return T}});var f=t(67294),S=t(93967),I=t.n(S),g=t(98423),F=t(98065),p=t(53124),C=t(91945),u=t(45503);const h=["wrap","nowrap","wrap-reverse"],$=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],v=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],O=(a,s)=>{const o=s.wrap===!0?"wrap":s.wrap;return{[`${a}-wrap-${o}`]:o&&h.includes(o)}},R=(a,s)=>{const o={};return v.forEach(l=>{o[`${a}-align-${l}`]=s.align===l}),o[`${a}-align-stretch`]=!s.align&&!!s.vertical,o},M=(a,s)=>{const o={};return $.forEach(l=>{o[`${a}-justify-${l}`]=s.justify===l}),o};function Y(a,s){return I()(Object.assign(Object.assign(Object.assign({},O(a,s)),R(a,s)),M(a,s)))}var z=Y;const L=a=>{const{componentCls:s}=a;return{[s]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},Z=a=>{const{componentCls:s}=a;return{[s]:{"&-gap-small":{gap:a.flexGapSM},"&-gap-middle":{gap:a.flexGap},"&-gap-large":{gap:a.flexGapLG}}}},H=a=>{const{componentCls:s}=a,o={};return h.forEach(l=>{o[`${s}-wrap-${l}`]={flexWrap:l}}),o},W=a=>{const{componentCls:s}=a,o={};return v.forEach(l=>{o[`${s}-align-${l}`]={alignItems:l}}),o},Q=a=>{const{componentCls:s}=a,o={};return $.forEach(l=>{o[`${s}-justify-${l}`]={justifyContent:l}}),o},b=()=>({});var J=(0,C.I$)("Flex",a=>{const{paddingXS:s,padding:o,paddingLG:l}=a,d=(0,u.TS)(a,{flexGapSM:s,flexGap:o,flexGapLG:l});return[L(d),Z(d),H(d),W(d),Q(d)]},b,{resetStyle:!1}),k=function(a,s){var o={};for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&s.indexOf(l)<0&&(o[l]=a[l]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,l=Object.getOwnPropertySymbols(a);d{const{prefixCls:o,rootClassName:l,className:d,style:e,flex:r,gap:c,children:n,vertical:i=!1,component:m="div"}=a,x=k(a,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:y,direction:B,getPrefixCls:U}=f.useContext(p.E_),E=U("flex",o),[G,N,q]=J(E),_=i!=null?i:y==null?void 0:y.vertical,D=I()(d,l,y==null?void 0:y.className,E,N,q,z(E,a),{[`${E}-rtl`]:B==="rtl",[`${E}-gap-${c}`]:(0,F.n)(c),[`${E}-vertical`]:_}),V=Object.assign(Object.assign({},y==null?void 0:y.style),e);return r&&(V.flex=r),c&&!(0,F.n)(c)&&(V.gap=c),G(f.createElement(m,Object.assign({ref:s,className:D,style:V},(0,g.Z)(x,["justify","wrap","align"])),n))})},66309:function(K,j,t){t.d(j,{Z:function(){return d}});var f=t(67294),S=t(93967),I=t.n(S),g=t(98423),F=t(98787),p=t(69760),C=t(96159),u=t(45353),h=t(53124),$=t(54548),v=t(10274),O=t(14747),R=t(45503),M=t(91945);const Y=e=>{const{paddingXXS:r,lineWidth:c,tagPaddingHorizontal:n,componentCls:i,calc:m}=e,x=m(n).sub(c).equal(),y=m(r).sub(c).equal();return{[i]:Object.assign(Object.assign({},(0,O.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:x,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,$.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${i}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${i}-close-icon`]:{marginInlineStart:y,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${i}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:x}}),[`${i}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},z=e=>{const{lineWidth:r,fontSizeIcon:c,calc:n}=e,i=e.fontSizeSM;return(0,R.TS)(e,{tagFontSize:i,tagLineHeight:(0,$.bf)(n(e.lineHeightSM).mul(i).equal()),tagIconSize:n(c).sub(n(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},L=e=>({defaultBg:new v.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var Z=(0,M.I$)("Tag",e=>{const r=z(e);return Y(r)},L),H=function(e,r){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(c[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i{const{prefixCls:c,style:n,className:i,checked:m,onChange:x,onClick:y}=e,B=H(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:U,tag:E}=f.useContext(h.E_),G=ee=>{x==null||x(!m),y==null||y(ee)},N=U("tag",c),[q,_,D]=Z(N),V=I()(N,`${N}-checkable`,{[`${N}-checkable-checked`]:m},E==null?void 0:E.className,i,_,D);return q(f.createElement("span",Object.assign({},B,{ref:r,style:Object.assign(Object.assign({},n),E==null?void 0:E.style),className:V,onClick:G})))}),b=t(98719);const J=e=>(0,b.Z)(e,(r,c)=>{let{textColor:n,lightBorderColor:i,lightColor:m,darkColor:x}=c;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:n,background:m,borderColor:i,"&-inverse":{color:e.colorTextLightSolid,background:x,borderColor:x},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var k=(0,M.bk)(["Tag","preset"],e=>{const r=z(e);return J(r)},L);function A(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const T=(e,r,c)=>{const n=A(c);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${c}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var a=(0,M.bk)(["Tag","status"],e=>{const r=z(e);return[T(r,"success","Success"),T(r,"processing","Info"),T(r,"error","Error"),T(r,"warning","Warning")]},L),s=function(e,r){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(c[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i{const{prefixCls:c,className:n,rootClassName:i,style:m,children:x,icon:y,color:B,onClose:U,bordered:E=!0,visible:G}=e,N=s(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:q,direction:_,tag:D}=f.useContext(h.E_),[V,ee]=f.useState(!0),ie=(0,g.Z)(N,["closeIcon","closable"]);f.useEffect(()=>{G!==void 0&&ee(G)},[G]);const re=(0,F.o2)(B),ae=(0,F.yT)(B),te=re||ae,ue=Object.assign(Object.assign({backgroundColor:B&&!te?B:void 0},D==null?void 0:D.style),m),P=q("tag",c),[de,fe,ge]=Z(P),ve=I()(P,D==null?void 0:D.className,{[`${P}-${B}`]:te,[`${P}-has-color`]:B&&!te,[`${P}-hidden`]:!V,[`${P}-rtl`]:_==="rtl",[`${P}-borderless`]:!E},n,i,fe,ge),le=X=>{X.stopPropagation(),U==null||U(X),!X.defaultPrevented&&ee(!1)},[,me]=(0,p.Z)((0,p.w)(e),(0,p.w)(D),{closable:!1,closeIconRender:X=>{const Ce=f.createElement("span",{className:`${P}-close-icon`,onClick:le},X);return(0,C.wm)(X,Ce,w=>({onClick:ce=>{var ne;(ne=w==null?void 0:w.onClick)===null||ne===void 0||ne.call(w,ce),le(ce)},className:I()(w==null?void 0:w.className,`${P}-close-icon`)}))}}),pe=typeof N.onClick=="function"||x&&x.type==="a",oe=y||null,he=oe?f.createElement(f.Fragment,null,oe,x&&f.createElement("span",null,x)):x,se=f.createElement("span",Object.assign({},ie,{ref:r,className:ve,style:ue}),he,me,re&&f.createElement(k,{key:"preset",prefixCls:P}),ae&&f.createElement(a,{key:"status",prefixCls:P}));return de(pe?f.createElement(u.Z,{component:"Tag"},se):se)});l.CheckableTag=Q;var d=l}}]); diff --git a/dist/p__MoneyManagement.e9c37179.async.js b/dist/p__MoneyManagement.e9c37179.async.js deleted file mode 100644 index b919b4a..0000000 --- a/dist/p__MoneyManagement.e9c37179.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[190],{39829:function(K,j,t){t.r(j),t.d(j,{default:function(){return k}});var f=t(97857),S=t.n(f),I=t(15009),g=t.n(I),F=t(99289),h=t.n(F),C=t(35312);function u(A,T){return m.apply(this,arguments)}function m(){return m=h()(g()().mark(function A(T,a){return g()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,C.request)("/api/admin/money/audit",S()({method:"POST",headers:{"Content-Type":"application/json"},data:T},a||{})));case 1:case"end":return o.stop()}},A)})),m.apply(this,arguments)}function $(A,T){return v.apply(this,arguments)}function v(){return v=h()(g()().mark(function A(T,a){return g()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,C.request)("/api/admin/money/list",S()({method:"POST",headers:{"Content-Type":"application/json"},data:T},a||{})));case 1:case"end":return o.stop()}},A)})),v.apply(this,arguments)}var O=t(58125),R=t(90930),M=t(67539),Y=t(66309),z=t(86250),L=t(86738),Z=t(14726),H=t(67294),W=t(52043),Q=t(38171),b=t(85893),J=function(){var T=(0,C.useParams)(),a=T.code,s=(0,H.useRef)();(0,H.useEffect)(function(){var l;(l=s.current)===null||l===void 0||l.reload()},[a]);var o=[{title:"id",dataIndex:"id",valueType:"textarea",copyable:!0,hideInSearch:!0,renderText:function(d,e){return(0,W.m0)(e.createdAt||0)+(0,W.RQ)(e.id||0,6)}},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"user",valueType:"textarea",width:150,renderText:function(d,e){if(e.user)return(0,b.jsx)(Q.Z,{data:e.user})}},{title:"\u91D1\u989D\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"cent",valueType:"textarea",renderText:function(d){return(0,O.D)(d)}},{title:"\u652F\u4ED8\u5B9D\u540D\u79F0",dataIndex:"name",hideInSearch:!0},{title:"\u652F\u4ED8\u5B9D\u8D26\u53F7",dataIndex:"aliPayAccount",hideInSearch:!0},{title:"\u8BA2\u5355\u53F7",dataIndex:"orderId",hideInSearch:!0,ellipsis:!0},{title:"\u8F6C\u8D26\u65F6\u95F4",dataIndex:"transDate",hideInSearch:!0},{title:"\u72B6\u6001",dataIndex:"status",hideInSearch:!0,renderText:function(d){var e=(0,W.XY)(),r=e.find(function(n){return n.value===d+""}),c=r?r.label:"\u672A\u77E5";return(0,b.jsx)(Y.Z,{color:r==null?void 0:r.color,children:c})}},{title:"\u72B6\u6001",dataIndex:"status",hideInTable:!0,valueType:"select",fieldProps:{options:(0,W.XY)()}},{title:"\u5907\u6CE8",dataIndex:"reason",hideInSearch:!0},{title:"\u7533\u8BF7\u65F6\u95F4",dataIndex:"createdAt",valueType:"dateTime",hideInSearch:!0},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,renderText:function(d){return(0,b.jsx)(z.Z,{gap:"small",wrap:!0,children:d.status===0&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(L.Z,{title:"\u62D2\u7EDD\u63D0\u73B0\u7533\u8BF7",description:"\u62D2\u7EDD\u540E\uFF0C\u72B6\u6001\u65E0\u6CD5\u4FEE\u6539\u6210\u5BA1\u6279\u901A\u8FC7\uFF0C\u786E\u5B9A\u62D2\u7EDD\u5417?",onConfirm:h()(g()().mark(function e(){var r;return g()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,u({id:d.id,status:-2,reason:""});case 2:(r=s.current)===null||r===void 0||r.reload();case 3:case"end":return n.stop()}},e)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,b.jsx)(Z.ZP,{children:"\u62D2\u7EDD"})}),(0,b.jsx)(L.Z,{title:"\u901A\u8FC7\u63D0\u73B0\u7533\u8BF7",description:"\u901A\u8FC7\u540E\u7CFB\u7EDF\u5C06\u81EA\u52A8\u8F6C\u8D26\uFF0C\u65E0\u6CD5\u64A4\u56DE\uFF0C\u786E\u5B9A\u901A\u8FC7\u5417?",onConfirm:h()(g()().mark(function e(){var r;return g()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,u({id:d.id,status:1,reason:""});case 2:(r=s.current)===null||r===void 0||r.reload();case 3:case"end":return n.stop()}},e)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,b.jsx)(Z.ZP,{type:"primary",children:"\u901A\u8FC7"})})]})})}}];return(0,b.jsx)(R._z,{children:(0,b.jsx)(M.Z,{actionRef:s,request:function(){var l=h()(g()().mark(function d(e){var r,c,n;return g()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,$(S()(S()({},e),{},{appCode:a}));case 2:return n=p.sent,p.abrupt("return",{data:(r=n.data)===null||r===void 0?void 0:r.data,total:(c=n.data)===null||c===void 0?void 0:c.total,success:!0});case 4:case"end":return p.stop()}},d)}));return function(d){return l.apply(this,arguments)}}(),columns:o})})},k=J},38171:function(K,j,t){var f=t(55241),S=t(2487),I=t(71230),g=t(7134),F=t(67294),h=t(52043),C=t(58125),u=t(85893),m=function(v){var O=(0,h.E7)(v.data.env);return(0,u.jsx)(f.Z,{content:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("p",{children:[(0,u.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,C.P)(v.data.income),"\u5143"]}),(0,u.jsxs)("p",{children:[(0,u.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,C.D)(v.data.realMoney),"\u5143"]}),O.length>0&&(0,u.jsx)(S.Z,{size:"small",header:(0,u.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:O,renderItem:function(M){return(0,u.jsx)(S.Z.Item,{children:M})}})]}),children:(0,u.jsxs)(I.Z,{children:[(0,u.jsx)(g.C,{src:v.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,u.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:O.length>0?"red":""},children:["id:",v.data.id,(0,u.jsx)("br",{}),v.data.nickname||v.data.mobile]})]})})};j.Z=m},52043:function(K,j,t){t.d(j,{E7:function(){return S},FG:function(){return f},RQ:function(){return F},XY:function(){return I},m0:function(){return g}});var f=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"}]},S=function(C){var u=[];if(!C)return u;for(var m=C,$=["\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"],v=0,O=$;v{const o=s.wrap===!0?"wrap":s.wrap;return{[`${a}-wrap-${o}`]:o&&m.includes(o)}},R=(a,s)=>{const o={};return v.forEach(l=>{o[`${a}-align-${l}`]=s.align===l}),o[`${a}-align-stretch`]=!s.align&&!!s.vertical,o},M=(a,s)=>{const o={};return $.forEach(l=>{o[`${a}-justify-${l}`]=s.justify===l}),o};function Y(a,s){return I()(Object.assign(Object.assign(Object.assign({},O(a,s)),R(a,s)),M(a,s)))}var z=Y;const L=a=>{const{componentCls:s}=a;return{[s]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},Z=a=>{const{componentCls:s}=a;return{[s]:{"&-gap-small":{gap:a.flexGapSM},"&-gap-middle":{gap:a.flexGap},"&-gap-large":{gap:a.flexGapLG}}}},H=a=>{const{componentCls:s}=a,o={};return m.forEach(l=>{o[`${s}-wrap-${l}`]={flexWrap:l}}),o},W=a=>{const{componentCls:s}=a,o={};return v.forEach(l=>{o[`${s}-align-${l}`]={alignItems:l}}),o},Q=a=>{const{componentCls:s}=a,o={};return $.forEach(l=>{o[`${s}-justify-${l}`]={justifyContent:l}}),o},b=()=>({});var J=(0,C.I$)("Flex",a=>{const{paddingXS:s,padding:o,paddingLG:l}=a,d=(0,u.TS)(a,{flexGapSM:s,flexGap:o,flexGapLG:l});return[L(d),Z(d),H(d),W(d),Q(d)]},b,{resetStyle:!1}),k=function(a,s){var o={};for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&s.indexOf(l)<0&&(o[l]=a[l]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,l=Object.getOwnPropertySymbols(a);d{const{prefixCls:o,rootClassName:l,className:d,style:e,flex:r,gap:c,children:n,vertical:i=!1,component:p="div"}=a,x=k(a,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:y,direction:B,getPrefixCls:U}=f.useContext(h.E_),E=U("flex",o),[G,N,q]=J(E),_=i!=null?i:y==null?void 0:y.vertical,D=I()(d,l,y==null?void 0:y.className,E,N,q,z(E,a),{[`${E}-rtl`]:B==="rtl",[`${E}-gap-${c}`]:(0,F.n)(c),[`${E}-vertical`]:_}),V=Object.assign(Object.assign({},y==null?void 0:y.style),e);return r&&(V.flex=r),c&&!(0,F.n)(c)&&(V.gap=c),G(f.createElement(p,Object.assign({ref:s,className:D,style:V},(0,g.Z)(x,["justify","wrap","align"])),n))})},66309:function(K,j,t){t.d(j,{Z:function(){return d}});var f=t(67294),S=t(93967),I=t.n(S),g=t(98423),F=t(98787),h=t(69760),C=t(96159),u=t(45353),m=t(53124),$=t(54548),v=t(10274),O=t(14747),R=t(45503),M=t(91945);const Y=e=>{const{paddingXXS:r,lineWidth:c,tagPaddingHorizontal:n,componentCls:i,calc:p}=e,x=p(n).sub(c).equal(),y=p(r).sub(c).equal();return{[i]:Object.assign(Object.assign({},(0,O.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:x,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,$.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${i}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${i}-close-icon`]:{marginInlineStart:y,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${i}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:x}}),[`${i}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},z=e=>{const{lineWidth:r,fontSizeIcon:c,calc:n}=e,i=e.fontSizeSM;return(0,R.TS)(e,{tagFontSize:i,tagLineHeight:(0,$.bf)(n(e.lineHeightSM).mul(i).equal()),tagIconSize:n(c).sub(n(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},L=e=>({defaultBg:new v.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var Z=(0,M.I$)("Tag",e=>{const r=z(e);return Y(r)},L),H=function(e,r){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(c[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i{const{prefixCls:c,style:n,className:i,checked:p,onChange:x,onClick:y}=e,B=H(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:U,tag:E}=f.useContext(m.E_),G=ee=>{x==null||x(!p),y==null||y(ee)},N=U("tag",c),[q,_,D]=Z(N),V=I()(N,`${N}-checkable`,{[`${N}-checkable-checked`]:p},E==null?void 0:E.className,i,_,D);return q(f.createElement("span",Object.assign({},B,{ref:r,style:Object.assign(Object.assign({},n),E==null?void 0:E.style),className:V,onClick:G})))}),b=t(98719);const J=e=>(0,b.Z)(e,(r,c)=>{let{textColor:n,lightBorderColor:i,lightColor:p,darkColor:x}=c;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:n,background:p,borderColor:i,"&-inverse":{color:e.colorTextLightSolid,background:x,borderColor:x},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var k=(0,M.bk)(["Tag","preset"],e=>{const r=z(e);return J(r)},L);function A(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const T=(e,r,c)=>{const n=A(c);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${c}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var a=(0,M.bk)(["Tag","status"],e=>{const r=z(e);return[T(r,"success","Success"),T(r,"processing","Info"),T(r,"error","Error"),T(r,"warning","Warning")]},L),s=function(e,r){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(c[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i{const{prefixCls:c,className:n,rootClassName:i,style:p,children:x,icon:y,color:B,onClose:U,bordered:E=!0,visible:G}=e,N=s(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:q,direction:_,tag:D}=f.useContext(m.E_),[V,ee]=f.useState(!0),ie=(0,g.Z)(N,["closeIcon","closable"]);f.useEffect(()=>{G!==void 0&&ee(G)},[G]);const re=(0,F.o2)(B),ae=(0,F.yT)(B),te=re||ae,ue=Object.assign(Object.assign({backgroundColor:B&&!te?B:void 0},D==null?void 0:D.style),p),P=q("tag",c),[de,fe,ge]=Z(P),ve=I()(P,D==null?void 0:D.className,{[`${P}-${B}`]:te,[`${P}-has-color`]:B&&!te,[`${P}-hidden`]:!V,[`${P}-rtl`]:_==="rtl",[`${P}-borderless`]:!E},n,i,fe,ge),le=X=>{X.stopPropagation(),U==null||U(X),!X.defaultPrevented&&ee(!1)},[,me]=(0,h.Z)((0,h.w)(e),(0,h.w)(D),{closable:!1,closeIconRender:X=>{const Ce=f.createElement("span",{className:`${P}-close-icon`,onClick:le},X);return(0,C.wm)(X,Ce,w=>({onClick:ce=>{var ne;(ne=w==null?void 0:w.onClick)===null||ne===void 0||ne.call(w,ce),le(ce)},className:I()(w==null?void 0:w.className,`${P}-close-icon`)}))}}),pe=typeof N.onClick=="function"||x&&x.type==="a",oe=y||null,he=oe?f.createElement(f.Fragment,null,oe,x&&f.createElement("span",null,x)):x,se=f.createElement("span",Object.assign({},ie,{ref:r,className:ve,style:ue}),he,me,re&&f.createElement(k,{key:"preset",prefixCls:P}),ae&&f.createElement(a,{key:"status",prefixCls:P}));return de(pe?f.createElement(u.Z,{component:"Tag"},se):se)});l.CheckableTag=Q;var d=l}}]); diff --git a/dist/p__SuperAdmin.7ef997d3.async.js b/dist/p__SuperAdmin.fe3e1735.async.js similarity index 71% rename from dist/p__SuperAdmin.7ef997d3.async.js rename to dist/p__SuperAdmin.fe3e1735.async.js index a79c909..726bbdf 100644 --- a/dist/p__SuperAdmin.7ef997d3.async.js +++ b/dist/p__SuperAdmin.fe3e1735.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[455],{52128:function(le,x,e){e.r(x),e.d(x,{default:function(){return be}});var P=e(97857),Z=e.n(P),M=e(13769),O=e.n(M),T=e(15009),s=e.n(T),D=e(99289),i=e.n(D),S=e(5574),f=e.n(S),v=e(48357),j=e(52043),U=e(3089),q=e(90930),h=e(8232),L=e(55241),Y=e(66309),y=e(2453),pe=e(13169),_=e(14726),ie=e(72051),de=e(17788),ce=e(55102),oe=e(34041),ge=e(71230),fe=e(15746),Se=e(47676),ee=e(16250),je=e(27484),N=e.n(je),E=e(67294),Fe=e(19632),me=e.n(Fe),De=e(32400),ye=e(56448),Ee=e.n(ye),Ce=e(66476),r=e(85893),Ae=function(V){var R=V.onUploadSuccess,C=V.onUploadError,re=(0,E.useState)(!1),G=f()(re,2),w=G[0],W=G[1],ne=(0,E.useState)([]),z=f()(ne,2),$=z[0],k=z[1],ae=(0,E.useState)(null),X=f()(ae,2),I=X[0],te=X[1],K=Ce.Z.Dragger;(0,E.useEffect)(function(){function A(){return m.apply(this,arguments)}function m(){return m=i()(s()().mark(function F(){var l,p;return s()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,c.next=3,(0,v.po)();case 3:if(l=c.sent,!(!l.data||!l.data.accessKeySecret||!l.data.accessKeyId)){c.next=7;break}return y.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),c.abrupt("return");case 7:p=new(Ee())({region:"oss-cn-beijing",accessKeyId:l.data.accessKeyId,accessKeySecret:l.data.accessKeySecret,stsToken:l.data.securityToken,bucket:l.data.bucket}),te(p),c.next=15;break;case 11:c.prev=11,c.t0=c.catch(0),y.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),C&&C(c.t0);case 15:case"end":return c.stop()}},F,null,[[0,11]])})),m.apply(this,arguments)}A()},[C]);var ue=function(m){var F=($||[]).filter(function(l){return l.url!==m.url});k(F)},Q=function(){var A=i()(s()().mark(function m(F){var l,p,b,c;return s()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(l=F.file,!(l instanceof File)){d.next=26;break}return W(!0),d.prev=3,d.next=6,(0,De.p)(l);case 6:return p=d.sent,b="matrix/".concat(p,".").concat(l.name.split(".").pop()),d.next=10,I==null?void 0:I.put(b,l,{headers:{"Content-Type":l.type}});case 10:c="https://apks.bzgames.cn/".concat(b),R&&R(c),W(!1),k(function(H){return[].concat(me()(H),[{uid:l.uid,name:l.name+"\uFF1A"+c,status:"done",url:c}])}),d.next=21;break;case 16:d.prev=16,d.t0=d.catch(3),y.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),C&&C(d.t0),k(function(H){return[].concat(me()(H),[{uid:l.uid,name:l.name,status:"error"}])});case 21:return d.prev=21,W(!1),d.finish(21);case 24:d.next=27;break;case 26:y.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 27:case"end":return d.stop()}},m,null,[[3,16,21,24]])}));return function(F){return A.apply(this,arguments)}}();return(0,r.jsxs)(K,{fileList:$,multiple:!0,customRequest:Q,onRemove:ue,disabled:w||!I,onPreview:function(){var A=i()(s()().mark(function m(F){return s()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,navigator.clipboard.writeText(F.url||"");case 2:y.ZP.success("\u94FE\u63A5\u590D\u5236\u6210\u529F "+F.url);case 3:case"end":return p.stop()}},m)}));return function(m){return A.apply(this,arguments)}}(),capture:void 0,children:[(0,r.jsx)("p",{className:"ant-upload-drag-icon",children:(0,r.jsx)("i",{className:"anticon anticon-inbox"})}),(0,r.jsx)("p",{className:"ant-upload-text",children:"\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20"}),(0,r.jsx)("p",{className:"ant-upload-hint",children:"\u652F\u6301\u5355\u4E2A\u6216\u6279\u91CF\u4E0A\u4F20\u3002\u6587\u4EF6\u540D\u5C06\u4F7F\u7528\u6587\u4EF6\u7684 MD5 \u503C\u547D\u540D\u3002"})]})},Ie=Ae,xe=["scheduleTime"],Ze=function(){var V=(0,E.useState)([]),R=f()(V,2),C=R[0],re=R[1],G=(0,E.useState)([]),w=f()(G,2),W=w[0],ne=w[1],z=(0,E.useState)([]),$=f()(z,2),k=$[0],ae=$[1],X=(0,E.useState)(!1),I=f()(X,2),te=I[0],K=I[1],ue=(0,E.useState)(!1),Q=f()(ue,2),A=Q[0],m=Q[1],F=h.Z.useForm(),l=f()(F,1),p=l[0],b=h.Z.useForm(),c=f()(b,1),J=c[0],d=function(){var u=i()(s()().mark(function n(){var t;return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,v.hy)();case 2:t=a.sent,t.data&&ne(t.data);case 4:case"end":return a.stop()}},n)}));return function(){return u.apply(this,arguments)}}(),H=function(){var u=i()(s()().mark(function n(t){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(t){a.next=2;break}return a.abrupt("return");case 2:return a.next=4,(0,v.o9)({deviceId:t});case 4:d();case 5:case"end":return a.stop()}},n)}));return function(t){return u.apply(this,arguments)}}(),Pe=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",ellipsis:!0},{title:"\u6E20\u9053",dataIndex:"channel",render:function(n){var t=(0,j.FG)(),o=t.find(function(a){return a.value===n});return o?o.label:n}},{title:"\u64CD\u4F5C",dataIndex:"operate",render:function(n,t){return(0,r.jsx)(L.Z,{title:"\u786E\u8BA4\u5220\u9664\u5417",content:(0,r.jsxs)("div",{style:{textAlign:"center"},children:[(0,r.jsxs)("p",{children:["\u5220\u9664\u4E4B\u540Eecpm\u4F1A\u964D\u4F4E",(0,r.jsx)("br",{}),"\u4E5F\u4F1A\u5F71\u54CD\u5237\u6570\u636E\u53EF\u4F7F\u7528\u7684\u8BBE\u5907"]}),(0,r.jsx)("a",{onClick:function(){return H(t.deviceId)},children:"\u786E\u5B9A"})]}),children:(0,r.jsx)("a",{children:"\u5220\u9664"})})}}],Me=function(n){var t=C.find(function(o){return o.id===n});return t?t.name:""},Oe=function(n){return n?parseFloat((n/1e5).toFixed(2)):0},Te=[{title:"\u5E94\u7528",dataIndex:"appId",render:function(n){return(0,r.jsx)(Y.Z,{color:"blue",children:Me(n)},n)}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(n){var t=(0,j.FG)(),o=t.find(function(a){return a.value===n});return o?o.label:n}},{title:"\u76EE\u6807\u91D1\u989D",dataIndex:"incomeYuan"},{title:"\u5DF2\u5237\u91D1\u989D",dataIndex:"mockIncome",render:function(n){return Oe(n)}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"scheduleTime",render:function(n){return N()(n).format("YYYY-MM-DD HH:mm")}},{title:"\u72B6\u6001",dataIndex:"status",render:function(n){switch(n){case 0:return"\u672A\u5F00\u59CB";case 1:return"\u8FDB\u884C\u4E2D";case 2:return"\u5DF2\u5B8C\u6210"}return n}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createdAt",render:function(n){return N()(n).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",render:function(n){return N()(n).format("YYYY-MM-DD HH:mm")}}],se=function(){var u=i()(s()().mark(function n(){var t;return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,v.mW)();case 2:t=a.sent,t.data&&ae(t.data);case 4:case"end":return a.stop()}},n)}));return function(){return u.apply(this,arguments)}}(),Ue=function(){var u=i()(s()().mark(function n(){var t;return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,v.ln)();case 2:t=a.sent,t.data&&re(t.data);case 4:case"end":return a.stop()}},n)}));return function(){return u.apply(this,arguments)}}();(0,E.useEffect)(function(){Ue(),d(),se()},[]);var Le=function(){var u=i()(s()().mark(function n(t){var o,a,B;return s()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return o=t.scheduleTime,a=O()(t,xe),B=o.map(function(he){return N()(he.time).valueOf()}),g.prev=2,g.next=5,(0,v.tI)(Z()({scheduleTime:B},a));case 5:g.next=10;break;case 7:return g.prev=7,g.t0=g.catch(2),g.abrupt("return");case 10:y.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),se(),m(!1);case 13:case"end":return g.stop()}},n,null,[[2,7]])}));return function(t){return u.apply(this,arguments)}}(),Ye=function(){p.resetFields(),K(!0)},Re=function(){J.resetFields(),m(!0)},We=function(){p.submit()},$e=function(){K(!1)},ke=function(){J.submit()},Ke=function(){m(!1)},He=function(){var u=i()(s()().mark(function n(t){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,(0,v.gz)({deviceId:t.deviceId||"",channel:t.channel||""});case 3:a.next=8;break;case 5:return a.prev=5,a.t0=a.catch(0),a.abrupt("return");case 8:K(!1),d();case 10:case"end":return a.stop()}},n,null,[[0,5]])}));return function(t){return u.apply(this,arguments)}}();return(0,r.jsx)(q._z,{children:(0,r.jsxs)(pe.Z,{defaultActiveKey:"1",onChange:function(n){n==="1"?d():n==="2"&&se()},centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,r.jsx)(ee.Z,{tab:"\u8BBE\u5907\u767D\u540D\u5355",children:(0,r.jsxs)("div",{children:[(0,r.jsx)(_.ZP,{onClick:Ye,children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,r.jsx)(ie.Z,{columns:Pe,dataSource:W}),(0,r.jsx)(de.Z,{title:"\u6DFB\u52A0\u767D\u540D\u5355",visible:te,onOk:We,onCancel:$e,children:(0,r.jsxs)(h.Z,{form:p,onFinish:He,children:[(0,r.jsx)(h.Z.Item,{name:"deviceId",label:"\u8BBE\u5907id",children:(0,r.jsx)(ce.Z,{})}),(0,r.jsx)(h.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,r.jsx)(oe.Z,{options:(0,j.FG)()})})]})})]})},"1"),(0,r.jsx)(ee.Z,{tab:"\u5237\u6570\u636E",children:(0,r.jsxs)("div",{children:[(0,r.jsx)(_.ZP,{onClick:Re,children:"\u6DFB\u52A0\u4EFB\u52A1"}),(0,r.jsx)(ie.Z,{columns:Te,dataSource:k}),(0,r.jsx)(de.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:A,onOk:ke,onCancel:Ke,children:(0,r.jsxs)(h.Z,{labelCol:{span:6},wrapperCol:{span:18},form:J,onFinish:Le,children:[(0,r.jsx)(h.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,r.jsx)(oe.Z,{mode:"multiple",options:C.map(function(u){return{label:u.name,value:u.id}})})}),(0,r.jsx)(h.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,r.jsx)(ce.Z,{})}),(0,r.jsx)(h.Z.List,{name:"scheduleTime",children:function(n,t){var o=t.add,a=t.remove;return(0,r.jsxs)(r.Fragment,{children:[n.map(function(B){var ve=B.key,g=B.name;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(ge.Z,{align:"stretch",gutter:16,children:[(0,r.jsx)(fe.Z,{span:18,children:(0,r.jsx)(h.Z.Item,{labelCol:{xs:{span:24},sm:{span:8}},name:[g,"time"],label:"\u5F00\u59CB\u65F6\u95F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}],children:(0,r.jsx)(Se.default,{format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})}),(0,r.jsx)(fe.Z,{children:(0,r.jsx)(U.Z,{onClick:function(){return a(g)}})})]},ve)})}),(0,r.jsx)(h.Z.Item,{children:(0,r.jsx)(_.ZP,{type:"dashed",onClick:function(){return o()},block:!0,children:"\u6DFB\u52A0\u5F00\u59CB\u65F6\u95F4"})})]})}})]})})]})},"2"),(0,r.jsx)(ee.Z,{tab:"\u4E0A\u4F20\u8D44\u6E90",children:(0,r.jsx)(Ie,{})},"3")]})})},be=Ze},52043:function(le,x,e){e.d(x,{E7:function(){return Z},FG:function(){return P},RQ:function(){return T},XY:function(){return M},m0:function(){return O}});var P=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"}]},Z=function(D){var i=[];if(!D)return i;for(var S=D,f=["\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"],v=0,j=f;v>1,m=["\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"],v=0,j=m;v>=1}return i},M=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"}]},O=function(D){var i=new Date(D),S=i.getFullYear().toString().padStart(4,"0"),m=(i.getMonth()+1).toString().padStart(2,"0"),v=i.getDate().toString().padStart(2,"0");return S+m+v},T=function(D,i){var S=D.toString();return S.padStart(i,"0")}},32400:function(le,x,e){e.d(x,{p:function(){return D}});var P=e(15009),Z=e.n(P),M=e(99289),O=e.n(M),T=e(8322),s=e.n(T);function D(S){return i.apply(this,arguments)}function i(){return i=O()(Z()().mark(function S(m){return Z()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.abrupt("return",new Promise(function(U,q){var h=new(s()).ArrayBuffer,L=new FileReader;L.onload=function(Y){var y;h.append((y=Y.target)===null||y===void 0?void 0:y.result),U(h.end())},L.onerror=function(Y){q(Y)},L.readAsArrayBuffer(m)}));case 1:case"end":return j.stop()}},S)})),i.apply(this,arguments)}}}]); diff --git a/dist/umi.4812e5a0.js b/dist/umi.716686c0.js similarity index 99% rename from dist/umi.4812e5a0.js rename to dist/umi.716686c0.js index 1a47781..5254c36 100644 --- a/dist/umi.4812e5a0.js +++ b/dist/umi.716686c0.js @@ -419,7 +419,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},51064:function(v,g,e){"use strict";var t=e(76058),r=e(36812),o=e(75773),a=e(23622),s=e(49385),c=e(8758),u=e(38055),l=e(33457),f=e(13841),p=e(62570),y=e(65411),m=e(67697),d=e(53931);v.exports=function(b,C,x,S){var w="stackTraceLimit",O=S?2:1,j=b.split("."),E=j[j.length-1],$=t.apply(null,j);if($){var N=$.prototype;if(!d&&r(N,"cause")&&delete N.cause,!x)return $;var oe=t("Error"),Z=C(function(Y,ee){var te=f(S?ee:Y,void 0),B=S?new $(Y):new $;return te!==void 0&&o(B,"message",te),y(B,Z,B.stack,2),this&&a(N,this)&&l(B,this,Z),arguments.length>O&&p(B,arguments[O]),B});if(Z.prototype=N,E!=="Error"?s?s(Z,oe):c(Z,oe,{name:!0}):m&&w in $&&(u(Z,$,w),u(Z,$,"prepareStackTrace")),c(Z,$),!d)try{N.name!==E&&o(N,"name",E),N.constructor=Z}catch(Y){}return Z}}},54927:function(v,g,e){"use strict";var t=e(79989),r=e(76058),o=e(61735),a=e(3689),s=e(51064),c="AggregateError",u=r(c),l=!a(function(){return u([1]).errors[0]!==1})&&a(function(){return u([1],c,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:s(c,function(f){return function(y,m){return o(f,this,arguments)}},l,!0)})},39382:function(v,g,e){"use strict";var t=e(79989),r=e(23622),o=e(61868),a=e(49385),s=e(8758),c=e(25391),u=e(75773),l=e(75684),f=e(62570),p=e(65411),y=e(18734),m=e(13841),d=e(44201),b=d("toStringTag"),C=Error,x=[].push,S=function(j,E){var $=r(w,this),N;a?N=a(new C,$?o(this):w):(N=$?this:c(w),u(N,b,"Error")),E!==void 0&&u(N,"message",m(E)),p(N,S,N.stack,1),arguments.length>2&&f(N,arguments[2]);var oe=[];return y(j,x,{that:oe}),u(N,"errors",oe),N};a?a(S,C):s(S,C,{name:!0});var w=S.prototype=c(C.prototype,{constructor:l(1,S),message:l(1,""),name:l(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:S})},95879:function(v,g,e){"use strict";e(39382)},92176:function(v,g,e){"use strict";var t=e(79989),r=e(90690),o=e(6310),a=e(68700),s=e(87370);t({target:"Array",proto:!0},{at:function(u){var l=r(this),f=o(l),p=a(u),y=p>=0?p:f+p;return y<0||y>=f?void 0:l[y]}}),s("at")},93383:function(v,g,e){"use strict";var t=e(79989),r=e(61969).findLastIndex,o=e(87370);t({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},59867:function(v,g,e){"use strict";var t=e(79989),r=e(61969).findLast,o=e(87370);t({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},70560:function(v,g,e){"use strict";var t=e(79989),r=e(90690),o=e(6310),a=e(5649),s=e(55565),c=e(3689),u=c(function(){return[].push.call({length:4294967296},1)!==4294967297}),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(p){return p instanceof TypeError}},f=u||!l();t({target:"Array",proto:!0,arity:1,forced:f},{push:function(y){var m=r(this),d=o(m),b=arguments.length;s(d+b);for(var C=0;C79&&a<83,u=c||!o("reduceRight");t({target:"Array",proto:!0,forced:u},{reduceRight:function(f){return r(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},278:function(v,g,e){"use strict";var t=e(79989),r=e(88820).left,o=e(16834),a=e(3615),s=e(50806),c=!s&&a>79&&a<83,u=c||!o("reduce");t({target:"Array",proto:!0,forced:u},{reduce:function(f){var p=arguments.length;return r(this,f,p,p>1?arguments[1]:void 0)}})},29830:function(v,g,e){"use strict";var t=e(79989),r=e(26166),o=e(65290),a=e(87370),s=Array;t({target:"Array",proto:!0},{toReversed:function(){return r(o(this),s)}}),a("toReversed")},12894:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(10509),a=e(65290),s=e(59976),c=e(88277),u=e(87370),l=Array,f=r(c("Array","sort"));t({target:"Array",proto:!0},{toSorted:function(y){y!==void 0&&o(y);var m=a(this),d=s(l,m);return f(d,y)}}),u("toSorted")},93530:function(v,g,e){"use strict";var t=e(79989),r=e(87370),o=e(55565),a=e(6310),s=e(27578),c=e(65290),u=e(68700),l=Array,f=Math.max,p=Math.min;t({target:"Array",proto:!0},{toSpliced:function(m,d){var b=c(this),C=a(b),x=s(m,C),S=arguments.length,w=0,O,j,E,$;for(S===0?O=j=0:S===1?(O=0,j=C-x):(O=S-2,j=p(f(u(d),0),C-x)),E=o(C+O-j),$=l(E);w=0?d:m+d;return b<0||b>=m?void 0:u(y,b)}})},12281:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(74684),a=e(34327),s=r("".charCodeAt);t({target:"String",proto:!0},{isWellFormed:function(){for(var u=a(o(this)),l=u.length,f=0;f=56320||++f>=l||(s(u,f)&64512)!==56320))return!1}return!0}})},56532:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(68844),a=e(74684),s=e(69985),c=e(981),u=e(91245),l=e(34327),f=e(54849),p=e(63477),y=e(27017),m=e(44201),d=e(53931),b=m("replace"),C=TypeError,x=o("".indexOf),S=o("".replace),w=o("".slice),O=Math.max,j=function(E,$,N){return N>E.length?-1:$===""?N:x(E,$,N)};t({target:"String",proto:!0},{replaceAll:function($,N){var oe=a(this),Z,Y,ee,te,B,ne,Q,q,L,F=0,T=0,I="";if(!c($)){if(Z=u($),Z&&(Y=l(a(p($))),!~x(Y,"g")))throw new C("`.replaceAll` does not allow non-global regexes");if(ee=f($,b),ee)return r(ee,$,oe,N);if(d&&Z)return S(l(oe),$,N)}for(te=l(oe),B=l($),ne=s(N),ne||(N=l(N)),Q=B.length,q=O(1,Q),F=j(te,B,0);F!==-1;)L=ne?l(N(B,F,te)):y(B,te,F,[],void 0,N),I+=w(te,T,F)+L,T=F+Q,F=j(te,B,F+q);return T=56320||w+1>=x||(f(C,w+1)&64512)!==56320?S[w]=m:(S[w]=l(C,w),S[++w]=l(C,w))}return p(S,"")}})},95194:function(v,g,e){"use strict";var t=e(54872),r=e(6310),o=e(68700),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(u){var l=a(this),f=r(l),p=o(u),y=p>=0?p:f+p;return y<0||y>=f?void 0:l[y]})},82:function(v,g,e){"use strict";var t=e(54872),r=e(61969).findLastIndex,o=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLastIndex",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0)})},20522:function(v,g,e){"use strict";var t=e(54872),r=e(61969).findLast,o=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLast",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0)})},79976:function(v,g,e){"use strict";var t=e(19037),r=e(22615),o=e(54872),a=e(6310),s=e(83250),c=e(90690),u=e(3689),l=t.RangeError,f=t.Int8Array,p=f&&f.prototype,y=p&&p.set,m=o.aTypedArray,d=o.exportTypedArrayMethod,b=!u(function(){var x=new Uint8ClampedArray(2);return r(y,x,{length:1,0:3},1),x[1]!==3}),C=b&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u(function(){var x=new f(2);return x.set(1),x.set("2",1),x[0]!==0||x[1]!==2});d("set",function(S){m(this);var w=s(arguments.length>1?arguments[1]:void 0,1),O=c(S);if(b)return r(y,this,O,w);var j=this.length,E=a(O),$=0;if(E+w>j)throw new l("Wrong length");for(;$1?arguments[1]:void 0)}}),o("filterOut")},54883:function(v,g,e){"use strict";var t=e(79989),r=e(2960).filterReject,o=e(87370);t({target:"Array",proto:!0,forced:!0},{filterReject:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("filterReject")},18073:function(v,g,e){"use strict";var t=e(79989),r=e(2231);t({target:"Array",stat:!0},{fromAsync:r})},96882:function(v,g,e){"use strict";var t=e(79989),r=e(16834),o=e(87370),a=e(44416),s=e(53931);t({target:"Array",proto:!0,name:"groupToMap",forced:s||!r("groupByToMap")},{groupByToMap:a}),o("groupByToMap")},22525:function(v,g,e){"use strict";var t=e(79989),r=e(64976),o=e(16834),a=e(87370);t({target:"Array",proto:!0,forced:!o("groupBy")},{groupBy:function(c){var u=arguments.length>1?arguments[1]:void 0;return r(this,c,u)}}),a("groupBy")},32539:function(v,g,e){"use strict";var t=e(79989),r=e(87370),o=e(44416),a=e(53931);t({target:"Array",proto:!0,forced:a},{groupToMap:o}),r("groupToMap")},36208:function(v,g,e){"use strict";var t=e(79989),r=e(64976),o=e(87370);t({target:"Array",proto:!0},{group:function(s){var c=arguments.length>1?arguments[1]:void 0;return r(this,s,c)}}),o("group")},5082:function(v,g,e){"use strict";var t=e(79989),r=e(92297),o=Object.isFrozen,a=function(s,c){if(!o||!r(s)||!o(s))return!1;for(var u=0,l=s.length,f;u1?arguments[1]:!1);return o([u&255,u>>8&255],10)}})},89246:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=r(DataView.prototype.getUint8);t({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(s){return o(this,s)}})},31186:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(15477).pack,c=e(76043),u=TypeError,l=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(p,y){if(o(this)!=="DataView")throw new u("Incorrect receiver");var m=a(p),d=s(c(y),10,2);return l(this,m,d[1]<<8|d[0],arguments.length>2?arguments[2]:!1)}})},9279:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(87191),c=TypeError,u=r(DataView.prototype.setUint8);t({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(f,p){if(o(this)!=="DataView")throw new c("Incorrect receiver");var y=a(f);return u(this,y,s(p))}})},26725:function(v,g,e){"use strict";var t=e(79989),r=e(67697),o=e(76058),a=e(10509),s=e(767),c=e(11880),u=e(6045),l=e(62148),f=e(44201),p=e(618),y=e(29199),m=o("SuppressedError"),d=ReferenceError,b=f("dispose"),C=f("toStringTag"),x="DisposableStack",S=p.set,w=p.getterFor(x),O="sync-dispose",j="disposed",E="pending",$=function(Z){var Y=w(Z);if(Y.state===j)throw new d(x+" already disposed");return Y},N=function(){S(s(this,oe),{type:x,state:E,stack:[]}),r||(this.disposed=!1)},oe=N.prototype;u(oe,{dispose:function(){var Y=w(this);if(Y.state!==j){Y.state=j,r||(this.disposed=!0);for(var ee=Y.stack,te=ee.length,B=!1,ne;te;){var Q=ee[--te];ee[te]=null;try{Q()}catch(q){B?ne=new m(q,ne):(B=!0,ne=q)}}if(Y.stack=null,B)throw ne}},use:function(Y){return y($(this),Y,O),Y},adopt:function(Y,ee){var te=$(this);return a(ee),y(te,void 0,O,function(){ee(Y)}),Y},defer:function(Y){var ee=$(this);a(Y),y(ee,void 0,O,Y)},move:function(){var Y=$(this),ee=new N;return w(ee).stack=Y.stack,Y.stack=[],Y.state=j,r||(this.disposed=!0),ee}}),r&&l(oe,"disposed",{configurable:!0,get:function(){return w(this).state===j}}),c(oe,b,oe.dispose,{name:"dispose"}),c(oe,C,x,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:N})},26125:function(v,g,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},2820:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(69985),a=e(6738),s=e(36812),c=e(67697),u=Object.getOwnPropertyDescriptor,l=/^\s*class\b/,f=r(l.exec),p=function(y){try{if(!c||!f(l,a(y)))return!1}catch(d){}var m=u(y,"prototype");return!!m&&s(m,"writable")&&!m.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(m){return o(m)&&!p(m)}})},62517:function(v,g,e){"use strict";var t=e(79989),r=e(19429);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},54947:function(v,g,e){"use strict";var t=e(44201),r=e(72560).f,o=t("metadata"),a=Function.prototype;a[o]===void 0&&r(a,o,{value:null})},74993:function(v,g,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},50647:function(v,g,e){"use strict";var t=e(79989),r=e(47082);t({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:r})},67602:function(v,g,e){"use strict";var t=e(79989),r=e(19037),o=e(767),a=e(85027),s=e(69985),c=e(61868),u=e(62148),l=e(76522),f=e(3689),p=e(36812),y=e(44201),m=e(12013).IteratorPrototype,d=e(67697),b=e(53931),C="constructor",x="Iterator",S=y("toStringTag"),w=TypeError,O=r[x],j=b||!s(O)||O.prototype!==m||!f(function(){O({})}),E=function(){if(o(this,m),c(this)===m)throw new w("Abstract class Iterator not directly constructable")},$=function(N,oe){d?u(m,N,{configurable:!0,get:function(){return oe},set:function(Z){if(a(this),this===m)throw new w("You can't redefine this property");p(this,N)?this[N]=Z:l(this,N,Z)}}):m[N]=oe};p(m,S)||$(S,x),(j||!p(m,C)||m[C]===Object)&&$(C,E),E.prototype=m,t({global:!0,constructor:!0,forced:j},{Iterator:E})},82639:function(v,g,e){"use strict";var t=e(22615),r=e(11880),o=e(54849),a=e(36812),s=e(44201),c=e(12013).IteratorPrototype,u=s("dispose");a(c,u)||r(c,u,function(){var l=o(this,"return");l&&t(l,this)})},63986:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),u=e(65419),l=e(53931),f=u(function(){for(var p=this.iterator,y=this.next,m,d;this.remaining;)if(this.remaining--,m=o(r(y,p)),d=this.done=!!m.done,d)return;if(m=o(r(y,p)),d=this.done=!!m.done,!d)return m.value});t({target:"Iterator",proto:!0,real:!0,forced:l},{drop:function(y){o(this);var m=c(s(+y));return new f(a(this),{remaining:m})}})},16054:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{every:function(u){a(this),o(u);var l=s(this),f=0;return!r(l,function(p,y){if(!u(p,f++))return y()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},53476:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(65419),u=e(71228),l=e(53931),f=c(function(){for(var p=this.iterator,y=this.predicate,m=this.next,d,b,C;;){if(d=a(r(m,p)),b=this.done=!!d.done,b)return;if(C=d.value,u(p,y,[C,this.counter++],!0))return C}});t({target:"Iterator",proto:!0,real:!0,forced:l},{filter:function(y){return a(this),o(y),new f(s(this),{predicate:y})}})},70928:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{find:function(u){a(this),o(u);var l=s(this),f=0;return r(l,function(p,y){if(u(p,f++))return y(p)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},49411:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(36752),u=e(65419),l=e(72125),f=e(53931),p=u(function(){for(var y=this.iterator,m=this.mapper,d,b;;){if(b=this.inner)try{if(d=a(r(b.next,b.iterator)),!d.done)return d.value;this.inner=null}catch(C){l(y,"throw",C)}if(d=a(r(this.next,y)),this.done=!!d.done)return;try{this.inner=c(m(d.value,this.counter++),!1)}catch(C){l(y,"throw",C)}}});t({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(m){return a(this),o(m),new p(s(this),{mapper:m,inner:null})}})},30005:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{forEach:function(u){a(this),o(u);var l=s(this),f=0;r(l,function(p){u(p,f++)},{IS_RECORD:!0})}})},73494:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(90690),a=e(23622),s=e(12013).IteratorPrototype,c=e(65419),u=e(36752),l=e(53931),f=c(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:l},{from:function(y){var m=u(typeof y=="string"?o(y):y,!0);return a(s,m.iterator)?m.iterator:new f(m)}})},94564:function(v,g,e){"use strict";var t=e(79989),r=e(47082);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},41792:function(v,g,e){"use strict";var t=e(79989),r=e(88983),o=e(53931);t({target:"Iterator",proto:!0,real:!0,forced:o},{map:r})},5985:function(v,g,e){"use strict";var t=e(79989),r=e(98554),o=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,c,u){if(typeof s=="number")return new r(s,c,u,"number",0,1);if(typeof s=="bigint")return new r(s,c,u,"bigint",BigInt(0),BigInt(1));throw new o("Incorrect Iterator.range arguments")}})},31107:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302),c=TypeError;t({target:"Iterator",proto:!0,real:!0},{reduce:function(l){a(this),o(l);var f=s(this),p=arguments.length<2,y=p?void 0:arguments[1],m=0;if(r(f,function(d){p?(p=!1,y=d):y=l(y,d,m),m++},{IS_RECORD:!0}),p)throw new c("Reduce of empty iterator with no initial value");return y}})},28244:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{some:function(u){a(this),o(u);var l=s(this),f=0;return r(l,function(p,y){if(u(p,f++))return y()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},3645:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),u=e(65419),l=e(72125),f=e(53931),p=u(function(){var y=this.iterator;if(!this.remaining--)return this.done=!0,l(y,"normal",void 0);var m=o(r(this.next,y)),d=this.done=!!m.done;if(!d)return m.value});t({target:"Iterator",proto:!0,real:!0,forced:f},{take:function(m){o(this);var d=c(s(+m));return new p(a(this),{remaining:d})}})},58429:function(v,g,e){"use strict";var t=e(79989),r=e(85027),o=e(18734),a=e(22302),s=[].push;t({target:"Iterator",proto:!0,real:!0},{toArray:function(){var u=[];return o(a(r(this)),s,{that:u,IS_RECORD:!0}),u}})},39569:function(v,g,e){"use strict";var t=e(79989),r=e(85027),o=e(29019),a=e(40219),s=e(22302),c=e(53931);t({target:"Iterator",proto:!0,real:!0,forced:c},{toAsync:function(){return new a(s(new o(s(r(this)))))}})},74320:function(v,g,e){"use strict";var t=e(79989),r=e(22818),o=e(55670);t({target:"JSON",stat:!0,forced:!r},{isRawJSON:o})},20691:function(v,g,e){"use strict";var t=e(79989),r=e(67697),o=e(19037),a=e(76058),s=e(68844),c=e(22615),u=e(69985),l=e(48999),f=e(92297),p=e(36812),y=e(34327),m=e(6310),d=e(76522),b=e(3689),C=e(46675),x=e(50146),S=o.JSON,w=o.Number,O=o.SyntaxError,j=S&&S.parse,E=a("Object","keys"),$=Object.getOwnPropertyDescriptor,N=s("".charAt),oe=s("".slice),Z=s(/./.exec),Y=s([].push),ee=/^\d$/,te=/^[1-9]$/,B=/^(?:-|\d)$/,ne=/^[\t\n\r ]$/,Q=0,q=1,L=function(X,G){X=y(X);var ue=new R(X,0,""),he=ue.parse(),Ce=he.value,xe=ue.skip(ne,he.end);if(xe1?arguments[1]:void 0);return a(u,function(f,p){if(!l(f,p,u))return!1},!0)!==!1}})},41099:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d,b){y(d,b,p)&&u(m,b,d)}),m}})},20876:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0),f=a(u,function(p,y){if(l(p,y,u))return{key:y}},!0);return f&&f.key}})},26320:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{find:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0),f=a(u,function(p,y){if(l(p,y,u))return{value:p}},!0);return f&&f.value}})},6052:function(v,g,e){"use strict";var t=e(79989),r=e(28737);t({target:"Map",stat:!0,forced:!0},{from:r})},76791:function(v,g,e){"use strict";var t=e(79989),r=e(68600),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(c){return a(o(this),function(u){if(r(u,c))return!0},!0)===!0}})},75341:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(18734),a=e(69985),s=e(10509),c=e(83914).Map;t({target:"Map",stat:!0,forced:!0},{keyBy:function(l,f){var p=a(this)?this:c,y=new p;s(f);var m=s(y.set);return o(l,function(d){r(m,y,f(d),d)}),y}})},40019:function(v,g,e){"use strict";var t=e(79989),r=e(9945),o=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(s){var c=o(r(this),function(u,l){if(u===s)return{key:l}},!0);return c&&c.key}})},92343:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d,b){u(m,y(d,b,p),d)}),m}})},51096:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d,b){u(m,b,y(d,b,p))}),m}})},4314:function(v,g,e){"use strict";var t=e(79989),r=e(9945),o=e(18734),a=e(83914).set;t({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(c){for(var u=r(this),l=arguments.length,f=0;f1?arguments[1]:void 0);return a(u,function(f,p){if(l(f,p,u))return!0},!0)===!0}})},24453:function(v,g,e){"use strict";var t=e(79989),r=e(41432);t({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:r})},64078:function(v,g,e){"use strict";var t=e(79989),r=e(10509),o=e(9945),a=e(83914),s=TypeError,c=a.get,u=a.has,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(p,y){var m=o(this),d=arguments.length;r(y);var b=u(m,p);if(!b&&d<3)throw new s("Updating absent value");var C=b?c(m,p):r(d>2?arguments[2]:void 0)(p,m);return l(m,p,y(C,p,m)),m}})},66190:function(v,g,e){"use strict";var t=e(79989),r=e(41432);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},25684:function(v,g,e){"use strict";var t=e(79989),r=Math.min,o=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,c,u){return r(u,o(c,s))}})},31789:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},8677:function(v,g,e){"use strict";var t=e(79989),r=180/Math.PI;t({target:"Math",stat:!0,forced:!0},{degrees:function(a){return a*r}})},59151:function(v,g,e){"use strict";var t=e(79989),r=e(76043);t({target:"Math",stat:!0},{f16round:r})},346:function(v,g,e){"use strict";var t=e(79989),r=e(84463),o=e(37788);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,c,u,l,f){return o(r(s,c,u,l,f))}})},91069:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{iaddh:function(o,a,s,c){var u=o>>>0,l=a>>>0,f=s>>>0;return l+(c>>>0)+((u&f|(u|f)&~(u+f>>>0))>>>31)|0}})},18886:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{imulh:function(o,a){var s=65535,c=+o,u=+a,l=c&s,f=u&s,p=c>>16,y=u>>16,m=(p*f>>>0)+(l*f>>>16);return p*y+(m>>16)+((l*y>>>0)+(m&s)>>16)}})},88065:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{isubh:function(o,a,s,c){var u=o>>>0,l=a>>>0,f=s>>>0;return l-(c>>>0)-((~u&f|~(u^f)&u-f>>>0)>>>31)|0}})},68172:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},60445:function(v,g,e){"use strict";var t=e(79989),r=Math.PI/180;t({target:"Math",stat:!0,forced:!0},{radians:function(a){return a*r}})},99457:function(v,g,e){"use strict";var t=e(79989),r=e(84463);t({target:"Math",stat:!0,forced:!0},{scale:r})},613:function(v,g,e){"use strict";var t=e(79989),r=e(85027),o=e(70046),a=e(30974),s=e(27807),c=e(618),u="Seeded Random",l=u+" Generator",f='Math.seededPRNG() argument should have a "seed" field with a finite value.',p=c.set,y=c.getterFor(l),m=TypeError,d=a(function(C){p(this,{type:l,seed:C%2147483647})},u,function(){var C=y(this),x=C.seed=(C.seed*1103515245+12345)%2147483647;return s((x&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(C){var x=r(C).seed;if(!o(x))throw new m(f);return new d(x)}})},835:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{signbit:function(o){var a=+o;return a===a&&a===0?1/a===-1/0:a<0}})},926:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{umulh:function(o,a){var s=65535,c=+o,u=+a,l=c&s,f=u&s,p=c>>>16,y=u>>>16,m=(p*f>>>0)+(l*f>>>16);return p*y+(m>>>16)+((l*y>>>0)+(m&s)>>>16)}})},82899:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(68700),a="Invalid number representation",s="Invalid radix",c=RangeError,u=SyntaxError,l=TypeError,f=parseInt,p=Math.pow,y=/^[\d.a-z]+$/,m=r("".charAt),d=r(y.exec),b=r(1 .toString),C=r("".slice),x=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(w,O){var j=1;if(typeof w!="string")throw new l(a);if(!w.length)throw new u(a);if(m(w,0)==="-"&&(j=-1,w=C(w,1),!w.length))throw new u(a);var E=O===void 0?10:o(O);if(E<2||E>36)throw new c(s);if(!d(y,w))throw new u(a);var $=x(w,"."),N=f($[0],E);if($.length>1&&(N+=f($[1],E)/p(E,$[1].length)),E===10&&b(N,E)!==w)throw new u(a);return j*N}})},29977:function(v,g,e){"use strict";var t=e(79989),r=e(98554);t({target:"Number",stat:!0,forced:!0},{range:function(a,s,c){return new r(a,s,c,"number",0,1)}})},31927:function(v,g,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateEntries:function(a){return new r(a,"entries")}})},77131:function(v,g,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateKeys:function(a){return new r(a,"keys")}})},55174:function(v,g,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateValues:function(a){return new r(a,"values")}})},63503:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(67697),a=e(14241),s=e(10509),c=e(85027),u=e(767),l=e(69985),f=e(981),p=e(48999),y=e(54849),m=e(11880),d=e(6045),b=e(62148),C=e(20920),x=e(44201),S=e(618),w=x("observable"),O="Observable",j="Subscription",E="SubscriptionObserver",$=S.getterFor,N=S.set,oe=$(O),Z=$(j),Y=$(E),ee=function(q){this.observer=c(q),this.cleanup=void 0,this.subscriptionObserver=void 0};ee.prototype={type:j,clean:function(){var q=this.cleanup;if(q){this.cleanup=void 0;try{q()}catch(L){C(L)}}},close:function(){if(!o){var q=this.facade,L=this.subscriptionObserver;q.closed=!0,L&&(L.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var te=function(q,L){var F=N(this,new ee(q)),T;o||(this.closed=!1);try{(T=y(q,"start"))&&r(T,q,this)}catch(ae){C(ae)}if(!F.isClosed()){var I=F.subscriptionObserver=new B(F);try{var R=L(I),z=R;f(R)||(F.cleanup=l(R.unsubscribe)?function(){z.unsubscribe()}:s(R))}catch(ae){I.error(ae);return}F.isClosed()&&F.clean()}};te.prototype=d({},{unsubscribe:function(){var L=Z(this);L.isClosed()||(L.close(),L.clean())}}),o&&b(te.prototype,"closed",{configurable:!0,get:function(){return Z(this).isClosed()}});var B=function(q){N(this,{type:E,subscriptionState:q}),o||(this.closed=!1)};B.prototype=d({},{next:function(L){var F=Y(this).subscriptionState;if(!F.isClosed()){var T=F.observer;try{var I=y(T,"next");I&&r(I,T,L)}catch(R){C(R)}}},error:function(L){var F=Y(this).subscriptionState;if(!F.isClosed()){var T=F.observer;F.close();try{var I=y(T,"error");I?r(I,T,L):C(L)}catch(R){C(R)}F.clean()}},complete:function(){var L=Y(this).subscriptionState;if(!L.isClosed()){var F=L.observer;L.close();try{var T=y(F,"complete");T&&r(T,F)}catch(I){C(I)}L.clean()}}}),o&&b(B.prototype,"closed",{configurable:!0,get:function(){return Y(this).subscriptionState.isClosed()}});var ne=function(L){u(this,Q),N(this,{type:O,subscriber:s(L)})},Q=ne.prototype;d(Q,{subscribe:function(L){var F=arguments.length;return new te(l(L)?{next:L,error:F>1?arguments[1]:void 0,complete:F>2?arguments[2]:void 0}:p(L)?L:{},oe(this).subscriber)}}),m(Q,w,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:ne}),a(O)},9818:function(v,g,e){"use strict";var t=e(79989),r=e(76058),o=e(22615),a=e(85027),s=e(19429),c=e(5185),u=e(54849),l=e(18734),f=e(44201),p=f("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(m){var d=s(this)?this:r("Observable"),b=u(a(m),p);if(b){var C=a(o(b,m));return C.constructor===d?C:new d(function(S){return C.subscribe(S)})}var x=c(m);return new d(function(S){l(x,function(w,O){if(S.next(w),S.closed)return O()},{IS_ITERATOR:!0,INTERRUPTED:!0}),S.complete()})}})},76314:function(v,g,e){"use strict";e(63503),e(9818),e(38771)},38771:function(v,g,e){"use strict";var t=e(79989),r=e(76058),o=e(19429),a=r("Array");t({target:"Observable",stat:!0,forced:!0},{of:function(){for(var c=o(this)?this:r("Observable"),u=arguments.length,l=a(u),f=0;f?@[\\\\\\]^`{|}~"+a+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(f){var p=o(f),y=s(p,0);return(y>47&&y<58?"\\x3":"")+c(p,u,"\\$&")}})},57282:function(v,g,e){"use strict";var t=e(79989),r=e(10029),o=e(61034).add;t({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var s=r(this),c=0,u=arguments.length;c1?arguments[1]:void 0);return a(u,function(f){if(!l(f,f,u))return!1},!0)!==!1}})},96986:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,u=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d){y(d,d,p)&&u(m,d)}),m}})},95681:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(48774);t({target:"Set",proto:!0,real:!0,forced:!0},{find:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0),f=a(u,function(p){if(l(p,p,u))return{value:p}},!0);return f&&f.value}})},13781:function(v,g,e){"use strict";var t=e(79989),r=e(28737);t({target:"Set",stat:!0,forced:!0},{from:r})},98873:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(72948);t({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(c){return r(a,this,o(c))}})},33442:function(v,g,e){"use strict";var t=e(79989),r=e(3689),o=e(72948),a=e(53234),s=!a("intersection")||r(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});t({target:"Set",proto:!0,real:!0,forced:s},{intersection:o})},50308:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(97795);t({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(c){return r(a,this,o(c))}})},61964:function(v,g,e){"use strict";var t=e(79989),r=e(97795),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:r})},18955:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(26951);t({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(c){return r(a,this,o(c))}})},69878:function(v,g,e){"use strict";var t=e(79989),r=e(26951),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:r})},65115:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(3894);t({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(c){return r(a,this,o(c))}})},52915:function(v,g,e){"use strict";var t=e(79989),r=e(3894),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:r})},19490:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(10029),a=e(48774),s=e(34327),c=r([].join),u=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(f){var p=o(this),y=f===void 0?",":s(f),m=[];return a(p,function(d){u(m,d)}),c(m,y)}})},95752:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,u=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d){u(m,y(d,d,p))}),m}})},32789:function(v,g,e){"use strict";var t=e(79989),r=e(1114);t({target:"Set",stat:!0,forced:!0},{of:r})},27913:function(v,g,e){"use strict";var t=e(79989),r=e(10509),o=e(10029),a=e(48774),s=TypeError;t({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(u){var l=o(this),f=arguments.length<2,p=f?void 0:arguments[1];if(r(u),a(l,function(y){f?(f=!1,p=y):p=u(p,y,y,l)}),f)throw new s("Reduce of empty set with no initial value");return p}})},6831:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(48774);t({target:"Set",proto:!0,real:!0,forced:!0},{some:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0);return a(u,function(f){if(l(f,f,u))return!0},!0)===!0}})},90243:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(62289);t({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(c){return r(a,this,o(c))}})},97895:function(v,g,e){"use strict";var t=e(79989),r=e(62289),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:r})},98030:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(75674);t({target:"Set",proto:!0,real:!0,forced:!0},{union:function(c){return r(a,this,o(c))}})},22275:function(v,g,e){"use strict";var t=e(79989),r=e(75674),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:r})},86220:function(v,g,e){"use strict";var t=e(79989),r=e(10730).charAt,o=e(74684),a=e(68700),s=e(34327);t({target:"String",proto:!0,forced:!0},{at:function(u){var l=s(o(this)),f=l.length,p=a(u),y=p>=0?p:f+p;return y<0||y>=f?void 0:r(l,y)}})},95853:function(v,g,e){"use strict";var t=e(79989),r=e(30974),o=e(27807),a=e(74684),s=e(34327),c=e(618),u=e(10730),l=u.codeAt,f=u.charAt,p="String Iterator",y=c.set,m=c.getterFor(p),d=r(function(C){y(this,{type:p,string:C,index:0})},"String",function(){var C=m(this),x=C.string,S=C.index,w;return S>=x.length?o(void 0,!0):(w=f(x,S),C.index+=w.length,o({codePoint:l(w,0),position:S},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new d(s(a(this)))}})},21917:function(v,g,e){"use strict";var t=e(79989),r=e(8195);t({target:"String",stat:!0,forced:!0},{cooked:r})},66084:function(v,g,e){"use strict";var t=e(71594),r=e(79989),o=e(98702),a=e(68844),s=e(61735),c=e(85027),u=e(90690),l=e(69985),f=e(6310),p=e(72560).f,y=e(9015),m=e(16803),d=e(8195),b=e(98985),C=e(86350),x=new m.WeakMap,S=m.get,w=m.has,O=m.set,j=Array,E=TypeError,$=Object.freeze||Object,N=Object.isFrozen,oe=Math.min,Z=a("".charAt),Y=a("".slice),ee=a("".split),te=a(/./.exec),B=/([\n\u2028\u2029]|\r\n?)/g,ne=RegExp("^["+C+"]*"),Q=RegExp("[^"+C+"]"),q="Invalid tag",L="Invalid opening line",F="Invalid closing line",T=function(G){var ue=G.raw;if(t&&!N(ue))throw new E("Raw template should be frozen");if(w(x,ue))return S(x,ue);var he=I(ue),Ce=z(he);return p(Ce,"raw",{value:$(he)}),$(Ce),O(x,ue,Ce),Ce},I=function(G){var ue=u(G),he=f(ue),Ce=j(he),xe=j(he),$e=0,Ke,Je,qe,st;if(!he)throw new E(q);for(;$e0)throw new E(L);Ke[1]=""}if(me){if(Ke.length===1||te(Q,Ke[Ke.length-1]))throw new E(F);Ke[Ke.length-2]="",Ke[Ke.length-1]=""}for(var U=2;U1?arguments[1]:void 0);return o(this,l)},!0)},59359:function(v,g,e){"use strict";var t=e(54872),r=e(2960).filterReject,o=e(20716),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(u){var l=r(a(this),u,arguments.length>1?arguments[1]:void 0);return o(this,l)},!0)},76677:function(v,g,e){"use strict";var t=e(76058),r=e(52655),o=e(2231),a=e(54872),s=e(59976),c=a.aTypedArrayConstructor,u=a.exportTypedArrayStaticMethod;u("fromAsync",function(f){var p=this,y=arguments.length,m=y>1?arguments[1]:void 0,d=y>2?arguments[2]:void 0;return new(t("Promise"))(function(b){r(p),b(o(f,m,d))}).then(function(b){return s(c(p),b)})},!0)},30548:function(v,g,e){"use strict";var t=e(54872),r=e(64976),o=e(47338),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(u){var l=arguments.length>1?arguments[1]:void 0;return r(a(this),u,l,o)},!0)},915:function(v,g,e){"use strict";var t=e(54872),r=e(6310),o=e(9401),a=e(27578),s=e(71530),c=e(68700),u=e(3689),l=t.aTypedArray,f=t.getTypedArrayConstructor,p=t.exportTypedArrayMethod,y=Math.max,m=Math.min,d=!u(function(){var b=new Int8Array([1]),C=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return C[0]!==2||C[1]!==3});p("toSpliced",function(C,x){var S=l(this),w=f(S),O=r(S),j=a(C,O),E=arguments.length,$=0,N,oe,Z,Y,ee,te,B;if(E===0)N=oe=0;else if(E===1)N=0,oe=O-j;else if(oe=m(y(c(x),0),O-j),N=E-2,N){Y=new w(N),Z=o(Y);for(var ne=2;ne1?a(arguments[1]):void 0,N=f($)==="base64"?p:y,oe=$?!!$.strict:!1,Z=oe?E:C(E,w,"");if(Z.length%4===0)x(Z,-2)==="=="?Z=x(Z,0,-2):x(Z,-1)==="="&&(Z=x(Z,0,-1));else if(oe)throw new d("Input is not correctly padded");var Y=Z.length%4;switch(Y){case 1:throw new d("Bad input length");case 2:Z+="AA";break;case 3:Z+="A"}for(var ee=[],te=0,B=Z.length,ne=function(L){var F=b(Z,te+L);if(!c(N,F))throw new d('Bad char in input: "'+F+'"');return N[F]<<18-6*L};te>16&255,Q>>8&255,Q&255)}var q=ee.length;if(Y===2){if(oe&&ee[q-2]!==0)throw new d(O);q-=2}else if(Y===3){if(oe&&ee[q-1]!==0)throw new d(O);q--}return u(m,ee,q)}})},91117:function(v,g,e){"use strict";var t=e(79989),r=e(19037),o=e(68844),a=e(51082),s=r.Uint8Array,c=r.SyntaxError,u=r.parseInt,l=/[^\da-f]/i,f=o(l.exec),p=o("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(m){a(m);var d=m.length;if(d%2)throw new c("String should have an even number of characters");if(f(l,m))throw new c("String should only contain hex characters");for(var b=new s(d/2),C=0;C>6*E&63)};S+21&&!p(arguments[1])?b(arguments[1]):void 0,ie=A?A.transfer:void 0,Ve,Ze;ie!==void 0&&(Ve=new T,Ze=Be(ie,Ve));var De=de(Ee,Ve);return Ze&&it(Ze),De}})},98858:function(v,g,e){"use strict";var t=e(11880),r=e(68844),o=e(34327),a=e(21500),s=URLSearchParams,c=s.prototype,u=r(c.append),l=r(c.delete),f=r(c.forEach),p=r([].push),y=new s("a=1&a=2&b=3");y.delete("a",1),y.delete("b",void 0),y+""!="a=2"&&t(c,"delete",function(m){var d=arguments.length,b=d<2?void 0:arguments[1];if(d&&b===void 0)return l(this,m);var C=[];f(this,function(N,oe){p(C,{key:oe,value:N})}),a(d,1);for(var x=o(m),S=o(b),w=0,O=0,j=!1,E=C.length,$;wr.length)&&(o=r.length);for(var a=0,s=new Array(o);a=o.length?{done:!0}:{done:!1,value:o[c++]}},e:function(m){throw m},f:u}}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 l=!0,f=!1,p;return{s:function(){s=s.call(o)},n:function(){var m=s.next();return l=m.done,m},e:function(m){f=!0,p=m},f:function(){try{!l&&s.return!=null&&s.return()}finally{if(f)throw p}}}}},29388:function(v,g,e){"use strict";e.d(g,{Z:function(){return a}});var t=e(61120),r=e(78814),o=e(82963);function a(s){var c=(0,r.Z)();return function(){var l=(0,t.Z)(s),f;if(c){var p=(0,t.Z)(this).constructor;f=Reflect.construct(l,arguments,p)}else f=l.apply(this,arguments);return(0,o.Z)(this,f)}}},4942:function(v,g,e){"use strict";e.d(g,{Z:function(){return r}});var t=e(83997);function r(o,a,s){return a=(0,t.Z)(a),a in o?Object.defineProperty(o,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[a]=s,o}},87462:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)continue;s[c]=o[c]}return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,u;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(u=0;u=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},82963:function(v,g,e){"use strict";e.d(g,{Z:function(){return o}});var t=e(71002),r=e(97326);function o(a,s){if(s&&((0,t.Z)(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(a)}},74165:function(v,g,e){"use strict";e.d(g,{Z:function(){return r}});var t=e(71002);function r(){"use strict";r=function(){return a};var o,a={},s=Object.prototype,c=s.hasOwnProperty,u=Object.defineProperty||function(T,I,R){T[I]=R.value},l=typeof Symbol=="function"?Symbol:{},f=l.iterator||"@@iterator",p=l.asyncIterator||"@@asyncIterator",y=l.toStringTag||"@@toStringTag";function m(T,I,R){return Object.defineProperty(T,I,{value:R,enumerable:!0,configurable:!0,writable:!0}),T[I]}try{m({},"")}catch(T){m=function(R,z,ae){return R[z]=ae}}function d(T,I,R,z){var ae=I&&I.prototype instanceof j?I:j,X=Object.create(ae.prototype),G=new L(z||[]);return u(X,"_invoke",{value:B(T,R,G)}),X}function b(T,I,R){try{return{type:"normal",arg:T.call(I,R)}}catch(z){return{type:"throw",arg:z}}}a.wrap=d;var C="suspendedStart",x="suspendedYield",S="executing",w="completed",O={};function j(){}function E(){}function $(){}var N={};m(N,f,function(){return this});var oe=Object.getPrototypeOf,Z=oe&&oe(oe(F([])));Z&&Z!==s&&c.call(Z,f)&&(N=Z);var Y=$.prototype=j.prototype=Object.create(N);function ee(T){["next","throw","return"].forEach(function(I){m(T,I,function(R){return this._invoke(I,R)})})}function te(T,I){function R(ae,X,G,ue){var he=b(T[ae],T,X);if(he.type!=="throw"){var Ce=he.arg,xe=Ce.value;return xe&&(0,t.Z)(xe)=="object"&&c.call(xe,"__await")?I.resolve(xe.__await).then(function($e){R("next",$e,G,ue)},function($e){R("throw",$e,G,ue)}):I.resolve(xe).then(function($e){Ce.value=$e,G(Ce)},function($e){return R("throw",$e,G,ue)})}ue(he.arg)}var z;u(this,"_invoke",{value:function(X,G){function ue(){return new I(function(he,Ce){R(X,G,he,Ce)})}return z=z?z.then(ue,ue):ue()}})}function B(T,I,R){var z=C;return function(ae,X){if(z===S)throw Error("Generator is already running");if(z===w){if(ae==="throw")throw X;return{value:o,done:!0}}for(R.method=ae,R.arg=X;;){var G=R.delegate;if(G){var ue=ne(G,R);if(ue){if(ue===O)continue;return ue}}if(R.method==="next")R.sent=R._sent=R.arg;else if(R.method==="throw"){if(z===C)throw z=w,R.arg;R.dispatchException(R.arg)}else R.method==="return"&&R.abrupt("return",R.arg);z=S;var he=b(T,I,R);if(he.type==="normal"){if(z=R.done?w:x,he.arg===O)continue;return{value:he.arg,done:R.done}}he.type==="throw"&&(z=w,R.method="throw",R.arg=he.arg)}}}function ne(T,I){var R=I.method,z=T.iterator[R];if(z===o)return I.delegate=null,R==="throw"&&T.iterator.return&&(I.method="return",I.arg=o,ne(T,I),I.method==="throw")||R!=="return"&&(I.method="throw",I.arg=new TypeError("The iterator does not provide a '"+R+"' method")),O;var ae=b(z,T.iterator,I.arg);if(ae.type==="throw")return I.method="throw",I.arg=ae.arg,I.delegate=null,O;var X=ae.arg;return X?X.done?(I[T.resultName]=X.value,I.next=T.nextLoc,I.method!=="return"&&(I.method="next",I.arg=o),I.delegate=null,O):X:(I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,O)}function Q(T){var I={tryLoc:T[0]};1 in T&&(I.catchLoc=T[1]),2 in T&&(I.finallyLoc=T[2],I.afterLoc=T[3]),this.tryEntries.push(I)}function q(T){var I=T.completion||{};I.type="normal",delete I.arg,T.completion=I}function L(T){this.tryEntries=[{tryLoc:"root"}],T.forEach(Q,this),this.reset(!0)}function F(T){if(T||T===""){var I=T[f];if(I)return I.call(T);if(typeof T.next=="function")return T;if(!isNaN(T.length)){var R=-1,z=function ae(){for(;++R=0;--ae){var X=this.tryEntries[ae],G=X.completion;if(X.tryLoc==="root")return z("end");if(X.tryLoc<=this.prev){var ue=c.call(X,"catchLoc"),he=c.call(X,"finallyLoc");if(ue&&he){if(this.prev=0;--z){var ae=this.tryEntries[z];if(ae.tryLoc<=this.prev&&c.call(ae,"finallyLoc")&&this.prev=0;--R){var z=this.tryEntries[R];if(z.finallyLoc===I)return this.complete(z.completion,z.afterLoc),q(z),O}},catch:function(I){for(var R=this.tryEntries.length-1;R>=0;--R){var z=this.tryEntries[R];if(z.tryLoc===I){var ae=z.completion;if(ae.type==="throw"){var X=ae.arg;q(z)}return X}}throw Error("illegal catch attempt")},delegateYield:function(I,R,z){return this.delegate={iterator:F(I),resultName:R,nextLoc:z},this.method==="next"&&(this.arg=o),O}},a}},89611:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(r,o){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,c){return s.__proto__=c,s},t(r,o)}},97685:function(v,g,e){"use strict";e.d(g,{Z:function(){return s}});var t=e(83878);function r(c,u){var l=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(l!=null){var f,p,y,m,d=[],b=!0,C=!1;try{if(y=(l=l.call(c)).next,u===0){if(Object(l)!==l)return;b=!1}else for(;!(b=(f=y.call(l)).done)&&(d.push(f.value),d.length!==u);b=!0);}catch(x){C=!0,p=x}finally{try{if(!b&&l.return!=null&&(m=l.return(),Object(m)!==m))return}finally{if(C)throw p}}return d}}var o=e(40181),a=e(25267);function s(c,u){return(0,t.Z)(c)||r(c,u)||(0,o.Z)(c,u)||(0,a.Z)()}},84506:function(v,g,e){"use strict";e.d(g,{Z:function(){return s}});var t=e(83878),r=e(59199),o=e(40181),a=e(25267);function s(c){return(0,t.Z)(c)||(0,r.Z)(c)||(0,o.Z)(c)||(0,a.Z)()}},74902:function(v,g,e){"use strict";e.d(g,{Z:function(){return c}});var t=e(30907);function r(u){if(Array.isArray(u))return(0,t.Z)(u)}var o=e(59199),a=e(40181);function s(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(u){return r(u)||(0,o.Z)(u)||(0,a.Z)(u)||s()}},83997:function(v,g,e){"use strict";e.d(g,{Z:function(){return o}});var t=e(71002);function r(a,s){if((0,t.Z)(a)!="object"||!a)return a;var c=a[Symbol.toPrimitive];if(c!==void 0){var u=c.call(a,s||"default");if((0,t.Z)(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}function o(a){var s=r(a,"string");return(0,t.Z)(s)=="symbol"?s:s+""}},71002:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},t(r)}},40181:function(v,g,e){"use strict";e.d(g,{Z:function(){return r}});var t=e(30907);function r(o,a){if(o){if(typeof o=="string")return(0,t.Z)(o,a);var s=Object.prototype.toString.call(o).slice(8,-1);if(s==="Object"&&o.constructor&&(s=o.constructor.name),s==="Map"||s==="Set")return Array.from(o);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return(0,t.Z)(o,a)}}},58096:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)&&(s[u]=o[u]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,u;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(u=0;u=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,g,e){"use strict";e.d(g,{J$:function(){return Ve},ZP:function(){return Ze},kY:function(){return _}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=De=>De===a,u=De=>typeof De=="function",l=(De,Me)=>Gl(Gl({},De),Me),f=De=>u(De.then),p=new WeakMap;let y=0;const m=De=>{const Me=typeof De,Te=De&&De.constructor,Le=Te==Date;let We,et;if(s(De)===De&&!Le&&Te!=RegExp){if(We=p.get(De),We)return We;if(We=++y+"~",p.set(De,We),Te==Array){for(We="@",et=0;etS&&typeof window.requestAnimationFrame!=x,j=(De,Me)=>{const Te=d.get(De);return[()=>!c(Me)&&De.get(Me)||b,Le=>{if(!c(Me)){const We=De.get(Me);Me in C||(C[Me]=We),Te[5](Me,l(We,Le),We||b)}},Te[6],()=>!c(Me)&&Me in C?C[Me]:!c(Me)&&De.get(Me)||b]};let E=!0;const $=()=>E,[N,oe]=S&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],Z=()=>{const De=w&&document.visibilityState;return c(De)||De!=="hidden"},Y=De=>(w&&document.addEventListener("visibilitychange",De),N("focus",De),()=>{w&&document.removeEventListener("visibilitychange",De),oe("focus",De)}),ee=De=>{const Me=()=>{E=!0,De()},Te=()=>{E=!1};return N("online",Me),N("offline",Te),()=>{oe("online",Me),oe("offline",Te)}},te={isOnline:$,isVisible:Z},B={initFocus:Y,initReconnect:ee},ne=!t.useId,Q=!S||"Deno"in window,q=De=>O()?window.requestAnimationFrame(De):setTimeout(De,1),L=Q?t.useEffect:t.useLayoutEffect,F=typeof navigator!="undefined"&&navigator.connection,T=!Q&&F&&(["slow-2g","2g"].includes(F.effectiveType)||F.saveData),I=De=>{if(u(De))try{De=De()}catch(Te){De=""}const Me=De;return De=typeof De=="string"?De:(Array.isArray(De)?De.length:De)?m(De):"",[De,Me]};let R=0;const z=()=>++R,ae=0,X=1,G=2;var he={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:ae,MUTATE_EVENT:G,RECONNECT_EVENT:X};function Ce(...De){return Lu(this,null,function*(){const[Me,Te,Le,We]=De,et=l({populateCache:!0,throwOnError:!0},typeof We=="boolean"?{revalidate:We}:We||{});let ct=et.populateCache;const $t=et.rollbackOnError;let pt=et.optimisticData;const an=Gt=>typeof $t=="function"?$t(Gt):$t!==!1,Ut=et.throwOnError;if(u(Te)){const Gt=Te,St=[],Ye=Me.keys();for(const Ct of Ye)!/^\$(inf|sub)\$/.test(Ct)&&Gt(Me.get(Ct)._k)&&St.push(Ct);return Promise.all(St.map(Ot))}return Ot(Te);function Ot(Gt){return Lu(this,null,function*(){const[St]=I(Gt);if(!St)return;const[Ye,Ct]=j(Me,St),[Wt,mt,ln,jt]=d.get(Me),Yt=()=>{const qn=Wt[St];return(u(et.revalidate)?et.revalidate(Ye().data,Gt):et.revalidate!==!1)&&(delete ln[St],delete jt[St],qn&&qn[0])?qn[0](G).then(()=>Ye().data):Ye().data};if(De.length<3)return Yt();let Jt=Le,pn;const un=z();mt[St]=[un,0];const rn=!c(pt),Pn=Ye(),$n=Pn.data,Jn=Pn._c,Mr=c(Jn)?$n:Jn;if(rn&&(pt=u(pt)?pt(Mr,$n):pt,Ct({data:pt,_c:Mr})),u(Jt))try{Jt=Jt(Mr)}catch(qn){pn=qn}if(Jt&&f(Jt))if(Jt=yield Jt.catch(qn=>{pn=qn}),un!==mt[St][0]){if(pn)throw pn;return Jt}else pn&&rn&&an(pn)&&(ct=!0,Ct({data:Mr,_c:a}));if(ct&&!pn)if(u(ct)){const qn=ct(Jt,Mr);Ct({data:qn,error:a,_c:a})}else Ct({data:Jt,error:a,_c:a});if(mt[St][1]=z(),Promise.resolve(Yt()).then(()=>{Ct({_c:a})}),pn){if(Ut)throw pn;return}return Jt})}})}const xe=(De,Me)=>{for(const Te in De)De[Te][0]&&De[Te][0](Me)},$e=(De,Me)=>{if(!d.has(De)){const Te=l(B,Me),Le={},We=Ce.bind(a,De);let et=o;const ct={},$t=(Ut,Ot)=>{const Gt=ct[Ut]||[];return ct[Ut]=Gt,Gt.push(Ot),()=>Gt.splice(Gt.indexOf(Ot),1)},pt=(Ut,Ot,Gt)=>{De.set(Ut,Ot);const St=ct[Ut];if(St)for(const Ye of St)Ye(Ot,Gt)},an=()=>{if(!d.has(De)&&(d.set(De,[Le,{},{},{},We,pt,$t]),!Q)){const Ut=Te.initFocus(setTimeout.bind(a,xe.bind(a,Le,ae))),Ot=Te.initReconnect(setTimeout.bind(a,xe.bind(a,Le,X)));et=()=>{Ut&&Ut(),Ot&&Ot(),d.delete(De)}}};return an(),[De,We,an,et]}return[De,d.get(De)[4]]},Ke=(De,Me,Te,Le,We)=>{const et=Te.errorRetryCount,ct=We.retryCount,$t=~~((Math.random()+.5)*(1<<(ct<8?ct:8)))*Te.errorRetryInterval;!c(et)&&ct>et||setTimeout(Le,$t,We)},Je=(De,Me)=>m(De)==m(Me),[qe,st]=$e(new Map),lt=l({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:Ke,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:T?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:T?5e3:3e3,compare:Je,isPaused:()=>!1,cache:qe,mutate:st,fallback:{}},te),me=(De,Me)=>{const Te=l(De,Me);if(Me){const{use:Le,fallback:We}=De,{use:et,fallback:ct}=Me;Le&&et&&(Te.use=Le.concat(et)),We&&ct&&(Te.fallback=l(We,ct))}return Te},U=(0,t.createContext)({}),M=De=>{const{value:Me}=De,Te=(0,t.useContext)(U),Le=u(Me),We=(0,t.useMemo)(()=>Le?Me(Te):Me,[Le,Te,Me]),et=(0,t.useMemo)(()=>Le?We:me(Te,We),[Le,Te,We]),ct=We&&We.provider,$t=(0,t.useRef)(a);ct&&!$t.current&&($t.current=$e(ct(et.cache||qe),We));const pt=$t.current;return pt&&(et.cache=pt[0],et.mutate=pt[1]),L(()=>{if(pt)return pt[2]&&pt[2](),pt[3]},[]),(0,t.createElement)(U.Provider,l(De,{value:et}))},D="$inf$",K=S&&window.__SWR_DEVTOOLS_USE__,k=K?window.__SWR_DEVTOOLS_USE__:[],J=()=>{K&&(window.__SWR_DEVTOOLS_REACT__=t)},le=De=>u(De[1])?[De[0],De[1],De[2]||{}]:[De[0],null,(De[1]===null?De[2]:De[1])||{}],_=()=>l(lt,(0,t.useContext)(U)),V=(De,Me)=>{const[Te,Le]=I(De),[,,,We]=d.get(qe);if(We[Te])return We[Te];const et=Me(Le);return We[Te]=et,et},se=De=>(Me,Te,Le)=>De(Me,Te&&((...et)=>{const[ct]=I(Me),[,,,$t]=d.get(qe);if(ct.startsWith(D))return Te(...et);const pt=$t[ct];return c(pt)?Te(...et):(delete $t[ct],pt)}),Le),fe=k.concat(se),de=De=>function(...Te){const Le=_(),[We,et,ct]=le(Te),$t=me(Le,ct);let pt=De;const{use:an}=$t,Ut=(an||[]).concat(fe);for(let Ot=Ut.length;Ot--;)pt=Ut[Ot](pt);return pt(We,et||$t.fetcher||null,$t)},Be=(De,Me,Te)=>{const Le=Me[De]||(Me[De]=[]);return Le.push(Te),()=>{const We=Le.indexOf(Te);We>=0&&(Le[We]=Le[Le.length-1],Le.pop())}},it=(De,Me)=>(...Te)=>{const[Le,We,et]=le(Te),ct=(et.use||[]).concat(Me);return De(Le,We,Xc(Gl({},et),{use:ct}))};J();const Oe=De=>serialize(De)[0],Ee=t.use||(De=>{if(De.status==="pending")throw De;if(De.status==="fulfilled")return De.value;throw De.status==="rejected"?De.reason:(De.status="pending",De.then(Me=>{De.status="fulfilled",De.value=Me},Me=>{De.status="rejected",De.reason=Me}),De)}),A={dedupe:!0},ie=(De,Me,Te)=>{const{cache:Le,compare:We,suspense:et,fallbackData:ct,revalidateOnMount:$t,revalidateIfStale:pt,refreshInterval:an,refreshWhenHidden:Ut,refreshWhenOffline:Ot,keepPreviousData:Gt}=Te,[St,Ye,Ct,Wt]=d.get(Le),[mt,ln]=I(De),jt=(0,t.useRef)(!1),Yt=(0,t.useRef)(!1),Jt=(0,t.useRef)(mt),pn=(0,t.useRef)(Me),un=(0,t.useRef)(Te),rn=()=>un.current,Pn=()=>rn().isVisible()&&rn().isOnline(),[$n,Jn,Mr,qn]=j(Le,mt),pr=(0,t.useRef)({}).current,Pe=c(ct)?Te.fallback[mt]:ct,ke=(rt,bt)=>{for(const Bt in pr){const ht=Bt;if(ht==="data"){if(!We(rt[ht],bt[ht])&&(!c(rt[ht])||!We(ir,bt[ht])))return!1}else if(bt[ht]!==rt[ht])return!1}return!0},en=(0,t.useMemo)(()=>{const rt=(()=>!mt||!Me?!1:c($t)?rn().isPaused()||et?!1:c(pt)?!0:pt:$t)(),bt=An=>{const Gn=l(An);return delete Gn._k,rt?Gl({isValidating:!0,isLoading:!0},Gn):Gn},Bt=$n(),ht=qn(),Zt=bt(Bt),nn=Bt===ht?Zt:bt(ht);let qt=Zt;return[()=>{const An=bt($n());return ke(An,qt)?(qt.data=An.data,qt.isLoading=An.isLoading,qt.isValidating=An.isValidating,qt.error=An.error,qt):(qt=An,An)},()=>nn]},[Le,mt]),gt=(0,r.useSyncExternalStore)((0,t.useCallback)(rt=>Mr(mt,(bt,Bt)=>{ke(Bt,bt)||rt()}),[Le,mt]),en[0],en[1]),on=!jt.current,On=St[mt]&&St[mt].length>0,Bn=gt.data,rr=c(Bn)?Pe:Bn,or=gt.error,mr=(0,t.useRef)(rr),ir=Gt?c(Bn)?mr.current:Bn:rr,yr=(()=>On&&!c(or)?!1:on&&!c($t)?$t:rn().isPaused()?!1:et?c(rr)?!1:pt:c(rr)||pt)(),er=!!(mt&&Me&&on&&yr),cn=c(gt.isValidating)?er:gt.isValidating,tr=c(gt.isLoading)?er:gt.isLoading,hn=(0,t.useCallback)(rt=>Lu(this,null,function*(){const bt=pn.current;if(!mt||!bt||Yt.current||rn().isPaused())return!1;let Bt,ht,Zt=!0;const nn=rt||{},qt=!Ct[mt]||!nn.dedupe,An=()=>ne?!Yt.current&&mt===Jt.current&&jt.current:mt===Jt.current,Gn={isValidating:!1,isLoading:!1},kn=()=>{Jn(Gn)},jn=()=>{const Nn=Ct[mt];Nn&&Nn[1]===ht&&delete Ct[mt]},dn={isValidating:!0};c($n().data)&&(dn.isLoading=!0);try{if(qt&&(Jn(dn),Te.loadingTimeout&&c($n().data)&&setTimeout(()=>{Zt&&An()&&rn().onLoadingSlow(mt,Te)},Te.loadingTimeout),Ct[mt]=[bt(ln),z()]),[Bt,ht]=Ct[mt],Bt=yield Bt,qt&&setTimeout(jn,Te.dedupingInterval),!Ct[mt]||Ct[mt][1]!==ht)return qt&&An()&&rn().onDiscarded(mt),!1;Gn.error=a;const Nn=Ye[mt];if(!c(Nn)&&(ht<=Nn[0]||ht<=Nn[1]||Nn[1]===0))return kn(),qt&&An()&&rn().onDiscarded(mt),!1;const Tn=$n().data;Gn.data=We(Tn,Bt)?Tn:Bt,qt&&An()&&rn().onSuccess(Bt,mt,Te)}catch(Nn){jn();const Tn=rn(),{shouldRetryOnError:Dr}=Tn;Tn.isPaused()||(Gn.error=Nn,qt&&An()&&(Tn.onError(Nn,mt,Tn),(Dr===!0||u(Dr)&&Dr(Nn))&&(!rn().revalidateOnFocus||!rn().revalidateOnReconnect||Pn())&&Tn.onErrorRetry(Nn,mt,Tn,je=>{const Re=St[mt];Re&&Re[0]&&Re[0](he.ERROR_REVALIDATE_EVENT,je)},{retryCount:(nn.retryCount||0)+1,dedupe:!0})))}return Zt=!1,kn(),!0}),[mt,Le]),_t=(0,t.useCallback)((...rt)=>Ce(Le,Jt.current,...rt),[]);if(L(()=>{pn.current=Me,un.current=Te,c(Bn)||(mr.current=Bn)}),L(()=>{if(!mt)return;const rt=hn.bind(a,A);let bt=0;const ht=Be(mt,St,(Zt,nn={})=>{if(Zt==he.FOCUS_EVENT){const qt=Date.now();rn().revalidateOnFocus&&qt>bt&&Pn()&&(bt=qt+rn().focusThrottleInterval,rt())}else if(Zt==he.RECONNECT_EVENT)rn().revalidateOnReconnect&&Pn()&&rt();else{if(Zt==he.MUTATE_EVENT)return hn();if(Zt==he.ERROR_REVALIDATE_EVENT)return hn(nn)}});return Yt.current=!1,Jt.current=mt,jt.current=!0,Jn({_k:ln}),yr&&(c(rr)||Q?rt():q(rt)),()=>{Yt.current=!0,ht()}},[mt]),L(()=>{let rt;function bt(){const ht=u(an)?an($n().data):an;ht&&rt!==-1&&(rt=setTimeout(Bt,ht))}function Bt(){!$n().error&&(Ut||rn().isVisible())&&(Ot||rn().isOnline())?hn(A).then(bt):bt()}return bt(),()=>{rt&&(clearTimeout(rt),rt=-1)}},[an,Ut,Ot,mt]),(0,t.useDebugValue)(ir),et&&c(rr)&&mt){if(!ne&&Q)throw new Error("Fallback data is required when using suspense in SSR.");pn.current=Me,un.current=Te,Yt.current=!1;const rt=Wt[mt];if(!c(rt)){const bt=_t(rt);Ee(bt)}if(c(or)){const bt=hn(A);c(ir)||(bt.status="fulfilled",bt.value=!0),Ee(bt)}else throw or}return{mutate:_t,get data(){return pr.data=!0,ir},get error(){return pr.error=!0,or},get isValidating(){return pr.isValidating=!0,cn},get isLoading(){return pr.isLoading=!0,tr}}},Ve=s.defineProperty(M,"defaultValue",{value:lt}),Ze=de(ie)}},Uo={};function be(v){var g=Uo[v];if(g!==void 0)return g.exports;var e=Uo[v]={id:v,loaded:!1,exports:{}};return di[v].call(e.exports,e,e.exports,be),e.loaded=!0,e.exports}be.m=di,function(){be.n=function(v){var g=v&&v.__esModule?function(){return v.default}:function(){return v};return be.d(g,{a:g}),g}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;be.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);be.r(r);var o={};g=g||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~g.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},be.d(r,o),r}}(),function(){be.d=function(v,g){for(var e in g)be.o(g,e)&&!be.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:g[e]})}}(),function(){be.f={},be.e=function(v){return Promise.all(Object.keys(be.f).reduce(function(g,e){return be.f[e](v,g),g},[]))}}(),function(){be.u=function(v){return""+({185:"p__Welcome",190:"p__MoneyManagement",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",455:"p__SuperAdmin",542:"p__AdvRecordListV2",557:"p__Bind",571:"p__404",731:"p__App__AppManagement",816:"p__AdminManagement",857:"p__AdvRecordList",903:"p__UserManagement"}[v]||v)+"."+{51:"a2ea1b3b",63:"86ff1d28",134:"6fc81d91",169:"57647c7d",185:"61596037",190:"e9c37179",247:"3fe8fb10",301:"4594a64b",366:"9d3ab92e",371:"ec53e5c4",390:"41467286",393:"38316f72",397:"fb5f72c1",427:"f16a2970",455:"7ef997d3",531:"3d4ec55a",539:"49b7b156",542:"1e290899",557:"b6ee068f",559:"016bfdbb",571:"0c100574",635:"20e45f05",731:"441e379e",804:"139cd916",816:"5e2368b3",841:"614ef4c0",857:"8e5ef22c",903:"687c40f2",905:"6e225d1b",930:"fca7adbf"}[v]+".async.js"}}(),function(){be.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){be.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){be.o=function(v,g){return Object.prototype.hasOwnProperty.call(v,g)}}(),function(){var v={},g="ant-design-pro:";be.l=function(e,t,r,o){if(v[e]){v[e].push(t);return}var a,s;if(r!==void 0)for(var c=document.getElementsByTagName("script"),u=0;u=0)&&(s[u]=o[u]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,u;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(u=0;u=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,g,e){"use strict";e.d(g,{J$:function(){return Ve},ZP:function(){return Ze},kY:function(){return _}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=De=>De===a,u=De=>typeof De=="function",l=(De,Me)=>Gl(Gl({},De),Me),f=De=>u(De.then),p=new WeakMap;let y=0;const m=De=>{const Me=typeof De,Te=De&&De.constructor,Le=Te==Date;let We,et;if(s(De)===De&&!Le&&Te!=RegExp){if(We=p.get(De),We)return We;if(We=++y+"~",p.set(De,We),Te==Array){for(We="@",et=0;etS&&typeof window.requestAnimationFrame!=x,j=(De,Me)=>{const Te=d.get(De);return[()=>!c(Me)&&De.get(Me)||b,Le=>{if(!c(Me)){const We=De.get(Me);Me in C||(C[Me]=We),Te[5](Me,l(We,Le),We||b)}},Te[6],()=>!c(Me)&&Me in C?C[Me]:!c(Me)&&De.get(Me)||b]};let E=!0;const $=()=>E,[N,oe]=S&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],Z=()=>{const De=w&&document.visibilityState;return c(De)||De!=="hidden"},Y=De=>(w&&document.addEventListener("visibilitychange",De),N("focus",De),()=>{w&&document.removeEventListener("visibilitychange",De),oe("focus",De)}),ee=De=>{const Me=()=>{E=!0,De()},Te=()=>{E=!1};return N("online",Me),N("offline",Te),()=>{oe("online",Me),oe("offline",Te)}},te={isOnline:$,isVisible:Z},B={initFocus:Y,initReconnect:ee},ne=!t.useId,Q=!S||"Deno"in window,q=De=>O()?window.requestAnimationFrame(De):setTimeout(De,1),L=Q?t.useEffect:t.useLayoutEffect,F=typeof navigator!="undefined"&&navigator.connection,T=!Q&&F&&(["slow-2g","2g"].includes(F.effectiveType)||F.saveData),I=De=>{if(u(De))try{De=De()}catch(Te){De=""}const Me=De;return De=typeof De=="string"?De:(Array.isArray(De)?De.length:De)?m(De):"",[De,Me]};let R=0;const z=()=>++R,ae=0,X=1,G=2;var he={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:ae,MUTATE_EVENT:G,RECONNECT_EVENT:X};function Ce(...De){return Lu(this,null,function*(){const[Me,Te,Le,We]=De,et=l({populateCache:!0,throwOnError:!0},typeof We=="boolean"?{revalidate:We}:We||{});let ct=et.populateCache;const $t=et.rollbackOnError;let pt=et.optimisticData;const an=Gt=>typeof $t=="function"?$t(Gt):$t!==!1,Ut=et.throwOnError;if(u(Te)){const Gt=Te,St=[],Ye=Me.keys();for(const Ct of Ye)!/^\$(inf|sub)\$/.test(Ct)&&Gt(Me.get(Ct)._k)&&St.push(Ct);return Promise.all(St.map(Ot))}return Ot(Te);function Ot(Gt){return Lu(this,null,function*(){const[St]=I(Gt);if(!St)return;const[Ye,Ct]=j(Me,St),[Wt,mt,ln,jt]=d.get(Me),Yt=()=>{const qn=Wt[St];return(u(et.revalidate)?et.revalidate(Ye().data,Gt):et.revalidate!==!1)&&(delete ln[St],delete jt[St],qn&&qn[0])?qn[0](G).then(()=>Ye().data):Ye().data};if(De.length<3)return Yt();let Jt=Le,pn;const un=z();mt[St]=[un,0];const rn=!c(pt),Pn=Ye(),$n=Pn.data,Jn=Pn._c,Mr=c(Jn)?$n:Jn;if(rn&&(pt=u(pt)?pt(Mr,$n):pt,Ct({data:pt,_c:Mr})),u(Jt))try{Jt=Jt(Mr)}catch(qn){pn=qn}if(Jt&&f(Jt))if(Jt=yield Jt.catch(qn=>{pn=qn}),un!==mt[St][0]){if(pn)throw pn;return Jt}else pn&&rn&&an(pn)&&(ct=!0,Ct({data:Mr,_c:a}));if(ct&&!pn)if(u(ct)){const qn=ct(Jt,Mr);Ct({data:qn,error:a,_c:a})}else Ct({data:Jt,error:a,_c:a});if(mt[St][1]=z(),Promise.resolve(Yt()).then(()=>{Ct({_c:a})}),pn){if(Ut)throw pn;return}return Jt})}})}const xe=(De,Me)=>{for(const Te in De)De[Te][0]&&De[Te][0](Me)},$e=(De,Me)=>{if(!d.has(De)){const Te=l(B,Me),Le={},We=Ce.bind(a,De);let et=o;const ct={},$t=(Ut,Ot)=>{const Gt=ct[Ut]||[];return ct[Ut]=Gt,Gt.push(Ot),()=>Gt.splice(Gt.indexOf(Ot),1)},pt=(Ut,Ot,Gt)=>{De.set(Ut,Ot);const St=ct[Ut];if(St)for(const Ye of St)Ye(Ot,Gt)},an=()=>{if(!d.has(De)&&(d.set(De,[Le,{},{},{},We,pt,$t]),!Q)){const Ut=Te.initFocus(setTimeout.bind(a,xe.bind(a,Le,ae))),Ot=Te.initReconnect(setTimeout.bind(a,xe.bind(a,Le,X)));et=()=>{Ut&&Ut(),Ot&&Ot(),d.delete(De)}}};return an(),[De,We,an,et]}return[De,d.get(De)[4]]},Ke=(De,Me,Te,Le,We)=>{const et=Te.errorRetryCount,ct=We.retryCount,$t=~~((Math.random()+.5)*(1<<(ct<8?ct:8)))*Te.errorRetryInterval;!c(et)&&ct>et||setTimeout(Le,$t,We)},Je=(De,Me)=>m(De)==m(Me),[qe,st]=$e(new Map),lt=l({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:Ke,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:T?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:T?5e3:3e3,compare:Je,isPaused:()=>!1,cache:qe,mutate:st,fallback:{}},te),me=(De,Me)=>{const Te=l(De,Me);if(Me){const{use:Le,fallback:We}=De,{use:et,fallback:ct}=Me;Le&&et&&(Te.use=Le.concat(et)),We&&ct&&(Te.fallback=l(We,ct))}return Te},U=(0,t.createContext)({}),M=De=>{const{value:Me}=De,Te=(0,t.useContext)(U),Le=u(Me),We=(0,t.useMemo)(()=>Le?Me(Te):Me,[Le,Te,Me]),et=(0,t.useMemo)(()=>Le?We:me(Te,We),[Le,Te,We]),ct=We&&We.provider,$t=(0,t.useRef)(a);ct&&!$t.current&&($t.current=$e(ct(et.cache||qe),We));const pt=$t.current;return pt&&(et.cache=pt[0],et.mutate=pt[1]),L(()=>{if(pt)return pt[2]&&pt[2](),pt[3]},[]),(0,t.createElement)(U.Provider,l(De,{value:et}))},D="$inf$",K=S&&window.__SWR_DEVTOOLS_USE__,k=K?window.__SWR_DEVTOOLS_USE__:[],J=()=>{K&&(window.__SWR_DEVTOOLS_REACT__=t)},le=De=>u(De[1])?[De[0],De[1],De[2]||{}]:[De[0],null,(De[1]===null?De[2]:De[1])||{}],_=()=>l(lt,(0,t.useContext)(U)),V=(De,Me)=>{const[Te,Le]=I(De),[,,,We]=d.get(qe);if(We[Te])return We[Te];const et=Me(Le);return We[Te]=et,et},se=De=>(Me,Te,Le)=>De(Me,Te&&((...et)=>{const[ct]=I(Me),[,,,$t]=d.get(qe);if(ct.startsWith(D))return Te(...et);const pt=$t[ct];return c(pt)?Te(...et):(delete $t[ct],pt)}),Le),fe=k.concat(se),de=De=>function(...Te){const Le=_(),[We,et,ct]=le(Te),$t=me(Le,ct);let pt=De;const{use:an}=$t,Ut=(an||[]).concat(fe);for(let Ot=Ut.length;Ot--;)pt=Ut[Ot](pt);return pt(We,et||$t.fetcher||null,$t)},Be=(De,Me,Te)=>{const Le=Me[De]||(Me[De]=[]);return Le.push(Te),()=>{const We=Le.indexOf(Te);We>=0&&(Le[We]=Le[Le.length-1],Le.pop())}},it=(De,Me)=>(...Te)=>{const[Le,We,et]=le(Te),ct=(et.use||[]).concat(Me);return De(Le,We,Xc(Gl({},et),{use:ct}))};J();const Oe=De=>serialize(De)[0],Ee=t.use||(De=>{if(De.status==="pending")throw De;if(De.status==="fulfilled")return De.value;throw De.status==="rejected"?De.reason:(De.status="pending",De.then(Me=>{De.status="fulfilled",De.value=Me},Me=>{De.status="rejected",De.reason=Me}),De)}),A={dedupe:!0},ie=(De,Me,Te)=>{const{cache:Le,compare:We,suspense:et,fallbackData:ct,revalidateOnMount:$t,revalidateIfStale:pt,refreshInterval:an,refreshWhenHidden:Ut,refreshWhenOffline:Ot,keepPreviousData:Gt}=Te,[St,Ye,Ct,Wt]=d.get(Le),[mt,ln]=I(De),jt=(0,t.useRef)(!1),Yt=(0,t.useRef)(!1),Jt=(0,t.useRef)(mt),pn=(0,t.useRef)(Me),un=(0,t.useRef)(Te),rn=()=>un.current,Pn=()=>rn().isVisible()&&rn().isOnline(),[$n,Jn,Mr,qn]=j(Le,mt),pr=(0,t.useRef)({}).current,Pe=c(ct)?Te.fallback[mt]:ct,ke=(rt,bt)=>{for(const Bt in pr){const ht=Bt;if(ht==="data"){if(!We(rt[ht],bt[ht])&&(!c(rt[ht])||!We(ir,bt[ht])))return!1}else if(bt[ht]!==rt[ht])return!1}return!0},en=(0,t.useMemo)(()=>{const rt=(()=>!mt||!Me?!1:c($t)?rn().isPaused()||et?!1:c(pt)?!0:pt:$t)(),bt=An=>{const Gn=l(An);return delete Gn._k,rt?Gl({isValidating:!0,isLoading:!0},Gn):Gn},Bt=$n(),ht=qn(),Zt=bt(Bt),nn=Bt===ht?Zt:bt(ht);let qt=Zt;return[()=>{const An=bt($n());return ke(An,qt)?(qt.data=An.data,qt.isLoading=An.isLoading,qt.isValidating=An.isValidating,qt.error=An.error,qt):(qt=An,An)},()=>nn]},[Le,mt]),gt=(0,r.useSyncExternalStore)((0,t.useCallback)(rt=>Mr(mt,(bt,Bt)=>{ke(Bt,bt)||rt()}),[Le,mt]),en[0],en[1]),on=!jt.current,On=St[mt]&&St[mt].length>0,Bn=gt.data,rr=c(Bn)?Pe:Bn,or=gt.error,mr=(0,t.useRef)(rr),ir=Gt?c(Bn)?mr.current:Bn:rr,yr=(()=>On&&!c(or)?!1:on&&!c($t)?$t:rn().isPaused()?!1:et?c(rr)?!1:pt:c(rr)||pt)(),er=!!(mt&&Me&&on&&yr),cn=c(gt.isValidating)?er:gt.isValidating,tr=c(gt.isLoading)?er:gt.isLoading,hn=(0,t.useCallback)(rt=>Lu(this,null,function*(){const bt=pn.current;if(!mt||!bt||Yt.current||rn().isPaused())return!1;let Bt,ht,Zt=!0;const nn=rt||{},qt=!Ct[mt]||!nn.dedupe,An=()=>ne?!Yt.current&&mt===Jt.current&&jt.current:mt===Jt.current,Gn={isValidating:!1,isLoading:!1},kn=()=>{Jn(Gn)},jn=()=>{const Nn=Ct[mt];Nn&&Nn[1]===ht&&delete Ct[mt]},dn={isValidating:!0};c($n().data)&&(dn.isLoading=!0);try{if(qt&&(Jn(dn),Te.loadingTimeout&&c($n().data)&&setTimeout(()=>{Zt&&An()&&rn().onLoadingSlow(mt,Te)},Te.loadingTimeout),Ct[mt]=[bt(ln),z()]),[Bt,ht]=Ct[mt],Bt=yield Bt,qt&&setTimeout(jn,Te.dedupingInterval),!Ct[mt]||Ct[mt][1]!==ht)return qt&&An()&&rn().onDiscarded(mt),!1;Gn.error=a;const Nn=Ye[mt];if(!c(Nn)&&(ht<=Nn[0]||ht<=Nn[1]||Nn[1]===0))return kn(),qt&&An()&&rn().onDiscarded(mt),!1;const Tn=$n().data;Gn.data=We(Tn,Bt)?Tn:Bt,qt&&An()&&rn().onSuccess(Bt,mt,Te)}catch(Nn){jn();const Tn=rn(),{shouldRetryOnError:Dr}=Tn;Tn.isPaused()||(Gn.error=Nn,qt&&An()&&(Tn.onError(Nn,mt,Tn),(Dr===!0||u(Dr)&&Dr(Nn))&&(!rn().revalidateOnFocus||!rn().revalidateOnReconnect||Pn())&&Tn.onErrorRetry(Nn,mt,Tn,je=>{const Re=St[mt];Re&&Re[0]&&Re[0](he.ERROR_REVALIDATE_EVENT,je)},{retryCount:(nn.retryCount||0)+1,dedupe:!0})))}return Zt=!1,kn(),!0}),[mt,Le]),_t=(0,t.useCallback)((...rt)=>Ce(Le,Jt.current,...rt),[]);if(L(()=>{pn.current=Me,un.current=Te,c(Bn)||(mr.current=Bn)}),L(()=>{if(!mt)return;const rt=hn.bind(a,A);let bt=0;const ht=Be(mt,St,(Zt,nn={})=>{if(Zt==he.FOCUS_EVENT){const qt=Date.now();rn().revalidateOnFocus&&qt>bt&&Pn()&&(bt=qt+rn().focusThrottleInterval,rt())}else if(Zt==he.RECONNECT_EVENT)rn().revalidateOnReconnect&&Pn()&&rt();else{if(Zt==he.MUTATE_EVENT)return hn();if(Zt==he.ERROR_REVALIDATE_EVENT)return hn(nn)}});return Yt.current=!1,Jt.current=mt,jt.current=!0,Jn({_k:ln}),yr&&(c(rr)||Q?rt():q(rt)),()=>{Yt.current=!0,ht()}},[mt]),L(()=>{let rt;function bt(){const ht=u(an)?an($n().data):an;ht&&rt!==-1&&(rt=setTimeout(Bt,ht))}function Bt(){!$n().error&&(Ut||rn().isVisible())&&(Ot||rn().isOnline())?hn(A).then(bt):bt()}return bt(),()=>{rt&&(clearTimeout(rt),rt=-1)}},[an,Ut,Ot,mt]),(0,t.useDebugValue)(ir),et&&c(rr)&&mt){if(!ne&&Q)throw new Error("Fallback data is required when using suspense in SSR.");pn.current=Me,un.current=Te,Yt.current=!1;const rt=Wt[mt];if(!c(rt)){const bt=_t(rt);Ee(bt)}if(c(or)){const bt=hn(A);c(ir)||(bt.status="fulfilled",bt.value=!0),Ee(bt)}else throw or}return{mutate:_t,get data(){return pr.data=!0,ir},get error(){return pr.error=!0,or},get isValidating(){return pr.isValidating=!0,cn},get isLoading(){return pr.isLoading=!0,tr}}},Ve=s.defineProperty(M,"defaultValue",{value:lt}),Ze=de(ie)}},Uo={};function be(v){var g=Uo[v];if(g!==void 0)return g.exports;var e=Uo[v]={id:v,loaded:!1,exports:{}};return di[v].call(e.exports,e,e.exports,be),e.loaded=!0,e.exports}be.m=di,function(){be.n=function(v){var g=v&&v.__esModule?function(){return v.default}:function(){return v};return be.d(g,{a:g}),g}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;be.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);be.r(r);var o={};g=g||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~g.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},be.d(r,o),r}}(),function(){be.d=function(v,g){for(var e in g)be.o(g,e)&&!be.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:g[e]})}}(),function(){be.f={},be.e=function(v){return Promise.all(Object.keys(be.f).reduce(function(g,e){return be.f[e](v,g),g},[]))}}(),function(){be.u=function(v){return""+({185:"p__Welcome",190:"p__MoneyManagement",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",455:"p__SuperAdmin",542:"p__AdvRecordListV2",557:"p__Bind",571:"p__404",731:"p__App__AppManagement",816:"p__AdminManagement",857:"p__AdvRecordList",903:"p__UserManagement"}[v]||v)+"."+{51:"a2ea1b3b",63:"86ff1d28",134:"6fc81d91",169:"57647c7d",185:"61596037",190:"41bff0f7",247:"3fe8fb10",301:"4594a64b",366:"9d3ab92e",371:"ec53e5c4",390:"41467286",393:"38316f72",397:"fb5f72c1",427:"f16a2970",455:"fe3e1735",531:"3d4ec55a",539:"49b7b156",542:"70688ce4",557:"b6ee068f",559:"016bfdbb",571:"0c100574",635:"20e45f05",731:"c06e5598",804:"139cd916",816:"5e2368b3",841:"614ef4c0",857:"8e5ef22c",903:"687c40f2",905:"6e225d1b",930:"fca7adbf"}[v]+".async.js"}}(),function(){be.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){be.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){be.o=function(v,g){return Object.prototype.hasOwnProperty.call(v,g)}}(),function(){var v={},g="ant-design-pro:";be.l=function(e,t,r,o){if(v[e]){v[e].push(t);return}var a,s;if(r!==void 0)for(var c=document.getElementsByTagName("script"),u=0;u_n.length)&&(Yn=_n.length);for(var ye=0,Fe=new Array(Yn);ye0&&arguments[0]!==void 0?arguments[0]:"";return _n.endsWith("/")?_n:"".concat(_n,"/")}var La=be(49647),Va=be(58096),Wa=da.createContext(void 0);function ro(){return da.useContext(Wa)}var bo=["redirect"];function Ao(_n){var Yn=_n.routesById,ye=_n.parentId,Fe=_n.routeComponents;return Object.keys(Yn).filter(function(W){return Yn[W].parentId===ye}).map(function(W){var ut=Ni(zr({route:Yn[W],routeComponent:Fe[W],loadingComponent:_n.loadingComponent,reactRouter5Compat:_n.reactRouter5Compat},_n.reactRouter5Compat&&{hasChildren:Object.keys(Yn).filter(function(En){return Yn[En].parentId===W}).length>0})),Pt=Ao({routesById:Yn,routeComponents:Fe,parentId:ut.id,loadingComponent:_n.loadingComponent,reactRouter5Compat:_n.reactRouter5Compat});return Pt.length>0&&(ut.children=Pt,ut.routes=Pt),ut})}function mo(_n){var Yn=(0,Ba.UO)(),ye=(0,Ba.Gn)(_n.to,Yn),Fe=(0,so.T$)(),W=(0,Ba.TH)();if(Fe!=null&&Fe.keepQuery){var ut=W.search+W.hash;ye+=ut}var Pt=zr(zr({},_n),{},{to:ye});return da.createElement(Ba.Fg,(0,Va.Z)({replace:!0},Pt))}function Ni(_n){var Yn=_n.route,ye=Yn.redirect,Fe=(0,La.Z)(Yn,bo),W=_n.reactRouter5Compat?Ei:Qi;return zr({element:ye?da.createElement(mo,{to:ye}):da.createElement(Wa.Provider,{value:{route:_n.route}},da.createElement(W,{loader:da.memo(_n.routeComponent),loadingComponent:_n.loadingComponent||Ci,hasChildren:_n.hasChildren}))},Fe)}function Ci(){return da.createElement("div",null)}function Ei(_n){var Yn=ro(),ye=Yn.route,Fe=(0,so.Ov)(),W=Fe.history,ut=Fe.clientRoutes,Pt=(0,Ba.UO)(),En={params:Pt,isExact:!0,path:ye.path,url:W.location.pathname},Qn=_n.loader;return da.createElement(da.Suspense,{fallback:da.createElement(_n.loadingComponent,null)},da.createElement(Qn,{location:W.location,match:En,history:W,params:Pt,route:ye,routes:ut},_n.hasChildren&&da.createElement(Ba.j3,null)))}function Qi(_n){var Yn=_n.loader;return da.createElement(da.Suspense,{fallback:da.createElement(_n.loadingComponent,null)},da.createElement(Yn,null))}var Ji=null;function Hs(){return Ji}function Ps(_n){var Yn=_n.history,ye=da.useState({action:Yn.action,location:Yn.location}),Fe=Yo(ye,2),W=Fe[0],ut=Fe[1];return(0,da.useLayoutEffect)(function(){return Yn.listen(ut)},[Yn]),(0,da.useLayoutEffect)(function(){function Pt(En){_n.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:_n.routes,clientRoutes:_n.clientRoutes,location:En.location,action:En.action,basename:_n.basename,isFirst:!!En.isFirst}})}return Pt({location:W.location,action:W.action,isFirst:!0}),Yn.listen(Pt)},[Yn,_n.routes,_n.clientRoutes]),da.createElement(Ba.F0,{navigator:Yn,location:W.location,basename:_n.basename},_n.children)}function Os(){var _n=(0,so.Ov)(),Yn=_n.clientRoutes;return(0,Ba.V$)(Yn)}var Ie=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Se=function(Yn,ye){var Fe=Yn.basename||"/",W=Ao({routesById:Yn.routes,routeComponents:Yn.routeComponents,loadingComponent:Yn.loadingComponent,reactRouter5Compat:Yn.reactRouter5Compat});Yn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:W}});for(var ut=da.createElement(Ps,{basename:Fe,pluginManager:Yn.pluginManager,routes:Yn.routes,clientRoutes:W,history:Yn.history},ye),Pt=0,En=Ie;Pt { if (!env) { return res; } - let n = env; + let n = env >> 1; const arr = [ '用户打开了USB调试模式', '用户打开了开发者模式', @@ -23,10 +23,10 @@ const envMsg = (env: number | undefined) => { '微信未安装', ]; for (const s of arr) { - if (n % 2 === 1) { + if (n & 1) { res.push(s); } - n = Math.floor(n / 2); + n >>= 1; } return res; };