diff --git a/dist/index.html b/dist/index.html index 034395a..64eb704 100644 --- a/dist/index.html +++ b/dist/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/dist/p__DeviceOwnerApp.6709cb8d.async.js b/dist/p__DeviceOwnerApp.6709cb8d.async.js new file mode 100644 index 0000000..3af779a --- /dev/null +++ b/dist/p__DeviceOwnerApp.6709cb8d.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[371],{89793:function(Be,P,i){i.r(P),i.d(P,{default:function(){return fe}});var H=i(97857),f=i.n(H),J=i(15009),l=i.n(J),V=i(99289),h=i.n(V),X=i(5574),R=i.n(X),Y=i(90930),z=i(85601),w=i(31847),k=i(57470),q=i(64317),_=i(34540),S=i(35312),ee=i(13169),$=i(96074),Z=i(16250),te=i(9220),m=i(67294),ae=i(96974),re=i(48357);function Pe(d,c){return E.apply(this,arguments)}function E(){return E=_asyncToGenerator(_regeneratorRuntime().mark(function d(c,v){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",request("/api/admin/device/calc",_objectSpread({method:"GET",params:_objectSpread({},c)},v||{})));case 1:case"end":return t.stop()}},d)})),E.apply(this,arguments)}function ne(d,c){return O.apply(this,arguments)}function O(){return O=h()(l()().mark(function d(c,v){return l()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,S.request)("/api/admin/device/incomeDaily",f()({method:"POST",headers:{"Content-Type":"application/json"},data:c},v||{})));case 1:case"end":return t.stop()}},d)})),O.apply(this,arguments)}function ie(d,c){return b.apply(this,arguments)}function b(){return b=h()(l()().mark(function d(c,v){return l()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,S.request)("/api/admin/device/incomeOverview",f()({method:"GET",params:f()({},c)},v||{})));case 1:case"end":return t.stop()}},d)})),b.apply(this,arguments)}function ue(d,c){return A.apply(this,arguments)}function A(){return A=h()(l()().mark(function d(c,v){return l()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,S.request)("/api/admin/device/list",f()({method:"GET",params:f()({},c)},v||{})));case 1:case"end":return t.stop()}},d)})),A.apply(this,arguments)}function se(d,c){return F.apply(this,arguments)}function F(){return F=h()(l()().mark(function d(c,v){return l()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,S.request)("/api/admin/device/offline",f()({method:"POST",params:f()({},c)},v||{})));case 1:case"end":return t.stop()}},d)})),F.apply(this,arguments)}function le(d,c){return M.apply(this,arguments)}function M(){return M=h()(l()().mark(function d(c,v){return l()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,S.request)("/api/admin/device/online",f()({method:"POST",params:f()({},c)},v||{})));case 1:case"end":return t.stop()}},d)})),M.apply(this,arguments)}var ce=i(92296),de=i(27484),oe=i.n(de),s=i(85893),ve=function(){var c=(0,m.useRef)(),v=(0,m.useRef)(),g=(0,m.useState)(0),t=R()(g,2),G=t[0],pe=t[1],he=(0,m.useState)(!1),N=R()(he,2),D=N[0],me=N[1],ye=(0,S.useIntl)(),xe=(0,ae.UO)(),j=xe.code,Se=(0,S.useModel)("@@initialState"),B=Se.initialState,y=B==null?void 0:B.currentUser,ge=(0,m.useState)(),U=R()(ge,2),p=U[0],Ie=U[1],we=(0,m.useState)([]),K=R()(we,2),L=K[0],je=K[1],T=function(){return window.innerWidth<=768},Te=function(){var r=h()(l()().mark(function e(){var a,u,o;return l()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,ue({appCode:j||""});case 2:return u=I.sent,u.data&&pe((o=u.data)===null||o===void 0?void 0:o.filter(function(x){return x.status===0}).length),I.abrupt("return",{data:u.data,total:(a=u.data)===null||a===void 0?void 0:a.length,success:!0});case 5:case"end":return I.stop()}},e)}));return function(){return r.apply(this,arguments)}}(),Ce=function(){var r=h()(l()().mark(function e(a){var u;return l()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(a){n.next=2;break}return n.abrupt("return");case 2:return n.next=4,se({deviceId:a});case 4:(u=v.current)===null||u===void 0||u.reload();case 5:case"end":return n.stop()}},e)}));return function(a){return r.apply(this,arguments)}}(),Re=function(){var r=h()(l()().mark(function e(a){var u;return l()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(a){n.next=2;break}return n.abrupt("return");case 2:return n.prev=2,n.next=5,le({deviceId:a});case 5:(u=v.current)===null||u===void 0||u.reload(),n.next=10;break;case 8:n.prev=8,n.t0=n.catch(2);case 10:case"end":return n.stop()}},e,null,[[2,8]])}));return function(a){return r.apply(this,arguments)}}(),De=(0,m.useState)({deviceId:{show:!T()},appName:{show:!T()},platform:{show:!T()},deviceBrand:{show:!T()},deviceName:{show:!T()},ip:{show:!T()}}),W=R()(De,2),$e=W[0],Ze=W[1],Ee=[{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",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:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(e){return e/100}},{title:"ecpm-\u62BD\u6210\u540E(\u5143)",dataIndex:"deductEcpm",hideInSearch:!0,renderText:function(e,a){return y!=null&&y.incomeRate&&a.ecpm?Math.floor(a.ecpm*y.incomeRate/100)/100:"-"}},{title:"\u8BBE\u5907\u54C1\u724C",dataIndex:"deviceBrand",hideInSearch:!0,valueType:"textarea"},{title:"\u8BBE\u5907\u540D",dataIndex:"deviceName",hideInSearch:!0,valueType:"textarea"},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],Oe=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"text",ellipsis:!0,width:400,copyable:!0},{title:"\u72B6\u6001",dataIndex:"status",valueEnum:{0:{text:"\u6B63\u5E38"},"-1":{text:"\u5DF2\u4E0B\u7EBF"}},filters:!0,onFilter:!0},{title:"\u7ED1\u5B9A\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u64CD\u4F5C",dataIndex:"operation",hideInSearch:!0,render:function(e,a){return a.status===0?(0,s.jsx)("a",{onClick:function(){return Ce(a.deviceId)},children:"\u4E0B\u7EBF"}):a.status===-1?(0,s.jsx)("a",{onClick:function(){return Re(a.deviceId)},children:"\u4E0A\u7EBF"}):null}}],be=function(){var r=h()(l()().mark(function e(a){var u,o,n;return l()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,(0,re._5)(f()(f()({},a),{},{code:j}));case 2:return n=x.sent,x.abrupt("return",{data:(u=n.data)===null||u===void 0?void 0:u.data,total:(o=n.data)===null||o===void 0?void 0:o.total,success:!0});case 4:case"end":return x.stop()}},e)}));return function(a){return r.apply(this,arguments)}}(),Ae=function(){var r=h()(l()().mark(function e(){var a;return l()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,ie({appCode:j});case 2:a=o.sent,a.data&&Ie(a.data);case 4:case"end":return o.stop()}},e)}));return function(){return r.apply(this,arguments)}}(),Q=function(){var r=h()(l()().mark(function e(a){var u;return l()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,ne(f()(f()({},a),{},{code:j}));case 2:u=n.sent,u.data&&je(u.data);case 4:case"end":return n.stop()}},e)}));return function(a){return r.apply(this,arguments)}}();(0,m.useEffect)(function(){var r,e;(r=c.current)===null||r===void 0||r.reload(),(e=v.current)===null||e===void 0||e.reload(),Ae(),Q(void 0)},[j]);var C=function(e){return e?parseFloat((e/1e5).toFixed(2)):0},Fe=L.map(function(r){return{date:function(){var e=r.date+"",a=e.slice(0,4),u=e.slice(4,6),o=e.slice(6,8);return"".concat(a,"-").concat(u,"-").concat(o)}(),income:C(r.income)}}),Me={data:Fe,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+C(L.reduce(function(r,e){return r+(e.income?e.income:0)},0))+"\u5143",height:400,label:{text:function(e){return e.income>0?e.income:""},textBaseline:"bottom"}};return(0,s.jsx)(Y._z,{children:(0,s.jsxs)(ee.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,s.jsxs)(Z.Z,{tab:"\u8BBE\u5907\u5217\u8868",children:[(0,s.jsx)("p",{style:{textAlign:"center"},children:"\u6B63\u5E38\u4F7F\u7528\u8BBE\u5907\u6570\uFF1A"+G+"\uFF0C\u5269\u4F59\u53EF\u7ED1\u5B9A\u8BBE\u5907\u6570\uFF1A"+Math.max(0,(y!=null&&y.deviceCnt?y.deviceCnt:0)-G)}),(0,s.jsx)(z.Z,{actionRef:v,rowKey:"id",search:!1,request:Te,columns:Oe})]},"1"),(0,s.jsx)(Z.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,s.jsx)(z.Z,{headerTitle:ye.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:c,rowKey:"id",search:{labelWidth:120},request:be,columns:Ee,columnsState:{value:$e,onChange:function(e){Ze(e)}}})},"2"),(0,s.jsxs)(Z.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,s.jsx)(te.Z,{onResize:function(e){me(e.width<596)},children:(0,s.jsx)(w.Z,{children:(0,s.jsxs)(w.Z.Group,{direction:D?"column":"row",children:[(0,s.jsx)(w.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:C(p==null?void 0:p.lastMonthIncome)}}),(0,s.jsx)($.Z,{type:D?"horizontal":"vertical"}),(0,s.jsx)(w.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:C(p==null?void 0:p.thisMonthIncome)}}),(0,s.jsx)($.Z,{type:D?"horizontal":"vertical"}),(0,s.jsx)(w.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:C(p==null?void 0:p.todayIncome)}}),(0,s.jsx)($.Z,{type:D?"horizontal":"vertical"}),(0,s.jsx)(w.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:C(p==null?void 0:p.yesterdayIncome)}})]})})},"resize-observer"),(0,s.jsxs)(k.t,{defaultCollapsed:!0,split:!0,onFinish:Q,children:[(0,s.jsx)(q.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,s.jsx)(_.Z,{fieldProps:{disabledDate:function(e){return e&&e>=oe()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,s.jsx)(ce.Z,f()({},Me))]},"3")]})})},fe=ve}}]); diff --git a/dist/p__DeviceOwnerApp.d8b740d9.async.js b/dist/p__DeviceOwnerApp.d8b740d9.async.js deleted file mode 100644 index fac0149..0000000 --- a/dist/p__DeviceOwnerApp.d8b740d9.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[371],{89793:function(Ae,B,t){t.r(B),t.d(B,{default:function(){return oe}});var Q=t(97857),f=t.n(Q),H=t(15009),s=t.n(H),J=t(99289),h=t.n(J),V=t(5574),D=t.n(V),X=t(90930),z=t(85601),g=t(31847),Y=t(57470),k=t(64317),q=t(34540),I=t(35312),_=t(13169),Z=t(96074),$=t(16250),ee=t(9220),m=t(67294),te=t(96974),ae=t(48357);function Fe(o,l){return E.apply(this,arguments)}function E(){return E=_asyncToGenerator(_regeneratorRuntime().mark(function o(l,v){return _regeneratorRuntime().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",request("/api/admin/device/calc",_objectSpread({method:"GET",params:_objectSpread({},l)},v||{})));case 1:case"end":return a.stop()}},o)})),E.apply(this,arguments)}function re(o,l){return O.apply(this,arguments)}function O(){return O=h()(s()().mark(function o(l,v){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/device/incomeDaily",f()({method:"POST",headers:{"Content-Type":"application/json"},data:l},v||{})));case 1:case"end":return a.stop()}},o)})),O.apply(this,arguments)}function ne(o,l){return b.apply(this,arguments)}function b(){return b=h()(s()().mark(function o(l,v){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/device/incomeOverview",f()({method:"GET",params:f()({},l)},v||{})));case 1:case"end":return a.stop()}},o)})),b.apply(this,arguments)}function ie(o,l){return A.apply(this,arguments)}function A(){return A=h()(s()().mark(function o(l,v){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/device/list",f()({method:"GET",params:f()({},l)},v||{})));case 1:case"end":return a.stop()}},o)})),A.apply(this,arguments)}function ue(o,l){return F.apply(this,arguments)}function F(){return F=h()(s()().mark(function o(l,v){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/device/offline",f()({method:"POST",params:f()({},l)},v||{})));case 1:case"end":return a.stop()}},o)})),F.apply(this,arguments)}var se=t(92296),le=t(27484),de=t.n(le),i=t(85893),ce=function(){var l=(0,m.useRef)(),v=(0,m.useRef)(),j=(0,m.useState)(0),a=D()(j,2),G=a[0],ve=a[1],fe=(0,m.useState)(!1),P=D()(fe,2),R=P[0],pe=P[1],he=(0,I.useIntl)(),me=(0,te.UO)(),T=me.code,xe=(0,I.useModel)("@@initialState"),M=xe.initialState,x=M==null?void 0:M.currentUser,ye=(0,m.useState)(),N=D()(ye,2),p=N[0],Se=N[1],ge=(0,m.useState)([]),U=D()(ge,2),K=U[0],Ie=U[1],w=function(){return window.innerWidth<=768},je=function(){var r=h()(s()().mark(function e(){var n,u,d;return s()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,ie({appCode:T||""});case 2:return u=S.sent,u.data&&ve((d=u.data)===null||d===void 0?void 0:d.filter(function(y){return y.status===0}).length),S.abrupt("return",{data:u.data,total:(n=u.data)===null||n===void 0?void 0:n.length,success:!0});case 5:case"end":return S.stop()}},e)}));return function(){return r.apply(this,arguments)}}(),Te=function(){var r=h()(s()().mark(function e(n){var u;return s()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(n){c.next=2;break}return c.abrupt("return");case 2:return c.next=4,ue({deviceId:n});case 4:(u=v.current)===null||u===void 0||u.reload();case 5:case"end":return c.stop()}},e)}));return function(n){return r.apply(this,arguments)}}(),we=(0,m.useState)({deviceId:{show:!w()},appName:{show:!w()},platform:{show:!w()},deviceBrand:{show:!w()},deviceName:{show:!w()},ip:{show:!w()}}),L=D()(we,2),Ce=L[0],De=L[1],Re=[{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",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:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(e){return e/100}},{title:"ecpm-\u62BD\u6210\u540E(\u5143)",dataIndex:"deductEcpm",hideInSearch:!0,renderText:function(e,n){return x!=null&&x.incomeRate&&n.ecpm?Math.floor(n.ecpm*x.incomeRate/100)/100:"-"}},{title:"\u8BBE\u5907\u54C1\u724C",dataIndex:"deviceBrand",hideInSearch:!0,valueType:"textarea"},{title:"\u8BBE\u5907\u540D",dataIndex:"deviceName",hideInSearch:!0,valueType:"textarea"},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],Ze=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"text",ellipsis:!0,width:400,copyable:!0},{title:"\u72B6\u6001",dataIndex:"status",valueEnum:{0:{text:"\u6B63\u5E38"},"-1":{text:"\u5DF2\u4E0B\u7EBF"}},filters:!0,onFilter:!0},{title:"\u7ED1\u5B9A\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u64CD\u4F5C",dataIndex:"operation",hideInSearch:!0,render:function(e,n){return n.status===0?(0,i.jsx)("a",{onClick:function(){return Te(n.deviceId)},children:"\u4E0B\u7EBF"}):null}}],$e=function(){var r=h()(s()().mark(function e(n){var u,d,c;return s()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,(0,ae._5)(f()(f()({},n),{},{code:T}));case 2:return c=y.sent,y.abrupt("return",{data:(u=c.data)===null||u===void 0?void 0:u.data,total:(d=c.data)===null||d===void 0?void 0:d.total,success:!0});case 4:case"end":return y.stop()}},e)}));return function(n){return r.apply(this,arguments)}}(),Ee=function(){var r=h()(s()().mark(function e(){var n;return s()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,ne({appCode:T});case 2:n=d.sent,n.data&&Se(n.data);case 4:case"end":return d.stop()}},e)}));return function(){return r.apply(this,arguments)}}(),W=function(){var r=h()(s()().mark(function e(n){var u;return s()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,re(f()(f()({},n),{},{code:T}));case 2:u=c.sent,u.data&&Ie(u.data);case 4:case"end":return c.stop()}},e)}));return function(n){return r.apply(this,arguments)}}();(0,m.useEffect)(function(){var r,e;(r=l.current)===null||r===void 0||r.reload(),(e=v.current)===null||e===void 0||e.reload(),Ee(),W(void 0)},[T]);var C=function(e){return e?parseFloat((e/1e5).toFixed(2)):0},Oe=K.map(function(r){return{date:function(){var e=r.date+"",n=e.slice(0,4),u=e.slice(4,6),d=e.slice(6,8);return"".concat(n,"-").concat(u,"-").concat(d)}(),income:C(r.income)}}),be={data:Oe,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+C(K.reduce(function(r,e){return r+(e.income?e.income:0)},0))+"\u5143",height:400,label:{text:function(e){return e.income>0?e.income:""},textBaseline:"bottom"}};return(0,i.jsx)(X._z,{children:(0,i.jsxs)(_.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,i.jsxs)($.Z,{tab:"\u8BBE\u5907\u5217\u8868",children:[(0,i.jsx)("p",{style:{textAlign:"center"},children:"\u6B63\u5E38\u4F7F\u7528\u8BBE\u5907\u6570\uFF1A"+G+"\uFF0C\u5269\u4F59\u53EF\u7ED1\u5B9A\u8BBE\u5907\u6570\uFF1A"+Math.max(0,(x!=null&&x.deviceCnt?x.deviceCnt:0)-G)}),(0,i.jsx)(z.Z,{actionRef:v,rowKey:"id",search:!1,request:je,columns:Ze})]},"1"),(0,i.jsx)($.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,i.jsx)(z.Z,{headerTitle:he.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:l,rowKey:"id",search:{labelWidth:120},request:$e,columns:Re,columnsState:{value:Ce,onChange:function(e){De(e)}}})},"2"),(0,i.jsxs)($.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,i.jsx)(ee.Z,{onResize:function(e){pe(e.width<596)},children:(0,i.jsx)(g.Z,{children:(0,i.jsxs)(g.Z.Group,{direction:R?"column":"row",children:[(0,i.jsx)(g.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:C(p==null?void 0:p.lastMonthIncome)}}),(0,i.jsx)(Z.Z,{type:R?"horizontal":"vertical"}),(0,i.jsx)(g.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:C(p==null?void 0:p.thisMonthIncome)}}),(0,i.jsx)(Z.Z,{type:R?"horizontal":"vertical"}),(0,i.jsx)(g.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:C(p==null?void 0:p.todayIncome)}}),(0,i.jsx)(Z.Z,{type:R?"horizontal":"vertical"}),(0,i.jsx)(g.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:C(p==null?void 0:p.yesterdayIncome)}})]})})},"resize-observer"),(0,i.jsxs)(Y.t,{defaultCollapsed:!0,split:!0,onFinish:W,children:[(0,i.jsx)(k.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,i.jsx)(q.Z,{fieldProps:{disabledDate:function(e){return e&&e>=de()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,i.jsx)(se.Z,f()({},be))]},"3")]})})},oe=ce}}]); diff --git a/dist/umi.23ba36fb.js b/dist/umi.4523c287.js similarity index 99% rename from dist/umi.23ba36fb.js rename to dist/umi.4523c287.js index a4bc362..309de01 100644 --- a/dist/umi.23ba36fb.js +++ b/dist/umi.4523c287.js @@ -426,7 +426,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},51064:function(v,m,e){"use strict";var t=e(76058),r=e(36812),o=e(75773),a=e(23622),s=e(49385),c=e(8758),l=e(38055),u=e(33457),d=e(13841),p=e(62570),h=e(65411),y=e(67697),f=e(53931);v.exports=function(b,C,S,x){var w="stackTraceLimit",T=x?2:1,B=b.split("."),P=B[B.length-1],M=t.apply(null,B);if(M){var H=M.prototype;if(!f&&r(H,"cause")&&delete H.cause,!S)return M;var ue=t("Error"),U=C(function(J,ee){var ae=d(x?ee:J,void 0),j=x?new M(J):new M;return ae!==void 0&&o(j,"message",ae),h(j,U,j.stack,2),this&&a(H,this)&&u(j,this,U),arguments.length>T&&p(j,arguments[T]),j});if(U.prototype=H,P!=="Error"?s?s(U,ue):c(U,ue,{name:!0}):y&&w in M&&(l(U,M,w),l(U,M,"prepareStackTrace")),c(U,M),!f)try{H.name!==P&&o(H,"name",P),H.constructor=U}catch(J){}return U}}},54927:function(v,m,e){"use strict";var t=e(79989),r=e(76058),o=e(61735),a=e(3689),s=e(51064),c="AggregateError",l=r(c),u=!a(function(){return l([1]).errors[0]!==1})&&a(function(){return l([1],c,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:s(c,function(d){return function(h,y){return o(d,this,arguments)}},u,!0)})},39382:function(v,m,e){"use strict";var t=e(79989),r=e(23622),o=e(61868),a=e(49385),s=e(8758),c=e(25391),l=e(75773),u=e(75684),d=e(62570),p=e(65411),h=e(18734),y=e(13841),f=e(44201),b=f("toStringTag"),C=Error,S=[].push,x=function(B,P){var M=r(w,this),H;a?H=a(new C,M?o(this):w):(H=M?this:c(w),l(H,b,"Error")),P!==void 0&&l(H,"message",y(P)),p(H,x,H.stack,1),arguments.length>2&&d(H,arguments[2]);var ue=[];return h(B,S,{that:ue}),l(H,"errors",ue),H};a?a(x,C):s(x,C,{name:!0});var w=x.prototype=c(C.prototype,{constructor:u(1,x),message:u(1,""),name:u(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:x})},95879:function(v,m,e){"use strict";e(39382)},92176:function(v,m,e){"use strict";var t=e(79989),r=e(90690),o=e(6310),a=e(68700),s=e(87370);t({target:"Array",proto:!0},{at:function(l){var u=r(this),d=o(u),p=a(l),h=p>=0?p:d+p;return h<0||h>=d?void 0:u[h]}}),s("at")},93383:function(v,m,e){"use strict";var t=e(79989),r=e(61969).findLastIndex,o=e(87370);t({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},59867:function(v,m,e){"use strict";var t=e(79989),r=e(61969).findLast,o=e(87370);t({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},70560:function(v,m,e){"use strict";var t=e(79989),r=e(90690),o=e(6310),a=e(5649),s=e(55565),c=e(3689),l=c(function(){return[].push.call({length:4294967296},1)!==4294967297}),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(p){return p instanceof TypeError}},d=l||!u();t({target:"Array",proto:!0,arity:1,forced:d},{push:function(h){var y=r(this),f=o(y),b=arguments.length;s(f+b);for(var C=0;C79&&a<83,l=c||!o("reduceRight");t({target:"Array",proto:!0,forced:l},{reduceRight:function(d){return r(this,d,arguments.length,arguments.length>1?arguments[1]:void 0)}})},278:function(v,m,e){"use strict";var t=e(79989),r=e(88820).left,o=e(16834),a=e(3615),s=e(50806),c=!s&&a>79&&a<83,l=c||!o("reduce");t({target:"Array",proto:!0,forced:l},{reduce:function(d){var p=arguments.length;return r(this,d,p,p>1?arguments[1]:void 0)}})},29830:function(v,m,e){"use strict";var t=e(79989),r=e(26166),o=e(65290),a=e(87370),s=Array;t({target:"Array",proto:!0},{toReversed:function(){return r(o(this),s)}}),a("toReversed")},12894:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(10509),a=e(65290),s=e(59976),c=e(88277),l=e(87370),u=Array,d=r(c("Array","sort"));t({target:"Array",proto:!0},{toSorted:function(h){h!==void 0&&o(h);var y=a(this),f=s(u,y);return d(f,h)}}),l("toSorted")},93530:function(v,m,e){"use strict";var t=e(79989),r=e(87370),o=e(55565),a=e(6310),s=e(27578),c=e(65290),l=e(68700),u=Array,d=Math.max,p=Math.min;t({target:"Array",proto:!0},{toSpliced:function(y,f){var b=c(this),C=a(b),S=s(y,C),x=arguments.length,w=0,T,B,P,M;for(x===0?T=B=0:x===1?(T=0,B=C-S):(T=x-2,B=p(d(l(f),0),C-S)),P=o(C+T-B),M=u(P);w=0?f:y+f;return b<0||b>=y?void 0:l(h,b)}})},12281:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(74684),a=e(34327),s=r("".charCodeAt);t({target:"String",proto:!0},{isWellFormed:function(){for(var l=a(o(this)),u=l.length,d=0;d=56320||++d>=u||(s(l,d)&64512)!==56320))return!1}return!0}})},56532:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(68844),a=e(74684),s=e(69985),c=e(981),l=e(91245),u=e(34327),d=e(54849),p=e(63477),h=e(27017),y=e(44201),f=e(53931),b=y("replace"),C=TypeError,S=o("".indexOf),x=o("".replace),w=o("".slice),T=Math.max,B=function(P,M,H){return H>P.length?-1:M===""?H:S(P,M,H)};t({target:"String",proto:!0},{replaceAll:function(M,H){var ue=a(this),U,J,ee,ae,j,ie,ne,q,$,z=0,N=0,E="";if(!c(M)){if(U=l(M),U&&(J=u(a(p(M))),!~S(J,"g")))throw new C("`.replaceAll` does not allow non-global regexes");if(ee=d(M,b),ee)return r(ee,M,ue,H);if(f&&U)return x(u(ue),M,H)}for(ae=u(ue),j=u(M),ie=s(H),ie||(H=u(H)),ne=j.length,q=T(1,ne),z=B(ae,j,0);z!==-1;)$=ie?u(H(j,z,ae)):h(j,ae,z,[],void 0,H),E+=w(ae,N,z)+$,N=z+ne,z=B(ae,j,z+q);return N=56320||w+1>=S||(d(C,w+1)&64512)!==56320?x[w]=y:(x[w]=u(C,w),x[++w]=u(C,w))}return p(x,"")}})},95194:function(v,m,e){"use strict";var t=e(54872),r=e(6310),o=e(68700),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(l){var u=a(this),d=r(u),p=o(l),h=p>=0?p:d+p;return h<0||h>=d?void 0:u[h]})},82:function(v,m,e){"use strict";var t=e(54872),r=e(61969).findLastIndex,o=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLastIndex",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0)})},20522:function(v,m,e){"use strict";var t=e(54872),r=e(61969).findLast,o=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLast",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0)})},79976:function(v,m,e){"use strict";var t=e(19037),r=e(22615),o=e(54872),a=e(6310),s=e(83250),c=e(90690),l=e(3689),u=t.RangeError,d=t.Int8Array,p=d&&d.prototype,h=p&&p.set,y=o.aTypedArray,f=o.exportTypedArrayMethod,b=!l(function(){var S=new Uint8ClampedArray(2);return r(h,S,{length:1,0:3},1),S[1]!==3}),C=b&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var S=new d(2);return S.set(1),S.set("2",1),S[0]!==0||S[1]!==2});f("set",function(x){y(this);var w=s(arguments.length>1?arguments[1]:void 0,1),T=c(x);if(b)return r(h,this,T,w);var B=this.length,P=a(T),M=0;if(P+w>B)throw new u("Wrong length");for(;M1?arguments[1]:void 0)}}),o("filterOut")},54883:function(v,m,e){"use strict";var t=e(79989),r=e(2960).filterReject,o=e(87370);t({target:"Array",proto:!0,forced:!0},{filterReject:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("filterReject")},18073:function(v,m,e){"use strict";var t=e(79989),r=e(2231);t({target:"Array",stat:!0},{fromAsync:r})},96882:function(v,m,e){"use strict";var t=e(79989),r=e(16834),o=e(87370),a=e(44416),s=e(53931);t({target:"Array",proto:!0,name:"groupToMap",forced:s||!r("groupByToMap")},{groupByToMap:a}),o("groupByToMap")},22525:function(v,m,e){"use strict";var t=e(79989),r=e(64976),o=e(16834),a=e(87370);t({target:"Array",proto:!0,forced:!o("groupBy")},{groupBy:function(c){var l=arguments.length>1?arguments[1]:void 0;return r(this,c,l)}}),a("groupBy")},32539:function(v,m,e){"use strict";var t=e(79989),r=e(87370),o=e(44416),a=e(53931);t({target:"Array",proto:!0,forced:a},{groupToMap:o}),r("groupToMap")},36208:function(v,m,e){"use strict";var t=e(79989),r=e(64976),o=e(87370);t({target:"Array",proto:!0},{group:function(s){var c=arguments.length>1?arguments[1]:void 0;return r(this,s,c)}}),o("group")},5082:function(v,m,e){"use strict";var t=e(79989),r=e(92297),o=Object.isFrozen,a=function(s,c){if(!o||!r(s)||!o(s))return!1;for(var l=0,u=s.length,d;l1?arguments[1]:!1);return o([l&255,l>>8&255],10)}})},89246:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=r(DataView.prototype.getUint8);t({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(s){return o(this,s)}})},31186:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(15477).pack,c=e(76043),l=TypeError,u=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(p,h){if(o(this)!=="DataView")throw new l("Incorrect receiver");var y=a(p),f=s(c(h),10,2);return u(this,y,f[1]<<8|f[0],arguments.length>2?arguments[2]:!1)}})},9279:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(87191),c=TypeError,l=r(DataView.prototype.setUint8);t({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(d,p){if(o(this)!=="DataView")throw new c("Incorrect receiver");var h=a(d);return l(this,h,s(p))}})},26725:function(v,m,e){"use strict";var t=e(79989),r=e(67697),o=e(76058),a=e(10509),s=e(767),c=e(11880),l=e(6045),u=e(62148),d=e(44201),p=e(618),h=e(29199),y=o("SuppressedError"),f=ReferenceError,b=d("dispose"),C=d("toStringTag"),S="DisposableStack",x=p.set,w=p.getterFor(S),T="sync-dispose",B="disposed",P="pending",M=function(U){var J=w(U);if(J.state===B)throw new f(S+" already disposed");return J},H=function(){x(s(this,ue),{type:S,state:P,stack:[]}),r||(this.disposed=!1)},ue=H.prototype;l(ue,{dispose:function(){var J=w(this);if(J.state!==B){J.state=B,r||(this.disposed=!0);for(var ee=J.stack,ae=ee.length,j=!1,ie;ae;){var ne=ee[--ae];ee[ae]=null;try{ne()}catch(q){j?ie=new y(q,ie):(j=!0,ie=q)}}if(J.stack=null,j)throw ie}},use:function(J){return h(M(this),J,T),J},adopt:function(J,ee){var ae=M(this);return a(ee),h(ae,void 0,T,function(){ee(J)}),J},defer:function(J){var ee=M(this);a(J),h(ee,void 0,T,J)},move:function(){var J=M(this),ee=new H;return w(ee).stack=J.stack,J.stack=[],J.state=B,r||(this.disposed=!0),ee}}),r&&u(ue,"disposed",{configurable:!0,get:function(){return w(this).state===B}}),c(ue,b,ue.dispose,{name:"dispose"}),c(ue,C,S,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:H})},26125:function(v,m,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},2820:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(69985),a=e(6738),s=e(36812),c=e(67697),l=Object.getOwnPropertyDescriptor,u=/^\s*class\b/,d=r(u.exec),p=function(h){try{if(!c||!d(u,a(h)))return!1}catch(f){}var y=l(h,"prototype");return!!y&&s(y,"writable")&&!y.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(y){return o(y)&&!p(y)}})},62517:function(v,m,e){"use strict";var t=e(79989),r=e(19429);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},54947:function(v,m,e){"use strict";var t=e(44201),r=e(72560).f,o=t("metadata"),a=Function.prototype;a[o]===void 0&&r(a,o,{value:null})},74993:function(v,m,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},50647:function(v,m,e){"use strict";var t=e(79989),r=e(47082);t({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:r})},67602:function(v,m,e){"use strict";var t=e(79989),r=e(19037),o=e(767),a=e(85027),s=e(69985),c=e(61868),l=e(62148),u=e(76522),d=e(3689),p=e(36812),h=e(44201),y=e(12013).IteratorPrototype,f=e(67697),b=e(53931),C="constructor",S="Iterator",x=h("toStringTag"),w=TypeError,T=r[S],B=b||!s(T)||T.prototype!==y||!d(function(){T({})}),P=function(){if(o(this,y),c(this)===y)throw new w("Abstract class Iterator not directly constructable")},M=function(H,ue){f?l(y,H,{configurable:!0,get:function(){return ue},set:function(U){if(a(this),this===y)throw new w("You can't redefine this property");p(this,H)?this[H]=U:u(this,H,U)}}):y[H]=ue};p(y,x)||M(x,S),(B||!p(y,C)||y[C]===Object)&&M(C,P),P.prototype=y,t({global:!0,constructor:!0,forced:B},{Iterator:P})},82639:function(v,m,e){"use strict";var t=e(22615),r=e(11880),o=e(54849),a=e(36812),s=e(44201),c=e(12013).IteratorPrototype,l=s("dispose");a(c,l)||r(c,l,function(){var u=o(this,"return");u&&t(u,this)})},63986:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),l=e(65419),u=e(53931),d=l(function(){for(var p=this.iterator,h=this.next,y,f;this.remaining;)if(this.remaining--,y=o(r(h,p)),f=this.done=!!y.done,f)return;if(y=o(r(h,p)),f=this.done=!!y.done,!f)return y.value});t({target:"Iterator",proto:!0,real:!0,forced:u},{drop:function(h){o(this);var y=c(s(+h));return new d(a(this),{remaining:y})}})},16054:function(v,m,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{every:function(l){a(this),o(l);var u=s(this),d=0;return!r(u,function(p,h){if(!l(p,d++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},53476:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(65419),l=e(71228),u=e(53931),d=c(function(){for(var p=this.iterator,h=this.predicate,y=this.next,f,b,C;;){if(f=a(r(y,p)),b=this.done=!!f.done,b)return;if(C=f.value,l(p,h,[C,this.counter++],!0))return C}});t({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(h){return a(this),o(h),new d(s(this),{predicate:h})}})},70928:function(v,m,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{find:function(l){a(this),o(l);var u=s(this),d=0;return r(u,function(p,h){if(l(p,d++))return h(p)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},49411:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(36752),l=e(65419),u=e(72125),d=e(53931),p=l(function(){for(var h=this.iterator,y=this.mapper,f,b;;){if(b=this.inner)try{if(f=a(r(b.next,b.iterator)),!f.done)return f.value;this.inner=null}catch(C){u(h,"throw",C)}if(f=a(r(this.next,h)),this.done=!!f.done)return;try{this.inner=c(y(f.value,this.counter++),!1)}catch(C){u(h,"throw",C)}}});t({target:"Iterator",proto:!0,real:!0,forced:d},{flatMap:function(y){return a(this),o(y),new p(s(this),{mapper:y,inner:null})}})},30005:function(v,m,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{forEach:function(l){a(this),o(l);var u=s(this),d=0;r(u,function(p){l(p,d++)},{IS_RECORD:!0})}})},73494:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(90690),a=e(23622),s=e(12013).IteratorPrototype,c=e(65419),l=e(36752),u=e(53931),d=c(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:u},{from:function(h){var y=l(typeof h=="string"?o(h):h,!0);return a(s,y.iterator)?y.iterator:new d(y)}})},94564:function(v,m,e){"use strict";var t=e(79989),r=e(47082);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},41792:function(v,m,e){"use strict";var t=e(79989),r=e(88983),o=e(53931);t({target:"Iterator",proto:!0,real:!0,forced:o},{map:r})},5985:function(v,m,e){"use strict";var t=e(79989),r=e(98554),o=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,c,l){if(typeof s=="number")return new r(s,c,l,"number",0,1);if(typeof s=="bigint")return new r(s,c,l,"bigint",BigInt(0),BigInt(1));throw new o("Incorrect Iterator.range arguments")}})},31107:function(v,m,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302),c=TypeError;t({target:"Iterator",proto:!0,real:!0},{reduce:function(u){a(this),o(u);var d=s(this),p=arguments.length<2,h=p?void 0:arguments[1],y=0;if(r(d,function(f){p?(p=!1,h=f):h=u(h,f,y),y++},{IS_RECORD:!0}),p)throw new c("Reduce of empty iterator with no initial value");return h}})},28244:function(v,m,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{some:function(l){a(this),o(l);var u=s(this),d=0;return r(u,function(p,h){if(l(p,d++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},3645:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),l=e(65419),u=e(72125),d=e(53931),p=l(function(){var h=this.iterator;if(!this.remaining--)return this.done=!0,u(h,"normal",void 0);var y=o(r(this.next,h)),f=this.done=!!y.done;if(!f)return y.value});t({target:"Iterator",proto:!0,real:!0,forced:d},{take:function(y){o(this);var f=c(s(+y));return new p(a(this),{remaining:f})}})},58429:function(v,m,e){"use strict";var t=e(79989),r=e(85027),o=e(18734),a=e(22302),s=[].push;t({target:"Iterator",proto:!0,real:!0},{toArray:function(){var l=[];return o(a(r(this)),s,{that:l,IS_RECORD:!0}),l}})},39569:function(v,m,e){"use strict";var t=e(79989),r=e(85027),o=e(29019),a=e(40219),s=e(22302),c=e(53931);t({target:"Iterator",proto:!0,real:!0,forced:c},{toAsync:function(){return new a(s(new o(s(r(this)))))}})},74320:function(v,m,e){"use strict";var t=e(79989),r=e(22818),o=e(55670);t({target:"JSON",stat:!0,forced:!r},{isRawJSON:o})},20691:function(v,m,e){"use strict";var t=e(79989),r=e(67697),o=e(19037),a=e(76058),s=e(68844),c=e(22615),l=e(69985),u=e(48999),d=e(92297),p=e(36812),h=e(34327),y=e(6310),f=e(76522),b=e(3689),C=e(46675),S=e(50146),x=o.JSON,w=o.Number,T=o.SyntaxError,B=x&&x.parse,P=a("Object","keys"),M=Object.getOwnPropertyDescriptor,H=s("".charAt),ue=s("".slice),U=s(/./.exec),J=s([].push),ee=/^\d$/,ae=/^[1-9]$/,j=/^(?:-|\d)$/,ie=/^[\t\n\r ]$/,ne=0,q=1,$=function(te,V){te=h(te);var pe=new F(te,0,""),xe=pe.parse(),Ne=xe.value,He=pe.skip(ie,xe.end);if(He1?arguments[1]:void 0);return a(l,function(d,p){if(!u(d,p,l))return!1},!0)!==!1}})},41099:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(d){var p=o(this),h=r(d,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(f,b){h(f,b,p)&&l(y,b,f)}),y}})},20876:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(c){var l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0),d=a(l,function(p,h){if(u(p,h,l))return{key:h}},!0);return d&&d.key}})},26320:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{find:function(c){var l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0),d=a(l,function(p,h){if(u(p,h,l))return{value:p}},!0);return d&&d.value}})},6052:function(v,m,e){"use strict";var t=e(79989),r=e(28737);t({target:"Map",stat:!0,forced:!0},{from:r})},76791:function(v,m,e){"use strict";var t=e(79989),r=e(68600),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(c){return a(o(this),function(l){if(r(l,c))return!0},!0)===!0}})},75341:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(18734),a=e(69985),s=e(10509),c=e(83914).Map;t({target:"Map",stat:!0,forced:!0},{keyBy:function(u,d){var p=a(this)?this:c,h=new p;s(d);var y=s(h.set);return o(u,function(f){r(y,h,d(f),f)}),h}})},40019:function(v,m,e){"use strict";var t=e(79989),r=e(9945),o=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(s){var c=o(r(this),function(l,u){if(l===s)return{key:u}},!0);return c&&c.key}})},92343:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(d){var p=o(this),h=r(d,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(f,b){l(y,h(f,b,p),f)}),y}})},51096:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(d){var p=o(this),h=r(d,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(f,b){l(y,b,h(f,b,p))}),y}})},4314:function(v,m,e){"use strict";var t=e(79989),r=e(9945),o=e(18734),a=e(83914).set;t({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(c){for(var l=r(this),u=arguments.length,d=0;d1?arguments[1]:void 0);return a(l,function(d,p){if(u(d,p,l))return!0},!0)===!0}})},24453:function(v,m,e){"use strict";var t=e(79989),r=e(41432);t({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:r})},64078:function(v,m,e){"use strict";var t=e(79989),r=e(10509),o=e(9945),a=e(83914),s=TypeError,c=a.get,l=a.has,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(p,h){var y=o(this),f=arguments.length;r(h);var b=l(y,p);if(!b&&f<3)throw new s("Updating absent value");var C=b?c(y,p):r(f>2?arguments[2]:void 0)(p,y);return u(y,p,h(C,p,y)),y}})},66190:function(v,m,e){"use strict";var t=e(79989),r=e(41432);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},25684:function(v,m,e){"use strict";var t=e(79989),r=Math.min,o=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,c,l){return r(l,o(c,s))}})},31789:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},8677:function(v,m,e){"use strict";var t=e(79989),r=180/Math.PI;t({target:"Math",stat:!0,forced:!0},{degrees:function(a){return a*r}})},59151:function(v,m,e){"use strict";var t=e(79989),r=e(76043);t({target:"Math",stat:!0},{f16round:r})},346:function(v,m,e){"use strict";var t=e(79989),r=e(84463),o=e(37788);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,c,l,u,d){return o(r(s,c,l,u,d))}})},91069:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{iaddh:function(o,a,s,c){var l=o>>>0,u=a>>>0,d=s>>>0;return u+(c>>>0)+((l&d|(l|d)&~(l+d>>>0))>>>31)|0}})},18886:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{imulh:function(o,a){var s=65535,c=+o,l=+a,u=c&s,d=l&s,p=c>>16,h=l>>16,y=(p*d>>>0)+(u*d>>>16);return p*h+(y>>16)+((u*h>>>0)+(y&s)>>16)}})},88065:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{isubh:function(o,a,s,c){var l=o>>>0,u=a>>>0,d=s>>>0;return u-(c>>>0)-((~l&d|~(l^d)&l-d>>>0)>>>31)|0}})},68172:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},60445:function(v,m,e){"use strict";var t=e(79989),r=Math.PI/180;t({target:"Math",stat:!0,forced:!0},{radians:function(a){return a*r}})},99457:function(v,m,e){"use strict";var t=e(79989),r=e(84463);t({target:"Math",stat:!0,forced:!0},{scale:r})},613:function(v,m,e){"use strict";var t=e(79989),r=e(85027),o=e(70046),a=e(30974),s=e(27807),c=e(618),l="Seeded Random",u=l+" Generator",d='Math.seededPRNG() argument should have a "seed" field with a finite value.',p=c.set,h=c.getterFor(u),y=TypeError,f=a(function(C){p(this,{type:u,seed:C%2147483647})},l,function(){var C=h(this),S=C.seed=(C.seed*1103515245+12345)%2147483647;return s((S&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(C){var S=r(C).seed;if(!o(S))throw new y(d);return new f(S)}})},835:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{signbit:function(o){var a=+o;return a===a&&a===0?1/a===-1/0:a<0}})},926:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{umulh:function(o,a){var s=65535,c=+o,l=+a,u=c&s,d=l&s,p=c>>>16,h=l>>>16,y=(p*d>>>0)+(u*d>>>16);return p*h+(y>>>16)+((u*h>>>0)+(y&s)>>>16)}})},82899:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(68700),a="Invalid number representation",s="Invalid radix",c=RangeError,l=SyntaxError,u=TypeError,d=parseInt,p=Math.pow,h=/^[\d.a-z]+$/,y=r("".charAt),f=r(h.exec),b=r(1 .toString),C=r("".slice),S=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(w,T){var B=1;if(typeof w!="string")throw new u(a);if(!w.length)throw new l(a);if(y(w,0)==="-"&&(B=-1,w=C(w,1),!w.length))throw new l(a);var P=T===void 0?10:o(T);if(P<2||P>36)throw new c(s);if(!f(h,w))throw new l(a);var M=S(w,"."),H=d(M[0],P);if(M.length>1&&(H+=d(M[1],P)/p(P,M[1].length)),P===10&&b(H,P)!==w)throw new l(a);return B*H}})},29977:function(v,m,e){"use strict";var t=e(79989),r=e(98554);t({target:"Number",stat:!0,forced:!0},{range:function(a,s,c){return new r(a,s,c,"number",0,1)}})},31927:function(v,m,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateEntries:function(a){return new r(a,"entries")}})},77131:function(v,m,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateKeys:function(a){return new r(a,"keys")}})},55174:function(v,m,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateValues:function(a){return new r(a,"values")}})},63503:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(67697),a=e(14241),s=e(10509),c=e(85027),l=e(767),u=e(69985),d=e(981),p=e(48999),h=e(54849),y=e(11880),f=e(6045),b=e(62148),C=e(20920),S=e(44201),x=e(618),w=S("observable"),T="Observable",B="Subscription",P="SubscriptionObserver",M=x.getterFor,H=x.set,ue=M(T),U=M(B),J=M(P),ee=function(q){this.observer=c(q),this.cleanup=void 0,this.subscriptionObserver=void 0};ee.prototype={type:B,clean:function(){var q=this.cleanup;if(q){this.cleanup=void 0;try{q()}catch($){C($)}}},close:function(){if(!o){var q=this.facade,$=this.subscriptionObserver;q.closed=!0,$&&($.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var ae=function(q,$){var z=H(this,new ee(q)),N;o||(this.closed=!1);try{(N=h(q,"start"))&&r(N,q,this)}catch(le){C(le)}if(!z.isClosed()){var E=z.subscriptionObserver=new j(z);try{var F=$(E),Q=F;d(F)||(z.cleanup=u(F.unsubscribe)?function(){Q.unsubscribe()}:s(F))}catch(le){E.error(le);return}z.isClosed()&&z.clean()}};ae.prototype=f({},{unsubscribe:function(){var $=U(this);$.isClosed()||($.close(),$.clean())}}),o&&b(ae.prototype,"closed",{configurable:!0,get:function(){return U(this).isClosed()}});var j=function(q){H(this,{type:P,subscriptionState:q}),o||(this.closed=!1)};j.prototype=f({},{next:function($){var z=J(this).subscriptionState;if(!z.isClosed()){var N=z.observer;try{var E=h(N,"next");E&&r(E,N,$)}catch(F){C(F)}}},error:function($){var z=J(this).subscriptionState;if(!z.isClosed()){var N=z.observer;z.close();try{var E=h(N,"error");E?r(E,N,$):C($)}catch(F){C(F)}z.clean()}},complete:function(){var $=J(this).subscriptionState;if(!$.isClosed()){var z=$.observer;$.close();try{var N=h(z,"complete");N&&r(N,z)}catch(E){C(E)}$.clean()}}}),o&&b(j.prototype,"closed",{configurable:!0,get:function(){return J(this).subscriptionState.isClosed()}});var ie=function($){l(this,ne),H(this,{type:T,subscriber:s($)})},ne=ie.prototype;f(ne,{subscribe:function($){var z=arguments.length;return new ae(u($)?{next:$,error:z>1?arguments[1]:void 0,complete:z>2?arguments[2]:void 0}:p($)?$:{},ue(this).subscriber)}}),y(ne,w,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:ie}),a(T)},9818:function(v,m,e){"use strict";var t=e(79989),r=e(76058),o=e(22615),a=e(85027),s=e(19429),c=e(5185),l=e(54849),u=e(18734),d=e(44201),p=d("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(y){var f=s(this)?this:r("Observable"),b=l(a(y),p);if(b){var C=a(o(b,y));return C.constructor===f?C:new f(function(x){return C.subscribe(x)})}var S=c(y);return new f(function(x){u(S,function(w,T){if(x.next(w),x.closed)return T()},{IS_ITERATOR:!0,INTERRUPTED:!0}),x.complete()})}})},76314:function(v,m,e){"use strict";e(63503),e(9818),e(38771)},38771:function(v,m,e){"use strict";var t=e(79989),r=e(76058),o=e(19429),a=r("Array");t({target:"Observable",stat:!0,forced:!0},{of:function(){for(var c=o(this)?this:r("Observable"),l=arguments.length,u=a(l),d=0;d?@[\\\\\\]^`{|}~"+a+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(d){var p=o(d),h=s(p,0);return(h>47&&h<58?"\\x3":"")+c(p,l,"\\$&")}})},57282:function(v,m,e){"use strict";var t=e(79989),r=e(10029),o=e(61034).add;t({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var s=r(this),c=0,l=arguments.length;c1?arguments[1]:void 0);return a(l,function(d){if(!u(d,d,l))return!1},!0)!==!1}})},96986:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,l=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(d){var p=o(this),h=r(d,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(f){h(f,f,p)&&l(y,f)}),y}})},95681:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(48774);t({target:"Set",proto:!0,real:!0,forced:!0},{find:function(c){var l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0),d=a(l,function(p){if(u(p,p,l))return{value:p}},!0);return d&&d.value}})},13781:function(v,m,e){"use strict";var t=e(79989),r=e(28737);t({target:"Set",stat:!0,forced:!0},{from:r})},98873:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(72948);t({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(c){return r(a,this,o(c))}})},33442:function(v,m,e){"use strict";var t=e(79989),r=e(3689),o=e(72948),a=e(53234),s=!a("intersection")||r(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});t({target:"Set",proto:!0,real:!0,forced:s},{intersection:o})},50308:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(97795);t({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(c){return r(a,this,o(c))}})},61964:function(v,m,e){"use strict";var t=e(79989),r=e(97795),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:r})},18955:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(26951);t({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(c){return r(a,this,o(c))}})},69878:function(v,m,e){"use strict";var t=e(79989),r=e(26951),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:r})},65115:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(3894);t({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(c){return r(a,this,o(c))}})},52915:function(v,m,e){"use strict";var t=e(79989),r=e(3894),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:r})},19490:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(10029),a=e(48774),s=e(34327),c=r([].join),l=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(d){var p=o(this),h=d===void 0?",":s(d),y=[];return a(p,function(f){l(y,f)}),c(y,h)}})},95752:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,l=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(d){var p=o(this),h=r(d,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(f){l(y,h(f,f,p))}),y}})},32789:function(v,m,e){"use strict";var t=e(79989),r=e(1114);t({target:"Set",stat:!0,forced:!0},{of:r})},27913:function(v,m,e){"use strict";var t=e(79989),r=e(10509),o=e(10029),a=e(48774),s=TypeError;t({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(l){var u=o(this),d=arguments.length<2,p=d?void 0:arguments[1];if(r(l),a(u,function(h){d?(d=!1,p=h):p=l(p,h,h,u)}),d)throw new s("Reduce of empty set with no initial value");return p}})},6831:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(48774);t({target:"Set",proto:!0,real:!0,forced:!0},{some:function(c){var l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0);return a(l,function(d){if(u(d,d,l))return!0},!0)===!0}})},90243:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(62289);t({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(c){return r(a,this,o(c))}})},97895:function(v,m,e){"use strict";var t=e(79989),r=e(62289),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:r})},98030:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(75674);t({target:"Set",proto:!0,real:!0,forced:!0},{union:function(c){return r(a,this,o(c))}})},22275:function(v,m,e){"use strict";var t=e(79989),r=e(75674),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:r})},86220:function(v,m,e){"use strict";var t=e(79989),r=e(10730).charAt,o=e(74684),a=e(68700),s=e(34327);t({target:"String",proto:!0,forced:!0},{at:function(l){var u=s(o(this)),d=u.length,p=a(l),h=p>=0?p:d+p;return h<0||h>=d?void 0:r(u,h)}})},95853:function(v,m,e){"use strict";var t=e(79989),r=e(30974),o=e(27807),a=e(74684),s=e(34327),c=e(618),l=e(10730),u=l.codeAt,d=l.charAt,p="String Iterator",h=c.set,y=c.getterFor(p),f=r(function(C){h(this,{type:p,string:C,index:0})},"String",function(){var C=y(this),S=C.string,x=C.index,w;return x>=S.length?o(void 0,!0):(w=d(S,x),C.index+=w.length,o({codePoint:u(w,0),position:x},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new f(s(a(this)))}})},21917:function(v,m,e){"use strict";var t=e(79989),r=e(8195);t({target:"String",stat:!0,forced:!0},{cooked:r})},66084:function(v,m,e){"use strict";var t=e(71594),r=e(79989),o=e(98702),a=e(68844),s=e(61735),c=e(85027),l=e(90690),u=e(69985),d=e(6310),p=e(72560).f,h=e(9015),y=e(16803),f=e(8195),b=e(98985),C=e(86350),S=new y.WeakMap,x=y.get,w=y.has,T=y.set,B=Array,P=TypeError,M=Object.freeze||Object,H=Object.isFrozen,ue=Math.min,U=a("".charAt),J=a("".slice),ee=a("".split),ae=a(/./.exec),j=/([\n\u2028\u2029]|\r\n?)/g,ie=RegExp("^["+C+"]*"),ne=RegExp("[^"+C+"]"),q="Invalid tag",$="Invalid opening line",z="Invalid closing line",N=function(V){var pe=V.raw;if(t&&!H(pe))throw new P("Raw template should be frozen");if(w(S,pe))return x(S,pe);var xe=E(pe),Ne=Q(xe);return p(Ne,"raw",{value:M(xe)}),M(Ne),T(S,pe,Ne),Ne},E=function(V){var pe=l(V),xe=d(pe),Ne=B(xe),He=B(xe),Qe=0,pt,Pt,tt,ft;if(!xe)throw new P(q);for(;Qe0)throw new P($);pt[1]=""}if(he){if(pt.length===1||ae(ne,pt[pt.length-1]))throw new P(z);pt[pt.length-2]="",pt[pt.length-1]=""}for(var X=2;X1?arguments[1]:void 0);return o(this,u)},!0)},59359:function(v,m,e){"use strict";var t=e(54872),r=e(2960).filterReject,o=e(20716),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(l){var u=r(a(this),l,arguments.length>1?arguments[1]:void 0);return o(this,u)},!0)},76677:function(v,m,e){"use strict";var t=e(76058),r=e(52655),o=e(2231),a=e(54872),s=e(59976),c=a.aTypedArrayConstructor,l=a.exportTypedArrayStaticMethod;l("fromAsync",function(d){var p=this,h=arguments.length,y=h>1?arguments[1]:void 0,f=h>2?arguments[2]:void 0;return new(t("Promise"))(function(b){r(p),b(o(d,y,f))}).then(function(b){return s(c(p),b)})},!0)},30548:function(v,m,e){"use strict";var t=e(54872),r=e(64976),o=e(47338),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(l){var u=arguments.length>1?arguments[1]:void 0;return r(a(this),l,u,o)},!0)},915:function(v,m,e){"use strict";var t=e(54872),r=e(6310),o=e(9401),a=e(27578),s=e(71530),c=e(68700),l=e(3689),u=t.aTypedArray,d=t.getTypedArrayConstructor,p=t.exportTypedArrayMethod,h=Math.max,y=Math.min,f=!l(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,S){var x=u(this),w=d(x),T=r(x),B=a(C,T),P=arguments.length,M=0,H,ue,U,J,ee,ae,j;if(P===0)H=ue=0;else if(P===1)H=0,ue=T-B;else if(ue=y(h(c(S),0),T-B),H=P-2,H){J=new w(H),U=o(J);for(var ie=2;ie1?a(arguments[1]):void 0,H=d(M)==="base64"?p:h,ue=M?!!M.strict:!1,U=ue?P:C(P,w,"");if(U.length%4===0)S(U,-2)==="=="?U=S(U,0,-2):S(U,-1)==="="&&(U=S(U,0,-1));else if(ue)throw new f("Input is not correctly padded");var J=U.length%4;switch(J){case 1:throw new f("Bad input length");case 2:U+="AA";break;case 3:U+="A"}for(var ee=[],ae=0,j=U.length,ie=function($){var z=b(U,ae+$);if(!c(H,z))throw new f('Bad char in input: "'+z+'"');return H[z]<<18-6*$};ae>16&255,ne>>8&255,ne&255)}var q=ee.length;if(J===2){if(ue&&ee[q-2]!==0)throw new f(T);q-=2}else if(J===3){if(ue&&ee[q-1]!==0)throw new f(T);q--}return l(y,ee,q)}})},91117:function(v,m,e){"use strict";var t=e(79989),r=e(19037),o=e(68844),a=e(51082),s=r.Uint8Array,c=r.SyntaxError,l=r.parseInt,u=/[^\da-f]/i,d=o(u.exec),p=o("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(y){a(y);var f=y.length;if(f%2)throw new c("String should have an even number of characters");if(d(u,y))throw new c("String should only contain hex characters");for(var b=new s(f/2),C=0;C>6*P&63)};x+21&&!p(arguments[1])?b(arguments[1]):void 0,Pe=Y?Y.transfer:void 0,Ze,De;Pe!==void 0&&(Ze=new N,De=Oe(Pe,Ze));var Fe=fe(re,Ze);return De&&_e(De),Fe}})},98858:function(v,m,e){"use strict";var t=e(11880),r=e(68844),o=e(34327),a=e(21500),s=URLSearchParams,c=s.prototype,l=r(c.append),u=r(c.delete),d=r(c.forEach),p=r([].push),h=new s("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&t(c,"delete",function(y){var f=arguments.length,b=f<2?void 0:arguments[1];if(f&&b===void 0)return u(this,y);var C=[];d(this,function(H,ue){p(C,{key:ue,value:H})}),a(f,1);for(var S=o(y),x=o(b),w=0,T=0,B=!1,P=C.length,M;wr.length)&&(o=r.length);for(var a=0,s=new Array(o);a=o.length?{done:!0}:{done:!1,value:o[c++]}},e:function(y){throw y},f:l}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u=!0,d=!1,p;return{s:function(){s=s.call(o)},n:function(){var y=s.next();return u=y.done,y},e:function(y){d=!0,p=y},f:function(){try{!u&&s.return!=null&&s.return()}finally{if(d)throw p}}}}},29388:function(v,m,e){"use strict";e.d(m,{Z:function(){return a}});var t=e(61120),r=e(78814),o=e(82963);function a(s){var c=(0,r.Z)();return function(){var u=(0,t.Z)(s),d;if(c){var p=(0,t.Z)(this).constructor;d=Reflect.construct(u,arguments,p)}else d=u.apply(this,arguments);return(0,o.Z)(this,d)}}},4942:function(v,m,e){"use strict";e.d(m,{Z:function(){return r}});var t=e(83997);function r(o,a,s){return a=(0,t.Z)(a),a in o?Object.defineProperty(o,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[a]=s,o}},87462:function(v,m,e){"use strict";e.d(m,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)&&(s[l]=o[l]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},82963:function(v,m,e){"use strict";e.d(m,{Z:function(){return o}});var t=e(71002),r=e(97326);function o(a,s){if(s&&((0,t.Z)(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(a)}},74165:function(v,m,e){"use strict";e.d(m,{Z:function(){return r}});var t=e(71002);function r(){"use strict";r=function(){return a};var o,a={},s=Object.prototype,c=s.hasOwnProperty,l=Object.defineProperty||function(N,E,F){N[E]=F.value},u=typeof Symbol=="function"?Symbol:{},d=u.iterator||"@@iterator",p=u.asyncIterator||"@@asyncIterator",h=u.toStringTag||"@@toStringTag";function y(N,E,F){return Object.defineProperty(N,E,{value:F,enumerable:!0,configurable:!0,writable:!0}),N[E]}try{y({},"")}catch(N){y=function(F,Q,le){return F[Q]=le}}function f(N,E,F,Q){var le=E&&E.prototype instanceof B?E:B,te=Object.create(le.prototype),V=new $(Q||[]);return l(te,"_invoke",{value:j(N,F,V)}),te}function b(N,E,F){try{return{type:"normal",arg:N.call(E,F)}}catch(Q){return{type:"throw",arg:Q}}}a.wrap=f;var C="suspendedStart",S="suspendedYield",x="executing",w="completed",T={};function B(){}function P(){}function M(){}var H={};y(H,d,function(){return this});var ue=Object.getPrototypeOf,U=ue&&ue(ue(z([])));U&&U!==s&&c.call(U,d)&&(H=U);var J=M.prototype=B.prototype=Object.create(H);function ee(N){["next","throw","return"].forEach(function(E){y(N,E,function(F){return this._invoke(E,F)})})}function ae(N,E){function F(le,te,V,pe){var xe=b(N[le],N,te);if(xe.type!=="throw"){var Ne=xe.arg,He=Ne.value;return He&&(0,t.Z)(He)=="object"&&c.call(He,"__await")?E.resolve(He.__await).then(function(Qe){F("next",Qe,V,pe)},function(Qe){F("throw",Qe,V,pe)}):E.resolve(He).then(function(Qe){Ne.value=Qe,V(Ne)},function(Qe){return F("throw",Qe,V,pe)})}pe(xe.arg)}var Q;l(this,"_invoke",{value:function(te,V){function pe(){return new E(function(xe,Ne){F(te,V,xe,Ne)})}return Q=Q?Q.then(pe,pe):pe()}})}function j(N,E,F){var Q=C;return function(le,te){if(Q===x)throw new Error("Generator is already running");if(Q===w){if(le==="throw")throw te;return{value:o,done:!0}}for(F.method=le,F.arg=te;;){var V=F.delegate;if(V){var pe=ie(V,F);if(pe){if(pe===T)continue;return pe}}if(F.method==="next")F.sent=F._sent=F.arg;else if(F.method==="throw"){if(Q===C)throw Q=w,F.arg;F.dispatchException(F.arg)}else F.method==="return"&&F.abrupt("return",F.arg);Q=x;var xe=b(N,E,F);if(xe.type==="normal"){if(Q=F.done?w:S,xe.arg===T)continue;return{value:xe.arg,done:F.done}}xe.type==="throw"&&(Q=w,F.method="throw",F.arg=xe.arg)}}}function ie(N,E){var F=E.method,Q=N.iterator[F];if(Q===o)return E.delegate=null,F==="throw"&&N.iterator.return&&(E.method="return",E.arg=o,ie(N,E),E.method==="throw")||F!=="return"&&(E.method="throw",E.arg=new TypeError("The iterator does not provide a '"+F+"' method")),T;var le=b(Q,N.iterator,E.arg);if(le.type==="throw")return E.method="throw",E.arg=le.arg,E.delegate=null,T;var te=le.arg;return te?te.done?(E[N.resultName]=te.value,E.next=N.nextLoc,E.method!=="return"&&(E.method="next",E.arg=o),E.delegate=null,T):te:(E.method="throw",E.arg=new TypeError("iterator result is not an object"),E.delegate=null,T)}function ne(N){var E={tryLoc:N[0]};1 in N&&(E.catchLoc=N[1]),2 in N&&(E.finallyLoc=N[2],E.afterLoc=N[3]),this.tryEntries.push(E)}function q(N){var E=N.completion||{};E.type="normal",delete E.arg,N.completion=E}function $(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(ne,this),this.reset(!0)}function z(N){if(N||N===""){var E=N[d];if(E)return E.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var F=-1,Q=function le(){for(;++F=0;--le){var te=this.tryEntries[le],V=te.completion;if(te.tryLoc==="root")return Q("end");if(te.tryLoc<=this.prev){var pe=c.call(te,"catchLoc"),xe=c.call(te,"finallyLoc");if(pe&&xe){if(this.prev=0;--Q){var le=this.tryEntries[Q];if(le.tryLoc<=this.prev&&c.call(le,"finallyLoc")&&this.prev=0;--F){var Q=this.tryEntries[F];if(Q.finallyLoc===E)return this.complete(Q.completion,Q.afterLoc),q(Q),T}},catch:function(E){for(var F=this.tryEntries.length-1;F>=0;--F){var Q=this.tryEntries[F];if(Q.tryLoc===E){var le=Q.completion;if(le.type==="throw"){var te=le.arg;q(Q)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(E,F,Q){return this.delegate={iterator:z(E),resultName:F,nextLoc:Q},this.method==="next"&&(this.arg=o),T}},a}},97685:function(v,m,e){"use strict";e.d(m,{Z:function(){return s}});var t=e(83878);function r(c,l){var u=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(u!=null){var d,p,h,y,f=[],b=!0,C=!1;try{if(h=(u=u.call(c)).next,l===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(d=h.call(u)).done)&&(f.push(d.value),f.length!==l);b=!0);}catch(S){C=!0,p=S}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(C)throw p}}return f}}var o=e(40181),a=e(25267);function s(c,l){return(0,t.Z)(c)||r(c,l)||(0,o.Z)(c,l)||(0,a.Z)()}},84506:function(v,m,e){"use strict";e.d(m,{Z:function(){return s}});var t=e(83878),r=e(59199),o=e(40181),a=e(25267);function s(c){return(0,t.Z)(c)||(0,r.Z)(c)||(0,o.Z)(c)||(0,a.Z)()}},74902:function(v,m,e){"use strict";e.d(m,{Z:function(){return c}});var t=e(30907);function r(l){if(Array.isArray(l))return(0,t.Z)(l)}var o=e(59199),a=e(40181);function s(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(l){return r(l)||(0,o.Z)(l)||(0,a.Z)(l)||s()}},83997:function(v,m,e){"use strict";e.d(m,{Z:function(){return o}});var t=e(71002);function r(a,s){if((0,t.Z)(a)!="object"||!a)return a;var c=a[Symbol.toPrimitive];if(c!==void 0){var l=c.call(a,s||"default");if((0,t.Z)(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}function o(a){var s=r(a,"string");return(0,t.Z)(s)=="symbol"?s:String(s)}},71002:function(v,m,e){"use strict";e.d(m,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},t(r)}},40181:function(v,m,e){"use strict";e.d(m,{Z:function(){return r}});var t=e(30907);function r(o,a){if(o){if(typeof o=="string")return(0,t.Z)(o,a);var s=Object.prototype.toString.call(o).slice(8,-1);if(s==="Object"&&o.constructor&&(s=o.constructor.name),s==="Map"||s==="Set")return Array.from(o);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return(0,t.Z)(o,a)}}},58096:function(v,m,e){"use strict";e.d(m,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)&&(s[l]=o[l]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,m,e){"use strict";e.d(m,{J$:function(){return Ze},ZP:function(){return De},kY:function(){return R}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=Fe=>Fe===a,l=Fe=>typeof Fe=="function",u=(Fe,me)=>Ul(Ul({},Fe),me),d=Fe=>l(Fe.then),p=new WeakMap;let h=0;const y=Fe=>{const me=typeof Fe,Se=Fe&&Fe.constructor,Ae=Se==Date;let Ue,rt;if(s(Fe)===Fe&&!Ae&&Se!=RegExp){if(Ue=p.get(Fe),Ue)return Ue;if(Ue=++h+"~",p.set(Fe,Ue),Se==Array){for(Ue="@",rt=0;rtx&&typeof window.requestAnimationFrame!=S,B=(Fe,me)=>{const Se=f.get(Fe);return[()=>!c(me)&&Fe.get(me)||b,Ae=>{if(!c(me)){const Ue=Fe.get(me);me in C||(C[me]=Ue),Se[5](me,u(Ue,Ae),Ue||b)}},Se[6],()=>!c(me)&&me in C?C[me]:!c(me)&&Fe.get(me)||b]};let P=!0;const M=()=>P,[H,ue]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],U=()=>{const Fe=w&&document.visibilityState;return c(Fe)||Fe!=="hidden"},J=Fe=>(w&&document.addEventListener("visibilitychange",Fe),H("focus",Fe),()=>{w&&document.removeEventListener("visibilitychange",Fe),ue("focus",Fe)}),ee=Fe=>{const me=()=>{P=!0,Fe()},Se=()=>{P=!1};return H("online",me),H("offline",Se),()=>{ue("online",me),ue("offline",Se)}},ae={isOnline:M,isVisible:U},j={initFocus:J,initReconnect:ee},ie=!t.useId,ne=!x||"Deno"in window,q=Fe=>T()?window.requestAnimationFrame(Fe):setTimeout(Fe,1),$=ne?t.useEffect:t.useLayoutEffect,z=typeof navigator!="undefined"&&navigator.connection,N=!ne&&z&&(["slow-2g","2g"].includes(z.effectiveType)||z.saveData),E=Fe=>{if(l(Fe))try{Fe=Fe()}catch(Se){Fe=""}const me=Fe;return Fe=typeof Fe=="string"?Fe:(Array.isArray(Fe)?Fe.length:Fe)?y(Fe):"",[Fe,me]};let F=0;const Q=()=>++F,le=0,te=1,V=2;var xe={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:le,MUTATE_EVENT:V,RECONNECT_EVENT:te};function Ne(...Fe){return Lu(this,null,function*(){const[me,Se,Ae,Ue]=Fe,rt=u({populateCache:!0,throwOnError:!0},typeof Ue=="boolean"?{revalidate:Ue}:Ue||{});let ke=rt.populateCache;const Xe=rt.rollbackOnError;let Ce=rt.optimisticData;const je=st=>typeof Xe=="function"?Xe(st):Xe!==!1,ve=rt.throwOnError;if(l(Se)){const st=Se,vt=[],Te=me.keys();for(const Ge of Te)!/^\$(inf|sub)\$/.test(Ge)&&st(me.get(Ge)._k)&&vt.push(Ge);return Promise.all(vt.map(Ke))}return Ke(Se);function Ke(st){return Lu(this,null,function*(){const[vt]=E(st);if(!vt)return;const[Te,Ge]=B(me,vt),[nt,et,St,Rt]=f.get(me),Bt=()=>{const gn=nt[vt];return(l(rt.revalidate)?rt.revalidate(Te().data,st):rt.revalidate!==!1)&&(delete St[vt],delete Rt[vt],gn&&gn[0])?gn[0](V).then(()=>Te().data):Te().data};if(Fe.length<3)return Bt();let $t=Ae,wt;const Et=Q();et[vt]=[Et,0];const Ct=!c(Ce),Ft=Te(),xn=Ft.data,hn=Ft._c,On=c(hn)?xn:hn;if(Ct&&(Ce=l(Ce)?Ce(On,xn):Ce,Ge({data:Ce,_c:On})),l($t))try{$t=$t(On)}catch(gn){wt=gn}if($t&&d($t))if($t=yield $t.catch(gn=>{wt=gn}),Et!==et[vt][0]){if(wt)throw wt;return $t}else wt&&Ct&&je(wt)&&(ke=!0,Ge({data:On,_c:a}));if(ke&&!wt)if(l(ke)){const gn=ke($t,On);Ge({data:gn,error:a,_c:a})}else Ge({data:$t,error:a,_c:a});if(et[vt][1]=Q(),Promise.resolve(Bt()).then(()=>{Ge({_c:a})}),wt){if(ve)throw wt;return}return $t})}})}const He=(Fe,me)=>{for(const Se in Fe)Fe[Se][0]&&Fe[Se][0](me)},Qe=(Fe,me)=>{if(!f.has(Fe)){const Se=u(j,me),Ae={},Ue=Ne.bind(a,Fe);let rt=o;const ke={},Xe=(ve,Ke)=>{const st=ke[ve]||[];return ke[ve]=st,st.push(Ke),()=>st.splice(st.indexOf(Ke),1)},Ce=(ve,Ke,st)=>{Fe.set(ve,Ke);const vt=ke[ve];if(vt)for(const Te of vt)Te(Ke,st)},je=()=>{if(!f.has(Fe)&&(f.set(Fe,[Ae,{},{},{},Ue,Ce,Xe]),!ne)){const ve=Se.initFocus(setTimeout.bind(a,He.bind(a,Ae,le))),Ke=Se.initReconnect(setTimeout.bind(a,He.bind(a,Ae,te)));rt=()=>{ve&&ve(),Ke&&Ke(),f.delete(Fe)}}};return je(),[Fe,Ue,je,rt]}return[Fe,f.get(Fe)[4]]},pt=(Fe,me,Se,Ae,Ue)=>{const rt=Se.errorRetryCount,ke=Ue.retryCount,Xe=~~((Math.random()+.5)*(1<<(ke<8?ke:8)))*Se.errorRetryInterval;!c(rt)&&ke>rt||setTimeout(Ae,Xe,Ue)},Pt=(Fe,me)=>y(Fe)==y(me),[tt,ft]=Qe(new Map),lt=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:pt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:N?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:N?5e3:3e3,compare:Pt,isPaused:()=>!1,cache:tt,mutate:ft,fallback:{}},ae),he=(Fe,me)=>{const Se=u(Fe,me);if(me){const{use:Ae,fallback:Ue}=Fe,{use:rt,fallback:ke}=me;Ae&&rt&&(Se.use=Ae.concat(rt)),Ue&&ke&&(Se.fallback=u(Ue,ke))}return Se},X=(0,t.createContext)({}),I=Fe=>{const{value:me}=Fe,Se=(0,t.useContext)(X),Ae=l(me),Ue=(0,t.useMemo)(()=>Ae?me(Se):me,[Ae,Se,me]),rt=(0,t.useMemo)(()=>Ae?Ue:he(Se,Ue),[Ae,Se,Ue]),ke=Ue&&Ue.provider,Xe=(0,t.useRef)(a);ke&&!Xe.current&&(Xe.current=Qe(ke(rt.cache||tt),Ue));const Ce=Xe.current;return Ce&&(rt.cache=Ce[0],rt.mutate=Ce[1]),$(()=>{if(Ce)return Ce[2]&&Ce[2](),Ce[3]},[]),(0,t.createElement)(X.Provider,u(Fe,{value:rt}))},L="$inf$",de=x&&window.__SWR_DEVTOOLS_USE__,K=de?window.__SWR_DEVTOOLS_USE__:[],D=()=>{de&&(window.__SWR_DEVTOOLS_REACT__=t)},A=Fe=>l(Fe[1])?[Fe[0],Fe[1],Fe[2]||{}]:[Fe[0],null,(Fe[1]===null?Fe[2]:Fe[1])||{}],R=()=>u(lt,(0,t.useContext)(X)),Z=(Fe,me)=>{const[Se,Ae]=E(Fe),[,,,Ue]=f.get(tt);if(Ue[Se])return Ue[Se];const rt=me(Ae);return Ue[Se]=rt,rt},G=Fe=>(me,Se,Ae)=>Fe(me,Se&&((...rt)=>{const[ke]=E(me),[,,,Xe]=f.get(tt);if(ke.startsWith(L))return Se(...rt);const Ce=Xe[ke];return c(Ce)?Se(...rt):(delete Xe[ke],Ce)}),Ae),se=K.concat(G),fe=Fe=>function(...Se){const Ae=R(),[Ue,rt,ke]=A(Se),Xe=he(Ae,ke);let Ce=Fe;const{use:je}=Xe,ve=(je||[]).concat(se);for(let Ke=ve.length;Ke--;)Ce=ve[Ke](Ce);return Ce(Ue,rt||Xe.fetcher||null,Xe)},Oe=(Fe,me,Se)=>{const Ae=me[Fe]||(me[Fe]=[]);return Ae.push(Se),()=>{const Ue=Ae.indexOf(Se);Ue>=0&&(Ae[Ue]=Ae[Ae.length-1],Ae.pop())}},_e=(Fe,me)=>(...Se)=>{const[Ae,Ue,rt]=A(Se),ke=(rt.use||[]).concat(me);return Fe(Ae,Ue,Qc(Ul({},rt),{use:ke}))};D();const _=Fe=>serialize(Fe)[0],re=t.use||(Fe=>{if(Fe.status==="pending")throw Fe;if(Fe.status==="fulfilled")return Fe.value;throw Fe.status==="rejected"?Fe.reason:(Fe.status="pending",Fe.then(me=>{Fe.status="fulfilled",Fe.value=me},me=>{Fe.status="rejected",Fe.reason=me}),Fe)}),Y={dedupe:!0},Pe=(Fe,me,Se)=>{const{cache:Ae,compare:Ue,suspense:rt,fallbackData:ke,revalidateOnMount:Xe,revalidateIfStale:Ce,refreshInterval:je,refreshWhenHidden:ve,refreshWhenOffline:Ke,keepPreviousData:st}=Se,[vt,Te,Ge,nt]=f.get(Ae),[et,St]=E(Fe),Rt=(0,t.useRef)(!1),Bt=(0,t.useRef)(!1),$t=(0,t.useRef)(et),wt=(0,t.useRef)(me),Et=(0,t.useRef)(Se),Ct=()=>Et.current,Ft=()=>Ct().isVisible()&&Ct().isOnline(),[xn,hn,On,gn]=B(Ae,et),ot=(0,t.useRef)({}).current,Be=c(ke)?Se.fallback[et]:ke,xt=(bt,ze)=>{for(const Ot in ot){const zt=Ot;if(zt==="data"){if(!Ue(bt[zt],ze[zt])&&(!c(bt[zt])||!Ue(Mn,ze[zt])))return!1}else if(ze[zt]!==bt[zt])return!1}return!0},It=(0,t.useMemo)(()=>{const bt=(()=>!et||!me?!1:c(Xe)?Ct().isPaused()||rt?!1:c(Ce)?!0:Ce:Xe)(),ze=mn=>{const Pn=u(mn);return delete Pn._k,bt?Ul({isValidating:!0,isLoading:!0},Pn):Pn},Ot=xn(),zt=gn(),jt=ze(Ot),tn=Ot===zt?jt:ze(zt);let un=jt;return[()=>{const mn=ze(xn());return xt(mn,un)?(un.data=mn.data,un.isLoading=mn.isLoading,un.isValidating=mn.isValidating,un.error=mn.error,un):(un=mn,mn)},()=>tn]},[Ae,et]),Lt=(0,r.useSyncExternalStore)((0,t.useCallback)(bt=>On(et,(ze,Ot)=>{xt(Ot,ze)||bt()}),[Ae,et]),It[0],It[1]),Yt=!Rt.current,qt=vt[et]&&vt[et].length>0,yn=Lt.data,In=c(yn)?Be:yn,Nn=Lt.error,Xn=(0,t.useRef)(In),Mn=st?c(yn)?Xn.current:yn:In,Un=(()=>qt&&!c(Nn)?!1:Yt&&!c(Xe)?Xe:Ct().isPaused()?!1:rt?c(In)?!1:Ce:c(In)||Ce)(),en=!!(et&&me&&Yt&&Un),_n=c(Lt.isValidating)?en:Lt.isValidating,Qt=c(Lt.isLoading)?en:Lt.isLoading,an=(0,t.useCallback)(bt=>Lu(this,null,function*(){const ze=wt.current;if(!et||!ze||Bt.current||Ct().isPaused())return!1;let Ot,zt,jt=!0;const tn=bt||{},un=!Ge[et]||!tn.dedupe,mn=()=>ie?!Bt.current&&et===$t.current&&Rt.current:et===$t.current,Pn={isValidating:!1,isLoading:!1},Gn=()=>{hn(Pn)},wn=()=>{const Rn=Ge[et];Rn&&Rn[1]===zt&&delete Ge[et]},zn={isValidating:!0};c(xn().data)&&(zn.isLoading=!0);try{if(un&&(hn(zn),Se.loadingTimeout&&c(xn().data)&&setTimeout(()=>{jt&&mn()&&Ct().onLoadingSlow(et,Se)},Se.loadingTimeout),Ge[et]=[ze(St),Q()]),[Ot,zt]=Ge[et],Ot=yield Ot,un&&setTimeout(wn,Se.dedupingInterval),!Ge[et]||Ge[et][1]!==zt)return un&&mn()&&Ct().onDiscarded(et),!1;Pn.error=a;const Rn=Te[et];if(!c(Rn)&&(zt<=Rn[0]||zt<=Rn[1]||Rn[1]===0))return Gn(),un&&mn()&&Ct().onDiscarded(et),!1;const jn=xn().data;Pn.data=Ue(jn,Ot)?jn:Ot,un&&mn()&&Ct().onSuccess(Ot,et,Se)}catch(Rn){wn();const jn=Ct(),{shouldRetryOnError:Er}=jn;jn.isPaused()||(Pn.error=Rn,un&&mn()&&(jn.onError(Rn,et,jn),(Er===!0||l(Er)&&Er(Rn))&&(!Ct().revalidateOnFocus||!Ct().revalidateOnReconnect||Ft())&&jn.onErrorRetry(Rn,et,jn,Me=>{const Ie=vt[et];Ie&&Ie[0]&&Ie[0](xe.ERROR_REVALIDATE_EVENT,Me)},{retryCount:(tn.retryCount||0)+1,dedupe:!0})))}return jt=!1,Gn(),!0}),[et,Ae]),mt=(0,t.useCallback)((...bt)=>Ne(Ae,$t.current,...bt),[]);if($(()=>{wt.current=me,Et.current=Se,c(yn)||(Xn.current=yn)}),$(()=>{if(!et)return;const bt=an.bind(a,Y);let ze=0;const zt=Oe(et,vt,(jt,tn={})=>{if(jt==xe.FOCUS_EVENT){const un=Date.now();Ct().revalidateOnFocus&&un>ze&&Ft()&&(ze=un+Ct().focusThrottleInterval,bt())}else if(jt==xe.RECONNECT_EVENT)Ct().revalidateOnReconnect&&Ft()&&bt();else{if(jt==xe.MUTATE_EVENT)return an();if(jt==xe.ERROR_REVALIDATE_EVENT)return an(tn)}});return Bt.current=!1,$t.current=et,Rt.current=!0,hn({_k:St}),Un&&(c(In)||ne?bt():q(bt)),()=>{Bt.current=!0,zt()}},[et]),$(()=>{let bt;function ze(){const zt=l(je)?je(xn().data):je;zt&&bt!==-1&&(bt=setTimeout(Ot,zt))}function Ot(){!xn().error&&(ve||Ct().isVisible())&&(Ke||Ct().isOnline())?an(Y).then(ze):ze()}return ze(),()=>{bt&&(clearTimeout(bt),bt=-1)}},[je,ve,Ke,et]),(0,t.useDebugValue)(Mn),rt&&c(In)&&et){if(!ie&&ne)throw new Error("Fallback data is required when using suspense in SSR.");wt.current=me,Et.current=Se,Bt.current=!1;const bt=nt[et];if(!c(bt)){const ze=mt(bt);re(ze)}if(c(Nn)){const ze=an(Y);c(Mn)||(ze.status="fulfilled",ze.value=!0),re(ze)}else throw Nn}return{mutate:mt,get data(){return ot.data=!0,Mn},get error(){return ot.error=!0,Nn},get isValidating(){return ot.isValidating=!0,_n},get isLoading(){return ot.isLoading=!0,Qt}}},Ze=s.defineProperty(I,"defaultValue",{value:lt}),De=fe(Pe)}},Ko={};function we(v){var m=Ko[v];if(m!==void 0)return m.exports;var e=Ko[v]={id:v,loaded:!1,exports:{}};return fi[v].call(e.exports,e,e.exports,we),e.loaded=!0,e.exports}we.m=fi,function(){we.n=function(v){var m=v&&v.__esModule?function(){return v.default}:function(){return v};return we.d(m,{a:m}),m}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;we.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);we.r(r);var o={};m=m||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~m.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},we.d(r,o),r}}(),function(){we.d=function(v,m){for(var e in m)we.o(m,e)&&!we.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:m[e]})}}(),function(){we.f={},we.e=function(v){return Promise.all(Object.keys(we.f).reduce(function(m,e){return we.f[e](v,m),m},[]))}}(),function(){we.u=function(v){return""+({39:"p__AppManagement",185:"p__Welcome",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",455:"p__SuperAdmin",557:"p__Bind",571:"p__404",816:"p__AdminManagement",857:"p__AdvRecordList"}[v]||v)+"."+{39:"4953f9d3",51:"d90b1fa5",134:"957d5baa",169:"c5babfbf",185:"61596037",269:"4542f5a4",270:"f1c2a3da",287:"93586c34",301:"afe80231",366:"da479be3",371:"d8b740d9",390:"41467286",393:"2a09f5b6",397:"0ef2ea1f",455:"ffff8e8d",557:"b6ee068f",559:"683b9a7b",571:"0c100574",601:"e46b1579",635:"09454aea",676:"a53a9987",706:"1c4598f2",816:"1126dff2",857:"2fce5070",905:"745134cb",930:"05171fe3"}[v]+".async.js"}}(),function(){we.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){we.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){we.o=function(v,m){return Object.prototype.hasOwnProperty.call(v,m)}}(),function(){var v={},m="ant-design-pro:";we.l=function(e,t,r,o){if(v[e]){v[e].push(t);return}var a,s;if(r!==void 0)for(var c=document.getElementsByTagName("script"),l=0;l=0)&&(s[l]=o[l]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,m,e){"use strict";e.d(m,{J$:function(){return Ze},ZP:function(){return De},kY:function(){return R}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=Fe=>Fe===a,l=Fe=>typeof Fe=="function",u=(Fe,me)=>Ul(Ul({},Fe),me),d=Fe=>l(Fe.then),p=new WeakMap;let h=0;const y=Fe=>{const me=typeof Fe,Se=Fe&&Fe.constructor,Ae=Se==Date;let Ue,rt;if(s(Fe)===Fe&&!Ae&&Se!=RegExp){if(Ue=p.get(Fe),Ue)return Ue;if(Ue=++h+"~",p.set(Fe,Ue),Se==Array){for(Ue="@",rt=0;rtx&&typeof window.requestAnimationFrame!=S,B=(Fe,me)=>{const Se=f.get(Fe);return[()=>!c(me)&&Fe.get(me)||b,Ae=>{if(!c(me)){const Ue=Fe.get(me);me in C||(C[me]=Ue),Se[5](me,u(Ue,Ae),Ue||b)}},Se[6],()=>!c(me)&&me in C?C[me]:!c(me)&&Fe.get(me)||b]};let P=!0;const M=()=>P,[H,ue]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],U=()=>{const Fe=w&&document.visibilityState;return c(Fe)||Fe!=="hidden"},J=Fe=>(w&&document.addEventListener("visibilitychange",Fe),H("focus",Fe),()=>{w&&document.removeEventListener("visibilitychange",Fe),ue("focus",Fe)}),ee=Fe=>{const me=()=>{P=!0,Fe()},Se=()=>{P=!1};return H("online",me),H("offline",Se),()=>{ue("online",me),ue("offline",Se)}},ae={isOnline:M,isVisible:U},j={initFocus:J,initReconnect:ee},ie=!t.useId,ne=!x||"Deno"in window,q=Fe=>T()?window.requestAnimationFrame(Fe):setTimeout(Fe,1),$=ne?t.useEffect:t.useLayoutEffect,z=typeof navigator!="undefined"&&navigator.connection,N=!ne&&z&&(["slow-2g","2g"].includes(z.effectiveType)||z.saveData),E=Fe=>{if(l(Fe))try{Fe=Fe()}catch(Se){Fe=""}const me=Fe;return Fe=typeof Fe=="string"?Fe:(Array.isArray(Fe)?Fe.length:Fe)?y(Fe):"",[Fe,me]};let F=0;const Q=()=>++F,le=0,te=1,V=2;var xe={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:le,MUTATE_EVENT:V,RECONNECT_EVENT:te};function Ne(...Fe){return Lu(this,null,function*(){const[me,Se,Ae,Ue]=Fe,rt=u({populateCache:!0,throwOnError:!0},typeof Ue=="boolean"?{revalidate:Ue}:Ue||{});let ke=rt.populateCache;const Xe=rt.rollbackOnError;let Ce=rt.optimisticData;const je=st=>typeof Xe=="function"?Xe(st):Xe!==!1,ve=rt.throwOnError;if(l(Se)){const st=Se,vt=[],Te=me.keys();for(const Ge of Te)!/^\$(inf|sub)\$/.test(Ge)&&st(me.get(Ge)._k)&&vt.push(Ge);return Promise.all(vt.map(Ke))}return Ke(Se);function Ke(st){return Lu(this,null,function*(){const[vt]=E(st);if(!vt)return;const[Te,Ge]=B(me,vt),[nt,et,St,Rt]=f.get(me),Bt=()=>{const gn=nt[vt];return(l(rt.revalidate)?rt.revalidate(Te().data,st):rt.revalidate!==!1)&&(delete St[vt],delete Rt[vt],gn&&gn[0])?gn[0](V).then(()=>Te().data):Te().data};if(Fe.length<3)return Bt();let $t=Ae,wt;const Et=Q();et[vt]=[Et,0];const Ct=!c(Ce),Ft=Te(),xn=Ft.data,hn=Ft._c,On=c(hn)?xn:hn;if(Ct&&(Ce=l(Ce)?Ce(On,xn):Ce,Ge({data:Ce,_c:On})),l($t))try{$t=$t(On)}catch(gn){wt=gn}if($t&&d($t))if($t=yield $t.catch(gn=>{wt=gn}),Et!==et[vt][0]){if(wt)throw wt;return $t}else wt&&Ct&&je(wt)&&(ke=!0,Ge({data:On,_c:a}));if(ke&&!wt)if(l(ke)){const gn=ke($t,On);Ge({data:gn,error:a,_c:a})}else Ge({data:$t,error:a,_c:a});if(et[vt][1]=Q(),Promise.resolve(Bt()).then(()=>{Ge({_c:a})}),wt){if(ve)throw wt;return}return $t})}})}const He=(Fe,me)=>{for(const Se in Fe)Fe[Se][0]&&Fe[Se][0](me)},Qe=(Fe,me)=>{if(!f.has(Fe)){const Se=u(j,me),Ae={},Ue=Ne.bind(a,Fe);let rt=o;const ke={},Xe=(ve,Ke)=>{const st=ke[ve]||[];return ke[ve]=st,st.push(Ke),()=>st.splice(st.indexOf(Ke),1)},Ce=(ve,Ke,st)=>{Fe.set(ve,Ke);const vt=ke[ve];if(vt)for(const Te of vt)Te(Ke,st)},je=()=>{if(!f.has(Fe)&&(f.set(Fe,[Ae,{},{},{},Ue,Ce,Xe]),!ne)){const ve=Se.initFocus(setTimeout.bind(a,He.bind(a,Ae,le))),Ke=Se.initReconnect(setTimeout.bind(a,He.bind(a,Ae,te)));rt=()=>{ve&&ve(),Ke&&Ke(),f.delete(Fe)}}};return je(),[Fe,Ue,je,rt]}return[Fe,f.get(Fe)[4]]},pt=(Fe,me,Se,Ae,Ue)=>{const rt=Se.errorRetryCount,ke=Ue.retryCount,Xe=~~((Math.random()+.5)*(1<<(ke<8?ke:8)))*Se.errorRetryInterval;!c(rt)&&ke>rt||setTimeout(Ae,Xe,Ue)},Pt=(Fe,me)=>y(Fe)==y(me),[tt,ft]=Qe(new Map),lt=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:pt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:N?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:N?5e3:3e3,compare:Pt,isPaused:()=>!1,cache:tt,mutate:ft,fallback:{}},ae),he=(Fe,me)=>{const Se=u(Fe,me);if(me){const{use:Ae,fallback:Ue}=Fe,{use:rt,fallback:ke}=me;Ae&&rt&&(Se.use=Ae.concat(rt)),Ue&&ke&&(Se.fallback=u(Ue,ke))}return Se},X=(0,t.createContext)({}),I=Fe=>{const{value:me}=Fe,Se=(0,t.useContext)(X),Ae=l(me),Ue=(0,t.useMemo)(()=>Ae?me(Se):me,[Ae,Se,me]),rt=(0,t.useMemo)(()=>Ae?Ue:he(Se,Ue),[Ae,Se,Ue]),ke=Ue&&Ue.provider,Xe=(0,t.useRef)(a);ke&&!Xe.current&&(Xe.current=Qe(ke(rt.cache||tt),Ue));const Ce=Xe.current;return Ce&&(rt.cache=Ce[0],rt.mutate=Ce[1]),$(()=>{if(Ce)return Ce[2]&&Ce[2](),Ce[3]},[]),(0,t.createElement)(X.Provider,u(Fe,{value:rt}))},L="$inf$",de=x&&window.__SWR_DEVTOOLS_USE__,K=de?window.__SWR_DEVTOOLS_USE__:[],D=()=>{de&&(window.__SWR_DEVTOOLS_REACT__=t)},A=Fe=>l(Fe[1])?[Fe[0],Fe[1],Fe[2]||{}]:[Fe[0],null,(Fe[1]===null?Fe[2]:Fe[1])||{}],R=()=>u(lt,(0,t.useContext)(X)),Z=(Fe,me)=>{const[Se,Ae]=E(Fe),[,,,Ue]=f.get(tt);if(Ue[Se])return Ue[Se];const rt=me(Ae);return Ue[Se]=rt,rt},G=Fe=>(me,Se,Ae)=>Fe(me,Se&&((...rt)=>{const[ke]=E(me),[,,,Xe]=f.get(tt);if(ke.startsWith(L))return Se(...rt);const Ce=Xe[ke];return c(Ce)?Se(...rt):(delete Xe[ke],Ce)}),Ae),se=K.concat(G),fe=Fe=>function(...Se){const Ae=R(),[Ue,rt,ke]=A(Se),Xe=he(Ae,ke);let Ce=Fe;const{use:je}=Xe,ve=(je||[]).concat(se);for(let Ke=ve.length;Ke--;)Ce=ve[Ke](Ce);return Ce(Ue,rt||Xe.fetcher||null,Xe)},Oe=(Fe,me,Se)=>{const Ae=me[Fe]||(me[Fe]=[]);return Ae.push(Se),()=>{const Ue=Ae.indexOf(Se);Ue>=0&&(Ae[Ue]=Ae[Ae.length-1],Ae.pop())}},_e=(Fe,me)=>(...Se)=>{const[Ae,Ue,rt]=A(Se),ke=(rt.use||[]).concat(me);return Fe(Ae,Ue,Qc(Ul({},rt),{use:ke}))};D();const _=Fe=>serialize(Fe)[0],re=t.use||(Fe=>{if(Fe.status==="pending")throw Fe;if(Fe.status==="fulfilled")return Fe.value;throw Fe.status==="rejected"?Fe.reason:(Fe.status="pending",Fe.then(me=>{Fe.status="fulfilled",Fe.value=me},me=>{Fe.status="rejected",Fe.reason=me}),Fe)}),Y={dedupe:!0},Pe=(Fe,me,Se)=>{const{cache:Ae,compare:Ue,suspense:rt,fallbackData:ke,revalidateOnMount:Xe,revalidateIfStale:Ce,refreshInterval:je,refreshWhenHidden:ve,refreshWhenOffline:Ke,keepPreviousData:st}=Se,[vt,Te,Ge,nt]=f.get(Ae),[et,St]=E(Fe),Rt=(0,t.useRef)(!1),Bt=(0,t.useRef)(!1),$t=(0,t.useRef)(et),wt=(0,t.useRef)(me),Et=(0,t.useRef)(Se),Ct=()=>Et.current,Ft=()=>Ct().isVisible()&&Ct().isOnline(),[xn,hn,On,gn]=B(Ae,et),ot=(0,t.useRef)({}).current,Be=c(ke)?Se.fallback[et]:ke,xt=(bt,ze)=>{for(const Ot in ot){const zt=Ot;if(zt==="data"){if(!Ue(bt[zt],ze[zt])&&(!c(bt[zt])||!Ue(Mn,ze[zt])))return!1}else if(ze[zt]!==bt[zt])return!1}return!0},It=(0,t.useMemo)(()=>{const bt=(()=>!et||!me?!1:c(Xe)?Ct().isPaused()||rt?!1:c(Ce)?!0:Ce:Xe)(),ze=mn=>{const Pn=u(mn);return delete Pn._k,bt?Ul({isValidating:!0,isLoading:!0},Pn):Pn},Ot=xn(),zt=gn(),jt=ze(Ot),tn=Ot===zt?jt:ze(zt);let un=jt;return[()=>{const mn=ze(xn());return xt(mn,un)?(un.data=mn.data,un.isLoading=mn.isLoading,un.isValidating=mn.isValidating,un.error=mn.error,un):(un=mn,mn)},()=>tn]},[Ae,et]),Lt=(0,r.useSyncExternalStore)((0,t.useCallback)(bt=>On(et,(ze,Ot)=>{xt(Ot,ze)||bt()}),[Ae,et]),It[0],It[1]),Yt=!Rt.current,qt=vt[et]&&vt[et].length>0,yn=Lt.data,In=c(yn)?Be:yn,Nn=Lt.error,Xn=(0,t.useRef)(In),Mn=st?c(yn)?Xn.current:yn:In,Un=(()=>qt&&!c(Nn)?!1:Yt&&!c(Xe)?Xe:Ct().isPaused()?!1:rt?c(In)?!1:Ce:c(In)||Ce)(),en=!!(et&&me&&Yt&&Un),_n=c(Lt.isValidating)?en:Lt.isValidating,Qt=c(Lt.isLoading)?en:Lt.isLoading,an=(0,t.useCallback)(bt=>Lu(this,null,function*(){const ze=wt.current;if(!et||!ze||Bt.current||Ct().isPaused())return!1;let Ot,zt,jt=!0;const tn=bt||{},un=!Ge[et]||!tn.dedupe,mn=()=>ie?!Bt.current&&et===$t.current&&Rt.current:et===$t.current,Pn={isValidating:!1,isLoading:!1},Gn=()=>{hn(Pn)},wn=()=>{const Rn=Ge[et];Rn&&Rn[1]===zt&&delete Ge[et]},zn={isValidating:!0};c(xn().data)&&(zn.isLoading=!0);try{if(un&&(hn(zn),Se.loadingTimeout&&c(xn().data)&&setTimeout(()=>{jt&&mn()&&Ct().onLoadingSlow(et,Se)},Se.loadingTimeout),Ge[et]=[ze(St),Q()]),[Ot,zt]=Ge[et],Ot=yield Ot,un&&setTimeout(wn,Se.dedupingInterval),!Ge[et]||Ge[et][1]!==zt)return un&&mn()&&Ct().onDiscarded(et),!1;Pn.error=a;const Rn=Te[et];if(!c(Rn)&&(zt<=Rn[0]||zt<=Rn[1]||Rn[1]===0))return Gn(),un&&mn()&&Ct().onDiscarded(et),!1;const jn=xn().data;Pn.data=Ue(jn,Ot)?jn:Ot,un&&mn()&&Ct().onSuccess(Ot,et,Se)}catch(Rn){wn();const jn=Ct(),{shouldRetryOnError:Er}=jn;jn.isPaused()||(Pn.error=Rn,un&&mn()&&(jn.onError(Rn,et,jn),(Er===!0||l(Er)&&Er(Rn))&&(!Ct().revalidateOnFocus||!Ct().revalidateOnReconnect||Ft())&&jn.onErrorRetry(Rn,et,jn,Me=>{const Ie=vt[et];Ie&&Ie[0]&&Ie[0](xe.ERROR_REVALIDATE_EVENT,Me)},{retryCount:(tn.retryCount||0)+1,dedupe:!0})))}return jt=!1,Gn(),!0}),[et,Ae]),mt=(0,t.useCallback)((...bt)=>Ne(Ae,$t.current,...bt),[]);if($(()=>{wt.current=me,Et.current=Se,c(yn)||(Xn.current=yn)}),$(()=>{if(!et)return;const bt=an.bind(a,Y);let ze=0;const zt=Oe(et,vt,(jt,tn={})=>{if(jt==xe.FOCUS_EVENT){const un=Date.now();Ct().revalidateOnFocus&&un>ze&&Ft()&&(ze=un+Ct().focusThrottleInterval,bt())}else if(jt==xe.RECONNECT_EVENT)Ct().revalidateOnReconnect&&Ft()&&bt();else{if(jt==xe.MUTATE_EVENT)return an();if(jt==xe.ERROR_REVALIDATE_EVENT)return an(tn)}});return Bt.current=!1,$t.current=et,Rt.current=!0,hn({_k:St}),Un&&(c(In)||ne?bt():q(bt)),()=>{Bt.current=!0,zt()}},[et]),$(()=>{let bt;function ze(){const zt=l(je)?je(xn().data):je;zt&&bt!==-1&&(bt=setTimeout(Ot,zt))}function Ot(){!xn().error&&(ve||Ct().isVisible())&&(Ke||Ct().isOnline())?an(Y).then(ze):ze()}return ze(),()=>{bt&&(clearTimeout(bt),bt=-1)}},[je,ve,Ke,et]),(0,t.useDebugValue)(Mn),rt&&c(In)&&et){if(!ie&&ne)throw new Error("Fallback data is required when using suspense in SSR.");wt.current=me,Et.current=Se,Bt.current=!1;const bt=nt[et];if(!c(bt)){const ze=mt(bt);re(ze)}if(c(Nn)){const ze=an(Y);c(Mn)||(ze.status="fulfilled",ze.value=!0),re(ze)}else throw Nn}return{mutate:mt,get data(){return ot.data=!0,Mn},get error(){return ot.error=!0,Nn},get isValidating(){return ot.isValidating=!0,_n},get isLoading(){return ot.isLoading=!0,Qt}}},Ze=s.defineProperty(I,"defaultValue",{value:lt}),De=fe(Pe)}},Ko={};function we(v){var m=Ko[v];if(m!==void 0)return m.exports;var e=Ko[v]={id:v,loaded:!1,exports:{}};return fi[v].call(e.exports,e,e.exports,we),e.loaded=!0,e.exports}we.m=fi,function(){we.n=function(v){var m=v&&v.__esModule?function(){return v.default}:function(){return v};return we.d(m,{a:m}),m}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;we.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);we.r(r);var o={};m=m||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~m.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},we.d(r,o),r}}(),function(){we.d=function(v,m){for(var e in m)we.o(m,e)&&!we.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:m[e]})}}(),function(){we.f={},we.e=function(v){return Promise.all(Object.keys(we.f).reduce(function(m,e){return we.f[e](v,m),m},[]))}}(),function(){we.u=function(v){return""+({39:"p__AppManagement",185:"p__Welcome",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",455:"p__SuperAdmin",557:"p__Bind",571:"p__404",816:"p__AdminManagement",857:"p__AdvRecordList"}[v]||v)+"."+{39:"4953f9d3",51:"d90b1fa5",134:"957d5baa",169:"c5babfbf",185:"61596037",269:"4542f5a4",270:"f1c2a3da",287:"93586c34",301:"afe80231",366:"da479be3",371:"6709cb8d",390:"41467286",393:"2a09f5b6",397:"0ef2ea1f",455:"ffff8e8d",557:"b6ee068f",559:"683b9a7b",571:"0c100574",601:"e46b1579",635:"09454aea",676:"a53a9987",706:"1c4598f2",816:"1126dff2",857:"2fce5070",905:"745134cb",930:"05171fe3"}[v]+".async.js"}}(),function(){we.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){we.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){we.o=function(v,m){return Object.prototype.hasOwnProperty.call(v,m)}}(),function(){var v={},m="ant-design-pro:";we.l=function(e,t,r,o){if(v[e]){v[e].push(t);return}var a,s;if(r!==void 0)for(var c=document.getElementsByTagName("script"),l=0;lsn.length)&&(ce=sn.length);for(var Re=0,k=new Array(ce);Re0&&arguments[0]!==void 0?arguments[0]:"";return sn.endsWith("/")?sn:"".concat(sn,"/")}var co=we(49647),Ya=we(58096),Ia=Yn.createContext(void 0);function ga(){return Yn.useContext(Ia)}var fo=["redirect"];function vo(sn){var ce=sn.routesById,Re=sn.parentId,k=sn.routeComponents;return Object.keys(ce).filter(function(dt){return ce[dt].parentId===Re}).map(function(dt){var Mt=Ro(Wr({route:ce[dt],routeComponent:k[dt],loadingComponent:sn.loadingComponent,reactRouter5Compat:sn.reactRouter5Compat},sn.reactRouter5Compat&&{hasChildren:Object.keys(ce).filter(function(vn){return ce[vn].parentId===dt}).length>0})),Jt=vo({routesById:ce,routeComponents:k,parentId:Mt.id,loadingComponent:sn.loadingComponent,reactRouter5Compat:sn.reactRouter5Compat});return Jt.length>0&&(Mt.children=Jt,Mt.routes=Jt),Mt})}function wo(sn){var ce=(0,pa.UO)(),Re=Wr(Wr({},sn),{},{to:(0,pa.Gn)(sn.to,ce)});return Yn.createElement(pa.Fg,(0,Ya.Z)({replace:!0},Re))}function Ro(sn){var ce=sn.route,Re=ce.redirect,k=(0,co.Z)(ce,fo),dt=sn.reactRouter5Compat?Oo:Lo;return Wr({element:Re?Yn.createElement(wo,{to:Re}):Yn.createElement(Ia.Provider,{value:{route:sn.route}},Yn.createElement(dt,{loader:Yn.memo(sn.routeComponent),loadingComponent:sn.loadingComponent||mo,hasChildren:sn.hasChildren}))},k)}function mo(){return Yn.createElement("div",null)}function Oo(sn){var ce=ga(),Re=ce.route,k=(0,$a.Ov)(),dt=k.history,Mt=k.clientRoutes,Jt=(0,pa.UO)(),vn={params:Jt,isExact:!0,path:Re.path,url:dt.location.pathname},Jn=sn.loader;return Yn.createElement(Yn.Suspense,{fallback:Yn.createElement(sn.loadingComponent,null)},Yn.createElement(Jn,{location:dt.location,match:vn,history:dt,params:Jt,route:Re,routes:Mt},sn.hasChildren&&Yn.createElement(pa.j3,null)))}function Lo(sn){var ce=sn.loader;return Yn.createElement(Yn.Suspense,{fallback:Yn.createElement(sn.loadingComponent,null)},Yn.createElement(ce,null))}var ti=null;function Ti(){return ti}function as(sn){var ce=sn.history,Re=Yn.useState({action:ce.action,location:ce.location}),k=ca(Re,2),dt=k[0],Mt=k[1];return(0,Yn.useLayoutEffect)(function(){return ce.listen(Mt)},[ce]),(0,Yn.useLayoutEffect)(function(){function Jt(vn){sn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:sn.routes,clientRoutes:sn.clientRoutes,location:vn.location,action:vn.action,basename:sn.basename,isFirst:!!vn.isFirst}})}return Jt({location:dt.location,action:dt.action,isFirst:!0}),ce.listen(Jt)},[ce,sn.routes,sn.clientRoutes]),Yn.createElement(pa.F0,{navigator:ce,location:dt.location,basename:sn.basename},sn.children)}function Ki(){var sn=(0,$a.Ov)(),ce=sn.clientRoutes;return(0,pa.V$)(ce)}var Gi=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],ni=function(ce,Re){var k=ce.basename||"/",dt=vo({routesById:ce.routes,routeComponents:ce.routeComponents,loadingComponent:ce.loadingComponent,reactRouter5Compat:ce.reactRouter5Compat});ce.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:dt}});for(var Mt=Yn.createElement(as,{basename:k,pluginManager:ce.pluginManager,routes:ce.routes,clientRoutes:dt,history:ce.history},Re),Jt=0,vn=Gi;Jt { deviceRef.current?.reload(); }; + const handleSetOnline = async (deviceId: string | undefined) => { + if (!deviceId) { + return; + } + try { + await online({ deviceId: deviceId }); + deviceRef.current?.reload(); + } catch {} + }; + const [columnsState, setColumnsState] = useState>({ deviceId: { show: !isMobile() }, appName: { show: !isMobile() }, @@ -210,6 +220,9 @@ const DeviceOwnerApp: React.FC = () => { if (record.status === 0) { return handleSetOffline(record.deviceId)}>下线; } + if (record.status === -1) { + return handleSetOnline(record.deviceId)}>上线; + } return null; }, }, diff --git a/src/services/matrix/device.ts b/src/services/matrix/device.ts index 89419fe..d27804e 100644 --- a/src/services/matrix/device.ts +++ b/src/services/matrix/device.ts @@ -73,3 +73,18 @@ export async function offline( ...(options || {}), }); } + +/** 此处后端没有提供注释 POST /api/admin/device/online */ +export async function online( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: API.onlineParams, + options?: { [key: string]: any }, +) { + return request('/api/admin/device/online', { + method: 'POST', + params: { + ...params, + }, + ...(options || {}), + }); +} diff --git a/src/services/matrix/typings.d.ts b/src/services/matrix/typings.d.ts index 39cfb0d..fcdd9e8 100644 --- a/src/services/matrix/typings.d.ts +++ b/src/services/matrix/typings.d.ts @@ -226,6 +226,10 @@ declare namespace API { deviceId: string; }; + type onlineParams = { + deviceId: string; + }; + type OverviewBo = { todayIncome?: number; totalIncome?: number;