import{s as u,v as f,o as p,e as h,w as a,h as s,j as t,ab as x,ac as d,a as e,ad as y,ai as g,t as r,ag as _}from"./app-B-4i4xU3.js";const v={class:"fixed inset-0 z-10 w-screen overflow-y-auto"},w={class:"flex min-h-full items-center justify-center p-4 text-center sm:p-0"},b={class:"bg-white dark:bg-slate-800 p-5 sm:p-8 relative"},k={class:"flex justify-center"},C={class:"mt-4 text-center text-gray-900 dark:text-white text-xl sm:text-3xl font-bold leading-9"},M={class:"mt-4 py-3.5 bg-slate-100 dark:bg-slate-700 rounded-lg text-center text-slate-950 dark:text-slate-200 text-base"},S={class:"mt-4 text-center text-slate-700 dark:text-slate-300 text-lg font-normal leading-7 tracking-tight"},B={class:"mt-4 w-full flex"},$={__name:"OrderConfirmModal",setup(O){const n=u(),l=f(),c=()=>{l.showOrderConfirmModal=!1,n.push("/")},m=()=>{l.showOrderConfirmModal=!1,n.push("/")};return(o,i)=>(p(),h(t(_),{as:"template",show:t(l).showOrderConfirmModal},{default:a(()=>[s(t(x),{as:"div",class:"relative z-10",onClose:m},{default:a(()=>[s(t(d),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"ease-in duration-200","leave-from":"opacity-100","leave-to":"opacity-0"},{default:a(()=>[...i[0]||(i[0]=[e("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-50 transition-opacity"},null,-1)])]),_:1}),e("div",v,[e("div",w,[s(t(d),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to":"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200","leave-from":"opacity-100 translate-y-0 sm:scale-100","leave-to":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:a(()=>[s(t(y),{class:"relative transform overflow-hidden rounded-2xl bg-white dark:bg-slate-800 text-left shadow-xl transition-all my-8 md:my-0 w-full md:w-[538px]"},{default:a(()=>[e("div",b,[e("div",k,[s(t(g),{class:"w-20 h-20 text-green-500"})]),e("div",C,r(o.$t("Your order has been placed")),1),e("div",M,r(o.$t("Your order has been placed successfully"))+". ",1),e("div",S,r(o.$t("You will receive an order confirmation email with details of your order"))+". ",1),e("div",B,[e("button",{onClick:c,class:"w-full text-center px-6 py-4 bg-primary rounded-[10px] text-white text-base font-medium leading-normal"},r(o.$t("Continue Shopping")),1)])])]),_:1})]),_:1})])])]),_:1})]),_:1},8,["show"]))}};export{$ as _};
