1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4442],{84442:function(e,t,a){a.r(t);var n=a(85893),r=a(29222),s=a(62207),l=a(31963),o=a(14801),i=a(44504),d=a(55819),c=a(73793),u=a(47018),h=a(96),x=a(93589),m=a.n(x),f=a(92955),j=a.n(f),p=a(67294),C=a(84187),b=function(e){var t=e.isOpen,a=e.title,f=e.content,b=e.buttonText,y=e.hasCarouselContent,A=e.storeData,v=e.onClose,R=e.onButtonClick;return(0,p.useEffect)(function(){h.AnalyticsActions.viewScreenComponent({screenType:"UNAVAILABLE_RESTAURANT_MODAL",storeId:A.storeId,storeType:"restaurant",storeName:A.storeName,verticalGroup:"Restaurantes",verticalSubGroup:"Restaurantes"})},[]),(0,n.jsx)(C.default,{children:(0,n.jsxs)(s.u_,{isOpen:t,onClose:v,isCentered:!0,children:[(0,n.jsx)(l.Z,{}),(0,n.jsxs)(o.h,{maxW:["100%",null,y?null:"md",y?"800px":null],alignSelf:["flex-end",null,y?null:"center",y?"center":null],my:["0"],borderBottomLeftRadius:["0",null,"md"],borderBottomRightRadius:["0",null,"md"],children:[(0,n.jsx)(i.x,{"data-qa":"modal-header",children:(0,n.jsx)(m(),{tagAs:"p",variant:x.Variants.L220,color:x.Colors.Graya100,children:a})}),(0,n.jsx)(d.o,{"data-qa":"close-modal",children:(0,n.jsx)(j(),{})}),(0,n.jsx)(c.f,{"data-qa":"modal-body",children:(0,n.jsx)(m(),{variant:x.Variants.Base116,color:x.Colors.Graya80,children:f})}),(0,n.jsx)(u.m,{justifyContent:"center","data-qa":"modal-footer",children:(0,n.jsx)(r.z,{"data-qa":"primary-button",onClick:R,size:"lg",borderRadius:"30px",children:(0,n.jsx)(m(),{variant:x.Variants.Base216,color:x.Colors.White,children:b})})})]})]})})};t.default=b}}]);
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.