1"use strict";(self.webpackChunkturista_provincias=self.webpackChunkturista_provincias||[]).push([[602],{8529:function(e,t,r){var a=r(6540),s=r(9411);t.A=e=>{let{hotel:t}=e;const r=t.portada?`https://turista.me${t.portada}`:"",o=`//jet.turista.com.mx/hotels?hotelId=${t.travelpayoutsid}`;return a.createElement("div",{className:"bg-gray-100 shadow-md w-80 flex flex-col mb-8 transition-transform duration-300 hover:shadow-lg hover:scale-105",itemScope:!0,itemType:"https://schema.org/Hotel"},a.createElement("div",{className:"relative overflow-hidden"},a.createElement("a",{href:o,target:"_blank",rel:"noreferrer"},a.createElement("img",{src:r,alt:t.nombre,className:"w-full h-60 object-cover transition-transform duration-300 hover:scale-110",itemProp:"image"})),a.createElement("div",{className:"absolute top-2 right-2 flex justify-end"},t.rating>0&&a.createElement("div",{className:"bg-white bg-opacity-80 text-yellow-500 p-1 text-lg font-bold"},t.rating,"â "))),a.createElement("div",{className:"flex justify-between p-4"},a.createElement("div",{className:"text-left"},a.createElement("div",{className:"text-lg font-bold",itemProp:"name"},t.nombre),t.cuartos&&a.createElement("p",{className:"text-sm text-gray-700 mt-1"},"Cuartos: ",t.cuartos),t.desc_spanish&&t.desc_spanish.length>200&&a.createElement("p",{className:"text-sm text-gray-400 mt-2",dangerouslySetInnerHTML:{__html:t.desc_spanish.substring(0,200)}})),a.createElement("div",{className:"border-l border-gray-300 pl-4 flex flex-col items-center"},a.createElement(s.A,{type:1}),t.lowestrate>0&&a.createElement("div",{className:"text-center text-green-600 text-lg font-bold mt-2"},a.createElement("span",{className:"block text-sm text-gray-500"},"MXN"),new Intl.NumberFormat("es-MX",{style:"currency",currency:"MXN"}).format(t.lowestrate),a.createElement("span",{className:"block text-sm text-gray-500"},"prom/noche")),a.createElement("a",{href:o,target:"_blank",rel:"noreferrer",className:"bg-yellow-500 text-white rounded-lg px-4 py-2 mt-4 text-xs font-semibold hover:shadow-lg transition-shadow duration-300"},"Reservar Ahora"))),a.createElement("div",{className:"text-center text-gray-500 p-4",itemProp:"address"},t.direccion.substring(0,45)))}},1103:function(e,t,r){var a=r(6540),s=r(8529),o=r(6756);t.A=e=>{let{hoteles:t,perPage:r=12}=e;const{0:l,1:n}=(0,a.useState)(1),{0:c,1:i}=(0,a.useState)(t.slice(0,r*l));return a.createElement("div",{className:"pt-4"},a.createElement("div",{className:"flex flex-wrap justify-around"},c.map((e=>a.createElement(s.A,{key:e.strapi_id,hotel:e})))),c.length<t.length&&a.createElement(o.A,{onClick:()=>{const e=l+1;i(t.slice(0,r*e)),n(e)},title:"Más Hoteles..."}))}},1010:function(e,t,r){r(6540),r(5902)},6756:function(e,t,r){var a=r(6540),s=r(7581),o=r(4941);t.A=e=>{let{title:t,onClick:r}=e;return a.createElement(l,{onClick:r},t)};const l=s.default.div.withConfig({displayName:"ButtonMoreHotels__Wrapper",componentId:"sc-vbz1q7-0"})(["margin:1rem auto 2rem !important;background:red;width:50%;text-align:center;border:1px solid ",";color:",";font-size:1.5rem;border-radius:50px;box-shadow:var(--light-shadow);padding:1rem;background:var(--clr-white);transition:var(--transition);@media ","{width:25%;}:hover{cursor:pointer;background:",";box-shadow:var(--dark-shadow);color:",";}"],(e=>e.theme.colors.primary5),(e=>e.theme.colors.primary8),o.A.lg,(e=>e.theme.colors.primary5),(e=>e.theme.colors.primary10))},1770:function(e,t,r){var a=r(6540),s=r(4794);t.A=()=>a.createElement(s.Script,{src:"//js-na1.hs-scripts.com/22470940.js"})},8726:function(e,t,r){r.r(t);var a=r(6540),s=r(9569),o=(r(4794),r(7620),r(3861),r(1805),r(1103),r(6347),r(9907),r(1778)),l=r(6168);r(1010),r(1770);t.default=()=>a.createElement(s.A,{linkExterno:"/hoteles",footerList1:o.A,footerList2:l.A},"Location Valorados")}}]); 2//# sourceMappingURL=component---src-templates-hoteles-locations-valorados-template-js-32221cdcff0948fdd313.js.map
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.