"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[709],{84546:(A,_,t)=>{t.d(_,{A:()=>r});var e=t(48322),o=t(67115),m=t(85703);const s=o.Ay.div` ${({theme:{mq:u,spacing:c},cardRowTheme:p="gold",layout:l})=>{const $=(0,m.DF)(p);return(0,o.AH)` position: relative; &.container { padding-bottom: 28px; @media ${u.min.px.tablet} { padding-bottom: 64px; } } .card-row__wrapper { display: flex; flex-flow: column nowrap; align-items: stretch; position: relative; gap: var(--space-m-l, ${c.s}); &.container { ::before { ${(0,m.uY)($,"cards")} } } @media ${u.min.px.tablet} { flex-flow: row wrap; } } .card-row__card { margin-inline: auto; width: 100%; flex: 1; @media ${u.min.px.tablet} { margin-inline: 0; flex: ${l==="container"?"1 0 calc(33% - var(--grid-gutter))":"1 0 calc(50% - var(--grid-gutter))"}; } @media ${u.min.px.laptop} { flex: ${l==="container"?"0 0 100%":"1 0 calc(50% - var(--grid-gutter))"}; } @media screen and (min-width: 1200px) { flex: ${l==="container"?"1":"1 0 calc(25% - var(--grid-gutter))"}; } } &.full-width { background-color: ${$}; } `}} `;var n=t(11384),b=t(93216);const r=({cards:u,cardRowTheme:c,layout:p="full-width",className:l,related:$=!1})=>u?e.createElement(s,{cardRowTheme:c,layout:p,className:`card-row ${p} ${l||""}`},e.createElement("div",{className:`card-row__wrapper ${p}`},u.map((f,y,{length:v})=>{let E="none";return v-1===y?E="end":y===0&&(E="start"),$?e.createElement(b.ListingCard,{...f,key:y,className:"card-row__card",borderColor:"gold"}):e.createElement(n.A,{key:y,...f,rounded:E,className:"card-row__card"})}))):null},92040:(A,_,t)=>{t.d(_,{A:()=>O});var e=t(48322),o=t(67115),m=t(10394);const s=o.Ay.div` ${({theme:{colors:a,mq:i,spacing:d}})=>(0,o.AH)` padding-block: var(--space-m-xl, ${d.xl}); .u-container { display: flex; flex-direction: column-reverse; justify-content: space-between; gap: ${(0,m.A)(36)}; @media ${i.min.px.desktop} { flex-direction: row; } } .course-hero__content-container { display: flex; flex-direction: column; justify-content: space-evenly; height: inherit; gap: ${d.xs}; flex: 1; } .course-hero__text-container { order: 2; } .course-hero__title, .course-hero__award { color: ${a.light.brand.darkBlue}; } .course-hero__title { font-weight: 600; text-wrap: balance; &.course-hero__title--long { font-size: var(--step-4); font-weight: 700; } @media ${i.min.px.desktop} { font-size: 3.75rem; line-height: normal; } } .course-hero__description { padding-top: ${d.xs}; } .course-hero__tag-container { display: flex; gap: ${d.xxs}; order: 1; } .course-hero__approval-tag { &:hover { cursor: pointer; background-color: ${a.light.brand.darkBlue}; } } .course-hero__subject-to-approval-link { color: white; text-decoration: none; } .course-hero__button-container { display: flex; gap: ${d.xxs}; order: 3; align-items: stretch; } .course-hero__button { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 100%; @media ${i.min.px.tablet} { width: 50%; } } .course-hero__image-container { flex: 1; img { width: 100%; height: auto; object-fit: cover; } } .course-hero__options { order: 2; } .course-hero__select { --select-border: ${a.light.neutral.grey80}; --select-focus: ${a.light.brand.burgundy}; --select-arrow: var(--select-border); position: relative; display: grid; grid-template-areas: 'select'; align-items: center; width: 100%; border: 1px solid var(--select-border); border-radius: 4px; padding: 1em; cursor: pointer; background-color: #fff; background-image: linear-gradient(to top, #f9f9f9, #fff 33%); &::after { content: ''; grid-area: select; justify-self: end; width: 0.8em; height: 0.5em; background-color: var(--select-border); clip-path: polygon(100% 0%, 0 0%, 50% 100%); } select { // Reset default styles grid-area: select; appearance: none; background-color: transparent; border: none; padding: 0 1em 0 0; margin: 0; width: 100%; font-family: inherit; font-size: inherit; cursor: inherit; line-height: inherit; outline: none; } select:focus + .focus { position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; border: 4px solid var(--select-focus); border-radius: inherit; } } `} `;var n=t(85703);const g=o.Ay.p` ${({theme:{colors:a,spacing:i},tagTheme:d="lightGrey"})=>{const k=(0,n.DF)(d),w=d==="lightGrey"?a.light.brand.darkBlue:a.light.neutral.white;return(0,o.AH)` inline-size: fit-content; padding: ${i.xxxs}; background-color: ${k}; color: ${w}; font-size: var(--step--1, 0.875rem); `}} `,u=({label:a,tagTheme:i,className:d})=>a?e.createElement(g,{className:`tag ${d||""}`,tagTheme:i},a):null;var c=t(69352),p=t(42501),l=t(43266),$=t(39289),f=t(67820),y=t(92301);const v=a=>!!(a&&a.length>40),O=({tags:a,title:i,awards:d,description:k,applicationCTA:w,secondaryCTA:C,image:P,subjectToApprovalTag:D,id:K,setId:M})=>{const N=(0,l.d4)($.Hy),B=(0,l.d4)(y.Wp),R=h=>{M(h)};return i?e.createElement(s,null,e.createElement("div",{className:"u-container"},e.createElement("div",{className:"course-hero__content-container"},e.createElement("div",{className:"course-hero__text-container"},e.createElement("h1",{className:`course-hero__title ${v(i)?"course-hero__title--long":""}`},i),e.createElement("p",{className:"h3 course-hero__award"},d.map(h=>h)),k&&e.createElement("p",{className:"h5 course-hero__description"},k)),e.createElement("div",{className:"course-hero__tag-container"},a&&a.length>0&&e.createElement(e.Fragment,null,a.map((h,L)=>e.createElement(u,{key:L,...h,tagTheme:"lightGrey"}))),D?.subjectToApproval&&D?.subjectToApprovalLabel&&D?.subjectToApprovalUrl&&e.createElement(u,{label:e.createElement(f.A,{className:"course-hero__subject-to-approval-link",path:D.subjectToApprovalUrl},D.subjectToApprovalLabel),className:"course-hero__approval-tag",tagTheme:"blue"})),e.createElement("div",{className:"course-hero__button-container"},w&&e.createElement(c.A,{openInNewWindow:!0,className:"course-hero__button",...w}),C&&e.createElement(c.A,{className:"course-hero__button",...C})),B&&B?.content?.options?.length>1?e.createElement("div",{className:"course-hero__options"},e.createElement("label",{htmlFor:"course-options",className:"sr-only"},"Select course option"),e.createElement("div",{className:"course-hero__select"},e.createElement("select",{name:"course-options",id:"course-options",onChange:h=>R(h.target.value),value:K},B?.content?.options?.map(h=>e.createElement("option",{key:h.id,value:h.id},h.title,", ",h.intakeData.studyMode.title))),e.createElement("span",{className:"focus"}))):null),e.createElement("div",{className:"course-hero__image-container"},P||N?e.createElement(p.A,{id:"course-hero__image",src:P.src?P.src:N?.src?N.src:"",alt:P.alt?P.alt:N?.alt?N.alt:"",height:412,width:540}):null))):null}},60118:(A,_,t)=>{t.d(_,{A:()=>s});var e=t(48322),o=t(67115);const m=({error:n,entryTitle:b,entryId:g})=>e.createElement(x,null,e.createElement("div",{className:"error-panel"},e.createElement("h1",null,"Entry Validation Error",b&&g?`: ${b} (${g})`:null),n&&n?.details?.length>0&&e.createElement("p",null,"Please resolve the following ",n.details.length," issues:"),n?.details?.map((r,u)=>e.createElement("div",{className:"error",key:u},e.createElement("code",null,e.createElement("span",null,e.createElement("strong",null,"Code")," ",r.code),"expected"in r&&e.createElement("span",null,e.createElement("strong",null,"Expected")," ",r?.expected),"received"in r&&e.createElement("span",null,e.createElement("strong",null,"Received")," ",r?.received),r.path&&r.path?.length>0&&r.path.map((c,p)=>e.createElement("span",{key:p},e.createElement("strong",null,"Field ID")," ",c)),e.createElement("span",null,e.createElement("strong",null,"Message")," ",r.message)))))),x=o.Ay.div` display: flex; padding: 2rem; h1 { margin-block-end: 0.25rem; font-size: 1.5rem; font-weight: 600; color: ${n=>n.theme.colors.light.brand.darkBlue}; } p { margin-block-end: 0.5em; } .error { margin-block-end: 1rem; } code { display: block; padding: 1rem; border: 1px solid ${n=>n.theme.colors.light.brand.lightBlue}; border-radius: 4px; background-color: ${n=>n.theme.colors.light.brand.lighterBlue}; span { display: block; } } `,s=m},54337:(A,_,t)=>{t.d(_,{A:()=>n});var e=t(48322),o=t(95443),m=t(98401),x=t(12774);const n=({icon:b,label:g,content:r,className:u,breakContent:c,id:p,setId:l})=>!g&&!r?null:e.createElement("li",{className:`key-fact ${u||""}`},e.createElement("span",{className:"key-fact__label"},e.createElement(o.A,{icon:b,size:24,className:"key-fact__icon"}),g||null,!c&&r?e.createElement("span",{className:"key-fact__content"},r.type==="markup"&&e.createElement(m.VK,{text:r.text}),r.type==="dropdown"&&e.createElement(x.m,{id:p,setId:l,...r})):null),c&&r?e.createElement(e.Fragment,null,r.type==="markup"&&e.createElement("span",{className:"key-fact__content key-fact__content--break"},e.createElement(m.VK,{className:"flow",text:r.text})),e.createElement("span",{className:"key-fact__content"},r.type==="dropdown"&&e.createElement(x.m,{id:p,setId:l,...r}))):null)},55141:(A,_,t)=>{t.d(_,{A:()=>x});var e=t(67115),o=t(10394);const x=e.Ay.div` ${({theme:{colors:s,spacing:n}})=>(0,e.AH)` .fact-list { padding: 0; margin: 0; margin-block-start: var(--space-2xs-xs, ${n.xxxs}); list-style: none; } .key-fact { padding: var(--space-xs-s, ${n.xxxs}); border-bottom: 1px solid ${s.light.brand.gold}; color: ${s.light.brand.darkBlue}; } .key-fact__label { display: flex; gap: 8px; } .key-fact__icon { color: ${s.light.brand.midBlue}; } .key-fact__content--break { display: block; margin-block-start: var(--space-3xs-2xs, ${n.xxxs}); margin-inline-start: ${n.s}; } .key-fact-option { display: flex; justify-content: space-between; inline-size: fit-content; padding: 0.5em; margin-block-start: 0.375em; border: none; border-radius: 4px; width: 100%; background: none; text-align: left; color: ${s.light.brand.gold}; touch-action: manipulation; cursor: pointer; transition: all 200ms ease; &.key-fact-option--active { border: 2px solid ${s.light.brand.midBlue}; } &.key-fact-option--singular { cursor: default; } &:hover, &:focus-within { span, .chevron-icon { color: ${s.light.brand.darkBlue}; transition: all 200ms ease; } } span { font-weight: 700; color: ${s.light.brand.midBlue}; &.active { text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; } } &:disabled { cursor: not-allowed; span { color: ${s.light.neutral.grey}; } } .chevron-icon { min-width: 24px; border-radius: 50%; border: 2px solid currentColor; color: ${s.light.brand.midBlue}; } } .options-list { padding: 0; margin: 0; margin-block-start: var(--space-2xs-xs, ${(0,o.A)(12)}); list-style: none; & li { margin-block-start: var(--space-3xs-2xs, ${n.xxxs}); } } .buttons-container { display: flex; flex-flow: column nowrap; gap: var(--space-2xs-xs, ${(0,o.A)(12)}); margin-block-start: var(--space-m-l, ${n.s}); button, a { width: 100%; } } `} `},12774:(A,_,t)=>{t.d(_,{A:()=>u,m:()=>g});var e=t(48322),o=t(43266),m=t(92301),x=t(55141),s=t(69352),n=t(54337),b=t(95443);const g=({options:c,initialState:p=!1,id:l,setId:$})=>{const[f,y]=(0,e.useState)(p),v=(0,o.d4)(m.Wp),E=c.find(a=>a.id===l),O=a=>{$(a)};return!c||c.length<=0?null:e.createElement(e.Fragment,null,v?.content?.options&&v?.content?.options.length>1?e.createElement(e.Fragment,null,e.createElement("button",{onClick:()=>y(!f),"aria-expanded":!!f,"aria-controls":E?.title?.replace(/\s+/g,"-").toLowerCase(),className:`key-fact-option ${E?.id===l&&"key-fact-option--active"}`},e.createElement("span",{className:"active"},E?.title),e.createElement(b.A,{className:"chevron-icon",icon:f?"arrowUp":"arrowDown",size:24})),f?e.createElement("ul",{className:"options-list"},v?.content?.options.map((a,i)=>e.createElement("li",{key:`${a.title}-${i}`},e.createElement("button",{onClick:()=>O(a.id),disabled:l===a.id,className:"key-fact-option"},e.createElement("span",null,a.title))))):null):e.createElement("div",{className:"key-fact-option key-fact-option--singular"},e.createElement("span",{className:"active"},E?.title)))},u=({applicationCTA:c,secondaryCTA:p,facts:l,hideApplyNow:$,id:f,setId:y,events:v})=>{const E=(0,o.d4)(m.Wp);if(!l||l.length<=0)return null;const O=(i,d,...k)=>[...i.slice(0,d),...k,...i.slice(d)];let a=l;return E&&!v&&(a=O(l,2,E)),e.createElement(x.A,null,e.createElement("h2",{className:"h4 key-facts__title"},v?"Event details":"Key facts"),e.createElement("ul",{className:"fact-list"},a.map((i,d)=>e.createElement(n.A,{key:d,...i,id:f,setId:y}))),e.createElement("div",{className:"buttons-container"},c&&c.link&&e.createElement(s.A,{className:"course-hero__button",...c}),p&&e.createElement(s.A,{className:"course-hero__button",id:"secondary-cta",...p})))}},10394:(A,_,t)=>{t.d(_,{A:()=>e});const e=m=>`${o(m)}rem`,o=m=>m/16}}]);