PageSourceSearch

https://www.janakkalansanomat.fi/_next/static/chunks/1469-51bfffd538e00b3f.js

js janakkalansanomat.fi collected 2026-10-02 13:03:24 UTC 10,690 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1469],{9223:(e,t,s)=>{s.d(t,{z:()=>r});var a=s(27964),n=s(14232);let r=()=>{let e,t,s,r=(0,a.c)(5),[i,l]=(0,n.useState)(!1);r[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{l(!0)},t=[],r[0]=e,r[1]=t):(e=r[0],t=r[1]),(0,n.useEffect)(e,t);let o=!i;return r[2]!==i||r[3]!==o?(s={hydrated:i,firstPageLoad:o},r[2]=i,r[3]=o,r[4]=s):s=r[4],s}},32614:(e,t,s)=>{s.d(t,{a:()=>r});var a=s(27964),n=s(14232);let r=()=>{let e,t,s=(0,a.c)(2),r=(0,n.useRef)(!1);return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>(r.current=!0,function(){r.current=!1}),t=[],s[0]=e,s[1]=t):(e=s[0],t=s[1]),(0,n.useEffect)(e,t),r}},41951:(e,t,s)=>{s.d(t,{p:()=>g});var a=s(72848),n=s(23191),r=s(20952),i=s(63593),l=s(92739),o=s(56905),c=s(14232),u=s(71497),d=s(96078),m=s(32614),f=s(38679);let h="paywallFunnelSessionID",g=()=>{let e=(0,a.P)(),t=(0,n.U)(),s=(0,r.p)(),g=(0,f.d)(),{platform:p}=(0,i.g$)(),{userProfile:v,userIds:S}=(0,l.sb)(),y=t["hosts.er.whitelabel"],x=(0,m.a)();return(0,c.useCallback)(async(t,a)=>{if(!x.current||!y)return;let n={core:{brand:e,source:o.k.Other,visitID:(0,d.h9)(),nodeID:s.nodeId,user:(0,u.gL)(v,S),device:(0,u.NW)(p,g)},paywallfunnel:{...t,paywallFunnelSessionID:(()=>{let e=sessionStorage.getItem(h);if(e)return e;let t="pf-session-".concat(crypto.randomUUID());return sessionStorage.setItem(h,t),t})()},asset:a};return(0,u.Xz)(y,"/v2/paywallfunnel",n,e)},[e,y,x,s.nodeId,p,S,v,g])}},42910:(e,t,s)=>{s.d(t,{M:()=>o});var a=s(27964),n=s(72848),r=s(61127),i=s(14232),l=s(59712);let o=e=>{let t,s,o,c,u=(0,a.c)(11),d=(0,n.P)(),{getBrazeFeatureFlag:m,brazeFeatureFlagsUpToDate:f,shouldLoadBraze:h}=(0,r.ml)();
1if(u[0]!==d||u[1]!==m){let e=m("sndp.".concat(d,".puomi-paywall-target-group"));t=(null==e?void 0:e.getStringProperty("targetGroup"))||void 0,u[0]=d,u[1]=m,u[2]=t}else t=u[2];let g=t,p=!1===h||!0===h&&f,[v,S]=(0,i.useState)(!1);u[3]!==d||u[4]!==p||u[5]!==e?(s=()=>{if(p||e)return;let t=setTimeout(()=>{S(!0),(0,l.Xo)("feature flag timeout","sndp.".concat(d,".puomi-paywall-target-group"))},500);return()=>clearTimeout(t)},o=[p,e,d],u[3]=d,u[4]=p,u[5]=e,u[6]=s,u[7]=o):(s=u[6],o=u[7]),(0,i.useEffect)(s,o);let y=p||v,x=y&&!v?g:void 0;return u[8]!==y||u[9]!==x?(c={brazeTargetGroup:x,isReady:y},u[8]=y,u[9]=x,u[10]=c):c=u[10],c}},43751:(e,t,s)=>{s.d(t,{L:()=>P,j:()=>w});var a=s(37876),n=s(27964),r=s(72848),i=s(23191),l=s(18858),o=s(63593),c=s(92739),u=s(51144),d=s(14232),m=s(68684),f=s(32214),h=s(41116),g=s.n(h),p=s(59712),v=s(35990),S=s(74730);let y=e=>{let t,s,i,o,c,u,m,h=(0,n.c)(17),{setUnauthenticatedUserProfileWithCache:y,sanomaSSOHost:x}=e,b=(0,r.P)(),w=(0,l.R7)(),[P,j]=(0,d.useState)(!0);return h[0]!==P||h[1]!==x||h[2]!==y?(t=()=>{let e=e=>{e.origin===x&&"ssoWidgetDismissed"===e.data&&(j(!1),(0,v.Xv)(),t(),y())},t=()=>{window.removeEventListener("message",e)};return P&&window.addEventListener("message",e),()=>{t()}},s=[P,y,j,x],h[0]=P,h[1]=x,h[2]=y,h[3]=t,h[4]=s):(t=h[3],s=h[4]),(0,d.useEffect)(t,s),h[5]!==y?(i=()=>{j(!1),y(),(0,p.rK)()},h[5]=y,h[6]=i):i=h[6],h[7]!==b||h[8]!==w?(o=(0,S.II)(b,w),h[7]=b,h[8]=w,h[9]=o):o=h[9],h[10]===Symbol.for("react.memo_cache_sentinel")?(c={checkOrigin:!1},h[10]=c):c=h[10],h[11]!==o?(u=(0,a.jsx)(f.h,{title:"Kirjaudu sis\xe4\xe4n",src:o,showSpinner:!0,resizeOptions:c,className:"sso-iframe-container min-w-minSiteWidth sm:min-w-[500px]"}),h[11]=o,h[12]=u):u=h[12],h[13]!==P||h[14]!==i||h[15]!==u?(m=(0,a.jsx)(g(),{isOpen:P,onRequestClose:i,className:"xs:mx-nof-8 sm:mt-nof-24 mt-nof-8 justify-center overflow-y-auto outline-hidden",overlayClassName:"flex flex-col items-center w-full fixed inset-0 bg-black-opacity",children:u}),h[13]=P,h[14]=i,h[15]=u,h[16]=m):m=h[16],m};var x=s(71152);let b=e=>{let{sessionTestStatus:t,setSessionTestStatus:s,setUnauthenticatedUserProfileWithCache:n,sanomaSSOHost:r,brand:i,configProperties:l}=e,o=(0,d.useRef)(null),c="".concat(r,"/session-test");return(0,d.useEffect)(()=>{let e=()=>{window.removeEventListener("message",t),null!==o.current&&clearTimeout(o.current)},t=t=>{if(t.origin===r)switch(t.data){case"sso-session-test-success":(0,x.F2)()?s(w.Success):window.location.href=(0,S.ZX)(i,l,{targetQueryParams:{fromAWB:"true"}}),e();break;case"sso-session-test-failure":s(w.Failure),e(),n();break;default:return}};return window.addEventListener("message",t),s(w.InProgress),null!=o.current||(o.current=setTimeout(()=>{s(w.Failure),e(),n()},1e4)),()=>{e(),null!==o.current&&clearTimeout(o.current)}},[n,r,s,i,l]),(0,a.jsx)(a.Fragment,{children:t===w.InProgress&&(0,a.jsx)("iframe",{title:"Session test","aria-hidden":"true",src:c})})},w={NotAsked:"NotAsked",InProgress:"Progress",Success:"Success",Failure:"Failure"},P=()=>{var e;let t=(0,n.c)(1),s=(0,l.R7)(),{enableAutoWelcomeBack:r}=(0,o.g$)(),i=r&&!0===(null!=(e=s["html.autowelcomeback.enabled"])&&e),{userProfile:d}=(0,c.sb)();if(!i||d.authenticationStatus!==u.J.AutoWelcomeBack)return null;{let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)(j,{}),t[0]=e):e=t[0],e}},j=()=>{let e,t,s,o,f=(0,n.c)(17),[h,g]=(0,d.useState)(w.NotAsked),{setUserProfile:p}=(0,c.sb)(),v=(0,r.P)(),S=(0,l.R7)(),{environment:x,"hosts.sanomaSSO":P}=(0,i.U)();f[0]!==v||f[1]!==x||f[2]!==p?(e=()=>{(0,m.Hf)(v,x,!1,!1),p({authenticationStatus:u.J.Unauthenticated})},f[0]=v,f[1]=x,f[2]=p,f[3]=e):e=f[3];let j=e;return f[4]!==v||f[5]!==S||f[6]!==P||f[7]!==h||f[8]!==j?(t=(h===w.InProgress||h===w.NotAsked)&&(0,a.jsx)(b,{sessionTestStatus:h,setSessionTestStatus:g,setUnauthenticatedUserProfileWithCache:j,sanomaSSOHost:P,brand:v,configProperties:S}),f[4]=v,f[5]=S,f[6]=P,f[7]=h,f[8]=j,f[9]=t):t=f[9],f[10]!==P||f[11]!==h||f[12]!==j?(s=h===w.Success&&(0,a.jsx)(y,{setUnauthenticatedUserProfileWithCache:j,sanomaSSOHost:P}),f[10]=P,f[11]=h,f[12]=j,f[13]=s):s=f[13],f[14]!==t||f[15]!==s?(o=(0,a.jsxs)(a.Fragment,{children:[t,s]}),f[14]=t,f[15]=s,f[16]=o):o=f[16],o}},71469:(e,t,s)=>{s.d(t,{t:()=>L});var a=s(37876),n=s(27964),r=s(43751),i=s(48943),l=s(14236),o=s(72872),c=s(93801),u=s(28400),d=s(46190),m=s(67701),f=s(72848),h=s(61127),g=s(23191),p=s(18858),v=s(63593),S=s(59575),y=s(92739),x=s(41951),b=s(9223),w=s(42910);let P="success";var j=s(33399),k=s(59404),_=s(89099),I=s(14232),E=s(30083),N=s(59712),T=s(60697),U=s(89384),D=s(96078),F=s(68646),A=s(74730);let L=e=>{let t,s,L,O,M,R,C,W,z,H,X,B,$,K,G,J,V,q,Q,Y,Z=(0,n.c)(62),{campaignId:ee,platform:et,seoResult:es,canonicalUrl:ea}=e,en=(0,f.P)(),er=(0,g.U)(),ei=(0,p.R7)(),{isDarkMode:el}=(0,S.DP)(),[eo,ec]=(0,I.useState)(k.n.NotAsked),{getValidSessionToken:eu,userProfile:ed}=(0,y.sb)(),{renderHeader:em,useInkAuth:ef}=(0,v.g$)(),{handleBrazeCustomEvent:eh}=(0,h.ml)(),eg=(0,x.p)();Z[0]!==ed.authenticationStatus?(t=(0,F.FH)(ed.authenticationStatus),Z[0]=ed.authenticationStatus,Z[1]=t):t=Z[1];let ep=t,{brazeTargetGroup:ev,isReady:eS}=(0,w.M)(ep===E.kj.Pending),{firstPageLoad:ey}=(0,b.z)();Z[2]!==ef?(s=(e,t)=>{(0,N.q4)(e,ef,t)},Z[2]=ef,Z[3]=s):s=Z[3];let ex=s;Z[4]===Symbol.for("react.memo_cache_sentinel")?(L=()=>{ec(k.n.Success)}
1,Z[4]=L):L=Z[4],Z[5]!==eo?(O=[eo],Z[5]=eo,Z[6]=O):O=Z[6],(0,I.useEffect)(L,O);let eb=(0,_.useRouter)(),ew=es.type===P?es.seoMetadata:void 0;if(Z[7]!==en||Z[8]!==(null==ew?void 0:ew.title)){var eP;M=null!=(eP=null==ew?void 0:ew.title)?eP:"Tilausvalikoima | ".concat((0,T.w9)(en)),Z[7]=en,Z[8]=null==ew?void 0:ew.title,Z[9]=M}else M=Z[9];let ej=M,ek=et!==j.OD.Web||es.type!==P||(null==ew?void 0:ew.allowSearchEngineIndexing)===!1;Z[10]===Symbol.for("react.memo_cache_sentinel")?(R={},C={},Z[10]=R,Z[11]=C):(R=Z[10],C=Z[11]),Z[12]!==et?(W={...et===j.OD.iOS?{is_cop_subscription_funnel:"true"}:{}},Z[12]=et,Z[13]=W):W=Z[13];let e_=null==ew?void 0:ew.seoDescription;Z[14]!==ea||Z[15]!==e_||Z[16]!==ej?(z={shareTitle:ej,shareUrl:ea,description:e_},Z[14]=ea,Z[15]=e_,Z[16]=ej,Z[17]=z):z=Z[17],Z[18]!==ek?(H=ek?{googleBot:"noindex, nofollow, noarchive"}:void 0,Z[18]=ek,Z[19]=H):H=Z[19],Z[20]!==z||Z[21]!==H||Z[22]!==W?(X={analyticsMetadata:R,analyticsMetadataV2:C,adMetadata:W,nodeUrl:"",nodeId:0,sharingMetadata:z,headMetadata:H},Z[20]=z,Z[21]=H,Z[22]=W,Z[23]=X):X=Z[23];let eI=X;return Z[24]!==eI||Z[25]!==ej?(B=(0,a.jsx)(i.y,{metadata:eI,title:ej}),Z[24]=eI,Z[25]=ej,Z[26]=B):B=Z[26],Z[27]!==eb.asPath?($={isStickyHeaderVisible:!1,setIsStickyHeaderVisible:U.t,currentPath:eb.asPath,addAdPositionOnPage:U.t,pageSectionTheme:void 0},Z[27]=eb.asPath,Z[28]=$):$=Z[28],Z[29]!==em?(K=em&&(0,a.jsx)(c.Y9,{renderNavBar:!1}),Z[29]=em,Z[30]=K):K=Z[30],Z[31]!==ep||Z[32]!==en||Z[33]!==ev||Z[34]!==ee||Z[35]!==er||Z[36]!==ei||Z[37]!==eu||Z[38]!==eh||Z[39]!==ex||Z[40]!==eg||Z[41]!==eS||Z[42]!==el||Z[43]!==et||Z[44]!==es.type?(G="not-found"===es.type?(0,a.jsx)(o.K,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.Y,{children:(0,a.jsx)(r.L,{})}),eS&&(0,a.jsx)(E.QT,{env:(0,F.AR)(er),brand:en,campaignId:ee,isDarkMode:el,authState:ep,loginUrl:(0,A.ZX)(en,ei),registerUrl:(0,A.Ln)(en,ei),getJwtToken:eu,platform:et,brazeTargetGroup:ev,p2pDecile:(0,D.Wc)(),onBrazeCustomEvent:eh,onCDPAnalyticsEvent:ex,onEventRelayEvent:eg})]}),Z[31]=ep,Z[32]=en,Z[33]=ev,Z[34]=ee,Z[35]=er,Z[36]=ei,Z[37]=eu,Z[38]=eh,Z[39]=ex,Z[40]=eg,Z[41]=eS,Z[42]=el,Z[43]=et,Z[44]=es.type,Z[45]=G):G=Z[45],Z[46]!==$||Z[47]!==K||Z[48]!==G?(J=(0,a.jsxs)(m.m,{appState:$,children:[K,G]}),Z[46]=$,Z[47]=K,Z[48]=G,Z[49]=J):J=Z[49],Z[50]!==eI?(V=(0,a.jsx)(d.X,{metadata:eI}),Z[50]=eI,Z[51]=V):V=Z[51],Z[52]===Symbol.for("react.memo_cache_sentinel")?(q=[],Z[52]=q):q=Z[52],Z[53]!==ey||Z[54]!==eI||Z[55]!==eo?(Q=(0,a.jsx)(l.n,{adSetup:{adPositionsOnPage:q,pageDataStatus:eo,isFirstPageLoad:ey,metadata:eI},paidArticleLoaded:!1,liveArticleLoaded:!1}),Z[53]=ey,Z[54]=eI,Z[55]=eo,Z[56]=Q):Q=Z[56],Z[57]!==B||Z[58]!==J||Z[59]!==V||Z[60]!==Q?(Y=(0,a.jsxs)(a.Fragment,{children:[B,J,V,Q]}),Z[57]=B,Z[58]=J,Z[59]=V,Z[60]=Q,Z[61]=Y):Y=Z[61],Y}},72872:(e,t,s)=>{s.d(t,{K:()=>o});var a=s(37876),n=s(27964),r=s(15039),i=s.n(r),l=s(7982);let o=e=>{let t,s,r,o,c=(0,n.c)(11),{id:u,className:d,primaryMessage:m,secondaryMessage:f}=e,h=void 0===m?"Sivua ei l\xf6ydy":m,g=void 0===f?"Hakemaasi sivua ei l\xf6ytynyt.":f;return c[0]!==d?(t=i()("text-nof-foreground-primary","flex","flex-col","items-center","my-32",d),c[0]=d,c[1]=t):t=c[1],c[2]!==h?(s=(0,a.jsx)(l.$,{level:"h1",className:"nof-component-article-title-m-mobile text-nof-foreground-primary sm:nof-component-article-title-m-desktop text-brand-1 mb-(--article-m-title-margin-bottom)",title:h}),c[2]=h,c[3]=s):s=c[3],c[4]!==g?(r=(0,a.jsx)(l.$,{level:"h2",className:"nof-ui-body-medium",title:g}),c[4]=g,c[5]=r):r=c[5],c[6]!==u||c[7]!==t||c[8]!==s||c[9]!==r?(o=(0,a.jsxs)("article",{"data-id":u,className:t,children:[s,r]}),c[6]=u,c[7]=t,c[8]=s,c[9]=r,c[10]=o):o=c[10],o}}}]);

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.