1import{j as e,u as y,m as g}from"./vendor-motion-BTsOMSkv.js";import{r as j}from"./vendor-react-aria-hGUfDLuJ.js";import{i as x}from"./ArrowLeft-BhwS174_.js";import{A as u,u as b,N as o,M as c,v as d}from"./index-DUoiwnV-.js";import{S as p}from"./site-footer-B0Ry_9uj.js";import{w as m}from"./app-base-path--HNuDyh8.js";import{g as f,a as N}from"./help-center-data-hIz44atz.js";const i=({children:a,className:s,delay:r=0,direction:n="up"})=>{const t=j.useRef(null),l=y(t,{once:!0,margin:"-100px"}),h={up:{y:32,x:0},down:{y:-32,x:0},left:{x:32,y:0},right:{x:-32,y:0},none:{x:0,y:0}}[n];return e.jsx(g.div,{ref:t,className:s,initial:{opacity:0,...h},animate:l?{opacity:1,x:0,y:0}:{},transition:{duration:.6,delay:r,ease:"easeOut"},children:a})};function M(){const{slug:a}=u(),s=a?N(a):void 0,r=a?f(a):[],n=s?.content.find(t=>!t.startsWith("## "))??"Find answers and guidance for ITS travel, expense, and payment products in the help center.";return b({title:s?`${s.title} â Help Center`:"Help article not found",description:n.slice(0,160),noIndex:!s}),s?e.jsxs("div",{className:"relative min-h-dvh bg-[#FDFDFC]",children:[e.jsx(o,{}),e.jsx(c,{children:e.jsx("section",{className:"relative bg-white pt-32 pb-20 sm:pt-40 sm:pb-28",children:e.jsxs("div",{className:"mx-auto max-w-3xl px-4 sm:px-6 lg:px-8",children:[e.jsx(i,{children:e.jsxs("a",{href:m("/help-center"),className:"trip-easy-body mb-8 inline-flex items-center gap-2 text-[16px] font-medium text-gray-500 transition-colors hover:text-gray-900",children:[e.jsx(x,{className:"size-4"}),"Help Center"]})}),e.jsx(i,{delay:.05,children:e.jsx("div",{className:"mt-4",children:e.jsx("span",{className:"trip-easy-body rounded-full bg-brand-50 px-3 py-1 text-[12px] font-semibold text-brand-700",children:s.category})})}),e.jsx(i,{delay:.1,children:e.jsx("h1",{className:"trip-easy-heading mt-5 text-[32px] leading-[1.2] font-medium text-gray-900 sm:text-[42px]",children:s.title})}),e.jsx("div",{className:"my-10 border-t border-gray-200"}),e.jsx(i,{delay:.15,children:e.jsx("div",{className:"space-y-5",children:s.content.map((t,l)=>e.jsx("p",{className:"trip-easy-body text-[16px] leading-[24px] text-gray-600",children:t},l))})}),r.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"my-12 border-t border-gray-200"}),e.jsx(i,{delay:.2,children:e.jsxs("div",{children:[e.jsx("h2",{className:"trip-easy-heading text-[22px] font-medium text-gray-900",children:"Related articles."}),e.jsx("div",{className:"mt-5 space-y-3",children:r.map(t=>e.jsxs("a",{href:`/help-center/${t.slug}`,className:"flex items-center gap-3 rounded-[6px] border border-gray-200 px-5 py-4 transition-colors hover:border-brand-200 hover:bg-brand-50/30",children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"trip-easy-body text-[16px] font-semibold text-gray-900",children:t.title}),e.jsx("p",{className:"trip-easy-body mt-0.5 text-[13px] text-gray-500",children:t.category})]}),e.jsx(d,{className:"size-4 shrink-0 text-gray-500"})]},t.slug))})]})})]}),e.jsx(i,{delay:.25,children:e.jsxs("div",{className:"mt-14 rounded-[6px] bg-gray-50 px-8 py-10 text-center",children:[e.jsx("h3",{className:"trip-easy-heading text-[22px] font-medium text-gray-900",children:"Still need help?"}),e.jsx("p",{className:"trip-easy-body mt-2 max-w-[525px] text-[18px] leading-[26px] text-[#3A3A3A] sm:mx-auto",children:"Our support team is available to assist you with any questions."}),e.jsxs("a",{href:"mailto:[email protected]",className:"trip-easy-body mt-6 inline-flex items-center gap-2 rounded-[6px] bg-gray-900 px-8 py-3.5 text-[16px] font-semibold text-white transition-colors hover:bg-gray-800",children:["Contact Support",e.jsx(d,{className:"size-4"})]})]})})]})})}),e.jsx(p,{theme:"white"})]}):e.jsxs("div",{className:"relative min-h-dvh bg-[#FDFDFC]",children:[e.jsx(o,{}),e.jsx(c,{children:e.jsx("section",{className:"flex min-h-[60vh] items-center justify-center pt-32",children:e.jsxs("div",{className:"text-center",children:[e.jsx("h1",{className:"trip-easy-heading text-[30px] leading-tight text-gray-900 sm:text-[38px]",children:"Article not found."}),e.jsx("p",{className:"trip-easy-body mt-4 text-[18px] leading-[26px] text-[#3A3A3A]",children:"The help article you're looking for doesn't exist or has been moved."}),e.jsxs("a",{href:m("/help-center"),className:"trip-easy-body mt-8 inl
1ine-flex items-center gap-2 text-[16px] font-semibold whitespace-nowrap text-brand-600 hover:text-brand-700",children:[e.jsx(x,{className:"size-4"}),"Back to Help Center"]})]})})}),e.jsx(p,{theme:"white"})]})}export{M as HelpArticle};
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.