1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[57],{82291:function(e,t,r){Promise.resolve().then(r.bind(r,70360))},88997:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(39763).Z)("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]])},83774:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(39763).Z)("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},33145:function(e,t,r){"use strict";r.d(t,{default:function(){return i.a}});var a=r(48461),i=r.n(a)},27648:function(e,t,r){"use strict";r.d(t,{default:function(){return i.a}});var a=r(72972),i=r.n(a)},48461:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getImageProps:function(){return l}});let a=r(47043),i=r(55346),n=r(65878),s=a._(r(5084));function l(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let o=n.Image},70360:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return m}});var a=r(57437),i=r(2265),n=r(35592),s=r(14690),l=r(12381),o=r(88997);let c=(0,r(39763).Z)("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);var d=r(27648);function u(){let[e,t]=(0,i.useState)([]),[r,u]=(0,i.useState)(!0);(0,i.useEffect)(()=>{let e=()=>{t((0,n._l)()),u(!1)};e();let r=t=>{"toddler-vacation-favorites"===t.key&&e()};window.addEventListener("storage",r);let a=()=>{e()};return window.addEventListener("favorites-changed",a),()=>{window.removeEventListener("storage",r),window.removeEventListener("favorites-changed",a)}},[]);let m=e=>({id:e.id,slug:e.slug,hotel_name:e.hotel_name,vacation_type:e.vacation_type,hotel_type:"Hotel",website:"",address:"",city:e.city,region:e.region,country:e.country,nearest_airport:"",nearest_airport_distance:0,price:e.price,tripadvisor_rating:e.tripadvisor_rating,googlemaps_rating:0,bookingsite_rating:0,description:"",hotel_features:[],facilities_activities:[],gear_Available:[],dining:[],safety_access:[],services:[],image_gallery:e.image_gallery||[],active:!0,createdAt:void 0,updatedAt:void 0});return r?(0,a.jsx)("div",{className:"flex items-center justify-center py-12",children:(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-brand-green"})}):0===e.length?(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsx)(o.Z,{className:"h-16 w-16 text-gray-300 mx-auto mb-4"}),(0,a.jsx)("h2",{className:"text-2xl font-semibold text-gray-700 mb-2",children:"No Favorites Yet"}),(0,a.jsx)("p",{className:"text-gray-500 max-w-md mx-auto",children:"Start exploring our amazing family-friendly hotels and click the star icon to save your favorites here."})]}),(0,a.jsx)(l.z,{asChild:!0,className:"bg-[#EADEA0] hover:bg-[#e5d68f] text-black",children:(0,a.jsxs)(d.default,{href:"/#hotels",children:[(0,a.jsx)(c,{className:"mr-2 h-4 w-4"}),"Browse Hotels"]})})]}):(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"mb-6",children:(0,a.jsxs)("p",{className:"text-sm text-gray-600",children:[e.length," hotel",1!==e.length?"s":""," saved"]})}),(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8",children:e.map(e=>(0,a.jsx)(s.HotelCard,{hotel:m(e)},e.id))}),(0,a.jsx)("div",{className:"text-center mt-12",children:(0,a.jsx)(l.z,{asChild:!0,variant:"outline",children:(0,a.jsx)(d.default,{href:"/#hotels",children:"Discover More Hotels"})})})]})}function m(){return(0,a.jsx)("main",{className:"min-h-screen bg-background",children:(0,a.jsxs)("div",{className:"container mx-auto px-4 py-8",children:[(0,a.jsxs)("div",{className:"text-center mb-8",children:[(0,a.jsx)("h1",{className:"text-4xl font-bold text-brand-textDark mb-4",children:"My Favorite Hotels"}),(0,a.jsx)("p",{className:"text-lg text-brand-textMedium max-w-2xl mx-auto",children:"Your curated collection of perfect family-friendly hotels for toddler vacations"})]}),(0,a.jsx)(u,{})]})})}}},function(e){e.O(0,[2972,6137,5878,9723,4690,2971,2117,1744],function(){return e(e.s=82291)}),_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.