PageSourceSearch

https://www.seoghoer.dk/_nuxt/dnwmy4Nu.js

js seoghoer.dk collected 2026-09-24 18:27:21 UTC 2,741 bytes, 1 lines download raw bytes

1import{_ as k}from"./PBScW77J.js";import{d as p,o as f,c as g,a as n,f as o,n as _,t as w,ai as x,a8 as S,D as y,w as u,_ as v,r as C,K as A,b as I,p as $}from"./DYoAz0vE.js";import{_ as j}from"./DmZqezW8.js";import{u as F}from"./DiJDoNMl.js";import{u as D}from"./C3lT3MAS.js";import{u as B}from"./CVjQf96V.js";import"./Fy-ix4sR.js";import"./Cz3UeZJH.js";import"./CJzrkonE.js";const O={class:"w-full h-full"},P={class:"w-full"},T=p({__name:"SliderItem",props:{teaser:{type:Object,required:!0},full:{type:Boolean,default:!1}},setup(e){return(r,l)=>{const a=k;return f(),g("article",O,[n("div",P,[o(a,{media:e.teaser.attributes.media?.imageUrl?e.teaser.attributes.media:{imageUrl:"/frontend/Fallback.png"},class:"w-full h-full object-cover",sizes:e.full?"320px":"160px",modifiers:{ar:"154:179"},width:"160",height:"160",renderWidths:[160,342,410,684,820]},null,8,["media","sizes"])]),n("div",{class:_({"h-[184px]":e.full})},[n("div",{class:_(["bg-red-600 mx-5 p-7 pb-9 -mt-5 mb-5 relative overflow-hidden",{"!-mt-80 !mx-15 px-15 pt-15 pb-10":e.full}])},[n("p",{class:_(["font-semibold font-khand text-20 break-words leading-20 text-white line-clamp-4",{"text-40 leading-40":e.full}])},w(e.teaser.attributes.title),3)],2)],2)])}}}),z=Object.assign(T,{__name:"ArticleFeedSliderItem"}),L={class:"bg-grey-200 mb-20 pb-12 pt-5"},M=p({__name:"Slider",props:{teasers:{type:Array,default:()=>[]}},setup(e){const r=e,l={responsive:[{breakpoint:320,items:2,stagePadding:".34"}]},a=x("apiData")?.data?.id,c=(t,s)=>{F().GTMPushCustom("carousel_article_click",{page_url:t.attributes.url,referrer_page_id:a,element_position:s})};return(t,s)=>{const i=z,b=v,d=j;return f(),g("div",L,[o(d,{"slider-conf":l,items:r.teasers},S({sliderHeader:u(()=>[C(t.$slots,"default",{slot:"slider-header"},()=>[s[0]||(s[0]=n("h4",{class:"px-5 mb-7 pt-7 font-khand text-20 leading-20 font-semibold uppercase"},"Læs også",-1))])]),_:2},[y(r.teasers,(m,h)=>({name:h,fn:u(()=>[o(b,{to:m.attributes.url,onClick:U=>c(m,h+1)},{default:u(()=>[o(i,{teaser:m,class:"bg-grey-400 border-grey-400 border"},null,8,["teaser"])]),_:2},1032,["to","onClick"])])}))]),1032,["items"])])}}}),N=Object.assign(M,{__name:"ArticleFeedSlider"}),G={class:"overflow-hidden w-full"},K=p({__name:"Controller",setup(e){const{getItems:r,initStream:l}=D(),a=x("apiData"),{topParent:c}=B(a),t=$([]);A(async()=>{await l(s());const i=await r({count:10});t.value=[...i]});const s=()=>{switch(c?.id){case"1":case"22463":return"sh_exit_prompt_nyheder_sport";case"18789":return"sh_exit_prompt_krimi";default:return"sh_exit_prompt_kendte_reality"}};return(i,b)=>{const d=N;return f(),g("div",G,[o(d,{teasers:I(t)},null,8,["teasers"])])}}}),Y=Object.assign(K,{__name:"ArticleFeedController"});export{Y 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.