PageSourceSearch

https://www.dahl.no/assets/1608.chunk.be8dac732fb515dcb33a.js

js dahl.no collected 2026-10-01 15:41:53 UTC 7,023 bytes, 3 lines download raw bytes

1/*! For license information please see 1608.chunk.be8dac732fb515dcb33a.js.LICENSE.txt */
2"use strict";(self.webpackChunknitro_app=self.webpackChunknitro_app||[]).push([[1608],{4443(e,t,r){r.d(t,{A:()=>g});var n=r(3696),i=r(774),l=r(3137),o=r(6179),a=r(6268),c=r(4442),s=r(4739),m=r(667),d=r(4936),u=r(1720);const g=(0,i.I4)(function(e){const{articlePost:t,showDefaultInMobile:r,perRow:i}=e,l=(0,s.tO)();return n.createElement(f,null,n.createElement(p,null,t.mainImageUrl||!l||r?n.createElement(h,{to:t.linkUrl},n.createElement(o.A,{src:t.mainImageUrl,alt:t.title,ratio:d.w.SixteenToNine,format:u.f5.JPG,objectFit:"cover",part:i})):null,n.createElement(E,null,n.createElement(v,null,n.createElement(b,null,t.publishDate&&n.createElement(w,null," ",t.publishDate),n.createElement(y,{to:t.categoryUrl},t.category)),n.createElement(x,{to:t.linkUrl}," ",t.title," "),n.createElement(I,null," ",t.preamble," ")),n.createElement(P,{to:t.linkUrl},(0,m.TlY)("/Article/ReadMore")," ",n.createElement(k,null)))))}),f=i.I4.div({display:"flex",flexDirection:"column",width:"100%",height:"100%"}),p=i.I4.div({display:"flex",flexDirection:"column",width:"100%",height:"100%",marginBottom:0,backgroundColor:c.ONy,borderTopLeftRadius:({isAlterna:e})=>e?12:0,borderBottomRightRadius:({isAlterna:e})=>e?12:0,overflow:({isAlterna:e})=>e?"hidden":"visible"}),h=(0,i.I4)(l.A,{position:"relative",width:"100%",maxWidth:"100%"}),E=i.I4.div({display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",height:"100%",minHeight:222}),v=i.I4.section({display:"flex",flexDirection:"column",padding:{xy:c.YaY}}),b=i.I4.div({display:"flex",color:c.KDD,fontWeight:"bold",fontSize:(0,c.De1)(c.NiS,c.NfE.Rem),lineHeight:1.5,flexWrap:"wrap"}),y=(0,i.I4)(l.A,{width:"fit-content",textTransform:"uppercase",fontSize:(0,c.De1)(c.NiS,c.NfE.Rem),lineHeight:1.5,marginBottom:c.v_V,textDecoration:({isAlterna:e})=>e?"underline":"none",":hover":{color:({siteTheme:e})=>(0,c.Z46)(e)}}),w=i.I4.div({marginRight:c.EXj,":hover":{color:({siteTheme:e})=>(0,c.Z46)(e)}}),x=(0,i.I4)(l.A,{color:c.KDD,width:"fit-content",margin:{y:c.EXj},fontSize:(0,c.De1)(21,c.NfE.Rem),fontWeight:700,overflow:"hidden",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",wordBreak:"break-word",":hover":{color:({siteTheme:e})=>(0,c.Z46)(e)}}),I=i.I4.div({color:c.KDD,fontSize:(0,c.De1)(17,c.NfE.Rem),overflow:"hidden",marginBottom:c.EXj,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical"}),P=(0,i.I4)(l.A,{position:"relative",display:"flex",alignItems:"center",width:"fit-content",margin:{left:c.YaY,bottom:c.YaY},textTransform:"uppercase",fontSize:(0,c.De1)(c.NiS,c.NfE.Rem),fontWeight:"bold",lineHeight:"21px",color:({siteTheme:e})=>(0,c.Z46)(e),textDecoration:({isAlterna:e})=>e?"underline":"none",":hover":{color:({siteTheme:e})=>(0,c.Z46)(e)}}),k=(0,i.I4)(a.i3,{fontSize:(0,c.De1)(21,c.NfE.Rem),marginLeft:c.EXj})},7315(e,t,r){r.d(t,{T:()=>l});var n=r(667);let i=!1;function l(e,t,r){if(r&&(i=!1),(0,n.BdH)()&&!i){const r=new IntersectionObserver(e=>{e.every(e=>!e.isIntersecting)||t()},{rootMargin:"500px"});return null==r||r.observe(e),i=!0,()=>{null==r||r.unobserve(e),i=!1}}}},9227(e,t,r){r.d(t,{default:()=>x});var n=r(6166),i=r(3696),l=r(7666),o=r(8599),a=r(774),c=r(4442),s=r(4443),m=r(4739),d=r(7315),u=r(182),g=r(9095),f=r(9566),p=r(405),h=r(4702),E=r(4188),v=r(7286),b=r(121),y=r(667),w=r(3137);function x(e){var t,r,o;const[a,p]=(0,g.j8)(),h=(0,i.useRef)(),w=(0,i.useRef)(),x=(0,m.tO)(),W=(0,b.Jn)(e.content.heading),_=(0,b.Jn)(e.content.description),G=(0,E.E)((null===(t=e.relatedCategories)||void 0===t?void 0:t.length)>0),{alterna:O}=(0,v.hs)(),z=e=>{G.current=e},U=(0,i.useRef)(e);(0,i.useEffect)(()=>{U.current=e},[e]),(0,i.useEffect)(()=>{const e=.01*window.innerHeight;return document.documentElement.style.setProperty("--actualHeight",`${e}px`),()=>{h.current&&h.current()}},[]);const H=(0,i.useCallback)((e,t=0,r)=>(0,n.__awaiter)(this,void 0,void 0,function*(){const n=(0,y.bSK)();n.searchParams.set(f.jl,String(e)),n.hiddenParams.set(f.LX,String(t));try{yield(0,y.g5r)(n,r)}catch(e){}}),[]);function X(){if(M()){const t=U.current.articlePosts.length,r=t+(0,b.Jn)(e.content.articlesPerPage);p(H(r,t,{merge:(e,t)=>
2{const r=[...e.articlePosts,...t.articlePosts];return Object.assign(Object.assign({},e),{articlePosts:r})}}))}else h.current&&h.current()}function M(){return e.totalArticlePosts>e.articlePosts.length}return i.createElement(l.A,{appearanceWidth:"normal",hasGap:!0},i.createElement("div",null,i.createElement(I,{breadcrumbs:e.breadcrumbs,small:!0}),i.createElement(P,null,W&&i.createElement(k,null," ",W),_&&i.createElement(D,null,_),(null===(r=e.relatedCategories)||void 0===r?void 0:r.length)>0&&i.createElement(T,null,e.relatedCategories.map((e,t)=>i.createElement(A,{key:t,to:e.categoryUrl,css:O&&!e.isCurrentPage&&{backgroundColor:c.QKy,border:{xy:{color:c.cGG,style:"solid",width:1}},color:c.cGG},as:O?u.Sx.Navigation:e.isCurrentPage?u.Sx.Primary:u.Sx.WhiteBordered,ref:e.isCurrentPage?z:null},e.categoryName))),(null===(o=e.articleTags)||void 0===o?void 0:o.length)>0&&i.createElement(T,{css:B},(0,y.TlY)("/Article/ArticleTagHeader"),e.articleTags.map((t,r)=>i.createElement(j,{key:r,to:`${t.linkUrl}?tag=${t.tag}`},t.tag,r<e.articleTags.length-1&&", ")))),x?i.createElement(R,null,e.articlePosts.length>0&&e.articlePosts.map((e,t)=>i.createElement(s.A,{perRow:1,key:t,articlePost:e}))):i.createElement(i.Fragment,null,i.createElement(S,null,e.articlePosts.length>0&&e.articlePosts.slice(0,2).map((e,t)=>i.createElement(s.A,{perRow:2,key:t,articlePost:e}))),i.createElement(C,null,e.articlePosts.length>0&&e.articlePosts.slice(2).map((e,t)=>i.createElement(s.A,{perRow:3,key:t,articlePost:e})))),M()&&i.createElement(N,{ref:w},i.createElement(Y,{state:a,as:g.Sx.TransparentPrimary,onClick:function(){(0,y.Tus)("Clicked show more"),X(),h.current=(0,d.T)(w.current,()=>X(),!1)}},(0,y.TlY)("/Article/ShowMoreArticles")))))}const I=(0,a.I4)(p.A,Object.assign({},(0,h.$_)(c._fM,{paddingLeft:c.v_V}))),P=a.I4.div({display:"flex",flexDirection:"column"}),k=(0,a.I4)(o.H1,Object.assign({margin:{x:0,top:c.wmU,bottom:c.EXj},fontSize:(0,c.De1)(c.uN6,c.NfE.Rem)},(0,h.$_)(c._fM,{fontSize:(0,c.De1)(c.G4v,c.NfE.Rem)}))),D=a.I4.div(Object.assign({fontSize:c.uN6,marginBottom:c.utm},(0,h.$_)(c._fM,{width:"60%"}))),T=a.I4.div({display:"flex",overflowY:"hidden",gap:6,paddingBottom:c.EXj}),A=(0,a.I4)(u.Ay,{borderRadius:c.wmU,fontSize:(0,c.De1)(17,c.NfE.Rem),fontWeight:400}),R=a.I4.section({display:"grid",gridRowGap:c.YaY,marginTop:c.asY}),S=a.I4.section({display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gridColumnGap:25,marginBottom:25,marginTop:c.asY}),C=a.I4.section({display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gridColumnGap:25,gridRowGap:25}),N=a.I4.div({display:"flex",justifyContent:"center",marginBottom:c.asY}),j=(0,a.I4)(w.A,{textDecoration:"underline"}),Y=(0,a.I4)((0,g.V4)(u._s),{}),B={marginTop:c.EXj,fontWeight:900}}}]);
3//# sourceMappingURL=1608.chunk.be8dac732fb515dcb33a.js.map

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.