import{c as b,j as t,L as g}from"./app-BiexncSX.js";import{c as u}from"./utils-DvRnx1Xn.js";import{B as v}from"./bed-double-DlbqgL2k.js";import{C as w}from"./plus-Cm0TKlUw.js";import{C as j}from"./credit-card-DrNFemOT.js";function k(h){const e=b.c(9),{activeStep:r}=h;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=[{step:"01",label:"Select Rooms",href:"/rooms",icon:v},{step:"02",label:"Reservation Summary",href:"/summary",icon:w},{step:"03",label:"Checkout",href:"/checkout",icon:j}],e[0]=l):l=e[0];const x=l,c=`${16.666666666666668*(1+2*r)}%`;let o;e[1]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsx("div",{className:"absolute top-5.5 left-0 w-full h-1 bg-gray-200 rounded-full overflow-hidden"}),e[1]=o):o=e[1];let a;e[2]!==c?(a=t.jsx("div",{className:"absolute top-5.5 left-0 h-1 bg-linear-to-r from-main/70 via-main to-main rounded-full transition-all duration-700 ease-out shadow-[0_0_20px_rgba(212,175,55,0.35)]",style:{width:c}}),e[2]=c,e[3]=a):a=e[3];let s;e[4]!==r?(s=t.jsx("div",{className:"relative flex items-center justify-between",children:x.map((d,f)=>{const p=d.icon,n=f===r,m=f<r;return t.jsxs(g,{href:d.href,className:"group flex flex-col items-center flex-1",children:[t.jsxs("div",{className:u("relative z-10 flex items-center justify-center","h-12 w-12 rounded-full border bg-white","transition-all duration-500","hover:scale-105 hover:-translate-y-1 hover:rotate-6",m?"bg-main border-main text-white shadow-lg shadow-main/30":n?"border-main text-main shadow-[0_0_25px_rgba(212,175,55,0.35)] ":"border-gray-300 text-gray-400 group-hover:border-main/60 group-hover:text-main"),children:[m?t.jsx("span",{className:"text-lg",children:"✓"}):t.jsx(p,{className:"h-5 w-5"}),n&&t.jsx("span",{className:"absolute inline-flex h-full w-full rounded-full bg-main/20 animate-ping"})]}),t.jsxs("div",{className:"mt-3 text-center",children:[t.jsx("p",{className:u("text-sm tracking-wide transition-all duration-300",n?"text-main font-semibold":m?"text-gray-700":"text-gray-400 group-hover:text-main"),children:d.label}),t.jsx("div",{className:u("mx-auto mt-1 h-0.5 rounded-full bg-main transition-all duration-500",n||m?"w-8 opacity-100":"w-0 opacity-0 group-hover:w-6 group-hover:opacity-70")})]})]},f)})}),e[4]=r,e[5]=s):s=e[5];let i;return e[6]!==a||e[7]!==s?(i=t.jsx("div",{className:"flex justify-center items-center w-full",children:t.jsxs("div",{className:"relative mb-6 w-full max-w-4xl",children:[o,a,s]})}),e[6]=a,e[7]=s,e[8]=i):i=e[8],i}export{k as U};
