1import{_ as P}from"./CfW_ZbF6.js";import{d as D,n as S,w as V,r as F,K as H,u as R,o,c as u,a as h,h as c,b as e,e as r,f as n,i as G,t as M,s as w,j as T,g as p,y as O,F as b,x as j,B as q,z,A as K,D as W}from"./B67c-A-1.js";import{_ as J}from"./Cf4pbcS1.js";import Q from"./BjbjlFIs.js";import U from"./C7RoI8ky.js";import X from"./BPSE09bx.js";import{u as Y}from"./DiOyeEj_.js";import{u as Z}from"./CCuoNZhD.js";import"./CcVuhmjZ.js";import"./UTu9aYdu.js";import"./CtcBq94F.js";import"./BZsJvaCZ.js";import"./CGdHOVIx.js";const ee=m=>(z("data-v-4c5a76a7"),m=m(),K(),m),te={class:"room-detail"},oe=["data-tab-text"],se={class:"inner-tab-text"},ae={class:"page-overview mt-m max-w-80"},re=ee(()=>p("h4",{class:"t-button"},"What to Expect",-1)),ne=D({__name:"room",async setup(m){let i,l;const y=S();Y(y.params.roomType);const A=([i,l]=V(()=>G("RoomTypeDetail",{slug:y.params.roomType})),i=await i,l(),i),t=Z(A,"roomType"),I=F({activeTabIndex:0}),d=H([{title:"Overview"},{title:"Terms"}]);function L(s){I.activeTabIndex=s}return R(t.value),(s,me)=>{var f,g,k,v,x;const _=P,N=q,B=J,C=Q,E=U,$=X;return o(),u("div",te,[h(C,{returnLink:`/stay/${(g=(f=e(t))==null?void 0:f.stayType)==null?void 0:g.slug}/`,returnLinkText:`Return to ${(v=(k=e(t))==null?void 0:k.stayType)==null?void 0:v.name}`,class:"mb-3xl",title:e(t).name,images:e(t).heroImageGalleryItems},{default:c(()=>[h(B,{class:"w-full",onChange:L},M({_:2},[w(e(d),a=>({name:`tab-${a.title}`,fn:c(()=>[p("span",{"data-tab-text":a.title},[p("span",se,O(a.title),1)],8,oe)])})),w(e(d),a=>({name:`panel-${a.title}`,fn:c(()=>[a.title=="Terms"?(o(),u(b,{key:0},[e(t).terms?(o(),r(_,{key:0,source:e(t).terms},null,8,["source"])):n("",!0)],64)):(o(),u(b,{key:1},[e(t).overviewIntro?(o(),r(_,{key:0,source:e(t).overviewIntro},null,8,["source"])):n("",!0),p("div",ae,[re,e(t).overviewList?(o(),r(_,{key:0,source:e(t).overviewList},null,8,["source"])):n("",!0)]),e(t).bookingLink?(o(),r(N,{key:1,class:"mt-l",button:"",brown:"",to:e(t).bookingLink},{default:c(()=>[j(" Book Now ")]),_:1},8,["to"])):n("",!0)],64))])}))]),1024)]),_:1},8,["returnLink","returnLinkText","title","images"]),("useNotEmptyArray"in s?s.useNotEmptyArray:e(T))(e(t).flexComponents)?(o(),r(E,{key:0,items:e(t).flexComponents},null,8,["items"])):n("",!0),("useNotEmptyArray"in s?s.useNotEmptyArray:e(T))(e(t).pagePromos)&&((x=e(t).pagePromos)==null?void 0:x.length)>=3?(o(),r($,{key:1,promos:e(t).pagePromos},null,8,["promos"])):n("",!0)])}}}),he=W(ne,[["__scopeId","data-v-4c5a76a7"]]);export{he 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.