/* ============================================================ HÔTEL OMÉGA — Policies Page 4 sections in tabs: Cancellation, Terms, Privacy, Legal Trilingual, deep-linkable via #policies?tab=cancel ============================================================ */ function PoliciesPage() { const [t] = window.useT(); const [tab, setTab] = React.useState(() => { if (typeof window === "undefined") return "cancel"; const m = (window.location.hash || "").match(/tab=(\w+)/); return m ? m[1] : "cancel"; }); const tabs = [ { id: "cancel", label: t("pol.tab.cancel") }, { id: "terms", label: t("pol.tab.terms") }, { id: "privacy", label: t("pol.tab.privacy") }, { id: "legal", label: t("pol.tab.legal") }, ]; const onTab = (id) => { setTab(id); try { const h = window.location.hash.split("?")[0] || "#policies"; window.history.replaceState(null, "", `${h}?tab=${id}`); } catch (_) {} }; return (
{t("pol.eyebrow")}

{t("pol.title1")}{t("pol.titleEm")}{t("pol.title2")}

{t("pol.sub")}

{tab === "cancel" && } {tab === "terms" && } {tab === "privacy" && } {tab === "legal" && }
); } /* ---------- helper: render bullet list from i18n ---------- */ function PolList({ k, n }) { const [t] = window.useT(); return ( ); } function PolH({ k }) { const [t] = window.useT(); return

{t(k)}

; } function PolP({ k }) { const [t] = window.useT(); return

{t(k)}

; } /* ---------- 1. Cancellation ---------- */ function PolCancel() { return ( <>
{window.useT()[0]("pol.cancel.tier1.tag")}
{window.useT()[0]("pol.cancel.tier1.title")}
{window.useT()[0]("pol.cancel.tier1.desc")}
{window.useT()[0]("pol.cancel.tier2.tag")}
{window.useT()[0]("pol.cancel.tier2.title")}
{window.useT()[0]("pol.cancel.tier2.desc")}
{window.useT()[0]("pol.cancel.tier3.tag")}
{window.useT()[0]("pol.cancel.tier3.title")}
{window.useT()[0]("pol.cancel.tier3.desc")}
); } /* ---------- 2. Terms (CGV) ---------- */ function PolTerms() { return ( <> ); } /* ---------- 3. Privacy ---------- */ function PolPrivacy() { return ( <> ); } /* ---------- 4. Legal mentions ---------- */ function PolLegal() { const [t] = window.useT(); return ( <>
{t("pol.legal.f1.k")}
{t("pol.legal.f1.v")}
{t("pol.legal.f2.k")}
{t("pol.legal.f2.v")}
{t("pol.legal.f3.k")}
{t("pol.legal.f3.v")}
{t("pol.legal.f4.k")}
{t("pol.legal.f4.v")}
{t("pol.legal.f5.k")}
{t("pol.legal.f5.v")}
{t("pol.legal.f6.k")}
{t("pol.legal.f6.v")}
); } window.PoliciesPage = PoliciesPage;