import{_ as s}from"./BHryYw9h.js";import{d as a,a as l,h as c,i as d,b as p}from"./CFjCYvyP.js";import{L as r,M as e,H as i,$ as o,c as t,f as n,u as x,G as m,O as u,V as h,W as w}from"./DOfEu912.js";import{_ as v}from"./CyH4F-QH.js";import{_ as g}from"./BN1FCAYB.js";import{_ as y}from"./CeXidrCy.js";import"./Iog--8e0.js";import"./mqjJGHgV.js";const f={class:"my-10"},j={class:"flex-1 space-y-10 lg:col-span-9"},_={class:"grid grid-cols-1 xs:grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-y-8 gap-x-4"},k={class:"space-y-4"},b={class:"space-y-4"},$={class:"space-y-4"},q={class:"space-y-4"},L={class:"space-y-4"},M={class:"space-y-4"},N={class:"space-y-4"},T={class:"space-y-4"},V={class:"mt-10 flex justify-center gap-4"};const A=a({},[["render",function(a,l){const c=s;return r(),e("div",f,[i(c,{class:"h-[16px] w-[200px] mb-6 lg:mb-14"}),o("div",j,[o("div",_,[o("div",k,[i(c,{class:"h-[300px] w-[100%] rounded-md"}),i(c,{class:"h-[14px] w-[70%]"}),i(c,{class:"h-[14px] w-[40%]"}),i(c,{class:"h-[14px] w-[50%]"})]),o("div",b,[i(c,{class:"h-[300px] w-[100%] rounded-md"}),i(c,{class:"h-[14px] w-[70%]"}),i(c,{class:"h-[14px] w-[40%]"}),i(c,{class:"h-[14px] w-[50%]"})]),o("div",$,[i(c,{class:"h-[300px] w-[100%] rounded-md"}),i(c,{class:"h-[14px] w-[70%]"}),i(c,{class:"h-[14px] w-[40%]"}),i(c,{class:"h-[14px] w-[50%]"})]),o("div",q,[i(c,{class:"h-[300px] w-[100%] rounded-md"}),i(c,{class:"h-[14px] w-[70%]"}),i(c,{class:"h-[14px] w-[40%]"}),i(c,{class:"h-[14px] w-[50%]"})]),o("div",L,[i(c,{class:"h-[300px] w-[100%] rounded-md"}),i(c,{class:"h-[14px] w-[70%]"}),i(c,{class:"h-[14px] w-[40%]"}),i(c,{class:"h-[14px] w-[50%]"})]),o("div",M,[i(c,{class:"h-[300px] w-[100%] rounded-md"}),i(c,{class:"h-[14px] w-[70%]"}),i(c,{class:"h-[14px] w-[40%]"}),i(c,{class:"h-[14px] w-[50%]"})]),o("div",N,[i(c,{class:"h-[300px] w-[100%] rounded-md"}),i(c,{class:"h-[14px] w-[70%]"}),i(c,{class:"h-[14px] w-[40%]"}),i(c,{class:"h-[14px] w-[50%]"})]),o("div",T,[i(c,{class:"h-[300px] w-[100%] rounded-md"}),i(c,{class:"h-[14px] w-[70%]"}),i(c,{class:"h-[14px] w-[40%]"}),i(c,{class:"h-[14px] w-[50%]"})])]),o("div",V,[i(c,{class:"h-[30px] w-[60px]"}),i(c,{class:"h-[30px] w-[60px]"}),i(c,{class:"h-[30px] w-[60px]"})])])])}]]),C={key:0,class:"container my-6 lg:my-16"},E={key:1,class:"my-6 lg:my-16 container"},G={key:0},H={class:"grid grid-cols-1 mt-6 lg:mt-14 xs:grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-y-8 gap-x-4"},I={key:1},J={__name:"[slug]",setup(s){var a;const f=l().$axios,j=c();t(+(null==(a=j.query)?void 0:a.page)||1);const{data:_,status:k}=d("sliders",(()=>{var s,a;return f.get(`slider/${null==(s=j.params)?void 0:s.slug}`,{params:{page:null==(a=j.query)?void 0:a.page}}).then((s=>s.data)).catch((s=>s.response))})),{t:b}=p(),$=n((()=>{var s,a,l,c;return[{name:b("NAV.home"),to:"/"},{name:b("TITLES.sliders"),to:"",disabled:!0},{name:(null==(a=null==(s=_.value)?void 0:s.data)?void 0:a.name)||(null==(l=j.params)?void 0:l.slug),to:`/sliders/${null==(c=j.params)?void 0:c.slug}`}]}));return(s,a)=>{var l,c,d,p,t;const n=A,f=v,j=g,b=y;return"pending"===x(k)?(r(),e("div",C,[i(n)])):"success"===x(k)?(r(),e("div",E,[i(f,{"data-aos":"fade-right",items:x($)},null,8,["items"]),(null==(d=null==(c=null==(l=x(_))?void 0:l.data)?void 0:c.product_details)?void 0:d.length)?(r(),e("div",G,[o("div",H,[(r(!0),e(m,null,u(null==(t=null==(p=x(_))?void 0:p.data)?void 0:t.product_details,(s=>(r(),h(j,{key:s.id,product:s},null,8,["product"])))),128))])])):(r(),e("div",I,[i(b,{class:"!min-h-[35vh]"})]))])):w("",!0)}}};export{J as default};
