From 8c0d3319165f007fdb73061346a36a60ce4beaaf Mon Sep 17 00:00:00 2001 From: "PC-202306242200\\Administrator" <1648263436@qq.com> Date: Wed, 11 Sep 2024 17:07:36 +0800 Subject: [PATCH] =?UTF-8?q?=C2=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/index.html | 2 +- ...src__pages__facility__serviceCharge__index.3a9980d9.async.js | 1 - ...src__pages__facility__serviceCharge__index.827999d0.async.js | 1 + dist/{umi.f5fbea74.js => umi.90d654b2.js} | 2 +- src/services/facility/index.ts | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 dist/src__pages__facility__serviceCharge__index.3a9980d9.async.js create mode 100644 dist/src__pages__facility__serviceCharge__index.827999d0.async.js rename dist/{umi.f5fbea74.js => umi.90d654b2.js} (99%) diff --git a/dist/index.html b/dist/index.html index 9d9a5ad..f2a9910 100644 --- a/dist/index.html +++ b/dist/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/dist/src__pages__facility__serviceCharge__index.3a9980d9.async.js b/dist/src__pages__facility__serviceCharge__index.3a9980d9.async.js deleted file mode 100644 index 16e81bb..0000000 --- a/dist/src__pages__facility__serviceCharge__index.3a9980d9.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5351],{986:function(L,d,e){e.r(d),e.d(d,{default:function(){return C}});var m=e(90228),s=e.n(m),p=e(87999),c=e.n(p),g=e(7485);function y(l){return i.apply(this,arguments)}function i(){return i=c()(s()().mark(function l(o){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,g.request)("/apin/device/amount/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:o||{}}));case 1:case"end":return a.stop()}},l)})),i.apply(this,arguments)}var T=e(50959),x=e(16030),R=e(35384),u=e(11527),j=function(){var o=(0,T.useRef)(),v=[{title:"ID",dataIndex:"id",valueType:"text",search:!1},{title:"\u670D\u52A1\u8D39\u91D1\u989D",dataIndex:"amout",valueType:"text",search:!1},{title:"\u670D\u52A1\u8D39\u4EA7\u751F\u65E5\u671F",dataIndex:"incomeDay",valueType:"dateRange",search:{transform:function(r){return{incomeDayBegin:r[0],incomeDayEnd:r[1]}}}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",valueType:"text",search:!1}];return(0,u.jsx)(x._z,{children:(0,u.jsx)("div",{style:{width:"100%",float:"right"},children:(0,u.jsx)(R.Z,{actionRef:o,rowKey:"id",search:{labelWidth:120},request:function(){var a=c()(s()().mark(function r(f,I,P){var h,t;return s()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,y(f);case 2:return h=n.sent,t=h.data,n.abrupt("return",{data:(t==null?void 0:t.records)||[],total:t==null?void 0:t.total});case 5:case"end":return n.stop()}},r)}));return function(r,f,I){return a.apply(this,arguments)}}(),columns:v},"logList")})})},C=j}}]); diff --git a/dist/src__pages__facility__serviceCharge__index.827999d0.async.js b/dist/src__pages__facility__serviceCharge__index.827999d0.async.js new file mode 100644 index 0000000..323f033 --- /dev/null +++ b/dist/src__pages__facility__serviceCharge__index.827999d0.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5351],{986:function(L,d,e){e.r(d),e.d(d,{default:function(){return C}});var m=e(90228),s=e.n(m),p=e(87999),c=e.n(p),g=e(7485);function y(l){return i.apply(this,arguments)}function i(){return i=c()(s()().mark(function l(o){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,g.request)("/api/device/amount/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:o||{}}));case 1:case"end":return a.stop()}},l)})),i.apply(this,arguments)}var T=e(50959),x=e(16030),R=e(35384),u=e(11527),j=function(){var o=(0,T.useRef)(),v=[{title:"ID",dataIndex:"id",valueType:"text",search:!1},{title:"\u670D\u52A1\u8D39\u91D1\u989D",dataIndex:"amout",valueType:"text",search:!1},{title:"\u670D\u52A1\u8D39\u4EA7\u751F\u65E5\u671F",dataIndex:"incomeDay",valueType:"dateRange",search:{transform:function(r){return{incomeDayBegin:r[0],incomeDayEnd:r[1]}}}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",valueType:"text",search:!1}];return(0,u.jsx)(x._z,{children:(0,u.jsx)("div",{style:{width:"100%",float:"right"},children:(0,u.jsx)(R.Z,{actionRef:o,rowKey:"id",search:{labelWidth:120},request:function(){var a=c()(s()().mark(function r(f,I,P){var h,t;return s()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,y(f);case 2:return h=n.sent,t=h.data,n.abrupt("return",{data:(t==null?void 0:t.records)||[],total:t==null?void 0:t.total});case 5:case"end":return n.stop()}},r)}));return function(r,f,I){return a.apply(this,arguments)}}(),columns:v},"logList")})})},C=j}}]); diff --git a/dist/umi.f5fbea74.js b/dist/umi.90d654b2.js similarity index 99% rename from dist/umi.f5fbea74.js rename to dist/umi.90d654b2.js index 01bc0a9..daf745d 100644 --- a/dist/umi.f5fbea74.js +++ b/dist/umi.90d654b2.js @@ -572,7 +572,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},93914:function(h,m,e){"use strict";e.d(m,{Z:function(){return n}});var r=e(25940);function t(o,l){var a=Object.keys(o);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(o);l&&(s=s.filter(function(c){return Object.getOwnPropertyDescriptor(o,c).enumerable})),a.push.apply(a,s)}return a}function n(o){for(var l=1;l=0)&&(l[s]=n[s]);return l}function t(n,o){if(n==null)return{};var l=r(n,o),a,s;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(n);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(n,a)&&(l[a]=n[a])}return l}},40394:function(h,m,e){"use strict";e.d(m,{Z:function(){return n}});var r=e(91744);function t(o,l){if((0,r.Z)(o)!="object"||!o)return o;var a=o[Symbol.toPrimitive];if(a!==void 0){var s=a.call(o,l||"default");if((0,r.Z)(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(o)}function n(o){var l=t(o,"string");return(0,r.Z)(l)=="symbol"?l:String(l)}},91744:function(h,m,e){"use strict";e.d(m,{Z:function(){return r}});function r(t){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r(t)}},76059:function(h,m,e){"use strict";e.d(m,{Z:function(){return t}});function r(n,o){(o==null||o>n.length)&&(o=n.length);for(var l=0,a=new Array(o);lt.length)&&(n=t.length);for(var o=0,l=new Array(n);o=n.length?{done:!0}:{done:!1,value:n[a++]}},e:function(u){throw u},f:s}}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 c=!0,v=!1,g;return{s:function(){l=l.call(n)},n:function(){var u=l.next();return c=u.done,u},e:function(u){v=!0,g=u},f:function(){try{!c&&l.return!=null&&l.return()}finally{if(v)throw g}}}}},25678:function(h,m,e){"use strict";e.d(m,{Z:function(){return a}});function r(s){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(v){return v.__proto__||Object.getPrototypeOf(v)},r(s)}function t(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(s){return!1}}var n=e(97382),o=e(1378);function l(s,c){if(c&&((0,n.Z)(c)==="object"||typeof c=="function"))return c;if(c!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(s)}function a(s){var c=t();return function(){var g=r(s),x;if(c){var u=r(this).constructor;x=Reflect.construct(g,arguments,u)}else x=g.apply(this,arguments);return l(this,x)}}},88357:function(h,m,e){"use strict";e.d(m,{Z:function(){return t}});var r=e(45233);function t(n,o,l){return o=(0,r.Z)(o),o in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l,n}},27263:function(h,m,e){"use strict";e.d(m,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(t){for(var n=1;n=0)&&(l[s]=n[s]);return l}function t(n,o){if(n==null)return{};var l=r(n,o),a,s;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(n);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(n,a)&&(l[a]=n[a])}return l}},11642:function(h,m,e){"use strict";e.d(m,{Z:function(){return t}});var r=e(97382);function t(){"use strict";t=function(){return o};var n,o={},l=Object.prototype,a=l.hasOwnProperty,s=Object.defineProperty||function(G,$,j){G[$]=j.value},c=typeof Symbol=="function"?Symbol:{},v=c.iterator||"@@iterator",g=c.asyncIterator||"@@asyncIterator",x=c.toStringTag||"@@toStringTag";function u(G,$,j){return Object.defineProperty(G,$,{value:j,enumerable:!0,configurable:!0,writable:!0}),G[$]}try{u({},"")}catch(G){u=function(j,se,me){return j[se]=me}}function f(G,$,j,se){var me=$&&$.prototype instanceof L?$:L,ne=Object.create(me.prototype),U=new R(se||[]);return s(ne,"_invoke",{value:k(G,j,U)}),ne}function S(G,$,j){try{return{type:"normal",arg:G.call($,j)}}catch(se){return{type:"throw",arg:se}}}o.wrap=f;var O="suspendedStart",w="suspendedYield",P="executing",Z="completed",D={};function L(){}function I(){}function T(){}var q={};u(q,v,function(){return this});var Q=Object.getPrototypeOf,M=Q&&Q(Q(B([])));M&&M!==l&&a.call(M,v)&&(q=M);var J=T.prototype=L.prototype=Object.create(q);function X(G){["next","throw","return"].forEach(function($){u(G,$,function(j){return this._invoke($,j)})})}function V(G,$){function j(me,ne,U,ve){var be=S(G[me],G,ne);if(be.type!=="throw"){var Ee=be.arg,je=Ee.value;return je&&(0,r.Z)(je)=="object"&&a.call(je,"__await")?$.resolve(je.__await).then(function(we){j("next",we,U,ve)},function(we){j("throw",we,U,ve)}):$.resolve(je).then(function(we){Ee.value=we,U(Ee)},function(we){return j("throw",we,U,ve)})}ve(be.arg)}var se;s(this,"_invoke",{value:function(ne,U){function ve(){return new $(function(be,Ee){j(ne,U,be,Ee)})}return se=se?se.then(ve,ve):ve()}})}function k(G,$,j){var se=O;return function(me,ne){if(se===P)throw new Error("Generator is already running");if(se===Z){if(me==="throw")throw ne;return{value:n,done:!0}}for(j.method=me,j.arg=ne;;){var U=j.delegate;if(U){var ve=ae(U,j);if(ve){if(ve===D)continue;return ve}}if(j.method==="next")j.sent=j._sent=j.arg;else if(j.method==="throw"){if(se===O)throw se=Z,j.arg;j.dispatchException(j.arg)}else j.method==="return"&&j.abrupt("return",j.arg);se=P;var be=S(G,$,j);if(be.type==="normal"){if(se=j.done?Z:w,be.arg===D)continue;return{value:be.arg,done:j.done}}be.type==="throw"&&(se=Z,j.method="throw",j.arg=be.arg)}}}function ae(G,$){var j=$.method,se=G.iterator[j];if(se===n)return $.delegate=null,j==="throw"&&G.iterator.return&&($.method="return",$.arg=n,ae(G,$),$.method==="throw")||j!=="return"&&($.method="throw",$.arg=new TypeError("The iterator does not provide a '"+j+"' method")),D;var me=S(se,G.iterator,$.arg);if(me.type==="throw")return $.method="throw",$.arg=me.arg,$.delegate=null,D;var ne=me.arg;return ne?ne.done?($[G.resultName]=ne.value,$.next=G.nextLoc,$.method!=="return"&&($.method="next",$.arg=n),$.delegate=null,D):ne:($.method="throw",$.arg=new TypeError("iterator result is not an object"),$.delegate=null,D)}function le(G){var $={tryLoc:G[0]};1 in G&&($.catchLoc=G[1]),2 in G&&($.finallyLoc=G[2],$.afterLoc=G[3]),this.tryEntries.push($)}function ue(G){var $=G.completion||{};$.type="normal",delete $.arg,G.completion=$}function R(G){this.tryEntries=[{tryLoc:"root"}],G.forEach(le,this),this.reset(!0)}function B(G){if(G||G===""){var $=G[v];if($)return $.call(G);if(typeof G.next=="function")return G;if(!isNaN(G.length)){var j=-1,se=function me(){for(;++j=0;--me){var ne=this.tryEntries[me],U=ne.completion;if(ne.tryLoc==="root")return se("end");if(ne.tryLoc<=this.prev){var ve=a.call(ne,"catchLoc"),be=a.call(ne,"finallyLoc");if(ve&&be){if(this.prev=0;--se){var me=this.tryEntries[se];if(me.tryLoc<=this.prev&&a.call(me,"finallyLoc")&&this.prev=0;--j){var se=this.tryEntries[j];if(se.finallyLoc===$)return this.complete(se.completion,se.afterLoc),ue(se),D}},catch:function($){for(var j=this.tryEntries.length-1;j>=0;--j){var se=this.tryEntries[j];if(se.tryLoc===$){var me=se.completion;if(me.type==="throw"){var ne=me.arg;ue(se)}return ne}}throw new Error("illegal catch attempt")},delegateYield:function($,j,se){return this.delegate={iterator:B($),resultName:j,nextLoc:se},this.method==="next"&&(this.arg=n),D}},o}},959:function(h,m,e){"use strict";e.d(m,{Z:function(){return l}});var r=e(2374);function t(a,s){var c=a==null?null:typeof Symbol!="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(c!=null){var v,g,x,u,f=[],S=!0,O=!1;try{if(x=(c=c.call(a)).next,s===0){if(Object(c)!==c)return;S=!1}else for(;!(S=(v=x.call(c)).done)&&(f.push(v.value),f.length!==s);S=!0);}catch(w){O=!0,g=w}finally{try{if(!S&&c.return!=null&&(u=c.return(),Object(u)!==u))return}finally{if(O)throw g}}return f}}var n=e(16333),o=e(38483);function l(a,s){return(0,r.Z)(a)||t(a,s)||(0,n.Z)(a,s)||(0,o.Z)()}},82435:function(h,m,e){"use strict";e.d(m,{Z:function(){return l}});var r=e(2374),t=e(27131),n=e(16333),o=e(38483);function l(a){return(0,r.Z)(a)||(0,t.Z)(a)||(0,n.Z)(a)||(0,o.Z)()}},30360:function(h,m,e){"use strict";e.d(m,{Z:function(){return a}});var r=e(64044);function t(s){if(Array.isArray(s))return(0,r.Z)(s)}var n=e(27131),o=e(16333);function l(){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 a(s){return t(s)||(0,n.Z)(s)||(0,o.Z)(s)||l()}},45233:function(h,m,e){"use strict";e.d(m,{Z:function(){return n}});var r=e(97382);function t(o,l){if((0,r.Z)(o)!="object"||!o)return o;var a=o[Symbol.toPrimitive];if(a!==void 0){var s=a.call(o,l||"default");if((0,r.Z)(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(o)}function n(o){var l=t(o,"string");return(0,r.Z)(l)=="symbol"?l:String(l)}},97382:function(h,m,e){"use strict";e.d(m,{Z:function(){return r}});function r(t){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r(t)}},16333:function(h,m,e){"use strict";e.d(m,{Z:function(){return t}});var r=e(64044);function t(n,o){if(n){if(typeof n=="string")return(0,r.Z)(n,o);var l=Object.prototype.toString.call(n).slice(8,-1);if(l==="Object"&&n.constructor&&(l=n.constructor.name),l==="Map"||l==="Set")return Array.from(n);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return(0,r.Z)(n,o)}}},84707:function(h,m,e){"use strict";e.d(m,{J$:function(){return pe},ZP:function(){return xe},kY:function(){return N}});var r=e(50959),t=e(4322);const n=()=>{},o=n(),l=Object,a=Oe=>Oe===o,s=Oe=>typeof Oe=="function",c=(Oe,Fe)=>g1(g1({},Oe),Fe),v=Oe=>s(Oe.then),g=new WeakMap;let x=0;const u=Oe=>{const Fe=typeof Oe,We=Oe&&Oe.constructor,Se=We==Date;let Te,Ae;if(l(Oe)===Oe&&!Se&&We!=RegExp){if(Te=g.get(Oe),Te)return Te;if(Te=++x+"~",g.set(Oe,Te),We==Array){for(Te="@",Ae=0;AeP&&typeof window.requestAnimationFrame!=w,L=(Oe,Fe)=>{const We=f.get(Oe);return[()=>!a(Fe)&&Oe.get(Fe)||S,Se=>{if(!a(Fe)){const Te=Oe.get(Fe);Fe in O||(O[Fe]=Te),We[5](Fe,c(Te,Se),Te||S)}},We[6],()=>!a(Fe)&&Fe in O?O[Fe]:!a(Fe)&&Oe.get(Fe)||S]};let I=!0;const T=()=>I,[q,Q]=P&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[n,n],M=()=>{const Oe=Z&&document.visibilityState;return a(Oe)||Oe!=="hidden"},J=Oe=>(Z&&document.addEventListener("visibilitychange",Oe),q("focus",Oe),()=>{Z&&document.removeEventListener("visibilitychange",Oe),Q("focus",Oe)}),X=Oe=>{const Fe=()=>{I=!0,Oe()},We=()=>{I=!1};return q("online",Fe),q("offline",We),()=>{Q("online",Fe),Q("offline",We)}},V={isOnline:T,isVisible:M},k={initFocus:J,initReconnect:X},ae=!r.useId,le=!P||"Deno"in window,ue=Oe=>D()?window.requestAnimationFrame(Oe):setTimeout(Oe,1),R=le?r.useEffect:r.useLayoutEffect,B=typeof navigator!="undefined"&&navigator.connection,G=!le&&B&&(["slow-2g","2g"].includes(B.effectiveType)||B.saveData),$=Oe=>{if(s(Oe))try{Oe=Oe()}catch(We){Oe=""}const Fe=Oe;return Oe=typeof Oe=="string"?Oe:(Array.isArray(Oe)?Oe.length:Oe)?u(Oe):"",[Oe,Fe]};let j=0;const se=()=>++j,me=0,ne=1,U=2;var be={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:me,MUTATE_EVENT:U,RECONNECT_EVENT:ne};function Ee(...Oe){return mf(this,null,function*(){const[Fe,We,Se,Te]=Oe,Ae=c({populateCache:!0,throwOnError:!0},typeof Te=="boolean"?{revalidate:Te}:Te||{});let at=Ae.populateCache;const mt=Ae.rollbackOnError;let zt=Ae.optimisticData;const hn=Ae.revalidate!==!1,ot=On=>typeof mt=="function"?mt(On):mt!==!1,un=Ae.throwOnError;if(s(We)){const On=We,gt=[],Nt=Fe.keys();for(const Qt of Nt)!/^\$(inf|sub)\$/.test(Qt)&&On(Fe.get(Qt)._k)&>.push(Qt);return Promise.all(gt.map(Cn))}return Cn(We);function Cn(On){return mf(this,null,function*(){const[gt]=$(On);if(!gt)return;const[Nt,Qt]=L(Fe,gt),[Kt,an,In,kn]=f.get(Fe),dn=()=>{const Dt=Kt[gt];return hn&&(delete In[gt],delete kn[gt],Dt&&Dt[0])?Dt[0](U).then(()=>Nt().data):Nt().data};if(Oe.length<3)return dn();let on=Se,Sn;const vn=se();an[gt]=[vn,0];const Bn=!a(zt),_n=Nt(),mr=_n.data,It=_n._c,Ct=a(It)?mr:It;if(Bn&&(zt=s(zt)?zt(Ct,mr):zt,Qt({data:zt,_c:Ct})),s(on))try{on=on(Ct)}catch(Dt){Sn=Dt}if(on&&v(on))if(on=yield on.catch(Dt=>{Sn=Dt}),vn!==an[gt][0]){if(Sn)throw Sn;return on}else Sn&&Bn&&ot(Sn)&&(at=!0,Qt({data:Ct,_c:o}));if(at&&!Sn)if(s(at)){const Dt=at(on,Ct);Qt({data:Dt,error:o,_c:o})}else Qt({data:on,error:o,_c:o});if(an[gt][1]=se(),Promise.resolve(dn()).then(()=>{Qt({_c:o})}),Sn){if(un)throw Sn;return}return on})}})}const je=(Oe,Fe)=>{for(const We in Oe)Oe[We][0]&&Oe[We][0](Fe)},we=(Oe,Fe)=>{if(!f.has(Oe)){const We=c(k,Fe),Se={},Te=Ee.bind(o,Oe);let Ae=n;const at={},mt=(ot,un)=>{const Cn=at[ot]||[];return at[ot]=Cn,Cn.push(un),()=>Cn.splice(Cn.indexOf(un),1)},zt=(ot,un,Cn)=>{Oe.set(ot,un);const On=at[ot];if(On)for(const gt of On)gt(un,Cn)},hn=()=>{if(!f.has(Oe)&&(f.set(Oe,[Se,{},{},{},Te,zt,mt]),!le)){const ot=We.initFocus(setTimeout.bind(o,je.bind(o,Se,me))),un=We.initReconnect(setTimeout.bind(o,je.bind(o,Se,ne)));Ae=()=>{ot&&ot(),un&&un(),f.delete(Oe)}}};return hn(),[Oe,Te,hn,Ae]}return[Oe,f.get(Oe)[4]]},st=(Oe,Fe,We,Se,Te)=>{const Ae=We.errorRetryCount,at=Te.retryCount,mt=~~((Math.random()+.5)*(1<<(at<8?at:8)))*We.errorRetryInterval;!a(Ae)&&at>Ae||setTimeout(Se,mt,Te)},ct=(Oe,Fe)=>u(Oe)==u(Fe),[Ye,ut]=we(new Map),qe=c({onLoadingSlow:n,onSuccess:n,onError:n,onErrorRetry:st,onDiscarded:n,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:G?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:G?5e3:3e3,compare:ct,isPaused:()=>!1,cache:Ye,mutate:ut,fallback:{}},V),ze=(Oe,Fe)=>{const We=c(Oe,Fe);if(Fe){const{use:Se,fallback:Te}=Oe,{use:Ae,fallback:at}=Fe;Se&&Ae&&(We.use=Se.concat(Ae)),Te&&at&&(We.fallback=c(Te,at))}return We},W=(0,r.createContext)({}),F=Oe=>{const{value:Fe}=Oe,We=(0,r.useContext)(W),Se=s(Fe),Te=(0,r.useMemo)(()=>Se?Fe(We):Fe,[Se,We,Fe]),Ae=(0,r.useMemo)(()=>Se?Te:ze(We,Te),[Se,We,Te]),at=Te&&Te.provider,mt=(0,r.useRef)(o);at&&!mt.current&&(mt.current=we(at(Ae.cache||Ye),Te));const zt=mt.current;return zt&&(Ae.cache=zt[0],Ae.mutate=zt[1]),R(()=>{if(zt)return zt[2]&&zt[2](),zt[3]},[]),(0,r.createElement)(W.Provider,c(Oe,{value:Ae}))},A="$inf$",K=P&&window.__SWR_DEVTOOLS_USE__,re=K?window.__SWR_DEVTOOLS_USE__:[],de=()=>{K&&(window.__SWR_DEVTOOLS_REACT__=r)},Y=Oe=>s(Oe[1])?[Oe[0],Oe[1],Oe[2]||{}]:[Oe[0],null,(Oe[1]===null?Oe[2]:Oe[1])||{}],N=()=>c(qe,(0,r.useContext)(W)),ie=(Oe,Fe)=>{const[We,Se]=$(Oe),[,,,Te]=f.get(Ye);if(Te[We])return Te[We];const Ae=Fe(Se);return Te[We]=Ae,Ae},oe=Oe=>(Fe,We,Se)=>Oe(Fe,We&&((...Ae)=>{const[at]=$(Fe),[,,,mt]=f.get(Ye);if(at.startsWith(A))return We(...Ae);const zt=mt[at];return a(zt)?We(...Ae):(delete mt[at],zt)}),Se),ee=re.concat(oe),fe=Oe=>function(...We){const Se=N(),[Te,Ae,at]=Y(We),mt=ze(Se,at);let zt=Oe;const{use:hn}=mt,ot=(hn||[]).concat(ee);for(let un=ot.length;un--;)zt=ot[un](zt);return zt(Te,Ae||mt.fetcher||null,mt)},Ne=(Oe,Fe,We)=>{const Se=Fe[Oe]||(Fe[Oe]=[]);return Se.push(We),()=>{const Te=Se.indexOf(We);Te>=0&&(Se[Te]=Se[Se.length-1],Se.pop())}},tt=(Oe,Fe)=>(...We)=>{const[Se,Te,Ae]=Y(We),at=(Ae.use||[]).concat(Fe);return Oe(Se,Te,G5(g1({},Ae),{use:at}))};de();const $e=Oe=>serialize(Oe)[0],he=r.use||(Oe=>{if(Oe.status==="pending")throw Oe;if(Oe.status==="fulfilled")return Oe.value;throw Oe.status==="rejected"?Oe.reason:(Oe.status="pending",Oe.then(Fe=>{Oe.status="fulfilled",Oe.value=Fe},Fe=>{Oe.status="rejected",Oe.reason=Fe}),Oe)}),ke={dedupe:!0},Ge=(Oe,Fe,We)=>{const{cache:Se,compare:Te,suspense:Ae,fallbackData:at,revalidateOnMount:mt,revalidateIfStale:zt,refreshInterval:hn,refreshWhenHidden:ot,refreshWhenOffline:un,keepPreviousData:Cn}=We,[On,gt,Nt,Qt]=f.get(Se),[Kt,an]=$(Oe),In=(0,r.useRef)(!1),kn=(0,r.useRef)(!1),dn=(0,r.useRef)(Kt),on=(0,r.useRef)(Fe),Sn=(0,r.useRef)(We),vn=()=>Sn.current,Bn=()=>vn().isVisible()&&vn().isOnline(),[_n,mr,It,Ct]=L(Se,Kt),Dt=(0,r.useRef)({}).current,dt=a(at)?We.fallback[Kt]:at,qt=(Zt,Qe)=>{for(const tn in Dt){const Ht=tn;if(Ht==="data"){if(!Te(Zt[Ht],Qe[Ht])&&(!a(Zt[Ht])||!Te(Ke,Qe[Ht])))return!1}else if(Qe[Ht]!==Zt[Ht])return!1}return!0},pn=(0,r.useMemo)(()=>{const Zt=(()=>!Kt||!Fe?!1:a(mt)?vn().isPaused()||Ae?!1:a(zt)?!0:zt:mt)(),Qe=er=>{const qn=c(er);return delete qn._k,Zt?g1({isValidating:!0,isLoading:!0},qn):qn},tn=_n(),Ht=Ct(),wn=Qe(tn),mn=tn===Ht?wn:Qe(Ht);let Pn=wn;return[()=>{const er=Qe(_n());return qt(er,Pn)?(Pn.data=er.data,Pn.isLoading=er.isLoading,Pn.isValidating=er.isValidating,Pn.error=er.error,Pn):(Pn=er,er)},()=>mn]},[Se,Kt]),Rn=(0,t.useSyncExternalStore)((0,r.useCallback)(Zt=>It(Kt,(Qe,tn)=>{qt(tn,Qe)||Zt()}),[Se,Kt]),pn[0],pn[1]),En=!In.current,rr=On[Kt]&&On[Kt].length>0,Xn=Rn.data,pt=a(Xn)?dt:Xn,Et=Rn.error,Ze=(0,r.useRef)(pt),Ke=Cn?a(Xn)?Ze.current:Xn:pt,Ot=(()=>rr&&!a(Et)?!1:En&&!a(mt)?mt:vn().isPaused()?!1:Ae?a(pt)?!1:zt:a(pt)||zt)(),xt=!!(Kt&&Fe&&En&&Ot),Ut=a(Rn.isValidating)?xt:Rn.isValidating,Rt=a(Rn.isLoading)?xt:Rn.isLoading,Jt=(0,r.useCallback)(Zt=>mf(this,null,function*(){const Qe=on.current;if(!Kt||!Qe||kn.current||vn().isPaused())return!1;let tn,Ht,wn=!0;const mn=Zt||{},Pn=!Nt[Kt]||!mn.dedupe,er=()=>ae?!kn.current&&Kt===dn.current&&In.current:Kt===dn.current,qn={isValidating:!1,isLoading:!1},lt=()=>{mr(qn)},rt=()=>{const bt=Nt[Kt];bt&&bt[1]===Ht&&delete Nt[Kt]},yt={isValidating:!0};a(_n().data)&&(yt.isLoading=!0);try{if(Pn&&(mr(yt),We.loadingTimeout&&a(_n().data)&&setTimeout(()=>{wn&&er()&&vn().onLoadingSlow(Kt,We)},We.loadingTimeout),Nt[Kt]=[Qe(an),se()]),[tn,Ht]=Nt[Kt],tn=yield tn,Pn&&setTimeout(rt,We.dedupingInterval),!Nt[Kt]||Nt[Kt][1]!==Ht)return Pn&&er()&&vn().onDiscarded(Kt),!1;qn.error=o;const bt=gt[Kt];if(!a(bt)&&(Ht<=bt[0]||Ht<=bt[1]||bt[1]===0))return lt(),Pn&&er()&&vn().onDiscarded(Kt),!1;const Me=_n().data;qn.data=Te(Me,tn)?Me:tn,Pn&&er()&&vn().onSuccess(tn,Kt,We)}catch(bt){rt();const Me=vn(),{shouldRetryOnError:Pe}=Me;Me.isPaused()||(qn.error=bt,Pn&&er()&&(Me.onError(bt,Kt,Me),(Pe===!0||s(Pe)&&Pe(bt))&&Bn()&&Me.onErrorRetry(bt,Kt,Me,Re=>{const He=On[Kt];He&&He[0]&&He[0](be.ERROR_REVALIDATE_EVENT,Re)},{retryCount:(mn.retryCount||0)+1,dedupe:!0})))}return wn=!1,lt(),!0}),[Kt,Se]),St=(0,r.useCallback)((...Zt)=>Ee(Se,dn.current,...Zt),[]);if(R(()=>{on.current=Fe,Sn.current=We,a(Xn)||(Ze.current=Xn)}),R(()=>{if(!Kt)return;const Zt=Jt.bind(o,ke);let Qe=0;const Ht=Ne(Kt,On,(wn,mn={})=>{if(wn==be.FOCUS_EVENT){const Pn=Date.now();vn().revalidateOnFocus&&Pn>Qe&&Bn()&&(Qe=Pn+vn().focusThrottleInterval,Zt())}else if(wn==be.RECONNECT_EVENT)vn().revalidateOnReconnect&&Bn()&&Zt();else{if(wn==be.MUTATE_EVENT)return Jt();if(wn==be.ERROR_REVALIDATE_EVENT)return Jt(mn)}});return kn.current=!1,dn.current=Kt,In.current=!0,mr({_k:an}),Ot&&(a(pt)||le?Zt():ue(Zt)),()=>{kn.current=!0,Ht()}},[Kt]),R(()=>{let Zt;function Qe(){const Ht=s(hn)?hn(_n().data):hn;Ht&&Zt!==-1&&(Zt=setTimeout(tn,Ht))}function tn(){!_n().error&&(ot||vn().isVisible())&&(un||vn().isOnline())?Jt(ke).then(Qe):Qe()}return Qe(),()=>{Zt&&(clearTimeout(Zt),Zt=-1)}},[hn,ot,un,Kt]),(0,r.useDebugValue)(Ke),Ae&&a(pt)&&Kt){if(!ae&&le)throw new Error("Fallback data is required when using suspense in SSR.");on.current=Fe,Sn.current=We,kn.current=!1;const Zt=Qt[Kt];if(!a(Zt)){const Qe=St(Zt);he(Qe)}if(a(Et)){const Qe=Jt(ke);a(Ke)||(Qe.status="fulfilled",Qe.value=!0),he(Qe)}else throw Et}return{mutate:St,get data(){return Dt.data=!0,Ke},get error(){return Dt.error=!0,Et},get isValidating(){return Dt.isValidating=!0,Ut},get isLoading(){return Dt.isLoading=!0,Rt}}},pe=l.defineProperty(F,"defaultValue",{value:qe}),xe=fe(Ge)}},rc={};function rn(h){var m=rc[h];if(m!==void 0)return m.exports;var e=rc[h]={id:h,loaded:!1,exports:{}};return Dc[h].call(e.exports,e,e.exports,rn),e.loaded=!0,e.exports}rn.m=Dc,function(){rn.amdO={}}(),function(){rn.n=function(h){var m=h&&h.__esModule?function(){return h.default}:function(){return h};return rn.d(m,{a:m}),m}}(),function(){var h=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;rn.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var t=Object.create(null);rn.r(t);var n={};m=m||[null,h({}),h([]),h(h)];for(var o=r&2&&e;typeof o=="object"&&!~m.indexOf(o);o=h(o))Object.getOwnPropertyNames(o).forEach(function(l){n[l]=function(){return e[l]}});return n.default=function(){return e},rn.d(t,n),t}}(),function(){rn.d=function(h,m){for(var e in m)rn.o(m,e)&&!rn.o(h,e)&&Object.defineProperty(h,e,{enumerable:!0,get:m[e]})}}(),function(){rn.f={},rn.e=function(h){return Promise.all(Object.keys(rn.f).reduce(function(m,e){return rn.f[e](h,m),m},[]))}}(),function(){rn.u=function(h){return""+({38:"src__pages__goodsSetMeal__$id__create",207:"src__pages__user__register__service",344:"src__pages__user__register___mock",603:"src__pages__user__user__components__MoneyFormModal",675:"src__pages__note__note__edit",1333:"src__pages__config__agreement__index",1551:"src__pages__goodsSetMeal__$id__update",1817:"src__pages__user__grade__index",1873:"src__pages__system__log__index",2263:"src__pages__system__role__index",2341:"src__pages__goodsSetMeal__index",2722:"src__pages__finance__integral__index",2727:"src__pages__user__register-result__style.style",2890:"src__pages__config__config__index",3192:"src__pages__Welcome",3342:"src__pages__note__cate__edit",3740:"src__pages__note__cate__index",3759:"src__pages__goods__index",3836:"src__pages__system__user__index",4021:"src__pages__order__components__EscFormModal",4147:"src__pages__finance__variation__index",4373:"src__pages__config__banner__index",4468:"src__pages__user__user__components__LevelFormModal",4575:"src__pages__user__user__edit",4615:"src__pages__order__index",4650:"src__pages__404",4936:"src__pages__note__note__index",5106:"src__pages__user__register-result__index",5258:"src__pages__finance__earnings__index",5281:"src__pages__user__login__index",5351:"src__pages__facility__serviceCharge__index",5829:"src__pages__finance__withdraw__components__TempFormModal",6109:"src__pages__order__components__BonusFormModal",6301:"t__plugin-layout__Layout",6387:"src__pages__config__agreement__edit",6660:"src__pages__piles__components__BonusFormModal",6864:"src__pages__payment__index",7015:"src__pages__user__register__style.style",7178:"src__pages__finance__withdraw__index",7210:"src__pages__system__user__edit",7247:"src__pages__piles__index",7329:"src__pages__Admin",7709:"src__pages__system__menu__index",8009:"src__pages__user__login__login.test",8015:"src__pages__goods__$id__create",8263:"src__pages__user__register__index",8280:"src__pages__user__user__components__TempFormModal",8314:"src__pages__user__user__components__ShopModal",8776:"src__pages__system__menu__edit",8780:"src__pages__user__user__index",8922:"src__pages__system__role__edit",9398:"src__pages__goods__$id__update",9532:"src__pages__config__banner__edit"}[h]||h)+"."+{38:"b74a2053",207:"7eb8f028",344:"ea66fc46",449:"5332a375",603:"8cdb4822",675:"9d6e285d",939:"4dac2e3d",1156:"1bbdcfa3",1333:"92944ba0",1411:"867e45ca",1551:"9c3b61ba",1817:"6aa603e3",1873:"1a4bf197",2263:"c67dccce",2284:"ee505d0a",2341:"e32f90ae",2722:"032586c0",2727:"8978797b",2890:"e4aad0f2",2901:"e8cca09c",2911:"27900bb6",3192:"522f55aa",3342:"e886800f",3740:"40e4f59b",3759:"fa097ccf",3836:"33917a06",3917:"f9f758fe",4021:"c75bb218",4147:"ac3f402d",4373:"e1c25e15",4468:"d1827111",4575:"e96ab324",4587:"ddfce86d",4615:"e99ebbf7",4650:"f65a06f8",4936:"c6985ebb",4974:"a79f4396",5106:"00dca1b1",5258:"c1cc6c07",5281:"175dbb02",5351:"3a9980d9",5384:"529f9ae4",5829:"58bbe3b9",6030:"760d1f86",6109:"c73a39a7",6276:"f338284a",6301:"10dd31a5",6387:"2203edcb",6660:"df97a800",6864:"c82aad4e",7015:"cba1b658",7178:"5625e105",7210:"51817833",7247:"609a36c8",7329:"4313be8d",7709:"0e6a55a9",8009:"f48da20e",8015:"195284d0",8263:"fa46b55c",8280:"27d459bc",8314:"552f5065",8776:"bc36c2fa",8780:"7f3621ca",8922:"f186886d",9398:"f785b588",9532:"84d1c2ab",9910:"c8239399"}[h]+".async.js"}}(),function(){rn.miniCssF=function(h){return""+({5281:"src__pages__user__login__index",6301:"t__plugin-layout__Layout",7709:"src__pages__system__menu__index",8776:"src__pages__system__menu__edit"}[h]||h)+"."+{2284:"dd92c41b",5281:"13f5e071",6301:"6cae69f5",7709:"e6c21101",8776:"e6c21101"}[h]+".chunk.css"}}(),function(){rn.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(h){if(typeof window=="object")return window}}()}(),function(){rn.hmd=function(h){return h=Object.create(h),h.children||(h.children=[]),Object.defineProperty(h,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+h.id)}}),h}}(),function(){rn.o=function(h,m){return Object.prototype.hasOwnProperty.call(h,m)}}(),function(){var h={},m="ant-design-pro:";rn.l=function(e,r,t,n){if(h[e]){h[e].push(r);return}var o,l;if(t!==void 0)for(var a=document.getElementsByTagName("script"),s=0;s{},o=n(),l=Object,a=Oe=>Oe===o,s=Oe=>typeof Oe=="function",c=(Oe,Fe)=>g1(g1({},Oe),Fe),v=Oe=>s(Oe.then),g=new WeakMap;let x=0;const u=Oe=>{const Fe=typeof Oe,We=Oe&&Oe.constructor,Se=We==Date;let Te,Ae;if(l(Oe)===Oe&&!Se&&We!=RegExp){if(Te=g.get(Oe),Te)return Te;if(Te=++x+"~",g.set(Oe,Te),We==Array){for(Te="@",Ae=0;AeP&&typeof window.requestAnimationFrame!=w,L=(Oe,Fe)=>{const We=f.get(Oe);return[()=>!a(Fe)&&Oe.get(Fe)||S,Se=>{if(!a(Fe)){const Te=Oe.get(Fe);Fe in O||(O[Fe]=Te),We[5](Fe,c(Te,Se),Te||S)}},We[6],()=>!a(Fe)&&Fe in O?O[Fe]:!a(Fe)&&Oe.get(Fe)||S]};let I=!0;const T=()=>I,[q,Q]=P&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[n,n],M=()=>{const Oe=Z&&document.visibilityState;return a(Oe)||Oe!=="hidden"},J=Oe=>(Z&&document.addEventListener("visibilitychange",Oe),q("focus",Oe),()=>{Z&&document.removeEventListener("visibilitychange",Oe),Q("focus",Oe)}),X=Oe=>{const Fe=()=>{I=!0,Oe()},We=()=>{I=!1};return q("online",Fe),q("offline",We),()=>{Q("online",Fe),Q("offline",We)}},V={isOnline:T,isVisible:M},k={initFocus:J,initReconnect:X},ae=!r.useId,le=!P||"Deno"in window,ue=Oe=>D()?window.requestAnimationFrame(Oe):setTimeout(Oe,1),R=le?r.useEffect:r.useLayoutEffect,B=typeof navigator!="undefined"&&navigator.connection,G=!le&&B&&(["slow-2g","2g"].includes(B.effectiveType)||B.saveData),$=Oe=>{if(s(Oe))try{Oe=Oe()}catch(We){Oe=""}const Fe=Oe;return Oe=typeof Oe=="string"?Oe:(Array.isArray(Oe)?Oe.length:Oe)?u(Oe):"",[Oe,Fe]};let j=0;const se=()=>++j,me=0,ne=1,U=2;var be={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:me,MUTATE_EVENT:U,RECONNECT_EVENT:ne};function Ee(...Oe){return mf(this,null,function*(){const[Fe,We,Se,Te]=Oe,Ae=c({populateCache:!0,throwOnError:!0},typeof Te=="boolean"?{revalidate:Te}:Te||{});let at=Ae.populateCache;const mt=Ae.rollbackOnError;let zt=Ae.optimisticData;const hn=Ae.revalidate!==!1,ot=On=>typeof mt=="function"?mt(On):mt!==!1,un=Ae.throwOnError;if(s(We)){const On=We,gt=[],Nt=Fe.keys();for(const Qt of Nt)!/^\$(inf|sub)\$/.test(Qt)&&On(Fe.get(Qt)._k)&>.push(Qt);return Promise.all(gt.map(Cn))}return Cn(We);function Cn(On){return mf(this,null,function*(){const[gt]=$(On);if(!gt)return;const[Nt,Qt]=L(Fe,gt),[Kt,an,In,kn]=f.get(Fe),dn=()=>{const Dt=Kt[gt];return hn&&(delete In[gt],delete kn[gt],Dt&&Dt[0])?Dt[0](U).then(()=>Nt().data):Nt().data};if(Oe.length<3)return dn();let on=Se,Sn;const vn=se();an[gt]=[vn,0];const Bn=!a(zt),_n=Nt(),mr=_n.data,It=_n._c,Ct=a(It)?mr:It;if(Bn&&(zt=s(zt)?zt(Ct,mr):zt,Qt({data:zt,_c:Ct})),s(on))try{on=on(Ct)}catch(Dt){Sn=Dt}if(on&&v(on))if(on=yield on.catch(Dt=>{Sn=Dt}),vn!==an[gt][0]){if(Sn)throw Sn;return on}else Sn&&Bn&&ot(Sn)&&(at=!0,Qt({data:Ct,_c:o}));if(at&&!Sn)if(s(at)){const Dt=at(on,Ct);Qt({data:Dt,error:o,_c:o})}else Qt({data:on,error:o,_c:o});if(an[gt][1]=se(),Promise.resolve(dn()).then(()=>{Qt({_c:o})}),Sn){if(un)throw Sn;return}return on})}})}const je=(Oe,Fe)=>{for(const We in Oe)Oe[We][0]&&Oe[We][0](Fe)},we=(Oe,Fe)=>{if(!f.has(Oe)){const We=c(k,Fe),Se={},Te=Ee.bind(o,Oe);let Ae=n;const at={},mt=(ot,un)=>{const Cn=at[ot]||[];return at[ot]=Cn,Cn.push(un),()=>Cn.splice(Cn.indexOf(un),1)},zt=(ot,un,Cn)=>{Oe.set(ot,un);const On=at[ot];if(On)for(const gt of On)gt(un,Cn)},hn=()=>{if(!f.has(Oe)&&(f.set(Oe,[Se,{},{},{},Te,zt,mt]),!le)){const ot=We.initFocus(setTimeout.bind(o,je.bind(o,Se,me))),un=We.initReconnect(setTimeout.bind(o,je.bind(o,Se,ne)));Ae=()=>{ot&&ot(),un&&un(),f.delete(Oe)}}};return hn(),[Oe,Te,hn,Ae]}return[Oe,f.get(Oe)[4]]},st=(Oe,Fe,We,Se,Te)=>{const Ae=We.errorRetryCount,at=Te.retryCount,mt=~~((Math.random()+.5)*(1<<(at<8?at:8)))*We.errorRetryInterval;!a(Ae)&&at>Ae||setTimeout(Se,mt,Te)},ct=(Oe,Fe)=>u(Oe)==u(Fe),[Ye,ut]=we(new Map),qe=c({onLoadingSlow:n,onSuccess:n,onError:n,onErrorRetry:st,onDiscarded:n,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:G?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:G?5e3:3e3,compare:ct,isPaused:()=>!1,cache:Ye,mutate:ut,fallback:{}},V),ze=(Oe,Fe)=>{const We=c(Oe,Fe);if(Fe){const{use:Se,fallback:Te}=Oe,{use:Ae,fallback:at}=Fe;Se&&Ae&&(We.use=Se.concat(Ae)),Te&&at&&(We.fallback=c(Te,at))}return We},W=(0,r.createContext)({}),F=Oe=>{const{value:Fe}=Oe,We=(0,r.useContext)(W),Se=s(Fe),Te=(0,r.useMemo)(()=>Se?Fe(We):Fe,[Se,We,Fe]),Ae=(0,r.useMemo)(()=>Se?Te:ze(We,Te),[Se,We,Te]),at=Te&&Te.provider,mt=(0,r.useRef)(o);at&&!mt.current&&(mt.current=we(at(Ae.cache||Ye),Te));const zt=mt.current;return zt&&(Ae.cache=zt[0],Ae.mutate=zt[1]),R(()=>{if(zt)return zt[2]&&zt[2](),zt[3]},[]),(0,r.createElement)(W.Provider,c(Oe,{value:Ae}))},A="$inf$",K=P&&window.__SWR_DEVTOOLS_USE__,re=K?window.__SWR_DEVTOOLS_USE__:[],de=()=>{K&&(window.__SWR_DEVTOOLS_REACT__=r)},Y=Oe=>s(Oe[1])?[Oe[0],Oe[1],Oe[2]||{}]:[Oe[0],null,(Oe[1]===null?Oe[2]:Oe[1])||{}],N=()=>c(qe,(0,r.useContext)(W)),ie=(Oe,Fe)=>{const[We,Se]=$(Oe),[,,,Te]=f.get(Ye);if(Te[We])return Te[We];const Ae=Fe(Se);return Te[We]=Ae,Ae},oe=Oe=>(Fe,We,Se)=>Oe(Fe,We&&((...Ae)=>{const[at]=$(Fe),[,,,mt]=f.get(Ye);if(at.startsWith(A))return We(...Ae);const zt=mt[at];return a(zt)?We(...Ae):(delete mt[at],zt)}),Se),ee=re.concat(oe),fe=Oe=>function(...We){const Se=N(),[Te,Ae,at]=Y(We),mt=ze(Se,at);let zt=Oe;const{use:hn}=mt,ot=(hn||[]).concat(ee);for(let un=ot.length;un--;)zt=ot[un](zt);return zt(Te,Ae||mt.fetcher||null,mt)},Ne=(Oe,Fe,We)=>{const Se=Fe[Oe]||(Fe[Oe]=[]);return Se.push(We),()=>{const Te=Se.indexOf(We);Te>=0&&(Se[Te]=Se[Se.length-1],Se.pop())}},tt=(Oe,Fe)=>(...We)=>{const[Se,Te,Ae]=Y(We),at=(Ae.use||[]).concat(Fe);return Oe(Se,Te,G5(g1({},Ae),{use:at}))};de();const $e=Oe=>serialize(Oe)[0],he=r.use||(Oe=>{if(Oe.status==="pending")throw Oe;if(Oe.status==="fulfilled")return Oe.value;throw Oe.status==="rejected"?Oe.reason:(Oe.status="pending",Oe.then(Fe=>{Oe.status="fulfilled",Oe.value=Fe},Fe=>{Oe.status="rejected",Oe.reason=Fe}),Oe)}),ke={dedupe:!0},Ge=(Oe,Fe,We)=>{const{cache:Se,compare:Te,suspense:Ae,fallbackData:at,revalidateOnMount:mt,revalidateIfStale:zt,refreshInterval:hn,refreshWhenHidden:ot,refreshWhenOffline:un,keepPreviousData:Cn}=We,[On,gt,Nt,Qt]=f.get(Se),[Kt,an]=$(Oe),In=(0,r.useRef)(!1),kn=(0,r.useRef)(!1),dn=(0,r.useRef)(Kt),on=(0,r.useRef)(Fe),Sn=(0,r.useRef)(We),vn=()=>Sn.current,Bn=()=>vn().isVisible()&&vn().isOnline(),[_n,mr,It,Ct]=L(Se,Kt),Dt=(0,r.useRef)({}).current,dt=a(at)?We.fallback[Kt]:at,qt=(Zt,Qe)=>{for(const tn in Dt){const Ht=tn;if(Ht==="data"){if(!Te(Zt[Ht],Qe[Ht])&&(!a(Zt[Ht])||!Te(Ke,Qe[Ht])))return!1}else if(Qe[Ht]!==Zt[Ht])return!1}return!0},pn=(0,r.useMemo)(()=>{const Zt=(()=>!Kt||!Fe?!1:a(mt)?vn().isPaused()||Ae?!1:a(zt)?!0:zt:mt)(),Qe=er=>{const qn=c(er);return delete qn._k,Zt?g1({isValidating:!0,isLoading:!0},qn):qn},tn=_n(),Ht=Ct(),wn=Qe(tn),mn=tn===Ht?wn:Qe(Ht);let Pn=wn;return[()=>{const er=Qe(_n());return qt(er,Pn)?(Pn.data=er.data,Pn.isLoading=er.isLoading,Pn.isValidating=er.isValidating,Pn.error=er.error,Pn):(Pn=er,er)},()=>mn]},[Se,Kt]),Rn=(0,t.useSyncExternalStore)((0,r.useCallback)(Zt=>It(Kt,(Qe,tn)=>{qt(tn,Qe)||Zt()}),[Se,Kt]),pn[0],pn[1]),En=!In.current,rr=On[Kt]&&On[Kt].length>0,Xn=Rn.data,pt=a(Xn)?dt:Xn,Et=Rn.error,Ze=(0,r.useRef)(pt),Ke=Cn?a(Xn)?Ze.current:Xn:pt,Ot=(()=>rr&&!a(Et)?!1:En&&!a(mt)?mt:vn().isPaused()?!1:Ae?a(pt)?!1:zt:a(pt)||zt)(),xt=!!(Kt&&Fe&&En&&Ot),Ut=a(Rn.isValidating)?xt:Rn.isValidating,Rt=a(Rn.isLoading)?xt:Rn.isLoading,Jt=(0,r.useCallback)(Zt=>mf(this,null,function*(){const Qe=on.current;if(!Kt||!Qe||kn.current||vn().isPaused())return!1;let tn,Ht,wn=!0;const mn=Zt||{},Pn=!Nt[Kt]||!mn.dedupe,er=()=>ae?!kn.current&&Kt===dn.current&&In.current:Kt===dn.current,qn={isValidating:!1,isLoading:!1},lt=()=>{mr(qn)},rt=()=>{const bt=Nt[Kt];bt&&bt[1]===Ht&&delete Nt[Kt]},yt={isValidating:!0};a(_n().data)&&(yt.isLoading=!0);try{if(Pn&&(mr(yt),We.loadingTimeout&&a(_n().data)&&setTimeout(()=>{wn&&er()&&vn().onLoadingSlow(Kt,We)},We.loadingTimeout),Nt[Kt]=[Qe(an),se()]),[tn,Ht]=Nt[Kt],tn=yield tn,Pn&&setTimeout(rt,We.dedupingInterval),!Nt[Kt]||Nt[Kt][1]!==Ht)return Pn&&er()&&vn().onDiscarded(Kt),!1;qn.error=o;const bt=gt[Kt];if(!a(bt)&&(Ht<=bt[0]||Ht<=bt[1]||bt[1]===0))return lt(),Pn&&er()&&vn().onDiscarded(Kt),!1;const Me=_n().data;qn.data=Te(Me,tn)?Me:tn,Pn&&er()&&vn().onSuccess(tn,Kt,We)}catch(bt){rt();const Me=vn(),{shouldRetryOnError:Pe}=Me;Me.isPaused()||(qn.error=bt,Pn&&er()&&(Me.onError(bt,Kt,Me),(Pe===!0||s(Pe)&&Pe(bt))&&Bn()&&Me.onErrorRetry(bt,Kt,Me,Re=>{const He=On[Kt];He&&He[0]&&He[0](be.ERROR_REVALIDATE_EVENT,Re)},{retryCount:(mn.retryCount||0)+1,dedupe:!0})))}return wn=!1,lt(),!0}),[Kt,Se]),St=(0,r.useCallback)((...Zt)=>Ee(Se,dn.current,...Zt),[]);if(R(()=>{on.current=Fe,Sn.current=We,a(Xn)||(Ze.current=Xn)}),R(()=>{if(!Kt)return;const Zt=Jt.bind(o,ke);let Qe=0;const Ht=Ne(Kt,On,(wn,mn={})=>{if(wn==be.FOCUS_EVENT){const Pn=Date.now();vn().revalidateOnFocus&&Pn>Qe&&Bn()&&(Qe=Pn+vn().focusThrottleInterval,Zt())}else if(wn==be.RECONNECT_EVENT)vn().revalidateOnReconnect&&Bn()&&Zt();else{if(wn==be.MUTATE_EVENT)return Jt();if(wn==be.ERROR_REVALIDATE_EVENT)return Jt(mn)}});return kn.current=!1,dn.current=Kt,In.current=!0,mr({_k:an}),Ot&&(a(pt)||le?Zt():ue(Zt)),()=>{kn.current=!0,Ht()}},[Kt]),R(()=>{let Zt;function Qe(){const Ht=s(hn)?hn(_n().data):hn;Ht&&Zt!==-1&&(Zt=setTimeout(tn,Ht))}function tn(){!_n().error&&(ot||vn().isVisible())&&(un||vn().isOnline())?Jt(ke).then(Qe):Qe()}return Qe(),()=>{Zt&&(clearTimeout(Zt),Zt=-1)}},[hn,ot,un,Kt]),(0,r.useDebugValue)(Ke),Ae&&a(pt)&&Kt){if(!ae&&le)throw new Error("Fallback data is required when using suspense in SSR.");on.current=Fe,Sn.current=We,kn.current=!1;const Zt=Qt[Kt];if(!a(Zt)){const Qe=St(Zt);he(Qe)}if(a(Et)){const Qe=Jt(ke);a(Ke)||(Qe.status="fulfilled",Qe.value=!0),he(Qe)}else throw Et}return{mutate:St,get data(){return Dt.data=!0,Ke},get error(){return Dt.error=!0,Et},get isValidating(){return Dt.isValidating=!0,Ut},get isLoading(){return Dt.isLoading=!0,Rt}}},pe=l.defineProperty(F,"defaultValue",{value:qe}),xe=fe(Ge)}},rc={};function rn(h){var m=rc[h];if(m!==void 0)return m.exports;var e=rc[h]={id:h,loaded:!1,exports:{}};return Dc[h].call(e.exports,e,e.exports,rn),e.loaded=!0,e.exports}rn.m=Dc,function(){rn.amdO={}}(),function(){rn.n=function(h){var m=h&&h.__esModule?function(){return h.default}:function(){return h};return rn.d(m,{a:m}),m}}(),function(){var h=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;rn.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var t=Object.create(null);rn.r(t);var n={};m=m||[null,h({}),h([]),h(h)];for(var o=r&2&&e;typeof o=="object"&&!~m.indexOf(o);o=h(o))Object.getOwnPropertyNames(o).forEach(function(l){n[l]=function(){return e[l]}});return n.default=function(){return e},rn.d(t,n),t}}(),function(){rn.d=function(h,m){for(var e in m)rn.o(m,e)&&!rn.o(h,e)&&Object.defineProperty(h,e,{enumerable:!0,get:m[e]})}}(),function(){rn.f={},rn.e=function(h){return Promise.all(Object.keys(rn.f).reduce(function(m,e){return rn.f[e](h,m),m},[]))}}(),function(){rn.u=function(h){return""+({38:"src__pages__goodsSetMeal__$id__create",207:"src__pages__user__register__service",344:"src__pages__user__register___mock",603:"src__pages__user__user__components__MoneyFormModal",675:"src__pages__note__note__edit",1333:"src__pages__config__agreement__index",1551:"src__pages__goodsSetMeal__$id__update",1817:"src__pages__user__grade__index",1873:"src__pages__system__log__index",2263:"src__pages__system__role__index",2341:"src__pages__goodsSetMeal__index",2722:"src__pages__finance__integral__index",2727:"src__pages__user__register-result__style.style",2890:"src__pages__config__config__index",3192:"src__pages__Welcome",3342:"src__pages__note__cate__edit",3740:"src__pages__note__cate__index",3759:"src__pages__goods__index",3836:"src__pages__system__user__index",4021:"src__pages__order__components__EscFormModal",4147:"src__pages__finance__variation__index",4373:"src__pages__config__banner__index",4468:"src__pages__user__user__components__LevelFormModal",4575:"src__pages__user__user__edit",4615:"src__pages__order__index",4650:"src__pages__404",4936:"src__pages__note__note__index",5106:"src__pages__user__register-result__index",5258:"src__pages__finance__earnings__index",5281:"src__pages__user__login__index",5351:"src__pages__facility__serviceCharge__index",5829:"src__pages__finance__withdraw__components__TempFormModal",6109:"src__pages__order__components__BonusFormModal",6301:"t__plugin-layout__Layout",6387:"src__pages__config__agreement__edit",6660:"src__pages__piles__components__BonusFormModal",6864:"src__pages__payment__index",7015:"src__pages__user__register__style.style",7178:"src__pages__finance__withdraw__index",7210:"src__pages__system__user__edit",7247:"src__pages__piles__index",7329:"src__pages__Admin",7709:"src__pages__system__menu__index",8009:"src__pages__user__login__login.test",8015:"src__pages__goods__$id__create",8263:"src__pages__user__register__index",8280:"src__pages__user__user__components__TempFormModal",8314:"src__pages__user__user__components__ShopModal",8776:"src__pages__system__menu__edit",8780:"src__pages__user__user__index",8922:"src__pages__system__role__edit",9398:"src__pages__goods__$id__update",9532:"src__pages__config__banner__edit"}[h]||h)+"."+{38:"b74a2053",207:"7eb8f028",344:"ea66fc46",449:"5332a375",603:"8cdb4822",675:"9d6e285d",939:"4dac2e3d",1156:"1bbdcfa3",1333:"92944ba0",1411:"867e45ca",1551:"9c3b61ba",1817:"6aa603e3",1873:"1a4bf197",2263:"c67dccce",2284:"ee505d0a",2341:"e32f90ae",2722:"032586c0",2727:"8978797b",2890:"e4aad0f2",2901:"e8cca09c",2911:"27900bb6",3192:"522f55aa",3342:"e886800f",3740:"40e4f59b",3759:"fa097ccf",3836:"33917a06",3917:"f9f758fe",4021:"c75bb218",4147:"ac3f402d",4373:"e1c25e15",4468:"d1827111",4575:"e96ab324",4587:"ddfce86d",4615:"e99ebbf7",4650:"f65a06f8",4936:"c6985ebb",4974:"a79f4396",5106:"00dca1b1",5258:"c1cc6c07",5281:"175dbb02",5351:"827999d0",5384:"529f9ae4",5829:"58bbe3b9",6030:"760d1f86",6109:"c73a39a7",6276:"f338284a",6301:"10dd31a5",6387:"2203edcb",6660:"df97a800",6864:"c82aad4e",7015:"cba1b658",7178:"5625e105",7210:"51817833",7247:"609a36c8",7329:"4313be8d",7709:"0e6a55a9",8009:"f48da20e",8015:"195284d0",8263:"fa46b55c",8280:"27d459bc",8314:"552f5065",8776:"bc36c2fa",8780:"7f3621ca",8922:"f186886d",9398:"f785b588",9532:"84d1c2ab",9910:"c8239399"}[h]+".async.js"}}(),function(){rn.miniCssF=function(h){return""+({5281:"src__pages__user__login__index",6301:"t__plugin-layout__Layout",7709:"src__pages__system__menu__index",8776:"src__pages__system__menu__edit"}[h]||h)+"."+{2284:"dd92c41b",5281:"13f5e071",6301:"6cae69f5",7709:"e6c21101",8776:"e6c21101"}[h]+".chunk.css"}}(),function(){rn.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(h){if(typeof window=="object")return window}}()}(),function(){rn.hmd=function(h){return h=Object.create(h),h.children||(h.children=[]),Object.defineProperty(h,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+h.id)}}),h}}(),function(){rn.o=function(h,m){return Object.prototype.hasOwnProperty.call(h,m)}}(),function(){var h={},m="ant-design-pro:";rn.l=function(e,r,t,n){if(h[e]){h[e].push(r);return}var o,l;if(t!==void 0)for(var a=document.getElementsByTagName("script"),s=0;s