"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[617,795],{4984:(C,E,t)=>{t.d(E,{A:()=>$});var e=t(8322),o=t(7115);const y=o.Ay.div` ${()=>(0,o.AH)``} `;var m=t(3689);const $=({title:_,items:n,className:g})=>!n||n.length<=0?null:e.createElement(y,{className:`accordion ${g||""}`},_&&e.createElement("h2",{className:"accordion__title"},_),n.map((i,b)=>e.createElement(m.A,{key:b,title:i.title,canvas:i.canvas,canvasData:i.canvasData},i.children)))},3689:(C,E,t)=>{t.d(E,{A:()=>_});var e=t(8322),o=t(7115);const y=o.Ay.div` ${({theme:{colors:n,spacing:g}})=>(0,o.AH)` width: 100%; &.is-closed { .accordion-item__button { border-bottom: 1px solid ${n.light.brand.lightGold}; background-color: white; } } .accordion-item__button::before, .accordion-item__button::after { content: ''; position: absolute; right: 10px; top: 50%; width: 16px; height: 2px; background-color: currentColor; transition: transform 0.3s ease-in-out; } .accordion-item__button::before { transform: rotate(0); } .accordion-item__button::after { transform: rotate(90deg); } &.is-open .accordion-item__button::before { transform: rotate(180deg); } &.is-open .accordion-item__button::after { transform: rotate(0); } /* &.is-open .accordion-item__button { background-size: 100% 100%; } */ .accordion-item__button { position: relative; padding: ${g.xs} ${g.xxxs}; margin: 0; border: none; border-bottom: 1px transparent; width: 100%; text-align: left; background-color: white; cursor: pointer; background: linear-gradient(to right, #f6f6f6, #f6f6f6) no-repeat; background-size: 0 100%; transition: background-size 0.5s ease-in-out; &:hover { background-size: 100% 100%; } &:hover, &:focus-visible { background-size: 100% 100%; } } .accordion-item__label { display: flex; flex-direction: row; justify-content: space-between; align-items: center; .label { padding-right: ${g.s}; margin: 0; color: ${n.light.brand.darkBlue}; flex-grow: 1; } .accordion-item__icon { color: ${n.light.brand.darkBlue}; min-height: 24px; min-width: 24px; } } .accordion-item__content { max-height: 0; overflow: hidden; transition: max-height 1s ease-out, opacity 1s ease-out; opacity: 0; border-bottom: 1px solid ${n.light.brand.lightGold}; padding: ${g.xs} ${g.xxxs}; &.is-open { max-height: 1000px; opacity: 1; transition: max-height 1s ease-in, opacity 1s ease-in; } } `} `;var m=t(8566),r=t(8401);const _=({title:n,children:g,className:i,initialState:b=!1,canvas:v=!1,canvasData:N})=>{const[l,u]=(0,e.useState)(b),f=s=>{s.stopPropagation(),u(!l)};return e.createElement(y,{className:`accordion-item ${i||""} ${l?"is-open":"is-closed"}`},e.createElement("button",{className:"accordion-item__button",onClick:s=>f(s),"aria-expanded":!!l,"aria-controls":n?.replace(/\s+/g,"-").toLowerCase()},e.createElement("span",{className:"accordion-item__label"},e.createElement("p",{className:"h6 label"},n))),l?e.createElement("div",{className:`accordion-item__content ${l?"is-open":"is-closed"}`,"aria-labelledby":n,id:n?.replace(/\s+/g,"-").toLowerCase()},v&&N?e.createElement(m.default,{className:"content",data:N}):null,g&&e.createElement(r.VK,{className:"content",text:g})):null)}},8566:(C,E,t)=>{t.r(E),t.d(E,{default:()=>O});var e=t(8322),o=t(6550),h=t(7820);const m=c=>{const{link:A,newTab:M}=c.block.properties||{},P={path:A?.sys?.uri,openInNewWindow:M};return e.createElement(h.A,{...P},e.createElement(o.N_.Children,{block:c.block}))};var r=t(7115),$=t(2472),_=t(5703);const g=r.Ay.div` ${()=>(0,r.AH)` display: flex; flex-direction: column; * { margin-block-start: 1em; &:first-child { margin-block-start: 0; } } .testimonial { margin-block: 2.5em; } .accordion { margin-block: 2em; & > .accordion-item { margin-block-start: 0; &:last-child { margin-block-start: 0; } } .accordion-item { .accordion-item__button { margin-block: 0; .accordion-item__label { .accordion-item__icon { margin-block-start: 0; } } } } } .accordion-item { margin-block-start: 0; } hr { width: 100%; } ul, ol { font-weight: 600; color: ${$.T.light.brand.darkBlue}; li::marker { color: ${$.T.light.brand.gold}; } } a { text-decoration: underline; } ${_.Ju}; .canvas-button { &:hover, &:focus-visible { transform: scale(1); } } img { align-self: center; max-height: 600px; } `} `;var i=t(4984),b=t(3149);const v=c=>{if(!c.block.value)return null;const A=(0,b.e)(c.block.value);return A?e.createElement(i.A,{...A}):null};var N=t(3692);const l=c=>({title:c.title,children:c.content});var u=t(3689);const f=c=>c.block.value?e.createElement(u.A,{...(0,N.mapJson)(c.block.value,l)}):null,s=c=>({label:c.label,buttonTheme:c.buttonTheme,link:c.url});var x=t(7454);const a=c=>c.block.value?e.createElement(x.A,{...(0,N.mapJson)(c.block.value,s),className:"canvas-button"}):null,p=c=>{const A={data:c?.block?.value?.snippet?.content};return!A.data||A.data.length<=0?null:e.createElement(O,{...A})},k={},D={accordion:v,accordionItem:f,button:a,snippet:p},O=({data:c,className:A})=>c?e.createElement(g,{className:A||""},e.createElement(o.Tz,{blocks:{_link:m},components:D},e.createElement(o.A4,{data:c}))):null},7838:(C,E,t)=>{t.d(E,{A:()=>N});var e=t(8322),o=t(7115),h=t(5703);const m=o.Ay.div` ${({theme:{mq:l,spacing:u},cardRowTheme:f="gold",layout:s})=>{const x=(0,h.DF)(f);return(0,o.AH)` position: relative; &.container { padding-bottom: 28px; @media ${l.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, ${u.s}); &.container { ::before { ${(0,h.uY)(x,"cards")} } } @media ${l.min.px.tablet} { flex-flow: row wrap; } } .card-row__card { margin-inline: auto; width: 100%; flex: 1; @media ${l.min.px.tablet} { margin-inline: 0; flex: ${s==="container"?"1 0 calc(33% - var(--grid-gutter))":"1 0 calc(50% - var(--grid-gutter))"}; } @media ${l.min.px.laptop} { flex: ${s==="container"?"0 0 100%":"1 0 calc(50% - var(--grid-gutter))"}; } @media screen and (min-width: 1200px) { flex: ${s==="container"?"1":"1 0 calc(25% - var(--grid-gutter))"}; } } &.full-width { background-color: ${x}; } `}} `,$=o.Ay.div` ${({theme:{colors:l,mq:u},cardTheme:f="blue",rounded:s,hideDescription:x})=>{const a=(0,h.DF)(f);return(0,o.AH)` position: relative; display: flex; flex-flow: column nowrap; transition: all 1s ease-in-out; cursor: pointer; overflow: hidden; &:hover, &:focus-within { .card__image { transform: scale(1.05); } } .card__media { order: -1; height: 180px; min-height: 180px; width: 100%; overflow: hidden; } .card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease-in-out; } .card__content { display: flex; flex-flow: column nowrap; padding: var(--space-m-l) 1.5rem var(--space-3xl-4xl) var(--space-s-m); background-color: ${a}; height: 100%; } .card__category { order: -1; margin-block-end: 0.5em; font-weight: 700; color: ${l.light.neutral.grey80}; @media ${u.min.px.largeMobile} { margin-block-end: 1em; } } .card__title { margin-block-end: 0.5em; font-weight: 700; @media ${u.min.px.largeMobile} { font-weight: 600; } a { color: ${l.light.brand.darkBlue}; text-decoration: none; &::after { ${h.A4}; z-index: 1; } } } ${x&&(0,o.AH)` .card__description { display: none; } .card__content { padding-block-end: ${s==="start"?"2.5rem":"1.5rem"}; } `} ${s==="start"&&(0,o.AH)` .card__image { border-top-right-radius: 50px; @media ${u.min.px.tablet} { border-radius: 0; } } .card__content { @media ${u.min.px.tablet} { border-bottom-left-radius: 50px; } } `} ${s==="end"&&(0,o.AH)` .card__content { border-bottom-left-radius: 50px; @media ${u.min.px.tablet} { border-radius: 0; } } .card__image { @media ${u.min.px.tablet} { border-top-right-radius: 50px; } } `} `}} `;var _=t(2501),n=t(7820);const i=({title:l,image:u,url:f,description:s,category:x,cardTheme:a="blue",rounded:d="none",hideDescription:p=!1,className:k})=>l?e.createElement($,{className:`card ${k||""}`,cardTheme:a,rounded:d,hideDescription:p},e.createElement("div",{className:"card__content"},e.createElement("h2",{className:"[ h4 ] card__title"},e.createElement(n.A,{path:f},l)),x&&e.createElement("p",{className:"card__category"},x),s&&e.createElement("p",{className:"card__description"},s)),u&&u.src&&e.createElement("div",{className:"card__media"},e.createElement(_.A,{src:u.src,alt:u.alt,width:328,height:180,className:"card__image",id:"card-image"}))):null;var b=t(3216);const N=({cards:l,cardRowTheme:u,layout:f="full-width",className:s,related:x=!1})=>l?e.createElement(m,{cardRowTheme:u,layout:f,className:`card-row ${f} ${s||""}`},e.createElement("div",{className:`card-row__wrapper ${f}`},l.map((a,d,{length:p})=>{let k="none";return p-1===d?k="end":d===0&&(k="start"),x?e.createElement(b.ListingCard,{...a,key:d,className:"card-row__card",borderColor:"gold"}):e.createElement(i,{key:d,...a,rounded:k,className:"card-row__card"})}))):null},2040:(C,E,t)=>{t.d(E,{A:()=>x});var e=t(8322),o=t(7115),h=t(394);const m=o.Ay.div` ${({theme:{colors:a,mq:d,spacing:p}})=>(0,o.AH)` padding-block: var(--space-m-xl, ${p.xl}); .u-container { display: flex; flex-direction: column-reverse; justify-content: space-between; gap: ${(0,h.A)(36)}; @media ${d.min.px.desktop} { flex-direction: row; } } .course-hero__content-container { display: flex; flex-direction: column; justify-content: space-evenly; height: inherit; gap: ${p.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 ${d.min.px.desktop} { font-size: 3.75rem; line-height: normal; } } .course-hero__description { padding-top: ${p.xs}; } .course-hero__tag-container { display: flex; gap: ${p.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: ${p.xxs}; order: 3; /* margin-block-start: ${p.xs}; */ align-items: stretch; } .course-hero__button { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 100%; @media ${d.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 r=t(5703);const _=o.Ay.p` ${({theme:{colors:a,spacing:d},tagTheme:p="lightGrey"})=>{const k=(0,r.DF)(p),D=p==="lightGrey"?a.light.brand.darkBlue:a.light.neutral.white;return(0,o.AH)` inline-size: fit-content; padding: ${d.xxxs}; background-color: ${k}; color: ${D}; font-size: var(--step--1, 0.875rem); `}} `,g=({label:a,tagTheme:d,className:p})=>a?e.createElement(_,{className:`tag ${p||""}`,tagTheme:d},a):null;var i=t(7454),b=t(2501),v=t(3266),N=t(9289),l=t(7820),u=t(2301);const f=a=>!!(a&&a.length>40),x=({tags:a,title:d,awards:p,description:k,applicationCTA:D,secondaryCTA:B,image:O,subjectToApprovalTag:c,id:A,setId:M})=>{const P=(0,v.d4)(N.Hy),L=(0,v.d4)(u.Wp),K=w=>{M(w)};return d?e.createElement(m,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 ${f(d)?"course-hero__title--long":""}`},d),e.createElement("p",{className:"h3 course-hero__award"},p.map(w=>w)),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((w,R)=>e.createElement(g,{key:R,...w,tagTheme:"lightGrey"}))),c?.subjectToApproval&&c?.subjectToApprovalLabel&&c?.subjectToApprovalUrl&&e.createElement(g,{label:e.createElement(l.A,{className:"course-hero__subject-to-approval-link",path:c.subjectToApprovalUrl},c.subjectToApprovalLabel),className:"course-hero__approval-tag",tagTheme:"blue"})),e.createElement("div",{className:"course-hero__button-container"},D&&e.createElement(i.A,{openInNewWindow:!0,className:"course-hero__button",...D}),B&&e.createElement(i.A,{className:"course-hero__button",...B})),L&&L?.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:w=>K(w.target.value),value:A},L?.content?.options?.map(w=>e.createElement("option",{key:w.id,value:w.id},w.title,", ",w.intakeData.studyMode.title))),e.createElement("span",{className:"focus"}))):null),e.createElement("div",{className:"course-hero__image-container"},O||P?e.createElement(b.A,{id:"course-hero__image",src:O.src?O.src:P?.src?P.src:"",alt:O.alt?O.alt:P?.alt?P.alt:"",height:412,width:540}):null))):null}},118:(C,E,t)=>{t.d(E,{A:()=>m});var e=t(8322),o=t(7115);const h=({error:r,entryTitle:$,entryId:_})=>e.createElement(y,null,e.createElement("div",{className:"error-panel"},e.createElement("h1",null,"Entry Validation Error",$&&_?`: ${$} (${_})`:null),r&&r?.details?.length>0&&e.createElement("p",null,"Please resolve the following ",r.details.length," issues:"),r?.details?.map((n,g)=>e.createElement("div",{className:"error",key:g},e.createElement("code",null,e.createElement("span",null,e.createElement("strong",null,"Code")," ",n.code),"expected"in n&&e.createElement("span",null,e.createElement("strong",null,"Expected")," ",n?.expected),"received"in n&&e.createElement("span",null,e.createElement("strong",null,"Received")," ",n?.received),n.path&&n.path?.length>0&&n.path.map((i,b)=>e.createElement("span",{key:b},e.createElement("strong",null,"Field ID")," ",i)),e.createElement("span",null,e.createElement("strong",null,"Message")," ",n.message)))))),y=o.Ay.div` display: flex; padding: 2rem; h1 { margin-block-end: 0.25rem; font-size: 1.5rem; font-weight: 600; color: ${r=>r.theme.colors.light.brand.darkBlue}; } p { margin-block-end: 0.5em; } .error { margin-block-end: 1rem; } code { display: block; padding: 1rem; border: 1px solid ${r=>r.theme.colors.light.brand.lightBlue}; border-radius: 4px; background-color: ${r=>r.theme.colors.light.brand.lighterBlue}; span { display: block; } } `,m=h},4337:(C,E,t)=>{t.d(E,{A:()=>r});var e=t(8322),o=t(1169),h=t(8401),y=t(2774);const r=({icon:$,label:_,content:n,className:g,breakContent:i,id:b,setId:v})=>!_&&!n?null:e.createElement("li",{className:`key-fact ${g||""}`},e.createElement("span",{className:"key-fact__label"},e.createElement(o.A,{icon:$,size:24,className:"key-fact__icon"}),_||null,!i&&n?e.createElement("span",{className:"key-fact__content"},n.type==="markup"&&e.createElement(h.VK,{text:n.text}),n.type==="dropdown"&&e.createElement(y.m,{id:b,setId:v,...n})):null),i&&n?e.createElement(e.Fragment,null,n.type==="markup"&&e.createElement("span",{className:"key-fact__content key-fact__content--break"},e.createElement(h.VK,{className:"flow",text:n.text})),e.createElement("span",{className:"key-fact__content"},n.type==="dropdown"&&e.createElement(y.m,{id:b,setId:v,...n}))):null)},5141:(C,E,t)=>{t.d(E,{A:()=>y});var e=t(7115),o=t(394);const y=e.Ay.div` ${({theme:{colors:m,spacing:r}})=>(0,e.AH)` .fact-list { padding: 0; margin: 0; margin-block-start: var(--space-2xs-xs, ${r.xxxs}); list-style: none; } .key-fact { padding: var(--space-xs-s, ${r.xxxs}); border-bottom: 1px solid ${m.light.brand.gold}; color: ${m.light.brand.darkBlue}; } .key-fact__label { display: flex; gap: 8px; } .key-fact__icon { color: ${m.light.brand.midBlue}; } .key-fact__content--break { display: block; margin-block-start: var(--space-3xs-2xs, ${r.xxxs}); margin-inline-start: ${r.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: ${m.light.brand.gold}; touch-action: manipulation; cursor: pointer; transition: all 200ms ease; &.key-fact-option--active { border: 2px solid ${m.light.brand.midBlue}; } &.key-fact-option--singular { cursor: default; } &:hover, &:focus-within { span, .chevron-icon { color: ${m.light.brand.darkBlue}; transition: all 200ms ease; } } span { font-weight: 700; color: ${m.light.brand.midBlue}; &.active { text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; } } &:disabled { cursor: not-allowed; span { color: ${m.light.neutral.grey}; } } .chevron-icon { min-width: 24px; border-radius: 50%; border: 2px solid currentColor; color: ${m.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, ${r.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, ${r.s}); button, a { width: 100%; } } `} `},2774:(C,E,t)=>{t.d(E,{A:()=>g,m:()=>_});var e=t(8322),o=t(3266),h=t(2301),y=t(5141),m=t(7454),r=t(4337),$=t(1169);const _=({options:i,initialState:b=!1,id:v,setId:N})=>{const[l,u]=(0,e.useState)(b),f=(0,o.d4)(h.Wp),s=i.find(a=>a.id===v),x=a=>{N(a)};return!i||i.length<=0?null:e.createElement(e.Fragment,null,f?.content?.options&&f?.content?.options.length>1?e.createElement(e.Fragment,null,e.createElement("button",{onClick:()=>u(!l),"aria-expanded":!!l,"aria-controls":s?.title?.replace(/\s+/g,"-").toLowerCase(),className:`key-fact-option ${s?.id===v&&"key-fact-option--active"}`},e.createElement("span",{className:"active"},s?.title),e.createElement($.A,{className:"chevron-icon",icon:l?"arrowUp":"arrowDown",size:24})),l?e.createElement("ul",{className:"options-list"},f?.content?.options.map((a,d)=>e.createElement("li",{key:`${a.title}-${d}`},e.createElement("button",{onClick:()=>x(a.id),disabled:v===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"},s?.title)))},g=({applicationCTA:i,secondaryCTA:b,facts:v,hideApplyNow:N,id:l,setId:u,events:f})=>{const s=(0,o.d4)(h.Wp);if(!v||v.length<=0)return null;const x=(d,p,...k)=>[...d.slice(0,p),...k,...d.slice(p)];let a=v;return s&&!f&&(a=x(v,2,s)),e.createElement(y.A,null,e.createElement("h2",{className:"h4 key-facts__title"},f?"Event details":"Key facts"),e.createElement("ul",{className:"fact-list"},a.map((d,p)=>e.createElement(r.A,{key:p,...d,id:l,setId:u}))),e.createElement("div",{className:"buttons-container"},i&&i.link&&e.createElement(m.A,{className:"course-hero__button",...i}),b&&b.link&&e.createElement(m.A,{className:"course-hero__button",id:"secondary-cta",...b})))}},394:(C,E,t)=>{t.d(E,{A:()=>e});const e=h=>`${o(h)}rem`,o=h=>h/16}}]);