PageSourceSearch

https://www.auparkpiestany.sk/_next/static/chunks/pages/foodfinder-f1e192c650216d05.js

js auparkpiestany.sk collected 2026-10-06 17:54:33 UTC 8,589 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5630],{72558:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/foodfinder",function(){return c(52302)}])},52302:function(e,b,a){"use strict";a.r(b),a.d(b,{"__N_SSP":function(){return t},"default":function(){return u}});var f=a(85893),c=a(67294);let d=c.forwardRef(function(a,b){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:b},a),c.createElement("path",{fillRule:"evenodd",d:"M15.707 4.293a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-5-5a1 1 0 011.414-1.414L10 8.586l4.293-4.293a1 1 0 011.414 0zm0 6a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-5-5a1 1 0 111.414-1.414L10 14.586l4.293-4.293a1 1 0 011.414 0z",clipRule:"evenodd"}))});var g=d,h=a(11163),i=a(559),j=a(20141),k=a(27044),l=function(b){var d=b.media,c=b.mobileMedia,e=b.className,g=b.priority,h=(0,j.o)().mobile,i=Boolean(h&&c),a=i?c:d;return a?(0,f.jsx)("div",{className:"relative overflow-hidden min-h-[210px] h-[calc(100vw*0.4)] max-h-[800px] ".concat(e||""),children:(0,f.jsx)(k.Z,{url:null==a?void 0:a.hash,ext:null==a?void 0:a.ext,alt:null==a?void 0:a.alternativeText,className:"w-full h-full object-cover",priority:g})}):(0,f.jsx)("div",{})},m=a(11250),n=a(1968),o=a(37901),p=function(a){var b=a.dishes,e=a.selectedId,g=a.onSelect,d=a.bgColor,h=a.activeBgColor,i=(0,c.useRef)([]),j=function(c){var a,d=i.current[c];null==d||d.focus(),g(null===(a=b[c])|| void 0===a?void 0:a.id)},k=function(a,c){"ArrowDown"===a.key&&(a.preventDefault(),j((c+1)%b.length)),"ArrowUp"===a.key&&(a.preventDefault(),j((c-1+b.length)%b.length)),"Home"===a.key&&(a.preventDefault(),j(0)),"End"===a.key&&(a.preventDefault(),j(b.length-1))};return(0,f.jsx)("ul",{role:"listbox","aria-label":"dishes",style:{backgroundColor:d||"transparent"},className:"list-none w-full max-w-600 max-h-600 overflow-y-auto overflow-x-hidden rounded-lg border border-black-500 py-1 shadow-tenantLogoShadow",children:null==b?void 0:b.map(function(a,c){var b=(null==a?void 0:a.documentId)===e;return(0,f.jsxs)("li",{ref:function(a){i.current[c]=a},role:"option","aria-selected":b,tabIndex:b?0:-1,onClick:function(){return g(null==a?void 0:a.documentId)},onKeyDown:function(a){return k(a,c)},style:b?{backgroundColor:h||"transparent"}:void 0,className:"flex cursor-pointer items-center gap-2 px-6 py-1.5 text-base text-primaryBlack transition-colors duration-200 ease-in focus:outline-none ".concat(b?"font-semibold":"hover:opacity-70"),children:[(0,f.jsx)(o.Z,{"aria-hidden":"true",className:"h-4 w-4 shrink-0 ".concat(b?"visible":"invisible")}),null==a?void 0:a.name]},null==a?void 0:a.documentId)})})},q=a(60432),r=a(7371),s=function(E){var o,s,t,u,v,w,x,y,z,A,b=E.props,B=null==b?void 0:b.t,H=(0,h.useRouter)(),a=null==b?void 0:null===(o=b.foodCourt)|| void 0===o?void 0:o.data,d=(null==b?void 0:null===(s=b.dishes)|| void 0===s?void 0:null===(t=s.dishesData)|| void 0===t?void 0:t.data)||[],C=(0,c.useState)(null==d?void 0:null===(u=d[0])|| void 0===u?void 0:u.documentId),F=C[0],G=C[1],D=null==d?void 0:d.find(function(a){return(null==a?void 0:a.documentId)===F}),j=null==D?void 0:D.tenants,e=(null==a?void 0:a.seo)||(null==b?void 0:null===(v=b.staticData)|| void 0===v?void 0:null===(w=v.seoData)|| void 0===w?void 0:w.seo),k=null==b?void 0:null===(x=b.staticData)|| void 0===x?void 0:null===(y=x.menuData)|| void 0===y?void 0:y.find(function(a){return null==a?void 0:a.displayInFoodFinder});return(0,f.jsxs)("section",{className:"relative flex flex-col",children:[(0,f.jsx)(m.Z,{title:null==e?void 0:e.metaTitle,description:null==e?void 0:e.description,keywords:null==e?void 0:e.keywords,frontEndUrl:null==b?void 0:b.frontEndUrl}),(0,f.jsx)("div",{className:"w-full px-4 md:px-12 py-8",children:(0,f.jsxs)("div",{className:"mx-auto flex w-full max-w-7xl flex-col gap-6",children:[(0,f.jsxs)("div",{className:"flex flex-row items-center",children:[(0,f.jsx)(i.Z,{name:B("home"),href:q.ft,className:"text-sm font-light text-gray.100"}),(0,f.jsx)("p",{className:"px-4.5 text-sm font-light text-gray.100",children:">"}),(0,f.jsx)(i.Z,{name:null==a?void 0:a.title,href:B("url./foodfinder"),className:"text-sm font-light text-gray.300 line-clamp-1"})]}),(0,f.jsx)(l,{media:null==b?void 0:null===(z=b.foodCourt)|| void 0===z?void 0:null===(A=z.data)|| void 0===A?void 0:A.media,priority:!0})]})}),(0,f.jsx)("div",{className:"w-full px-4 md:px-12",children:(0,f.jsxs)("div",{className:"relative mx-auto flex w-full max-w-7xl flex-col gap-4 py-12 min-h-300",style:{backgroundColor:(null==a?void 0:a.descriptionBgColor)||"transparent"},children:[(null==a?void 0:a.title)&&(0,f.jsx)("h1",{className:"text-center text-3xl font-light",children:null==a?void 0:a.title}),(null==a?void 0:a.description)&&(0,f.jsx)("div",{id:"strapi-editor",className:"text-sm md:text-base",dangerouslySetInnerHTML:{__html:null==a?void 0:a.description}}),(null==d?void 0:d.length)>0&&(0,f.jsx)("button",{type:"button","aria-label":"View dishes",className:"absolute bottom-0 left-1/2 z-10 -translate-x-1/2 translate-y-1/2 roun
1ded-full p-3 text-primaryBlack transition-opacity duration-200 ease-in hover:opacity-70 focus:outline-none focus-visible:ring-2 focus-visible:ring-primaryBlack focus-visible:ring-offset-2",style:{backgroundColor:(null==a?void 0:a.descriptionBgColor)||"transparent"},onClick:function(){var a;null===(a=document.getElementById("dishes-list"))|| void 0===a||a.scrollIntoView({behavior:"smooth",block:"center"})},children:(0,f.jsx)(g,{"aria-hidden":"true",className:"h-8 w-8"})})]})}),(null==d?void 0:d.length)>0&&(0,f.jsx)("div",{id:"dishes-list",className:"w-full px-4 md:px-12",children:(0,f.jsx)("div",{className:"mx-auto flex w-full max-w-7xl flex-col items-center py-12 min-h-300",style:{backgroundColor:(null==a?void 0:a.dishesBgColor)||"transparent"},children:(0,f.jsx)(p,{dishes:d,selectedId:F,onSelect:G,bgColor:null==a?void 0:a.dishesListBgColor,activeBgColor:null==a?void 0:a.dishesListActiveBgColor})})}),(null==j?void 0:j.length)>0&&(0,f.jsxs)("div",{className:"w-full px-4 md:px-12 py-12",children:[(0,f.jsx)("ul",{className:"mx-auto list-none flex flex-wrap justify-center w-full max-w-7xl",children:null==j?void 0:j.map(function(a){var b,c,d,e,g=null==a?void 0:null===(b=a.menu_category)|| void 0===b?void 0:b.categorySlug,h=null==a?void 0:null===(c=a.menu_sub_category)|| void 0===c?void 0:c.subCategorySlug;return(0,f.jsx)("li",{className:"p-4 w-1/2 md:w-1/4 lg:w-1/6",children:(0,f.jsx)(n.Z,{tenantName:null==a?void 0:a.name,href:(0,r.NM)(g,null==a?void 0:a.slug,h,(0,r.je)(a),null==H?void 0:H.locale),hash:null==a?void 0:null===(d=a.logo)|| void 0===d?void 0:d.hash,ext:null==a?void 0:null===(e=a.logo)|| void 0===e?void 0:e.ext})},null==a?void 0:a.id)})}),(null==a?void 0:a.ctaLabel)&&(null==k?void 0:k.categorySlug)&&(0,f.jsx)("div",{className:"flex justify-center pt-8",children:(0,f.jsx)("a",{href:"".concat(B("url./tenants"),"/").concat(null==k?void 0:k.categorySlug),target:"_blank",rel:"noopener noreferrer",className:"w-fit border border-gray.200 font-semibold ease-in duration-200 p-3 px-6 hover:bg-black hover:text-white",children:null==a?void 0:a.ctaLabel})})]})]})},t=!0,u=function(a){return(0,f.jsx)(s,{props:a})}},559:function(d,b,a){"use strict";var e=a(85893),c=a(41664),f=a.n(c);b.Z=function(a){var b=a.href,c=a.name,d=a.className;return(0,e.jsx)(f(),{href:b,passHref:!0,children:(0,e.jsx)("a",{className:"".concat(d," whitespace-nowrap"),children:c})})}},11250:function(c,b,a){"use strict";var d=a(85893),e=a(2962),f=a(7371);b.Z=function(a){var b=a.title,c=a.description,g=a.keywords,h=a.frontEndUrl;return b&&(0,d.jsx)(e.PB,{title:(0,f.zb)(b),description:(0,f.zb)(c),openGraph:{title:"".concat((0,f.zb)(b)),description:"".concat((0,f.zb)(c)),url:"".concat((0,f.zb)(h)),type:"website",locale:(0,f.zb)("sk-SK"),images:[]},additionalMetaTags:[{name:"keywords",content:g},]})}},37901:function(e,a,b){"use strict";var c=b(67294);let d=c.forwardRef(function(a,b){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:b},a),c.createElement("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}))});a.Z=d}},function(a){a.O(0,[2962,9774,2888,179],function(){return a(a.s=72558)}),_N_E=a.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.