PageSourceSearch

https://manual-esg-portal-do-hoteleiro.lovable.app/assets/manual.index-zccI_qDH.js

js manual-esg-portal-do-hoteleiro.lovable.app collected 2026-10-03 03:32:38 UTC 3,463 bytes, 1 lines download raw bytes

1import{G as e,U as t,s as n}from"./link-DLDY-uBQ.js";import{n as r,t as i}from"./lead-gate-dialog-BaH3Aqph.js";import{t as a}from"./useSuspenseQuery-DPuWMJJ4.js";import{D as o,i as s}from"./index-Cksl5LuA.js";import{o as c,t as l}from"./site-footer-RD4ES0VL.js";import{t as u}from"./arrow-right-CRVv0Ebm.js";import{n as d,t as f}from"./lock-BeuxSzCO.js";var p=e(t()),m=n();function h(){let{data:e}=a(s),t=o(),[n,u]=(0,p.useState)(!1),[d,f]=(0,p.useState)(null);function h(e){r()?t({to:`/manual/$modulo`,params:{modulo:e}}):(f(e),u(!0))}return(0,m.jsxs)(`div`,{className:`min-h-screen bg-background`,children:[(0,m.jsx)(c,{}),(0,m.jsx)(`section`,{className:`bg-hero-wave py-24 text-white`,children:(0,m.jsxs)(`div`,{className:`mx-auto max-w-5xl px-6`,children:[(0,m.jsx)(`p`,{className:`text-xs font-semibold uppercase tracking-[0.25em] text-[color:var(--brand-cyan)]`,children:`O Manual`}),(0,m.jsx)(`h1`,{className:`mt-4 text-5xl font-bold leading-tight sm:text-6xl`,children:`Oito capítulos. Publicação bimestral.`}),(0,m.jsx)(`p`,{className:`mt-6 max-w-3xl text-lg text-white/80`,children:`O Manual de Boas Práticas ESG da ABIH-SP é publicado em oito capítulos ao longo do ano, com novos conteúdos a cada dois meses. Cada capítulo pode ser lido no portal ou baixado em PDF. As discussões acontecem no canal Portal do Hoteleiro.`})]})}),(0,m.jsx)(`section`,{className:`py-20`,children:(0,m.jsx)(`div`,{className:`mx-auto max-w-5xl px-6`,children:(0,m.jsx)(`div`,{className:`space-y-4`,children:e.map(e=>e.disponivel?(0,m.jsx)(`button`,{type:`button`,onClick:()=>h(e.slug),className:`flex w-full flex-col gap-6 rounded-2xl border border-border bg-white p-8 text-left shadow-sm transition hover:-translate-y-0.5 hover:shadow-lg sm:flex-row sm:items-center`,children:(0,m.jsx)(g,{m:e})},e.id):(0,m.jsx)(`article`,{className:`flex flex-col gap-6 rounded-2xl border border-dashed border-border bg-muted/20 p-8 sm:flex-row sm:items-center`,children:(0,m.jsx)(g,{m:e})},e.id))})})}),(0,m.jsx)(l,{}),(0,m.jsx)(i,{open:n,onOpenChange:u,capituloSlug:d,onUnlock:()=>{d&&t({to:`/manual/$modulo`,params:{modulo:d}})}})]})}function g({m:e}){return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`div`,{className:`text-6xl font-bold text-[color:var(--brand)]/15 sm:w-24`,children:String(e.ordem).padStart(2,`0`)}),(0,m.jsxs)(`div`,{className:`flex-1`,children:[(0,m.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3`,children:[(0,m.jsx)(`h2`,{className:`text-2xl font-bold`,children:e.titulo}),e.disponivel?(0,m.jsxs)(`span`,{className:`inline-flex items-center gap-1 rounded-full bg-[color:var(--brand-cyan)]/15 px-3 py-1 text-xs font-semibold text-[color:var(--brand-deep)]`,children:[(0,m.jsx)(d,{className:`h-3 w-3`}),` Disponível`]}):(0,m.jsxs)(`span`,{className:`inline-flex items-center gap-1 rounded-full bg-muted px-3 py-1 text-xs font-semibold text-muted-foreground`,children:[(0,m.jsx)(f,{className:`h-3 w-3`}),` Em breve`]}),e.data_lancamento&&(0,m.jsx)(`span`,{className:`text-xs uppercase tracking-widest text-muted-foreground`,children:new Date(e.data_lancamento).toLocaleDateString(`pt-BR`,{month:`long`,year:`numeric`})})]}),(0,m.jsx)(`p`,{className:`mt-2 text-muted-foreground`,children:e.descricao})]}),e.disponivel&&(0,m.jsxs)(`span`,{className:`inline-flex items-center gap-2 rounded-full bg-[color:var(--brand)] px-5 py-2.5 text-sm font-semibold text-white`,children:[`Abrir `,(0,m.jsx)(u,{className:`h-4 w-4`})]})]})}export{h as component};

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.