PageSourceSearch

https://livvohotels.com/assets/ArticleDetail-CW50fclK.js

js livvohotels.com collected 2026-10-07 01:12:08 UTC 6,912 bytes, 1 lines download raw bytes

1import{j as e,e as j,L as h}from"./vendor-react-CSHlmkj7.js";import{a as b,c as y,l as v,P as N,R as g}from"./index-BrW3Td6n.js";import{S as w}from"./SEO-B3-LGTgi.js";import{A}from"./ArticleFAQ-CxUB_wWH.js";import{g as f}from"./_shared-SMqKAbR3.js";import{H as k}from"./vendor-helmet-Bsdq5e-_.js";import{F as $}from"./FAQSchema-DA6pl9h0.js";import{B as z}from"./BreadcrumbSchema-BWdVyDvh.js";import"./image-manifest-DsfrD6sQ.js";const V={ene:"01",feb:"02",mar:"03",abr:"04",may:"05",jun:"06",jul:"07",ago:"08",sep:"09",oct:"10",nov:"11",dic:"12"};function x(t){if(!t)return;if(/^\d{4}-\d{2}-\d{2}/.test(t))return t;const r=/^(\d{1,2})\s+([A-Za-zÁ-úñ]+)\.?\s+(\d{4})$/.exec(t.trim());if(!r)return;const i=V[r[2].slice(0,3).toLowerCase()];return i?`${r[3]}-${i}-${r[1].padStart(2,"0")}`:void 0}function S(t,r="es"){if(!t)return null;const i=new Date(`${t}T12:00:00Z`);return isNaN(i)?null:i.toLocaleDateString(r,{day:"numeric",month:"long",year:"numeric"})}function O({article:t,baseUrl:r="https://livvohotels.com"}){var o;if(!t)return null;const i=(o=t.image)!=null&&o.startsWith("http")?t.image:`${r}${t.image||""}`,a={"@context":"https://schema.org","@type":"Article",headline:t.title,description:t.excerpt||t.description,image:i,datePublished:x(t.publishedAt||t.date),dateModified:x(t.updatedAt||t.publishedAt||t.date),author:{"@type":t.authorType==="Person"?"Person":"Organization",name:t.author||"Equipo LIVVO",...t.authorType==="Person"?{}:{url:`${r}/conoce-livvo`}},publisher:{"@type":"Organization",name:"LIVVO Hotels",logo:{"@type":"ImageObject",url:`${r}/images/brand/livvo-logo.webp`}},mainEntityOfPage:{"@type":"WebPage","@id":`${r}/experiencias/${t.id}`},...t.category&&{articleSection:t.category}};return e.jsx(k,{children:e.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)})})}function B(){const{t,i18n:r}=b(),{id:i}=j(),a=f(i),o=y();if(!a)return e.jsxs("div",{className:"pt-32 pb-20 text-center",children:[e.jsx("h1",{className:"text-3xl font-bold text-dark dark:text-white mb-4",children:t("magazine.notFoundTitle")}),e.jsxs(h,{to:"/experiencias",className:"text-primary font-medium inline-flex items-center gap-1.5",children:[e.jsx(v,{})," ",t("magazine.backToMagazine")]})]});const p=(a.relatedArticles||[]).map(f).filter(s=>s&&!s.hidden),u=t(`magazineArticles.${a.id}.faq`,{returnObjects:!0,defaultValue:a.faq||[]}),c=Array.isArray(u)?u:a.faq||[];return e.jsxs(e.Fragment,{children:[e.jsx(w,{title:t(`magazineArticles.${a.id}.title`,{defaultValue:a.title}),description:t(`magazineArticles.${a.id}.excerpt`,{defaultValue:a.excerpt}),image:a.image,path:`/experiencias/${a.id}`}),e.jsx(O,{article:a}),e.jsx($,{faqs:c}),e.jsx(z,{items:[{name:"Inicio",url:"https://livvohotels.com/"},{name:"Experiencias",url:"https://livvohotels.com/experiencias"},{name:t(`magazineArticles.${a.id}.title`,{defaultValue:a.title}),url:`https://livvohotels.com/experiencias/${a.id}`}]}),e.jsx(N,{title:t(`magazineArticles.${a.id}.title`,{defaultValue:a.title}),image:a.image,compact:!0}),e.jsxs("section",{ref:o,className:"py-14 lg:py-20 px-6 lg:px-12 xl:px-24",children:[e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsxs("div",{className:"fade-up flex flex-wrap items-center gap-4 text-sm text-apple-gray mb-12 pb-8 border-b border-stone-200 dark:border-white/10",children:[e.jsx("span",{className:"bg-primary/10 text-teal-800 dark:text-teal-300 font-semibold px-3 py-1 rounded-full text-xs uppercase tracking-wider",children:t(`magazineCategories.${a.category}`,{defaultValue:a.category})}),a.author&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"·"}),e.jsx("span",{children:t(`magazineAuthors.${a.author}`,{defaultValue:a.author})})]}),(()=>{const s=x(a.publishedAt||a.date),m=S(s,r.language);return m?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"·"}),e.jsx("time",{dateTime:s,children:m})]}):null})()]}),e.jsx("div",{className:"fade-up",children:(()=>{const s=t(`magazineArticles.${a.id}.content`,{returnObjects:!0,defaultValue:a.content});return(Array.isArray(s)?s:a.content).map((n,l)=>{const d=a.content[l];switch(n.type||(d==null?void 0:d.type)){case"paragraph":return e.jsx("p",{className:"text-dark dark:text-white/85 text-[17px] leading-[1.8] mb-6 text-justify",children:n.text},l);case"heading":return e.jsx("h2",{className:"text-2xl font-bold text-dark dark:text-white mt-10 mb-4",children:n.text},l);case"image":return e.jsxs("figure",{className:"my-10",children:[e.jsx("div",{className:"rounded-2xl overflow-hidden",children:e.jsx(g,{src:(d==null?void 0:d.src)||n.src,alt:n.caption||"",sizes:"(max-width: 768px) 100vw, 768px",className:"w-full object-cover"})}),n.caption&&e.jsx("figcaption",{className:"text-apple-gray text-sm mt-3 text-center italic",children:n.caption})]},l);case"tip":return e.jsx("div",{className:"bg-[#0f766e]/10 dark:bg-[#0f766e]/15 rounded-xl px-5 py-4 my-8",children:e.jsx("p",{className:"text-teal-800 dark:text-teal-300 text-sm leading-relaxed",children:n.text})},l);case"quote":return e.jsx("blockquote",{className:"border-l-4 border-primary/40 pl-6 my-10",children:e.jsx("p",{className:"text-dark dark:text-white/90 text-base italic leading-relaxed",children:n.text})},l);default:return null}})})()})]}),c.length>0&&e.jsx("div",{className:"max-w-3xl mx-auto mt-16 pt-12 border-t border-stone-200 dark:border-white/10",children:e.jsx(A,{faqs:c})}),p.length>0&&e.jsxs("div",{className:"max-w-container mx-auto mt-20 pt-16 border-t border-stone-200 dark:border-white/10",children:[e.jsx("h3",{className:"fade-up text-2xl font-bold text-dark dark:text-white mb-10",children:t("magazine.relatedArticles")}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-10",children:p.map(s=>e.jsxs(h,{to:`/experiencias/${s.id}`,className:"group block",children:[e.jsx("h4",{className:"md:hidden text-dark dark:text-white text-lg font-bold mb-3 group-hover:text-primary transition-colors leading-snug",children:t(`magazineArticles.${s.id}.title`,{defaultValue:s.title})}),e.jsxs("div",{className:"relative rounded-2xl overflow-hidden aspect-[16/10] mb-4",children:[e.jsx(g,{src:s.image,alt:s.title,sizes:"(max-width: 768px) 100vw, 50vw",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{className:"absolute top-3 left-3",children:e.jsx("span",{className:"bg-white/90 dark:bg-black/70 backdrop-blur-sm text-dark dark:text-white text-[10px] font-semibold px-2.5 py-1 rounded-full uppercase tracking-wider",children:t(`magazineCategories.${s.category}`,{defaultValue:s.category})})})]}),e.jsx("h4",{className:"hidden md:block text-dark dark:text-white text-lg font-bold hover:text-primary transition-colors leading-snug",children:t(`magazineArticles.${s.id}.title`,{defaultValue:s.title})}),e.jsx("p",{className:"text-apple-gray text-sm mt-1 line-clamp-2",children:t(`magazineArticles.${s.id}.excerpt`,{defaultValue:s.excerpt})})]},s.id))})]})]})]})}export{B as default};

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.