top-block-game-cocos-demo/build/web-mobile/assets/main/index.js

68 lines
41 KiB
JavaScript

System.register("chunks:///_virtual/abi.ts",["cc"],(function(e){"use strict";var t;return{setters:[function(e){t=e.cclegacy}],execute:function(){t._RF.push({},"b0940sbvspGMZGVpUs1utrr","abi",void 0);e("default",[{inputs:[{internalType:"string",name:"tokenName",type:"string"},{internalType:"string",name:"tokenSymbol",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"approved",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"bool",name:"approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"approve",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"}],name:"Mint",outputs:[],stateMutability:"nonpayable",type:"function"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"safeTransferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}],name:"safeTransferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"operator",type:"address"},{internalType:"bool",name:"approved",type:"bool"}],name:"setApprovalForAll",outputs:[],stateMutability:"nonpayable",type:"function"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"transferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"getApproved",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"ownerOf",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"tokenURI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}]);t._RF.pop()}}}));
System.register("chunks:///_virtual/ajax.ts",["cc"],(function(t){"use strict";var e;return{setters:[function(t){e=t.cclegacy}],execute:function(){e._RF.push({},"5996a3xpdxGV52P28C8e5pq","ajax",void 0);t("default",{hosturl:"http://81.71.13.173:8080",sendAjax:function(t,e,a,s){var n=new XMLHttpRequest;n.open(a,this.hosturl+t,!0);var r=localStorage.getItem("token");r&&n.setRequestHeader("Authorization",r);var u=JSON.stringify(e);n.send(u),n.onreadystatechange=function(){if(4==n.readyState&&200==n.status){var t=JSON.parse(n.responseText);s(t)}}}});e._RF.pop()}}}));
System.register("chunks:///_virtual/close.ts",["./rollupPluginModLoBabelHelpers.js","cc","./rachageModel.ts","./RechageNum.ts","./Substitute.ts","./userdata.ts","./WithdrawalModal.ts","./WithdrawalData.ts","./TanChuang.ts","./main.ts"],(function(t){"use strict";var e,a,n,i,r,o,u,l,c,s,d,h,f,p,b,g;return{setters:[function(t){e=t.applyDecoratedDescriptor,a=t.inheritsLoose,n=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,u=t.director,l=t.Component},function(t){c=t.rachageModel},function(t){s=t.rechargeNum},function(t){d=t.Substitute},function(t){h=t.userdata},function(t){f=t.WithdrawalModal},function(t){p=t.WithdrawalData},function(t){b=t.tanchuan},function(t){g=t.main}],execute:function(){var m,w,y,v,M,W,z,D,R,S,P,_,A,C,F,L,N,O,T;r._RF.push({},"a949arMe05AOaRUaqeKP9PR","close",void 0);var U=o.ccclass,j=o.property;t("close",(m=U("close"),w=j(g),y=j(c),v=j(s),M=j(d),W=j(h),z=j(f),D=j(p),R=j(b),m((_=e((P=function(t){function e(){for(var e,a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,n(e,"main",_,i(e)),n(e,"rachagemodel",A,i(e)),n(e,"rechargenum",C,i(e)),n(e,"substitute",F,i(e)),n(e,"userdata",L,i(e)),n(e,"WithdrawalModal",N,i(e)),n(e,"WithdrawalData",O,i(e)),n(e,"tanchuan",T,i(e)),e}a(e,t);var r=e.prototype;return r.start=function(){},r.closerechageModel=function(){this.rachagemodel.node.active=!1},r.closeMain=function(){this.main.node.active=!1},r.closeRechargenum=function(){this.rechargenum.node.active=!1},r.closeSubstitute=function(){this.substitute.node.active=!1},r.closeUserdata=function(){this.userdata.node.active=!1},r.closeWithdrawalModal=function(){this.WithdrawalModal.node.active=!1},r.closeWithdrawalData=function(){this.WithdrawalData.node.active=!1},r.closetanchuan=function(){this.tanchuan.node.active=!1},r.update=function(t){},r.getOut=function(){u.loadScene("login")},e}(l)).prototype,"main",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(P.prototype,"rachagemodel",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(P.prototype,"rechargenum",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(P.prototype,"substitute",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(P.prototype,"userdata",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(P.prototype,"WithdrawalModal",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=e(P.prototype,"WithdrawalData",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(P.prototype,"tanchuan",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=P))||S));r._RF.pop()}}}));
System.register("chunks:///_virtual/coinBtn.ts",["./rollupPluginModLoBabelHelpers.js","cc","./RechageNum.ts","./ajax.ts","./rachageModel.ts"],(function(e){"use strict";var o,n,t,i,c,a,r,l,u,s,d;return{setters:[function(e){o=e.applyDecoratedDescriptor,n=e.inheritsLoose,t=e.initializerDefineProperty,i=e.assertThisInitialized},function(e){c=e.cclegacy,a=e._decorator,r=e.director,l=e.Component},function(e){u=e.rechargeNum},function(e){s=e.default},function(e){d=e.rachageModel}],execute:function(){var g,h,f,p,v,R,m;c._RF.push({},"e0f80zveGpGMKehbGHBUZ0y","coinBtn",void 0);var y=a.ccclass,M=a.property;e("coinBtn",(g=y("coinBtn"),h=M(u),f=M(d),g((R=o((v=function(e){function o(){for(var o,n=arguments.length,c=new Array(n),a=0;a<n;a++)c[a]=arguments[a];return o=e.call.apply(e,[this].concat(c))||this,t(o,"RechargeNum",R,i(o)),t(o,"RachageModel",m,i(o)),o}n(o,e);var c=o.prototype;return c.start=function(){},c.choseCoin=function(){var e=this;this.RechargeNum.node.active=!0,this.RachageModel.node.active=!1,s.sendAjax("/api/v1/recharge/get",{},"GET",(function(o){if(console.log(o),"200"==o.code)e.RechargeNum.init(o.data[0]),e.RachageModel.node.active=!1;else{if("10001"!=o.code)return void console.log(o);console.log("登录失效"),r.loadScene("login")}}))},c.choseDds=function(){var e=this;this.RechargeNum.node.active=!0,this.RachageModel.node.active=!1,s.sendAjax("/api/v1/recharge/get",{},"GET",(function(o){if(console.log(o),"200"==o.code)e.RechargeNum.init(o.data[1]),e.RachageModel.node.active=!1;else{if("10001"!=o.code)return void console.log(o);console.log("登录失效"),r.loadScene("login")}}))},c.update=function(e){},o}(l)).prototype,"RechargeNum",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=o(v.prototype,"RachageModel",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=v))||p));c._RF.pop()}}}));
System.register("chunks:///_virtual/eventBus.ts",["cc"],(function(t){"use strict";var e;return{setters:[function(t){e=t.cclegacy}],execute:function(){e._RF.push({},"c8a86xBewJDqY1y753RSQuf","eventBus",void 0);var n;t({EventBus:n=function(){function t(){this.eventList=void 0,this.eventList={}}var e=t.prototype;return e.on=function(t,e){var n=this.eventList[t];n?n.push(e):this.eventList[t]=[e]},e.emit=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.eventList[t]&&this.eventList[t].forEach((function(t){t.apply(void 0,n)}))},t}(),default:n});e._RF.pop()}}}));
System.register("chunks:///_virtual/index.ts",["cc","./tbg.ts"],(function(t){"use strict";var e,c;return{setters:[function(t){e=t.cclegacy},function(t){c=t.TBG}],execute:function(){e._RF.push({},"31d33tY6VFFfowhvIKLru2t","index",void 0);t("default",c);e._RF.pop()}}}));
System.register("chunks:///_virtual/ItemList.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){"use strict";var e,i,r,n,o,l,a,u,s;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.initializerDefineProperty,r=t.inheritsLoose,n=t.assertThisInitialized},function(t){o=t.cclegacy,l=t._decorator,a=t.Prefab,u=t.instantiate,s=t.Component}],execute:function(){var c,p,f,b,m,h,y,g,d,w,z,v,I;o._RF.push({},"27335xaDl9Jw5lK1s+Pnap/","ItemList",void 0);var P=l.ccclass,L=l.property,D=t("Item",P("Item")((f=e((p=function(){i(this,"bctype",f,this),i(this,"num",b,this),i(this,"type",m,this),i(this,"price",h,this),i(this,"time",y,this)}).prototype,"bctype",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=e(p.prototype,"num",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(p.prototype,"type",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=e(p.prototype,"price",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(p.prototype,"time",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),c=p))||c);t("ItemList",(g=L([D]),d=L(a),P((v=e((z=function(t){function e(){for(var e,r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];return e=t.call.apply(t,[this].concat(o))||this,i(e,"items",v,n(e)),i(e,"itemPrefab",I,n(e)),e}return r(e,t),e.prototype.onLoad=function(){for(var t=0;t<this.items.length;++t){var e=u(this.itemPrefab),i=this.items[t];this.node.addChild(e),e.getComponent("ItemTemplate").init(i)}},e}(s)).prototype,"items",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),I=e(z.prototype,"itemPrefab",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=z))||w));o._RF.pop()}}}));
System.register("chunks:///_virtual/ItemTemplate.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){"use strict";var t,i,r,n,l,u,o,a;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,r=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){l=e.cclegacy,u=e._decorator,o=e.Label,a=e.Component}],execute:function(){var c,p,s,b,m,f,y,h,g,v,z,d,w;l._RF.push({},"ea5b9FPPQ1LU6xgN2b46WGP","ItemTemplate",void 0);var I=u.ccclass,P=u.property;e("ItemTemplate",(c=I("ItemTemplate"),p=P(o),s=P(o),b=P(o),m=P(o),f=P(o),c((g=t((h=function(e){function t(){for(var t,i=arguments.length,l=new Array(i),u=0;u<i;u++)l[u]=arguments[u];return t=e.call.apply(e,[this].concat(l))||this,r(t,"bctype",g,n(t)),r(t,"num",v,n(t)),r(t,"type",z,n(t)),r(t,"price",d,n(t)),r(t,"time",w,n(t)),t}i(t,e);var l=t.prototype;return l.init=function(e){this.bctype=e.bctype,this.num=e.num,this.type=e.type,this.price=e.price,this.time=e.time},l.start=function(){},l.update=function(e){},t}(a)).prototype,"bctype",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(h.prototype,"num",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(h.prototype,"type",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=t(h.prototype,"price",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=t(h.prototype,"time",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=h))||y));l._RF.pop()}}}));
System.register("chunks:///_virtual/main",["./ItemList.ts","./ItemTemplate.ts","./NewComponent.ts","./RechageNum.ts","./Recharge.ts","./Substitute.ts","./TanChuang.ts","./WithdrawalBtn.ts","./WithdrawalData.ts","./WithdrawalModal.ts","./abi.ts","./ajax.ts","./close.ts","./main.ts","./rachageModel.ts","./coinBtn.ts","./test.ts","./eventBus.ts","./index.ts","./tbg.ts","./web3.ts","./userBtn.ts","./userLabel.ts","./userdata.ts"],(function(){"use strict";return{setters:[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){}}}));
System.register("chunks:///_virtual/main.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.inheritsLoose},function(t){e=t.cclegacy,o=t._decorator,r=t.Component}],execute:function(){var i;e._RF.push({},"98770NY77pN7YzCEbi3wy42","main",void 0);var c=o.ccclass;o.property,t("main",c("main")(i=function(t){function e(){return t.apply(this,arguments)||this}n(e,t);var o=e.prototype;return o.start=function(){},o.close=function(){},o.update=function(t){},e}(r))||i);e._RF.pop()}}}));
System.register("chunks:///_virtual/NewComponent.ts",["./rollupPluginModLoBabelHelpers.js","cc","./rachageModel.ts","./RechageNum.ts","./ajax.ts","./index.ts","./abi.ts"],(function(e){"use strict";var n,t,r,a,o,c,i,u,s,l,f,p,g,d,h,m;return{setters:[function(e){n=e.applyDecoratedDescriptor,t=e.inheritsLoose,r=e.initializerDefineProperty,a=e.assertThisInitialized,o=e.asyncToGenerator,c=e.regeneratorRuntime},function(e){i=e.cclegacy,u=e._decorator,s=e.Prefab,l=e.director,f=e.Component},function(e){p=e.rachageModel},function(e){g=e.rechargeNum},function(e){d=e.default},function(e){h=e.default},function(e){m=e.default}],execute:function(){var b,v,w,x,y,k,N,P,z,C;i._RF.push({},"f1ef2cIlPRMf7DqznSUmC33","NewComponent",void 0);var S=u.ccclass,j=u.property;e("NewComponent",(b=S("NewComponent"),v=j(s),w=j(p),x=j(g),b((N=n((k=function(e){function n(){for(var n,t=arguments.length,o=new Array(t),c=0;c<t;c++)o[c]=arguments[c];return(n=e.call.apply(e,[this].concat(o))||this).username=null,r(n,"itemPrefab",N,a(n)),r(n,"model",P,a(n)),r(n,"bctype",z,a(n)),r(n,"rechargenum",C,a(n)),n}t(n,e);var i=n.prototype;return i.start=function(){new h({}).on("accountChange",(function(){console.log("用户切换"),l.loadScene("login")}))},i.takeWhData=function(){var e=o(c().mark((function e(){var n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={},e.next=3,d.sendAjax("/api/v1/withdrawal/get",n,"GET",o(c().mark((function e(n){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("200"!=n.code){e.next=4;break}console.log("提现记录为",n.data),e.next=6;break;case 4:return console.log(n),e.abrupt("return");case 6:case"end":return e.stop()}}),e)}))));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i.createNft=function(){var e=o(c().mark((function e(){var n,t,r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new h({}),e.next=3,n.login();case 3:return t=e.sent,e.next=6,n.createNft({abi:m,contract:"0x3865194cD048f7b14b465a96907fB6546B888216",toAddress:t});case 6:r=e.sent,console.log(r);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i.recharge=function(){this.model.node.active=!0},i.rechargeNum=function(){this.rechargenum.node.active=!0},i.getRechargeNew=function(){var e=o(c().mark((function e(){var n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={},e.next=3,d.sendAjax("/api/v1/recharge",n,"POST",o(c().mark((function e(n){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("200"!=n.code){e.next=4;break}console.log("充值记录为",n.data),e.next=6;break;case 4:return console.log(n),e.abrupt("return");case 6:case"end":return e.stop()}}),e)}))));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i.login=function(){var e=o(c().mark((function e(){var n,t,r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new h({}),t={},r=null,e.next=5,d.sendAjax("/api/v1/sign",t,"GET",o(c().mark((function e(a){var o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("200"!=a.code){e.next=17;break}return console.log(a),r=a.data,t.hash=r,e.next=6,n.login();case 6:return e.sent,e.next=9,n.sign({hash:r});case 9:return o=e.sent,h.sign,console.log(o),t.sign=o.sign,e.next=15,d.sendAjax("/api/v1/login",t,"POST",(function(e){if("200"==e.code){l.loadScene("main");var n=e.data.token;localStorage.setItem("token",n)}else console.log(e)}));case 15:e.next=19;break;case 17:return console.log(a),e.abrupt("return");case 19:case"end":return e.stop()}}),e)}))));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i.update=function(e){},n}(f)).prototype,"itemPrefab",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=n(k.prototype,"model",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=n(k.prototype,"bctype",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=n(k.prototype,"rechargenum",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=k))||y));i._RF.pop()}}}));
System.register("chunks:///_virtual/rachageModel.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){"use strict";var e,r,o,c;return{setters:[function(t){e=t.inheritsLoose},function(t){r=t.cclegacy,o=t._decorator,c=t.Component}],execute:function(){var n;r._RF.push({},"91737xikSpClJbxrtNJlG7v","rachageModel",void 0);var a=o.ccclass;o.property,t("rachageModel",a("rachageModel")(n=function(t){function r(){return t.apply(this,arguments)||this}e(r,t);var o=r.prototype;return o.start=function(){},o.update=function(t){},r}(c))||n);r._RF.pop()}}}));
System.register("chunks:///_virtual/RechageNum.ts",["./rollupPluginModLoBabelHelpers.js","cc","./rachageModel.ts","./index.ts"],(function(e){"use strict";var t,r,n,i,a,o,u,l,s,c,p,g,d;return{setters:[function(e){t=e.applyDecoratedDescriptor,r=e.inheritsLoose,n=e.initializerDefineProperty,i=e.assertThisInitialized,a=e.asyncToGenerator,o=e.regeneratorRuntime},function(e){u=e.cclegacy,l=e._decorator,s=e.Label,c=e.EditBox,p=e.Component},function(e){g=e.rachageModel},function(e){d=e.default}],execute:function(){var h,m,f,b,y,v,N,w,_,C,R,z,B,P,x,E,M;u._RF.push({},"46eadJwItZJGYB5TfwbBK+G","RechageNum",void 0);var D=l.ccclass,I=l.property;e("rechargeNum",(h=D("rechargeNum"),m=I(s),f=I(s),b=I(s),y=I(g),v=I(c),N=I(s),w=I(s),h((R=t((C=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(t=e.call.apply(e,[this].concat(a))||this).data={},n(t,"Name",R,i(t)),n(t,"EthPrice",z,i(t)),n(t,"UsdtPrice",B,i(t)),n(t,"RachageModel",P,i(t)),n(t,"RechageNum",x,i(t)),n(t,"privateddress",E,i(t)),n(t,"Eth",M,i(t)),t.public_address=null,t.private_address=null,t.rechagenum=null,t}r(t,e);var u=t.prototype;return u.init=function(e){this.node.getChildByName("name").getComponent(s).string=e.name,this.node.getChildByName("usdtPrice").getComponent(s).string=e.usdt_price,this.node.getChildByName("ethPrice").getComponent(s).string=e.eth_price,this.node.getChildByName("privateddress").getComponent(s).string=e.private_address,localStorage.setItem("address",e.public_address)},u.start=function(){},u.initData=function(){var e={to_address:this.public_address.getComponent(s).string,number:this.rechagenum.getComponent(c).string};return console.log(e),e},u.text=function(){var e=a(o().mark((function e(){var t,r,n,i,a,u;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new d({}),e.next=3,t.login();case 3:return r=e.sent,console.log(this.Eth.string),n=localStorage.getItem("address"),console.log(n),i=Number(this.RechageNum.string),a=Number(this.Eth.string),u=i*a*Math.pow(10,18)+"",console.log(u),e.next=14,t.sendTransaction({from:r,to:n,value:u});case 14:e.sent;case 15:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),u.update=function(e){},t}(p)).prototype,"Name",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(C.prototype,"EthPrice",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=t(C.prototype,"UsdtPrice",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=t(C.prototype,"RachageModel",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(C.prototype,"RechageNum",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(C.prototype,"privateddress",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=t(C.prototype,"Eth",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=C))||_));u._RF.pop()}}}));
System.register("chunks:///_virtual/Recharge.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){"use strict";var t,r,n,c;return{setters:[function(e){t=e.inheritsLoose},function(e){r=e.cclegacy,n=e._decorator,c=e.Component}],execute:function(){var o;r._RF.push({},"8fb51upbQdJiqU00nTbGLrO","Recharge",void 0);var u=n.ccclass;n.property,e("Recharge",u("Recharge")(o=function(e){function r(){return e.apply(this,arguments)||this}t(r,e);var n=r.prototype;return n.start=function(){},n.update=function(e){},r}(c))||o);r._RF.pop()}}}));
System.register("chunks:///_virtual/Substitute.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){"use strict";var e,u,n,r;return{setters:[function(t){e=t.inheritsLoose},function(t){u=t.cclegacy,n=t._decorator,r=t.Component}],execute:function(){var o;u._RF.push({},"53397ECPZ5Kw6ELeIb9pG5d","Substitute",void 0);var s=n.ccclass;n.property,t("Substitute",s("Substitute")(o=function(t){function u(){return t.apply(this,arguments)||this}e(u,t);var n=u.prototype;return n.start=function(){},n.update=function(t){},u}(r))||o);u._RF.pop()}}}));
System.register("chunks:///_virtual/TanChuang.ts",["./rollupPluginModLoBabelHelpers.js","cc","./WithdrawalData.ts"],(function(t){"use strict";var n,a,e,r,i,o,c,u,l;return{setters:[function(t){n=t.applyDecoratedDescriptor,a=t.inheritsLoose,e=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){i=t.cclegacy,o=t._decorator,c=t.Label,u=t.Component},function(t){l=t.WithdrawalData}],execute:function(){var s,p,h,f,d;i._RF.push({},"d190enVzU5PqLcQzMU+1DD2","TanChuang",void 0);var g=o.ccclass,y=o.property;t("tanchuan",(s=g("tanchuan"),p=y(l),s((d=n((f=function(t){function n(){for(var n,a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return n=t.call.apply(t,[this].concat(i))||this,e(n,"WithdrawalData",d,r(n)),n}a(n,t);var i=n.prototype;return i.init=function(t){this.node.getChildByName("news").getComponent(c).string=t},i.start=function(){},i.update=function(t){},n}(u)).prototype,"WithdrawalData",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=f))||h));i._RF.pop()}}}));
System.register("chunks:///_virtual/tbg.ts",["./rollupPluginModLoBabelHelpers.js","cc","./eventBus.ts","./web3.ts"],(function(e){"use strict";var n,t,r,o,a,u,s;return{setters:[function(e){n=e.inheritsLoose,t=e.wrapNativeSuper,r=e.asyncToGenerator,o=e.regeneratorRuntime},function(e){a=e.cclegacy},function(e){u=e.EventBus},function(e){s=e.web3}],execute:function(){function i(e){return e.hasOwnProperty("result")?e.result:e}a._RF.push({},"e3aeaE7l21OioLmOiYtZ4CG","tbg",void 0);var c,h=e("NoEthereumProviderError",function(e){function t(){var n;return(n=e.call(this)||this).name=n.constructor.name,n.message="No Ethereum provider was found on window.ethereum.",n}return n(t,e),t}(t(Error)));e({TBG:c=function(e){function t(n){var t;return(t=e.call(this)||this).handleAddListener(),t}n(t,e);var a=t.prototype;return a.handleAddListener=function(){window.ethereum.on&&(window.ethereum.on("chainChanged",this.handleChainChanged.bind(this)),window.ethereum.on("accountsChanged",this.handleAccountsChanged.bind(this)),window.ethereum.on("close",this.handleClose.bind(this)),window.ethereum.on("networkChanged",this.handleNetworkChanged.bind(this)))},a.login=function(){var e=r(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(window.ethereum){e.next=2;break}throw new h;case 2:return window.ethereum.isMetaMask&&(window.ethereum.autoRefreshOnNetworkChange=!1),e.prev=3,e.next=6,window.ethereum.request({method:"eth_requestAccounts"}).then((function(e){return i(e)[0]}));case 6:return n=e.sent,console.log(n),e.abrupt("return",n);case 11:e.prev=11,e.t0=e.catch(3),e.t0.code,console.warn(!1,"eth_requestAccounts was unsuccessful, falling back to enable");case 15:if(n){e.next=20;break}return e.next=18,window.ethereum.enable().then((function(e){return e&&i(e)[0]}));case 18:return n=e.sent,e.abrupt("return",n);case 20:case"end":return e.stop()}}),e,null,[[3,11]])})));return function(){return e.apply(this,arguments)}}(),a.logout=function(){window.ethereum&&window.ethereum.removeListener&&(window.ethereum.removeListener("chainChanged",this.handleChainChanged),window.ethereum.removeListener("accountsChanged",this.handleAccountsChanged),window.ethereum.removeListener("close",this.handleClose),window.ethereum.removeListener("networkChanged",this.handleNetworkChanged))},a.sign=function(){var e=r(o().mark((function e(n){var t,r,a,u;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.hash,r=s.utils.fromUtf8(t),e.next=4,window.ethereum.send("personal_sign",[r,window.ethereum.selectedAddress.toLowerCase()]);case 4:return a=e.sent,u=a.result,e.abrupt("return",{raw:t,sign:u});case 7:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),a.createNft=function(){var e=r(o().mark((function e(n){var t,r,a,u;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.abi,r=n.contract,a=n.toAddress,u=new s.eth.Contract(t,r),e.next=4,u.methods.Mint(a).send({from:a});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),a.sendTransaction=function(){var e=r(o().mark((function e(n){var t,r,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.from,r=n.to,a=n.value,e.next=3,s.eth.sendTransaction({from:t,to:r,value:a});case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),a.handleNetworkChanged=function(){console.log("handleNetworkChanged")},a.handleChainChanged=function(){console.log("handleChainChanged")},a.handleAccountsChanged=function(e){console.log(e),e.length,this.emit("accountChange")},a.handleClose=function(){console.log("handleClose")},a.update=function(e){},t}(u),default:c});a._RF.pop()}}}));
System.register("chunks:///_virtual/test.ts",["./rollupPluginModLoBabelHelpers.js","cc","./index.ts"],(function(e){"use strict";var n,t,o,r,c,s,a,u;return{setters:[function(e){n=e.inheritsLoose,t=e.asyncToGenerator,o=e.regeneratorRuntime},function(e){r=e.cclegacy,c=e._decorator,s=e.NodeEventType,a=e.Component},function(e){u=e.default}],execute:function(){var i;r._RF.push({},"06b37poAWdLVrBGe6wvcMRV","test",void 0);var p=c.ccclass;c.property,e("NewComponent",p("NewComponent")(i=function(e){function r(){return e.apply(this,arguments)||this}n(r,e);var c=r.prototype;return c.start=function(){var e=new u({});e.on("accountChange",(function(){console.log("hasChange")})),this.node.on(s.MOUSE_DOWN,t(o().mark((function n(){var t,r;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.login();case 2:return t=n.sent,n.next=5,e.sign({});case 5:return n.sent,n.next=8,e.sendTransaction({from:t,to:"0x96216849c49358B10257cb55b28eA603c874b05E",value:"1000000000000000"});case 8:r=n.sent,console.log(r);case 10:case"end":return n.stop()}}),n)}))),this)},c.update=function(e){},r}(a))||i);r._RF.pop()}}}));
System.register("chunks:///_virtual/userBtn.ts",["./rollupPluginModLoBabelHelpers.js","cc","./userLabel.ts","./ajax.ts","./userdata.ts"],(function(e){"use strict";var t,r,n,a,o,i,s,u,c,l,p,f;return{setters:[function(e){t=e.applyDecoratedDescriptor,r=e.inheritsLoose,n=e.initializerDefineProperty,a=e.assertThisInitialized,o=e.asyncToGenerator,i=e.regeneratorRuntime},function(e){s=e.cclegacy,u=e._decorator,c=e.Component},function(e){l=e.userLabel},function(e){p=e.default},function(e){f=e.userdata}],execute:function(){var d,v,b,g,y,h,m;s._RF.push({},"2a9a84aVMpE2ZvMkbJqc0mU","userBtn",void 0);var U=u.ccclass,L=u.property;e("userBtn",(d=U("userBtn"),v=L(f),b=L(l),d((h=t((y=function(e){function t(){for(var t,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t=e.call.apply(e,[this].concat(o))||this,n(t,"Userdata",h,a(t)),n(t,"UserLabel",m,a(t)),t}r(t,e);var s=t.prototype;return s.start=function(){},s.changeUserData=function(){var e=o(i().mark((function e(){var t,r=this;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.next=3,p.sendAjax("/api/v1/user/get",t,"POST",(function(e){console.log(e),"200"==e.code?(console.log(e.data.address),r.Userdata.node.active=!0):console.log(e)}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),s.update=function(e){},t}(c)).prototype,"Userdata",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=t(y.prototype,"UserLabel",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=y))||g));s._RF.pop()}}}));
System.register("chunks:///_virtual/userdata.ts",["./rollupPluginModLoBabelHelpers.js","cc","./userLabel.ts","./ajax.ts"],(function(e){"use strict";var t,r,a,n,i,s,o,u,l,c;return{setters:[function(e){t=e.applyDecoratedDescriptor,r=e.inheritsLoose,a=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){i=e.cclegacy,s=e._decorator,o=e.Label,u=e.Component},function(e){l=e.userLabel},function(e){c=e.default}],execute:function(){var d,f,p,b,g,y,h,v,L;i._RF.push({},"ccdd92lOQ1D9Yc5O5tzgafw","userdata",void 0);var z=s.ccclass,m=s.property;e("userdata",(d=z("userdata"),f=m(o),p=m(o),b=m(l),d((h=t((y=function(e){function t(){for(var t,r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return t=e.call.apply(e,[this].concat(i))||this,a(t,"Uuid",h,n(t)),a(t,"address",v,n(t)),a(t,"userLabel",L,n(t)),t}r(t,e);var i=t.prototype;return i.init=function(e){this.address=e.address},i.start=function(){},i.changeUserData=function(){var e=this;c.sendAjax("/api/v1/user/get",{},"POST",(function(t){if(console.log(t),"200"==t.code){console.log(t.data.address);var r=t.data.address;e.userLabel.setLabel(r)}else console.log(t)}))},i.update=function(e){},t}(u)).prototype,"Uuid",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(y.prototype,"address",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=t(y.prototype,"userLabel",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=y))||g));i._RF.pop()}}}));
System.register("chunks:///_virtual/userLabel.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ajax.ts"],(function(e){"use strict";var t,r,n,a,o,s,i,l,c;return{setters:[function(e){t=e.applyDecoratedDescriptor,r=e.inheritsLoose,n=e.initializerDefineProperty,a=e.assertThisInitialized},function(e){o=e.cclegacy,s=e._decorator,i=e.Label,l=e.Component},function(e){c=e.default}],execute:function(){var u,d,p,f,b;o._RF.push({},"69a53EuWypB1pE+/o5xP7Cb","userLabel",void 0);var g=s.ccclass,y=s.property;e("userLabel",(u=g("userLabel"),d=y(i),u((b=t((f=function(e){function t(){for(var t,r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return t=e.call.apply(e,[this].concat(o))||this,n(t,"address",b,a(t)),t}r(t,e);var o=t.prototype;return o.setLabel=function(e){this.node.getChildByName("address").getComponent(i).string=e},o.start=function(){var e=this;c.sendAjax("/api/v1/user/get",{},"POST",(function(t){console.log(t),"200"==t.code?(console.log(t.data.address),e.setLabel(t.data.address)):console.log(t)}))},o.update=function(e){},t}(l)).prototype,"address",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=f))||p));o._RF.pop()}}}));
System.register("chunks:///_virtual/web3.ts",["./rollupPluginModLoBabelHelpers.js","cc","./web3.min.mjs_cjs=&original=.js","./web3.min.js"],(function(exports){"use strict";var _asyncToGenerator,_regeneratorRuntime,cclegacy,_cjsExports;return{setters:[function(e){_asyncToGenerator=e.asyncToGenerator,_regeneratorRuntime=e.regeneratorRuntime},function(e){cclegacy=e.cclegacy},null,function(e){_cjsExports=e.default}],execute:function(){exports("createNft",createNft),cclegacy._RF.push({},"2741axHfMlDUbRCZMaHJZxs","web3",void 0);var web3=exports("web3",new _cjsExports(_cjsExports.givenProvider));function createNft(e){return _createNft.apply(this,arguments)}function _createNft(){return _createNft=_asyncToGenerator(_regeneratorRuntime().mark((function _callee(params){var contract;return _regeneratorRuntime().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return""!==params.toAddress&&null!==params.toAddress&&void 0!==params.toAddress||(params.toAddress=web3.eth.defaultAccount),contract=new web3.eth.Contract(eval("("+params.abi+")"),params.address),_context.next=4,contract.methods.Mint(params.toAddress,params.token_id).send({from:web3.eth.defaultAccount});case 4:case 5:case"end":return _context.stop()}}),_callee)}))),_createNft.apply(this,arguments)}cclegacy._RF.pop()}}}));
System.register("chunks:///_virtual/WithdrawalBtn.ts",["./rollupPluginModLoBabelHelpers.js","cc","./WithdrawalModal.ts","./ajax.ts","./WithdrawalData.ts"],(function(a){"use strict";var t,i,e,o,n,r,l,c,d,s,u;return{setters:[function(a){t=a.applyDecoratedDescriptor,i=a.inheritsLoose,e=a.initializerDefineProperty,o=a.assertThisInitialized},function(a){n=a.cclegacy,r=a._decorator,l=a.director,c=a.Component},function(a){d=a.WithdrawalModal},function(a){s=a.default},function(a){u=a.WithdrawalData}],execute:function(){var h,w,f,p,v,g,W;n._RF.push({},"a068aX7dtJAv74XQag5FB9n","WithdrawalBtn",void 0);var D=r.ccclass,M=r.property;a("WithdrawalBtn",(h=D("WithdrawalBtn"),w=M(d),f=M(u),h((g=t((v=function(a){function t(){for(var t,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];return t=a.call.apply(a,[this].concat(n))||this,e(t,"withdrawalModal",g,o(t)),e(t,"WithdrawalData",W,o(t)),t}i(t,a);var n=t.prototype;return n.start=function(){},n.choseCoin=function(){var a=this;this.withdrawalModal.node.active=!1,s.sendAjax("/api/v1/recharge/get",{},"GET",(function(t){if(console.log(t),"200"==t.code)a.WithdrawalData.init(t.data[0]),a.WithdrawalData.node.active=!0,a.withdrawalModal.node.active=!1;else{if("10001"!=t.code)return void console.log(t);console.log("登录失效"),l.loadScene("login")}}))},n.choseDds=function(){var a=this;this.withdrawalModal.node.active=!1,s.sendAjax("/api/v1/recharge/get",{},"GET",(function(t){if(console.log(t),"200"==t.code)a.WithdrawalData.init(t.data[1]),a.WithdrawalData.node.active=!0,a.withdrawalModal.node.active=!1;else{if("10001"!=t.code)return void console.log(t);console.log("登录失效"),l.loadScene("login")}}))},n.test=function(){},n.openWithdrawalModal=function(){this.withdrawalModal.node.active=!0},n.update=function(a){},t}(c)).prototype,"withdrawalModal",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=t(v.prototype,"WithdrawalData",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=v))||p));n._RF.pop()}}}));
System.register("chunks:///_virtual/WithdrawalData.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ajax.ts","./index.ts"],(function(e){"use strict";var t,n,r,i,a,o,s,l,u,c,d,h,p,g;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,r=e.initializerDefineProperty,i=e.assertThisInitialized,a=e.asyncToGenerator,o=e.regeneratorRuntime},function(e){s=e.cclegacy,l=e._decorator,u=e.EditBox,c=e.Label,d=e.Toggle,h=e.Component},function(e){p=e.default},function(e){g=e.default}],execute:function(){var m,f,y,b,w,C,N,v,T,D,B,z,_;s._RF.push({},"490a9P8JcRBPZFNabzsmAAR","WithdrawalData",void 0);var x=l.ccclass,P=l.property;e("WithdrawalData",(m=x("WithdrawalData"),f=P(u),y=P(u),b=P(c),w=P(d),C=P(d),m((T=t((v=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return t=e.call.apply(e,[this].concat(a))||this,r(t,"WithdrawalNum",T,i(t)),r(t,"Toaddress",D,i(t)),r(t,"Name",B,i(t)),r(t,"ETH",z,i(t)),r(t,"USDT",_,i(t)),t}n(t,e);var s=t.prototype;return s.init=function(e){this.node.getChildByName("name").getComponent(c).string=e.name,this.node.getChildByName("usdtPrice").getComponent(c).string=e.usdt_price,this.node.getChildByName("ethPrice").getComponent(c).string=e.eth_price},s.getEdit=function(){var e=this.node.getChildByName("name").getComponent(c).string,t=this.node.getChildByName("withdrawalNum").getComponent(u).string;this.node.getChildByName("toAddress").getComponent(u).string;return{name:e,to_address:t}},s.start=function(){new g({}).on("accountChange",(function(){console.log("hasChange")}))},s.test=function(){var e=a(o().mark((function e(){var t,n,r,i,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="eth",1==this.USDT.isChecked&&(t="usdt"),n=this.Toaddress.string,r=Number(this.WithdrawalNum.string),i=this.Name.string,console.log(i),a={name:i,number:r,to_address:n,type:t},console.log(a),e.next=10,p.sendAjax("/api/v1/withdrawal",a,"POST",(function(e){console.log(e),e.code,console.log(e)}));case 10:e.sent;case 11:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),s.update=function(e){},t}(h)).prototype,"WithdrawalNum",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=t(v.prototype,"Toaddress",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=t(v.prototype,"Name",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(v.prototype,"ETH",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=t(v.prototype,"USDT",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=v))||N));s._RF.pop()}}}));
System.register("chunks:///_virtual/WithdrawalModal.ts",["./rollupPluginModLoBabelHelpers.js","cc","./index.ts"],(function(t){"use strict";var n,o,e,a,r;return{setters:[function(t){n=t.inheritsLoose},function(t){o=t.cclegacy,e=t._decorator,a=t.Component},function(t){r=t.default}],execute:function(){var c;o._RF.push({},"6e410fe6ClCe4NyFsXqRtlO","WithdrawalModal",void 0);var i=e.ccclass;e.property,t("WithdrawalModal",i("WithdrawalModal")(c=function(t){function o(){return t.apply(this,arguments)||this}n(o,t);var e=o.prototype;return e.start=function(){new r({}).on("accountChange",(function(){console.log("hasChange")}))},e.update=function(t){},o}(a))||c);o._RF.pop()}}}));
(function(r) {
r('virtual:///prerequisite-imports/main', 'chunks:///_virtual/main');
})(function(mid, cid) {
System.register(mid, [cid], function (_export, _context) {
return {
setters: [function(_m) {
var _exportObj = {};
for (var _key in _m) {
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _m[_key];
}
_export(_exportObj);
}],
execute: function () { }
};
});
});