PageSourceSearch

https://www.arvopaperi.fi/static/static/js/async/lists.1b0c557540.js

js arvopaperi.fi collected 2026-10-02 11:57:50 UTC 37,645 bytes, 36 lines download raw bytes

1"use strict";(globalThis.rspackChunktalent_news_frontend||=[]).push([["nv"],{vE(e,t,i){i.d(t,{f:()=>h});var a=i("ON"),s=i("fn"),n=i("sW"),l=i("Um"),r=i("u"),o=i("tE"),d=i("Xo"),m=i("re");let c=(o.Ay.div.withConfig({componentId:"tmcl-__sc-13uxpls-0"}))(["display:grid;grid-auto-rows:max-content;",";",";align-content:",";"," "," "," ",""],({$innerSpacing:e})=>e&&`padding: ${(0,m.b)(e)}`,({$innerSpacingBreakpoint:e})=>e?.map(e=>(0,o.AH)`
2                @media ${(0,m.J)(d.Ay,e.breakpoint)} {
3                    padding: ${(0,m.b)(e.innerSpacing)};
4                }
5            `),({$alignContent:e})=>e,({$colSpan:e})=>(0,o.AH)`
6        grid-column: auto / span ${e};
7    `,({$colSpanBreakpoint:e})=>e?.map(e=>(0,o.AH)`
8                @media ${(0,m.J)(d.Ay,e.breakpoint)} {
9                    grid-column: auto / span ${e.colSpan};
10                }
11            `),({$orderBreakpoint:e})=>e?.map(e=>(0,o.AH)`
12                @media ${(0,m.J)(d.Ay,e.breakpoint)} {
13                    order: ${e.order};
14                }
15            `),({$stackBreakpoint:e})=>e&&(0,o.AH)`
16            @media ${(0,m.J)(d.Ay,e)} {
17                grid-column: auto / span 12;
18            }
19        `),u=(0,o.Ay)(c).attrs(e=>({...e.tagAs?{as:e.tagAs}:{}})).withConfig({componentId:"tmcl-__sc-13uxpls-1"})([""]),p=r.forwardRef(({colSpan:e=12,colSpanBreakpoint:t,stackBreakpoint:i,alignContent:a="center",innerSpacing:s,innerSpacingBreakpoint:n,orderBreakpoint:o,isVisible:d=!0,children:m,...c},p)=>{let g={...c,ref:p};return d?r.createElement(u,(0,l._)({$colSpan:e,$colSpanBreakpoint:t,$stackBreakpoint:i,$alignContent:a,$innerSpacing:s,$innerSpacingBreakpoint:n,$orderBreakpoint:o},g),m):null});var g=r.memo(p);let h=a.A;h.Text=s.A,h.Section=n.A,h.SectionItem=g,h.displayName="Teaser",h.Text.displayName="Teaser.Text",h.Section.displayName="Teaser.Section",h.SectionItem.displayName="Teaser.SectionItem"},O8(e,t,i){i.r(t),i.d(t,{default:()=>eE});var a,s,n,l,r,o,d,m,c,u,p=i("X"),g=i("u"),h=i("HZ"),f=i("zi"),x=i("Pj"),v=i("k4"),y=i("VT"),I=i("WR"),A=e=>{let{name:t,offset:i=0,limit:a=10,media:s}=e,n=s?`static.${s}.${t}`:`static.${t}`;return(e,l,r)=>{var o;let d;return(o=l(),!(d=o.lists[n])||!d.lastUpdated||d.lastUpdated+6e4<Date.now()||d.data.length<i+a)?r.get(y.vZ.staticList(t,i,a,s)).then(t=>(e(I.dT.done({params:{name:n,offset:i,limit:a},result:t})),Promise.resolve(t.items))).catch(e=>Promise.reject(e)):Promise.resolve()}},j=i("DG"),b=e=>{let{name:t,vinhaIds:i,offset:a=0,limit:s=10}=e;return(e,n,l)=>((e,t,i,a)=>{if((0,j.b0)(t))return!1;let s=e.lists[t];return!s||!s.lastUpdated||s.lastUpdated+6e4<Date.now()||s.data.length<i+a})(n(),t,a,s)?l.get(y.vZ.dynamicListByVinhaId(i,a,s)).then(i=>(e(I.dT.done({params:{name:t,offset:a,limit:s},result:i})),Promise.resolve(i.items))).catch(e=>Promise.reject(e)):Promise.resolve()},w=i("KB"),k=e=>{let{media:t,newsValue:i,offset:a=0,limit:s=10}=e;return(e,n,l)=>((e,t,i)=>{if((0,j.b0)(t))return!1;let a=e.lists[t];return!a||!a.lastUpdated||a.lastUpdated+6e4<Date.now()||a.data.length<i})(n(),`newsValue.${i}`,a+s)?l.get(y.vZ.dynamicListByNewsValue(t,i,a,s)).then(t=>e(I.dT.done({params:{name:`newsValue.${i}`,offset:a,limit:s},result:t}))):Promise.resolve()},$=i("uk"),S=i("EJ"),C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"stockReleases";return(a,s,n)=>((e,t)=>{if((0,j.b0)(t))return!1;let i=e.lists.stockRelease;return!i||!i.data||!!(i.data.length<1)})(s(),i)?n.get(y.vZ.dynamicList("stock-exchange-releases","latest",e,t)).then(s=>a(I.dT.done({params:{name:i,offset:e,limit:t},result:s}))).catch(e=>Promise.reject(e)):Promise.resolve()},z=i("YE"),L=i("tE"),T=i("XE"),P=i("Xo"),U=i("im"),D=i("UqX"),N=i("WV"),O=i("OuU"),E=i("ya"),H=i("ZN"),M=i("Ex"),R=i("Xd"),X=i("xR"),q=i("Ox"),_=i("DA"),B=i("Bi"),F=i("Hu"),Z=e=>{let{period:t,loadMoreButtonCallback:i}=e,a=(0,T.d4)(e=>e.lists.latest.data),s=(0,T.d4)(e=>e.lists.latest.totalAvailable||0),{contentAdStartIndex:n}=(0,B.A)();return(0,p.jsx)(F.A,{id:"main-teasers-content",items:a,totalAvailable:s,handleLoadMore:i,showTimestamp:"ap"===h.A.siteShortSlug||"kl"===h.A.siteShortSlug||"tt"===h.A.siteShortSlug||"te"===h.A.siteShortSlug||"us"===h.A.siteShortSlug,startAdIndex:n})},V=i("is"),K=i("vE"),W=i("h8"),G=i("zQ"),J=i("pG"),Q=i("y9");let Y=(L.Ay.span.withConfig({componentId:"sc-8ee80933-0"}))(["display:inline-block;width:0.5em;"]);var ee=e=>{let t,{value:i,format:a,useDivider:s,...n}=e;return i?(0,p.jsx)("time",{dateTime:i,...n,children:(t=(0,Q.GP)(i,a),t.split(" ").reduce((e,t,i)=>i?s?e.concat((0,p.jsx)(et,{thickness:"core.size.line.thin",color:"core.color.border.2",vertical:!0,spacing:{size:"core.spacing.xx-small",sides:["left","right"]}},i),t):e.concat((0,p.jsx)(Y,{children:" "},i),t):[t],[]))}):null},et=(0,L.Ay)(G.A).withConfig({componentId:"sc-8ee80933-1"})(["display:inline;"]);let ei=(L.Ay.span.withConfig({componentId:"sc-af99921c-0"}))(["",";font-size:",";line-height:",";color:",";margin-right:0.46875rem;display:inline-block;time{white-space:nowrap;}"],e=>{let{theme:t}=e;return t.foundation.media.type.ui.normal},P.I8.font.scale["-2"],P.I8["line-height"].medium,P.I8.color.primary.foreground);var ea=e=>{let{published:t,modified:i,format:a,className:s,useDivider:n,...l}=e;return t?(0,p.jsxs)(ei,{className:s,...l,children:[(0,p.jsx)(ee,{value:t,format:a||(0,Q.lv)(t),useDivider:n}),i&&t!==i&&(0,p.jsxs)(p.Fragment,{children:[" | päivitetty ",(0,p.jsx)(ee,{value:i,format:a||(0,Q.lv)(i,!0),useDivider:n})]})]}):null},es=i("QA"),en=i("W0o"),el=i("RiB");let er=(0,L.Ay)(K.f.Text).withConfig({componentId:"sc-36203d52-0"})([""," margin:0;display:flex;font-size:",";",";"],e=>{let{$isFlash:t,theme:i}=e;return t&&`
20        ${i.foundation.media.type.ui.normal};
21        color: ${P.I8.color.primary["5"]};
22    `},e=>{let{$isFirstItem:t,$useLargerFont:i}=e;return t&&i?P.I8.font.scale["3"]:t||i?P.I8.font.scale["1"]:P.I8.font.scale["0"]},e=>{let{$isFlash:t,$isFirstItem:i}=e;return!t&&i?(0,L.AH)(["line-height:",";@media ","{font-size:",";line-height:",";}"],P.I8["line-height"].small,P.I8.mediaquery.max["x-small"],P.I8.font.scale["0"],P.I8["line-height"].medium):`line-height: ${P.I8["line-height"].medium}`}),eo=(L.Ay.ul.withConfig({componentId:"sc-36203d52-1"}))(["background-color:",";@media ","{padding-inline:",";}"],e=>{let{theme:t}=e;return(0,X.b)(`theme1.${t.foundation.theme.context}.color.base.1`)},P.I8.mediaquery.max["x-small"],P.I8.spacing.medium),ed=(L.Ay.li.withConfig({componentId:"sc-36203d52-2"}))(["display:flex;align-items:center;gap:",";padding:",";background-image:linear-gradient( to right,"," 10%,transparent 0% );background-position:bottom;background-size:7px 1px;background-repeat:repeat-x;"," @media ","{gap:",";}@media ","{flex-direction:column;padding:"," 0 "," ",";padding:",";gap:",";}@media ","{padding-left:",";padding-right:",";margin:0 calc("," * -1);}"],P.I8.spacing.medium,e=>{let{$isFirstItem:t,$useLargerPadding:i}=e;return t||i?`${P.I8.spacing.medium} 0 ${P.I8.spacing.medium} ${P.I8.spacing["x-small"]}`:`${P.I8.spacing["xx-small"]} 0 ${P.I8.spacing["xx-small"]} ${P.I8.spacing["x-small"]} `},P.I8.color.border["3"],e=>{let{$isFlash:t}=e;return t&&(0,el.I)("background-color","rgb(242, 242, 242, 0.6)","rgb(46, 52, 61, 0.6)")},P.I8.mediaquery.range.medium,P.I8.spacing.small,P.I8.mediaquery.max.small,P.I8.spacing["x-small"],P.I8.spacing.small,P.I8.spacing["x-small"],e=>{let{$useLargerPadding:t}=e;return t?`${P.I8.spacing.medium} 0 ${P.I8.spacing.large} 0`:`${P.I8.spacing["x-small"]} 0 ${P.I8.spacing.small} 0`},P.I8.spacing["xx-small"],P.I8.mediaquery.max["x-small"],P.I8.spacing.medium,P.I8.spacing.medium,P.I8.spacing.medium),em=(L.Ay.div.withConfig({componentId:"sc-36203d52-3"}))(["display:flex;align-self:start;flex-shrink:0;align-items:center;width:",";gap:",";> span{width:7.5rem;margin:0;flex-shrink:0;}@media ","{width:100%;gap:0;> span{width:auto;}}"],e=>{let{$hideMetaText:t}=e;return t?"auto":"19.5rem"},P.I8.spacing.medium,P.I8.mediaquery.max.small),ec=(L.Ay.div.withConfig({componentId:"sc-36203d52-4"}))(["align-self:start;height:",";margin-left:auto;",""],P.I8.size["x-large"],e=>{let{$hideInMobile:t}=e;return t&&(0,L.AH)(["@media ","{display:none;}"],P.I8.mediaquery.max.small)}),eu=(L.Ay.span.withConfig({componentId:"sc-36203d52-5"}))(["",";font-size:",";color:",";"," ",""],e=>{let{theme:t}=e;return t.foundation.media.type.ui.normal},P.I8.font.scale["-2"],P.I8.color.primary.foreground,e=>{let{$bulletin:t}=e;return t&&(0,L.AH)(["text-transform:uppercase;"])},e=>{let{$flash:t}=e;return t&&(0,L.AH)(["color:",";"],P.I8.color.status.alert.foreground)}),ep=()=>(0,p.jsx)(ex,{thickness:"core.size.line.thin",color:"core.color.border.2",vertical:!0,role:"separator",spacing:{size:"core.spacing.x-small",sides:["left","right"]}});var eg=e=>{let{listItems:t,timeFormat:i,metaType:c="category",hideMetaText:u,useLargerSpacing:g,useLargerFont:h,emphasizeFirstItem:f,...x}=e,{loggedIn:v}=(0,T.d4)(e=>e.user);return(0,p.jsx)(eo,{...x,children:t.map((e,t)=>{let x="flash"===e.storyType,y=v&&!x,I=f&&0===t;return(0,p.jsxs)(ed,{$isFirstItem:I,$isFlash:x,$useLargerPadding:g,id:x?e.uuid:void 0,children:[(0,p.jsxs)(em,{$hideMetaText:u,children:[(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(ea,{format:i,published:e.published,useDivider:!0}),!u&&e.storyType&&(0,p.jsxs)(p.Fragment,{children:[d||(d=(0,p.jsx)(ep,{})),((e,t)=>{if("category"===t){var i,d,m;switch(e.storyType){case"flash":return a||(a=(0,p.jsx)(eu,{$flash:!0,children:"***"}));case"stock-exchange-release":return s||(s=(0,p.jsx)(eu,{$bulletin:!0,children:"PÖRSSITIEDOTE"}));case"press-release":return n||(n=(0,p.jsx)(eu,{$bulletin:!0,children:"LEHDISTÖTIEDOTE"}));default:if(!e.primaryCategory)return null;return(0,p.jsx)(J.Ay,{href:`/aiheet/${e.primaryCategory.slug}`,customComponent:(0,p.jsx)(ef,{focusOutline:"medium",noUnderlineOnHover:!0,$_css:P.I8.font.scale["-2"],$_css2:P.I8.color.primary.foreground}),children:e.primaryCategory.name})}}return"media"===t?(null==(i=e.media)?void 0:i.includes("kl"))?l||(l=(0,p.jsx)(eu,{children:"KAUPPALEHTI"})):(null==(d=e.media)?void 0:d.includes("fa"))?r||(r=(0,p.jsx)(eu,{children:"FAKTA"})):(null==(m=e.media)?void 0:m.includes("optio"))?o||(o=(0,p.jsx)(eu,{children:"OPTIO"})):null:""})(e,c)]})]}),(0,p.jsx)(ec,{children:y&&(0,p.jsx)(eh,{articleId:e.uuid,inTeaser:!0})})]}),(0,p.jsx)(ev,{href:(0,es.Ay)(e),as:x?"div":void 0,customComponent:m||(m=(0,p.jsx)(W.Ay,{focusOutline:"medium",noUnderlineOnHover:!0})),children:(0,p.jsx)(er,{$useLargerFont:h,$isFirstItem:I,$isFlash:x,size:I?"medium-heavy":"small",sizeBreakpoint:I?void 0:[{breakpoint:"core.mediaquery.max.x-small",size:"small-alternate"}],children:(e.teaserTitle||"").replace("***","").trim()})}),(0,p.jsx)(ec,{$hideInMobile:!0,children:y&&(0,p.jsx)(en.A,{articleId:e.uuid,inTeaser:!0})})]},e.uuid)})})},eh=(0,L.Ay)(en.A).withConfig({componentId:"sc-36203d52-6"})(["@media ","{display:none;}"],P.I8.mediaquery.min.medium),ef=(0,L.Ay)(W.Ay).withConfig({componentId:"sc-36203d52-7"})(e=>({textTransform:"uppercase",fontSize:e.$_css,"&:visited":{color:e.$_css2}})),ex=(0,L.Ay)(G.A).withConfig({componentId:"sc-36203d52-8"})(["height:calc("," + ",");@media ","{display:none;}"],P.I8.size["xxxx-small"],P.I8.size.small,P.I8.mediaquery.min.medium),ev=(0,L.Ay)(J.Ay).withConfig({componentId:"sc-36203d52-9"})(["width:100%;"]),ey=i("Xi"),eI=i("La"),eA=e=>{let{data:t,totalAvailable:i,handleLoadMore:a}=e,[s,n]=(0,g.useState)(0),[l,r]=(0,g.useState)(!1);return t.length!==s&&(r(!1),n(t.length)),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(eg,{listItems:t,timeFormat:"HH:mm",useLargerSpacing:!0}
22),0!==t.length&&t.length<(i||0)&&(0,p.jsx)(ej,{asLink:!1,onClick:()=>{r(!0),a()},icon:c||(c=(0,p.jsx)(V.A,{size:"core.size.icon.medium"})),isLoading:l,buttonText:"Lataa lisää",hasMarginInlineFromXSmall:!0,iconPositionRight:!0,"data-ga-item-name":"topic-page-load-more","data-test":"loadMore"}),u||(u=(0,p.jsx)(ey.F0,{orderNumber:1,postContent:!0,skipPlaceholder:!0,noMargin:!0}))]})},ej=(0,L.Ay)(eI.A).withConfig({componentId:"sc-f4189959-0"})(["margin-block:",";"],P.I8.spacing["x-large"]),eb=i("vP"),ew=i("kKZ");let{mediaShortSlugs:ek,siteShortSlug:e$}=h.A,eS=["mostRead"];var eC=e=>{var t,i;let{title:a,loadMore:s,fakta:n,type:l,subjectcode:r,isSimpleTeaserList:o,newFeature:d,sidebar:m}=e,{menuItems:c,selectedMenuItem:u,menuItemClickHandler:h}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["1h","24h","7pv"],[i,a]=g.useState("24h"),s=g.useMemo(()=>[{label:"24h",isSelected:"24h"===i},{label:"1h",isSelected:"1h"===i},{label:"7pv",isSelected:"7pv"===i}].filter(e=>t.includes(e.label)),[i,t]),[n,l]=g.useState(!1),r=(0,T.wA)(),o=g.useMemo(()=>"latest"===e?f.A:"1h"===i?R.A:"24h"===i?x.A:M.A,[e,i]);return{menuItems:s,isLoading:n,selectedMenuItem:i,menuItemClickHandler:g.useCallback(e=>{a(e)},[]),loadMoreButtonCallback:g.useCallback(async e=>{l(!0),await Promise.all([r(o(0,e.length+10))]),l(!1)},[o,r])}}(l,"latest"===l?["24h","7pv"]:["1h","24h","7pv"]),[v,y]=g.useState(l),{data:I=[],totalAvailable:A=0}=(0,T.d4)(e=>e.lists[v]||{});i=I.length,g.useEffect(()=>{"mostRead"===l&&("1h"===u&&y("mostReadLastHour"),"24h"===u&&y("mostRead"),"7pv"===u&&y("mostReadWeek"))},[u,l,y]),"mostRead"===l&&"mostReadLastHour"===v&&"1h"===u&&0===i&&y("mostRead");let j=(0,L.DP)(),b=g.useMemo(()=>"bySubject"===v?{offset:I.length,limit:16,subject:r}:"onlySubscribers"===v?{offset:I.length,limit:16}:"latest"===v?{offset:I.length,limit:16,media:"kl",target:v}:{offset:I.length,limit:16,media:n?"fa":ek,target:v},[I.length,n,r,v]),w=g.useCallback(async()=>{await s(b)},[s,b]),k=g.useMemo(()=>({width:P.I8.size["xxx-large"],background:(0,X.b)(`theme1.${j.foundation.theme.context}.color.base.2`),"&:after":{height:P.I8.border.medium}}),[j]),$=g.useCallback(e=>({tt:"Uusimmat tekniikan ja talouden uutiset Suomesta ja maailmalta",us:"Olennaisimmat politiikan ja yhteiskunnan uutiset Suomesta ja maailmalta."})[e]??"Viimeisimmät talousuutiset Suomesta ja maailmalta.",[]),{adContextValue:S}=(e=>{let[t,i]=g.useState(!1),a=g.useMemo(()=>({reload:t}),[t]);return g.useEffect(()=>{i(!0)},[e]),{adContextValue:a}})(u),{contentAdStartIndex:C}=(0,B.A)(),z=g.useCallback(()=>"latest"===l?t||(t=(0,p.jsx)(Z,{period:u,loadMoreButtonCallback:w})):(0,p.jsx)(_.A.Provider,{value:S,children:(0,p.jsx)(F.A,{id:"main-teasers-content",items:I,totalAvailable:A,handleLoadMore:()=>w(),startAdIndex:C})}),[u,I,A,l,w]);return(0,q.A)(d),(0,p.jsx)(O.A,{children:(0,p.jsxs)(eT,{children:[(0,p.jsx)(H.A,{title:a}),(0,p.jsx)(E.en,{type:l,latestNewsListTitle:a,latestPageSummary:$(e$)}),eS.includes(l)&&(0,p.jsxs)(eL,{$_css2:P.I8.spacing["x-large"],children:[(0,p.jsx)(eP,{size:"x-small",children:"Uutiset"}),(0,p.jsx)(E.Uh,{children:c.map(e=>(0,p.jsx)(ez,{onClick:()=>h(e.label),label:e.label,isSelected:e.isSelected,"data-test":e.label,$_css:k},e.label))})]}),o?(0,p.jsx)(eA,{data:I,totalAvailable:A,handleLoadMore:w}):(0,p.jsxs)(eb.fi,{children:[z(),(0,p.jsx)(U.A,{as:"aside",marginTop:`@max.small=${P.I8.spacing["x-large"]}`,children:m||(0,p.jsx)(ew.A,{latestPage:"latest"===l})})]})]})})},ez=(0,L.Ay)(D.A).withConfig({componentId:"sc-ce8acf9e-0"})(["",""],e=>e.$_css),eL=(0,L.Ay)(E.fu).withConfig({componentId:"sc-ce8acf9e-1"})(e=>({marginBottom:e.$_css2})),eT=(0,L.Ay)(E.mO).withConfig({componentId:"sc-ce8acf9e-2"})({display:"flex",flexDirection:"column"}),eP=(0,L.Ay)(N.D.Subtitle).withConfig({componentId:"sc-ce8acf9e-3"})(["@media ","{margin-right:",";}"],P.I8.mediaquery.min.small,P.I8.spacing.large);let{apiRoot:eU,mediaShortSlugs:eD}=h.A;var eN=function(){let{offset:e=0,limit:t=10,media:i=eD,target:a="bySubject",subject:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(n,l,r)=>{let o=l();return(0,f.g)(o,a,e+t)?r.get(`${eU}news/v2/dynamic/subject/${i}/${s}/${e}/${t}`).then(i=>{n(I.dT.done({params:{name:a,offset:e,limit:t},result:i}))}).catch(e=>Promise.reject(e)):Promise.resolve()}},eO=i("KX");async function eE(e){let t,i,{path:a,store:s}=e,n=[s.dispatch((0,$.A)()).catch(S.A),s.dispatch((0,f.A)(0,5)),s.dispatch((0,eO.O)({limit:2}))],l="",r="",o=(0,z.cg)(a);switch(o){case"/analyysi":l="analyysi",t="analyysi",r="Analyysi",n.push(s.dispatch(b({vinhaIds:h.A.vinhaIds.analyysi,name:"analyysi"}))),i=e=>b({vinhaIds:h.A.vinhaIds.analyysi,name:"analyysi",offset:e.offset,limit:e.limit});break;case"/arvoasunto":l="arvoasunto",t="arvoasunto",r="Arvoasunto",n.push(s.dispatch((0,w.A)({name:"topics",slug:"asuntojen-hinnat,asuntolaina,asuntosijoittaminen,toimitilat",listName:"arvoasunto"}))),i=e=>(0,w.A)({name:"topics",slug:"asuntojen-hinnat,asuntolaina,asuntosijoittaminen,toimitilat",listName:"arvoasunto",offset:e.offset,limit:e.limit});break;case"/listautumiset":l="listautumiset",t="listautumiset",r="Listautumiset",n.push(s.dispatch((0,w.A)({name:"topics",slug:"listautumiset",listName:"listautumiset"}))),i=e=>(0,w.A)({name:"topics",slug:"listautumiset",listName:"listautumiset",offset:e.offset,limit:e.limit});break;case"/sijoitusopas":l="sijoitusopas",t="static.sijoitusopas",r="Sijoitusopas",n.push(s.dispatch(A({name:"sijoitusopas"}))),i=e=>A({name:"sijoitusopas",offset:e.offset,limit:e.limit});break;
22case"/poiminnat":l="poiminnat",t="newsValue.10",r="Poiminnat",n.push(s.dispatch(k({media:"ap",newsValue:10}))),i=e=>k({media:"ap",newsValue:10,offset:e.offset,limit:e.limit});break;case"/luetuimmat":l="mostreadnewspage",t="mostRead",r="Luetuimmat",n.push(s.dispatch((0,x.A)(0,16))),n.push(s.dispatch((0,M.A)(0,16))),n.push(s.dispatch((0,R.A)(0,16))),i=e=>"mostReadWeek"===e.target?(0,M.A)(e.offset,e.limit):"mostReadLastHour"===e.target?(0,R.A)(e.offset,e.limit):(0,x.A)(e.offset,e.limit);break;case"/porssitiedotteet":l="stockreleases",t="stockReleases",r="Pörssitiedotteet",n.push(s.dispatch(C(0,25))),i=e=>C(e.offset,e.limit);break;case"/syventavatartikkelit":l="indepth",t="bySubject",r="Syventävät artikkelit",n.push(s.dispatch(eN({limit:25,subject:"10000014"}))),i=e=>eN({offset:e.offset,limit:e.limit,subject:"10000014"});break;case"/tilaajille":l="onlySubscribers",t="onlySubscribers",r="Vain tilaajille",n.push(s.dispatch((0,w.M)({limit:16}))),i=e=>(0,w.M)({offset:e.offset,limit:e.limit});break;default:l="latestnewspage",t="latest",r="Kaikki uutiset",n.push(s.dispatch((0,f.A)(0,25))),n.push(s.dispatch((0,x.A)())),n.push(s.dispatch((0,M.A)())),i=e=>(0,f.A)(e.offset,e.limit)}return await s.dispatch((0,v.A)("uutiset",l,r,"sectionfrontpage")),await Promise.all(n),(0,p.jsx)(eC,{type:t,title:r,loadMore:e=>{s.dispatch(i({offset:e.offset,limit:e.limit,target:e.target}))},isSimpleTeaserList:"/porssitiedotteet"===o,newFeature:"/poiminnat"===o?"ap-p
22oiminnat":void 0})}},d6D(e,t,i){i.r(t),i.d(t,{default:()=>E});var a,s=i("X");i("u");var n=i("VT"),l=i("k4"),r=i("HZ"),o=i("DG"),d=i("WR");let{mediaShortSlugs:m,apiRoot:c}=r.A;var u=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:15;return(a,s,n)=>{let l=s();return((e,t,i,a)=>{if((0,o.b0)(t))return!1;let s=e.topic[t];return!s||!s.lastUpdated||s.lastUpdated+6e4<Date.now()||s.items.length<i+a})(l,e,t,i)?n.get(`${c}pages/v2/listingpage/topic/${m}/${e}/${t}/${i}`).then(i=>i.topicList.items.length||"vain-tilaajille"===e?(a((0===t?d.TJ:d.tj)((0,d.CE)({slug:e,data:i}))),Promise.resolve(i.topicList)):Promise.reject({status:404})).catch(e=>Promise.reject(e)):Promise.resolve(l.topic[e])}},p=i("EJ"),g=i("tE"),h=i("XE"),f=i("ZN"),x=i("Xo"),v=i("im"),y=i("zQ"),I=i("WV"),A=i("k8"),j=i("xR"),b=i("PG"),w=i("n0"),k=i("Ox"),$=i("ms"),S=i("Bi"),C=i("Hu"),z=i("kKZ"),L=i("vP");let T=(g.Ay.main.withConfig({componentId:"sc-7d0bd72a-0"}))(["display:flex;flex-direction:column;color:",";max-width:",";padding:0 ",";background-color:",";",";@media ","{margin:0 auto;max-width:",";}@media ","{padding-inline:0;}"],x.I8.color.primary.foreground,x.I8.size.template["page-wrapper"],x.I8.spacing.large,e=>{let{theme:t}=e;return(0,j.b)(`${t.foundation.theme.type}.${t.foundation.theme.context}.color.base.1`)},e=>{let{theme:t}=e;return t.foundation.media.type.ui.medium},x.I8.mediaquery.max.small,x.I8.size.template["page-wrapper-mobile"],x.I8.mediaquery.max["x-small"]);var P=e=>{let{slug:t,description:i,hideFollowingTopic:n,debate:l,newFeature:r,customData:o,loadMore:d,headingProps:m,startAdIndex:c,hideMobileLeaderboard:p,sidebar:g,...I}=e,A=(0,h.wA)(),j=(0,h.d4)(e=>e.ownTopics.topics),P=(0,h.d4)(e=>{var i;return l?e.lists.debate.data:null==(i=e.topic[t])?void 0:i.items})??(null==o?void 0:o.items),O=(0,h.d4)(e=>{var i;return l?e.lists.debate.totalAvailable:null==(i=e.topic[t])?void 0:i.totalAvailable})??(null==o?void 0:o.totalAvailable),E=(0,h.d4)(e=>{var i,a;return l?"Debatti":(null==(i=e.topic[t])?void 0:i.displayName)||(0,b.A)(null==(a=e.topic[t])?void 0:a.name)})||(null==o?void 0:o.name);(0,k.A)(r);let{contentAdStartIndex:H}=(0,S.A)();if(!P||!E)return null;let M=j.map(e=>e.toLowerCase()).includes(E.toLowerCase());return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.A,{title:(null==o?void 0:o.headTitle)??E,description:i}),(0,s.jsxs)(T,{...I,children:[(0,s.jsxs)(v.A,{direction:"column, @min.small=row",justifyContent:"space-between",gap:x.I8.spacing.large,alignItems:"start, @min.small=center",padding:`
23                        ${x.I8.spacing.large} ${x.I8.spacing.medium},
24                        @min.small=${x.I8.spacing.large} 0
25                    `,children:[(0,s.jsx)(N,{level:"h1",decorationType:"section-page-title",decorationShape:$.i,...m,$_css:null==m?void 0:m.css,children:E}),!n&&(M?(0,s.jsx)(U,{itemName:E,showMessage:!0}):(0,s.jsx)(D,{itemName:E,showMessage:!0}))]}),(0,s.jsx)(y.A,{thickness:"core.size.xxxxx-small",color:"core.color.border.2",spacing:{size:"core.spacing.x-large",sides:["bottom"]}}),(0,s.jsxs)(L.fi,{children:[(0,s.jsx)(C.A,{id:"main-teasers-content",items:P,totalAvailable:O,handleLoadMore:e=>{d?d(P.length,e):A(l?(0,w.A)(P.length,e):u(t,P.length,e))},startAdIndex:c??H,showTimestamp:!0,hideMobileLeaderboard:p}),(0,s.jsx)(v.A,{as:"aside",marginTop:`@max.small=${x.I8.spacing["x-large"]}`,children:g||a||(a=(0,s.jsx)(z.A,{}))})]})]})]})},U=(0,g.Ay)(A.s).withConfig({componentId:"sc-7d0bd72a-1"})(["@media ","{width:100%;}"],x.I8.mediaquery.max["x-small"]),D=(0,g.Ay)(A.X).withConfig({componentId:"sc-7d0bd72a-2"})(["@media ","{width:100%;}"],x.I8.mediaquery.max["x-small"]),N=(0,g.Ay)(I.D.Subtitle).withConfig({componentId:"sc-7d0bd72a-3"})(["",""],e=>e.$_css),O=i("KX");async function E(e){let{params:t,store:i}=e,{topic:a}=t,r=[i.dispatch(u(a,0,15)),(0,n.it)([(0,O.O)({limit:2})].map(e=>i.dispatch(e).catch(p.A)))];await Promise.all(r);let o=i.getState().topic[a].name;return await i.dispatch((0,l.A)(a,a,o,"sectionfrontpage")),(0,s.jsx)(P,{slug:a,newFeature:"rahastot"===a?"ap-rahastot":void 0})}},n0(e,t,i){var a=i("WR");let{apiRoot:s,siteShortSlug:n}=i("HZ").A;t.A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return(i,l,r)=>{let o,d;return(o=l().lists.debate,d=e+t,!o||(o.lastUpdated||0)+12e4<Date.now()||o.data.length<d)?r.get(`${s}news/v2/dynamic/subjects/${n}/10000011,10000013,10000006,02100000,10000017,10000027,10000028/${e}/${t}`).then(s=>i(a.dT.done({params:{name:"debate",offset:e,limit:t},result:s}))):Promise.resolve()}}}
25,KB(e,t,i){var a=i("VT"),s=i("DG"),n=i("HZ"),l=i("WR");let{mediaShortSlugs:r}=n.A,o=e=>{let{media:t,name:i,slug:n,listName:r="onlySubscribers",offset:o=0,limit:d=10}=e;return(e,m,c)=>((e,t,i)=>{if((0,s.b0)(t))return!1;let a=e.lists[t];return!a||!a.lastUpdated||a.lastUpdated+6e4<Date.now()||a.data.length<i})(m(),r,o+d)?c.get(a.vZ.dynamicListBySlug({media:t,name:i,slug:n,offset:o,limit:d})).then(t=>e(l.dT.done({params:{name:r,offset:o,limit:d},result:t}))):Promise.resolve()};t.A=o,i.d(t,{},{M:function(){let{offset:e=0,limit:t=5,media:i=r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o({name:"feed",slug:"locked",offset:e,limit:t,media:i})}})},KX(e,t,i){var a=i("DG"),s=i("HZ"),n=i("WR");let{apiRoot:l,siteShortSlug:r}=s.A;i.d(t,{},{O:e=>{let{slug:t=r,offset:i=0,limit:s=10}=e;return(e,r,o)=>{var d,m;let c=r();return(d={slug:t,offset:i,limit:s},!(0,a.b0)(d.slug)&&((null==(m=c.weeklyIssues.issues[d.slug])?void 0:m.lastUpdated)||0)+36e5<Date.now())?o.get(`${l}pages/v2/issuepage/${t}/${i}/${s}`).then(i=>{e((0,n.g1)({magazineSlug:t,weeklyListData:i.themeList.themeLists}))}):Promise.resolve(c.weeklyIssues)}},x:e=>{let{issue:t,slug:i=r,offset:s=0,limit:o=50,notCurrentIssue:d}=e;return(e,r,m)=>{var c,u;return(c=r(),u={issue:t,slug:i,offset:s,limit:o},(0,a.b0)(u.slug)||c.weeklyIssues.currentIssueSlug===u.issue)?Promise.resolve():m.get(`${l}pages/v2/issuepage/${i}${void 0!==t?`/${t}`:""}/${s}/${o}`).then(t=>{e((0,n.LO)({magazineSlug:i,weeklyListData:{...t.themeList,notCurrentIssue:d}}))})}}})},ZN(e,t,i){var a,s,n=i("X"),l=i("u"),r=i("XE"),o=i("uW"),d=i("Bk"),m=i("Km"),c=i("HZ"),u=i("lW"),p=i("kK");let{baseUrl:g,siteNameSlug:h,description:f}=c.A,x=l.memo(e=>{let t,{title:i,description:l=f,image:m,type:c,noindex:x,canonicalUrl:v,children:y}=e,I=(0,r.d4)(e=>e.user),{previousLocation:A}=(0,r.d4)(e=>e.history),j="/teemat/osakesaastotili-tulee"===u.A.location.pathname?"https://www.kauppalehti.fi/aiheet/osakesaastotili":v||(t=u.A.location.pathname,g+(0,d.A)(t,"/"));return(0,n.jsxs)(o.mg,{children:[i&&(0,n.jsx)("title",{children:i}),i&&(0,n.jsx)("meta",{property:"og:title",content:i}),i&&(0,n.jsx)("meta",{name:"twitter:title",content:i}),l&&(0,n.jsx)("meta",{name:"description",content:l}),l&&(0,n.jsx)("meta",{property:"og:description",content:l}),l&&(0,n.jsx)("meta",{name:"twitter:description",content:l}),m&&(0,n.jsx)("meta",{name:"twitter:image",content:m}),m&&(0,n.jsx)("meta",{name:"twitter:image",content:m}),c&&(0,n.jsx)("meta",{property:"og:type",content:c}),x?a||(a=(0,n.jsx)("meta",{name:"robots",content:"noindex"})):[(0,n.jsx)("link",{rel:"alternate",href:j,hrefLang:"fi-fi"},"a"),(0,n.jsx)("link",{rel:"canonical",href:j},"c"),(0,n.jsx)("meta",{property:"og:url",content:j},"o")],y&&y,s||(s=(0,n.jsx)("meta",{name:"robots",content:"noarchive"})),(0,n.jsx)("meta",{property:"og:image",content:m??`${g}/static/images/${h}_article_schema_fallback.png`}),(0,n.jsx)("meta",{property:"k5a:login",content:I.loggedIn?"1":"0"}),(0,n.jsx)("meta",{property:"k5a:subscriber",content:(0,p.A)(I.credentials)?"1":"0"}),(null==A?void 0:A.length)&&(0,n.jsx)("meta",{property:"k5a:referer",content:`${window.location.origin}${A[0].pathname}`})]})});t.A=(0,r.Ng)(e=>({noindex:""!==(0,m.A)(e.metadata.digitalData,"page.pageInfo.onsiteSearchTerm")}))(x)},FJ(e,t,i){var a,s=i("X"),n=i("Xo"),l=i("hK"),r=i("xR");i("u");var o=i("tE");let d=(o.Ay.div.withConfig({componentId:"sc-4133bf83-0"}))(["background:",";position:sticky;top:0;width:100%;height:100%;z-index:",";&:before{content:'';position:fixed;width:100%;height:100%;left:0;top:0;background:",";}"],e=>{let{theme:t}=e;return(0,r.b)(`theme1.${t.foundation.theme.context}.color.overlay`)},n.I8["z-index"].overlay,e=>{let{theme:t}=e;return(0,r.b)(`theme1.${t.foundation.theme.context}.color.overlay`)}),m=(0,o.Ay)(l.A).withConfig({componentId:"sc-4133bf83-1"})(["position:absolute;left:calc(50% - ("," / 2));padding-top:15%;@media ","{padding-top:50%;}"],n.I8.size.target["xx-large"],n.I8.mediaquery.max["x-small"]);t.A=e=>{let{...t}=e;return(0,s.jsx)(d,{...t,children:a||(a=(0,s.jsx)(m,{text:"",useMediaColors:!0,size:"core.size.target.xx-large"}))})}},OuU(e,t,i){var a,s=i("X");i("u");var n=i("tE"),l=i("XE"),r=i("FJ");let o=(n.Ay.div.withConfig({componentId:"sc-521174db-0"}))(["",""],e=>{let{$isLoading:t}=e;return t&&"transform: translate(0, 0);"});t.A=e=>{let{isLoading:t,children:i,...n}=e,d=(0,l.d4)(e=>e.ui.loading),m=(0,l.d4)(e=>{var t,i;return null==(i=e.history.previousLocation)||null==(t=i[0])?void 0:t.pathname}),c=(t||d)&&!(null==m?void 0:m.includes("/authcallback"));return(0,s.jsxs)(o,{$isLoading:c,...n,children:[c&&(a||(a=(0,s.jsx)(r.A,{}))),i]})}},kKZ(e,t,i){i.d(t,{A:()=>O});
25var a,s,n,l,r,o,d=i("X"),m=i("u"),c=i("XE"),u=i("tE"),p=i("Xo"),g=i("Xi"),h=i("KR"),f=i("iy"),x=i("h8"),v=i("ge"),y=i("WV"),I=i("HZ"),A=i("pG"),j=i("sSO"),b=i("KX"),w=i("y9"),k=i("Zp"),$=i("a"),S=i("rG");let C=(u.Ay.div.withConfig({componentId:"sc-50ee558f-0"}))(["@media ","{> div{margin:0 auto;}}@media ","{padding:0 ",";}"],p.I8.mediaquery.max.small,p.I8.mediaquery.max["x-small"],p.I8.spacing.medium),z=(0,u.Ay)(A.Ay).withConfig({componentId:"sc-50ee558f-1"})(["display:block;overflow:hidden;&:focus-visible{outline:"," solid ",";outline-offset:",";}"],p.I8.outline.medium,p.I8.color.primary.foreground,p.I8["outline-offset"].small),L=(u.Ay.img.withConfig({componentId:"sc-50ee558f-2"}))(["height:100%;width:auto;"]);var T=(0,c.Ng)(e=>{var t,i,a,s;return{currentIssue:Object.values((null==(i=e.weeklyIssues)||null==(t=i.issues[I.A.siteShortSlug])?void 0:t.data)||{})[0],previousIssue:Object.values((null==(s=e.weeklyIssues)||null==(a=s.issues[I.A.siteShortSlug])?void 0:a.data)||{})[1]}})(e=>{var t,i;let{currentIssue:n,previousIssue:l,lazyLoadImage:r}=e,o=(0,w.uO)(null==n?void 0:n.displayNameSlug)&&(0,w.uj)(null==n?void 0:n.displayNameSlug)?l:n,u=(0,c.wA)();(0,m.useEffect)(()=>{var e;(null==o||null==(e=o.items)?void 0:e.length)===0&&u((0,b.x)({issue:o.displayNameSlug}))},[o,u]);let{imgSrc:g,imgSourceSet:h,imgSizes:y}=(0,m.useMemo)(()=>{var e,t,i,a,s;let n=null==o||null==(e=o.listImage)?void 0:e.attributes.uuid,l=(null==n?void 0:n.length)?(0,k.p7)("286x381",n):void 0,r=(null==o||null==(t=o.paper)?void 0:t.coverImageUUID)&&(null==o||null==(i=o.paper)?void 0:i.coverImageUUID.indexOf("?mode"))<0?null==o||null==(a=o.paper)?void 0:a.coverImageUUID:null==o||null==(s=o.paper)?void 0:s.coverImageUUID.substring(0,o.paper.coverImageUUID.indexOf("?mode"));return{imgSrc:r?`${r}?mode=stretch&width=286&height=381&format=jpeg`:l,imgSourceSet:r?`
26                ${r}?mode=stretch&width=286&height=381&format=jpeg 286w,
27                ${r}?mode=stretch&width=429&height=572&format=jpeg 429w,
28                ${r}?mode=stretch&width=572&height=762&format=jpeg 572w,
29            `:n?`
30                ${(0,k.p7)("286x381",n)} 286w,
31                ${(0,k.p7)("429x572",n)} 429w,
32                ${(0,k.p7)("572x762",n)} 572w,
33            `:void 0,imgSizes:`
34                17.875rem
35            `}},[null==o?void 0:o.listImage,null==o||null==(t=o.paper)?void 0:t.coverImageUUID]);if(!o)return null;let T=(0,j.A)([o]).url,D=o.thrasher&&o.items?[...o.thrasher,...o.items.slice(0,3)]:o.items??[],N=!!(o.paper&&o.paper.annexes.length>0);return(0,d.jsx)(C,{children:(0,d.jsxs)(f.e,{children:[(0,d.jsxs)(z,{href:T,onClick:()=>(0,$.N2)("open_paper",o.name,o.issuePaper),children:[(0,d.jsxs)(P,{size:"large",$_css:p.I8.color.primary.foreground,children:["Viikko ",o.issueName]}),g&&(0,d.jsx)(f.e.IssueCover,{imgSrc:g,lazyLoad:r,imgExtraProps:{alt:`Viikko ${o.issueName}`,width:258,height:334,style:{width:"auto",height:"100%"},srcSet:h,sizes:y}})]}),N&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(U,{size:"small",children:"Mainosliitteet"}),(0,d.jsx)(f.e.MagazinesAnnexes,{children:null==(i=o.paper)?void 0:i.annexes.map(e=>{var t;return(0,d.jsx)(z,{href:`${I.A.apiRoot}news/v2/papers/signin/${I.A.siteShortSlug}/${e.id}`,external:!0,openInNewTab:!0,ariaLabel:"Lue mainosliite",onClick:()=>(0,$.N2)("open_paper",e.name,"ad_supplement"),children:(0,d.jsx)(L,{src:(null==(t=o.paper)?void 0:t.annexes[0].coverImageUUID)+"?mode=stretch&width=258&height=334&format=jpeg",alt:"Mainosliitteen kansikuva",loading:r?"lazy":"eager",width:258,height:334})},e.id)})})]}),(0,d.jsx)(f.e.UnorderedList,{"data-ga-list-name":`Viikko ${o.issueName}`,children:D.slice(0,4).map(e=>(0,d.jsx)(f.e.ListItem,{children:(0,d.jsx)(S.A,{article:e})},e.uuid))}),(0,d.jsx)(A.Ay,{href:T,customComponent:a||(a=(0,d.jsx)(x.Ay,{focusOutline:"medium",focusOutlineOffset:"medium",noUnderlineOnHover:!0})),children:(0,d.jsx)(f.e.SecondaryButton,{icon:s||(s=(0,d.jsx)(v.A,{size:"core.size.
35icon.medium"})),tabIndex:-1,children:I.A.weeklyPageName})})]})})}),P=(0,u.Ay)(y.D.Subtitle).withConfig({componentId:"sc-50ee558f-3"})(e=>({color:e.$_css})),U=(0,u.Ay)(y.D.Subtitle).withConfig({componentId:"sc-50ee558f-4"})(["margin:"," 0;"],p.I8.spacing.medium),D=i("vm");let N=(u.Ay.div.withConfig({componentId:"sc-ba6ff633-0"}))(["height:37.5rem;> div{position:sticky;top:0;}@media ","{display:none;}"],p.I8.mediaquery.max.small);var O=e=>{let{latestPage:t}=e,i=(0,c.d4)(e=>e.lists.latest.data);return(0,d.jsxs)(d.Fragment,{children:[n||(n=(0,d.jsx)(N,{children:(0,d.jsx)(g.Xr,{id:"almad-aside-right-",orderNumber:1,skipPlaceholder:!0,skipBottomMargin:!0})})),t?l||(l=(0,d.jsx)(D.A,{})):(0,d.jsx)(h.A,{title:"Uusimmat",teasers:i,href:"/uutiset",noVerticalMargin:!0}),r||(r=(0,d.jsx)(N,{children:(0,d.jsx)(g.Xr,{id:"almad-aside-right-",orderNumber:2,skipPlaceholder:!0,skipBottomMargin:!0})})),o||(o=(0,d.jsx)(T,{lazyLoadImage:!0}))]})}},vP(e,t,i){var a=i("tE"),s=i("Xo"),n=i("xR");let l=(a.Ay.main.withConfig({componentId:"sc-553742d2-0"}))(["color:",";max-width:",";background-color:",";",";"],s.I8.color.primary.foreground,s.I8.size.template["page-wrapper"],e=>{let{theme:t}=e;return(0,n.b)(`theme1.${t.foundation.theme.context}.color.base.1`)},e=>{let{theme:t}=e;return t.foundation.media.type.ui.medium}),r=(a.Ay.section.withConfig({componentId:"sc-553742d2-1"}))(["display:grid;grid-template-columns:auto ",";column-gap:",";@media ","{display:block;}"],s.I8.size.template.sidebar,s.I8.spacing["x-large"],s.I8.mediaquery.max.small);s.I8.spacing["x-large"],s.I8.spacing["x-large"],s.I8.mediaquery.min.medium,s.I8.size.template.sidebar,i.d(t,{},{fi:r,mO:l})},ya(e,t,i){var a=i("X");i("u");var s=i("HZ"),n=i("Xo"),l=i("gD"),r=i("zQ"),o=i("GO"),d=i("WV"),m=i("tE"),c=i("ms"),u=i("vP");let p=(0,m.Ay)(u.mO).withConfig({componentId:"sc-f41d3d6e-0"})(["@media ","{padding:"," "," 0;}@media ","{padding:"," 0 0;}"],n.I8.mediaquery.min.small,n.I8.spacing["x-large"],n.I8.spacing.large,n.I8.mediaquery.max["x-small"],n.I8.spacing["x-large"]);n.I8.mediaquery.max.small,n.I8.spacing["x-large"],n.I8.spacing["x-large"];let g=(m.Ay.div.withConfig({componentId:"sc-f41d3d6e-3"}))(["border-bottom:"," solid ",";display:flex;align-items:center;margin-bottom:calc("," + ",");@media ","{flex-direction:column;align-items:flex-start;gap:",";margin:0 "," calc("," + ",");}"],n.I8.size.line.thin,n.I8.color.border["2"],n.I8.spacing.medium,n.I8.spacing["xx-large"],n.I8.mediaquery.max["x-small"],n.I8.spacing.medium,n.I8.spacing.medium,n.I8.spacing.medium,n.I8.spacing["x-large"]),h=(m.Ay.div.withConfig({componentId:"sc-f41d3d6e-4"}))(["display:flex;gap:",";"],n.I8.spacing["xxx-small"]);var f=(0,m.Ay)(r.A).withConfig({componentId:"sc-f41d3d6e-5"})(["@media ","{width:auto;margin-left:",";margin-right:",";}"],n.I8.mediaquery.max["x-small"],n.I8.spacing.medium,n.I8.spacing.medium),x=(0,m.Ay)(o.A).withConfig({componentId:"sc-f41d3d6e-6"})(["max-width:60ch;@media ","{margin:0 ",";}"],n.I8.mediaquery.max["x-small"],n.I8.spacing.medium),v=(0,m.Ay)(d.D.Subtitle).withConfig({componentId:"sc-f41d3d6e-7"})(["margin-bottom:",";@media ","{margin:",";}"],e=>e.$_css,n.I8.mediaquery.max["x-small"],e=>e.$_css2);i.d(t,{},{Uh:h,en:e=>{let{type:t,latestPageSummary:i,latestNewsListTitle:r=`${s.A.siteName} Nyt`,decorationShape:o=c.i}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{decorationType:"section-page-title",size:"large",level:"h1",decorationShape:o,$_css:"latest"===t&&i?n.I8.spacing.large:0,$_css2:"latest"===t?`0 ${n.I8.spacing.medium} ${n.I8.spacing.large}`:`0 ${n.I8.spacing.medium}`,children:"mostRead"===t?"Luetuimmat":r}),"latest"===t&&(0,a.jsx)(x,{size:"medium",children:i}),(0,a.jsx)(f,{thickness:"core.size.line.thin",color:"core.color.primary.3",spacing:(0,l.A)({size:"core.size.
35icon.x-large",sides:["top","bottom"]})})]})},fu:g,mO:p})},Bi(e,t,i){var a=i("XE"),s=i("kdB");t.A=()=>{let e=(0,a.d4)(e=>{var t,i,a,s;return null==(s=e.metadata)||null==(a=s.digitalData)||null==(i=a.page)||null==(t=i.attributes)?void 0:t.width})??0,t=e<s.SO.tablet,i=(0,s.Uw)(e);return{viewportWidth:e,isMobileViewport:t,contentAdStartIndex:i}}},ms(e,t,i){let a="te"!==i("HZ").A.siteShortSlug?"circle":void 0;i.d(t,{},{i:a})},te5(e,t){t.A=function(e,t,i){var a=-1,s=e.length;t<0&&(t=-t>s?0:s+t),(i=i>s?s:i)<0&&(i+=s),s=t>i?0:i-t>>>0,t>>>=0;for(var n=Array(s);++a<s;)n[a]=e[a+t];return n}},rl(e,t,i){var a=i("te5");t.A=function(e,t,i){var s=e.length;return i=void 0===i?s:i,!t&&i>=s?e:(0,a.A)(e,t,i)}},fr(e,t,i){var a=i("Ho");t.A=function(e,t){for(var i=e.length;i--&&(0,a.A)(t,e[i],0)>-1;);return i}},jLt(e,t){var i=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.A=function(e){return i.test(e)}},Us(e,t,i){i.d(t,{A:()=>g});var a=i("jLt"),s="\\ud800-\\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",l="\\ud83c[\\udffb-\\udfff]",r="[^"+s+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",m="(?:"+n+"|"+l+")?",c="[\\ufe0e\\ufe0f]?",u="(?:\\u200d(?:"+[r,o,d].join("|")+")"+c+m+")*",p=RegExp(l+"(?="+l+")|"+("(?:"+[r+n+"?",n,o,d,"["+s+"]"].join("|"))+")"+(c+m+u),"g"),g=function(e){return(0,a.A)(e)?e.match(p)||[]:e.split("")}},PG(e,t,i){i.d(t,{A:()=>o});var a=i("n4"),s=i("rl"),n=i("jLt"),l=i("Us"),r=function(e){e=(0,a.A)(e);var t=(0,n.A)(e)?(0,l.A)(e):void 0,i=t?t[0]:e.charAt(0),r=t?(0,s.A)(t,1).join(""):e.slice(1);return i.toUpperCase()+r},o=function(e){return r((0,a.A)(e).toLowerCase())}},Bk(e,t,i){var a=i("MJ"),s=i("rl"),n=i("fr"),l=i("Us"),r=i("n4"),o=i("QP");t.A=function(e,t,i){if((e=(0,r.A)(e))&&(i||void 0===t))return e.slice(0,(0,o.A)(e)+1);if(!e||!(t=(0,a.A)(t)))return e;var d=(0,l.A)(e),m=(0,n.A)(d,(0,l.A)(t))+1;return(0,s.A)(d,0,m).join("")}}}]);
36//# sourceMappingURL=lists.1b0c557540.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.