PageSourceSearch

https://www.brickyardbar.com/_next/static/chunks/pages/account/favorites-21152cd4ac9c760e.js

js brickyardbar.com collected 2026-09-26 17:45:01 UTC 4,935 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[811],{29689:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/favorites",function(){return r(9392)}])},9392:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return N}});var s=r(52322),a=r(2784),n=r(56580),o=r(96337),i=r(96748),d=r(5288),l=r(62907),c=r(44483),h=r(34843),x=r(12594),f=r(78754),u=r(3776),p=r(38801),j=r(15066),_=r(12929);let v=()=>{let{favoriteLocations:e,favoriteLocationsConnectionError:t}=(0,n.useSelector)(_.G),r=(0,n.useSelector)(p.lp)[u.y8.ACCOUNT__FAVORITE_LOCATIONS_ENABLED],v=(0,n.useDispatch)();(0,a.useEffect)(()=>{r&&v(j.default.fetchMeFavoriteLocations())},[]);let g=e&&e.sort((e,t)=>e.label>t.label?1:-1);return(0,s.jsx)(c.R,{featureFlag:u.y8.ACCOUNT__FAVORITE_LOCATIONS_ENABLED,children:(0,s.jsx)(o.t9,{children:(0,s.jsxs)(x.wo,{className:f.Y.LOYALTY.PAGE_HEADER,children:[(0,s.jsx)(d.Z,{tag:"h2",accessor:"favorites.locations_header",html:!0}),t?(0,s.jsx)(l.Gz,{"data-testid":"favorites-connection-error",onRetry:()=>v(j.default.fetchMeFavoriteLocations())}):g&&g.length?g.map(e=>(0,s.jsx)(h.b,{location:e,favorites:!0,editFavoriteLocation:!0},e.id)):(0,s.jsx)(x.RE,{children:(0,s.jsxs)(x.vV,{children:[(0,s.jsx)(i.VF,{}),(0,s.jsx)(d.Z,{tag:"h3",accessor:"favorites.locations_empty_state_header",html:!0}),(0,s.jsx)(d.Z,{tag:"p",accessor:"favorites.locations_empty_state_subheader",html:!0})]})})]})})})};var g=r(46054),m=r(5366),E=r(70144);let O="favorite-orders-connection-error",A={fetchMeFavoriteOrders:j.default.fetchMeFavoriteOrders,fetchMeOrderDetailsSuccess:j.default.fetchMeOrderDetailsSuccess,reorderBasket:E.Z.reorderBasket};var b=(0,n.connect)(e=>({meFavoriteOrders:e.app.me.favoriteOrders,meFavoriteOrdersConnectionError:e.app.me.favoriteOrdersConnectionError,meFavoriteOrdersLoading:e.app.me.favoriteOrdersLoading,reorderBasketId:e.app.basket.reorderBasketId}),A)(e=>{let{fetchMeFavoriteOrders:t,meFavoriteOrders:r,meFavoriteOrdersConnectionError:n,meFavoriteOrdersLoading:c,reorderBasket:h,fetchMeOrderDetailsSuccess:u,reorderBasketId:p}=e;(0,a.useEffect)(()=>{t()},[t]);let j=()=>t();function _(e){u(e),h(e,"Favorites",!0)}return!n||(null==r?void 0:r.length)?!c||(null==r?void 0:r.length)?(null==r?void 0:r.length)?(0,s.jsx)(o.t9,{className:f.Y.LOYALTY.PAGE_HEADER,children:(0,s.jsxs)(x.wo,{children:[(0,s.jsx)(d.Z,{tag:"h2",accessor:"favorites.orders_header",html:!0}),n&&(0,s.jsx)(l.Gz,{variant:"banner","data-testid":O,onRetry:j}),r.map((e,t)=>(0,s.jsx)(m.Z,{children:(0,s.jsx)(g.q,{showSubtotal:!0,order:e,index:t,reorderBasketId:p,reorderBasket:_})},t))]})}):(0,s.jsx)(o.t9,{children:(0,s.jsxs)(x.wo,{className:f.Y.LOYALTY.PAGE_HEADER,children:[(0,s.jsx)(d.Z,{tag:"h2",accessor:"favorites.orders_header",html:!0}),(0,s.jsx)(x.RE,{children:(0,s.jsxs)(x.vV,{children:[(0,s.jsx)(i.VF,{}),(0,s.jsx)(d.Z,{tag:"h3",accessor:"favorites.orders_empty_state_header",html:!0}),(0,s.jsx)(d.Z,{tag:"p",accessor:"favorites.orders_empty_state_subheader",html:!0})]})})]})}):null:(0,s.jsx)(o.t9,{children:(0,s.jsxs)(x.wo,{className:f.Y.LOYALTY.PAGE_HEADER,children:[(0,s.jsx)(d.Z,{tag:"h2",accessor:"favorites.orders_header",html:!0}),(0,s.jsx)(l.Gz,{"data-testid":O,onRetry:j})]})})}),L=r(55354),y=r(29652);function N(){return(0,s.jsx)(y.Q,{children:(0,s.jsxs)(L.Z,{$backgroundOverride:!0,children:[(0,s.jsx)(b,{}),(0,s.jsx)(v,{})]})})}},62907:function(e,t,r){"use strict";r.d(t,{Gz:function(){return c}});var s=r(52322),a=r(53237),n=r(97421),o=r(20496);let i=o.Rj,d=o.om,l=o.Qn;function c(e){let{onRetry:t,variant:r="panel",heading:a=i,message:o,retryLabel:c="Try again",retryingLabel:j="Trying again…",isRetrying:_=!1,"data-testid":v,retryTestId:g}=e,m=t?(0,s.jsx)(n.Db,{"data-css-override":"StyledPrimaryButton",type:"button","data-testid":g,size:"banner"===r?"small":void 0,disabled:_,onClick:t,children:_?j:c}):null;return"banner"===r?(0,s.jsxs)(u,{role:"alert","data-testid":v,children:[(0,s.jsx)(p,{children:null!=o?o:l}),m]}):(0,s.jsxs)(h,{role:"alert","data-testid":v,children:[(0,s.jsx)(x,{children:a}),(0,s.jsx)(f,{children:null!=o?o:d}),m]})}let h=(0,a.zo)("div",{display:"flex",flexDirection:"column",alignItems:"center",gap:"$4",padding:"$14",textAlign:"center"}),x=(0,a.zo)("h2",{fontSize:"$text400",fontWeight:"bold",textAlign:"center",margin:0}),f=(0,a.zo)("p",{fontSize:"$text200",textAlign:"center",margin:0}),u=(0,a.zo)("div",{display:"flex",flexDirection:"column",gap:"8px",padding:"12px 16px",marginBottom:"16
1px",border:"1px solid #d93025",borderRadius:"4px",backgroundColor:"#fdecea",color:"#5f1414","@sm":{flexDirection:"row",alignItems:"center",justifyContent:"center"}}),p=(0,a.zo)("p",{margin:"0 !important",fontSize:"14px",lineHeight:"20px",whiteSpace:"pre-line",paddingRight:"12px",paddingLeft:"12px"})}},function(e){e.O(0,[688,462,553,270,623,412,807,354,762,52,888,774,179],function(){return e(e.s=29689)}),_N_E=e.O()}]);
2//# sourceMappingURL=favorites-21152cd4ac9c760e.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.