PageSourceSearch

https://www.kauppalehti.fi/static/static/js/async/companies.212af6d98d.js

js kauppalehti.fi collected 2026-10-02 02:25:36 UTC 214,924 bytes, 117 lines download raw bytes

1"use strict";(globalThis.rspackChunktalent_news_frontend||=[]).push([["t0"],{k6(e,i,t){var a=t("AK"),n=t("QE"),s=t("DG"),o=t("WR");let{apiRoot:l,mediaShortSlugs:r}=n.A;i.A=function(e,i,t){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return(r,d,c)=>{var m;let u,p=Array.isArray(e)?e:[e];return(m=d(),u=[],p.forEach(e=>{(0,s.b0)(e)||u.push(e)}),(0,a.A)(u,e=>!m.companyNews[e]))?c.get(`${l}news/v2/company/businessid/${n}/${p.join(",")}/${i}/${t}`).then(e=>{let i;return r((0,o.py)((i={},Object.entries(e).forEach(e=>{let[t,a]=e;a.items&&(i[t]=a)}),i)))}).catch(()=>{}):Promise.resolve()}}},Vz(e,i,t){var a=t("QE"),n=t("Wf"),s=t("WR"),o=t("qD"),l=t("vZ");let{apiRoot:r,siteShortSlug:d}=a.A;i.A=(e,i,t,a)=>(c,m,u)=>{switch(c((0,s.Up)()),i.toLowerCase()){case"uutiset":return u.get(`${r}search/v2/articles/${d}/${encodeURIComponent(e)}/${t}/${a}`).then(e=>{c((0,s.g_)(e,t>0))});case"tiedotteet":return u.get(`${r}search/v2/articles/stock-exchange-releases,press-releases/${encodeURIComponent(e)}/${t}/${a}`).then(e=>{c((0,s.g_)(e,t>0,"releases"))});case"arvopaperit":return u.get(`${r}search/v2/instruments/${encodeURIComponent(e)}/${t}/${a}`).then(e=>{var i;c((0,s.g_)(e,t>0,"instruments"));let a=null==e||null==(i=e.instruments)?void 0:i.filter(e=>e.symbol).map(e=>({...e,mainShareSymbol:e.symbol,marketPlace:e.marketplaceSymbol,businessId:""}));a.length&&c((0,n.Wc)(a))});case"yritykset":return u.get(`${r}search/v2/companies/${encodeURIComponent(e)}/${t}/${a}`).then(e=>{let i=e.companies.filter(e=>!(0,o.F)((0,l.Su)(e.businessId)))??[];c((0,s.g_)({...e,companies:i},t>0,"companies"))});default:throw Error("invalid type")}}},XX(e,i,t){var a=t("QE"),n=t("DG"),s=t("WR");let{mediaShortSlugs:o,apiRoot:l}=a.A;i.A=function(e,i){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:15;return(a,r,d)=>{let c=r();return((e,i,t,a)=>{if((0,n.b0)(i))return!1;let s=e.topic[i];return!s||!s.lastUpdated||s.lastUpdated+6e4<Date.now()||s.items.length<t+a})(c,e,i,t)?d.get(`${l}pages/v2/listingpage/topic/${o}/${e}/${i}/${t}`).then(t=>t.topicList.items.length||"vain-tilaajille"===e?(a((0===i?s.TJ:s.tj)((0,s.CE)({slug:e,data:t}))),Promise.resolve(t.topicList)):Promise.reject({status:404})).catch(e=>Promise.reject(e)):Promise.resolve(c.topic[e])}}},LW(e,i,t){var a=t("QE"),n=t("zz"),s=t("Wnl");let o=e=>!!e&&!!e.lastUpdated&&e.lastUpdated+6e4<Date.now(),{mediaShortSlugs:l}=a.A,r=n.F.injectEndpoints({endpoints:e=>({getTopic:e.query({query:e=>{let{topic:i,offset:t=0,limit:a=15,multipleTopics:n}=e;return{url:`pages/v2/listingpage/${!n?"topic":"topics"}/${l}/${encodeURIComponent(i)}/${t}/${a}`}},transformErrorResponse:n.k,transformResponse:e=>({...e,lastUpdated:Date.now()}),serializeQueryArgs:e=>{let{queryArgs:i}=e;return{topic:i.topic}},merge:(e,i,t)=>{let{arg:a}=t;return a&&(null==a?void 0:a.offset)!==0?{...e,...i?{topicList:{...i.topicList,items:[...e.topicList.items,...i.topicList.items]},longformTopicList:{...i.longformTopicList,items:[...e.longformTopicList.items,...i.longformTopicList.items]}}:{}}:o(e)?i:e||i},forceRefetch:e=>{let{currentArg:i,previousArg:t,endpointState:a}=e;return i&&(null==i?void 0:i.offset)!==0?(null==i?void 0:i.offset)!==(null==t?void 0:t.offset):null==a||!a.data||o(a.data)}})})}),{useGetTopicQuery:d}=r;t.d(i,{},{Z6:d,lR:function(e,i){let t=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return(0,s.Pi)(r.endpoints.getTopic.initiate,e,i,t)}})},ZN(e,i,t){var a,n,s=t("X"),o=t("u"),l=t("XE"),r=t("uW"),d=t("exx"),c=t("Km"),m=t("QE"),u=t("lW"),p=t("kK");let{baseUrl:h,siteNameSlug:g,description:y}=m.A,f=o.memo(e=>{let i,{title:t,description:o=y,image:c,type:m,noindex:f,canonicalUrl:x,children:k}=e,I=(0,l.d4)(e=>e.user),{previousLocation:j}=(0,l.d4)(e=>e.history),v="/teemat/osakesaastotili-tulee"===u.A.location.pathname?"https://www.kauppalehti.fi/aiheet/osakesaastotili":x||(i=u.A.location.pathname,h+(0,d.A)(i,"/"));return(0,s.jsxs)(r.mg,{children:[t&&(0,s.jsx)("title",{children:t}),t&&(0,s.jsx)("meta",{property:"og:title",content:t}),t&&(0,s.jsx)("meta",{name:"twitter:title",content:t}),o&&(0,s.jsx)("meta",{name:"description",content:o}),o&&(0,s.jsx)("meta",{property:"og:description",content:o}),o&&(0,s.jsx)("meta",{name:"twitter:description",content:o}),c&&(0,s.jsx)("meta",{name:"twitter:image",content:c}),c&&(0,s.jsx)("meta",{name:"twitter:image",content:c}),m&&(0,s.jsx)("meta",{property:"og:type",content:m}),f?a||(a=(0,s.jsx)("meta",{name:"robots",content:"noindex"})):[(0,s.jsx)("link",{rel:"alternate",href:v,hrefLang:"fi-fi"},"a"),(0,s.jsx)("link",{rel:"canonical",href:v},"c"),(0,s.jsx)("meta",{property:"og:url",content:v},"o")],k&&k,n||(n=(0,s.jsx)("meta",{name:"robots",content:"noarchive"})),(0,s.jsx)("meta",{property:"og:image",content:c??`${h}/static/images/${g}_article_schema_fallback.png`}),(0,s.jsx)("meta",{property:"k5a:login",content:I.loggedIn?"1":"0"}),(0,s.jsx)("meta",{property:"k5a:subscriber",content:(0,p.A)(I.credentials)?"1":"0"}),(null==j?void 0:j.length)&&(0,s.jsx)("meta",{property:"k5a:referer",content:`${window.location.origin}${j[0].pathname}`})]})});i.A=(0,l.Ng)(e=>({noindex:""!==(0,c.A)(e.metadata.digitalData,"page.pageInfo.onsiteSearchTerm")}))(f)},Da(e,i,t){var a=t("X");t("u");var n=t("uW"),s=t("QE"),o=t("Ej"),l=t("lW"),r=t("XV");s.A.baseUrl,s.A.siteName,s.A.baseUrl,s.A.fbPage,s.A.twitterHandle.slice(1);let d={"@context":"https://schema.org","@type":"WebSite",url:`${s.A.baseUrl}/yritykset`,potentialAction:{"@type":"SearchAction",target:`${s.A.baseUrl}/yritykset/yrityshaku/hakutulos/{search_term_string}#srp-c`,"query-input":"required name=search_term_string"}};t.d(i,{},{QE:e=>{var i,t,d;let c=(()=>{let{lockedArticle:i,archivedArticle:t,regwallArticleHidden:a,loginRequiredArticleHidden:n}=e;return!i&&!t&&!a&&!n})();return(0,a.jsxs)(n.mg,{children:[(0,a.jsx)("script",{type:"application/ld+json",children:JSON.stringify((0,o.A)({"@context":"https://schema.org","@type":"NewsArticle",mainEntityOfPage:{"@type":"WebPage","@id":`${s.A.baseUrl}${l.A.location.pathname}`},headline:null==e||null==(i=e.title)?void 0:i.substring(0,140),image:(0,r.I)(e)?[(0,r.q)("696x",e),(0,r.q)("696x",e,"16:9"),(0,r.q)("696x",e,"1:1")]:{"@type":"ImageObject",url:`${s.A.baseUrl}/static/images/${s.A.siteNameSlug}_article_schema_fallback.png`},datePublished:e.published,dateModified:e.modified,author:(null==(t=e.authors)?void 0:t.length)?{"@type":"Person",name:e.authors[0]}:null,publisher:{name:s.A.siteName,"@type":"Organization",logo:{"@type":"ImageObject",height:60,width:600,url:`${s.A.baseUrl}/static/images/${s.A.siteNameSlug}_AMP_publisher_logo.png`}},description:e.preamble,isAccessibleForFree:c,hasPart:{"@type":"WebPageElement",isAccessibleForFree:c,cssSelector:".article-body"},isPartOf:(null==(d=s.A.gea)?void 0:d.productId)?{"@type":"CreativeWork",productID:s.A.gea.productId}:void 0},e=>null!=e))}),e.primaryCategory&&(0,a.jsx)("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Uutiset",item:`${s.A.baseUrl}/uutiset`},{"@type":"ListItem",position:2,name:e.primaryCategory.name,item:`${s.A.baseUrl}/aiheet/${e.primaryCategory.slug}`}]})})]})},V1:e=>{let{companies:i,locationName:t,industryName:o}=e;if(!i||0===i.length)return null;let l={"@context":"https://schema.org","@type":"CollectionPage",name:o&&t?`${o} ${t}`:o?`Yritykset toimialalla ${o}`:t?`Yritykset ${t}`:"Yritykset",mainEntity:{"@type":"ItemList",itemListElement:i.map((e,i)=>({"@type":"ListItem",position:i+1,item:{"@type":"Organization",name:e.name??"",url:`${s.A.baseUrl}/yritykset/yritys/${e.localId}`,address:e.visitingAddress?{"@type":"PostalAddress",addressLocality:e.visitingAddress.city??"",addressCountry:"FI"}:void 0}}))}};return(0,a.jsx)(n.mg,{children:(0,a.jsx)("script",{type:"application/ld+json",children:JSON.stringify(l)})})},_G:()=>(0,a.jsx)(n.mg,{children:(0,a.jsx)("script",{type:"application/ld+json",children:JSON.stringify(d)})}),yk:e=>{let{companyData:i}=e;if(!i)return null;let{name:t,localId:o,phoneNumber:l,visitingAddress:r,ceoName:d}=i,c=null==r?void 0:r.street,m=null==r?void 0:r.postalCode,u=null==r?void 0:r.city,p={"@context":"https://schema.org","@type":"Organization",name:t,url:`${s.A.baseUrl}/yritykset/yritys/${o}`,address:r?{"@type":"PostalAddress",streetAddress:c,addressLocality:u,postalCode:m,addressCountry:"FI"}:void 0,contactPoint:l?{"@type":"ContactPoint",telephone:l,contactType:"customer service"}:void 0,employee:d?{"@type":"Person",name:d,jobTitle:"CEO"}:void 0,vatID:`FI${o}`};return(0,a.jsxs)(n.mg,{children:[(0,a.jsx)("script",{type:"application/ld+json",children:JSON.stringify(p)}),(0,a.jsx)("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"LocalBusiness",name:t,address:r?{"@type":"PostalAddress",streetAddress:c,addressLocality:u,postalCode:m,addressCountry:"FI"}:void 0,employee:d?{"@type":"Person",name:d,jobTitle:"CEO"}:void 0})})]})}})},XF(e,i,t){var a=t("X"),n=t("u"),s=t("Xo"),o=t("WV"),l=t("XE"),r=t("d6Q"),d=t("tE"),c=t("k6"),m=t("Hu");let u=(d.Ay.div.withConfig({componentId:"sc-bff6e701-0"}))(["display:flex;flex-direction:column;gap:",";margin-bottom:",";@media ","{gap:",";}"],s.I8.spacing.medium,s.I8.spacing.large,s.I8.mediaquery.min.small,s.I8.spacing.large);i.A=e=>{let{articleUuid:i,companies:t,customTitle:s="Lisää artikkelin yhtiöistä",noNewsCallback:o,...d}=e,m=(0,l.wA)(),g=(0,l.d4)(e=>e.companyNews),y=(0,n.useMemo)(()=>[...new Set(t)],[t]),f=y.map(e=>
1e.businessId).filter(Boolean),x=Object.entries(g).reduce((e,i)=>{let[t,a]=i;return f.some(e=>e.replace(/-/g,"")===t.replace(/-/g,""))?{[t]:{...a},...e}:e},{}),k=Object.keys(x).reduce((e,t)=>{var a;let n=null==(a=x[t])?void 0:a.items;return n?(0,r.A)([...e,...n],"uuid").filter(e=>e.uuid&&e.uuid!==i):e},[]).sort((e,i)=>e.modified&&i.modified&&e.modified>i.modified?-1:1).splice(0,3);return(0,n.useEffect)(()=>{m((0,c.A)(y.map(e=>e.businessId),0,5))},[y,m]),(0,n.useEffect)(()=>{0!==Object.keys(x).length&&!k.length&&o&&o()},[x,k,o]),k.length?(0,a.jsxs)(u,{...d,children:[(0,a.jsx)(h,{size:"small, @min.small=large",decorationType:"category-list",children:s}),(0,a.jsx)(p,{items:k,totalAvailable:k.length,handleLoadMore:()=>{},showTimestamp:!0,hideMobileLeaderboard:!0,noAds:!0})]}):null};var p=(0,d.Ay)(m.A).withConfig({componentId:"sc-bff6e701-1"})(["overflow-x:visible;> div:first-child{> svg:last-of-type{display:none;}}"]),h=(0,d.Ay)(o.D.Subtitle).withConfig({componentId:"sc-bff6e701-2"})(["@media ","{margin:0 ",";}"],s.I8.mediaquery.max["x-small"],s.I8.spacing.medium)},Ft(e,i,t){t.d(i,{},{Y:e=>e?new Date(e).toLocaleDateString("fi-FI",{day:"2-digit",month:"2-digit",year:"numeric"}):""})},jyS(e,i,t){function a(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",t=document.querySelector(e);t&&t.scrollIntoView({behavior:i})}t.d(i,{A:()=>a})},EeT(e,i,t){var a=t("u"),n=t("a");t.d(i,{},{E:e=>{let{eventCategory:i,mediaShort:t,userType:s,isKnownUser:o}=e,l=(0,a.useMemo)(()=>o?"Tunnettu":s||"Ei tietoja",[o,s]),r=(0,a.useRef)(null),d=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let e=new IntersectionObserver(a=>{let[s]=a;s.isIntersecting&&!d.current&&t&&((0,n.Nu)("Showed",t,i,l),d.current=!0,e.disconnect())},{threshold:.1}),a=r.current;return a&&e.observe(a),()=>{a&&e.unobserve(a),e.disconnect()}},[t,i,l]),{handleClick:(0,a.useCallback)(e=>(0,n.Nu)("Clicked",t,i,l),[t,i,l]),containerRef:r}}})},d8(e,i,t){var a=t("WR"),n=t("zi"),s=t("QE");let{siteShortSlug:o}=s.A;i.A=function(){let{offset:e=0,limit:i=24,media:t=o,target:l="latest"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(r,d,c)=>{let m=d(),u=s.A.apiRoot+(t===o?`news/v2/filtered/feed/kl/online/${e}/${i}?profile=news`:`news/v2/dynamic/latest/${t}/${e}/${i}`);return(0,n.g)(m,l,e+i)?c.get(u).then(t=>(r(a.dT.done({params:{name:l,offset:e,limit:i},result:t})),Promise.resolve(t.items))).catch(e=>Promise.reject(e)):Promise.resolve()}}},Mj(e,i,t){var a,n,s=t("X"),o=t("u"),l=t("tE"),r=t("Xo"),d=t("im"),c=t("c1"),m=t("k2"),u=t("Ew"),p=t("xR");let h=(l.Ay.a.withConfig({componentId:"sc-538bccec-0"}))(["",";color:",";line-height:",";font-size:",";display:flex;align-items:center;justify-content:center;padding-block:"," ",";padding-inline:",";height:",";width:",";background-color:",";border-bottom:"," solid transparent;border-radius:",";text-decoration:none;cursor:pointer;&:focus-visible{outline:"," solid ",";}&:hover{background:",";}",""],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},r.I8.color.primary.foreground,r.I8["line-height"].medium,r.I8.font.scale["-2"],r.I8.spacing["xx-small"],r.I8.spacing["xxxx-small"],r.I8.spacing["xxxx-small"],r.I8.size.target["x-small"],r.I8.size.target["x-small"],e=>{let{theme:i}=e;return(0,p.b)(`theme1.${i.foundation.theme.context}.color.base.1`)},r.I8.border.small,r.I8.shape.rounded,r.I8.outline.medium,r.I8.color.border["6"],r.I8.color.primary["1"],e=>{let{$active:i,theme:t}=e;return i&&`
2            border-bottom-color: ${r.I8.color.border["6"]};
3            background-color: ${(0,p.b)(`theme1.${t.foundation.theme.context}.color.base.2`)};
4        `}),g=(0,l.Ay)(d.A).withConfig({componentId:"sc-538bccec-1"})(["& > a[aria-disabled='true']{cursor:default;opacity:0.4;pointer-events:none;}"]);i.A=e=>{let{currentPage:i,handlePageChange:t,dataLength:l,resultDisplayAmount:d=10,buttonsAmount:p=5,...y}=e,f=(0,o.useMemo)(()=>l?Math.ceil(l/d):0,[l,d]),x=(0,o.useMemo)(()=>{let e=Math.ceil(p/2),t=i>=f-e,a=Array(f>p?p:f);return a.fill(null).map((n,s)=>f<=p?s+1:0===s?1:s===a.length-1?f:t?f-p+s+1:i>=e?i-Math.floor(p/2)+s+1:s+1)},[f,i,p]);return f<=1?null:(0,s.jsxs)(g,{direction:"row",gap:r.I8.spacing["xxx-small"],paddingTop:r.I8.spacing.large,justifyContent:"center",...y,children:[(0,s.jsx)(c.A,{as:"a",href:i>1?`?page=${i-1}#srp-c`:void 0,onClick:e=>{i>1&&(e.preventDefault(),t(i-1))}
4,icon:a||(a=(0,s.jsx)(m.A,{size:"core.size.icon.medium",color:"core.color.primary.foreground"})),targetSize:"core.size.target.x-small","aria-disabled":i<=1}),x.map(e=>(0,s.jsx)(h,{href:`?page=${e}#srp-c`,onClick:i=>{i.preventDefault(),t(e)},$active:e===i,children:e},e)),(0,s.jsx)(c.A,{as:"a",href:i<f?`?page=${i+1}#srp-c`:void 0,onClick:e=>{i<f&&(e.preventDefault(),t(i+1))},icon:n||(n=(0,s.jsx)(u.A,{size:"core.size.icon.medium",color:"core.color.primary.foreground"})),targetSize:"core.size.target.x-small","aria-disabled":i>=f})]})}},CO(e,i,t){var a=t("tE"),n=t("Xo"),s=t("Ac");let o=(a.Ay.aside.withConfig({componentId:"sc-56ee8308-0"}))(["margin:0 "," 0 0;",";",";@media ","{max-width:",";margin:0 auto;}"],n.I8.spacing.large,e=>{let{$width:i="300",$order:t=1}=e;return(0,s.C9)("tablet")`
5        flex: 0 0 ${i}px;
6        order: ${t};
7        margin-bottom: 0;
8    `},e=>{let{$width:i="300"}=e;return(0,s.C9)("tablet_landscape")`
9        width: ${i}px;
10    `},n.I8.mediaquery.max.small,n.I8.size.template["page-wrapper-mobile"]),l=(a.Ay.main.withConfig({componentId:"sc-56ee8308-2"}))(["position:relative;padding:0 0.9375rem;margin-bottom:1.875rem;",";"],(0,s.C9)("tablet")`
11        flex: 1 0;
12        order: 0;
13        margin-bottom: 0;
14    `),r=(a.Ay.div.withConfig({componentId:"sc-56ee8308-3"}))(["position:relative;"," ",";",";"],e=>{let{$fullWidth:i}=e;return(0,s.C9)("tablet")`
15        display: ${i?"block":"flex"};
16    `},(0,s.C9)("tablet_landscape")`
17        justify-content: center;
18    `,e=>{let{columns:i}=e;return 3===i&&(0,s.C9)("tablet_landscape")`
19        ${l} {
20            margin-left: ${e=>{let{narrow:i}=e;return i?"278px":"300px"}};
21        }
22        ${o} {
23            ${o}:last-child {
24                position: absolute;
25                left: 0.9375rem;
26                top: 0;
27                bottom: 0;
28            }
29        }
30    `});(0,a.Ay)(o).withConfig({componentId:"sc-56ee8308-4"})(["","{margin:0;}",";"],o,(0,s.C9)("tablet")`
31        height: 100%;
32    `),t.d(i,{},{DF:l,HD:r})},gEg(e,i,t){var a,n=t("X");t("u");var s=t("tE"),o=t("rN"),l=t("Xo"),r=t("Mo"),d=t("pG");let c=(0,s.Ay)(o.J).withConfig({componentId:"sc-d2e17388-0"})(["padding:",";margin-top:",";"],l.I8.spacing.medium,l.I8.spacing.small),m=(0,s.Ay)(o.J.Content).withConfig({componentId:"sc-d2e17388-1"})(["justify-content:space-between;align-items:stretch;flex-direction:column;gap:",";@media ","{flex-direction:row;align-items:center;}"],l.I8.spacing.small,l.I8.mediaquery.min.small);i.A=e=>{let{title:i,link:t,buttonText:s,icon:l}=e;return(0,n.jsx)(c,{children:(0,n.jsxs)(m,{children:[(0,n.jsxs)(u,{children:[l,i]}),(0,n.jsx)(d.Ay,{href:t,external:!0,openInNewTab:!0,customComponent:a||(a=(0,n.jsx)(r.Ay,{focusOutline:"medium",focusOutlineOffset:"medium",noUnderlineOnHover:!0})),children:(0,n.jsx)(o.J.PromotionCTAButton,{tabIndex:-1,children:s})})]})})};var u=(0,s.Ay)(o.J.PromotionText).withConfig({componentId:"sc-d2e17388-2"})({display:"inline"})},aH(e,i,t){var a,n,s,o,l,r,d,c,m,u,p,h=t("X"),g=t("u"),y=t("Xo"),f=t("c1"),x=t("dL"),k=t("a4"),I=t("IrX"),j=t("IM"),v=t("zQ"),b=t("im"),w=t("XA"),A=t("iU"),C=t("uQ"),$=t("ex"),z=t("tE"),_=t("tB2"),T=t("kd"),S=t("ja"),P=t("RiB"),L=t("tC6"),M=t("EeT"),q=t("hRE");let D=(0,z.i7)(["0%{transform:translateX(-100%);}100%{transform:translateX(0%);}"]),O=(0,z.i7)(["0%{transform:translateY(100%);}100%{transform:translateY(0%);}"]),N=(0,z.I4)(_.aF).withConfig({componentId:"sc-3781239b-0"})(["padding-bottom:0;animation-timing-function:ease-in-out;@media ","{max-width:46.25rem;}@media "," and ","{margin:0;min-height:100%;animation-duration:0.3s;animation-name:",";}@media ","{position:fixed;width:100%;top:0;left:0;margin:0;height:100%;max-width:100%;animation-duration:0.4s;animation-name:",";}"],y.I8.mediaquery.min["x-large"],y.I8.mediaquery.max.large,y.I8.mediaquery.min.medium,D,y.I8.mediaquery.max.small,O),E=(0,z.I4)(_.rQ).withConfig({componentId:"sc-3781239b-1"})(["flex-direction:row;justify-content:space-between;align-items:center;padding:"," 0 "," ",";border-bottom:"," solid ",";height:",";"],y.I8.spacing.medium,y.I8.spacing.medium,y.I8.spacing.medium,y.I8.border["x-small"],y.I8.color.border["3"],y.I8.size.target["x-large"]),R=(z.I4.h3.withConfig({componentId:"sc-3781239b-2"}))(["",";font-size:",";line-height:",";color:",";margin:0;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.heavy},y.I8.font.scale["0"],y.I8["line-height"].medium,y.I8.color.primary.foreground),K=(z.I4.div.withConfig({componentId:"sc-3781239b-3"}))(["margin:0 auto;padding:"," "," "," ",";@media ","{overflow-y:auto;overscroll-behavior:contain;height:calc( 100% - ("," + ",") );}"],y.I8.spacing["x-large"],y.I8.spacing.large,y.I8.spacing.large,y.I8.spacing.large,y.I8.mediaquery.max.small,y.I8.spacing["x-large"],y.I8.spacing.large),Y=(z.I4.div.withConfig({componentId:"sc-3781239b-4"}))(["display:flex;flex-direction:column;padding:",";background-color:",";"],y.I8.spacing.medium,e=>{let{theme:i}=e;return i.foundation.media.color.wall.background}),F=(z.I4.div.withConfig({componentId:"sc-3781239b-5"}))(["display:flex;flex-direction:column;position:relative;gap:",";"],y.I8.spacing.small),H=(z.I4.div.withConfig({componentId:"sc-3781239b-6"}))(["position:absolute;top:0;left:0;width:100%;height:100%;z-index:",";background:linear-gradient( 180deg,rgba(255,255,255,0) 0%,rgba(229,243,255,0.85) 100% );",";"],y.I8["z-index"].elevate,(0,P.I)("background","linear-gradient(180deg, hsla(0, 0%, 100%, 0), hsla(208, 100%, 94.9%, 0.8))","linear-gradient(180deg, hsla(216, 21.1%, 13.9%, 0), hsla(216, 21.1%, 13.9%, 0.8))"));i.A=e=>{var i,t;let{initialIndustry:C,initialLocation:$,closeSearch:z}=e,[_,P]=(0,g.useState)(C),[D,O]=(0,g.useState)($),W=g.useRef(null),{containerRef:J,handleClick:Q}=(0,M.E)({eventCategory:"Insights_promo",mediaShort:"ai"}),{data:G,isLoading:Z}=L._.useGetCodesQuery();(0,g.useEffect)(()=>
32(document.body.style.overflow="hidden",window.matchMedia("(min-width: 62rem)").matches&&(0,S.o)("#extended-search-modal",1),()=>{document.body.style.overflow="visible"}),[]);let ee=!_&&!D;return(0,h.jsx)(B,{onClick:e=>{var i;(null==(i=W.current)?void 0:i.contains(e.target))||z()},children:(0,h.jsxs)(N,{id:"extended-search-modal",ref:W,children:[(0,h.jsxs)(E,{children:[a||(a=(0,h.jsx)(R,{children:"Laaja haku"})),(0,h.jsx)(f.A,{icon:n||(n=(0,h.jsx)(x.A,{size:"core.size.icon.large"})),targetSize:"core.size.target.medium",onClick:z})]}),(0,h.jsxs)(K,{children:[(0,h.jsx)(k.A,{label:"Toimiala",placeholder:"Toimiala",options:null==G?void 0:G.TOL25,value:_,onChange:e=>{P(e)},noOptionsMessage:()=>"Ei tuloksia",loadingMessage:()=>"Ladataan...",isLoading:Z,isClearable:!0}),s||(s=(0,h.jsx)(I.A,{size:"core.spacing.small"})),(0,h.jsx)(k.A,{label:"Sijainti",placeholder:"Sijainti",options:null==G?void 0:G.SC,value:D,onChange:e=>{O(e)},noOptionsMessage:()=>"Ei tuloksia",loadingMessage:()=>"Ladataan...",isLoading:Z,isClearable:!0}),(0,h.jsx)(T.N_,{href:(i=null==D?void 0:D.value,t=null==_?void 0:_.value,i&&t?`/yritykset/yrityshaku/hakutulos/paikkakunta/${i}/toimiala/${t}#srp-c`:i?`/yritykset/yrityshaku/hakutulos/paikkakunta/${i}#srp-c`:`/yritykset/yrityshaku/hakutulos/toimiala/${t}#srp-c`),onClick:z,customComponent:(0,h.jsx)(V,{tagAs:ee?void 0:"a",icon:o||(o=(0,h.jsx)(j.A,{size:"core.size.
32icon.large"})),disabled:ee,children:"Hae"})}),(0,h.jsx)(v.A,{thickness:"core.size.line.thin",color:"core.color.border.2",spacing:{size:"core.spacing.x-large",sides:["top","bottom"]}}),(0,h.jsxs)(Y,{ref:J,children:[(0,h.jsxs)(b.A,{direction:"row",gap:y.I8.spacing["x-small"],alignItems:"center",marginBottom:y.I8.spacing.medium,children:[l||(l=(0,h.jsx)(w.A,{size:"core.size.icon.medium",color:"core.color.primary.foreground"})),r||(r=(0,h.jsx)(R,{as:"h4",children:"Hae yrityksiä kymmenillä eri hakuehdoilla"}))]}),(0,h.jsxs)(F,{children:[d||(d=(0,h.jsx)(H,{})),(0,h.jsxs)(U,{direction:"row",gap:y.I8.spacing.small,alignItems:"end",children:[c||(c=(0,h.jsx)(A.A,{label:"Liikevaihto",placeholder:"Min",disabled:!0})),m||(m=(0,h.jsx)(A.A,{placeholder:"Max",disabled:!0}))]}),u||(u=(0,h.jsx)(k.A,{label:"Henkilökuntaluokka",placeholder:"Henkilökuntaluokka",isDisabled:!0})),p||(p=(0,h.jsx)(k.A,{label:"Signaalit",placeholder:"Päättäjämuutos, yrityskauppa...",isDisabled:!0}))]}),(0,h.jsx)(T.N_,{href:`https://www.almainsights.fi/yritystietopalvelut/data/${(0,q.V)("laaja_haku_tutustu_palveluihin_cta")}#loyda`,external:!0,openInNewTab:!0,customComponent:(0,h.jsx)(X,{tagAs:"a",children:"Tutustu Alma Insights palveluihin"}),onClick:Q})]})]})]})})};var B=(0,z.I4)(_.hJ).withConfig({componentId:"sc-3781239b-7"})({padding:0}),V=(0,z.I4)(C.A).withConfig({componentId:"sc-3781239b-8"})(["margin-top:",";width:100%;"],y.I8.spacing.large),X=(0,z.I4)($.A).withConfig({componentId:"sc-3781239b-9"})(["width:100%;margin-top:",";outline-color:",";color:",";&:hover:not(:disabled){color:",";outline-color:",";}"],y.I8.spacing.large,y.I8.color.cta.primary.normal,y.I8.color.cta.primary.normal,y.I8.color.cta.primary.hover,y.I8.color.cta.primary.hover),U=(0,z.I4)(b.A).withConfig({componentId:"sc-3781239b-10"})(["> div{flex-grow:1;}"])},al(e,i,t){var a,n,s,o=t("X");t("u");var l=t("tE"),r=t("Xo"),d=t("ge"),c=t("Mo"),m=t("pG"),u=t("w3");let p=(l.Ay.div.withConfig({componentId:"sc-c069cad7-0"}))(["width:100%;"]),h=(l.Ay.ul.withConfig({componentId:"sc-c069cad7-1"}))(["list-style:none;padding:0;margin:0;width:100%;"]),g=(l.Ay.li.withConfig({componentId:"sc-c069cad7-2"}))(["display:grid;grid-template-columns:2fr 1fr 1fr;padding:0;border-top:1px solid ",";width:100%;&:first-child{border-top:none;}"],r.I8.color.border["2"]),y=(0,l.Ay)(u.gf).withConfig({componentId:"sc-c069cad7-3"})(["display:flex;align-items:center;overflow:hidden;> div{min-width:0;width:100%;}a{display:flex !important;align-items:center;min-width:0;width:100%;line-height:",";font-size:",";text-decoration:none;color:",";&:hover{text-decoration:underline;color:",";svg{color:",";}}}span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;}svg{flex-shrink:0;}"],r.I8["line-height"].medium,r.I8.font.scale[-1],r.I8.color.primary.foreground,r.I8.color.cta.primary.normal,r.I8.color.cta.primary.normal),f=(0,l.Ay)(u.Du).withConfig({componentId:"sc-c069cad7-4"})(["display:flex;align-items:center;"]),x=(0,l.Ay)(u.Du).withConfig({componentId:"sc-c069cad7-5"})(["display:flex;align-items:center;justify-self:end;"]),k=(l.Ay.li.withConfig({componentId:"sc-c069cad7-6"}))(["display:grid;grid-template-columns:2fr 1fr 1fr;border-bottom:1px solid ",";"],r.I8.color.border["2"]),I=(l.Ay.span.withConfig({componentId:"sc-c069cad7-7"}))(["",";color:",";font-size:",";line-height:",";padding:"," ",";&:last-child{text-align:left;}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},r.I8.color.primary.foreground,r.I8.font.scale[-1],r.I8["line-height"].medium,r.I8.spacing["x-small"],r.I8.spacing.small);var j=(0,l.Ay)(I).withConfig({componentId:"sc-c069cad7-8"})(["justify-self:end;padding-right:0;"]),v=(0,l.Ay)(I).withConfig({componentId:"sc-c069cad7-9"})({paddingLeft:0}),b=(0,l.Ay)(c.Ay).withConfig({componentId:"sc-c069cad7-10"})(e=>({"&:focus":{color:e.$_css,textDecoration:"underline",svg:{color:e.$_css2}}}));t.d(i,{},{y:e=>{let{companies:i,codes:t,emptyState:l}=e;return 0===i.length?l?(0,o.jsx)(p,{children:l}):null:(0,o.jsx)(p,{children:(0,o.jsxs)(h,{children:[(0,o.jsxs)(k,{children:[(0,o.jsx)(v,{children:"Yritys"}),a||(a=(0,o.jsx)(I,{children:"Kaupunki"})),n||(n=(0,o.jsx)(j,{children:"Liikevaihto"}))]}),i.map(e=>(0,o.jsxs)(g,{children:[(0,o.jsx)(y,{children:(0,o.jsx)(m.N_,{href:`/yritykset/yritys/${e.localId}`,customComponent:(0,o.jsx)(b,{focusOutline:"medium",focusOutlineOffset:"medium",borderHoverColor:"core.color.primary.foreground",icon:s||(s=(0,o.jsx)(d.A,{size:"core.size.
32icon.small"})),iconPosition:"right",$_css:r.I8.color.primary.foreground,$_css2:r.I8.color.primary.foreground,children:e.name})})}),(0,o.jsx)(f,{children:((e,i)=>{if(!e||!(null==i?void 0:i.SC))return"-";let t=i.SC.find(i=>i.value===e);return(null==t?void 0:t.label)||"-"})(e.locationMunicipalityCode,t)}),(0,o.jsx)(x,{children:e.turnover?`${(e.turnover/1e6).toFixed(1)} milj`:"-"})]},e.id))]})})}})},JU(e,i,t){var a=t("X"),n=t("u"),s=t("lW"),o=t("Mj");let l=e=>{let i=new URLSearchParams(window.location.search);i.set("page",e.toString());let t=`${window.location.pathname}?${i.toString()}#srp-c`;s.A.push(t)};i.A=e=>{let{currentPage:i,handlePageChange:t,dataLength:s,resultDisplayAmount:r=10,buttonsAmount:d=5}=e;return 1>=(0,n.useMemo)(()=>s?Math.ceil(s/r):0,[s,r])?null:(0,a.jsx)(o.A,{currentPage:i,handlePageChange:e=>{t(e),l(e)},dataLength:s,resultDisplayAmount:r,buttonsAmount:d})},t.d(i,{},{g:l})},hRE(e,i,t){t.d(i,{},{V:e=>`?utm_source=kauppalehti.fi&utm_medium=almainternal_fixed&utm_campaign=kauppalehti_yrityshaku&utm_content=${e}`})},oE(e,i,t){t.d(i,{A:()=>O});var a,n,s,o=t("X"),l=t("u"),r=t("tE"),d=t("Xo"),c=t("pZ"),m=t("QO"),u=t("jk"),p=t("lW"),h=t("tC6"),g=t("it"),y=t("kd"),f=t("vZ"),x=t("a"),k=t("Ui"),I=t("ZB");let j=(r.Ay.div.withConfig({componentId:"sc-e50e6173-0"}))(["display:flex;flex-direction:column;background:",";height:19rem;",""],d.I8.color.primary["foreground-inverse"],I.f1),v=(r.Ay.div.withConfig({componentId:"sc-e50e6173-1"}))(["display:flex;flex-direction:column;gap:",";padding:",";"],d.I8.spacing["xxx-small"],d.I8.spacing.small),b=(0,r.Ay)(I.Dm).withConfig({componentId:"sc-e50e6173-2"})(["height:",";width:30%;border-radius:",";"],d.I8.size.medium,d.I8.shape.rounded),w=(0,r.Ay)(I.Dm).withConfig({componentId:"sc-e50e6173-3"})(["height:",";width:20%;border-radius:",";"],d.I8.size.medium,d.I8.shape.rounded);var A=()=>a||(a=(0,o.jsxs)(j,{children:[(0,o.jsxs)(v,{children:[(0,o.jsx)(b,{}),(0,o.jsx)(w,{})]}),(0,o.jsx)(k.CK,{}),(0,o.jsxs)(v,{children:[(0,o.jsx)(b,{}),(0,o.jsx)(w,{})]}),(0,o.jsx)(k.CK,{}),(0,o.jsxs)(v,{children:[(0,o.jsx)(b,{}),(0,o.jsx)(w,{})]}),(0,o.jsx)(k.CK,{}),(0,o.jsxs)(v,{children:[(0,o.jsx)(b,{}),(0,o.jsx)(w,{})]}),(0,o.jsx)(k.CK,{}),(0,o.jsxs)(v,{children:[(0,o.jsx)(b,{}),(0,o.jsx)(w,{})]})]})),C=t("Tug");let $=(r.Ay.div.withConfig({componentId:"sc-f4d75049-0"}))(["display:flex;flex-direction:row;align-items:end;margin:0 auto;width:100%;max-width:62rem;@media ","{flex-direction:column;align-items:start;}"],d.I8.mediaquery.max.small);var z=(0,r.Ay)($).withConfig({componentId:"sc-f4d75049-1"})(["",""],e=>e.$_css);let _=(0,r.Ay)(y.N_).withConfig({componentId:"sc-f4d75049-2"})(["display:flex;flex-direction:column;gap:",";align-items:start;&&:focus-visible{outline:"," solid ",";outline-offset:calc(-1 * ",");}"],d.I8.spacing["xxxxx-small"],d.I8.outline.small,d.I8.color.primary.foreground,d.I8["outline-offset"]["x-small"]),T=(r.Ay.button.withConfig({componentId:"sc-f4d75049-3"}))(["display:flex;flex-direction:column;gap:",";align-items:start;width:100%;&:focus-visible{outline:"," solid ",";}"],d.I8.spacing["xxxxx-small"],d.I8.outline.small,d.I8.color.primary.foreground),S=(r.Ay.div.withConfig({componentId:"sc-f4d75049-4"}))(["display:flex;flex-direction:row;align-items:center;gap:",";flex-wrap:wrap;"],d.I8.spacing["xx-small"]),P=(r.Ay.span.withConfig({componentId:"sc-f4d75049-5"}))(["display:contents;> div{padding-block:0;}"]),L=(r.Ay.p.withConfig({componentId:"sc-f4d75049-6"}))(["margin:0;",";font-size:",";line-height:",";color:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.medium},d.I8.font.scale["0"],d.I8["line-height"].medium,d.I8.color.primary.foreground),M=(r.Ay.span.withConfig({componentId:"sc-f4d75049-7"}))(["",";font-size:",";line-height:",";color:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},d.I8.font.scale[-2],d.I8["line-height"].medium,d.I8.color.primary.foreground),q=(e,i)=>{let t=(0,C.ps)(i);return t?`${e}, ${t}`:e},D=e=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(L,{children:e.name}),(0,o.jsxs)(S,{children:[(0,o.jsxs)(M,{children:["Y-tunnus: ",(0,f.gh)(e.localId)]}),e.statusCode&&(0,o.jsx)(P,{children:(0,C.Ay)(e.statusCode)})]})]});var O=e=>{var i;let{cssProps:t,initialValue:a,extendedSearchHandler:r,onSearchCleanup:d,onSelect:u,minSearchLength:y=2,showExtendedSearch:k=!0,...I}=e,[j,v]=(0,l.useState)(a??""),b=(0,g.o)(j),w=(0,l.useRef)(null),{currentData:C,isFetching:$}=h._.useGetCompanySearchQuery({name:b},{skip:!b||b.length<y||j===a});(0,l.useEffect)(()=>{b&&b.length>=y&&b!==a&&(0,x.Ay)("yrityshaku search","search input",b,b.length)},[b,y,a]);let S=(e,i)=>{(0,x.Ay)("yrityshaku search","select company from predictions",j,i+1,!1,e.id,e.localId,e.name),u&&(u(e),v(""),h._.util.resetApiState())},P=null==C||null==(i=C.companies)?void 0:i.filter(e=>!e.hideCompany);return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(z,{$_css:t,children:[(0,o.jsx)("div",{style:{width:"100%"},children:(0,o.jsx)(c.A,{placeholder:"Hae yritystä",label:"Hae yrityksen Y-tunnuksella tai nimellä",predictiveItemsLoading:$,predictiveItems:$?[n||(n=(0,o.jsx)(A,{},"prediction-skeleton"))]:P?u?P.map((e,i)=>(0,o.jsx)(T,{onClick:()=>S(e,i),"aria-label":q(`Valitse yritys ${e.name}, Y-tunnus ${(0,f.gh)(e.localId)}`,e.statusCode),role:"option",children:D(e)},e.id)):P.map((e,i)=>(0,o.jsx)(_,{href:`/yritykset/yritys/${e.localId}`,"aria-label":q(`Siirry yrityksen ${e.name}
32 sivulle, Y-tunnus ${(0,f.gh)(e.localId)}`,e.statusCode),onClick:()=>S(e,i),children:D(e)},e.id)):[],value:j,onChange:e=>{let{value:i}=e.target;v(i)},onClear:()=>{(0,x.Ay)("yrityshaku search","clear search",j),v(""),h._.util.resetApiState()},onSearch:()=>{u?(null==P?void 0:P[0])?S(P[0],0):$||(0,x.Ay)("yrityshaku search","search submit - no results",j):j.length>=y&&($||(null==P?void 0:P.length)?(0,x.Ay)("yrityshaku search","search submit - navigate to results",j,j.length):(0,x.Ay)("yrityshaku search","search submit - no results",j),w.current&&w.current.blur(),null==d||d(),p.A.push(`/yritykset/yrityshaku/hakutulos/${encodeURIComponent(j)}#srp-c`))},ref:w,...I})}),k&&(0,o.jsx)(N,{icon:s||(s=(0,o.jsx)(m.A,{size:"core.size.icon.medium"})),onClick:()=>{(0,x.Ay)("yrityshaku search","extended search button click",j),null==r||r()},children:"Laaja haku"})]})})},N=(0,r.Ay)(u.A).withConfig({componentId:"sc-f4d75049-8"})(["height:",";flex-shrink:0;&:focus-visible{outline-offset:0;}@media ","{padding-left:0;margin-top:",";}"],d.I8.size.target.medium,d.I8.mediaquery.max.small,d.I8.spacing["x-small"])},RO(e,i,t){var a,n=t("X");t("u");var s=t("tE"),o=t("Xo"),l=t("WV"),r=t("zQ"),d=t("ZN"),c=t("OuU"),m=t("pG");let u=(s.Ay.div.withConfig({componentId:"sc-e4096fbb-0"}))(["display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:'title' 'custom' 'divider' 'main' 'sidebar';row-gap:",";padding-top:",";padding-inline:",";@media ","{padding-inline:",";grid-template-columns:minmax(0,auto) minmax(0,1fr);grid-template-areas:'title custom' 'divider divider' 'main main' 'sidebar sidebar';row-gap:",";}@media ","{padding-top:",";column-gap:",";grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,300px);grid-template-areas:'title custom custom' 'divider divider divider' 'main main sidebar';}@media ","{max-width:",";margin-inline:auto;}"],o.I8.spacing.large,o.I8.spacing["x-large"],o.I8.spacing.medium,o.I8.mediaquery.min.small,o.I8.spacing.large,o.I8.spacing["x-large"],o.I8.mediaquery.min.medium,o.I8.spacing["xx-large"],o.I8.spacing["x-large"],o.I8.mediaquery.max.small,o.I8.size.template["page-wrapper-mobile"]),p=(s.Ay.div.withConfig({componentId:"sc-e4096fbb-1"}))(["grid-area:title;display:block;position:relative;> *{display:block;position:relative;}"]),h=(s.Ay.div.withConfig({componentId:"sc-e4096fbb-2"}))(["grid-area:custom;display:flex;align-items:center;justify-content:space-between;@media ","{justify-content:flex-end;min-width:max-content;}"],o.I8.mediaquery.min.small),g=(s.Ay.div.withConfig({componentId:"sc-e4096fbb-3"}))(["grid-area:divider;"]),y=(s.Ay.main.withConfig({componentId:"sc-e4096fbb-4"}))(["grid-area:main;"]),f=(s.Ay.aside.withConfig({componentId:"sc-e4096fbb-5"}))(["grid-area:sidebar;width:100%;"]);t.d(i,{},{B:e=>{let{metaTitle:i,metaDescription:t,title:s,children:o,sidebarContent:x,loading:k,customContent:I,hasMainH1Elsewhere:j=!1,titleAsLink:v=!1,...b}=e;return(0,n.jsxs)(c.A,{isLoading:k,...b,children:[(0,n.jsx)(d.A,{title:i,description:t}),(0,n.jsxs)(u,{children:[(0,n.jsx)(p,{children:(0,n.jsx)(l.D.Subtitle,{size:"large",decorationType:"section-page-title",decorationShape:"circle",level:j?"span":"h1",children:v?(0,n.jsx)(m.Ay,{href:"/yritykset",children:s}):s})}),(0,n.jsx)(h,{children:I}),a||(a=(0,n.jsx)(g,{children:(0,n.jsx)(r.A,{thickness:"core.size.line.thin",color:"core.color.border.2"})})),(0,n.jsx)(y,{children:o}),(0,n.jsx)(f,{children:x})]})]})},o:p})},rmd(e,i,t){var a=t("X");t("u");var n=t("Xo"),s=t("iwK"),o=t("Mo"),l=t("tE"),r=t("QE"),d=t("kd"),c=t("tC6");let m=(l.Ay.div.withConfig({componentId:"sc-ccb93002-0"}))(["max-width:300px;margin:0 auto;margin-bottom:",";"],e=>e.withBottomSpacing?n.I8.spacing["x-large"]:0);i.A=e=>{let{withBottomSpacing:i=!1,svgId:t,...n}=e,{data:l}=c._.useGetContinuousPerformersQuery({});if(!l||0===l.length)return null;let d=l.map(e=>({href:`/yritykset/yritys/${e.localId}`,text:e.name}));return(0,a.jsx)(m,{withBottomSpacing:i,...n,children:(0,a.jsx)(s.A,{items:d,ctaLink:{href:"/yritykset/menestyjat",text:"Tarkista yrityksesi luokitus"},renderCustomLink:(e,i,t,n)=>(0,a.jsx)(u,{href:t,className:n,customComponent:(0,a.jsx)(o.Ay,{children:e}),$_css:i}),children:(0,a.jsx)("img",{alt:"Kauppalehti Kestomenestyjät sertifikaatit",width:"245",height:"62",src:`${r.A.assetApiUrl}/static/images/kl_kestomenestyjat.svg`})})})};var u=(0,l.Ay)(d.N_).withConfig({componentId:"sc-ccb93002-1"})([""," overflow:visible;"],e=>e.$_css)},Tug(e,i,t){var a,n,s=t("X"),o=t("tE"),l=t("I5"),r=t("yl5"),d=t("iG"),c=t("Xo");t("u");let m=e=>"STA_AKT"===e||"Aktiivinen"===e?"Aktiivinen":"STA_LAK"===e||"Toiminta lakannut"===e?"Toiminta lakannut":"STA_SELTILA"===e?"Selvitystila":"STA_KONK"===e?"Konkurssi":"STA_SANE"===e?"Saneeraus":"STA_KESK"===e?"Toiminta keskeytetty":"";i.Ay=e=>{let i,t=m(e);return("STA_AKT"===e||"Aktiivinen"===e)&&(i=a||(a=(0,s.jsx)(l.default,{size:"core.size.
32icon.medium",color:"core.color.status.success.foreground"}))),("STA_LAK"===e||"Toiminta lakannut"===e)&&(i=n||(n=(0,s.jsx)(r.default,{size:"core.size.icon.medium",color:"core.color.status.alert.foreground"}))),(0,s.jsx)(u,{text:t,textColor:"core.color.primary.foreground",fontSize:"core.font.scale.-2",iconPosition:"left",icon:i})};var u=(0,o.Ay)(d.A).withConfig({componentId:"sc-68c54db-0"})(["@media ","{padding-inline:0;}"],c.I8.mediaquery.max["x-small"]);t.d(i,{},{ps:m})},t1(e,i,t){var a=t("tE"),n=t("Xo");let s=(a.Ay.h2.withConfig({componentId:"sc-84b0806-0"}))(["",";line-height:",";font-size:",";color:",";margin:0;padding:"," 0;@media ","{font-size:",";}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.heavy},n.I8["line-height"].medium,n.I8.font.scale["3"],n.I8.color.primary.foreground,n.I8.spacing.medium,n.I8.mediaquery.max["x-small"],n.I8.font.scale["2"]);t.d(i,{},{D:s})},Eu(e,i,t){var a=t("gw"),n=t("tE");t("CO");var s=t("t5"),o=t("Xo");a.Ay.colors.text;let l=(0,n.Ay)(s.N_).withConfig({componentId:"sc-8f7f2c77-3"})(["&:hover{color:",";text-decoration:underline;}"],a.Ay.colors.main);(0,n.Ay)(l).withConfig({componentId:"sc-8f7f2c77-6"})(["color:",";padding:10px;border:",";"],a.Ay.colors.main,e=>e.active?`1px solid ${a.Ay.colors.default_border}`:"1px solid transparent"),a.Ay.colors.text;let r=(n.Ay.div.withConfig({componentId:"sc-8f7f2c77-8"}))(["margin-bottom:",";@media ","{margin-bottom:",";}> div{padding-inline:0;padding-block:0;}"],o.I8.spacing.large,o.I8.mediaquery.max.small,o.I8.spacing.small),d=(n.Ay.h2.withConfig({componentId:"sc-8f7f2c77-9"}))(["",";line-height:",";font-size:",";margin:"," 0 0 0;font-weight:600;@media ","{margin:"," 0 0 0;}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},o.I8["line-height"].medium,o.I8.font.scale["3"],o.I8.spacing["x-large"],o.I8.mediaquery.max["x-small"],o.I8.spacing.medium),c=(n.Ay.h3.withConfig({componentId:"sc-8f7f2c77-10"}))(["",";line-height:",";font-size:",";font-weight:600;margin:0 0 "," 0;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},o.I8["line-height"].none,o.I8.font.scale["3"],o.I8.spacing.small),m=(n.Ay.ul.withConfig({componentId:"sc-8f7f2c77-11"}))(["list-style-type:none;display:flex;flex-direction:column;gap:",";@media ","{gap:0;}"],o.I8.spacing["xxx-small"],o.I8.mediaquery.min.small);t.d(i,{},{E_:r,WB:d,hP:c,oZ:m})},w3(e,i,t){var a=t("Xo"),n=t("tE"),s=t("gw");let o=(n.Ay.h2.withConfig({componentId:"sc-18b1b3f1-0"}))(["",";font-size:",";"],s.Ay.foundation.media.type.ui.medium,a.I8.font.scale["3"]),l=(n.Ay.span.withConfig({componentId:"sc-18b1b3f1-1"}))(["",";color:",";font-size:",";line-height:",";padding:"," "," "," 0;&:first-child{padding-left:0;}"],s.Ay.foundation.media.type.ui.normal,a.I8.color.primary.foreground,a.I8.font.scale[-1],a.I8["line-height"].medium,a.I8.spacing["x-small"],a.I8.spacing.small,a.I8.spacing["x-small"]),r=(n.Ay.span.withConfig({componentId:"sc-18b1b3f1-2"}))(["",";color:",";font-size:",";line-height:",";padding:"," ",";&:last-child{padding-right:0;}"],s.Ay.foundation.media.type.ui.normal,a.I8.color.primary.foreground,a.I8.font.scale[-1],a.I8["line-height"].medium,a.I8.spacing["x-small"],a.I8.spacing.small);t.d(i,{},{Du:r,Pz:o,gf:l})},kdQ(e,i,t){t.d(i,{A:()=>eh});var a,n,s,o,l,r,d,c,m,u,p,h,g=t("X"),y=t("u"),f=t("tE"),x=t("Xo"),k=t("zQ"),I=t("XZ"),j=t("IM"),v=t("vK"),b=t("a4"),w=t("uQ"),A=t("im"),C=t("jk"),$=t("XA"),z=t("Xi"),_=t("kd"),T=t("Da"),S=t("tC6"),P=t("oE"),L=t("Mo"),M=t("gE"),q=t("iQ"),D=t("xR"),O=t("vZ"),N=t("Tug");let E=(0,f.Ay)(_.N_).withConfig({componentId:"sc-159c8584-0"})(["display:flex;flex-direction:column;gap:",";padding:"," "," "," ",";@media ","{padding-inline:0;}> span{width:100%;}&:focus-visible{outline-offset:calc("," * -1);border-radius:calc( "," + "," );}"],x.I8.spacing.small,x.I8.spacing.small,x.I8.spacing.medium,x.I8.spacing.small,x.I8.spacing.small,x.I8.mediaquery.max["x-small"],x.I8["outline-offset"].small,x.I8.shape.rounded,x.I8["outline-offset"].small),R=(f.Ay.h3.withConfig({componentId:"sc-159c8584-1"}))(["",";line-height:",";font-size:",";color:",";margin:0;@media ","{padding-left:",";}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.medium},x.I8["line-height"].medium,x.I8.font.scale["2"],x.I8.color.primary.foreground,x.I8.mediaquery.min.small,x.I8.spacing["xx-small"]),K=(0,f.Ay)(A.A).withConfig({componentId:"sc-159c8584-2"})(["flex-wrap:nowrap;margin-top:",";align-items:start;@media ","{padding-left:",";}@media (max-width:26.75rem){flex-direction:column;gap:",";}"],x.I8.spacing["x-small"],x.I8.mediaquery.min.small,x.I8.spacing["xx-small"],x.I8.spacing["xx-small"]),Y=(f.Ay.ul.withConfig({componentId:"sc-159c8584-3"}))(["display:flex;flex-direction:column;padding-bottom:",";"],x.I8.spacing["xxxx-small"]),F=(f.Ay.li.withConfig({componentId:"sc-159c8584-4"}))(["display:flex;flex-direction:row;gap:",";"],x.I8.spacing.medium),H=(f.Ay.span.withConfig({componentId:"sc-159c8584-5"}))(["",";font-size:",";line-height:1.25rem;color:",";width:3.3125rem;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},x.I8.font.scale[-2],x.I8.color.primary.foreground),B=(f.Ay.span.withConfig({componentId:"sc-159c8584-6"}))(["",";font-size:",";line-height:1.25rem;color:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.numeric.normal},x.I8.font.scale[-2],x.I8.color.primary.foreground),V=(f.Ay.div.withConfig({componentId:"sc-159c8584-7"}))(["display:flex;flex-direction:column;gap:",";padding:",";background-color:",";white-space:nowrap;> div{flex-wrap:nowrap;}"],x.I8.spacing["x-small"],x.I8.spacing.small,e=>{let{theme:i}=e;return(0,D.b)(`theme1.${i.foundation.theme.context}.color.base.2`)}),X=(f.Ay.span.withConfig({componentId:"sc-159c8584-8"}))(["",";font-size:",";line-height:",";color:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.numeric.semi},x.I8.font.scale["0"],x.I8["line-height"].none,x.I8.color.primary.foreground),U=(e,i,t,a)=>
32{if(e.hideCompany)return a?"Yksityinen elinkeinonharjoittaja":"-";if(a&&t&&!e.name){var n,s;return null==(s=t.CO)||null==(n=s.find(i=>i.value===e.formCode))?void 0:n.label}return i};var W=e=>{var i,t;let{company:d}=e,{data:c}=S._.useGetCodesQuery(),m=(0,y.useMemo)(()=>{var e,i;if(d.tol2025IndustryCode&&c)return null==c||null==(i=c.TOL25)||null==(e=i.find(e=>e.value===d.tol2025IndustryCode))?void 0:e.label},[c,d.tol2025IndustryCode]),u=(0,y.useMemo)(()=>(null==d?void 0:d.turnover)?new Intl.NumberFormat("fi-FI").format(1e3*Math.round(d.turnover/1e3)):void 0,[null==d?void 0:d.turnover]),p=(0,y.useMemo)(()=>(null==d?void 0:d.personnelAverage)?new Intl.NumberFormat("fi-FI").format(d.personnelAverage):void 0,[null==d?void 0:d.personnelAverage]);return(0,g.jsxs)(E,{href:d.hideCompany?void 0:`/yritykset/yritys/${d.localId}?cid=${d.id}`,customComponent:a||(a=(0,g.jsx)(L.Ay,{focusOutline:"small",noUnderlineOnHover:!0})),children:[(0,g.jsxs)(A.A,{gap:0,children:[(0,g.jsx)(R,{children:U(d,d.name,c,!0)}),(0,N.Ay)(d.statusCode)]}),(0,g.jsxs)(K,{direction:"row",gap:x.I8.spacing["x-large"],justifyContent:"space-between",children:[(0,g.jsxs)(Y,{children:[(0,g.jsxs)(F,{children:[n||(n=(0,g.jsx)(H,{children:"Y-tunnus"})),(0,g.jsx)(B,{children:U(d,(0,O.gh)(d.localId))})]}),(0,g.jsxs)(F,{children:[s||(s=(0,g.jsx)(H,{children:"Sijainti"})),(0,g.jsx)(B,{children:U(d,(null==c||null==(t=c.SC)||null==(i=t.find(e=>e.value===d.locationMunicipalityCode))?void 0:i.label)??"-")})]}),(0,g.jsxs)(F,{children:[o||(o=(0,g.jsx)(H,{children:"Toimiala"})),(0,g.jsx)(B,{children:U(d,m??"-")})]})]}),!d.hideCompany&&((null==d?void 0:d.turnover)||(null==d?void 0:d.personnelAverage))&&(0,g.jsxs)(V,{children:[(0,g.jsxs)(A.A,{gap:x.I8.spacing.small,direction:"row",children:[l||(l=(0,g.jsx)(M.A,{size:"core.size.
32icon.medium",color:"core.color.primary.foreground"})),(0,g.jsx)(X,{children:d.turnover?`${u} €`:"-"})]}),(0,g.jsxs)(A.A,{gap:x.I8.spacing.small,direction:"row",children:[r||(r=(0,g.jsx)(q.A,{size:"core.size.icon.medium",color:"core.color.primary.foreground"})),(0,g.jsx)(X,{children:p??"-"})]})]})]})]})},J=t("JU"),Q=t("aH"),G=t("gEg"),Z=t("RO"),ee=t("KR"),ei=t("XE");let et=()=>{let e=(0,ei.d4)(e=>e.lists.latest.data);return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(z.Xr,{orderNumber:1,spacings:{bottom:"core.spacing.x-large"}}),(0,g.jsx)(ea,{title:"Uusimmat",teasers:e,href:"/uutiset",noVerticalMargin:!0,$_css:x.I8.spacing["x-large"]}),(0,g.jsx)(z.ib,{children:(0,g.jsx)(z.Xr,{orderNumber:2,spacings:{bottom:"core.spacing.x-large"},skipPlaceholder:!0})}),d||(d=(0,g.jsx)(z.F0,{orderNumber:1,postContent:!0,skipPlaceholder:!0,viewportTo:992}))]})};var ea=(0,f.Ay)(ee.A).withConfig({componentId:"sc-29583fa5-0"})(e=>({marginBottom:e.$_css}));let en=(0,f.Ay)(Z.B).withConfig({componentId:"sc-fad004b6-0"})(["@media ","{","{margin-bottom:calc("," * -1);> hr{display:none;}}}"],x.I8.mediaquery.max.small,Z.o,x.I8.spacing.medium),es=(f.Ay.span.withConfig({componentId:"sc-fad004b6-1"}))(["",";line-height:",";font-size:",";margin:0;padding-block:",";display:inline-block;word-break:break-word;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},x.I8["line-height"].medium,x.I8.font.scale["1"],x.I8.spacing.medium);var eo=(0,f.Ay)(es).withConfig({componentId:"sc-fad004b6-2"})(["padding-left:calc( "," + "," );"],x.I8.spacing["xxxxx-small"],x.I8.spacing["xxxx-small"]);let el=(f.Ay.div.withConfig({componentId:"sc-fad004b6-3"}))(["display:flex;flex-direction:column;> div:first-of-type{width:15rem;align-self:end;margin-block:"," ",";@media ","{width:100%;margin-bottom:",";}}"],x.I8.spacing.large,x.I8.spacing["x-small"],x.I8.mediaquery.max.small,x.I8.spacing.large),er=(f.Ay.div.withConfig({componentId:"sc-fad004b6-4"}))(["@media ","{overflow-x:clip;}"],x.I8.mediaquery.min.small),ed=(0,f.Ay)(k.A).withConfig({componentId:"sc-fad004b6-5"})(["@media ","{width:calc(100% + ("," * 2));margin-left:calc("," * -1);}"],x.I8.mediaquery.max["x-small"],x.I8.spacing.medium,x.I8.spacing.medium),ec=(0,f.Ay)(k.A).withConfig({componentId:"sc-fad004b6-6"})(["@media ","{width:calc(100% - ("," * 2));}"," ",""],x.I8.mediaquery.min.small,x.I8.spacing.medium,e=>{let{$hideOnMobile:i}=e;return i&&`
33        @media ${x.I8.mediaquery.max["x-small"]} {
34            display: none;
35        }
36    `},e=>{let{$hideOnDesktop:i}=e;return i&&`
37        @media ${x.I8.mediaquery.min.small} {
38            display: none;
39        }
40    `}),em=(f.Ay.div.withConfig({componentId:"sc-fad004b6-7"}))([""," ",""],e=>{let{$desktopAd:i}=e;return i&&`
41        @media ${x.I8.mediaquery.max["x-small"]} {
42            display: none;
43        }
44    `},e=>{let{$mobileAd:i}=e;return i&&`
45        @media ${x.I8.mediaquery.min.small} {
46            display: none;
47        }
48    `}),eu=(e,i,t,a)=>a?"Hakutulokset haulla:":e?`Hakutulokset haulla: ${e}`:t&&i?`${i}, ${t}`:t?`Yritykset ${t}`:i||"",ep=[{value:"ALL",label:"Kaikki"},{value:"STA_AKT",label:"Aktiivinen"},{value:"STA_KESK",label:"Toiminta keskeytetty"},{value:"STA_LAK",label:"Toiminta lakannut"},{value:"STA_SANE",label:"Saneeraus"},{value:"STA_SELTILA",label:"Selvitystila"},{value:"STA_KONK",label:"Konkurssi"}];var eh=e=>{var i,t,a,n,s,o,l;let{searchTerm:r,locationCode:d,industryCode:f,isDirectoryListing:k=!1,initialPage:w}=e,[A,C]=(0,y.useState)(!1),[$,L]=(0,y.useState)(w??1),[M,q]=(0,y.useState)(ep[0]),D=y.useRef(null),{data:O}=S._.useGetCodesQuery(),{data:N,isFetching:E}=S._.useGetCompanySearchQuery({name:r,location:d,industry:f,statusCode:(null==M?void 0:M.value)==="ALL"||null==M?void 0:M.value,page:$,size:10},{skip:!!(r&&r.length<=1)||!r&&!d&&!f}),R=r&&r.length>0,K=(null==N?void 0:N.totalAvailable)??0,Y=K>300,F=(0,y.useMemo)(()=>d?null==O?void 0:O.SC.find(e=>e.value===d):void 0,[O,d]),H=(0,y.useMemo)(()=>{var e;return f?null==O||null==(e=O.TOL25)?void 0:e.find(e=>e.value===f):void 0},[O,f]);return(0,g.jsxs)(en,{metaTitle:(t=null==H?void 0:H.label,a=null==F?void 0:F.label,t&&a?`${t} ${a} | Yritykset`:t||(a?`Yritykset ${a}`:"Kauppalehti Yrityshaku")),metaDescription:(n=null==H?void 0:H.label,s=null==F?void 0:F.label,n&&s?`L\xf6yd\xe4 kaikki paikkakunnalla ${s} toimivien ${n} -toimialan yritysten yritystiedot ja taloustiedot.`:n?`L\xf6yd\xe4 kaikki toimialan ${n} yritysten yritystiedot, taloustiedot ja muut luvut k\xe4tev\xe4sti yhdest\xe4 paikasta.`:s?`L\xf6yd\xe4 kaikki paikkakunnan ${s} kaikkien yritysten yritystiedot, taloustiedot ja muut luvut k\xe4tev\xe4sti yhdest\xe4 paikasta.`:"Hae yritysten liikevaihdot, taloustiedot ja yhteystiedot yhdellä haulla. Löydä yritykset nimellä, Y-tunnuksella tai toimialan perusteella."),title:"Yrityshaku",sidebarContent:c||(c=(0,g.jsx)(et,{})),loading:E,id:"srp-c",hasMainH1Elsewhere:!0,children:[k&&(null==N?void 0:N.companies)&&(0,g.jsx)(T.V1,{companies:N.companies,locationName:null==F?void 0:F.label,industryName:null==H?void 0:H.label}),R||k?(0,g.jsx)(P.A,{initialValue:r,cssProps:`
49                                border-bottom: ${x.I8.border["x-small"]} solid ${x.I8.color.border["1"]};
50                                padding-bottom: ${x.I8.spacing.small};
51
52                                @media ${x.I8.mediaquery.min.medium} {
53                                    padding-bottom: ${x.I8.spacing.large};
54                                }
55                            `,extendedSearchHandler:()=>C(!0),onSearchCleanup:()=>{L(1),q(ep[0])}}):(0,g.jsxs)(ey,{direction:"flex",gap:x.I8.spacing["x-small"],children:[(0,g.jsx)(eg,{icon:m||(m=(0,g.jsx)(I.A,{size:"core.size.
55icon.medium"})),onClick:()=>C(!0),children:"Muokkaa hakuehtoja"}),(0,g.jsx)(_.N_,{href:"/yritykset",customComponent:(0,g.jsx)(ef,{icon:u||(u=(0,g.jsx)(j.A,{size:"core.size.icon.medium"})),tagAs:"a",children:"Uusi haku"})})]}),A&&(0,g.jsx)(Q.A,{closeSearch:()=>C(!1),initialIndustry:H,initialLocation:F}),(0,g.jsx)(es,{as:k?"h1":"span",children:k?(o=null==H?void 0:H.label,l=null==F?void 0:F.label,o&&l?`${o} ${l}`:l?`Yritykset paikkakunnalla: ${l}`:o?`Yritykset toimialalla: ${o}`:""):eu(void 0,void 0,void 0,!r)}),!k&&(0,g.jsx)(eo,{as:"h1",children:eu(r,null==H?void 0:H.label,null==F?void 0:F.label)}),(0,g.jsx)(v.A,{type:"info",header:Y?"Haku tuotti yli 300 tulosta":0===K?"Ei hakutuloksia":`Haku tuotti ${K} tulosta`,text:Y?"Listassa näytetään 300 yrityksen tiedot. Tarkenna hakuasi rajataksesi tulosten määrää.":void 0}),p||(p=(0,g.jsx)(z.zI,{id:"almad-leaderboard-",orderNumber:1,viewportTo:576})),!k&&(0,g.jsx)(G.A,{title:"Laajat yrityslistaukset",link:"https://www.almainsights.fi/yritystietopalvelut/data/#loyda",buttonText:"Tutustu Alma Insights -palveluihin",icon:(0,g.jsx)(ex,{size:"core.size.
55icon.medium",$_css:x.I8.spacing["x-small"]})}),(0,g.jsxs)(el,{ref:D,children:[(0,g.jsx)(b.A,{id:"search-filtering",placeholder:"Näytä",options:ep,isSearchable:!1,value:M,onChange:e=>{q(e),L(1),(0,J.g)(1)},maxMenuHeight:324}),(0,g.jsx)(er,{children:null==N||null==(i=N.companies)?void 0:i.map((e,i,t)=>{let a=1===i,n=3===i;return(0,g.jsxs)(y.Fragment,{children:[(a||n)&&(0,g.jsxs)(em,{$mobileAd:n,$desktopAd:a,children:[(0,g.jsx)(ed,{thickness:"core.size.line.thin",color:"core.color.border.1",spacing:{size:"core.spacing.small",sides:["top","bottom"]}}),(0,g.jsx)(z.F0,{orderNumber:1,viewportFrom:a?576:void 0,viewportTo:n?576:void 0}),(0,g.jsx)(ed,{thickness:"core.size.line.thin",color:"core.color.border.1",spacing:{size:"core.spacing.small",sides:["top","bottom"]}})]}),(0,g.jsx)(W,{company:e}),i!==t.length-1&&(0,g.jsx)(ec,{thickness:"core.size.line.thin",color:"core.color.border.1",spacing:{size:"core.spacing.small",sides:["top","bottom"]},$hideOnDesktop:0===i,$hideOnMobile:2===i})]},e.id)})})]}),(0,g.jsx)(J.A,{currentPage:$,handlePageChange:e=>{L(e),D.current&&D.current.scrollIntoView({behavior:"instant",block:"start"})},dataLength:K>300?300:K,resultDisplayAmount:10}),h||(h=(0,g.jsx)(z.F0,{orderNumber:1,postContent:!0,skipPlaceholder:!0,viewportFrom:992}))]})},eg=(0,f.Ay)(w.A).withConfig({componentId:"sc-fad004b6-8"})(["@media ","{width:100%;}"],x.I8.mediaquery.max["x-small"]),ey=(0,f.Ay)(A.A).withConfig({componentId:"sc-fad004b6-9"})(["@media ","{padding-top:",";}"],x.I8.mediaquery.max.small,x.I8.spacing["x-large"]),ef=(0,f.Ay)(C.A).withConfig({componentId:"sc-fad004b6-10"})(["@media ","{width:100%;}"],x.I8.mediaquery.max["x-small"]),ex=(0,f.Ay)($.A).withConfig({componentId:"sc-fad004b6-11"})(e=>({verticalAlign:"-0.125em",marginRight:e.$_css}))},yk(e,i,t){t.r(i),t.d(i,{default:()=>sq});var a,n,s,o,l,r,d,c,m,u,p,h,g,y,f,x,k,I,j,v,b,w,A,C,$,z,_,T,S,P,L,M,q,D,O,N,E,R,K,Y,F,H,B,V,X,U,W,J,Q,G,Z,ee,ei,et,ea,en,es,eo,el,er,ed,ec,em,eu,ep,eh,eg,ey,ef,ex,ek,eI,ej,ev,eb,ew,eA,eC,e$,ez,e_=t("X"),eT=t("u"),eS=t("B9"),eP=t("tE"),eL=t("Xo"),eM=t("zQ"),eq=t("Ui"),eD=t("im"),eO=t("vK"),eN=t("WV"),eE=t("ZX"),eR=t("fQ"),eK=t("tC6"),eY=t("vZ"),eF=t("Xi"),eH=t("XF"),eB=t("ZB"),eV=t("XE"),eX=t("KR"),eU=t("pG"),eW=t("Hu"),eJ=t("WuP"),eQ=t("Da"),eG=t("kdB"),eZ=t("J2"),e0=t("RO"),e1=t("rN"),e8=t("Mo"),e2=t("Dn"),e3=t("gr"),e4=t("rw"),e5=t("EeT"),e6=t("hRE");let e7=(0,eP.Ay)(e1.J).withConfig({componentId:"sc-c631b859-0"})(["padding:"," ",";@media ","{padding:"," "," "," ",";}@media ","{padding:"," "," "," ",";}"],eL.I8.spacing.medium,eL.I8.spacing.large,eL.I8.mediaquery.max.medium,eL.I8.spacing.medium,eL.I8.spacing.large,eL.I8.spacing.large,eL.I8.spacing.large,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium,eL.I8.spacing.medium,eL.I8.spacing.large,eL.I8.spacing.medium);var e9=(0,eP.Ay)(e7).withConfig({componentId:"sc-c631b859-1"})(["",""],e=>e.$_css2);let ie=(0,eP.Ay)(e1.J.Content).withConfig({componentId:"sc-c631b859-2"})(["display:flex;justify-content:space-between;align-items:center;gap:",";@media ","{flex-direction:column;align-items:flex-start;gap:",";width:100%;}@media ","{gap:",";}"],eL.I8.spacing["xx-large"],eL.I8.mediaquery.max.medium,eL.I8.spacing.small,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium),ii=(eP.Ay.div.withConfig({componentId:"sc-c631b859-3"}))(["display:flex;gap:",";flex-shrink:0;button{min-width:206px;}@media ","{width:100%;> a{flex:1;}}@media ","{flex-direction:column;a{width:100%;}}"],eL.I8.spacing.small,eL.I8.mediaquery.max.medium,eL.I8.mediaquery.max["x-small"]),it=(0,eP.Ay)(e1.J.PromotionCTAButton).withConfig({componentId:"sc-c631b859-4"})(["width:100%;"]);var ia=e=>{let{css:i}=e,{containerRef:t,handleClick:l}=(0,e5.E)({eventCategory:"Insights_promo",mediaShort:"ai"});return(0,e_.jsx)(e9,{ref:t,$_css2:i,children:(0,e_.jsxs)(ie,{children:[(0,e_.jsxs)(io,{children:[(0,e_.jsx)(is,{size:"core.size.
55icon.medium",$_css:eL.I8.spacing["xx-small"]}),"Analysoi, vertaile ja seuraa yrityksiä Alma Insights - palveluissa"]}),(0,e_.jsxs)(ii,{children:[(0,e_.jsx)(eU.Ay,{href:`https://www.almainsights.fi/yritystietopalvelut/data/${(0,e6.V)("top_promotion")}#analysoi`,external:!0,openInNewTab:!0,analyticsInfo:{page:"yrityshaku",container:["yrityssivu"],index:[0]},customComponent:a||(a=(0,e_.jsx)(e8.Ay,{focusOutline:"medium",focusOutlineOffset:"medium",noUnderlineOnHover:!0})),onClick:l,children:n||(n=(0,e_.jsx)(it,{icon:(0,e_.jsx)(e2.A,{size:"core.size.icon.medium"}),tabIndex:-1,children:"Lisää yritys vertailuun"}))}),(0,e_.jsx)(eU.Ay,{href:`https://www.almainsights.fi/yritystietopalvelut/data/${(0,e6.V)("top_promotion")}#loyda`,external:!0,openInNewTab:!0,analyticsInfo:{page:"yrityshaku",container:["yrityssivu"],index:[0]},customComponent:s||(s=(0,e_.jsx)(e8.Ay,{focusOutline:"medium",focusOutlineOffset:"medium",noUnderlineOnHover:!0})),onClick:l,children:o||(o=(0,e_.jsx)(it,{icon:(0,e_.jsx)(e3.A,{size:"core.size.icon.medium"}),tabIndex:-1,children:"Seuraa yritystä"}))})]})]})})},is=(0,eP.Ay)(e4.A).withConfig({componentId:"sc-c631b859-5"})(e=>({verticalAlign:"-0.125em",marginRight:e.$_css})),io=(0,eP.Ay)(e1.J.PromotionText).withConfig({componentId:"sc-c631b859-6"})({display:"inline"}),il=t("ge");let ir=(0,eP.Ay)(e1.J).withConfig({componentId:"sc-fdeee2e8-0"})(["padding:"," ",";margin:"," 0 ",";@media ","{padding:"," ",";margin-top:",";}"],eL.I8.spacing.small,eL.I8.spacing.large,eL.I8.spacing.large,eL.I8.spacing["x-large"],eL.I8.mediaquery.max["x-small"],eL.I8.spacing.small,eL.I8.spacing.medium,eL.I8.spacing.small),id=(0,eP.Ay)(eU.N_).withConfig({componentId:"sc-fdeee2e8-1"})(["align-content:center;"]);var ic=(0,eP.Ay)(il.A).withConfig({componentId:"sc-fdeee2e8-2"})(e=>({marginLeft:e.$_css})),im=t("QK"),iu=t("bu"),ip=t("s1"),ih=t("XA");let ig=(0,eP.Ay)(e1.J.PromotionCTAButton).withConfig({componentId:"sc-50a6d6c1-0"})(["width:100%;"]),iy=(0,eP.Ay)(e1.J.RightColumn).withConfig({componentId:"sc-50a6d6c1-1"})(["width:100%;margin:0;padding:0 ",";@media ","{gap:",";padding:0;}@media ","{gap:",";}"],eL.I8.spacing.large,eL.I8.mediaquery.max.medium,eL.I8.spacing["xx-large"],eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium),ix=(0,eP.Ay)(e1.J.PromotionText).withConfig({componentId:"sc-50a6d6c1-2"})(["display:inline;@media ","{width:300px;}@media ","{width:auto;}"],eL.I8.mediaquery.max.medium,eL.I8.mediaquery.max["x-small"]),ik=(0,eP.Ay)(eU.Ay).withConfig({componentId:"sc-50a6d6c1-3"})(["@media ","{align-self:stretch;}"],eL.I8.mediaquery.max["x-small"]);var iI=e=>{let{customLinkText:i,customLinkUrl:t}=e,{containerRef:a,handleClick:n}=(0,e5.E)({eventCategory:"Insights_promo",mediaShort:"ai"});return(0,e_.jsxs)(iy,{ref:a,children:[(0,e_.jsxs)(ix,{children:[(0,e_.jsx)(ij,{size:"core.size.
55icon.medium",$_css:eL.I8.spacing["x-small"]}),i??"Katso kaikki yrityksen luokitustiedot Alma Insights -palveluista"]}),(0,e_.jsx)(ik,{href:t??`https://www.almainsights.fi/yritystietopalvelut/data/${(0,e6.V)("ratings_promo")}#yritysluokitukset`,external:!0,openInNewTab:!0,customComponent:l||(l=(0,e_.jsx)(e8.Ay,{focusOutline:"medium",focusOutlineOffset:"medium",noUnderlineOnHover:!0})),onClick:n,children:r||(r=(0,e_.jsx)(ig,{tabIndex:-1,children:"Tutustu palveluihin"}))})]})},ij=(0,eP.Ay)(ih.A).withConfig({componentId:"sc-50a6d6c1-4"})(e=>({verticalAlign:"-0.125em",marginRight:e.$_css}));let iv="104px",ib=(0,eP.Ay)(e1.J.Content).withConfig({componentId:"sc-ea24fca1-0"})(["display:grid;grid-template-columns:2fr 1px 1fr;gap:0;@media ","{display:block;gap:0;}"],eL.I8.mediaquery.max.medium),iw=(eP.Ay.div.withConfig({componentId:"sc-ea24fca1-1"}))(["height:calc(100% - "," * 2);margin-top:",";display:flex;align-items:flex-start;justify-content:center;@media ","{display:none;}"],eL.I8.spacing.medium,eL.I8.spacing.medium,eL.I8.mediaquery.max.medium),iA=(eP.Ay.span.withConfig({componentId:"sc-ea24fca1-2"}))(["display:inline-flex;align-items:center;margin-left:",";"],eL.I8.spacing["xxx-small"]),iC=(eP.Ay.div.withConfig({componentId:"sc-ea24fca1-3"}))(["display:flex;align-items:center;gap:",";flex-shrink:0;width:",";justify-content:center;"],eL.I8.spacing["xxxx-small"],iv),i$=(eP.Ay.div.withConfig({componentId:"sc-ea24fca1-4"}))(["display:flex;align-items:center;gap:",";width:100%;"],eL.I8.spacing.small),iz=(eP.Ay.div.withConfig({componentId:"sc-ea24fca1-5"}))(["flex:1;display:flex;flex-direction:column;gap:",";"],eL.I8.spacing["xxxx-small"]),i_=(eP.Ay.div.withConfig({componentId:"sc-ea24fca1-6"}))(["display:none;@media ","{display:flex;padding:0 ",";}@media ","{padding:0 ",";}"],eL.I8.mediaquery.max.medium,eL.I8.spacing.large,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium),iT=(0,eP.Ay)(e1.J.LeftColumn).withConfig({componentId:"sc-ea24fca1-7"})(["display:flex;flex-direction:column;gap:",";@media ","{padding:0 ",";gap:",";}@media ","{padding:0 ",";}"],eL.I8.spacing.medium,eL.I8.mediaquery.max.medium,eL.I8.spacing.large,eL.I8.spacing.medium,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium),iS=(eP.Ay.div.withConfig({componentId:"sc-ea24fca1-8"}))(["display:flex;flex-direction:column;align-items:center;gap:",";@media ","{align-items:stretch;padding:"," ",";}@media ","{padding:",";}"],eL.I8.spacing.medium,eL.I8.mediaquery.max.medium,eL.I8.spacing.medium,eL.I8.spacing.large,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium),iP=(eP.Ay.div.withConfig({componentId:"sc-ea24fca1-9"}))(["display:flex;align-items:center;gap:",";flex-shrink:0;width:",";justify-content:center;"],eL.I8.spacing["xx-small"],iv),iL=(eP.Ay.div.withConfig({componentId:"sc-ea24fca1-10"}))(["display:flex;justify-content:center;align-items:center;width:",";flex-shrink:0;svg{width:",";height:auto;}"],iv,eL.I8.size.icon["xxxx-large"]);var iM=()=>d||(d=(0,e_.jsx)(e1.J,{children:(0,e_.jsxs)(ib,{children:[(0,e_.jsxs)(iT,{children:[(0,e_.jsxs)(i$,{children:[(0,e_.jsxs)(iz,{children:[(0,e_.jsxs)(e1.J.PromotionSubheadline,{children:["Menestyjäluokitus",(0,e_.jsx)(iA,{children:(0,e_.jsx)(e4.A,{size:"core.size.
55icon.small"})})]}),(0,e_.jsx)(e1.J.PromotionDescription,{children:"Menestyjäluokitus kuvaa yrityksen liiketaloudellista menestystä suhteessa muihin yrityksiin."})]}),(0,e_.jsxs)(iC,{children:[(0,e_.jsx)(ip.A,{size:"core.size.icon.medium",color:"core.color.primary.4"}),(0,e_.jsx)(ip.A,{size:"core.size.icon.medium",color:"core.color.primary.4"}),(0,e_.jsx)(ip.A,{size:"core.size.icon.medium",color:"core.color.primary.4"}),(0,e_.jsx)(ip.A,{size:"core.size.icon.medium",color:"core.color.primary.4"}),(0,e_.jsx)(ip.A,{size:"core.size.icon.medium",color:"core.color.primary.4"})]})]}),(0,e_.jsxs)(i$,{children:[(0,e_.jsxs)(iz,{children:[(0,e_.jsxs)(e1.J.PromotionSubheadline,{children:["Alma Risk Rating",(0,e_.jsx)(iA,{children:(0,e_.jsx)(e4.A,{size:"core.size.icon.small"})})]}),(0,e_.jsx)(e1.J.PromotionDescription,{children:"Alma Risk Rating arvioi yrityksen luottokelpoisuutta ja maksukykyä."})]}),(0,e_.jsx)(iL,{children:(0,e_.jsx)(im.V,{color:"core.color.primary.4"})})]}),(0,e_.jsxs)(i$,{children:[(0,e_.jsxs)(iz,{children:[(0,e_.jsxs)(e1.J.PromotionSubheadline,{children:["Intrum-perintäluokitus",(0,e_.jsx)(iA,{children:(0,e_.jsx)(e4.A,{size:"core.size.
55icon.small"})})]}),(0,e_.jsx)(e1.J.PromotionDescription,{children:"Intrum-perintäluokitus arvioi yrityksen maksukykyä."})]}),(0,e_.jsxs)(iP,{children:[(0,e_.jsx)(iu.A,{size:"core.size.icon.small",color:"core.color.primary.4"}),(0,e_.jsx)(iu.A,{size:"core.size.icon.small",color:"core.color.primary.4"}),(0,e_.jsx)(iu.A,{size:"core.size.icon.small",color:"core.color.primary.4"}),(0,e_.jsx)(iu.A,{size:"core.size.icon.small",color:"core.color.primary.4"}),(0,e_.jsx)(iu.A,{size:"core.size.icon.small",color:"core.color.primary.4"})]})]})]}),(0,e_.jsx)(iw,{children:(0,e_.jsx)(eq.mp,{})}),(0,e_.jsx)(i_,{children:(0,e_.jsx)(eq.CK,{})}),(0,e_.jsx)(iS,{children:(0,e_.jsx)(iI,{})})]})}));let iq=(0,eP.Ay)(e1.J.Content).withConfig({componentId:"sc-ed2fe8d9-0"})(["display:grid;grid-template-columns:2fr 1px 1fr;position:relative;gap:0;@media ","{grid-template-columns:1fr;}"],eL.I8.mediaquery.max.medium),iD=(eP.Ay.div.withConfig({componentId:"sc-ed2fe8d9-1"}))(["height:calc(100% - "," * 2);margin-top:",";@media ","{display:none;}"],eL.I8.spacing.medium,eL.I8.spacing.medium,eL.I8.mediaquery.max.medium),iO=(eP.Ay.div.withConfig({componentId:"sc-ed2fe8d9-2"}))(["display:none;@media ","{display:flex;padding:0 ",";}@media ","{padding:0 ",";}"],eL.I8.mediaquery.max.medium,eL.I8.spacing.large,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium),iN=(eP.Ay.div.withConfig({componentId:"sc-ed2fe8d9-3"}))(["display:flex;align-items:center;justify-content:space-between;"]),iE=(eP.Ay.div.withConfig({componentId:"sc-ed2fe8d9-4"}))(["> ",":first-child{padding-top:",";}> ",":last-child{padding-bottom:",";}"],iN,eL.I8.spacing["x-small"],iN,eL.I8.spacing["x-small"]),iR=(eP.Ay.hr.withConfig({componentId:"sc-ed2fe8d9-5"}))(["border:none;border-bottom:1px solid ",";margin:"," 0;"],eL.I8.color.border["1"],eL.I8.spacing["x-small"]),iK=(0,eP.Ay)(e1.J.LeftColumn).withConfig({componentId:"sc-ed2fe8d9-6"})(["@media ","{margin:0;padding:"," "," "," ",";}@media ","{padding:"," ",";}@media ","{padding:"," ",";}"],eL.I8.mediaquery.max.medium,eL.I8.spacing.medium,eL.I8.spacing.large,eL.I8.spacing["x-small"],eL.I8.spacing.large,eL.I8.mediaquery.max.small,eL.I8.spacing.small,eL.I8.spacing.large,eL.I8.mediaquery.max["x-small"],eL.I8.spacing["x-small"],eL.I8.spacing.medium);var iY=(0,eP.Ay)(iK).withConfig({componentId:"sc-ed2fe8d9-7"})({gap:0});let iF=(eP.Ay.div.withConfig({componentId:"sc-ed2fe8d9-8"}))(["flex:1;"]),iH=(eP.Ay.div.withConfig({componentId:"sc-ed2fe8d9-9"}))(["display:flex;flex-direction:column;align-items:center;gap:",";@media ","{align-items:stretch;padding:"," ",";}@media ","{padding:"," "," "," ",";}"],eL.I8.spacing.medium,eL.I8.mediaquery.max.medium,eL.I8.spacing.medium,eL.I8.spacing.large,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium,eL.I8.spacing.medium,eL.I8.spacing.large,eL.I8.spacing.medium),iB=e=>{let{items:i,customLinkText:t,customLinkUrl:a}=e;return(0,e_.jsx)(e1.J,{children:(0,e_.jsxs)(iq,{children:[(0,e_.jsx)(iY,{children:(0,e_.jsx)(iE,{children:i.map((e,t)=>(0,e_.jsxs)(eT.Fragment,{children:[(0,e_.jsxs)(iN,{children:[(0,e_.jsx)(iF,{children:(0,e_.jsx)(e1.J.PromotionListText,{children:e})}
55),c||(c=(0,e_.jsx)(e4.A,{size:"core.size.icon.small"}))]}),t<i.length-1&&(m||(m=(0,e_.jsx)(iR,{})))]},e))})}),u||(u=(0,e_.jsx)(iD,{children:(0,e_.jsx)(eq.mp,{})})),p||(p=(0,e_.jsx)(iO,{children:(0,e_.jsx)(eq.CK,{})})),(0,e_.jsx)(iH,{children:(0,e_.jsx)(iI,{customLinkText:t,customLinkUrl:a})})]})})},iV=["Kaupparekisteriote","Yrityksen maksuhäiriöt","Tilinpäätös","Vastuuhenkilöt ja nimenkirjoittajat","Yhtiöjärjestys"],iX=()=>(0,e_.jsx)(iB,{items:iV,customLinkText:"Hae kaikki yrityksen viralliset raportit Alma Insights -palveluista",customLinkUrl:`https://www.almainsights.fi/yritystietopalvelut/data/${(0,e6.V)("report_promotion")}#taloustiedot`}),iU=(0,eP.Ay)(e1.J.Content).withConfig({componentId:"sc-6c62fba1-0"})(["display:flex;justify-content:space-between;align-items:center;flex-direction:row;gap:",";padding:",";@media ","{flex-direction:column;align-items:stretch;gap:",";padding:",";}"],eL.I8.spacing.large,eL.I8.spacing.large,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium,eL.I8.spacing.medium),iW=(0,eP.Ay)(e1.J.PromotionText).withConfig({componentId:"sc-6c62fba1-1"})(["",";font-size:",";line-height:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.medium},eL.I8.font.scale["0"],eL.I8["line-height"].medium);var iJ=()=>{let{containerRef:e,handleClick:i}=(0,e5.E)({eventCategory:"Insights_promo",mediaShort:"ai"});return(0,e_.jsx)(e1.J,{ref:e,children:(0,e_.jsxs)(iU,{children:[h||(h=(0,e_.jsx)(iW,{as:"span",children:"Tavoita mm. myynnin, talouden ja tietohallinnon päätöksentekijät. Katso kaikki yrityksen toimipaikat ja päätöksentekijät yhteystietoineen Alma Insights -palveluista."})),(0,e_.jsx)(eU.Ay,{href:`https://www.almainsights.fi/yritystietopalvelut/data/${(0,e6.V)("other_decision_makers_promo")}#paattajadata`,external:!0,openInNewTab:!0,customComponent:g||(g=(0,e_.jsx)(e8.Ay,{focusOutline:"medium",focusOutlineOffset:"medium",noUnderlineOnHover:!0})),onClick:i,children:y||(y=(0,e_.jsx)(e1.J.PromotionCTAButton,{tabIndex:-1,children:"Tutustu palveluihin"}))})]})})},iQ=t("t1"),iG=t("dP"),iZ=t("zL"),i0=t("fR"),i1=t("Tug");let i8=(eP.Ay.div.withConfig({componentId:"sc-476c95af-0"}))(["display:flex;gap:",";align-items:flex-end;"],eL.I8.spacing["x-small"]),i2=(eP.Ay.h1.withConfig({componentId:"sc-476c95af-1"}))(["",";line-height:",";font-size:",";color:",";margin:0;@media ","{font-size:",";}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.heavy},eL.I8["line-height"].medium,eL.I8.font.scale["4"],eL.I8.color.primary.foreground,eL.I8.mediaquery.min.small,eL.I8.font.scale["3"]),i3=(eP.Ay.h2.withConfig({componentId:"sc-476c95af-2"}))(["",";font-size:",";line-height:",";color:",";margin:0;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},eL.I8.font.scale["1"],eL.I8["line-height"].medium,eL.I8.color.primary.foreground),i4=(eP.Ay.p.withConfig({componentId:"sc-476c95af-3"}))(["",";line-height:",";font-size:",";color:",";margin:"," 0 0 0;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},eL.I8["line-height"].medium,eL.I8.font.scale["0"],eL.I8.color.primary.foreground,eL.I8.spacing["xx-small"]),i5=(0,eP.Ay)(eB.vG).withConfig({componentId:"sc-476c95af-4"})(["background-color:transparent;border-radius:",";",""],eL.I8.spacing.small,eB.f1),i6=(0,eP.Ay)(eB.Dm).withConfig({componentId:"sc-476c95af-5"})(["width:100%;height:9rem;border-radius:",";margin-top:",";"],eL.I8.spacing["xx-small"],eL.I8.spacing.small),i7=e=>new Intl.NumberFormat("fi-FI").format(Math.round(e)),i9=e=>{let{name:i,localId:t,statusCode:a,formCode:n}=e,{description:s,isLoading:o}=(e=>{var i,t;let{data:a}=eK._.useGetCompanySearchQuery({name:(0,eY.gh)(e),size:1}),n=(null==a||null==(t=a.companies)||null==(i=t[0])?void 0:i.id)??"",{data:s}=eK._.useGetCompanyDataQuery({id:n},{skip:0===n.length}),{data:o,isLoading:l}=eK._.useGetFinancialInformationQuery({id:n,type:"parent"},{skip:0===n.length}),{data:r,isLoading:d}=eK._.useGetFinancialInformationQuery({id:n,type:"concern"},{skip:0===n.length}),{data:c}=eK._.useGetCodesQuery(),m=eT.useCallback(()=>{var e,i,t,a;let n;if(!s||!c)return"";let{formCode:l,tol2025IndustryCode:d,name:m,localId:u}=s,p=(null==(i=c.CO)||null==(e=i.find(e=>e.value===l))?void 0:e.label)||l,h=(null==(a=c.TOL25)||null==(t=a.find(e=>e.value===d))?void 0:t.label)||d,g=m?`${m} (${(0,eY.gh)(u)})`:`(${(0,eY.gh)(u)})`;p&&(g+=` on ${p}`),h&&(g+=`. Sen toimialana on ${h}`);let y=[...(null==o?void 0:o.content)??[]].sort((e,i)=>new Date(i.statementDate).getTime()-new Date(e.statementDate).getTime()),f=[...(null==r?void 0:r.content)??[]].sort((e,i)=>new Date(i.statementDate).getTime()-new Date(e.statementDate).getTime()),x=(e,i)=>({latest:e[0],isParent:i});if(y.length&&f.length?n=new Date(y[0].statementDate).getTime()>
55new Date(f[0].statementDate).getTime()?x(y,!0):x(f,!1):y.length?n=x(y,!0):f.length&&(n=x(f,!1)),n){let{latest:e,isParent:i}=n,{turnover:t,operatingProfit:a,personnelAverage:s,statementDate:o}=e,l=(null==r?void 0:r.content)&&0!==r.content.length?"Emoyhtiö":"Yritykse",d=(0,iG.isWithinInterval)(new Date(o),{start:(0,iZ.subYears)(new Date,2),end:new Date});if(o){let e=(0,i0.format)(new Date(o),"MM/yyyy");g+=`. ${i?`${l}n`:"Konsernin"} ${d?"viime":""} tilikautena ${e}`,t&&(g+=`, ${m} teki ${i7(t)} EUR liikevaihtoa`),a&&(g+=` ja sen tulos oli ${i7(a)} EUR`),t&&a&&(g+=`. ${i?`${l}n`:"Konsernin"} nettotulosprosentti oli ${i7(a/t*100)}%`)}if(s&&s>0){let e=1===s?"henkilö":"henkilöä";g+=`. ${i?`${l}ss\xe4`:"Konsernissa"} ty\xf6skentelee ${i7(s)} ${e}`}}return g+". Katso kaikki yrityksen julkiset tiedot alta!"},[s,o,r,c]);return eT.useMemo(()=>({description:m(),isLoading:!s||!c||l&&d}),[s,c,o,r,m,l,d])})(t);return(0,e_.jsxs)(eD.A,{gap:0,children:[(0,e_.jsxs)(i8,{children:[(0,e_.jsx)(i2,{as:i?"h1":"span",children:i??n}),a&&(0,i1.Ay)(a)]}),(0,e_.jsx)(i3,{as:i?"h2":"h1",children:`(${(0,eY.gh)(t)})`}),o?f||(f=(0,e_.jsx)(i5,{children:(0,e_.jsx)(i6,{})})):s&&(0,e_.jsx)(i4,{"data-nosnippet":!0,children:s})]})},te=(eP.Ay.div.withConfig({componentId:"sc-6b1c5d57-0"}))(["display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;@media ","{flex-direction:column;align-items:center;text-align:center;}"],eL.I8.mediaquery.min.large),ti=(eP.Ay.div.withConfig({componentId:"sc-6b1c5d57-1"}))(["display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center;gap:",";@media ","{flex-direction:column;align-items:center;gap:",";}@media ","{padding-block:"," ",";margin-top:",";}"],eL.I8.spacing.large,eL.I8.mediaquery.min.large,eL.I8.spacing.medium,eL.I8.mediaquery.max.medium,eL.I8.spacing["xxx-small"],eL.I8.spacing.small,eL.I8.spacing["x-small"]),tt=(eP.Ay.div.withConfig({componentId:"sc-6b1c5d57-2"}))(["display:flex;flex-direction:column;gap:",";flex:1;@media ","{align-items:center;}"],eL.I8.spacing["xxxx-small"],eL.I8.mediaquery.min.large),ta=(eP.Ay.div.withConfig({componentId:"sc-6b1c5d57-3"}))(["display:grid;grid-template-columns:",";column-gap:",";align-self:start;width:100%;@media ","{order:-1;}@media ","{max-width:25%;min-width:9rem;}"],e=>1===e.imageCount?"1fr":(2===e.imageCount||3===e.imageCount||e.imageCount,"repeat(2, 1fr)"),eL.I8.spacing.small,eL.I8.mediaquery.min.large,eL.I8.mediaquery.max.medium),tn=(eP.Ay.img.withConfig({componentId:"sc-6b1c5d57-4"}))(["width:100%;object-fit:contain;display:block;grid-column:",";justify-self:center;max-width:",";@media ","{max-height:6rem;max-width:",";}"],e=>{let{$onlyOneOnRow:i}=e;return i?"1 / -1":"auto"},e=>{let{$onlyOneOnRow:i}=e;return i?`calc(50% - ${eL.I8.spacing.small} / 2)`:"100%"},eL.I8.mediaquery.max.medium,e=>{let{$onlyOneItem:i}=e;return i&&"100%"}),ts=(eP.Ay.p.withConfig({componentId:"sc-6b1c5d57-5"}))(["",";line-height:",";font-size:",";color:",";margin:0;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},eL.I8["line-height"].medium,eL.I8.font.scale[-1],eL.I8.color.primary.foreground),to={Risk:"Alma Risk Rating"},tl=(e,i)=>{let t=to[e]??e,a=t.includes(" ")?" -":"-";return`${t}${a}${i?"sertifikaatit":"sertifikaatin"}`},tr=e=>{let i,{performers:t=[]}=e;return t.length?(0,e_.jsx)(te,{children:(0,e_.jsxs)(ti,{children:[(0,e_.jsxs)(tt,{children:[(0,e_.jsx)(ts,{children:(e=>{let i=[...new Set(e)],t=new Map;i.forEach(e=>{let i=e.split(" ")[0];t.has(i)||t.set(i,i)});let a=Array.from(t.values());if(0===a.length)return"";let n=a.slice(0,-1).map(e=>{let i=to[e]??e;return`${i}${i.includes(" ")?" -":"-"}`}).join(", "),s=a[a.length-1];return`Kauppalehti on my\xf6nt\xe4nyt yritykselle ${1===a.length?tl(s,!1):`${n} ja ${tl(s,!0)}`}`})(t.map(e=>e.category))}),(0,e_.jsx)(eU.Ay,{href:1===(i=[...new Set(t.map(e=>e.category))]).length&&i[0].startsWith("Kasvumenestyjä")?`https://www.almainsights.fi/kaikki-tuotteet-ja-palvelut/kasvaja-sertifikaatti/${(0,e6.V)("performer_link")}`:`https://www.almainsights.fi/kaikki-tuotteet-ja-palvelut/menestyja-sertifikaatti/${(0,e6.V)("performer_link")}`,openInNewTab:!0,analyticsInfo:{page:"yrityshaku",container:["yrityssivu"],index:[0]},customComponent:(0,e_.jsx)(td,{focusOutline:"medium",focusOutlineOffset:"medium",noUnderlineOnHover:!0,icon:x||(x=(0,e_.jsx)(il.A,{size:"core.size.
55icon.small"})),iconPosition:"right",children:"Lue lisää"})})]}),(0,e_.jsx)(ta,{imageCount:t.length,children:t.map((e,i)=>(0,e_.jsx)(tn,{src:e.imageUrl,alt:"",$onlyOneOnRow:t.length%2==1&&i===t.length-1,$onlyOneItem:1===t.length,onError:e=>console.log("Image failed to load:",e)},e.id))})]})}):null};var td=(0,eP.Ay)(e8.Ay).withConfig({componentId:"sc-6b1c5d57-6"})(["padding-block:",";"],eL.I8.spacing["xxx-small"]),tc=t("Z3"),tm=t("tl"),tu=t("iB"),tp=t("NH"),th=t("yM"),tg=t("e3"),ty=t("jk"),tf=t("WR"),tx=t("Jw"),tk=t("gw");let tI=(0,eP.Ay)(tx.X).withConfig({componentId:"sc-5f0918-0"})(["h2{",";margin:0 0 "," 0;}"],tk.Ay.foundation.media.type.subtitle.heavy,eL.I8.spacing.medium),tj=(eP.Ay.p.withConfig({componentId:"sc-5f0918-1"}))(["",";margin-top:",";color:",";margin-bottom:",";font-size:",";line-height:1.2rem;text-align:left;"],tk.Ay.foundation.media.type.ui.normal,tk.Ay.foundation.core.spacing.medium,tk.Ay.foundation.core.color.primary.foreground,tk.Ay.foundation.core.spacing["xx-large"],tk.Ay.foundation.core.font.scale["-2"]),tv=(0,eP.Ay)(eD.A).withConfig({componentId:"sc-5f0918-2"})(["width:100%;"]),tb=(0,eP.Ay)(eD.A).withConfig({componentId:"sc-5f0918-3"})(["border-bottom:",";span{&:first-child{font-weight:",";}}padding:"," 0;font-size:",";"],e=>e.isLast?"none":`1px solid ${tk.Ay.foundation.core.color.border["1"]}`,tk.Ay.foundation.media.type.ui.heavy,tk.Ay.foundation.core.spacing.small,tk.Ay.foundation.core.font.scale["-2"]);var tw=e=>{let{isOpen:i,onClose:t}=e,a=[{id:"1",source:"Perustiedot",value:"Alma Insights, YTJ, PRH"},{id:"2",source:"Taloustiedot",value:"Alma Insights, PRH"},{id:"3",source:"Vastuuhenkilöt",value:"PRH"},{id:"4",source:"Rekisteröinnit ja nimitiedot",value:"YTJ"}];return(0,e_.jsxs)(tI,{open:i,onClose:t,hideCloseButton:!1,type:"dialogue",overlay:!0,dismissOnClickOutside:!1,dismissOnScrollOutside:!1,dismissOnResize:!1,hideLogo:!0,children:[k||(k=(0,e_.jsx)(tx.X.Content,{level:"heading",as:"h2",children:"Yritystietojen lähteet"})),(0,e_.jsx)(tv,{gap:0,children:a.map((e,i)=>(0,e_.jsxs)(tb,{justifyContent:"space-between",direction:"row",isLast:i===a.length-1,children:[(0,e_.jsx)("span",{children:e.source}),(0,e_.jsx)("span",{children:e.value})]},e.id))}),I||(I=(0,e_.jsxs)(tj,{children:["YTJ: Yritys- ja yhteisötietojärjestelmä",(0,e_.jsx)("br",{}),"PRH: Patentti- ja rekisterihallitus"]}))]})},tA=t("w3");let tC=(eP.Ay.div.withConfig({componentId:"sc-c8998365-0"}))(["width:100%;"]),t$=(eP.Ay.div.withConfig({componentId:"sc-c8998365-1"}))(["display:flex;justify-content:space-between;align-items:center;margin-block:"," ",";@media ","{margin-block:"," ",";}"],eL.I8.spacing["x-large"],eL.I8.spacing.small,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium,eL.I8.spacing["xxx-small"]),tz=(eP.Ay.h2.withConfig({componentId:"sc-c8998365-2"}))(["",";line-height:",";font-size:",";color:",";margin:0;@media ","{font-size:",";}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.heavy},eL.I8["line-height"].medium,eL.I8.font.scale["3"],eL.I8.color.primary.foreground,eL.I8.mediaquery.max["x-small"],eL.I8.font.scale["2"]),t_=(eP.Ay.ul.withConfig({componentId:"sc-c8998365-3"}))(["list-style:none;padding:0;margin:"," 0;width:100%;"],eL.I8.spacing.small),tT=(eP.Ay.li.withConfig({componentId:"sc-c8998365-4"}))(["border-top:1px solid ",";width:100%;display:grid;grid-template-columns:0.5fr 1.5fr;align-items:center;&:first-child{border-top:none;}"],eL.I8.color.border["2"]),tS=(0,eP.Ay)(tA.gf).withConfig({componentId:"sc-c8998365-5"})(["",";min-width:",";align-self:start;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},"108px"),tP=(0,eP.Ay)(tA.Du).withConfig({componentId:"sc-c8998365-6"})(["word-break:break-word;span{",";font-size:",";line-height:",";}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},eL.I8.font.scale[-1],eL.I8["line-height"].medium),tL=(0,eP.Ay)(tA.Du).attrs({as:"a"}).withConfig({componentId:"sc-c8998365-7"})(["color:",";text-decoration:none;display:flex;align-items:center;gap:",";&:hover{text-decoration:underline;}"],e=>{let{theme:i,$useBlueLink:t}=e;return t?i.foundation.media.color.primary[4]:eL.I8.color.primary.foreground},eL.I8.spacing["x-small"]),tM=(0,eP.Ay)(tP).withConfig({componentId:"sc-c8998365-8"})(["display:-webkit-box;-webkit-line-clamp:",";-webkit-box-orient:vertical;overflow:hidden;position:relative;"],e=>e.$isExpanded?"unset":"2"),tq=(eP.Ay.button.withConfig({componentId:"sc-c8998365-9"}))(["background:none;border:none;cursor:pointer;padding:"," 0;color:",";display:flex;align-items:center;gap:",";",";font-size:",";line-height:",";&:hover{text-decoration:underline;}"],eL.I8.spacing.small,e=>{let{theme:i}=e;return i.foundation.media.color.cta.secondary.normal},eL.I8.spacing["xx-small"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},eL.I8.font.scale[-1],eL.I8["line-height"].medium),tD=(eP.Ay.div.withConfig({componentId:"sc-c8998365-10"}))(["display:flex;flex-direction:column;padding:"," 0 0 ",";","{padding:0;}"],eL.I8.spacing["x-small"],eL.I8.spacing.small,tP),tO=(eP.Ay.div.withConfig({componentId:"sc-c8998365-11"}))(["display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;"]),tN=(0,eP.Ay)(tP).withConfig({componentId:"sc-c8998365-12"})(["display:flex;flex-direction:column;gap:",";@media ","{flex-direction:row;align-items:center;gap:",";justify-content:space-between;}"],eL.I8.spacing.small,eL.I8.mediaquery.min.large,eL.I8.spacing.medium),tE=(eP.Ay.span.withConfig({componentId:"sc-c8998365-13"}))(["",";color:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},eL.I8.color.primary.foreground),tR=(eP.Ay.div.withConfig({componentId:"sc-c8998365-14"}))(["display:flex;align-items:center;"]),tK=(eP.Ay.span.withConfig({componentId:"sc-c8998365-15"}))(["",";color:",";font-size:",";line-height:1.5;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},eL.I8.color.primary.foreground,eL.I8.font.scale["0"]),tY=e=>{let i,t,{localId:a,formCode:n,industry:s,industryCode:o,purpose:l,locationMunicipalityCode:r,locationMunicipalityLabel:d,visitingAddress:c,mailingAddress:m,phoneNumber:u,webUrl:p,ceoName:h,name:g}=e,[y,f]=eT.useState(!1),[x,k]=eT.useState(!1),[I,K]=eT.useState(!1),Y=(0,eT.useMemo)(()=>!("u"<typeof window)&&/iPhone|Android.*Mobile|BlackBerry|IEMobile/i.test(window.navigator.userAgent),[]),F=(0,eV.wA)(),H=(0,eT.useMemo)(()=>{var e;
55if(o)return null==(e=o.split(".").pop())?void 0:e.replace("TOL25_","")},[o]);return(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsxs)(tC,{"data-nosnippet":!0,children:[(0,e_.jsxs)(t$,{children:[j||(j=(0,e_.jsx)(tz,{children:"Perustiedot"})),(0,e_.jsx)(tH,{onClick:()=>k(!0),tagAs:"button",children:"Lähteet"})]}),(0,e_.jsxs)(t_,{children:[a&&(0,e_.jsxs)(tT,{children:[v||(v=(0,e_.jsx)(tS,{children:"Y-tunnus"})),(0,e_.jsx)(tP,{children:(0,eY.gh)(a)})]}),n&&(0,e_.jsxs)(tT,{children:[b||(b=(0,e_.jsx)(tS,{children:"Yhtiömuoto"})),(0,e_.jsx)(tP,{children:n})]}),s&&(0,e_.jsxs)(tT,{children:[w||(w=(0,e_.jsx)(tS,{children:"Toimiala"})),(0,e_.jsxs)(tL,{href:`/yritykset/toimialat/${encodeURIComponent(s.toLowerCase().replace(/[äå]/g,"a").replace(/ö/g,"o").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,""))}/${H}`,children:[s," ",H&&` (${H})`," ",A||(A=(0,e_.jsx)(il.A,{size:"core.size.icon.small"}))]})]}),l&&(0,e_.jsxs)(tT,{children:[C||(C=(0,e_.jsx)(tS,{children:"Toimialakuvaus"})),(0,e_.jsxs)(tD,{children:[(0,e_.jsx)(tM,{$isExpanded:y,children:l}),(0,e_.jsx)(tq,{onClick:()=>f(!y),children:y?$||($=(0,e_.jsxs)(e_.Fragment,{children:["Näytä vähemmän",(0,e_.jsx)(tc.A,{size:"core.size.
55icon.small"})]})):z||(z=(0,e_.jsxs)(e_.Fragment,{children:["Näytä lisää",(0,e_.jsx)(tm.A,{size:"core.size.icon.small"})]}))})]})]}),r&&(0,e_.jsxs)(tT,{children:[_||(_=(0,e_.jsx)(tS,{children:"Sijainti"})),(0,e_.jsxs)(tL,{href:`/yritykset/paikkakunta/${r}`,children:[d," ",T||(T=(0,e_.jsx)(il.A,{size:"core.size.icon.small"}))]})]}),(null==c?void 0:c.street)&&(0,e_.jsxs)(tT,{children:[S||(S=(0,e_.jsx)(tS,{children:"Käyntiosoite"})),(0,e_.jsxs)(tL,{href:(i=c.city||r||"",t=`${g} corporate office ${c.street}, ${i}, Finland`,`https://www.google.com/maps?q=${encodeURIComponent(t)}`),target:"_blank",rel:"noopener noreferrer",children:[c.street,c.city&&`, ${c.city}`,P||(P=(0,e_.jsx)(tu.A,{size:"core.size.icon.small"}))]})]}),(null==m?void 0:m.street)&&(0,e_.jsxs)(tT,{children:[L||(L=(0,e_.jsx)(tS,{children:"Postiosoite"})),(0,e_.jsxs)(tP,{children:[m.street,m.city&&`, ${m.city}`]})]}),u&&(0,e_.jsxs)(tT,{children:[M||(M=(0,e_.jsx)(tS,{children:"Puhelin"})),(0,e_.jsx)(tP,{children:(0,e_.jsx)(tR,{children:Y?(0,e_.jsx)(eU.N_,{href:`tel:${u}`,external:!0,customComponent:(0,e_.jsx)(e8.Ay,{focusOutline:"medium",focusOutlineOffset:"medium",icon:q||(q=(0,e_.jsx)(tp.A,{size:"core.size.
55icon.small"})),iconPosition:"right",children:u})}):(0,e_.jsx)(tB,{onClick:()=>{var e,i;u&&(null==(i=navigator.clipboard)||null==(e=i.writeText)||e.call(i,u),K(!0),F((0,tf.lm)({key:"message",value:"PHONE_NUMBER_COPIED"})),setTimeout(()=>K(!1),2e3))},"aria-label":I?"Puhelinnumero kopioitu":"Kopioi puhelinnumero",icon:D||(D=(0,e_.jsx)(th.A,{size:"core.size.icon.small",color:"core.color.primary.foreground"})),color:"core.color.primary.foreground",iconPositionRight:!0,children:(0,e_.jsx)(tK,{children:u})})})})]}),p&&(0,e_.jsxs)(tT,{children:[O||(O=(0,e_.jsx)(tS,{children:"Verkkosivu"})),(0,e_.jsx)(tP,{children:(0,e_.jsx)(tF,{external:!0,openInNewTab:!0,href:(null==p?void 0:p.startsWith("https://"))||(null==p?void 0:p.startsWith("http://"))?p:`https://${p}`,customComponent:(0,e_.jsx)(e8.Ay,{focusOutline:"medium",focusOutlineOffset:"medium",icon:N||(N=(0,e_.jsx)(tg.A,{size:"core.size.icon.small"})),iconPosition:"right",children:p})})})]}),h&&(0,e_.jsxs)(tT,{children:[E||(E=(0,e_.jsx)(tS,{children:"Toimitusjohtaja"})),(0,e_.jsxs)(tO,{children:[(0,e_.jsx)(tN,{children:(0,e_.jsx)(tE,{children:h})}),R||(R=(0,e_.jsx)(tL,{href:"#vastuuhenkilot",$useBlueLink:!0,children:"Katso yrityksen muut vastuuhenkilöt"}))]})]})]})]}),(0,e_.jsx)(tw,{isOpen:x,onClose:()=>k(!1)},x?"ds-modal-open":"ds-modal-closed")]})};var tF=(0,eP.Ay)(eU.N_).withConfig({componentId:"sc-c8998365-16"})(["span{height:calc( "," * "," );}"],eL.I8.font.scale["-1"],eL.I8["line-height"].medium),tH=(0,eP.Ay)(ty.A).withConfig({componentId:"sc-c8998365-17"})({padding:0}),tB=(0,eP.Ay)(ty.A).withConfig({componentId:"sc-c8998365-18"})({padding:0}),tV=t("is"),tX=t("rF"),tU=t("Ft");let tW=(0,eP.Ay)(e1.J.Content).withConfig({componentId:"sc-2da5b5cb-0"})(["display:grid;grid-template-columns:minmax(0,1.9fr) 1fr;position:relative;gap:0;@media ","{grid-template-columns:1fr;}"],eL.I8.mediaquery.max.medium),tJ=(eP.Ay.div.withConfig({componentId:"sc-2da5b5cb-1"}))(["display:grid;grid-template-columns:24.875rem 1fr 1.625rem;align-items:center;@media ","{grid-template-columns:1fr 1fr 1.625rem;}"],eL.I8.mediaquery.max.medium),tQ=(eP.Ay.hr.withConfig({componentId:"sc-2da5b5cb-2"}))(["border:none;border-bottom:1px solid ",";margin:"," 0;"],eL.I8.color.border["1"],eL.I8.spacing["x-small"]),tG=(0,eP.Ay)(e1.J.LeftColumn).withConfig({componentId:"sc-2da5b5cb-3"})(["padding:"," 0;gap:0;margin:0;"],eL.I8.spacing["x-small"]),tZ=(eP.Ay.div.withConfig({componentId:"sc-2da5b5cb-4"}))(["padding-inline:"," ",";"],eL.I8.spacing.medium,eL.I8.spacing.small);var t0=(0,eP.Ay)(tZ).withConfig({componentId:"sc-2da5b5cb-5"})(e=>({paddingBottom:e.$_css,paddingLeft:e.$_css2}));let t1=(eP.Ay.div.withConfig({componentId:"sc-2da5b5cb-6"}))(["padding-inline:",";"],eL.I8.spacing.small),t8=(eP.Ay.div.withConfig({componentId:"sc-2da5b5cb-7"}))(["display:flex;padding-right:",";justify-self:end;@media ","{padding-right:",";}"],eL.I8.spacing["x-small"],eL.I8.mediaquery.max.medium,eL.I8.spacing.small),t2=(0,eP.Ay)(e1.J.PromotionListText).withConfig({componentId:"sc-2da5b5cb-8"})(["",";font-size:",";line-height:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.light},eL.I8.font.scale["-1"],eL.I8["line-height"].medium),t3=(0,eP.Ay)(eU.Ay).withConfig({componentId:"sc-2da5b5cb-9"})(["",";font-size:",";line-height:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},eL.I8.font.scale["-1"],eL.I8["line-height"].medium),t4=(0,eP.Ay)(e1.J.PromotionText).withConfig({componentId:"sc-2da5b5cb-10"})(["",";font-size:",";line-height:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.heavy},eL.I8.font.scale["-1"],eL.I8["line-height"].medium),t5=(0,eP.Ay)(e1.J.RightColumn).withConfig({componentId:"sc-2da5b5cb-11"})(["@media ","{margin-inline:"," ",";}@media ","{display:flex;flex-direction:column;align-items:flex-start;gap:",";padding:"," "," "," ",";max-width:60%;}@media ","{max-width:100%;}"],eL.I8.mediaquery.min.large,eL.I8.spacing["x-large"],eL.I8.spacing.large,eL.I8.mediaquery.max.medium,eL.I8.spacing.medium,eL.I8.spacing.small,eL.I8.spacing.small,eL.I8.spacing.medium,eL.I8.spacing.medium,eL.I8.mediaquery.max["x-small"]);var t6=e=>{let{memberName:i,otherRoles:t=[]}=e,{containerRef:a,handleClick:n}=(0,e5.E)({eventCategory:"Insights_promo",mediaShort:"ai"}),{data:s}=eK._.useGetCodesQuery();return(0,e_.jsx)(e1.J,{ref:a,children:(0,e_.jsxs)(tW,{children:[(0,e_.jsxs)(tG,{children:[(0,e_.jsx)(t0,{$_css:eL.I8.spacing["x-small"],$_css2:eL.I8.spacing.small,children:(0,e_.jsx)(t4,{as:"span",children:`Voimassaolevat yrityssidokset (${t.length})`})}),t.map((e,a)=>(0,e_.jsxs)(eT.Fragment,{children:[(0,e_.jsxs)(tJ,{children:[(0,e_.jsx)(tZ,{children:(0,e_.jsx)(t2,{as:"span",children:`${(e=>{if(!(null==s?void 0:s.PS))return e;let i=s.PS.find(i=>i.value===e);return(null==i?void 0:i.label)||e})(e.roleCode)}, ${(0,tU.Y)(e.validFrom)}`})}),K||(K=(0,e_.jsx)(t1,{children:"---"})),Y||(Y=(0,e_.jsx)(t8,{children:(0,e_.jsx)(e4.A,{size:"core.size.
55icon.small"})}))]}),a<t.length-1&&(F||(F=(0,e_.jsx)(tQ,{})))]},`${i}-${e.roleCode}-${e.validFrom}`))]}),(0,e_.jsx)(t5,{children:(0,e_.jsxs)(t3,{href:`https://www.almainsights.fi/yritystietopalvelut/data/${(0,e6.V)("board_members_decision_makers_promo")}#paattajadata`,external:!0,openInNewTab:!0,customComponent:(0,e_.jsx)(ae,{focusOutline:"medium",focusOutlineOffset:"medium",$_css3:eL.I8.spacing["x-small"]}),onClick:n,children:[(0,e_.jsx)(t9,{size:"core.size.icon.small",$_css4:eL.I8.spacing["x-small"]}),"Katso kaikkien vastuuhenkilöiden yrityssidokset ja yhteystiedot Alma Insights -palveluista",(0,e_.jsx)(t7,{size:"core.size.icon.small",$_css5:eL.I8.spacing["x-small"]})]})})]})})},t7=(0,eP.Ay)(il.A).withConfig({componentId:"sc-2da5b5cb-12"})(e=>({marginLeft:e.$_css5,verticalAlign:"-0.125em"})),t9=(0,eP.Ay)(ih.A).withConfig({componentId:"sc-2da5b5cb-13"})(e=>({marginRight:e.$_css4})),ae=(0,eP.Ay)(e8.Ay).withConfig({componentId:"sc-2da5b5cb-14"})(e=>({display:"inline-flex",alignItems:"center",flexWrap:"wrap",gap:e.$_css3}));let ai=(eP.Ay.div.withConfig({componentId:"sc-6d33913e-0"}))(["width:100%;"]),at=(eP.Ay.div.withConfig({componentId:"sc-6d33913e-1"}))(["display:flex;justify-content:space-between;align-items:center;gap:",";"],eL.I8.spacing.large),aa=(eP.Ay.h3.withConfig({componentId:"sc-6d33913e-2"}))(["",";line-height:",";font-size:",";color:",";margin:0;padding-top:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.heavy},eL.I8["line-height"].medium,eL.I8.font.scale[-1],eL.I8.color.primary.foreground,eL.I8.spacing.small);var an=(0,eP.Ay)(aa).withConfig({componentId:"sc-6d33913e-3"})(["padding-top:0;"]);let as=(eP.Ay.ul.withConfig({componentId:"sc-6d33913e-4"}))(["list-style:none;padding:0;margin:0;width:100%;"]),ao=(eP.Ay.li.withConfig({componentId:"sc-6d33913e-5"}))(["border-top:",";width:100%;"],e=>{let{$noTopBorder:i}=e;return i?"none":`1px solid ${eL.I8.color.border["1"]}`}),al=(eP.Ay.div.withConfig({componentId:"sc-6d33913e-6"}))(["width:100%;display:grid;grid-template-columns:1fr 1fr 1.625rem;align-items:center;"]),ar=(eP.Ay.div.withConfig({componentId:"sc-6d33913e-7"}))(["display:contents;"]),ad=(0,eP.Ay)(tA.gf).withConfig({componentId:"sc-6d33913e-8"})(["&&{display:flex;align-items:center;gap:",";padding-left:",";}"],eL.I8.spacing.small,eL.I8.spacing["xx-small"]),ac=(0,eP.Ay)(tA.Du).withConfig({componentId:"sc-6d33913e-9"})(["&&{padding-inline:",";}"],eL.I8.spacing.small);var am=(0,eP.Ay)(ac).withConfig({componentId:"sc-6d33913e-10"})({paddingLeft:0});let au=(eP.Ay.span.withConfig({componentId:"sc-6d33913e-11"}))(["display:flex;align-items:center;justify-content:flex-end;gap:",";height:100%;"],eL.I8.spacing.medium),ap=(eP.Ay.button.withConfig({componentId:"sc-6d33913e-12"}))(["background:none;border:none;cursor:pointer;height:100%;padding:0 "," 0 ",";display:flex;align-items:center;justify-content:flex-end;svg.arrow{transform:rotate( "," );transition:transform 0.2s ease;}"],eL.I8.spacing["xxx-small"],eL.I8.spacing.small,e=>e.$isExpanded?"180deg":"0deg"),ah=(eP.Ay.div.withConfig({componentId:"sc-6d33913e-13"}))(["display:",";padding-top:0;background-color:",";"],e=>e.$isExpanded?"block":"none",e=>{let{theme:i}=e;return i.foundation.media.color.wall.background}),ag=(eP.Ay.button.withConfig({componentId:"sc-6d33913e-14"}))(["",";font-size:",";line-height:",";color:",";text-decoration:none;display:flex;align-items:center;gap:",";background:none;border:none;padding:0;cursor:pointer;margin-top:",";&:hover{text-decoration:underline;}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},eL.I8.font.scale[-1],eL.I8["line-height"].medium,e=>{let{theme:i}=e;return i.foundation.media.color.primary[4]},eL.I8.spacing.small,eL.I8.spacing.small),ay=(0,eP.Ay)(tV.A).withConfig({componentId:"sc-6d33913e-15"})(["color:",";"],e=>{let{theme:i}=e;return i.foundation.media.color.primary[4]}),af=e=>{let{boardMembers:i,isHousingCompany:t,ceoName:a,roleCodes:n}=e,[s,o]=(0,eT.useState)({}),[l,r]=(0,eT.useState)(!1),[d,c]=(0,eT.useState)(!1);eT.useEffect(()=>{i&&o(i.reduce((e,i)=>(i.otherRoles&&i.otherRoles.length>0&&(e[i.fullName]=!0),e),{}))},[i]);let m=e=>{o(i=>({...i,[e]:!i[e]}))},[u,p]=i.reduce((e,i)=>{var t,s,o,l;let r=null==(s=i.roles)||null==(t=s[0])?void 0:t.roleCode;return i.fullName===a?(e[0]={...i,roleLabel:(null==n||null==(o=n.find(e=>e.value===r))?void 0:o.label)||r,mainRole:r},i.roles&&i.roles.length>
551&&i.roles.slice(1).forEach(t=>{var a;return e[1].push({...i,otherRoles:void 0,roleLabel:(null==n||null==(a=n.find(e=>e.value===t.roleCode))?void 0:a.label)||t.roleCode,mainRole:t.roleCode})})):e[1].push({...i,roleLabel:(null==n||null==(l=n.find(e=>e.value===r))?void 0:l.label)||r,mainRole:r}),e},[null,[]]),h=eT.useMemo(()=>[...p].sort((e,i)=>{let t=e=>"PS_HALPJ"===e.mainRole?1:"PS_HALJ"===e.mainRole?2:3;return t(e)-t(i)}),[p]),g=d?h:h.slice(0,5),y=h.length>5;return(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsxs)(at,{children:[H||(H=(0,e_.jsx)(ax,{children:"Vastuuhenkilöt ja päättäjät"})),(0,e_.jsx)(ak,{onClick:()=>r(!0),tagAs:"button",children:"Lähteet"})]}),(0,e_.jsxs)(ai,{children:[u&&(B||(B=(0,e_.jsx)(an,{children:"Muu johto"}))),(0,e_.jsxs)(as,{children:[u&&(0,e_.jsxs)(ao,{$noTopBorder:!0,children:[(0,e_.jsx)(al,{children:(0,e_.jsxs)(ar,{children:[(0,e_.jsxs)(ad,{children:[(0,e_.jsx)(aI,{size:"core.size.icon.small"}),u.fullName]}),(0,e_.jsx)(am,{children:u.roleLabel}),(0,e_.jsx)(au,{children:u.otherRoles&&u.otherRoles.length>0&&(0,e_.jsx)(ap,{$isExpanded:!!s[u.fullName],onClick:()=>
55m(u.fullName),children:V||(V=(0,e_.jsx)(tm.A,{size:"core.size.icon.small",className:"arrow",color:"core.color.primary.foreground"}))})})]})}),u.otherRoles&&u.otherRoles.length>0&&(0,e_.jsx)(ah,{$isExpanded:!!s[u.fullName],children:(0,e_.jsx)(t6,{memberName:u.fullName,otherRoles:u.otherRoles})})]}),!t&&(0,e_.jsxs)(e_.Fragment,{children:[X||(X=(0,e_.jsx)(aa,{children:"Hallitus"})),g.map((e,i)=>{let t=e.otherRoles&&e.otherRoles.length>0;return(0,e_.jsxs)(ao,{$noTopBorder:0===i,children:[(0,e_.jsx)(al,{children:(0,e_.jsxs)(ar,{children:[(0,e_.jsxs)(ad,{children:[(0,e_.jsx)(aj,{size:"core.size.icon.small"}),e.fullName]}),(0,e_.jsx)(ac,{children:e.roleLabel}),(0,e_.jsx)(au,{children:t&&(0,e_.jsx)(ap,{$isExpanded:!!s[e.fullName],onClick:()=>m(e.fullName),children:U||(U=(0,e_.jsx)(tm.A,{size:"core.size.icon.small",className:"arrow"}))})})]})}),t&&(0,e_.jsx)(ah,{$isExpanded:!!s[e.fullName],children:(0,e_.jsx)(t6,{memberName:e.fullName,otherRoles:e.otherRoles})})]},`${e.fullName}-${e.mainRole}-${i}`)})]}),!d&&y&&!t&&(0,e_.jsxs)(ag,{onClick:()=>c(!0),"aria-label":"Näytä kaikki hallituksen jäsenet",children:[W||(W=(0,e_.jsx)(ay,{size:"core.size.
55icon.small"})),"Näytä kaikki hallituksen jäsenet"]})]})]}),(0,e_.jsx)(tw,{isOpen:l,onClose:()=>r(!1)},l?"ds-modal-open":"ds-modal-closed")]})};var ax=(0,eP.Ay)(iQ.D).withConfig({componentId:"sc-6d33913e-16"})(["padding:0;"]),ak=(0,eP.Ay)(ty.A).withConfig({componentId:"sc-6d33913e-17"})({padding:0}),aI=(0,eP.Ay)(tX.A).withConfig({componentId:"sc-6d33913e-18"})({flexShrink:0}),aj=(0,eP.Ay)(tX.A).withConfig({componentId:"sc-6d33913e-19"})({flexShrink:0}),av=t("Vv"),ab=t("hK"),aw=t("Lq"),aA=t("Y6"),aC=t.n(aA),a$=t("PM"),az=t.n(a$);let a_=(eP.Ay.div.withConfig({componentId:"sc-e1516241-0"}))(["border:1px solid ",";border-radius:2px;padding:",";"],tk.Ay.foundation.core.color.border["1"],tk.Ay.foundation.core.spacing.medium);var aT=e=>{let{data:i,title:t,unit:a}=e,n=i.slice(0).reverse(),s=n.map(e=>e.dateOfStatement),o=n.map(e=>e.data),l=n.map(e=>e.data>0?tk.Ay.foundation.media.color.brand:tk.Ay.foundation.core.color.status.alert.foreground),r={chart:{type:"column",height:200,backgroundColor:"none",spacing:[0,0,0,0]},title:{text:t,align:"left",style:{fontSize:"16px",fontWeight:"600",lineHeight:"150%",color:tk.Ay.foundation.core.color.primary.foreground}},legend:{enabled:!1},credits:{enabled:!1},rangeSelector:{enabled:!1},navigator:{enabled:!1},scrollbar:{enabled:!1},xAxis:{labels:{formatter(){return s[this.value]},style:{color:tk.Ay.foundation.core.color.primary["4"],fontSize:"13px",fontWeight:"400",lineHeight:"20px",fontVariantNumeric:"lining-nums"}},tickPixelInterval:100},yAxis:{title:{text:null},tickPixelInterval:50,labels:{style:{color:tk.Ay.foundation.core.color.primary["4"],fontSize:"14px",fontWeight:"400",lineHeight:"20px",fontVariantNumeric:"lining-nums"}},gridLineDashStyle:"Dot",gridLineColor:tk.Ay.foundation.core.color.border["2"],gridLineWidth:1},tooltip:{formatter(){return`
56                        <div>
57                            <span>${s[this.x]}:</span>
58                            <span><b> ${(0,eY.ZV)(this.y)} ${a}</b></span>
59                        </div>
60                    `}},plotOptions:{column:{colorByPoint:!0,colors:l,maxPointWidth:40}},series:[{type:"column",data:o,name:t,tooltip:{valueDecimals:2}}]};return i.length?(0,e_.jsx)(a_,{children:(0,e_.jsx)(az(),{options:r,highcharts:aC()})}):null},aS=t("y9");let aP=(0,eP.Ay)(eD.A).withConfig({componentId:"sc-4ff80989-0"})(["flex:1 0;width:100%;gap:",";@media ","{gap:",";}"],eL.I8.spacing.medium,eL.I8.mediaquery.max.medium,eL.I8.spacing.small),aL=(eP.Ay.div.withConfig({componentId:"sc-4ff80989-1"}))(["flex:1 0;"]);var aM=e=>{let{financialStatements:i}=e,t=i?i.map(e=>({title:"Liikevaihto",dateOfStatement:(0,aS.GP)(e.statementDate,"MM/yyyy"),data:e.turnover??0})):[],a=i?i.map(e=>({dateOfStatement:(0,aS.GP)(e.statementDate,"MM/yyyy"),data:e.ebitPerTurnover??0})):[];return(0,e_.jsxs)(aP,{direction:"column, @min.large=row",children:[(0,e_.jsx)(aL,{children:(0,e_.jsx)(aT,{data:t,title:"Liikevaihto",unit:"€"})}),(0,e_.jsx)(aL,{children:(0,e_.jsx)(aT,{data:a,title:"Liiketulos-%",unit:"%"})})]})},aq=t("ff"),aD=t("iG"),aO=t("w0L"),aN=t("kH"),aE=t("lb"),aR=t("Yh"),aK=t("cq"),aY=t("DG");let aF=(0,eT.createContext)({headerFirstCellWidth:0,headerCellWidthParameters:{mq:"",mobileWidth:0,desktopWidth:0},headerCellWidth:0,setHeaderCellWidth:e=>{},columnIndices:{firstColumn:0,lastColumn:0},setColumnIndices:e=>{}});aF.displayName="YearNavigationContext";let aH=e=>{let{mq:i,mobileWidth:t,desktopWidth:a}=e;return"u">typeof window&&window.matchMedia(i).matches?t:a};var aB=(0,eT.memo)(e=>{let{years:i}=e,t=(0,eT.useRef)(0),a=(0,eT.useRef)(null),{headerFirstCellWidth:n,headerCellWidth:s,setHeaderCellWidth:o,headerCellWidthParameters:l,columnIndices:r,setColumnIndices:d}=(0,eT.useContext)(aF),c=(0,eT.useMemo)(()=>{let e=(0,aY.e$)();return s*e*(i.length+1)+n*e},[i.length,n,s]),m=(0,eT.useCallback)(e=>{let t=aH(l);t!==s&&o(t);let a=r.lastColumn-r.firstColumn,m=((e,i,t,a,n)=>{if(0!==t&&t<i){let e=(0,aY.e$)();return Math.max(Math.floor((t-a*e)/(n*e)),1)}return e})(i.length,c,e,n,t),u=0;if(m<a)u=a-m,d(e=>({firstColumn:e.firstColumn+u,lastColumn:e.lastColumn}));else if(m>a){u=m-a;let e=r.lastColumn!==i.length;m>=i.length?d({firstColumn:0,lastColumn:i.length}):e?d(e=>
60({firstColumn:e.firstColumn,lastColumn:Math.min(e.lastColumn+u,i.length)})):d(e=>({firstColumn:Math.max(e.firstColumn-u,0),lastColumn:e.lastColumn}))}},[r,i.length,c,n,s,l,o,d]),u=(0,aK.A)(m,100,{leading:!1});(0,eT.useEffect)(()=>{if(null==a?void 0:a.current){let e=new ResizeObserver(e=>{let i=e[0].contentRect.width;i!==t.current&&0!==i&&(t.current=i,u(i))});return e.observe(a.current),()=>e.disconnect()}},[u]);let p=(0,eT.useMemo)(()=>0!==r.lastColumn&&(0!==r.firstColumn||r.lastColumn!==i.length),[r,i]),h=p?(0,i0.format)((0,iZ.subYears)((0,aE.parse)(i[r.firstColumn],"MM/yyyy",new Date),1),"MM/yyyy"):"",g=p?(0,i0.format)((0,aR.addYears)((0,aE.parse)(i[r.lastColumn-1],"MM/yyyy",new Date),1),"MM/yyyy"):"";return(0,e_.jsx)(eD.A,{direction:"row",justifyContent:"space-between",gap:0,ref:a,children:p&&(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)(aV,{onClick:()=>{d(e=>({firstColumn:e.firstColumn-1,lastColumn:e.lastColumn-1}))},icon:J||(J=(0,e_.jsx)(aN.A,{size:"core.size.icon.small"})),disabled:0===r.firstColumn,"aria-label":"Näytä edellisen vuoden tiedot",$_css:`${eL.I8.spacing["x-small"]} ${eL.I8.spacing["xxx-small"]}`,$_css2:eL.I8["z-index"].elevate,children:h}),(0,e_.jsx)(aX,{onClick:()=>{d(e=>({firstColumn:e.firstColumn+1,lastColumn:e.lastColumn+1}))}
60,icon:Q||(Q=(0,e_.jsx)(il.A,{size:"core.size.icon.small"})),iconPositionRight:!0,disabled:r.lastColumn===i.length,"aria-label":"Näytä seuraavan vuoden tiedot",$_css3:`${eL.I8.spacing["x-small"]} ${eL.I8.spacing["xxx-small"]}`,$_css4:eL.I8["z-index"].elevate,children:g})]})})}),aV=(0,eP.Ay)(ty.A).withConfig({componentId:"sc-2a449764-0"})(e=>({padding:e.$_css,zIndex:e.$_css2})),aX=(0,eP.Ay)(ty.A).withConfig({componentId:"sc-2a449764-1"})(e=>({padding:e.$_css3,zIndex:e.$_css4}));let aU={mq:"(max-width: 74.9375rem)",mobileWidth:6.5625,desktopWidth:7.75},aW=(eP.Ay.div.withConfig({componentId:"sc-a3f349b7-0"}))(["width:100%;"]),aJ=(eP.Ay.div.withConfig({componentId:"sc-a3f349b7-1"}))(["height:32rem;width:100%;"]),aQ={revenue:"Liikevaihto (€)",turnoverGrowthPercent:"Liikevaihdon kasvu (%)",businessResult:"Liiketulos (€)",ebitPerTurnover:"Liiketulos-%",grossProfit:"Bruttokate (€)",balanceSheetTotal:"Taseen loppusumma (€)",equityRatio:"Omavaraisuusaste (%)",quickRatio:"Quick ratio",statementLength:"Tilikauden pituus (kk)",personnelAmount:"Henkilöstömäärä*"},aG=[{value:"Liikevaihto (€)",new:!1},{value:"Liikevaihdon kasvu (%)",new:!1},{value:"Liiketulos (€)",new:!1},{value:"Liiketulos-%",new:!1},{value:"Tilikauden pituus (kk)",new:!1},{value:"Bruttokate (€)",new:!1},{value:"Omavaraisuusaste (%)",new:!0},{value:"Quick ratio",new:!0},{value:"Taseen loppusumma (€)",new:!0},{value:"Henkilöstömäärä*",new:!1}];var aZ=e=>{let{financialStatements:i}=e,{pivotedData:t,sortedDates:a}=eT.useMemo(()=>{if(!i||0===i.length)return{pivotedData:{},sortedDates:[]};let e=[...i].sort((e,i)=>new Date(e.statementDate).getTime()-new Date(i.statementDate).getTime()),t=e.map(e=>(0,aS.GP)(e.statementDate,"MM/yyyy")),a={};return Object.entries(aQ).forEach(i=>{let[t,n]=i;a[n]={},e.forEach(e=>{let i=(0,aS.GP)(e.statementDate,"MM/yyyy"),s="-";switch(t){case"revenue":s=null!=e.turnover?(0,eY.ZV)(e.turnover):"-";break;case"turnoverGrowthPercent":s=null!=e.turnoverGrowthPercent?`${(0,eY.ZV)(e.turnoverGrowthPercent,1)} %`:"-";break;case"businessResult":s=null!=e.operatingProfit?(0,eY.ZV)(e.operatingProfit):"-";break;case"ebitPerTurnover":s=null!=e.ebitPerTurnover?`${(0,eY.ZV)(e.ebitPerTurnover,1)} %`:"-";break;case"grossProfit":s=null!=e.grossProfit?(0,eY.ZV)(e.grossProfit):"-";break;case"balanceSheetTotal":s=null!=e.balanceSheetTotal?(0,eY.ZV)(e.balanceSheetTotal):"-";break;case"equityRatio":s=null!=e.equityRatio?`${(0,eY.ZV)(e.equityRatio,1)} %`:"-";break;case"quickRatio":s=null!=e.quickRatio?(0,eY.ZV)(e.quickRatio,1):"-";break;case"statementLength":s=null!=e.statementLengthMonths?`${(0,eY.ZV)(e.statementLengthMonths)} kk`:"-";break;case"personnelAmount":s=null!=e.personnelAverage?(0,eY.ZV)(e.personnelAverage):"-"}a[n][i]=s})}),{pivotedData:a,sortedDates:t}},[i]),n=(0,eT.useCallback)(()=>({firstColumn:0,lastColumn:a.length}),[a.length]),[s,o]=(0,eT.useState)("u">typeof window&&window.innerWidth>=1095),[l,r]=(0,eT.useState)(n()),[d,c]=(0,eT.useState)(aH(aU)),m=(0,eT.useMemo)(()=>a.slice(l.firstColumn,l.lastColumn),[a,l.firstColumn,l.lastColumn]),u=(0,eT.useMemo)(()=>({headerFirstCellWidth:12,headerCellWidthParameters:aU,headerCellWidth:d,setHeaderCellWidth:c,columnIndices:l,setColumnIndices:r}),[d,l]),p=(0,aO.uh)({onSwipedLeft:()=>{l.lastColumn<a.length&&r(e=>({firstColumn:e.firstColumn+1,lastColumn:e.lastColumn+1}))},onSwipedRight:()=>{l.firstColumn>0&&r(e=>({firstColumn:e.firstColumn-1,lastColumn:e.lastColumn-1}))},preventScrollOnSwipe:!0});return(0,eT.useEffect)(()=>{var e;let i=n();e=a.slice(i.firstColumn,i.lastColumn),m.length===e.length&&m.every((i,t)=>i===e[t])||s||s||o(!0)},[m,s,a,n]),(0,e_.jsx)(aF.Provider,{value:u,children:(0,e_.jsxs)(aW,{children:[a.length>0&&(0,e_.jsx)(aB,{years:a}),s?(0,e_.jsxs)(aq.b,{stickyHeader:!1,hideBodyStickyBorder:"all",textAlign:[{1:"left"}],children:[(0,e_.jsx)(aq.b.Header,{children:(0,e_.jsxs)(a2,{children:[(0,e_.jsx)(a1,{width:"12rem",$_css:(0!==l.firstColumn||l.lastColumn!==a.length)&&`
61                                        width: 100%;    
62                                    `,children:"Taloustieto"}),m.map(e=>(0,e_.jsx)(a8,{width:`${d}rem`,bold:!0,children:e},e))]})}),(0,e_.jsx)(aq.b.Body,{...p,children:aG.map((e,i)=>(0,e_.jsxs)(aq.b.Row,{hideBorder:i===aG.length-1,children:[(0,e_.jsxs)(a3,{children:[e.value,e.new&&(0,e_.jsx)(a0,{type:"new",text:"Uutta",$_css2:eL.I8.spacing["xxx-small"]})]}),m.map(i=>{var a;return(0,e_.jsx)(a4,{children:(null==(a=t[e.value])?void 0:a[i])??"-"},`${e.value}-${i}`)})]},e.value))})]}):G||(G=(0,e_.jsx)(aJ,{}))]})})},a0=(0,eP.Ay)(aD.A).withConfig({componentId:"sc-a3f349b7-2"})(e=>({marginLeft:e.$_css2})),a1=(0,eP.Ay)(aq.b.HeaderCell).withConfig({componentId:"sc-a3f349b7-3"})(["background:var( --theme1-kl-color-base-1 );padding-left:0;min-width:","rem;"," span{font-size:",";}"],12,e=>e.$_css,eL.I8.font.scale["-1"]),a8=(0,eP.Ay)(aq.b.HeaderCell).withConfig({componentId:"sc-a3f349b7-4"})({textAlign:"right",background:"none"}),a2=(0,eP.Ay)(aq.b.Row).withConfig({componentId:"sc-a3f349b7-5"})(["&:after{background-color:var( --core-color-border-6 );}"]),a3=(0,eP.Ay)(aq.b.Cell).withConfig({componentId:"sc-a3f349b7-6"})({background:"var(--theme1-kl-color-base-1)",whiteSpace:"nowrap",paddingLeft:"0"}),a4=(0,eP.Ay)(aq.b.Cell).withConfig({componentId:"sc-a3f349b7-7"})({textAlign:"right",background:"none"});let a5=(0,eP.Ay)(eD.A).withConfig({componentId:"sc-5fedefd1-0"})(["flex:1 0;width:100%;margin:"," 0;@media ","{gap:",";}"],e=>{let{theme:i}=e;return i.foundation.core.spacing.medium},eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium);var a6=e=>{let{financialStatements:i}=e;return(0,e_.jsxs)(a5,{children:[(0,e_.jsx)(aM,{financialStatements:i}),(0,e_.jsx)(aZ,{financialStatements:i})]})};let a7=["Markkinoiden kattavimmat oikaistut tilinpäätökset","Pitkät vertailukelpoiset aikasarjat","Viralliset tilinpäätösraportit","Tilinpäätös- ja vertailuanalyysit"],a9=()=>(0,e_.jsx)(iB,{items:a7,customLinkText:"Katso kaikki yrityksen taloustiedot Alma Insights -palveluista",customLinkUrl:`https://www.almainsights.fi/yritystietopalvelut/data/${(0,e6.V)("company_financial_key_figures_promo")}#taloustiedot`}),ne=(eP.Ay.div.withConfig({componentId:"sc-d765be3d-0"}))(["width:100%;padding-top:",";color:",";@media ","{padding-top:",";}"],eL.I8.spacing["x-large"],eL.I8.color.primary.foreground,eL.I8.mediaquery.max.small,eL.I8.spacing.large),ni=(0,eP.Ay)(eD.A).withConfig({componentId:"sc-d765be3d-1"})(["flex:1 0;width:100%;@media ","{gap:",";}"],eL.I8.mediaquery.max["x-small"],eL.I8.spacing.small),nt=(0,eP.Ay)(ty.A).withConfig({componentId:"sc-d765be3d-2"})(["background-color:",";color:",";"],e=>{let{theme:i}=e;return i.foundation.media.color.wall.background},eL.I8.color.primary.foreground),na=(eP.Ay.p.withConfig({componentId:"sc-d765be3d-3"}))(["",";font-size:",";line-height:",";color:",";margin-block-end:0;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},eL.I8.font.scale["0"],eL.I8["line-height"].medium,eL.I8.color.primary.foreground),nn=(e,i,t)=>eK._.useGetFinancialInformationQuery({id:e,type:i},{skip:t});var ns=e=>{let{companyId:i}=e,[t,a]=(0,eT.useState)("konserni"),[n,s]=(0,eT.useState)(!1),{containerRef:o,handleClick:l}=(0,e5.E)({eventCategory:"Insights_promo",mediaShort:"ai"}),{data:r,isLoading:d,isSuccess:c}=nn(i,"concern"),{data:m,isLoading:u,isSuccess:p}=nn(i,"parent"),h=!(null==r?void 0:r.content)||0===r.content.length,g=!(null==m?void 0:m.content)||0===m.content.length,y=d||u,f
62=!y&&h&&g;(0,eT.useEffect)(()=>{if(!c||!p)return;if(h)return void a("emoyhtio");if(g)return void a("konserni");let e=e=>Math.max(...e.map(e=>e.targetYear));a(e((null==m?void 0:m.content)||[])>e((null==r?void 0:r.content)||[])?"emoyhtio":"konserni")},[c,p,h,g,null==r?void 0:r.content,null==m?void 0:m.content]);let x=h?"Yritys":"Emoyhtiö",k=[!h&&(0,e_.jsx)(av.A,{tabLabel:"Konserni",tabValue:"konserni",children:(0,e_.jsx)(ni,{children:(0,e_.jsx)(a6,{financialStatements:(null==r?void 0:r.content)||[]})})},"konserni"),!g&&(0,e_.jsx)(av.A,{tabLabel:x,tabValue:"emoyhtio",children:(0,e_.jsx)(ni,{children:(0,e_.jsx)(a6,{financialStatements:(null==m?void 0:m.content)||[]})})},"emoyhtio")].filter(Boolean);return(0,e_.jsxs)(ne,{children:[(0,e_.jsxs)(ni,{direction:"row",alignItems:"center",justifyContent:"space-between",marginBottom:eL.I8.spacing.large,children:[(0,e_.jsx)("div",{children:(0,e_.jsx)(no,{id:"financial-information",children:"Taloustiedot"})}),!f&&(0,e_.jsxs)("div",{ref:o,children:[(0,e_.jsx)(nt,{href:`https://www.almainsights.fi/yritystietopalvelut/data/${(0,e6.V)("lataa_taloustiedot_cta")}
62#taloustiedot`,icon:Z||(Z=(0,e_.jsx)(e4.A,{size:"core.size.icon.medium"})),target:"_blank",tagAs:"a",onClick:l,children:"Lataa tiedot"}),(0,e_.jsx)(ty.A,{onClick:()=>s(!0),tagAs:"button",children:"Lähteet"})]})]}),f?ee||(ee=(0,e_.jsx)(eO.A,{type:"info",header:"Yritykseltä ei löydy taloustietoja"})):(0,e_.jsxs)(e_.Fragment,{children:[y?(0,e_.jsx)(ni,{direction:"column",alignItems:"center",justifyContent:"center",style:{minHeight:"200px"},children:ei||(ei=(0,e_.jsx)(ab.A,{text:"Ladataan taloustietoja"}))}):(0,e_.jsx)(aw.A,{initialActiveTab:{value:t,label:"konserni"===t?"Konserni":x},tabType:"default",clickHandler:e=>a(e.value),children:k},t),et||(et=(0,e_.jsx)(e8.Ay,{href:"https://www.almainsights.fi/tunnuslukuopas/",target:"_blank",iconPosition:"right",icon:(0,e_.jsx)(il.A,{size:"core.size.icon.small"}),children:"Tunnuslukuopas"})),(0,e_.jsx)(nl,{children:"Yrityksen taloudelliset tunnusluvut"}),ea||(ea=(0,e_.jsx)(a9,{})),!f&&(0,e_.jsxs)(na,{children:["Taloudelliset tiedot perustuvat yrityksen","konserni"===t?" konsernin ":h?" ":" emoyhtiön ","oikaistuihin tietoihin, jonka vuoksi luvut saattavat poiketa virallisista tiedoista."]}),en||(en=(0,e_.jsx)(na,{children:"* Henkilöstömäärä perustuu yhtiön tilinpäätöstietoihin. Ajantasaisen tiedon puuttuessa voi henkilöstömäärä perustua aiempiin tilinpäätöstietoihin sekä Alma Insightsin arvioon."})),(0,e_.jsx)(tw,{isOpen:n,onClose:()=>s(!1)},n?"ds-modal-open":"ds-modal-closed")]})]})},no=(0,eP.Ay)(iQ.D).withConfig({componentId:"sc-d765be3d-4"})(["padding-block:0;@media ","{font-size:",";}"],eL.I8.mediaquery.max["x-small"],eL.I8.font.scale["2"]),nl=(0,eP.Ay)(iQ.D).withConfig({componentId:"sc-d765be3d-5"})(["padding-block:"," ",";@media ","{font-size:",";}"],eL.I8.spacing.large,eL.I8.spacing.small,eL.I8.mediaquery.max["x-small"],eL.I8.font.scale["2"]),nr=t("xR"),nd=t("jyS");let nc=(eP.Ay.nav.withConfig({componentId:"sc-3ae711e-0"}))(["position:sticky;top:0;left:0;margin-inline:calc("," * -1);padding-inline:",";padding-top:",";background-color:",";z-index:",";"],eL.I8.spacing.medium,eL.I8.spacing.medium,eL.I8.spacing.medium,e=>{let{theme:i}=e;return(0,nr.b)(`theme1.${i.foundation.theme.context}.color.base.1`)},eL.I8["z-index"].pagetop),nm=(eP.Ay.ul.withConfig({componentId:"sc-3ae711e-1"}))(["display:flex;flex-wrap:wrap;list-style:none;row-gap:",";li{display:flex;}li:last-child hr{display:none;}"],eL.I8.spacing["xxx-small"]),nu=(0,eP.Ay)(e8.Ay).withConfig({componentId:"sc-3ae711e-2"})(["color:var(--kl-color-primary-5);white-space:nowrap;"]),np=(0,eP.Ay)(eM.A).withConfig({componentId:"sc-3ae711e-3"})(["margin:0 ",";"],eL.I8.spacing["x-small"]),nh=(eP.Ay.div.withConfig({componentId:"sc-3ae711e-4"}))(["scroll-margin-top:4rem;"]);var ng=e=>{let{navItems:i}=e,t=e=>{e.preventDefault();let i=e.currentTarget.getAttribute("href");(null==i?void 0:i.startsWith("#"))&&((0,nd.A)(i,"smooth"),window.history.replaceState(null,"",i))};return(0,e_.jsx)(e_.Fragment,{children:(0,e_.jsxs)(nc,{children:[(0,e_.jsx)(nm,{children:i.map(e=>(0,e_.jsxs)("li",{id:`${e.label}_nav`,children:[(0,e_.jsx)(nu,{textHoverColor:"kl.color.primary.5",href:e.href,onClick:t,children:e.label}),es||(es=(0,e_.jsx)(np,{thickness:"core.size.line.thin",color:"core.color.border.2",vertical:!0}))]},e.href))}),eo||(eo=(0,e_.jsx)(eM.A,{thickness:"core.size.line.medium",color:"core.color.border.6",vertical:!0})),el||(el=(0,e_.jsx)(eq.CK,{}))]})})},ny=t("JR"),nf=e=>(0,e_.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 830.17 235.83",...e,children:[(0,e_.jsx)("path",{d:"M382 136.27a148 148 0 0 1-17.55 3.67 144.6 144.6 0 0 1-22.55 1.7q-12 0-20-3.22a30.2 30.2 0 0 1-12.62-9 35.2 35.2 0 0 1-6.63-13.87 74.9 74.9 0 0 1-2-17.73V45.34h26.67v49.22q0 12.89 3.41 18.62t12.71 5.73q2.86 0 6.09-.27t5.72-.63V45.34H382ZM427.89 40.46q23.5 0 36 8t12.5 24.9c0 7-1.68 12.72-5 17.11s-8.2 7.81-14.53 10.31c2.11 2.51 4.31 5.37 6.63 8.59s4.51 6.63 6.81 10.12 4.45 7.16 6.55 11 4.07 7.53 5.88 11.19h-26.27q-2.88-4.9-5.82-10t-6.05-9.81q-3.1-4.77-6.13-9t-6-7.73h-11.6v36.52h-23.5v-98.6a138 138 0 0 1 15.9-2q8.16-.59 14.63-.6m1.36 19.2c-1.71 0-3.24.05-4.6.15l-3.84.28v27.14h6.
6263q13.26 0 19-3.18t5.73-10.82q0-7.37-5.8-10.47t-17.12-3.1M524.74 43q11.81 0 19.69 2.68a30.7 30.7 0 0 1 12.62 7.7 28.4 28.4 0 0 1 6.72 12.17 60.3 60.3 0 0 1 2 15.94V137q-5.73 1.24-15.93 2.95a153.5 153.5 0 0 1-24.7 1.7 78.6 78.6 0 0 1-16.6-1.65 35.9 35.9 0 0 1-12.8-5.28 24.2 24.2 0 0 1-8.24-9.58 33.05 33.05 0 0 1-2.86-14.5 27.45 27.45 0 0 1 3.31-14 25.5 25.5 0 0 1 8.86-9.13 39.9 39.9 0 0 1 12.71-4.92 71 71 0 0 1 14.86-1.52 87 87 0 0 1 9.22.44 40.7 40.7 0 0 1 6.53 1.17v-2.44q0-6.8-4.11-10.92t-14.32-4.11a92 92 0 0 0-13.43 1A58 58 0 0 0 496.81 69l-3.4-21.47q2.32-.72 5.82-1.53c2.33-.53 4.86-1 7.61-1.43s5.64-.77 8.68-1.07 6.11-.5 9.22-.5m2.15 78q3.93 0 7.52-.17a52 52 0 0 0 5.72-.54v-20.18c-1.07-.24-2.68-.47-4.83-.71a54 54 0 0 0-5.91-.36 54 54 0 0 0-7.07.44 18.7 18.7 0 0 0-5.82 1.7 10 10 0 0 0-3.93 3.4 9.47 9.47 0 0 0-1.44 5.37q0 6.28 4.21 8.69t11.55 2.41ZM580.49 42.92h23.09v41.49l22.58-41.49h30.18l-28.5 46.67 32.5 52h-32.26L603.58 96v45.69h-23.09ZM673.71 42.92h23.08v41.49l22.58-41.49h30.19l-28.5 46.67 32.49 52H721.3L696.79 96v45.69h-23.08ZM794.32 43q11.82 0 19.7 2.68a30.76 30.76 0 0 1 12.62 7.7 28.3 28.3 0 0 1 6.71 12.17 60.2 60.2 0 0 1 2 15.94V137q-5.73 1.24-15.93 2.95a153.7 153.7 0 0 1-24.71 1.7 78.6 78.6 0 0 1-16.59-1.65 36 36 0 0 1-12.8-5.28 24.1 24.1 0 0 1-8.23-9.58 33 33 0 0 1-2.87-14.5 27.45 27.45 0 0 1 3.32-14 25.4 25.4 0 0 1 8.86-9.13 39.8 39.8 0 0 1 12.71-4.92A71 71 0 0 1 794 81.14a87 87 0 0 1 9.22.44 41 41 0 0 1 6.53 1.17v-2.51q0-6.8-4.12-10.92t-14.32-4.11a92 92 0 0 0-13.43 1A58 58 0 0 0 766.4 69L763 47.49c1.54-.48 3.49-1 5.81-1.53s4.87-1 7.61-1.43 5.64-.77 8.69-1.07 6.11-.46 9.21-.46m2.15 78c2.63 0 5.13-.06 7.52-.17a52 52 0 0 0 5.73-.54v-20.18c-1.07-.24-2.69-.47-4.83-.71A54 54 0 0 0 799 99a54 54 0 0 0-7.07.44 18.7 18.7 0 0 0-5.82 1.7 10.1 10.1 0 0 0-3.94 3.4 9.55 9.55 0 0 0-1.43 5.37q0 6.28 4.21 8.69t11.52 2.45ZM337 186.3q0-9-2.31-12.7c-1.54-2.49-4.17-3.73-7.91-3.73-1.16 0-2.36.06-3.61.18s-2.45.27-3.61.44V221H301v-63.21c1.57-.42 3.43-.85 5.54-1.31s4.36-.87 6.72-1.24 4.8-.67 7.29-.88 4.94-.31 7.35-.31a30.9 30.9 0 0 1 11.51 1.81 26.1 26.1 0 0 1 7.29 4.29 34.7 34.7 0 0 1 18.67-6.1 32.8 32.8 0 0 1 12.89 2.18 19.4 19.4 0 0 1 8 6.17 23.1 23.1 0 0 1 4.11 9.46 61 61 0 0 1 1.12 12.2v37H373V186.3q0-9-2.3-12.7t-7.91-3.73a17 17 0 0 0-4.17.74 16.1 16.1 0 0 0-4.42 1.87 28.6 28.6 0 0 1 1.12 6q.26 3.18.25 6.79V221H337ZM427.59 152.44a43.1 43.1 0 0 1 13.7 1.86 21.3 21.3 0 0 1 8.78 5.36 19.65 19.65 0 0 1 4.67 8.46 42 42 0 0 1 1.37 11.08v38.6q-4 .87-11.08 2a106 106 0 0 1-17.19 1.2 55 55 0 0 1-11.52-1.12 24.9 24.9 0 0 1-8.9-3.68 16.7 16.7 0 0 1-5.72-6.66 23 23 0 0 1-2-10.08 19.07 19.07 0 0 1 2.31-9.71 17.7 17.7 0 0 1 6.16-6.35A27.9 27.9 0 0 1 417 180a50 50 0 0 1 10.33-1 58 58 0 0 1 6.42.31 30.5 30.5 0 0 1 4.54.8v-1.74a10.26 10.26 0 0 0-2.86-7.59q-2.87-2.87-10-2.87a63 63 0 0 0-9.34.69 40 40 0 0 0-8 1.93l-2.37-14.94c1.08-.33 2.43-.69 4.05-1.06s3.38-.7 5.29-1 3.93-.53 6-.74 4.37-.35 6.53-.35m1.5 54.28c1.82 0 3.57 0 5.23-.12a37 37 0 0 0 4-.38v-14.07c-.74-.16-1.86-.33-3.36-.49a36.6 36.6 0 0 0-9 .06 13 13 0 0 0-4 1.18 6.9 6.9 0 0 0-2.74 2.36 6.6 6.6 0 0 0-1 3.74q0 4.37 2.93 6a16.15 16.15 0 0 0 7.94 1.72M492.43 152.44a43.1 43.1 0 0 1 13.7 1.86 21.3 21.3 0 0 1 8.78 5.36 19.76 19.76 0 0 1 4.67 8.46A42 42 0 0 1 521 179.2v38.6q-4 .87-11.08 2a106.4 106.4 0 0 1-17.24 1.2 55 55 0 0 1-11.51-1.12 24.9 24.9 0 0 1-8.91-3.68 16.8 16.8 0 0 1-5.73-6.66 23 23 0 0 1-2-10.08 19.17 19.17 0 0 1 2.3-9.71 17.8 17.8 0 0 1 6.17-6.35 27.9 27.9 0 0 1 8.84-3.43 50 50 0 0 1 10.33-1 58 58 0 0 1 6.42.31 30.5 30.5 0 0 1 4.54.8v-1.74a10.26 10.26 0 0 0-2.86-7.59q-2.86-2.87-10-2.87a63 63 0 0 0-9.34.69 40.3 40.3 0 0 0-8 1.93l-2.37-14.94c1.08-.33 2.43-.69 4.05-1.06s3.38-.7 5.29-1 3.92-.53 6-.74 4.37-.32 6.53-.32m1.5 54.28c1.82 0 3.57 0 5.23-.12a37 37 0 0 0 4-.38v-14.07c-.74-.16-1.86-.33-3.36-.49a36.6 36.6 0 0 0-9 .06 13 13 0 0 0-4 1.18 6.9 6.9 0 0 0-2.74 2.36 6.6 6.6 0 0 0-1 3.74c0 2.91 1 4.92 2.92 6a16.2 16.2 0 0 0 7.95 1.72M530.66 153.31h17.45V221h-17.45ZM596.41 206.15V221H559l-.18-67.48h17.33l.17 52.59ZM641.57 186.3q0-9-2.3-12.7c-1.54-2.49-4.17-3.73-7.91-3.73-1.16 0-2.37.06-3.61.18s-2.45.27-3.61.44V221h-18.56v-63.21c1.58-.42 3.43-.85 5.54-1.31s4.36-.87 6.73-1.24 4.79-.67 7.28-.88 4.94-.31 7.35-.31a31 31 0 0 1 11.52 1.81 26.2 26.2 0 0 1 7.28 4.29 34.7 34.7 0 0 1 18.68-6.1 32.8 32.8 0 0 1 12.89 2.18 19.46 19.46 0 0 1 8 6.17 23.36 23.36 0 0 1 4.11 9.46 61 61 0 0 1 1.12 12.2v37h-18.52V186.3q0-9-2.31-12.7t-7.9-3.73a17 17 0 0 0-4.18.74 16.4 16.4 0 0 0-4.42 1.87 28 28 0 0 1 1.12 6q.25 3.18.25 6.79V221h-18.55ZM730.77 152.44a43 43 0 0 1 13.69 1.86 21.3 21.3 0 0 1 8.79 5.36 19.74 19.74 0 0 1 4.66 8.46 41.6 41.6 0 0 1 1.37 11.08v38.6q-4 .87-11.08 2A106 106 0 0 1 731 221a55 55 0 0 1-11.52-1.
6212 24.9 24.9 0 0 1-8.9-3.68 16.7 16.7 0 0 1-5.72-6.66 23 23 0 0 1-2-10.08 19.07 19.07 0 0 1 2.31-9.71 17.7 17.7 0 0 1 6.16-6.35 27.9 27.9 0 0 1 8.84-3.43 50 50 0 0 1 10.33-1 58 58 0 0 1 6.41.31 31 31 0 0 1 4.55.8v-1.74a10.26 10.26 0 0 0-2.87-7.59q-2.86-2.87-10-2.87a63 63 0 0 0-9.34.69 40.2 40.2 0 0 0-8 1.93L709 155.55c1.08-.33 2.43-.69 4-1.06s3.38-.7 5.29-1 3.92-.53 6-.74 4.32-.31 6.48-.31m1.49 54.28c1.83 0 3.57 0 5.23-.12a37 37 0 0 0 4-.38v-14.07c-.75-.16-1.87-.33-3.37-.49a36.5 36.5 0 0 0-9 .06 12.9 12.9 0 0 0-4.12 1.18 7 7 0 0 0-2.74 2.36 6.66 6.66 0 0 0-1 3.74q0 4.37 2.92 6a16.2 16.2 0 0 0 8.08 1.72M782.19 214.56a6.55 6.55 0 0 1-2.07 5 7.42 7.42 0 0 1-10 0 6.63 6.63 0 0 1-2-5 6.78 6.78 0 0 1 2-5.06 7.28 7.28 0 0 1 10 0 6.7 6.7 0 0 1 2.07 5.06M808.55 152.08a26 26 0 0 1 5.67.53 24 24 0 0 1 3.66 1.06l-1.68 8.62a22 22 0 0 0-2.94-.79 18.3 18.3 0 0 0-3.74-.35c-3.52 0-5.94.93-7.26 2.81a12.43 12.43 0 0 0-2 7.31v3.08h16.89v8.88h-16.87v37.14h-10.65v-49.28q0-9 4.66-14t14.26-5.01m28.51 8.8a6.12 6.12 0 0 1-1.93 4.75 6.57 6.57 0 0 1-4.58 1.76 6.67 6.67 0 0 1-4.67-1.76 6.09 6.09 0 0 1-1.93-4.75 6.22 6.22 0 0 1 1.93-4.84 6.72 6.72 0 0 1 4.67-1.76 6.62 6.62 0 0 1 4.58 1.76 6.26 6.26 0 0 1 1.93 4.84m-1.23 59.49h-10.65v-46h10.65ZM154.29 241.26A117.92 117.92 0 1 1 272.2 123.35a118.05 118.05 0 0 1-117.91 117.91m0-222.84A104.92 104.92 0 1 0 259.2 123.35 105 105 0 0 0 154.29 18.42",style:{fill:"#61b9e0"},transform:"translate(-6.89 -5.42)"}),(0,e_.jsx)("path",{d:"M106.12 176.26a30.06 30.06 0 0 1-15.23-3.95c-3.51-2-6-6.49-6.38-11.41a11.86 11.86 0 0 1 3.11-9.47.8.8 0 0 0 .06-.27c.17-2.93.06-6-.05-8.9v-1.47c0-1.55-.12-3.1-.19-4.66-.28-6.25-.58-12.71.19-19.12 2.56-21.41 23.26-40.85 41-46.58 18.68-6 41.64-3.19 58.49 7.27 9.43 5.86 14.46 15 19.33 23.86l.79 1.45c3.77 6.83 14.42 11.73 23 15.67 1.76.81 3.42 1.58 4.92 2.32 4.08 2 6.46 5.51 6.53 9.66a13.84 13.84 0 0 1-7.24 12 12.9 12.9 0 0 1-4.54 2c-10.17 2.4-20.86 3.45-31.19 4.47-16.9 1.66-34.37 3.38-49.48 11.11-1.88 1-3.84 2-5.87 3.09-11.29 5.93-24.37 12.93-37.25 12.93m-15.22-21a7.15 7.15 0 0 0-1.4 5.28c.23 3.21 1.83 6.27 3.87 7.44 14.73 8.41 32.93-1.29 47.55-9.09 2.05-1.1 4-2.16 5.94-3.13 15.95-8.16 33.91-9.93 51.27-11.64 10.17-1 20.68-2 30.53-4.35a8.1 8.1 0 0 0 2.88-1.29l.3-.19a8.87 8.87 0 0 0 4.75-7.54c0-2.26-1.33-4.08-3.72-5.25-1.47-.72-3.1-1.47-4.82-2.26-9.22-4.25-20.7-9.54-25.26-17.81L202 104c-4.77-8.67-9.27-16.86-17.58-22-15.66-9.72-37-12.37-54.33-6.76-16.31 5.28-35.29 23.58-37.54 42.41a114 114 0 0 0-.16 18.31c.07 1.57.14 3.14.2 4.71v1.46c.11 3.06.22 6.21 0 9.36a5.9 5.9 0 0 1-1.2 3.23 5 5 0 0 1-.49.53Zm-.72-2.26 1.26 1.61a2.52 2.52 0 0 0 .25-2.11Zm-1.64-2.08.95 1.2.18-1.3a2.4 2.4 0 0 0-1.13.12Z",style:{fill:"#61b9e0"},transform:"translate(-6.89 -5.42)"}),(0,e_.jsx)("path",{d:"M98.63 117.81c10.14-34.32 52-45.93 83.4-30.8 2 1-7.82 4.62-9.59 3.77-28.2-13.56-61.62-3.33-69.67 23.9-.61 2.05-4.48 4.25-4.14 3.13M156.74 105.31a1.5 1.5 0 0 0 0-3 1.5 1.5 0 0 0 0 3M143.55 110.09a1.5 1.5 0 0 0 0-3 1.5 1.5 0 0 0 0 3M130.36 114.88a1.5 1.5 0 0 0 0-3 1.5 1.5 0 0 0 0 3M42.51 168l-29.69 18.36c-7.3 4.52-7.21 15-3.2 21.54s12 9.26 19.23 4.74l29.69-18.36C73.15 185.24 57.09 159 42.51 168",style:{fill:"#4fbae1"},transform:"translate(-6.89 -5.42)"})]});let nx=(0,eP.Ay)(aq.b).withConfig({componentId:"sc-953b5246-0"})(["th,td{padding:"," ",";&:first-child{padding-left:0;}&:last-child{padding-right:0;}}"],eL.I8.spacing["x-small"],eL.I8.spacing.small),nk=e=>{let{amount:i}=e;return Array.from({length:i},(e,i)=>
62(0,e_.jsx)(ny.A,{size:"core.size.icon.medium",color:"kl.color.primary.4"},`star-${i}`))};var nI=e=>{var i;let{businessId:t}=e,a=t.includes("-")?t:t.length>=8?`${t.substring(0,7)}-${t.substring(7,8)}`:t,{data:n}=eK._.useGetUrakkamaailmaReviewQuery({businessId:a}),s=(null==n?void 0:n.reviews_count)||0;if(!s||0===s)return null;let o=Math.round((null==n?void 0:n.reviews_average)||0),l=(null==n||null==(i=n.reviews)?void 0:i.map((e,i)=>({id:e.id??`review-${i}`,col1:e.title||"Palvelu ei tiedossa",col2:e.city||"Kaupunki ei tiedossa",col3:Math.round(e.review||0)})))||[];return(0,e_.jsxs)(nj,{gap:eL.I8.spacing.small,children:[(0,e_.jsx)(nv,{children:"Arvostelut"}),(0,e_.jsxs)(eD.A,{direction:"row",justifyContent:"space-between",children:[(0,e_.jsxs)("div",{children:[(0,e_.jsxs)(eD.A,{direction:"row",alignItems:"center",gap:eL.I8.spacing["x-small"],marginBottom:eL.I8.spacing["xx-small"],children:["Kokonaisarvosana",(0,e_.jsx)("div",{children:(0,e_.jsx)(nk,{amount:o})})]}),(0,e_.jsx)(e8.Ay,{href:null==n?void 0:n.url,target:"_blank",children:`(${s} arvostelua)`})]}),(0,e_.jsx)("div",{children:(0,e_.jsx)(e8.Ay,{href:null==n?void 0:n.url,target:"_blank",children:er||(er=(0,e_.jsx)(nf,{width:"7.0625rem"}))})})]}),(0,e_.jsxs)(nx,{textAlign:[{1:"left"},{2:"center"},{3:"right"}],"aria-label":"Urakkamaailma arvostelut",cellSize:{vertical:"small",horizontal:"small"},children:[(0,e_.jsx)(aq.b.Header,{children:(0,e_.jsx)(aq.b.Row,{children:["Palvelu","Kaupunki","Arvostelu"].map(e=>(0,e_.jsx)(aq.b.HeaderCell,{width:"100%",children:e},e))})}),(0,e_.jsx)(aq.b.Body,{children:l.map(e=>(0,e_.jsxs)(aq.b.Row,{children:[(0,e_.jsx)(aq.b.Cell,{children:e.col1}),(0,e_.jsx)(aq.b.Cell,{children:e.col2}),(0,e_.jsx)(aq.b.Cell,{children:(0,e_.jsx)(nk,{amount:e.col3})})]},e.id))})]}),(0,e_.jsxs)(e8.Ay,{href:null==n?void 0:n.url,target:"_blank",children:["Lue kaikki arvostelut"," ",ed||(ed=(0,e_.jsx)(il.A,{size:"core.size.
62icon.small"}))]})]})},nj=(0,eP.Ay)(eD.A).withConfig({componentId:"sc-953b5246-1"})(["margin-block:",";@media ","{margin-block:",";}@media ","{margin-block:",";}"],eL.I8.spacing["xx-large"],eL.I8.mediaquery.max.medium,eL.I8.spacing["x-large"],eL.I8.mediaquery.max["x-small"],eL.I8.spacing.large),nv=(0,eP.Ay)(tA.Pz).withConfig({componentId:"sc-953b5246-2"})({margin:0});let nb=(eP.Ay.div.withConfig({componentId:"sc-2755daf-0"}))(["width:100%;"]),nw=(eP.Ay.div.withConfig({componentId:"sc-2755daf-1"}))(["display:flex;justify-content:space-between;align-items:center;margin-block:"," ",";@media ","{margin-top:",";}"],eL.I8.spacing["xx-large"],eL.I8.spacing.small,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.large),nA=(eP.Ay.h2.withConfig({componentId:"sc-2755daf-2"}))(["",";line-height:",";font-size:",";color:",";margin:0;@media ","{font-size:",";}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.heavy},eL.I8["line-height"].medium,eL.I8.font.scale["3"],eL.I8.color.primary.foreground,eL.I8.mediaquery.max["x-small"],eL.I8.font.scale["2"]),nC=(eP.Ay.ul.withConfig({componentId:"sc-2755daf-3"}))(["list-style:none;padding:0;margin:0;width:100%;"]),n$=(eP.Ay.li.withConfig({componentId:"sc-2755daf-4"}))(["border-top:1px solid ",";width:100%;display:grid;grid-template-columns:1fr 1fr;align-items:center;&:first-child{border-top:none;}"],eL.I8.color.border["2"]),nz=(0,eP.Ay)(tA.gf).withConfig({componentId:"sc-2755daf-5"})(["",";overflow-wrap:break-word;word-wrap:break-word;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi}),n_=(0,eP.Ay)(tA.Du).withConfig({componentId:"sc-2755daf-6"})(["@media ","{text-align:right;}"],eL.I8.mediaquery.max["x-small"]),nT=e=>{var i;let{registrations:t}=e,[a,n]=(0,eT.useState)(!1);return(null==t||null==(i=t.content)?void 0:i.length)?(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsxs)(nb,{children:[(0,e_.jsxs)(nw,{children:[ec||(ec=(0,e_.jsx)(nA,{children:"Rekisteröinnit"})),(0,e_.jsx)(nS,{onClick:()=>n(!0),tagAs:"button",children:"Lähteet"})]}),(0,e_.jsx)(nC,{children:t.content.map(e=>(0,e_.jsxs)(n$,{children:[(0,e_.jsx)(nz,{children:e.typeLabel}),(0,e_.jsxs)(n_,{children:[e.startDate&&` ${(0,tU.Y)(e.startDate)} -`,e.endDate&&` ${(0,tU.Y)(e.endDate)}`]})]},`${e.regsitrationCode}_${e.startDate}`))})]}),(0,e_.jsx)(tw,{isOpen:a,onClose:()=>n(!1)},a?"ds-modal-open":"ds-modal-closed")]}):null};var nS=(0,eP.Ay)(ty.A).withConfig({componentId:"sc-2755daf-7"})({padding:0}),nP=t("nW");let nL=(eP.Ay.div.withConfig({componentId:"sc-8e80cbdb-0"}))(["display:flex;justify-content:space-between;align-items:center;gap:",";margin-top:",";@media ","{margin-top:",";}"],eL.I8.spacing.large,eL.I8.spacing["xx-large"],eL.I8.mediaquery.max["x-small"],eL.I8.spacing["x-large"]),nM=(eP.Ay.div.withConfig({componentId:"sc-8e80cbdb-1"}))(["width:100%;"]),nq=(eP.Ay.ul.withConfig({componentId:"sc-8e80cbdb-2"}))(["list-style:none;padding:0;margin:0;width:100%;"]),nD=(eP.Ay.li.withConfig({componentId:"sc-8e80cbdb-3"}))(["border-top:"," solid ",";width:100%;display:grid;grid-template-columns:1fr 1fr;align-items:center;&:first-child{border-top:none;}&:last-child{border-bottom:1px solid ",";}"],eL.I8.border["x-small"],eL.I8.color.border["2"],eL.I8.color.border["2"]),nO=(0,eP.Ay)(tA.Du).withConfig({componentId:"sc-8e80cbdb-4"})(["white-space:nowrap;padding:"," 0 "," ",";@media ","{text-align:right;}"],eL.I8.spacing["x-small"],eL.I8.spacing["x-small"],eL.I8.spacing.small,eL.I8.mediaquery.max["x-small"]),nN=(0,eP.Ay)(tA.gf).withConfig({componentId:"sc-8e80cbdb-5"})(["&&{padding-left:",";}"],eL.I8.spacing["xx-small"]),nE=(eP.Ay.h3.withConfig({componentId:"sc-8e80cbdb-6"}))(["",";color:",";font-size:",";margin:0;padding-top:",";line-height:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},eL.I8.color.primary.foreground,eL.I8.font.scale[-1],eL.I8.spacing.small,eL.I8["line-height"].medium);var nR=(0,eP.Ay)(iQ.D).withConfig({componentId:"sc-8e80cbdb-7"})(["padding:0;"]),nK=(0,eP.Ay)(ty.A).withConfig({componentId:"sc-8e80cbdb-8"})({padding:0}),nY=t("al");let nF=e=>{let{companyId:i,industryCode:t,currentCompanyName:a}=e,{data:n}=eK._.useGetCompanySearchQuery({industry:t,size:10,statusCode:"STA_AKT"},{skip:!t}),{data:s}=eK._.useGetCodesQuery(),o=eT.useMemo(()=>(null==n?void 0:n.companies)?n.companies.filter(e=>e.id!==i&&e.localId&&e.name&&!e.hideCompany).sort((e,i)=>{let t=Number.isFinite(e.turnover),a=Number.isFinite(i.turnover);return t&&a?(i.turnover||0)-(e.turnover||0):t&&!a?-1:!t&&a?1:0}):[],[n,i]);return t?(0,e_.jsx)(nY.y,{companies:o,codes:s,emptyState:(0,e_.jsx)(eO.A,{type:"info",header:`Ei muita yrityksi\xe4 samalla toimialalla kuin ${a}`})}):null},nH=(eP.Ay.h3.withConfig({componentId:"sc-59bb8422-0"}))(["",";color:",";font-size:",";line-height:",";padding-bottom:",";margin-block:"," 0;@media ","{margin-block-start:",";}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.medium},eL.I8.color.primary.foreground,eL.I8.font.scale["1"],eL.I8["line-height"].none,eL.I8.spacing.medium,eL.I8.spacing["xx-large"],eL.I8.mediaquery.max["x-small"],eL.I8.spacing["x-large"]),nB=(eP.Ay.div.withConfig({componentId:"sc-59bb8422-1"}))(["display:flex;flex-direction:column;gap:",";"],eL.I8.spacing["x-small"]),nV=(0,e_.jsx)(e8.Ay,{iconPosition:"left",icon:(0,e_.jsx)(il.A,{size:"core.size.
62icon.small"})}),nX=e=>{let{industryCode:i,municipalityCode:t}=e,a=[];return(i&&a.push({href:`/yritykset/toimiala/${i}`,label:"Saman toimialan muut yritykset"}),t&&a.push({href:`/yritykset/paikkakunta/${t}`,label:"Saman kunnan muut yritykset"}),i&&t&&a.push({href:`/yritykset/paikkakunta/${t}/toimiala/${i}`,label:"Saman kunnan ja toimialan muut yritykset"}),0===a.length)?null:(0,e_.jsxs)(e_.Fragment,{children:[eu||(eu=(0,e_.jsx)(nH,{children:"Katso myös"})),(0,e_.jsx)(nB,{children:a.map(e=>(0,e_.jsx)(eU.N_,{href:e.href,customComponent:nV,children:e.label},e.href))})]})};var nU=t("oE"),nW=t("rmd"),nJ=t("aH");let nQ=(eP.Ay.div.withConfig({componentId:"sc-7961aba4-0"}))(["position:relative;height:100%;display:flex;flex-direction:column;gap:",";@media ","{display:none;}"],eL.I8.spacing.medium,eL.I8.mediaquery.max.small),nG=(eP.Ay.div.withConfig({componentId:"sc-7961aba4-1"}))(["height:50%;"]),nZ=(eP.Ay.div.withConfig({componentId:"sc-7961aba4-2"}))(["display:grid;grid-template-columns:",";gap:",";margin:"," 0 "," 0;@media ","{grid-template-columns:1fr;gap:",";> div:nth-child(2){display:none;}}@media ","{margin-top:",";}@media ","{gap:0;}"],e=>{let{hasPerformerData:i}=e;return i?"2fr auto 1fr":"1fr"},eL.I8.spacing.large,eL.I8.spacing["x-large"],eL.I8.spacing.medium,eL.I8.mediaquery.max.medium,eL.I8.spacing["x-small"],eL.I8.mediaquery.max.small,eL.I8.spacing.large,eL.I8.mediaquery.max["x-small"]),n0=(0,eP.Ay)(eM.A).withConfig({componentId:"sc-7961aba4-3"})(["margin-block:"," ",";@media ","{margin-block:"," ",";"],eL.I8.spacing.large,eL.I8.spacing.small,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium,eL.I8.spacing["x-small"]),n1=(eP.Ay.div.withConfig({componentId:"sc-7961aba4-4"}))(["display:flex;flex-direction:column;gap:",";",""],eL.I8.spacing.large,e=>{let{$noRightColumn:i}=e;return i&&`
63        @media ${eL.I8.mediaquery.max.medium} {
64            margin-bottom: ${eL.I8.spacing["x-small"]};
65        }
66
67        @media ${eL.I8.mediaquery.max["x-small"]} {
68            margin-bottom: ${eL.I8.spacing.medium};
69        }
70    `}),n8=(eP.Ay.div.withConfig({componentId:"sc-7961aba4-5"}))(["display:flex;flex-direction:column;gap:",";"],eL.I8.spacing.large),n2=(eP.Ay.div.withConfig({componentId:"sc-7961aba4-6"}))(["line-height:0;margin:0;padding:0;display:flex;justify-content:center;"]),n3=()=>ep||(ep=(0,e_.jsxs)(nQ,{children:[(0,e_.jsx)(nG,{children:(0,e_.jsx)(eF.ib,{children:(0,e_.jsx)(eF.F0,{id:"almad-aside-right-1",skipPlaceholder:!0,noMargin:!0,viewportFrom:992})})}),(0,e_.jsx)(nG,{children:(0,e_.jsx)(eF.ib,{children:(0,e_.jsx)(eF.F0,{id:"almad-aside-right-2",skipPlaceholder:!0,noMargin:!0,viewportFrom:992})})}),(0,e_.jsx)(nG,{children:(0,e_.jsx)(eF.ib,{children:(0,e_.jsx)(nW.A,{svgId:"banner-sidebar"})})})]})),n4=(eP.Ay.div.withConfig({componentId:"sc-7961aba4-7"}))(["display:flex;flex-direction:row;gap:",";padding:",";align-items:flex-start;text-align:left;justify-content:space-between;@media ","{flex-direction:column;align-items:center;text-align:center;}"],eL.I8.spacing.medium,eL.I8.spacing.medium,eL.I8.mediaquery.min.large),n5=(0,eP.Ay)(n4).withConfig({componentId:"sc-7961aba4-8"})(["background-color:transparent;border-radius:",";justify-content:start;padding:0;"," @media ","{margin-block:",";}"],eL.I8.spacing.small,eB.f1,eL.I8.mediaquery.max.medium,eL.I8.spacing.small),n6=(0,eP.Ay)(eB.Dm).withConfig({componentId:"sc-7961aba4-9"})(["width:124px;height:124px;flex-shrink:0;border-radius:",";@media ","{order:1;}"],eL.I8.shape.circle,eL.I8.mediaquery.max.medium),n7=(0,eP.Ay)(eB.Dm).withConfig({componentId:"sc-7961aba4-10"})(["width:80%;height:16px;border-radius:",";"],eL.I8.spacing["xx-small"]),n9=(0,eP.Ay)(eB.Dm).withConfig({componentId:"sc-7961aba4-11"})(["width:100px;height:20px;border-radius:",";margin-top:",";"],eL.I8.spacing["xx-small"],eL.I8.spacing["x-small"]),se=(eP.Ay.div.withConfig({componentId:"sc-7961aba4-12"}))(["display:flex;flex-direction:column;margin-top:",";gap:",";@media ","{gap:",";}@media ","{margin-top:",";}@media ","{margin-top:",";margin-inline:calc("," * -1);}"],eL.I8.spacing["xx-large"],eL.I8.spacing.medium,eL.I8.mediaquery.min.small,eL.I8.spacing.large,eL.I8.mediaquery.max.small,eL.I8.spacing.large,eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium,eL.I8.spacing.medium),si=(0,eP.Ay)(eF.F0).withConfig({componentId:"sc-7961aba4-13"})(["margin-top:",";@media ","{margin-top:",";}}"],eL.I8.spacing["x-large"],eL.I8.mediaquery.max.small,eL.I8.spacing.large),st=()=>(0,e_.jsxs)(n5,{children:[eh||(eh=(0,e_.jsx)(n6,{})),(0,e_.jsxs)(sk,{gap:eL.I8.spacing["x-small"],alignItems:"center",children:[eg||(eg=(0,e_.jsx)(n7,{})),ey||(ey=(0,e_.jsx)(n7,{})),ef||(ef=(0,e_.jsx)(n9,{}))]})]}),sa=(eP.Ay.span.withConfig({componentId:"sc-7961aba4-14"}))(["",";color:",";font-size:",";line-height:",";margin-right:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},eL.I8.color.primary.foreground,eL.I8.font.scale["0"],eL.I8["line-height"].medium,eL.I8.spacing.small);var sn=e=>{var i,t;let{businessId:a,companyId:n}=e,{viewportWidth:s}=(0,eZ.hf)(),o=(0,eG.Uw)(s),l=(0,eT.useMemo)(()=>Array.from({length:3},(e,i)=>o+i),[o]),[r,d]=(0,eT.useState)(!1),[c,m]=(0,eT.useState)(!1);(0,eT.useEffect)(()=>{d(!1)},[a]);let{data:u}=eK._.useGetCompanySearchQuery({name:(0,eY.gh)(a),size:1},{skip:!!n}),p=n??(null==u||null==(t=u.companies)||null==(i=t[0])?void 0:i.id)??"",{data:h,isFetching:g}=eK._.useGetCompanyDataQuery({id:p},{skip:0===p.length}),{data:y}=eK._.useGetBoardMembersQuery({id:p},{skip:0===p.length}),{data:f}=eK._.useGetRegistrationsQuery({id:p},{skip:0===p.length}),{data:x,isFetching:k}=eK._.useGetCompanyOrdersQuery({id:p}),I=(null==x?void 0:x.content)&&x.content.length>0,j=k||I,{data:v}=eK._.useGetCodesQuery(),b=(0,eT.useMemo)(()=>
70{if((null==f?void 0:f.content)&&v)return{...f,content:f.content.map(e=>{var i;return{...e,typeLabel:(null==(i=Object.values(v).flat().find(i=>i.value===e.regsitrationCode))?void 0:i.label)??e.regsitrationCode}})}},[f,v]),w=(0,eT.useMemo)(()=>{var e,i;if((null==h?void 0:h.tol2025IndustryCode)&&v)return null==v||null==(i=v.TOL25)||null==(e=i.find(e=>e.value===h.tol2025IndustryCode))?void 0:e.label},[null==h?void 0:h.tol2025IndustryCode,v]),A=(0,eT.useMemo)(()=>{var e;if(!(null==h?void 0:h.formCode)||!v)return;let i=null==v||null==(e=v.CO)?void 0:e.find(e=>e.value===h.formCode);return null==i?void 0:i.label},[null==h?void 0:h.formCode,v]),C=(0,eT.useMemo)(()=>{var e;if(!(null==h?void 0:h.locationMunicipalityCode)||!v)return;let i=null==v||null==(e=v.SC)?void 0:e.find(e=>e.value===h.locationMunicipalityCode);return null==i?void 0:i.label},[null==h?void 0:h.locationMunicipalityCode,v]),$=(0,eV.d4)(e=>{var i;return(null==(i=e.topic.menestyjat)?void 0:i.items)??[]}),z=(0,eV.d4)(e=>{var i;return(null==(i=e.searchResultPage)?void 0:i.releases)??[]}),_=(0,eT.useMemo)(()=>[{href:"#perustiedot",label:"Perustiedot"},{href:"#taloustiedot",label:"Taloustiedot"},!r&&{href:"#uutiset",label:"Uutiset"},{href:"#vastuuhenkilot",label:"Vastuuhenkilöt ja päättäjät"},{href:"#rekisteroinnit",label:"Rekisteröinnit"}].filter(Boolean),[r]),T=(null==h?void 0:h.formCode)==="CO_2",S=(null==h?void 0:h.localId)?`${h.name??"-"} (${(0,eY.gh)(h.localId)})`:(null==h?void 0:h.name)??"-";return(0,e_.jsxs)(sd,{title:"Yrityshaku",metaTitle:`${(null==h?void 0:h.name)??"-"} | Yritys- ja taloustiedot`,metaDescription:`L\xf6yd\xe4 yrityksen ${S} yritystiedot, liikevaihto, tulos ja yhteystiedot. Katso ajankohtaiset taloustiedot Kauppalehden yrityshausta.`,sidebarContent:ex||(ex=(0,e_.jsx)(n3,{})),customContent:(0,e_.jsxs)(e_.Fragment,{children:[ek||(ek=(0,e_.jsx)(sa,{children:"Tiedot tuottaa"})),(0,e_.jsx)(eU.Ay,{href:"https://www.almainsights.fi/",external:!0,openInNewTab:!0,children:(0,e_.jsx)(so,{alt:"Alma Insights",size:"core.size.large"})})]}),hasMainH1Elsewhere:!0,titleAsLink:!0,children:[(0,e_.jsx)(nU.A,{extendedSearchHandler:()=>m(!0)},`search_${null==h?void 0:h.localId}`),c&&(0,e_.jsx)(nJ.A,{closeSearch:()=>m(!1)}),(0,e_.jsx)(eM.A,{thickness:"core.size.line.thin",color:"core.color.border.1",spacing:{size:"core.spacing.large",sides:["top"]}}),(0,e_.jsx)(ss,{orderNumber:1,viewportTo:eG.SO.tablet,noMargin:!0,$_css:eL.I8.spacing["x-large"]}),(0,e_.jsxs)(nZ,{hasPerformerData:j,children:[(0,e_.jsx)(n1,{$noRightColumn:!j,children:!g&&h&&(0,e_.jsx)(i9,{name:h.name,localId:h.localId,statusCode:h.statusCode,purpose:h.purpose,formCode:A})}),j&&(0,e_.jsxs)(e_.Fragment,{children:[eI||(eI=(0,e_.jsx)(n2,{children:(0,e_.jsx)(eq.mp,{})})),(0,e_.jsx)(n8,{children:k?ej||(ej=(0,e_.jsx)(st,{})):(0,e_.jsx)(tr,{performers:null==x?void 0:x.content})})]}),ev||(ev=(0,e_.jsx)(sg,{}))]}),eb||(eb=(0,e_.jsx)(ia,{})),ew||(ew=(0,e_.jsx)(n0,{thickness:"core.size.line.thin",color:"core.color.border.2"})),(0,e_.jsx)(ng,{navItems:_}),(0,e_.jsx)(nh,{id:"perustiedot",children:(0,e_.jsx)(tY,{localId:null==h?void 0:h.localId,formCode:A,industry:w,industryCode:(null==h?void 0:h.tol2025IndustryCode)??"",purpose:null==h?void 0:h.purpose,locationMunicipalityCode:null==h?void 0:h.locationMunicipalityCode,locationMunicipalityLabel:C,visitingAddress:null==h?void 0:h.visitingAddress,mailingAddress:null==h?void 0:h.mailingAddress,phoneNumber:null==h?void 0:h.phoneNumber,webUrl:null==h?void 0:h.webUrl,ceoName:null==h?void 0:h.ceoName,name:null==h?void 0:h.name})}),(0,e_.jsx)(sx,{$_css2:`${eL.I8.spacing.large} 0`}),(0,e_.jsx)(sm,{children:"Luokitukset"}),eA||(eA=(0,e_.jsx)(iM,{})),(0,e_.jsx)(si,{orderNumber:l[0],skipPlaceholder:!0,noMargin:!0}),(0,e_.jsx)(nh,{id:"taloustiedot",children:(0,e_.jsx)(ns,{businessId:a,companyName:null==h?void 0:h.name,companyId:p})}),(0,e_.jsx)(sy,{$_css3:`${eL.I8.spacing.large} 0`}),(0,e_.jsxs)(sI,{id:"uutiset",children:[(null==h?void 0:h.localId)&&(0,e_.jsx)(sr,{articleUuid:"",companies:[{businessId:null==h?void 0:h.localId,name:null==h?void 0:h.name}],customTitle:`Uutiset: ${null==h?void 0:h.name}`,noNewsCallback:()=>d(!0)}),(0,e_.jsx)(eF.F0,{orderNumber:l[1],skipPlaceholder:!0,spacings:{top:"core.spacing.x-large"}})]}),(null==h?void 0:h.statusCode)!=="STA_LAK"?(0,e_.jsx)(nh,{id:"vastuuhenkilot",children:(null==y?void 0:y.content)&&y.content.length>0?(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)(eD.A,{gap:eL.I8.spacing.medium,children:(0,e_.jsx)(af,{boardMembers:y.content,ceoName:null==h?void 0:h.ceoName,roleCodes:null==v?void 0:v.PS,isHousingCompany:T})}),!T&&(0,e_.jsx)(su,{as:"h3",children:"Muut päättäjät"}),eC||(eC=(0,e_.jsx)(iJ,{}))]}):(0,e_.jsxs)(e_.Fragment,{children:[e$||(e$=(0,e_.jsx)(eO.A,{type:"info",header:"Yrityksellä ei ole vastuuhenkilö- tai päättäjätietoja"})),(0,e_.jsx)(sf,{$_css4:eL.I8.spacing.large})]})}):null,(0,e_.jsx)(nh,{id:"rekisteroinnit",children:(0,e_.jsx)(nT,{registrations:b})}),(0,e_.jsx)(sp,{children:"Raportit"}),ez||(ez=(0,e_.jsx)(iX,{})),(0,e_.jsx)(sl,{companyId:p,nameTypeCodes:null==v?void 0:v.CNT,$_css5:eL.I8.spacing.large}),(0,e_.jsx)(eJ.A,{children:(0,e_.jsx)(nI,{businessId:a})}),w&&(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)(sh,{children:"Saman toimialan yritykset ja kilpailijat"}),(0,e_.jsx)(nF,{companyId:p,industryCode:(null==h?void 0:h.tol2025IndustryCode)??"",currentCompanyName:(null==h?void 0:h.name)??""})]}),$&&$.length>0&&(0,e_.jsxs)(se,{children:[(0,e_.jsx)(sb,{size:"small, @min.small=large",decorationType:"category-list",children:"Menestyjä-uutiset"}),(0,e_.jsx)(sj,{items:$,totalAvailable:$.length,handleLoadMore:()=>{},showTimestamp:!0,hideMobileLeaderboard:!0,noAds:!0})]}),z&&z.length>0&&(0,e_.jsx)(sv,{teasers:z,title:"Pörssitiedotteet",noVerticalMargin:!0,subtitleDecoratorType:"category-list",showReadMoreLink:!1}),(0,e_.jsx)(si,{orderNumber:1,postContent:!0,skipPlaceholder:!0,spacings:{bottom:"core.spacing.x-large"}}),(0,e_.jsx)(sc,{svgId:"banner-mobile"}),h&&(0,e_.jsx)(eQ.yk,{companyData:h}),(0,e_.jsx)(nX,{industryCode:null==h?void 0:h.tol2025IndustryCode,municipalityCode:null==h?void 0:h.locationMunicipalityCode})]})},ss=(0,eP.Ay)(eF.F0).withConfig({componentId:"sc-7961aba4-15"})(e=>({marginBottom:e.$_css})),so=(0,eP.Ay)(eE.d).withConfig({componentId:"sc-7961aba4-16"})({width:"6.125rem"}),sl=(0,eP.Ay)(e=>{let{companyId:i,nameTypeCodes:t}=e,[a,n]=(0,eT.useState)(!1),{data:s}=eK._.useGetCompanyNamesQuery({id:i},{skip:!i}),o=(0,eT.useMemo)(()=>{var e;if(!(null==s||null==(e=s.content)?void 0:e.length))return null;let i={};
70return s.content.forEach(e=>{var a;let n=(null==t||null==(a=t.find(i=>i.value===e.nameType))?void 0:a.label)||e.nameType;i[n]||(i[n]={label:n,names:[]}),i[n].names.push(e)}),Object.values(i).sort((e,i)=>e.label.localeCompare(i.label,"fi"))},[s,t]);return o?(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsxs)(nL,{children:[em||(em=(0,e_.jsx)(nR,{children:"Nimitiedot"})),(0,e_.jsx)(nK,{onClick:()=>n(!0),tagAs:"button",children:"Lähteet"})]}),(0,e_.jsx)(nM,{children:o.map(e=>(0,e_.jsxs)(eT.Fragment,{children:[(0,e_.jsx)(nE,{children:e.label}),(0,e_.jsx)(nq,{children:e.names.map(e=>(0,e_.jsxs)(nD,{children:[(0,e_.jsx)(nN,{children:e.name}),(0,e_.jsxs)(nO,{children:[e.startDate&&`${(0,tU.Y)(e.startDate)} -`,e.endDate&&!(0,nP.G)(new Date(e.endDate))&&` ${(0,tU.Y)(e.endDate)}`]})]},e.id||e.name))})]},e.label))}),(0,e_.jsx)(tw,{isOpen:a,onClose:()=>n(!1)},a?"ds-modal-open":"ds-modal-closed")]}):null}).withConfig({componentId:"sc-7961aba4-17"})(e=>({marginBottom:e.$_css5})),sr=(0,eP.Ay)(eH.A).withConfig({componentId:"sc-7961aba4-18"})(["@media ","{margin-inline:calc( "," * -1 );}"],eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium),sd=(0,eP.Ay)(e0.B).withConfig({componentId:"sc-7961aba4-19"})(["@media ","{> div{row-gap:",";}}"],eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium),sc=(0,eP.Ay)(nW.A).withConfig({componentId:"sc-7961aba4-20"})(["margin-top:",";@media ","{display:none;}"],eL.I8.spacing.medium,eL.I8.mediaquery.min.medium),sm=(0,eP.Ay)(iQ.D).withConfig({componentId:"sc-7961aba4-21"})(["padding:0 0 ",";@media ","{font-size:",";}"],eL.I8.spacing.small,eL.I8.mediaquery.max["x-small"],eL.I8.font.scale["2"]),su=(0,eP.Ay)(iQ.D).withConfig({componentId:"sc-7961aba4-22"})(["font-size:",";padding:"," 0 ",";"],eL.I8.font.scale["2"],eL.I8.spacing.large,eL.I8.spacing.small),sp=(0,eP.Ay)(iQ.D).withConfig({componentId:"sc-7961aba4-23"})(["margin-block:"," ",";padding:0;@media ","{margin-block-start:",";font-size:",";}"],eL.I8.spacing["xx-large"],eL.I8.spacing.small,eL.I8.mediaquery.max["x-small"],eL.I8.spacing["x-large"],eL.I8.font.scale["2"]),sh=(0,eP.Ay)(iQ.D).withConfig({componentId:"sc-7961aba4-24"})(["margin-block:"," ",";padding:0;@media ","{margin-block-start:",";font-size:",";}"],eL.I8.spacing["xx-large"],eL.I8.spacing.small,eL.I8.mediaquery.max["x-small"],eL.I8.spacing["x-large"],eL.I8.font.scale["2"]),sg=(0,eP.Ay)(eR.CK).withConfig({componentId:"sc-7961aba4-25"})(["grid-column:1 / -1;"]),sy=(0,eP.Ay)(eR.CK).withConfig({componentId:"sc-7961aba4-26"})(e=>({margin:e.$_css3})),sf=(0,eP.Ay)(eR.CK).withConfig({componentId:"sc-7961aba4-27"})(e=>({marginTop:e.$_css4})),sx=(0,eP.Ay)(()=>{let{containerRef:e,handleClick:i}=(0,e5.E)({eventCategory:"Insights_promo",mediaShort:"ai"});return(0,e_.jsx)(ir,{ref:e,children:(0,e_.jsx)(id,{external:!0,openInNewTab:!0,href:`https://www.almainsights.fi/kaikki-tuotteet-ja-palvelut/doks/counterparty/pakoteseuranta/${(0,e6.V)("sanctions_promo")}`,customComponent:(0,e_.jsxs)(e8.Ay,{focusOutline:"medium",focusOutlineOffset:"medium",children:[" Tarkista yrityksen ja sen vastuuhenkilöiden pakotteet Alma Insights -palvelussa",(0,e_.jsx)(ic,{size:"core.size.
70icon.small",$_css:eL.I8.spacing["x-small"]})]}),onClick:i})})}).withConfig({componentId:"sc-7961aba4-28"})(e=>({margin:e.$_css2})),sk=(0,eP.Ay)(eD.A).withConfig({componentId:"sc-7961aba4-29"})(["width:100%;@media ","{align-items:start;}"],eL.I8.mediaquery.max.medium),sI=(0,eP.Ay)(nh).withConfig({componentId:"sc-7961aba4-30"})(["margin-top:0;margin-bottom:",";"],eL.I8.spacing["x-large"]),sj=(0,eP.Ay)(eW.A).withConfig({componentId:"sc-7961aba4-31"})(["overflow-x:visible;> div:first-child{> svg:last-of-type{display:none;}}"]),sv=(0,eP.Ay)(eX.A).withConfig({componentId:"sc-7961aba4-32"})(["margin-top:",";margin-inline:auto;max-width:100%;> div{max-width:none;}@media ","{margin-top:",";}@media ","{padding:0;}"],eL.I8.spacing["xx-large"],eL.I8.mediaquery.max.small,eL.I8.spacing.large,eL.I8.mediaquery.max["x-small"]),sb=(0,eP.Ay)(eN.D.Subtitle).withConfig({componentId:"sc-7961aba4-33"})(["@media ","{margin:0 ",";}"],eL.I8.mediaquery.max["x-small"],eL.I8.spacing.medium),sw=t("Wf"),sA=t("eP"),sC=t("k6"),s$=t("Ej"),sz=t("Wnl"),s_=t("XX"),sT=t("Vz"),sS=t("jo"),sP=t("qD");let sL=/^\d{7}-?\d$/,sM=/^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;async function sq(e){var i,t;let a,{params:n,store:s,query:o}=e,l=n.businessId.replace(/-/g,""),r=`${l.substring(0,7)}-${l.substring(7,8)}`;if(!sL.test(l))return{redirect:`/yritykset/yrityshaku/hakutulos/${encodeURIComponent(l)}`,status:302};let d=(a=o.cid)&&sM.test(a)?a:void 0,c=null,m=null,u=!1;if(d){let e=await s.dispatch((0,sz.Pi)(eK._.endpoints.getCompanyData.initiate,{id:d},void 0,!0));e.isError||((null==(i=e.data)?void 0:i.localId)??"").replace(/-/g,"")!==l||(c=d,m=e.data??null)}if(!m){let e=await s.dispatch((0,sz.Pi)(eK._.endpoints.getCompanySearch.initiate,{name:r,size:1},void 0,!0));if(e.isError)u=!0;else if((null==(t=e.data)?void 0:t.companies)&&e.data.companies.length>0){c=e.data.companies[0].id;let i=await s.dispatch((0,sz.Pi)(eK._.endpoints.getCompanyData.initiate,{id:c},void 0,!0));i.isError||(m=i.data??null)}}if((null==m?void 0:m.statusCode)===eK.C&&(null==m?void 0:m.formCode)==="CO_26"||u||(0,sP.F)(l))return(0,sS.A)({store:s,status:404});await s.dispatch((0,sz.Pi)(eK._.endpoints.getCodes.initiate,void 0,void 0,!0)),Promise.all([(0,sC.A)(l,0,5),(0,sA.zc)(r),(0,sw.td)(),(0,s_.A)("menestyjat",0,5),(null==m?void 0:m.name)?(0,sT.A)((null==m?void 0:m.name)||"","tiedotteet",0,5):void 0].filter(Boolean).map(s.dispatch));let p=null;if(m){let e=m.languageCode;p=[{productInfo:(0,s$.A)({productID:r,companyActiveStatus:m.statusCode,companyType:m.formCode,companyIndustryCode:m.tol2025IndustryCode,companyLocation:m.locationMunicipalityCode,companyLanguage:"CL_1"===e?"suomi":"CL_2"===e&&"ruotsi"})}]}return await s.dispatch((0,eS.A)(["yritykset","yritys"],l,"Yrityssivu","itempage",{product:p})),(0,e_.jsx)(sn,{businessId:l,companyId:c??void 0})}},ii(e,i,t){t.r(i);var a=t("X");t("u");var n=t("B9"),s=t("tC6"),o=t("Wnl"),l=t("kdQ"),r=t("d8"),d=t("MV");async function c(e){var i;let{store:t,params:c,query:m}=e,u=(null==(i=c.industryCode)?void 0:i.startsWith("CD_"))&&(0,d.X)({industryCode:c.industryCode,variant:"directory",municipalityCode:c.municipalityCode,query:m});if(u)return u;let p=null==m?void 0:m.page,h=1;if(p){let e=parseInt(p,10);!isNaN(e)&&e>0&&(h=e)}let g=[(0,n.A)(["yritykset"],"yrityksetkunnittain","Yritykset kunnittain","itempage"),(0,o.Pi)(s._.endpoints.getCodes.initiate,void 0,void 0,!0),(0,o.Pi)(s._.endpoints.getCompanySearch.initiate,{location:c.municipalityCode,industry:c.industryCode,page:h,size:10},void 0,!0),(0,r.A)({limit:5})].map(t.dispatch);return await Promise.all(g),(0,a.jsx)(l.A,{isDirectoryListing:!0,locationCode:c.municipalityCode,industryCode:c.industryCode,initialPage:h})}t.d(i,{default:()=>c})},pUB(e,i,t){t.r(i),t.d(i,{default:()=>$});var a,n,s,o,l=t("X"),r=t("u"),d=t("B9"),c=t("tE"),m=t("Xo"),u=t("zQ"),p=t("Mo"),h=t("Xi"),g=t("vZ"),y=t("tC6"),f=t("oE"),x=t("Eu"),k=t("RO"),I=t("aH"),j=t("rmd");let v=(c.Ay.section.withConfig({componentId:"sc-bd90f8c7-0"}))(["gap:",";display:flex;flex-direction:column;"],m.I8.spacing.medium);var b=()=>{let[e,i]=(0,r.useState)(!1),{data:t}=y._.useGetCodesQuery(),o=(0,r.useMemo)(()=>{let e=(null==t?void 0:t.TOL25)?[...t.TOL25]:[];return(0,g.JU)(e)},[null==t?void 0:t.TOL25]);return(0,l.jsxs)(k.B,{metaTitle:"Yritykset toimialoittain | Kauppalehti Yritykset",metaDescription:"Löydät kaikki Suomen yritykset toimialoittain Yrityshaun yritystietokannasta.",title:"Yrityshaku",sidebarContent:a||(a=(0,l.jsx)(h.ib,{children:(0,l.jsx)(j.A,{})})),hasMainH1Elsewhere:!0,children:[(0,l.jsx)(x.E_,{children:(0,l.jsx)(f.A,{extendedSearchHandler:()=>i(!0)})}),e&&(0,l.jsx)(I.A,{closeSearch:()=>i(!1)}),(0,l.jsx)(w,{thickness:"core.size.xxxxx-small",color:"core.color.border.1"}),n||(n=(0,l.jsx)(h.zI,{id:"almad-leaderboard-",orderNumber:1,viewportTo:576})),(0,l.jsxs)(v,{children:[s||(s=(0,l.jsx)(x.WB,{as:"h1",children:"Yritykset toimialoittain"})),Object.entries(o).map(e=>{let[i,t]=e;return(0,l.jsxs)("section",{children:[(0,l.jsx)(x.hP,{children:i}),(0,l.jsx)(x.oZ,{children:t.map(e=>{let i;return i=`/yritykset/toimiala/${e.value}`,(0,l.jsx)("li",{children:(0,l.jsx)(A,{href:i,textLevel:"h4",children:e.label})},`${e.value}`)})})]},i)})]}),(0,l.jsx)(h.F0,{orderNumber:1,postContent:!0,skipPlaceholder:!0,spacings:{top:"core.spacing.xx-large"},viewportFrom:992})]})},w=(0,c.Ay)(u.A).withConfig({componentId:"sc-bd90f8c7-1"})(["@media ","{display:none;}"],m.I8.mediaquery.max["x-small"]),A=(0,c.Ay)(p.Ay).withConfig({componentId:"sc-bd90f8c7-2"})(["h4{margin:0;font-weight:500;display:inline-block;}"]),C=t("Wnl");async function $(e){let{store:i}=e,t=[(0,d.A)(["yritykset"],"yrityksettoimialoittain","Yritykset toimialoittain","itempage"),(0,C.Pi)(y._.endpoints.getCodes.initiate,void 0,void 0,!0),(0,C.Pi)(y._.endpoints.getContinuousPerformers.initiate,{},void 0,!0)].map(i.dispatch);return await Promise.all(t),o||(o=(0,l.jsx)(b,{}))}},ZDD(e,i,t){t.r(i),t.d(i,{default:()=>z});var a,n,s,o=t("X"),l=t("u"),r=t("B9"),d=t("Xo"),c=t("zQ"),m=t("Mo"),u=t("tE"),p=t("tC6"),h=t("Xi"),g=t("vZ"),y=t("RO"),f=t("Eu"),x=t("oE"),k=t("aH"),I=t("rmd");let j=(u.Ay.div.withConfig({componentId:"sc-2987a8a4-0"}))(["column-count:1;column-gap:",";@media ","{column-count:3;}@media ","{column-count:5;}"],d.I8.spacing.large,d.I8.mediaquery.min.medium,d.I8.mediaquery.min.large),v=(u.Ay.section.withConfig({componentId:"sc-2987a8a4-1"}))(["break-inside:avoid;margin-bottom:",";"],d.I8.spacing.medium);function b(){let[e,i]=(0,l.useState)(!1),{data:t}=p._.useGetCodesQuery(),s=(0,l.useMemo)(()=>{let e=(null==t?void 0:t.SC)?[...t.SC]:[];return(0,g.JU)(e)},[null==t?void 0:t.SC]);return(0,o.jsxs)(y.B,{metaTitle:"Yritykset paikkakunnittain | Kauppalehti Yritykset",metaDescription:"Kaikki Suomen yritykset paikkakunnittain Yrityshaun yritystietokannasta.",title:"Yrityshaku",sidebarContent:a||(a=(0,o.jsx)(h.ib,{children:(0,o.jsx)(I.A,{})})),hasMainH1Elsewhere:!0,children:[(0,o.jsx)(f.E_,{children:(0,o.jsx)(x.A,{extendedSearchHandler:()=>i(!0)})}),e&&(0,o.jsx)(k.A,{closeSearch:()=>i(!1)}),(0,o.jsx)(A,{thickness:"core.size.xxxxx-small",color:"core.color.border.1"}),n||(n=(0,o.jsx)(h.zI,{id:"almad-leaderboard-",orderNumber:1,viewportTo:576})),(0,o.jsx)(w,{as:"h1",children:"Yritykset paikkakunnittain"}),(0,o.jsx)(j,{children:Object.entries(s).map(e=>{let[i,t]=e;return(0,o.jsxs)(v,{children:[(0,o.jsx)(f.hP,{children:i}),(0,o.jsx)(f.oZ,{children:t.map(e=>(0,o.jsx)("li",{children:(0,o.jsx)(C,{href:`/yritykset/paikkakunta/${e.value}`,textLevel:"h4",children:e.label})},e.value))})]},i)})}),(0,o.jsx)(h.F0,{orderNumber:1,postContent:!0,skipPlaceholder:!0,spacings:{top:"core.spacing.xx-large"},viewportFrom:992})]})}var w=(0,u.Ay)(f.WB).withConfig({componentId:"sc-2987a8a4-2"})(["margin-bottom:",";"],d.I8.spacing.medium),A=(0,u.Ay)(c.A).withConfig({componentId:"sc-2987a8a4-3"})(["@media ","{display:none;}"],d.I8.mediaquery.max["x-small"]),C=(0,u.Ay)(m.Ay).withConfig({componentId:"sc-2987a8a4-4"})(["h4{margin:0;font-weight:500;display:inline-block;}"]),$=t("Wnl");async function z(e){let{store:i}=e,t=[(0,r.A)(["yritykset"],"yrityksetkunnittain","Yritykset kunnittain","itempage"),(0,$.Pi)(p._.endpoints.getCodes.initiate,void 0,void 0,!0),(0,$.Pi)(p._.endpoints.getContinuousPerformers.initiate,{},void 0,!0)].map(i.dispatch);return await Promise.all(t),s||(s=(0,o.jsx)(b,{}))}},YE0(e,i,t){t.r(i),t.d(i,{default:()=>U});var a,n,s,o,l,r,d,c,m,u=t("X"),p=t("u"),h=t("tE"),g=t("Xo"),y=t("ge"),f=t("hK"),x=t("Xi"),k=t("kd"),I=t("tC6"),j=t("vZ"),v=t("RO"),b=t("oE"),w=t("JU"),A=t("gEg"),C=t("rmd");let $=(h.Ay.ul.withConfig({componentId:"sc-41786b59-0"}))(["list-style:none;padding:0;margin:0;display:flex;flex-direction:column;width:100%;"]),z=(h.Ay.li.withConfig({componentId:"sc-41786b59-1"}))(["border-bottom:"," solid ",";padding:"," 0;
70display:flex;width:100%;line-height:",";&:last-child{border-bottom:none;}@media ","{flex-direction:column;gap:",";}"],g.I8.border["x-small"],g.I8.color.border["1"],g.I8.spacing.small,g.I8["line-height"].medium,g.I8.mediaquery.range["x-small"],g.I8.spacing["x-small"]),_=(h.Ay.li.withConfig({componentId:"sc-41786b59-2"}))(["border-bottom:"," solid ",";padding:"," 0;display:flex;width:100%;line-height:",";> a,> div{",";}@media ","{display:none;}"],g.I8.border["x-small"],g.I8.color.border["1"],g.I8.spacing.small,g.I8["line-height"].medium,e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},g.I8.mediaquery.range["x-small"]),T=(0,h.Ay)(k.N_).withConfig({componentId:"sc-41786b59-3"})(["",";color:",";display:flex;align-items:center;gap:",";text-decoration:none;flex:1;&:hover{text-decoration:underline;}@media ","{font-size:",";}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.medium},g.I8.color.primary.foreground,g.I8.spacing["x-small"],g.I8.mediaquery.range["x-small"],g.I8.font.scale["2"]),S=(h.Ay.div.withConfig({componentId:"sc-41786b59-4"}))(["display:flex;min-width:35%;@media ","{display:flex;flex-direction:column;margin-top:",";}"],g.I8.mediaquery.range["x-small"],g.I8.spacing["x-small"]),P=(h.Ay.div.withConfig({componentId:"sc-41786b59-5"}))(["display:flex;align-items:center;@media ","{display:flex;flex-direction:row;align-items:center;}"],g.I8.mediaquery.range["x-small"]),L=(h.Ay.span.withConfig({componentId:"sc-41786b59-6"}))(["display:none;@media ","{display:block;",";font-size:",";margin-right:",";}"],g.I8.mediaquery.range["x-small"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},g.I8.font.scale["-1"],g.I8.spacing["x-small"]),M=(h.Ay.div.withConfig({componentId:"sc-41786b59-7"}))(["",";color:",";padding:0 ",";width:128px;@media ","{padding:0;width:auto;font-size:",";}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},g.I8.color.primary.foreground,g.I8.spacing.small,g.I8.mediaquery.range["x-small"],g.I8.font.scale["-1"]),q=(h.Ay.div.withConfig({componentId:"sc-41786b59-8"}))(["",";color:",";padding:0 ",";width:9.1875rem;@media ","{padding:0;width:auto;font-size:",";}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},g.I8.color.primary.foreground,g.I8.spacing.small,g.I8.mediaquery.range["x-small"],g.I8.font.scale["-1"]),D=(h.Ay.span.withConfig({componentId:"sc-41786b59-9"}))(["display:inline-flex;align-items:center;justify-content:center;@media ","{display:none;}"],g.I8.mediaquery.range["x-small"]),O=(h.Ay.div.withConfig({componentId:"sc-41786b59-10"}))(["display:flex;flex-direction:column;gap:",";margin-bottom:",";"],g.I8.spacing["x-small"],g.I8.spacing.medium),N=(h.Ay.h1.withConfig({componentId:"sc-41786b59-11"}))(["",";font-size:",";line-height:",";margin:0;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.semi},g.I8.font.scale["3"],g.I8["line-height"].medium),E=(h.Ay.span.withConfig({componentId:"sc-41786b59-12"}))(["",";font-size:",";line-height:",";margin:0;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},g.I8.font.scale["0"],g.I8["line-height"].medium),R=(h.Ay.div.withConfig({componentId:"sc-41786b59-13"}))(["margin-bottom:",";border-bottom:"," solid ",";padding-bottom:",";"],g.I8.spacing.large,g.I8.border["x-small"],g.I8.color.border["1"],g.I8.spacing.medium);var K=(0,h.Ay)(R).withConfig({componentId:"sc-41786b59-14"})(e=>({marginBottom:e.$_css,paddingBottom:e.$_css2})),Y=()=>{var e;let[i,t]=(0,p.useState)(1),{data:m,isLoading:h}=I._.useGetNewCompaniesQuery({page:1,size:400}),{data:f}=I._.useGetCodesQuery(),k=(0,p.useMemo)(()=>{if(!(null==m?void 0:m.content))return[];let e=(i-1)*10;return m.content.slice(e,e+10)},[m,i,10]);return(0,u.jsxs)(v.B,{title:"Yrityshaku",metaTitle:"Uudet yritykset",metaDescription:"Kauppalehden yritystietopalvelusta löydät yrityksen taloustiedot, perustiedot, liikevaihdon ja rekisteritiedot. Klikkaa ja tutustu!",sidebarContent:a||(a=(0,u.jsx)(x.ib,{children:(0,u.jsx)(C.A,{})})),hasMainH1Elsewhere:!0,titleAsLink:!0,children:[(0,u.jsx)(K,{$_css:g.I8.spacing["x-large"],$_css2:g.I8.spacing.large,children:(0,u.jsx)(b.A,{extendedSearchHandler:()=>{window.location.href="/yritykset/yrityshaku"}})}),(0,u.jsx)(F,{id:"almad-leaderboard-",noMargin:!0,orderNumber:1,viewportTo:576,$_css3:g.I8.spacing.medium}),n||(n=(0,u.jsxs)(O,{children:[(0,u.jsx)(N,{children:"Uudet yritykset"}),(0,u.jsx)(E,{children:"Viimeisimmät rekisteröinnit Yritys- ja yhteisötietojärjestelmään (YTJ)"})]})),s||(s=(0,u.jsxs)(_,{children:[(0,u.jsx)(T,{children:"Yritys"}),(0,u.jsxs)(S,{children:[(0,u.jsx)(M,{children:"Y-tunnus"}),(0,u.jsx)(q,{children:"Sijainti"})]})]})),(0,u.jsx)($,{children:h?(0,u.jsx)(B,{useMediaColors:!0,size:"core.size.xx-large",text:"Ladataan yrityksiä...",$_css4:g.I8.spacing.large}):k.map((e,i)=>{var t,a;return(0,u.jsxs)(p.Fragment,{children:[(0,u.jsxs)(z,{children:[(0,u.jsxs)(T,{href:`/yritykset/yritys/${e.localId}`,children:[e.name,o||(o=(0,u.jsx)(D,{children:(0,u.jsx)(y.A,{size:"core.size.
70icon.small"})}))]}),(0,u.jsxs)(S,{children:[(0,u.jsxs)(P,{children:[l||(l=(0,u.jsx)(L,{children:"Y-tunnus"})),(0,u.jsx)(M,{children:(0,j.gh)(e.localId)})]}),(0,u.jsxs)(P,{children:[r||(r=(0,u.jsx)(L,{children:"Sijainti"})),(0,u.jsx)(q,{children:(null==f||null==(a=f.SC)||null==(t=a.find(i=>i.value===e.locationMunicipalityCode))?void 0:t.label)??"-"})]})]})]}),2===i&&(0,u.jsx)(H,{id:"almad-content-",noMargin:!0,orderNumber:1,viewportTo:576,$_css5:`${g.I8.border["x-small"]} solid ${g.I8.color.border["1"]}`})]},e.localId)})}),(0,u.jsx)(w.A,{currentPage:i,handlePageChange:e=>{t(e)},dataLength:(null==m||null==(e=m.content)?void 0:e.length)||0,resultDisplayAmount:10}),d||(d=(0,u.jsx)(A.A,{title:"Katso kaikki uudet yritykset Alma Insights -palveluista",link:"https://www.almainsights.fi/yritystietopalvelut/data/?utm_source=kauppalehti_yrityshaku#loyda",buttonText:"Tutustu palveluihin"})),c||(c=(0,u.jsx)(x.F0,{orderNumber:1,postContent:!0,skipPlaceholder:!0,viewportFrom:992}))]})},F=(0,h.Ay)(x.zI).withConfig({componentId:"sc-41786b59-15"})(e=>({marginBottom:e.$_css3})),H=(0,h.Ay)(x.zI).withConfig({componentId:"sc-41786b59-16"})(e=>({borderBottom:e.$_css5})),B=(0,h.Ay)(f.A).withConfig({componentId:"sc-41786b59-17"})(e=>({margin:e.$_css4})),V=t("Wnl"),X=t("B9");async function U(e){let{store:i}=e,t=[(0,X.A)(["yritykset"],"uudetyritykset","Uudet yritykset","itempage"),(0,V.Pi)(I._.endpoints.getNewCompanies.initiate,{page:1,size:400},void 0,!0)].map(i.dispatch);return await Promise.all(t),m||(m=(0,u.jsx)(Y,{}))}},ZRw(e,i,t){t.r(i),t.d(i,{default:()=>ei});var a,n,s,o,l,r,d,c,m,u,p,h,g,y,f=t("X"),x=t("u"),k=t("B9"),I=t("tE"),j=t("Xo"),v=t("Ui"),b=t("rN"),w=t("Lh"),A=t("WV"),C=t("Mo"),$=t("Gm"),z=t("IrX"),_=t("Xi"),T=t("tC6"),S=t("vZ"),P=t("QE"),L=t("LW"),M=t("Hu"),q=()=>{let[e,i]=x.useState(0),{data:t}=(0,L.Z6)({topic:"menestyjat",offset:8*e,limit:8});return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(O,{size:"small, @min.small=large",decorationType:"category-list",children:"Menestyjä-uutiset"}),(null==t?void 0:t.topicList.items)&&(0,f.jsx)(D,{items:t.topicList.items,totalAvailable:t.topicList.totalAvailable,handleLoadMore:()=>{i(e=>e+1)},loadMoreButtonText:"Näytä lisää uutisia",startAdIndex:1,hideMobileLeaderboard:!0})]})},D=(0,I.Ay)(M.A).withConfig({componentId:"sc-b6d85312-0"})(["@media ","{margin-inline:calc("," * -1);}"],j.I8.mediaquery.max["x-small"],j.I8.spacing.medium),O=(0,I.Ay)(A.D.Subtitle).withConfig({componentId:"sc-b6d85312-1"})(["margin-bottom:",";"],j.I8.spacing.large),N=t("vm"),E=t("rmd");let R=()=>(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(_.F0,{id:"almad-aside-right-1",spacings:{bottom:"core.spacing.x-large"},viewportFrom:"tablet_landscape"}),a||(a=(0,f.jsx)(E.A,{withBottomSpacing:!0})),(0,f.jsx)(K,{$_css:j.I8.spacing["x-large"]}),(0,f.jsx)(_.ib,{children:(0,f.jsx)(_.F0,{id:"almad-aside-right-2",viewportFrom:"tablet_landscape",spacings:{bottom:"core.spacing.x-large"}})})]});var K=(0,I.Ay)(N.A).withConfig({componentId:"sc-1ac3544a-0"})(e=>({marginBottom:e.$_css})),Y=t("RO"),F=t("oE");let H=(I.Ay.p.withConfig({componentId:"sc-bd3fa973-0"}))(["",";color:",";line-height:",";margin-top:",";margin-bottom:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},j.I8.color.primary.foreground,j.I8["line-height"].medium,j.I8.spacing.small,j.I8.spacing["xx-small"]),B=(0,I.Ay)(v.CK).withConfig({componentId:"sc-bd3fa973-1"})(["margin:"," 0;@media ","{display:none;}"],j.I8.spacing.large,j.I8.mediaquery.max["x-small"]),V=(I.Ay.h2.withConfig({componentId:"sc-bd3fa973-2"}))(["",";margin-top:",";margin-bottom:",";font-size:",";color:",";line-height:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.medium},j.I8.spacing.large,j.I8.spacing.medium,j.I8.font.scale["1"],j.I8.color.primary.foreground,j.I8["line-height"].medium),X=(I.Ay.div.withConfig({componentId:"sc-bd3fa973-3"}))(["padding:",";margin-bottom:",";background-color:",";"],j.I8.spacing.medium,j.I8.spacing["x-large"],j.I8.color.primary["1"]),U=(0,I.Ay)(b.J).withConfig({componentId:"sc-bd3fa973-4"})(["display:flex;flex-direction:column;gap:",";padding:",";@media ","{flex-direction:row;gap:",";padding:",";}"],j.I8.spacing.medium,j.I8.spacing.medium,j.I8.mediaquery.min.small,j.I8.spacing["x-large"],j.I8.spacing.large);var W=()=>{let[e,i]=(0,x.useState)(null),{data:t}=T._.useGetPerformerEligibilityQuery({companyId:(null==e?void 0:e.id)||""},{skip:!(null==e?void 0:e.id)});return(0,f.jsxs)(Y.B,{metaTitle:"Kauppalehti Menestyjät",metaDescription:"Tarkista kuuluuko yritykse
70si Kauppalehti menestyjiin.",title:"Menestyjät",sidebarContent:n||(n=(0,f.jsx)(R,{})),children:[(0,f.jsx)(w.A,{imageSrc:`${P.A.assetApiUrl}/static/images/performer_promotion.svg`,imageAlt:"Menestyjät-merkkejä",promotionText:"Onko yrityksesi yksi Menestyjä-yrityksistä?",orderLink:{href:"https://www.almainsights.fi/kaikki-tuotteet-ja-palvelut/menestyja-sertifikaatti/",text:"Tilaa sertifikaatti",external:!0},checkLink:{href:"#menestyjat-tarkistus",text:"Tarkista yrityksesi luokitus"}}),s||(s=(0,f.jsx)(B,{})),o||(o=(0,f.jsx)(_.zI,{id:"almad-leaderboard-",orderNumber:1,viewportTo:576})),l||(l=(0,f.jsx)(A.D.Subtitle,{children:"Menestyjä-sertifikaatti"})),r||(r=(0,f.jsx)(H,{children:"Menestyjä-sertifikaatti on merkki menestyksestä ja luotettavuudesta. Sertifikaatin ansaitsevat yritykset, jotka ovat taloudellisilla mittareilla mitattuna suoriutuneet paremmin kuin muut saman toimialan ja kokoluokan yritykset. Yrityksiä verrataan kuudessa eri osa-alueessa, joita ovat kasvu, kannattavuus, tulos, maksuvalmius, vakavaraisuus ja riskinsietokyky. Luokitus perustuu Alma Insightsin keräämiin tilinpäätöstietoihin"})),d||(d=(0,f.jsx)(C.Ay,{href:"https://www.almainsights.fi/kaikki-tuotteet-ja-palvelut/menestyja-sertifikaatti/",externalLink:!0,children:"Lue tarkempi kuvaus Menestyjä-paketin sisällöstä"})),c||(c=(0,f.jsx)(V,{id:"menestyjat-tarkistus",children:"Tarkista kuuluuko yrityksesi Menestyjä-yrityksiin"})),(0,f.jsx)(X,{children:(0,f.jsx)(F.A,{onSelect:e=>{i(e)},showExtendedSearch:!1})}),e&&t&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)($.A,{businessId:(0,S.gh)(e.localId),isPerformer:t.eligible,companyLink:{href:`/yritykset/yritys/${e.localId}`,text:e.name??""},orderLink:{href:"https://www.almainsights.fi/kaikki-tuotteet-ja-palvelut/menestyja-sertifikaatti/",text:"Tilaa sertifikaatti",external:!0},infoLink:{href:"https://www.almainsights.fi/tunnuslukuopas/luokitus-ja-kriisitunnusluvut/menestyjaluokitus/",text:"Lue lisää menestyjäkriteereistä",external:!0},performerHeadingText:"Onneksi olkoon, yrityksesi on yksi menestyjistä!",performerInfoText:"Tiedot perustuvat uusimpaan saatavilla olevaan tilinpäätöstietoon.",notPerformerHeadingText:"Yrityksesi ei vielä ole menestyjä",notPerformerInfoText:"Menestyjä-sertifikaatti edellyttää vähintään 50 pistettä, yli 200 tuhannen euron liikevaihdon sekä tuoreet tilinpäätöstiedot."}),m||(m=(0,f.jsx)(B,{}))]}),(0,f.jsxs)(U,{children:[(0,f.jsx)(J,{children:"Katso maakuntien menestyjät ja muut kiinnostavat yrityslistat Alma Insights -palveluissa."}),u||(u=(0,f.jsx)(C.Ay,{href:"https://www.almainsights.fi/yritystietopalvelut/data/#loyda",externalLink:!0,noIcon:!0,children:(0,f.jsx)(b.J.PromotionCTAButton,{children:"Tutustu palveluihin"})}))]}),p||(p=(0,f.jsx)(z.A,{size:"core.spacing.x-large"})),h||(h=(0,f.jsx)(q,{}))]})},J=(0,I.Ay)(b.J.PromotionText).withConfig({componentId:"sc-bd3fa973-5"})({display:"inline"}),Q=t("Pj"),G=t("Ex"),Z=t("Xd"),ee=t("Wnl");async function ei(e){let{store:i}=e;try{let e=[i.dispatch((0,k.A)(["yritykset","menestyjat"],"menestyjat","Menestyjat","sectionfrontpage")),(0,ee.Pi)(T._.endpoints.getContinuousPerformers.initiate,{},void 0,!0)];return await Promise.all(e),Promise.all([i.dispatch((0,Q.A)()),i.dispatch((0,G.A)()),i.dispatch((0,Z.A)())]),g||(g=(0,f.jsx)(W,{}))}catch(e){return y||(y=(0,f.jsx)(W,{}))}}},Zyy(e,i,t){t.r(i),t.d(i,{default:()=>M});var a,n,s=t("X");t("u");var o=t("B9"),l=t("tE"),r=t("zQ"),d=t("Xi"),c=t("OuU"),m=t("WV"),u=t("Ac"),p=t("Xo"),h=t("QE"),g=t("t5"),y=e=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:56,height:74,fill:"none",viewBox:"0 0 56 74",...e,children:[(0,s.jsx)("path",{stroke:"var(--core-color-primary-foreground)",strokeWidth:2,d:"M35.244 1H3a2 2 0 0 0-2 2v60.31a2 2 0 0 0 2 2h34.878M35.244 1v11.583a1 1 0 0 0 1 1h11.131M35.244 1l12.131 12.583m0 0v39.844M8.902 26.67h17.671m3.787 0h5.68M8.902 33.66h29.635M24.707 40.65h13.884M8.902 40.65h12.622M8.902 47.64h29.635"}),(0,s.jsx)("path",{fill:"var(--kl-color-brand)",d:"M48.66 54.23c0-6.6-5.008-11.944-11.196-11.944S26.268 47.63 26.268 54.23s5.009 11.943 11.196 11.943c6.188 0 11.196-5.343 11.196-11.943m-20.035 0c0-5.218 3.948-9.43 8.84-9.43 4.89 0 8.838 4.212 8.838 9.43 0 5.216-3.948 9.428-8.839 9.428s-8.84-4.212-8.84-9.429"}),(0,s.jsx)("path",{fill:"var(--kl-color-brand)",d:"M48.393 54.228c0-6.442-4.89-11.657-10.929-11.
70657V42c6.336 0 11.464 5.47 11.464 12.228zM37.464 42.571c-6.04 0-10.928 5.215-10.928 11.657H26C26 47.471 31.129 42 37.464 42zM26.536 54.228c0 6.443 4.889 11.657 10.928 11.657v.572C31.13 66.457 26 60.987 26 54.228zm10.928 11.657c6.04 0 10.929-5.215 10.929-11.657h.535c0 6.758-5.128 12.229-11.464 12.229zm-9.107-11.657c0-5.374 4.068-9.714 9.107-9.714v.572c-4.743 0-8.571 4.083-8.571 9.142zm9.107-9.714c5.04 0 9.107 4.34 9.107 9.714h-.535c0-5.059-3.829-9.142-8.572-9.142zm9.107 9.714c0 5.375-4.068 9.714-9.107 9.714v-.57c4.743 0 8.572-4.084 8.572-9.144zm-9.107 9.714c-5.039 0-9.107-4.339-9.107-9.714h.536c0 5.06 3.828 9.143 8.571 9.143z"}),(0,s.jsx)("path",{fill:"var(--kl-color-brand)",d:"M55.732 72.457c0-.315-.117-.629-.353-.88L45.36 60.89c-.471-.503-1.179-.503-1.65 0a1.27 1.27 0 0 0 0 1.76l10.018 10.686c.471.502 1.178.502 1.65 0 .236-.252.353-.566.353-.88"}),(0,s.jsx)("path",{fill:"var(--kl-color-brand)",d:"m55.379 71.577.189-.202zM45.36 60.892l-.19.202zm-1.65 1.76.19-.202zm10.018 10.685-.19.202zm1.65 0-.19-.202zm.085-.88a1 1 0 0 0-.275-.678l.379-.404c.284.304.432.69.432 1.082zm-.275-.678L45.171 61.094l.38-.404 10.017 10.685zM45.171 61.094c-.366-.391-.904-.391-1.27 0l-.38-.404c.576-.615 1.453-.615 2.03 0zm-1.27 0a.973.973 0 0 0 0 1.356l-.38.404a1.57 1.57 0 0 1 0-2.164zm0 1.356 10.017 10.685-.379.404-10.018-10.685zm10.017 10.685c.367.392.904.392 1.271 0l.379.404c-.576.615-1.453.615-2.029 0zm1.271 0a1 1 0 0 0 .275-.678H56c0 .393-.148.78-.432 1.082z"})]});let f=(l.Ay.div.withConfig({componentId:"sc-a73ee3d8-0"}))(["",""],e=>{let{theme:i}=e;return(0,l.AH)(["border:"," solid ",";border-top:calc("," + ",") solid ",";box-shadow:0px 11px 20px -9px rgba(0,0,0,0.15);display:inline-flex;flex-direction:row;flex-wrap:wrap;margin:"," 0;padding:",";width:100%;"],p.I8.border["x-small"],p.I8.color.border["2"],p.I8.border["x-small"],p.I8.border.small,i.foundation.media.color.brand,p.I8.spacing.medium,p.I8.spacing.medium)}),x=(l.Ay.div.withConfig({componentId:"sc-a73ee3d8-1"}))(["width:100%;display:flex;flex-wrap:wrap;"]),k=(l.Ay.h3.withConfig({componentId:"sc-a73ee3d8-2"}))(["width:100%;margin:10px 0 0;font-size:24px;font-weight:400;color:",";"],p.I8.color.primary.foreground),I=(l.Ay.p.withConfig({componentId:"sc-a73ee3d8-3"}))(["color:",";flex:1 1 auto;line-height:",";@media ","{flex:1 1 65%;}"],p.I8.color.primary.foreground,p.I8["line-height"].medium,p.I8.mediaquery.min.small),j=(0,l.Ay)(g.N_).withConfig({componentId:"sc-a73ee3d8-4"})(["display:flex;flex-direction:column;flex:1 1 auto;@media ","{align-items:center;margin:0.9375rem 0 0;text-align:center;width:30%;}svg{@media ","{display:none;}}&:hover{text-decoration:underline;}"],p.I8.mediaquery.min.small,p.I8.mediaquery.max["x-small"]),v=(0,l.Ay)(g.N_).withConfig({componentId:"sc-a73ee3d8-5"})(["color:",";width:100%;margin:10px 0;"],p.I8.color.primary.foreground);var b=function(e){let{productData:i,businessId:t}=e,{name:n,description:o,link:l,modelReportLink:r,productCode:d}=i,c=t&&d?`${h.A.businessProductOrderLink}yritystuote?businessId=${t}&productCode=${d}`:l;return(0,s.jsx)(f,{children:(0,s.jsxs)(x,{children:[n&&(0,s.jsx)(k,{children:(0,s.jsx)(g.N_,{href:l,children:n})}),o&&(0,s.jsx)(I,{children:o}),r&&(0,s.jsxs)(j,{href:r,openInNewTab:!0,children:[a||(a=(0,s.jsx)(y,{})),"Katso malliraportti"]}),l&&!t&&(0,s.jsx)(v,{href:c,openInNewTab:!0,children:"Lue lisää »"})]})})};let w={kaupparekisteriote:"0014021","yrityksen-maksuhairiot":"0191001",tilinpaatos:"0130024","yrityksen-vastuuhenkilot":"0030022",yhtiojarjestys:"0014022"};h.A.cmsCode.about,h.A.cmsCode.performers;let A={kaupparekisteriote:{productCode:"0014021",cmsName:"Kaupparekisteriote",cmsContent:'<p><strong>Mikä on kaupparekisteriote?</strong></p>\n<p>Kaupparekisteriote on Patentti- ja rekisterihallituksen (PRH) virallinen kaupparekisteriote. Kaupparekisteriotteelta selviää yrityksen kaupparekisteriin ilmoittamat viralliset tiedot, kuten toiminimi, kotipaikka- ja kunta, osoitetiedot, toimiala sekä vastuuhenkilöt. Kaupparekisteriote sisältää yrityksen kaikki aputoiminimet, hallituksen jäsenet, muut vastuuhenkilöt ja prokuristit eli nimenkirjoittajat.</p>\n<p>
70Tiedot haetaan reaaliaikaisesti Patentti- ja rekisterihallituksen ylläpitämästä kaupparekisteristä.</p>\n<p><strong>Kaupparekisteri</strong></p>\n<p>Osakeyhtiöiden, kommandiittiyhtiöiden, avoimien yhtiöiden ja osuuskuntien on aina tehtävä perustamisilmoitus kaupparekisteriin. Yksityisten elinkeinoharjoittajien eli toiminimien on tehtävä perustamisilmoitus tietyissiä tapauksissa, jos esimerkiksi yrityksellä on kiinteä toimipaikka.</p>\n<p>Yritysmuodosta riippuen kaupparekisteriin ilmoitetaan yrityksen muuttuneista tiedoista ja yritystoiminnan lopettamisesta. Kaupparekisteristä löytyy siis aina ajantasainen tieto yrityksistä.</p>\n<p><strong>Mihin kaupparekisteriotetta tarvitaan?</strong></p>\n<p>Kaupparekisteriotetta tarvitaan erityisesti erilaisia lupia ja todistuksia varten. Esimerkiksi, kaupparekisteriotetta tarvitaan usein rakennuslupiin sekä rakentajan että rakennuttajan, esimerkiksi taloyhtiön puolesta. Kaupparekisteriotetta tarvitset myös, jos olet avaamassa yritykselle pankkitiliä. Mikäli henkilöllä on nimenkirjoitusoikeus yrityksessä, kaupparekisteriote on yksi tapa todistaa nimenkirjoitusoikeuden olemassaolo.</p>\n<p><strong>Osta kaupparekisteriote netistä</strong></p>\n<p>Tilaa kaupparekisteriote helposti haluamastasi yrityksestä Kauppalehden yrityshausta yllä olevasta hausta. Sinun ei tarvitse rekisteröityä ja voit maksaa kaupparekisteriotteen pankkitunnuksilla, luottokortilla tai mobilepaylla.</p>\n<p>Jos tarvitset Kaupparekisteriotetta takautuvasti tietyltä päivältä, esimerkiksi lakanneen yrityksen lakkaamishetken kaupparekisteritiedot tai vastuuhenkilöt haluamaltasi ajankohdalta, saat ne <a href="https://www.almatalent.fi/ota-yhteytta-asiakaspalveluun/">Alma Insights Tietopalveluista</a></p>\n<p><strong>Malliraportti: </strong><a title="Katso malliraportti Kaupparekisteriotteesta" href="https://static.almamedia.fi/docs/librariesprovider3/malliraportit/yritykset/malliraportti_kaupparekisteriote.pdf?sfvrsn=2b1718ed_8" target="_blank" rel="noopener">Katso malliraportti Kaupparekisteriotteesta</a></p>\n<p><strong>Lähde:</strong> <a title="Kaupparekisteri (PRH)" href="https://www.prh.fi/fi/kaupparekisteri.html?_ga=2.3324272.139905259.1512973739-1063175378.1511251718" target="_blank" rel="noopener">Kaupparekisteri (PRH)</a></p>\n',price:"6,60",modelReportLink:"https://almatalent.fi/docs/malliraportti_kaupparekisteriote.pdf",modelReportLinkText:"Malliraportti kaupparekisteriotteesta (PDF)",headTitle:"Kaupparekisteriote | Yrityshaku",headDescription:"Tilaa kaupparekisteriote helposti netistä. Kaupparekisteriote sisältää yritystä koskevat Kaupparekisteriin merkityt viralliset tiedot.",disabled:!1},"yrityksen-maksuhairiot":{productCode:"0191001",cmsName:"Yrityksen maksuhäiriöt",cmsContent:'<p>Tarkasta yrityksen mahdolliset maksuhäiriöt sekä muut julkiset merkinnät Yrityksen maksuhäiriöt -raportilta. Jos yrityksellä on maksuhäiriöitä tai muita julkisia merkintöjä, niistä näytetään tyyppi, päivämäärä, summa ja velkoja. Maksuhäiriötietojen lisäksi raportilta selviää yrityksen yhteystiedot, yritysmuoto, toimiala ja YTJ-rekisteröinnit.</p>\n<p><strong>Mistä maksuhäiriö syntyy?</strong></p>\n<p data-list="0" data-level="1">Yrityksen maksuhäiriö syntyy, mikäli yritys laiminlyö maksuvelvollisuutensa eikä maksuhuomautuksista huolimatta maksa velkaansa. Käytännössä yritykselle syntyy maksuhäiriömerkintä, mikäli perintätoimiston lähettämää trattaa ei makseta eräpäivään mennessä, kun yrityksen maksamattomasta maksusta on haettu tuomioistuimen päätös, tai ulosottoviranomaisen ilmoituksella.</p>\n<p>Yrityksen maksuhäiriöt on hyvä tarkistaa ennen yhteistyöhön ryhtymistä uusien asiakkaiden tai kumppaneiden kanssa. Kun tarkistat yrityksen maksuhäiriöt, varmistat harjoittavasi liiketoimintaa vakaiden ja maksukykyisten yritysten kanssa.</p>\n<p><strong>Osta yrityksen maksuhäiriöt netistä</strong></p>\n<p>Tilaa yrityksen maksuhäiriöt helposti haluamastasi yrityksestä Kauppalehden yrityshausta yllä olevasta hausta. Sinun ei tarvitse rekisteröityä ja voit maksaa raportin pankkitunnuksilla, luottokortilla tai mobilepaylla.</p>\n<p>Yrityksen maksuhäiriöt -raportin tuottaa Bisnode-konserniin kuuluva Bisnode Finland Oy.</p>\n<p><strong>Malliraportti:</strong> <a title="Katso malliraportti Yrityksen maksuhäiriöistä" href="https://www.almatalent.fi/docs/malliraportit/yritykset/malliraportti_yrityksen_maksuhairiomerkinnat.pdf" target="_blank" rel="noopener" data-sf-ec-immutable="">Katso malliraportti Yrityksen maksuhäiriöistä</a></p>\n<p><strong>Lähde:</strong> <a title="Bisnode Finland Oy" href="https://finland.bisnode.fi/" target="_blank" rel="noopener" data-sf-ec-immutable="">Bisnode Finland Oy</a></p>\n',price:"6,60",modelReportLink:"https://almatalent.fi/docs/malliraportit/yritykset/malliraportti_yrityksen_maksuhairiomerkinnat.pdf",modelReportLinkText:"Malliraportti yrityksen maksuhäiriöistä (PDF)",headTitle:"Yrityksen maksuhäiriömerkinnät | Yrityshaku",headDescription:"Tilaa Yrityksen maksuhäiriöt -raportti Yrityshausta. Yr
70ityksen maksuhäiriöt -raportilta selviää yrityksen maksuhäiriöt ja muut julkiset merkinnät, sekä yrityksen yhteystiedot ja YTJ-merkinnät.",disabled:!1},tilinpaatos:{productCode:"0130024",cmsName:"Tilinpäätös",cmsContent:'<p><strong>Mikä on tilinpäätös?</strong></p>\n<p>Tilinpäätös sisältää yrityksen viimeisimmän Patentti- ja rekisterihallitukselle (PRH) toimittaman tilinpäätöksen liitetietoineen. Yrityksillä on velvollisuus jokaisen tilikauden jälkeen, yleensä vuosittain, laatia tilinpäätös, joka kuvaa yrityksen senhetkisen taloudellisen tilanteen ja varallisuuden. Tilinpäätös tulee tehdä 4 kuukauden kuluessa tilikauden päättymisestä. Yrityksen tilikausi on yleensä vuoden mittainen, mutta voi vaihdella kuukaudesta maksimissaan 18 kuukauteen. Tilinpäätös on ainoita lakisääteisiä informaatioita yrityksen taloudellisesta tilasta, joita yritykset ovat velvollisia jakamaan.</p>\n<p><strong>Mitä tilinpäätös sisältää?</strong></p>\n<p>Tilinpäätös sisältää yleensä:</p>\n<ul>\n<li>tuloslaskelma</li>\n<li>tase</li>\n<li>tuloslaskelman ja taseen liitetiedot</li>\n<li>tilinpäätöskertomus</li>\n<li>hallituksen toimintakertomus</li>\n</ul>\n<p>Tilinpäätös yksinkertaisuudessaan kertoo yrityksen toiminnan tuloksen kyseisellä tilikaudella. Tilinpäätöksen sisällön perusteella voidaan tehdä analyysejÃ
70¤ yrityksen sen hetkisestä tilasta, mutta lukujen perusteella voidaan myös ennakoida yrityksen tulevaa talouskehitystä (<a href="https://www.kauppalehti.fi/uutiset/tilinpaatos-ennustaa-konkurssin-jo-vuosia-aiemmin-nain-sen-voi-nahda/3722d2d4-5aec-4c48-9457-166da9188694" target="_blank" rel="noopener" data-sf-ec-immutable="">Katso lisää Kauppalehden toimituksen Tilinpäättäjän tietoiskusta</a>). Tilinpäätöksen tuloslaskelma kertoo yrityksen kannattavuudesta. Taseesta selviää yrityksen varallisuus, velat sekä oma pääoma.</p>\n<p>Velvollisuus julkistaa ja rekisteröidä yrityksen tilinpäätös perustuu pääasiallisesti kirjanpitolain ja osakeyhtiölain sekä eräiden muiden erityislakien säännöksiin. Tilinpäätökset ovat siinä muodossa, kun yritys on ne Patentti- ja rekisterihallitukselle toimittanut.</p>\n<p><strong>Osta tilinpäätös netist</strong><strong>ä</strong></p>\n<p>Kauppalehden yrityshausta saat tuoreimman saatavilla olevan tilinpäätöksen. Osta tilinpäätös helposti haluamastasi yrityksestä Kauppalehden yrityshausta yllä olevasta hausta. Sinun ei tarvitse rekisteröityä ja voit maksaa kaupparekisteriotteen pankkitunnuksilla, luottokortilla tai mobilepaylla.</p>\n<p>Jos tarvitset yrityksen aikaisempia tilinpäätöksiä, saat ne <a href="http://old.almatalent.fi/tietopalvelut/lomakkeet/ota-yhteytta">Alma Talent Tietopalveluista</a></p>\n<p><strong>Malliraportti:</strong> <a title="Katso malliraportti Tilinpäätöksestä" href="https://static.almamedia.fi/docs/librariesprovider3/malliraportit/yritykset/malliraportti_tilinpaatos_pdf_tuloste.pdf?sfvrsn=51941fed_28" target="_blank" rel="noopener" data-sf-ec-immutable="">Katso malliraportti Tilinpäätöksestä</a></p>\n<p><strong>Lähde:</strong> <a title="Kaupparekisteri (PRH)" href="https://www.prh.fi/fi/kaupparekisteri.html?_ga=2.234025694.139905259.1512973739-1063175378.1511251718" target="_blank" rel="noopener" data-sf-ec-immutable="">Kaupparekisteri (PRH)</a></p>\n',price:"9,90",modelReportLink:"https://almatalent.fi/docs/malliraportit/yritykset/malliraportti_tilinpaatos_pdf_tuloste.pdf",modelReportLinkText:"Malliraportti tilinpäätöksestä (PDF)",headTitle:"Tilinpäätös | Yrityshaku",headDescription:"Osta yrityksen tilinpäätös helposti Yrityshausta. Raportti sisältää yrityksen viimeisimmän kaupparekisteriin toimittaman tilinpäätöksen. Tarjolla on aina uusin, saatavilla oleva tilinpäätös.",disabled:!1},"yrityksen-vastuuhenkilot":{productCode:"0030022",cmsName:"Yrityksen vastuuhenkilöt",cmsContent:'<p>Yrityksen vastuuhenkilöt -raportilta selviää yrityksen kaupparekisteriin ilmoittamat vastuuhenkilöt ja nimenkirjoittajat sekä heidän roolinsa yrityksessä. Raportilla ilmoitetaan vastuuhenkilöiden syntymäaika ja kansalaisuus. Vastuuhenkilöiden määrä vaihtelee yrityskohtaisesti. Raportilta selviää myös yrityksen tilintarkastajat.</p>\n<p><strong>Ketkä ovat yrityksen vastuuhenkilöt?</strong></p>\n<p>Yrityksen virallisia vastuuhenkilöitä ovat yrityksen Kaupparekisteriin ilmoittamat henkilöt muun muassa hallituksen jäsenet, toimitusjohtaja sekä prokuristit. Yrityksen vastuuhenkilö on lain mukaan valtuutettu edustamaan yritystä. Nimenkirjoittajalla taas on nimenkirjoitusoikeus yritystä koskevissa sopimuksissa tai asiakirjoissa. Vastuuhenkilön, esimerkiksi toimitusjohtajan edustusoikeutta on kuitenkin usein rajoitettu. Toimitusjohtaja ei voi esimerkiksi toimia kaikissa sopimuksissa ilman hallituksen valtuutusta.</p>\n<p>Kumppanisopimuksia laadittaessa on syytä tarkistaa toisen osapuolen edustamis- ja nimenkirjoitusoikeus. Mikäli oikeus on puutteellinen, tehtyjen sopimusten pätevyys on kyseenalainen.</p>\n<p><strong>Osta yrityksen vastuuhenkilöt -raportti netistä</strong></p>\n<p>Selvitä vastuuhenkilöt helposti haluamastasi yrityksestä Kauppalehden yrityshausta yllä olevasta hausta. Sinun ei tarvitse rekisteröityä ja voit maksaa raportin pankkitunnuksilla, luottokortilla tai mobilepaylla.</p>\n<p><strong>Malliraportti:</strong> <a title="Katso malliraportti Vastuuhenkilöiden ja nimenkirjoittajien pdf-tulosteesta" href="https://www.almatalent.fi/docs/malliraportit/yritykset/malliraportti_vastuuhenkilot_ja_nimenkirjoittajat_pdf.pdf" target="_blank" rel="noopener" data-sf-ec-immutable="">Katso malliraportti Vastuuhenkilöiden ja nimenkirjoittajien pdf-tulosteesta</a></p>\n<p><strong>Lähde:</strong> <a title="Kaupparekisteri PRH" href="https://www.prh.fi/fi/kaupparekisteri.html?_ga=2.238157504.139905259.1512973739-1063175378.1511251718" target="_blank" rel="noopener" data-sf-ec-immutable="">Kaupparekisteri PRH</a></p>\n',price:"6,60",modelReportLink:"https://almatalent.fi/docs/malliraportit/yritykset/malliraportti_vastuuhenkilot_ja_nimenkirjoittajat_pdf.pdf",modelReportLinkText:"Malliraportti yrityksen vastuuhenkilöistä (PDF)",headTitle:"Yrityksen vastuuhenkilöt | Yrityshaku",headDescription:"Osta Vastuuhenkilöt ja nimenkirjoittajat -raportti Yrityshausta. Raportilta selviää yrityksen vastuuhenkilöt, prokuristit(nimenkirjoittajat) sekä tilintarkastajat.",disabled:!1}
70,yhtiojarjestys:{productCode:"0014022",cmsName:"Yhtiöjärjestys",cmsContent:'<p><strong>Mikä on yhtiöjärjestys?</strong></p>\n<p>Yhtiöjärjestys on lain mukaan pakollinen asiakirja osakeyhtiölle. Yhtiöjärjestys sisältää osakeyhtiön tai asunto-osakeyhtiön kaupparekisteriin ilmoittamat tiedot yhtiöstä. Yhtiöjärjestys on julkinen asiakirja, siten sillä on tärkeä osuus yrityksen julkisen luotettavuuden kannalta. Yhtiöjärjestys haetaan reaaliaikaisesti Patentti- ja rekisterihallituksen (PRH) ylläpitämästä kaupparekisteristä.</p>\n<p><strong>Mitä yhtiöjärjestys sisältää?</strong></p>\n<p>Yhtiöjärjestyksestä käy ilmi muun muassa yhtiön toiminimi, kotipaikka ja toimiala sekä yhtiön muut ilmoittamat määräykset (esim. etuosto-oikeus). Yhtiöjärjestys sisältää myös yhtiön toimintasäännöt. Yrityksen on noudatettava toiminnassaan yhtiöjärjestystä, joka on yhtä vahva toiminnanohjaaja kuin osakeyhtiölaki. Yhtiöjärjestys pätee myös osakkeenomistajiin, ellei yrityksellä ole määritelty erillistä osakassopimusta.</p>\n<p><strong>Kannattaako yhtiöjärjestys tarkistaa asuntoa ostettaessa?</strong></p>\n<p>Asunnonostajien on hyvä tarkistaa yhtiöjärjestys ennen asunnon ostoa. Yhtiöjärjestyksessä on muun muassa nimetty vastikkeet, joita osakkailta peritään, ja esimerkiksi uudet osakkaat eivät ole automaattisesti velvollisia maksamaan muita vastikkeita kuin yhtiöjärjestyksessä mainitut. Muut vastikkeet perustuvat erillisiin sopimuksiin osakkaiden välillä. Yhtiöjärjestyksessä on ilmoitettu asuntojen viralliset koot, eikä siihen ole välttämättä merkitty esimerkiksi laajennuksia tai pienennyksiä. Tämä voi olla ongelmallista esimerkiksi vakuutusasioissa ja myynnissä, mikäli vakuutus- tai myyntitiedoissa ilmoitettu huoneiston pinta-ala eroaa yhtiöjärjestyksessä ilmoitetusta. Yhtiöjärjestyksessä voi myös olla määräyksiä yhtiön hallituksen kokoonpanosta.</p>\n<p>Yhtiöjärjestyksessä voidaan joissain tapauksissa määrätä toimittavan eri tavoin kuin asunto-osakeyhtiölaissa. Yhtiöjärjestys on varsinkin pienissä yhtiöissä, kuten monissa asunto-osakeyhtiöissä, hyvä pitää ajan tasalla sekä mahdollisimman yksinkertaisena, sillä yhtiöjärjestyksessä määritetyt asiat voivat kuormittaa pientä yhtiötä enemmän kuin laki velvoittaa. Monissa yrityksissä yhtiöjärjestys on laadittu perustamisvaiheessa, eikä sitä ole sen koommin päivitetty.</p>\n<p><strong>Osta yhtiöjärjestys netistä</strong></p>\n<p>Tilaa yhtiöjärjestys helposti haluamastasi yrityksestä Kauppalehden yrityshausta yllä olevasta hausta. Sinun ei tarvitse rekisteröityä ja voit maksaa kaupparekisteriotteen pankkitunnuksilla, luottokortilla tai mobilepaylla.</p>\n<p>Jos tarvitset Yhtiöjärjestyksen tietoja takautuvasti tietyltä päivältä, esimerkiksi lakanneen yrityksen lakkaamishetken tiedot, saat ne <a href="https://www.almatalent.fi/ota-yhteytta-asiakaspalveluun/">Alma Talent Tietopalveluista</a>.</p>\n<p><strong>Malliraportti:</strong> <a title="Katso malliraportti Yhtiöjärjestyksestä" href="https://static.almamedia.fi/docs/librariesprovider3/malliraportit/yritykset/malliraportti_yhtiojarjestys.pdf?sfvrsn=461718ed_6" target="_blank" rel="noopener">Katso malliraportti Yhtiöjärjestyksestä</a></p>\n<p><strong>Lähde:</strong> <a title="Kaupparekisteri (PRH)" href="https://www.prh.fi/fi/kaupparekisteri.html?_ga=2.267055822.139905259.1512973739-1063175378.1511251718" target="_blank" rel="noopener">Kaupparekisteri (PRH)</a></p>\n<p><strong>Saatavilla:</strong> Joka päivä klo 7-23</p>\n',price:"6,60",modelReportLink:"https://almatalent.fi/docs/malliraportit/yritykset/malliraportti_yhtiojarjestys.pdf",modelReportLinkText:"Malliraportti yhtiöjärjestyksestä (PDF)",headTitle:"Yhtiöjärjestys | Yrityshaku",headDescription:"Osta ajantasainen ja virallinen yhtiöjärjestys Yrityshausta. Yhtiöjärjestys -raportilta löydät mm. yhtiön toiminimen, kotipaikan ja toimialan.",disabled:!1}},C=[{id:1,name:"Kaupparekisteriote",productCode:"0014021",price:"6,60",description:"Sisältää yritystä koskevat Kaupparekisteriin merkityt viralliset tiedot.",link:"/yritykset/yrityshaku/tuote-esittely/kaupparekisteriote",linkText:"Lue kaupparekisteriotteen kuvaus",buyProductLinkText:"Osta kaupparekisteriote",modelReportLink:"https://almatalent.fi/docs/malliraportti_kaupparekisteriote.pdf",modelReportLinkText:"Malliraportti kaupparekisteriotteesta (PDF)",cmsName:"Kaupparekisteriote",disabled:!1}
70,{id:2,name:"Yrityksen maksuhäiriöt",productCode:"0191001",price:"6,60",description:"Yrityksen maksuhäiriöistä näytetään tyyppi, päivämäärä, summa ja velkoja.",link:"/yritykset/yrityshaku/tuote-esittely/yrityksen-maksuhairiot",linkText:"Lue yrityksen maksuhäiriöiden kuvaus",buyProductLinkText:"Tarkasta yrityksen maksuhäiriöt",modelReportLink:"https://almatalent.fi/docs/malliraportit/yritykset/malliraportti_yrityksen_maksuhairiomerkinnat.pdf",modelReportLinkText:"Malliraportti yrityksen maksuhäiriöistä (PDF)",cmsName:"Yrityksen maksuhäiriöt",disabled:!1},{id:3,name:"Tilinpäätös",productCode:"0130024",price:"9,90",description:"Tilinpäätös on yrityksen viimeisin Patentti- ja rekisterihallitukselle toimittama tilinpäätös.",link:"/yritykset/yrityshaku/tuote-esittely/tilinpaatos",linkText:"Lue tilinpäätöksen kuvaus",buyProductLinkText:"Osta yrityksen tilinpäätös",modelReportLink:"https://almatalent.fi/docs/malliraportit/yritykset/malliraportti_tilinpaatos_pdf_tuloste.pdf",modelReportLinkText:"Malliraportti tilinpäätöksestä (PDF)",cmsName:"Tilinpäätös",disabled:!1},{id:4,name:"Vastuuhenkilöt",productCode:"0030022",price:"6,60",description:"Sisältää yrityksen kaupparekisteriin ilmoittamat vastuuhenkilöt ja nimenkirjoittajat.",link:"/yritykset/yrityshaku/tuote-esittely/yrityksen-vastuuhenkilot",linkText:"Lue yrityksen vastuuhenkilöiden kuvaus",buyProductLinkText:"Tarkasta yrityksen vastuuhenkilöt",modelReportLink:"https://almatalent.fi/docs/malliraportit/yritykset/malliraportti_vastuuhenkilot_ja_nimenkirjoittajat_pdf.pdf",modelReportLinkText:"Malliraportti yrityksen vastuuhenkilöistä (PDF)",cmsName:"Vastuuhenkilöt",disabled:!1},{id:5,name:"Yhtiöjärjestys",productCode:"0014022",price:"6,60",description:"Sisältää osakeyhtiön tai asunto-osakeyhtiön kaupparekisteriin ilmoittamat yhtiötiedot.",link:"/yritykset/yrityshaku/tuote-esittely/yhtiojarjestys",linkText:"Tarkasta yrityksen yhtiöjärjestys",buyProductLinkText:"Osta yhtiöjärjestys",modelReportLink:"https://almatalent.fi/docs/malliraportit/yritykset/malliraportti_yhtiojarjestys.pdf",modelReportLinkText:"Malliraportti yhtiöjärjestyksestä (PDF)",cmsName:"Yhtiöjärjestys",disabled:!1}],$=(l.Ay.div.withConfig({componentId:"sc-4e24e443-0"}))(["margin:0.9375rem 0;display:flex;flex-wrap:wrap;flex-direction:row;justify-content:space-around;","{width:100%;",";}"],f,(0,u.C9)(940)`
71            width: 49%;
72        `);var z=function(e){let{businessId:i,currentProductCode:t,heading:a}=e,n=C.filter(e=>t!==e.productCode);return(0,s.jsxs)("article",{children:[a&&(0,s.jsx)(m.D.Subtitle,{size:"medium",as:"h2",children:a}),(0,s.jsx)($,{children:n.map((e,t)=>(0,s.jsx)(b,{businessId:i,productData:e},t))})]})},_=t("RO");let T=(l.Ay.div.withConfig({componentId:"sc-1727bccd-0"}))(["strong{",";}a{text-decoration:underline;}ul,li{list-style:none;}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.heavy});var S=e=>{let{presentation:i}=e;return(0,s.jsx)(c.A,{children:(0,s.jsxs)(_.B,{metaTitle:null==i?void 0:i.headTitle,metaDescription:null==i?void 0:i.headDescription,title:null==i?void 0:i.cmsName,sidebarContent:(0,s.jsx)("div",{style:{position:"sticky",top:"0"},children:n||(n=(0,s.jsx)(d.Xr,{orderNumber:1}))}),children:[(0,s.jsx)(T,{dangerouslySetInnerHTML:{__html:null==i?void 0:i.cmsContent}}),(0,s.jsx)(r.A,{thickness:"core.size.line.thin",color:"core.color.border.2",spacing:{sides:["bottom"],size:"core.spacing.medium"}}),(0,s.jsx)(z,{heading:"Muut tuotteet",currentProductCode:null==i?void 0:i.productCode})]})})},P=t("jo"),L=t("Ej");async function M(e){let{store:i,params:t}=e;if(!w[t.product])return(0,P.A)({store:i});let a=A[t.product],n=a?[{productInfo:(0,L.A)({productID:`yritystuote-${a.productCode}`,sku:a.productCode,productName:a.cmsName,basePrice:parseFloat((a.price||"").replace(",","."))})}]:[];return await i.dispatch((0,o.A)(["yritykset","yrityshaku","tuote-esittely"],t.product,"Yrityshaku","searchpage",{product:n})),(0,s.jsx)(S,{presentation:a})}},iZj(e,i,t){t.r(i),t.d(i,{default:()=>eD});var a,n,s,o,l,r,d,c,m,u,p=t("X"),h=t("u"),g=t("B9"),y=t("tE"),f=t("XE"),x=t("Xi"),k=t("ZN"),I=t("kK"),j=t("uQ"),v=t("Xo"),b=t("Zl"),w=t("j9"),A=t
72("WV"),C=t("WJ"),$=t("ex"),z=t("QE"),_=t("Bf");let T=(0,y.Ay)(j.A).attrs({as:"a"}).withConfig({componentId:"sc-c85f1cce-0"})(["text-decoration:none;font-size:14px;line-height:21px;width:100%;"]);var S=()=>{let e=(0,f.d4)(e=>e.user);return(0,p.jsxs)(q,{children:[(0,p.jsxs)(D,{$_css:v.I8.grid.gutter.small,children:[a||(a=(0,p.jsx)(b.A,{media:"kl",size:"core.size.x-large"})),n||(n=(0,p.jsx)(w.j.CategoryHeading,{children:"Digitilaus"})),s||(s=(0,p.jsx)(A.D.Subtitle,{children:"Miten asiakkaillasi ja yhteistyökumppaneillasi menee?"})),(0,p.jsx)(P,{size:"small",children:"Kauppalehden Protestilistan avulla näet onko yritykselle asetettu protesteja."}),(0,p.jsx)(L,{size:"small",children:"Protestilista on osa Kauppalehden digitilausta. Tilauksella saat lisäksi rajoittamattoman pääsyn Kauppalehden journalistisiin sisältöihin."})]}),(0,p.jsxs)(O,{$_css2:v.I8.grid.gutter.small,children:[(0,p.jsx)(T,{href:z.A.onlyForSubscribersOrderLink,children:"Tilaa Kauppalehti Digi"}),!e.loggedIn&&(0,p.jsx)(M,{onClick:()=>(0,_.A)("protest_paywall"),children:"Tilaaja, kirjaudu sisään"})]})]})},P=(0,y.Ay)(C.f).withConfig({componentId:"sc-c85f1cce-1"})({margin:0}),L=(0,y.Ay)(C.f).withConfig({componentId:"sc-c85f1cce-2"})({margin:0}),M=(0,y.Ay)($.A).withConfig({componentId:"sc-c85f1cce-3"})({width:"100%"}),q=(0,y.Ay)(w.j).withConfig({componentId:"sc-c85f1cce-4"})({width:"100%"}),D=(0,y.Ay)(w.j.Section).withConfig({componentId:"sc-c85f1cce-5"})(e=>({display:"grid",justifyItems:"center",rowGap:e.$_css,textAlign:"center"})),O=(0,y.Ay)(w.j.Section).withConfig({componentId:"sc-c85f1cce-6"})(e=>({display:"grid",justifyItems:"center",rowGap:e.$_css2,textAlign:"center"})),N=t("t5"),E=t("zz");let R={page:1,fromPastDays:1,paymentDefaultType:"",economyAreas:"",sortBy:"paymentDefaultDate",sortDirection:"DESC"},K=E.F.injectEndpoints({endpoints:e=>({getProtestList:e.query({query:e=>{let{fromPastDays:i=1,sortBy:t="paymentDefaultDate",sortDirection:a="DESC",page:n=1,size:s=50,paymentDefaultType:o="",economyAreas:l=""}=e;return{url:`protestlist?fromPastDays=${i}&page=${n}&resultsPerPage=${s}&sortBy=${t}&sortDirection=${a}&paymentDefaultType=${o}&economyAreas=${l}`}},serializeQueryArgs:e=>{let{queryArgs:i}=e;return`${i.fromPastDays}-${i.economyAreas}-${i.paymentDefaultType}-${i.sortBy}-${i.sortDirection}`},merge:(e,i,t)=>{let{arg:a}=t;return a&&(null==a?void 0:a.page)!==1?{...e,...i?{content:[...e.content,...i.content]}:{}}:e||i},forceRefetch(e){let{currentArg:i,previousArg:t}=e;return(null==i?void 0:i.page)!==(null==t?void 0:t.page)},transformErrorResponse:E.k})})}),{useGetProtestListQuery:Y}=K;var F=t("gw"),H=t("Ac"),B=e=>(0,p.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:6,fill:"none",viewBox:"0 0 11 7",...e,children:(0,p.jsx)("path",{d:"M.413 6.07 5.27.274a.3.3 0 0 1 .46 0l4.857 5.796a.3.3 0 0 1-.23.492H.643a.3.3 0 0 1-.23-.492"})});function V(e,i,t){var a;return(i="symbol"==typeof(a=function(e,i){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,i||"default");if("object"!=typeof a)return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(e)}(i,"string"))?a:a+"")in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}let X=(y.Ay.tr.withConfig({componentId:"sc-4ad2c52d-0"}))(["max-width:840px;z-index:1;display:flex;justify-content:space-between;padding:10px;min-height:55px;background-color:",";font-size:13px;line-height:",";",";"],v.I8.color.primary["foreground-inverse"],F.Ay.typography.base_line_height,e=>{let{sticky:i,theme:t,width:a}=e;return i?`
73            position: fixed;
74            top: 0;
75            width: ${a}px;
76            box-shadow: 0 5px 5px -5px ${v.I8.color.primary["foreground-inverse"]};
77            border-top: 2px solid ${t.foundation.media.color.brand};`:"position: static"}),U=(y.Ay.td.withConfig({componentId:"sc-4ad2c52d-1"}))(["width:",";display:flex;align-self:center;cursor:pointer;font-weight:400;span{",";width:min-content;}&:first-child{width:70%;",";}&:nth-child(3){width:17%;",";}&:nth-child(2),&:nth-child(5),&:nth-child(6){display:none;",";}
77&:nth-child(4){display:none;",";}"],e=>`${e.width}%`||"auto",e=>e.isSelected?F.Ay.foundation.media.type.ui.semi:F.Ay.foundation.media.type.ui.normal,(0,H.C9)(450)`
78            width: 30%
79        `,(0,H.C9)(450)`
80            width: 12%
81        `,(0,H.C9)(950)`
82            display: flex;
83        `,(0,H.C9)(450)`
84            display: flex;
85        `),W=(y.Ay.span.withConfig({componentId:"sc-4ad2c52d-2"}))(["display:flex;flex-direction:column;flex-wrap:wrap;margin:0 3px;"]),J=(0,y.Ay)(B).withConfig({componentId:"sc-4ad2c52d-3"})(["transform:rotate(180deg);margin-top:2px;"]);class Q extends h.Component{render(){let{sticky:e,listWidth:i}=this.state;return(0,p.jsxs)(X,{id:"protestSorters",sticky:e,width:i,children:[this.Sorter("Yritys","companyName",30),this.Sorter("Sijainti","location",15),this.Sorter("Summa","amount",12),this.Sorter("Häiriöpäivä","paymentDefaultDate",15),this.Sorter("Tyyppi","paymentDefaultType",20),this.Sorter("Lähde","sourceName",10),(0,p.jsx)("th",{style:{width:"10px"}})]})}componentDidMount(){window.addEventListener("scroll",this.handleScroll)}componentWillUnmount(){window.removeEventListener("scroll",this.handleScroll)}constructor(e){super(e),V(this,"lastPageYOffset",void 0),V(this,"Sorter",(e,i,t)=>(0,p.jsxs)(U,{width:t,isSelected:this.props.sortBy===i,onClick:()=>this.props.sortFunction(i),children:[(0,p.jsx)("span",{children:e}),(0,p.jsxs)(W,{children:[(0,p.jsx)(B,{fill:this.props.sortBy===i&&"ASC"===this.props.sortDirection?"#212121":"#C4C4C4"}),(0,p.jsx)(J,{fill:this.props.sortBy===i&&"DESC"===this.props.sortDirection?"#212121":"#C4C4C4"})]})]})),V(this,"handleScroll",()=>{let e=document.getElementById("protestList").offsetWidth;this.setState({listWidth:e});let i=window.pageYOffset<this.lastPageYOffset;this.lastPageYOffset=window.pageYOffset,document.getElementById("protestSorters").getBoundingClientRect().top<=0&&this.setState({sticky:!0}),i&&this.setState({sticky:!1})}),this.state={sticky:!1,listWidth:840}}}var G=e=>(0,p.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:9,fill:"none",viewBox:"0 0 14 9",...e,children:(0,p.jsx)("path",{fill:"#333",d:"M6.98 4.918 14 0v3.984L7.587 9H6.412L0 3.984V0z"})}),Z=t("y9"),ee=t("xR");let ei=(y.Ay.tr.withConfig({componentId:"sc-ee405677-0"}))(["cursor:pointer;display:flex;font-size:13px;justify-content:space-between;line-height:",";outline:none;padding:15px;max-width:840px;&:nth-of-type(4n + 2){background-color:",";}&:hover{opacity:0.75;}"],F.Ay.typography.base_line_height,e=>{let{theme:i}=e;return(0,ee.b)(`theme1.${i.foundation.theme.context}.color.base.2`)}),et=(y.Ay.tr.withConfig({componentId:"sc-ee405677-1"}))(["display:flex;flex-wrap:wrap;font-size:13px;justify-content:space-between;line-height:",";max-height:",";overflow:hidden;user-select:none;&:nth-of-type(4n + 3){background-color:",";}",";"],F.Ay.typography.base_line_height,e=>e.isOpen?"300px":0,e=>{let{theme:i}=e;return(0,ee.b)(`theme1.${i.foundation.theme.context}.color.base.2`)},e=>{if(e.isOpen)return`border-top: 1px solid ${F.Ay.colors.default_border};
86        padding: 0.9375rem;
87        user-select: auto;
88        `}),ea=(y.Ay.td.withConfig({componentId:"sc-ee405677-2"}))(["display:flex;flex-direction:column;width:40%;margin:5px 0;",";&:nth-child(4){",";}&:nth-child(3),&:nth-child(7),&:nth-child(8){",";}"],(0,H.C9)(950)`
89        width: auto;
90    `,(0,H.C9)(450)`
91            display: none;
92        `,(0,H.C9)(950)`
93                display: none;
94            `),en=(y.Ay.td.withConfig({componentId:"sc-ee405677-3"}))(["display:flex;align-items:flex-end;&:nth-child(2),&:nth-child(5),&:nth-child(6){display:none;",";}&:nth-child(4){display:none;",";}"],(0,H.C9)(950)`
95            display: flex;
96        `,(0,H.C9)(450)`
97            display: flex;
98        `),es=(0,y.Ay)(en).withConfig({componentId:"sc-ee405677-4"})(["width:70%;color:",";",";font-size:14px;",";"],e=>{let{theme:i}=e;return i.foundation.media.color.brand},F.Ay.foundation.media.type.ui.medium,(0,H.C9)(450)`
99        width: 30%;
100    `),eo=(0,y.Ay)(en).withConfig({componentId:"sc-ee405677-5"})(["width:15%;"]),el=(0,y.Ay)(en).withConfig({componentId:"sc-ee405677-6"})(["width:17%;",";"],(0,H.C9)(450)`
101        width: 12%;
102    `),er=(0,y.Ay)(en).withConfig({componentId:"sc-ee405677-7"})(["width:15%;"]),ed=(0,y.Ay)(en).withConfig({componentId:"sc-ee405677-8"})(["width:20%;"]),ec=(0,y.Ay)(en).withConfig({componentId:"sc-ee405677-9"})(["width:10%;"]),em=(y.Ay.span.withConfig({componentId:"sc-ee405677-10"}))(["font-size:11px;text-transform:uppercase;color:",";"],v.I8.color.primary.foreground),eu=(y.Ay.button.withConfig({componentId:"sc-ee405677-11"}))(["border:none;background:transparent;padding:0;"]),ep=(0,y.Ay)(e=>{let{isOpen:i,...t}=e;return(0,p.jsx)(G,{...t})}).withConfig({componentId:"sc-ee405677-12"})(["align-self:center;transform:",";transition:transform 0.2s;path{fill:",";}"],e=>e.isOpen?"rotate(180deg)":"rotate(0)",e=>{let{theme:i}=e;return i.foundation.media.color.brand});var eh=e=>{let{localId:i,sourceDate:t,location:a,economyArea:n,companyName:s,creditor:o,sourceName:l,paymentDefaultDate:r,paymentDefaultType:d,amount:c,id:m}=e.protestData,u=[{title:"Y-tunnus",value:i},{title:"Julkaisupäivä",value:(0,Z.GP)(t,"dd.MM.yyyy")},{title:"Postitoimipaikka",value:a},{title:"Häiriöpäivä",value:(0,Z.GP)(r,"dd.MM.yyyy")},{title:"Alue",value:n},{title:"Velkoja",value:o},{title:"Lähde",value:l},{title:"Tyyppi",value:d}];return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(ei,{onClick:()=>e.onClick(m),children:[(0,p.jsx)(es,{children:(0,p.jsx)(N.N_,{href:`/yritykset/yritys/${i}`,children:s})}),(0,p.jsx)(eo,{children:a}),(0,p.jsxs)(el,{children:[c," €"]}),(0,p.jsx)(er,{children:(0,Z.GP)(t,"dd.MM.yyyy")}),(0,p.jsx)(ed,{children:d}),(0,p.jsx)(ec,{children:l}),(0,p.jsx)("td",{children:(0,p.jsx)(eu,{children:(0,p.jsx)(ep,{isOpen:e.isOpen})})})]}),(0,p.jsx)(et,{isOpen:e.isOpen,children:u.map((e,i)=>(0,p.jsxs)(ea,{children:[(0,p.jsx)(em,{children:e.title}),(0,p.jsx)("span",{children:e.value})]},i))})]})},eg=t("a4");let ey=[{label:"Kaikki",value:""},{label:"Helsinki",value:"TA011"},{label:"Espoo, Kauniainen, Kirkkonummi",value:"TA012"},{label:"Vantaa",value:"TA013"},{label:"Muu Uusimaa",value:"TA014"},{label:"Turun alue, Ahvenanmaa",value:"TA020"},{label:"Tampereen alue",value:"TA030"},{label:"Kanta- ja Päijät-Häme",value:"TA050"},{label:"Porin alue",value:"TA090"},{label:"Keski-Suomi",value:"TA060"},{label:"Mikkelin alue",value:"TA045"},{label:"Kuopion alue",value:"TA070"},{label:"Kymen alue",value:"TA040"},{label:"Pohjois-Karjala",value:"TA080"},{label:"Vaasan alue",value:"TA100"},{label:"Oulun alue",value:"TA110"},{label:"Lapin alue",value:"TA120"},{label:"Muut",value:"TA999"}],ef=[{label:"Kaikki",value:""},{label:"Tratat",value:"tratat"},{label:"Velkomustuomiot",value:"velkomustuomiot"},{label:"Ulosottoasiat",value:"ulosottoasiat"},{label:"Verotusasiat",value:"verotusasiat"}],ex=[{label:"Päivä",value:1},{label:"Viikko",value:7},{label:"Kuukausi",value:30}];function ek(e,i,t){var a;return(i="symbol"==typeof(a=function(e,i){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,i||"default");if("object"!=typeof a)return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(e)}(i,"string"))?a:a+"")in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}let eI=(y.Ay.div.withConfig({componentId:"sc-4e213666-0"}))(["display:flex;flex-wrap:wrap;margin:0 0 "," 0;"],v.I8.spacing.small),ej=(y.Ay.div.withConfig({componentId:"sc-4e213666-1"}))(["display:flex;flex-direction:column;margin:0 0 ",";a{align-self:flex-end;color:",";margin-right:",";&:hover{text-decoration:underline;}}"],v.I8.spacing.medium,e=>{let{theme:i}=e;return i.foundation.media.color.brand},v.I8.spacing["xxxx-small"]),ev=(y.Ay.div.withConfig({componentId:"sc-4e213666-2"}))(["margin:",";width:100%;select{width:100%;}@media ","{flex:1 1 auto;margin:0 ",";width:auto;&:first-child{margin:0 "," 0 0;}&:last-child{margin:0 0 0 ",";}}"],v.I8.spacing.small,v.I8.mediaquery.min.small,v.I8.spacing.small,v.I8.spacing.small,v.I8.spacing.small),eb=(0,y.Ay)(N.N_).withConfig({componentId:"sc-4e213666-3"})(["flex:1 1 100%;padding:0 ",";text-align:right;"],v.I8.spacing.small);class ew extends h.Component{render(){return(0,p.jsxs)(ej,{children:[(0,p.jsxs)(eI,{children:[this.Filter("Aikarajaus","fromPastDays",ex,!1),this.Filter("Häiriötyyppi","paymentDefaultType",ef),this.Filter("Talousalueet","economyAreas",ey,!0)]}),(0,p.jsx)(eb,{onClick:this.handleReset,href:"",children:"Tyhjennä hakukentät"})]})}constructor(e){var i;super(e),i=this,ek(this,"selectDefaults",void 0),ek(this,"Filter",function(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return(0,p.jsx)(ev,{children:(0,p.jsx)(eg.A,{label:`${e}: `,isClearable:"fromPastDays"!==t&&!!i.state.filters[t].value,isDisabled:i.props.loading,isSearchable:n,onChange:e=>i.handleChange(e,t),options:a,placeholder:"Valitse",value:i.state.filters[t]})})}),ek(this,"handleReset",()=>{this.setState({filters:this.selectDefaults,inputValue:""}),this.props.resetResults()}),ek(this,"handleChange",(e,i)=>{e?(this.props.setFilters(e,i),this.setState(t=>({filters:{...t.filters,[i]:e}}))):(this.props.setFilters({label:"",value:""},i),this.setState(e=>({filters:{...e.filters,[i]:{label:"Kaikki",value:""}}})))}),this.selectDefaults={fromPastDays:{value:1,label:"Päivä"},economyAreas:{value:"",label:"Kaikki"},paymentDefaultType:{value:"",label:"Kaikki"}},this.state={inputValue:"",filters:this.selectDefaults}}}let eA=(y.Ay.div.withConfig({componentId:"sc-153c9719-0"}))(["margin-bottom:",";"],v.I8.spacing.medium),eC=(y.Ay.table.withConfig({componentId:"sc-153c9719-1"}))(["box-shadow:0 1px 2px 0px rgba(0,0,0,0.15);opacity:",";pointer-events:",";position:relative;transition:opacity 0.2s;width:100%;"],e=>e.$loading?.5:1,e=>e.$loading?"none":"auto"),e$=(0,y.Ay)(N.Pz).withConfig({componentId:"sc-153c9719-2"})(["color:",";"],v.I8.color.primary.foreground),ez=(y.Ay.span.withConfig({componentId:"sc-153c9719-3"}))(["color:",";"],e=>{let{theme:i}=e;return i.foundation.media.color.brand}),e_=(y.Ay.span.withConfig({componentId:"sc-153c9719-4"}))(["",";color:",";font-size:",";padding-left:",";"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.normal},v.I8.color.primary.foreground,v.I8.font.scale["-1"],v.I8.spacing["xx-small"]);var eT=()=>{let[e,i]=(0,h.useState)(R),[t,a]=(0,h.useState)({}),{data:n,isLoading:s,isFetching:r}=Y(e),d=(null==n?void 0:n.content)||[],c=e=>{a(i=>({...i,[e]:!i[e]}))};return(0,p.jsxs)(eA,{id:"protestList",children:[(0,p.jsx)(ew,{setFilters:(e,t)=>{i(i=>({...i,page:1,[t]:e.value}))},resetResults:()=>{i(R)},loading:s}),o||(o=(0,p.jsx)(x.zI,{id:"almad-leaderboard-",orderNumber:1,viewportTo:576})),(0,p.jsxs)(e$,{children:["Viimeisimmät protestit"," ",(0,p.jsxs)(ez,{children:[e.fromPastDays," päivän "]}),"ajalta",(0,p.jsxs)(e_,{children:["(",null==n?void 0:n.pagination.totalCount," ",1===d.length?"protesti":"protestia",")"]})]}),d.length?(0,p.jsx)(eC,{$loading:s,children:(0,p.jsxs)("tbody",{children:[(0,p.jsx)(Q,{sortFunction:e=>{i(i=>({...i,sortBy:e,sortDirection:i.sortBy===e?"ASC"===i.sortDirection?"DESC":"ASC":"DESC"}))},sortBy:e.sortBy,sortDirection:e.sortDirection}),d.map(e=>(0,p.jsx)(eh,{protestData:e,isOpen:t[e.id],onClick:c},e.id))]})}):l||(l=(0,p.jsx)("p",{children:"Hakuehdoillasi ei löytynyt protesteja."})),0!==d.length&&d.length<1e3&&(null==n?void 0:n.pagination)&&(null==n?void 0:n.pagination.totalCount)>d.length&&(0,p.jsx)(eS,{onClick:()=>{i(e=>({...e,page:e.page+1}))},loading:s||r,$_css:v.I8.spacing.medium,children:"Näytä lisää"})]})},eS=(0,y.Ay)(j.A).withConfig({componentId:"sc-153c9719-5"})(e=>({width:"100%",marginTop:e.$_css})),eP=t("RO"),eL=()=>{let e=(0,f.d4)(e=>e.user),i=(0,I.A)(e.credentials);return(0,p.jsxs)(eM,{metaTitle:"Protestilista | Yritystiedot, Taloustiedot",metaDescription:"Kauppalehden Protestilistalta löydät tietoa yritysten maksuhäiriöistä. Protesti- ja vel
102komustuomiot talousalueittain.",title:"Protestilista",sidebarContent:i?r||(r=(0,p.jsx)(x.ib,{children:(0,p.jsx)(x.Xr,{orderNumber:1,noMargin:!0})})):void 0,$_css:!i&&`
103                    main {
104                        grid-column: 1 / -1;
105                    }
106                `,children:[d||(d=(0,p.jsx)(k.A,{title:"Protestilista | Yritystiedot, Taloustiedot",description:"Kauppalehden Protestilistalta löydät tietoa yritysten maksuhäiriöistä. Protesti- ja velkomustuomiot talousalueittain."})),i?c||(c=(0,p.jsx)(eT,{})):m||(m=(0,p.jsx)(S,{}))]})},eM=(0,y.Ay)(eP.B).withConfig({componentId:"sc-8aca5470-0"})(["",""],e=>e.$_css),eq=t("Wnl");async function eD(e){let{store:i}=e;return await Promise.all([(0,eq.Pi)(K.endpoints.getProtestList.initiate,R,void 0,!0),(0,g.A)("yritykset","protestilista","Protestilista")].map(i.dispatch)),u||(u=(0,p.jsx)(eL,{}))}},YUr(e,i,t){t.r(i),t.d(i,{default:()=>er});var a,n,s,o,l,r,d,c,m,u,p=t("X"),h=t("u"),g=t("B9"),y=t("VT"),f=t("DG"),x=t("QE"),k=t("WR");let{mediaShortSlugs:I}=x.A;var j=t("tE"),v=t("XE"),b=t("Xo"),w=t("AY"),A=t("bs"),C=t("Mo"),$=t("ge"),z=t("iF0"),_=t("WV"),T=t("Xi"),S=t("kd"),P=t("OuU"),L=t("f1"),M=t("ZN"),q=t("Da"),D=t("Bqp"),O=t("kdB"),N=t("oE"),E=t("aH"),R=t("rmd"),K=t("tC6"),Y=t("al"),F=t("t1");let H=(j.Ay.div.withConfig({componentId:"sc-649eb097-0"}))(["@media ","{padding-inline:",";}"],b.I8.mediaquery.max["x-small"],b.I8.spacing.medium),B=(0,j.Ay)(F.D).withConfig({componentId:"sc-649eb097-1"})(["margin-block:"," ",";padding:0;@media ","{font-size:",";}"],b.I8.spacing["x-large"],b.I8.spacing.small,b.I8.mediaquery.max["x-small"],b.I8.font.scale["2"]),V=()=>{let{data:e}=K._.useGetCompanySearchQuery({sortBy:"turnover",size:10,statusCode:"STA_AKT"}),{data:i}=K._.useGetCodesQuery(),t=h.useMemo(()=>(null==e?void 0:e.companies)?e.companies.filter(e=>!e.hideCompany&&e.name&&e.localId):[],[e]);return 0===t.length?null:(0,p.jsxs)(H,{children:[a||(a=(0,p.jsx)(B,{children:"Top-10 yritykset liikevaihdon mukaan"})),(0,p.jsx)(Y.y,{companies:t,codes:i})]})},X="yrittaminen",U=(j.Ay.div.withConfig({componentId:"sc-41290fc9-0"}))(["padding:"," "," 0 ",";@media ","{padding-top:",";max-width:",";margin-inline:auto;}@media ","{padding-inline:0;}"],b.I8.spacing["xx-large"],b.I8.spacing.large,b.I8.spacing.large,b.I8.mediaquery.max.small,b.I8.spacing["x-large"],b.I8.size.template["page-wrapper-mobile"],b.I8.mediaquery.max["x-small"]),W=(j.Ay.div.withConfig({componentId:"sc-41290fc9-1"}))(["@media ","{padding-inline:",";}"],b.I8.mediaquery.max["x-small"],b.I8.spacing.medium),J=(j.Ay.h2.withConfig({componentId:"sc-41290fc9-2"}))(["",";line-height:",";font-size:",";margin:0;text-align:center;@media ","{padding-block:"," ",";}"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.medium},b.I8["line-height"].medium,b.I8.font.scale["3"],b.I8.mediaquery.max.small,b.I8.spacing["xx-large"],b.I8.spacing.medium),Q=(j.Ay.div.withConfig({componentId:"sc-41290fc9-3"}))(["margin-top:",";@media ","{padding-inline:",";}"],b.I8.spacing["x-large"],b.I8.mediaquery.max["x-small"],b.I8.spacing.medium),G=(j.Ay.h3.withConfig({componentId:"sc-41290fc9-4"}))(["",";color:",";font-size:",";line-height:",";padding-bottom:",";margin:0;"],e=>{let{theme:i}=e;return i.foundation.media.type.ui.medium},b.I8.color.primary.foreground,b.I8.font.scale["1"],b.I8["line-height"].none,b.I8.spacing.medium),Z=(j.Ay.div.withConfig({componentId:"sc-41290fc9-5"}))(["display:flex;flex-direction:column;gap:",";"],b.I8.spacing["x-small"]),ee=(0,j.Ay)(T.F0).withConfig({componentId:"sc-41290fc9-6"})(["margin-block:",";@media ","{margin-block:",";}"],b.I8.spacing["x-large"],b.I8.mediaquery.max["x-small"],b.I8.spacing.large);var ei=()=>{let e=(0,j.DP)(),{viewport:i}=(0,v.d4)(e=>e.ui),t=(0,O.Uw)(i),a=(0,h.useMemo)(()=>Array.from({length:3},(e,i)=>t+i),[t]),[m,u]=(0,h.useState)(!1),g=(0,v.d4)(e=>e.topic[X].items),y=(0,v.d4)(e=>e.lists.latest.data);return(0,p.jsxs)(P.A,{children:[n||(n=(0,p.jsx)(M.A,{title:"Kauppalehti Yrityshaku - Hae yritystiedot ja taloustiedot",description:"Hae yritysten liikevaihdot, taloustiedot ja yhteystiedot yhdellä haulla. Löydä yritykset nimellä, Y-tunnuksella tai toimialan perusteella."})),s||(s=(0,p.jsx)(q._G,{})),(0,p.jsxs)(U,{children:[(0,p.jsxs)(W,{children:[(0,p.jsx)(eo,{size:"large",decorationType:"section-page-title",decorationShape:"circle",forwardedAs:"h1",children:"Yrityshaku"}),o||(o=(0,p.jsx)(J,{children:"Hae yritystiedot ja taloustiedot"})),(0,p.jsx)(N.A,{cssProps:`
107                            padding-block: ${b.I8.spacing.large} ${b.I8.spacing["xxx-large"]};
108
109                            @media ${b.I8.mediaquery.min.medium} {
110                                padding-inline: ${b.I8.spacing.medium};
111                            }
112
113                            @media ${b.I8.mediaquery.max["x-small"]} {
114                                padding-bottom: ${b.I8.spacing.medium};
115                            }
116                        `,extendedSearchHandler:()=>u(!0)}),m&&(0,p.jsx)(E.A,{closeSearch:()=>u(!1)}
116),(0,p.jsx)(et,{orderNumber:1,viewportTo:O.SO.tablet,noMargin:!0,$_css:b.I8.spacing["x-large"]}),(0,p.jsx)(es,{heading:"Uudet yritykset ja protestit",links:[{icon:(0,p.jsx)(w.A,{size:"core.size.icon.large",color:`${e.foundation.media.mediaToken}.color.primary.4`}),text:"Uudet yritykset",href:"/yritykset/uudet-yritykset"},{icon:(0,p.jsx)(A.A,{size:"core.size.icon.large",color:`${e.foundation.media.mediaToken}.color.primary.4`}),text:"Protestilista",href:"/yritykset/protestilista"}],renderCustomLink:(e,i,t,a)=>(0,p.jsx)(en,{href:t,className:a,customComponent:(0,p.jsx)(C.Ay,{children:e}),$_css2:i})})]}),(0,p.jsx)(L.A,{list:g,title:"Yritysuutiset"}),(0,p.jsx)(ee,{noMargin:!0,orderNumber:a[0]}),(0,p.jsx)(D.A,{teasers:y,title:"Uusimmat",adIndex:a[1],JoblyAdReplacement:l||(l=(0,p.jsx)(R.A,{}))}),r||(r=(0,p.jsx)(ee,{noMargin:!0,postContent:!0,orderNumber:1,skipPlaceholder:!0})),(0,p.jsx)(ea,{}),d||(d=(0,p.jsx)(V,{})),c||(c=(0,p.jsxs)(Q,{children:[(0,p.jsx)(G,{children:"Hakemisto"}),(0,p.jsxs)(Z,{children:[(0,p.jsx)(S.N_,{href:"/yritykset/toimialat",customComponent:(0,p.jsx)(C.Ay,{iconPosition:"left",icon:(0,p.jsx)($.A,{size:"core.size.
116icon.small"})}),children:"Yritykset toimialoittain"}),(0,p.jsx)(S.N_,{href:"/yritykset/paikkakunnat",customComponent:(0,p.jsx)(C.Ay,{iconPosition:"left",icon:(0,p.jsx)($.A,{size:"core.size.icon.small"})}),children:"Yritykset paikkakunnittain"})]})]}))]})]})},et=(0,j.Ay)(T.F0).withConfig({componentId:"sc-41290fc9-7"})(e=>({marginBottom:e.$_css})),ea=(0,j.Ay)(R.A).withConfig({componentId:"sc-41290fc9-8"})(["@media ","{display:none;}"],b.I8.mediaquery.min.medium),en=(0,j.Ay)(S.N_).withConfig({componentId:"sc-41290fc9-9"})(["",""],e=>e.$_css2),es=(0,j.Ay)(z.A).withConfig({componentId:"sc-41290fc9-10"})(["margin-bottom:",";@media ","{margin-bottom:",";}"],b.I8.spacing["x-large"],b.I8.mediaquery.max["x-small"],b.I8.spacing.large),eo=(0,j.Ay)(_.D.Subtitle).withConfig({componentId:"sc-41290fc9-11"})(["margin-bottom:",";@media ","{margin-bottom:",";}"],b.I8.spacing.large,b.I8.mediaquery.min.small,b.I8.spacing.small),el=t("d8");async function er(e){let{store:i}=e;try{let e=[(0,g.A)("yritykset","yrityshaku","Yrityshaku","searchpage"),(e=>{let{name:i,slug:t,offset:a=0,limit:n=10}=e;return(e,s,o)=>((e,i)=>{if((0,f.b0)(i))return!1;let t=e.topic[i];return!t||!t.lastUpdated||t.lastUpdated+6e4<Date.now()})(s(),t)||a>0?o.get(y.vZ.dynamicListBySlug({media:I,name:i,slug:t,offset:a,limit:n})).then(i=>e((0,k.W3)((0,k.CE)({slug:t,data:i})))).catch(e=>Promise.reject(e)):Promise.resolve()})({name:"topics",slug:X})].map(i.dispatch);return await Promise.all(e),i.dispatch((0,el.A)({limit:24})),m||(m=(0,p.jsx)(ei,{}))}catch(e){return u||(u=(0,p.jsx)(ei,{}))}}},OF(e,i,t){t.r(i);var a=t("X");t("u");var n=t("B9"),s=t("kdQ"),o=t("d8"),l=t("Wnl"),r=t("tC6"),d=t("MV");async function c(e){let{params:i,store:t,query:c}=e,{searchTerm:m,location:u,industry:p}=i,h=(null==p?void 0:p.startsWith("CD_"))&&(0,d.X)({industryCode:p,variant:"search",municipalityCode:u,query:c});if(h)return h;let g=null==c?void 0:c.page,y=1;if(g){let e=parseInt(g,10);!isNaN(e)&&e>0&&(y=e)}let f=[t.dispatch((0,l.Pi)(r._.endpoints.getCompanySearch.initiate,{name:m,industry:p,location:u,statusCode:void 0,size:10,page:y},void 0,!0)),t.dispatch((0,l.Pi)(r._.endpoints.getCodes.initiate,void 0,void 0,!0)),t.dispatch((0,o.A)({limit:5})),t.dispatch((0,n.A)(["yritykset","yrityshaku"],"hakutulos","Hakutulos","searchresultpage",{"page.pageInfo.onsiteSearchTerm":m||""}))];return await Promise.all(f),(0,a.jsx)(s.A,{searchTerm:m,locationCode:u,industryCode:p,initialPage:y})}t.d(i,{default:()=>c})}}]);
117//# sourceMappingURL=companies.212af6d98d.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.