PageSourceSearch

https://www.saipary.fi/_next/static/chunks/pages/[section]/organisaatio-8a45bbde60cb6b9b.js

js saipary.fi collected 2026-10-02 23:36:13 UTC 5,198 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8616],{44809:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[section]/organisaatio",function(){return t(68577)}])},31984:function(n,e,t){"use strict";t.d(e,{Z:function(){return f}});var i=t(47568),r=t(70655),o=t(85893),s=t(67294),c=t(64290),a=function(n){var e=n.official,t=(n.personId,n.personType,n.onEventClick),i=(0,s.useContext)(c.Z).siteData;return(0,o.jsx)("div",{className:"col-12 col-sm-6 col-md-3 p-2 player d-flex flex-column",role:"button",children:(0,o.jsxs)("a",{onClick:function(){return t(e)},children:[(0,o.jsxs)("div",{className:"col p-0",children:[e.imageId?(0,o.jsx)("img",{src:"".concat(i.staticUrl,"/imagebank/").concat(e.imageId,"_big").concat(e.imageExtension)}):(0,o.jsx)("img",{src:"/images/pelaajasiluetti.png",alt:""}),(0,o.jsx)("div",{className:"position-absolute player-number px-3 py-2",style:{textAlign:"left"},children:e.role})]}),(0,o.jsx)("div",{className:"col py-2 justify-content-center player-name",children:e.personName})]})})},l=t(59130),u=t(42977),d=t(77104),f=(0,l.withTranslation)("common")((function(n){var e=n.officials,t=n.t,c=n.hideTitle,l=function(){m(!1)},f=(0,s.useState)(!1),h=f[0],m=f[1],p=(0,s.useState)({}),x=p[0],j=p[1];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("section",{className:"sectionhighlightedheader",children:c?null:(0,o.jsx)("div",{className:"container pt-4 pb-2",children:(0,o.jsx)("h1",{className:"mb-3",children:t("theOfficialsList")})})}),(0,o.jsx)("section",{id:"page-content",children:(0,o.jsx)("div",{className:"container pt-1 pb-4",children:(0,o.jsx)("div",{className:"row",children:e.map((function(n){return(0,o.jsx)(a,{official:n,onEventClick:g,personId:n.personId,personType:"official"},"".concat(n.personId,"-").concat(n.role))}))})})}),(0,o.jsxs)(u.Z,{show:h,onHide:l,children:[(0,o.jsx)(u.Z.Header,{closeButton:!0,children:(0,o.jsx)(u.Z.Title,{children:x.title})}),(0,o.jsxs)(u.Z.Body,{children:[x.role?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:x.role}}):null,x.email?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:x.email}}):null,x.phone?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:x.phone}}):null,x.introduction?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:x.introduction}}):null,(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:x.body}})]}),(0,o.jsx)(u.Z.Footer,{children:(0,o.jsx)(d.Z,{variant:"secondary",onClick:l,children:t("closeModal")})})]})]});function g(n){return v.apply(this,arguments)}function v(){return(v=(0,i.Z)((function(n){var e,i,o,s;return(0,r.__generator)(this,(function(r){return e=null,i=null,o=null,""!=n.email&&null!==n.email&&(s=n.email,n.email.indexOf("@")>-1&&(s="<a href='mailto:"+n.email+"'>"+n.email+"</a>"),e="<strong>"+t("email")+":</strong> "+s),null!==n.phone&&(i="<strong>"+t("phone")+":</strong> <a href='tel:"+n.phone+"'>"+n.phone+"</a>"),null!==n.introduction&&(o="<p><i>"+n.introduction+"</i></p>"),j({title:n.personName,role:"<h4>"+n.role+"</h4>",email:e,phone:i,introduction:o}),m(!0),[2]}))}))).apply(this,arguments)}}))},68577:function(n,e,t){"use strict";t.r(e);var i=t(47568),r=t(70655),o=t(85893),s=t(17280),c=t(11163),a=t(29473),l=t(31984),u=t(43908),d=t(70167),f=t(59130),h=t(2962),m=t(69913),p=t(1112).default,x=t(19226).default,j=function(n){var e=n.officials,t=n.siteData,i=n.t,r=(0,c.useRouter)().query,s=(0,m.Z)(t,null,r.section);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(h.PB,{title:"".concat(s," - ").concat(i("organisationListing")),openGraph:{title:"".concat(s," - ").concat(i("organisationListing"))}}),(0,o.jsxs)("div",{className:"sticky-top",children:[(0,o.jsx)(p,{}),(0,o.jsx)(x,{})]}),(0,o.jsx)(l.Z,{officials:e,hideTitle:!0})]})};j.getInitialProps=function(){var n=(0,i.Z)((function(n,e){var t,i,o,c,l;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return t=n.req,i=n.query,o=(0,s.Z)(t).origin,c=(0,d.Z)(t),l=(0,u.Z)(i.section,e.sections),[4,a.Z.get("".concat(o,"/api/persons/").concat(l,"/officials"),c)];case 1:return[4,r.sent().json()];case 2:return[2,{officials:r.sent(),siteData:e,namespacesRequired:["common"]}]}}))}));return function(e,t){return n.apply(this,arguments)}}(),e.default=(0,f.withTranslation)("common")(j)},1329:function(n,e,t){"use strict";function i(n,e){var t=null;
1return n.forEach((function(n){n.id==e&&(t=n.name)})),t}t.d(e,{Z:function(){return i}})},69913:function(n,e,t){"use strict";t.d(e,{Z:function(){return s}});var i=t(1329),r=t(55223),o=t(90028);function s(n,e,t){var s=n.name;if(t){var c=(0,o.Z)(t,n.sections);s=s+" - "+(0,i.Z)(n.sections,c)}return e&&(s=s+" - "+(0,r.Z)(n.sections,e)),s}},55223:function(n,e,t){"use strict";function i(n,e){var t=null;return n.forEach((function(n){n.sectionSubsiteId==e&&(t=n.name),n.subsiteGroups.forEach((function(n){n.subsites.forEach((function(n){n.id==e&&(t=n.name)}))}))})),t}t.d(e,{Z:function(){return i}})},43908:function(n,e,t){"use strict";t.d(e,{Z:function(){return r}});var i=t(828);function r(n,e){var t=null;return Object.entries(e).forEach((function(e){var r=(0,i.Z)(e,2),o=(r[0],r[1]);o.url==n&&(t=o.sectionSubsiteId)})),t}}},function(n){n.O(0,[385,9454,1725,9226,9774,2888,179],(function(){return e=44809,n(n.s=e);var e}));var e=n.O();_N_E=e}]);

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.