1import{y,a1 as _,L as i,M as a,ab as k,U as l,S as p,aj as T,R as x,T as v,V as I,W as C,O as b,P as s,Q as S,ak as V,_ as j}from"./CzGLxXCm.js";import B from"./BIjEqfeX.js";import{a as h}from"./CJbouzjN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"84b5ffec966e4eb361694863cc4b425746597287"};var o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="142ecf0c-148d-4972-99c9-c17460ec7179",e._sentryDebugIdIdentifier="sentry-dbid-142ecf0c-148d-4972-99c9-c17460ec7179")}catch{}})();const D={class:"md:text-[36px] text-[24px]"},E={class:"grid md:grid-cols-4 grid-cols-1 gap-4 justify-start mx-auto"},N={class:"img-container-main"},L=["srcset"],R=["src","alt"],W={class:"absolute top-[37%] <md:top-[25%] flex justify-between w-full px-6 <md:px-4 collection-title items-baseline z-10"},A={class:"mt-2 font-semibold text-white text-[18px] leading-4 <md:leading-5 text-left"},z={class:"w-9 h-9 bg-white rounded-lg flex with-bg"},M=y({__name:"Catalogue",props:{data:{type:Object},static:{type:Boolean,default:!1}},setup(e){const o=e,g=[{title:"Vini Rossi",image:{image:{url:"/images/welcome/vini-rossi.png",altText:null}},mobileImage:{image:{url:"/images/welcome/vini-rossi-mobile.png",altText:null}},link:"/vini-rossi-C5.htm"},{title:"Vini Bianchi",image:{image:{url:"/images/welcome/vini-bianchi.png",altText:null}},mobileImage:{image:{url:"/images/welcome/vini-bianchi-mobile.png",altText:null}},link:"/vini-bianchi-C6.htm"},{title:"Champagne",image:{image:{url:"/images/welcome/champagne.png",altText:null}},mobileImage:{image:{url:"/images/welcome/champagne-mobile.png",altText:null}},link:"/champagne-C9.htm"},{title:"Spumanti",image:{image:{url:"/images/welcome/spumanti.png",altText:null}},mobileImage:{image:{url:"/images/welcome/spumanti-mob.png",altText:null}},link:"/spumanti-C8.htm"},{title:"Vini Artigianali",image:{image:{url:"/images/welcome/artigianali.png",altText:null}},mobileImage:{image:{url:"/images/welcome/artiginali-mobile.png",altText:null}},link:"/pages/vini-artigianali"},{title:"No-Low Alcol",image:{image:{url:"/images/welcome/no-low-alcol.png",altText:null}},mobileImage:{image:{url:"/images/welcome/no-low-alc-mobile.png",altText:null}},link:"/no-low-alcol-M64.htm"},{title:"Distillati",image:{image:{url:"/images/welcome/distillati.png",altText:null}},mobileImage:{image:{url:"/images/welcome/distillati-mobile.png",altText:null}},link:"/distillati-M2.htm"},{title:"Tutto il catalogo",image:{image:{url:"/images/welcome/catalog.png",altText:null}},mobileImage:{image:{url:"/images/welcome/catalog-mobile.png",altText:null}},link:"/catalog"}],w=_(()=>{var m;return o.static?g:(m=o.data)==null?void 0:m.categories});return(m,n)=>{var c,r;const f=V;return a(),i("div",{class:k(["max-w-screen-2xl grid gap-8 relative bg-white mx-auto text-gray-normal text-center text-[24px] items-center pb-8",{"py-8 md:pt-10":e.static}])},[l("div",D,[e.static?(a(),i(p,{key:0},[n[0]||(n[0]=l("span",{class:"text-green"},"Un catalogo ",-1)),n[1]||(n[1]=l("span",{class:"text-[#9A2645]"},"unico",-1))],64)):(a(),i("span",{key:1,class:"text-green",style:T({color:((c=e.data)==null?void 0:c.titleColor)??"#216155"})},x((r=e.data)==null?void 0:r.title),5))]),l("div",E,[(a(!0),i(p,null,v(s(w),t=>(a(),I(f,{key:t.title,to:t.link,class:"text-center collection-container relative category"},{default:C(()=>{var u,d;return[l("div",N,[l("picture",null,[(u=t==null?void 0:t.mobileImage)!=null&&u.image.url?(a(),i("source",{key:0,srcset:s(h)(t.mobileImage.image.url,710),media:"(max-width: 639px)"},null,8,L)):b("",!0),(d=t.image)!=null&&d.image.url?(a(),i("img",{key:1,src:s(h)(t.image.image.url,710),alt:t.title,class:"w-full h-auto md:max-h-[151px] object-cover rounded-sm"},null,8,R)):b("",!0)])]),l("div",W,[l("p",A,x(t.title),1),l("div",z,[S(s(B),{class:"text-primary-400 m-auto",style:{width:"15px",height:"auto","stroke-width":"10px"}})])])]}),_:2},1032,["to"]))),128))])],2)}}}),P=j(M,[["__scopeId","data-v-1f1cf04d"]]);export{P as W};
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.