1import{r as a,w as I,j as e,t as b,s as O,x as Y,F as q,v as L}from"./index-VUr8YUys.js";import{u as W}from"./useMutation-BJbjEIGi.js";import{a as g,b as G,t as H}from"./analytics-eHXg89Bv.js";import{i as V}from"./emailValidation-B2AgUQfx.js";import{u as $}from"./useSEO-Bc1zZdjG.js";import{S as U}from"./corp-gaps-en-sections-CnOFOmJA.js";import{l as k}from"./logo-CJuMBHBg.js";import{F as z}from"./file-text-BerWa0gy.js";import{D as A}from"./download-oclWf9k8.js";import{A as p}from"./arrow-right-2_1ZkBOo.js";import{L as B}from"./loader-circle-D1hAlXe7.js";import{C as Z}from"./circle-check-CuB7MUbV.js";import{A as J}from"./arrow-down-D5B76x70.js";const o="ebook_corp_guide_download",K="/assets/corporate-travel-company-selection-guide.pdf";function me(){const d=a.useRef(null),w=a.useRef(null),[r,F]=a.useState({fullName:"",company:"",email:"",role:""}),[j,S]=a.useState(!1),[y,_]=a.useState(!1),[n,m]=a.useState({}),[E,C]=a.useState(!1),[i,D]=a.useState(null),N=a.useRef(!1),x=a.useRef(!1);$({path:"/en/kurumsal-seyahat-sirketi-secim-rehberi",titles:{tr:"Corporate Travel Company Selection Guide | Yolwise",en:"Corporate Travel Company Selection Guide | Yolwise"},descriptions:{tr:"A guide for procurement, finance and HR teams to compare corporate travel offers, payment terms, changes and invoicing.",en:"A guide for procurement, finance and HR teams to compare corporate travel offers, payment terms, changes and invoicing."},image:"/assets/ebook-corp-guide-en-cover.webp",schemaType:"WebPage"}),a.useEffect(()=>{const t=()=>{const s=d.current?.querySelector("form");if(!s)return;const l=s.getBoundingClientRect();C(l.top<window.innerHeight&&l.bottom>0)};return t(),window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[]),a.useEffect(()=>{I(window.location.search)},[]),a.useEffect(()=>{i!==null&&w.current?.focus()},[i]);const T=a.useMemo(()=>U.map(t=>t.title),[]),P=[{value:"Procurement",label:"Procurement"},{value:"Finance / Accounting",label:"Finance / Accounting"},{value:"Human Resources",label:"Human Resources"},{value:"Operations / Travel Management",label:"Operations / Travel Management"},{value:"General Management",label:"General Management"},{value:"Other",label:"Other"}],h=W({mutationFn:async t=>(await O("POST","/api/corp-guide-download",t)).json(),onSuccess:t=>{if(t?.success&&typeof t.emailSent=="boolean"){G(o),b("form_success",{element:o}),D(t.emailSent);return}x.current=!1,g(o,"server_error"),m({submit:"Something went wrong. Please try again."})},onError:()=>{x.current=!1,g(o,"network_error"),m({submit:"Something went wrong. Please try again."})}}),u=()=>{N.current||(N.current=!0,H(o))},R=()=>{const t={};return r.fullName.trim()||(t.fullName="This field is required."),r.company.trim()||(t.company="This field is required."),r.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r.email)||(t.email="Please enter a valid email address."):t.email="This field is required.",r.role||(t.role="This field is required."),y||(t.consent="Please acknowledge the privacy notice to continue."),t},M=t=>{if(t.preventDefault(),x.current||i!==null)return;u();const s=R();if(Object.keys(s).length){m(s),Object.entries(s).forEach(([l,f])=>Y(o,l,f)),g(o,"validation_error");return}m({}),x.current=!0,h.mutate({...r,fullName:r.fullName.trim(),company:r.company.trim(),email:r.email.trim(),privacyAcknowledged:!0,marketingConsent:j,sessionId:L(),campaignAttribution:q(),language:"en"})},c=t=>{b("cta_click",{element:o,metadata:{placement:t}}),(window.innerWidth<1024?d.current?.querySelector('form, [role="status"]'):d.current)?.scrollIntoView({behavior:"smooth",block:"start"})},v=(t,s)=>F(l=>({...l,[t]:s}));return e.jsxs("main",{className:"min-h-screen overflow-x-hidden bg-[#f7f8fc] text-[#202b4d] selection:bg-[#effe8d] selection:text-[#202b4d]",children:[e.jsx("header",{className:"border-b border-[#4059ad]/10 bg-[#f7f8fc]/90 backdrop-blur-md",children:e.jsxs("div",{className:"mx-auto flex h-[72px] max-w-6xl items-center justify-between px-5 sm:px-8",children:[e.jsx("img",{src:k,alt:"Yolwise",className:"h-6 w-auto"}),e.jsx("span",{className:"hidden text-xs font-semibold tracking-[0.16em] text-[#4059ad]/60 sm:block",children:"CORPORATE TRAVEL GUIDE"}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("a",{href:"/kurumsal-seyahat-sirketi-secim-rehberi",lang:"tr",className:"text-sm font-bold text-[#4059ad] underline-offset-4 hover:underline",children:"Türkçe"}),e.jsx("button",{onClick:()=>c("header"),className:"min-h-11 rounded-full border border-[#4059ad]/20 px-4 text-sm font-bold text-[#4059ad] transition hover:bg-[#4059ad] hover:text-white",children:"Download Free"})]})]})}),e.jsxs("section",{className:"relative mx-auto max-w-6xl px-5 pb-20 pt-14 sm:px-8 sm:pb-28 sm:pt-20 lg:pt-24",children:[e.jsx("div",{className:"pointer-events-none absolute -right-40 top-4 h-96 w-96 rounded-full bg-[#effe8d]/40 blur-3xl"}),e.jsxs("div",{className:"grid items-center gap-12 lg:grid-cols-[1fr_430px] lg:gap-20",children:[e.jsxs("div",{className:"relative",children:[e.jsxs("div",{className:"mb-6 inline-flex items-center gap-2 rounded-full bg-[#effe8d] px-3 py-2 text-[11px] font-black uppercase tracking-[0.14em] text-[#4059ad]",children:[e.jsx(z,{className:"h-4 w-4"})," Free e-book"]}),e.jsx("h1",{className:"max-w-3xl font-display text-[clamp(2.55rem,6vw,5.6rem)] font-black leading-[0.96] tracking-[-0.065em] text-[#202b4d]",children:"Are two corporate travel proposals really on the same terms?"}),e.jsx("p",{className:"mt-7 max-w-xl text-[17px] leading-8 text-[#202b4d]/68 sm:text-[19px]",children:"The number on a proposal doesn't show payment timing, change and refund terms, invoice details, or the work that stays with your team. Without those, comparing offers side by side is hard."}),e.jsxs("button",{onClick:()=>c("hero"),className:"mt-10 inline-flex min-h-14 items-center gap-3 rounded-2xl bg-[#4059ad] px-7 text-base font-black text-white shadow-[0_16px_32px_-14px_#4059ad] transition hover:-translate-y-0.5 hover:bg-[#304889]",children:[e.jsx(A,{className:"h-5 w-5"})," Download Free ",e.jsx(p,{className:"h-5 w-5"})]}),e.jsx("p",{className:"mt-4 text-xs font-medium text-[#202b4d]/60",children:"A work email is recommended, but personal email addresses are welcome · Marketing consent is o
1ptional"})]}),e.jsxs("div",{className:"relative mx-auto w-full max-w-[390px]",children:[e.jsx("div",{className:"absolute -inset-5 rounded-[32px] bg-[#4059ad]/10 blur-2xl"}),e.jsx("img",{src:"/assets/ebook-corp-guide-en-cover.webp",alt:"Corporate Travel Company Selection Guide: 9 questions to ask before you sign",width:"600",height:"849",className:"relative w-full rounded-[10px] shadow-[0_30px_70px_-20px_rgba(32,43,77,.35)]"})]})]})]}),e.jsx("section",{className:"border-y border-[#4059ad]/10 bg-white px-5 py-12 sm:px-8",children:e.jsxs("div",{className:"mx-auto max-w-6xl",children:[e.jsx("h2",{className:"font-display text-2xl font-black tracking-tight",children:"Who is this guide for?"}),e.jsxs("div",{className:"mt-6 grid gap-5 text-[#202b4d]/75 sm:grid-cols-3",children:[e.jsxs("p",{children:[e.jsx("strong",{className:"block text-[#4059ad]",children:"Procurement"})," Evaluate proposals on equal terms."]}),e.jsxs("p",{children:[e.jsx("strong",{className:"block text-[#4059ad]",children:"Finance"})," Clarify payment and invoicing details."]}),e.jsxs("p",{children:[e.jsx("strong",{className:"block text-[#4059ad]",children:"HR"})," See what travelers and your team will need to handle."]})]})]})}),e.jsx("section",{className:"border-y border-[#4059ad]/10 bg-[#202b4d] px-5 py-16 text-[#f7f8fc] sm:px-8 sm:py-20",children:e.jsxs("div",{className:"mx-auto grid max-w-6xl gap-12 lg:grid-cols-[.8fr_1.2fr]",children:[e.jsxs("div",{children:[e.jsx("p",{className:"mb-4 text-xs font-black uppercase tracking-[0.2em] text-[#effe8d]",children:"Inside the guide"}),e.jsx("h2",{className:"max-w-md font-display text-4xl font-black leading-tight tracking-[-0.05em] sm:text-5xl",children:"Move the decision from price to total cost."}),e.jsx("p",{className:"mt-5 max-w-md leading-7 text-white/65",children:"Each section includes an example, questions to ask in a meeting, and a metric to track afterward."})]}),e.jsx("ol",{className:"grid gap-3 sm:grid-cols-2",children:T.map((t,s)=>e.jsxs("li",{className:"flex min-h-[68px] items-center gap-4 border-b border-white/10 py-3",children:[e.jsxs("span",{className:"font-mono text-sm text-[#effe8d]",children:["0",s+1]}),e.jsx("span",{className:"text-[15px] font-semibold leading-snug text-white/90",children:t})]},t))})]})}),e.jsx("section",{className:"mx-auto max-w-6xl px-5 py-20 sm:px-8 sm:py-28",children:e.jsxs("div",{className:"grid items-start gap-12 lg:grid-cols-[.75fr_1.25fr]",children:[e.jsxs("div",{children:[e.jsx("p",{className:"mb-4 text-xs font-black uppercase tracking-[0.2em] text-[#4059ad]",children:"Free preview"}),e.jsx("h2",{className:"font-display text-4xl font-black leading-tight tracking-[-0.05em] sm:text-5xl",children:"Clarify these four points before you sign."}),e.jsx("p",{className:"mt-5 leading-7 text-[#202b4d]/65",children:"A preview of the checklist on page 20: Send every provider the same trip request and review their responses using the same criteria."})]}),e.jsxs("div",{className:"rounded-[28px] bg-white p-6 shadow-[0_20px_60px_-35px_#202b4d] sm:p-10",children:[e.jsx("div",{className:"mb-7 border-b border-[#4059ad]/10 pb-5 font-mono text-xs font-bold text-[#4059ad]",children:"PAGE 20 / 21 · SUMMARY"}),e.jsx("div",{className:"space-y-6",children:[["Total amount your company will pay","Ticket or hotel cost, all extra fees, and payment commission â plus the payment due date."],["What happens if travel dates change","Who makes the change, what extra fees may apply, and how you confirm the change is complete."],["Documents your accounting team will receive","A sample invoice showing your company details, project code, and the cost breakdown you need."],["Tasks left for your team","What information you will enter, what you will approve, and what you will need to track manually."]].map(([t,s],l)=>e.jsxs("div",{className:"flex gap-4",children:[e.jsx("span",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-lg bg-[#4059ad]/10 font-mono text-xs font-black text-[#4059ad]",children:l+1}),e.jsxs("p",{className:"text-[15px] leading-6 text-[#202b4d]/72",children:[e.jsxs("strong",{className:"text-[#202b4d]",children:[t,":"]})," ",s]})]},t))}),e.jsxs("button",{onClick:()=>
1c("preview"),className:"mt-8 inline-flex min-h-12 items-center gap-2 rounded-xl bg-[#4059ad] px-5 font-bold text-white hover:bg-[#304889]",children:["Download Free ",e.jsx(p,{className:"h-4 w-4"})]})]})]})}),e.jsx("section",{ref:d,id:"download-form",className:"scroll-mt-6 bg-[#2A3E85] px-5 py-16 sm:px-8 sm:py-20 lg:py-24",children:e.jsxs("div",{className:"mx-auto grid max-w-6xl items-start gap-10 lg:grid-cols-[minmax(0,.85fr)_minmax(0,1fr)] lg:gap-16",children:[e.jsxs("div",{className:"min-w-0 rounded-3xl bg-white p-6 shadow-[0_18px_48px_rgba(31,50,120,0.15)] sm:p-8 lg:min-h-[590px]",children:[e.jsx("p",{className:"text-xs font-bold uppercase text-[#4059ad]",children:"Get the guide"}),e.jsx("img",{src:"/assets/ebook-corp-guide-en-cover.webp",alt:"",className:"mx-auto mt-5 max-h-[290px] w-auto rounded-md object-contain shadow-md"}),e.jsx("h2",{className:"mt-6 font-display text-2xl font-bold leading-tight text-[#3A3A3A] sm:text-3xl",children:"9 questions to ask before you sign"}),e.jsx("p",{className:"mt-4 text-[17px] leading-[1.6] text-[#3A3A3A]",children:"Fill out the form to download the PDF immediately. We'll also try to email you a copy."})]}),i===null?e.jsxs("form",{onSubmit:M,className:"min-w-0 rounded-3xl bg-white px-5 py-7 shadow-[0_18px_48px_rgba(31,50,120,0.15)] sm:px-8 sm:py-8",children:[e.jsxs("div",{className:"mb-7 text-center",children:[e.jsx("h3",{className:"font-display text-3xl font-bold leading-tight text-[#3A3A3A] sm:text-4xl",children:"Download your free guide"}),e.jsx("p",{className:"mt-4 inline-flex items-center justify-center rounded-full border border-[#4059ad]/20 bg-[#EEF1FF] px-4 py-2 text-sm font-bold text-[#30458F] shadow-sm sm:text-lg",children:"21-page PDF · Free"})]}),["fullName","company","email"].map(t=>{const s={fullName:"Full name",company:"Company",email:"Work email"},l={fullName:"Your full name",company:"Company name",email:"[email protected]"};return e.jsxs("div",{className:"mb-3",children:[e.jsxs("label",{htmlFor:`corp-${t}`,className:"mb-1 block text-[13px] font-semibold text-[#3A3A3A]",children:[s[t]," ",e.jsx("span",{className:"text-[#4059ad]",children:"*"})]}),e.jsx("input",{id:`corp-${t}`,type:t==="email"?"email":"text",value:r[t],onFocus:u,onChange:f=>v(t,f.target.value),placeholder:l[t],className:`min-h-12 w-full rounded-xl border bg-white px-4 py-3 text-sm text-[#3A3A3A] outline-none transition focus:border-[#4059ad] focus:ring-4 focus:ring-[#4059ad]/10 ${n[t]?"border-red-500":"border-[#D9D9D9]"}`}),t==="email"&&V(r.email)&&e.jsx("p",{className:"mt-2 text-xs font-semibold text-[#8a6411]",children:"You can use a work email if you have one, but personal email addresses are also accepted."}),n[t]&&e.jsx("p",{className:"mt-1 text-xs font-semibold text-red-600",children:n[t]})]},t)}),e.jsxs("div",{className:"mb-5",children:[e.jsxs("label",{htmlFor:"corp-role",className:"mb-1 block text-[13px] font-semibold text-[#3A3A3A]",children:["Your role ",e.jsx("span",{className:"text-[#4059ad]",children:"*"})]}),e.jsxs("select",{id:"corp-role",value:r.role,onFocus:u,onChange:t=>v("role",t.target.value),className:`min-h-12 w-full rounded-xl border bg-white px-4 py-3 text-sm text-[#3A3A3A] outline-none focus:border-[#4059ad] focus:ring-4 focus:ring-[#4059ad]/10 ${n.role?"border-red-500":"border-[#D9D9D9]"}`,children:[e.jsx("option",{value:"",disabled:!0,children:"Select your role"}),P.map(t=>e.jsx("option",{value:t.value,children:t.label},t.value))]}),n.role&&e.jsx("p",{className:"mt-1 text-xs font-semibold text-red-600",children:n.role})]}),e.jsxs("label",{className:"mb-4 flex min-h-11 cursor-pointer gap-3 py-1 text-xs leading-5 text-[#202b4d]/70",children:[e.jsx("input",{type:"checkbox",checked:y,onChange:t=>_(t.target.checked),className:"mt-1 h-4 w-4 shrink-0 accent-[#4059ad]"}),e.jsxs("span",{children:["I have read and acknowledge the ",e.jsx("a",{href:"/aydinlatmametni",target:"_blank",rel:"noreferrer",className:"font-bold text-[#4059ad] underline",children:"Privacy Notice"}),". ",e.jsx("span",{className:"text-[#4059ad]",children:"*"})]})]}),n.consent&&e.jsx("p",{className:"-mt-2 mb-4 text-xs font-semibold text-red-600",children:n.consent}),e.jsxs("label",{className:"mb-6 flex min-h-11 cursor-pointer gap-3 py-1 text-xs leading-5 text-[#202b4d]/60",children:[e.jsx("input",{type:"checkbox",checked:j,onChange:t=>S(t.target.checked),className:"mt-1 h-4 w-4 shrink-0 accent-[#4059ad]"}),e.jsxs("span",{children:["Iâd like to receive product, content, and event updates from Yolwise
1(optional). ",e.jsx("a",{href:"/kisiselveri",target:"_blank",rel:"noreferrer",className:"font-bold text-[#4059ad] underline",children:"Personal Data Policy"})]})]}),n.submit&&e.jsx("p",{className:"mb-4 rounded-lg bg-red-50 px-3 py-2 text-center text-sm font-semibold text-red-600",children:n.submit}),e.jsx("button",{type:"submit",disabled:h.isPending,className:"flex min-h-12 w-full items-center justify-center gap-2 rounded-xl bg-[#4059ad] px-5 py-3 text-sm font-bold text-white transition hover:bg-[#2f438d] disabled:cursor-wait disabled:opacity-60",children:h.isPending?e.jsxs(e.Fragment,{children:[e.jsx(B,{className:"h-4 w-4 animate-spin"}),"Submitting..."]}):e.jsxs(e.Fragment,{children:["Download Free ",e.jsx(p,{className:"h-4 w-4"})]})}),e.jsx("p",{className:"mt-4 text-center text-[11px] leading-5 text-[#202b4d]/60",children:"Your information will be processed for the purposes described in the Privacy Notice. Marketing consent is optional."})]}):e.jsxs("div",{ref:w,tabIndex:-1,role:"status","aria-live":"polite",className:"rounded-3xl bg-white p-6 shadow-[0_18px_48px_rgba(31,50,120,0.15)] outline-none sm:p-8",children:[e.jsx(Z,{className:"h-9 w-9 text-[#4059ad]","aria-hidden":"true"}),e.jsx("h3",{className:"mt-5 font-display text-3xl font-black tracking-tight text-[#202b4d]",children:"Your guide is ready."}),e.jsx("p",{className:"mt-3 text-sm leading-6 text-[#202b4d]/70",children:"Your form has been submitted. Download the 21-page PDF here without waiting for an email."}),e.jsxs("a",{href:K,download:"corporate-travel-company-selection-guide.pdf",onClick:()=>b("download_click",{element:o,metadata:{format:"pdf"}}),className:"mt-6 flex min-h-14 items-center justify-center gap-3 rounded-xl bg-[#4059ad] px-5 text-base font-black text-white hover:bg-[#304889]",children:[e.jsx(A,{className:"h-5 w-5","aria-hidden":"true"})," Download Free"]}),e.jsx("p",{className:"mt-5 text-xs leading-5 text-[#202b4d]/65",children:i?"The email request was accepted by the delivery service; delivery to your inbox has not been confirmed.":"We could not send the email right now. You can download the PDF using the button above."})]})]})}),e.jsxs("section",{className:"px-5 py-16 text-center sm:px-8",children:[e.jsx("p",{className:"mx-auto max-w-xl font-display text-2xl font-black tracking-tight",children:"Start comparing proposals on equal terms."}),e.jsxs("button",{onClick:()=>c("final"),className:"mt-6 inline-flex min-h-12 items-center gap-2 rounded-xl bg-[#4059ad] px-6 font-bold text-white hover:bg-[#304889]",children:["Download Free ",e.jsx(p,{className:"h-4 w-4"})]})]}),e.jsxs("footer",{className:"bg-[#f7f8fc] px-5 py-8 text-center text-xs text-[#202b4d]/70 sm:px-8",children:[e.jsx("img",{src:k,alt:"Yolwise",className:"inline-block h-5 w-auto align-middle"}),e.jsx("span",{className:"mx-2",children:"·"}),"YOLWISE YAZILIM BİLİÅİM TURİZM ACENTESİ TİC. ve SAN. LTD. ÅTİ.",e.jsx("span",{className:"mx-2",children:"·"}),"Tax ID: 9821067436 · Erenköy Tax Office",e.jsx("span",{className:"mx-2",children:"·"}),e.jsx("a",{href:"/aydinlatmametni",className:"underline hover:text-[#4059ad]",children:"Privacy Notice"})]}),i===null&&!E&&e.jsxs("button",{onClick:()=>c("mobile"),className:"fixed bottom-4 left-4 right-4 z-30 flex min-h-14 items-center justify-center gap-2 rounded-2xl bg-[#4059ad] text-base font-black text-white shadow-2xl sm:hidden",children:[e.jsx(J,{className:"h-5 w-5"})," Download Free"]})]})}export{me 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.