1import{o as y,r as o,j as e,E as P,X as O}from"./index-VUr8YUys.js";import{l as w}from"./logo-CJuMBHBg.js";import{C as b}from"./react-contenteditable-DPK0aFAO.js";import{P as $}from"./plane-Cnk65GCj.js";import{B as z}from"./building-2-CAOkkXyd.js";import{C as V}from"./car-BsgWVFXs.js";import{R as A}from"./rotate-ccw-DUV4EjTX.js";import{D as M}from"./download-oclWf9k8.js";import{L as B}from"./lock-tsxtTvAj.js";import{E as G}from"./eye-off-trcDrZBz.js";import{E as Y}from"./eye-BjIuRRLL.js";import{G as F}from"./globe-CqHMqY5N.js";import{P as E}from"./phone-D8eex_O6.js";import{M as C}from"./mail-BrzLo58W.js";import{C as g}from"./calendar-ygpmnkqp.js";import{B as L}from"./briefcase-5sPoh_LW.js";import{U as k}from"./users-BLjRN1Fc.js";import{C as K}from"./circle-check-big-BNaLDgd8.js";import{A as H}from"./arrow-right-2_1ZkBOo.js";import{P as T}from"./pencil-DjYvqCSR.js";import{F as S}from"./file-text-BerWa0gy.js";import{S as _}from"./star-CdtDRlpH.js";import{P as U}from"./plus-BbQIuT3l.js";import{M as R}from"./map-pin-B-NU0Jam.js";import{A as W}from"./arrow-left-right-BKNM1DZJ.js";import"./index-C148XJoK.js";import"./index-Chjiymov.js";/** 2 * @license lucide-react v0.545.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const q=[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]],D=y("bed",q);/** 7 * @license lucide-react v0.545.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const J=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],X=y("circle-dot",J);/** 12 * @license lucide-react v0.545.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const Q=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],Z=y("coffee",Q);/** 17 * @license lucide-react v0.545.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const ee=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],I=y("navigation",ee);function se({onUnlock:i}){const[t,x]=o.useState(""),[h,a]=o.useState(!1),[l,d]=o.useState(!1),[m,j]=o.useState(!1),n=async f=>{f.preventDefault(),j(!0);try{(await fetch("/api/verify-proposal-password",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:t})})).ok?(localStorage.setItem("mice-unlocked","true"),i()):(a(!0),setTimeout(()=>a(!1),2e3))}catch{a(!0),setTimeout(()=>a(!1),2e3)}finally{j(!1)}};return e.jsx("div",{className:"min-h-screen bg-gradient-to-br from-[#4059AD] to-[#2a3d7c] flex items-center justify-center p-4",children:e.jsxs("div",{className:"bg-white rounded-2xl shadow-2xl p-8 max-w-md w-full",children:[e.jsx("div",{className:"flex justify-center mb-6",children:e.jsx("img",{src:w,alt:"Yolwise",className:"h-10 w-auto object-contain"})}),e.jsxs("div",{className:"text-center mb-6",children:[e.jsx("div",{className:"w-16 h-16 bg-[#4059AD]/10 rounded-full flex items-center justify-center mx-auto mb-4",children:e.jsx(B,{className:"w-8 h-8 text-[#4059AD]"})}),e.jsx("h1",{className:"text-xl font-display font-bold text-[#3A3A3A] mb-2",children:"Korumalı Sayfa"}),e.jsx("p",{className:"text-sm text-[#3A3A3A]/60",children:"Bu sayfayı görüntülemek için Åifre gereklidir"})]}),e.jsxs("form",{onSubmit:n,className:"space-y-4",children:[e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:l?"text":"password",value:t,onChange:f=>x(f.target.value),placeholder:"Åifre girin",className:`w-full px-4 py-3 pr-12 rounded-xl border-2 ${h?"border-red-400 bg-red-50":"border-[#D9D9D9] focus:border-[#4059AD]"} outline-none transition-colors text-[#3A3A3A]`,"data-testid":"input-mice-password"}),e.jsx("button",{type:"button",onClick:()=>d(!l),className:"absolute right-3 top-1/2 -translate-y-1/2 text-[#3A3A3A]/50 hover:text-[#4059AD] transition-colors",children:l?e.jsx(G,{className:"w-5 h-5"}):e.jsx(Y,{className:"w-5 h-5"})})]}),h&&e.jsx("p",{className:"text-red-500 text-sm text-center",children:"YanlıŠÅifre. Tekrar deneyin."}),e.jsx("button",{type:"submit",disabled:m,className:"w-full py-3 bg-[#4059AD] text-white font-bold rounded-xl hover:bg-[#2a3d7c] transition-colors shadow-lg shadow-[#4059AD]/20 disabled:opacity-50","data-testid":"button-unlock-mice",children:m?"Kontrol ediliyor...":"GiriÅ Yap"})]}),e.jsx("p",{className:"text-center text-xs text-[#3A3A3A]/40 mt-6",children:"Åifreyi bilmiyorsanız, hesap yöneticinizle iletiÅime geçin."})]})})}function s({id:i,defaultValue:t,className:x="",tag:h="span"}){const a=`mice-${i}`,l=o.useRef(t),[d,m]=o.useState(t);o.useEffect(()=>{const n=localStorage.getItem(a);n&&(m(n),l.current=n)},[a]);const j=o.useCallback(n=>{const f=n.target.value;l.current=f,m(f),localStorage.setItem(a,f)},[a]);return e.jsx(b,{html:d,onChange:j,tagName:h,className:`outline-none hover:bg-[#effe8d]/30 focus:bg-[#effe8d]/50 rounded px-0.5 -mx-0.5 transition-colors cursor-text ${x}`,style:{minWidth:"20px",display:"inline-block"}})}
21function v({id:i,defaultValue:t,yesDesc:x,noDesc:h,onValueChange:a}){const l=`mice-${i}`,[d,m]=o.useState(t);o.useEffect(()=>{const f=localStorage.getItem(l);f&&m(f)},[l]);const j=o.useCallback(f=>{const u=f.target.value;m(u),localStorage.setItem(l,u);const c=u.toLowerCase().includes("evet")||u.toLowerCase()==="yes";a?.(c)},[l,a]),n=d.toLowerCase().includes("evet")||d.toLowerCase()==="yes";return e.jsxs("span",{className:`inline-flex items-center justify-center gap-1 px-3 py-1 rounded-md font-bold text-xs ${n?"bg-[#effe8d]/30":"bg-[#F7F8FE] border border-[#D9D9D9]/50"}`,children:[n?e.jsx(K,{className:"w-3 h-3 text-[#4059AD]"}):e.jsx(X,{className:"w-3 h-3 text-[#3A3A3A]/50"}),e.jsx(b,{html:d,onChange:j,tagName:"span",className:"outline-none hover:bg-[#effe8d]/50 focus:bg-[#effe8d]/70 rounded px-0.5 -mx-0.5 transition-colors cursor-text text-[#4059AD] font-bold text-xs font-sans",style:{minWidth:"20px",display:"inline-block",color:"#4059AD",fontFamily:"Inter, sans-serif",background:"transparent"}})]})}function N({watchId:i,watchDefault:t,yesDesc:x,noDesc:h}){const a=`mice-${i}`,[l,d]=o.useState(t);o.useEffect(()=>{const j=localStorage.getItem(a);j&&d(j);const n=()=>{const u=localStorage.getItem(a);u&&d(u)};window.addEventListener("storage",n);const f=setInterval(()=>{const u=localStorage.getItem(a);u&&u!==l&&d(u)},100);return()=>{window.removeEventListener("storage",n),clearInterval(f)}},[a,l]);const m=l.toLowerCase().includes("evet")||l.toLowerCase()==="yes";return e.jsx(e.Fragment,{children:m?x:h})}function te({room:i,onUpdate:t,onRemove:x,showRemove:h}){return e.jsxs("div",{className:"bg-white rounded-xl p-3 border border-[#D9D9D9]/50 shadow-sm min-h-[88px]",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(D,{className:"w-4 h-4 text-[#4059AD] shrink-0"}),e.jsx(b,{html:i.roomType,onChange:a=>t("roomType",a.target.value),className:"text-sm font-bold text-[#3A3A3A] outline-none hover:bg-[#4059AD]/5 focus:bg-[#4059AD]/10 rounded px-0.5 -mx-0.5",style:{minWidth:"60px",display:"inline-block"}})]}),h&&e.jsx("button",{onClick:x,className:"p-0.5 hover:bg-[#F7F8FE] rounded print:hidden",children:e.jsx(O,{className:"w-3.5 h-3.5 text-[#3A3A3A]/50"})})]}),e.jsxs("div",{className:"flex flex-wrap gap-1.5",children:[e.jsxs("span",{className:"inline-flex items-center gap-1 px-2.5 py-1.5 bg-[#F7F8FE] rounded-full text-xs text-[#3A3A3A] min-w-[70px] justify-center",children:[e.jsx(k,{className:"w-3.5 h-3.5 text-[#4059AD]"}
21),e.jsx(b,{html:i.guestsPerRoom,onChange:a=>t("guestsPerRoom",a.target.value),className:"outline-none hover:bg-[#4059AD]/10 focus:bg-[#4059AD]/15 rounded px-0.5",style:{minWidth:"12px",display:"inline-block"}})," kiÅi"]}),e.jsxs("span",{className:"inline-flex items-center gap-1 px-2.5 py-1.5 bg-[#F7F8FE] rounded-full text-xs text-[#3A3A3A] min-w-[70px] justify-center",children:[e.jsx(D,{className:"w-3.5 h-3.5 text-[#4059AD]"}),e.jsx(b,{html:i.roomCount,onChange:a=>t("roomCount",a.target.value),className:"outline-none hover:bg-[#4059AD]/10 focus:bg-[#4059AD]/15 rounded px-0.5",style:{minWidth:"12px",display:"inline-block"}})," oda"]}),e.jsx("span",{className:"inline-flex items-center gap-1 px-2.5 py-1.5 bg-[#effe8d]/30 rounded-full text-xs text-[#3A3A3A] font-medium min-w-[70px] justify-center",children:e.jsx(b,{html:i.pricePerRoom,onChange:a=>t("pricePerRoom",a.target.value),className:"outline-none hover:bg-[#4059AD]/10 focus:bg-[#4059AD]/15 rounded px-0.5",style:{minWidth:"25px",display:"inline-block"}})})]})]})}function ae({offerIndex:i}){const t=`flight-${i}`;return e.jsxs("div",{className:"bg-white shadow-2xl print-container flex flex-col",style:{width:"210mm",height:"297mm",padding:"0",boxSizing:"border-box",overflow:"hidden"},"data-testid":`mice-page-flight-${i}`,children:[e.jsx("div",{className:"px-8 py-4 border-b border-[#D9D9D9]/50 flex-shrink-0",children:e.jsx("img",{src:w,alt:"Yolwise",className:"h-6 w-auto object-contain"})}),e.jsx("div",{className:"px-8 py-4 border-b border-[#D9D9D9]/50 flex-shrink-0",children:e.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[9px] text-[#3A3A3A]/50 uppercase tracking-wider font-bold mb-1.5",children:e.jsx(s,{id:`${t}-preparer-label`,defaultValue:"Hazırlayan"})}),e.jsxs("div",{className:"bg-[#F7F8FE] rounded-xl p-3 border border-[#D9D9D9]/50",children:[e.jsx("div",{className:"font-bold text-[#3A3A3A] text-sm mb-1",children:e.jsx(s,{id:`${t}-preparer-name`,defaultValue:"Hasan Ince"})}),e.jsxs("div",{className:"text-xs text-[#3A3A3A]/70 space-y-0.5",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(F,{className:"w-3 h-3 text-[#4059AD]"}),e.jsx(s,{id:`${t}-preparer-website`,defaultValue:"yolwise.com.tr"})]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(E,{className:"w-3 h-3 text-[#4059AD]"}),e.jsx(s,{id:`${t}-preparer-phone`,defaultValue:"+90 216 606 20 70"})]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(C,{className:"w-3 h-3 text-[#4059AD]"}),e.jsx(s,{id:`${t}-preparer-email`,defaultValue:"[email protected]"})]})]})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[9px] text-[#3A3A3A]/50 uppercase tracking-wider font-bold mb-1.5",children:e.jsx(s,{id:`${t}-client-label`,defaultValue:"MüÅteri"})}),e.jsxs("div",{className:"bg-[#F7F8FE] rounded-xl p-3 border border-[#D9D9D9]/50",children:[e.jsx("div",{className:"font-bold text-[#3A3A3A] text-sm mb-1",children:e.jsx(s,{id:`${t}-client-company`,defaultValue:"Sora Grup"})}),e.jsxs("div",{className:"text-xs text-[#3A3A3A]/70 space-y-0.5",children:[e.jsx("div",{children:e.jsx(s,{id:`${t}-client-contact`,defaultValue:"Kerem Bey"})}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(g,{className:"w-3 h-3 text-[#4059AD]"}),e.jsxs("span",{children:[e.jsx(s,{id:`${t}-validity-label`,defaultValue:"Geçerlilik:"})," ",e.jsx(s,{id:`${t}-validity-date`,defaultValue:"30.11.2025"})]})]}),e.jsx("div",{className:"h-[14px]"})]})]})]})]})}),e.jsxs("div",{className:"px-8 py-4 flex-1",children:[e.jsxs("div",{className:"flex gap-4 mb-4",children:[e.jsxs("div",{className:"flex-1 bg-[#4059AD] rounded-xl p-4 text-white",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx($,{className:"w-4 h-4 text-white opacity-70"}),e.jsx("div",{className:"text-[9px] uppercase tracking-wider opacity-70",children:e.jsx(s,{id:`${t}-offer-label`,defaultValue:"UçuÅ Teklifi"})})]}),e.jsx("div",{className:"text-base font-bold",children:e.jsx(s,{id:`${t}-route-value`,defaultValue:"İstanbul â Antalya"})}),e.jsx("div",{className:"text-xs opacity-80",children:e.jsx(s,{id:`${t}-date-value`,defaultValue:"15.02.2026"})})]}),e.jsxs("div",{className:"flex-1 bg-[#effe8d] rounded-xl p-4",children:[e.jsx("div",{className:"text-[9px] uppercase tracking-wider text-[#3A3A3A]/60 mb-1",children:e.jsx(s,{id:`${t}-price-label`,defaultValue:"Toplam Fiyat"})}),e.jsx("div",{className:"text-base font-bold text-[#3A3A3A]",children:e.jsx(s,{id:`${t}-price-value`,defaultValue:"âº850.000"})}),e.jsx("div",{className:"text-xs text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-service-fee`,defaultValue:"hizmet bedeli:"})})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-4",children:[e.jsx("div",{className:"bg-[#4059AD] rounded-xl p-4 text-white",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-white/20 flex items-center justify-center",children:e.jsx(L,{className:"w-5 h-5 text-white"})}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[9px] uppercase tracking-wider opacity-70 mb-0.5",children:e.jsx(s,{id:`${t}-baggage-label`,defaultValue:"Bagaj Dahil"})}),e.jsx("div",{className:"text-2xl font-bold",children:e.jsx(s,{id:`${t}-baggage-value`,defaultValue:"23kg + 8kg"})})]})]})}),e.jsx("div",{className:"bg-[#4059AD] rounded-xl p-4 text-white",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-white/20 flex items-center justify-center",children:e.jsx($,{className:"w-5 h-5 text-white"})}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[9px] uppercase tracking-wider opacity-70 mb-0.5",children:e.jsx(s,{id:`${t}-airline-label`,defaultValue:"Havayolu"})}),e.jsx("div",{className:"text-2xl font-bold",children:e.jsx(s,{id:`${t}-airline-value`,defaultValue:"Turkish Airlines"})})]})]})})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("h2",{className:"text-base font-display font-bold text-[#3A3A3A] mb-1",children:e.jsx(s,{id:`${t}
21-details-title`,defaultValue:"UçuÅ Detayları"})}),e.jsx("p",{className:"text-[10px] text-[#3A3A3A]/60 mb-3",children:e.jsx(s,{id:`${t}-details-subtitle`,defaultValue:"Teklif kapsamındaki uçuÅ bilgileri"})})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(k,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-passengers-label`,defaultValue:"Yolcu Sayısı"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${t}-passengers-value`,defaultValue:"100"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-passengers-desc`,defaultValue:"Toplam yolcu adedi"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(K,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-class-label`,defaultValue:"Sınıf"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${t}-class-value`,defaultValue:"Ekonomi"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-class-desc`,defaultValue:"Kabin sınıfı"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(H,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-route-label`,defaultValue:"Güzergah"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${t}-route-display`,defaultValue:"IST â AYT"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-route-desc`,defaultValue:"KalkıŠve varıŠnoktası"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(g,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-date-label`,defaultValue:"Tarih(ler)"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${t}-date-display`,defaultValue:"15.02.2026"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-date-desc`,defaultValue:"UçuÅ tarihi"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#effe8d]/30 rounded-lg border border-[#effe8d]",children:[e.jsx(A,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-refund-label`,defaultValue:"İade"})}),e.jsx(v,{id:`${t}-refund-value`,defaultValue:"Evet"})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(N,{watchId:`${t}-refund-value`,watchDefault:"Evet",yesDesc:"İade imkanı mevcut",noDesc:"İade imkanı yok"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#effe8d]/30 rounded-lg border border-[#effe8d]",children:[e.jsx(T,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-change-label`,defaultValue:"DeÄiÅiklik"})}),e.jsx(v,{id:`${t}-change-value`,defaultValue:"Evet"})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(N,{watchId:`${t}-change-value`,watchDefault:"Evet",yesDesc:"DeÄiÅiklik imkanı mevcut",noDesc:"DeÄiÅiklik imkanı yok"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(A,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-refund-penalty-label`,defaultValue:"İade Cezası"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${t}-refund-penalty-value`,defaultValue:"KiÅi baÅı âº500"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-refund-penalty-desc`,defaultValue:"Tedarikçi kuralları geçerlidir"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(T,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-change-penalty-label`,defaultValue:"DeÄiÅiklik Cezası"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${t}-change-penalty-value`,defaultValue:"KiÅi baÅı âº300"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-change-penalty-desc`,defaultValue:"Tedarikçi kuralları geçerlidir"})})]})]})]}),e.jsxs("div",{className:"mt-6 bg-gradient-to-br from-[#F7F8FE] via-white to-[#F7F8FE] rounded-2xl p-4 border border-[#D9D9D9]/30",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx("div",{className:"w-6 h-6 rounded-full bg-[#4059AD] flex items-center justify-center",children:e.jsx(S,{className:"w-3 h-3 text-white"})}),e.jsx("span",{className:"text-xs font-bold text-[#3A3A3A]",children:e.jsx(s,{id:`${t}-notes-label`,defaultValue:"Notlar"})})]}),e.jsx("div",{className:"text-[11px] text-[#3A3A3A]/70 leading-relaxed",children:e.jsx(s,{id:`${t}-notes-value`,defaultValue:"",tag:"div"})})]})]}),e.jsx("div",{className:"mt-auto px-8 py-4 bg-[#F7F8FE] border-t border-[#D9D9D9]/50 flex-shrink-0",children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{className:"text-[10px] text-[#3A3A3A]/50",children:[e.jsx(s,{id:`${t}
21-footer-address`,defaultValue:"KozyataÄı Mah. Bayar Cad. Gülbahar Sok. PS Plaza No:17/14"}),e.jsx("br",{}),e.jsx(s,{id:`${t}-footer-city`,defaultValue:"Kadıköy, İstanbul 34742"})]}),e.jsxs("div",{className:"text-[10px] text-[#3A3A3A]/50 text-right",children:[e.jsx(s,{id:`${t}-footer-vd`,defaultValue:"VD: KozyataÄı"}),e.jsx("br",{}),e.jsx(s,{id:`${t}-footer-vkn`,defaultValue:"VKN: 9821067436"})]})]})})]})}function le({offerIndex:i,roomTypes:t,setRoomTypes:x,addRoomType:h}){const a=`hotel-${i}`;return e.jsxs("div",{className:"bg-white shadow-2xl print-container flex flex-col",style:{width:"210mm",height:"297mm",padding:"0",boxSizing:"border-box",overflow:"hidden"},"data-testid":`mice-page-hotel-${i}`,children:[e.jsx("div",{className:"px-8 py-4 border-b border-[#D9D9D9]/50 flex-shrink-0",children:e.jsx("img",{src:w,alt:"Yolwise",className:"h-6 w-auto object-contain"})}),e.jsx("div",{className:"px-8 py-4 border-b border-[#D9D9D9]/50 flex-shrink-0",children:e.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[9px] text-[#3A3A3A]/50 uppercase tracking-wider font-bold mb-1.5",children:e.jsx(s,{id:`${a}-preparer-label`,defaultValue:"Hazırlayan"})}),e.jsxs("div",{className:"bg-[#F7F8FE] rounded-xl p-3 border border-[#D9D9D9]/50",children:[e.jsx("div",{className:"font-bold text-[#3A3A3A] text-sm mb-1",children:e.jsx(s,{id:`${a}-preparer-name`,defaultValue:"Hasan Ince"})}),e.jsxs("div",{className:"text-xs text-[#3A3A3A]/70 space-y-0.5",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(F,{className:"w-3 h-3 text-[#4059AD]"}),e.jsx(s,{id:`${a}-preparer-website`,defaultValue:"yolwise.com.tr"})]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(E,{className:"w-3 h-3 text-[#4059AD]"}),e.jsx(s,{id:`${a}-preparer-phone`,defaultValue:"+90 216 606 20 70"})]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(C,{className:"w-3 h-3 text-[#4059AD]"}),e.jsx(s,{id:`${a}-preparer-email`,defaultValue:"[email protected]"})]})]})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[9px] text-[#3A3A3A]/50 uppercase tracking-wider font-bold mb-1.5",children:e.jsx(s,{id:`${a}-client-label`,defaultValue:"MüÅteri"})}),e.jsxs("div",{className:"bg-[#F7F8FE] rounded-xl p-3 border border-[#D9D9D9]/50",children:[e.jsx("div",{className:"font-bold text-[#3A3A3A] text-sm mb-1",children:e.jsx(s,{id:`${a}-client-company`,defaultValue:"Sora Grup"})}),e.jsxs("div",{className:"text-xs text-[#3A3A3A]/70 space-y-0.5",children:[e.jsx("div",{children:e.jsx(s,{id:`${a}-client-contact`,defaultValue:"Kerem Bey"})}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(g,{className:"w-3 h-3 text-[#4059AD]"}),e.jsxs("span",{children:[e.jsx(s,{id:`${a}-validity-label`,defaultValue:"Geçerlilik:"})," ",e.jsx(s,{id:`${a}-validity-date`,defaultValue:"30.11.2025"})]})]}),e.jsx("div",{className:"h-[14px]"})]})]})]})]})}),e.jsxs("div",{className:"px-8 py-4 flex-1",children:[e.jsxs("div",{className:"flex gap-4 mb-4",children:[e.jsxs("div",{className:"flex-1 bg-[#4059AD] rounded-xl p-4 text-white",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx(z,{className:"w-4 h-4 text-white opacity-70"}),e.jsx("div",{className:"text-[9px] uppercase tracking-wider opacity-70",children:e.jsx(s,{id:`${a}-offer-label`,defaultValue:"Otel Teklifi"})})]}),e.jsx("div",{className:"text-base font-bold",children:e.jsx(s,{id:`${a}-name-value`,defaultValue:"Otel Adı"})}),e.jsx("div",{className:"text-xs opacity-80",children:e.jsx(s,{id:`${a}-address-value`,defaultValue:"Otel Adresi"})})]}),e.jsxs("div",{className:"flex-1 bg-[#effe8d] rounded-xl p-4",children:[e.jsx("div",{className:"text-[9px] uppercase tracking-wider text-[#3A3A3A]/60 mb-1",children:e.jsx(s,{id:`${a}-price-label`,defaultValue:"Toplam Fiyat"})}),e.jsx("div",{className:"text-base font-bold text-[#3A3A3A]",children:e.jsx(s,{id:`${a}-price-value`,defaultValue:"âº450.000"})}),e.jsx("div",{className:"text-xs text-[#3A3A3A]/60",children:e.jsx(s,{id:`${a}-service-fee`,defaultValue:"hizmet bedeli:"})})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-4",children:[e.jsx("div",{className:"bg-[#4059AD] rounded-xl p-4 text-white",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-white/20 flex items-center justify-center",children:e.jsx(_,{className:"w-5 h-5 text-white"})}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[9px] uppercase tracking-wider opacity-70 mb-0.5",children:e.jsx(s,{id:`${a}-stars-label`,defaultValue:"Otel Sınıfı"})}),e.jsx("div",{className:"text-2xl font-bold",children:e.jsx(s,{id:`${a}-stars-value`,defaultValue:"5 Yıldız"})})]})]})}),e.jsx("div",{className:"bg-[#4059AD] rounded-xl p-4 text-white",children:e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-white/20 flex items-center justify-center",children:e.jsx(D,{className:"w-5 h-5 text-white -translate-y-[2px]"})}),e.jsxs("div",{className:"min-w-[90px]",children:[e.jsx("div",{className:"text-[9px] uppercase tracking-wider opacity-70 mb-0.5",children:e.jsx(s,{id:`${a}-rooms-label`,defaultValue:"Oda Sayısı"})}),e.jsx("div",{className:"text-2xl font-bold",children:e.jsx(s,{id:`${a}-rooms-value`,defaultValue:"50"})})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-white/20 flex items-center justify-center",children:e.jsx(k,{className:"w-[18px] h-[18px] text-white"})}),e.jsxs("div",{className:"min-w-[90px]",children:[e.jsx("div",{className:"text-[9px] uppercase tracking-wider opacity-70 mb-0.5",children:e.jsx(s,{id:`${a}-guests-label`,defaultValue:"Misafir Sayısı"})}),e.jsx("div",{className:"text-2xl font-bold",children:e.jsx(s,{id:`${a}-guests-value`,defaultValue:"100"})})]})]})]})})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("div",{className:"flex items-center justify-between mb-2",children:e.jsxs("h2",{className:"text-base font-display font-bold text-[#3A3A3A] flex items-center gap-2",children:[e.jsx(D,{className:"w-4 h-4 text-[#4059AD]"}),"Oda Tipleri"]})}),e.jsx("div",{className:"grid grid-cols-2 gap-2",children:t.map(l=>e.jsx(te,{room:l,onUpdate:(d,m)=>{x(j=>j.map(n=>n.id===l.id?{...n,[d]:m}:n))},onRemove:()=>{x(d=>d.filter(m=>m.id!==l.id))},showRemove:t.length>1},l.id))}),e.jsxs("button",{onClick:h,className:"w-full mt-2 py-2.5 border-2 border-dashed border-[#4059AD]/30 rounded-xl text-[#4059AD] text-xs font-medium hover:bg-[#4059AD]/5 transition-colors print:hidden flex items-center justify-center gap-1.5","data-testid":"button-add-room-type",children:[e.jsx(U,{className:"w-3.5 h-3.5"}),"Oda Tipi Ekle"]})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("h2",{className:"text-base font-display font-bold text-[#3A3A3A] mb-1",children:e.jsx(s,{id:`${a}-details-title`,defaultValue:"Konaklama Detayları"})}),e.jsx("p",{className:"text-[10px] text-[#3A3A3A]/60 mb-3",children:e.jsx(s,{id:`${a}-details-subtitle`,defaultValue:"Teklif kapsamındaki otel bilgileri"})})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(R,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${a}-city-label`,defaultValue:"Åehir"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${a}-city-value`,defaultValue:"Antalya"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${a}-city-desc`,defaultValue:"Konaklama Åehri"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(I,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${a}-location-label`,defaultValue:"Bölge"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${a}-location-value`,defaultValue:"Belek"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${a}-location-desc`,defaultValue:"Tercih edilen bölge"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(g,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${a}-checkin-label`,defaultValue:"GiriÅ/ÃıkıÅ"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${a}-checkin-value`,defaultValue:"15-18 Åubat"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${a}-checkin-desc`,defaultValue:"Konaklama tarihleri"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#effe8d]/30 rounded-lg border border-[#effe8d]",children:[e.jsx(Z,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${a}-breakfast-label`,defaultValue:"Kahvaltı Dahil"})}),e.jsx(v,{id:`${a}-breakfast-value`,defaultValue:"Evet"})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(N,{watchId:`${a}-breakfast-value`,watchDefault:"Evet",yesDesc:"Açık büfe kahvaltı dahil",noDesc:"Kahvaltı dahil deÄ
21il"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#effe8d]/30 rounded-lg border border-[#effe8d]",children:[e.jsx(A,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${a}-free-cancel-label`,defaultValue:"Ãcretsiz İptal"})}),e.jsx(v,{id:`${a}-free-cancel-value`,defaultValue:"Evet"})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(N,{watchId:`${a}-free-cancel-value`,watchDefault:"Evet",yesDesc:"7 gün öncesine kadar",noDesc:"Ãcretsiz iptal yok"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(P,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${a}-cancel-penalty-label`,defaultValue:"İptal Cezası"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${a}-cancel-penalty-value`,defaultValue:"1 gecelik ücret"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${a}-cancel-penalty-desc`,defaultValue:"7 gün içinde iptal durumunda"})})]})]})]}),e.jsxs("div",{className:"mt-6 bg-gradient-to-br from-[#F7F8FE] via-white to-[#F7F8FE] rounded-2xl p-4 border border-[#D9D9D9]/30",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx("div",{className:"w-6 h-6 rounded-full bg-[#4059AD] flex items-center justify-center",children:e.jsx(S,{className:"w-3 h-3 text-white"})}),e.jsx("span",{className:"text-xs font-bold text-[#3A3A3A]",children:e.jsx(s,{id:`${a}-notes-label`,defaultValue:"Notlar"})})]}),e.jsx("div",{className:"text-[11px] text-[#3A3A3A]/70 leading-relaxed",children:e.jsx(s,{id:`${a}-notes-value`,defaultValue:"",tag:"div"})})]})]}),e.jsx("div",{className:"mt-auto px-8 py-4 bg-[#F7F8FE] border-t border-[#D9D9D9]/50 flex-shrink-0",children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{className:"text-[10px] text-[#3A3A3A]/50",children:[e.jsx(s,{id:`${a}-footer-address`,defaultValue:"KozyataÄı Mah. Bayar Cad. Gülbahar Sok. PS Plaza No:17/14"}),e.jsx("br",{}),e.jsx(s,{id:`${a}-footer-city`,defaultValue:"Kadıköy, İstanbul 34742"})]}),e.jsxs("div",{className:"text-[10px] text-[#3A3A3A]/50 text-right",children:[e.jsx(s,{id:`${a}-footer-vd`,defaultValue:"VD: KozyataÄı"}),e.jsx("br",{}),e.jsx(s,{id:`${a}-footer-vkn`,defaultValue:"VKN: 9821067436"})]})]})})]})}function ie({offerIndex:i}){const t=`transfer-${i}`;return e.jsxs("div",{className:"bg-white shadow-2xl print-container flex flex-col",style:{width:"210mm",height:"297mm",padding:"0",boxSizing:"border-box",overflow:"hidden"},"data-testid":`mice-page-transfer-${i}`,children:[e.jsx("div",{className:"px-8 py-4 border-b border-[#D9D9D9]/50 flex-shrink-0",children:e.jsx("img",{src:w,alt:"Yolwise",className:"h-6 w-auto object-contain"})}),e.jsx("div",{className:"px-8 py-4 border-b border-[#D9D9D9]/50 flex-shrink-0",children:e.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[9px] text-[#3A3A3A]/50 uppercase tracking-wider font-bold mb-1.5",children:e.jsx(s,{id:`${t}-preparer-label`,defaultValue:"Hazırlayan"})}),e.jsxs("div",{className:"bg-[#F7F8FE] rounded-xl p-3 border border-[#D9D9D9]/50",children:[e.jsx("div",{className:"font-bold text-[#3A3A3A] text-sm mb-1",children:e.jsx(s,{id:`${t}-preparer-name`,defaultValue:"Hasan Ince"})}),e.jsxs("div",{className:"text-xs text-[#3A3A3A]/70 space-y-0.5",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(F,{className:"w-3 h-3 text-[#4059AD]"}),e.jsx(s,{id:`${t}-preparer-website`,defaultValue:"yolwise.com.tr"})]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(E,{className:"w-3 h-3 text-[#4059AD]"}),e.jsx(s,{id:`${t}-preparer-phone`,defaultValue:"+90 216 606 20 70"})]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(C,{className:"w-3 h-3 text-[#4059AD]"}),e.jsx(s,{id:`${t}-preparer-email`,defaultValue:"[email protected]"})]})]})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[9px] text-[#3A3A3A]/50 uppercase tracking-wider font-bold mb-1.5",children:e.jsx(s,{id:`${t}-client-label`,defaultValue:"MüÅteri"})}),e.jsxs("div",{className:"bg-[#F7F8FE] rounded-xl p-3 border border-[#D9D9D9]/50",children:[e.jsx("div",{className:"font-bold text-[#3A3A3A] text-sm mb-1",children:e.jsx(s,{id:`${t}-client-company`,defaultValue:"Sora Grup"})}),e.jsxs("div",{className:"text-xs text-[#3A3A3A]/70 space-y-0.5",children:[e.jsx("div",{children:e.jsx(s,{id:`${t}-client-contact`,defaultValue:"Kerem Bey"})}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(g,{className:"w-3 h-3 text-[#4059AD]"}),e.jsxs("span",{children:[e.jsx(s,{id:`${t}-validity-label`,defaultValue:"Geçerlilik:"})," ",e.jsx(s,{id:`${t}-validity-date`,defaultValue:"30.11.2025"})]})]}),e.jsx("div",{className:"h-[14px]"})]})]})]})]})}),e.jsxs("div",{className:"px-8 py-4 flex-1",children:[e.jsxs("div",{className:"flex gap-4 mb-4",children:[e.jsxs("div",{className:"flex-1 bg-[#4059AD] rounded-xl p-4 text-white",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx(V,{className:"w-4 h-4 text-white opacity-70"}),e.jsx("div",{className:"text-[9px] uppercase tracking-wider opacity-70",children:e.jsx(s,{id:`${t}-offer-label`,defaultValue:"Transfer Teklifi"})})]}),e.jsx("div",{className:"text-base font-bold",children:e.jsx(s,{id:`${t}-route-value`,defaultValue:"Havalimanı â Otel"})}),e.jsx("div",{className:"text-xs opacity-80",children:e.jsx(s,{id:`${t}-date-value`,defaultValue:"15.02.2026"})})]}),e.jsxs("div",{className:"flex-1 bg-[#effe8d] rounded-xl p-4",children:[e.jsx("div",{className:"text-[9px] uppercase tracking-wider text-[#3A3A3A]/60 mb-1",children:e.jsx(s,{id:`${t}-price-label`,defaultValue:"Toplam Fiyat"})}),e.jsx("div",{className:"text-base font-bold text-[#3A3A3A]",children:e.jsx(s,{id:`${t}-price-value`,defaultValue:"âº75.000"})}),e.jsx("div",{className:"text-xs text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-service-fee`,defaultValue:"hizmet bedeli:"})})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-4",children:[e.jsx("div",{className:"bg-[#4059AD] rounded-xl p-4 text-white",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-white/20 flex items-center justify-center",children:e.jsx(V,{className:"w-5 h-5 text-white"})}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[9px] uppercase tracking-wider opacity-70 mb-0.5",children:e.jsx(s,{id:`${t}-vehicle-label`,defaultValue:"Araç Tipi"})}),e.jsx("div",{className:"text-2xl font-bold",children:e.jsx(s,{id:`${t}-vehicle-value`,defaultValue:"VIP Otobüs"})})]})]})}),e.jsx("div",{className:"bg-[#4059AD] rounded-xl p-4 text-white",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-white/20 flex items-center justify-center",children:e.jsx(W,{className:"w-5 h-5 text-white"})}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[9px] uppercase tracking-wider opacity-70 mb-0.5",children:e.jsx(s,{id:`${t}-direction-label`,defaultValue:"Transfer Yönü"})}),e.jsx("div",{className:"text-2xl font-bold",children:e.jsx(s,{id:`${t}-direction-value`,defaultValue:"GidiÅ-DönüÅ"})})]})]})})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("h2",{className:"text-base font-display font-bold text-[#3A3A3A] mb-1",children:e.jsx(s,{id:`${t}
21-details-title`,defaultValue:"Transfer Detayları"})}),e.jsx("p",{className:"text-[10px] text-[#3A3A3A]/60 mb-3",children:e.jsx(s,{id:`${t}-details-subtitle`,defaultValue:"Teklif kapsamındaki transfer bilgileri"})})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(k,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-passengers-label`,defaultValue:"Yolcu Sayısı"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${t}-passengers-value`,defaultValue:"100"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-passengers-desc`,defaultValue:"Toplam yolcu sayısı"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(R,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-pickup-label`,defaultValue:"AlıŠNoktası"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${t}-pickup-value`,defaultValue:"Antalya Havalimanı"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-pickup-desc`,defaultValue:"AlıŠlokasyonu"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(I,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-dropoff-label`,defaultValue:"BırakıŠNoktası"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${t}-dropoff-value`,defaultValue:"Otel"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-dropoff-desc`,defaultValue:"VarıŠlokasyonu"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(g,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-date-label`,defaultValue:"Tarih"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${t}-date-display`,defaultValue:"15.02.2026"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-date-desc`,defaultValue:"Transfer tarihi"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#effe8d]/30 rounded-lg border border-[#effe8d]",children:[e.jsx(A,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-free-cancel-label`,defaultValue:"Ãcretsiz İptal"})}),e.jsx(v,{id:`${t}-free-cancel-value`,defaultValue:"Evet"})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(N,{watchId:`${t}-free-cancel-value`,watchDefault:"Evet",yesDesc:"24 saat öncesine kadar",noDesc:"Ãcretsiz iptal yok"})})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-2.5 bg-[#F7F8FE] rounded-lg border border-[#D9D9D9]/50",children:[e.jsx(P,{className:"w-4 h-4 text-[#4059AD] mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"font-semibold text-[#3A3A3A] text-xs",children:e.jsx(s,{id:`${t}-cancel-penalty-label`,defaultValue:"İptal Cezası"})}),e.jsx("span",{className:"inline-flex items-center justify-center px-3 py-1 bg-white rounded-md font-bold text-xs border border-[#D9D9D9]/50 text-[#4059AD]",children:e.jsx(s,{id:`${t}-cancel-penalty-value`,defaultValue:"%50 ücret"})})]}),e.jsx("div",{className:"text-[10px] text-[#3A3A3A]/60",children:e.jsx(s,{id:`${t}-cancel-penalty-desc`,defaultValue:"İptal koÅulları"})})]})]})]}),e.jsxs("div",{className:"mt-6 bg-gradient-to-br from-[#F7F8FE] via-white to-[#F7F8FE] rounded-2xl p-4 border border-[#D9D9D9]/30",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx("div",{className:"w-6 h-6 rounded-full bg-[#4059AD] flex items-center justify-center",children:e.jsx(S,{className:"w-3 h-3 text-white"})}),e.jsx("span",{className:"text-xs font-bold text-[#3A3A3A]",children:e.jsx(s,{id:`${t}-notes-label`,defaultValue:"Notlar"})})]}),e.jsx("div",{className:"text-[11px] text-[#3A3A3A]/70 leading-relaxed",children:e.jsx(s,{id:`${t}-notes-value`,defaultValue:"",tag:"div"})})]})]}),e.jsx("div",{className:"mt-auto px-8 py-4 bg-[#F7F8FE] border-t border-[#D9D9D9]/50 flex-shrink-0",children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{className:"text-[10px] text-[#3A3A3A]/50",children:[e.jsx(s,{id:`${t}
21-footer-address`,defaultValue:"KozyataÄı Mah. Bayar Cad. Gülbahar Sok. PS Plaza No:17/14"}),e.jsx("br",{}),e.jsx(s,{id:`${t}-footer-city`,defaultValue:"Kadıköy, İstanbul 34742"})]}),e.jsxs("div",{className:"text-[10px] text-[#3A3A3A]/50 text-right",children:[e.jsx(s,{id:`${t}-footer-vd`,defaultValue:"VD: KozyataÄı"}),e.jsx("br",{}),e.jsx(s,{id:`${t}-footer-vkn`,defaultValue:"VKN: 9821067436"})]})]})})]})}function Te(){const[i,t]=o.useState(!1),[x,h]=o.useState({flight:1,hotel:0,transfer:0}),[a,l]=o.useState({0:[{id:"1",roomType:"Standard Double",guestsPerRoom:"2",roomCount:"25",pricePerRoom:"âº100"}]}),d=(c,r)=>{h(p=>({...p,[c]:Math.max(0,Math.min(5,p[c]+r))}))},m=c=>a[c]||[{id:"1",roomType:"Standard Double",guestsPerRoom:"2",roomCount:"25",pricePerRoom:"âº100"}],j=(c,r)=>{l(p=>({...p,[c]:r(p[c]||[{id:"1",roomType:"Standard Double",guestsPerRoom:"2",roomCount:"25",pricePerRoom:"âº100"}])}))},n=c=>{const r=Date.now().toString();l(p=>({...p,[c]:[...p[c]||[],{id:r,roomType:"Yeni Oda Tipi",guestsPerRoom:"2",roomCount:"1",pricePerRoom:"âº0"}]}))};o.useEffect(()=>{localStorage.getItem("mice-unlocked")==="true"&&t(!0)},[]);const f=()=>{window.print()},u=()=>{confirm("Tüm deÄiÅiklikler silinecek. Emin misiniz?")&&(Object.keys(localStorage).filter(r=>r.startsWith("mice-")&&r!=="mice-unlocked").forEach(r=>localStorage.removeItem(r)),window.location.reload())};return i?e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` 22 @media print { 23 @page { 24 size: A4; 25 margin: 0; 26 } 27 body { 28 margin: 0; 29 padding: 0; 30 -webkit-print-color-adjust: exact; 31 print-color-adjust: exact; 32 } 33 .print-container { 34 width: 210mm !important; 35 height: 297mm !important; 36 padding: 0 !important; 37 margin: 0 !important; 38 box-shadow: none !important; 39 } 40 * { 41 box-shadow: none !important; 42 text-shadow: none !important; 43 } 44 .shadow-xl, .shadow-lg, .shadow-md, .shadow-sm, .shadow-2xl { 45 box-shadow: none !important; 46 } 47 .print-container:not(:first-child) { 48 page-break-before: always; 49 } 50 } 51 `}),e.jsxs("div",{className:"fixed top-4 right-4 z-50 print:hidden flex items-center gap-4",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-white rounded-lg px-3 py-2 shadow-lg border border-[#D9D9D9]",children:[e.jsx("span",{className:"text-xs font-medium text-[#3A3A3A]/60",children:"Teklif Sayısı:"}),e.jsxs("div",{className:"flex items-center gap-1.5","data-testid":"counter-flight",children:[e.jsx($,{className:"w-3.5 h-3.5 text-[#4059AD]"}),e.jsx("span",{className:"text-xs text-[#3A3A3A]",children:"UçuÅ:"}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("button",{onClick:()=>d("flight",-1),className:"w-6 h-6 flex items-center justify-center rounded-l-md bg-[#F7F8FE] border border-[#D9D9D9] hover:bg-[#4059AD]/10 text-[#3A3A3A] text-sm font-bold","data-testid":"button-flight-minus",children:"â"}),e.jsx("span",{className:"w-6 h-6 flex items-center justify-center bg-white border-y border-[#D9D9D9] text-sm font-bold text-[#4059AD]",children:x.flight}),e.jsx("button",{onClick:()=>d("flight",1),className:"w-6 h-6 flex items-center justify-center rounded-r-md bg-[#F7F8FE] border border-[#D9D9D9] hover:bg-[#4059AD]/10 text-[#3A3A3A] text-sm font-bold","data-testid":"button-flight-plus",children:"+"})]})]}),e.jsxs("div",{className:"flex items-center gap-1.5","data-testid":"counter-hotel",children:[e.jsx(z,{className:"w-3.5 h-3.5 text-[#4059AD]"}),e.jsx("span",{className:"text-xs text-[#3A3A3A]",children:"Otel:"}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("button",{onClick:()=>d("hotel",-1),className:"w-6 h-6 flex items-center justify-center rounded-l-md bg-[#F7F8FE] border border-[#D9D9D9] hover:bg-[#4059AD]/10 text-[#3A3A3A] text-sm font-bold","data-testid":"button-hotel-minus",children:"â"}),e.jsx("span",{className:"w-6 h-6 flex items-center justify-center bg-white border-y border-[#D9D9D9] text-sm font-bold text-[#4059AD]",children:x.hotel}),e.jsx("button",{onClick:()=>d("hotel",1),className:"w-6 h-6 flex items-center justify-center rounded-r-md bg-[#F7F8FE] border border-[#D9D9D9] hover:bg-[#4059AD]/10 text-[#3A3A3A] text-sm font-bold","data-testid":"button-hotel-plus",children:"+"})]})]}),e.jsxs("div",{className:"flex items-center gap-1.5","data-testid":"counter-transfer",children:[e.jsx(V,{className:"w-3.5 h-3.5 text-[#4059AD]"}),e.jsx("span",{className:"text-xs text-[#3A3A3A]",children:"Transfer:"}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("button",{onClick:()=>d("transfer",-1),className:"w-6 h-6 flex items-center justify-center rounded-l-md bg-[#F7F8FE] border border-[#D9D9D9] hover:bg-[#4059AD]/10 text-[#3A3A3A] text-sm font-bold","data-testid":"button-transfer-minus",children:"â"}),e.jsx("span",{className:"w-6 h-6 flex items-center justify-center bg-white border-y border-[#D9D9D9] text-sm font-bold text-[#4059AD]",children:x.transfer}),e.jsx("button",{onClick:()=>d("transfer",1),className:"w-6 h-6 flex items-center justify-center rounded-r-md bg-[#F7F8FE] border border-[#D9D9D9] hover:bg-[#4059AD]/10 text-[#3A3A3A] text-sm font-bold","data-testid":"button-transfer-plus",children:"+"})]})]})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("button",{onClick:u,className:"flex items-center gap-2 px-3 py-2 bg-white text-[#3A3A3A] rounded-lg font-medium text-sm shadow-lg hover:bg-[#F7F8FE] transition-colors border border-[#D9D9D9]","data-testid":"button-reset",children:[e.jsx(A,{className:"w-4 h-4"}),"Sıfırla"]}),e.jsxs("button",{onClick:f,className:"flex items-center gap-2 px-4 py-2 bg-[#4059AD] text-white rounded-lg font-medium text-sm shadow-lg hover:bg-[#3048a0] transition-colors","data-testid":"button-download-pdf",children:[e.jsx(M,{className:"w-4 h-4"}),"PDF İndir"]})]})]}),e.jsxs("div",{className:"min-h-screen bg-[#e5e7eb] py-8 print:py-0 print:bg-white flex flex-col items-center gap-8 print:gap-0",children:[Array.from({length:x.flight}).map((c,r)=>e.jsx(ae,{offerIndex:r},`flight-${r}`)),Array.from({length:x.hotel}).map((c,r)=>e.jsx(le,{offerIndex:r,roomTypes:m(r),setRoomTypes:p=>j(r,p),addRoomType:()=>n(r)},`hotel-${r}`)),Array.from({length:x.transfer}).map((c,r)=>e.jsx(ie,{offerIndex:r},`transfer-${r}`))]})]}):e.jsx(se,{onUnlock:()=>t(!0)})}export{Te 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.