1import{g as u,o,i as m,x as c,b as t,m as l,t as p,c as i}from"./index.esm-45bad9fc.js";import h from"./Modal-dd8b4b33.js";const f={class:"p-4 text-center"},x={class:"text-gray-600 mb-6"},g={class:"flex gap-3 justify-center"},y=["disabled"],b={key:0},v={key:1,class:"flex items-center gap-2"},C={__name:"StreakBrokenModal",props:{show:Boolean,date:String},emits:["close","buy"],setup(n,{emit:k}){const s=u(!1),r=()=>{s.value=!0,axios.post("/api/shop/streak-freeze/buy").then(()=>{location.reload()}).catch(()=>{alert("Không Äá»§ Gem!"),s.value=!1})};return(a,e)=>(o(),m(h,{isShow:n.show,showConfirmButton:!1,showCloseButton:!0,maxWidth:"md",onClose:e[1]||(e[1]=d=>a.$emit("close"))},{default:c(()=>[t("div",f,[e[5]||(e[5]=t("div",{class:"w-20 h-20 bg-red-100 rounded-full flex items-center justify-center mx-auto mb-4 text-4xl"}," ð¥ ",-1)),e[6]||(e[6]=t("h2",{class:"text-xl font-bold text-gray-900 mb-2"}," Ãi không! Bạn Äã mất chuá»i! ",-1)),t("p",x,[l(" Bạn Äã quên há»c và o ngà y "+p(n.date)+". Chuá»i cá»§a bạn Äã vá» 0. ",1),e[2]||(e[2]=t("br",null,null,-1)),e[3]||(e[3]=l(" Sá» dụng Streak Freeze Äá» khôi phục ngay? ",-1))]),t("div",g,[t("button",{onClick:e[0]||(e[0]=d=>a.$emit("close")),class:"px-4 py-2 text-gray-500 hover:text-gray-700 font-medium"}," Chấp nháºn mất chuá»i "),t("button",{onClick:r,disabled:s.value,class:"px-6 py-2 bg-cyan-500 hover:bg-cyan-600 text-white rounded-lg font-bold flex items-center gap-2 shadow-lg shadow-cyan-500/30 transition-all transform hover:scale-105"},[s.value?(o(),i("span",b,"Äang xá» lý...")):(o(),i("span",v,[...e[4]||(e[4]=[t("span",null,"Khôi phục (200 ð)",-1)])]))],8,y)])])]),_:1},8,["isShow"]))}};export{C as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.