1(self.webpackChunkhost=self.webpackChunkhost||[]).push([[1298,9538],{3928:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});var r=n(59065);function s(e){let{onIntersect:t,options:n,shouldObserve:s}=e,i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(!i.current||!s)return;let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&t()})},n);return e.observe(i.current),()=>{e.disconnect()}},[t,n,s]),{observerRef:i}}},5219:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(23078),s=n(45835);function i(e){let{icon:t,title:n,text:i}=e,a=(0,s.useTranslations)();return(0,r.jsx)("div",{className:"relative w-full min-h-full mx-0 my-auto flex",children:(0,r.jsxs)("div",{className:"bg-white/50 border border-white/50 px-8x py-6x rounded-md max-w-[752px] w-[95vw] md:w-screen mx-auto my-0 mt-16x flex flex-wrap content-center justify-center flex-col",children:[t,(0,r.jsx)("h4",{className:" xs:text-md md:text-lg text-center font-semibold font-brand leading-9 xs:mb-4x md:mb-5x",children:a(n)}),(0,r.jsx)("div",{className:"pb-4x",children:(0,r.jsx)("p",{className:"text-center",children:a(i)})})]})})}},12122:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(40813),s=n(95416),i=n(59065);function a(e){var t;let{params:n,retry:a=!0}=e,{selectedState:l}=(0,s.useLocation)(),{data:o,isLoading:c,isFetching:u,fetchNextPage:d,hasNextPage:x}=(0,r.useInfiniteQuery)({queryKey:["events",n],retry:a,queryFn:e=>{let{pageParam:t}=e;return(0,s.getEvents)({...n,page:t})},initialPageParam:1,getNextPageParam:(e,t)=>{let{meta:n}=e,r=Math.ceil(n.total/n.per_page);return t.length>=r?null:n.current_page+1}}),m=null==o?void 0:o.pages.flatMap(e=>e.data),f=(0,i.useMemo)(()=>(0,s.filterEventsByState)(null!=m?m:[],l),[m,l]);return{events:null!=m?m:[],orderedEvents:f,totalEvents:null!==(t=null==o?void 0:o.pages[0].meta.total)&&void 0!==t?t:0,isLoading:c||u,fetchNextPage:d,hasNextPage:x}}},13372:function(e,t,n){"use strict";n.d(t,{L:function(){return l}});var r=n(23078),s=n(95416),i=n(71781),a=n(45835);function l(e){let{startDate:t,endDate:n,color:l="",hideEndDate:o=!1}=e,c=(0,a.useFormatter)(),u=e=>{let t=new Date(e);return Number.isNaN(t.getTime())?(console.error("Invalid date provided: ".concat(e)),null):t},d=(e,t)=>c.dateTime(e,t).replace(/ de |\.|\. â /g," ").trim(),x=u(t),m=u(n);if(!x||!m)return null;let f=x.toDateString()===m.toDateString(),h=m.getTime()-x.getTime()<864e5,p=d(x,{day:"2-digit",month:"short"}),v=d(x,{day:"2-digit",month:"short",year:"numeric"}),g=d(m,{day:"2-digit",month:"short",year:"numeric"});return(0,r.jsx)("time",{className:(0,i.cn)(["uppercase","flex","flex-row","whitespace-nowrap"]),style:{color:l||"#FFFFFF"},children:o||f||h?v:(0,r.jsxs)(r.Fragment,{children:[p,(0,r.jsx)("div",{className:"flex content-center items-center justify-center px-1",children:(0,r.jsx)(s.GreaterThan,{width:5,height:10,color:l||"#FFFFFF"})}),g]})})}},46266:function(e,t,n){"use strict";n.d(t,{n:function(){return h}});var r=n(23078),s=n(95416),i=n(71781),a=n(27103),l=n.n(a),o=n(3085),c=n.n(o),u=n(45835),d=n(59065),x=n(13372),m=n(50816);let f=l()(()=>Promise.all([n.e(1918),n.e(6834)]).then(n.bind(n,34453)),{loadableGenerated:{webpack:()=>[34453]},ssr:!1}),h=(0,d.memo)(function(e){let{event:t,cssId:n}=e,a=(0,u.useTranslations)("Producers"),{name:l,banner:o,thumb:h,slug:p,start_date:v,end_date:g,hide_event_end_date:w,event_location:j,is_closed:y,vertical_banner:b,is_online:N}=t,_=(null==j?void 0:j.name)?"".concat(null==j?void 0:j.city,", ").concat(null==j?void 0:j.name):null==j?void 0:j.formatted_address,k=(0,d.useCallback)(()=>{(0,s.sendGTagEvent)("select_content",{content_type:"event_card",content_id:t.id,event_name:t.name})},[t.id,t.name]);return(0,r.jsxs)("div",{id:n,className:(0,i.cn)(["flex","flex-row","gap-4x","w-full","h-[120px]","rounded-sm","relative","sm:flex-col","sm:w-[164px]","sm:h-[296px]","lg:w-52","lg:h-[342px]","transition-shadow","duration-500",{"opacity-50":y}]),children:[(0,r.jsxs)(c(),{href:"/eventos/".concat(p),className:"flex flex-row gap-4x w-full h-[120px] rounded-sm relative sm:flex-col sm:w-[164px] sm:h-[296px] lg:w-52 lg:h-[342px] hover:shadow-level1 transition-shadow duration-500",onClick:k,children:[(0,r.jsx)("div",{className:(0,i.cn)(["flex","min-w-[120px]","min-h-[120px]","w-[120px]","h-[120px]","sm:w-[164px]","sm:h-[164px]","lg:w-52","lg:h-52","rounded-sm","overflow-hidden"]),children:(0,r.jsx)(m.Z,{src:b||o,fallback:h,alt:l,width:208,he
1ight:208,className:"w-full object-cover zoom-img shrink-0 aspect-auto"})}),(0,r.jsxs)("div",{className:"label-sm flex flex-col gap-2x text-left justify-center",children:[(0,r.jsx)("strong",{className:"heading-xs-heavy font-brand font-semibold text-grey-900 leading-none line-clamp-2 h-9",children:l}),(0,r.jsx)(x.L,{startDate:v,endDate:g,hideEndDate:w,color:"var(--color-primary-pure)"}),(0,r.jsx)("p",{className:"paragraph-sm text-grey-700 line-clamp-1 h-5x",children:N?a("onlineEvent"):_})]})]}),(0,r.jsx)("div",{className:"absolute left-1 top-1 right-auto sm:left-auto sm:top-2 sm:right-2",children:(0,r.jsx)(f,{isRect:!0,isMobile:!0,eventData:t})})]})})},50816:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(23078),s=n(55491),i=n.n(s),a=n(59065);let l=(0,a.memo)(function(e){let{src:t,fallback:n="",className:s,...l}=e,o="/imgs/empty-state.png",[c,u]=(0,a.useState)((e=>{if(!e)return!1;if("string"==typeof e){if(e.startsWith("/"))return!0;try{let t=new URL(e);return"https:"===t.protocol||"http:"===t.protocol}catch(e){return!1}}})(t)?t:o);return(0,a.useEffect)(()=>{u(t||n||o)},[t,n]),(0,r.jsx)(i(),{src:c,placeholder:"blur",blurDataURL:o,onError:()=>{u(o)},className:s,...l})})},73823:function(e,t,n){"use strict";n.d(t,{V:function(){return d}});var r=n(23078),s=n(95416),i=n(45835),a=n(59065),l=n(46266),o=n(12122),c=n(3928),u=n(91402);let d=(0,a.memo)(function(e){let{title:t="",titleClassName:n=""}=e,a=(0,i.useTranslations)(),{selectedStateAbbreviation:d}=(0,s.useLocation)(),{events:x,isLoading:m,fetchNextPage:f,hasNextPage:h}=(0,o.L)({params:{order_by_state:d,within_past_year:!0,active_or_expired:!0,per_page:15}}),{observerRef:p}=(0,c.B)({onIntersect:f,shouldObserve:h});return(0,r.jsxs)("div",{className:"flex justify-center",children:[x.length>0&&(0,r.jsxs)("div",{className:"flex flex-col lg:gap-14x max-w-screen-xl px-6x",children:[(0,r.jsx)("h4",{className:n||"xs:text-md md:text-lg font-semibold font-brand leading-9 xs:mb-4x md:mb-5x",children:t||a("Event.nearbyExperiences")}),(0,r.jsx)("div",{className:"grid grid-cols-1 gap-6x sm:grid-cols-4 sm:-mx-2 xl:grid-cols-5",children:x.map((e,t)=>(0,r.jsx)(l.n,{cssId:"card".concat(t),event:e},e.id))})]}),(0,r.jsx)("div",{className:"flex justify-center items-center",children:m&&(0,r.jsx)(u.p,{isLoading:m,variant:"inline"})}),(0,r.jsx)("div",{ref:p})]})})},74478:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/error",function(){return n(98810)}])},91402:function(e,t,n){"use strict";n.d(t,{p:function(){return d}});var r=n(23078),s=n(95416),i=n(27103),a=n.n(i),l=n(59065),o=n(5470);let c=a()(()=>n.e(1918).then(n.bind(n,62361)).then(e=>e.Player),{loadableGenerated:{webpack:()=>[62361]},ssr:!1});function u(){return(0,r.jsx)("svg",{stroke:"var(--color-primary-pure)",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"w-[120px] h-[120px]",children:(0,r.jsxs)("g",{children:[(0,r.jsxs)("circle",{cx:"12",cy:"12",r:"9.5",fill:"none",strokeWidth:"3",strokeLinecap:"round",children:[(0,r.jsx)("animate",{attributeName:"stroke-dasharray",dur:"1.5s",calcMode:"spline",values:"0 150;42 150;42 150;42 150",keyTimes:"0;0.475;0.95;1",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",calcMode:"spline",values:"0;-16;-59;-59",keyTimes:"0;0.475;0.95;1",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1",repeatCount:"indefinite"})]}),(0,r.jsx)("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",values:"0 12 12;360 12 12",repeatCount:"indefinite"})]})})}function d(e){let{isLoading:t,variant:n="full-screen"}=e,[i,a]=(0,l.useState)(!1),d=(0,s.useIsZigWhitelabel)();return((0,l.useEffect)(()=>{a(!0)},[]),i&&t)?(0,r.jsx)("div",{className:"full-screen"===n?"fixed inset-0 z-[60] flex items-center justify-center bg-white opacity-95":"flex items-center justify-center",children:d?(0,r.jsx)(c,{src:o,autoplay:!0,loop:!0,className:"w-[120px] h-[120px]"}):(0,r.jsx)(u,{})}):null}},98810:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return c},default:function(){return u}});var r=n(23078),s=n(95416),i=n(39829),a=n.n(i),l=n(5219),o=n(73823),c=!0;function u(){let e=(0,s.shouldNoIndexByEnvironment)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a(),{children:e&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)(l.A,{title:"Event.pageNotFound",text:"Event.partyDontStop",icon:(0,r.jsx)(s.NotFoundNewIcon,{className:"mb-4x mx-auto"})}),(0,r.jsx)(o.V,{})]})]})}}},function(e){"function"==typeof e.x?e.x():console.warn("[Module Federation] __webpack_require__.x is not a function, skipping startup extension"),_N_E=Promise.all([e.f.consumes||function(e,t){},e.f.remotes||function(e,t){}].reduce(function(e,t){return t("1298",e),e},[])).then(function(){return e.X(0,[636,8792,1781,7103,9829,5470,5491,3085],function(){return e(e.s=74478)})})}]);
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.