1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BOf8ZIwh.js","./DE-G7JZ8.js","./BfJgI-1u.js","./swiper-vue.DJHdZmOr.css","./entry.qt8ivvFw.css","./BJcvxiDA.js","./DXRXcCQW.js","./gallery.B59-fXNs.css"])))=>i.map(i=>d[i]); 2import{_ as S,u as C,m as U,c as Y,a as V,f as z}from"./DE-G7JZ8.js";import{_ as W}from"./D9xA4yFa.js";import{_ as q,a as G,b as R}from"./BVPlEA0e.js";import{f as O}from"./GvmOFZtb.js";import{d as j}from"./C1K6ie2k.js";import{I as r,V as o,a0 as t,O as y,Q as k,a7 as H,a1 as l,u as P,a9 as i,Y as Q,X as u,W as w,aa as X,U as x,a8 as b,d as B,m as J,M as K,N as Z}from"./BfJgI-1u.js";import $ from"./DE9e2T4n.js";import{_ as ee}from"./SkBNCFlC.js";import{t as te}from"./BJcvxiDA.js";import"./qGQ37FiI.js";import"./BNhfBXYv.js";import"./BDIQ_9Dj.js";/* empty css */import"./hGD9wldp.js";import"./Cv4R5_lo.js";import"./Jx4T7nIq.js";import"./CqkleIqs.js";import"./ChP-sWex.js";import"./cpc1ysGq.js";const oe="D MMM YY",ae={__name:"OffersPricing",props:{dateBands:Object,index:Number},setup(n,{expose:s}){s();const a={dateFormat:oe,props:n,get dayjs(){return j}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}},se={class:"w-full md:pl-4 text-white text-sm xl:text-md"},re={class:"table-auto w-full md:border-spacing-4 bg-gray-100 text-black p-2 xl:p-4 rounded-lg"},ne={class:"text-center"},le={class:"text-center"},ie={class:"text-center"},fe={class:"text-center"};function de(n,s,e,a,p,g){return o(),r("div",se,[t("table",re,[s[0]||(s[0]=t("thead",{class:"bg-yellow-500 rounded-t-lg"},[t("tr",{class:"rounded-t-lg"},[t("th",{class:"text-center"},"Start Date"),t("th",{class:"text-center"},"End Date"),t("th",{class:"text-center"},"Package Price"),t("th",{class:"text-center"},"Saving")])],-1)),t("tbody",null,[(o(!0),r(k,null,H(e.dateBands,(f,c)=>(o(),r("tr",{key:c},[t("td",ne,l(a.dayjs(f.startDate*1e3).format(a.dateFormat)),1),t("td",le,l(a.dayjs(f.endDate*1e3).format(a.dateFormat)),1),t("td",ie,"£"+l(("formatPrice"in n?n.formatPrice:P(O))(f.packagePrice)),1),t("td",fe,"£"+l(("formatPrice"in n?n.formatPrice:P(O))(f.saving)),1)]))),128))])]),y(" "+l(n.dateBand),1)])}const ce=S(ae,[["render",de],["__file","pricing.vue"]]),_e="D MMM YY",ue={__name:"OffersShPricing",props:{dateBands:Object,index:Number,travelBy:Object},setup(n,{expose:s}){s();const a={dateFormat:_e,props:n,get dayjs(){return j}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}},me={class:"w-full md:pl-4 text-white"},xe={class:"table-auto w-full md:border-spacing-4 bg-gray-100 text-black p-4 rounded-lg"},he={class:"bg-yellow-400 rounded-t-lg"},ge={class:"rounded-t-lg"},ye={key:0,class:"text-center text-lg"},pe={key:1,class:"text-center text-lg"},we={class:"text-center text-lg"},ve={class:"text-center text-lg"},be={key:0,class:"text-center text-lg"},ke={key:1,class:"text-center text-lg"};function He(n,s,e,a,p,g){return o(),r("div",me,[t("table",xe,[t("thead",he,[t("tr",ge,[s[0]||(s[0]=t("th",{class:"text-center text-lg"},"Start Date",-1)),s[1]||(s[1]=t("th",{class:"text-center text-lg"},"End Date",-1)),e.travelBy.sea?(o(),r("th",ye,"Sea Price")):i("",!0),e.travelBy.air?(o(),r("th",pe,"Air Price")):i("",!0)])]),t("tbody",null,[(o(!0),r(k,null,H(e.dateBands,(f,c)=>(o(),r("tr",{key:c},[t("td",we,l(a.dayjs(f.startDate*1e3).format(a.dateFormat)),1),t("td",ve,l(a.dayjs(f.endDate*1e3).format(a.dateFormat)),1),e.travelBy.sea?(o(),r("td",be," £"+l(("formatPrice"in n?n.formatPrice:P(O))(f.seaPricePh)),1)):i("",!0),e.travelBy.air?(o(),r("td",ke," £"+l(("formatPrice"in n?n.formatPrice:P(O))(f.airPricePh)),1)):i("",!0)]))),128))])]),y(" "+l(n.dateBand),1)])}const Pe=S(ue,[["render",He],["__file","shPricing.vue"]]),Se={__name:"UniversalTableWrap",props:{headings:Array},setup(n,{expose:s}){s();const a={props:n};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}},Te={class:"flex flex-col"},Oe={class:"overflow-x-auto sm:-mx-6 lg:-mx-8"},je={class:"py-2 inline-block min-w-full sm:px-6 lg:px-8"},Ie={class:"overflow-hidden"},Me={class:"min-w-full my-8"},Be={class:"bg-white border-b"};function Le(n,s,e,a,p,g){return o(),r("div",Te,[t("div",Oe,[t("div",je,[t("div",Ie,[t("table",Me,[t("thead",Be,[t("tr",null,[(o(!0),r(k,null,H(e.headings,(f,c)=>(o(),r("th",{key:c,scope:"col",class:"text-sm font-medium text-gray-900 px-6 py-4 text-left"},l(f),1))),128))])]),t("tbody",null,[Q(n.$slots,"default")])])])])])])}const De=S(Se,[["render",Le],["__file","wrap.vue"]]),Fe={__name:"OffersChannelIslandsFlights",props:{destination:String},async setup(n,{expose:s}){s();let e,a;const p=n,{data:g}=([e,a]=X(()=>C("/api/passport-schedules",{query:{destination:"543"}},"$nvym2sm56H")),e=await e,a(),e),f={props:p,data:g,get dayjs(){return j}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}},Ae={class:"text-lg text-sky-900 px-6 py-4 whitespace-nowrap"},Ee={class:"text-lg text-sky-900 px-6 py-4 whitespace-nowrap"},Ne={class:"text-lg text-sky-900 px-6 py-4 whitespace-nowrap"},Ce={class:"text-lg text-sky-900 px-6 py-4 whitespace-nowrap"},Ue={key:0},Ye={key:1};function Ve(n,s,e,a,p,g){const f=De;return o(),r("div",null,[u(f,{headings:["Airport","Carrier","Dates","Frequency","Supplement"]},{default:w(()=>[(o(!0),r(k,null,H(a.data.schedules,(c,h)=>(o(),r("tr",{key:h,class:"bg-white border-b transition duration-300 ease-in-out hover:bg-gray-100 w-full text-sm"},[t("td",Ae,l(c.departing),1),t("td",Ee,[t("span",null,l(c.carrier),1)]),t("td",Ne,l(a.dayjs(c.dateStart*1e3).format("D MMM YY"))+" - "+l(a.dayjs(c.dateEnd*1e3).format("D MMM YY")),1),s[0]||(s[0]=t("td",{class:"text-lg text-sky-900 px-6 py-4 whitespace-nowrap"},null,-1)),t("td",Ce,[c.supplement?(o(),r("span",Ue,"£"+l(c.supplement),1)):(o(),r("span",Ye,"Nill"))])]))),128))]),_:1})])}const ze=S(Fe,[["render",Ve],["__file","channel-islands-flights.vue"]]),We=Z(()=>z(()=>import("./BOf8ZIwh.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(n=>n.default||n)),qe="D MMM YY",Ge={__name:"offershorthaul",props:{offer:Object},setup(n,{expose:s}){s();const e=n,a=B(!1),p=J(()=>{const d=[];return e.offer.longHaul&&(e.offer.additionalImages&&e.offer.additionalImages.forEac
2h(_=>{d.push(_)}),e.offer.longHaul.itinerary&&e.offer.longHaul.itinerary.forEach(_=>{_.resort&&_.resort.images.forEach(m=>{d.push(m)})})),e.offer.shortHaul&&(e.offer.additionalImages&&e.offer.additionalImages.forEach(_=>{d.push(_)}),e.offer.shortHaul.accom.images.forEach(_=>{d.push(_)})),d});function g(d){if(!d||d.length===0)return null;let _=d[0].packagePrice,m=d[0].saving;for(let v of d)return v.packagePrice<_&&(_=v.packagePrice,v.saving>m&&(m=v.saving)),{smallestPackagePrice:_,highestSaving:m}}function f(d){let _=[];return d.forEach(m=>{m.seaPricePh&&_.push(m.seaPricePh),m.airPricePh&&_.push(m.airPricePh)}),Math.min(..._)}let c=[];e.offer.longHaul?c=g(e.offer.longHaul.dateBands):c=f(e.offer.shortHaul.dateBands);const h={dateFormat:qe,props:e,areSchedulesOpen:a,parsedImages:p,findLHPricing:g,findSHPricing:f,get pricing(){return c},set pricing(d){c=d},ref:B,get dayjs(){return j}};return Object.defineProperty(h,"__isScriptSetup",{enumerable:!1,value:!0}),h}},Re={id:"gallery",class:"mt-20"},Qe={id:"offer-body",class:"bg-white"},Xe={class:"w-full",id:"offer-title"},Je={id:"title",class:"flex flex-wrap justify-between my-8"},Ke={class:"w-full md:w-1/2"},Ze=["innerHTML"],$e={class:"text-xl xl:text-2xl"},et={key:0},tt={key:1},ot={key:1,class:"text-xl"},at={key:0,class:"w-full md:w-1/6"},st={class:"w-full md:w-1/3 text-right"},rt={class:"text-lg xl:text-xl"},nt={class:"font-bold text-blue-950"},lt={key:0,class:"text-lg xl:text-xl"},it={class:"font-bold text-blue-950"},ft={key:1,id:"rating",class:"flex justify-end w-full text-lg xl:text-xl"},dt={key:0,class:"bg-red-600 rounded-full text-white px-4 py-1 text-sm ml-2 mt-0.5"},ct={class:"w-full bg-gray-100 py-8 xl:py-16"},_t={id:"desc-included",class:"w-full flex flex-wrap"},ut={class:"bg-gradient-to-r from-blue-950 to-blue-950 w-full py-8 xl:py-16"},mt={class:"flex justify-between flex-wrap w-full"},xt={key:0,class:"w-full md:w-1/2 flex flex-wrap justify-between"},ht={class:"bg-gradient-to-r from-white to-gray-100 w-full py-8 xl:py-16"},gt={class:"w-full flex flex-wrap justify-between"},yt={key:0,id:"travel-info"},pt={class:"text-xl xl:text-2xl"},wt=["innerHTML"],vt=["innerHTML"],bt={key:1,id:"upgrade-options"},kt={class:"text-xl xl:text-2xl"},Ht=["innerHTML"],Pt={key:2,id:"additional-details",class:"border-t-2 pt-2 mt-2"},St=["innerHTML"],Tt={id:"enquiry-forms-cta"};function Ot(n,s,e,a,p,g){const f=We,c=U,h=Y,d=W,_=q,m=ce,v=Pe,L=G,D=$,M=R,F=ze,A=ee,E=K("TransitionFade"),N=V;return o(),x(N,{name:"wrapper",isTrade:!1},{default:w(()=>[t("div",Re,[u(f,{images:a.parsedImages,type:"CLOUDINARY"},null,8,["images"])]),t("div",Qe,[u(d,null,{default:w(()=>[t("div",Xe,[t("div",Je,[t("div",Ke,[e.offer.name?(o(),r("h1",{key:0,class:"text-3xl xl:text-4xl",innerHTML:`${e.offer.name}`},null,8,Ze)):i("",!0),t("h2",$e,[y(l(e.offer.duration)+" nights from £",1),e.offer.longHaul?(o(),r("span",et,l(a.pricing.smallestPackagePrice),1)):(o(),r("span",tt,l(a.pricing),1))]),e.offer.longHaul?(o(),r("p",ot," Saving £"+l(a.pricing.highestSaving)+" pp ",1)):i("",!0)]),e.offer.partnerLogo?(o(),r("div",at,[u(c,{provider:"cloudinary",src:e.offer.partnerLogo.src,alt:("toAltText"in n?n.toAltText:P(te))(e.offer.partnerLogo.alt||e.offer.partnerLogo.name||"Partner logo")},null,8,["src","alt"])])):i("",!0),t("div",st,[t("h3",rt,[s[1]||(s[1]=y(" Travel between: ")),t("span",nt,l(a.dayjs(e.offer.startDate*1e3).format(a.dateFormat))+" - "+l(a.dayjs(e.offer.endDate*1e3).format(a.dateFormat)),1)]),e.offer.offerExpiry?(o(),r("h3",lt,[s[2]||(s[2]=y(" Book by: ")),t("span",it,l(a.dayjs(e.offer.offerExpiry*1e3).format(a.dateFormat)),1)])):i("",!0),e.offer.shortHaul&&e.offer.shortHaul.accom&&e.offer.type!="GUESTHOUSE"?(o(),r("div",ft,[(o(!0),r(k,null,H(e.offer.shortHaul.accom.rating,(T,I)=>(o(),x(h,{name:"material-symbols:star-rate",key:I,size:"1.3em",class:"shadow-2xl text-yellow-500"}))),128)),e.offer.shortHaul.accom.ratingSuffix?(o(),r("h6",dt,l(e.offer.shortHaul.accom.ratingSuffix),1)):i("",!0)])):i("",!0)])])])]),_:1}),t("div",ct,[u(d,null,{default:w(()=>[t("div",_t,[e.offer.description?(o(),x(_,{key:0,description:e.offer.description},null,8,["description"])):i("",!0),!e.offer.description&&e.offer.shortHaul?(o(),x(_,{key:1,description:e.offer.shortHaul.accom.description},null,8,["description"])):i("",!0),t("div",{id:"whats-included",class:b(["my-4 w-full md:w-1/2 md:pl-8",{"md:w-full":!e.offer.description&&!e.offer.shortHaul}])},[t("h2",{class:b(["text-xl xl:text-2xl",{"text-center":!e.offer.description&&!e.offer.shortHaul}])}," What's Included? ",2),t("ul",{id:"whats-included-title",class:b(["w-full list-inside text-md xl:text-lg",{"flex flex-wrap justify-between items-center":!e.offer.description&&!e.offer.shortHaul}])},[(o(!0),r(k,null,H(e.offer.whatsIncluded,(T,I)=>(o(),r("li",{key:I,class:b({"w-full md:w-1/5 mx-4 my-8":!e.offer.description&&!e.offer.shortHaul})},[u(h,{name:"material-symbols:check-small",size:"1.3em"}),y(" "+l(T),1)],2))),128)),t("li",{class:b({"w-full text-center":!e.offer.description&&!e.offer.shortHaul})},[u(h,{name:"material-symbols:check-small"}),s[3]||(s[3]=y(" This holiday is 100% financially protected. ATOL protected 2713 "))],2)],2)
2],2)])]),_:1})])]),t("div",ut,[u(d,null,{default:w(()=>[t("div",mt,[e.offer.longHaul?(o(),r("div",xt,s[4]||(s[4]=[t("h2",{class:"text-xl xl:text-2xl text-white"},"Accommodation",-1)]))):i("",!0),t("div",{class:b(["w-full flex flex-wrap justify-between",{"md:w-1/2":e.offer.longHaul}])},[s[5]||(s[5]=t("h2",{class:"text-xl xl:text-2xl text-white mb-2"},"Pricing",-1)),e.offer.longHaul?(o(),x(m,{key:0,dateBands:e.offer.longHaul.dateBands},null,8,["dateBands"])):i("",!0),e.offer.shortHaul?(o(),x(v,{key:1,dateBands:e.offer.shortHaul.dateBands,travelBy:{air:e.offer.shortHaul.travelByAir,sea:e.offer.shortHaul.travelBySea}},null,8,["dateBands","travelBy"])):i("",!0)],2)])]),_:1})]),t("div",ht,[u(d,null,{default:w(()=>[t("div",gt,[e.offer.travelInfo||e.offer.shortHaul.travelInfo?(o(),r("div",yt,[t("h2",pt,[u(h,{name:"mdi:airplane"}),s[6]||(s[6]=y(" Travel Information "))]),e.offer.shortHaul?(o(),r("div",{key:0,class:"my-4 text-md xl:text-lg",innerHTML:e.offer.shortHaul.travelInfo},null,8,wt)):(o(),r("div",{key:1,class:"my-4 text-md xl:text-lg",innerHTML:e.offer.travelInfo},null,8,vt))])):i("",!0),e.offer.longHaul&&e.offer.longHaul.upgradeOptions?(o(),r("div",bt,[t("h2",kt,[u(h,{name:"material-symbols:upgrade"}),s[7]||(s[7]=y(" Upgrade Options "))]),t("div",{class:"my-2 xl:my-4 text-md xl:text-lg",innerHTML:e.offer.longHaul.upgradeOptions},null,8,Ht)])):i("",!0),e.offer.additionalDetails?(o(),r("div",Pt,[t("div",{class:"my-2 xl:my-4",innerHTML:e.offer.additionalDetails},null,8,St),e.offer.callToAction=="TACTICAL"&&e.offer.upgrades?(o(),x(L,{key:0,upgrades:e.offer.upgrades},null,8,["upgrades"])):i("",!0)])):i("",!0)])]),_:1})]),e.offer.callToAction=="TACTICAL"&&e.offer.tactical?(o(),x(D,{key:0,packageForm:e.offer.tactical,offer:e.offer},null,8,["packageForm","offer"])):i("",!0),t("div",Tt,[e.offer.longHaul?(o(),x(M,{key:0,offerName:e.offer.name,offerId:e.offer.id,dates:e.offer.longHaul.dateBands,userSource:null,type:"LONG_HAUL"},null,8,["offerName","offerId","dates"])):i("",!0),e.offer.shortHaul?(o(),x(M,{key:1,offerName:e.offer.name,offerId:e.offer.id,dates:e.offer.shortHaul.dateBands,userSource:null,type:"SHORT_HAUL"},null,8,["offerName","offerId","dates"])):i("",!0)]),u(E,null,{default:w(()=>[a.areSchedulesOpen?(o(),x(A,{key:0,onCloseModel:s[0]||(s[0]=T=>a.areSchedulesOpen=T)},{default:w(()=>[u(F)]),_:1})):i("",!0)]),_:1})]),_:1})}const Qt=S(Ge,[["render",Ot],["__scopeId","data-v-87e5d2cd"],["__file","offershorthaul.vue"]]);export{Qt 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.