1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6510],{84297:function(e,t,s){"use strict";s.d(t,{Z:function(){return i}});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 l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=(e,t)=>{let s=(0,r.forwardRef)(({color:s="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:a,children:c,...d},u)=>(0,r.createElement)("svg",{ref:u,...n,width:i,height:i,stroke:s,strokeWidth:a?24*Number(o)/Number(i):o,className:`lucide lucide-${l(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 l}});var r=s(85893),n=s(71868);function l(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),l=s(2962),i=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,i.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)(l.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 i}});let l=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 i(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]})],i=null!==(r=n.map(l).find(e=>!!e))&&void 0!==r?r:null;return{id:e.id,name:e.name,imgSrc:i}}},9242:function(e,t,s){"use strict";s.d(t,{R:function(){return j}});var r=s(85893);s(519);var n=s(48227),l=s(74790),i=s(26982),o=s(67761),a=s(59987),c=s(67294),d=s(26628),u=s(97844),m=s(80006),x=s(24398),h=s(5962);let p="grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4";var v=s(13042),f=s(22966),g=s(24805);let j=(0,l.K)({banners:function(e){var t;let{controlProps:s}=e,l=null==s?void 0:s.blockBannersBgColor;return(0,r.jsx)(n.zR,{bgColor:"string"==typeof l&&l?l: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:l,colors:o}=e,a=(0,d.v9)(e=>(0,u.r3)(e)),v=(0,d.v9)(e=>null!==(t=e.menu.menu)&&void 0!==t?t:[]),f=(0,d.v9)(e=>e.menu.menuLoading),g=(0,d.v9)(e=>e.menu._menuCache),j=(0,d.v9)(e=>e.menu.menuError),[w,N]=(0,c.useState)(!1);(0,c.useEffect)(()=>N(!0),[]);let b=a?v:v.filter(e=>{var t;return(null!==(s=null===(t=e.prices)||void 0===t?void 0:t.length)&&void 0!==s?s:0)>0}
1),y=b.map(h.E),k=null==l?void 0:l.title,C=null==l?void 0:l.subtitle;return 0!==y.length||w&&!f&&(a||g||j)?(0,r.jsx)(n.cO,{title:k,subtitle:C,colors:o,children:y.length>0?(0,r.jsx)("div",{className:p,children:y.map(e=>(0,r.jsxs)("a",{href:"/pedir#category-".concat((0,x.$)(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-card-bg",children:e.imgSrc?(0,r.jsx)("img",{src:e.imgSrc,alt:e.name,loading:"lazy",decoding:"async",className:"absolute inset-0 h-full w-full object-cover motion-safe:transition-transform motion-safe:duration-300 motion-safe:group-hover:scale-105"}):(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:i.ZP.t("V2Blocks:noCategories")})})}):(0,r.jsx)(n.cO,{title:k,subtitle:C,colors:o,children:(0,r.jsx)("div",{className:p,children:[1,2,3,4].map(e=>(0,r.jsxs)("div",{className:"overflow-hidden rounded-2xl",children:[(0,r.jsx)(m.Od,{className:"aspect-[4/3] w-full",rounded:"none"}),(0,r.jsx)("div",{className:"!bg-surface p-3",children:(0,r.jsx)(m.Od,{className:"h-4 w-3/4"})})]},e))})})},videoEmbedContent:n.aT,storesCarousel:function(e){let{controlProps:t,colors:s}=e,{stores:l,loading:o}=(0,v.m)(f.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)(m.Od,{className:"h-36 w-full",rounded:"none"}),(0,r.jsxs)("div",{className:"space-y-2 p-4",children:[(0,r.jsx)(m.Od,{className:"h-5 w-2/3"}),(0,r.jsx)(m.Od,{className:"h-4 w-full"})]})]},e))}),!o&&l.length>0&&(0,r.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:l.map(e=>(0,r.jsx)(g.p,{store:e},e.id))}),!o&&0===l.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:i.ZP.t("V2Landing:noStoresAvailable")})})]})},richText:function(e){return(0,r.jsx)(n.he,{...e,backToHomeLabel:i.ZP.t("V2Blocks:backToHome")})}
1,iFrame:function(e){return(0,r.jsx)(n.Ii,{...e,invalidEmbedLabel:i.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),l=s.n(n),i=s(26982),o=s(25675),a=s.n(o),c=s(67294),d=s(60589),u=s(23019);let m=e=>l()(e.replace(/UTC$/,""),"YYYY-MM-DD HH:mm:ss").format("HH:mm");function x(e){var t;let{store:s,onSelect:n}=e,[l,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:i.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:i.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"})]}),i.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"})]}),i.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(!l),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"})]}),l?i.ZP.t("V2StoreCard:hideHours"):i.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(l?"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"})]}),i.ZP.t("V2StoreCard:viewMap")]})]}),l&&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.