1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9408],{11160:e=>{e.exports={trending_courses:"trendingcourses_trending_courses__zWOlz",trend_container:"trendingcourses_trend_container__Q4vK6",trendingSwiper:"trendingcourses_trendingSwiper__uQj5_"}},21322:e=>{e.exports={homeCardThumb:"trendingcard_homeCardThumb___4G5P",degree_card:"trendingcard_degree_card__BaAVG",cardThumb:"trendingcard_cardThumb___oPJ7",admissions:"trendingcard_admissions__yw8cc",admissions_close:"trendingcard_admissions_close__Uq8_X",saved_icon:"trendingcard_saved_icon__OIqya",degree_programme:"trendingcard_degree_programme__6diif",university_name:"trendingcard_university_name__Cqvtj",programmeBtn:"trendingcard_programmeBtn__uh5KA"}},67027:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(37876),s=r(40876),a=r(71209),i=r(11160),l=r.n(i),d=r(54587),o=r.n(d);r(9572),r(18058);var c=r(14232),m=r(97687),g=r(27888),h=r(29904);r(30346),r(26402),r(12147),r(58659),r(2066);var u=r(8754),_=r(71277);let p=e=>{let{course_heading:t,short_description:r,courses:i,buttonText:d}=e,p=(0,c.useRef)(null),x=(0,c.useRef)(null),[w,v]=(0,c.useState)(0);(0,u.A)([{selector:".trending-element",yOffset:100,duration:1.5,delay:.6}]);let f=e=>{let t=new URL(window.location.href),r={page:"/"===t.pathname?"Home":t.pathname,section:"Trending Courses",element:"".concat("Left"===e?"Left":"Right"," Arrow"),direction:e,activeSlide:w,href:t.href};(0,_.T)("element_click",r)};return(0,n.jsx)("section",{className:"".concat(l().trending_courses," trend secPad trending-element"),children:(0,n.jsxs)(s.A,{className:"".concat(l().trend_container),children:[(0,n.jsx)("h6",{className:"ft_36 text-center",dangerouslySetInnerHTML:{__html:"".concat(t)}}),(0,n.jsx)("p",{className:"fs-24 text-center mt-md-2 pt-md-2 mb-md-3 pb-md-4",children:r}),(0,n.jsxs)("div",{className:"trending_container",children:[(0,n.jsx)(g.RC,{slidesPerView:1.3,spaceBetween:16,centeredSlides:!0,loop:!0,speed:1e3,effect:"slide",autoplay:{delay:5e3,disableOnInteraction:!1},navigation:{prevEl:".swiper-prev-arrow",nextEl:".swiper-next-arrow"},modules:[h.Ij,h.Vx],className:"trendingSwiper",onSwiper:e=>v(e.realIndex),onSlideChange:e=>v(e.realIndex),breakpoints:{250:{slidesPerView:1,spaceBetween:16},360:{slidesPerView:1.3,spaceBetween:16},1024:{slidesPerView:2.5,spaceBetween:15},1200:{slidesPerView:2.5,spaceBetween:20}},children:i&&i.map((e,t)=>(0,n.jsx)(g.qr,{style:{padding:"9px 0",overflow:"visible",display:"flex",alignItems:"center"},children:(0,n.jsx)("div",{style:{width:"100%",transformOrigin:"center center",transform:t===w?"scale(1)":"scale(0.8)",transition:"transform 0.4s ease"},children:(0,n.jsx)(m.A,{admissionStatus:e.admission||e.admission_close_cat||"",programmName:e.title||e.post_title||"",unviercityName:e.content||e.description||e.university||e.short_description||(null==e?void 0:e.university_name)||"",application_text:e.application_text||"",courses_duration_text:e.courses_duration_text||"",duration_years:e.duration||e.duration_years||"",endDate:e.end_date||"",startDate:e.start_date||"",ctaLink:e.slug||"",featureImg:e.featured_image||(null==e?void 0:e.image)||"",buttonText:d||"Book Now"})})},t))}),(0,n.jsxs)("div",{className:"swiper-arrows d-flex justify-content-center mt-md-5 pt-nd-3 mt-4 pt-2",children:[(0,n.jsx)("div",{ref:p,className:"custom-arrow swiper-prev-arrow me-4 pe-2",onClick:()=>f("Left"),children:(0,n.jsx)(o(),{src:a.A,alt:"Arrow"})}),(0,n.jsx)("div",{ref:x,className:"custom-arrow swiper-next-arrow",onClick:()=>f("Right"),children:(0,n.jsx)(o(),{src:a.A,alt:"Arrow"})})]})]})]})})}},71209:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={src:"/_next/static/media/trending-arrow.13ef1eb5.svg",height:16,width:34,blurWidth:0,blurHeight:0}},97687:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(37876),s=r(14232),a=r(54587),i=r.n(a),l=r(48230),d=r.n(l),o=r(47191);let c={src:"/_next/static/media/duration.7bbb735f.svg",height:25,width:24,blurWidth:0,blurHeight:0},m={src:"/_next/static/media/application-date.a7f838f8.svg",height:25,width:24,blurWidth:0,blurHeight:0};var g=r(21322),h=r.n(g);let u={src:"/_next/static/media/saved.827519e2.svg",height:57,width:56,blurWidth:0,blurHeight:0};var _=r(48036),p=r(89099),x=r(71277),w=r(18847);let v=r.n(w)()(()=>Promise.all([r.e(2175),r.e(9970),r.e(9805)]).then(r.bind(r,29805)),{loadableGenerated:{webpack:()=>[29805]},ssr:!1}),f=(0,s.memo)(e=>{let{admissionStatus:t,programmName:r,unviercityName:a,duration_years:l,endDate:g,startDate:w,ctaName:f,ctaLink:j,featureImg:b,buttonText:y}
1=e,[C,N]=(0,s.useState)(!1),[A,k]=(0,s.useState)(!1),S="/".concat(j),B=_.g[S],T=(null==B?void 0:B.university)||"Any",I=(null==B?void 0:B.program)||"All Product",P=e=>{if(!e)return"";let t=e.replace(/<[^>]*>?/gm,""),r={"&":"&","<":"<",">":">",""":'"',"'":"'","–":"â","—":"â","’":"'","‘":"'"};return Object.keys(r).forEach(e=>{t=t.replace(RegExp(e,"g"),r[e])}),t=t.replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(parseInt(t,10)))},O=(0,p.useRouter)(),E="/"===O.pathname,H=e=>e.replace(/<[^>]*>/g,"").replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(t)).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"),L=H(a),D=((e,t)=>{let r=H(e);return r.length>150?r.substring(0,150)+"...":r})(a,150);return(0,n.jsxs)(o.A,{className:"".concat(h().degree_card),children:[(0,n.jsxs)("div",{className:"position-relative",children:[(0,n.jsx)(i(),{className:"".concat(h().saved_icon),src:u,alt:"Online MBA Degree Programme",height:56,width:56,onClick:()=>{N(!0),document.dispatchEvent(new CustomEvent("modalOpen")),console.log("Modal opened for university:",T,"and program:",I),console.log("ctaLink :",j)},loading:"lazy"}),(0,n.jsx)(i(),{className:"".concat(h().cardThumb," ").concat(E?h().homeCardThumb:""),src:b,alt:"Online MBA Degree Programme",height:450,width:600,loading:"lazy"}),t&&(0,n.jsx)("span",{className:"Admission Open"===t?h().admissions:"Admission Closed"===t?h().admissions_close:"",children:t})]}),(0,n.jsx)(v,{show:C,handleClose:()=>{N(!1),document.dispatchEvent(new CustomEvent("modalClose"))},onFormSubmit:e=>{k(e),N(!1)},university:T,program:I}),(0,n.jsxs)(o.A.Body,{className:"".concat(h().degree_programme),children:[(0,n.jsx)("h5",{dangerouslySetInnerHTML:{__html:new DOMParser().parseFromString(r,"text/html").body.textContent||""},title:P(r),style:{lineHeight:"24px"}}),(0,n.jsx)("div",{style:{maxWidth:"100%",overflow:"hidden",wordBreak:"break-word",textAlign:"left"},title:L,dangerouslySetInnerHTML:{__html:D}}),(0,n.jsxs)("ul",{children:[(0,n.jsxs)("li",{className:"".concat(""==l||void 0==l?"d-none":"d-flex align-items-center"),children:[(0,n.jsx)("figure",{className:"me-2 flexnone",children:(0,n.jsx)(i(),{src:c,alt:"Duration Icon",height:20,width:20})}),(0,n.jsxs)("span",{children:["Duration : ",l]})]}),(0,n.jsxs)("li",{className:"".concat((""==w||void 0==w)&&(""==g||void 0==g)?"d-none":"d-flex align-items-center"),children:[(0,n.jsx)("figure",{className:"me-2 flexnone",children:(0,n.jsx)(i(),{src:m,alt:"Aplication Date Icon",height:20,width:20})}),(0,n.jsxs)("span",{children:["Application Closure Date : ",w," ",g]})]})]}),f?(0,n.jsx)(d(),{href:"/".concat(j),className:"".concat(h().programmeBtn),target:"_blank",children:f}):(null==j?void 0:j.startsWith("blog/"))?null:(0,n.jsx)(d(),{href:"/".concat(j),className:"".concat(h().programmeBtn),onClick:()=>{let e=new URL("/".concat(j),window.location.origin),t={page:"/"===O.pathname?"Home":O.pathname,section:"Trending Courses",element:"Course Button",label:y||"View Course",course:P(r),href:e.href};(0,x.T)("element_click",t)},children:y||"View Course"})]})]})})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.