1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6803],{31984:function(e,n,t){t.d(n,{Z:function(){return m}});var a=t(47568),s=t(70655),i=t(85893),l=t(67294),r=t(64290),c=function(e){var n=e.official,t=(e.personId,e.personType,e.onEventClick),a=(0,l.useContext)(r.Z).siteData;return(0,i.jsx)("div",{className:"col-12 col-sm-6 col-md-3 p-2 player d-flex flex-column",role:"button",children:(0,i.jsxs)("a",{onClick:function(){return t(n)},children:[(0,i.jsxs)("div",{className:"col p-0",children:[n.imageId?(0,i.jsx)("img",{src:"".concat(a.staticUrl,"/imagebank/").concat(n.imageId,"_big").concat(n.imageExtension)}):(0,i.jsx)("img",{src:"/images/pelaajasiluetti.png",alt:""}),(0,i.jsx)("div",{className:"position-absolute player-number px-3 py-2",style:{textAlign:"left"},children:n.role})]}),(0,i.jsx)("div",{className:"col py-2 justify-content-center player-name",children:n.personName})]})})},o=t(59130),d=t(42977),u=t(77104),m=(0,o.withTranslation)("common")((function(e){var n=e.officials,t=e.t,r=e.hideTitle,o=function(){p(!1)},m=(0,l.useState)(!1),h=m[0],p=m[1],x=(0,l.useState)({}),j=x[0],f=x[1];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("section",{className:"sectionhighlightedheader",children:r?null:(0,i.jsx)("div",{className:"container pt-4 pb-2",children:(0,i.jsx)("h1",{className:"mb-3",children:t("theOfficialsList")})})}),(0,i.jsx)("section",{id:"page-content",children:(0,i.jsx)("div",{className:"container pt-1 pb-4",children:(0,i.jsx)("div",{className:"row",children:n.map((function(e){return(0,i.jsx)(c,{official:e,onEventClick:y,personId:e.personId,personType:"official"},"".concat(e.personId,"-").concat(e.role))}))})})}),(0,i.jsxs)(d.Z,{show:h,onHide:o,children:[(0,i.jsx)(d.Z.Header,{closeButton:!0,children:(0,i.jsx)(d.Z.Title,{children:j.title})}),(0,i.jsxs)(d.Z.Body,{children:[j.role?(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:j.role}}):null,j.email?(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:j.email}}):null,j.phone?(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:j.phone}}):null,j.introduction?(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:j.introduction}}):null,(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:j.body}})]}),(0,i.jsx)(d.Z.Footer,{children:(0,i.jsx)(u.Z,{variant:"secondary",onClick:o,children:t("closeModal")})})]})]});function y(e){return g.apply(this,arguments)}function g(){return(g=(0,a.Z)((function(e){var n,a,i,l;return(0,s.__generator)(this,(function(s){return n=null,a=null,i=null,""!=e.email&&null!==e.email&&(l=e.email,e.email.indexOf("@")>-1&&(l="<a href='mailto:"+e.email+"'>"+e.email+"</a>"),n="<strong>"+t("email")+":</strong> "+l),null!==e.phone&&(a="<strong>"+t("phone")+":</strong> <a href='tel:"+e.phone+"'>"+e.phone+"</a>"),null!==e.introduction&&(i="<p><i>"+e.introduction+"</i></p>"),f({title:e.personName,role:"<h4>"+e.role+"</h4>",email:n,phone:a,introduction:i}),p(!0),[2]}))}))).apply(this,arguments)}}))},41057:function(e,n,t){t.d(n,{Z:function(){return f}});var a=t(47568),s=t(70655),i=t(85893),l=t(67294),r=t(64290);function c(e){var n=e.player,t=e.onClick,a=(0,l.useContext)(r.Z).siteData;return(0,i.jsxs)("div",{className:"col-12 col-sm-6 col-md-3 p-2 player d-flex flex-column",role:"button",onClick:function(){return t(n)},children:[(0,i.jsxs)("div",{className:"col p-0",children:[n.imagename?(0,i.jsx)("img",{src:"".concat(a.staticUrl,"/imagebank/").concat(n.imagename)}):(0,i.jsx)("img",{src:"/images/pelaajasiluetti.png",alt:""}),n.playerdataShirtnr?(0,i.jsx)("div",{className:"position-absolute player-number px-3 py-2",children:n.playerdataShirtnr}):null]}),(0,i.jsx)("div",{className:"col py-2 justify-content-center player-name",children:n.personName})]})}var o=t(59130),d=t(52217),u=t(11163),m=t(42977),h=t(77104),p=t(29473),x=t(17280),j=t(70167),f=(0,o.withTranslation)("common")((function(e){var n=e.positions,t=e.t,o=function(){b(!1)},f=(0,l.useContext)(r.Z).siteData,y=(0,u.useRouter)().query,g=(0,d.Z)(y.subsiteId,f.sections),v=(0,l.useState)(!1),N=v[0],b=v[1],Z=(0,l.useState)({}),_=Z[0],I=Z[1];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("section",{className:"sectionhighlightedheader",children:(0,i.jsx)("div",{className:"container pt-4 pb-2",children:(0,i.jsx)("h1",{className:"mb-3",children:t("sportTexts.".concat(g,".subsiteTeamlist"))})})}),(0,i.jsx)("section",{id:"sectionplayers",children:(0,i.jsx)("div",{className:"container pt-1 pb-4 ",children:n.map((function(e){return(0,i.jsxs)("div",{children:[(0,i.jsx)("h4",{className:"pt-3 pb-2 personheader",children:e.name}),(0,i.jsx)("div",{className:"row",children:e.players.map((function(e){return(0,i.jsx)(c,{onClick:k,player:e},"".concat(e.personId,"-").concat(e.playerPlayerattributeId))}))})]},e.name)}))})}),(0,i.jsxs)(m.Z,{show:N,onHide:o,children:[(0,i.jsxs)(m.Z.Body,{children:[(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("div",{className:"col-12 player d-flex flex-column",children:[(0,i.jsxs)("div",{className:"col p-0",children:[_.image?(0,i.jsx)("img",{style:{maxWidth:"100%"},src:"".concat(f.staticUrl,"/imagebank/").concat(_.image),alt:"".concat(_.firstname," ").concat(_.lastname)}):(0,i.jsx)("img",{style:{maxWidth:"100%"},src:"/images/pelaajasiluetti.png",alt:"".concat(_.firstname," ").concat(_.lastname)}),_.shirtNr?(0,i.jsx)("div",{className:"position-absolute player-number px-3 py-2",children:_.shirtNr}):null]}),(0,i.jsx)("div",{className:"col py-2 justify-content-center player-name",children:(0,i.jsxs)("h2",{children:["".concat(_.firstname," ").concat(_.lastname),_.captain?" (C)":null,_.viceCaptain?" (A)":null]})})]})}),(0,i.jsx)("br",{}),(0,i.jsx)("div",{className:"row",children:(0,i.jsx)("div",{className:"col",children:_.introduction?(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:_.introduction}}):null})}),(0,i.jsx)("div",{className:"row",children:(0,i.jsx)("div",{className:"col",children:function(){if(!_.stats||!_.stats.length)return null;var e=new Set(_.stats.map((function(e){return e.leagueName}))),n=[],t=!0,a=!1,s=void 0;try{for(var l,r=function(){var e=l.value,t=_.stats.filter((function(n){return n.leagueName==e})),a={leagueName:e,stats:[]};t.forEach((function(e){a.stats.push({statName:e.gamestatTypeTitle,count:e.totalCount})})),n.push(a)},c=e[Symbol.iterator]();!(t=(l=c.next()).done);t=!0)r()}catch(o){a=!0,s=o}finally{try{t||null==c.return||c.return()}finally{if(a)throw s}}return n.length?n.map((function(e){return(0,i.jsxs)("table",{className:"table small table-striped",children:[(0,i.jsx)("thead",{className:"thead-dark",children:(0,i.jsx)("tr",{children:(0,i.jsx)("th",{colSpan:"2",children:e.leagueName})})}),e.stats.map((function(e){return(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e.statName}),(0,i.jsx)("td",{children:e.count})]})}))]})})):null}()})})]}),(0,i.jsx)(m.Z.Footer,{children:(0,i.jsx)(h.Z,{variant:"secondary",onClick:o,children:t("closeModal")})})]})]});function k(e){return C.apply(this,arguments)}function C(){return(C=(0,a.Z)((function(e){var n,t,a;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return n=(0,x.Z)().origin,t=y.subsiteId,a=(0,j.Z)(),[4,p.Z.get("".concat(n,"/api/persons/").concat(t,"/players/").concat(e.personId),a)];case 1:return[4,s.sent().json()];case 2:return I.apply(void 0,[s.sent()]),b(!0),[2]}}))}))).apply(this,arguments)}}))},69913:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(1329),s=t(55223),i=t(90028);function l(e,n,t){var l=e.name;if(t){var r=(0,i.Z)(t,e.sections);l=l+" - "+(0,a.Z)(e.sections,r)}return n&&(l=l+" - "+(0,s.Z)(e.sections,n)),l}}}]);
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.