PageSourceSearch

https://www.nibacos.fi/_next/static/chunks/pages/[section]/uutisarkisto-425fb8acaf0010a2.js

js nibacos.fi collected 2026-10-02 22:42:59 UTC 4,969 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8767],{11601:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[section]/uutisarkisto",function(){return e(49224)}])},89220:function(t,n,e){"use strict";var s=e(85893),c=e(59130),r=e(41664),i=e.n(r),a=e(13588),o=e(11163);n.Z=(0,c.withTranslation)("common")((function(t){var n=t.newslist,e=t.t,c=(0,o.useRouter)(),r=(0,a.Z)(c.query),u=r.href,l=r.linkAs;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"table-responsive text-left pb-3",children:(0,s.jsxs)("table",{className:"table table-hover",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{scope:"col",width:"200",children:e("newsDate")}),(0,s.jsx)("th",{scope:"col",children:e("newsTitle")}),(0,s.jsx)("th",{scope:"col",children:e("category")})]})}),(0,s.jsx)("tbody",{children:n.length?n.map((function(t){var n="".concat(u,"uutiset/[newsId]/[slug]"),c="".concat(l,"uutiset/").concat(t.id,"/").concat(t.slug),r=e("anews");return 2===t.type&&(n="".concat(u,"ottelut/[newsId]?tab=prepuff"),c="".concat(l,"ottelut/").concat(t.id,"?tab=prepuff"),r=e("gamePrepuff")),3===t.type&&(n="".concat(u,"ottelut/[newsId]?tab=report"),c="".concat(l,"ottelut/").concat(t.id,"?tab=report"),r=e("gameReport")),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:(0,s.jsx)(i(),{href:n,as:c,children:(0,s.jsx)("a",{children:t.date})})}),(0,s.jsx)("td",{children:(0,s.jsx)(i(),{href:n,as:c,children:(0,s.jsx)("a",{children:t.title})})}),(0,s.jsx)("td",{children:(0,s.jsx)(i(),{href:n,as:c,children:(0,s.jsx)("a",{children:r})})})]},t.id)})):(0,s.jsx)("tr",{children:(0,s.jsx)("td",{colSpan:"10",children:e("noNews")})})})]})})})}))},49224:function(t,n,e){"use strict";e.r(n);var s=e(47568),c=e(70655),r=e(85893),i=e(17280),a=e(1112),o=e(19226),u=e(29473),l=e(89220),h=e(59130),d=e(67294),f=e(70167),p=e(43908),j=e(2962),x=e(69913),w=e(11163),v=function(t){var n=t.news,e=t.siteData,h=t.t,v=(0,d.useState)(n),m=v[0],b=v[1],Z=(0,d.useState)(0),g=Z[0],_=Z[1],N=(0,d.useState)(6===n.length),y=N[0],E=(N[1],(0,w.useRouter)().query),k=(0,x.Z)(e,null,E.section);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j.PB,{title:"".concat(k," - ").concat(h("newsarchive")),openGraph:{title:"".concat(k," - ").concat(h("newsarchive"))}}),(0,r.jsxs)("div",{className:"sticky-top",children:[(0,r.jsx)(a.default,{}),(0,r.jsx)(o.default,{})]}),(0,r.jsx)("section",{className:"sectionhighlightedheader",children:(0,r.jsx)("div",{className:"container pt-4 pb-2",children:(0,r.jsx)("h1",{className:"mb-3",children:h("newsArchive")})})}),(0,r.jsxs)("section",{id:"page-content",children:[(0,r.jsx)("div",{className:"container pt-1 pb-4",children:(0,r.jsx)(l.Z,{newslist:m})}),y?(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:"col-12 text-center",children:(0,r.jsx)("button",{type:"button",className:"btn btn-highlighted w-auto my-4",onClick:(0,s.Z)((function(){return(0,c.__generator)(this,(function(t){return[2,q()]}))})),children:h("newsArchiveLoadmore")})})}):null]})]});function q(){return I.apply(this,arguments)}function I(){return(I=(0,s.Z)((function(){var t,n,s,r,a,o;return(0,c.__generator)(this,(function(c){switch(c.label){case 0:return t=g+6,n=(0,f.Z)(),s=(0,p.Z)(E.section,e.sections),r=(0,i.Z)().origin,[4,u.Z.get("".concat(r,"/api/news/newslist/subsite/").concat(s,"?start=").concat(t),n)];case 1:return[4,c.sent().json()];case 2:return a=c.sent(),o=m.concat(a),b(o),_(t),[2]}}))}))).apply(this,arguments)}};v.getInitialProps=function(){var t=(0,s.Z)((function(t,n){var e,s,r;return(0,c.__generator)(this,(function(c){switch(c.label){case 0:return e=(0,i.Z)(t.req).origin,s=(0,f.Z)(t.req),r=(0,p.Z)(t.query.section,n.sections),[4,u.Z.get("".concat(e,"/api/news/newslist/subsite/").concat(r),s)];case 1:return[4,c.sent().json()];case 2:return[2,{news:c.sent(),siteData:n,namespacesRequired:["common"]}]}}))}));return function(n,e){return t.apply(this,arguments)}}(),n.default=(0,h.withTranslation)("common")(v)},1329:function(t,n,e){"use strict";function s(t,n){var e=null;return t.forEach((function(t){t.id==n&&(e=t.name)})),e}e.d(n,{Z:function(){return s}})},69913:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});
1var s=e(1329),c=e(55223),r=e(90028);function i(t,n,e){var i=t.name;if(e){var a=(0,r.Z)(e,t.sections);i=i+" - "+(0,s.Z)(t.sections,a)}return n&&(i=i+" - "+(0,c.Z)(t.sections,n)),i}},55223:function(t,n,e){"use strict";function s(t,n){var e=null;return t.forEach((function(t){t.sectionSubsiteId==n&&(e=t.name),t.subsiteGroups.forEach((function(t){t.subsites.forEach((function(t){t.id==n&&(e=t.name)}))}))})),e}e.d(n,{Z:function(){return s}})},43908:function(t,n,e){"use strict";e.d(n,{Z:function(){return c}});var s=e(828);function c(t,n){var e=null;return Object.entries(n).forEach((function(n){var c=(0,s.Z)(n,2),r=(c[0],c[1]);r.url==t&&(e=r.sectionSubsiteId)})),e}}},function(t){t.O(0,[1725,9226,9774,2888,179],(function(){return n=11601,t(t.s=n);var n}));var n=t.O();_N_E=n}]);

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.