PageSourceSearch

https://fliinow.lovable.app/assets/GuiaArticle-B1JQle9NQY9RtInx.js

js fliinow.lovable.app collected 2026-10-03 03:32:43 UTC 8,920 bytes, 1 lines download raw bytes

1import{j as e}from"./motion-BXMbisxF3b7h-eCz.js";import{A as N,z as l,C as m,M as y,H as v}from"./index-DwLEoHqM0ED38Iom.js";import{f as w,N as g,L as c}from"./vendor-CONNRYFIYeFaX8u8.js";import{H as L,F as $}from"./Footer-DAAmrWjMHoC14Fzl.js";import{g as A,a as k,G as C}from"./guides-DrGkawYwAZ919HHx.js";import{A as T}from"./arrow-left-DEjhapQk0riHJb2Q.js";import{C as E}from"./clock-Raara3M63NC99pgx.js";import{C as F}from"./check-CSo30FEltGlArG4q.js";import{A as O}from"./arrow-right-Bxa5bTm2Yc_v6cXb.js";import"./supabase-B3afcQ_3DNuFLY69.js";import"./i18n-ChatSmLzsr-zRcAW.js";import"./logo-fMJBlMZuojKmjlQz.js";import"./index-Bvm1eKqvk2RjPFPz.js";import"./index-Bqszrat7tHs1ys0H.js";import"./phone-YHPj4y6ill78F8b-.js";import"./external-link-DB7rS_l3-QXF-zu5.js";const h=n=>n.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,""),I={es:"Calcula tu cuota en el simulador",en:"Calculate your instalment in the simulator",fr:"Calcule ta mensualité dans le simulateur",pt:"Calcula a tua parcela no simulador"},K=()=>{const{lang:n,slug:u}=w();if(!n||!N.includes(n))return e.jsx(g,{to:"/es/guias",replace:!0});const r=n,i=u?A(u):void 0;if(!i)return e.jsx(g,{to:`/${r}/guias`,replace:!0});const t=i.content[r],d=C[r],o=`${l}/${r}/guias/${i.slug}/`,f=k.filter(a=>a.slug!==i.slug),j={"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":`${o}#webpage`,url:o,name:t.title,description:t.lead,inLanguage:m[r],isPartOf:{"@type":"WebSite",name:"Fliinow",url:l}},{"@type":"Article","@id":`${o}#article`,headline:t.title,description:t.lead,inLanguage:m[r],image:y,datePublished:i.updated,dateModified:i.updated,mainEntityOfPage:{"@id":`${o}#webpage`},author:{"@type":"Organization",name:"Fliinow",url:l},publisher:{"@type":"Organization",name:"Fliinow",url:l,logo:{"@type":"ImageObject",url:`${l}/favicon.ico`,creator:{"@type":"Organization",name:"Fliinow"},creditText:"Fliinow",copyrightNotice:"Fliinow",license:`${l}/es/legal/`,acquireLicensePage:`${l}/es/contacto/`}},articleSection:d.breadcrumb,timeRequired:`PT${i.readingMinutes}M`},{"@type":"FAQPage","@id":`${o}#faq`,inLanguage:m[r],mainEntity:t.faqs.map(a=>
1({"@type":"Question",name:a.q,acceptedAnswer:{"@type":"Answer",text:a.a}}))},{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Fliinow",item:`${l}/${r}/`},{"@type":"ListItem",position:2,name:d.breadcrumb,item:`${l}/${r}/guias/`},{"@type":"ListItem",position:3,name:t.title,item:o}]}]};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(v,{children:e.jsx("script",{type:"application/ld+json",children:JSON.stringify(j)})}),e.jsx(L,{}),e.jsxs("main",{id:"main-content",role:"main",children:[e.jsx("section",{className:"pt-28 md:pt-32 pb-10 md:pb-14 border-b border-border",children:e.jsxs("div",{className:"container-custom max-w-3xl",children:[e.jsx("nav",{"aria-label":"breadcrumb",className:"mb-6 text-sm",children:e.jsxs(c,{to:`/${r}/guias`,className:"inline-flex items-center gap-1.5 text-muted-foreground hover:text-primary transition-colors focus-visible-ring rounded-md",children:[e.jsx(T,{className:"h-4 w-4","aria-hidden":"true"}),d.breadcrumb]})}),e.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest text-primary mb-4",children:t.eyebrow}),e.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground leading-tight mb-5",children:t.title}),e.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed mb-6",children:t.lead}),e.jsxs("p",{className:"flex flex-wrap items-center gap-x-4 gap-y-1 text-sm text-muted-foreground",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(E,{className:"h-3.5 w-3.5","aria-hidden":"true"}),i.readingMinutes," min"]}),e.jsxs("span",{children:[t.updatedLabel,":"," ",e.jsx("time",{dateTime:i.updated,children:new Date(i.updated).toLocaleDateString(m[r],{year:"numeric",month:"long",day:"numeric"})})]})]})]})}),e.jsx("section",{className:"py-10 md:py-12",children:e.jsx("div",{className:"container-custom max-w-3xl",children:e.jsxs("nav",{"aria-label":t.tocTitle,className:"rounded-2xl border border-border bg-muted/30 p-5",children:[e.jsx("h2",{className:"text-sm font-semibold uppercase tracking-wide text-muted-foreground mb-3",children:t.tocTitle}),e.jsx("ol",{className:"space-y-2",children:t.sections.map((a,x)=>e.jsx("li",{className:"text-sm",children:e.jsxs("a",{href:`#${h(a.h2)}`,className:"text-foreground hover:text-primary transition-colors focus-visible-ring rounded",children:[x+1,". ",a.h2]})},a.h2))})]})})}),e.jsx("article",{className:"pb-6",children:e.jsx("div",{className:"container-custom max-w-3xl",children:t.sections.map((a,x)=>e.jsxs("section",{id:h(a.h2),className:"scroll-mt-28 mb-12",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-4 leading-snug",children:a.h2}),a.paras.map(s=>e.jsx("p",{className:"text-base text-muted-foreground leading-relaxed mb-4",children:s},s)),a.bullets&&e.jsx("ul",{className:"space-y-3 mt-4",children:a.bullets.map(s=>e.jsxs("li",{className:"flex gap-3 text-base text-foreground/85 leading-relaxed",children:[e.jsx(F,{className:"mt-1 h-4 w-4 shrink-0 text-primary","aria-hidden":"true"}),s]},s))}),t.table&&x===2&&e.jsx("figure",{className:"mt-8 overflow-x-auto rounded-2xl border border-border",children:e.jsxs("table",{className:"w-full text-left text-sm",children:[e.jsx("caption",{className:"sr-only",children:t.table.caption}),e.jsx("thead",{className:"bg-muted/50",children:e.jsx("tr",{children:t.table.head.map(s=>e.jsx("th",{scope:"col",className:"px-4 py-3 font-semibold text-foreground whitespace-nowrap",children:s},s))})}),e.jsx("tbody",{className:"divide-y divide-border",children:t.table.rows.map(s=>e.jsx("tr",{children:s.map((p,b)=>e.jsx("td",{className:b===0?"px-4 py-3 font-medium text-foreground":"px-4 py-3 text-muted-foreground",children:p},p+b))},s.join("|")))})]})})]},a.h2))})}),e.jsx("section",{className:"py-12 md:py-14 bg-muted/30 border-y border-border",children:e.jsxs("div",{className:"container-custom max-w-3xl",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-6",children:t.faqTitle}),e.jsx("dl",{className:"divide-y divide-border border border-border rounded-2xl overflow-hidden bg-background",children:t.faqs.map(a=>e.jsxs("div",{className:"p-5",children:[e.jsx("dt",{className:"text-base font-semibold text-foreground mb-1.5",children:a.q}),e.jsx("dd",{className:"text-sm text-muted-foreground leading-relaxed",children:a.a})]},a.q))})]})}),e.jsx("section",{className:"py-14",children:e.jsx("div",{className:"container-custom max-w-3xl",children:e.jsxs("div",{className:"rounded-2xl border border-primary/20 bg-gradient-to-br from-primary/10 via-accent/5 to-background p-6 md:p-8",children:[e.jsx("h2",{className:"text-xl md:text-2xl font-bold text-foreground mb-2",children:t.ctaTitle}),e.jsx("p",{className:"text-muted-foreground mb-5",children:t.ctaBody}),e.jsxs("div",{className:"flex flex-wrap gap-3",children:[e.jsx(c,{to:`/${r}/contacto`,className:"inline-flex items-center gap-2 px-5 py-3 rounded-full bg-primary text-primary-foreground font-semibold hover:bg-primary/90 transition-colors focus-visible-ring",children:t.ctaPrimary}),e.jsx(c,{to:`/${r}/como-funciona`,className:"inline-flex items-center gap-2 px-5 py-3 rounded-full border border-border font-semibold text-foreground hover:bg-muted transition-colors focus-visible-ring",children:t.ctaSecondary}),e.jsx("a",{href:"https://simulador.fliinow.com/",target:"_blank",rel:"noopener",className:"inline-flex items-center gap-2 px-5 py-3 rounded-full border border-border font-semibold text-foreground hover:bg-muted transition-colors focus-visible-ring",children:I[r]})]})]})})}),e.jsx("aside",{className:"pb-16 md:pb-24",children:e.jsxs("div",{className:"container-custom max-w-3xl",children:[e.jsx("h2",{className:"text-xl md:text-2xl font-bold text-foreground mb-6",children:t.relatedTitle}),e.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[f.map(a=>e.jsxs(c,{to:`/${r}/guias/${a.slug}`,className:"block p-5 rounded-xl border border-border bg-card hover:shadow-md hover:-translate-y-0.5 transition-all focus-visible-ring",children:[e.jsx("span",{className:"text-base font-semibold text-foreground",children:a.cardTitle[r]}),e.jsx("span",{className:"mt-1 block text-sm text-muted-foreground",children:a.cardDesc[r]})]},a.slug)),e.jsxs(c,{to:`/${r}/soluciones`,className:"block p-5 rounded-xl border border-border bg-card hover:shadow-md hover:-translate-y-0.5 transition-all focus-visible-ring",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-base font-semibold text-foreground",children:[d.ctaLink,e.jsx(O,{className:"h-4 w-4 text-primary","aria-hidden":"true"})]}),e.jsx("span",{className:"mt-1 block text-sm text-muted-foreground",children:d.ctaBody})]})]})]})})]}),e.jsx($,{})]})};export{K 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.