1import{_ as n}from"./C9Pox2AF.js";import"./oyKahqKi.js";import{d as I,c as s,t as a,v as l,S as _,T as v,y as r,a as u,C as b,E as m,A as B,o as t,x as c,_ as C}from"./Di1fxNQw.js";import{_ as H}from"./B7LhhBF-.js";const E="Register your interest",x={class:"vu-course-intake-variations"},D={key:0,class:"vu-start-dates"},F={key:0,class:"vu-start-dates__location-heading"},T={key:1,class:"vu-start-dates__intake-type"},V=["data-intake-id"],L={key:0,class:"vu-start-dates__dates"},R={class:"vu-start-dates__date-item course-start-date"},S={key:0,class:"vu-start-dates__label"},A={class:"vu-start-dates__value"},N={key:0},O={key:1},$={key:0,class:"vu-start-dates__date-item application-close-date"},j={class:"vu-start-dates__value"},w={key:1,class:"vu-start-dates__date-item"},G={class:"vu-start-dates__value"},M={key:1,class:"vu-start-dates"},P=I({__name:"CourseIntakeVariations",props:{variations:{},disclaimer:{default:""},registerInterestHref:{},registerInterestLabel:{default:E}},setup(i){const f=y=>!!y.locationGroups?.some(d=>d.locationHeading);return(y,d)=>(t(),s("div",x,[i.variations&&i.variations.length>0?(t(),s("div",D,[(t(!0),s(_,null,v(i.variations,(e,g)=>(t(),s("div",{key:`variation-${g}`,class:"vu-start-dates__variation-group"},[e.locationHeading?(t(),s("h3",F,c(e.locationHeading),1)):a("",!0),e.variationLabel?(t(),s("h3",T,c(e.variationLabel),1)):a("",!0),e.variationDescription&&!f(e)?(t(),l(r(n),{key:2,html:e.variationDescription,class:"vu-start-dates__variation-description"},null,8,["html"])):a("",!0),(t(!0),s(_,null,v(e.locationGroups,(h,k)=>(t(),s("div",{key:`location-group-${k}`,class:"vu-start-dates__location-group"},[h.locationHeading?(t(),l(r(n),{key:0,html:h.locationHeading,class:"vu-start-dates__location-name"},null,8,["html"])):a("",!0),(t(!0),s(_,null,v(h.intakes,(o,p)=>(t(),s("div",{key:`intake-${p}`,class:"vu-start-dates__intake","data-intake-id":o.intakeId},[!o.hideDates&&!e.hideDates?(t(),s("div",L,[u("div",R,[o.isOngoingIntake?a("",!0):(t(),s("span",S," Course starts ")),u("span",A,[o.isOngoingIntake&&o.admissionCategory==="HE-PGRD"?(t(),s("strong",N,"Multiple start dates")):o.isOngoingIntake?(t(),s("strong",O,"Start at any time")):(t(),s(_,{key:2},[m(c(o.startDate),1)],64))])]),o.applicationEndDate?(t(),s("div",$,[d[0]||(d[0]=u("span",{class:"vu-start-dates__label"},"Applications close",-1)),u("span",j,c(o.applicationEndDate),1)])):a("",!0),o.additionalIntakeInformation?(t(),s("div",w,[u("span",G,c(o.additionalIntakeInformation),1)])):a("",!0)])):a("",!0),o.vtacInfoHtml?(t(),l(r(n),{key:1,html:o.vtacInfoHtml},null,8,["html"])):a("",!0)],8,V))),128))]))),128)),e.preButtonsContent?(t(),l(r(n),{key:3,html:e.preButtonsContent,class:"vu-start-dates__pre-buttons-content"},null,8,["html"])):a("",!0),e.buttonsBeforeFooter?(t(),l(r(n),{key:4,html:e.buttonsBeforeFooter,class:"vu-start-dates__buttons-before-footer"},null,8,["html"])):a("",!0),e.variationFooter?(t(),l(r(n),{key:5,html:e.variationFooter,class:"vu-start-dates__variation-footer"},null,8,["html"])):a("",!0),e.buttonsAfterFooter?(t(),l(r(n),{key:6,html:e.buttonsAfterFooter,class:"vu-start-dates__buttons-after-footer"},null,8,["html"])):a("",!0),e.postFooterButtonsText?(t(),l(r(n),{key:7,html:e.postFooterButtonsText,class:"vu-start-dates__footer-text"},null,8,["html"])):a("",!0)]))),128)),i.disclaimer?(t(),l(r(n),{key:0,html:i.disclaimer,class:"vu-start-dates__disclaimer"},null,8,["html"])):a("",!0)])):i.registerInterestHref?(t(),s("div",M,[d[1]||(d[1]=u("h3",{class:"vu-start-dates__intake-closed"}," Applications closed ",-1)),d[2]||(d[2]=u("p",{class:"vu-start-dates__no-intakes-message"},[m(" There are currently no scheduled intakes for this course."),u("br"),m("Register your interest, and we'll get in contact to discuss your options. ")],-1)),b(r(H),{href:i.registerInterestHref,type:"primary"},{default:B(()=>[m(c(i.registerInterestLabel),1)]),_:1},8,["href"])])):a("",!0)]))}}),z=C(P,[["__scopeId","data-v-38481687"]]),U=Object.freeze(Object.defineProperty({__proto__:null,default:z},Symbol.toStringTag,{value:"Module"}));export{U as C,E as R,z as V};
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.