PageSourceSearch

https://www.mm.dk/_nuxt/DCzs3tkg.js

js mm.dk collected 2026-09-24 09:27:51 UTC 5,260 bytes, 1 lines download raw bytes

1import{_ as z}from"./BQc9resV.js";import{_ as F}from"./DgTm3Ium.js";import{_ as N}from"./BOAzOCJs.js";import{_ as P}from"./-8KHjPFO.js";import{d as j,A as O,I as R,L,J as U,g as s,a as l,o as i,k as c,F as m,m as p,f as d,y as Z,c as q,s as J,w as K,e as W,t as Y,p as Q,v as b}from"./VWM4F0ZR.js";import{u as X}from"./BkEsQxzi.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"4acf542fb7903612aa6d189326669db9e9abf052"};var n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="b46ac316-1adf-416c-9b72-996c2fe4a35f",t._sentryDebugIdIdentifier="sentry-dbid-b46ac316-1adf-416c-9b72-996c2fe4a35f")}catch{}})();const ee="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.98438%201.02159C10.7812%201.16221%2011.3438%201.91221%2011.2031%202.75596L10.7344%205.47471H15.1875L15.75%202.24034C15.8906%201.44346%2016.6406%200.880963%2017.4844%201.02159C18.2812%201.16221%2018.8438%201.91221%2018.7031%202.75596L18.2344%205.47471H21C21.7969%205.47471%2022.5%206.17784%2022.5%206.97471C22.5%207.81846%2021.7969%208.47471%2021%208.47471H17.7656L16.7344%2014.4747H19.5C20.2969%2014.4747%2021%2015.1778%2021%2015.9747C21%2016.8185%2020.2969%2017.4747%2019.5%2017.4747H16.2656L15.7031%2020.756C15.5625%2021.5528%2014.8125%2022.1153%2013.9688%2021.9747C13.1719%2021.8341%2012.6094%2021.0841%2012.75%2020.2403L13.2188%2017.5216H8.76562L8.20312%2020.756C8.0625%2021.5528%207.3125%2022.1153%206.46875%2021.9747C5.67188%2021.8341%205.10938%2021.0841%205.25%2020.2403L5.71875%2017.4747H3C2.15625%2017.4747%201.5%2016.8185%201.5%2015.9747C1.5%2015.1778%202.15625%2014.4747%203%2014.4747H6.1875L7.21875%208.47471H4.5C3.65625%208.47471%203%207.81846%203%206.97471C3%206.17784%203.65625%205.47471%204.5%205.47471H7.6875L8.25%202.24034C8.39062%201.44346%209.14062%200.880963%209.98438%201.02159ZM10.2656%208.47471L9.23438%2014.4747H13.6875L14.7188%208.47471H10.2656Z'%20fill='url(%23paint0_linear_27005_38213)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_27005_38213'%20x1='11.5'%20y1='10.5'%20x2='11.5'%20y2='11.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.5'%20stop-color='%236897DD'/%3e%3cstop%20offset='0.5'%20stop-color='%2393B4E7'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",te={key:0},ae={key:1,class:"flex justify-center"},oe={key:2,class:"flex justify-center"},se=j({__name:"Articles",props:{count:{},offset:{default:0},articleGroup:{},articleType:{default:void 0},tagSlug:{},showMore:{type:Boolean},listLabel:{},paperId:{},placement:{default:"main"},page:{},link:{},linkLabel:{},listView:{},teaserType:{default:"default"},lazy:{type:Boolean,default:!0},preloadFirstImage:{type:Boolean},showTeaser:{type:Boolean},firstImageLarge:{type:Boolean},personId:{}},async setup(t){let n,f;const e=t,$=O(),g=R(),u=b(1),o=b([]),y=s(()=>`${e.paperId??g.activePaper.id}-${e.listView}-${e.articleGroup}-${e.tagSlug}-${e.offset}-${e.page}-${e.personId}-${e.count}-${e.articleType}`),_=s(()=>e.offset+(e.page!==void 0?(e.page-1)*(e.count??0):0));L(y,()=>{u.value=1,o.value=[]});const I=s(()=>{const a=[];return e.tagSlug&&a.push(`tagSlug=${e.tagSlug}`),e.personId&&a.push(`personIdentifier=${e.personId}`),e.listView&&a.push(`${e.listView}=true`),e.articleGroup&&a.push(`articleGroupCrossSiteIdentifier=${e.articleGroup}`),e.articleType&&a.push(`type=${e.articleType}`),a.join("|")}),{data:h,error:v,pending:k}=([n,f]=U(async()=>X(s(()=>`articles-${y.value}-${u.value}`),async()=>{const a=e.paperId??g.activePaper.id,C=_.value+(u.value-1)*(e.count??0);return await $.$api.articles.getArticleList({paperId:a,$filter:I.value,$skip:C,$top:e.count})},"$CLkde_ClzS")),n=await n,f(),n);v.value&&console.error(v.value,"Error fetching articles"),L(h,a=>{a?.data&&(u.value===1?o.value=a.data:o.value=[...o.value,...a.data])},{immediate:!0});const S=s(()=>h.value?.totalCount??0),T=s(()=>e.showMore&&S.value>o.value.length+_.value),x=()=>{u.value+=1},H=s(()=>e.articleGroup==="politicalSpeech"?{name:"political-speeches-index"}:e.link),A=a=>e.firstImageLarge&&a===0?!0:e.placement==="side"?!!(e.tagSlug&&a===0):!0,B=s(()=>
1{if(e.tagSlug)return ee});return(a,C)=>{const E=z,w=F,G=N,M=P,D=Q;return l(o).length>0?(i(),c("div",te,[t.placement==="side"&&t.listLabel?(i(),c(m,{key:0},[p(E,{label:t.listLabel,link:l(H),icon:l(B)},null,8,["label","link","icon"]),p(w)],64)):d("",!0),(i(!0),c(m,null,Z(l(o),(V,r)=>(i(),c(m,{key:"article"+r},[p(G,{article:V,index:r,small:t.placement==="side",lazy:t.lazy,preload:r===0&&t.preloadFirstImage?t.preloadFirstImage:!1,type:t.teaserType,"show-teaser":t.showTeaser||r===0&&t.placement==="main",direction:t.teaserType==="default"&&r===0?"col":"row","show-image":A(r)},null,8,["article","index","small","lazy","preload","type","show-teaser","direction","show-image"]),l(o).length>1?(i(),q(w,{key:"divider"+r,class:J({"my-1 md:my-5":t.placement==="main"})},null,8,["class"])):d("",!0)],64))),128)),l(k)?(i(),c("div",ae,[p(M)])):l(T)?(i(),c("div",oe,[p(D,{onClick:x},{default:K(()=>[W(Y(a.$t("ShowMore")),1)]),_:1})])):d("",!0)])):d("",!0)}}}),pe=Object.assign(se,{__name:"ListArticles"});export{ee as H,pe as _};

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.