System.register(["./index-legacy-fdce4919.js"],(function(e,t){"use strict";var n,s,o,i,a,r,l,p,c,d,u,m,f,_,g,h,w,S=document.createElement("style");return S.textContent='._wxPopupDialog_1sfd3_1{overflow:initial}._wxPopupDialog_1sfd3_1:before{position:absolute;content:" ";top:-1.94667rem;left:50%;margin-left:-2.29333rem;display:inline-block;background:url('+new URL("wx-no-top-562db7f2.png",t.meta.url).href+") no-repeat top center;background-size:contain;width:4.58667rem;height:4.10667rem}._popupContainer_1sfd3_16{background:url("+new URL("wx-no-bg-f12a4a6d.png",t.meta.url).href+") no-repeat top center;background-size:cover;border-radius:.53333rem;overflow:hidden}._popupContainer_1sfd3_16 ._title1_1sfd3_22{padding-top:1.52rem;text-align:center;font-size:.48rem;font-weight:500;color:#3b2300}._popupContainer_1sfd3_16 ._popupTips_1sfd3_29{padding-top:.32rem;padding-bottom:1.25333rem;text-align:center;font-size:.4rem;color:#777;line-height:.56rem}\n",document.head.appendChild(S),{setters:[e=>{n=e.aO,s=e.c,o=e.b,i=e.m,a=e.t,r=e.d,l=e.ai,p=e.e,c=e.w,d=e.X,u=e.a,m=e.k,f=e.r,_=e.y,g=e.R,h=e.V,w=e.F}],execute:function(){const[t,S]=s("count-down"),v={time:o(0),format:i("HH:mm:ss"),autoStart:a,millisecond:Boolean};var b=r({name:t,props:v,emits:["change","finish"],setup(e,{emit:t,slots:s}){const{start:o,pause:i,reset:a,current:r}=l({time:+e.time,millisecond:e.millisecond,onChange:e=>t("change",e),onFinish:()=>t("finish")}),m=p((()=>function(e,t){const{days:s}=t;let{hours:o,minutes:i,seconds:a,milliseconds:r}=t;if(e.includes("DD")?e=e.replace("DD",n(s)):o+=24*s,e.includes("HH")?e=e.replace("HH",n(o)):i+=60*o,e.includes("mm")?e=e.replace("mm",n(i)):a+=60*i,e.includes("ss")?e=e.replace("ss",n(a)):r+=1e3*a,e.includes("S")){const t=n(r,3);e=e.includes("SSS")?e.replace("SSS",t):e.includes("SS")?e.replace("SS",t.slice(0,2)):e.replace("S",t.charAt(0))}return e}(e.format,r.value))),f=()=>{a(+e.time),e.autoStart&&o()};return c((()=>e.time),f,{immediate:!0}),d({start:o,pause:i,reset:f}),()=>u("div",{role:"timer",class:S()},[s.default?s.default(r.value):m.value])}});e("C",m(b));const x="_wxPopupDialog_1sfd3_1",y="_popupContainer_1sfd3_16",C="_title1_1sfd3_22",k="_popupTips_1sfd3_29";e("O",r({name:"m-wx-tip",props:{show:{type:Boolean,default:!0},title:{type:String,default:"温馨提示"},message:{type:String,default:"请使用微信打开"}},setup(e){const t=f(!1);return _((()=>{g().weixin||!e.show||(t.value=!0)})),()=>u(w,null,[u(h,{show:t.value,"onUpdate:show":e=>t.value=e,round:!0,style:{width:"88%"},closeOnClickOverlay:!1,class:x},{default:()=>[u("div",{class:y},[u("p",{class:C},[e.title]),u("p",{class:k},[e.message])])]})])}}))}}}));
