PageSourceSearch

https://www.emersoncollective.com/_next/static/chunks/pages/search-754baf31dcef7fe9.js

js emersoncollective.com collected 2026-10-02 03:22:26 UTC 10,743 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9603],{35243:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return n(83870)}])},96309:function(e,t,n){"use strict";var r=n(85893),a=n(81242),i=n.n(a);let l=e=>{let{children:t,narrow:n,text:a,internships:l}=e;return(0,r.jsx)("div",{className:"".concat(n?i().containerNarrow:a?i().containerText:l?i().internshipsContainer:i().container),children:t})};t.Z=l},83870:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return $},default:function(){return Y}});var r=n(85893),a=n(26412),i=n(48763),l=n(82729),s=n(11163),c=n(19521),o=n(70290),p=n.n(o),d=n(39138),u=n(53647),h=n(96309),f=n(89347),x=n(61299),m=n(42825),g=n.n(m);let _=e=>{let{nbHits:t}=(0,f.B)(x.Z,e);return(0,r.jsxs)("p",{className:"body4 ".concat(g().selectNumber),children:[t," results"]})};var b=n(25675),v=n.n(b),y=n(74075);let j=e=>{let{hit:t}=e;return(0,r.jsx)(y.Z,{href:(t.url||"").replace("http://www.emersoncollective.com","").replace("https://www.emersoncollective.com",""),children:(0,r.jsxs)("div",{className:g().result,children:[t.imageUrl?(0,r.jsx)(v(),{src:t.imageUrl,height:400,width:300,alt:"search-result"}):(0,r.jsx)(v(),{height:400,width:300,alt:"placeholder",src:"https://www.physio-center.at/wp-content/uploads/2016/10/orionthemes-placeholder-image.png"}),(0,r.jsx)("p",{className:"body4 ".concat(g().type),children:"persons"===t.type?"People":t.type.replace(/([a-z])([A-Z])/g,"$1 $2")}),(0,r.jsx)("h2",{className:"body1",children:t.title}),(0,r.jsx)("p",{className:"body4 ".concat(g().description),children:t.searchDescription?t.searchDescription:""})]})})};var S=n(67294),w=n(91113),N=n(57505),C=n(51540);function R(e,t){(0,S.useEffect)(()=>{let n=n=>{e.current&&!e.current.contains(n.target)&&t(!1)};return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}function k(e){let{items:t,refine:n}=(0,w.c)(e),[a,i]=(0,S.useState)(!1),l=(0,S.useRef)(null),s=()=>{i(e=>!e)},c=()=>{i(!1)};return R(l,c),(0,r.jsxs)("div",{className:g().filterSortWrapper,ref:l,children:[(0,r.jsxs)("button",{type:"button",onClick:()=>s(),className:"body4 ".concat(g().filterSortTitle),children:["Filter By",(0,r.jsx)(C.Z,{color:"#E10600",className:g().arrow})]}),a&&(0,r.jsx)("ul",{children:t.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)("button",{type:"button",onClick:()=>n(e.value),className:"body4 ".concat(e.isRefined?g().active:g().filter),children:"persons"===e.label?"People":e.label.charAt(0).toUpperCase()+e.label.slice(1)})},e.label))})]})}function L(e){let{options:t,currentRefinement:n,refine:a}=(0,N.s)(e),[i,l]=(0,S.useState)(!1),s=(0,S.useRef)(null),c=()=>
1{l(e=>!e)},o=()=>{l(!1)};return R(s,o),(0,r.jsxs)("div",{className:g().filterSortWrapper,ref:s,children:[(0,r.jsxs)("button",{type:"button",onClick:()=>c(),className:"body4 ".concat(g().filterSortTitle),children:["Sort By",(0,r.jsx)(C.Z,{color:"#E10600",className:g().arrow})]}),i&&(0,r.jsx)("ul",{children:t.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)("button",{className:"body4 ".concat(n===e.value?g().active:""),type:"button",onClick:()=>a(e.value),children:e.label})},e.value))})]})}var B=n(42650);function T(e){let{className:t,color:n}=e;return(0,r.jsx)("svg",{className:t||"",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 15.2427L0.5 8.68019V7.5625L8 1V2.99315L2.99636 7.37134H14.75V8.87134H2.99634L8 13.2495V15.2427Z",fill:n||"rgba(119, 114, 111, 0.8)"})})}function W(e){let{className:t,color:n}=e;return(0,r.jsx)("svg",{className:t||"",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 15.1216L15.5 8.5591V7.44141L8 0.878906V2.87206L13.0036 7.25024H1.25V8.75024H13.0037L8 13.1284V15.1216Z",fill:n||"rgba(119, 114, 111, 0.8)"})})}let Z=e=>{let{canRefine:t,pages:n,currentRefinement:a,nbPages:i,refine:l}=(0,B.h)(e);if(!t)return null;let s=e=>{l(e),window.scrollTo(0,0)};return(0,r.jsxs)("div",{className:g().paginationWrapper,children:[(0,r.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),s(a-1)},className:0===a?"".concat(g().next," ").concat(g().disabled):g().next,children:(0,r.jsx)(T,{})}),(0,r.jsx)("ul",{children:n.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)("button",{type:"button",onClick:t=>{t.preventDefault(),s(e)},className:"body1 ".concat(e===a?g().active:""),children:e+1})},e))}),(0,r.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),s(a+1)},className:a+1===i?"".concat(g().prev," ").concat(g().disabled):g().prev,children:(0,r.jsx)(W,{})})]})},E=e=>{let{urlTag:t,attribute:n}=e,{items:a,refine:i}=(0,w.c)({attribute:n});return(0,S.useEffect)(()=>{t&&i(t)},[i,t]),(0,r.jsxs)("div",{className:g().tagsWrapper,children:[(0,r.jsx)("p",{className:"body4 ".concat(g().tagsTitle),children:"Popular topics"}),(0,r.jsx)("ul",{children:a.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)("button",{type:"button",onClick:()=>i(e.value),className:e.isRefined?g().active:g().tag,children:e.label})},e.label))})]})};var z=n(61621),M=n(5852);let H=()=>{let{width:e}=(0,M.Z)(),{query:t,refine:n}=(0,z.l)(),a=()=>{};return(0,r.jsxs)("div",{className:g().inputContainer,children:[(0,r.jsx)("div",{children:(0,r.jsx)("input",{type:"text",value:t,onChange:e=>n(e.target.value),placeholder:"".concat(e&&e>375?"Search videos, people...":"Search")})}),(0,r.jsx)("button",{onClick:a,children:"Search"})]})};var q=n(76587);let U="production_CONTENTFUL_CMS",P=e=>e.split(" ").map(encodeURIComponent).join("-"),I=e=>e.split("-").map(decodeURIComponent).join(" "),V=e=>Array.isArray(e)?e:[e].filter(Boolean),A=(0,q.Z)({createURL(e){let{qsModule:t,routeState:n,location:r}=e,a=r.href.match(/^(.*?)\/search/),i="".concat(a?a[1]:"","/"),l={};n.q&&(l.q=P(n.q)),1!==n.page&&(l.page=n.page),n.tags&&(l.tags=n.tags.map(P)),n.filterBy&&(l.filterBy=n.filterBy.map(encodeURIComponent)),n.sortBy&&(l.sortBy=encodeURIComponent(n.sortBy));let s=t.stringify(l,{addQueryPrefix:!0,arrayFormat:"repeat"});return"".concat(i,"search").concat(s)},parseURL(e){let{qsModule:t,location:n}=e,{q:r="",page:a,tags:i=[],filterBy:l=[],sortBy:s=""}=t.parse(n.search.slice(1)),c=V(i),o=V(l);return{q:I(r),page:a,tags:c.map(I),type_formatted:o.map(decodeURIComponent),sortBy:s}}});var D={router:A,stateMapping:{stateToRoute(e){var t,n;let r=e[U];return{q:r.query,tags:null===(t=r.refinementList)||void 0===t?void 0:t.tags,filterBy:null===(n=r.refinementList)||void 0===n?void 0:n.type_formatted,page:r.page,sortBy:r.sortBy}},routeToState:e=>({[U]:{query:e.q,refinementList:{tags:e.tags,type_formatted:e.type_formatted},page:e.page,sortBy:e.sortBy}})}},G=n(91394),F=n.n(G),Q=n(83454);function X(){let e=(0,l._)(["\n  background: ",";\n  font-size: 24px;\n  min-height: calc(100vh - 50px);\n  box-sizing: border-box;\n\n  .ais-Hits--empty::before {\n    content: 'Sorry, no results found';\n    font-family: ",";\n    font-size: 34px;\n    line-height: 120%;\n    color: #2f2828;\n    display: block;\n    text-align: center;\n    padding-top: 54px;\n  }\n\n  .ais-Hits-list {\n    padding: 0;\n    list-style-type: none;\n    display: grid;\n    grid-template-columns: repeat(4, 1fr);\n    grid-gap: 40px;\n\n    @media (max-width: ",") {\n      grid-template-columns: repeat(3, 1fr);\n    }\n\n    @media (max-width: ",") {\n      grid-template-columns: repeat(2, 1fr);\n      grid-gap: 20px;\n    }\n  }\n"]);return X=function(){return e},e}let K=c.ZP.div.withConfig({componentId:"sc-a1cc5010-0"})(X(),F().ecCream,F().sanomatRegular,F().screenL,F().screenM),O=p()(Q.env&&"EWZPEKQW3J",Q.env&&"777818f02160f1df915ef095f0d7670d"),J=()=>{let e=(0,s.useRouter)(),t=e.query.tag;return(0,r.jsx)(h.Z,{children:(0,r.jsx)(K,{children:(0,r.jsxs)(d.p,{searchClient:O,indexName:U,routing:D,children:[(0,r.jsx)(H,{}),(0,r.jsx)(E,{urlTag:t,attribute:"tags"}),(0,r.jsxs)("div",{className:g().selectWrapper,children:[(0,r.jsxs)("div",{className:g().selectHeader,children:[(0,r.jsx)(_,{}
1),(0,r.jsxs)("div",{className:g().filterSortContainer,children:[(0,r.jsx)(k,{attribute:"type_formatted"}),(0,r.jsx)(L,{initialIndex:U,items:[{value:U,label:"Sort by Newest"},{value:"".concat(U,"_oldest"),label:"Sort by Oldest"},{value:"".concat(U,"_alphabetically-asc"),label:"A - Z"},{value:"".concat(U,"_alphabetically"),label:"Z - A"}]})]})]}),(0,r.jsx)(u.m,{className:g().hits,hitComponent:j}),(0,r.jsx)(Z,{})]})]})})})};var $=!0;function Y(e){let{global:t}=e;return(0,r.jsxs)(a.Z,{global:t,children:[(0,r.jsx)(i.Z,{title:"Search"}),(0,r.jsx)(J,{})]})}},81242:function(e){e.exports={container:"Container_container__aklBs",containerNarrow:"Container_containerNarrow__5nhxV",containerText:"Container_containerText__nTLQv",internshipsContainer:"Container_internshipsContainer__yTxkx"}},42825:function(e){e.exports={inputContainer:"Search_inputContainer__JgBk2",result:"Search_result__e1HDK",type:"Search_type__2nKRP",description:"Search_description__pE_nI",filterSortWrapper:"Search_filterSortWrapper__nFMJC",filterSortTitle:"Search_filterSortTitle__MRBvk",arrow:"Search_arrow__fxFyW",active:"Search_active__QQDTh",filter:"Search_filter__vm_4w",paginationWrapper:"Search_paginationWrapper__AEqUf",next:"Search_next__NTFIF",disabled:"Search_disabled__0y89q",tagsWrapper:"Search_tagsWrapper__Y16jr",tagsTitle:"Search_tagsTitle__aWQnZ",selectWrapper:"Search_selectWrapper__Scqx7",selectHeader:"Search_selectHeader___sSzy",selectNumber:"Search_selectNumber__79WKA",filterSortContainer:"Search_filterSortContainer__7jgMS"}},91394:function(e){e.exports={screenXL:"1440px",screenL:"1280px",screenM:"1024px",screenS:"768px",screenSm:"376px",spacingL:"160px",spacingM:"60px",spacingS:"20px",containerWidth:"1440px",containerTextWidth:"740px",sanomatLight:'"Sanomat Light"',sanomatRegular:'"Sanomat Regular"',RGTightBold:'"Right Grotesk Tight Bold"',RGMedium:'"Right Grotesk Medium"',RGRegular:'"Right Grotesk Regular"',fontSizeS:"13px",fontSizeM:"15px",fontSizeH3:"32px",fontSizeH4:"15px",fontSizeXXL:"100px",fontSizeXL:"72px",fontSizeLM:"24px",fontSizeL:"28px",fontSizeBody1:"20px",fontSizeH0Mobile:"36px",light:"300",regular:"400",medium:"500",bold:"700",black50:"rgba(0,0,0,.5)",ecBlack:"#2f2828",ecBlack30:"rgba(47,40,40,.3)",ecBlack25:"rgba(47,40,40,.25)",ecBlack50:"rgba(47,40,40,.5)",ecCream:"#fcfaf2",ecRed:"#e10600",ecDarkGray:"#77726f",ecLightGray:"#77726f",white:"#fff",white30:"rgba(255,255,255,.3)",white70:"rgba(255,255,255,.7)",black:"#000",violet:"#561d84",plum:"#6f0851",admiral:"#2b2f97",pine:"#006a44",seafoam:"#006a44",carrot:"#ff7b5e",sunshine:"#fff747",magenta:"#ff6f91"}}},function(e){e.O(0,[1083,5675,9571,3691,8662,9774,2888,179],function(){return e(e.s=35243)}),_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.