1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,818614,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(618566),n=e.i(522016),s=e.i(88653),l=e.i(846932),i=e.i(972520),o=e.i(25652),c=e.i(975157),d=e.i(682565),m=e.i(874194),p=e.i(457630),u=e.i(173792),x=e.i(63727),g=e.i(699875),h=e.i(642437),f=e.i(731),v=e.i(657688),b=e.i(863616);function y({logoUrl:e,name:r,size:n,className:s}){let[l,i]=(0,a.useState)(!1),o=r.charAt(0)||"?";if(l)return(0,t.jsx)("span",{className:f.cardDesign.logoFallback,children:o});let d=e&&!(0,b.isDefaultLogoUrl)(e)?e:b.DEFAULT_LOGO_URL;return(0,t.jsx)(v.default,{src:d,alt:"",width:n,height:n,className:(0,c.cn)("rounded-xs object-cover",s),onError:()=>i(!0)})}function j({org:e,href:s}){let i=(0,r.useRouter)(),o=(0,a.useRef)(null);return(0,t.jsxs)(l.motion.div,{variants:{initial:{opacity:0,y:12},animate:{opacity:1,y:0,transition:d.spring.snappy}},whileHover:{y:-2,transition:d.spring.snappy},whileTap:{scale:.98,transition:d.spring.snappy},className:f.cardDesign.container,onPointerEnter:()=>{o.current=setTimeout(()=>i.prefetch(s),1e3)},onPointerLeave:()=>clearTimeout(o.current??void 0),children:[(0,t.jsx)(n.default,{href:s,scroll:!1,"aria-label":`Open ${e.name}`,className:"focus-visible:ring-navy/30 absolute inset-0 z-20 block rounded-[3px] outline-none focus-visible:ring-2",children:(0,t.jsx)("span",{className:"sr-only",children:e.name})}),(0,t.jsx)("div",{className:(0,c.cn)(f.cardDesign.accentBar,f.tabAccentClass.companies)}),(0,t.jsxs)("div",{className:(0,c.cn)(f.cardDesign.content,"pointer-events-none"),children:[e.recentRaise&&(0,t.jsx)("div",{className:(0,c.cn)(f.cardDesign.badgeRaise,"mb-2 w-fit"),children:e.recentRaise.formatted}),(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:f.cardDesign.logo,children:(0,t.jsx)(y,{logoUrl:e.logoUrl,name:e.name,size:40})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("h3",{className:f.cardDesign.title,children:e.name}),(0,t.jsxs)("div",{className:"mt-1 flex flex-wrap gap-1.5",children:[(0,t.jsx)("span",{className:f.cardDesign.badgePrimary,children:(0,p.orgTypeLabelFor)(e.type)}),e.primarySector&&(0,t.jsx)("span",{className:f.cardDesign.badgePrimarySector,children:e.primarySector}),e.sectors.filter(t=>t!==e.primarySector).slice(0,1).map(e=>(0,t.jsx)("span",{className:f.cardDesign.badgeNeutral,children:e},e)),e.additionalOrgTypes.map(e=>(0,t.jsx)("span",{className:f.cardDesign.badgeNeutral,children:p.additionalOrgTypeLabel[e]??e},e)),e.isUkOrganisation?(0,t.jsx)(h.BritishBadge,{}):(0,t.jsx)("span",{className:f.cardDesign.badgeNeutral,children:"Foreign"}),null!==(0,p.orgStatusLabelFor)(e.status)&&(0,t.jsx)("span",{className:f.cardDesign.badgeInactive,children:(0,p.orgStatusLabelFor)(e.status)})]})]})]}),e.description.trim()&&(0,t.jsx)("p",{className:(0,c.cn)(f.cardDesign.description,"mt-3"),children:e.description}),(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-x-3 gap-y-1",children:[e.neighbourhood&&(0,t.jsx)("span",{className:f.cardDesign.meta,children:e.neighbourhood}),e.foundedYear&&(0,t.jsxs)("span",{className:f.cardDesign.meta,children:["Est. ",e.foundedYear]}),e.teamSize&&(0,t.jsxs)("span",{className:f.cardDesign.meta,children:[e.teamSize," people"]})]}),(0,t.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-2",children:[e.activeJobCount>0&&(0,t.jsxs)(n.default,{href:`/jobs?company=${e.slug}`,scroll:!1,onClick:e=>e.stopPropagation(),className:(0,c.cn)(f.cardDesign.badgeGreen,"pointer-events-auto relative z-30 inline-flex items-center gap-1.5 transition-opacity hover:opacity-80"),children:[(0,t.jsx)(g.Pulse,{size:"sm"}),(0,t.jsx)(x.Briefcase,{className:"h-2.5 w-2.5"}),e.activeJobCount," ",1===e.activeJobCount?"role":"roles"]}),e.commercialPartner&&(0,t.jsx)("span",{className:f.cardDesign.badgeBacker,children:"BiL"}),e.referenceUrl&&(0,p.safeExternalHref)(e.referenceUrl)&&(0,t.jsx)("a",{href:(0,p.safeExternalHref)(e.referenceUrl),target:"_blank",rel:"noopener noreferrer",onClick:e=>e.stopPropagation(),className:"font-transport-new text-navy/60 hover:text-navy pointer-events-auto relative z-30 text-[11px] font-medium underline-offset-2 hover:underline",children:"View source"})]})]})]})}function N({org:e,href:s}){let i=(0,r.useRouter)(),o=(0,a.useRef)(null);return(0,t.jsxs)(l.motion.div,{variants:{initial:{opacity:0,y:12}
1,animate:{opacity:1,y:0,transition:d.spring.snappy}},whileHover:{y:-2,transition:d.spring.snappy},whileTap:{scale:.98,transition:d.spring.snappy},className:f.cardDesign.container,onPointerEnter:()=>{o.current=setTimeout(()=>i.prefetch(s),1e3)},onPointerLeave:()=>clearTimeout(o.current??void 0),children:[(0,t.jsx)(n.default,{href:s,scroll:!1,"aria-label":`Open ${e.name}`,className:"focus-visible:ring-navy/30 absolute inset-0 z-20 block rounded-[3px] outline-none focus-visible:ring-2",children:(0,t.jsx)("span",{className:"sr-only",children:e.name})}),(0,t.jsx)("div",{className:(0,c.cn)(f.cardDesign.accentBar,f.tabAccentClass.investors)}),(0,t.jsxs)("div",{className:(0,c.cn)(f.cardDesign.content,"pointer-events-none"),children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:f.cardDesign.logo,children:(0,t.jsx)(y,{logoUrl:e.logoUrl,name:e.name,size:40})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("h3",{className:f.cardDesign.title,children:e.name}),(0,t.jsxs)("div",{className:"mt-1 flex flex-wrap gap-1.5",children:[(0,t.jsx)("span",{className:f.cardDesign.badgePrimary,children:(0,p.orgTypeLabelFor)(e.type)}),e.investorStages?.map(e=>(0,t.jsx)("span",{className:f.cardDesign.badgeNeutral,children:(0,p.investorStageLabelFor)(e)},e)),e.additionalOrgTypes.map(e=>(0,t.jsx)("span",{className:f.cardDesign.badgeNeutral,children:p.additionalOrgTypeLabel[e]??e},e)),!e.isUkOrganisation&&(0,t.jsx)("span",{className:f.cardDesign.badgeNeutral,children:"Foreign"}),null!==(0,p.orgStatusLabelFor)(e.status)&&(0,t.jsx)("span",{className:f.cardDesign.badgeInactive,children:(0,p.orgStatusLabelFor)(e.status)})]})]})]}),e.description.trim()&&(0,t.jsx)("p",{className:(0,c.cn)(f.cardDesign.description,"mt-3"),children:e.description}),(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[e.commercialPartner&&(0,t.jsx)("span",{className:f.cardDesign.badgeBacker,children:"BiL"}),e.referenceUrl&&(0,p.safeExternalHref)(e.referenceUrl)&&(0,t.jsx)("a",{href:(0,p.safeExternalHref)(e.referenceUrl),target:"_blank",rel:"noopener noreferrer",onClick:e=>e.stopPropagation(),className:"font-transport-new text-navy/60 hover:text-navy pointer-events-auto relative z-30 text-[11px] font-medium underline-offset-2 hover:underline",children:"View source"})]}),e.neighbourhood&&(0,t.jsx)("span",{className:(0,c.cn)(f.cardDesign.meta,"mt-2 block"),children:e.neighbourhood})]})]})}var w=e.i(346897),S=e.i(87316),k=e.i(245008);function P({org:e,href:s}){let i=(0,r.useRouter)(),o=(0,a.useRef)(null);return(0,t.jsxs)(l.motion.div,{variants:{initial:{opacity:0,y:12},animate:{opacity:1,y:0,transition:d.spring.snappy}},whileHover:{y:-2,transition:d.spring.snappy},whileTap:{scale:.98,transition:d.spring.snappy},className:f.cardDesign.container,onPointerEnter:()=>{o.current=setTimeout(()=>i.prefetch(s),1e3)},onPointerLeave:()=>clearTimeout(o.current??void 0),children:[(0,t.jsx)(n.default,{href:s,scroll:!1,"aria-label":`Open ${e.name}`,className:"focus-visible:ring-navy/30 absolute inset-0 z-20 block rounded-[3px] outline-none focus-visible:ring-2",children:(0,t.jsx)("span",{className:"sr-only",children:e.name})}),(0,t.jsx)("div",{className:(0,c.cn)(f.cardDesign.accentBar,f.tabAccentClass.communities)}),(0,t.jsxs)("div",{className:(0,c.cn)(f.cardDesign.content,"pointer-events-none"),children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:f.cardDesign.logo,children:(0,t.jsx)(y,{logoUrl:e.logoUrl,name:e.name,size:40})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsx)("h3",{className:f.cardDesign.title,children:e.name}),e.primaryPlatform&&(0,t.jsx)(k.EventSourceLogo,{source:e.primaryPlatform,size:13,className:"mt-0.5 shrink-0 text-neutral-500"})]}),(0,t.jsxs)("div",{className:"mt-1 flex flex-wrap gap-1.5",children:[(0,t.jsx)("span",{className:f.cardDesign.badgePrimary,children:(0,p.orgTypeLabelFor)(e.type)}),e.additionalOrgTypes.map(e=>(0,t.jsx)("span",{className:f.cardDesign.badgeNeutral,children:p.additionalOrgTypeLabel[e]??e},e)),null!==(0,p.orgStatusLabelFor)(e.status)&&(0,t.jsx)("span",{className:f.cardDesign.badgeInactive,children:(0,p.orgStatusLabelFor)(e.status)})]})]})]}
1),e.description.trim()&&(0,t.jsx)("p",{className:(0,c.cn)(f.cardDesign.description,"mt-3"),children:e.description}),e.nextEventDate&&(0,t.jsxs)("span",{className:"text-navy mt-3 inline-flex items-center gap-1.5 text-[11px] font-medium",children:[(0,t.jsx)(S.Calendar,{className:"h-3 w-3"}),"Next event: ",e.nextEventDate]}),e.neighbourhood&&(0,t.jsxs)("span",{className:(0,c.cn)(f.cardDesign.meta,"mt-2 inline-flex items-center gap-1"),children:[(0,t.jsx)(w.MapPin,{className:"h-2.5 w-2.5"}),e.neighbourhood]}),e.referenceUrl&&(0,p.safeExternalHref)(e.referenceUrl)&&(0,t.jsx)("a",{href:(0,p.safeExternalHref)(e.referenceUrl),target:"_blank",rel:"noopener noreferrer",onClick:e=>e.stopPropagation(),className:"font-transport-new text-navy/60 hover:text-navy pointer-events-auto relative z-30 mt-2 block text-[11px] font-medium underline-offset-2 hover:underline",children:"View source"})]})]})}function C({org:e,href:s}){let o=(0,r.useRouter)(),m=(0,a.useRef)(null);return(0,t.jsxs)(l.motion.div,{variants:{initial:{opacity:0,y:12},animate:{opacity:1,y:0,transition:d.spring.snappy}},whileHover:{y:-2,transition:d.spring.snappy},whileTap:{scale:.98,transition:d.spring.snappy},className:(0,c.cn)(f.cardDesign.container,"overflow-hidden"),onPointerEnter:()=>{m.current=setTimeout(()=>o.prefetch(s),1e3)},onPointerLeave:()=>clearTimeout(m.current??void 0),children:[(0,t.jsx)(n.default,{href:s,scroll:!1,"aria-label":`Open ${e.name}`,className:"focus-visible:ring-navy/30 absolute inset-0 z-20 block rounded-[3px] outline-none focus-visible:ring-2",children:(0,t.jsx)("span",{className:"sr-only",children:e.name})}),(0,t.jsx)("div",{className:(0,c.cn)(f.cardDesign.accentBar,f.tabAccentClass.coworking)}),(0,t.jsx)("div",{className:"relative h-32 w-full bg-neutral-100",children:e.photoUrls?.[0]?(0,t.jsx)(v.default,{src:e.photoUrls[0],alt:e.name,fill:!0,className:"object-cover",sizes:"(max-width: 768px) 100vw, 33vw"}):(0,t.jsx)("div",{className:"font-transport-new flex h-full items-center justify-center text-2xl text-neutral-500/30",children:e.name.charAt(0)})}),(0,t.jsxs)("div",{className:(0,c.cn)(f.cardDesign.content,"pointer-events-none pl-4.75"),children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("h3",{className:f.cardDesign.title,children:e.name}),(0,t.jsxs)("div",{className:"flex shrink-0 flex-wrap gap-1",children:[e.primarySector&&(0,t.jsx)("span",{className:f.cardDesign.badgePrimarySector,children:e.primarySector}),(0,t.jsx)("span",{className:f.cardDesign.badgePrimary,children:(0,p.orgTypeLabelFor)(e.type)})]})]}),(e.additionalOrgTypes.length>0||e.isUkOrganisation||"ACTIVE"!==e.status)&&(0,t.jsxs)("div",{className:"mt-1 flex flex-wrap gap-1.5",children:[e.additionalOrgTypes.map(e=>(0,t.jsx)("span",{className:f.cardDesign.badgeNeutral,children:p.additionalOrgTypeLabel[e]??e},e)),e.isUkOrganisation&&(0,t.jsx)(h.BritishBadge,{}),null!==(0,p.orgStatusLabelFor)(e.status)&&(0,t.jsx)("span",{className:f.cardDesign.badgeInactive,children:(0,p.orgStatusLabelFor)(e.status)})]}),e.neighbourhood&&(0,t.jsxs)("span",{className:(0,c.cn)(f.cardDesign.meta,"mt-1 inline-flex items-center gap-1"),children:[(0,t.jsx)(w.MapPin,{className:"h-2.5 w-2.5"}),e.neighbourhood]}),e.lat&&e.lng&&(0,t.jsxs)(n.default,{href:`/map?mode=coworking&pin=${e.slug}&from=directory`,onClick:e=>e.stopPropagation(),className:"text-navy hover:text-royal-red pointer-events-auto relative z-30 mt-3 inline-flex items-center gap-0.5 text-[11px] font-medium transition-colors",children:[(0,t.jsx)("span",{className:"translate-y-0.5",children:"View on map"}),(0,t.jsx)(i.ArrowRight,{className:"h-2 w-2"})]}),e.referenceUrl&&(0,p.safeExternalHref)(e.referenceUrl)&&(0,t.jsx)("a",{href:(0,p.safeExternalHref)(e.referenceUrl),target:"_blank",rel:"noopener noreferrer",onClick:e=>e.stopPropagation(),className:"font-transport-new text-navy/60 hover:text-navy pointer-events-auto relative z-30 mt-2 block text-[11px] font-medium underline-offset-2 hover:underline",children:"View source"})]})]})}function T({label:e,active:a,onClick:r,className:n,selectionMode:s="toggle",ariaLabel:l}){return(0,t.jsx)("button",{type:"button",onClick:r,"aria-label":l,..."multi"===s?{role:"checkbox","aria-checked":a}:{"aria-pressed":a}
1,className:(0,c.cn)("touch-target-y font-transport-new rounded-sm px-2.5 py-1 text-[13px] font-medium transition-colors duration-150",a?"bg-navy text-white":"bg-neutral-0 hover:border-navy/15 border border-neutral-200 text-neutral-900",n),children:e})}var O=e.i(970436),D=e.i(561348),R=e.i(664659);let L="name",I={name:"Name (A-Z)",newest:"Newest","team-size":"Team size","recently-raised":"Recently raised"},E={all:["name","newest"],companies:["name","newest","team-size","recently-raised"],investors:["name","newest","team-size"],communities:["name","newest"],"public-sector":["name","newest"],coworking:["name","newest"]};function U(e){return E[e].map(e=>({value:e,label:I[e]}))}let A={all:U("all"),companies:U("companies"),investors:U("investors"),communities:U("communities"),"public-sector":U("public-sector"),coworking:U("coworking")};function _({tab:e,className:a}){var n;let s=(0,r.useRouter)(),l=(0,r.useSearchParams)(),i=(n=l.get("sort")??void 0,E[e].find(e=>e===n)??L),o=A[e];return(0,t.jsxs)("div",{className:a,children:[(0,t.jsx)("h4",{className:"font-transport-new text-navy mb-2 text-[13px] font-extrabold tracking-[-0.02em] uppercase",children:"Sort by"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("select",{"aria-label":"Sort directory",value:i,onChange:e=>{var t;let a,r;return t=e.target.value,a=new URLSearchParams(l.toString()),t===L?a.delete("sort"):a.set("sort",t),a.delete("page"),r=a.toString(),void s.replace(r?`/directory?${r}`:"/directory",{scroll:!1})},className:"bg-neutral-0 font-transport-new focus:border-navy min-h-11 w-full appearance-none rounded-sm border border-neutral-200 py-2 pr-9 pl-3 text-[14px] font-medium text-neutral-900 focus:outline-none",children:o.map(e=>(0,t.jsx)("option",{value:e.value,children:e.label},e.value))}),(0,t.jsx)(R.ChevronDown,{className:"pointer-events-none absolute top-1/2 right-3 h-4 w-4 -translate-y-1/2 text-neutral-500"})]})]})}var F=e.i(131512);function z(){let e=(0,r.useRouter)(),n=(0,r.useSearchParams)(),s=new Set((0,p.parseCompaniesIncludeParam)(n.get("include")??void 0)),l=(0,a.useCallback)(t=>{let a=new Set((0,p.parseCompaniesIncludeParam)(n.get("include")??void 0));a.has(t)?a.delete(t):a.add(t),0===a.size&&a.add(t);let r=p.COMPANIES_INCLUDE_OPTIONS.map(e=>e.value).filter(e=>a.has(e)),s=new URLSearchParams(n.toString()),l=(0,p.serializeCompaniesIncludeParam)(r);null===l?s.delete("include"):s.set("include",l),s.delete("page");let i=s.toString();i!==n.toString()&&e.replace(i?`/directory?${i}`:"/directory",{scroll:!1})},[e,n]);return(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-transport-new text-navy mb-2 text-[13px] font-extrabold tracking-[-0.02em] uppercase",children:"Type"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:p.COMPANIES_INCLUDE_OPTIONS.map(({value:e,label:a})=>{let r=s.has(e);return(0,t.jsx)(T,{label:a,active:r,onClick:()=>l(e),selectionMode:"multi",ariaLabel:`${r?"Hide":"Show"} ${a}`},e)})})]})}function B(){let e=(0,r.useRouter)(),n=(0,r.useSearchParams)(),s=(0,p.parseSectorsParam)(n.get("sectors")??void 0),l=(0,a.useCallback)(t=>{let a=new URLSearchParams(n.toString()),r=(0,p.serializeSectorsParam)(t);null===r?a.delete("sectors"):a.set("sectors",r),a.delete("page");let s=a.toString();e.replace(s?`/directory?${s}`:"/directory",{scroll:!1})},[e,n]);return(0,t.jsx)(O.MultiSelectPopover,{label:"Sectors",options:p.SECTOR_OPTIONS,selected:s,onChange:l,placeholder:"All sectors"})}let $=p.EVENT_PLATFORM_SOURCES.map(e=>({value:e,label:p.eventSourceLabel[e]}));function K({label:e,options:a,paramKey:r,currentValue:n,onSelect:s}){return(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-transport-new text-navy mb-2 text-[13px] font-extrabold tracking-[-0.02em] uppercase",children:e}),(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:a.map(e=>(0,t.jsx)(T,{label:e,active:n===e,onClick:()=>s(r,e)},e))})]})}function V({label:e,paramKey:a,currentValue:r,onSelect:n}){return(0,t.jsxs)("button",{type:"button",onClick:()=>n(a,r?"":"true"),className:(0,c.cn)("font-transport-new flex w-full items-center justify-between rounded-sm px-2.5 py-2 text-[13px] font-medium transition-colors duration-150",r?"bg-navy text-white":"bg-neutral-0 hover:border-navy/15 border border-neutral-200 text-neutral-900"),children:[e,(0,t.jsx)("span",{className:"text-[11px]",children:r?"ON":"OFF"})]})}function M({label:e,paramKey:a,optedOut:r,onSelect:n}){let s=!r;return(0,t.jsxs)("button",{type:"button",onClick:()=>
1n(a,r?"":"true"),className:(0,c.cn)("font-transport-new flex w-full items-center justify-between rounded-sm px-2.5 py-2 text-[13px] font-medium transition-colors duration-150",s?"bg-navy text-white":"bg-neutral-0 hover:border-navy/15 border border-neutral-200 text-neutral-900"),children:[e,(0,t.jsx)("span",{className:"text-[11px]",children:s?"ON":"OFF"})]})}function H({tab:e,className:n}){let i=(0,r.useRouter)(),o=(0,r.useSearchParams)(),m=(e,t="All")=>o.get(e)??t,u=(0,a.useCallback)((e,t)=>{let a=new URLSearchParams(o.toString());"All"===t||""===t?a.delete(e):a.set(e,t),a.delete("page");let r=o.get("tab");r&&a.set("tab",r);let n=a.toString();i.replace(n?`/directory?${n}`:"/directory",{scroll:!1})},[i,o]),x=(0,p.parseKindParam)(o.get("kind")??void 0),g=(0,a.useCallback)(e=>{let t=new URLSearchParams(o.toString()),a=e.filter(e=>p.DIRECTORY_KIND_OPTIONS.some(t=>t.value===e)),r=(0,p.serializeKindParam)(a);null===r?t.delete("kind"):t.set("kind",r),t.delete("page");let n=t.toString();i.replace(n?`/directory?${n}`:"/directory",{scroll:!1})},[i,o]),h=(0,p.parseInvestorIncludeParam)(o.get("investorInclude")??void 0),f=(0,a.useCallback)(e=>{let t=new URLSearchParams(o.toString()),a=e.filter(e=>p.INVESTOR_INCLUDE_OPTIONS.some(t=>t.value===e)),r=(0,p.serializeInvestorIncludeParam)(a);null===r?t.delete("investorInclude"):t.set("investorInclude",r),t.delete("page");let n=t.toString();i.replace(n?`/directory?${n}`:"/directory",{scroll:!1})},[i,o]),v=(0,p.parseCommunityIncludeParam)(o.get("communityInclude")??void 0),b=(0,a.useCallback)(e=>{let t=new URLSearchParams(o.toString()),a=e.filter(e=>p.COMMUNITY_INCLUDE_OPTIONS.some(t=>t.value===e)),r=(0,p.serializeCommunityIncludeParam)(a);null===r?t.delete("communityInclude"):t.set("communityInclude",r),t.delete("page");let n=t.toString();i.replace(n?`/directory?${n}`:"/directory",{scroll:!1})},[i,o]),y=(0,p.parseSectorsParam)(o.get("sectors")??void 0),j=(0,a.useCallback)(e=>{let t=new URLSearchParams(o.toString()),a=(0,p.serializeSectorsParam)(e);null===a?t.delete("sectors"):t.set("sectors",a),t.delete("page");let r=t.toString();i.replace(r?`/directory?${r}`:"/directory",{scroll:!1})},[i,o]),N=(0,p.parseSectorsParam)(o.get("sectors")??void 0),w=(0,a.useCallback)(e=>{let t=new URLSearchParams(o.toString()),a=(0,p.serializeSectorsParam)(e);null===a?t.delete("sectors"):t.set("sectors",a),t.delete("page");let r=t.toString();i.replace(r?`/directory?${r}`:"/directory",{scroll:!1})},[i,o]),S=(0,t.jsx)(D.AreaFilter,{label:"Neighbourhood",selected:(0,F.parseAreaParam)(m("neighbourhood")),onChange:e=>u("neighbourhood",(0,F.serialiseAreaParam)(e)??"")});return(0,t.jsxs)("div",{className:(0,c.cn)("flex flex-col gap-5",n),children:[(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsx)(_,{tab:e})}),"coworking"!==e&&S,(0,t.jsx)(s.AnimatePresence,{mode:"wait",children:(0,t.jsxs)(l.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:d.duration.crossfade},className:"flex flex-col gap-5",children:["all"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(O.MultiSelectPopover,{label:"Kind",options:p.DIRECTORY_KIND_OPTIONS,selected:x,onChange:g,placeholder:"All kinds"}),(0,t.jsx)(B,{}),(0,t.jsx)(V,{label:"Currently hiring",paramKey:"hiring",currentValue:"true"===m("hiring",""),onSelect:u}),(0,t.jsx)(V,{label:"British business",paramKey:"british",currentValue:"true"===m("british",""),onSelect:u}),(0,t.jsx)(V,{label:"BiL member",paramKey:"backer",currentValue:"true"===m("backer",""),onSelect:u})]}),"companies"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(z,{}),(0,t.jsx)(K,{label:"Primary sector",options:["All",...p.SECTOR_OPTIONS.map(e=>e.label)],paramKey:"primarySector",currentValue:m("primarySector"),onSelect:u}),(0,t.jsx)(B,{}),(0,t.jsx)(K,{label:"Team size",options:p.TEAM_SIZES,paramKey:"teamSize",currentValue:m("teamSize"),onSelect:u}),(0,t.jsx)(V,{label:"British business",paramKey:"british",currentValue:"true"===m("british",""),onSelect:u}),(0,t.jsx)(V,{label:"Currently hiring",paramKey:"hiring",currentValue:"true"===m("hiring",""),onSelect:u}),(0,t.jsx)(V,{label:"Recent raises",paramKey:"recentRaise",currentValue:"true"===m("recentRaise",""),onSelect:u}),(0,t.jsx)(V,{label:"BiL member",paramKey:"backer",currentValue:"true"===m("backer",""),onSelect:u})]}),"investors"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(O.MultiSelectPopover,{label:"Type",options:p.INVESTOR_INCLUDE_OPTIONS,selected:h,onChange:f,placeholder:"All types"}),(0,t.jsx)(K,{label:"Stage",options:p.INVESTMENT_STAGES,paramKey:"stage",currentValue:m("stage"),onSelect:u}),(0,t.jsx)(V,{label:"BiL member",paramKey:"backer",currentValue:"true"===m("backer",""),onSelect:u})]}),("communities"===e||"public-sector"===e)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(O.MultiSelectPopover,{label:"Type",options:p.INCLUDE_OPTIONS_BY_TAB[e],selected:v,onChange:b,placeholder:"All types"}),(0,t.jsx)(O.MultiSelectPopover,{label:"Sectors",options:p.SECTOR_OPTIONS,selected:N,onChange:w,placeholder:"All sectors"}),"communities"===e&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-transport-new text-navy mb-2 text-[13px] font-extrabold tracking-[-0.02em] uppercase",children:"Primary event platform"}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[(0,t.jsx)(T,{label:"All",active:!m("platform"),onClick:()=>u("platform","")}),$.map(e=>(0,t.jsx)(T,{label:e.label,active:m("platform")===e.value,onClick:()=>u("platform",e.value)},e.value))]})]})]}),"coworking"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(K,{label:"Type",options:["All",...p.WORKSPACE_TYPE_FILTER_BUCKETS],paramKey:"spaceBucket",currentValue:m("spaceBucket"),onSelect:u}),(0,t.jsx)(O.MultiSelectPopover,{label:"Sector focus",options:p.SECTOR_OPTIONS,selected:y,onChange:j,placeholder:"All sectors"}),S,(0,t.jsx)(V,{label:"Hide co-working chains",paramKey:"hideChains",currentValue:"true"===m("hideChains",""),onSelect:u})]})]},e)}),(0,t.jsx)("div",{className:"border-t border-neutral-100 pt-4",children:(0,t.jsx)(M,{label:"Hide inactive organisations",paramKey:"includeInactive",optedOut:"true"===m("includeInactive",""),onSelect:u})})]})}var Y=e.i(649582),X=e.i(561993);function G({tab:e}){let[r,n]=(0,a.useState)(!1);return(0,t.jsxs)(X.Drawer,{open:r,onOpenChange:n,children:[(0,t.jsx)(X.DrawerTrigger,{asChild:!0,children:(0,t.jsxs)("button",{type:"button",className:"bg-neutral-0 font-transport-new hover:border-navy/15 inline-flex items-center gap-2 rounded-sm border border-neutral-200 px-3 py-2 text-[13px] font-medium text-neutral-900 transition-colors lg:hidden",children:[(0,t.jsx)(Y.SlidersHorizontal,{className:"h-3.5 w-3.5"}),"Filters"]})}),(0,t.jsxs)(X.DrawerContent,{children:[(0,t.jsx)(X.DrawerHeader,{children:(0,t.jsx)(X.DrawerTitle,{className:"font-transport-new text-navy text-[16px] font-extrabold tracking-[-0.02em]",children:"Filters"})}),(0,t.jsx)("div",{className:"max-h-[70vh] overflow-y-auto px-4 pb-[max(1.5rem,env(safe-area-inset-bottom))]",children:(0,t.jsx)(O.FilterLayoutContext.Provider,{value:"inl
1ine",children:(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[A[e].length>1&&(0,t.jsx)(_,{tab:e}),(0,t.jsx)(H,{tab:e})]})})})]})]})}var J=e.i(37727);let W={sector:"Sector",neighbourhood:"Area",teamSize:"Team size",hiring:"Hiring",recentRaise:"Recent raise",backer:"BiL member",stage:"Stage",spaceType:"Type",spaceBucket:"Type",platform:"Platform",q:"Search",hideChains:"Co-working chains hidden",includeInactive:"Inactive shown"},q=new Set(["tab","org","sort","page","include","kind","sectors"]);function Z({className:e}){let a=(0,r.useRouter)(),n=(0,r.useSearchParams)(),s=[];n.forEach((e,t)=>{q.has(t)||e&&"All"!==e&&s.push({key:t,label:W[t]??t,value:"true"===e?"":"neighbourhood"===t?(0,F.parseAreaParam)(e).map(F.areaLabelFor).join(", "):"platform"===t?(0,p.eventSourceLabelFor)(e):"spaceBucket"===t?(0,p.workspaceBucketLabelFor)(e):e})});let l=(0,p.parseCompaniesIncludeParam)(n.get("include")??void 0),i=(0,p.isCompaniesIncludeDefault)(l)?null:p.COMPANIES_INCLUDE_OPTIONS.filter(e=>l.includes(e.value)).map(e=>e.label).join(", "),o=(0,p.parseKindParam)(n.get("kind")??void 0),d=0===o.length?null:p.DIRECTORY_KIND_OPTIONS.filter(e=>o.includes(e.value)).map(e=>e.label).join(", "),m=(0,p.parseSectorsParam)(n.get("sectors")??void 0),u=0===m.length?null:m.map(e=>(0,p.sectorLabelFor)(e)).join(", ");if(0===s.length&&!i&&!d&&!u)return null;let x=e=>{let t=new URLSearchParams(n.toString());t.delete(e),t.delete("page");let r=t.toString();a.replace(r?`/directory?${r}`:"/directory",{scroll:!1})};return(0,t.jsxs)("div",{className:(0,c.cn)("flex flex-wrap items-center gap-2",e),children:[i&&(0,t.jsxs)("button",{type:"button",onClick:()=>x("include"),"aria-label":"Reset Type filter",className:"touch-target-y font-transport-new group border-navy/20 bg-navy/5 text-navy hover:bg-navy/10 inline-flex items-center gap-1.5 rounded-sm border px-2 py-1 text-[11px] font-medium transition-colors",children:["Type: ",i,(0,t.jsx)(J.X,{className:"text-navy/40 group-hover:text-navy h-3 w-3 transition-colors"})]},"include"),d&&(0,t.jsxs)("button",{type:"button",onClick:()=>x("kind"),"aria-label":"Reset Kind filter",className:"touch-target-y font-transport-new group border-navy/20 bg-navy/5 text-navy hover:bg-navy/10 inline-flex items-center gap-1.5 rounded-sm border px-2 py-1 text-[11px] font-medium transition-colors",children:["Kind: ",d,(0,t.jsx)(J.X,{className:"text-navy/40 group-hover:text-navy h-3 w-3 transition-colors"})]},"kind"),u&&(0,t.jsxs)("button",{type:"button",onClick:()=>x("sectors"),"aria-label":"Reset Sectors filter",className:"touch-target-y font-transport-new group border-navy/20 bg-navy/5 text-navy hover:bg-navy/10 inline-flex items-center gap-1.5 rounded-sm border px-2 py-1 text-[11px] font-medium transition-colors",children:["Sectors: ",u,(0,t.jsx)(J.X,{className:"text-navy/40 group-hover:text-navy h-3 w-3 transition-colors"})]},"sectors"),s.map(({key:e,label:a,value:r})=>(0,t.jsxs)("button",{type:"button",onClick:()=>x(e),className:"touch-target-y font-transport-new group border-navy/20 bg-navy/5 text-navy hover:bg-navy/10 inline-flex items-center gap-1.5 rounded-sm border px-2 py-1 text-[11px] font-medium transition-colors",children:[a,r?`: ${r}`:"",(0,t.jsx)(J.X,{className:"text-navy/40 group-hover:text-navy h-3 w-3 transition-colors"})]},e)),(0,t.jsx)("button",{type:"button",onClick:()=>{let e=new URLSearchParams,t=n.get("tab");t&&e.set("tab",t);let r=e.toString();a.replace(r?`/directory?${r}`:"/directory",{scroll:!1})},className:"touch-target-y font-transport-new hover:text-navy text-[11px] font-medium text-neutral-500 transition-colors",children:"Clear all"})]})}var Q=e.i(587328);function ee({tab:e}){let{message:a,suggestion:r,href:s}={all:{message:"No organisations match your filters.",suggestion:"Browse all organisations",href:"/directory?tab=all"},companies:{message:"No companies match your filters.",suggestion:"Browse all companies",href:"/directory?tab=companies"},"public-sector":{message:"No public sector organisations match your filters.",suggestion:"Browse all public sector organisations",href:"/directory?tab=public-sector"},investors:{message:"No investors match your criteria.",suggestion:"Browse all investors",href:"/directory?tab=investors"},communities:{message:"No communities found.",suggestion:"Explore upcoming events instead",href:"/events"},coworking:{message:"No spaces match your filters.",suggestion:"View all spaces on the map",href:"/map?mode=coworking"}}[e];return(0,t.jsxs)(l.motion.div,{initial:{opacity:0,y:8}
1,animate:{opacity:1,y:0},transition:d.spring.snappy,className:"flex flex-col items-center justify-center py-20 text-center",children:[(0,t.jsx)("p",{className:"font-transport-new text-[15px] font-medium text-neutral-500",children:a}),(0,t.jsxs)(n.default,{href:s,className:"font-transport-new text-navy hover:text-royal-red mt-3 inline-flex items-center gap-0.5 text-[13px] font-medium transition-colors",children:[(0,t.jsx)("span",{className:"translate-y-0.5",children:r}),(0,t.jsx)(i.ArrowRight,{className:"h-3 w-3"})]})]})}function et({page:e,total:a,pageSize:s,startTransition:l,onPageChange:i}){let o=(0,r.useRouter)(),c=(0,r.useSearchParams)(),d=Math.ceil(a/s);if(d<=1)return null;let m=e=>{i(),l(()=>{let t=new URLSearchParams(c.toString());e<=1?t.delete("page"):t.set("page",String(e));let a=t.toString();o.replace(a?`/directory?${a}`:"/directory",{scroll:!1})})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mt-8 flex items-center justify-center gap-2",children:[(0,t.jsx)("button",{type:"button",onClick:()=>m(e-1),disabled:e<=1,className:"touch-target-y font-transport-new hover:border-navy/20 rounded-sm border border-neutral-200 px-3 py-1.5 text-[13px] font-medium text-neutral-500 transition-colors disabled:opacity-30",children:"Previous"}),(0,t.jsxs)("span",{className:"font-transport-new text-[13px] font-medium text-neutral-500",children:[e," of ",d]}),(0,t.jsx)("button",{type:"button",onClick:()=>m(e+1),disabled:e>=d,className:"touch-target-y font-transport-new hover:border-navy/20 rounded-sm border border-neutral-200 px-3 py-1.5 text-[13px] font-medium text-neutral-500 transition-colors disabled:opacity-30",children:"Next"})]}),(0,t.jsx)("nav",{className:"sr-only","aria-label":"Directory pages",children:Array.from({length:d},(e,t)=>t+1).map(e=>{let a,r;return(0,t.jsxs)(n.default,{href:(a=new URLSearchParams(c.toString()),e<=1?a.delete("page"):a.set("page",String(e)),(r=a.toString())?`/directory?${r}`:"/directory"),tabIndex:-1,prefetch:!1,children:["Page ",e]},e)})})]})}function ea(e){return e>=1e9?`\xa3${(e/1e9).toFixed(1)}B`:e>=1e6?`\xa3${Math.round(e/1e6)}M`:e>=1e3?`\xa3${Math.round(e/1e3)}K`:`\xa3${e}`}let er={fundraising:"/directory/fundraising"};e.s(["DirectoryClient",0,function({data:e}){let x,g,h,f;(0,Q.useRegisterView)("Directory"),x=(0,r.useRouter)(),g=(0,r.useSearchParams)(),h=(0,a.useRef)(!1),f=g.get("open"),(0,a.useEffect)(()=>{if(h.current||!f)return;let e=er[f];e&&(h.current=!0,window.history.replaceState(null,"",window.location.pathname),x.push(e))},[f,er,x]);let v=(0,r.useRouter)(),[b,y]=(0,a.useTransition)(),{tab:w,result:S,tabCounts:k,stats:T}=e,O=(0,a.useRef)(w);(0,a.useEffect)(()=>{O.current=w},[w]);let D=(0,a.useRef)(!1),R=(0,a.useCallback)(()=>{D.current=!0},[]);(0,a.useEffect)(()=>{!b&&D.current&&(D.current=!1,window.scrollTo({top:0,behavior:"smooth"}))},[b]);let L=(0,a.useRef)(null),[I,E]=(0,a.useState)(null);(0,a.useEffect)(()=>{let e=L.current;if(!e)return;let t=e.querySelector(`[data-tab="${w}"]`);t&&(E({left:t.offsetLeft,width:t.offsetWidth}),t.scrollIntoView({inline:"nearest",block:"nearest"}))},[w,k]);let U=(0,a.useCallback)(e=>{(0,m.trackEvent)("Tab Switch",{from:O.current,to:e}),y(()=>{let t=new URLSearchParams,a=(0,p.directoryTabParam)(e);null!==a&&t.set("tab",a);let r=t.toString();v.replace(r?`/directory?${r}`:"/directory",{scroll:!1})})},[v,y]),A=(0,a.useCallback)((e,t=!1)=>
1t?`/persons/${e}`:`/orgs/${e}`,[]),_=S.items.slice(0,5).map(e=>e.slug).join(",");return(0,a.useEffect)(()=>{if(_)for(let e of _.split(","))v.prefetch(`/orgs/${e}`)},[_,v]),(0,t.jsxs)("div",{className:"mx-auto max-w-341.5 overflow-x-hidden px-4 pb-8",children:[(0,t.jsxs)(l.motion.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:d.spring.snappy,className:"pt-8 pb-6",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"font-transport-new text-navy text-[clamp(1.75rem,3vw,2.5rem)] font-black tracking-[-0.02em]",children:"Directory"}),(0,t.jsx)("p",{className:"font-transport-new mt-1 text-[15px] font-light tracking-[0.01em] text-neutral-500",children:"Explore London's tech ecosystem"})]}),(0,t.jsxs)(n.default,{href:"/directory/fundraising",scroll:!1,className:"group inline-flex shrink-0 items-center gap-3 self-start rounded-xl border border-neutral-200 bg-white px-4 py-2.5 shadow-sm transition-all hover:border-emerald-200 hover:shadow-md",children:[(0,t.jsx)("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-emerald-50 text-emerald-700 ring-1 ring-emerald-100",children:(0,t.jsx)(o.TrendingUp,{className:"h-4 w-4"})}),(0,t.jsxs)("span",{className:"text-left",children:[(0,t.jsx)("span",{className:"font-transport-new text-navy block text-[13px] font-extrabold tracking-[-0.01em]",children:"Recent funding rounds"}),(0,t.jsx)("span",{className:"font-transport-new block text-[11px] font-light text-neutral-500",children:"Who's raising in London"})]}),(0,t.jsx)(i.ArrowRight,{className:"ml-1 h-4 w-4 shrink-0 text-emerald-700 transition-transform group-hover:translate-x-0.5"})]})]}),(0,t.jsxs)("div",{className:"mt-4 hidden flex-wrap gap-6 sm:flex",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(u.AnimatedCounter,{value:T.totalOrgs,className:"font-transport-new text-navy text-[24px] font-black tracking-[-0.02em]",fontTopOffset:.27}),(0,t.jsx)("span",{className:"font-transport-new ml-2 text-[13px] font-medium text-neutral-500",children:"organisations"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(u.AnimatedCounter,{value:T.totalHiring,className:"font-transport-new text-navy text-[24px] font-black tracking-[-0.02em]",fontTopOffset:.27}),(0,t.jsx)("span",{className:"font-transport-new ml-2 text-[13px] font-medium text-neutral-500",children:"hiring"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(u.AnimatedCounter,{value:T.totalOpenRoles,className:"font-transport-new text-navy text-[24px] font-black tracking-[-0.02em]",fontTopOffset:.27}),(0,t.jsx)("span",{className:"font-transport-new ml-2 text-[13px] font-medium text-neutral-500",children:"open roles"})]}),T.totalRaised>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"font-transport-new text-navy text-[24px] font-black tracking-[-0.02em]",children:ea(T.totalRaised)}),(0,t.jsx)("span",{className:"font-transport-new ml-2 text-[13px] font-medium text-neutral-500",children:"total raised"})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:hidden",children:[T.totalRaised>0&&(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsxs)("span",{className:"font-transport-new text-emerald inline-flex items-center gap-1 text-[12px] font-semibold tracking-[0.01em]",children:[(0,t.jsx)(o.TrendingUp,{className:"h-3.5 w-3.5"}),"Total raised in London"]}),(0,t.jsx)("div",{className:"font-transport-new text-navy mt-1.5 text-[40px] leading-none font-black tracking-[-0.03em]",children:ea(T.totalRaised)})]}),(0,t.jsxs)("div",{className:"flex items-stretch gap-3",children:[(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-1.5",children:[(0,t.jsx)(u.AnimatedCounter,{value:T.totalOrgs,className:"font-transport-new text-navy text-[22px] leading-none font-black tracking-[-0.02em]",fontTopOffset:.27}),(0,t.jsx)("span",{className:"font-transport-new text-[12px] leading-none font-medium tracking-[0.01em] text-neutral-500",children:"organisations"})]}),(0,t.jsx)("div",{className:"w-px self-stretch bg-neutral-200"}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-1.5",children:[(0,t.jsx)(u.AnimatedCounter,{value:T.totalHiring,className:"font-transport-new text-navy text-[22px] leading-none font-black tracking-[-0.02em]",fontTopOffset:.27}),(0,t.jsx)("span",{className:"font-transport-new text-[12px] leading-none font-medium tracking-[0.01em] text-neutral-500",children:"hiring"})]}),(0,t.jsx)("div",{className:"w-px self-stretch bg-neutral-200"}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-1.5",children:[(0,t.jsx)(u.AnimatedCounter,{value:T.totalOpenRoles,className:"font-transport-new text-navy text-[22px] leading-none font-black tracking-[-0.02em]",fontTopOffset:.27}),(0,t.jsx)("span",{className:"font-transport-new text-[12px] leading-none font-medium tracking-[0.01em] text-neutral-500",children:"open roles"})]})]})]})]}),(0,t.jsx)("div",{className:"flex items-center justify-between border-b border-neutral-200",children:(0,t.jsxs)("div",{ref:L,className:"scrollbar-hide relative flex min-w-0 flex-1 gap-1 overflow-x-auto mask-[linear-gradient(to_right,transparent,black_16px,black_calc(100%-16px),transparent)] md:mask-none",children:[p.DIRECTORY_TABS.map(e=>(0,t.jsxs)("button",{"data-tab":e.key,type:"button",onClick:()=>
1U(e.key),className:(0,c.cn)("font-transport-new cursor-pointer px-4 py-3 text-[14px] font-medium transition-colors",w===e.key?"text-navy":"text-neutral-400 hover:text-neutral-600"),children:[e.label,(0,t.jsx)("span",{className:(0,c.cn)("font-transport-new ml-1.5 text-[11px] font-medium",w===e.key?"text-navy/60":"text-neutral-300"),children:e.key===w?S.total:k[e.key]})]},e.key)),I&&(0,t.jsx)(l.motion.div,{className:"bg-navy absolute bottom-0 h-0.5",initial:!1,animate:{left:I.left,width:I.width},transition:d.spring.snappy})]})}),(0,t.jsx)("div",{className:"mt-4 flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,t.jsx)("div",{className:"lg:hidden",children:(0,t.jsx)(G,{tab:w})}),(0,t.jsxs)("span",{className:"font-transport-new ml-auto text-[13px] font-medium tracking-[0.01em] text-neutral-500 lg:hidden",children:[S.total," result",1!==S.total?"s":""]}),(0,t.jsx)(Z,{className:"w-full lg:w-auto"})]})}),(0,t.jsxs)("div",{className:(0,c.cn)("-mx-2 mt-6 flex gap-8 sm:mx-0",b&&"opacity-60 transition-opacity"),children:[(0,t.jsx)("div",{className:"hidden w-56 shrink-0 lg:block",children:(0,t.jsx)(H,{tab:w})}),(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsx)(s.AnimatePresence,{mode:"wait",children:(0,t.jsx)(l.motion.div,{initial:d.fade.in,animate:{...d.fade.visible,transition:{...d.spring.snappy,staggerChildren:d.stagger.fast.staggerChildren}},exit:{...d.fade.out,transition:{duration:d.duration.exit}},children:0===S.items.length?(0,t.jsx)(ee,{tab:w}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3",children:[("all"===w||"companies"===w)&&S.items.map(e=>(0,t.jsx)(j,{org:e,href:A(e.slug)},e.slug)),"investors"===w&&S.items.map(e=>(0,t.jsx)(N,{org:e,href:A(e.slug,e.isPerson)},e.slug)),("communities"===w||"public-sector"===w)&&S.items.map(e=>(0,t.jsx)(P,{org:e,href:A(e.slug)},e.slug)),"coworking"===w&&S.items.map(e=>(0,t.jsx)(C,{org:e,href:A(e.slug)},e.slug))]}),(0,t.jsx)(et,{page:S.page,total:S.total,pageSize:S.pageSize,startTransition:y,onPageChange:R})]})},w)})})]})]})},"Pagination",0,et],818614)}]);
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.