PageSourceSearch

https://toitu.netlify.app/6961-86108e456a298973e1a8.js

js toitu.netlify.app collected 2026-10-03 11:31:51 UTC 4,355 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktoitu_gatsby=self.webpackChunktoitu_gatsby||[]).push([[6961],{1233:function(e,t,l){l.r(t)},6287:function(e,t,l){l.r(t)},6961:function(e,t,l){l.r(t),l.d(t,{default:function(){return y}});var n=l(4506),a=l(6770),r=l(7953),i=l(8414),s=l(5608),o=l(1106),c=l(8747),u=l(4794);var m=()=>{const e=(0,u.useStaticQuery)("3479380346"),t=e.allSanityMemberIndustry,l=e.allSanityRegion;return{industries:t.nodes,regions:l.nodes}},d=l(1139),v=l(6940),p=l(1697),E=l(6062),h=l(6540),b=l(1055);var y=e=>{var t,l,c,u,y,g,A;let S=e.data;const w=(0,p.Sz)(),N=null!==(t=null==S?void 0:S.listType)&&void 0!==t?t:"certified",C=m(),I=(0,d.A)({groqQueryKey:"allMembers",queryKey:[null==S?void 0:S._key,null==S?void 0:S._type,w.lastUpdate],staleTime:7,params:{status:N}}),k=null===(l=I.data)||void 0===l||null===(c=l.pages)||void 0===c?void 0:c[0];if(!S)return null;const T=S.title,_=S.buttons;return h.createElement(f,null,h.createElement("div",{className:"title-area"},h.createElement(o.A,{data:T}),null!=_&&_.length?h.createElement("div",{className:"buttons"},null==_?void 0:_.map(e=>h.createElement(r.A,{key:null==e?void 0:e._key,data:e}))):null),h.createElement(b.G,{searchClient:v.A.formattedSearch,indexName:"members",routing:{stateMapping:v.A.memberDirectoryStateMap(null==C?void 0:C.industries,null==C?void 0:C.regions)}},h.createElement(i.A,{scrollAmountOnSearch:400,placeholder:"Search member..."}),h.createElement(s.A.FiltersAndSearch,{searchPlaceholder:"Search member...",extraFilters:"status:"+(null!==(u=S.listType)&&void 0!==u?u:"certified"),tabs:[].concat((0,n.A)("certified"===N?[{label:"Certification",field:"certifications.certificationType.type",options:E.Y5}]:[]),[{label:"Industry",field:"industriesIds",options:null!==(y=null==C?void 0:C.industries)&&void 0!==y?y:[],sort:!0},{label:"Country",field:"region._id",options:null!==(g=null==C?void 0:C.regions)&&void 0!==g?g:[],sort:!0}])}),h.createElement(s.A.Results,{data:null!==(A=null==k?void 0:k.members)&&void 0!==A?A:[],loading:I.isLoading,error:I.isError,totalHits:null==k?void 0:k.numOfMembers,label:"members"},e=>h.createElement("table",null,h.createElement("thead",null,h.createElement("tr",null,h.createElement("th",
1null,"Business name"),h.createElement("th",null,"Certifications"),h.createElement("th",null,"Industry"),h.createElement("th",null,"Country"),h.createElement("th",null))),h.createElement("tbody",null,e.map(e=>{var t,l,n;return h.createElement("tr",{key:e._id},h.createElement("td",null,h.createElement("div",{className:"name-logo"},h.createElement(a.A,{data:e.image,width:300}),h.createElement("p",null,e.title))),h.createElement("td",null,h.createElement("p",{className:"mobile-label"},"Certifications"),(0,E.$s)(e.certifications).map(e=>{var t;return h.createElement("p",null,null==e||null===(t=e.certificationType)||void 0===t?void 0:t.title)})),h.createElement("td",{className:"industry"},h.createElement("p",{className:"mobile-label"},"Industry"),null!==(t=e.industries)&&void 0!==t&&t.length?e.industries.map(e=>null==e?void 0:e.title).join(", "):null===(l=e.industry)||void 0===l?void 0:l.title),h.createElement("td",{className:"first-cert"},h.createElement("p",{className:"mobile-label"},"Country"),null===(n=e.region)||void 0===n?void 0:n.title),h.createElement("td",{className:"view-more"},h.createElement(r.A,{customDesign:"outlined",data:e},"View More")))}))))))};const f=(0,c.I)("div")({name:"Wrapper",class:"wvqw4mw",propsAsIs:!1});l(1233)},8414:function(e,t,l){var n=l(3978),a=l(9360),r=l(8747),i=l(6540),s=l(8550),o=l(1367),c=l(8199),u=l(7119);t.A=e=>{let t=e.scrollAmountOnSearch,l=e.placeholder,r=e.showRecentSearches,d=e.autoFocus;const v=(0,s.V)(),p=(0,i.useState)(""),E=p[0],h=p[1],b=(0,i.useState)(!1),y=b[0],f=b[1],g=(0,u.A)(e=>e.changeRecentSearch);return i.createElement(m,{className:(0,a.m)("algolia-search-bar",y&&"focused")},i.createElement(o.G,{searchAsYouType:!1,placeholder:l||"Search...",onSubmit:()=>{f(!1),g(E),t&&window.scrollBy({top:t,behavior:"smooth"})},autoFocus:d,onFocus:()=>f(!0),onBlur:()=>setTimeout(()=>f(!1),150),onInput:e=>h(e.target.value)}),i.createElement("p",{className:"enter-msg"},i.createElement(n.A,{asset:"enter",size:20})," Click enter to search"),r&&i.createElement(c.A,{onSelect:e=>v.refine(e),searchValue:E}))};const m=(0,r.I)("div")({name:"Wrapper",class:"w1b8x4hx",propsAsIs:!1});l(6287)}}]);

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.