PageSourceSearch

https://lbbonline.com/_next/static/chunks/pages/work/collections/search-b8acc0d193c43118.js

js lbbonline.com collected 2026-09-24 09:17:46 UTC 34,350 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9547],{21668:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return Y}});var n,i=r(59499),o=r(67294),l=r(27812),s=r(11163),c=r(50029),a=r(87794),u=r.n(a),d=r(14101),f=d.T_.COLLECTION,v=function(e){var t=[];return e.type&&t.push('type = "'.concat(e.type,'"')),void 0!==e.isPersonal&&null!==e.isPersonal&&t.push("isPersonal = ".concat(e.isPersonal)),t.length>0?t.join(" AND "):void 0},p=(n=(0,c.Z)(u().mark(function e(t){var r,n,i,o,l,s,c,a,p;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=v({type:t.type,isPersonal:t.isPersonal}),n={"updated_at:asc":["updatedAt:asc"],"updated_at:desc":["updatedAt:desc"],"name:asc":["name:asc"],"name:desc":["name:desc"]},i=t.search&&t.search.trim().length>0,o={q:t.search||"",offset:t.skip||0,limit:t.limit||12},i?o.matchingStrategy="all":o.sort=n[t.order_by]||["updatedAt:desc"],r&&(o.filter=r),s=(l=(0,d.PH)()).url,c=l.apiKey,e.next=10,fetch("".concat(s,"/indexes/").concat(f,"/search"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(c)},body:JSON.stringify(o)});case 10:if((a=e.sent).ok){e.next=16;break}return e.next=14,a.text();case 14:throw p=e.sent,Error("Meilisearch request failed: ".concat(a.status," - ").concat(p));case 16:return e.next=18,a.json();case 18:return e.abrupt("return",e.sent);case 19:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),h=r(59492),m=function(e){var t,r=(0,o.useState)(null),n=r[0],i=r[1],l=(0,o.useState)(!0),s=l[0],a=l[1],d=(0,o.useState)(null),f=d[0],v=d[1],m=(t=(0,c.Z)(u().mark(function e(t){var r;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a(!0),e.prev=1,e.next=4,p(t);case 4:r=e.sent,i((0,h.Z)(r)),v(null),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(1),v(e.t0),i(null);case 14:return e.prev=14,a(!1),e.finish(14);case 17:case"end":return e.stop()}},e,null,[[1,10,14,17]])})),function(e){return t.apply(this,arguments)});return(0,o.useEffect)(function(){m(e)},[e.skip,e.limit,e.search,e.type||"",e.isPersonal,e.order_by||""]),{data:n,loading:s,error:f,refetch:function(){return m(e)}}},y=function(e){var t=m({search:e.search,skip:e.skip||0,limit:e.limit||12,type:e.type,isPersonal:e.isPersonal,order_by:e.order_by}),r=t.data,n=t.loading,i=t.error,o=t.refetch;return{collections:(null==r?void 0:r.collections)||[],total:(null==r?void 0:r.total)||0,loading:n,error:i,refetch:o}},b=r(44731),g=function(e,t){var r=(0,s.useRouter)(),n=(0,o.useRef)(!0),i=(0,o.useRef)(null),l=(0,o.useRef)(0);(0,o.useEffect)(function(){if(n.current&&r.isReady){var e=r.query,o=(0,b._)(e.categories),s=void 0;1===o.length&&(s=2===o[0]);var c={search:e.search||"",categories:o,isPersonal:s,order_by:e.order_by||"updated_at:desc"};t(c),i.current=JSON.stringify(c),n.current=!1,l.current=Date.now()+350}},[r.isReady,t]),(0,o.useEffect)(function(){if(!n.current&&!(Date.now()<l.current)){var t,o=JSON.stringify(e);if(o!==i.current){i.current=o;var s={};e.search&&(s.search=e.search),(null===(t=e.categories)||void 0===t?void 0:t.length)>0&&(s.categories=e.categories),e.order_by&&"updated_at:desc"!==e.order_by&&(s.order_by=e.order_by),r.replace({pathname:r.pathname,query:s},void 0,{shallow:!0})}}},[e,r])},x=r(30841),w=r(85893);function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var O=(0,o.createContext)({}),k=function(e){var t=e.children,r=(0,s.useRouter)().pathname.includes("reels"),n=(0,o.useState)({search:"",categories:[],isPersonal:void 0,order_by:"updated_at:desc"}),c=n[0],a=n[1],u=(0,o.useState)(0),d=u[0],f=u[1],v=(0,o.useState)([]),p=v[0],h=v[1],m=(0,x.N)(c.search,300);g((0,o.useMemo)(function(){return _(_({},c),{},{search:m})},[c,m]),a);var b=y((0,o.useMemo)(function(){return{search:m,type:r?"reels":"board",isPersonal:c.isPersonal,order_by:c.order_by,skip:d,limit:12}},[m,c.isPersonal,c.order_by,r,d,12])),j=b.collections,k=b.total,N=b.loading,S=b.error;(0,o.useEffect)(function(){0===d?h(j):j.length>0&&h(function(e){var t=new Set(e.map(function(e){return e.id})),r=j.filter(function(e){return!t.has(e.id)});return[].concat((0,l.Z)(e),(0,l.Z)(r))})},[j,d]);var P=(0,o.useCallback)(function(e,t){if("categories"===e){var r=void 0;1===t.length&&(r=2===t[0]),a(function(e){return _(_({},e),{},{categories:t,isPersonal:r})})}else a(function(r){return _(_({},r),{},(0,i.Z)({},e,t))});f(0)},[]),Z=(0,o.useCallback)(function(e){a(function(t){return _(_({},t),{},{search:e})}),f(0)},[]),C=(0,o.useCallback)(function(){a({search:"",categories:[],isPersonal:void 0,order_by:"updated_at:desc"}),f(0)},[]),A=(0,o.useCallback)(function(){f(function(e){return e+12})},[12]),E=(0,o.useCallback)(function(e){a(function(t){return _(_({},t),{},{order_by:e.value})}),f(0)},[]),D=[{value:"updated_at:desc",label:"Latest"},{value:"name:asc",label:"A-Z"},{value:"name:desc",label:"Z-A"}],B=(0,o.useMemo)(function(){return{searchState:c,collection_list:p,collection_count:k,loading:N,error:S,updateFilter:P,updateSearch:Z,clearAllFilters:C,loadMore:A,sortChange:E,skip:d,limit:12,sortOptions:D,sortValue:c.order_by,onShowMoreCollection:A,query:c,pushQuery:function(e){Object.keys(e).forEach(function(t){P(t,e[t])})},onSearch:function(e){return Z(e.q||e)},resetFilters:C,search:c.search,exitSearch:function(){window.location.href=r?"/wor
1k/reels":"/work/collections"},filter_data:[{title:"Category",name:"categories",data:[{id:1,name:"Company"},{id:2,name:"Personal"}],icon:"icon-credit_card"}]}},[JSON.stringify(c),JSON.stringify(p),k,N,S,P,Z,C,A,E,d,12,r]);return(0,w.jsx)(O.Provider,{value:B,children:t})},N=function(){var e=(0,o.useContext)(O);if(!e)throw Error("useCollectionMeilisearchContext must be used within CollectionMeilisearchProvider");return e},S=r(18876),P=r(3528),Z=r(34579),C=r(21857),A=r(67542),E=r(50297),D=r(8782),B=r(15445),R=r(98181),z=r(19480),I=r(4730),T=r(11390),U=r(44122),F=r(29740),L=["bgColor"],M=function(e){var t=e.bgColor;(0,I.Z)(e,L);var r=N(),n=r.searchState,i=r.updateFilter,l=r.clearAllFilters,s=r.filter_data,c=(0,o.useState)(!1),a=c[0],u=c[1],d=(0,o.useState)(!1),f=d[0],v=d[1],p=(0,o.useState)(0),h=p[0],m=p[1];(0,o.useEffect)(function(){var e=0;Object.keys(n).forEach(function(t){Array.isArray(n[t])&&(e+=n[t].length)}),m(e)},[n]),(0,o.useEffect)(function(){var e=function(){u(window.innerWidth<768)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[]);var y=t?"bg-".concat(t):"bg-lbb_green",b=function(e,t){i(e,t)};return(0,w.jsxs)(w.Fragment,{children:[a&&(0,w.jsxs)("div",{className:"z-10 ".concat(f?"opacity-0":"opacity-100"," relative cursor-pointer transition-opacity duration-1000 w-full bg-white flex px-4 items-center justify-center space-x-4 py-4"),onClick:function(){v(!0)},children:[(0,w.jsx)("div",{className:"w-7 icon-filters",style:{fontSize:30}}),(0,w.jsx)("div",{className:"md:block hidden",children:(0,w.jsx)(U.Z,{children:"Filters"})}),h>0&&(0,w.jsx)(T.Z,{count:h})]}),(0,w.jsxs)("div",{className:"".concat(a&&(f?"left-0":"left-full")+" delay-500 fixed transition-[left] duration-500 sm:duration-1000 top-0 z-10 w-full flex flex-col md:p-4 items-center"," "),style:{marginBottom:"15px"},children:[(0,w.jsx)("div",{className:" ".concat(y," w-full flex px-4 items-center py-4"),children:(0,w.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,w.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,w.jsx)("div",{className:"w-7 icon-filters text-white",style:{fontSize:24}}),(0,w.jsx)("div",{className:"pr-1",children:(0,w.jsx)(U.Z,{white:!0,children:"Filters"})}),h>0&&(0,w.jsx)("div",{children:(0,w.jsx)(T.Z,{count:h})})]}),(0,w.jsxs)("div",{className:"flex items-center space-x-2",children:[h>0&&(0,w.jsx)("div",{className:"cursor-pointer w-7 icon-delete text-white",style:{fontSize:24},onClick:l}),a&&(0,w.jsx)("div",{className:"cursor-pointer w-7 icon-close text-white",style:{fontSize:24},onClick:function(){return v(!1)}})]})]})}),(0,w.jsxs)("div",{className:"relative h-full w-full",children:[(0,w.jsx)("div",{className:"top-[60px] overflow-y-auto ".concat(a?"h-screen":" h-auto","  left-0 md:left-0 transition-[left] md:transition-[height] bg-white  duration-500 md:duration-1000 z-10 w-full px-4 overflow-auto"),children:s.map(function(e,r){return(0,w.jsx)(F.Z,{multiSelect:void 0===e.multiSelect||!!e.multiSelect,name:e.name,data:e.data,title:e.title,icon:e.icon,iconColor:t,onFilterChange:b,sub_category:e.sub_category,value:n[e.name],sub_value:e.sub_category&&n[e.sub_category.name],isLast:r===s.length-1},e.name)})}),(0,w.jsx)("div",{className:"w-full ".concat(y),style:{height:"5px"}})]})]})]})},H=r(30117),J=["placeholder"];function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var q=function(e){var t=e.placeholder,r=(0,I.Z)(e,J),n=null;try{n=N()}catch(e){}return(0,w.jsx)(H.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({placeholder:void 0===t?"Search Collections":t,searchContext:n,searchPaths:["/work/collections","/work/reels","/work/collections/search","/work/reels/search"],redirectPath:"/work/collections/search"},r))},W=function(){var e=N(),t=e.collection_list,r=e.loadMore,n=e.loading,i=e.collection_count,o=e.s
1ortOptions,l=e.sortValue,s=e.sortChange;return(0,w.jsxs)(A.Z,{currentRoute:"/work",children:[(0,w.jsx)(C.Z,{children:(0,w.jsx)("div",{className:"pt-4",children:(0,w.jsx)(B.Z,{collectionsActive:!0})})}),(0,w.jsx)(C.Z,{children:(0,w.jsxs)("div",{className:"flex flex-col md:flex-row md:justify-between pt-3",children:[(0,w.jsxs)("div",{className:"md:w-2/3 w-full md:pr-3 md:border-r md:border-light_grey",children:[(0,w.jsxs)("div",{className:"flex flex-row w-full",children:[(0,w.jsxs)("div",{className:"flex-1 pr-2 sm:w-full sm:pr-0 ",children:[(0,w.jsx)(q,{white:!0,placeholder:"Search Collections"}),(0,w.jsx)(D.Z,{count_title:"".concat(i," Results in Collection")})]}),(0,w.jsx)("div",{className:" w-[70px] sm:hidden",children:(0,w.jsx)(M,{bgColor:"lbb_green",white:!0})})]}),(0,w.jsxs)("div",{className:"inline-flex flex-row items-center py-5 space-x-2",children:[(0,w.jsx)("div",{className:"text-black w-7 icon-sort_down ",style:{fontSize:28,marginTop:-3}}),(0,w.jsx)(R.Z,{options:o,value:l,onChange:s})]}),(0,w.jsx)("div",{children:(0,w.jsx)("div",{className:"space-y-1",children:(0,w.jsxs)("div",{children:[(0,w.jsx)("div",{className:"flex flex-col space-y-16 py-10",children:t&&t.map(function(e){return(0,w.jsx)(z.Z,{collection:e},e.id)})}),(0,w.jsx)(E.Z,{list:t,count:i,onShowMore:r,loading:n})]})})})]}),(0,w.jsx)("div",{className:" flex flex-col w-full md:w-1/3  hidden md:block",children:(0,w.jsx)(M,{bgColor:"lbb_green",white:!0,notHidable:!0})})]})})]})};function K(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?K(Object(r),!0).forEach(function(t){(0,i.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):K(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Y=(0,Z.h)((0,S.C)(function(e){return(0,w.jsx)(P.Kv,Q(Q({},e),{},{children:(0,w.jsx)(k,Q(Q({},e),{},{children:(0,w.jsx)(W,Q({},e))}))}))}))},88558:function(e,t,r){"use strict";var n=r(4730),i=r(44122),o=r(38822),l=r(67294),s=r(11390),c=r(85893),a=["style","id","className","sub_category","data","checked","sub_value","title"];t.Z=function(e){e.style,e.id,e.className;var t=e.sub_category,r=e.data,u=e.checked,d=e.sub_value,f=e.title,v=(0,n.Z)(e,a),p=(0,l.useState)(!1),h=p[0],m=p[1],y=(0,l.useState)(0),b=y[0],g=y[1],x=(0,l.useRef)(null),w=(0,l.useState)(h?"none":"0px"),j=w[0],_=w[1];return(0,l.useEffect)(function(){h?_("".concat(x.current.scrollHeight,"px")):_("0px")},[h]),(0,l.useEffect)(function(){var e=0;d&&(e+=d.filter(function(e){return r.map(function(e){return e.id}).includes(e)}).length),g(e)},[d]),(0,c.jsxs)("div",{className:"flex flex-col",children:[(0,c.jsxs)("div",{className:"flex py-2",children:[(0,c.jsx)(o.Z,{checked:u,onChange:function(){v.HandleChange()},labelWhite:!0,label:""}),(0,c.jsxs)("div",{className:"flex items-center space-x-2",onClick:function(){t||v.HandleChange(),(null==r?void 0:r.length)>0&&m(!h)},children:[(0,c.jsx)("div",{className:"capitalize cursor-pointer",children:(0,c.jsxs)(i.Z,{children:[" ",f]})}),t&&(0,c.jsx)("div",{className:"cursor-pointer text-lbb_black w-7 icon-s_arrow_".concat(h?"up":"dw","  "),style:{fontSize:24}}),(0,c.jsx)("div",{className:"",children:b>0&&(0,c.jsx)(s.Z,{count:b})})]})]}),t&&(0,c.jsx)("div",{className:"pl-6",style:{overflow:"hidden",transition:"max-height 0.3s ease-in-out",maxHeight:j},ref:x,children:null==r?void 0:r.map(function(e,r){return(0,c.jsx)("div",{className:"py-2 cursor-pointer",onClick:function(){v.handleSubChange(e.id,t.name)},children:(0,c.jsx)(o.Z,{checked:null!=d&&d.includes(e.id),onChange:function(){v.handleSubChange(e.id,t.name)},labelWhite:!1,label:e.title||e.name||e.continent||e.description})})})})]})}},19480:function(e,t,r){"use strict";var n=r(16835),i=r(4730);r(11163);var o=r(44122),l=r(28509);r(22560),r(38166);var s=r(74e3),c=r(30120),a=r(99850),u=r(82176),d=r(19674),f=r(150),v=r(66448),p=r(47900),h=r(78970),m=r(85893),y=["style","className","collection","type"];t.Z=(0,v.D)(function(e){e.style,e.className;var t,r,v,b,g,x,w,j,_,O,k,N,S,P,Z,C,A,E,D,B,R,z,I,T,U,F,L,M,H=e.collection,J=e.type,V=(0,i.Z)(e,y),q=(0,p.m0)({id:H.id,inView:!V.loadothers}),W=(q.loading,q.data);q.error;var K=(0,n.Z)((W||{collections:[]}).collections,1)[0],Q=null!=K&&K.userByUserId?(0,a.AJ)(null==K?void 0:null===(t=K.userByUserId)||void 0===t?void 0:null===(r=t.profilesByUserId)||void 0===r?void 0:null===(v=r[0])||void 0===v?void 0:v.image,null,null,null,!0):(0,a.AJ)(null==K?void 0:null===(b=K.company_office)||void 0===b?void 0:b.logo,null,
1null,null,!0),Y=null!=K&&K.userByUserId?(0,a.AJ)(null==K?void 0:null===(g=K.userByUserId.profilesByUserId)||void 0===g?void 0:null===(x=g[0])||void 0===x?void 0:x.image,null):(0,a.AJ)(null==K?void 0:null===(w=K.company_office)||void 0===w?void 0:w.logo,null,null,!0),G="reel"===J?"/work/reels/".concat(null==H?void 0:H.id):"/work/collections/".concat(null==H?void 0:H.id);return(0,m.jsxs)("div",{className:"grid grid-cols-full lg:grid-cols-overlapping",children:[(0,m.jsx)("div",{className:" w-full bg-white px-5 py-3 flex flex-col justify-between lg:-mt-6 pr-10",children:(0,m.jsxs)("div",{children:[(0,m.jsxs)("div",{className:"py-2 ",children:[(0,m.jsx)(l.Z,{href:G,active:!1,data_cy:"collection_card",colorLine:!1,children:(0,m.jsx)(o.Z,{size:"text-size_24_26",className:"group-hover:text-white anime-full",bold:!0,underline:!0,children:H.name})}),(0,m.jsx)("div",{children:(0,m.jsxs)(o.Z,{grey:!0,size:"text-size_16_19",children:["Updated at ",c.ou.fromISO(H.updated_at).toFormat("dd/MM/yyyy")]})})]}),(0,m.jsxs)("div",{className:"flex items-start ",children:[(0,m.jsx)("div",{className:"pr-4",children:(0,m.jsx)(d.Z,{avatar:!0,width:50,heightFrame:50,original:Q,webp:(0,f.yA)(Y)})}),K&&(0,m.jsx)(s.Z,{mainText:K.company_office?K.company_office.name:(null===(j=K.userByUserId)||void 0===j?void 0:null===(_=j.profilesByUserId)||void 0===_?void 0:null===(O=_[0])||void 0===O?void 0:null===(k=O.people)||void 0===k?void 0:null===(N=k[0])||void 0===N?void 0:N.name)||(null===(S=K.userByUserId)||void 0===S?void 0:S.first_name)+" "+(null===(P=K.userByUserId)||void 0===P?void 0:P.last_name),subtext:K.company_office?null===(Z=K.company_office.company_type)||void 0===Z?void 0:Z.title:null===(C=K.userByUserId.profilesByUserId)||void 0===C?void 0:null===(A=C[0])||void 0===A?void 0:A.job_title,link:K.company_office?"/companies/"+K.company_office.slug:null!==(E=K.userByUserId.profilesByUserId)&&void 0!==E&&null!==(D=E[0])&&void 0!==D&&null!==(B=D.people)&&void 0!==B&&B[0]?"/people/"+(null===(R=K.userByUserId.profilesByUserId)||void 0===R?void 0:null===(z=R[0])||void 0===z?void 0:null===(I=z.people)||void 0===I?void 0:null===(T=I[0])||void 0===T?void 0:T.slug):"/",caption:K.company_office?null===(U=K.company_office.location)||void 0===U?void 0:U.location:null===(F=K.userByUserId.profilesByUserId)||void 0===F?void 0:null===(L=F[0])||void 0===L?void 0:null===(M=L.location)||void 0===M?void 0:M.location})]})]})}),(0,m.jsxs)("div",{className:"w-full lg:w-[105%]  bg-back_dark lg:-ml-6  py-4 lg:-mb-6",children:[(0,m.jsx)(h.Z,{id:H.id,path:G}),K&&(0,m.jsx)(u.Z,{item:K,type:"collection-card"})]})]})})},78970:function(e,t,r){"use strict";var n=r(4730),i=r(11163),o=r.n(i),l=r(44122),s=r(99850),c=r(19674),a=r(150),u=r(66448),d=r(47900),f=r(85893),v=["path","id"];t.Z=(0,u.D)(function(e){var t=e.path,r=e.id,i=(0,n.Z)(e,v),u=(0,d.sQ)({id:r,inView:!i.loadothers}),p=(u.loading,u.data);u.error;var h=(p||{}).collections;return(0,f.jsx)("div",{className:"w-full",style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(200px, 1fr))",gridGap:"10px 10px",padding:"10px"},children:null==h?void 0:h.collection_items.slice(0,4).map(function(e,r){var n,i,u,d,v,p,m,y,b,g,x,w,j,_,O,k,N,S,P,Z,C,A,E,D,B,R,z,I=e.news?(0,s.AJ)(null===(n=e.news)||void 0===n?void 0:n.image,null,300,null,!0):(0,s.AJ)((null===(i=e.work)||void 0===i?void 0:i.image_got)||(null===(u=e.work)||void 0===u?void 0:u.image)||(null===(d=e.award_entry)||void 0===d?void 0:d.image)||(null===(v=e.award_entry)||void 0===v?void 0:null===(p=v.works)||void 0===p?void 0:null===(m=p[0])||void 0===m?void 0:null===(y=m.work)||void 0===y?void 0:y.image),(null===(b=e.work)||void 0===b?void 0:b.thumbnail_url)||(null===(g=e.award_entry)||void 0===g?void 0:null===(x=g.works)||void 0===x?void 0:null===(w=x[0])||void 0===w?void 0:null===(j=w.work)||void 0===j?void 0:j.thumbnail_url),null,300,null,!0),T=e.news?(0,s.AJ)(null===(_=e.news)||void 0===_?void 0:_.image):(0,s.AJ)((null===(O=e.work)||void 0===O?void 0:O.image_got)||(null===(k=e.work)||void 0===k?void 0:k.image)||(null===(N=e.award_entry)||void 0===N?void 0:N.image)||(null===(S=e.award_entry)||void 0===S?void 0:null===(P=S.works)||void 0===P?void 0:null===(Z=P[0])||void 0===Z?void 0:null===(C=Z.work)||void 0===C?void 0:C.image),(null===(A=e.work)||void 0===A?void 0:A.thumbnail_url)||(null===(E=e.award_entry)||void 0===E?void 0:null===(D=E.works)||void 0===D?void 0:null===(B=D[0])||void 0===B?void 0:null===(R=B.work)||void 0===R?void 0:R.thumbnail_url));return 3==r?(0,f.jsx)("div",{style:{textAlign:"center",position:"relative"},children:(0,f.jsxs)("div",{children:[(0,f.jsx)("div",{children:(0,f.jsx)("div",{className:"image-frame",children:(0,f.jsx)(c.Z,{width:300,original:I,webp:(0,a.yA)(T)})})}),(0,f.jsx)("div",{onClick:function(){return o().push(t)},className:"w-full cursor-pointer h-full bg-[rgba(0,0,0,0.7)] flex items-center justify-center",style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)"},children:(0,f.jsxs)(l.Z,{white:!0,size:"text-size_24_24",children:["+",null==h?void 0:null===(z=h.type_link)||void 0===z?void 0:z.items_count]})})]})},r):(0,f.jsx)("div",{className:"image-frame cursor-pointer",onClick:function(){return o().push(t)},children:(0,f.jsx)(c.Z,{width:300,original:T,webp:(0,a.yA)(T)})})})})})},30117:function(e,t,r){"use strict";var n=r(59499),i=r(4730),o=r(67294),l=r(11163),s=r(27857),c=r(85893),a=["placeholder","white","searchContext","searchPaths","redirectPath"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}t.Z=function(e){var t,r=e.placeholder,d=e.white,f=e.searchContext,v=e.searchPaths,p=e.redirectPath,h=void 0===p?"/":p,m=(0,i.Z)(e,a),y=(0,l.useRouter)(),b=(void 0===v?[]:v).some(function(e){return y.pathname===e||y.pathname.startsWith(e+"/")}),g=(0,o.useState)(""),x=g[0],w=g[1],j=b&&f?(null===(t=f.searchState)||void 0===t?void 0:t.search)||"":x;return(0,c.jsx)(s.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?u(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({white:d,value:j,placeholder:void 0===r?"Search":r,onValue:function(e){b&&f?f.updateSearch(e):w(e)},onChange:function(e){var t=e.q;b&&f?f.updateSearch(t):t.trim()&&y.push({pathname:h,query:{search:t}})},debounceDelay:0},m))}},29740:function(e,t,r){"use strict";var n=r(27812),i=r(4730),o=r(44122),l=r(67294),s=r(11390),c=r(88558),a=r(85893),u=["style","className","data","value","name","sub_category","sub_value","title","icon","iconColor","onFilterChange","item","parentSelectType","multiSelect","isLast"];t.Z=function(e){e.style,e.className;var t=e.data,r=e.value,d=e.name,f=e.sub_category,v=e.sub_value,p=e.title,h=e.icon,m=e.iconColor,y=e.onFilterChange,b=(e.item,e.parentSelectType,e.multiSelect),g=e.isLast;(0,i.Z)(e,u);var x=(0,l.useState)(0),w=x[0],j=x[1],_=(0,l.useState)(!1),O=_[0],k=_[1],N=(0,l.useRef)(null),S=(0,l.useState)(O?"none":"0px"),P=S[0],Z=S[1];return(0,l.useEffect)(function(){O?Z("300px"):Z("0px")},[O]),(0,l.useEffect)(function(){var e=0;r&&Array.isArray(r)&&(e+=r.length),v&&Array.isArray(v)&&(e+=v.length),j(e)},[r,v]),(0,l.useEffect)(function(){r&&Array.isArray(r)&&r.length>0&&k(!0)},[]),(0,a.jsxs)("div",{className:g?"":"border-b border-gray-500",children:[(0,a.jsxs)("div",{className:"flex justify-between py-4 cursor-pointer",onClick:function(){(null==t?void 0:t.length)>0&&k(!O)},children:[(0,a.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,a.jsx)("div",{className:"".concat(h," ").concat(m?"text-".concat(m):"text-cyan-400"),style:{fontSize:24}}),(0,a.jsx)(o.Z,{bold:!0,black:!0,underlinesolids:!0,children:p}),b&&w>0&&(0,a.jsx)(s.Z,{count:w})]}),(0,a.jsx)("div",{className:"cursor-pointer text-black w-7 icon-s_arrow_".concat(O?"up":"dw"),style:{fontSize:24}})]}),t&&t.length>0&&(0,a.jsx)("div",{className:"scrollbar-hide",style:{overflow:"auto",transition:"max-height 0.3s ease-in-out",maxHeight:P},ref:N,children:t.map(function(e,t){return(0,a.jsx)("div",{children:(0,a.jsx)(c.Z,{title:e.title||e.name||e.continent||e.description,sub_category:f,checked:null!=r&&(b?r.includes(e.id):r===e.id),data:f&&e[f.data],id:e.id,handleSubChange:function(t,i){var o=b?v?(0,n.Z)(v):[]:v,l=b?r?(0,n.Z)(r):[]:r;b&&o.includes(t)?o=o.filter(function(e){return e!=t}):b?(o.push(t),l.includes(e.id)||l.push(e.id)):(o=t,l||(l=e.id)),b&&0==o.length&&(o=[]),y(i,o),l!==r&&y(d,l)},sub_value:v,HandleChange:function(){var t=b?r?(0,n.Z)(r):[]:r;b&&t.includes(e.id)?(t=t.filter(function(t){return t!=e.id}),f&&y(f.name,[])):b?t.push(e.id):t=e.id,b&&0==t.length&&(t=[]),y(d,t)}})},e.id)})})]})}},8782:function(e,t,r){"use strict";var n=r(4730),i=r(44122),o=r(52379),l=r(85893),s=["exitSearch","count_title"];t.Z=function(e){var t=e.exitSearch,r=e.count_title;return(0,n.Z)(e,s),(0,l.jsxs)("div",{className:"flex  flex-col md:flex-row  justify-between items-center py-4 space-y-4 md:space-y-0",children:[(0,l.jsx)("div",{className:"w-full md:w-auto",children:(0,l.jsx)(i.Z,{size:"text-size_24_24",bold:!0,children:r})}),(0,l.jsx)("div",{className:"w-full md:w-auto ",children:t&&(0,l.jsx)(o.Z,{onClick:t,children:(0,l.jsxs)("div",{className:"space-x-2 flex py-0.5",children:[(0,l.jsx)("div",{className:"icon-no_circle_fill text-white ",style:{fontSize:28}}),(0,l.jsx)("div",{className:"",children:(0,l.jsx)(i.Z,{bold:!0,white:!0,className:"group-hover:text-white transition-all",light:!0,children:"Exit search results"})})]})})})]})}},11390:function(e,t,r){"use strict";var n=r(4730);r(67294);var i=r(85893),o=["count"];t.Z=function(e){var t=e.count;return(0,n.Z)(e,o),(0,i.jsx)("span",{className:"h-5 bg-[#EF4444] font-barlowc text-size_12_14 text-white rounded-full px-2 py-0.5",children:t>99?"99+":t})}},19674:function(e,t,r){"use strict";var n=r(67294);r(77090),r(29505);var i=r(85893);t.Z=function(e){var t=e.original,r=e.webp,o=e.priority,l=e.title,s=e.height,c=e.width,a=e.sponsor,u=e.avatar,d=e.defaultimage,f=e.heightFrame,v=e.widthFrame,p=(0,n.useRef)(!1),h=(0,n.useRef)(!1),m=t;if(r){var y=r.split(".webp")[0],b=t.split("."),g=b.pop(),x=b.join(".").split("/").pop();m=y.split(x)[0]+x+"."+g}return(0,i.jsxs)("picture",{className:u?"rounded-full overflow-hidden object-contain flex justify-center items-center":a?"object-contain w-full h-full":"",style:{width:v,height:f},children:[r&&(0,i.jsx)("source",{"data-srcset":r,type:"image/webp"}),(0,i.jsx)("source",{"data-srcset":m||d,type:"image/jpeg"}),(0,i.jsx)("img",{src:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==","data-src":m||d,className:"lazyload",height:s,width:c,alt:l,fetchpriority:o?"high":void 0,onError:function(e){!p.current&&r?(p.current=!0,e.currentTarget.closest("picture").querySelector("source[type='image/webp']")&&e.currentTarget.closest("picture").querySelector("source[type='image/webp']").remove(),e.currentTarget.onerror=null,e.currentTarget.src=m):
1h.current||(h.current=!0,e.currentTarget.closest("picture").querySelector("source").remove(),e.currentTarget.onerror=null,e.currentTarget.src=t||d)}})]})}},98181:function(e,t,r){"use strict";var n=r(59499),i=r(4730);r(67294);var o=r(61029),l=r(85893),s=["style","options","onChange","value"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}t.Z=function(e){e.style;var t=e.options,r=e.onChange,n=e.value;return(0,i.Z)(e,s),(0,l.jsx)(o.ZP,{isSearchable:!1,styles:{control:function(e){return a(a({},e),{},{backgroundColor:"transparent",border:"none",color:"#333",boxShadow:"none",fontSize:18,lineHeight:"22px"})},option:function(e,t){var r=t.data,n=t.isDisabled,i=t.isFocused,o=t.isSelected;return a(a({},e),{},{fontFamily:"Barlow",fontSize:18,lineHeight:"22px",backgroundColor:n?void 0:o?"#333":i?"#666666":"#333",color:n?"#ccc":o?"white":"#ffffff",cursor:n?"not-allowed":"default",":active":a(a({},e[":active"]),{},{backgroundColor:n?void 0:o?r.color:"#ffffff"})})},menu:function(e){return a(a({},e),{},{backgroundColor:"#333",borderRadius:0,padding:0,minWidth:200})},input:function(e){return a({},e)},placeholder:function(e){return a(a({},e),{},{color:"#333",fontFamily:"Barlow",fontSize:18,lineHeight:"22px"})},singleValue:function(e,t){return t.data,a({},e)}},onChange:r,value:n?t.find(function(e){return e.value==n}):null,options:t})}},15445:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(4730);r(67294);var i=r(75708),o=r(98130),l=r(28509),s=r(85893),c=["children","white","light","link","icon","bold","active","style"],a=function(e){var t=e.children,r=e.white,i=(e.light,e.link),a=e.icon,u=e.bold,d=e.active,f=void 0!==d&&d;return e.style,(0,n.Z)(e,c),(0,s.jsx)("div",{className:"  ".concat(f?"bg-lbb_green":""," px-2 py-4"),children:(0,s.jsx)(l.Z,{href:i,active:f,bgcolor:r?"bg-white":"bg-black",children:(void 0===a?null:a)?t:(0,s.jsx)(o.Z,{className:"".concat(f?"":r?"group-hover:text-black group-hover:border-black ":"group-hover:text-white group-hover:border-white"),style:{borderBottom:f?"":"1px dashed"},light:!(void 0===u||u),white:f,children:t})})})},u=["style"],d=function(e){e.style;var t=(0,n.Z)(e,u);return(0,s.jsxs)("div",{className:"flex flex-row md:flex-wrap space-x-[-2px] items-center overflow-x-auto",children:[(0,s.jsx)(a,{active:t.workActive,link:"/work",children:"WORK"}),(0,s.jsx)(i.Z,{}),(0,s.jsx)(a,{active:t.reelsActive,link:"/work/reels",children:"REELS"}),(0,s.jsx)(i.Z,{}),(0,s.jsx)(a,{active:t.collectionsActive,link:"/work/collections",children:"COLLECTIONS"})]})}},30841:function(e,t,r){"use strict";r.d(t,{N:function(){return i}});var n=r(67294),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,r=(0,n.useState)(e),i=r[0],o=r[1],l=(0,n.useRef)(null);return(0,n.useEffect)(function(){return l.current&&clearTimeout(l.current),l.current=setTimeout(function(){o(e)},t),function(){l.current&&clearTimeout(l.current)}},[e,t]),i}},59492:function(e,t,r){"use strict";r.d(t,{T:function(){return i},Z:function(){return o}});var n=r(59499),i=function(e){var t,r,i=e.owner||{};return(0,n.Z)({_type:"collection",id:e.id,name:e.name,is_public:e.isPublic,updated_at:e.updatedAt,type:e.type,type_link:{items_count:e.itemsCount||0},userByUserId:"user"===i.type?{id:i.id,first_name:(null===(t=i.name)||void 0===t?void 0:t.split(" ")[0])||"",last_name:(null===(r=i.name)||void 0===r?void 0:r.split(" ").slice(1).join(" "))||"",profilesByUserId:[{image:i.image,people:i.slug?{slug:i.slug,name:i.name}:null}]}:null,company_office:"company"===i.type?{id:i.id,name:i.name,logo:i.image,slug:i.slug}:null,views_count:e.views_count||0,monthly_views:e.monthly_views||0,likes_count:e.likes_count||0,first_likers:e.f
1irst_likers||[]},"type_link",{content_type_id:131})},o=function(e){return{collections:(e.hits||[]).map(i),total:e.estimatedTotalHits||e.totalHits||0}}},14101:function(e,t,r){"use strict";r.d(t,{PH:function(){return o},T_:function(){return l},um:function(){return s}});var n=r(11752),i=r.n(n),o=function(){var e=(i()()||{}).publicRuntimeConfig;return{url:null==e?void 0:e.meiliUrl,apiKey:null==e?void 0:e.meiliApiKey}},l={NEWS:"lbb_news",WORK:"lbb_work",COMPANY:"lbb_company",PEOPLE:"lbb_peoplev2",COLLECTION:"lbb_collection",JOB:"lbb_job",AWARD:"lbb_award"},s=["isDeleted = false","(entriesCount > 0 OR isFreelancer = true OR isStudent = true)"]},44731:function(e,t,r){"use strict";r.d(t,{_:function(){return n},k:function(){return i}});var n=function(e){return e?Array.isArray(e)?e.map(Number):[Number(e)]:[]},i=function(e){return e?Array.isArray(e)?e:[e]:[]}},66448:function(e,t,r){"use strict";r.d(t,{D:function(){return a}});var n=r(59499),i=r(67294),o=r(18357),l=r(85893);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var a=function(e,t){return function(t){var r=(0,i.useState)(!1),n=r[0],s=r[1],a=(0,o.YD)(),u=a.ref,d=a.inView;return a.entry,(0,i.useEffect)(function(){d&&s(!0)},[d]),(0,l.jsx)("div",{ref:u,className:"flex-1",children:(0,l.jsx)(e,c(c({},t),{},{loadothers:n}))})}}},74888:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/work/collections/search",function(){return r(21668)}])},18357:function(e,t,r){"use strict";r.d(t,{YD:function(){return a}});var n=r(67294),i=Object.defineProperty,o=new Map,l=new WeakMap,s=0,c=void 0;function a({threshold:e,delay:t,trackVisibility:r,rootMargin:i,root:a,triggerOnce:u,skip:d,initialInView:f,fallbackInView:v,onChange:p}={}){var h;let[m,y]=n.useState(null),b=n.useRef(),[g,x]=n.useState({inView:!!f,entry:void 0});b.current=p,n.useEffect(()=>{let n;if(!d&&m)return n=function(e,t,r={},n=c){if(void 0===window.IntersectionObserver&&void 0!==n){let i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:a,elements:u}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?(r=e.root)?(l.has(r)||(s+=1,l.set(r,s.toString())),l.get(r)):"0":e[t]}`}).toString(),r=o.get(t);if(!r){let n;let i=new Map,l=new IntersectionObserver(t=>{t.forEach(t=>{var r;let o=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(r=i.get(t.target))||r.forEach(e=>{e(o,t)})})},e);n=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:l,elements:i},o.set(t,r)}return r}(r),d=u.get(e)||[];return u.has(e)||u.set(e,d),d.push(t),a.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(u.delete(e),a.unobserve(e)),0===u.size&&(a.disconnect(),o.delete(i))}}(m,(e,t)=>{x({inView:e,entry:t}),b.current&&b.current(e,t),t.isIntersecting&&u&&n&&(n(),n=void 0)},{root:a,rootMargin:i,threshold:e,trackVisibility:r,delay:t},v),()=>{n&&n()}},[Array.isArray(e)?e.toString():e,m,a,i,u,d,r,v,t]);let w=null==(h=g.entry)?void 0:h.target,j=n.useRef();m||!w||u||d||j.current===w||(j.current=w,x({inView:!!f,entry:void 0}));let _=[y,g.inView,g.entry];return _.ref=_[0],_.inView=_[1],_.entry=_[2],_}n.Component}},function(e){e.O(0,[3662,2842,6115,6037,7614,2580,1664,3231,381,5470,3973,7542,9248,2176,9774,2888,179],function(){return e(e.s=74888)}),_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.