1import{_ as r}from"./CSyfD7LW.js";import{_ as d}from"./t2sAw7ij.js";import{d as p,b as n,c as x,f as e,e as u,w as _,i as a,l as s,j as f,t as i,k as C}from"./DxqKGyZT.js";import"./CvR-OVNR.js";const b={class:"related bg-sand-400 relative mb-20"},g={class:"w-[125px] min-w-[125px] max-w-[125px] h-[125px] mx-10 md:ml-0 md:mr-15"},h={class:"flex flex-col"},w={class:"text-12 uppercase font-bold text-red-400 tracking-widest pt-10 flex items-center"},k={class:"font-serif text-16 leading-20 md:py-5 md:text-18 md:leading-26 line-clamp-3"},y=p({__name:"Related",props:{componentContent:{type:Object,required:!0}},setup(t){return(N,o)=>{const l=r,c=d,m=C;return n(),x("article",b,[o[0]||(o[0]=e("div",{class:"bg-black w-max absolute -top-10 left-0 text-15 text-white uppercase italic font-bold py-2 px-20"},"Se også",-1)),u(m,{to:t.componentContent.relatedContent.attributes.url,class:"flex py-10 px-10 lg:px-20"},{default:_(()=>[e("div",g,[t.componentContent.relatedContent.attributes.mainMedia?(n(),a(l,{key:0,media:t.componentContent.relatedContent.attributes.mainMedia,sizes:"125px",width:"125",height:"125",loading:"lazy",class:"w-125 h-125",modifiers:{ar:"125:125"},"render-widths":[125,250,375],"gif-widths":[[125,125]]},null,8,["media"])):s("",!0)]),e("div",h,[e("span",w,[t.componentContent.relatedContent?.attributes?.premium?(n(),a(c,{key:0,class:"square-20 mx-8"})):s("",!0),f(" "+i(t.componentContent.relatedContent.attributes.titlePrefix),1)]),e("h2",k,i(t.componentContent.relatedContent.attributes.title),1)])]),_:1},8,["to"])])}}}),I=Object.assign(y,{__name:"ContentRelated"});export{I 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.