1"use strict";(self.webpackChunkFusion=self.webpackChunkFusion||[]).push([[634],{9861:(e,n,t)=>{t.d(n,{A:()=>h});var r=t(58711),i=t(90417),u=t(50371),a=t(86105),o=t(66292),d=t(37137),s=t(20075),l=t(38659),c=t(69460);function h(){const e=(0,u.W6)(),n=(0,a.zy)(),{venueUUID:t}=(0,o.g$k)(n,["venueUUID"]),{feed:h}=(0,r.A)(),p=h.data?.venueInfo,g=(0,s.A)(),f=(0,l.A)(),F=String(t||p?.rootSection?.uuid||""),m=(0,d.m)({venueUuid:F},{queryObserverOptions:{enabled:F.length>0}}),y=(0,i.useCallback)((t=>{e.push((0,o.ZHY)(n,{venueUUID:F,selectedSectionUUID:t[t.length-1]??F}))}),[e,n,F]),Y=(0,i.useCallback)((()=>{g?f(c.kw):e.push((0,o.lGi)(n))}),[e,n,g,f]);return{venuePayloads:m.data?.venuePayloads??null,venueInfo:m.data?.venue,venueUuid:F,hasLoaded:m.isFetched,leaveVenueLocation:Y,enterVenueLocation:y}}},37137:(e,n,t)=>{t.d(n,{m:()=>a});var r=t(74225),i=t(24727),u=t(12741);function a(e,n){const t=(0,u.A)("getVenueV1"),a=(0,i.n)("getVenueV1",e),o=(0,r.useQuery)({queryKey:a,queryFn:e=>{let{queryKey:n}=e;return t.request("getVenueV1",n[1])},...n?.queryObserverOptions});return o}},__fusion__67d07bdc07:(e,n,t)=>{t.r(n),t.d(n,{default:()=>M});var r=t(90417),i=t(16211),u=t(61073),a=t(40728),o=t(41967),d=t(45292),s=t("__fusion__e7900960c4"),l=t("__fusion__7a2f5aa307"),c=t(87972),h=t(14209),p=t("__fusion__59c7242e4b"),g=t(58711),f=t(47577),F=t(99367),m=t(2233),y=t(44580),Y=t(68398),v=t(39182),A=t(66481),k=t(86105),_=t(9861),U=t(37137),D=t(66292),b=t(92857),I=t(43589),P=t(40014);const $=(0,o.I4)("div",(e=>{let{$theme:n}=e;return{margin:`0 ${v._4}`,...n.typography.ParagraphSmall,whiteSpace:"pre-wrap"}})),S=(0,o.I4)("h1",(e=>{let{$theme:n}=e;return{margin:`0 ${v._4}`,...n.typography.DisplayBold4XSmall}})),K=(0,o.I4)("div",(e=>{let{$theme:n}=e;return{textAlign:"center",...n.typography.LabelMedium}}));function M(){const{feed:e,shouldGetFeed:n,getFeed:t}=(0,g.A)({runEffect:!0}),o=(0,k.zy)(),v=(0,d.c)(),{venueUuid:M}=(0,_.A)(),{selectedSectionUUID:V}=(0,D.g$k)(o,["selectedSectionUUID"]),q=(0,U.m)({venueUuid:M}),w=(0,b.A)(),T=(0,r.useMemo)((()=>{const e=(n,t)=>{if(n){if(t.push(n.name),n.uuid===V)return t.join(", ");if(n.subSections)for(const r of n.subSections){const n=e(r,t);if(n)return n;t.pop()}}},n=q.data?.venue?.rootSection;return n?e(n,[]):""}),[q,V]);return(0,f.A)((()=>n?t():null),[n,t],"venue-feed-mobile"),(0,P.FD)(P.FK,{children:[(0,P.Y)(F.A,{children:e?.data?.marketingFeedProps?.pageTitle||v("seo.feed.title")}),(0,P.FD)(m.PW,{children:[(0,P.Y)(s.default,{}),(0,P.Y)(l.default,{}),w?(0,P.Y)(I.A,{}):(0,P.Y)(h.A,{}),T?(0,P.Y)(A.Qf,{children:(0,P.Y)(K,{children:T})}):null]}),(0,P.Y)(m.nU,{children:(0,P.Y)(u.A,{source:e,error:e=>(0,P.Y)(c.A,{error:e}),loaded:e=>(0,P.FD)(P.FK,{children:[e.marketingFeedProps?.pageTitle?(0,P.FD)(P.FK,{children:[(0,P.Y)(S,{children:e.marketingFeedProps.pageTitle}),(0,P.Y)(y.Ay,{$height:e.marketingFeedProps?.markupText||e.marketingFeedProps?.infoMessage?12:24})]}):null,e.marketingFeedProps?.markupText?(0,P.FD)(P.FK,{children:[(0,P.Y)($,{children:(0,P.Y)(Y.A,{lines:e.marketingFeedProps.markupText})}),(0,P.Y)(y.Ay,{$height:24})]}):null,e.marketingFeedProps?.infoMessage?(0,P.FD)(P.FK,{children:[(0,P.Y)($,{children:e.marketingFeedProps.infoMessage.description}),(0,P.Y)(y.Ay,{$height:24})]}):null,(0,P.Y)(i.A,{feedItems:e.feedItems,storesMap:e.storesMap,showFavorite:!0})]}),loading:()=>(0,P.FD)(P.FK,{children:[(0,P.Y)(y.Ay,{$height:24}),(0,P.Y)(a.lM,{}),(0,P.Y)(y.Ay,{$height:24}),(0,P.Y)(a.Ay,{})]})})}),(0,P.Y)(p.default,{})]})}}}]); 2//# sourceMappingURL=https://sourcemaps.uberinternal.com/raw/web-eats-v2/client-634-c2c353abdb307d0a.js.map
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.