PageSourceSearch

https://sallinggroup.com/_nuxt/_newsId_.DGlLBGQ3.js

js sallinggroup.com collected 2026-09-24 09:49:23 UTC 3,432 bytes, 1 lines download raw bytes

1import{d as $,u as N,j,k as S,w as B,l as k,a as F,b as n,f as o,g as t,i as c,e as V,t as l,F as A,s as C,m as L,_ as O,o as a,p as _,h as P}from"./entry.SA0OsS3s.js";import{_ as R}from"./UiFeaturesNews.vue.DC3uMbXz.js";import{u as U}from"./asyncData.z1Tv2laI.js";import"./UiCardNews.vue.LGs0O7Pj.js";import"./UiBar.vue.DFk-b8wq.js";import"./nuxt-link.BAkS_7go.js";import"./useLangAndNav.CU61VmoS.js";import"./url-formatter.CSwz1xOc.js";import"./useServiceNews.BNHsRl-8.js";import"./index.DvHfnKhk.js";import"./useLoading.CJ1A4vtp.js";const z={key:0,class:"container"},E={key:0,class:"max-w-5xl mx-auto mt-4 mb-10 flex justify-center aspect-16-9"},J=["src","alt"],T={class:"max-w-3xl mx-auto text-body"},q={class:"text-display3-sm lg:text-display3 [hyphens:auto] break-words mb-4"},H={key:0,class:"mb-4 italic"},K={key:0},X={key:2,class:"border-t border-t-base-athens-gray mt-14 pt-8 flex flex-row gap-10"},G={class:"flex flex-col gap-1"},M={class:"text-display3-sm mb-2 text-base-grey-dark"},Q={key:0},W={key:1},Y={key:2},Z=["href"],ee={key:3},te=["href"],se={key:3,class:"border-t border-t-base-athens-gray mt-14 -mx-4"},he=$({__name:"[newsId]",async setup(ae){let d,p;const h=N(),{serviceNews:v}=j(),{locale:I}=S(),y=h.fullPath.split("/").pop()||"",D=new RegExp(/\/(\?.*)?$/),{data:b}=([d,p]=B(async()=>U(h.fullPath.replace(D,""),async()=>{const s=await v.findByIdFull(y).toPromise();return JSON.parse(JSON.stringify(s))},"$kXnOL0w5rq")),d=await d,p(),d),e=k(()=>{var s;return(s=b.value)==null?void 0:s.documents[y]}),f=k(()=>{var m,u;const s=I.value==="da"?"da-DK":"en-US",r=(m=e.value)!=null&&m.published?new Date((u=e.value)==null?void 0:u.published):void 0;return r==null?void 0:r.toLocaleDateString(s,{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"})});return F(b,s=>{var r,m;if(s){const u=`${(r=e.value)==null?void 0:r.title}`;(m=e.value)!=null&&m.leadtext,P({title:u})}},{immediate:!0}),(s,r)=>{var g,x,w;const m=O,u=R;return t(e)?(a(),n("div",z,[(g=t(e).mainImage)!=null&&g.normal?(a(),n("div",E,[c("img",{class:"max-h-[700px] w-auto h-full",src:t(e).mainImage.normal,loading:"eager",alt:t(e).mainImage.caption||t(e).mainImage.title},null,8,J)])):o("",!0),c("div",T,[c("h2",q,l(t(e).title),1),t(f)?(a(),n("p",H,[t(e).type?(a(),n("span",K,l(t(e).type)+": ",1)):o("",!0),c("span",null,l(t(f)),1)])):o("",!0),t(e).body?(a(),V(m,{key:1,class:"max-w-none px-4 lg:pl-0","html-content":t(e).body},null,8,["html-content"])):o("",!0),(x=t(e).contacts)!=null&&x.persons.length?(a(),n("div",X,[(a(!0),n(A,null,C((w=t(e).contacts)==null?void 0:w.persons,i=>(a(),n("div",G,[c("h3",M,l(s.$t("news_detail_contact_label")),1),i.name?(a(),n("p",Q,l(i.name),1)):o("",!0),i.companyDepartment?(a(),n("p",W,l(i.companyDepartment),1)):o("",!0),i.email?(a(),n("p",Y,[_(l(s.$t("news_detail_email_label"))+" ",1),c("a",{class:"underline",href:`mailto:${i.email}`},l(i.email),9,Z)])):o("",!0),i.phone?(a(),n("p",ee,[_(l(s.$t("news_detail_phone_label"))+" ",1),c("a",{class:"underline",href:`tel:${i.phone.trim().replaceAll(" ","")}`},l(i.phone),9,te)])):o("",!0),c("p",null,[_(l(s.$t("news_detail_link_label"))+" ",1),r[0]||(r[0]=c("a",{class:"underline",href:"https://via.ritzau.dk/nyhedsrum/salling-group/r?publisherId=3307957",target:"_blank"},"Ritzau",-1))])]))),256))])):o("",!0),t(e).objectID?(a(),n("div",se,[L(u,{objectID:t(e).objectID},null,8,["objectID"])])):o("",!0)])])):o("",!0)}}});export{he 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.