PageSourceSearch

https://visitametllademar-com.vercel.app/_next/static/chunks/pages/lametlla/where-to-eat-6b3d47877b6a8406.js

js visitametllademar-com.vercel.app collected 2026-10-03 08:02:28 UTC 12,999 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6160],{55062:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var a=l(void 0);if(a&&a.has(e))return a.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&({}).hasOwnProperty.call(e,s)){var i=o?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(r,s,i):r[s]=e[s]}return r.default=e,a&&a.set(e,r),r}(a(29873));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(l=function(e){return e?a:t})(e)}function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function s(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?o(Object(a),!0).forEach(function(t){var r,l;r=t,l=a[t],(r=function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,t||"default");if("object"!=n(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(r))in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}t.default=function(e){var t={};return(t=s(s({},{integration:"segment",topHeight:"150",btnColor:"#3a7c9e",showCurtain:"true",showButtons:"false",viewMapText:"VER MAPA",parenturiprefix:"bwidget:",ignoreBottomContent:"true",embedurl:!1,embedmainuri:!1,mapScrollwheel:"false",onFocus:"",onFocusOut:""}),e)).embedurl||alert("bWidget error: no mapUrl definded"),t.embedmainuri||alert("bWidget error: no URI definded"),(0,r.useEffect)(function(){var e="text/javascript";if(!document.getElementById(e)){a='<div\n                id="bWidgetMap"\n                integration="'.concat(t.integration,'"\n                topHeight="').concat(t.topHeight,"\" \n                btnColor='").concat(t.btnColor,"'\n                showCurtain=\"").concat(t.showCurtain,'"\n                showButtons="').concat(t.showButtons,'"\n                viewMapText="').concat(t.viewMapText,'"\n                parenturiprefix="').concat(t.parenturiprefix,'"\n                ignoreBottomContent="').concat(t.ignoreBottomContent,'"\n                embedurl="').concat(t.embedurl,'"\n                embedmainuri="').concat(t.embedmainuri,'"\n                mapScrollwheel="').concat(t.mapScrollwheel,'"\n                onFocus="').concat(t.onFocus,'"\n                onFocusOut="').concat(t.onFocusOut,'"\n            ></div>'),(r=document.querySelector(".bwContMap"))&&r.insertAdjacentHTML("afterend",a);var a,r,l=document.createElement("script");return l.id=e,l.src=t.embedurl+"/embed.js",l.async=!0,l.onload=function(){window.boldest.MapIframeCom.initialize(),window.boldest.MapIframe.initialize(),window.boldest.PageIframe.initialize(),console.log("embed.js loaded")},document.body.appendChild(l),function(){l.parentNode&&l.parentNode.removeChild(l)}}},[]),r.default.createElement("div",{className:"bwContMap"})}},8825:function(e,t,a){"use strict";t.ZP=void 0;var r,l=(r=a(55062))&&r.__esModule?r:{default:r};t.ZP=l.default},59182:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/lametlla/where-to-eat",function(){return a(41010)}])},26191:function(e,t,a){"use strict";var r=a(3116),l=a(38043),n=a(60590);let o={container:"flex items-center content-wrapper",link:e=>"text-sm font-medium ".concat(e?"!text-slate-400 link ":"!text-slate-500")};t.Z=e=>{let{items:t,className:a=""}=e;return(0,r.jsx)(r.Fragment,{children:(null==t?void 0:t.length)>0&&(0,r.jsx)("section",{className:"".concat(a),children:(0,r.jsx)("div",{className:o.container,children:t.map((e,a)=>(0,r.jsxs)("div",{children:[(0,r.jsxs)(n.default,{href:e.href,className:o.link(a!==t.length-1),children:[0===a&&(0,r.jsx)(l.xng,{className:"mr-3 hidden h-4 w-4 text-slate-400 xl:inline"}),(0,r.jsx)("span",{children:e.title})]}),a!==t.length-1&&(0,r.jsx)("span",{className:"px-3 opacity-50",children:"\xbb"})]},e.href))})})})}},97351:function(e,t,a){"use strict";var r=a(3116),l=a(15361),n=a(45541),o=a(25932);let s={h1:"text-white font-bold text-4xl md:text-6xl lg:text-8xl uppercase text-center drop-shadow-xl line-clamp-3 text-balance",h2:"text-white text-2xl md:text-3xl lg:text-5xl mt-2 text-center drop-shadow-md line-clamp-3 text-balance"};t.Z=e=>{let{title:t,subtitle:a,portraitImage:i,placeholderPortraitImage:c,landscapeImage:d,placeholderL
1andscapeImage:u,imageTitle:m,children:p,height:h="h-screen",sizes:f}=e,_=(0,l.ac)({orientation:"portrait"});return(0,r.jsxs)("div",{className:"".concat(h," relative overflow-hidden bg-slate-400"),children:[(0,r.jsx)(n.Z,{children:(i||d)&&(0,r.jsx)(o.default,{src:_?i||d||"":d||i||"",...f&&{sizes:f},layout:"fill",alt:m,className:"z-[1] h-full w-full object-cover",placeholder:"blur",blurDataURL:_?c||u:u||c})}),(0,r.jsx)("div",{className:"absolute z-[2] h-full w-full bg-gradient-to-b from-black/60 via-transparent to-black/50 backdrop-blur"}),(0,r.jsx)("div",{className:"absolute z-[3] flex h-full w-full flex-col",children:(0,r.jsx)("div",{className:"content-wrapper mx-auto my-auto",children:p||(0,r.jsxs)(r.Fragment,{children:[t&&(0,r.jsx)("h1",{className:s.h1,children:t}),a&&(0,r.jsx)("h2",{className:s.h2,children:a})]})})}),m&&(0,r.jsx)("div",{className:"absolute bottom-5 left-0 z-[3] w-full",children:(0,r.jsx)("div",{className:"content-wrapper flex items-center justify-between text-white text-opacity-90",children:(0,r.jsx)("div",{className:"ml-auto text-[11px]",children:m})})})]})}},41010:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return f}});var r=a(3116),l=a(29873),n=a(8825),o=a(63464),s=a(51794),i=a(60590),c=a(26191),d=a(25932),u=a(97351),m=a(66376);let p=e=>{let{image:t,blurDataURL:a,title:n,href:o,className:s,icon:c,iconColor:u="text-slate-100 border-slate-100"}=e,[m,p]=(0,l.useState)(!1);return(0,r.jsx)("div",{className:s,onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:(0,r.jsxs)(i.default,{href:o,title:n,"aria-label":n,children:[(0,r.jsx)(d.default,{src:t,blurDataURL:a,placeholder:"blur",layout:"fill",objectFit:"cover",alt:n,sizes:"1024px",className:"z-[2] rounded-sm duration-300 ".concat(m?"blur-sm sepia":"blur-0 sepia-0")}),c&&(0,r.jsx)("div",{className:h.iconContainer,children:(0,r.jsx)("div",{className:h.iconStyle,children:(0,r.jsx)(c,{className:"h-12 w-12 rounded-full border-2 p-2 shadow ".concat(u)})})}),(0,r.jsx)("div",{className:h.textContainer,children:(0,r.jsx)("div",{className:h.textStyle,children:n})})]})})},h={textContainer:"z-[3] absolute w-full h-full",textStyle:"absolute bottom-5 left-5 py-[3px] px-5 bg-black/60 rounded-md text-slate-200 text-sm backdrop-blur font-semibold",iconContainer:"z-[3] absolute w-full h-full",iconStyle:"absolute top-5 right-5"};var f=!0;t.default=()=>{let{t:e,lang:t}=(0,o.Z)(),a="ca"===t||"en"===t?{image:"https://dijuekjydjl9m.cloudfront.net/Ametlla_Mar_Gastromapa_2026_CAT_ENG_1_fca64bde3d.jpg",pdf:"https://dijuekjydjl9m.cloudfront.net/Ametlla_Mar_Gastromapa_2026_CAT_ENG_cafc4799ae.pdf"}:{image:"https://dijuekjydjl9m.cloudfront.net/Ametlla_Mar_Gastromapa_2026_ESP_FRA_1_2ea9d5c400.jpg",pdf:"https://dijuekjydjl9m.cloudfront.net/Ametlla_Mar_Gastromapa_2026_ESP_FRA_be38f7aace.pdf"};return(0,r.jsx)(m.Z,{title:e("where-to-eat:title"),children:(0,r.jsxs)(s.pT,{triggerOnce:!0,children:[(0,r.jsx)(u.Z,{portraitImage:"https://dijuekjydjl9m.cloudfront.net/large_on_menjar_27f7a4401e.jpg",placeholderPortraitImage:"https://dijuekjydjl9m.cloudfront.net/thumbnail_on_menjar_27f7a4401e.jpg",title:e("where-to-eat:title"),subtitle:e("where-to-eat:subtitle"),imageTitle:e("where-to-eat:imageTitle")}),(0,r.jsx)(c.Z,{className:"bg-slate-50 py-5",items:[{title:e("breadcrumb:home"),href:"/"},{title:e("header:navOptionTourism"),href:"/tourism"},{title:e("where-to-eat:title"),href:"/lametlla/where-to-eat"}]}),(0,r.jsx)("section",{className:"bg-white py-20",children:(0,r.jsxs)("div",{className:"content-wrapper",children:[(0,r.jsx)("h1",{className:"font-bold uppercase text-primary",children:e("where-to-eat:subtitle")}),(0,r.jsx)("h2",{className:"mt-1 text-3xl font-bold text-gray-500 lg:text-4xl",children:e("where-to-eat:title")}),(0,r.jsxs)("div",{className:"mt-10 grid grid-cols-1 gap-1 overflow-hidden rounded md:grid-cols-3",children:[(0,r.jsx)(p,{className:"aspect-h-1 aspect-w-1 bg-slate-100 md:aspect-h-9 md:aspect-w-16",image:"https://dijuekjydjl9m.cloudfront.net/large_spanish_paella_and_wine_2022_08_01_01_54_14_utc_0d74b5909c.jpg",blurDataURL:"https://dijuekjydjl9m.cloudfront.net/thumbnail_spanish_paella_and_wine_2022_08_01_01_54_14_utc_0d74b5909c.jpg",title:e("where-to-eat:restaurants"),href:e("where-to-eat:restaurantsHref")}),(0,r.jsx)(p,{className:"aspect-h-1 aspect-w-1 bg-slate-100 md:aspect-h-9 md:aspect-w-16 md:col-span-2",image:"https://dijuekjydjl9m.cloudfront.net/large_decorating_hot_pizza_with_herbs_2022_08_18_18_46_01_utc_9626f8415e.jpg",blurDataURL:"https://dijuekjydjl9m.cloudfront.net/thumbnail_decorating_hot_pizza_with_herbs_2022_08_18_18_46_01_utc_9626f8415e.jpg",title:e("where-to-eat:pizzerias"),href:e("where-to-eat:pizzeriasHref")}),(0,r.jsx)(p,{className:"aspect-h-1 aspect-w-1 bg-slate-100 md:aspect-h-9 md:aspect-w-16 md:col-span-2",image:"https://dijuekjydjl9m.cloudfront.net/large_set_of_traditional_japanese_sushi_and_rolls_with_m_2021_08_30_03_53_03_utc_0b6f838bf1.jpg",blurDataURL:"https://dijuekjydjl9m.cloudfront.net/thumbnail_set_of_traditional_japanese_sushi_and_rolls_with_m_2021_08_30_03_53_03_utc_0b6f838bf1.jpg",title:e("where-to-eat:takeAway"),href:e("where-to-eat:takeAwayHref")}),(0,r.jsx)(p,{className:"aspect-h-1 aspect-w-1 bg-slate-100 md:aspect-h-9 md:aspect-w-16",image:"https://dijuekjydjl9m.cloudfront.net/large_L_ANCLA_57d92ffb58.jpg",blurDataURL:"https://dijuekjydjl9m.cloudfront.net/thumbnail_L_ANCLA_57d92ffb58.jpg",title:e("where-to-eat:tapas"),href:e("where-to-eat:tapasHref")}),(0,r.jsx)(p,{className:"aspect-h-1 aspect-w-1 bg-slate-100 md:aspect-h-9 md:aspect-w-16",image:"https://dijuekjydjl9m.cloudfront.net/large_ice_cream_cone_2021_09_01_15_21_36_utc_a551ef35ce.jpg",blurDataURL:"https://dijuekjydjl9m.cloudfront.net/thumbnail_ice_cream_cone_2021_09_01_15_21_36_utc_a551ef35ce.jpg",title:e("where-to-eat:iceCreams"),href:e("where-to-eat:iceCreamsHref")}),(0,r.jsx)(p,{className:"aspect-h-1 aspect-w-1 bg-slate-100 md:aspect-h-9 md:aspect-w-16 md:col-span-2",image:"https://dijuekjydjl9m.cloudfront.net/large_home_bakery_2022_03_05_18_17_39_utc_f43671c772.jpg",blurDataURL:"https://dijuekjydjl9m.cloudfront.net/thumbnail_home_bakery_2022_03_05_18_17_39_utc_f43671c772.jpg",title:e("where-to-eat:bakeries"),href:e("where-to-eat:bakeriesHref")})]})]})}),(0,r.jsx)("section",{className:"bg-slate-50 py-20",children:(0,r.jsxs)("div",{className:"content-wrapper space-y-5",children:[(0,r.jsx)("h1",{className:"font-bold uppercase text-primary",children:e("where-to-eat:boldestSubtitle")}),(0,r.jsx)("h2",{className:"mt-1 text-3xl font-bold text-gray-500 lg:text-4xl",children:e("where-to-eat:boldestTitle")}),(0,r.jsx)("div",{className:"mt-10 h-[90vh] rounded-md bg-white shadow-md",children:(0,r.jsx)("div",{className:"h-[90vh] rounded-md",children:(0,r.jsx)(n.ZP,{embedurl:"https://maps.visitametllademar.com",embedmainuri:e("where-to-eat:boldestEmbedURI"),integration:"segment",btnColor:"#000000"})})})]})}),(0,r.jsx)("section",{className:"bg-white py-20",children:(0,r.jsxs)("div",{className:"content-wrapper space-y-5",children:[(0,r.jsx)("h1",{className:"font-bold uppercase text-primary",children:e("where-to-eat:gastroMapTitle")}),(0,r.jsx)("h2",{className:"mt-1 text-3xl font-bold text-gray-500 lg:text-4xl",children:e("where-to-eat:gastroMapSubtitle")}),(0,r.jsx)("div",{className:"mt-10 overflow-hidden rounded-md bg-slate-100 shadow-md",children:(0,r.jsx)("a",{href:a.pdf,target:"_blank",rel:"noreferrer noopener","aria-label":e("where-to-eat:gastroMapTitle"),className:"block",children:(0,r.jsx)("div",{className:"aspect-h-9 aspect-w-16 border border-gray-100/70",children:(0,r.jsx)(d.default,{src:a.image,alt:e("where-to-eat:gastroMapTitle"),layout:"fill",objectFit:"cover",sizes:"1024px"})})})})]})})]})})}}},function(e){e.O(0,[9317,4738,3365,6660,594,6517,4705,641,6076,6376,2888,9774,179],function(){return e(e.s=59182)}),_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.