import{_ as s}from"./VkhR3AKl.js";import{_ as a}from"./BJ1tI_Pr.js";import{_ as t}from"./C5KV0B1Q.js";import{_ as o}from"./Bs3W0MKb.js";import{u as i,i as r,a as e,d}from"./DWm3uysK.js";import{f as l,u as m,L as n,M as c,x as p,$ as u,F as g,O as v,V as f,W as _}from"./CFGNYEIb.js";import"./BW_umApC.js";import"./CAh9dhZi.js";import"./mqjJGHgV.js";const h={key:0,class:"container my-10"},j={key:1,class:"my-10 container"},y={key:0},k={class:"grid mt-6 lg:mt-14 grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-y-8 gap-x-2.5"},x={key:1},T={__name:"wishlist",setup(T){const V=i().$axios;r();const{data:w,status:L}=e("get_fave_products",(()=>V.get("get_fave_products").then((s=>s.data)).catch((s=>s.response)))),{t:S}=d(),W=l((()=>[{name:S("NAV.home"),to:"/"},{name:S("TITLES.wishlist"),to:"",disabled:!0}]));return(i,r)=>{var e,d,l;const T=s,V=a,S=t,$=o;return"pending"===m(L)?(n(),c("div",h,[p(T)])):"success"===m(L)?(n(),c("div",j,[p(V,{"data-aos":"fade-right",items:m(W)},null,8,["items"]),(null==(d=null==(e=m(w))?void 0:e.data)?void 0:d.length)?(n(),c("div",y,[u("div",k,[(n(!0),c(g,null,v(null==(l=m(w))?void 0:l.data,(s=>(n(),f(S,{key:s.id,product:s},null,8,["product"])))),128))])])):(n(),c("div",x,[p($,{class:"!min-h-[35vh]"})]))])):_("",!0)}}};export{T as default};
