1import{a as u,j as e,N as j,i as b,k,n as F,ai as S,B as i,L as y,aj as B,m as o,K as C,s as n,h as w,am as z}from"./index-B1OsUGy1.js";import{S as W}from"./success-BqY7SGSG.js";import{C as D}from"./CheckCircle-bhGECirL.js";const T=n(i)(({theme:t})=>({minHeight:"100vh",backgroundColor:"#FFFFFF",paddingTop:"96px",[t.breakpoints.down("md")]:{paddingTop:"72px"},[t.breakpoints.down("sm")]:{paddingTop:"60px"}})),I=n(i)(({theme:t})=>({maxWidth:"1200px",margin:"0 auto",padding:"40px 24px",display:"flex",flexDirection:"column",alignItems:"center",[t.breakpoints.down("md")]:{padding:"32px 16px"},[t.breakpoints.down("sm")]:{padding:"24px 12px"}})),v=n(i)(({theme:t})=>({width:"80px",height:"80px",marginBottom:"15px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"12px",[t.breakpoints.down("sm")]:{width:"150px",height:"150px",marginBottom:"24px"}})),N=n(o)(({theme:t})=>({fontSize:"32px",fontWeight:700,color:"#242424",marginBottom:"0",textAlign:"center",[t.breakpoints.down("md")]:{fontSize:"28px"},[t.breakpoints.down("sm")]:{fontSize:"24px"}})),A=n(o)(({theme:t})=>({fontSize:"20px",fontWeight:400,color:"#242424",marginBottom:"20px",textAlign:"center",[t.breakpoints.down("sm")]:{fontSize:"14px",marginBottom:"24px"}})),R=n(w)(({theme:t})=>({backgroundColor:"#242424",color:"#FFFFFF",padding:"10px 15px",borderRadius:"8px",fontSize:"16px",fontWeight:400,textTransform:"none",marginBottom:"30px",minWidth:"100px","&:hover":{backgroundColor:"#1A1A1A"},[t.breakpoints.down("sm")]:{padding:"10px 24px",fontSize:"14px",marginBottom:"32px"}})),P=n(z)(({theme:t})=>({maxWidth:"270px",width:"100%",backgroundColor:"#FFFFFF",borderRadius:"12px",boxShadow:"0px 26px 56px #00000015",border:0,marginBottom:"32px",[t.breakpoints.down("sm")]:{marginBottom:"24px"}})),L=n("img")(({theme:t})=>({width:"60px",height:"60px",borderRadius:"10px",objectFit:"cover",marginBottom:"5px"})),H=n(i)(({theme:t})=>({textAlign:"right"})),_=n(o)(({theme:t})=>({fontSize:"14px",fontWeight:700,color:"#242424",whiteSpace:"nowrap"})),M=n(o)(({theme:t})=>({fontSize:"12px",fontWeight:400,color:"#757575"})),Y=n(o)(({theme:t})=>({fontSize:"18px",fontWeight:700,color:"#242424",marginBottom:"15px",lineHeight:1.1,[t.breakpoints.down("sm")]:{fontSize:"16px"}})),E=n(o)(({theme:t})=>({fontSize:"13px",fontWeight:400,color:"#757575",marginBottom:"16px",lineHeight:1.1,display:"flex",alignItems:"center",gap:"4px",[t.breakpoints.down("sm")]:{fontSize:"12px"}})),K=n(i)(({theme:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"16px",[t.breakpoints.down("sm")]:{flexDirection:"column",alignItems:"flex-start",gap:"8px"}})),s=n(i)(({theme:t})=>({display:"flex",flexDirection:"column",alignItems:"start","& .detail-value":{fontSize:"16px",fontWeight:600,color:"#242424"},"& .detail-label":{fontSize:"12px",fontWeight:400,color:"#757575"},[t.breakpoints.down("sm")]:{alignItems:"flex-start","& .detail-value":{fontSize:"14px"}}})),O=n(i)(({theme:t})=>({backgroundColor:"#FF6B35",color:"#FFFFFF",padding:"4px 12px",borderRadius:"16px",fontSize:"12px",fontWeight:400,display:"inline-flex",alignItems:"center",marginRight:"12px"})),q=n(i)(({theme:t})=>({backgroundColor:"#242424",color:"#FFFFFF",padding:"8px 12px",borderRadius:"0 0 8px 8px",display:"flex",flexDirection:"column",alignItems:"center",minWidth:"50px","& .days-number":{fontSize:"16px",fontWeight:400,lineHeight:1},"& .days-label":{fontSize:"9px",fontWeight:400,lineHeight:1}})),G=n(o)(({theme:t})=>({fontSize:"16px",fontWeight:400,color:"#242424",textAlign:"center",[t.breakpoints.down("sm")]:{fontSize:"12px"}})),X=()=>{const t=u(),{bookingId:J,img:l,start:a,countryName:x,cityName:d,tPersons:c,tourName:r,tServiceTotal:p,tourDate:m,tDayRemain:g,ticketTypename:h,bookingStatus:f}=t.state||{};return t.state?e.jsxs(e.Fragment,{children:[e.jsx(b,{}),e.jsx(T,{children:e.jsxs(I,{children:[e.jsx(v,{children:e.jsx(k,{animationData:W,loop:!0,autoplay:!0,style:{width:"100%",height:"100%"}})}),e.jsx(N,{children:"Congratulations"}),e.jsx(A,{children:"Booking received successfully"}),e.jsx(F,{to:"/discover-checkout-not-confirm",children:e.jsx(R,{children:"Done"})}),e.jsx(P,{children:e.jsxs(S,{sx:{padding:"24px"},children:[e.jsxs(i,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:"0"},children:[e.jsxs(i,{children:[e.jsx(L,{src:l,alt:r}),e.jsxs(i,{sx:{flex:1},children:[e.jsx(Y,{children:r}),e.jsxs(E,{children:[e.jsx(y,{sx:{fontSize:"15px"}}),d,", ",x]})]})]}
1),e.jsxs(H,{children:[e.jsx(_,{children:B(p)}),e.jsx(M,{children:"Paid"})]})]}),e.jsxs(K,{children:[e.jsxs(s,{children:[e.jsx(o,{className:"detail-value",children:m}),e.jsx(o,{className:"detail-label",children:"Date"})]}),a&&e.jsxs(s,{children:[e.jsx(o,{className:"detail-value",children:a}),e.jsx(o,{className:"detail-label",children:"Time"})]}),e.jsxs(s,{children:[e.jsx(o,{className:"detail-value",children:c}),e.jsx(o,{className:"detail-label",children:h||"Person"})]})]}),e.jsx(C,{}),e.jsxs(i,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[e.jsxs(O,{children:[e.jsx(D,{sx:{fontSize:"12px",marginRight:"4px"}})," ",f||"Confirmed"]}),e.jsxs(q,{children:[e.jsx(o,{className:"days-number",children:g}),e.jsx(o,{className:"days-label",children:"DAYS"})]})]})]})}),e.jsx(G,{children:"You can access ticket from My Booking section under profile"})]})})]}):e.jsx(j,{to:"/",replace:!0})};export{X 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.