"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[524],{3091:(z,h,a)=>{a.d(h,{A:()=>$});var s=a(8322),r=a(423),u=a(7115),g=a(8130),E=a(7877),c=a(2472),k=a(669),v=a(5703);const I=(0,u.DU)` *, *::before, *::after { box-sizing: border-box; } :root { /* Grid * @link https://utopia.fyi/grid/calculator?c=328,16,1.2,1184,16,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|2.5|3|4|5|6,s-l&g=s,l,3xl,12 */ --grid-gutter: var(--space-s-l, clamp(1rem, 0.6168rem + 1.8692vw, 2rem)); --grid-max-width: calc(85.00rem + 2 * var(--grid-gutter)); --grid-columns: 12; /* Typography * @link https://utopia.fyi/type/calculator?c=320,16,1.125,1200,16,1.2,5,1,&s=0.75|0.5|0.5,1.5|2|2.5|3|4|5|6,s-l&g=s,l,xl,12 */ --step--1: clamp(0.8333rem, 0.9091rem + -0.101vi, 0.8889rem); --step-0: clamp(1rem, 1rem + 0vi, 1rem); --step-1: clamp(1.125rem, 1.0977rem + 0.1364vi, 1.2rem); --step-2: clamp(1.2656rem, 1.2022rem + 0.317vi, 1.44rem); --step-3: clamp(1.4238rem, 1.3132rem + 0.553vi, 1.728rem); --step-4: clamp(1.6018rem, 1.4302rem + 0.8578vi, 2.0736rem); --step-5: clamp(1.802rem, 1.5525rem + 1.2478vi, 2.4883rem); --step-6: clamp(2.0273rem, 1.6787rem + 1.7431vi, 2.986rem); --step-7: clamp(2.2807rem, 1.8071rem + 2.3682vi, 3.5832rem); --step-8: clamp(2.5658rem, 1.9352rem + 3.1528vi, 4.2998rem); --step-9: clamp(2.8865rem, 2.0599rem + 4.1332vi, 5.1598rem); /* Spacing * @link https://utopia.fyi/space/calculator?c=320,16,1.2,1200,16,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|2.5|3|4|5|6,s-l&g=s,l,xl,12 */ --space-3xs: clamp(0.25rem, 0.25rem + 0vi, 0.25rem); --space-2xs: clamp(0.5rem, 0.5rem + 0vi, 0.5rem); --space-xs: clamp(0.75rem, 0.75rem + 0vi, 0.75rem); --space-s: clamp(1rem, 1rem + 0vi, 1rem); --space-m: clamp(1.5rem, 1.5rem + 0vi, 1.5rem); --space-l: clamp(2rem, 2rem + 0vi, 2rem); --space-xl: clamp(2.5rem, 2.5rem + 0vi, 2.5rem); --space-2xl: clamp(3rem, 3rem + 0vi, 3rem); --space-3xl: clamp(4rem, 4rem + 0vi, 4rem); --space-4xl: clamp(5rem, 5rem + 0vi, 5rem); --space-5xl: clamp(6rem, 6rem + 0vi, 6rem); /* One-up pairs */ --space-3xs-2xs: clamp(0.25rem, 0.1591rem + 0.4545vi, 0.5rem); --space-2xs-xs: clamp(0.5rem, 0.4091rem + 0.4545vi, 0.75rem); --space-xs-s: clamp(0.75rem, 0.6591rem + 0.4545vi, 1rem); --space-s-m: clamp(1rem, 0.8182rem + 0.9091vi, 1.5rem); --space-m-l: clamp(1.5rem, 1.3182rem + 0.9091vi, 2rem); --space-l-xl: clamp(2rem, 1.8182rem + 0.9091vi, 2.5rem); --space-xl-2xl: clamp(2.5rem, 2.3182rem + 0.9091vi, 3rem); --space-2xl-3xl: clamp(3rem, 2.6364rem + 1.8182vi, 4rem); --space-3xl-4xl: clamp(4rem, 3.6364rem + 1.8182vi, 5rem); --space-4xl-5xl: clamp(5rem, 4.6364rem + 1.8182vi, 6rem); /* Custom pairs */ --space-s-l: clamp(1rem, 0.6364rem + 1.8182vi, 2rem); --space-m-xl: clamp(1.5rem, 0.9444rem + 2.7778vi, 3.375rem); } .markup { * { margin-block-start: 1em; } h1, h2, h3, h4, h5, h6 { color: ${c.T.light.neutral.black}; } ul, ol { font-weight: 600; color: ${c.T.light.brand.darkBlue}; } ul li::marker, ol li::marker { color: ${c.T.light.brand.gold}; } dl { color: ${c.T.light.brand.darkBlue}; padding-left: 1em; } dl dt { font-weight: 600; } b, strong { font-weight: bold; } p { margin: 0.5em 0; line-height: 1.5; color: ${c.T.light.neutral.black}; } blockquote { margin: 0.5em 0; padding: 0.5em; border-left: 2px solid ${c.T.light.brand.burgundy}; color: ${c.T.light.neutral.black}; } hr { width: 100%; border: none; border-top: 1px solid ${c.T.light.neutral.lightGrey}; } figure { display: flex; flex-direction: column; margin: 1em 0; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); max-width: max-content; } figure img { max-width: 100%; height: auto; } figcaption { background-color: rgba(0, 0, 0, 0.1); padding: 0.5em; font-style: italic; text-align: center; } pre { padding: 0.5em; background-color: ${c.T.light.brand.lightGold}; overflow-x: auto; } table { width: 100%; border-collapse: collapse; } ${v.Ju}; } /* Resets the z-index stacking order */ #root { isolation: isolate; min-height: inherit; } #app-root, #main { min-height: inherit; } /* Remove default margin */ * { margin: 0; } /* Prevent font size inflation */ html { -moz-text-size-adjust: none; -webkit-text-size-adjust: none; text-size-adjust: none; } /* Sets base font to 16px */ body { min-height: 100vh; font-family: 'Open Sans', Arial, "Helvetica Neue", Helvetica, sans-serif; line-height: 1.5; } /* A elements that don't have a class get default styles */ a:not([class]) { text-decoration-skip-ink: auto; color: ${c.T.light.system.hyperlink}; &:hover, &:visited { color: ${c.T.light.brand.darkBlue}; } } /* a:not([class]):visited { color: ${c.T.light.system.hyperlink}; } */ /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */ ul[role='list'], ol[role='list'] { list-style: none; } /* Improve media defaults */ img, picture, video, canvas, svg { display: block; max-width: 100%; } /* Inherit fonts for inputs and buttons */ input, button, textarea, select { font: inherit; } /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { html:focus-within { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } } .u-container { max-width: var(--grid-max-width); padding-inline: var(--grid-gutter); margin-inline: auto; } .u-container--fluid { max-width: var(--grid-max-width); padding-inline: var(--grid-gutter); margin-inline: auto; &.full-width-mobile { padding-inline: 0; @media ${B=>B.theme.mq.min.px.tablet} { padding-inline: var(--grid-gutter); } } } .u-grid { display: grid; gap: var(--grid-gutter); } /* https://www.a11yproject.com/posts/how-to-hide-content/ */ .visually-hidden, .sr-only { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; } h1, .h1 { font-size: var(--step-5); font-weight: 700; } h2, .h2 { font-size: var(--step-4); font-weight: 700; } h3, .h3 { font-size: var(--step-3); font-weight: 600; } h4, .h4 { font-size: var(--step-2); font-weight: 600; } h5, .h5 { font-size: var(--step-1); font-weight: 600; } h6, .h6 { font-size: var(--step-0); font-weight: 600; } p, .p { font-size: var(--step-0); font-weight: 400; } p.lead, .lead { font-size: var(--step-1); font-weight: 400; } p.small, .small { font-size: var(--step--1); font-weight: 400; } a:focus:not(:focus-visible), button:focus:not(:focus-visible), input:focus:not(:focus-visible) { outline: none; } a:focus-visible, button:focus-visible, input:focus-visible { /* outline: 3px solid transparent; color: ${c.T.light.neutral.black}; background-color: ${c.T.light.system.alerts}; box-shadow: 0 -2px ${c.T.light.system.alerts}, 0 4px ${c.T.light.neutral.black}; */ outline: transparent solid 4px; box-shadow: #fff 0 0 0 2px, ${c.T.light.brand.burgundy} 0 0 0 4px; text-decoration: none; box-decoration-break: clone; } hr { margin-block: var(--space-3xl-4xl) !important; border: none; height: 1px; background-color: ${c.T.light.neutral.lightGrey}; } .ReactModal__Content { width: calc(100% - 8rem); height: calc(100% - 8rem); iframe { border: none; width: 100%; height: 100%; } } .max-form { ${k.l}; } `;var A=a(4646);const t={colors:c.T,breakpoints:A.fi,mq:A.mq,spacing:A.YK,grid:A.Vg};var d=a(4836),M=a(9703);const D=({skipPath:B="#main"})=>s.createElement(O,{to:B},"Skip to main content"),O=(0,u.Ay)(M.Vq)` position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; display: block; padding: 1.2rem 1.6rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 1px; :focus { position: static; width: auto; height: auto; margin: inherit; overflow: visible; clip: auto; clip-path: none; white-space: inherit; color: white; background-color: black; } `,P=D,N="black",S={overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",position:"absolute",inset:0,zIndex:9999,height:"100%",maxHeight:"100vh",backgroundColor:"white"},T=()=>s.createElement("div",{style:S},s.createElement("h3",{className:"sr-only"},"Loading..."),s.createElement("svg",{width:"38",height:"38",style:{width:"40px",height:"40px"},viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"},s.createElement("defs",null,s.createElement("linearGradient",{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a"},s.createElement("stop",{stopColor:N,stopOpacity:"0",offset:"0%"}),s.createElement("stop",{stopColor:N,stopOpacity:".631",offset:"63.146%"}),s.createElement("stop",{stopColor:N,offset:"100%"}))),s.createElement("g",{fill:"none",fillRule:"evenodd"},s.createElement("g",{transform:"translate(1 1)"},s.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18",id:"Oval-2",stroke:"url(#a)",strokeWidth:"2"},s.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"})),s.createElement("circle",{fill:N,cx:"36",cy:"18",r:"1"},s.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}))))));z=a.hmd(z);const C=B=>s.createElement(s.Fragment,null,s.createElement("div",{id:"app-root"},s.createElement(u.NP,{theme:t},s.createElement(d.vD,{defaultSetOptions:{path:"/"}},s.createElement(I,null),s.createElement(P,null),s.createElement(g.F6,{...B,notFoundComponent:E.default,loadingComponent:T}))))),$=(0,r.KS)(z)(C)},3149:(z,h,a)=>{a.d(h,{U:()=>s,e:()=>r});const s=u=>!u||u.length<=0?null:{items:u.map(g=>({title:g.title,children:g.content}))},r=u=>u?{items:u.accordionItem.map(g=>({title:g.title,children:g.content}))}:null},2621:(z,h,a)=>{a.d(h,{J:()=>k});const s=({assetHeight:v,assetWidth:f,width:I})=>{if(!I)return v;const A=f/v;return Math.round(I/A)},r=({assetHeight:v,assetWidth:f,height:I})=>{if(!I)return f;const A=f/v;return Math.round(I*A)},u=({assetHeight:v,assetWidth:f,height:I,width:A})=>{let t=I||s({assetHeight:v,assetWidth:f,width:A}),d=A||r({assetHeight:v,assetWidth:f,height:I});return v{const t=f/v;let d=v,M=f;return A&&M>A&&(d=Math.round(A/t),M=A),I&&d>I&&(d=I,M=Math.round(I*t)),{height:d,width:M}},E=({fit:v,height:f,image:I,width:A})=>{const t=I.asset?.sys?.properties?.height||0,d=I.asset?.sys?.properties?.width||0;return v.startsWith("crop")?u({assetHeight:t,assetWidth:d,height:f,width:A}):g({assetHeight:t,assetWidth:d,height:f,width:A})},c=({effect:v={},fit:f="crop",format:I="webp",height:A,quality:t=75,src:d,width:M})=>{const D={h:A,w:M,fit:f,...v,q:t,f:I};return d.split("?")[0]+"?"+Object.keys(D).filter(O=>D[O]).map(O=>`${O}=${D[O]}`).join("&")},k=({effect:v,fit:f="crop",format:I="webp",height:A,image:t,quality:d=75,width:M})=>{const D=t?.altText||t?.caption||t?.asset?.title,O=t?.caption,P=t?.asset?.sys?.id,{height:N,width:S}=E({fit:f,height:A,image:t,width:M}),T=c({effect:v,fit:f,format:I,height:N,quality:d,src:t?.asset?.sys?.uri,width:S});return{alt:D,caption:O,height:N,id:P,src:T,width:S}}},2056:(z,h,a)=>{a.d(h,{D:()=>E,I:()=>g});var s=a(2621),r=a(8698);function u(c,k=80,v){if(!c)return c;const f=v?.suffix??"...",I=v?.preserveWords??!0;if(c.length<=k)return c;if(k<=f.length)return f.slice(0,k);const A=k-f.length;let t=c.slice(0,A);if(I){const d=t.lastIndexOf(" ");d>0&&(t=t.slice(0,d))}return t=t.replace(/[ \t\n\r.,;:!-]+$/u,""),t+f}const g=c=>({_type:c._type??"latestNewsAndEvents",title:c.title??"Latest News and Events",manualResults:Array.isArray(c.manualPicker)?c.manualPicker.map(E):null,button:c.button?{label:c.button.label??"",link:c.button.url??"",buttonTheme:"secondary"}:null}),E=c=>{const k=c?.publishedDate??c?.dateAndTime?.from??c?.date?.from??null,v=c?.sys?.uri??(c?.sys?.slug?`/about/news/${c.sys.slug}`:"");return{title:u(c.title??void 0,60),description:c.summary??c.subHeading??void 0,link:v,date:k?(0,r.Yq)(k,"d MMM yyyy"):void 0,readTime:typeof c.readTime=="number"?c.readTime:void 0,image:c.thumbnail?(0,s.J)({image:c.thumbnail,width:900,height:900}):c.bannerImage?(0,s.J)({image:c.bannerImage,width:900,height:900}):null,id:c.sys?.id??"",contentType:c.sys?.contentTypeId??""}}},2301:(z,h,a)=>{a.d(h,{B:()=>I,EV:()=>v,Fc:()=>E,It:()=>c,K6:()=>r,Wp:()=>g,Z_:()=>A,b9:()=>f,ls:()=>u});const s=t=>!!Object.keys(t.course.selectedOption).length,r=t=>t.course.isReady,u=t=>t.course?.options,g=t=>t.course?.courseOptions,E=t=>t.course?.selectedOption,c=t=>t.course?.selectedOptionId,k=t=>t.course?.selectedCourseOptions,v=t=>s(t)?t.course?.selectedOption?.introduction?.summary:null,f=t=>s(t)?{content:t.course?.selectedOption?.courseContent.content,modules:t.course?.selectedOption?.courseContent.modules}:null,I=t=>s(t)?{fees:t.course?.selectedOption?.fees?.fees,ptFees:t.course?.selectedOption?.fees?.ptFees,additionalFees:t.course?.selectedOption?.fees?.additionalFees,accomodationFees:t.course?.selectedOption?.fees?.accomodationFees,feesTabs:t.course?.selectedOption?.fees?.feesTabs}:null,A=t=>s(t)?{howToApply:t.course?.selectedOption?.howToApply?.howToApply,howToApplyTitle:t.course?.selectedOption?.howToApply?.howToApplyTitle,additionalApplicationInformation:t.course?.selectedOption?.howToApply?.additionalApplicationInformation,additionalInformationTitle:t.course?.selectedOption?.howToApply?.additionalInformationTitle,applyNowUrl:t.course?.selectedOption?.howToApply?.applyNowUrl,hideApplyNowButton:t.course?.selectedOption?.howToApply?.hideApplyNowButton}:null},5466:(z,h,a)=>{a.d(h,{J9:()=>f,Oj:()=>k,rc:()=>v,sj:()=>c,xM:()=>g});const s="@COURSE/",r=null,u=null,g=`${s}GET_COURSE_CONFIG_ERROR`,E=null,c=`${s}GET_COURSE_OPTIONS`,k=`${s}SET_OPTIONS`,v=`${s}SET_OPTIONS_ERROR`,f=`${s}SET_SELECTED_OPTION`},9289:(z,h,a)=>{a.d(h,{FB:()=>g,Hy:()=>v,Iz:()=>k,TX:()=>r,WD:()=>t,c1:()=>I,cG:()=>s,jI:()=>A,oL:()=>c,sW:()=>f,z0:()=>u});const s=d=>d.config.isReady,r=d=>d.config?.title,u=d=>d.config?.header,g=d=>d.config?.socialMedia,E=d=>d.config?.footer,c=d=>d.config?.footerNew,k=d=>d.config?.fallbackImage,v=d=>d.config?.courseFallbackImage,f=d=>d.config?.clearing,I=d=>d.config?.clearingCta,A=d=>d.config?.courseMessage,t=d=>d.config?.cardFallbackImage},9966:(z,h,a)=>{a.d(h,{M:()=>r,YK:()=>u,ux:()=>g,xT:()=>E});const s="@CONFIG/",r=`${s}GET_SITE_CONFIG`,u=`${s}SET_SITE_CONFIG`,g=`${s}SET_COOKIE_ACCEPTED`,E=`${s}GET_SITE_CONFIG_ERROR`},985:(z,h,a)=>{a.d(h,{f:()=>s});const s={course:"courses",courseCpd:"coursesCpd",config:"siteConfig",externalForm:"externalForm",profile:"profile",caseStudy:"caseStudy",event:"event",eventListing:"eventListing",listing:"listing",home:"homeNEW",news:"newsArticle",dataCard:"dataCard"}},2504:(z,h,a)=>{a.d(h,{RM:()=>de,Xn:()=>g,Zf:()=>oe,ef:()=>G,tQ:()=>_,tj:()=>le});const s={availableLanguages:"sys.availableLanguages",contentTypeId:"sys.contentTypeId",dataFormat:"sys.dataFormat",id:"sys.id",language:"sys.language",published:"sys.version.published",slug:"sys.slug",uri:"sys.uri",versionStatus:"sys.versionStatus"},r={published:"published",latest:"latest"},u={entryTitle:"entryTitle",entryDescription:"entryDescription",entryThumbnail:"entryThumbnail"},g=[u.entryTitle,u.entryDescription,u.entryThumbnail,s.id,s.uri,s.published,s.contentTypeId],E=["metaInformation","title","description","keywords","image","noIndex","noFollow"],c=["asset","altText","caption","transformations","properties","filename","fileSize","filePath","width","fileId","height"],k=["content"],v=["internalReference","statistic","statisticLead","source","statContext","isOrb","fullStatContext","fullStatSource","fullStatDate","plusStatistic"],f=["internalReference","title","description","image","summary"],I=["title","uRL","logo"],A=["label","uRL",...E],t=["title","scholarships","additionalCosts"],d=["title","accomodationFees"],M=["title","ukFee","overseasFee","description","overseasDescription"],D=["year","mandatoryModules","optionalModules","title","description"],O=["type","url"],P=["position"],N=["courseGallery","title","images",...P],S=["title","content"],T=["studyMode","startDate","location","placement","duration","ucasCodeOverride","applicationURL"],C=["qualification","grade"],$=["video","title","videoURL","positionControl",...P],B=["bio","profileImage","role","email","contactDetails","shortBio"],W=["text","image"],G=[...E,"entryTitle","title","date","bannerImage","location","eventLink","summary","entryThumbnail","time","eventCategories","eventLinkSecondary","entryLink","content","contactInformation","renderThumbnailInEventContent","thumbnail","imageAlignment","date.from","category","dateAndTime","sys"],oe=[...g,...E,...G,...v,"label","buttonLabel","event","eventLink","linkPath","videoComponent","caption","youTubeUrl","overlayImage","heroBanner","title","composer","latestNewsAndEvents","cardCarousel","videoSection","quoteBanner","statSectionWithImage","featureEvents","latestNews","latestEvents","statistics","statistic","statContext","statisticLead","fullStatContext","fullStatSource","fullStatDate","source","quoteBanner","quoteCard","quote","source","slug","sys.slug","publishedDate","animateBanners","heroBanners","secondImage","readTime","uRL","plusStatistic"],se=["youtubeURL","title"],re=["images","title"],ce=["shortDescription","bannerImage","courseLevel","name","slug"],ue=["title","academicYear","intakes","studyAbroad","availableThroughClearing","descriptionOverride","summaryOverride","discoverUniIDOverride","moreToExploreOverride","registerInterestFormOverride","structureIntroduction","yearStructure","teachingAndAssessmentIntroduction","teachingAndAssessment","feesTabs","howToApplyTitleOverride","additionalApplicationTitleOverride","howToApply","applyNowUrl","hideApplyNowButton","additionalApplicationInformation","fee","hideOrb","additionalCostsOverride","accomodationFeesOverride","ptFee","subjectToApproval","subjectToApprovalLabel","subjectToApprovalUrl","ucasTariffPoints","ucasTariffPointsUpper","entryRequirements","additionalRequirements","anyQuestions","promoMessageTitle","promoMessage","careersOverride","placementsOverride","overviewOverride","hideCourseMessage",...d,...T,...A,...D,...S,...C],_=[...g,...k,...d,...t,...ue,...v,...I,...f,...M,...B,...W,...S,...A,...O,...N,...$,...C,...c,...E,...ce,...se,...re,...G,"sys","title","formURL","courseTitle","description","summary","ucasCode","level","award","subjectArea","school","subjectArea","honours","discoverUniID","instance","statistics","accreditation","accreditations","overview","placements","careers","highlights","highlightsTheme","ucasTariffPoints","ucasTariffPointsUpper","entryRequirements","additionalRequirements","anyQuestions","fAQ","contactDetails","courseContactDetails","secondaryCTA","secondaryCTALabel","image","thumbnail","relatedCourses","socialMedia","registerInterestForm","staffSliderTheme","staffIntroduction","staff","caseStudiesIntroduction","caseStudies","caseStudiesSliderTheme","imageGallery","video","email","featureNavLinks","optionalKeyFact","button","courseGallery","courseVideo","quote","positionControl","position","imageGalleryTheme","videoTheme","events","time","ukFeeLabelOverride","overseasFeeLabelOverride","hideApplyNow","hideCourseMessage","teachingAndAssessment","applicationUrl","durationMode","feeLabel","subjectToApproval","subjectToApprovalLabel","subjectToApprovalUrl","contactCTA","contactCTALabel","primaryCTALabel","moduleCode","hideSecondaryCTA","hideAccommodationFeesTab","liveChat"],de=[...g,...c,...E,"navigationItem","label","url","uRL","card","cardEntry","image","altText","title","description","navigationLevelOneItem","navigationLevelTwoItem","navigationLevelThreeItem","secondaryCTA","moreToExplore","additionalCosts","accommodationFees","socialMedia","type","contactDetails","heading","text","telephone","careers","footerMenu","items","campuses","furtherInfo","footerLinks","type","footerMenu","heading","bottomLinks","featureNavLinks","formURL","openGraphImage","courseFallbackImage","clearing","clearingCTA","courseMessageTitle","courseMessage","mapText","getInTouch","linksColumnOne","linksColumnTwo","linksColumnThree","linksColumnFour","linksBottom","mapImage","cardFallbackImage"],le=new Set([...g,...G,"title","summary","entryTitle","publishedDate","date","location","name","uRL"])},8863:(z,h,a)=>{a.d(h,{nV:()=>k,py:()=>g});var s=a(985);const r={all:"all",event:"event"},u={all:"all"},g={[s.f.eventListing]:r.event,[s.f.listing]:r.event},E={all:"all"},c={},k={title:100,description:50}},1389:(z,h,a)=>{a.d(h,{v:()=>s});const s=r=>new Intl.NumberFormat("en-GB",{style:"currency",currency:"GBP",minimumFractionDigits:0,maximumFractionDigits:0}).format(r)},7877:(z,h,a)=>{a.r(h),a.d(h,{default:()=>u});var s=a(8322);const u=()=>s.createElement(s.Fragment,null,s.createElement("header",null,s.createElement("h1",null,"404 Page Not Found")))},8799:(z,h,a)=>{a.d(h,{U:()=>r});var s=a(2472);const r={primary:{default:{background:s.T.light.brand.midBlue,text:s.T.light.neutral.white,border:s.T.light.brand.midBlue},hover:{background:s.T.light.neutral.white,text:s.T.light.brand.midBlue,border:s.T.light.brand.midBlue},focus:{border:s.T.light.brand.darkBlue}},secondary:{default:{background:s.T.light.neutral.white,text:s.T.light.brand.darkBlue,border:s.T.light.brand.darkBlue},hover:{background:s.T.light.brand.darkBlue,text:s.T.light.neutral.white,border:s.T.light.brand.darkBlue},focus:{border:s.T.light.neutral.lightGrey}},none:{default:{background:"transparent",text:s.T.light.brand.darkBlue,border:"transparent"},hover:{background:s.T.light.neutral.lightGrey,text:s.T.light.brand.darkBlue,border:"transparent"},focus:{border:s.T.light.brand.darkBlue}},clear:{default:{background:"transparent",text:s.T.light.neutral.black,border:s.T.light.neutral.black},hover:{background:s.T.light.neutral.lightGrey,text:s.T.light.neutral.black,border:s.T.light.neutral.black},focus:{border:s.T.light.brand.darkBlue}}}},2472:(z,h,a)=>{a.d(h,{T:()=>s});const s={light:{brand:{darkBlue:"#0C2340",midBlue:"#007DBA",lightBlue:"#59CBE8",lighterBlue:"#ECF7FA",gold:"#9B8B54",lightGold:"#C4B484",lightestGold:"#F2F0E5",burgundy:"#8F2A3B"},neutral:{black:"#000000",grey80:"#4D4D4C",grey:"#767676",lightGrey:"#ECEFEE",white:"#FFFFFF"},system:{hyperlink:"#055E8A",alerts:"#F9C302"}},dark:{brand:{darkBlue:"#0C2340",midBlue:"#007DBA",lightBlue:"#59CBE8",lighterBlue:"#ECF7FA",gold:"#9B8B54",lightGold:"#C4B484",lightestGold:"#F2F0E5",burgundy:"#8F2A3B"},neutral:{black:"#000000",grey80:"#4D4D4C",grey:"#767676",lightGrey:"#ECEFEE",white:"#FFFFFF"},system:{hyperlink:"#055E8A",alerts:"#F9C302"}}}},669:(z,h,a)=>{a.d(h,{l:()=>g});var s=a(7115),r=a(8799);const u=(0,s.AH)` .webformlabel { font-family: 'Open Sans', 'Segoe UI', Tahoma, 'Helvetica Neue', 'Roboto', sans-serif; color: #333; width: 200px; float: left; font-size: 16px; padding-top: 8px; } h3 { font-family: 'Open Sans', 'Segoe UI', Tahoma, 'Helvetica Neue', 'Roboto', sans-serif; color: #333; font-size: 32px; font-weight: 600; } p { font-family: 'Open Sans', 'Segoe UI', Tahoma, 'Helvetica Neue', 'Roboto', sans-serif; color: #333; font-size: 16px; } .paragraph { font-family: 'Open Sans', 'Segoe UI', Tahoma, 'Helvetica Neue', 'Roboto', sans-serif; color: #333; float: left; font-size: 16px; padding-top: 8px; padding-bottom: 16px; } .heading3 { font-family: 'Open Sans', 'Segoe UI', Tahoma, 'Helvetica Neue', 'Roboto', sans-serif; color: #333; float: left; font-size: 32px; font-weight: 600; padding-top: 16px; padding-bottom: 16px; } .webforminput { border: 1px solid gray; width: 300px; margin: 2px; padding: 5px; } .webformselect { border: 1px solid gray; width: 300px; margin: 5px; padding: 5px; } .webformselectm { border: 1px solid gray; width: 312px; margin: 2px; padding: 5px; } .submitbutton { margin-top: 10px; width: 230px; font-size: large; color: white; background: #12a0fb; align-content: center; } .warningmessage { color: dodgerblue; margin-top: 10px; margin-bottom: 10px; } /* CLIENT-SPECIFIC STYLES */ body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; } img { -ms-interpolation-mode: bicubic; } /* RESET STYLES */ img { border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; } table { border-collapse: collapse !important; } body { height: 100% !important; margin: 0 !important; padding: 0 !important; width: 100% !important; } /* iOS BLUE LINKS */ a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; } /* MOBILE STYLES */ @media screen and (max-width: 600px) { h1 { font-size: 32px !important; line-height: 32px !important; } .wrapper { width: 100% !important; } } /* ANDROID CENTER FIX */ div[style*='margin: 16px 0;'] { margin: 0 !important; } `,g=(0,s.AH)` ${u}; iframe { width: 100%; height: 100%; min-height: 100vh; border: none; } form { width: max-content; margin: 0 auto; font-family: 'Open Sans', sans-serif; } fieldset { padding: 0; border: none; border-top: 1px solid ${E=>E.theme.colors.light.neutral.grey80}; } legend { padding-inline-end: 8px; } label, legend, .webformlabel, .webformlabel2, .form__checkboxLabel { color: ${E=>E.theme.colors.light.neutral.grey80}; font-size: var(--step--1, 0.875rem); font-weight: 600; } input, .webforminput, .webformselect { appearance: none; padding: 0.5rem; margin: 1rem 0 0 0; border: none; border: 1px solid ${E=>E.theme.colors.light.brand.lightGold}; border-radius: 5px; } input[type='radio'], input[type='checkbox'] { padding-inline-end: 8px; width: 24px; height: 24px; accent-color: ${E=>E.theme.colors.light.brand.gold}; } button, .submitbutton { display: inline-block; inline-size: fit-content; padding: ${E=>E.theme.spacing.xxs}; border: 2px solid ${r.U.primary.default.border}; border-radius: 5px; text-align: center; text-decoration: none; font-weight: 700; color: ${r.U.primary.default.text}; background-color: ${r.U.primary.default.background}; transition: all 0.3s ease-in-out; touch-action: manipulation; cursor: pointer; :not(:disabled) { &:hover, &:focus-visible { background-color: ${r.U.primary.hover.background}; color: ${r.U.primary.hover.text}; border: 2px solid ${r.U.primary.hover.border}; transition: all 0.3s ease-in-out; } &:focus-visible { outline: 2px solid ${r.U.primary.focus.border}; outline-offset: 0; } } &:disabled { cursor: not-allowed; opacity: 0.5; } } `},4646:(z,h,a)=>{a.d(h,{Vg:()=>g,YK:()=>s,fi:()=>r,mq:()=>u});const s={xxxs:"0.5rem",xxs:"1rem",xs:"1.5rem",s:"2rem",m:"2.5rem",l:"3rem",xl:"4rem",xxl:"5rem",xxxl:"6rem"},r={px:{mobile:480,largeMobile:640,tablet:768,laptop:992,desktop:1024,largeDesktop:1440},em:{mobile:30,largeMobile:40,tablet:48,laptop:62,desktop:64,largeDesktop:90}},u={min:{px:{mobile:`only screen and (min-width: ${r.px.mobile}px)`,largeMobile:`only screen and (min-width: ${r.px.largeMobile}px)`,tablet:`only screen and (min-width: ${r.px.tablet}px)`,laptop:`only screen and (min-width: ${r.px.laptop}px)`,desktop:`only screen and (min-width: ${r.px.desktop}px)`,largeDesktop:`only screen and (min-width: ${r.px.largeDesktop}px)`},em:{mobile:`only screen and (min-width: ${r.em.mobile}em)`,largeMobile:`only screen and (min-width: ${r.em.largeMobile}em)`,tablet:`only screen and (min-width: ${r.em.tablet}em)`,laptop:`only screen and (min-width: ${r.em.laptop}em)`,desktop:`only screen and (min-width: ${r.em.desktop}em)`,largeDesktop:`only screen and (min-width: ${r.em.largeDesktop}em)`}},max:{px:{mobile:`only screen and (max-width: ${r.px.mobile}px)`,largeMobile:`only screen and (max-width: ${r.px.largeMobile}px)`,tablet:`only screen and (max-width: ${r.px.tablet}px)`,laptop:`only screen and (max-width: ${r.px.laptop}px)`,desktop:`only screen and (max-width: ${r.px.desktop}px)`,largeDesktop:`only screen and (max-width: ${r.px.largeDesktop}px)`},em:{mobile:`only screen and (max-width: ${r.em.mobile}em)`,largeMobile:`only screen and (max-width: ${r.em.largeMobile}em)`,tablet:`only screen and (max-width: ${r.em.tablet}em)`,laptop:`only screen and (max-width: ${r.em.laptop}em)`,desktop:`only screen and (max-width: ${r.em.desktop}em)`,largeDesktop:`only screen and (max-width: ${r.em.largeDesktop}em)`}}},g={default:{maxWidth:"120rem",gutter:s.xxs}}},5703:(z,h,a)=>{a.d(h,{A4:()=>k,DF:()=>g,Ju:()=>v,uY:()=>c});var s=a(7115),r=a(2472),u=a(4646);const g=f=>({gold:r.T.light.brand.gold,lightGold:r.T.light.brand.lightGold,blue:r.T.light.brand.midBlue,darkBlue:r.T.light.brand.darkBlue,lightBlue:r.T.light.brand.lightBlue,lighterBlue:r.T.light.brand.lighterBlue,lighterGold:r.T.light.brand.lightestGold,lightGrey:r.T.light.neutral.lightGrey})[f],E=f=>({gold:colors.light.brand.gold,blue:colors.light.brand.darkBlue,lightBlue:colors.light.brand.lightBlue,lighterGold:colors.light.brand.lightestGold,lightGrey:colors.light.neutral.lightGrey})[f],c=(f,I)=>(0,s.AH)` content: ''; z-index: -1; position: absolute; top: 28px; left: unset; right: unset; width: calc(100% + (var(--grid-gutter) * 2)); height: 100%; background-color: ${f}; @media ${u.mq.min.px.mobile} { } @media ${u.mq.min.px.laptop} { top: 64px; left: -64px; width: 100%; border-bottom-left-radius: 50px; } ${I==="slider"&&(0,s.AH)` left: calc(var(--grid-gutter) * -1); @media ${u.mq.min.px.tablet} { top: 84px; /** 42px is the height of the content slider controls */ height: calc(100% - 58px); } `} ${I==="cards"&&(0,s.AH)` left: calc(var(--grid-gutter) * -1); `} `,k=(0,s.AH)` position: absolute; content: ''; top: 0; right: 0; left: 0; bottom: 0; `,v=(0,s.AH)` tbody { tr:nth-child(odd) { background-color: ${r.T.light.brand.lighterBlue}; } & > td, & > th { padding: ${u.YK.xs}; } } tr { & > td, & > th { font-weight: 600; color: ${r.T.light.brand.darkBlue}; padding: ${u.YK.xs}; text-align: left; } } caption { font-weight: 600; color: ${r.T.light.brand.darkBlue}; padding: ${u.YK.xs}; background-color: rgba(0, 140, 204, 0.2); text-align: left; } `},8698:(z,h,a)=>{a.d(h,{Yq:()=>s});const s=(t,d)=>{const D=new Date(t).getDay(),O=t?.split("T"),P=O[0].split("-"),N=O[1].split(":"),[S,T,C]=P,[$,B]=N,W=["$","$$","$$$","$$$$"],G=["\xA3","\xA3\xA3","\xA3\xA3\xA3","\xA3\xA3\xA3\xA3"];return d.replace(/d/g,G[0]).replace(/M/g,W[0]).replace("HH",$).replace("H",parseInt($).toString()).replace("hh",I(k(parseInt($)))).replace("h",k(parseInt($)).toString()).replace("mm",B).replace("m",parseInt(B).toString()).replace("tt",v(parseInt($))).replace("t",v(parseInt($)).slice(0,1)).replace("~",f(C)).replace("yyyy",S).replace("yy",S.slice(-2)).replace(W[3],g[parseInt(T)]).replace(W[2],u[parseInt(T)]).replace(W[1],T).replace(W[0],parseInt(T).toString()).replace(G[3],c[D]).replace(G[2],E[D]).replace(G[1],C).replace(G[0],parseInt(C).toString())},r=(t,d,M=" - ")=>{if(!t)return null;if(!d)return`${t.to} - ${t.from}`;const D=t.from,O=s(D,d),P=t.to,N=s(P,d);let S="";return O===N&&O?S=O:S=`${O}${M}${N}`,S},u=["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],g=["","January","February","March","April","May","June","July","August","September","October","November","December"],E=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],k=t=>t>12?t-12:t,v=t=>t>11?"PM":"AM",f=t=>[1,21,31].includes(parseInt(t))?"st":[3,23].includes(parseInt(t))?"rd":[2,22].includes(parseInt(t))?"nd":"th",I=t=>("0"+t).slice(-2),A=t=>{const d=new Date().getTimezoneOffset()*6e4;return new Date(t-d).toISOString().slice(0,-1)}},8915:(z,h,a)=>{a.d(h,{R:()=>s});const s=r=>{if(!r||r.length===0)return!1;const u=r[0].value;return!!(Array.isArray(u)&&u.length>0||typeof u=="object"&&u!==null&&!Array.isArray(u)||typeof u=="string"&&u!==null)}},6638:(z,h,a)=>{a.d(h,{Y:()=>s});const s=r=>String(r).normalize("NFKD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")},6523:(z,h,a)=>{var s=a(3807),r=a(3091),u=a(985),g=a(2504),E=a(7168);const c=(0,E.Ay)(()=>Promise.resolve().then(a.bind(a,7877))),k=(0,E.Ay)(()=>Promise.resolve().then(a.bind(a,3692)),{resolveComponent:e=>e.VersionInfo}),v=(0,E.Ay)(()=>Promise.all([a.e(336),a.e(92),a.e(550),a.e(805),a.e(488),a.e(879),a.e(219),a.e(617),a.e(148)]).then(a.bind(a,5570))),f=(0,E.Ay)(()=>Promise.all([a.e(336),a.e(92),a.e(550),a.e(879),a.e(219),a.e(617),a.e(539)]).then(a.bind(a,7644))),I=(0,E.Ay)(()=>Promise.all([a.e(336),a.e(92),a.e(879),a.e(219)]).then(a.bind(a,3216))),A=(0,E.Ay)(()=>Promise.all([a.e(92),a.e(879),a.e(950)]).then(a.bind(a,445)));var t=a(589),d=a(1893);const M=t.z.object({createdBy:t.z.string().optional(),created:t.z.string().optional(),modifiedBy:t.z.string().optional(),modified:t.z.string().optional(),publishedBy:t.z.string().nullish().optional(),published:t.z.string().nullish().optional(),versionNo:t.z.string().optional()}),D=t.z.object({id:t.z.string(),state:t.z.string()}),O=t.z.object({allUris:t.z.array(t.z.string()).optional(),availableLanguages:t.z.array(t.z.string()).nullish().optional(),contentTypeId:t.z.string(),dataFormat:t.z.string().optional(),id:t.z.string(),isPublished:t.z.boolean().nullish().optional(),language:t.z.string().optional(),owner:t.z.string().nullish().optional(),projectId:t.z.string().nullish().optional(),properties:t.z.object({width:t.z.number().nullish(),height:t.z.number().nullish(),fileSize:t.z.number().nullish()}).optional(),slug:t.z.string().nullish().optional(),uri:t.z.string().nullish(),version:M.optional(),versionStatus:t.z.enum(["published","latest"]).optional(),workflow:D.nullish().optional()}),P=O.extend({metadata:t.z.any().optional(),version:M.extend({archived:t.z.string().nullish(),archivedBy:t.z.string().nullish(),deleted:t.z.string().nullish(),deletedBy:t.z.string().nullish()}).optional()}),N=t.z.object({altText:t.z.string().nullish(),sys:O.extend({properties:t.z.object({height:t.z.number(),width:t.z.number()}).optional()})}),S=t.z.object({altText:t.z.string().nullish(),asset:N,caption:t.z.string().nullish().optional(),transformations:t.z.unknown().optional()}),T=t.z.object({entryThumbnail:S.nullish(),entryTitle:t.z.string(),entryDescription:t.z.string().nullish(),sys:P}),C=t.z.any(),$=t.z.object({title:t.z.string().nullish(),description:t.z.string().nullish(),keywords:t.z.string().nullish(),image:S.nullish(),noIndex:t.z.boolean(),noFollow:t.z.boolean()}),B=T.extend({title:t.z.string(),scholarships:C.nullish(),additionalCosts:C.nullish()}),W=T.extend({title:t.z.string()}),G=T.extend({title:t.z.string()}),oe=T.extend({title:t.z.string()}),se=T.extend({internalReference:t.z.string(),title:t.z.string().nullish(),description:t.z.string().nullish(),image:S.nullish(),summary:t.z.string().nullish()}),re=T.extend({internalReference:t.z.string(),statistic:t.z.string(),statisticLead:t.z.string().nullish(),source:t.z.string().nullish(),isOrb:t.z.boolean().nullish()}),ce=T.extend({internalReference:t.z.string(),statContext:t.z.enum(["%","Top","st","nd","rd","th"]),statistic:t.z.number(),statisticLead:t.z.string().nullish(),source:t.z.string().nullish(),fullStatContext:t.z.string().nullish(),fullStatSource:t.z.string().nullish(),fullStatDate:t.z.string().nullish()}),ue=T.extend({title:t.z.string(),uRL:t.z.string().nullish(),logo:S.nullish()}),_=T.extend({label:t.z.string(),uRL:t.z.string(),metaInformation:$}),de=T.extend({title:t.z.string(),accomodationFees:C.nullish()}),le=T.extend({title:t.z.string(),ukFee:t.z.number().nullish(),overseasFee:t.z.number().nullish(),description:C.nullish(),overseasDescription:C.nullish(),hideOrb:t.z.boolean().nullish()}),nt=T.extend({title:t.z.string()}),lt=T.extend({title:t.z.string()}),at=T.extend({title:t.z.string()}),Ce=T.extend({internalReference:t.z.string(),title:t.z.string().nullish(),description:C.nullish()}),it=t.z.object({year:t.z.string().nullish(),mandatoryModules:t.z.array(Ce),optionalModules:t.z.array(Ce)}),ot=t.z.object({type:t.z.enum(["Facebook","X","Instagram","Linkedin","YouTube","TikTok"]),url:t.z.string().nullish()}),ae=t.z.object({position:t.z.enum(["Overview","Careers","Teaching and assessment","More to explore","Fees"])}),st=t.z.object({courseGallery:t.z.object({title:t.z.string().nullish(),images:t.z.array(S)}),positionControl:ae}),rt=t.z.object({courseVideo:t.z.object({title:t.z.string().nullish(),youtubeURL:t.z.string().nullish()}),positionControl:ae}),ct=T.extend({title:t.z.string()}),me=t.z.object({title:t.z.string(),content:t.z.string()}),xe=t.z.object({qualification:t.z.string().nullish(),grade:t.z.string().nullish()}),pe=T.extend({bio:t.z.string().nullish(),profileImage:S.nullish(),role:t.z.string().nullish(),contactDetails:t.z.object({email:t.z.string().nullish(),telephone:t.z.string().nullish()}),shortBio:t.z.string().nullish()}),Ee=T.extend({text:t.z.string().nullish(),image:S.nullish()}),ut=t.z.object({positionControl:ae,quote:Ee.nullable()}),Ie=T.extend({internalReference:t.z.string(),title:t.z.string().nullish(),formURL:t.z.string().nullish()}),he=T.extend({name:t.z.string()}),dt=T.extend({metaInformation:$.nullish(),title:t.z.string().nullish(),date:t.z.object({from:t.z.string().nullish(),to:t.z.string().nullish()}),time:t.z.string().nullish(),bannerImage:S.nullish(),thumbnail:S.nullish(),location:t.z.string().nullish(),summary:t.z.string().nullish(),eventLink:t.z.object({linkPath:t.z.string().nullish(),linkText:t.z.string().nullish(),openInNewWindow:t.z.boolean().nullish(),entryLink:T.nullish()}).nullish(),eventLinkSecondary:t.z.object({linkPath:t.z.string().nullish(),linkText:t.z.string().nullish(),openInNewWindow:t.z.boolean().nullish(),entryLink:T.nullish()}).nullish(),eventCategories:t.z.array(he).nullish(),content:C.nullish(),contactInformation:t.z.string().nullish(),renderThumbnailInEventContent:t.z.boolean().nullish(),imageAlignment:t.z.string().nullish(),category:t.z.array(he).nullish()}),vn=T.extend({metaInformation:$.nullish(),title:t.z.string().nullish(),subHeading:t.z.string().nullish(),entryTitle:t.z.string().nullish(),entryDescription:t.z.string().nullish(),publishedDate:t.z.string().nullish(),readTime:t.z.number().nullish(),renderThumbnailInArticleContent:t.z.boolean().nullish(),thumbnail:S.nullish(),entryThumbnail:S.nullish(),imageAlignment:t.z.string().nullish(),articleContent:C.nullish(),category:t.z.array(he).nullish()}),ee=t.z.enum(["Gold","Light Gold","Lighter Gold","Blue","Light Blue","Dark Blue","Light Grey"]),mt=T.extend({courseTitle:t.z.string().nullish(),description:t.z.string().nullish(),shortDescription:t.z.string().nullish(),image:S.nullish(),bannerImage:S.nullish(),courseLevel:t.z.object({name:t.z.string().nullish()}).nullish(),level:T.nullish()}),pt=t.z.object({studyMode:lt.nullish(),startDate:nt.nullish(),location:at.nullish(),placement:t.z.enum(["No placement","Placement options","Placement required"]).nullish(),duration:t.z.number().nullish(),durationMode:t.z.enum(["Years","Months","Weeks","Days"]).nullish(),ucasCodeOverride:t.z.string().nullish(),discoverUniID:t.z.string().nullish(),applicationURL:t.z.string().nullish(),id:t.z.string().optional()}),ht=T.extend({title:t.z.string(),academicYear:de.nullish(),intakes:t.z.array(pt).min(1),studyAbroad:t.z.boolean().nullish(),availableThroughClearing:t.z.boolean().nullish(),descriptionOverride:t.z.string().nullish(),summaryOverride:t.z.string().nullish(),careersOverride:C.nullish(),placementsOverride:C.nullish(),overviewOverride:C.nullish(),discoverUniIDOverride:t.z.string().nullish(),moreToExploreOverride:t.z.array(_),registerInterestFormOverride:t.z.string().nullish(),structureIntroduction:C.nullish(),yearStructure:t.z.array(it),teachingAndAssessmentIntroduction:C.nullish(),teachingAndAssessment:t.z.array(me).nullish(),howToApply:C.nullish(),additionalApplicationInformation:C.nullish(),fee:le.nullable(),ptFee:le.nullable(),additionalCostsOverride:C.nullish(),accomodationFeesOverride:C.nullish(),feesTabs:t.z.array(me).nullish(),howToApplyTitleOverride:t.z.string().nullish(),additionalApplicationTitleOverride:t.z.string().nullish(),applyNowURL:t.z.string().nullish(),hideApplyNowButton:t.z.boolean().nullish(),subjectToApproval:t.z.boolean().nullish(),subjectToApprovalLabel:t.z.string().nullish(),subjectToApprovalUrl:t.z.string().nullish(),ucasTariffPoints:t.z.number().nullish(),ucasTariffPointsUpper:t.z.number().nullish(),entryRequirements:t.z.array(xe).nullish(),additionalRequirements:C.nullish(),anyQuestions:T.extend({internalReference:t.z.string(),title:t.z.string().nullish(),content:C.nullish()}).nullable(),promoMessageTitle:t.z.string().nullish(),promoMessage:C.nullish()}),Ae=T.extend({optionId:t.z.string().optional(),metaInformation:$.nullish(),title:t.z.string(),courseTitle:t.z.string(),award:t.z.array(G),description:t.z.string(),summary:t.z.string().nullish(),ucasCode:t.z.string().nullish(),level:W,subjectArea:t.z.array(B).nullish(),school:t.z.array(ct).nullish(),honours:oe.nullish(),discoverUniID:t.z.string().nullish(),instance:t.z.array(ht).min(1),statistics:t.z.array(t.z.union([re,ce])).nullish(),accreditation:C.nullish(),accreditations:t.z.array(ue).nullish(),overview:C.nullish(),overviewOverride:C.nullish(),placements:C.nullish(),placementsOverride:C.nullish(),careers:C.nullish(),careersOverride:C.nullish(),highlights:t.z.array(se).nullish(),ucasTariffPoints:t.z.number().nullish(),ucasTariffPointsUpper:t.z.number().nullish(),entryRequirements:t.z.array(xe).nullish(),additionalRequirements:C.nullish(),anyQuestions:T.extend({internalReference:t.z.string(),title:t.z.string().nullish(),content:C.nullish()}).nullable(),fAQ:t.z.array(me).nullish(),contactDetails:pe.nullish(),secondaryCTA:t.z.union([_,Ie]).nullish(),secondaryCTALabel:t.z.string().nullish(),contactCTA:t.z.union([_,Ie]).nullish(),contactCTALabel:t.z.string().nullish(),image:S,thumbnail:S.nullish(),relatedCourses:t.z.array(mt).nullish(),socialMedia:t.z.array(ot).nullish(),registerInterestForm:t.z.string().nullish(),staffIntroduction:C.nullish(),staff:t.z.array(pe).nullish(),caseStudiesIntroduction:C.nullish(),teachingAndAssessment:C.nullish(),caseStudies:t.z.array(Ee).nullish(),imageGallery:t.z.array(st).nullish(),video:t.z.array(rt).nullish(),quote:t.z.array(ut).nullable(),optionalKeyFact:t.z.string().nullable(),highlightsTheme:ee.nullish(),videoTheme:ee.nullish(),imageGalleryTheme:ee.nullish(),staffSliderTheme:ee.nullish(),caseStudiesSliderTheme:ee.nullish(),courseContactDetails:t.z.array(pe).nullish(),events:t.z.array(dt).nullish(),hideApplyNow:t.z.boolean().nullish(),positionControl:ae.nullish(),hideCourseMessage:t.z.boolean().nullish(),applicationUrl:t.z.string().nullish(),subjectToApproval:t.z.boolean().nullish(),subjectToApprovalLabel:t.z.string().nullish(),subjectToApprovalUrl:t.z.string().nullish(),hideOptionDropdown:t.z.boolean().nullish(),primaryCTALabel:t.z.string().nullish(),moduleCode:t.z.string().nullish(),hideSecondaryCTA:t.z.boolean().nullish(),hideAccommodationFeesTab:t.z.boolean().nullish(),liveChat:t.z.boolean().nullish()});var Z=a(8698);const gt=(e,n)=>{const i=e.instance[0],o=i.intakes[0].ucasCodeOverride??e.ucasCode,m=i.intakes[0].applicationURL??void 0,b=e.hideApplyNow??!1,p=e.secondaryCTA&&"uRL"in e.secondaryCTA?e.secondaryCTA.uRL:n?.config?.courses?.secondaryCTA?.uRL;return{title:e.courseTitle??e.entryTitle,description:i.descriptionOverride??e.description,image:{src:e.image?.asset?.sys.uri??null,alt:e.image?.altText??e.image?.asset?.altText??"No alt text provided"},awards:e.award.map(w=>w.title),tags:o||e.honours?[...o?[{label:`UCAS Code: ${o}`}]:[],...e.honours?[{label:e.honours.entryTitle}]:[]]:null,applicationCTA:b?null:{label:"Apply now",buttonTheme:"primary",link:m,disabled:!m},secondaryCTA:{label:e.secondaryCTALabel??"Register for updates",buttonTheme:"secondary",link:p??void 0,disabled:!m},subjectToApprovalTag:{subjectToApproval:e.instance[0].subjectToApproval??!1,subjectToApprovalLabel:e.instance[0].subjectToApprovalLabel??"Subject to approval",subjectToApprovalUrl:e.instance[0].subjectToApprovalUrl??null}}},ft=(e,n)=>{const i=e.applicationUrl??void 0,o=e.primaryCTALabel??"Apply now",m=e.moduleCode??void 0,b=e.hideApplyNow??!1,p=e.hideSecondaryCTA??!1,w=e.secondaryCTA&&"uRL"in e.secondaryCTA?e.secondaryCTA.uRL:n?.config?.courses?.secondaryCTA?.uRL;return{title:e.courseTitle??e.entryTitle,description:e.description,image:{src:e.image?.asset?.sys.uri??null,alt:e.image?.altText??e.image?.asset?.altText??"No alt text provided"},awards:e.award.map(x=>x.title),tags:[{label:"Short course"},...e.award[0].entryTitle?[{label:e.award[0].entryTitle}]:[],...m?[{label:`${m}`}]:[]],applicationCTA:b?null:{label:o,buttonTheme:"primary",link:i,disabled:!i},secondaryCTA:p?null:{label:e.secondaryCTALabel??"Register for updates",buttonTheme:"secondary",link:w??void 0,disabled:!i},subjectToApprovalTag:{subjectToApproval:e.subjectToApproval??!1,subjectToApprovalLabel:e.subjectToApprovalLabel??"Subject to approval",subjectToApprovalUrl:e.subjectToApprovalUrl??null}}},bt=e=>{const n=e.date.from?(0,Z.Yq)(e.date.from,"MMMM yyyy"):null;return{title:e.title??null,description:null,image:{src:e.bannerImage?.asset.sys.uri??null,alt:e.bannerImage?.altText??"No alt text provided"},awards:[],tags:[{label:e.eventCategories&&e.eventCategories.length>0&&e.eventCategories[0].name?e.eventCategories[0].name:null},{label:n}],applicationCTA:{label:e.eventLink?.linkText??"Learn more",buttonTheme:"primary",link:e.eventLink?.linkPath??e.eventLink?.entryLink?.sys.uri??void 0,disabled:!1},secondaryCTA:null}},we=e=>!e||e.length<=0?null:{accreditations:e.map(n=>({title:n.title,url:n.uRL??null,image:{src:n.logo?.asset.sys.uri??"",alt:n.logo?.altText??""}}))},q=e=>e?e.replace(/\s(.)/g,function(n){return n.toUpperCase()}).replace(/\s/g,"").replace(/^(.)/,function(n){return n.toLowerCase()}):null,Se=(e,n)=>!e||e.length<=0?null:{highlights:e.map(i=>({title:i.title??i.entryTitle,description:i.description??i.entryDescription??"No description provided",image:{src:i.image?.asset?.sys.uri??"",alt:i.image?.altText??""},url:i?.sys?.uri??null,summary:i.summary??null})),sliderTheme:q(n)??"gold"};var ze=a(3149);const ke=e=>!e||e.length<=0?null:e.map(n=>"statContext"in n?{statistic:n.statistic,statContext:n?.statContext,statInfo:n?.statisticLead??null,source:n?.source??null}:{isOrb:n.isOrb??!1,statistic:n.statistic,statInfo:n?.statisticLead??null,source:n?.source??null});var yt=a(2937),vt=a.n(yt);const Oe=e=>{const{id:n,location:i,startDate:o,studyMode:m,placement:b,duration:p,durationMode:w}=e,x=`${n}-${i?.entryTitle}-${o?.entryTitle}-${m?.entryTitle}-${b}-${p}-${w}`;return vt()(x)},Me=e=>e.map(n=>n.intakes.map(i=>{const o=Oe(i);return{...i,id:o}})).flat(1);var Q=a(1389);const Fe=(e,n,i)=>{if(!e&&!i&&!n||typeof i!="string")return null;if(i&&!n)return`${i}`;const o=e===1?n?.toLowerCase().replace(/s$/,""):n?.toLowerCase();return`${e} ${o} ${i?.toLowerCase()}`.trim()},ge=(e,n)=>!e&&!n?null:e&&!n?e.toString():`${e.toString()} - ${n?.toString()}`,Tt=(e,n)=>{const i=Me(e.instance),o=e.instance[0],m=i[0],b=o.intakes[0].applicationURL??void 0,p=(U,F)=>U?`${(0,Q.v)(U)}`:"",w=e?.ukFeeLabelOverride??"UK and EU",x=e?.overseasFeeLabelOverride??"International";return{events:!1,facts:[{icon:"starsGroup",label:e?.ucasTariffPoints?"UCAS points":null,content:o.ucasTariffPoints?{type:"markup",text:o.ucasTariffPoints?`${ge(o.ucasTariffPoints,o.ucasTariffPointsUpper)}`:""}:e?.ucasTariffPoints?{type:"markup",text:e.ucasTariffPoints?`${ge(e.ucasTariffPoints,e.ucasTariffPointsUpper)}`:""}:null},{icon:"star",label:e.optionalKeyFact??null},{icon:"pound",label:"Fees",breakContent:!0,content:{type:"markup",text:`${w} ${o&&o.fee&&o.fee?.ukFee?`${(0,Q.v)(o?.fee?.ukFee)}`:e.fee?.ukFee?`${(0,Q.v)(e.fee?.ukFee)}`:"TBC"}
${x} ${o&&o.fee&&o.fee?.overseasFee?(0,Q.v)(o?.fee?.overseasFee):e.fee?.overseasFee?(0,Q.v)(e.fee?.overseasFee):"TBC"}
`}},{icon:"clock",label:Fe(m?.duration,m?.durationMode,m?.studyMode&&m.studyMode.entryTitle)},{icon:"book",label:e?.instance&&e?.instance[0]&&e.instance[0]?.intakes&&e.instance[0]?.intakes[0].placement?e.instance[0].intakes[0].placement==="Placement required"?"Placement":e.instance[0].intakes[0].placement==="Placement options"?"Placement available":(e.instance[0].intakes[0].placement==="No placement",null):null},{icon:"globe",label:e?.instance&&e.instance[0]?.studyAbroad?"Study abroad available":null}],applicationCTA:{label:"Apply now",buttonTheme:"primary",link:b,disabled:!b},hideApplyNow:e.hideApplyNow,secondaryCTA:{label:"Register for updates",buttonTheme:"secondary",link:(e.secondaryCTA&&e.secondaryCTA.uRL)??(n?.config?.courses.secondaryCTA&&n.config.courses.secondaryCTA.uRL)??void 0,disabled:!b}}},Ct=(e,n)=>{const i=e.applicationUrl??void 0,o=e.primaryCTALabel??"Apply now",m=e.secondaryCTALabel??"Register for updates",b=e.hideApplyNow??!1,p=e.hideSecondaryCTA??!1,w=e?.ukFeeLabelOverride??"UK and EU",x=e?.overseasFeeLabelOverride??"International",U=(F,Y)=>F?`${Y} ${(0,Q.v)(F)}`:"";return{events:!1,facts:[{icon:"star",label:e.optionalKeyFact??null},{icon:"calendar",label:"Start date and location",breakContent:!0,content:{type:"markup",text:`${e.startDate.entryTitle||e.location.entryTitle?`${e.startDate.entryTitle?e.startDate.entryTitle:""}${e.startDate.entryTitle&&e.location.entryTitle?" - ":""}${e.location.entryTitle?e.location.entryTitle:""}`:""}`}},{icon:"clock",label:Fe(e?.duration,e?.durationMode,e?.studyMode&&e.studyMode.entryTitle)},{icon:"pound",label:"Fees",breakContent:!0,content:{type:"markup",text:`${w} ${e&&e.fee&&e.fee?.ukFee?`${(0,Q.v)(e?.fee?.ukFee)}`:""}
${e&&e.fee&&e.fee?.overseasFee?U(e?.fee?.overseasFee,x):""}
`}}],applicationCTA:b?null:{label:o,buttonTheme:"primary",link:i,disabled:!i},secondaryCTA:p?null:{label:m,buttonTheme:"secondary",link:(e.secondaryCTA&&e.secondaryCTA.uRL)??(n?.config?.courses.secondaryCTA&&n.config.courses.secondaryCTA.uRL)??void 0,disabled:!i}}},xt=(e,n)=>e&&n&&e===n?`${e}`:e&&n?`${e} - ${n}`:e?`${e}`:n?`${n}`:"",Et=e=>{const n=e.date.from?(0,Z.Yq)(e.date.from,"MMMM d, yyyy"):null,i=e.date.to?(0,Z.Yq)(e.date.to,"MMMM d, yyyy"):null;return{events:!0,facts:[{icon:"calendar",label:null,content:{type:"markup",text:xt(n,i)}},{icon:"clock",label:null,content:{type:"markup",text:`${e.time}`}},{icon:"globe",label:null,content:{type:"markup",text:`${e.location}`}}],applicationCTA:{label:e.eventLink?.linkText??"Book now",buttonTheme:"primary",link:e.eventLink?.linkPath??e.eventLink?.entryLink?.sys.uri??e.eventLink?.entryLink?.sys.slug??void 0,openInNewWindow:e.eventLink?.openInNewWindow??!1,disabled:!1},secondaryCTA:{label:e.eventLinkSecondary?.linkText??"Register for updates",buttonTheme:"secondary",link:e.eventLinkSecondary?.linkPath??e.eventLinkSecondary?.entryLink?.sys.uri??void 0,openInNewWindow:e.eventLinkSecondary?.openInNewWindow??!1,disabled:!1}}},It=e=>e?{yearStructures:e.map(n=>({title:n?.year??null,mandatoryModules:n.mandatoryModules&&n.mandatoryModules.length>0?{title:"Mandatory modules",items:n.mandatoryModules.map(i=>({title:i?.title,canvas:!0,canvasData:i.description}))}:null,optionalModules:n.optionalModules&&n.optionalModules.length>0?{title:"Optional modules",items:n.optionalModules.map(i=>({title:i?.title,canvas:!0,canvasData:i.description}))}:null}))}:null,fe=(e,n,i)=>{if(!e||e.length<=0)return null;switch(n){case"event":return{id:`event-slider-${e[0].sys.id}`,type:"event",galleryTheme:q(i)??"gold",content:e.map(o=>{const{title:m,date:b,location:p,summary:w,eventLink:x}=o;return{title:m,date:b.to?(0,Z.Yq)(b.to,"MMMM d yyyy"):null,location:p,summary:w,link:x?{label:x.linkText??"Book your place",path:x.linkPath??null}:null}})};case"profile":return e[0].sys.contentTypeId===u.f.profile?{id:`profile-slider-${e[0].sys.id}`,type:"profile",galleryTheme:q(i)??"gold",content:e.map(o=>{const{entryTitle:m,shortBio:b,profileImage:p}=o;return{name:m,bio:b??null,thumbnail:p&&p?.asset.sys.uri?{src:`${p?.asset?.sys?.uri}?q=90&w=340&h=340&f=webp`??0,alt:p?.altText??void 0}:null}})}:{id:`alt-slider-${e[0].sys.id}`,type:"profile",galleryTheme:q(i)??"gold",content:e.map(o=>{const{entryTitle:m,text:b,image:p}=o;return{name:m,bio:b??null,thumbnail:p&&p?.asset.sys.uri?{src:`${p?.asset?.sys?.uri}?q=90&w=340&h=340&f=webp`??0,alt:p?.altText??void 0,caption:p?.caption??null}:null}})};default:return null}};var At=a(6638);const Le=e=>!e||e.length<=0?null:{cardRowTheme:"darkBlue",layout:"container",cards:e.map(n=>({cardTheme:"lighterBlue",title:n.entryTitle,description:n.metaInformation?.description??void 0,image:{src:n.metaInformation?.image?.asset.sys.uri??null,alt:n.metaInformation?.image?.altText??"No alt text provided"},url:n.uRL}))},Re=e=>!e||e.length<=0?null:{cardRowTheme:"lightGold",layout:"full-width",cards:e.map(n=>({cardTheme:"lighterGold",title:n.courseTitle??n.entryTitle,category:n?.level?.entryTitle??n?.courseLevel?.name??void 0,description:n?.description??n?.shortDescription??void 0,image:{src:n?.image?.asset.sys.uri??n?.bannerImage?.asset.sys.uri??null,alt:n?.image?.altText??n?.bannerImage?.altText??"No alt text provided"},url:n.sys.uri??`/courses/${n.sys?.slug?n.sys.slug:(0,At.Y)(n.entryTitle)}`}))},De=e=>e.map(n=>({name:n.entryTitle,role:n.role,thumbnail:{src:n.profileImage?.asset.sys.uri?`${n?.profileImage?.asset?.sys?.uri}?q=90&w=340&h=340&f=webp`:null,alt:n.profileImage?.altText??"No alt text provided"},email:n.contactDetails.email??void 0,bio:null})),Ne=e=>e?{title:e.entryTitle,email:e.contactDetails.email??null,phoneNumber:e.contactDetails.telephone??null}:null,te=e=>({authorTwitterHandle:"worcester_uni",description:e?.metaInformation?.description??e.entryDescription??null,locale:"en_GB",ogDescription:e?.metaInformation?.description??e.entryDescription??null,ogImage:e?.metaInformation?.image?.asset.sys.uri??e.image?.asset.sys.uri??e.thumbnail?.asset.sys.uri??null,ogImageAltText:e?.metaInformation?.image?.altText??e.image?.altText,ogType:"website",pageTitle:e?.metaInformation?.title??e.entryTitle,rssFeedPath:"",twitterCardType:"summary",noIndex:e?.metaInformation?.noIndex??!1,noFollow:e?.metaInformation?.noFollow??!1}),wt=e=>!e.fAQ||e.fAQ.length<=0?{...te(e),schema:{"@context":"https://schema.org","@graph":[$e()]}}:{...te(e),schema:{"@context":"https://schema.org","@graph":[$e(),St(e)]}},$e=()=>({"@type":"CollegeOrUniversity",name:"¹ú²úÊÓÆµ",url:"/",sameAs:["https://www.facebook.com/UniversityOfWorcester","https://www.instagram.com/worcester_uni","https://x.com/worcester_uni","https://www.youtube.com/user/universityworcester"],address:{"@type":"PostalAddress",addressLocality:"Worcestershire",addressRegion:"Worcester",postalCode:"WR2 6AJ",streetAddress:"Henwick Grove",addressCountry:"GB"}}),St=e=>!e.fAQ||e.fAQ.length<=0?null:{"@type":"FAQPage",mainEntity:e.fAQ?.map(i=>{const o=i.title,m=i.content;return{"@type":"Question",name:o,text:m}})},zt=e=>{const n=e?.instance&&e?.instance[0],{ucasTariffPoints:i,ucasTariffPointsUpper:o,entryRequirements:m}=e,{ucasTariffPoints:b,ucasTariffPointsUpper:p,entryRequirements:w}=n,x=ge(b??i,p??o),U=(w&&w.length>0?w:m)||[];return{ucasPoints:x??void 0,requirements:U.length>0?U.map(F=>!F.grade||!F.qualification?null:{grade:F.grade,qualification:F.qualification}):null}};var j=a(2621);const Ue=(e,n)=>!e||e.length<=0?null:e.map(i=>({position:i.positionControl.position,video:{src:i.courseVideo.youtubeURL,title:i.courseVideo.title,videoTheme:q(n)??"lightGold",format:i.courseVideo.youtubeURL?.includes("youtube")?"youtube":"vimeo"}})),Pe=(e,n)=>!e||e.length<=0?null:e.map(i=>({position:i.positionControl.position,gallery:{title:i.courseGallery.title??null,content:i.courseGallery.images.map(o=>(0,j.J)({image:o})),galleryTheme:q(n)??"lightGold",type:"image"}})),Be=e=>!e||e.length<=0?null:e.map(n=>({position:n.positionControl.position,quote:{author:n.quote?.entryTitle,quote:n.quote?.text,quoteTheme:"gold"}})),Ge=e=>e?{position:e.positionControl?.position??"Teaching and assessment",caseStudies:{caseStudiesIntroduction:e.caseStudiesIntroduction??null,caseStudies:fe(e.caseStudies,"profile",e.caseStudiesSliderTheme)}}:null,je=(e,n)=>{const i=e.secondaryCTA&&e.secondaryCTA.sys.contentTypeId===u.f.externalForm,o=n?.config?.courses?.secondaryCTA&&n?.config?.courses?.secondaryCTA.sys.contentTypeId===u.f.externalForm;return e&&i?{title:e.secondaryCTA.title,formUrl:e.secondaryCTA.formURL}:!i&&n&&o?{title:n?.config?.courses?.secondaryCTA?.entryTitle,formUrl:n?.config?.courses?.secondaryCTA?.formURL}:null},kt=[{children:"Overview",path:"#overview"},{children:"Course content",path:"#course-content"},{children:"Careers",path:"#careers"},{children:"Highlights",path:"#highlights"},{children:"Teaching and assessment",path:"#teaching-and-assessment"},{children:"Entry requirements",path:"#entry-requirements"},{children:"Fees",path:"#fees"},{children:"Contact",path:"#contact"}],We=e=>{const n=i=>i.some(o=>o?.find(m=>m?.type==="_heading"&&m.properties?.level===2&&m.properties?.id));return n(e)?{custom:n(e),links:e.map(i=>{if(i){const o=i.find(m=>m.type==="_heading"&&m.properties?.level===2&&m.properties?.id);return o?{children:o.value?.[0]?.value??o.value,path:o.value?.[0]?.properties?.link.sys.uri?`#${o.value?.[0]?.properties?.link.sys.uri}`:o.properties?.id?`#${o.properties?.id}`:void 0}:{children:void 0,path:void 0}}else return{children:void 0,path:void 0}}).filter(i=>i.path!==void 0)}:{custom:!1,links:kt}};var Ot=a(8915);const Ye=e=>!e||e.length<=0?null:{id:`event-slider-${e[0].sys.id}`,content:e.map(n=>{const{title:i,date:o,location:m,summary:b,eventLink:p,time:w,sys:x}=n;return{title:i??null,url:x.uri??null,date:o.to?(0,Z.Yq)(o.to,"MMMM d yyyy"):null,location:m??null,summary:b??null,time:w??null,link:p?{label:p.linkText??"Book your place",path:p.linkPath??null}:null}})},be=(e,n,i=!1)=>i?Array.isArray(e)&&e.length>0&&e[0]?.value?.length!==0?e:n??null:e??n??null,He=(e,n)=>{try{Ae.safeParse(e);const i=n??e.state,o=e?.instance&&e?.instance[0],m=o.intakes[0],b=o?Oe(o.intakes[0]):void 0,p=(y,H)=>!y&&!H?null:H&&(0,Ot.R)(H)?H??y:y,x=(y=>{const H=[],tt=new Set;return y.instance.forEach(ie=>{ie.intakes.forEach(ve=>{[{id:y.discoverUniID??null,title:y.courseTitle},{id:ie.discoverUniIDOverride??null,title:`${y.courseTitle} ${ie.academicYear?.entryTitle}`},{id:ve.discoverUniID??null,title:`${y.courseTitle} ${ie.academicYear?.entryTitle} - ${ve.studyMode?.entryTitle}`,mode:ve.studyMode?.entryTitle==="Part-time"?"PartTime":"FullTime"}].forEach(Te=>{tt.has(Te.id)||(tt.add(Te.id),H.push(Te))})})}),H})(e),U=[e.overview,o.structureIntroduction,e.careers,o.teachingAndAssessmentIntroduction,o.howToApply],F=e.video?Ue(e.video,e.videoTheme):null,Y=e.imageGallery?Pe(e.imageGallery,e.imageGalleryTheme):null,J=e.quote?Be(e.quote):null,R=e?Ge(e):null;return{cpdCourse:!1,status:"success",optionId:b,metadata:wt(e),hero:gt(e,i),keyFacts:Tt(e,i),modalContent:je(e,i),navigation:We(U),introduction:{summary:o.summaryOverride??e.summary??null,statistics:ke(e.statistics),accrediations:we(e.accreditations),accreditationContent:e.accreditation??null},overview:{overview:be(o?.overviewOverride,e.overview,!0),placements:be(o?.placementsOverride,e.placements,!0),video:F?.find(y=>y.position==="Overview")??null,gallery:Y?.find(y=>y.position==="Overview")??null,quote:J?.find(y=>y.position==="Overview")??null,caseStudy:R?.position==="Overview"?R:null},courseContent:{content:o?.structureIntroduction??null,modules:It(o.yearStructure)},contactCTA:e.contactCTA?{label:e.contactCTALabel??null,buttonTheme:"secondary",link:"uRL"in e.contactCTA?e.contactCTA.uRL:null,modal:"formURL"in e.contactCTA?{title:e.contactCTA.entryTitle??null,formUrl:e.contactCTA.formURL??null}:null}:null,careers:{careers:be(o?.careersOverride,e.careers,!0),video:F?.find(y=>y.position==="Careers")??null,gallery:Y?.find(y=>y.position==="Careers")??null,quote:J?.find(y=>y.position==="Careers")??null,caseStudy:R?.position==="Careers"?R:null},teaching:{teachingIntroduction:o?.teachingAndAssessmentIntroduction??null,staffIntroduction:e.staffIntroduction??null,staffMembers:e.staff?fe(e.staff,"profile",e.staffSliderTheme):null,teachingTabs:{title:"Teaching and assessment contents",content:o.teachingAndAssessment??void 0},video:F?.find(y=>y.position==="Teaching and assessment")??null,gallery:Y?.find(y=>y.position==="Teaching and assessment")??null,quote:J?.find(y=>y.position==="Teaching and assessment")??null,caseStudy:R?.position==="Teaching and assessment"?R:null},highlights:Se(e.highlights,e.highlightsTheme),entryRequirements:{requirements:zt(e),additionalRequirements:Array.isArray(o.additionalRequirements)&&o.additionalRequirements.length===1&&o.additionalRequirements[0]?.value?.length===0?e.additionalRequirements??null:o.additionalRequirements??e.additionalRequirements??null,anyQuestions:o.anyQuestions?.content??e.anyQuestions?.content??null},moreToExplore:{exploreCards:o.moreToExploreOverride&&o.moreToExploreOverride.length>0?Le(o.moreToExploreOverride):i.config.courses.moreToExplore?Le(i.config?.courses?.moreToExplore):null,video:F?.find(y=>y.position==="More to explore")??null,gallery:Y?.find(y=>y.position==="More to explore")??null,quote:J?.find(y=>y.position==="More to explore")??null,caseStudy:R?.position==="More to explore"?R:null},fees:{fees:o?.fee&&[{description:o?.fee.description,fee:o?.fee?.ukFee??"TBC",hideOrb:o?.fee?.hideOrb??!1},{description:o?.fee?.overseasDescription,fee:o?.fee?.overseasFee??"TBC",hideOrb:o?.fee?.hideOrb??!1}],ptFees:o?.ptFee&&[{description:o?.ptFee.description,fee:o?.ptFee?.ukFee??"TBC",hideOrb:o?.ptFee?.hideOrb??!1},{description:o?.ptFee?.overseasDescription,fee:o?.ptFee?.overseasFee??"TBC",hideOrb:o?.ptFee?.hideOrb??!1}],additionalFees:p(i.config?.courses.additionalCosts,o.additionalCostsOverride),accomodationFees:e.hideAccommodationFeesTab===!1?p(i.config?.courses.accommodationFees,o.accomodationFeesOverride):null,feesTabs:o.feesTabs,video:F?.find(y=>y.position==="Fees")??null,gallery:Y?.find(y=>y.position==="Fees")??null,quote:J?.find(y=>y.position==="Fees")??null,caseStudy:R?.position==="Fees"?R:null},howToApply:{howToApply:o?.howToApply??null,howToApplyTitle:o?.howToApplyTitleOverride??"How to apply",additionalInformationTitle:o?.additionalApplicationTitleOverride??"Additional information",additionalApplicationInformation:o?.additionalApplicationInformation??null,applyNowUrl:m?.applicationURL??null,hideApplyNowButton:o?.hideApplyNowButton??!1},staffContact:e.courseContactDetails&&e.courseContactDetails.length>0?De(e.courseContactDetails):null,uniContact:e.contactDetails?Ne(e.contactDetails):null,faqs:(0,ze.U)(e.fAQ),unistats:x,relatedCourses:Re(e.relatedCourses),clearingAvailable:o?.availableThroughClearing??!1,events:e.events?Ye(e.events):null,hideCourseMessage:e.hideCourseMessage??!1,promoMessage:o?.promoMessage||o?.promoMessageTitle?{title:o.promoMessageTitle??null,message:o.promoMessage??null}:null,liveChat:e.liveChat??!1}}catch(i){const o=i instanceof t.G?(0,d.yu)(i):i;return(0,d.DG)(o)?{status:"error",error:o,entryTitle:e.entryTitle,entryId:e.sys.id}:{status:"error",entryTitle:e.entryTitle,entryId:e.sys.id}}},Mt=(e,n)=>{try{Ae.safeParse(e);const i=n??e.state,o=[e.overview,e.careers,e.teachingAndAssessment,e.additionalRequirements],m=e.video?Ue(e.video,e.videoTheme):null,b=e.imageGallery?Pe(e.imageGallery,e.imageGalleryTheme):null,p=e.quote?Be(e.quote):null,w=e?Ge(e):null;return{cpdCourse:!0,status:"success",metadata:te(e),hero:ft(e,i),keyFacts:Ct(e,i),modalContent:je(e,i),navigation:We(o),introduction:{summary:e.summary??null,statistics:ke(e.statistics),accrediations:we(e.accreditations),accreditationContent:e.accreditation??null},overview:{overview:e.overview??null,placements:e.placements??null,video:m?.find(x=>x.position==="Overview")??null,gallery:b?.find(x=>x.position==="Overview")??null,quote:p?.find(x=>x.position==="Overview")??null,caseStudy:w?.position==="Overview"?w:null},careers:{careers:e.careers??null,video:m?.find(x=>x.position==="Careers")??null,gallery:b?.find(x=>x.position==="Careers")??null,quote:p?.find(x=>x.position==="Careers")??null,caseStudy:w?.position==="Careers"?w:null},teaching:{teachingIntroduction:e.teachingAndAssessment??null,staffIntroduction:e.staffIntroduction??null,staffMembers:e.staff?fe(e.staff,"profile",e.staffSliderTheme):null,video:m?.find(x=>x.position==="Teaching and assessment")??null,gallery:b?.find(x=>x.position==="Teaching and assessment")??null,quote:p?.find(x=>x.position==="Teaching and assessment")??null,caseStudy:w?.position==="Teaching and assessment"?w:null},highlights:Se(e.highlights,e.highlightsTheme),entryRequirements:{additionalRequirements:e.additionalRequirements??null,anyQuestions:e.anyQuestions?.content??null},staffContact:e.courseContactDetails&&e.courseContactDetails.length>0?De(e.courseContactDetails):null,uniContact:e.contactDetails?Ne(e.contactDetails):null,faqs:(0,ze.U)(e.fAQ),relatedCourses:Re(e.relatedCourses),relatedCourseTitle:"Similar modules to consider",events:e.events?Ye(e.events):null,hideCourseMessage:e.hideCourseMessage??!1}}catch(i){const o=i instanceof t.G?(0,d.yu)(i):i;return(0,d.DG)(o)?{status:"error",error:o,entryTitle:e.entryTitle,entryId:e.sys.id}:{status:"error",entryTitle:e.entryTitle,entryId:e.sys.id}}},Ft=e=>({metadata:te(e),status:"success",hero:bt(e),keyFacts:Et(e),content:e.content??null,contactInformation:e.contactInformation??null,id:e.sys.id,categoryId:e.category?.[0]?.sys.id??null}),Lt=e=>({title:e?.title??null,subTitle:e.subTitle??null,image:e?.image?(0,j.J)({image:e?.image,height:1440,width:2560}):null,secondImage:e?.secondImage?(0,j.J)({image:e?.secondImage,height:1440,width:2560}):null,callToAction:e?.callToAction?{label:e.callToAction?.buttonLabel,url:e.callToAction.url}:null});var Rt=a(3692);const Dt={text:"."},Cn=e=>({text:e}),Nt=e=>{if(!e)return"";const n=new Date(e),i=n.getDate(),o=n.toLocaleString("en-GB",{weekday:"long"}),m=n.toLocaleString("en-GB",{month:"long"}),b=n.getFullYear(),p=$t(i);return`${o} ${i}${p} ${m} ${b}`},$t=e=>[1,21,31].includes(e)?"st":[2,22].includes(e)?"nd":[3,23].includes(e)?"rd":"th",Ut=e=>!e||e.length===0?[]:e.map(n=>({label:n?.label??void 0,buttonLabel:n?.buttonLabel??"Learn More",event:n?.event?{date:n.event.date.from?Nt(n.event.date.from):void 0,time:n.event.time??void 0,eventLink:n.event.eventLink&&typeof n.event.eventLink.linkPath=="string"?{linkPath:n.event.eventLink.linkPath}:null}:void 0})),Pt=e=>{const n=Ut(e?.events??[]),i=n.length===1?[...n,{buttonLabel:"View all Open Days",event:{date:"We have opportunities to visit all year round",eventLink:{linkPath:"/study/open-days/home.aspx"}},index:2}]:n;return{title:e?.title??null,subtitle:e?.subtitle??null,description:e?.description??null,image:e?.image?(0,j.J)({image:e.image}):null,featuredTitle:e?.featuredTitle??null,events:i}},Bt=e=>({src:e.videoComponent?.youTubeUrl??"",title:e.title??null??void 0,subTitle:e.subtitle??null??void 0,description:e.description??"",format:"youtube",posterImage:e.overlayImage?(0,j.J)({image:e.overlayImage}):null});var ye=a(2056);const Gt=e=>!e||e.length===0?null:e.map(n=>({statistic:n.statistic,statContext:n.statContext??null,statInfo:n.statisticLead??null,source:n.source??null,fullStatContext:n.fullStatContext??null,fullStatSource:n.fullStatSource??null,fullStatDate:n.fullStatDate?(0,Z.Yq)(n.fullStatDate,"dd MMMM yyyy"):"",className:n?.className??"",inView:n?.inView??"",plusStatistic:n?.plusStatistic??!1})),jt=e=>({title:e.title??null,subtitle:e.subtitle??null,description:e.description??null,image:e?.image?(0,j.J)({image:e?.image}):null,button:e.button??null,statistics:Gt(e?.statistics)}),Wt=e=>({quoteCards:e.quoteCard.map(n=>({image:n.image?(0,j.J)({image:n.image}):null,quote:{text:n.quote.text,source:n.quote.source||null,title:n.quote.title||null}})),title:e.title?e.title:"Quotes"}),Yt=e=>({_type:"cardCarousel",title:e.title??null,description:e.description??null,cards:e.cardEntry?e.cardEntry.map(n=>({image:n.image?(0,j.J)({image:n.image,width:900,height:900}):null,title:n?.entry?.title??n.title??void 0,description:n?.entry?.description??n.description??void 0,link:n.entry?.url?.sys?.uri??n.entry?.sys?.uri??n.uRL??n.sys?.uri??null})):null}),Ht=e=>({_type:"alert",title:e?.title??null,alert:e?.content??null}),Kt={featureEvents:Pt,videoSection:Bt,textBlock:Dt,latestNewsAndEvents:ye.I,latestNews:ye.I,latestEvents:ye.I,statSectionWithImage:jt,quoteBanner:Wt,cardCarousel:Yt,alert:Ht},Jt=e=>({metadata:te(e),title:e.title??"",heroBanner:e.heroBanner?Lt(e?.heroBanner):void 0,composer:e.composer?{items:(0,Rt.mapComposer)(e?.composer,Kt)}:void 0,status:"success"}),En={title:"entryTitle",description:"description"},Qt=e=>({title:e.title||e.entryTitle}),Vt=async()=>{const{reducer:e,sagas:n}=await Promise.all([a.e(336),a.e(532)]).then(a.bind(a,4336)),{searchConfig:i}=await a.e(21).then(a.bind(a,8373));return{key:"search",reducer:e(i),saga:n}},ne=e=>(n,i)=>{const o={node:n,...n.entry||{},state:i};return e(o)},Xt=[{contentTypeID:u.f.course,component:v,entryMapper:ne(He),fields:[...new Set(g.tQ)],linkDepth:3},{contentTypeID:u.f.event,component:f,entryMapper:ne(Ft),fields:[...new Set(g.ef)],linkDepth:3},{contentTypeID:u.f.courseCpd,component:v,entryMapper:ne(Mt),fields:[...new Set(g.tQ)],linkDepth:3},{contentTypeID:u.f.eventListing,component:I,entryMapper:ne(Qt),fields:[...new Set(g.Xn)],linkDepth:3,injectRedux:Vt},{contentTypeID:u.f.home,component:A,entryMapper:ne(Jt),fields:[...new Set(g.Zf)],linkDepth:3}];var l=a(8322),Zt=a(7115),qt=a(669);const _t=()=>l.createElement(en,null,l.createElement("form",{method:"post",action:""},l.createElement("div",{id:"JavascriptWarning",className:"warningmessage",style:{display:"none"}},"Javascript must be enabled in order to complete this form"),l.createElement("span",{className:"webformlabel"},"First Name"),l.createElement("input",{className:"webforminput",name:"C1IFirstName",type:"text"}),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"Last Name"),l.createElement("input",{className:"webforminput",name:"C0ILastName",type:"text"}),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"Address Line 1"),l.createElement("input",{className:"webforminput",name:"C2IAddressLine1",type:"text"}),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"Address Line 2"),l.createElement("input",{className:"webforminput",name:"C3IAddressLine2",type:"text"}),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"Town/City"),l.createElement("input",{className:"webforminput",name:"C4ICity",type:"text"}),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"Postcode"),l.createElement("input",{className:"webforminput",name:"C5IZipCode",type:"text"}),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"Email Address"),l.createElement("input",{className:"webforminput",name:"U6I58850",type:"email"}),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"Mobile number"),l.createElement("input",{className:"webforminput",name:"C7IPhone1",type:"tel"}),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"Area of Interest"),l.createElement("select",{className:"webformselect",name:"U8I103"},l.createElement("option",null,"Accounting"),l.createElement("option",null,"Archaeology"),l.createElement("option",{value:"Art Design and Digital Media"},"Art, Design and Digital Media"),l.createElement("option",{value:"Biochemistry Biomedical Science and Biological Sciences"},"Biochemistry, Biomedical Science and Biological Sciences"),l.createElement("option",null,"Business"),l.createElement("option",null,"Computing"),l.createElement("option",null,"Counselling"),l.createElement("option",null,"Criminology"),l.createElement("option",null,"Dance"),l.createElement("option",null,"Drama"),l.createElement("option",null,"Early Childhood and Education"),l.createElement("option",{value:"English Literature Language and Creative Writing"},"English Literature, Language and Creative Writing"),l.createElement("option",null,"Environmental Science"),l.createElement("option",null,"Film and Screenwriting"),l.createElement("option",null,"Geography"),l.createElement("option",null,"Health and Social Care"),l.createElement("option",null,"History"),l.createElement("option",null,"Human Nutrition"),l.createElement("option",null,"Journalism"),l.createElement("option",null,"Law"),l.createElement("option",null,"Marketing"),l.createElement("option",null,"Maths"),l.createElement("option",null,"Media and Culture"),l.createElement("option",null,"Midwifery"),l.createElement("option",null,"Nursing"),l.createElement("option",null,"Occupational Therapy"),l.createElement("option",null,"Paramedic Science"),l.createElement("option",null,"Pharmacology"),l.createElement("option",null,"Physiotherapy"),l.createElement("option",null,"Politics"),l.createElement("option",null,"Psychology"),l.createElement("option",null,"Social Work"),l.createElement("option",null,"Sociology"),l.createElement("option",null,"Sports and Physical Education"),l.createElement("option",null,"Sports Therapy"),l.createElement("option",null,"Teacher Training")),l.createElement("br",null),l.createElement("p",{style:{textAlign:"center",padding:"0px 30px 0px 0px"}},l.createElement("a",{href:"/study/open-days/Course-area.aspx",target:"_blank"},"Don't see your course listed?")),l.createElement("span",{className:"webformlabel"},"If you are currently studying, what best describes your level of study?"),l.createElement("select",{className:"webformselect",name:"U15I301"},l.createElement("option",{value:""},"- Please select option -"),l.createElement("option",null,"Year 11"),l.createElement("option",{value:"Year 12"},"Year 12/1st Yr College"),l.createElement("option",{value:"Year 13"},"Year 13/2nd Yr College"),l.createElement("option",null,"Access"),l.createElement("option",null,"Undergraduate"),l.createElement("option",null,"Other")),l.createElement("br",null),l.createElement("br",null),l.createElement("br",null),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"What best describes your qualifications?"),l.createElement("select",{className:"webformselect",name:"U16I302"},l.createElement("option",{value:""},"- Please select option -"),l.createElement("option",null,"A level"),l.createElement("option",null,"BTEC"),l.createElement("option",null,"Other")),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"I am looking to start in"),l.createElement("select",{className:"webformselect",name:"U9I13"},l.createElement("option",{value:""},"- Please select option -"),l.createElement("option",null,"2021"),l.createElement("option",null,"2020"),l.createElement("option",null,"2019")),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"Which date would you like to attend?"),l.createElement("select",{className:"webformselect",name:"U10I17"},l.createElement("option",{value:""},"- Please select date -"),l.createElement("option",null,"Sunday 30 June 2019"),l.createElement("option",null,"Sunday 8 September 2019"),l.createElement("option",null,"Saturday 28 September 2019"),l.createElement("option",null,"Saturday 2 November 2019"),l.createElement("option",null,"Sunday 1 December 2019")),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"Lead source"),l.createElement("input",{name:"U11I57997",type:"hidden",value:"GA Event"}),l.createElement("span",{className:"webformlabel"},"Phone 1 Description"),l.createElement("input",{name:"C12IPhone1Description",type:"hidden",value:"Mob"}),l.createElement("span",{className:"webformlabel"},"Date booking recieved"),l.createElement("input",{name:"U13I57",type:"hidden",value:"2024-05-15"}),l.createElement("br",null),l.createElement("span",{className:"webformlabel"},"We'd like to get in touch to tell you more about our courses and life at the University"),l.createElement("select",{className:"webformselect",name:"U14I107"},l.createElement("option",{value:""},"- Please select preference -"),l.createElement("option",{value:"Yes"},"Yes, I'm happy for you to contact me"),l.createElement("option",{value:"No"},"No, I don't want to receive further information")),l.createElement("br",null)," ",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null),l.createElement("div",{id:"MandatoryWarning",className:"warningmessage",style:{display:"none"}},"All fields marked with a * must have a value in order to complete this form"),l.createElement("div",{id:"FormatWarning",className:"warningmessage",style:{display:"none"}}),l.createElement("input",{className:"submitbutton",type:"submit",id:"SubmitButton",value:"Book your place"}),l.createElement("fieldset",null,l.createElement("legend",null,l.createElement("span",{className:"webformlabel2"},"Address Lookup")),l.createElement("div",{className:"afd-typeahead-container"},l.createElement("div",{className:"afd-typeahead-field"},l.createElement("div",{className:"afd-typeahead-query"},l.createElement("label",{htmlFor:"add-search",className:"form-label"},"Address Search"),l.createElement("input",{autoComplete:"off",type:"search",id:"add-search","data-afd-control":"typeahead"}))),l.createElement("div",{className:"afd-search-again",style:{display:"none"}},"Search Again"),l.createElement("div",{className:"afd-manual-input-button",style:{display:"none"}},"Manual Input"),l.createElement("div",{className:"afd-manual-input-search-button",style:{display:"none"}},"Address Search")),l.createElement("div",null,l.createElement("p",{id:"toggleaddress"},"Enter address manually"))),l.createElement("div",null,l.createElement("span",{className:"webformlabel"},"Would you like to receive a University Prospectus?"),l.createElement("input",{id:"prospectusYes",name:"U16I441",type:"checkbox",value:"Yes"}),l.createElement("label",{className:"form__checkboxLabel",htmlFor:"prospectusYes"},"Yes, please send me a prospectus"),l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)),l.createElement("fieldset",null,l.createElement("legend",{className:"webformlegend"},"I am looking to start University in *"),l.createElement("input",{type:"radio",id:"2024",name:"U7I13",value:"2024",className:"radio"}),l.createElement("label",{htmlFor:"2024",className:"form__checkboxLabel"},"2024"),l.createElement("br",null),l.createElement("input",{type:"radio",id:"2025",name:"U7I13",value:"2025",className:"radio"}),l.createElement("label",{htmlFor:"2025",className:"form__checkboxLabel"},"2025"),l.createElement("br",null)))),en=Zt.Ay.div` ${qt.l}; `,tn=_t,wn={title:"entryTitle",description:"description"},nn=[{path:"/test-form",component:tn},{path:"/404",component:c},{path:"/zenInfo",ssrOnly:!0,component:k}];var Ke=a(2972),V=a(9966);const ln={isReady:!1,isError:!1,error:null,title:null,header:null,courses:{secondaryCTA:null,accommodationFees:null,additionalCosts:null,moreToExplore:null},socialMedia:[],footer:null,footerNew:null,fallbackImage:void 0,courseFallbackImage:void 0,clearing:!1,clearingCta:null,cookies:!1,courseMessage:{title:null,message:null},cardFallbackImage:void 0},an=(0,Ke.jM)((e,n)=>{switch(n.type){case V.YK:{e.title=n.config.title,e.header=n.config.header,e.courses=n.config.courses,e.socialMedia=n.config.socialMedia,e.fallbackImage=n.config.fallbackImage,e.courseFallbackImage=n.config.courseFallbackImage,e.footer=n.config.footer,e.footerNew=n.config.footerNew,e.clearing=n.config.clearing,e.clearingCta=n.config.clearingCta,e.courseMessage=n.config.courseMessage,e.cardFallbackImage=n.config.cardFallbackImage,e.isReady=!0,e.isError=!1,e.error=null;return}case V.ux:{e.cookies=!0;return}case V.xT:{e.isError=!0,e.error=n.error;return}default:return e}},ln);var X=a(5466);const on={isReady:!1,isError:!1,error:null,options:[],courseOptions:{},selectedOption:{},selectedOptionId:"",selectedCourseOptions:{}},sn={...{course:(0,Ke.jM)((e,n)=>{switch(n.type){case X.Oj:{e.options=n.mappedOptions,e.courseOptions=n.courseOptions,e.selectedOptionId===""&&(e.selectedOptionId=n.mappedOptions[0].optionId??"");break}case X.J9:{const i=n.id,o=e.options.find(b=>b.optionId===i),m=e.courseOptions.content?.options.find(b=>b.id===i);e.selectedOption=o??e?.options[0],e.selectedOptionId=i??e?.options[0]?.optionId,e.selectedCourseOptions=m??e.courseOptions;break}case X.xM:{e.isError=!0,e.error=n.error;break}default:break}},on),config:an}};var L=a(5953),K=a(8737),Je=a(2546),Qe=a(2301);const rn=e=>!e||e.length<=0?{options:[]}:{options:e.map((i,o)=>({id:i.id??o.toString(),title:`${i.startDate?.entryTitle} - ${i.location?.entryTitle}`,intakeData:i}))},cn=[(0,L.jP)(X.sj,Ve)];function*Ve({api:e}){const n=yield(0,L.Lt)();try{if(!(0,Qe.K6)(n)){const i=n.routing.currentPath,o=yield(0,L.Lt)(Je.rE.selectors.selectVersionStatus),m=new K.XK(K.Op.equalTo("sys.versionStatus",o),K.Op.equalTo("sys.contentTypeId",u.f.course),K.Op.equalTo("sys.uri",i));m.fields=[...new Set(g.tQ)];const p=(yield e.search(m,3))?.items?.[0];if(p){const x=(p?.instance.map(R=>R.intakes.map(y=>({...y,parentInstance:R}))).flat()).map(R=>{const{parentInstance:y,...H}=R;return{...p,instance:[{...y,intakes:[H]}]}}),U=Me(p.instance),Y={icon:"calendar",label:"Start date and location",breakContent:!0,content:{type:"dropdown",options:rn(U).options}},J=x.map(R=>He(R,n));J?yield(0,L.yJ)({type:X.Oj,mappedOptions:J,courseOptions:Y}):yield(0,L.yJ)({type:X.rc})}}}catch(i){yield(0,L.yJ)({type:X.xM,error:i.toString()})}}function*Mn(){const e=yield select();if(e.routing.entry?.sys.contentTypeId===contentTypes.course&&!hasCourseConfig(e)){const i=e.routing?.mappedEntry;if(i){const o=i.intakes,b=o?(p=>{if(!(!p||p.length<=0))return p?.map(w=>{const x=w.id,U=i.instance.filter(F=>F.sys.id===x);return{...i,instance:U[0],intakes:w}})})(o):null;b?yield put({type:SET_OPTIONS,courseOptions:b}):yield put({type:SET_OPTIONS_ERROR})}}}var Xe=a(9289);const un=e=>({title:e.entryTitle,courses:{secondaryCTA:e.secondaryCTA,additionalCosts:e.additionalCosts,accommodationFees:e.accommodationFees,moreToExplore:e.moreToExplore},fallbackImage:{src:e.openGraphImage.asset.sys.uri,alt:e.openGraphImage.altText},courseFallbackImage:{src:e.courseFallbackImage.asset.sys.uri,alt:e.courseFallbackImage.altText},cardFallbackImage:e.cardFallbackImage?(0,j.J)({image:e.cardFallbackImage,height:400,width:400}):void 0,clearing:e.clearing,clearingCta:{title:e.clearingCTA.entryTitle,link:e.clearingCTA.entryDescription,description:e.clearingCTA.metaInformation.description},header:{featureLinks:e.featureNavLinks.map(n=>({label:n.label,url:n.url})),navMenu:e.navigationItem.map(n=>({label:n.label,url:n.url,cards:n.cards?n.cards.map(i=>({image:{src:i.image.asset.sys.uri,alt:i.image.altText},title:i.title,description:i.description,url:i.url})):void 0,subMenuOne:n.navigationLevelOneItem?.map(i=>({label:i.label,url:i.url,subMenuTwo:i.navigationLevelTwoItem?.map(o=>({label:o.label,url:o.url,subMenuThree:o.navigationLevelThreeItem?.map(m=>({label:m.label,url:m.url}))}))}))}))},socialMedia:e.socialMedia.map(n=>({type:n.type,url:n.url})),footer:{contact:{heading:"Contact Us",text:"Reception",phone:e.contactDetails.telephone,email:e.contactDetails.email},careers:{heading:"Careers",label:e.careers.label,url:e.careers.url},campuses:e.campuses.map(n=>({label:n.label,url:n.url})),furtherInfo:e.furtherInfo.map(n=>({label:n.label,url:n.url})),footerLinks:e.bottomLinks.map(n=>({label:n.label,url:n.url}))},footerNew:{getInTouch:{heading:"Get in touch",phone:e.getInTouch.telephone,email:e.getInTouch.email},linksColumnOne:{heading:"Quick links",items:e.linksColumnOne.map(n=>({label:n.label,url:n.url}))},linksColumnTwo:{heading:"Students",items:e.linksColumnTwo.map(n=>({label:n.label,url:n.url}))},linksColumnThree:{heading:"Staff",items:e.linksColumnThree.map(n=>({label:n.label,url:n.url}))},linksColumnFour:{heading:"Alumni",items:e.linksColumnFour.map(n=>({label:n.label,url:n.url}))},linksBottom:e.linksBottom.map(n=>({label:n.label,url:n.url})),mapImage:e.mapImage?(0,j.J)({image:e.mapImage}):void 0,mapText:e.mapText},courseMessage:{title:e.courseMessageTitle,message:e.courseMessage}}),dn=[(0,L.jP)(V.M,Ze)];function*Ze({api:e}){const n=yield(0,L.Lt)();try{if(!(0,Xe.cG)(n)){const i=yield(0,L.Lt)(Je.rE.selectors.selectVersionStatus),o=new K.XK(K.Op.equalTo("sys.versionStatus",i),K.Op.or(K.Op.equalTo("sys.contentTypeId",u.f.config)));if(o.fields=[...g.RM],!g.RM||g.RM.length<=0)return;const m=yield e.search(o,3),b=m?.items?.[0]?un(m.items[0]):null;b?yield(0,L.yJ)({type:V.YK,config:b}):yield(0,L.yJ)({type:V.xT})}}catch(i){yield(0,L.yJ)({type:V.xT,error:i.toString()})}}const mn=[...cn,...dn],pn=async()=>{const{routeParams:e,setRouteFilters:n}=await Promise.all([a.e(336),a.e(532)]).then(a.bind(a,4336)),i=(await Promise.all([a.e(336),a.e(43)]).then(a.bind(a,506))).default;return{routeParams:e,setRouteFilters:n,mappers:i}};var hn=a(8863),gn=a(9),qe=a.n(gn);function _e(){return typeof window<"u"}function et(e){return e?!(e.includes(".contensis.cloud")||e.startsWith("http://localhost")):!1}const fn={onRouteLoad:function*({path:n,ssr:i}){return(yield(0,L.Lt)(Xe.cG))||(yield(0,L.T1)(Ze,i)),n.includes("/courses")&&((yield(0,L.Lt)(Qe.K6))||(yield(0,L.T1)(Ve,i))),yield{customNavigation:{ancestors:!1,children:!1,siblings:!1,tree:!1},entryLinkDepth:0,preventScrollTop:!!n.includes("/courses")}},onRouteLoaded:function*({path:n,entry:i,location:o,staticRoute:m}){const b=i?.sys?.contentTypeId,p=m?.route?.listingType||hn.py[b];if(n.startsWith("/search")||p){const{routeParams:w,setRouteFilters:x,mappers:U}=yield pn(),F=w(m,o);yield(0,L.T1)(x,{listingType:p,mappers:U,params:F})}_e()&&et(window?.location.href)&&qe().dataLayer({dataLayer:{event:"pageview",page:{path:n}}})}},bn={gtmId:"GTM-NN49B4Z"};_e()&&et(window.location.href)&&qe().initialize(bn);const yn={routes:{ContentTypeMappings:Xt,StaticRoutes:nn},stateType:"js",withReducers:sn,withSagas:mn,withEvents:fn};new s.A(r.A,yn)},2645:()=>{}},z=>{var h=s=>z(z.s=s);z.O(0,[502],()=>(h(2645),h(6523)));var a=z.O()}]);