PageSourceSearch

https://mcc.is/_next/static/chunks/pages/search-1514c834fb7a89c8.js

js mcc.is collected 2026-10-02 06:01:00 UTC 2,478 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9603],{457:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return t(3573)}])},3573:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return b},default:function(){return j}});var s=t(1018),a=t(3780),l=t(7137),r=t.n(l);let c=e=>{let{label:n,checked:t,name:l,type:c,value:u,id:i,handleChange:o}=e;return(0,s.jsxs)("div",{className:r().tagItem,children:[(0,s.jsx)("input",{name:l,type:c,value:u,id:i,checked:t,onChange:()=>o(u),className:r().input}),(0,s.jsxs)(a._,{as:"label",htmlFor:i,className:r().label,children:[(0,s.jsx)("svg",{className:r().checkmark,viewBox:"0 0 12 10",children:(0,s.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})}),n]})]})};var u=t(5557),i=t(7504),o=t(5087),h=t(197),_=t(4102),d=t(2066),p=t(1194),x=t.n(p);function f(e){let{results:n,query:t}=e,{t:a}=(0,i.Z)("common"),l=(0,o.useRef)(null),[r,p]=(0,o.useState)({news:!0,events:!0,blog:!0,page:!0}),f=Object.entries((0,u.groupBy)((null==n?void 0:n.hits)||[],"type")).filter(e=>r.hasOwnProperty(e[0])&&r[e[0]]);(0,o.useEffect)(()=>{if(!t){var e;null===(e=l.current)||void 0===e||e.focus()}},[t]);let b=e=>{p(n=>({...n,[e]:!n[e]}))};return(0,s.jsx)("div",{className:x().wrap,children:(0,s.jsx)(_.rj,{children:(0,s.jsxs)("div",{className:x().resultsContent,children:[(0,s.jsx)(_.Rj,{ref:l,label:a("searchLabel"),defaultValue:t,placeholder:a("searchPlaceholder"),buttonLabel:a("search")}),(0,s.jsx)(h.T,{as:"h1",id:"main-h1",dangerouslySetInnerHTML:{__html:a("searchResults")}}),(0,s.jsx)("div",{className:x().checkboxContainer,children:Object.keys(r).map(e=>(0,s.jsx)(c,{name:e,type:"checkbox",handleChange:()=>b(e),id:e,value:0,checked:r[e],label:a("search-result-".concat(e))}))}),f.length?(0,s.jsx)(_.s1,{children:f.map(e=>{let[n,t]=e;return(0,s.jsx)(_._E,{label:a("search-result-".concat(n)),id:n,children:t.map(e=>{let{title:n,parentTitle:t,url:a}=e;return(0,s.jsx)(_.lt,{as:d.Z,title:n,label:t,href:a})})},n)})}):(0,s.jsx)("div",{})]})})})}var b=!0,j=function(e){return(0,s.jsx)(f,{...e})}},1194:function(e){e.exports={wrap:"PageSearch_wrap__bpSWb",noResultsTitle:"PageSearch_noResultsTitle__Ionsh",resultsContent:"PageSearch_resultsContent__6hqLQ",checkboxContainer:"PageSearch_checkboxContainer__Sxok8"}},7137:function(e){e.exports={tagItem:"Input_tagItem__wi54P",input:"Input_input__VIgKB",label:"Input_label__NTY7E"}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=457)}),_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.