1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6510],{84297:function(e,t,s){"use strict";s.d(t,{Z:function(){return l}});var r=s(67294),n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l=(e,t)=>{let s=(0,r.forwardRef)(({color:s="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:a,children:c,...d},u)=>(0,r.createElement)("svg",{ref:u,...n,width:l,height:l,stroke:s,strokeWidth:a?24*Number(o)/Number(l):o,className:`lucide lucide-${i(e)}`,...d},[...t.map(([e,t])=>(0,r.createElement)(e,t)),...(Array.isArray(c)?c:[c])||[]]));return s.displayName=`${e}`,s}},65330:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_sites/[site]/v2/[...path]",function(){return s(4674)}])},374:function(e,t,s){"use strict";s.d(t,{U:function(){return r}});let r={delivery:"delivery_dining",pickup:"storefront",pin:"icon-location2",arrowLeft:"icon-arrow-left",arrowRight:"icon-arrow-right",angleUp:"icon-angle-up",clock:"clock"}},82256:function(e,t,s){"use strict";s.d(t,{H:function(){return i}});var r=s(85893),n=s(71868);function i(e){let{schema:t}=e;return t?(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,n.B)(t)}}):null}},71868:function(e,t,s){"use strict";s.d(t,{B:function(){return r}});let r=e=>JSON.stringify(e).replace(/</g,"\\u003c")},4674:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return b}});var r=s(85893),n=s(74790),i=s(2962),l=s(67294),o=s(26628),a=s(35111),c=s(82256),d=s(64192),u=s(31974),m=s(92852),x=s(93646),h=s(34484),p=s(6997),v=s(9242),f=s(45123),g=s(91075),j=s(98609),w=s(17251);let N=e=>{let{pageBuilderContent:t,pageType:s,tenant:a,pageName:d,hasContentH1:u,siteJsonLd:g}=e,{utmParams:j}=(0,x.x)(),w=(0,o.v9)(e=>e.core.settings);(0,f.X)(),(0,h.w)();let N=u?"":(0,p.xF)({pageName:d,pageTitle:w.pageTitle,commerceName:w.commerceName}),b=(0,p.T$)({pageName:d,pageTitle:w.pageTitle,commerceName:w.commerceName}),y=(0,p.FV)({pageName:d,commerceName:w.commerceName});return(0,l.useEffect)(()=>{"landing"===s&&m.Z.viewHomePage({tenant:a,utmParams:j})},[s,a,j]),(0,r.jsxs)("div",{className:"flex min-h-[50vh] flex-col",children:[b?(0,r.jsx)(i.PB,{title:b,...y?{description:y}:{}}):null,(0,r.jsx)(c.H,{schema:g}),N?(0,r.jsx)("h1",{className:"sr-only",children:N}):null,(0,r.jsx)(n.o,{blocksConfig:v.R,pageBuilderContentBlocks:t.blocks,pageType:s})]})};N.getLayout=function(e){return(0,r.jsxs)(u.p,{children:[(0,r.jsx)(g.Vw,{showCartBar:!1,showDispatchBar:!0,children:e}),(0,r.jsx)(w.Q,{}),(0,r.jsx)(j.O,{}),(0,r.jsx)(d.D,{}),(0,r.jsx)(a.Z,{})]})};var b=!0;t.default=N},5962:function(e,t,s){"use strict";var r,n;s.d(t,{E:function(){return l}});let i=e=>{var t;return null!==(n=null!==(r=null==e?void 0:null===(t=e.cropperUrl)||void 0===t?void 0:t.small)&&void 0!==r?r:null==e?void 0:e.url)&&void 0!==n?n:null};function l(e){var t,s,r;let n=[null===(t=e.pictures)||void 0===t?void 0:t[0],...(null!==(s=e.prices)&&void 0!==s?s:[]).map(e=>{var t,s;return null==e?void 0:null===(t=e.product)||void 0===t?void 0:null===(s=t.pictures)||void 0===s?void 0:s[0]})],l=null!==(r=n.map(i).find(e=>!!e))&&void 0!==r?r:null;return{id:e.id,name:e.name,imgSrc:l}}},9242:function(e,t,s){"use strict";s.d(t,{R:function(){return N}});var r=s(85893);s(519);var n=s(48227),i=s(74790),l=s(26982),o=s(67761),a=s(59987),c=s(25675),d=s.n(c),u=s(67294),m=s(26628),x=s(97844),h=s(80006),p=s(24398),v=s(5962);let f="grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4";var g=s(13042),j=s(22966),w=s(24805);let N=(0,i.K)({banners:function(e){var t;let{controlProps:s}=e,i=null==s?void 0:s.blockBannersBgColor;return(0,r.jsx)(n.zR,{bgColor:"string"==typeof i&&i?i:void 0,children:(0,r.jsx)("div",{className:"mx-auto w-full max-w-app",children:(0,r.jsx)(a.s,{autoplay:!!(null!==(t=null==s?void 0:s.enableAutoplay)&&void 0!==t&&t)})})})},menu:o.v,hero:n.D_,categoriesGrid:function(e){var t,s;let{controlProps:i,colors:o}=e,a=(0,m.v9)(e=>(0,x.r3)(e)),c=(0,m.v9)(e=>null!==(t=e.menu.menu)&&void 0!==t?t:[]),g=(0,m.v9)(e=>e.menu.menuLoading),j=(0,m.v9)(e=>e.menu._menuCache),w=(0,m.v9)(e=>e.menu.menuError),[N,b]=(0,u.useState)(!1);(0,u.useEffect)(()=>b(!0),[]);let y=a?c:c.filter(e=>{var t;return(null!==(s=null===(t=e.prices)||void 0===t?void 0:t.length)&&void 0!==s?s:0)>0}),k=y.map(v.E),C=null==i?void 0:i.title,_=null==i?void 0:i.subtitle;return 0!==k.length||N&&!g&&(a||j||w)?(0,r.jsx)(n.cO,{title:C,subtitle:_,colors:o,children:k.length>0?(0,r.jsx)("div",{className:f,children:k.map(e=>(0,r.jsxs)("a",{href:"/pedir#category-".concat((0,p.$)(e.name,e.id)),className:"group overflow-hidden rounded-2xl !bg-surface shadow-sm transition-all hover:shadow-md",children:[(0,r.jsx)("div",{className:"relative aspect-[4/3] w-full overflow-hidden !bg
1-card-bg",children:e.imgSrc?(0,r.jsx)(d(),{src:e.imgSrc,alt:e.name,fill:!0,className:"object-cover motion-safe:transition-transform motion-safe:duration-300 motion-safe:group-hover:scale-105",sizes:"(max-width: 640px) 50vw, 250px"}):(0,r.jsx)("div",{className:"flex h-full items-center justify-center bg-card-text/5",children:(0,r.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-card-text/20","aria-hidden":"true",children:[(0,r.jsx)("path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2"}),(0,r.jsx)("path",{d:"M7 2v20"}),(0,r.jsx)("path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7"})]})})}),(0,r.jsx)("div",{className:"p-3",children:(0,r.jsx)("h3",{className:"line-clamp-1 text-sm font-semibold text-content",children:e.name})})]},e.id))}):(0,r.jsx)("div",{className:"rounded-2xl !bg-surface-subtle py-12 text-center",children:(0,r.jsx)("p",{className:"text-sm text-content-muted",children:l.ZP.t("V2Blocks:noCategories")})})}):(0,r.jsx)(n.cO,{title:C,subtitle:_,colors:o,children:(0,r.jsx)("div",{className:f,children:[1,2,3,4].map(e=>(0,r.jsxs)("div",{className:"overflow-hidden rounded-2xl",children:[(0,r.jsx)(h.Od,{className:"aspect-[4/3] w-full",rounded:"none"}),(0,r.jsx)("div",{className:"!bg-surface p-3",children:(0,r.jsx)(h.Od,{className:"h-4 w-3/4"})})]},e))})})},videoEmbedContent:n.aT,storesCarousel:function(e){let{controlProps:t,colors:s}=e,{stores:i,loading:o}=(0,g.m)(j.Z.getAll);return(0,r.jsxs)(n.cO,{title:null==t?void 0:t.title,subtitle:null==t?void 0:t.subtitle,colors:s,children:[o&&(0,r.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:[1,2,3].map(e=>(0,r.jsxs)("div",{className:"overflow-hidden rounded-2xl !bg-surface shadow-sm",children:[(0,r.jsx)(h.Od,{className:"h-36 w-full",rounded:"none"}),(0,r.jsxs)("div",{className:"space-y-2 p-4",children:[(0,r.jsx)(h.Od,{className:"h-5 w-2/3"}),(0,r.jsx)(h.Od,{className:"h-4 w-full"})]})]},e))}),!o&&i.length>0&&(0,r.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:i.map(e=>(0,r.jsx)(w.p,{store:e},e.id))}),!o&&0===i.length&&(0,r.jsx)("div",{className:"rounded-2xl !bg-surface-subtle py-12 text-center",children:(0,r.jsx)("p",{className:"text-sm text-content-muted",children:l.ZP.t("V2Landing:noStoresAvailable")})})]})},richText:function(e){return(0,r.jsx)(n.he,{...e,backToHomeLabel:l.ZP.t("V2Blocks:backToHome")})}
1,iFrame:function(e){return(0,r.jsx)(n.Ii,{...e,invalidEmbedLabel:l.ZP.t("V2Blocks:invalidEmbed")})}})},24805:function(e,t,s){"use strict";s.d(t,{p:function(){return x}});var r=s(85893);s(519);var n=s(27484),i=s.n(n),l=s(26982),o=s(25675),a=s.n(o),c=s(67294),d=s(60589),u=s(23019);let m=e=>i()(e.replace(/UTC$/,""),"YYYY-MM-DD HH:mm:ss").format("HH:mm");function x(e){var t;let{store:s,onSelect:n}=e,[i,o]=(0,c.useState)(!1),x=(t=s.businessHours||[],d.DAYS.map(e=>{let s=t.filter(t=>t.day===e).map(e=>"".concat(m(e.openingTime)," â ").concat(m(e.closingTime))).filter((e,t,s)=>s.indexOf(e)===t).sort();return s.length>0?{weekday:e,day:l.ZP.t("V2Days:".concat(e)),slots:s}:null}).filter(Boolean)),h=(0,u.v)(s);return(0,r.jsxs)("div",{className:"overflow-hidden rounded-2xl !bg-surface shadow-sm transition-all hover:shadow-md",children:[s.image&&(0,r.jsx)("div",{className:"relative h-36 w-full overflow-hidden",children:(0,r.jsx)(a(),{src:s.image,alt:s.name,fill:!0,className:"object-cover",sizes:"(max-width: 640px) 100vw, 400px"})}),(0,r.jsxs)("div",{className:"p-4",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsx)("h3",{className:"text-base font-bold text-content",children:s.name}),s.textAddress&&(0,r.jsx)("p",{className:"mt-1 text-sm text-content-muted",children:s.textAddress})]}),n&&(0,r.jsx)("button",{type:"button","data-testid":"store-card-cta",onClick:()=>n(s),className:"shrink-0 rounded-xl !bg-primary px-4 py-2 text-sm font-semibold text-content-inverse transition-opacity hover:opacity-90",children:l.ZP.t("V2StoreCard:orderHere")})]}),(0,r.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[s.pickUpWaitTime>0&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full !bg-surface-muted px-3 py-1 text-xs font-medium text-content-tertiary",children:[(0,r.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,r.jsx)("polyline",{points:"12 6 12 12 16 14"})]}),l.ZP.t("V2StoreCard:pickupTime",{time:s.pickUpWaitTime})]}),s.deliveryWaitTime>0&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full !bg-surface-muted px-3 py-1 text-xs font-medium text-content-tertiary",children:[(0,r.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,r.jsx)("path",{d:"M5 18H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h10c.6 0 1 .4 1 1v11"}),(0,r.jsx)("path",{d:"M14 9h4l4 4v4c0 .6-.4 1-1 1h-2"}),(0,r.jsx)("circle",{cx:"7",cy:"18",r:"2"}),(0,r.jsx)("circle",{cx:"17",cy:"18",r:"2"})]}),l.ZP.t("V2StoreCard:deliveryTime",{time:s.deliveryWaitTime})]}),s.phone&&(0,r.jsxs)("a",{href:"tel:".concat(s.phone),className:"inline-flex items-center gap-1.5 rounded-full !bg-surface-muted px-3 py-1 text-xs font-medium text-content-tertiary transition-colors hover:!bg-surface-strong",onClick:e=>e.stopPropagation(),children:[(0,r.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,r.jsx)("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"})}),s.phone]})]}),(0,r.jsxs)("div",{className:"mt-3 flex items-center gap-3",children:[x.length>0&&(0,r.jsxs)("button",{type:"button",onClick:()=>o(!i),className:"flex items-center gap-1 text-xs font-medium text-primary transition-colors",children:[(0,r.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,r.jsx)("polyline",{points:"12 6 12 12 16 14"})]}),i?l.ZP.t("V2StoreCard:hideHours"):l.ZP.t("V2StoreCard:showHours"),(0,r.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"transition-transform ".concat(i?"rotate-180":""),children:(0,r.jsx)("polyline",{points:"6 9 12 15 18 9"})})]}),h&&(0,r.jsxs)("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1 text-xs font-medium text-primary transition-colors",onClick:e=>e.stopPropagation(),children:[(0,r.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,r.jsx)("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),(0,r.jsx)("circle",{cx:"12",cy:"10",r:"3"})]}),l.ZP.t("V2StoreCard:viewMap")]})]}),i&&x.length>0&&(0,r.jsx)("div",{className:"mt-3 rounded-xl !bg-surface-subtle px-3",children:x.map(e=>(0,r.jsxs)("div",{className:"grid grid-cols-[86px_1fr] items-baseline gap-x-3 border-b border-line-subtle py-2 last:border-0",children:[(0,r.jsx)("div",{className:"text-xs font-bold text-content",children:e.day}),(0,r.jsx)("div",{"data-testid":"store-hours-slots-".concat(e.weekday),className:"flex flex-col gap-0.5 text-right",children:e.slots.map(e=>(0,r.jsx)("span",{className:"text-xs text-content-secondary",children:e},e))})]},e.weekday))})]})]})}}},function(e){e.O(0,[9774,3176,9306,9403,5039,2237,436,2300,5675,4790,408,1974,4596,6515,1075,6,7905,7927,3023,7251,2903,7635,2888,179],function(){return e(e.s=65330)}),_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.