PageSourceSearch

https://www.randers.dk/_nuxt/CDjZBYaq.js

js randers.dk collected 2026-10-02 08:06:37 UTC 12,181 bytes, 1 lines download raw bytes

1import{A as t,C as e,D as a,E as l,G as o,Gt as s,J as i,Lt as n,N as r,Q as c,R as d,St as u,T as g,Tt as m,Y as f,_ as p,at as v,b,ct as y,dt as _,fn as k,hn as h,it as x,pn as w,st as T,tt as $,w as A,yt as B}from"./B8XHxhss.js";import{E as C,_ as z,ft as L,jt as E,ut as N,zt as I}from"#entry";import{t as j}from"./B5g-1EAO.js";import{t as S}from"./DXNx4Ry-.js";import{t as O}from"./Dcux_0w4.js";import{t as H}from"./BT09srns2.js";import{t as R}from"./CsHtrVPC2.js";import{t as P}from"./BHxXZfbq2.js";import{t as V}from"./Box9L_cp.js";import{t as G}from"./C6UzZFf9.js";import{t as Y}from"./D_OunRrR.js";import{n as M,t as Z}from"./rb54NsVk.js";var D={id:"long-read",class:"c-long-read__aside hidden >=1280:!block"},F={class:"mb-2xs text-medium text-body-lg-strong"},U={class:"relative"},q={class:"flex flex-col overflow-x-hidden"},J=["id"],K=["id","href","aria-current","onClick"],Q=["textContent"],W={role:"status"},X={class:"c-long-read__dropdown >=1280:!hidden flex justify-end mt-[calc(var(--theme-layout-margin)-var(--theme-spacing-beforeBlocks))]"},tt={key:0,id:"c-long-read__dropdown-list",tag:"div","aria-role":"menu","aria-labelledby":"c-long-read__mobile-heading",class:"fixed z-10000 left-0 right-0 top-0 rounded-tl-none rounded-tr-none rounded-bl-modalLg rounded-br-modalLg w-visual-screen"},et={class:"relative grid grid-cols-1 max-h-80vh <656:max-h-[min(90vh,100vh-var(--safe-area-inset-bottom))] overflow-x-hidden overflow-y-auto p-lg bg-canvas rounded-br-24 rounded-bl-24 z-2",style:{"grid-template-rows":"auto auto minmax(\n\t\t\t\t\t\t\t\t\t\t\t1fr,\n\t\t\t\t\t\t\t\t\t\t\tauto\n\t\t\t\t\t\t\t\t\t\t)"}},at={class:"grid grid-cols-1 >=375:grid-cols-[1fr_auto] w-full h-fit py-3xs gap-x-lg"},lt=["aria-label"],ot={id:"c-long-read__mobile-heading",class:"col-start-1 >=375:row-start-1 text-display-lg mb-4xs"},st={class:"col-start-1 text-body-md-regular text-subtle"},it={class:"relative min-h-0 max-h-full"},nt={class:"c-long-read__dropdown-list flex flex-col"},rt=["id"],ct=["id","href","aria-current","onClick"],dt=["textContent"],ut={key:0,class:"text-caption-lg-regular text-subtle"},gt={__name:"LongRead",setup(t){Y("longRead",!0);const o=N(()=>`scrollbar-${Math.floor(1e6*Math.random()).toString()}`,"$_NZ9_pVb6Z"),i=n(!1),d=N("longReadHasScrolled",()=>!1),v=n(null),y=n(null);const _=e(()=>v.value?.dataTargets?v.value.dataTargets.map(t=>{const e=document.getElementById(t.id);if(!e)return null;const a=Math.floor(e.getBoundingClientRect().top+window.scrollY);return{...t,top:a}}).filter(Boolean).sort((t,e)=>t.top-e.top):[]);function w(){i.value=!1,setTimeout(()=>{document.getElementById("long-read-mobile")?.focus?.()},300)}return u(()=>v.value?.dataActiveTarget,t=>{if(!t)return;const e=document.getElementById(t.tocItemId);if(!e)return;const a=e.parentNode;G(a,{block:"center",boundary:t=>"hidden"!==getComputedStyle(t).overflow&&!!t.closest("#l-content-page-layout__aside-content")})}),P("scroll",function(){const t=document.getElementById("__nuxt");if(t&&"hidden"===t.style.overflow)return;d.value=(window.scrollY||document.documentElement.scrollTop)>200,y.value=_.value.findLast(t=>t.top<window.scrollY+.33*window.innerHeight)??_.value[0]},{immediate:!0}),P("keydown",function(t){"Escape"===t.key&&i.value&&w()}),$(()=>{v.value&&v.value.slotBindings&&v.value.slotBindings.actions&&"function"==typeof v.value.slotBindings.actions.update&&(v.value.slotBindings.actions.setViewThreshold(.33,{minPx:150,maxPx:500}),v.value.slotBindings.actions.update()),f(()=>{v.value?.dataActiveTarget&&(y.value=v.value.dataActiveTarget)})}),c(()=>{i.value=!1,d.value=!1}),(t,e)=>{const n=S,c=L,u=C,f=R,y=j;return x(),g(y,{ref_key:"longRead",ref:v,class:"c-long-read"},{default:m(({data:v,actions:y})=>[A("nav",D,[A("h2",F,h(("localize"in t?t.localize:s(z))("CONTENT_NAVIGATION",{capitalize:!0})),1),r(c,null,{fallback:m(()=>[A("div",W,h(("localize"in t?t.localize:s(z))("LOADING",{capitalize:!0}))+"... ",1)]),default:m(()=>[A("div",U,[A("ul",q,[(x(!0),a(p,null,T(v.targets,t=>(x(),a("li",{id:`listTarget-${t.id}`,key:`item-${t.id}`,class:"c-long-read__aside-item relative py-4xs flex items-center text-caption-lg-regular"},[r(E,{name:"icon-fade"},{default:m(()=>[v.activeTarget?.id===t.id?(x(),g(n,{key:0,name:"chevron-right",class:"w-1.25em w-1.25em absolute left-0 translate-y-1/2 top-0 text-interactive"})):l("",!0)]),_:2},1024),A("a",{id:t.tocItemId,class:k(["pr-md",{"translate-x-sm":v.activeTarget?.id===t.id}]),href:`#${t.id}`,"aria-current":v.activeTarget?.id===t.id,onClick:I(()=>y.scrollToTarget&&y.scrollToTarget(t),["prevent"])},[A("span",{textContent:h(t?.title)},null,8,Q)],10,K)],8,J))),128))])])]),_:2},1024)]),A("div",X,[r(u,{id:"long-read-mobile",icon:"start",color:"surface","aria-controls":"c-long-read__dropdown-list","aria-expanded":String(s(i)),class:k(["c-long-read__menu-btn",["absolute justify-center px-2xs","text-body-sm-strong text-interactive hover:text-interactiveHover active:text-interactiveActive",{"min-w-full >=656:min-w-fit":!s(d),"min-w-[calc(max(1.25em,1lh)+2*var(--theme-spacing-2xs))] gap-0":s(d),"c-long-read__menu-btn--scrolled":s(d)}]]),onClick:e[0]||(e[0]=t=>i.value=!0)},{icon:m(()=>[r(n,{name:"longread",class:"w-full h-full"})]),default:m(()=>[A("div",{class:k(["c-long-read__text-wrapper",{"c-long-read__text-wrapper--is-open":!s(d)}])},[A("span",{class:k(["c-long-read__text-wrapper-inner whitespace-nowrap",{"c-long-read__text-wrapper-inner--scrolled":s(d)}])},h(("localize"in t?t.localize:s(z))("CONTENT_NAVIGATION",{capitalize:!0})),3)],2)]),_:1},8,["aria-expanded","class"])]),r(c,null,{default:m(()=>[(x(),g(b,{to:"#global-overlay"},[r(E,{key:"long-read",name:"t-long-read-fade-down"},{default:m(()=>[s(i)?(x(),a("nav",tt,[A("div",{class:"c-long-read__dropdown-blur z-1",onClick:w}),A("div",et,[A("header",at,[A("button",{class:"justify-self-end col
1-start-1 >=375:col-start-2 flex-shrink-0 h-fit w-fit p-4xs","aria-owns":"c-long-read__dropdown-list","aria-label":("localize"in t?t.localize:s(z))("CLOSE"),"aria-keyshortcuts":"Escape",onClick:w},[r(n,{name:"close",class:"w-24 h-24"})],8,lt),A("h2",ot,h(("localize"in t?t.localize:s(z))("CONTENT_NAVIGATION",{capitalize:!0})),1),A("p",st,h(("localize"in t?t.localize:s(z))("PHRASE_SELECT_A_LINK_TO_NAVIGATE_TO_CONTENT",{capitalize:!0})),1)]),e[1]||(e[1]=A("div",{class:"w-full h-1 my-xs",style:{"background-color":"rgb(\n\t\t\t\t\t\t\t\t\t\t\tvar(\n\t\t\t\t\t\t\t\t\t\t\t\t--theme-colors-border-subtle-on-X\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t)"}},null,-1)),A("div",it,[r(f,{id:`mobile-scrollbar-${s(o)}`,"aria-controls":`mobile-scrollbar-${s(o)}`,class:"h-full overflow-auto"},{default:m(()=>[A("ul",nt,[(x(!0),a(p,null,T(v.targets,(e,o)=>(x(),a("li",{id:`item-${o}`,key:`item-${o}`,class:"bg-canvas px-0 py-3xs list-none"},[A("a",{id:e.tocItemId+"--mobile",class:"flex flex-col text-body-lg-strong text-interactive hover:text-interactiveHover active:text-interactiveActive",href:`#${e.id}`,"aria-current":v.activeTarget.id===e.id,onClick:I(t=>{return a=()=>y?.scrollToTarget?.(e),i.value=!1,void setTimeout(a,300);var a},["prevent"])},[A("p",{textContent:h(e.title)},null,8,dt),r(E,{name:"t-long-read-collapse-height"},{default:m(()=>[v.activeTarget.id===e.id?(x(),a("p",ut,h(("localize"in t?t.localize:s(z))("YOU_ARE_HERE",{capitalize:!0})),1)):l("",!0)]),_:2},1024)],8,ct)],8,rt))),128))])]),_:2},1032,["id","aria-controls"])])])])):l("",!0)]),_:2},1024)]))]),_:2},1024)]),_:1},512)}}},mt=["aria-label"],ft={id:"l-content-page-layout__aside-content",class:"l-content-page-layout__aside-content w-full >=1280:h-full 1280:overflow-y-auto 1280:print:overflow-visible"},pt={id:"l-content-page-layout__aside-content",class:"w-full >=1280:h-full 1280:overflow-y-auto 1280:print:overflow-visible"},vt={__name:"ContentPageLayout",props:{headerAlignment:{type:String,default:"left",validates:t=>["center","left"].includes(t)},image:Object,video:Object,title:String,description:String,teaser:String,date:{type:String,default:void 0},author:Object,category:[String,Array],tags:Array,stickyAside:{type:[Boolean,Object],default:!0},showLongRead:Boolean,contentHeadingLevel:{type:[String,Number],default:void 0},blockList:{type:Array,default:void 0},blockContext:{type:String,default:void 0},allowStartBlocks:{type:Boolean,default:t=>!["with-aside","in-accordion","in-step-by-step"].includes(t.blockContext)},allowEndBlocks:{type:Boolean,default:!0}},setup(c){const u=c,f=B(),b=e(()=>!(!u.showLongRead&&!f.aside?.()?.length)),h=n(null),$=e(()=>!!u.stickyAside&&("boolean"==typeof u.stickyAside?u.stickyAside:!!u.stickyAside.desktop)),C=e(()=>!!u.stickyAside&&("boolean"==typeof u.stickyAside?u.stickyAside:!!u.stickyAside.mobile)),L=e(()=>o("defaultPageHeaderColorContentPage",void 0)??o("defaultPageHeaderColor",void 0)??"surface");return v("pageHasAsideContent",b.value),(e,o)=>{const n=V,u=gt,f=R,v=H,B=O,E=M,N=Z;return x(),a(p,null,[y(e.$slots,"header",w(d({color:s(L),alignment:c.headerAlignment})),()=>[r(n,{color:s(L),alignment:c.headerAlignment,image:c.image,video:c.video,title:c.title,teaser:c.teaser||c.description,date:c.date,author:c.author,category:c.category,tags:c.tags},t({_:2},[e.$slots.headerImage?{name:"image",fn:m(()=>[y(e.$slots,"headerImage")]),key:"0"}:void 0,e.$slots.headerVideo?{name:"video",fn:m(()=>[y(e.$slots,"headerVideo")]),key:"1"}:void 0,e.$slots.headerBreadcrumb?{name:"breadcrumb",fn:m(()=>[y(e.$slots,"headerBreadcrumb")]),key:"2"}:void 0,e.$slots.headerActions?{name:"actions",fn:m(()=>[y(e.$slots,"headerActions")]),key:"3"}:void 0,e.$slots.headerTags?{name:"tags",fn:m(()=>[y(e.$slots,"headerTags")]),key:"4"}:void 0,e.$slots.headerFilters?{name:"filters",fn:m(()=>[y(e.$slots,"headerFilters")]),key:"5"}:void 0]),1032,["color","alignment","image","video","title","teaser","date","author","category","tags"])]),y(e.$slots,"afterHeader"),(x(),g(B,{key:`content-${c.contentHeadingLevel}`,level:c.contentHeadingLevel},{default:m(()=>[y(e.$slots,"startContent"),e.$slots.default||s(b)||e.$slots.aside||e.$slots.blockList||c.blockList?.length||e.$slots.beforeBlockList||e.$slots.afterBlockList?(x(),a("div",{key:0,class:k(["max-w-layout-max px-layout-margin gap-x-layout-gutter grid grid-cols-1 mx-auto w-full min-h-afterBlocks relative print:block print:w-full print:px-0",{">=1280:grid-cols-12":s(b)}])},[s(b)?(x(),a("div",{key:0,class:k(["l-content-page-layout__aside row-start-1 row-span-12 >=1280:col-span-2 pt-beforeBlocks pb-afterBlocks pointer-events-none",{relative:!s(C),"l-content-page-layout__aside--sticky sticky top-dynamicSiteHeader >=1280:relative >=1280:pt-0":s(C),"l-content-page-layout__aside--block-list-has-end-block >=1280:pb-betweenBlocks":s(h)}]),"aria-label":("localize"in e?e.localize:s(z))("SUPPLEMENTARY_CONTENT",{capitalize:!0})},[s($)?(x(),g(f,{key:0,class:"l-content-page-layout__aside-scrollbar sticky pointer-events-auto","aria-controls":"l-content-page-layout__aside-content","enable-horizontal":!1},{default:m(()=>[A("div",ft,[y(e.$slots,"aside",{},()=>[r(u)])])]),_:3})):(x(),g(f,{key:1,"aria-controls":"l-content-page-layout__aside-content pointer-events-auto","enable-horizontal":!1},{default:m(()=>[A("div",pt,[y(e.$slots,"aside",{},()=>[r(u)])])]),_:3}
1))],10,mt)):l("",!0),y(e.$slots,"default"),y(e.$slots,"beforeBlockList"),y(e.$slots,"blockList",{},()=>[r(v,{"block-list":c.blockList,"block-context":c.blockContext,"allow-start-blocks":!(!c.allowStartBlocks||s(b)||!s(L)),"allow-end-blocks":c.allowEndBlocks&&!e.$slots.afterBlockList,class:k(["grid grid-cols-1",[s(b)&&">=1280:col-span-10 >=1280:col-start-3",e.$slots.beforeBlockList&&"mt-betweenBlocks",e.$slots.afterBlockList&&"mb-betweenBlocks"]]),loading:c.showLongRead?"eager":"auto"},t({endBlock:m(t=>[t?.component?y(e.$slots,"endBlock",w(d(t)),()=>[(x(),g(_(t.component),i({class:"col-span-full"},t.bindings),null,16)),A("div",{ref_key:"endBlockMarker",ref:h,class:"sr-only"},null,512)],void 0,0):l("",!0)]),_:2},[T(Object.keys(e.$slots).filter(t=>t.startsWith("block:")),t=>({name:t,fn:m(a=>[y(e.$slots,t,w(d(a)))])}))]),1032,["block-list","block-context","allow-start-blocks","allow-end-blocks","class","loading"])]),y(e.$slots,"afterBlockList")],2)):l("",!0)]),_:3},8,["level"])),r(E),r(N)],64)}}};export{vt 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.