1import{d as e,i as t,v as s,g as a,h as l,s as o,a0 as i,j as n,aA as r,y as c,z as m,A as d,x as u,F as p,E as f,f as v,ae as x,az as y}from"./N_un_XSB.js";import k from"./DaDIqUI5.js";import b from"./IB56Dul6.js";import g from"./BQsNhIGf.js";import{u as h}from"./FQpFVXLL.js";import{u as w}from"./SuYbqPMY.js";import"./CI6GnqFZ.js";import"./BjlZg6tN.js";import"./D3ebqQ3a.js";import"./Cy19OXdd.js";import"./CWwfwHLY.js";import"./GctRIjyq.js";import"./CMGOtNnw.js";const j={key:0,class:"container site-h-spacing"},z={key:0,class:"mt-10 md:mt-16 space-y-6 md:space-y-8"},C={class:"grid grid-cols-[2.5rem,1fr] md:grid-cols-[4rem,1fr] gap-4"},M={key:0,class:"text-[2.5rem] md:text-[4rem]"},_={key:0,class:"relative z-10"},A={__name:"blockTextMedia",props:{block:{type:Object,default:()=>({})},blockIndex:{type:Number,default:null},document:{type:Object,default:()=>({})}},setup(A){const I=A,{meta:T,refs:H,layout:O,settings:R}=h(I.block),{scrollTo:q}=w(),{t:B}=e(),D="Destra"===R.contentAlign;return(e,h)=>{var w,I;const E=m,F=k,L=b,N=x,P=g;return a(T).hasContent||a(T).hasMedia||a(T).hasRepeater?(l(),t("div",{key:0,class:i(["space-y-6 md:space-y-12",[a(O).spaceAbove,a(O).spaceBelow]]),style:y(a(O).backgroundColor)},[a(T).hasContent||a(T).hasMedia?(l(),t("div",j,[o("div",{class:i(["flex flex-col flex-wrap items-center justify-between space-y-6 md:space-y-0",[D?"md:flex-row-reverse":"md:flex-row",a(R).boxed?"max-w-6xl mx-auto":""]])},[a(T).hasContent?(l(),t("div",{key:0,class:i(["w-full relative z-10",a(R).alternative?"md:w-2/5 lg:w-1/4":"md:w-2/5"])},[n(F,{document:A.block,settings:a(R),"main-document":A.document,buttonsHighlight:a(R).alternative,classes:a(R).alternative?{title:"title font-light text-3xl md:text-5xl"}:{}},r({_:2},[a(R).addToCart&&(null==(I=null==(w=A.document)?void 0:w.properties)?void 0:I.acquistabile)?{name:"buttons",fn:c((()=>[n(E,{type:"button",variant:"highlight",onClick:h[0]||(h[0]=e=>a(q)("#shopify-component"))},{default:c((()=>[d(u(a(B)("blocks.addToCart")),1)])),_:1})])),key:"0"}:void 0]),1032,["document","settings","main-document","buttonsHighlight","classes"]),a(T).hasRepeater?(l(),t("div",z,[(l(!0),t(p,null,f(a(H).repeater,((e,r)=>(l(),v(P,{key:e.id,block:e,"main-block":A.block},{default:c((({meta:r,refs:c})=>[o("div",C,[o("div",{class:i(a(O).foregroundColor)},[r.hasMedia?(l(),t("div",M,[n(L,{document:e,class:"w-auto h-[1em] inline-block","aria-hidden":"true",sizes:{xs:"256px"}},null,8,["document"])])):r.hasIconify?(l(),v(N,{key:1,icon:c.iconify,class:"text-[2.5rem] md:text-[4rem]"},null,8,["icon"])):s("",!0)],2),r.hasContent?(l(),t("div",_,[n(F,{document:e,settings:a(R),"main-document":A.document,classes:{title:"title font-bold text-lg",wrapper:"space-y-1"}},null,8,["document","settings","main-document"])])):s("",!0)])])),_:2},1032,["block","main-block"])))),128))])):s("",!0)],2)):s("",!0),a(T).hasMedia?(l(),t("div",{key:1,class:i(["w-full relative z-10 self-stretch",a(R).alternative?"md:w-1/2 lg:w-2/3":"md:w-1/2"])},[n(L,{document:A.block,class:"w-full h-auto","aria-hidden":"true",lazy:0!==A.blockIndex,preload:0===A.blockIndex,sizes:a(R).alternative?{xs:"100vw",md:"50vw",xl:"700px"}:{xs:"100vw",md:"50vw","2xl":"850px"},style:y(a(R).mascheraLogo?["mask-size: cover;","mask-repeat: no-repeat;","mask-image: url('/svg/brand-full.svg')"]:"")},null,8,["document","lazy","preload","sizes","style"])],2)):s("",!0)],2)])):s("",!0)],6)):s("",!0)}}};export{A as default};
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.