System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785"],(function(e,a){"use strict";var t,u,l,n,o,s;return{setters:[e=>{t=e.a4,u=e.R,l=e.r,n=e.c},e=>{o=e.aW,s=e.i}],execute:function(){e("u",t("global-pay",(()=>{const{t:e}=u(),a=l("pro"),t=l(e("Component.Pay.index_1")),v=l(e("Component.Pay.index_2")),i=l("100000058"),r=l(27),d=l(""),c=l(!0),p=l([]),g=l({status:0,end_time:0,obtain_id:0,total:0,length:0}),m=n((()=>!(1===g.value.status&&g.value.length<=0)&&(0!==g.value.total&&!(g.value.end_time-Math.floor(Date.now()/1e3)<=0)))),_=n((()=>1===g.value.status&&(!(g.value.end_time-Math.floor(Date.now()/1e3)<=0)&&g.value.length>0))),y=l(!1);return{pid:i,type:a,label:t,desc:v,source:r,username:d,ssl:c,plugins:p,orderLoad:y,receiveCoupon:g,showCoupon:m,showCouponModal:_,reset:()=>{a.value="pro",t.value=e("Component.Pay.index_1"),v.value=e("Component.Pay.index_2"),i.value="100000058",r.value=27,d.value="",p.value=[]},setSsl:e=>{c.value=e},setMenu:e=>{a.value=e.key,i.value=e.pid,t.value=e.label,v.value=e.desc},setSource:e=>{r.value=e},setUsername:e=>{d.value=e},setPlugins:e=>{p.value=[e]},setOrderLoad:e=>{y.value=e},getReceiveCoupon:async()=>{const{message:e}=await o();return s(e)&&(g.value.status=e.status,g.value.end_time=e.end_time,g.value.obtain_id=e.obtain_id,g.value.length=e.coupons.length,g.value.total=e.total),e}}})))}}}));
