import{c as h,u as b,j as s,b as j,H as p}from"./app-BiexncSX.js";import{H as g,F as v}from"./Footer-Szv-FVt1.js";import{H as y}from"./Header-9KR7dKcf.js";import{a as S,b as N,c as w,e as _,S as H,d as k}from"./select-Oi4we0ay.js";import{T as C}from"./sonner-8z7PTnwf.js";import{c as F}from"./utils-DvRnx1Xn.js";function P(){const t=h.c(9),{currency:e}=b().props;if(!e)return;const d=T;if(e.available.length<=0)return;const c=e.selected;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=o=>d(o),t[0]=i):i=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(S,{className:"w-fit text-neutral-300 border-none text-[11px] p-0 h-fit ring-0",size:"sm",children:s.jsx(N,{placeholder:"Select a cateogry",className:"p-0 h-fit"})}),t[1]=n):n=t[1];let l;t[2]!==e.available?(l=e.available.map(R),t[2]=e.available,t[3]=l):l=t[3];let a;t[4]!==l?(a=s.jsx(w,{className:"rounded-sm bg-main-dark text-white border-neutral-600",children:s.jsx(_,{children:l})}),t[4]=l,t[5]=a):a=t[5];let r;return t[6]!==e.selected||t[7]!==a?(r=s.jsxs(H,{value:c,onValueChange:i,children:[n,a]}),t[6]=e.selected,t[7]=a,t[8]=r):r=t[8],r}function R(t){return s.jsxs(k,{className:"text-xs rounded-sm",value:t.code,children:["  ",s.jsxs("span",{children:[t.code," (",t.symbol,") "]})," : ",s.jsx("span",{children:t.country})]},t.code)}function T(t){j.post("/currency/change",{currency:t})}function $(){const t=h.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx("div",{className:"hidden sm:block w-full bg-black border-b border-white/20 h-8",children:s.jsxs("div",{className:"max-w-300 2xl:max-w-340  mx-auto flex justify-end gap-4 items-center text-neutral-300 text-[11px]",children:[s.jsx("div",{children:"heavenuponricefields@gmail.com"}),s.jsx("div",{children:"|"}),s.jsx(P,{})]})}),t[0]=e):e=t[0],e}function L(t){const e=h.c(17),{home:d,title:c,children:i,className:n}=t;let l;e[0]!==c?(l=s.jsx(p,{title:c}),e[0]=c,e[1]=l):l=e[1];let a;e[2]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx($,{}),e[2]=a):a=e[2];let r;e[3]!==d||e[4]!==c?(r=d?s.jsx(g,{}):s.jsxs(s.Fragment,{children:[s.jsx(y,{title:c}),s.jsxs("div",{className:"hidden sm:block relative bg-[url(/images/hotel/inside.jpg)] bg-center w-full h-[40vh] max-h-72",children:[s.jsx("div",{className:"absolute top-0 bottom-0 w-full bg-black/75"}),s.jsx("div",{className:"absolute bottom-0 w-full flex-col justify-end ",children:s.jsx("img",{src:"/images/design/bottom-shape2.png",alt:"",className:"object-contain h-full"})}),s.jsxs("div",{className:"absolute top-0 bottom-0 w-full flex flex-col gap-4 pb-10 justify-center items-center",children:[s.jsx("h1",{className:"text-5xl text-white font-serif",children:c}),s.jsx("p",{className:" text-white font-marck text-lg",children:"Home  Rooms & Suttes"})]})]})]}),e[3]=d,e[4]=c,e[5]=r):r=e[5];let o;e[6]!==n?(o=F("bg-white",n),e[6]=n,e[7]=o):o=e[7];let m;e[8]!==i||e[9]!==o?(m=s.jsx("div",{className:o,children:i}),e[8]=i,e[9]=o,e[10]=m):m=e[10];let x,f;e[11]===Symbol.for("react.memo_cache_sentinel")?(x=s.jsx(C,{}),f=s.jsx(v,{}),e[11]=x,e[12]=f):(x=e[11],f=e[12]);let u;return e[13]!==l||e[14]!==r||e[15]!==m?(u=s.jsxs(s.Fragment,{children:[l,a,r,m,x,f]}),e[13]=l,e[14]=r,e[15]=m,e[16]=u):u=e[16],u}export{L as P};
