PageSourceSearch

https://www.roskilde.dk/_nuxt/BIfRArkc.js

js roskilde.dk collected 2026-09-24 09:27:16 UTC 6,676 bytes, 1 lines download raw bytes

1import{D as t,E as e,Gt as a,J as n,Lt as l,M as s,N as i,R as o,T as c,Tt as r,Y as d,hn as g,it as x,pn as m,w as p}from"./B8XHxhss.js";import{D as u,F as f,_ as b}from"#entry";import{t as y}from"./DnRsJ2ze.js";import{t as v}from"./DXNx4Ry-.js";import{t as k}from"./Dj0ALB3g.js";import{t as D}from"./DxoJW7pM.js";import{t as h}from"./CqvLaLzd.js";import{t as z}from"./CLnFiEbb2.js";import{t as _}from"./LFVbWIh92.js";import{t as T}from"./BHxXZfbq2.js";var E={class:"d-agenda-page"},C={class:"flex flex-col gap-y-lg >=1280:gap-y-md"},w={key:0,class:"flex flex-col gap-y-5xs"},L=["textContent"],j={key:1,class:"flex flex-col gap-y-5xs"},M=["textContent"],A={key:2,class:"flex flex-col gap-y-5xs"},I=["textContent"],H={key:3,class:"gap-y-5xs"},N=["innerHTML"],S=["innerHTML"],O={key:4,class:"gap-y-5xs"},P=["innerHTML"],F=["innerHTML"],$={class:"w-12/12col >=1280:w-8/12col h-fit mt-beforeBlocks"},G={class:"ml-auto flex items-center gap-3xs"},R={key:0,class:"flex rounded-sm py-4xs px-3xs bg-indent text-onIndent pointer-events-none"},B={class:"text-caption-lg-strong"},W={class:"c-base-accordion__icon duration-300"},K={class:"px-4xs"},V={class:"mt-2xl print:hidden"},J={class:"px-4xs"},Y={__name:"AgendaPage",props:{id:[String,Number],contentElements:Array,agendaData:Object,settings:Object,feedback:{type:Object,default:void 0},hideFeedback:{type:Boolean,default:!1}},setup(Y){k({category:"agenda"});const q=l(!1),Q=l(!1),U=l(5),X=l(null),Z=(t,e)=>{const a=t.slice(0,U.value).join("<br>");return e?t.join("<br>"):a},tt=(t,e)=>{const a=e?"":`(${t.length-U.value})`;return`${b(e?"SHOW_LESS":"SHOW_ALL",{capitalize:!0})} ${a}`},et=()=>{document.getElementById("app").setAttribute("data-print-target",""),d(()=>{window.print()})};return T("afterprint",()=>{X.value=null,document.getElementById("app").removeAttribute("data-print-target")}),(l,k)=>{const T=D,at=y,nt=v,lt=u,st=z,it=_,ot=f;return x(),t("article",E,[i(ot,{name:"content-page-layout","show-long-read":!0},{header:r(()=>[i(T,{color:"surface",alignment:"left",teaser:`${Y.agendaData.type} • ${("useFormatDate"in l?l.useFormatDate:a(h))(Y.agendaData.meetingDate,{dateStyle:"long",timeStyle:"short"},"da-DK")}`},null,8,["teaser"])]),aside:r(()=>[p("aside",C,[Y.agendaData?.committee?(x(),t("div",w,[i(at,{class:"block text-body-sm-regular >=1280:text-caption-lg-regular text-subtle"},{default:r(()=>[s(g(("localize"in l?l.localize:a(b))("COMMITTEE",{capitalize:!0})),1)]),_:1}),p("span",{class:"block text-heading-sm-strong >=1280:text-caption-lg-strong text-strong",textContent:g(Y.agendaData.committee)},null,8,L)])):e("",!0),Y.agendaData.meetingDate?(x(),t("div",j,[i(at,{class:"block text-body-sm-regular >=1280:text-caption-lg-regular text-subtle"},{default:r(()=>[s(g(("localize"in l?l.localize:a(b))("MEETING_DATE",{capitalize:!0})),1)]),_:1}),p("span",{class:"block text-heading-sm-strong >=1280:text-caption-lg-strong text-strong first-letter:capitalize",textContent:g(("useFormatDate"in l?l.useFormatDate:a(h))(Y.agendaData.meetingDate,{dateStyle:"full",timeStyle:"short"},"da-DK"))},null,8,M)])):e("",!0),Y.agendaData?.meetingLocation?(x(),t("div",A,[i(at,{class:"block text-body-sm-regular >=1280:text-caption-lg-regular text-subtle"},{default:r(()=>[s(g(("localize"in l?l.localize:a(b))("MEETING_PLACE",{capitalize:!0})),1)]),_:1}),p("span",{class:"block text-heading-sm-strong >=1280:text-caption-lg-strong text-strong",textContent:g(Y.agendaData.meetingLocation)},null,8,I)])):e("",!0),Y.agendaData?.attendees?.length?(x(),t("div",H,[i(at,{class:"block text-body-sm-regular >=1280:text-caption-lg-regular text-subtle"},{default:r(()=>[s(g(("localize"in l?l.localize:a(b))("MEETING_PARTICIPANTS",{capitalize:!0})),1)]),_:1}),p("span",{class:"block text-heading-sm-strong >=1280:text-caption-lg-strong text-strong my-5xs",innerHTML:Z(Y.agendaData.attendees,a(q))},null,8,N),Y.agendaData?.attendees.length>a(U)?(x(),t("button",{key:0,class:"mt-3xs text-heading-sm-link >=1280:text-caption-lg-link text-interactive hover:text-interactiveHover active:text-interactiveActive",onClick:k[0]||(k[0]=t=>q.value=!a(q)),innerHTML:tt(Y.agendaData.attendees,a(q))},null,8,S)):e("",!0)])):e("",!0),Y.agendaData?.absentees?.length?(x(),t("div",O,[i(at,{class:"block text-body-sm-regular >=1280:text-caption-lg-regular text-subtle"},{default:r(()=>[s(g(("localize"in l?l.localize:a(b))("CANCELLATIONS",{capitalize:!0})),1)]),_:1}),p("span",{class:"block text-heading-sm-strong >=1280:text-caption-lg-strong text-strong my-5xs",innerHTML:Z(Y.agendaData.absentees,a(Q))},null,8,P),Y.agendaData?.absentees.length>a(U)?(x(),t("button",{key:0,class:"mt-3xs text-body-lg-link >=1280:text-caption-lg-link text-interactive hover:text-interactiveHover active:text-interactiveActive",onClick:k[1]||(k[1]=t=>Q.value=!a(Q)),innerHTML:tt(Y.agendaData.absentees,a(Q))},null,8,F)):e("",!0)])):e("",!0)])]),default:r(()=>[p("div",$,[i(it,{ref:"accordionGroup",elements:Y.contentElements[0].content.elements,"show-open-all":!0},{title:r(()=>[i(at,{class:"text-display-xs text-strong mb-md"},{default:r(()=>
1[s(g(Y.contentElements[0].content.title),1)]),_:1})]),header:r(({item:l,index:o})=>[p("div",n({class:"flex w-full justify-between"},a(X)===o?{"data-print-target":""}:{}),[l.content?.title??l.title?(x(),c(at,{key:0,class:"text-heading-sm-strong mr-3xs"},{default:r(()=>[s(g(l.content?.title??l.title),1)]),_:2},1024)):e("",!0),p("div",G,["agenda"===l?.type&&l?.metadata?.documentCount?(x(),t("div",R,[p("span",B,g(l.metadata.documentCount),1),i(nt,{name:"attachment"})])):e("",!0),p("span",W,[i(nt,{name:"expand-more",class:"w-1.6em h-1.6em"})])])],16)]),panel:r(({item:t,index:e})=>[p("div",m(o(a(X)===e?{"data-print-target":""}:{})),[i(lt,{color:"surfaceVariant",class:"px-3xs py-2xs gap-0 min-w-200 mb-xl print:hidden <656:w-full",onClick:t=>(t=>{"undefined"!=typeof window&&(X.value=t,d(()=>{window.print()}))})(e)},{icon:r(()=>[i(nt,{name:"print",class:"text-strong"})]),default:r(()=>[p("span",K,g(("localize"in l?l.localize:a(b))("PRINT",{capitalize:!0})),1)]),_:1},8,["onClick"]),i(st,{"block-context":"in-accordion","block-list":t.content?.accordionElements||t.accordionElements,loading:"auto"},null,8,["block-list"])],16)]),_:1},8,["elements"]),p("div",V,[i(at,{id:`${Y.id}__title`,class:"text-display-xs text-strong mb-xs >=1280:mb-md"},{default:r(()=>[s(g(("localize"in l?l.localize:a(b))("PRINT",{capitalize:!0})),1)]),_:1},8,["id"]),i(lt,{color:"surfaceVariant",class:"px-3xs py-2xs gap-0 min-w-200 <656:w-full",onClick:et},{icon:r(()=>[i(nt,{name:"print",class:"text-strong"})]),default:r(()=>[p("span",J,g(("localize"in l?l.localize:a(b))("PRINT",{capitalize:!0})),1)]),_:1})])])]),_:1})])}}};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.