PageSourceSearch

https://www.seiska.fi/_assets/a3f7c2e9b1d4f6a8/_next/static/chunks/app/digilehti/page-07c98fd8040c2ac3.js

js seiska.fi collected 2026-10-02 06:17:42 UTC 7,282 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6394],{22608:(e,s,t)=>{"use strict";t.d(s,{default:()=>h});var a=t(95155),i=t(12115),l=t(36489),r=t(96365),n=t(82967),o=t(92996),u=t(2926),d=t(1099);function m(e){let{isLoading:s}=e;return(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-white",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-gray-900 mx-auto mb-4"}),(0,a.jsx)("p",{className:"text-gray-600",children:s})]})})}var c=t(15239);function x(e){let{error:s,handleSubmit:t,formData:i,setFormData:l}=e;return(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsxs)("div",{className:"max-w-3xl w-full bg-white rounded-lg shadow-md p-8",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center justify-center gap-6 mb-6",children:[(0,a.jsx)(c.default,{src:"/img/seiska-logo.svg",alt:"Seiska logo",width:100,height:100,className:"h-[60px] w-auto"}),(0,a.jsx)(c.default,{src:"/img/katso/katso-logo-print.webp",alt:"Katso logo",width:160,height:90,className:"h-[60px] w-auto"})]}),(0,a.jsx)("h1",{className:"text-2xl font-bold mb-5",children:"Tervetuloa Seiskan ja Katson digin\xe4k\xf6islehden pariin!"}),s&&(0,a.jsx)("p",{className:"text-red-600 mb-5",children:"Kulkevia tilauksia ei l\xf6ydy. Tarkista asiakasnumero ja postinumero."}),(0,a.jsx)("p",{className:"text-gray-600 mb-5",children:"Seiska-tilaukseesi kuuluu digilehden lukuoikeus. Seiskan digilehdest\xe4 voit nauttia miss\xe4 ja milloin tahansa. Voit lukea sit\xe4 \xe4lypuhelimellasi, tabletillasi tai tietokoneellasi – Seiska on aina mukanasi!"}),(0,a.jsx)("p",{className:"text-gray-600 mb-6",children:"Digilehti sis\xe4lt\xe4\xe4 my\xf6s arkiston: p\xe4\xe4set lukemaan lehti\xe4 puolivuotta taaksep\xe4in."}),(0,a.jsx)("h2",{className:"text-xl font-bold mb-5",children:"Kirjautuminen"}),(0,a.jsxs)("p",{className:"text-gray-600 mb-5",children:["P\xe4\xe4set kirjautumaan digilehteen ",(0,a.jsx)("strong",{children:"asiakasnumerollasi"}),", salasana on"," ",(0,a.jsx)("strong",{children:"postinumerosi"}),". Asiakasnumeron l\xf6yd\xe4t tilausvahvistuksesta, lehden takakannesta tai laskusta."]}),(0,a.jsxs)("form",{onSubmit:t,className:"space-y-4 mb-5",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"customerNumber",className:"block text-sm font-medium text-gray-700 mb-1",children:"Asiakasnumero"}),(0,a.jsx)("input",{type:"text",id:"customerNumber",name:"customerNumber",value:i.customerNumber,onChange:e=>l({...i,customerNumber:e.target.value}),required:!0,className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary-red focus:border-transparent",placeholder:"Kirjoita asiakasnumerosi"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"postalCode",className:"block text-sm font-medium text-gray-700 mb-1",children:"Postinumero"}),(0,a.jsx)("input",{type:"text",id:"postalCode",name:"postalCode",value:i.postalCode,onChange:e=>l({...i,postalCode:e.target.value}),required:!0,maxLength:12,className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary-red focus:border-transparent",placeholder:"Kirjoita postinumerosi"})]}),(0,a.jsx)("button",{type:"submit",className:"w-full bg-primary-red text-white py-2 px-4 rounded-md hover:bg-red-500 transition-colors font-medium",children:"Kirjaudu"})]}),(0,a.jsxs)("p",{className:"text-gray-600 text-sm mb-5 pt-4",children:["Sinulla on oltava voimassaoleva tilaus n\xe4k\xf6islehden lukemiseksi. Jos et ole tilaaja, ohjeita ja lis\xe4tietoa"," ",(0,a.jsx)("a",{href:"https://seiska.fi/tilaus",target:"_blank",rel:"noreferrer",className:"underline text-primary-red",children:"t\xe4\xe4lt\xe4."})]}),(0,a.jsxs)("p",{className:"text-gray-600 text-sm mb-5",children:["Antamiasi tietoja k\xe4sitell\xe4\xe4n Allerin tietosuojan mukaisesti. Lue lis\xe4\xe4"," ",(0,a.jsx)("a",{href:"https://aller.fi/meista/tietosuoja/",target:"_blank",rel:"noreferrer",className:"underline text-primary-red",children:"t\xe4\xe4lt\xe4"}),"."]}),(0,a.jsxs)("p",{className:"text-gray-600 text-sm mb-5",children:["Aller Media O
1y:n asiakaspalvelu palvelee ma-pe klo 9.00-16.00, puh. 075 328 5102 (puhelun hinta on pvm/mpm, my\xf6s jonotuksen ajan). S\xe4hk\xf6iset yhteydenotot osoitteessa"," ",(0,a.jsx)("a",{href:"https://aller.fi/asiakaspalvelu/",target:"_blank",rel:"noreferrer",className:"underline text-primary-red",children:"aller.fi/asiakaspalvelu"}),"."]})]})})}let h=()=>{var e,s;let{data:t}=(0,l.useSession)(),{user:c}=t||{user:void 0},[h,p]=(0,i.useState)(!1),[b,k]=(0,i.useState)(void 0),[j,f]=(0,i.useState)("Ladataan..."),[g,v]=(0,i.useState)(null),N=(0,o.A)(f,b,v,!0),[y,w]=(0,i.useState)(!1),[A,C]=(0,i.useState)({customerNumber:"",postalCode:""});return((0,i.useEffect)(()=>{var e,s;let t=(0,r.Ri)("seiskazid"),a=(null==t?void 0:t.includes("&"))?null==t?void 0:t.split("&")[0]:null==t?void 0:t.substring(0,5),i=(null==t?void 0:t.includes("&"))?null==t?void 0:t.split("&")[1]:null==t?void 0:t.substring(5),l=(null==c||null==(e=c.userAttributes)?void 0:e.postalCode)||a,n=(null==c||null==(s=c.userAttributes)?void 0:s.customerNumber)||i,o=!0;return n&&l?(b||k({customerNumber:n,postalCode:l}),(null==c?void 0:c.userAttributes)||w(!0),p(!1)):p(!0),f(null),!o||!N||(null==N?void 0:N.includes("seiska"))&&(null==N?void 0:N.includes("katso"))||(window.location.href="/digilehti/".concat(N)),()=>{o=!1}},[null==c||null==(e=c.userAttributes)?void 0:e.customerNumber,null==c||null==(s=c.userAttributes)?void 0:s.postalCode,N,b,null==c?void 0:c.userAttributes]),j)?(0,a.jsx)(m,{isLoading:j}):N||j||!c?(h||g)&&!c&&!j?(0,a.jsx)(x,{error:g,handleSubmit:e=>{e.preventDefault(),A.customerNumber&&A.postalCode&&((0,r.TV)("seiskazid","".concat(A.postalCode,"&").concat(A.customerNumber),7),v(null),k({customerNumber:A.customerNumber,postalCode:A.postalCode}),f("Kirjaudutaan sis\xe4\xe4n..."),w(!0),p(!1))},formData:A,setFormData:C}):!h&&!j&&(null==N?void 0:N.includes("seiska"))&&(null==N?void 0:N.includes("katso"))?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.A,{brand:"seiska",isFront:!0,showLogout:y}),(0,a.jsxs)("div",{className:"flex items-center justify-center bg-white flex-col",children:[(0,a.jsx)("h1",{className:"text-2xl font-bold text-center mb-6",children:"Valitse julkaisu"}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("a",{href:"/digilehti/seiska",className:"text-primary-red text-2xl font-bold text-center mb-6",onClick:()=>f("Avataan digilehti\xe4..."),children:"Seiska"}),(0,a.jsx)("a",{href:"/digilehti/katso",className:"text-primary-red text-2xl font-bold text-center mb-6",onClick:()=>f("Avataan digilehti\xe4..."),children:"Katso"})]})]})]}):!h&&g?(0,a.jsx)(n.A,{error:g}):(0,a.jsx)(m,{isLoading:"Ladataan..."}):(0,a.jsx)(n.A,{error:"Tarkista postinumero ja asiakasnumeroasi profiilissasi, sinulla ei ole aktiivista tilauksesi",children:(0,a.jsx)(u.A,{href:"/user/profile",className:"bg-blue-500 text-white px-4 py-2 rounded-md mt-2 inline-block",children:"Siirry profiiliin"})})}},50071:(e,s,t)=>{Promise.resolve().then(t.bind(t,22608))}},e=>{e.O(0,[2294,871,1847,7733,9466,8066,8146,680,145,7009,7709,1138,8014,2730,6022,6407],()=>e(e.s=50071)),_N_E=e.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.