1import{_ as j}from"./Csd2jvSC.js";import{a as B,d as N}from"./D7enOkY_.js";import{ao as _,af as t,aa as a,aj as o,ap as x,am as y,u as s,H as T,al as h,ak as p,ab as V}from"./_MbA3FA0.js";const D={"card-product-category-custom":"",class:"container"},F={class:"bg-green-500 text-white rounded-4xl p-2.5 pb-8 md:p-5 flex flex-col md:flex-row items-center justify-between gap-8 md:gap-20"},H={class:"overflow-hidden w-full md:max-w-1/2 rounded-4xl"},L=["src","alt"],P={class:"content md:py-12 max-w-lg mx-auto"},M={class:"mb-4 md:mb-6 text-l-mob md:text-l uppercase font-semibold"},U=["innerHTML"],z={__name:"CategoryProductCustom",props:{category:{type:Object,required:!0}},setup(e){const{t:f,locale:v}=B(),b=N();return(q,E)=>{var c,r,l,i,d,n,m,u,g;const w=j,C=_("image-reveal"),k=_("title-reveal");return a(),t("div",D,[o("div",F,[o("div",H,[(l=(r=(c=e.category.productCategoryFields)==null?void 0:c.image)==null?void 0:r.node)!=null&&l.sourceUrl?x((a(),t("img",{key:0,src:(d=(i=e.category.productCategoryFields)==null?void 0:i.image)==null?void 0:d.node.sourceUrl,alt:(g=(u=(m=(n=e.category.productCategoryFields)==null?void 0:n.image)==null?void 0:m.node.fields)==null?void 0:u.altText)==null?void 0:g[s(v)],class:"w-full h-72 md:h-[560px] object-cover rounded-4xl"},null,8,L)),[[C]]):y("",!0)]),o("div",P,[x((a(),t("h2",M,[h(p(e.category.name),1)])),[[k]]),e.category.description?(a(),t("div",{key:0,innerHTML:e.category.description,class:"mb-10 md:mb-16 leading-normal text-white"},null,8,U)):y("",!0),T(w,{white:"",to:s(b)({name:"products-slug",params:{slug:e.category.slug}}),class:"block w-fit"},{default:V(()=>[h(p(s(f)("customCategoryCta")),1)]),_:1},8,["to"])])])])}}};export{z as _};
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.