1"use strict";(globalThis.rspackChunktalent_news_frontend||=[]).push([["l2"],{j5(e,l,i){var r=i("Xo"),o=i("tE"),n=i("QE"),a=i("xR"),t=i("RiB");let s=(0,o.AH)(["--three-pixels-token:calc(3 * ",");@supports (-moz-appearance:none){scrollbar-color:"," ",";scrollbar-width:thin;box-shadow:0 calc(-1 * ",") 0 0 "," inset;}&::-webkit-scrollbar{width:",";height:",";}&::-webkit-scrollbar-track{background:",";border-top:var(--three-pixels-token) solid ",";border-bottom:var(--three-pixels-token) solid ",";}&::-webkit-scrollbar-thumb{background:",";border-top:var(--three-pixels-token) solid ",";border-bottom:var(--three-pixels-token) solid ",";border-radius:",";}&::-webkit-scrollbar-thumb:hover{border-width:"," 0;}@media ","{scrollbar-width:none;&::-webkit-scrollbar{display:none;}}"],r.I8.size["xxxxx-small"],r.I8.color.primary["6"],r.I8.color.border["1"],r.I8.size["xxxx-small"],r.I8.color.border["1"],r.I8.size["xxxx-small"],r.I8.size["x-small"],r.I8.color.border["1"],r.Ng["kl"===n.A.siteShortSlug?"kl":"core"].color.base[1],r.Ng["kl"===n.A.siteShortSlug?"kl":"core"].color.base[1],r.I8.color.primary["6"],r.Ng["kl"===n.A.siteShortSlug?"kl":"core"].color.base[1],r.Ng["kl"===n.A.siteShortSlug?"kl":"core"].color.base[1],r.I8.size["xxxx-small"],r.I8.size["xxxxx-small"],r.I8.mediaquery.max.small),u=(0,o.AH)(["&::-webkit-scrollbar{width:"," !important;height:"," !important;}&::-webkit-scrollbar-track{background:rgba(255,255,255,0.15) !important;border:none !important;}&::-webkit-scrollbar-thumb{background:"," !important;border:none !important;}@supports (-moz-appearance:none){scrollbar-color:"," rgba(255,255,255,0.15) !important;}",""],r.I8.size["xxxx-small"],r.I8.size["xxxx-small"],r.I8.color.primary.static["foreground-inverse"],r.I8.color.primary.static["foreground-inverse"],s),d=(0,o.AH)(["&:after{content:'';position:fixed;right:0;bottom:0;top:0;width:2.25rem;pointer-events:none;","}}"],e=>{let{theme:l}=e;return` 2 background: linear-gradient(90deg, transparent 0%, ${(0,a.b)(`theme1.${l.foundation.theme.context}.color.base.1`)} 100%); 3 ${(0,t.I)("background","linear-gradient(270deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)","linear-gradient(270deg, #1C222B 0%, rgba(28, 34, 43, 0.00) 100%)")}; 4 `}),c=(0,o.AH)(["&::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;"]);i.d(l,{},{E5:u,EX:d,J1:s,TH:c})},VY(e,l,i){i.d(l,{h:()=>C,A:()=>N});var r,o,n=i("X"),a=i("u"),t=i("tE"),s=i("Xo"),u=i("jk"),d=i("ex"),c=i("nC"),m=i("A4"),g=i("XE"),p=i("QE"),f=i("AO"),v=i("D2"),x=i("WR"),h=i("sS"),b=i("Jw");let y=(0,t.Ay)(b.X).withConfig({componentId:"sc-ac43217b-0"})(["h3{",";margin:0 0 "," 0;text-align:left;}p{",";margin:0;text-align:left;padding-bottom:",";}"],e=>{let{theme:l}=e;return l.foundation.media.type.ui.semi},s.I8.spacing.small,e=>{let{theme:l}=e;return l.foundation.media.type.ui.normal},s.I8.spacing["xx-large"]),I=(t.Ay.div.withConfig({componentId:"sc-ac43217b-1"}))([""]);var w=e=>{let{isOpen:l,onClose:i,title:r,text:o}=e;return(0,n.jsx)(y,{open:l,onClose:i,hideCloseButton:!1,type:"dialogue",overlay:!0,dismissOnClickOutside:!1,dismissOnScrollOutside:!1,dismissOnResize:!1,hideLogo:!0,children:(0,n.jsxs)(I,{children:[(0,n.jsx)(b.X.Content,{level:"heading",as:"h3",children:r}),(0,n.jsx)(b.X.Content,{level:"description",as:"p",children:o})]})})};let k=(t.Ay.div.withConfig({componentId:"sc-429f5951-0"}))(["@media ","{padding-top:",";}"],s.I8.mediaquery.max.small,s.I8.spacing["xx-small"]),A=(t.Ay.div.withConfig({componentId:"sc-429f5951-1"}))(["display:flex;justify-content:space-between;align-items:center;margin-bottom:0;@media ","{flex-direction:column;align-items:flex-start;gap:",";}"],s.I8.mediaquery.max["x-small"],s.I8.spacing.medium),C=(t.Ay.h1.withConfig({componentId:"sc-429f5951-2"}))(["",";font-size:",";color:",";margin:0;flex:1;line-height:",";@media ","{font-size:",";}"],e=>{let{theme:l}=e;return l.foundation.media.type.ui.semi},s.I8.font.scale["4"],s.I8.color.primary.foreground,s.I8["line-height"]["x-small"],s.I8.mediaquery.max["x-small"],s.I8.font.scale["3"]),j=(t.Ay.div.withConfig({componentId:"sc-429f5951-3"}))(["font-size:",";line-height:",";& > p{margin:0;}@media ","{padding-top:",";}@media ","{& > p{display:inline;}}"],s.I8.font.scale[-2],s.I8["line-height"].medium,s.I8.mediaquery.max.small,s.I8.spacing.medium,s.I8.mediaquery.max["x-small"]),z=(t.Ay.div.withConfig({componentId:"sc-429f5951-4"}))(["display:flex;gap:",";@media ","{margin-left:0;align-self:stretch;flex-wrap:wrap;gap:",";}"],s.I8.spacing["x-small"],s.I8.mediaquery.max.small,s.I8.spacing.small),O=(t.Ay.div.withConfig({componentId:"sc-429f5951-5"}))(["display:flex;gap:",";order:1;@media ","{order:1;display:flex;gap:",";flex-wrap:wrap;> button,> a{flex-grow:1;}}@media ","{width:100%;}"],s.I8.spacing["x-small"],s.I8.mediaquery.max.small,s.I8.spacing["x-small"],s.I8.mediaquery.max["x-small"]),S=(t.Ay.div.withConfig({componentId:"sc-429f5951-6"}))(["display:flex;align-items:center;order:0;@media ","{order:2;width:100%;}"],s.I8.mediaquery.max.small),_=(0,t.Ay)(u.A).withConfig({componentId:"sc-429f5951-7"})(["@media ","{align-self:flex-start;padding-inline:0;}"],s.I8.mediaquery.max.small);var N=e=>{let{title:l,description:i,href:t,csv:s,legalDisclaimer:u,customButtons:b,...y}=e,[I,N]=(0,a.useState)(!1),F=(0,g.wA)();return(0,n.jsxs)(k,{...y,children:[(0,n.jsxs)(A,{children:[(0,n.jsx)(C,{children:l}),(0,n.jsxs)(z,{children:[(0,n.jsxs)(O,{children:[s&&!(0,h.KR)()&&(0,n.jsx)(d.A,{icon:r||(r=(0,n.jsx)(c.A,{size:"core.size.
4icon.medium"})),onClick:()=>(0,f.b)(s.data,s.columns,s.filename,s.types),children:"Lataa tiedostot"}),b,"kl"===p.A.siteShortSlug&&(0,n.jsx)(d.A,{href:t,icon:o||(o=(0,n.jsx)(m.A,{size:"core.size.icon.medium"})),"aria-haspopup":"dialog",onClick:()=>{(0,v.B)()||(F((0,x.lm)({key:"DrawerReturnFocusId",value:"ask-kl-open-button-stock-page"})),F((0,x.lm)({key:"askDrawerOpen",value:!0})))},"data-ga-item-name":"stock-page-ask-kl-open",id:"ask-kl-open-button-stock-page",children:"Kysy Kauppalehdeltä"})]}),u&&(0,n.jsx)(S,{children:(0,n.jsx)(_,{onClick:()=>N(!0),tagAs:"button",children:"Oikeudellinen ilmoitus"})})]})]}),i&&(0,n.jsx)(j,{children:i}),u&&(0,n.jsx)(w,{isOpen:I,onClose:()=>N(!1),title:u.title,text:u.text},I?"legal-disclaimer-open":"legal-disclaimer-closed")]})}},sm(e,l,i){var r,o=i("X");i("u");var n=i("ff"),a=i("Xo"),t=i("JR"),s=i("s1"),u=i("Mo"),d=i("aV"),c=i("Ht"),m=i("a8"),g=i("tE"),p=i("fR"),f=i("pG"),v=i("dhD");let x=(e,l)=>({minimumFractionDigits:e,maximumFractionDigits:e,...l}),h=(0,g.Ay)(n.b.Cell).withConfig({componentId:"sc-7304a661-0"})(["padding-inline:",";"],a.I8.spacing["x-small"]);var b=(0,g.Ay)(h).withConfig({componentId:"sc-7304a661-1"})(["",""],e=>e.$_css);let y=(g.Ay.div.withConfig({componentId:"sc-7304a661-2"}))(["display:flex;flex-direction:row;gap:",";"],a.I8.spacing["xxxx-small"]);var I=(0,g.Ay)(y).withConfig({componentId:"sc-7304a661-3"})(["gap:",";"],a.I8.spacing["xxxxx-small"]);let w=(g.Ay.div.withConfig({componentId:"sc-7304a661-4"}))(["display:inline-block;width:",";height:",";background:",";"],a.I8.size.small,a.I8.size.small,e=>{let{gradientChange:l}=e;return`linear-gradient(to right, ${a.I8.color.primary.foreground} ${l}, ${a.I8.color.border["2"]} ${l})`}),k=(g.Ay.div.withConfig({componentId:"sc-7304a661-5"}))(["position:relative;width:",";height:",";"],a.I8.size.icon.medium,a.I8.size.icon.medium),A=e=>e.includes("milj")?(1e6*parseFloat(e.replace(/\s*milj.*$/,"").replace(",","."))).toString():e.replace("â","-").replace(/\s/g,"").replace(",","."),C=(e,l,i,n)=>{let a={value:e&&e.length>0?e:"-",regular:(null==i?void 0:i.regular)??!0};if(null==e)return a;
4if(null==l?void 0:l.includes("percentage_value")){let l=parseFloat(A(e));if(isNaN(l)||0===l)return{value:"-",regular:(null==i?void 0:i.regular)??!0};a={value:Intl.NumberFormat("fi-FI",x(null==n?void 0:n.tickSize,null==i?void 0:i.numberFormattingOptions)).format(l),suffix:" %",regular:(null==i?void 0:i.regular)??!0}}if(null==l?void 0:l.includes("number_value")){let r=Number(e);if(!e||isNaN(r))return{value:"-",regular:(null==i?void 0:i.regular)??!0};a=l.includes("integer_number_value")?{value:Intl.NumberFormat("fi-FI").format(r),regular:(null==i?void 0:i.regular)??!0}:{value:Intl.NumberFormat("fi-FI",x(null==n?void 0:n.tickSize,null==i?void 0:i.numberFormattingOptions)).format(r),regular:(null==i?void 0:i.regular)??!0}}if(null==l?void 0:l.includes("currency_value")){let l=Number(e);if(!e||isNaN(l))return{value:"-",regular:(null==i?void 0:i.regular)??!0};let r=Intl.NumberFormat("fi-FI",x(null==n?void 0:n.tickSize,null==i?void 0:i.numberFormattingOptions)).format(l);if(null==n?void 0:n.quoteCurrency){let{quoteCurrency:e}=n;switch(e){case"EUR":a={value:r,suffix:" â¬",regular:(null==i?void 0:i.regular)??!0};break;case"CNY":case"JPY":a={value:r,suffix:" Â¥",regular:(null==i?void 0:i.regular)??!0};break;case"USD":a={value:r,prefix:"$ ",regular:(null==i?void 0:i.regular)??!0};break;case"GBP":a={value:r,prefix:"£ ",regular:(null==i?void 0:i.regular)??!0};break;case"INR":a={value:r,prefix:"â¹ ",regular:(null==i?void 0:i.regular)??!0};break;default:a={value:r,regular:(null==i?void 0:i.regular)??!0}}}else a={value:r,regular:(null==i?void 0:i.regular)??!0}}if(null==l?void 0:l.includes("date_value")){let l=new Date(e);if(isNaN(l.getTime()))return{value:"-",regular:(null==i?void 0:i.regular)??!0};a={value:(0,p.format)(l,(null==i?void 0:i.dateOutputFormat)??"d.M.yyyy"),regular:(null==i?void 0:i.regular)??!0}}if((null==l?void 0:l.includes("placement_value"))&&(a={value:e,suffix:".",regular:(null==i?void 0:i.regular)??!1}),null==l?void 0:l.includes("placement_change")){let l=parseInt(e);if(isNaN(l)||0===l)return a;a={value:Math.abs(l).toString(),regular:(null==i?void 0:i.regular)??!0,prefix:l<0?(0,o.jsx)(z,{size:"core.size.
4icon.small",color:"core.color.status.alert.foreground"}):(0,o.jsx)(O,{size:"core.size.icon.small",color:"core.color.status.success.foreground"})}}if(null==l?void 0:l.includes("risk_value")){let l=parseFloat(A(e));if(isNaN(l))return{value:"-",regular:(null==i?void 0:i.regular)??!0};let r=Math.trunc(l),n=l-r;return{value:(0,o.jsxs)(y,{children:[Array.from({length:r},(e,l)=>(0,o.jsx)(w,{gradientChange:"100%"},`risk-full-${l}`)),Array.from({length:5-r},(e,l)=>(0,o.jsx)(w,{gradientChange:0===l?`${100*n}%`:"0%"},`risk-empty-${l}`))]})}}if(null==l?void 0:l.includes("star_value")){let l=parseFloat(A(e));if(isNaN(l))return{value:"-",regular:(null==i?void 0:i.regular)??!0};let n=Math.trunc(l),a=l-n,u=Math.min(5-l);return{value:(0,o.jsxs)(I,{children:[Array.from({length:n},(e,l)=>(0,o.jsx)(t.A,{size:"core.size.icon.medium",color:"core.color.primary.foreground"},`star-full-${l}`)),a>0&&(0,o.jsxs)(k,{children:[(0,o.jsx)(S,{size:"core.size.icon.medium",color:"core.color.primary.foreground"}),r||(r=(0,o.jsx)(_,{size:"core.size.icon.medium",color:"core.color.border.3"}))]}),Array.from({length:u},(e,l)=>
4(0,o.jsx)(s.A,{size:"core.size.icon.medium",color:"core.color.border.3"},`star-empty-${l}`))]})}}if((null==l?void 0:l.includes("stock_link"))&&(null==n?void 0:n.symbol)&&((null==n?void 0:n.market)||(null==n?void 0:n.instrumentType))){let l=(0,v.re)(n.instrumentType,n.symbol,n.market,n.insRef),r=(null==i?void 0:i.linkSuffix)?`${l}${i.linkSuffix}`:l;a={value:(0,o.jsx)(f.Ay,{href:r,customComponent:(0,o.jsx)(u.Ay,{focusOutline:"small",focusOutlineOffset:"small",noUnderlineOnHover:!0,fontSize:"core.font.scale.-2",children:e})}),cellCss:` 5 &:not(:focus-within) { 6 div > span { 7 overflow: hidden; 8 } 9 } 10 11 div { 12 background: inherit; 13 14 > span { 15 background: inherit; 16 17 > a { 18 overflow: hidden; 19 text-overflow: ellipsis; 20 white-space: nowrap; 21 } 22 } 23 } 24 `}}if((null==l?void 0:l.includes("currency_link"))&&(null==n?void 0:n.symbol)&&(a={value:(0,o.jsx)(f.Ay,{href:`/porssi/valuutat/${n.symbol}`,customComponent:(0,o.jsx)(u.Ay,{focusOutline:"small",focusOutlineOffset:"small",noUnderlineOnHover:!0,fontSize:"core.font.scale.-2",children:e})}),prefix:(null==n?void 0:n.quoteCurrency)?(0,o.jsx)(j,{countryCode:n.quoteCurrency.slice(0,2).toLowerCase(),height:"14",width:"14"}):void 0}),(null==l?void 0:l.includes("hard_link"))&&(null==i?void 0:i.linkHref)&&(null==i?void 0:i.linkText)){let{linkHref:e,linkParameters:l,linkText:r,linkExternal:t}=i,s=l?l.reduce((e,l)=>e.replace(`:${l}`,String((null==n?void 0:n[l])??"")),e):e;a={value:(0,o.jsx)(u.Ay,{focusOutline:"small",focusOutlineOffset:"small",noUnderlineOnHover:!0,fontSize:"core.font.scale.-2",href:s,externalLink:t,children:r})}}return((null==l?void 0:l.includes("text_value"))&&(a={value:e,regular:(null==i?void 0:i.regular)??!0}),(null==l?void 0:l.includes("with_overflow_hidden"))&&(a={...a,cellCss:(0,g.AH)(["",";span{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}"],a.cellCss)}),null==l?void 0:l.includes("with_prefix"))?{...a,prefix:null==n?void 0:n.prefix}:(null==l?void 0:l.includes("with_suffix"))?{...a,suffix:null==n?void 0:n.suffix}:(null==l?void 0:l.includes("with_color"))?{...a,color:(e=>{let l=parseFloat(A(e));if(!isNaN(l)){if(l>0)return"core.color.status.success.foreground";if(l<0)return"core.color.status.alert.foreground"}})(e)}:a};l.Ay=e=>{let{type:l,value:i,extraProperties:r,...n}=e,a=C(i,null==l?void 0:l.type,null==l?void 0:l.modifiers,r);return(0,o.jsxs)(b,{regular:null==a?void 0:a.regular,color:null==a?void 0:a.color,...n,$_css:null==a?void 0:a.cellCss,children:[null==a?void 0:a.prefix,null==a?void 0:a.value,null==a?void 0:a.suffix]})};var j=(0,g.Ay)(m.xJ).withConfig({componentId:"sc-7304a661-6"})(["margin-right:",";border-radius:",";border:"," solid ",";"],a.I8.spacing["xx-small"],a.I8.shape.circle,a.I8.border["x-small"],a.I8.color.border["2"]),z=(0,g.Ay)(d.A).withConfig({componentId:"sc-7304a661-
247"})(["margin-inline:",";"],a.I8.spacing["xx-small"]),O=(0,g.Ay)(c.A).withConfig({componentId:"sc-7304a661-8"})(["margin-inline:",";"],a.I8.spacing["xx-small"]),S=(0,g.Ay)(t.A).withConfig({componentId:"sc-7304a661-9"})(["position:absolute;top:0;left:0;-webkit-mask:linear-gradient( to right,"," 50%,transparent 50% );"],a.I8.color.primary.foreground),_=(0,g.Ay)(s.A).withConfig({componentId:"sc-7304a661-10"})(["position:absolute;top:0;right:0;"]);i.d(l,{},{Lg:C,cR:e=>null==e?"":String(e)})},AO(e,l,i){var r=i("Rv"),o=i("c4"),n=i("J9"),a=i("fR"),t=i("H3");let s=(e,l)=>{let i=document.createElement("a");i.style.display="none",document.body.appendChild(i);let r=new Blob(["\uFEFF"+e],{type:"text/csv"});window.navigator&&window.navigator.msSaveOrOpenBlob?window.navigator.msSaveOrOpenBlob(r,`${l}.csv`):(i.setAttribute("href",URL.createObjectURL(r)),i.setAttribute("download",`${l}.csv`),i.click())},u=["percentage_value","currency_value","number_value","risk_value","star_value"],d=["date_value"],c=(e,l)=>e.map(e=>e.map((e,i)=>{var t,s,c,m;if(e&&u.some(e=>{var r;return null==(r=l[i])?void 0:r.type.startsWith(e)}))return e.replace(".",",");if(e&&d.includes(null==(t=l[i])?void 0:t.type)){let t=(0,r.parseISO)(e);if((0,o.isDate)(t)&&(0,n.isValid)(t)){let e=(null==(m=l[i])||null==(c=m.modifiers)||null==(s=c.csv)?void 0:s.noTime)?"dd.MM.yyyy":"dd.MM.yyyy HH:mm:ss";return(0,a.format)(t,e)}}return e}));i.d(l,{},{Y:(e,l,i)=>s(e.map(e=>{let l=(0,t.unparse)({data:c(e.data,i),fields:e.columns},{delimiter:";"});return e.title?`${e.title} 25${l}`:l}).join("\n\n"),l),b:(e,l,i,r)=>s((0,t.unparse)({data:c(e,r),fields:l},{delimiter:";"}),i)})}}]); 26//# sourceMappingURL=l2.c68a4464e9.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.