1"use strict";(self.webpackChunkexhibition_web_site=self.webpackChunkexhibition_web_site||[]).push([[337],{22525:function(e,t,l){l.r(t),l.d(t,{default:function(){return E}});var n=l(45458),r=l(28453),a=l(96540);function i(e){return a.createElement(a.Fragment)}var o=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?a.createElement(t,e,a.createElement(i,e)):i()},m=l(9698),c=l(33566),d=l(32704),u=l(78791),s=l(92594),v=l(60797),f=l(61967),p=l(22803);const h=e=>{var t,l,r,i;let{pageContext:{...o},data:h,children:E}=e;const{getCurrentLocaleNodes:g,makeNodesNested:b}=(0,s.pk)(),w=(0,s.t0)();h=g(h);const S=h.speakers.nodes,y=(e,t)=>null==e?void 0:e.filter((e=>e.slug.split("/")[e.slug.split("/").length-2]==t.trim())),N=(e,t)=>null==t?void 0:t.map((t=>{if(y(e,t)[0])return y(e,t)[0]}));h=b(null===(t=h)||void 0===t||null===(l=t.allNodes)||void 0===l?void 0:l.nodes,5,!0),h.children.sort((function(e,t){return new Date(e.frontmatter.date)-new Date(t.frontmatter.date)}));const k=e=>{var t;return Array.from(new Set((t=[]).concat.apply(t,(0,n.A)(e))))},A=k(h.children.map((e=>new Date(e.frontmatter.date).toLocaleDateString()))),D=k(h.children.map((e=>e.children.map((e=>e.frontmatter.title))))),C=k(h.children.flatMap((e=>e.children.flatMap((e=>e.children.flatMap((e=>e.frontmatter.place))))))),j=D.map((e=>({value:e,label:e}))),T=A.map((e=>({value:e,label:e}))),F=C.map((e=>({value:e,label:e})));j.unshift({value:"",label:"---"}),T.unshift({value:"",label:"---"}),F.unshift({value:"",label:"---"});const{0:J,1:L}=(0,a.useState)(h),{0:O,1:_}=(0,a.useState)(h),{0:x,1:M}=(0,a.useState)(j),{0:q,1:P}=(0,a.useState)(T),{0:I,1:Q}=(0,a.useState)(F),{0:R,1:X}=(0,a.useState)(j[0].value+""),{0:z,1:B}=(0,a.useState)(T[0].value+""),{0:G,1:H}=(0,a.useState)(F[0].value+"");return(0,a.useEffect)((()=>{let e=JSON.parse(JSON.stringify(O));0!=Object.keys(e).length&&(((e,t)=>{""!==t&&(e.children=e.children.filter((e=>new Date(e.frontmatter.date).toLocaleDateString()===t)))})(e,z),((e,t)=>{""!==t&&(e.children=e.children.map((e=>({...e,children:e.children.map((e=>({...e,children:e.children.filter((e=>e.frontmatter.place===t))}))).filter((e=>e.children.length>0))}))).filter((e=>e.children.length>0)))})(e,G),e.children=e.children.filter((e=>0!=e.length&&0!=e.children.length))),L(e)}),[z,G]),a.createElement(a.Fragment,null,a.createElement(c.A,{image:w.titleImage},null===(r=J.frontmatter)||void 0===r?void 0:r.title),a.createElement("div",{className:m.Qs},a.createElement(u.A,null,a.createElement("div",{className:m.c5},a.createElement("div",null,a.createElement("div",{className:m.Jp},"ÐаÑа:"),a.createElement(v.A,{options:q,onChange:e=>B(e.value)})),a.createElement("div",null,a.createElement("div",{className:m.Jp},"ÐеÑÑо:"),a.createElement(v.A,{options:I,onChange:e=>H(e.value)}))),0==(null==J?void 0:J.children.length)&&a.createElement("div",{className:m.PX},a.createElement("div",null,"ÐеÑопÑиÑÑий Ñ Ñакими паÑамеÑÑами не найдено")),null==J||null===(i=J.children)||void 0===i?void 0:i.map((e=>a.createElement("div",null,a.createElement("h2",null,e.frontmatter.title),e.children.sort(((e,t)=>e.frontmatter.sort-t.frontmatter.sort)).map((t=>a.createElement("div",null,a.createElement("h3",null,t.frontmatter.title),a.createElement(d.A,null,t.body),t.children.sort(((e,t)=>e.frontmatter.startTime&&t.frontmatter.startTime?e.frontmatter.startTime.localeCompare(t.frontmatter.startTime):0)).map((l=>{var n,r,i,o,m,c;return a.createElement(f.A,{time:l.frontmatter.startTime+" - "+l.frontmatter.endTime,date:new Date(e.frontmatter.date).toLocaleDateString(),place:l.frontmatter.place,part:t.frontmatter.title,body:l.body,title:l.frontmatter.title,speakers:a.createElement(a.Fragment,null,S&&(null===(n=N(S,null==l||null===(r=l.frontmatter)||void 0===r||null===(i=r.speakers)||void 0===i?void 0:i.split(",")))||void 0===n?void 0:n.map((e=>(null==e?void 0:e.frontmatter)&&a.createElement(p.qu,{preview:null==e?void 0:e.frontmatter.preview,name:null==e?void 0:e.frontmatter.title,job:null==e?void 0:e.frontmatter.job,company:null==e?void 0:e.frontmatter.company}))))),moderators:a.createElement(a.Fragment,null,S&&(null===(o=N(S,null==l||null===(m=l.frontmatter)||void 0===m||null===(c=m.moderators)||void 0===c?void 0:c.split(",")))||void 0===o?void 0:o.map((e=>(null==e?void 0:e.frontmatter)&&a.createElement(p.qu,{preview:null==e?void 0:e.frontmatter.preview,name:null==e?void 0:e.frontmatter.title,job:null==e?void 0:e.frontmatter.job,company:null==e?void 0:e.frontmatter.company})))))})})))))))))))};function E(e){return a.createElement(h,e,a.createElement(o,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.