1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2076],{581:(e,t,a)=>{"use strict";a.d(t,{default:()=>m});var r=a(22198),s=a(67126),l=a(7939),i=a(30742);function n({autoBlock:e,masterConsentsOrigin:t,websiteUUID:a}){let n=(0,s.useMemo)(()=>{let r=new URL("https://app.termly.io");return r.pathname=`/resource-blocker/${a}`,e&&r.searchParams.set("autoBlock","on"),t&&r.searchParams.set("masterConsentsOrigin",t),r.toString()},[e,t,a]),m=(0,i.usePathname)(),o=(0,i.useSearchParams)(),d=(0,s.useRef)(!0);return(0,s.useEffect)(()=>{if(d.current){d.current=!1;return}window.Termly?.initialize()},[m,o]),(0,r.jsx)(l.default,{src:n,strategy:"afterInteractive",onError:()=>console.warn("Failed to load Termly script")})}function m(e){return(0,r.jsx)(s.Suspense,{fallback:null,children:(0,r.jsx)(n,{...e})})}},6452:(e,t,a)=>{"use strict";a.d(t,{D_:()=>m,t9:()=>n});var r=a(77170),s=a(92721),l=a.n(s);let i=async(e,t={},a=2)=>{for(let r=0;r<=a;r++)try{let s=new AbortController,l=setTimeout(()=>s.abort(),15e3),i=await fetch(e,{...t,signal:s.signal});if(clearTimeout(l),i.ok)return i;if(r===a)throw Error(`HTTP ${i.status}: ${i.statusText}`);await new Promise(e=>setTimeout(e,1e3*Math.pow(2,r)))}catch(e){if(r===a)throw e;await new Promise(e=>setTimeout(e,1e3*Math.pow(2,r)))}throw Error("Max retries exceeded")};async function n(e,t={populate:"*"}){let a=l().stringify(t,{encodeValuesOnly:!0}),s=`${r.S}/${e}?${a}`,m=await i(s);if(!m.ok)throw console.error("Fetch failed:",m.status,m.statusText),Error("Failed to fetch collection");return await m.json()}async function m(e,{slug:t,...a}={slug:"",populate:"*"}){let s={...a,filters:{...a.filters,slug:{$eq:t}}},n=l().stringify(s,{encodeValuesOnly:!0}),o=`${r.S}/${e}?${n}`,d=await i(o,{cache:"no-store"});if(!d.ok)throw Error("Failed to fetch by filter");let c=await d.json();return{data:c.data?.[0]||null}}},22179:()=>{},34470:(e,t,a)=>{"use strict";a.d(t,{p:()=>l,r:()=>i});var r=a(6452),s=a(55098);function l(e,t={populate:"*"},a={}){return(0,s.I)({queryKey:[e,JSON.stringify(t)],queryFn:()=>(0,r.t9)(e,t),staleTime:3e5,gcTime:6e5,refetchOnWindowFocus:!1,refetchOnMount:!1,...a})}function i(e,t,a=!0,l={populate:"*"},n={}){return(0,s.I)({queryKey:[e,t,JSON.stringify(l)],queryFn:()=>(0,r.D_)(e,{slug:t,...l}),enabled:a,staleTime:3e5,gcTime:6e5,refetchOnWindowFocus:!1,refetchOnMount:!1,...n})}},36875:(e,t,a)=>{Promise.resolve().then(a.bind(a,92187)),Promise.resolve().then(a.bind(a,93534)),Promise.resolve().then(a.bind(a,77329)),Promise.resolve().then(a.bind(a,78008)),Promise.resolve().then(a.bind(a,64623)),Promise.resolve().then(a.bind(a,75194)),Promise.resolve().then(a.bind(a,581))},62140:(e,t,a)=>{"use strict";a.d(t,{B:()=>u,OE:()=>f,RT:()=>h,Yq:()=>d,sL:()=>x,zD:()=>c});var r=a(43023),s=a(79849),l=a(86623),i=a(32682),n=a(22695),m=a(98764),o=a(5890);let d=e=>{try{let t=(0,r.H)(e);if(!(0,s.f)(t))return e;return(0,l.GP)(t,"MMMM d, yyyy")}catch{return e}},c=e=>{try{if(!(0,s.f)(e))return"";return(0,l.GP)(e,"MMM d")}catch{return""}},x=e=>{try{let t=(0,r.H)(e);if(!(0,s.f)(t))return e;return(0,l.GP)(t,"MMM d, yyyy")}catch{return e}},u=(e,t)=>{try{if(!e)return!1;let a=(0,r.H)(e);if(!(0,s.f)(a))return!1;if(t){let e=(0,r.H)(t);if((0,s.f)(e)){let t=(0,i.o)(new Date),a=(0,i.o)(e);if((0,n.d)(a,t)||a.getTime()===t.getTime())return!1}}let l=(0,i.o)(new Date),o=(0,i.o)(a);return(0,m.Y)(o,l)}catch{return!1}},f=(e,t,a)=>{let r=[],[s,l]=e.split(":").map(Number),[i,n]=t.split(":").map(Number),m=60*s+l,o=60*i+n;for(let e=m;e<=o;e+=a){let t=Math.floor(e/60),a=e%60;r.push(`${t.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`)}return r},h=(e,t)=>{try{if(!(0,s.f)(e)||!(0,s.f)(t))return[];return(0,o.k)({start:e,end:t})}catch{return[]}}},93534:(e,t,a)=>{"use strict";a.d(t,{default:()=>w});var r=a(22198),s=a(67126),l=a(34470),i=a(15053),n=a(87924),m=a(84767),o=a(89141),d=a(88146),c=a(62140),x=a(32682),u=a(43023),f=a(79849),h=a(69593),p=a(98764),g=a(85273),y=a(12577);let v="dismissed_event_",w=()=>{let[e,t]=(0,s.useState)(!1),[a,w]=(0,s.useState)(null),{data:b}=(0,l.p)("events",{populate:["image"],sort:["startDate:asc"]}),N=(0,s.useCallback)(()=>
1{if(!b?.data)return;let e=(0,x.o)(new Date),a=b.data.find(t=>{if(!t.startDate)return!1;let a=(0,u.H)(t.startDate);if(!(0,f.f)(a))return!1;let r=(0,x.o)((0,h.e)(a,1)),s=t.endDate?(0,u.H)(t.endDate):null;if(s&&!(0,f.f)(s)&&(s=null),s){let e=(0,x.o)(a),t=(0,x.o)(s);(0,p.Y)(t,e)&&(s=a),s=(0,g.D)(s)}if(!(s?(0,y.v)(e,{start:r,end:s}):e>=r))return!1;let l=`${v}${t.id}`,i=!1;try{i="true"===localStorage.getItem(l)}catch(e){i=!1}return!i});a?(w(a),t(!0)):(w(null),t(!1))},[b]);return((0,s.useEffect)(()=>{N();let e=new Date,t=new Date(e);t.setDate(t.getDate()+1),t.setHours(0,0,0,0);let a=setTimeout(()=>{N()},t.getTime()-e.getTime());return()=>{clearTimeout(a)}},[N]),a)?(0,r.jsx)(m.N,{children:e&&(0,r.jsx)(o.P.div,{initial:{opacity:0,y:20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.95},transition:{duration:.3,ease:"easeOut"},className:"fixed bottom-6 right-6 z-50 max-w-[420px] w-full max-md:max-w-[calc(100%-2rem)] max-md:bottom-4 max-md:right-4",children:(0,r.jsxs)("div",{className:"relative bg-white rounded-[28px] max-md:rounded-[20px] shadow-2xl border-2 border-[var(--color-upg-purple-200)] p-6 max-md:p-4 flex flex-col gap-5 max-md:gap-3 overflow-hidden",children:[(0,r.jsx)("div",{className:"absolute top-0 right-0 w-32 h-32 max-md:w-20 max-md:h-20 bg-[var(--color-secondary-yellow-400)] opacity-10 rounded-full -mr-16 -mt-16 max-md:-mr-10 max-md:-mt-10"}),(0,r.jsx)("div",{className:"absolute bottom-0 left-0 w-24 h-24 max-md:w-16 max-md:h-16 bg-[var(--color-primary-blue-100)] opacity-20 rounded-full -ml-12 -mb-12 max-md:-ml-8 max-md:-mb-8"}),(0,r.jsxs)("div",{className:"relative flex items-start justify-between gap-4 max-md:gap-2",children:[(0,r.jsx)("div",{className:"flex items-start gap-3 max-md:gap-2 flex-1 min-w-0",children:(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsx)("div",{className:"flex items-center gap-2 mb-2 max-md:mb-1.5",children:(0,r.jsx)("span",{className:"px-2 py-0.5 max-md:px-1.5 max-md:py-0.5 bg-[var(--color-secondary-yellow-400)] text-black text-[length:var(--font-size-body-12)] max-md:text-[10px] font-semibold rounded-full uppercase",children:"Live Event"})}),(0,r.jsxs)("h3",{className:"text-[var(--color-grey-700)] text-[length:var(--font-size-title-24)] max-md:text-[length:var(--font-size-title-18)] font-bold mb-3 max-md:mb-2 leading-tight break-words max-md:max-w-[80%]",children:["Meet us at ",a.name]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 max-md:gap-1.5",children:[a.startDate&&(0,f.f)((0,u.H)(a.startDate))&&(0,r.jsxs)("div",{className:"flex gap-2 max-md:gap-1.5 items-center",children:[(0,r.jsx)(i.g,{icon:n.l6G,className:"text-[var(--color-primary-blue-500)] h-4 w-4 max-md:h-3.5 max-md:w-3.5 flex-shrink-0"}),(0,r.jsxs)("p",{className:"text-[var(--color-grey-500)] text-[length:var(--font-size-body-14)] max-md:text-[12px] font-light",children:[(0,c.sL)(a.startDate),a.endDate&&a.endDate!==a.startDate&&(0,r.jsxs)(r.Fragment,{children:[" - ",(0,c.sL)(a.endDate)]})]})]}),(0,r.jsxs)("div",{className:"flex gap-2 max-md:gap-1.5 items-center",children:[(0,r.jsxs)("div",{className:"flex flex-1 w-full gap-4",children:[a.location&&(0,r.jsxs)("div",{className:"flex gap-2 max-md:gap-1.5 items-center",children:[(0,r.jsx)(i.g,{icon:n.gKm,className:"text-[var(--color-primary-blue-500)] h-4 w-4 max-md:h-3.5 max-md:w-3.5 flex-shrink-0"}),(0,r.jsx)("p",{className:"text-[var(--color-grey-500)] text-[length:var(--font-size-body-14)] max-md:text-[12px] font-light",children:a.location})]}),a.standNumber&&(0,r.jsx)("div",{className:"px-3 py-1 max-md:px-2 max-md:py-0.5 bg-[var(--color-primary-blue-100)] rounded-lg max-md:rounded-md",children:(0,r.jsxs)("p",{className:"text-[var(--color-primary-blue-700)] text-[length:var(--font-size-body-14)] max-md:text-[12px] font-semibold",children:["Stand ",a.standNumber]}
1)})]}),a.standNumber&&(0,r.jsx)("div",{className:"flex gap-2 max-md:gap-1.5 items-center flex-wrap",children:a.slug&&(0,r.jsx)(d.default,{href:`/events/${a.slug}/`,variant:"primary",size:"sm",className:"max-md:text-[12px] max-md:px-3 max-md:py-1.5",customStyles:{text:"text-[10px] max-md:text-[10px]"},children:"View Details"})})]}),!a.standNumber&&a.slug&&(0,r.jsx)("div",{className:"flex gap-2 max-md:gap-1.5 items-center",children:(0,r.jsx)(d.default,{href:`/events/${a.slug}/`,variant:"primary",size:"sm",className:"max-md:text-[12px] max-md:px-3 max-md:py-1.5",customStyles:{text:"text-[10px] max-md:text-[10px]"},children:"View Details"})})]})]})}),(0,r.jsx)("button",{onClick:()=>{if(a&&1){try{let e=`${v}${a.id}`;localStorage.setItem(e,"true")}catch(e){}t(!1)}},className:"absolute top-0 right-0 flex-shrink-0 w-8 h-8 max-md:w-7 max-md:h-7 flex items-center justify-center rounded-full text-[var(--color-grey-400)] hover:text-[var(--color-grey-600)] hover:bg-[var(--color-grey-100)] transition-colors","aria-label":"Dismiss notification",children:(0,r.jsx)(i.g,{icon:n.GRI,className:"h-4 w-4 max-md:h-3.5 max-md:w-3.5"})})]})]})})}):null}}},e=>{e.O(0,[8956,571,446,5053,378,6474,2721,7262,7951,985,6542,2035,6080,5717,5518,1533,4184,9880,7358],()=>e(e.s=36875)),_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.